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

4128 commits

Author SHA1 Message Date
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
Mikael Djurfeldt
7c31152f99 * struct.c (scm_make_struct_layout): Removed reference to
"read-only string" in comment; Check that argument is a string.
(scm_make_vtable_vtable): Check that argument is a string.
2000-08-27 03:21:16 +00:00
Mikael Djurfeldt
b299f5cd5b * stacks.c (scm_init_stacks): Pass a string, not a layout object,
to scm_make_vtable_vtable.  (Thanks to Dale P. Smith.)
2000-08-27 03:21:03 +00:00
Mikael Djurfeldt
3ce4544cfa * objects.c (scm_init_objects), print.c (scm_init_print), struct.c
(scm_init_struct): First arg to scm_make_vtable_vtable should be a
string, not a symbol.  (`make-vtable-vtable' needs to append this
string to another string and then pass it through
`make-struct-layout'.)
2000-08-27 03:20:55 +00:00
Mikael Djurfeldt
06f0414c85 * boot-9.scm (make-record-type): Use `string-append' instead of
`symbol-append'.
(symbol-append): Map `symbol->string' on
args.
(obarray-symbol-append, obarray-gensym): Simply removed.  I don't
think I'll announce this in NEWS even.  One of the functions never
even worked...  /mdj.
(find-and-link-dynamic-module, keyword->symbol): Use
`symbol->string'.
(try-module-autoload, process-define-module): Rewrote using R5RS
semantics.
2000-08-27 03:20:19 +00:00
Mikael Djurfeldt
69b5f65aaa *** empty log message *** 2000-08-26 20:57:57 +00:00
Mikael Djurfeldt
e53cc81710 * strings.c (scm_make_shared_substring, scm_read_only_string_p):
Deprecated.
(scm_string_length, scm_string_ref, scm_substring,
scm_string_append): Don't accept symbols as arguments (R5RS).
2000-08-26 20:56:48 +00:00
Mikael Djurfeldt
29a34ff64a Added comment about possible optimization 2000-08-26 20:56:36 +00:00
Mikael Djurfeldt
480a873ce1 * environments.c (scm_init_environments): All internal includes in
libguile must use the prefix "libguile/" in path names since inly
the top-level source directory is on the include list.  (That, in
turn, is because we want to distinguish between system header
files and hedares files internal to libguile.)
2000-08-26 20:55:49 +00:00
Mikael Djurfeldt
9b5477f6f6 * strings/sharedstr.text (sharedstr.text): New file. 2000-08-26 20:55:21 +00:00
Neil Jerram
92ccc1f1f3 * Docstring fixes. 2000-08-25 17:33:01 +00:00
Dirk Herrmann
5d3e2388f3 * Added Jost Boekemeier's implementation of environments to guile.
* Added a test suite for (up to now only) leaf environments.
2000-08-25 17:01:32 +00:00
Mikael Djurfeldt
167d89cff9 *** empty log message *** 2000-08-25 04:09:45 +00:00
Mikael Djurfeldt
28819f62b5 *** empty log message *** 2000-08-25 04:09:08 +00:00
Mikael Djurfeldt
5540e847f4 * procprop.c: #include "libguile/smob.h"; Check applicable smobs. 2000-08-25 04:08:50 +00:00
Keisuke Nishida
14fb1c83d6 *** empty log message *** 2000-08-25 02:26:47 +00:00
Keisuke Nishida
0717dfd871 * smob.h (scm_smob_descriptor): Added apply\' and gsubr_type\'.
* smob.c (scm_make_smob_type): Initialize `apply\' and `gsubr_type\'.
(scm_set_smob_apply): New function.
(scm_smob_apply_0, scm_smob_apply_1, scm_smob_apply_2,
scm_smob_apply_3): New functions.
* eval.c (SCM_CEVAL, SCM_APPLY): Added dispatch for applicable smobs.
* procs.c (s_scm_procedure_p): Check applicable smobs.
2000-08-25 02:26:22 +00:00
Mikael Djurfeldt
665fc4e600 *** empty log message *** 2000-08-24 00:27:22 +00:00
Mikael Djurfeldt
5b03c15cbf * Makefile.am (BUILT_SOURCES): Experimentally added scmconfig.h
also here.  (This is supposed to make sure that scmconfig.h is
built before all sources in order to prevent that everything has
to be rebuilt again.  Hope it works---I'm just guessing. :)
2000-08-24 00:27:08 +00:00
Mikael Djurfeldt
86f9f9ae85 * fluids.c (scm_fluid_set_x): Return SCM_UNSPECIFIED. 2000-08-24 00:23:19 +00:00
Mikael Djurfeldt
2822e61232 Regenerated 2000-08-24 00:16:56 +00:00
Mikael Djurfeldt
9f174131de *** empty log message *** 2000-08-24 00:16:36 +00:00
Mikael Djurfeldt
fde75b7c8e * psyntax.ss (set!): Added generalized set! support to core syntax
form set!.
2000-08-24 00:16:17 +00:00
Mikael Djurfeldt
38525772e4 *** empty log message *** 2000-08-23 18:22:19 +00:00
Mikael Djurfeldt
641d17a83a * gc.c (scm_gc_mark): Don't use GUILE_DEBUG flag to compile in
extra tests.  (GUILE_DEBUG is only supposed to make extra
debugging functions available.)
2000-08-23 18:22:07 +00:00
Michael Livshin
ca55e62c8e *** empty log message *** 2000-08-21 10:07:13 +00:00
Michael Livshin
f91f77e64e * gc.h (SCM_GC_CARD_N_CELLS): change to be a nice non-confusing
constant.
2000-08-21 10:06:45 +00:00
Dirk Herrmann
6ad9007abf * lib.scm (pass-if, expect-fail): Generalized.
* * tests/eval.test:  Fixed documentation test.
2000-08-21 08:57:11 +00:00