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

5705 commits

Author SHA1 Message Date
Dirk Herrmann
8b3bda2058 Cleaned up continuation data access. 2000-03-28 17:13:40 +00:00
Dirk Herrmann
3210f49a6f Use SCM_{SET_}?CELL_WORD_[01] to access length and char * fields
of strings and symbols.
2000-03-28 10:16:16 +00:00
Dirk Herrmann
2d67e39007 Use SCM_{SET_}?CELL_TYPE when accessing the type entry of a cell. 2000-03-27 22:43:37 +00:00
Dirk Herrmann
76a369d95d * SCM_C[AD]R and SCM_SETC[AD]R use SCM_{SET_}?OBJECT now.
* Moved SCM_GCCDR from pairs.h to tags.h.
2000-03-27 12:42:16 +00:00
Dirk Herrmann
2549a7096d Moved some cell related definitions from tags.h and pairs.h to gc.h. 2000-03-26 10:08:52 +00:00
Dirk Herrmann
8d3356e761 * Allow to activate strict compile time type checking by defining
the macro SCM_STRICT_TYPING.
* Defined SCM_EQ_P as a macro equivalent for eq?.
2000-03-25 08:26:38 +00:00
Dirk Herrmann
96f6f4aebf Removed use of SCM_POINTERS_MUNGED. 2000-03-25 07:56:53 +00:00
Dirk Herrmann
0cbaaf0b15 Added a set of low level macros for accessing cell entries. 2000-03-24 08:55:14 +00:00
Dirk Herrmann
d87d36506d Added a first attempt for a description of the low level API. 2000-03-24 00:16:26 +00:00
Jim Blandy
33cd325ffb *** empty log message *** 2000-03-23 23:47:04 +00:00
Mikael Djurfeldt
2f9055eac4 *** empty log message *** 2000-03-23 13:06:50 +00:00
Mikael Djurfeldt
d3952a0527 * continuations.c (scm_make_cont): Removed cast of size_t into
long.
2000-03-23 13:06:36 +00:00
Mikael Djurfeldt
7284d58470 *** empty log message *** 2000-03-23 13:04:50 +00:00
Mikael Djurfeldt
b191741530 * tags.h: Disabled definition of SCM_VOIDP_TEST. 2000-03-23 13:04:42 +00:00
Mikael Djurfeldt
61abe7cf63 * symbols.h (SCM_SETCHARS): Cast second arg into SCM. 2000-03-23 13:04:35 +00:00
Mikael Djurfeldt
c67baafdd1 * gc.c (scm_mark_locations): Changed * (SCM **) X --> * (SCM *) X
in order to obtain a value of type SCM.
(scm_cellp): Updated with new changes to scm_mark_locations.
2000-03-23 13:04:27 +00:00
Mikael Djurfeldt
50c65018d3 * continuations.h (SCM_SETJMPBUF): Cast second arg into SCM. 2000-03-23 13:04:19 +00:00
Jim Blandy
b159fc3cc4 More tweaks. 2000-03-22 21:24:31 +00:00
Jim Blandy
70b83fe223 Add some test suite philosophy. 2000-03-22 21:22:39 +00:00
Jim Blandy
05c4ba0055 * lib.scm: Doc fixes. 2000-03-22 21:18:57 +00:00
Dirk Herrmann
f81e080b24 Fixed some bugs that are due to the fact that SCM is a void* now.
Cleaned up a macro definition.  Thanks to Dale P. Smith for both of
these patches.
2000-03-22 20:48:18 +00:00
Dirk Herrmann
1ff2fa6e1a Don't use SCM2PTR for non scheme values. 2000-03-22 10:27:36 +00:00
Mikael Djurfeldt
6f29dc6d2f *** empty log message *** 2000-03-22 02:12:58 +00:00
Mikael Djurfeldt
8f9da2f9e9 * tags.h (SCM_ECONSP, SCM_NECONSP): More corrections of
pointer-arithmetic induced by the SCM_PACK/UNPACK change.
2000-03-22 02:12:47 +00:00
Mikael Djurfeldt
998308d305 * print.c (scm_iprin1): SCM_PACK/UNPACK corrections. 2000-03-22 02:12:35 +00:00
Mikael Djurfeldt
890b019c74 * gc.c (scm_gc_sweep): SCM_PACK/UNPACK corrections. 2000-03-22 02:12:24 +00:00
Mikael Djurfeldt
a963f78704 * eval.c (SCM_CEVAL, scm_unmemocar): SCM_PACK/UNPACK corrections. 2000-03-22 02:12:13 +00:00
Mikael Djurfeldt
15237f3002 * dynwind.c (scm_swap_bindings): Ditto. 2000-03-22 02:09:10 +00:00
Mikael Djurfeldt
9c6599f96b Code layout 2000-03-22 00:21:56 +00:00
Mikael Djurfeldt
8d924bfebc *** empty log message *** 2000-03-21 23:39:00 +00:00
Mikael Djurfeldt
6587a96693 Oops 2000-03-21 23:36:28 +00:00
Mikael Djurfeldt
3920465b9c *** empty log message *** 2000-03-21 23:14:43 +00:00
Mikael Djurfeldt
9f0e55a65b * async.c, __scm.h: Removed lots of the old async click logic. It
is possible to reinsert it by defining GUILE_OLD_ASYNC_CLICK in
__scm.h.  Let's try this out and dump the old code after the
threads reorganization.
(set-tick-rate, set-switch-rate): Conditionally removed.
2000-03-21 23:14:31 +00:00
Mikael Djurfeldt
90cca6f9aa *** empty log message *** 2000-03-21 20:33:33 +00:00
Mikael Djurfeldt
77490b49ab * gc.c (scm_gc_mark): Bugfix 1: The recent SCM_PACK/UNPACK change
made SCM values into pointers.  This turned an arithmetic
computation of the address of the vcell into a pointer-arithmetic
one, thereby screwing up marking of structs.
Bugfix 2: Removed incompletely introduced loop variable `j' used
when protecting the tail array of a struct.
2000-03-21 20:33:18 +00:00
Dirk Herrmann
8246bf3eba Don't cast SCM values to pointers. 2000-03-21 16:44:18 +00:00
Dirk Herrmann
95c9e176a6 Make scm_strhash's string parameter constant. 2000-03-21 15:49:53 +00:00
Dirk Herrmann
7352d0b203 Fix: Don't cast SCM values to pointer. Use SCM2PTR instead. 2000-03-21 11:14:24 +00:00
Dirk Herrmann
b00c8cdc68 Fixed entry date. 2000-03-21 10:58:36 +00:00
Dirk Herrmann
9b139b4e2b Fix: Don't unpack results of SCM_INUM. 2000-03-21 10:04:07 +00:00
Mikael Djurfeldt
bd54e664ae *** empty log message *** 2000-03-21 03:58:05 +00:00
Mikael Djurfeldt
8fef55a81c * gc.c, gc.h (SCM_MIN_YIELD_1, SCM_MIN_YIELD_2,
min_yield_fraction, min_yield, adjust_min_yield): Renamed from
SCM_GC_TRIGGER_1, SCM_GC_TRIGGER_2, gc_trigger_fraction,
gc_trigger, adjust_gc_trigger.

* gc.c (SCM_INIT_HEAP_SIZE_1, SCM_GC_TRIGGER_1, SCM_GC_TRIGGER_2):
Adjusted to 45000 cells, 40% and 40%.  Gives quick startup
without extra heap allocation.
2000-03-21 03:57:53 +00:00
Mikael Djurfeldt
70a95005c0 * init.c (scm_boot_guile_1): Renamed GUILE_GC_TRIGGER_1 -->
GUILE_MIN_YIELD_1, GUILE_GC_TRIGGER_2 --> GUILE_MIN_YIELD_2.
2000-03-21 03:56:07 +00:00
Mikael Djurfeldt
df2d517825 *** empty log message *** 2000-03-21 02:38:12 +00:00
Mikael Djurfeldt
1811ebcee5 * gc.c (alloc_some_heap): Further improvement of minimal heap size
prediction.
(SCM_MAX): New macro.
(scm_freelist_t): New field: collected_1. Previous amount of
collected cells.
(gc_sweep_freelist_finish): Trigger based on two last values of
freelist->collected to avoid unnecessary allocation due to
temporary peaks.
2000-03-21 02:37:59 +00:00
Mikael Djurfeldt
3afe99cc79 *** empty log message *** 2000-03-21 01:41:42 +00:00
Mikael Djurfeldt
fa782d159e * policy/names.text: New file. 2000-03-21 01:41:26 +00:00
Mikael Djurfeldt
55a85c7817 *** empty log message *** 2000-03-21 01:22:15 +00:00
Dirk Herrmann
f2961ccd8f A couple of typing problems (at leat partially) resolved. 2000-03-20 18:14:07 +00:00
Mikael Djurfeldt
f1083dd7d7 *** empty log message *** 2000-03-20 15:05:46 +00:00