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

3751 commits

Author SHA1 Message Date
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
Neil Jerram
189285962e * Slight clarification of lazy-catch docstring. 2001-05-19 11:18:02 +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
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
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
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
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
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
c493c8c093 * versiondat.h.in: add GUILE_MICRO_VERSION. 2001-05-17 04:54:45 +00:00
Rob Browning
fb872f3ad9 * version.h (scm_init_version): new function. 2001-05-17 04:54:37 +00:00
Rob Browning
b89d554bd0 * version.c (s_scm_major_version): doc fixes.
(s_scm_minor_version): doc fixes.
(s_scm_minor_version): new function.
2001-05-17 04:54:27 +00:00
Dirk Herrmann
887dfa7d56 * Renamed GUILE_WARN_DEPRECATED_DEFAULT to SCM_WARN_DEPRECATED_DEFAULT. 2001-05-16 07:20:53 +00:00
Marius Vollmer
78930a69ee *** empty log message *** 2001-05-16 00:57:08 +00:00
Marius Vollmer
a9c093e27f (cpp_sig_symbols.c, cpp_err_symbols.c): Make
dependent on cpp_cnvt.awk
2001-05-16 00:56:48 +00:00
Martin Grabmüller
39cde5c57c * 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.
2001-05-15 20:12:10 +00:00
Marius Vollmer
f3f9dcbc5d *** empty log message *** 2001-05-15 15:00:31 +00:00
Marius Vollmer
86d31dfe7d Merge from mvo-vcell-cleanup-1-branch. 2001-05-15 14:57:22 +00:00
Dirk Herrmann
7c33806ae6 * Make SCM_DEBUG_CELL_ACCESSES=1 work with GUILE_DEBUG_FREELIST. 2001-05-15 09:45:10 +00:00
Marius Vollmer
11bbab474a *** empty log message *** 2001-05-15 00:54:23 +00:00
Marius Vollmer
9d47027ee6 (print_values): Print as a unreadable object, not as
multiple lines.  Thanks to Matthias Köppe!
2001-05-15 00:52:20 +00:00
Dirk Herrmann
5cd06d5eaa * Deprecated some definitions.
* Minor fixes.
2001-05-14 16:38:08 +00:00
Thien-Thi Nguyen
32bac999a1 *** empty log message *** 2001-05-10 23:38:29 +00:00
Thien-Thi Nguyen
230b61abbb Update copyright.
Fix relative path bug.  Thanks to Sergey Poznyakoff.
2001-05-10 23:34:33 +00:00
Marius Vollmer
c9dcc5ae18 *** empty log message *** 2001-05-10 22:31:32 +00:00
Martin Grabmüller
7c582ec9b5 * procs.c: Increased `scm_subr_table_room' to 800 because Guile now
has 779 primitives on startup.
2001-05-09 21:50:43 +00:00
Marius Vollmer
284ab60172 *** empty log message *** 2001-05-09 20:26:19 +00:00
Marius Vollmer
26fb6390fb (scm_i_eval): Copy expression before passing it to
SCM_XEVAL.  The copy operation was removed unintendedly during my
change on 2001-03-25.
2001-05-09 20:25:44 +00:00
Michael Livshin
910d1e40f9 * ports.c (scm_c_read): pointer arithmetic on void pointers isn't
portable.

* deprecation.c (s_scm_include_deprecated_features): ANSI'fied the
docstring.
2001-05-09 16:32:06 +00:00
Dirk Herrmann
8ff45739c5 * Ooops: This patch belongs to the previous ChangeLog entry... 2001-05-08 10:30:32 +00:00
Dirk Herrmann
56e55ac7cf * Removed deprecated hook names.
* Fix use of SCM_FLOBUFLEN.
2001-05-08 10:23:17 +00:00