1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-09 23:40:29 +02:00
Commit graph

2546 commits

Author SHA1 Message Date
Mikael Djurfeldt
a75a7aff74 *** empty log message *** 2000-06-30 16:09:13 +00:00
Mikael Djurfeldt
c76b1eafa3 * numbers.c (scm_gr_p, scm_leq_p, scm_geq_p): Turned into
primitive generics.  (Thanks to Nicolas Neuss.)
2000-06-30 16:08:48 +00:00
Dirk Herrmann
c73879189d * Improved memory error handling.
* Made the behaviour of scm_gc_for_newcell more obvious.
2000-06-30 13:48:28 +00:00
Dirk Herrmann
685c0d7116 * Eliminated use of SCM_ASSERT to check for range errors.
* Fix some error reporting code in list.c
* Added some test cases.
2000-06-30 10:46:35 +00:00
Dirk Herrmann
fdf25853e1 * Fix range checks of SCM_VALIDATE* macros. 2000-06-30 09:48:25 +00:00
Mikael Djurfeldt
627df12801 *** empty log message *** 2000-06-29 23:47:14 +00:00
Mikael Djurfeldt
83d58c8257 * gc.c (scm_gc_for_newcell): Behave gracefully also if scm_igc
doesn't yield any new cells.  In theory this could happen if all
cells allocated with NEWCELL are either in use or conservatively
marked and all cluster spine cells are conservatively marked.
(Thanks to Dirk.)
2000-06-29 23:46:59 +00:00
Dirk Herrmann
2500356c67 * Cleaned up memory error signalling. 2000-06-29 15:54:58 +00:00
Dirk Herrmann
9b166f1273 * Removed some unused identifiers and commented code. 2000-06-29 15:06:31 +00:00
Dirk Herrmann
acf4331fa5 * Use appropriate error signalling functions. 2000-06-29 13:31:33 +00:00
Dirk Herrmann
fc3d77788a * Removed scm_first_type. 2000-06-29 09:13:17 +00:00
Dirk Herrmann
0a7a74453e * Removed unused identifier MIN_GC_YIELD. 2000-06-29 08:27:40 +00:00
Michael Livshin
150c200bdd * gc.c (scm_gc_for_newcell): don't try to do GC if it's blocked,
allocate instead.
2000-06-28 13:17:11 +00:00
Dirk Herrmann
939794ce7f * Cleaned up initialization of asyncs.
* Moved handling of scm_gc_async to gc.c.
* Extracted handling of scheme level after-gc-hook from gc core.
2000-06-28 10:26:52 +00:00
Dirk Herrmann
12acbbef54 * Removed commented code from gc.c.
* Removed unused identifier scm_type_obj_list.
2000-06-28 07:49:25 +00:00
Dirk Herrmann
73ea78af4d * Switch to standard way of smob initialization. 2000-06-27 16:00:01 +00:00
Michael Livshin
7f40b48a9f * guile-doc-snarf.in: use cut instead of sed, that's much much
faster.  also, don't call basename more than needed.  and, to gain
a couple of microseconds more, don't call cat needlessly.  (thanks
to Brad Knotwell).
2000-06-21 15:14:00 +00:00
Dirk Herrmann
3c6d9d717f * Renamed SCM__X tokens to better readable ones that also follow the
SCM_SNARF_ prefix convention.
2000-06-21 08:43:12 +00:00
Mikael Djurfeldt
2b6e0d2b77 *** empty log message *** 2000-06-21 02:47:01 +00:00
Mikael Djurfeldt
7e73eaee6e (SCM_TOP_LEVEL_LOOKUP_CLOSURE): New macro which replaces
SCM_CDR (scm_top_level_lookup_closure_var) everywhere.
2000-06-21 02:46:01 +00:00
Mikael Djurfeldt
51eb747ebf * root.c (mark_root): Removed marking of
s->top_level_lookup_closure_var and s->system_transformer.
2000-06-21 02:45:26 +00:00
Mikael Djurfeldt
de87227851 * root.h (scm_top_level_lookup_closure_var): Removed. (It's no
sense in having the *variable* be a "fluid".)
2000-06-21 02:42:41 +00:00
Mikael Djurfeldt
7f763132bc * modules.c (scm_selected_module): the_module is now a fluid. 2000-06-21 02:42:31 +00:00
Mikael Djurfeldt
a0ea2bf043 * eval.c, eval.h (scm_top_level_lookup_closure_var): Added.
#include "libguile/fluids.h".

