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

5705 commits

Author SHA1 Message Date
Mikael Djurfeldt
a86869dc59 * oldprint.scm (print-table-add!): Ditto. 2000-09-12 05:45:48 +00:00
Mikael Djurfeldt
b68c1eed74 * calling.scm (excursion-function-syntax,
getter-and-setter-syntax,
delegating-getter-and-setter-syntax): Call gensym with string
argument.  (Thanks to Dale P. Smith.)
2000-09-12 05:45:37 +00:00
Mikael Djurfeldt
484cd65682 * boot-9.scm (gentemp): Moved to symbols.c. 2000-09-12 05:45:26 +00:00
Mikael Djurfeldt
302f229e58 *** empty log message *** 2000-09-12 05:44:34 +00:00
Mikael Djurfeldt
5382d876c8 * symbols.h (scm_gentemp): Declared. 2000-09-12 05:44:12 +00:00
Mikael Djurfeldt
e1313058e1 * symbols.c (scm_gensym): Reimplemented. Now only takes one
optional argument which should be a *string*.
(scm_gentemp): Reimplemented and moved from boot-9.scm.
2000-09-12 05:44:00 +00:00
Keisuke Nishida
5bcdfa2ea8 *** empty log message *** 2000-09-10 22:22:48 +00:00
Keisuke Nishida
fb43bf74e2 * modules.c: Use applicable smobs for eval closures instead of
compiled closures.  Include "libguile/smob.h".
(f_eval_closure): Removed.
(scm_eval_closure_tag): New variable.
(scm_eval_closure_lookup): Renamed from eval_closure.
This function now takes a smob instead of a compiled closure.
(scm_standard_eval_closure): Create a smob instead of a compiled
closure.
(scm_init_modules): Initialize the eval closure type as a smob.
* modules.h (SCM_EVAL_CLOSURE_P): New macro.
(scm_eval_closure_tag, scm_eval_closure_lookup): Declare.
* symbols.c: Include "libguile/smob.h".
(scm_sym2vcell): Call scm_eval_closure_lookup directly if THUNK
is an eval closure.
2000-09-10 22:22:36 +00:00
Mikael Djurfeldt
4c7cb8ba94 *** empty log message *** 2000-09-10 20:22:09 +00:00
Mikael Djurfeldt
44ab817097 * Makefile.am (.x.doc): Bugfix: Added $(srcdir) to path in order
to allow for builds in separate tree.
2000-09-10 20:21:42 +00:00
Mikael Djurfeldt
370646da5b *** empty log message *** 2000-09-10 19:11:28 +00:00
Mikael Djurfeldt
c64d02c59a * symbols.c (scm_gensym): Bugfixed my previous bugfix. (Thanks to
Dale P. Smith.)
2000-09-10 19:10:10 +00:00
Keisuke Nishida
3cbe8373d3 *** empty log message *** 2000-09-10 13:41:31 +00:00
Keisuke Nishida
afa38f6e60 * eval.c (SCM_APPLY): Fixed bugs in the applicable-smob calls. 2000-09-10 13:41:18 +00:00
Dirk Herrmann
a2d47b23b2 * Fix hash value handling.
* Documentation improvements.
* Cleanups and optimizations.
2000-09-07 09:19:22 +00:00
Mikael Djurfeldt
a2550d0e3a *** empty log message *** 2000-09-06 14:46:13 +00:00
Mikael Djurfeldt
d70d2c1e76 2000-09-05 Mikael Djurfeldt <mdj@linnaeus.mit.edu>
* symbols.c (scm_gensym): Check that argument is a symbol, not a
	string.  (Thanks to rm@mamma.varadinet.de.)
