1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 20:00:19 +02:00
Commit graph

1818 commits

Author SHA1 Message Date
Thien-Thi Nguyen
aee0492fb8 *** empty log message *** 2001-09-19 13:15:38 +00:00
Thien-Thi Nguyen
fab8ab3113 Fix improper `@result' usage. 2001-09-19 13:14:43 +00:00
Neil Jerram
255ea78443 * Group all index nodes together. 2001-08-30 20:19:20 +00:00
Neil Jerram
6c997de266 * Various typo fixes and clarifications merged from the stable CVS branch. 2001-08-30 20:02:13 +00:00
Neil Jerram
b45898cae3 * Fix doc snapshot build problems by avoiding use of ../AUTHORS file.
* Use TEXINFO_TEX to avoid shipping multiple copies of texinfo.tex.
2001-08-27 21:25:44 +00:00
Neil Jerram
0aa7a7ceba * Removed texinfo.tex - it is supplied by Automake.
* Added some entries to .cvsignore files.
2001-08-24 11:06:33 +00:00
Neil Jerram
11ca886536 * Complete split of documentation into per-manual subdirectories. 2001-08-24 10:16:15 +00:00
Neil Jerram
a0e07ba4ec * Organize documentation into per-manual directories (halfway point commit). 2001-08-24 09:40:29 +00:00
Mikael Djurfeldt
88176879bf * scheme-options.texi (Evaluator trap options): Splitted
section "Evaluator options".

* scheme-evaluation.texi (Evaluator Behaviour): Typo "reader
options" --> "evaluator options".
2001-08-22 09:57:35 +00:00
Rob Browning
59cd9b0f67 * Makefile.am (guile_tut_TEXINFOS): remove guile-tut.texi. It's
already in info_TEXINFOS.
2001-08-18 03:06:26 +00:00
Rob Browning
8098fca931 *** empty log message *** 2001-08-18 03:06:18 +00:00
Rob Browning
a786db16b2 * .cvsignore: rename stamp-vti1 to stamp-vti.1. Of course this
only matters once you fix the bug in automake.
2001-08-18 03:06:09 +00:00
Neil Jerram
3524efbcd9 * Improve `make-stack' doc by explaining cutting args. 2001-08-02 20:27:42 +00:00
Rob Browning
61921779a9 *** empty log message *** 2001-07-19 17:58:37 +00:00
Rob Browning
41d6c85b29 * posix.texi (Signals): add docs for setitimer and getitimer. 2001-07-19 17:58:27 +00:00
Gary Houston
a7c0d85cb6 * scheme-evaluation.texi: Added load-from-path'. Updated load':
it doesn't use the load paths.
2001-07-11 18:13:53 +00:00
Martin Grabmüller
04e3da4f22 * scheme-data.texi (Hook Reference): Removed documentation for
`make-hook-with-name', which does note exist.  Added note about
	unspecified return values to all procedure documentation
2001-07-04 06:11:19 +00:00
Martin Grabmüller
166882e16b * srfi-modules.texi (SRFI-1 Fold and Map): Documented extended
versions of `map' and `for-each'.
2001-07-02 17:52:43 +00:00
Martin Grabmüller
e9566a8e4c * preface.texi (Manual Conventions): Added description of
@result{} and @print{}.

	* scheme-data.texi (Hash Table Examples): New subsubsection.
2001-06-30 13:45:22 +00:00
Martin Grabmüller
78c51768a7 * scheme-data.texi (Hash Tables): Added docs for
`make-hash-table'.
2001-06-30 06:58:04 +00:00
Marius Vollmer
296d257ebf Updates to the transition guide. 2001-06-29 23:12:34 +00:00
Martin Grabmüller
c253742527 * misc-modules.texi: New file.
(Pretty Printing): New chapter.
	(Formatted Output): New chapter.

	* Makefile.am (guile_TEXINFOS): Added misc-modules.texi.

	* guile.texi (Top): Added inclusion of misc-modules.texi.

	* scheme-modules.texi (Included Guile Modules): Added (srfi
	srfi-4) and (ice-9 rw) modules.
	(Module System Quirks): Removed note that `module-export!' must be
	called via gh_eval_str, now that we have scm_c_export.

	* repl-modules.texi (Loading Readline Support, Readline Options):
	New nodes.
