bpt/guile.git
23 years ago Make it compile with --disable-deprecated.
Martin Grabmüller [Thu, 24 May 2001 06:51:42 +0000 (06:51 +0000)]
Make it compile with --disable-deprecated.

* readline.h: scm_option->scm_option_t.

* readline.c (stream_from_fport): scm_fport->scm_fport_t;
scm_option->scm_option_t.

23 years ago* validate.h
Michael Livshin [Thu, 24 May 2001 00:50:51 +0000 (00:50 +0000)]
* 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

23 years ago * guile.texi: Commented out menu entry and inclusion of Tcl/Tk
Martin Grabmüller [Wed, 23 May 2001 17:24:50 +0000 (17:24 +0000)]
* 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.

23 years ago*** empty log message ***
Rob Browning [Wed, 23 May 2001 17:00:53 +0000 (17:00 +0000)]
*** empty log message ***

23 years ago* srfi-19.scm (:optional): renamed to optional to avoid reader
Rob Browning [Wed, 23 May 2001 17:00:22 +0000 (17:00 +0000)]
* srfi-19.scm (:optional): renamed to optional to avoid reader
keywords conflict.  Time passes... Removed :optional altogether
and just handle optional args directly.  Thanks to Matthias Koeppe
for the report of this and the two bits below.
(priv:decode-julian-day-number): add inexact->exact for truncate
result.
(time-utc->date): add inexact->exact and floor so quotient will
work.

23 years ago* srfi-19.scm (:optional): renamed to optional to avoid reader
Rob Browning [Wed, 23 May 2001 15:24:41 +0000 (15:24 +0000)]
* srfi-19.scm (:optional): renamed to optional to avoid reader
keywords conflict.  Thanks to Matthias Koeppe for the report.

23 years ago * boot-9.scm (%cond-expand-table): New hash table mapping modules
Martin Grabmüller [Wed, 23 May 2001 05:08:17 +0000 (05:08 +0000)]
* boot-9.scm (%cond-expand-table): New hash table mapping modules
to feature lists.
(cond-expand): Use feature information associated with modules.

* boot-9.scm (use-srfis): Do not extend the srfi-0 feature list.
(cond-expand-provide): New procedure.

23 years ago * README: Update, document available SRFIs.
Martin Grabmüller [Wed, 23 May 2001 05:04:55 +0000 (05:04 +0000)]
* README: Update, document available SRFIs.

* srfi-19.scm, srfi-17.scm, srfi-16.scm, srfi-14.scm, srfi-13.scm,
srfi-11.scm, srfi-10.scm, srfi-9.scm, srfi-8.scm, srfi-6.scm,
srfi-2.scm: Use `cond-expand-provide' for providing features to
`cond-expand'.

