1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-08 22:50:27 +02:00
Commit graph

4019 commits

Author SHA1 Message Date
Mikael Djurfeldt
eb8db44059 * symbols.c (scm_can_use_top_level_lookup_closure_var): Removed.
#include "modules.h".
2000-08-11 08:44:51 +00:00
Mikael Djurfeldt
07bcf91d63 * strports.c (scm_eval_string): Evaluate in
scm_interaction_environment ().

* strports.c: #include "modules.h".
2000-08-11 08:44:43 +00:00
Mikael Djurfeldt
b3138544ef * script.c (scm_shell): Pass scm_the_root_module () as second arg
to new scm_eval_x.
2000-08-11 08:44:32 +00:00
Mikael Djurfeldt
b486ccc869 * modules.h (SCM_MODULEP, SCM_VALIDATE_MODULE,
SCM_MODULE_OBARRAY, SCM_MODULE_USES, SCM_MODULE_BINDER,
SCM_MODULE_EVAL_CLOSURE): New macros.
(scm_module_index_obarray, scm_module_index_uses,
scm_module_index_binder, scm_module_index_eval_closure): New
constants; #include "validate.h".
2000-08-11 08:44:16 +00:00
Mikael Djurfeldt
e3365c07da * modules.c (scm_module_tag, scm_module_system_booted_p): New
globals.
(scm_post_boot_init_modules): Initialize scm_module_tag.
(scm_interaction_environment): New primitive.
2000-08-11 08:44:02 +00:00
Mikael Djurfeldt
f33b174d0e * load.c (load): Use `scm_selected_module' to compute second arg
to new scm_i_eval_x; Don't call it if module system hasn't booted.
(scm_read_and_eval_x): Deprecated.
#include "modules.h".
2000-08-11 08:43:49 +00:00
Mikael Djurfeldt
238d517c09 * evalext.c (scm_definedp): Have to work before module system is
booted.
2000-08-11 08:43:08 +00:00
Mikael Djurfeldt
37607b5a7b * eval.h: #include "struct.h". 2000-08-11 08:43:00 +00:00
Mikael Djurfeldt
68d8be66ce * eval.c (scm_eval): Backward incompatible change: Now takes an
environment specifier as second arg.  `eval' hereby becomes R5RS
compatible.
(scm_i_eval_x, scm_i_eval): New functions (replace
scm_eval_3).
(scm_eval2, scm_eval_3): Deprecated.
(scm_top_level_lookup_closure_var): Deprecated.
2000-08-11 08:42:50 +00:00
Mikael Djurfeldt
82b3290db7 * debug.c (scm_local_eval): Use scm_i_eval and scm_i_eval_x.
(scm_start_stack): Use scm_i_eval.
2000-08-11 08:42:42 +00:00
Mikael Djurfeldt
1807c7b875 *** empty log message *** 2000-08-11 00:45:33 +00:00
Mikael Djurfeldt
cc6f0237bd * print.c (scm_simple_format): Be case-insensitive for ~A and ~S
directives.
2000-08-11 00:45:25 +00:00
Mikael Djurfeldt
528d8ce991 * Makefile.am (ice9_sources): Added receive.scm, srfi-8.scm. 2000-08-11 00:45:09 +00:00
Mikael Djurfeldt
44484f52b3 * boot-9.scm (scm-style-repl): Print multiple values on successive
lines.
* boot-9.scm (process-define-module): Bugfix: Make sure that
exports are done *after* all used interfaces has been added.
2000-08-11 00:44:49 +00:00
Mikael Djurfeldt
be33b1a39c * receive.scm, srfi-8.scm: New files. 2000-08-11 00:44:36 +00:00
Mikael Djurfeldt
1a2f1b9023 *** empty log message *** 2000-08-09 18:29:48 +00:00
Mikael Djurfeldt
85c2133978 * struct.h (SCM_STRUCT_GC_CHAIN, SCM_SET_STRUCT_GC_CHAIN): New
macros.
(scm_structs_to_free, scm_struct_prehistory): Declare.
2000-08-09 18:29:39 +00:00
Mikael Djurfeldt
08c880a367 * struct.c (scm_make_struct, scm_make_vtable_vtable): Structs
handles are now double cells; Initialize SCM_STRUCT_GC_CHAIN to
0.
(scm_struct_gc_init, scm_free_structs): New GC C hooks.
(scm_struct_prehistory): Install them.
2000-08-09 18:29:31 +00:00
Mikael Djurfeldt
1d49cea8b8 * init.c (scm_boot_guile_1): Call scm_struct_prehistory. 2000-08-09 18:29:21 +00:00
Mikael Djurfeldt
7445e0e8eb * gc.c (scm_gc_mark, scm_gc_sweep): Remove vcell = 1 magic.
(scm_structs_to_free): New variable.
(scm_gc_sweep): Hook up structs to free on the scm_structs_to_free
chain.
2000-08-09 18:29:10 +00:00
Mikael Djurfeldt
163fada3d3 *** empty log message *** 2000-08-07 20:20:24 +00:00
Marius Vollmer
b054684d81 *** empty log message *** 2000-08-06 22:04:35 +00:00
Marius Vollmer
d156d3b730 * read.c (scm_flush_ws): Include filename in error message when it
is not `#f'.
2000-08-06 22:04:11 +00:00
Marius Vollmer
7ca3873434 *** empty log message *** 2000-08-05 14:34:00 +00:00
Marius Vollmer
a26f1191e3 * iselect.c: Include <unistd.h>. Thanks to Bertrand Petit! 2000-08-05 14:33:31 +00:00
Mikael Djurfeldt
29b4f9fb2c *** empty log message *** 2000-08-02 06:48:28 +00:00
Mikael Djurfeldt
89e941f154 *** empty log message *** 2000-08-02 06:35:18 +00:00
Mikael Djurfeldt
04323af4ad * struct.c (scm_make_struct_layout, scm_make_struct,
scm_make_vtable_vtable): Updated documentation.
2000-08-02 06:34:51 +00:00
Mikael Djurfeldt
e478dffa01 *** empty log message *** 2000-08-02 06:11:08 +00:00
Mikael Djurfeldt
b62cc1c27f *** empty log message *** 2000-08-02 06:00:28 +00:00
Mikael Djurfeldt
daba1a710d * print.c (scm_simple_format): Bugfix: Coerce port before using it. 2000-08-02 06:00:09 +00:00
Gary Houston
cdaf0a20af *** empty log message *** 2000-08-01 18:43:54 +00:00
Gary Houston
3bc0c6df34 *** empty log message *** 2000-07-31 21:09:02 +00:00
Gary Houston
a080badb07 2000-07-31 Gary Houston <ghouston@arglist.com>
* net_db.c: declare h_errno only if HAVE_H_ERRNO is defined
	(thanks to Richard Kim for the bug report).
2000-07-31 21:08:30 +00:00
Gary Houston
42aae6335f *** empty log message *** 2000-07-31 21:03:47 +00:00
Gary Houston
08f980a4fa 2000-07-31 Gary Houston <ghouston@arglist.com>
* acconfig.h: added HAVE_H_ERRNO
	* configure.in: removed some dnl'd & obsolete cygwin stuff.
	added a test for h_errno.
2000-07-31 21:02:54 +00:00
Marius Vollmer
3ccd186077 *** empty log message *** 2000-07-30 13:41:01 +00:00
Marius Vollmer
60e61f0a20 * alist.c (scm_assq_remove_x, scm_assv_remove_x,
scm_assoc_remove_x): Use scm_delq1_x instead of scm_delq_x, since
using the latter is pointless.
2000-07-30 13:40:46 +00:00
Neil Jerram
6de50a5278 Fix spelling mistake 2000-07-28 13:19:01 +00:00
Dirk Herrmann
1110299262 * Renamed local variable 'free' to avoid confusion with stdlib's 'free'. 2000-07-26 11:29:58 +00:00
Dirk Herrmann
a75923bb03 * Fix vector initialization. 2000-07-26 09:20:09 +00:00
Dirk Herrmann
f762051048 * Fixed struct initialization. 2000-07-26 08:35:35 +00:00
Mikael Djurfeldt
8e2488ffae *** empty log message *** 2000-07-26 05:08:23 +00:00
Mikael Djurfeldt
5682251bb1 *** empty log message *** 2000-07-25 20:28:35 +00:00
Marius Vollmer
17dd060d12 *** empty log message *** 2000-07-25 19:06:47 +00:00
Marius Vollmer
623ada63ad * alist.c (scm_assq_remove_x, scm_assv_remove_x,
scm_assoc_remove_x): Remove only the first cell with a matching
key, not all.
2000-07-25 19:06:22 +00:00
Marius Vollmer
b73bde31c7 *** empty log message *** 2000-07-23 23:13:01 +00:00
Marius Vollmer
a15e6dcc8f * stime.c (scm_strftime): Recognize a return value of zero from
strftime as buffer overflow and take care to detect a valid zero
length result regardless.  Thanks to David Barts!
2000-07-23 23:12:39 +00:00
Marius Vollmer
23d919087e * common-list.scm (uniq): Made tail-recursive. Thanks to thi! 2000-07-23 23:12:02 +00:00
Marius Vollmer
e85da7d990 *** empty log message *** 2000-07-23 11:50:33 +00:00