2001-06-29 21:43:17 +00:00
Thien-Thi Nguyen
20ec6e2638 Fix typo. 2001-06-28 08:33:12 +00:00
Neil Jerram
02d9f38817 * Grammar fix. 2001-06-27 18:12:46 +00:00
Martin Grabmüller
c34f52745c * srfi-modules.texi (SRFI-4): Added documentation for the new
module (srfi srfi-4).
2001-06-27 13:19:43 +00:00
Neil Jerram
d95c0b76d6 * Handle evaluator traps by calling trap handlers directly rather than
by scm_ithrow and a lazy catch handler.
2001-06-26 21:55:45 +00:00
Dirk Herrmann
3628462791 * Deprecated scm_makfromstr and added scm_mem2string as a replacement.
* Eliminated some potential gc problems.
* Eliminated some signedness problems.
* Minor changes.
2001-06-26 10:59:34 +00:00
Neil Jerram
fbcd68abe9 * More GH to scm transition documentation.
* Revise info about GH deprecation following Marius' suggestions.
2001-06-25 22:27:11 +00:00
Marius Vollmer
4172703a7d *** empty log message *** 2001-06-25 15:08:22 +00:00
Marius Vollmer
7fca1a1a7b (version.texi, version-tutorial.texi): Removed kluges to build them
unconditionally.
2001-06-25 15:07:37 +00:00
Neil Jerram
0c02b40803 * Start new node documenting transition from GH to scm interface. 2001-06-22 14:23:46 +00:00
Neil Jerram
a0143ebc24 * Explain GH deprecation & plan for scm documentation. 2001-06-20 22:08:19 +00:00
Martin Grabmüller
39e30745c8 2001-06-18 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
* srfi-modules.texi (SRFI-1): Completed procedure documentation.

	* scheme-data.texi (List Constructors): Added make-list.
	Added type index entries for all data types.

2001-06-15  Martin Grabmueller  <mgrabmue@cs.tu-berlin.de>

	* srfi-modules.texi (SRFI-1): New section documenting the SRFI-1
	module.
