Dirk Herrmann
e828cb75d4
* Scheme cells now consist of scm_bits_t values instead of SCM values.
...
* Use SCM_SETC[AD]R to modify contents of pairs.
2000-05-10 14:04:48 +00:00
Dirk Herrmann
5986c47d3a
* Added FIXME comment about the problems with infinite numbers.
...
* abs/magnitude: Made independent of each other.
* Avoid using REALPART for real objects.
2000-05-10 13:42:23 +00:00
Dirk Herrmann
eb42e2f03a
More distinguished handling of real and complex values.
2000-05-10 12:34:43 +00:00
Dirk Herrmann
7235ee58f5
IS_INF: Undid last change.
2000-05-10 09:25:11 +00:00
Dirk Herrmann
bb62879452
* Added comments.
...
* Removed static function add1.
2000-05-09 16:55:54 +00:00
Dirk Herrmann
98cb6e75f5
* Fixed IS_INF.
...
* Reordered some dispatch sequences.
2000-05-09 12:58:53 +00:00
Marius Vollmer
c45c2b6b3e
*** empty log message ***
2000-05-08 22:50:01 +00:00
Marius Vollmer
a343eca9fc
* scmsigs.c (take_signal): Execute SCM_ASYNC_TICK for SIGSEGV,
...
SIGILL and SIGBUS signals. These signals are not continuable and
must be handled for real right away.
2000-05-08 22:49:44 +00:00
Dirk Herrmann
c2ff8ab0f3
Reordered some dispatch sequences.
2000-05-08 19:34:20 +00:00
Dirk Herrmann
1a45015332
Avoid pointer trickery with SCM values.
2000-05-08 12:29:12 +00:00
Dirk Herrmann
665aeda3e5
Use SCM{_SET}?_CELL_OBJECT if a cell is not known to be a valid pair yet.
2000-05-08 11:53:01 +00:00
Dirk Herrmann
ab66ae47f2
* eval.c: Removed ASRTSYNTAX macro. Removed function 'bodycheck'.
...
* stacks.c: Removed unused calculations, minimized variable scopes.
2000-05-08 09:57:29 +00:00
Dirk Herrmann
4983cbe405
* Use SCM{_SET}?_CELL_OBJECT to access cells that are no valid pairs yet.
...
* Eliminated redundant SCM_IMP test.
2000-05-05 16:19:30 +00:00
Dirk Herrmann
44d3cb0d1b
* eval.c: Eliminated redundant SCM_IMP tests.
...
* hashtab.c, weaks.c: Fixed critical sections. Thanks to Keisuke Nishida.
2000-05-05 11:10:57 +00:00
Dirk Herrmann
9a00c9fc85
Fixed some goto-related initialization bugs.
2000-05-05 01:30:31 +00:00
Marius Vollmer
7eea529607
Fixed typo.
2000-05-04 18:43:23 +00:00
Dirk Herrmann
b82c6ce052
Avoid modifications of cells via pointers. Use SCM_SET_CELL... instead.
2000-05-04 08:07:18 +00:00
Marius Vollmer
106428b3fe
*** empty log message ***
2000-05-03 22:41:23 +00:00
Marius Vollmer
0f781bf67d
* scmsigs.c (orig_handlers) [HAVE_SIGACTION]: Fix declaration to
...
be an array of function pointers instead of being a pointer to an
array returning function. Thanks to Kalle Olavi Niemitalo!
2000-05-03 22:40:21 +00:00
Dirk Herrmann
f4c627b33b
* scm_divbigbig and scm_divbigint are static now
...
and only return valid SCM values.
* Reordered some further dispatch sequences.
* Division by zero of inums leads to an error now.
2000-05-03 12:35:56 +00:00
Gary Houston
3a6e66166a
*** empty log message ***
2000-05-02 20:46:48 +00:00
Gary Houston
fc7c27fdce
* Makefile.am (INCLUDES): add ${INCLTDL} (thanks to Tim Mooney).
2000-05-02 20:46:11 +00:00
Dirk Herrmann
f8de44c154
* numbers.c (scm_logtest, scm_division): Reordered dispatch sequence.
...
* removed calls to deprecated scm_makdbl.
2000-05-02 16:41:20 +00:00
Gary Houston
0607c1096c
*** empty log message ***
2000-05-01 22:22:05 +00:00
Gary Houston
da6e81b6b5
* scmsigs.c: fix the definition of orig_handlers for the case
...
that HAVE_SIGACTION is not defined (thanks to
Kalle Olavi Niemitalo).
2000-05-01 22:19:33 +00:00
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