Gary Houston
7f5fa419d3
*** empty log message ***
2000-05-01 22:13:26 +00:00
Gary Houston
c689e28dd4
* Makefile.am: remove include_HEADERS (was libguile.h)
...
libguile.h: moved to top level directory.
2000-05-01 22:07:25 +00:00
Dirk Herrmann
09fb759974
Some dispatch sequence reordering fixes of comparisons of SCM values with
...
integer constants.
2000-04-28 17:14:49 +00:00
Dirk Herrmann
89a7e495bc
* removed code enclosed within #ifdef BADIVSGNS ... #endif.
...
* scm_quotient: Fixed parameter number in error message.
* scm_remainder: Reordered dispatch sequence.
2000-04-28 08:35:28 +00:00
Gary Houston
e171f90f24
*** empty log message ***
2000-04-26 19:25:10 +00:00
Gary Houston
a4fbabb328
*** empty log message ***
2000-04-25 22:08:55 +00:00
Gary Houston
6bcd01fccc
* posix.c (scm_execlp): docstring fix (thanks to Martin
...
Grabmueller).
2000-04-25 22:08:26 +00:00
Dirk Herrmann
09e4d06400
Made undef_object into a local static variable.
2000-04-25 12:06:51 +00:00
Dirk Herrmann
e59bb51662
* Remove function scm_init_iprocs, remove struct scm_iproc and simplify
...
initialization of c[ad]+r functions.
* Remove structs scm_subr and scm_dsubr and access the function cell words
directly instead of casting a cell to a C struct.
2000-04-25 09:45:16 +00:00
Mikael Djurfeldt
820920e6a3
*** empty log message ***
2000-04-21 23:15:27 +00:00
Mikael Djurfeldt
56a68067d4
* weaks.h (scm_weak_vectors, scm_weaks_prehistory): Added
...
declarations.
2000-04-21 23:14:19 +00:00
Mikael Djurfeldt
d662820a70
* weaks.c (scm_weaks_prehistory): New function: Add
...
scm_weak_vector_gc_init to scm_before_mark_c_hook; Add
scm_mark_weak_vector_spines to scm_before_sweep_c_hook.
(scm_scan_weak_vectors): New function; added to
scm_after_sweep_c_hook.
2000-04-21 23:14:06 +00:00
Mikael Djurfeldt
2b9c869029
* init.c (scm_boot_guile_1): Added `scm_init_hooks'.
2000-04-21 23:13:44 +00:00
Mikael Djurfeldt
abd95148aa
* hooks.c, hooks.h (scm_make_hook_with_name): Removed deprecated
...
function.
* hooks.c, hooks.h: New files.
2000-04-21 23:13:26 +00:00
Mikael Djurfeldt
534ca1ffd8
* guardians.h (scm_guardian_gc_init, scm_guardian_zombify): Are
...
now static.
2000-04-21 23:12:23 +00:00
Mikael Djurfeldt
5d2565a7e7
* guardians.c (scm_guardian_gc_init): Turned into a hook function
...
and added to scm_before_mark_c_hook.
(scm_guardian_zombify): Turned into a hook function and added to
scm_before_sweep_c_hook.
2000-04-21 23:12:09 +00:00
Mikael Djurfeldt
9b3e180c0d
* gc.h: Added #include "libguile/hooks.h".
2000-04-21 23:11:51 +00:00
Mikael Djurfeldt
801cb5e7ce
* gc.c: Removed #include "libguile/guardians.h".
...
(scm_before_gc_c_hook, scm_before_mark_c_hook,
scm_before_sweep_c_hook, scm_after_sweep_c_hook,
scm_after_gc_c_hook): New C level hooks.
(scm_after_gc_hook): New Scheme level hook.
(scm_gc_sweep): Moved scanning of weak vectors to weaks.c.
(scm_igc): Moved initialization of scm_weak_vectors and the call
to scm_guardian_gc_init to respective module.
(scm_mark_weak_vector_spines): Moved to weaks.c;
Call to scm_guardian_zombify moved to guardians.c;
Run scm_before_gc_c_hook, scm_before_sweep_c_hook,
scm_after_gc_c_hook at appropriate places.
(scm_init_gc): Initialize scm_after_gc_hook.
2000-04-21 23:11:29 +00:00
Mikael Djurfeldt
87694b930c
* feature.c, feature.h: Broke out hook code into separate files.
2000-04-21 23:11:05 +00:00
Mikael Djurfeldt
7157d7a90a
* async.c (scm_sys_gc_async_thunk): Run after-gc-hook.
...
Added #include "libguile/gc.h".
2000-04-21 23:10:37 +00:00
Mikael Djurfeldt
fc557f60ba
* Makefile.am: Added hooks.c, hooks.h, hooks.x.
2000-04-21 23:10:24 +00:00
Mikael Djurfeldt
0e850825e7
Fixes
2000-04-21 15:57:22 +00:00
Mikael Djurfeldt
a059974535
* Makefile.am (DEFS): Added. automake adds -I options to DEFS,
...
and we don't want that.
(INCLUDES): Removed all -I options except for the root source
directory and the root build directory.
* *.*: Change includes so that they always use the "prefixes"
libguile/, qt/, guile-readline/, or libltdl/.
(Thanks to Tim Mooney.)
2000-04-21 14:16:44 +00:00
Mikael Djurfeldt
f4b0c56850
*** empty log message ***
2000-04-21 11:36:09 +00:00
Mikael Djurfeldt
a1a33b0f99
* numbers.c (scm_odd_p, scm_even_p): Use SCM_WRONG_TYPE_ARG
...
instead of SCM_ASSERT (0, ...). (Some compilers will complain
about control reaching end of function otherwise, and, besides,
the new code is not less clear.)
2000-04-21 11:35:39 +00:00
Mikael Djurfeldt
9764c29b8c
*** empty log message ***
2000-04-21 00:27:52 +00:00
Mikael Djurfeldt
6b815f1a10
* init.c (scm_boot_guile_1): Added calls to debug-malloc init
...
functions.
2000-04-21 00:27:27 +00:00
Mikael Djurfeldt
f132213935
* debug-malloc.c, debug-malloc.h: New files.
2000-04-21 00:27:14 +00:00
Mikael Djurfeldt
bc9d9bb216
* gc.c (scm_must_malloc, scm_must_realloc, scm_must_free): Added
...
calls to malloc debugging functions.
2000-04-21 00:26:35 +00:00
Mikael Djurfeldt
d24e234450
* Makefile.am: Added debug-malloc.c, debug-malloc.h,
...
debug-malloc.x.
2000-04-21 00:26:13 +00:00
Dirk Herrmann
4219f20d15
Added documentation strings and reordered some dispatch sequences.
2000-04-20 15:51:09 +00:00
Dirk Herrmann
195e620170
Some cleanups with regard to the use of SCM2PTR and casts to SCM_CELLPTR.
2000-04-19 16:47:11 +00:00
Dirk Herrmann
9e882eeca8
Again, SCM/scm_bits_t mixup fixes.
2000-04-19 11:32:05 +00:00
Dirk Herrmann
3201d76356
* Another couple of SCM/scm_bits_t cleanups.
...
* eval.c: replaced undef_cell by undef_object.
* eval.c: made some struct vcell accesses explicit.
2000-04-19 09:37:48 +00:00
Mikael Djurfeldt
f7c38587a9
*** empty log message ***
2000-04-19 03:31:02 +00:00
Mikael Djurfeldt
cfe66b7276
* struct.c (scm_struct_free_light, scm_struct_free_standard,
...
scm_struct_free_entity): Use `scm_must_free' instead of `free'.
2000-04-19 03:28:21 +00:00
Mikael Djurfeldt
495ffc6ec5
* numbers.c (scm_adjbig): Tell scm_must_realloc "what" instead of "who".
2000-04-19 03:26:13 +00:00
Mikael Djurfeldt
221c64975f
* procs.c (scm_make_subr_opt): Tell scm_must_realloc that we're
...
realloc:ing scm_subr_table ("what" instead of "who").
2000-04-19 03:25:22 +00:00
Dirk Herrmann
baa702c81f
Fixed a stupid bug introduced with the last patch. Sorry.
2000-04-18 15:49:34 +00:00
Greg J. Badros
120d4924ed
* validate.h: Do not cast to (unsigned) in SCM_VALIDATE_INUM_RANGE
...
when testing high-end of the range. Mikael Djurfeldt noticed this
anomaly -- thanks Mikael!
2000-04-18 15:23:11 +00:00
Dirk Herrmann
fee7ef83a3
Fixed some SCM/scm_bits_t mixups.
2000-04-18 14:12:07 +00:00
Mikael Djurfeldt
9d0633a8a6
*** empty log message ***
2000-04-18 11:30:35 +00:00
Mikael Djurfeldt
1dafc56acd
* script.c (scm_compile_shell_switches): Also enable
...
record-positions when given the --debug option. (Thanks to Diego
Dainese.)
2000-04-18 11:30:00 +00:00
Dirk Herrmann
230d095fc5
Fixed some SCM/scm_bits_t mixups and initialization problems.
2000-04-18 07:24:24 +00:00
Dirk Herrmann
c8045e8dbd
* struct.c, struct.h: Struct data regions (and thus also vtable data regions)
...
are now C arrays of scm_bits_t elements.
* gc.c: Made the mixup of glocs and structs explicit.
2000-04-17 16:25:11 +00:00
Dirk Herrmann
b0c545678a
* eval.c (scm_unmemocar): Use macros to test for gloc cell.
...
* eval.h (SCM_IFRAME, SCM_IDIST), weaks.h (SCM_IS_WHVEC_ANY): Added missing
call to SCM_UNPACK.
2000-04-17 15:05:20 +00:00
Mikael Djurfeldt
2891588bee
Renamed SCM_VALIDATE_REAL_COPY --> SCM_VALIDATE_REAL_NUMBER.
2000-04-17 03:17:02 +00:00
Mikael Djurfeldt
7aac9824fd
*** empty log message ***
2000-04-17 02:55:28 +00:00
Mikael Djurfeldt
1a94d96127
* validate.h (SCM_VALIDATE_INUM_RANGE_COPY,
...
SCM_VALIDATE_REAL_COPY): New macros.
2000-04-17 02:55:00 +00:00
Mikael Djurfeldt
b9c90f11b9
*** empty log message ***
2000-04-16 23:02:04 +00:00