2001-06-18 19:08:31 +00:00
Gary Houston
837f9d198e fixed doc code bug 2001-06-17 20:45:33 +00:00
Marius Vollmer
eb6c2de855 *** empty log message *** 2001-06-16 20:17:50 +00:00
Marius Vollmer
daabbf15d7 (Conventions): Use `system-error-errno' instead of explicit code 2001-06-16 20:16:12 +00:00
Marius Vollmer
be8dd11837 Updates for load-extension et al. 2001-06-14 17:36:41 +00:00
Neil Jerram
12e5078cbb * Fix rogue text caused by line breaking a comment. 2001-06-08 22:35:30 +00:00
Gary Houston
4bcdfe4641 *** empty log message *** 2001-06-04 21:52:21 +00:00
Gary Houston
1fb9789efd * scheme-io.texi (Block Reading and Writing): added
write-string/partial, updated read-string!/partial.
2001-06-04 21:51:01 +00:00
Michael Livshin
b3372ff632 *** empty log message *** 2001-06-03 14:59:19 +00:00
Martin Grabmüller
fec1807cdb *** empty log message *** 2001-05-30 20:54:17 +00:00
Martin Grabmüller
cee2ed4f73 * General: A lot of typo, texinfo markup and layout corrections.
* scheme-data.texi (Arithmetic): Clarified docs for - and /.
	(String Modification): Removed docs for C functions
	(scm_substring_move_right_x etc.)
	(Keyword Procedures): New section documenting the keyword
	procedures from boot-9.scm.
	(Vectors): Moved the section before the non-standard data types.

	* data-rep.texi (Defining New Types (Smobs)): Adapted description
	of smobs and proocedure creation to new terminology.
	(Describing a New Type): Removed mentioning of
	scm_make_smob_type_mfpe from smob function list and added
	deprecation notice for this function.
	(Creating Instances): Added description and macro docs for smobs
	with 2 or 3 data cells.
	(Garbage Collecting Smobs): Removed old docs for SCM_GCTYP16.
	(Garbage Collecting Simple Smobs): Added some clarification about
	usage and usefulness.
	(Non-immediate Datatypes): Changed R4RS reference to R5RS.
	(Vector Data): Document type-specific accessors.
2001-05-30 20:32:05 +00:00
Martin Grabmüller
7977a48737 * image-type.c: Adapted to new typing and naming convention. 2001-05-30 20:28:51 +00:00
Martin Grabmüller
4a0ef52435 Created a usecase diagram for Guile. 2001-05-24 08:46:50 +00:00
Michael Livshin
1be6b49ccb * validate.h
(SCM_NUM2{SIZE,PTRDIFF,SHORT,USHORT,BITS,UBITS,INT,UINT}[_DEF]):
new macros.

* unif.h: type renaming:
scm_array -> scm_array_t
scm_array_dim -> scm_array_dim_t
the old names are deprecated, all in-Guile uses changed.

* tags.h (scm_ubits_t): new typedef, representing unsigned
scm_bits_t.

* stacks.h: type renaming:
scm_info_frame -> scm_info_frame_t
scm_stack -> scm_stack_t
the old names are deprecated, all in-Guile uses changed.

* srcprop.h: type renaming:
scm_srcprops -> scm_srcprops_t
scm_srcprops_chunk -> scm_srcprops_chunk_t
the old names are deprecated, all in-Guile uses changed.

* gsubr.c, procs.c, print.c, ports.c, read.c, rdelim.c, ramap.c,
rw.c, smob.c, sort.c, srcprop.c, stacks.c, strings.c, strop.c,
strorder.c, strports.c, struct.c, symbols.c, unif.c, values.c,
vectors.c, vports.c, weaks.c:
various int/size_t -> size_t/scm_bits_t changes.

* random.h: type renaming:
scm_rstate -> scm_rstate_t
scm_rng -> scm_rng_t
scm_i_rstate -> scm_i_rstate_t
the old names are deprecated, all in-Guile uses changed.

* procs.h: type renaming:
scm_subr_entry -> scm_subr_entry_t
the old name is deprecated, all in-Guile uses changed.

* options.h (scm_option_t.val): unsigned long -> scm_bits_t.
type renaming:
scm_option -> scm_option_t
the old name is deprecated, all in-Guile uses changed.

* objects.c: various long -> scm_bits_t changes.
(scm_i_make_class_object): flags: unsigned long -> scm_ubits_t

* numbers.h (SCM_FIXNUM_BIT): deprecated, renamed to
SCM_I_FIXNUM_BIT.

* num2integral.i.c: new file, multiply included by numbers.c, used
to "templatize" the various integral <-> num conversion routines.

* numbers.c (scm_mkbig, scm_big2num, scm_adjbig, scm_normbig,
scm_copybig, scm_2ulong2big, scm_dbl2big, scm_big2dbl):
deprecated.
(scm_i_mkbig, scm_i_big2inum, scm_i_adjbig, scm_i_normbig,
scm_i_copybig, scm_i_short2big, scm_i_ushort2big, scm_i_int2big,
scm_i_uint2big, scm_i_long2big, scm_i_ulong2big, scm_i_bits2big,
scm_i_ubits2big, scm_i_size2big, scm_i_ptrdiff2big,
scm_i_long_long2big, scm_i_ulong_long2big, scm_i_dbl2big,
scm_i_big2dbl, scm_short2num, scm_ushort2num, scm_int2num,
scm_uint2num, scm_bits2num, scm_ubits2num, scm_size2num,
scm_ptrdiff2num, scm_num2short, scm_num2ushort, scm_num2int,
scm_num2uint, scm_num2bits, scm_num2ubits, scm_num2ptrdiff,
scm_num2size): new functions.

* modules.c (scm_module_reverse_lookup): i, n: int -> scm_bits_t.x

* load.c: change int -> size_t in various places (where the
variable is used to store a string length).
(search-path): call scm_done_free, not scm_done_malloc.

* list.c (scm_ilength): return a scm_bits_t, not long.
some other {int,long} -> scm_bits_t changes.

* hashtab.c: various [u]int -> scm_bits_t changes.
scm_ihashx_closure -> scm_ihashx_closure_t (and made a typedef).
(scm_ihashx): n: uint -> scm_bits_t
use scm_bits2num instead of scm_ulong2num.

* gsubr.c: various int -> scm_bits_t changes.

* gh_data.c (gh_scm2double): no loss of precision any more.

* gh.h (gh_str2scm): len: int -> size_t
(gh_{get,set}_substr): start: int -> scm_bits_t,
len: int -> size_t
(gh_<num>2scm): n: int -> scm_bits_t
(gh_*vector_length): return scm_[u]size_t, not unsigned long.
(gh_length): return scm_bits_t, not unsigned long.

* fports.h: type renaming:
scm_fport -> scm_fport_t
the old name is deprecated, all in-Guile uses changed.

* fports.c (fport_fill_input): count: int -> scm_bits_t
(fport_flush): init_size, remaining, count: int -> scm_bits_t

* debug.h (scm_lookup_cstr, scm_lookup_soft, scm_evstr): removed
those prototypes, as the functions they prototype don't exist.

* fports.c (default_buffer_size): int -> size_t
(scm_fport_buffer_add): read_size, write_size: int -> scm_bits_t
default_size: int -> size_t
(scm_setvbuf): csize: int -> scm_bits_t

* fluids.c (n_fluids): int -> scm_bits_t
(grow_fluids): old_length, i: int -> scm_bits_t
(next_fluid_num, scm_fluid_ref, scm_fluid_set_x): n: int ->
scm_bits_t
(scm_c_with_fluids): flen, vlen: int -> scm_bits_t

* filesys.c (s_scm_open_fdes): changed calls to SCM_NUM2LONG to
the new and shiny SCM_NUM2INT.

* extensions.c: extension -> extension_t (and made a typedef).

* eval.h (SCM_IFRAME): cast to scm_bits_t, not int.  just so
there are no nasty surprises if/when the various deeply magic tag
bits move somewhere else.

* eval.c: changed the locals used to store results of SCM_IFRAME,
scm_ilength and such to be of type scm_bits_t (and not int/long).
(iqq): depth, edepth: int -> scm_bits_t
(scm_eval_stack): int -> scm_bits_t
(SCM_CEVAL): various vars are not scm_bits_t instead of int.
(check_map_args, scm_map, scm_for_each): len: long -> scm_bits_t
i: int -> scm_bits_t

* environments.c: changed the many calls to scm_ulong2num to
scm_ubits2num.
(import_environment_fold): proc_as_ul: ulong -> scm_ubits_t

* dynwind.c (scm_dowinds): delta: long -> scm_bits_t

* debug.h: type renaming:
scm_debug_info -> scm_debug_info_t
scm_debug_frame -> scm_debug_frame_t
the old names are deprecated, all in-Guile uses changed.
(scm_debug_eframe_size): int -> scm_bits_t

* debug.c (scm_init_debug): use scm_c_define instead of the
deprecated scm_define.

* continuations.h: type renaming:
scm_contregs -> scm_contregs_t
the old name is deprecated, all in-Guile uses changed.
(scm_contregs_t.num_stack_items): size_t -> scm_bits_t
(scm_contregs_t.num_stack_items): ulong -> scm_ubits_t

* continuations.c (scm_make_continuation): change the type of
stack_size form long to scm_bits_t.

* ports.h: type renaming:
scm_port_rw_active -> scm_port_rw_active_t (and made a typedef)
scm_port -> scm_port_t
scm_ptob_descriptor -> scm_ptob_descriptor_t
the old names are deprecated, all in-Guile uses changed.
(scm_port_t.entry): int -> scm_bits_t.
(scm_port_t.line_number): int -> long.
(scm_port_t.putback_buf_size): int -> size_t.

* __scm.h (long_long, ulong_long): deprecated (they pollute the
global namespace and have little value besides that).
(SCM_BITS_LENGTH): new, is the bit size of scm_bits_t (i.e. of an
SCM handle).
(ifdef spaghetti): include sys/types.h and sys/stdtypes.h, if they
exist (for size_t & ptrdiff_t)
(scm_sizet): deprecated.

* Makefile.am (noinst_HEADERS): add num2integral.i.c
2001-05-24 00:50:51 +00:00
Martin Grabmüller
92905faf2c * guile.texi: Commented out menu entry and inclusion of Tcl/Tk
stuff.

	* indices.texi: Users are advised to look under C and Scheme
	names, xref to transformation rules added.

	* intro.texi, scheme-modules.texi, scheme-ideas.texi,
	scheme-evaluation.texi, scheme-data.texi, scheme-procedures.texi:
	Fixed most REFFIXMEs.

	* srfi-modules.texi (About SRFI Usage): New node.
	(SRFI-0): Extended.
	Fixed all REFFIXMEs.
2001-05-23 17:24:50 +00:00
Rob Browning
d579d1652d *** empty log message *** 2001-05-22 23:26:36 +00:00
Neil Jerram
7215d65eb2 * Doc updates for lazy-catch and IP address conversion 2001-05-19 11:13:47 +00:00
Rob Browning
7907f79949 * scheme-options.texi (Install Config): fixed minor-version docs
and added micro-version docs.
2001-05-17 04:53:58 +00:00