1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-01 12:20:26 +02:00
Commit graph

5705 commits

Author SHA1 Message Date
Marius Vollmer
08045107a0 (scm_init_guile_1): Call scm_init_extensions. 2001-05-20 19:29:11 +00:00
Marius Vollmer
438b273828 Add "extensions.c" and related files in all the
right places.
2001-05-20 19:27:59 +00:00
Marius Vollmer
e4a7824f4e * gc.h, gc.c (scm_must_strdup, scm_must_strndup): New. 2001-05-20 19:27:22 +00:00
Marius Vollmer
e2ab7927bf New files. 2001-05-20 19:26:23 +00:00
Marius Vollmer
2fc933fe89 *** empty log message *** 2001-05-20 00:36:40 +00:00
Marius Vollmer
9a441ddb34 (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.
2001-05-20 00:35:43 +00:00
Marius Vollmer
c88a8162c4 (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.
2001-05-20 00:34:25 +00:00
Marius Vollmer
9d78586faf (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.
2001-05-20 00:34:10 +00:00
Marius Vollmer
c36f65a8f0 (scm_system_module_env_p): Move out of deprecated
section.
2001-05-20 00:33:49 +00:00
Marius Vollmer
0a53fd6e35 (scm_init_rw): Added prototype. 2001-05-20 00:33:26 +00:00
Marius Vollmer
5d98055804 (scm_c_init_srfi_14): Added "int" to declaration of
`initialized'.
2001-05-20 00:33:12 +00:00
Marius Vollmer
51f7ef47f9 Fix missing paren. 2001-05-19 22:58:29 +00:00
Neil Jerram
189285962e * Slight clarification of lazy-catch docstring. 2001-05-19 11:18:02 +00:00
Neil Jerram
7215d65eb2 * Doc updates for lazy-catch and IP address conversion 2001-05-19 11:13:47 +00:00
Marius Vollmer
e2b6ddc668 *** empty log message *** 2001-05-19 02:01:33 +00:00
Marius Vollmer
b84735089f 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.
2001-05-19 02:01:12 +00:00
Marius Vollmer
e4e1ea73f3 *** empty log message *** 2001-05-19 01:32:02 +00:00
Marius Vollmer
872bd19470 * psyntax.ss (build-lexical-var): Use gensym instead of gentemp.
* match.scm: Likewise.
* expect.scm: Likewise.
* psyntax.pp: Regenerated.
2001-05-19 01:31:33 +00:00
Marius Vollmer
d866f4455b (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.
2001-05-19 01:30:02 +00:00
Marius Vollmer
21a13beb20 *** empty log message *** 2001-05-19 01:25:15 +00:00
Marius Vollmer
41bc3f429a (s_scm_micro_version): Fix typo in FUNC_NAME, it
refered to s_scm_minor_version previously.
2001-05-19 01:24:59 +00:00
Marius Vollmer
fce1a51729 Updated test for new micro version stuff. 2001-05-19 01:23:23 +00:00
Marius Vollmer
9bba1435c3 Undo last change. I have decided not to deprecate
scm_system_module_env_p.
2001-05-19 01:23:06 +00:00
Marius Vollmer
d02b98e960 * 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.
2001-05-19 01:22:12 +00:00
Marius Vollmer
143e090215 (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.
2001-05-19 00:36:22 +00:00
Marius Vollmer
abd28220e7 (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.
2001-05-19 00:33:25 +00:00
Marius Vollmer
e2d085f3a2 (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.
2001-05-19 00:29:36 +00:00
Marius Vollmer
43fd440257 Call `%init-rdelim-builtins'. 2001-05-19 00:28:06 +00:00
Marius Vollmer
6280d4294e (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.
2001-05-19 00:27:22 +00:00
Marius Vollmer
a0c32266ce Call `%init-rw-builtins'. 2001-05-19 00:25:04 +00:00
Marius Vollmer
e615ee8d21 (scm_init_rw_builtins): Renamed from scm_init_rw. Return
SCM_UNSPECIFIED.
(scm_init_rw): Only register `%init-rw-builtins' procedure.
2001-05-19 00:24:15 +00:00
Marius Vollmer
deec8fc26c (scm_shell): Evaluate the compiled switches in the
current module, not in the root module.
2001-05-19 00:22:51 +00:00
Marius Vollmer
f366ed28ee (narrow_stack): Do not call `scm_system_module_env_p'
when deprecated features are excluded from Guile.
2001-05-19 00:21:41 +00:00
Marius Vollmer
de208a7462 Fix typos. 2001-05-19 00:19:43 +00:00
Marius Vollmer
7c628196fd *** empty log message *** 2001-05-19 00:19:42 +00:00
Marius Vollmer
78ec533c40 Call `%init-goops-builtins' instead of using the
`(oop goops goopscore)' module.
2001-05-19 00:19:25 +00:00
Marius Vollmer
94451729e0 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".
2001-05-19 00:17:05 +00:00
Thien-Thi Nguyen
d28690d78a *** empty log message *** 2001-05-18 17:30:58 +00:00
Thien-Thi Nguyen
f8a502cb72 (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.
2001-05-18 17:28:03 +00:00
Thien-Thi Nguyen
58e5b91086 Mention `read-scheme-source'.
Mention support for "(help 'NAME)".
2001-05-18 17:16:40 +00:00
Thien-Thi Nguyen
3125fbe050 *** empty log message *** 2001-05-18 17:12:37 +00:00
Thien-Thi Nguyen
1de3b33b0b (help-usage): Mention support for "(help 'NAME)". 2001-05-18 17:10:42 +00:00
Thien-Thi Nguyen
d58f1edfad *** empty log message *** 2001-05-18 17:07:48 +00:00
Thien-Thi Nguyen
de25f281fd (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.
2001-05-18 17:05:06 +00:00
Thien-Thi Nguyen
adcbdb1687 *** empty log message *** 2001-05-18 16:34:25 +00:00
Thien-Thi Nguyen
115d80dc97 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'.
2001-05-18 16:30:59 +00:00
Dirk Herrmann
09cb9e738b * Removed SCM_CDR misuse. 2001-05-17 06:38:25 +00:00
Rob Browning
c81ea65d61 *** empty log message *** 2001-05-17 04:56:13 +00:00
Rob Browning
5a1920ded2 * srfi-19.scm (priv:integer-reader-exact): minor cleanups. 2001-05-17 04:54:59 +00:00
Rob Browning
c493c8c093 * versiondat.h.in: add GUILE_MICRO_VERSION. 2001-05-17 04:54:45 +00:00