1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-06 15:40:29 +02:00
Commit graph

6023 commits

Author SHA1 Message Date
Marius Vollmer
a6219f222c *** empty log message *** 2001-05-22 22:47:02 +00:00
Marius Vollmer
7bad99fd98 (scm_include_deprecated_features): Make docstring
ANSIsh.
2001-05-22 22:46:39 +00:00
Marius Vollmer
a0f3e74752 (SCM_CONST_LONG): Use SCM_VCELL_INIT instead of
SCM_VARIABLE_INIT since that it what it used to be.
2001-05-22 22:46:14 +00:00
Marius Vollmer
25afac9812 (define-module): Return the new module. (process-define-module): Use
`spec' instead of `module-name' when getting the syntax transformer.
2001-05-22 22:45:13 +00:00
Marius Vollmer
bab34d2a6f *** empty log message *** 2001-05-21 13:22:44 +00:00
Marius Vollmer
4ed29c73dd New, minimal tests. 2001-05-21 13:22:18 +00:00
Marius Vollmer
2a63747af8 More details for the removal of scm:eval-transformer and
scm_top_level_lookup_closure_var.
2001-05-21 13:21:45 +00:00
Marius Vollmer
e6c9e49738 Moved deprecated C stuff to C section. 2001-05-21 13:21:01 +00:00
Marius Vollmer
eee58958bb (use-syntax): Do not set scm:eval-transformer when
deprecated features have been removed.  Thanks to Dale P. Smith!
2001-05-21 13:19:40 +00:00
Marius Vollmer
9dfc4faa10 *** empty log message *** 2001-05-21 12:27:38 +00:00
Marius Vollmer
aac7e26056 (scm_make_subr_with_generic): Add missing last argument
in call to scm_c_define_gsubr_with_generic.  Thanks to Ariel Rios.
2001-05-21 12:27:08 +00:00
Marius Vollmer
a7a59ea9d0 (scm_mem2symbol): Re-introduce indirect cell. It is
needed for weak-key hashtables.
2001-05-21 12:26:37 +00:00
Marius Vollmer
311b6a3cb1 *** empty log message *** 2001-05-20 23:42:00 +00:00
Marius Vollmer
c6772927b4 Use SCM_EQ_P insteda of ==' or !=' in certain
places. (scm_c_improper_memq): Return q instead of SCM_BOOL_T.
2001-05-20 23:39:55 +00:00
Marius Vollmer
1990dd38ab (SCM_EVALIM2): Use SCM_EQ_P instead of `=='. 2001-05-20 23:38:36 +00:00
Marius Vollmer
33485be9b6 (#\&): Use `issue-deprecation-warning' instead of
`display'.
2001-05-20 23:37:42 +00:00
Marius Vollmer
57ae112df6 *** empty log message *** 2001-05-20 19:32:11 +00:00
Marius Vollmer
25c507d9a2 (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.
2001-05-20 19:31:58 +00:00
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