2000-09-06 14:45:59 +00:00
Marius Vollmer
f0cb87877e *** empty log message *** 2000-09-05 18:40:19 +00:00
Marius Vollmer
0e1d5b0a2a * gh_data.c (gh_scm2char): Validate that argument is a character. 2000-09-05 18:39:54 +00:00
Marius Vollmer
b4255788b5 * init.c: Include "libguile/properties.h". 2000-09-05 18:39:09 +00:00
Dirk Herrmann
034b924f39 * Improved and enhanced the environment test suite. 2000-09-05 10:49:10 +00:00
Dirk Herrmann
4c199a262b * Fixed two bugs with environment type predicates. 2000-09-05 10:43:53 +00:00
Mikael Djurfeldt
9e9e264f9a *** empty log message *** 2000-09-03 22:01:44 +00:00
Mikael Djurfeldt
ee1a1c2066 * validate.h (SCM_VALIDATE_NUMBER_DEF_COPY): New macro. 2000-09-03 21:56:03 +00:00
Marius Vollmer
17f367e095 *** empty log message *** 2000-09-03 20:47:21 +00:00
Marius Vollmer
468fbf58ab *** empty log message *** 2000-09-03 20:31:35 +00:00
Marius Vollmer
d6580119f8 * throw.c (scm_ithrow): Perform catch-all handling here when no
suitable handler has been found.  That way, we don't have to rely
on the user establishing a catch-all, which might be difficult for
him if he is using scm_init_guile instead of scm_boot_guile.
2000-09-03 20:31:10 +00:00
Marius Vollmer
9500b5b950 New file. 2000-09-03 20:27:17 +00:00
Marius Vollmer
cadee6cf34 * root.h (scm_properties_whash): New `sys_protect', used in
properties.c.
2000-09-03 20:26:11 +00:00
Marius Vollmer
718eb1762b New files. 2000-09-03 20:25:19 +00:00
Marius Vollmer
8a443f663a * init.h (scm_init_guile): New prototype. 2000-09-03 20:24:18 +00:00
Marius Vollmer
7ad3a9782e * init.c (scm_init_guile, scm_init_guile_1): New interface for
initializing Guile that does return to the caller.
(scm_boot_guile_1): Use scm_init_guile_1 to initialize Guile.
Do not establish a catch-all, this is no longer needed.
2000-09-03 20:23:55 +00:00
Marius Vollmer
faf6a29b1f * Makefile.am (.x.doc): Pretend to create .doc files from .x files
and give explicit dependencies for .x files that depend on
generated files.  This allows parallel builds.  Thanks to Matthias
Koeppe!
* Makefile.am: Added gc_os_dep.c, properties.c, properties.x,
properties.h and properties.doc in the suitable places.
2000-09-03 20:22:41 +00:00
Marius Vollmer
8c142820ea *** empty log message *** 2000-09-03 20:20:58 +00:00
Marius Vollmer
2d55a919c3 * boot-9.scm (make-object-property): New function. 2000-09-03 20:20:19 +00:00
Marius Vollmer
db36bd509b Add note about "#&". 2000-09-03 20:18:58 +00:00
Neil Jerram
11768c044a * Docstring updates. 2000-09-02 23:23:16 +00:00
Neil Jerram
09831f943c * Docstring fixes. 2000-09-02 23:20:40 +00:00
Neil Jerram
6386e25c29 * Docstring updates for scm_make_struct and scm_make_vtable_vtable. 2000-09-02 23:17:23 +00:00
Neil Jerram
ae42688c46 * Docstring updates for scm_symbol_to_string. 2000-09-02 23:16:00 +00:00
Neil Jerram
ec57ce2eca * Docstring updates for scm_uniform_vector_ref and scm_array_set_x. 2000-09-02 23:15:04 +00:00
Neil Jerram
31daeb2db8 * Docstring update for scm_vector. 2000-09-02 23:13:33 +00:00
Michael Livshin
eacb9dc265 *** empty log message *** 2000-09-02 21:54:13 +00:00
Michael Livshin
98185197b1 * tags.h (scm_tc16_allocated): removed. 2000-09-02 21:53:38 +00:00
Michael Livshin
228c97488a * smob.c (scm_smob_prehistory): don't init the "allocated" smob
type.
2000-09-02 21:53:20 +00:00
Michael Livshin
3c8018e61e * gc.h: removed now-obsolete comments about the `allocated' cell
state.
(SCM_NEWCELL): don't change cell type to `allocated'.
(SCM_NEWCELL2): ditto.
2000-09-02 21:53:02 +00:00
Michael Livshin
3731149d83 * gc.c (scm_mark_locations): mark freecells too, and don't worry
about any possible false positives.
(scm_debug_newcell): don't change cell type to `allocated'.
(scm_debug_newcell2): ditto.
(scm_gc_for_newcell): ditto.
(scm_gc_mark): remove the tc16_allocated case.
2000-09-02 21:52:35 +00:00
Mikael Djurfeldt
adf9e9592d *** empty log message *** 2000-08-27 03:34:38 +00:00
Mikael Djurfeldt
51a4264b15 * gdbint.c (gdb_print): Removed superfluous macro definition. 2000-08-27 03:34:27 +00:00
Mikael Djurfeldt
0745d3872f *** empty log message *** 2000-08-27 03:21:35 +00:00