23 years ago*** empty log message ***
Rob Browning [Tue, 22 May 2001 23:26:36 +0000 (23:26 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Marius Vollmer [Tue, 22 May 2001 22:47:02 +0000 (22:47 +0000)]
*** empty log message ***

23 years ago(scm_include_deprecated_features): Make docstring
Marius Vollmer [Tue, 22 May 2001 22:46:39 +0000 (22:46 +0000)]
(scm_include_deprecated_features): Make docstring
ANSIsh.

23 years ago(SCM_CONST_LONG): Use SCM_VCELL_INIT instead of
Marius Vollmer [Tue, 22 May 2001 22:46:14 +0000 (22:46 +0000)]
(SCM_CONST_LONG): Use SCM_VCELL_INIT instead of
SCM_VARIABLE_INIT since that it what it used to be.

23 years ago(define-module): Return the new module. (process-define-module): Use
Marius Vollmer [Tue, 22 May 2001 22:45:13 +0000 (22:45 +0000)]
(define-module): Return the new module.  (process-define-module): Use
`spec' instead of `module-name' when getting the syntax transformer.

23 years ago*** empty log message ***
Marius Vollmer [Mon, 21 May 2001 13:22:44 +0000 (13:22 +0000)]
*** empty log message ***

23 years agoNew, minimal tests.
Marius Vollmer [Mon, 21 May 2001 13:22:18 +0000 (13:22 +0000)]
New, minimal tests.

23 years agoMore details for the removal of scm:eval-transformer and
Marius Vollmer [Mon, 21 May 2001 13:21:45 +0000 (13:21 +0000)]
More details for the removal of scm:eval-transformer and
scm_top_level_lookup_closure_var.

23 years agoMoved deprecated C stuff to C section.
Marius Vollmer [Mon, 21 May 2001 13:21:01 +0000 (13:21 +0000)]
Moved deprecated C stuff to C section.

23 years ago(use-syntax): Do not set scm:eval-transformer when
Marius Vollmer [Mon, 21 May 2001 13:19:40 +0000 (13:19 +0000)]
(use-syntax): Do not set scm:eval-transformer when
deprecated features have been removed.  Thanks to Dale P. Smith!

23 years ago*** empty log message ***
Marius Vollmer [Mon, 21 May 2001 12:27:38 +0000 (12:27 +0000)]
*** empty log message ***

23 years ago(scm_make_subr_with_generic): Add missing last argument
Marius Vollmer [Mon, 21 May 2001 12:27:08 +0000 (12:27 +0000)]
(scm_make_subr_with_generic): Add missing last argument
in call to scm_c_define_gsubr_with_generic.  Thanks to Ariel Rios.

23 years ago(scm_mem2symbol): Re-introduce indirect cell. It is
Marius Vollmer [Mon, 21 May 2001 12:26:37 +0000 (12:26 +0000)]
(scm_mem2symbol): Re-introduce indirect cell.  It is
needed for weak-key hashtables.

23 years ago*** empty log message ***
Marius Vollmer [Sun, 20 May 2001 23:42:00 +0000 (23:42 +0000)]
*** empty log message ***

23 years agoUse SCM_EQ_P insteda of `==' or `!=' in certain
Marius Vollmer [Sun, 20 May 2001 23:39:55 +0000 (23:39 +0000)]
Use SCM_EQ_P insteda of `==' or `!=' in certain
places. (scm_c_improper_memq): Return q instead of SCM_BOOL_T.

23 years ago(SCM_EVALIM2): Use SCM_EQ_P instead of `=='.
Marius Vollmer [Sun, 20 May 2001 23:38:36 +0000 (23:38 +0000)]
(SCM_EVALIM2): Use SCM_EQ_P instead of `=='.

23 years ago(#\&): Use `issue-deprecation-warning' instead of
Marius Vollmer [Sun, 20 May 2001 23:37:42 +0000 (23:37 +0000)]
(#\&): Use `issue-deprecation-warning' instead of
`display'.

23 years ago*** empty log message ***
Marius Vollmer [Sun, 20 May 2001 19:32:11 +0000 (19:32 +0000)]
*** empty log message ***

23 years ago(scm_mem2symbol): Call `scm_must_strndup' instead of
Marius Vollmer [Sun, 20 May 2001 19:31:58 +0000 (19:31 +0000)]
(scm_mem2symbol): Call `scm_must_strndup' instead of
`duplicate_string'.  Do not use an indirect cell, store symbol
directly in collision list of hash table.
(duplicate_string): Removed.

23 years ago(scm_init_guile_1): Call scm_init_extensions.
Marius Vollmer [Sun, 20 May 2001 19:29:11 +0000 (19:29 +0000)]
(scm_init_guile_1): Call scm_init_extensions.

23 years agoAdd "extensions.c" and related files in all the
Marius Vollmer [Sun, 20 May 2001 19:27:59 +0000 (19:27 +0000)]
Add "extensions.c" and related files in all the
right places.

23 years ago* gc.h, gc.c (scm_must_strdup, scm_must_strndup): New.
Marius Vollmer [Sun, 20 May 2001 19:27:22 +0000 (19:27 +0000)]
* gc.h, gc.c (scm_must_strdup, scm_must_strndup): New.

23 years agoNew files.
Marius Vollmer [Sun, 20 May 2001 19:26:23 +0000 (19:26 +0000)]
New files.

23 years ago*** empty log message ***
Marius Vollmer [Sun, 20 May 2001 00:36:40 +0000 (00:36 +0000)]
*** empty log message ***

23 years ago(scm_c_make_gsubr, scm_c_define_gsubr, scm_c_make_gsubr_with_generic,
Marius Vollmer [Sun, 20 May 2001 00:35:43 +0000 (00:35 +0000)]
(scm_c_make_gsubr, scm_c_define_gsubr, scm_c_make_gsubr_with_generic,
scm_c_define_gsubr_with_generic): New functions.  They replace
scm_make_gsubr and scm_make_gsubr_with_generic.  The `make' variants
only create the gsubr object, while the `define' variants also put it
into the current module.  Changed all callers.  (scm_make_gsubr,
scm_make_gsubr_with_generic): Deprecated.

(scm_c_make_subr, scm_c_define_subr, scm_c_make_subr_with_generic,
scm_c_define_subr_with_generic): New functions.  They replace
scm_make_subr, scm_make_subr_opt and scm_make_subr_with_generic.  The
`make' variants only create the subr object, while the `define'
variants also put it into the current module.  Changed all callers.
(scm_make_subr, scm_make_subr_opt, scm_make_subr_with_generic):
Deprecated.

23 years ago(scm_c_make_subr, scm_c_define_subr,
Marius Vollmer [Sun, 20 May 2001 00:34:25 +0000 (00:34 +0000)]
(scm_c_make_subr, scm_c_define_subr,
scm_c_make_subr_with_generic, scm_c_define_subr_with_generic): New
functions.  They replace scm_make_subr, scm_make_subr_opt and
scm_make_subr_with_generic.  The `make' variants only create the
subr object, while the `define' variants also put it into the
current module.  Changed all callers.
(scm_make_subr, scm_make_subr_opt, scm_make_subr_with_generic):
Deprecated.

23 years ago(scm_c_make_gsubr, scm_c_define_gsubr,
Marius Vollmer [Sun, 20 May 2001 00:34:10 +0000 (00:34 +0000)]
(scm_c_make_gsubr, scm_c_define_gsubr,
scm_c_make_gsubr_with_generic, scm_c_define_gsubr_with_generic):
New functions.  They replace scm_make_gsubr and
scm_make_gsubr_with_generic.  The `make' variants only create the
gsubr object, while the `define' variants also put it into the
current module.  Changed all callers.
(scm_make_gsubr, scm_make_gsubr_with_generic): Deprecated.

23 years ago(scm_system_module_env_p): Move out of deprecated
Marius Vollmer [Sun, 20 May 2001 00:33:49 +0000 (00:33 +0000)]
(scm_system_module_env_p): Move out of deprecated
section.

23 years ago(scm_init_rw): Added prototype.
Marius Vollmer [Sun, 20 May 2001 00:33:26 +0000 (00:33 +0000)]
(scm_init_rw): Added prototype.

23 years ago(scm_c_init_srfi_14): Added "int" to declaration of
Marius Vollmer [Sun, 20 May 2001 00:33:12 +0000 (00:33 +0000)]
(scm_c_init_srfi_14): Added "int" to declaration of
`initialized'.

23 years agoFix missing paren.
Marius Vollmer [Sat, 19 May 2001 22:58:29 +0000 (22:58 +0000)]
Fix missing paren.

23 years ago* Slight clarification of lazy-catch docstring.
Neil Jerram [Sat, 19 May 2001 11:18:02 +0000 (11:18 +0000)]
* Slight clarification of lazy-catch docstring.

23 years ago* Doc updates for lazy-catch and IP address conversion
Neil Jerram [Sat, 19 May 2001 11:13:47 +0000 (11:13 +0000)]
* Doc updates for lazy-catch and IP address conversion

23 years ago*** empty log message ***
Marius Vollmer [Sat, 19 May 2001 02:01:33 +0000 (02:01 +0000)]
*** empty log message ***

23 years agoLazy-catch handlers are no longer allowed to return.
Marius Vollmer [Sat, 19 May 2001 02:01:12 +0000 (02:01 +0000)]
Lazy-catch handlers are no longer allowed to return.
Fixed comments throughout.
(scm_ithrow): Signal an error when a lazy-catch handler returns.
Moved actual jump to jmpbuf into if-branch where the jmpbuf is
recognized as such.

23 years ago*** empty log message ***
Marius Vollmer [Sat, 19 May 2001 01:32:02 +0000 (01:32 +0000)]
*** empty log message ***

23 years ago* psyntax.ss (build-lexical-var): Use gensym instead of gentemp.
Marius Vollmer [Sat, 19 May 2001 01:31:33 +0000 (01:31 +0000)]
* psyntax.ss (build-lexical-var): Use gensym instead of gentemp.
* match.scm: Likewise.
* expect.scm: Likewise.
* psyntax.pp: Regenerated.

23 years ago(process-define-module): Do not call
Marius Vollmer [Sat, 19 May 2001 01:30:02 +0000 (01:30 +0000)]
(process-define-module): Do not call
set-current-module.
(define-module): Do it here, in the expansion.
(top-repl): Do not define '(guile-user)' module and conditionally
load `(ice-9 threads)' and/or `(ice-9 regex)' here.  Do it on
top-level as the last thing in boot-9.scm instead.
(%load-path): Use `list' instead of `cons' to create a single
element list when adding "." to it.
(process-define-module, process-use-modules, module-export!): Add
dummy definitions prior to booting the mdule system.

23 years ago*** empty log message ***
Marius Vollmer [Sat, 19 May 2001 01:25:15 +0000 (01:25 +0000)]
*** empty log message ***

23 years ago(s_scm_micro_version): Fix typo in FUNC_NAME, it
Marius Vollmer [Sat, 19 May 2001 01:24:59 +0000 (01:24 +0000)]
(s_scm_micro_version): Fix typo in FUNC_NAME, it
refered to s_scm_minor_version previously.

23 years agoUpdated test for new micro version stuff.
Marius Vollmer [Sat, 19 May 2001 01:23:23 +0000 (01:23 +0000)]
Updated test for new micro version stuff.

23 years agoUndo last change. I have decided not to deprecate
Marius Vollmer [Sat, 19 May 2001 01:23:06 +0000 (01:23 +0000)]
Undo last change.  I have decided not to deprecate
scm_system_module_env_p.

23 years ago* modules.h, modules.c: Moved around a lot of code so that
Marius Vollmer [Sat, 19 May 2001 01:22:12 +0000 (01:22 +0000)]
* modules.h, modules.c: Moved around a lot of code so that
deprecated features appear at the bottom.
(root_module_lookup_closure, scm_sym_app, scm_sym_modules,
module_prefix, make_modules_in_var, beautify_user_module_x_var,
scm_the_root_module, scm_make_module, scm_ensure_user_module,
scm_load_scheme_module): Deprecated.
(scm_system_module_env_p): Return SCM_BOOL_T directly for
environments corresponding to the root module.
(convert_module_name, scm_c_resolve_module,
scm_c_call_with_current_module, scm_c_define_module,
scm_c_use_module, scm_c_export): New.
(the_root_module): New static variant of scm_the_root_module.  Use
it everywhere instead of scm_the_root_module.

23 years ago(scm_internal_with_fluids): Deprecated.
Marius Vollmer [Sat, 19 May 2001 00:36:22 +0000 (00:36 +0000)]
(scm_internal_with_fluids): Deprecated.
(scm_c_with_fluids): Renamed from scm_internal_with_fluids.
(scm_c_with_fluid): New.
(scm_with_fluids): Use scm_c_with_fluids instead of
scm_internal_with_fluids.

23 years ago(scm_init_goops_builtins): Renamed from
Marius Vollmer [Sat, 19 May 2001 00:33:25 +0000 (00:33 +0000)]
(scm_init_goops_builtins): Renamed from
`scm_init_goops'.  Do not explicitly create/switch modules.
Return SCM_UNSPECIFIED.
(scm_init_goops): Only register `%init-goops-builtins' procedure.
(scm_load_goops): Use scm_c_resolve_module instead of
scm_resolve_module.

23 years ago(scm_init_guile_1): Call `scm_init_goops' instead of
Marius Vollmer [Sat, 19 May 2001 00:29:36 +0000 (00:29 +0000)]
(scm_init_guile_1): Call `scm_init_goops' instead of
`scm_init_oop_goops_goopscore_module'.  Call `scm_init_rdelim' and
`scm_init_rw' prior to loading the startup files.

23 years agoCall `%init-rdelim-builtins'.
Marius Vollmer [Sat, 19 May 2001 00:28:06 +0000 (00:28 +0000)]
Call `%init-rdelim-builtins'.

23 years ago(scm_init_rdelim_builtins): Renamed from
Marius Vollmer [Sat, 19 May 2001 00:27:22 +0000 (00:27 +0000)]
(scm_init_rdelim_builtins): Renamed from
scm_init_rdelim.  Do not switch explicetly create/switch modules.
Return SCM_UNSPECIFIED.
(scm_init_rdelim): Only register `%init-rdelim-builtins'
procedure.

23 years agoCall `%init-rw-builtins'.
Marius Vollmer [Sat, 19 May 2001 00:25:04 +0000 (00:25 +0000)]
Call `%init-rw-builtins'.

23 years ago(scm_init_rw_builtins): Renamed from scm_init_rw. Return
Marius Vollmer [Sat, 19 May 2001 00:24:15 +0000 (00:24 +0000)]
(scm_init_rw_builtins): Renamed from scm_init_rw.  Return
SCM_UNSPECIFIED.
(scm_init_rw): Only register `%init-rw-builtins' procedure.

23 years ago(scm_shell): Evaluate the compiled switches in the
Marius Vollmer [Sat, 19 May 2001 00:22:51 +0000 (00:22 +0000)]
(scm_shell): Evaluate the compiled switches in the
current module, not in the root module.

23 years ago(narrow_stack): Do not call `scm_system_module_env_p'
Marius Vollmer [Sat, 19 May 2001 00:21:41 +0000 (00:21 +0000)]
(narrow_stack): Do not call `scm_system_module_env_p'
when deprecated features are excluded from Guile.

23 years agoFix typos.
Marius Vollmer [Sat, 19 May 2001 00:19:43 +0000 (00:19 +0000)]
Fix typos.

23 years ago*** empty log message ***
Marius Vollmer [Sat, 19 May 2001 00:19:42 +0000 (00:19 +0000)]
*** empty log message ***

23 years agoCall `%init-goops-builtins' instead of using the
Marius Vollmer [Sat, 19 May 2001 00:19:25 +0000 (00:19 +0000)]
Call `%init-goops-builtins' instead of using the
`(oop goops goopscore)' module.

23 years agoAvoid using module operations from C.
Marius Vollmer [Sat, 19 May 2001 00:17:05 +0000 (00:17 +0000)]
Avoid using module operations from C.

* srfi-13.c (scm_init_srfi_13_14): Removed.
* srfi-14.h, srfi-14.c (scm_c_init_srfi_14): New.  Contains
initializations needed by C clients of srfi-14.
(scm_init_srfi_13, scm_init_srfi_14): Call it.
* srfi-13.scm: Call "scm_init_srf_13" instead of
"scm_init_srfi_13_14".
* srfi-14.scm: Call "scm_init_srf_14" instead of
"scm_init_srfi_13_14".

23 years ago*** empty log message ***
Thien-Thi Nguyen [Fri, 18 May 2001 17:30:58 +0000 (17:30 +0000)]
*** empty log message ***

23 years ago(resolve-interface, use-srfis): Small cleanup; nfc.
Thien-Thi Nguyen [Fri, 18 May 2001 17:28:03 +0000 (17:28 +0000)]
(resolve-interface, use-srfis): Small cleanup; nfc.
(process-define-module): Internal proc `unrecognized'
now accepts arg; update callers.
Reverse order of interfaces added to module to be
consistent with that specified in `define-module' form.

23 years agoMention `read-scheme-source'.
Thien-Thi Nguyen [Fri, 18 May 2001 17:16:40 +0000 (17:16 +0000)]
Mention `read-scheme-source'.
Mention support for "(help 'NAME)".

23 years ago*** empty log message ***
Thien-Thi Nguyen [Fri, 18 May 2001 17:12:37 +0000 (17:12 +0000)]
*** empty log message ***

23 years ago(help-usage): Mention support for "(help 'NAME)".
Thien-Thi Nguyen [Fri, 18 May 2001 17:10:42 +0000 (17:10 +0000)]
(help-usage): Mention support for "(help 'NAME)".

23 years ago*** empty log message ***
Thien-Thi Nguyen [Fri, 18 May 2001 17:07:48 +0000 (17:07 +0000)]
*** empty log message ***

23 years ago(help): Use `provided?' instead of `feature?'.
Thien-Thi Nguyen [Fri, 18 May 2001 17:05:06 +0000 (17:05 +0000)]
(help): Use `provided?' instead of `feature?'.
Factor "TYPE not found for X" output into internal proc.
Support `(quote SYMBOL)'; call `search-documentation-files'.
(help-doc): If initial search fails, try using
`search-documentation-files'.
(apropos-fold-accessible, apropos-fold-all): Use `identity'
instead of `(lambda (x) x)'.  "An identity edit", ha ha.

23 years ago*** empty log message ***
Thien-Thi Nguyen [Fri, 18 May 2001 16:34:25 +0000 (16:34 +0000)]
*** empty log message ***

23 years agoFix documentation for Guile Documentation Format Version 2:
Thien-Thi Nguyen [Fri, 18 May 2001 16:30:59 +0000 (16:30 +0000)]
Fix documentation for Guile Documentation Format Version 2:
Mention required terminating newlines.

(find-documentation): Delete.
(search-documentation-files): New proc, exported.
(object-documentation): Use `search-documentation-files'.

23 years ago* Removed SCM_CDR misuse.
Dirk Herrmann [Thu, 17 May 2001 06:38:25 +0000 (06:38 +0000)]
* Removed SCM_CDR misuse.

23 years ago*** empty log message ***
Rob Browning [Thu, 17 May 2001 04:56:13 +0000 (04:56 +0000)]
*** empty log message ***

23 years ago* srfi-19.scm (priv:integer-reader-exact): minor cleanups.
Rob Browning [Thu, 17 May 2001 04:54:59 +0000 (04:54 +0000)]
* srfi-19.scm (priv:integer-reader-exact): minor cleanups.

23 years ago* versiondat.h.in: add GUILE_MICRO_VERSION.
Rob Browning [Thu, 17 May 2001 04:54:45 +0000 (04:54 +0000)]
* versiondat.h.in: add GUILE_MICRO_VERSION.

23 years ago* version.h (scm_init_version): new function.
Rob Browning [Thu, 17 May 2001 04:54:37 +0000 (04:54 +0000)]
* version.h (scm_init_version): new function.

23 years ago* version.c (s_scm_major_version): doc fixes.
Rob Browning [Thu, 17 May 2001 04:54:27 +0000 (04:54 +0000)]
* version.c (s_scm_major_version): doc fixes.
(s_scm_minor_version): doc fixes.
(s_scm_minor_version): new function.

23 years ago* scheme-options.texi (Install Config): fixed minor-version docs
Rob Browning [Thu, 17 May 2001 04:53:58 +0000 (04:53 +0000)]
* scheme-options.texi (Install Config): fixed minor-version docs
and added micro-version docs.

23 years ago* configure.in: add AC_SUBST for GUILE_MICRO_VERSION.
Rob Browning [Thu, 17 May 2001 04:53:47 +0000 (04:53 +0000)]
* configure.in: add AC_SUBST for GUILE_MICRO_VERSION.

23 years ago* GUILE-VERSION
Rob Browning [Thu, 17 May 2001 04:51:53 +0000 (04:51 +0000)]
* GUILE-VERSION
(GUILE_VERSION): now MAJOR.MINOR.MICRO
(GUILE_MICRO_VERSION): new variable, records final revision.
i.e. the 5 in 1.6.5.  MINOR_VERSION is now just the middle number,
i.e. the 6.

23 years ago* Fix uses of @itemize without a format specifier.
Neil Jerram [Wed, 16 May 2001 19:30:57 +0000 (19:30 +0000)]
* Fix uses of @itemize without a format specifier.

23 years agoAdded section about --use-srfi.
Martin Grabmüller [Wed, 16 May 2001 18:10:25 +0000 (18:10 +0000)]
Added section about --use-srfi.

23 years ago * scripts.texi (Invoking Guile): Added docs for --use-srfi.
Martin Grabmüller [Wed, 16 May 2001 18:08:12 +0000 (18:08 +0000)]
* scripts.texi (Invoking Guile): Added docs for --use-srfi.

* expect.texi, repl-modules.texi: Start the chapters with a new
page.

* srfi-modules.texi (SRFI-0): Added note about supported feature
identifiers and an example.  Start the chapter with a new page.

* srfi-modules.texi, scheme-data.texi, scheme-control.texi,
scheme-binding.texi, repl-modules.texi, posix.texi, intro.texi,
scheme-utility.texi: Change `--' to `-' throughout.

23 years ago * tests/srfi-13.test: More tests.
Martin Grabmüller [Wed, 16 May 2001 18:04:20 +0000 (18:04 +0000)]
* tests/srfi-13.test: More tests.

23 years ago* Renamed GUILE_WARN_DEPRECATED_DEFAULT to SCM_WARN_DEPRECATED_DEFAULT.
Dirk Herrmann [Wed, 16 May 2001 07:20:53 +0000 (07:20 +0000)]
* Renamed GUILE_WARN_DEPRECATED_DEFAULT to SCM_WARN_DEPRECATED_DEFAULT.

23 years ago*** empty log message ***
Marius Vollmer [Wed, 16 May 2001 00:57:08 +0000 (00:57 +0000)]
*** empty log message ***

23 years ago(cpp_sig_symbols.c, cpp_err_symbols.c): Make
Marius Vollmer [Wed, 16 May 2001 00:56:48 +0000 (00:56 +0000)]
(cpp_sig_symbols.c, cpp_err_symbols.c): Make
dependent on cpp_cnvt.awk

23 years ago * boot-9.scm (cond-expand-features): Made the feature list public,
Martin Grabmüller [Tue, 15 May 2001 20:20:51 +0000 (20:20 +0000)]
* boot-9.scm (cond-expand-features): Made the feature list public,
so it can be manipulated by `use-srfis'.
(use-srfis): New procedure.

23 years ago * script.c (scm_compile_shell_switches): New command line option
Martin Grabmüller [Tue, 15 May 2001 20:12:10 +0000 (20:12 +0000)]
* script.c (scm_compile_shell_switches): New command line option
`--use-srfi' for loading a list of SRFIs on startup.
(scm_shell_usage): Added `--use-srfi' to help message.

23 years ago*** empty log message ***
Thien-Thi Nguyen [Tue, 15 May 2001 19:38:57 +0000 (19:38 +0000)]
*** empty log message ***

23 years ago(resolve-interface): Signal error now also if used module's
Thien-Thi Nguyen [Tue, 15 May 2001 19:33:43 +0000 (19:33 +0000)]
(resolve-interface): Signal error now also if used module's
public interface is not available.
No longer call `beautify-user-module!'.
Signal error now also if selected binding not found.

23 years ago*** empty log message ***
Marius Vollmer [Tue, 15 May 2001 15:00:31 +0000 (15:00 +0000)]
*** empty log message ***

23 years agoMerged from mvo-vcell-cleanup-1-branch.
Marius Vollmer [Tue, 15 May 2001 14:59:42 +0000 (14:59 +0000)]
Merged from mvo-vcell-cleanup-1-branch.

23 years agoMerge from mvo-vcell-cleanup-1-branch.
Marius Vollmer [Tue, 15 May 2001 14:57:22 +0000 (14:57 +0000)]
Merge from mvo-vcell-cleanup-1-branch.

23 years ago* Make SCM_DEBUG_CELL_ACCESSES=1 work with GUILE_DEBUG_FREELIST.
Dirk Herrmann [Tue, 15 May 2001 09:45:10 +0000 (09:45 +0000)]
* Make SCM_DEBUG_CELL_ACCESSES=1 work with GUILE_DEBUG_FREELIST.

23 years ago*** empty log message ***
Marius Vollmer [Tue, 15 May 2001 00:54:23 +0000 (00:54 +0000)]
*** empty log message ***

23 years agoRemoved copy of "libtool.m4".
Marius Vollmer [Tue, 15 May 2001 00:54:08 +0000 (00:54 +0000)]
Removed copy of "libtool.m4".

23 years ago(print_values): Print as a unreadable object, not as
Marius Vollmer [Tue, 15 May 2001 00:52:20 +0000 (00:52 +0000)]
(print_values): Print as a unreadable object, not as
multiple lines.  Thanks to Matthias Köppe!