* eval.h (SCM_TOP_LEVEL_LOOKUP_CLOSURE): New macro which replaces
SCM_CDR (scm_top_level_lookup_closure_var) everywhere.
2000-06-21 02:42:14 +00:00
Mikael Djurfeldt
549e6ec69d * eval.c, eval.h (scm_top_level_lookup_closure_var): Added.
#include "libguile/fluids.h".
2000-06-21 02:42:03 +00:00
Mikael Djurfeldt
5bc9cbd2d8 *** empty log message *** 2000-06-20 14:58:06 +00:00
Mikael Djurfeldt
076d6063fa * gc.h, tags.h: Be kind to compilers which must see hash signs in
column 0.  (Thanks to Ian Grant.)
2000-06-20 14:57:55 +00:00
Mikael Djurfeldt
9ea8cdcb43 * numbers.h: Put #ifdef HAVE_LONG_LONGS around declarations using
the long_long type.  (Thanks to Bernard Urban.)
2000-06-20 14:57:45 +00:00
Mikael Djurfeldt
f69a01b29c Inserted some comments 2000-06-20 14:55:52 +00:00
Mikael Djurfeldt
b5074b2374 *** empty log message *** 2000-06-20 02:38:36 +00:00
Mikael Djurfeldt
5b99c4a9e7 Layout fix 2000-06-20 02:38:19 +00:00
Mikael Djurfeldt
c72baaaa75 * smob.h: Changed comments for scm_make_smob_type and
scm_make_smob_type_mfpe, warning that the latter might be
deprecated in a future release.
2000-06-20 02:37:53 +00:00
Mikael Djurfeldt
33d0abd7e1 * list.c (scm_cons_star): Updated comment. 2000-06-20 02:37:41 +00:00
Mikael Djurfeldt
aeacfc8fd1 * gc.c, gc.h (scm_default_init_heap_size_1,
scm_default_min_yield_1, scm_default_init_heap_size_2,
scm_default_min_yield_2, scm_default_max_segment_size): New global
variables.  Can be customized by the application before booting
Guile.  (We might want to be able to control these parameters
dynamically through the "options interface" in the future, but
note that that is additional functionality.  Here we're giving
default values which the environment variables can override.)
2000-06-20 02:37:23 +00:00
Mikael Djurfeldt
0a9e521f29 *** empty log message *** 2000-06-19 10:05:54 +00:00
Mikael Djurfeldt
04d894fdb2 * tags.h (SCM_UNPACK_CAR, SCM_NDOUBLE_CELLP): Removed. 2000-06-19 10:05:08 +00:00
Mikael Djurfeldt
c4929149b9 * numbers.h (SCM_NEWREAL, SCM_NEWCOMPLEX): Removed. 2000-06-19 10:04:52 +00:00
Mikael Djurfeldt
26a379b298 * list.[ch] (scm_cons_star/cons*): Renamed from
scm_list_star/list*.

* list.[ch] (scm_list_star/list*):  Provided as a deprecated alias
for scm_cons_star/cons*.
2000-06-19 10:04:31 +00:00
Mikael Djurfeldt
7bd4fbe2de * gc.c (scm_protect_object): Updated comment. 2000-06-19 10:03:57 +00:00
Mikael Djurfeldt
264871aab7 *** empty log message *** 2000-06-19 00:42:48 +00:00
Mikael Djurfeldt
a0adfbf022 * print.c (scm_current_pstate, scm_make_print_state): Simplified
tests, using the assumption that Guile has been initialized.
2000-06-19 00:42:03 +00:00
Mikael Djurfeldt
9293b3c638 * gdbint.c (gdb_print): Print warning instead of calling scm_write
if Guile isn't yet initialized.
2000-06-19 00:41:54 +00:00
Mikael Djurfeldt
bf1b9494f7 * init.c, init.h (scm_initialized_p): Renamed from `initialized'
and made global.
2000-06-19 00:41:33 +00:00
Greg J. Badros
3785f31772 *** empty log message *** 2000-06-18 22:30:25 +00:00
Greg J. Badros
0a284a4e88 * print.c (s_scm_current_pstate): Do not segfault when the
print_state_pool is unitialized in `current-pstate', and better
verify its state before altering it in scm_make_print_state().
2000-06-18 21:47:23 +00:00
Greg J. Badros
e8293eb671 Inserted old Apr. 18th changelog message that was floating in my work
directory.  My apologies for the delay of this commit.
2000-06-18 20:13:42 +00:00
Michael Livshin
6732de1bdf * scmsigs.c (s_scm_sigaction): guard the SIGIOT case with an
#ifdef -- it's missing on at least one platform.  (thanks to
Jan Nieuwenhuizen).
2000-06-18 12:06:01 +00:00
Dirk Herrmann
79494f15d3 * Removed duplicate implementation of list*. 2000-06-16 12:38:41 +00:00
Dirk Herrmann
6a19994066 * The reference count in scm_unprotect_object is always positive. 2000-06-15 08:35:42 +00:00
Mikael Djurfeldt
3243bcc0c7 *** empty log message *** 2000-06-14 22:02:28 +00:00