Neil Jerram
2a2a730bfa
* Docstring fixes.
2000-08-12 23:15:48 +00:00
Neil Jerram
ee826bae22
Docstring updated so that make-soft-port example is correct.
2000-08-12 22:18:04 +00:00
Neil Jerram
1670bef991
Docstring fix - quote quotation marks and backslashes.
2000-08-12 22:15:55 +00:00
Neil Jerram
f0a7af1a86
Docstring fix for scm_logand.
2000-08-12 22:13:32 +00:00
Neil Jerram
872e0c7291
* macros.c: Remove surplus newlines from end of docstrings.
...
* list.c (scm_list_tail): Add @deffnx line to docstring for
list-cdr-ref.
* keywords.c: Docstring improvements in conjunction with new
reference manual doc on keywords.
* error.c (scm_error_scm): Fix texinfo syntax error in
docstring. (@code(~S) should be @code{~S}.)
* dynl.c: Remove surplus newlines from end of docstrings.
2000-08-11 15:12:37 +00:00
Mikael Djurfeldt
3a33a9b117
*** empty log message ***
2000-08-11 08:46:32 +00:00
Mikael Djurfeldt
26795895e2
Deprecated scm_top_level_lookup_closure_var
2000-08-11 08:45:19 +00:00
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
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
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
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
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
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
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
e85da7d990
*** empty log message ***
2000-07-23 11:50:33 +00:00
Marius Vollmer
5d25385266
* alist.c (scm_assq_remove_x, scm_assv_remove_x,
...
scm_assoc_remove_x): Remove all cells whose key is eq, eqv, or
equal (respectively) to the argument key, not all cells that are
eq, eqv, or equal to the first cell with the argument key. Thanks
to Neil Jerram!
2000-07-23 11:50:05 +00:00
Dirk Herrmann
78a3503e56
* Fixed some type-related errors.
2000-07-18 16:59:35 +00:00
Dirk Herrmann
62850ef3c1
* Don't use return value from SCM_SETCDR or SCM_WHASHSET.
2000-07-18 16:09:09 +00:00
Dirk Herrmann
cc4feeca51
* Deprecated function scm_call_catching_errors.
...
* Updated root-smob initialization.
2000-07-18 07:02:57 +00:00