bpt/guile.git
24 years ago* gc.h (SCM_[SET_]CELL_{WORD,OBJECT}, SCM_VALIDATE_CELL): brought
Michael Livshin [Sun, 21 May 2000 20:49:20 +0000 (20:49 +0000)]
* gc.h (SCM_[SET_]CELL_{WORD,OBJECT}, SCM_VALIDATE_CELL): brought
the yucky, ugly and nasty conditional compilation back.  sorry,
but it was either that or requiring GAWK to build Guile.
removed the code that implemented the old GC scheme.

* init.c (scm_boot_guile_1): removed the code conditioned on
!GUILE_NEW_GC_SCHEME.

* __scm.h: (GUILE_NEW_GC_SCHEME): removed.

* gc.c (scm_protect_object, scm_unprotect_object): change the
implementation to more efficient (at least in the time complexity
sense).  the calls should now also be thread-safe -- I suspect
that people expect them to be.  (thanks to Han-Wen Nienhuys)
removed the code that implemented the old GC scheme.

* hashtab.c (scm_hash_fn_create_handle_x): add missing
SCM_REALLOW_INTS before return.

24 years ago*** empty log message ***
Mikael Djurfeldt [Sat, 20 May 2000 10:57:32 +0000 (10:57 +0000)]
*** empty log message ***

24 years ago* policy/goals.text, policy/principles.text, policy/plans.text:
Mikael Djurfeldt [Sat, 20 May 2000 10:57:22 +0000 (10:57 +0000)]
* policy/goals.text, policy/principles.text, policy/plans.text:
New files.

24 years ago* Fixed some parameter checks. Thanks to Dale P. Smith.
Dirk Herrmann [Sat, 20 May 2000 10:07:44 +0000 (10:07 +0000)]
* Fixed some parameter checks.  Thanks to Dale P. Smith.

24 years ago* Added SCM_DEBUG_CELL_ACCESSES debug option.
Dirk Herrmann [Fri, 19 May 2000 15:46:32 +0000 (15:46 +0000)]
* Added SCM_DEBUG_CELL_ACCESSES debug option.

24 years ago* gc.c (scm_cellp): Fixed and simplified.
Dirk Herrmann [Fri, 19 May 2000 14:03:44 +0000 (14:03 +0000)]
* gc.c (scm_cellp):  Fixed and simplified.
* Using double cells to represent jump buffers with debug extensions.

24 years ago* Where possible, accept const pointers as parameters.
Dirk Herrmann [Thu, 18 May 2000 10:20:22 +0000 (10:20 +0000)]
* Where possible, accept const pointers as parameters.

24 years ago* Unified some rest argument checking and handling.
Dirk Herrmann [Thu, 18 May 2000 08:47:52 +0000 (08:47 +0000)]
* Unified some rest argument checking and handling.

24 years ago* __scm.h: Added SCM_DEBUG as default debug option.
Dirk Herrmann [Wed, 17 May 2000 08:35:30 +0000 (08:35 +0000)]
* __scm.h: Added SCM_DEBUG as default debug option.
* __scm.h: Added debug option SCM_DEBUG_REST_ARGUMENTS.
* eval.c:  Make sure all parameter lists for map and for-each have the
  same length.  Also, removed redundant parameter checks.

24 years ago* Makefile.am: Let 'make clean' remove *.x and *.doc files.
Dirk Herrmann [Tue, 16 May 2000 12:11:08 +0000 (12:11 +0000)]
* Makefile.am:  Let 'make clean' remove *.x and *.doc files.
* Renamed SCM_STRICT_TYPING to SCM_DEBUG_TYPING_STRICTNESS.
* Removed conditionally compiled code for Turbo C.
* gdbint.c:  Eliminated call to scm_tag.

24 years agoReordered some dispatch sequences.
Dirk Herrmann [Tue, 16 May 2000 09:06:23 +0000 (09:06 +0000)]
Reordered some dispatch sequences.

24 years ago*** empty log message ***
Gary Houston [Mon, 15 May 2000 21:24:48 +0000 (21:24 +0000)]
*** empty log message ***

24 years ago2000-05-15 Gary Houston <ghouston@arglist.com>
Gary Houston [Mon, 15 May 2000 21:23:31 +0000 (21:23 +0000)]
2000-05-15  Gary Houston  <ghouston@arglist.com>

        * stime.c (scm_strftime): don't reset TZ if zone is an empty
string.  append a "0" to the zone for TZ.

24 years ago* Reordered some dispatch sequences.
Dirk Herrmann [Mon, 15 May 2000 17:03:59 +0000 (17:03 +0000)]
* Reordered some dispatch sequences.
* scm_bit_extract:  Fixed handling of bignums.

24 years ago* Wrapped deprecated code between #if (SCM_DEBUG_DEPRECATED == 0) #endif.
Dirk Herrmann [Mon, 15 May 2000 11:47:48 +0000 (11:47 +0000)]
* Wrapped deprecated code between #if (SCM_DEBUG_DEPRECATED == 0) #endif.
* Replace use of deprecated macros SCM_INPORTP, SCM_OUTPORTP, SCM_ICHRP.

24 years agoUpdated the macro names for operating on characters.
Dirk Herrmann [Mon, 15 May 2000 11:42:01 +0000 (11:42 +0000)]
Updated the macro names for operating on characters.

24 years ago*** empty log message ***
Gary Houston [Sun, 14 May 2000 22:16:32 +0000 (22:16 +0000)]
*** empty log message ***

24 years ago2000-05-14 Gary Houston <ghouston@arglist.com>
Gary Houston [Sun, 14 May 2000 22:15:59 +0000 (22:15 +0000)]
2000-05-14  Gary Houston  <ghouston@arglist.com>

* stime.c (scm_strftime): if HAVE_TM_ZONE is not defined, hack the
TZ environment variable so that the %Z format returns the zone
from the input vector instead of the system default.

24 years ago2000-05-14 Gary Houston <ghouston@arglist.com>
Gary Houston [Sun, 14 May 2000 22:15:13 +0000 (22:15 +0000)]
2000-05-14  Gary Houston  <ghouston@arglist.com>

* boot-9.scm (load-user-init): rewritten.  first work out the home
directory and then try to open the file (previously it could try
to open a file in more than one place).  catch exceptions when
trying to get a directory from the user database.  don't check
that ~/.guile is not a directory before trying to load it (a lack
of ~/.guile is not a crime, but if the file is not valid for any
reason then primitive-load will raise an error).

24 years ago*** empty log message ***
Gary Houston [Sun, 14 May 2000 10:48:19 +0000 (10:48 +0000)]
*** empty log message ***

24 years ago2000-05-14 Gary Houston <ghouston@arglist.com>
Gary Houston [Sun, 14 May 2000 10:47:39 +0000 (10:47 +0000)]
2000-05-14  Gary Houston  <ghouston@arglist.com>

from Keisuke Nishida:
* fports.c (scm_setvbuf): minor docstring fix.
* ports.h (scm_generic_fgets): obsolete prototype deleted.

24 years ago* __scm.h: Added section for debugging options.
Dirk Herrmann [Thu, 11 May 2000 16:03:32 +0000 (16:03 +0000)]
* __scm.h:  Added section for debugging options.
* New debugging option SCM_DEBUG_DEPRECATED.
* numbers.c numbers.h:  Deprecated a lot of stuff.

24 years ago* abs no longer accepts complex numbers as parameter.
Dirk Herrmann [Thu, 11 May 2000 15:51:56 +0000 (15:51 +0000)]
* abs no longer accepts complex numbers as parameter.

24 years ago* Scheme cells now consist of scm_bits_t values instead of SCM values.
Dirk Herrmann [Wed, 10 May 2000 14:04:48 +0000 (14:04 +0000)]
* Scheme cells now consist of scm_bits_t values instead of SCM values.
* Use SCM_SETC[AD]R to modify contents of pairs.

24 years ago* Added FIXME comment about the problems with infinite numbers.
Dirk Herrmann [Wed, 10 May 2000 13:42:23 +0000 (13:42 +0000)]
* Added FIXME comment about the problems with infinite numbers.
* abs/magnitude:  Made independent of each other.
* Avoid using REALPART for real objects.

24 years agoMore distinguished handling of real and complex values.
Dirk Herrmann [Wed, 10 May 2000 12:34:43 +0000 (12:34 +0000)]
More distinguished handling of real and complex values.

24 years agoIS_INF: Undid last change.
Dirk Herrmann [Wed, 10 May 2000 09:25:11 +0000 (09:25 +0000)]
IS_INF:  Undid last change.

24 years ago*** empty log message ***
Marius Vollmer [Tue, 9 May 2000 19:43:29 +0000 (19:43 +0000)]
*** empty log message ***

24 years ago* common-list.scm (delete-if-not!): Bug fix of bug fix: change
Marius Vollmer [Tue, 9 May 2000 19:43:14 +0000 (19:43 +0000)]
* common-list.scm (delete-if-not!): Bug fix of bug fix: change
label of named let to `delete-if-not'.  Sorry.

24 years agoDo not advertise COPYING as containing the Guile license terms.
Marius Vollmer [Tue, 9 May 2000 17:19:21 +0000 (17:19 +0000)]
Do not advertise COPYING as containing the Guile license terms.

24 years agoUpdated some, mostly by removing outdated material.
Marius Vollmer [Tue, 9 May 2000 17:18:18 +0000 (17:18 +0000)]
Updated some, mostly by removing outdated material.

24 years ago* Added comments.
Dirk Herrmann [Tue, 9 May 2000 16:55:54 +0000 (16:55 +0000)]
* Added comments.
* Removed static function add1.

24 years ago* Fixed IS_INF.
Dirk Herrmann [Tue, 9 May 2000 12:58:53 +0000 (12:58 +0000)]
* Fixed IS_INF.
* Reordered some dispatch sequences.

24 years ago*** empty log message ***
Marius Vollmer [Mon, 8 May 2000 22:50:01 +0000 (22:50 +0000)]
*** empty log message ***

24 years ago* scmsigs.c (take_signal): Execute SCM_ASYNC_TICK for SIGSEGV,
Marius Vollmer [Mon, 8 May 2000 22:49:44 +0000 (22:49 +0000)]
* 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.

24 years agoReordered some dispatch sequences.
Dirk Herrmann [Mon, 8 May 2000 19:34:20 +0000 (19:34 +0000)]
Reordered some dispatch sequences.

24 years agoAdded tests/list.test and tests/numbers.test. (numbers.test does not yet
Dirk Herrmann [Mon, 8 May 2000 17:54:51 +0000 (17:54 +0000)]
Added tests/list.test and tests/numbers.test.  (numbers.test does not yet
contain the test cases from thi.)

24 years agoAdopted a couple of nice ideas from Greg.
Dirk Herrmann [Mon, 8 May 2000 17:42:03 +0000 (17:42 +0000)]
Adopted a couple of nice ideas from Greg.

24 years agoAvoid pointer trickery with SCM values.
Dirk Herrmann [Mon, 8 May 2000 12:29:12 +0000 (12:29 +0000)]
Avoid pointer trickery with SCM values.

24 years agoUse SCM{_SET}?_CELL_OBJECT if a cell is not known to be a valid pair yet.
Dirk Herrmann [Mon, 8 May 2000 11:53:01 +0000 (11:53 +0000)]
Use SCM{_SET}?_CELL_OBJECT if a cell is not known to be a valid pair yet.

24 years ago* eval.c: Removed ASRTSYNTAX macro. Removed function 'bodycheck'.
Dirk Herrmann [Mon, 8 May 2000 09:57:29 +0000 (09:57 +0000)]
* eval.c:  Removed ASRTSYNTAX macro.  Removed function 'bodycheck'.
* stacks.c:  Removed unused calculations, minimized variable scopes.

24 years ago*** empty log message ***
Marius Vollmer [Mon, 8 May 2000 00:44:04 +0000 (00:44 +0000)]
*** empty log message ***

24 years ago* common-list.scm (doc fixes): Talk about `true values' instead of
Marius Vollmer [Mon, 8 May 2000 00:43:28 +0000 (00:43 +0000)]
* common-list.scm (doc fixes): Talk about `true values' instead of
`#t' when a function treats all non-#f valuers the same.
(remove-if-not): Bug fix: call remove-if-not
instead of remove-if when iterating.
(delete-if-not!): Bug fix: call delete-if-not! instead of
remove-if when iterating.

24 years ago* Use SCM{_SET}?_CELL_OBJECT to access cells that are no valid pairs yet.
Dirk Herrmann [Fri, 5 May 2000 16:19:30 +0000 (16:19 +0000)]
* Use SCM{_SET}?_CELL_OBJECT to access cells that are no valid pairs yet.
* Eliminated redundant SCM_IMP test.

24 years agomambo.test: Removed dummy file.
Dirk Herrmann [Fri, 5 May 2000 12:22:46 +0000 (12:22 +0000)]
mambo.test:  Removed dummy file.

24 years ago* eval.c: Eliminated redundant SCM_IMP tests.
Dirk Herrmann [Fri, 5 May 2000 11:10:57 +0000 (11:10 +0000)]
* eval.c: Eliminated redundant SCM_IMP tests.
* hashtab.c, weaks.c: Fixed critical sections.  Thanks to Keisuke Nishida.

24 years agoFixed some goto-related initialization bugs.
Dirk Herrmann [Fri, 5 May 2000 01:30:31 +0000 (01:30 +0000)]
Fixed some goto-related initialization bugs.

24 years agoFixed typo.
Marius Vollmer [Thu, 4 May 2000 18:43:23 +0000 (18:43 +0000)]
Fixed typo.

24 years agoAvoid modifications of cells via pointers. Use SCM_SET_CELL... instead.
Dirk Herrmann [Thu, 4 May 2000 08:07:18 +0000 (08:07 +0000)]
Avoid modifications of cells via pointers.  Use SCM_SET_CELL... instead.

24 years ago*** empty log message ***
Marius Vollmer [Wed, 3 May 2000 22:41:23 +0000 (22:41 +0000)]
*** empty log message ***

24 years agoAdded section about Guile license.
Marius Vollmer [Wed, 3 May 2000 22:41:05 +0000 (22:41 +0000)]
Added section about Guile license.

24 years ago* scmsigs.c (orig_handlers) [HAVE_SIGACTION]: Fix declaration to
Marius Vollmer [Wed, 3 May 2000 22:40:21 +0000 (22:40 +0000)]
* 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!

24 years ago* scm_divbigbig and scm_divbigint are static now
Dirk Herrmann [Wed, 3 May 2000 12:35:56 +0000 (12:35 +0000)]
* 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.

24 years ago*** empty log message ***
Gary Houston [Tue, 2 May 2000 20:46:48 +0000 (20:46 +0000)]
*** empty log message ***

24 years ago * Makefile.am (INCLUDES): add ${INCLTDL} (thanks to Tim Mooney).
Gary Houston [Tue, 2 May 2000 20:46:11 +0000 (20:46 +0000)]
* Makefile.am (INCLUDES): add ${INCLTDL} (thanks to Tim Mooney).

24 years agochange -qt to -lqt
Gary Houston [Tue, 2 May 2000 20:44:59 +0000 (20:44 +0000)]
change -qt to -lqt

24 years ago* numbers.c (scm_logtest, scm_division): Reordered dispatch sequence.
Dirk Herrmann [Tue, 2 May 2000 16:41:20 +0000 (16:41 +0000)]
* numbers.c (scm_logtest, scm_division): Reordered dispatch sequence.
* removed calls to deprecated scm_makdbl.

24 years ago*** empty log message ***
Gary Houston [Mon, 1 May 2000 22:22:05 +0000 (22:22 +0000)]
*** empty log message ***

24 years ago * scmsigs.c: fix the definition of orig_handlers for the case
Gary Houston [Mon, 1 May 2000 22:19:33 +0000 (22:19 +0000)]
* scmsigs.c: fix the definition of orig_handlers for the case
that HAVE_SIGACTION is not defined (thanks to
Kalle Olavi Niemitalo).

24 years ago*** empty log message ***
Gary Houston [Mon, 1 May 2000 22:13:26 +0000 (22:13 +0000)]
*** empty log message ***

24 years ago * readline.c: include libguile.h, not libguile/libguile.h.
Gary Houston [Mon, 1 May 2000 22:12:43 +0000 (22:12 +0000)]
* readline.c: include libguile.h, not libguile/libguile.h.

24 years ago * Makefile.am: add include_HEADERS.
Gary Houston [Mon, 1 May 2000 22:11:24 +0000 (22:11 +0000)]
* Makefile.am: add include_HEADERS.
libguile.h: moved from libguile directory.  maybe libguile should
be installed in $prefix/include/libguile/libguile.h instead?

24 years ago * Makefile.am: remove include_HEADERS (was libguile.h)
Gary Houston [Mon, 1 May 2000 22:07:25 +0000 (22:07 +0000)]
* Makefile.am: remove include_HEADERS (was libguile.h)
libguile.h: moved to top level directory.

24 years agoSome dispatch sequence reordering fixes of comparisons of SCM values with
Dirk Herrmann [Fri, 28 Apr 2000 17:14:49 +0000 (17:14 +0000)]
Some dispatch sequence reordering fixes of comparisons of SCM values with
integer constants.

24 years ago* removed code enclosed within #ifdef BADIVSGNS ... #endif.
Dirk Herrmann [Fri, 28 Apr 2000 08:35:28 +0000 (08:35 +0000)]
* removed code enclosed within #ifdef BADIVSGNS ... #endif.
* scm_quotient: Fixed parameter number in error message.
* scm_remainder: Reordered dispatch sequence.

24 years ago*** empty log message ***
Gary Houston [Wed, 26 Apr 2000 19:25:10 +0000 (19:25 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Gary Houston [Tue, 25 Apr 2000 22:08:55 +0000 (22:08 +0000)]
*** empty log message ***

24 years ago * posix.c (scm_execlp): docstring fix (thanks to Martin
Gary Houston [Tue, 25 Apr 2000 22:08:26 +0000 (22:08 +0000)]
* posix.c (scm_execlp): docstring fix (thanks to Martin
Grabmueller).

24 years agoMade undef_object into a local static variable.
Dirk Herrmann [Tue, 25 Apr 2000 12:06:51 +0000 (12:06 +0000)]
Made undef_object into a local static variable.

24 years ago* Remove function scm_init_iprocs, remove struct scm_iproc and simplify
Dirk Herrmann [Tue, 25 Apr 2000 09:45:16 +0000 (09:45 +0000)]
* 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.

24 years ago*** empty log message ***
Mikael Djurfeldt [Fri, 21 Apr 2000 23:15:27 +0000 (23:15 +0000)]
*** empty log message ***

24 years ago* weaks.h (scm_weak_vectors, scm_weaks_prehistory): Added
Mikael Djurfeldt [Fri, 21 Apr 2000 23:14:19 +0000 (23:14 +0000)]
* weaks.h (scm_weak_vectors, scm_weaks_prehistory): Added
declarations.

24 years ago* weaks.c (scm_weaks_prehistory): New function: Add
Mikael Djurfeldt [Fri, 21 Apr 2000 23:14:06 +0000 (23:14 +0000)]
* 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.

24 years ago* init.c (scm_boot_guile_1): Added `scm_init_hooks'.
Mikael Djurfeldt [Fri, 21 Apr 2000 23:13:44 +0000 (23:13 +0000)]
* init.c (scm_boot_guile_1): Added `scm_init_hooks'.

24 years ago* hooks.c, hooks.h (scm_make_hook_with_name): Removed deprecated
Mikael Djurfeldt [Fri, 21 Apr 2000 23:13:26 +0000 (23:13 +0000)]
* hooks.c, hooks.h (scm_make_hook_with_name): Removed deprecated
function.
* hooks.c, hooks.h: New files.

24 years ago* guardians.h (scm_guardian_gc_init, scm_guardian_zombify): Are
Mikael Djurfeldt [Fri, 21 Apr 2000 23:12:23 +0000 (23:12 +0000)]
* guardians.h (scm_guardian_gc_init, scm_guardian_zombify): Are
now static.

24 years ago* guardians.c (scm_guardian_gc_init): Turned into a hook function
Mikael Djurfeldt [Fri, 21 Apr 2000 23:12:09 +0000 (23:12 +0000)]
* 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.

24 years ago* gc.h: Added #include "libguile/hooks.h".
Mikael Djurfeldt [Fri, 21 Apr 2000 23:11:51 +0000 (23:11 +0000)]
* gc.h: Added #include "libguile/hooks.h".

24 years ago* gc.c: Removed #include "libguile/guardians.h".
Mikael Djurfeldt [Fri, 21 Apr 2000 23:11:29 +0000 (23:11 +0000)]
* 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.

24 years ago* feature.c, feature.h: Broke out hook code into separate files.
Mikael Djurfeldt [Fri, 21 Apr 2000 23:11:05 +0000 (23:11 +0000)]
* feature.c, feature.h: Broke out hook code into separate files.

24 years ago* async.c (scm_sys_gc_async_thunk): Run after-gc-hook.
Mikael Djurfeldt [Fri, 21 Apr 2000 23:10:37 +0000 (23:10 +0000)]
* async.c (scm_sys_gc_async_thunk): Run after-gc-hook.
Added #include "libguile/gc.h".

24 years ago* Makefile.am: Added hooks.c, hooks.h, hooks.x.
Mikael Djurfeldt [Fri, 21 Apr 2000 23:10:24 +0000 (23:10 +0000)]
* Makefile.am: Added hooks.c, hooks.h, hooks.x.

24 years agoFixes
Mikael Djurfeldt [Fri, 21 Apr 2000 15:57:22 +0000 (15:57 +0000)]
Fixes

24 years ago* Makefile.am (DEFS): Added. automake adds -I options to DEFS,
Mikael Djurfeldt [Fri, 21 Apr 2000 14:16:44 +0000 (14:16 +0000)]
* 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.)

24 years ago*** empty log message ***
Mikael Djurfeldt [Fri, 21 Apr 2000 14:12:45 +0000 (14:12 +0000)]
*** empty log message ***

24 years ago* qthreads.m4: Removed THREADS_CPPFLAGS.
Mikael Djurfeldt [Fri, 21 Apr 2000 14:12:05 +0000 (14:12 +0000)]
* qthreads.m4: Removed THREADS_CPPFLAGS.

24 years ago* acinclude.m4: Removed qthreads macros. They are provided in
Mikael Djurfeldt [Fri, 21 Apr 2000 14:11:50 +0000 (14:11 +0000)]
* acinclude.m4: Removed qthreads macros.  They are provided in
qthreads.m4, so these were redundant.

24 years ago*** empty log message ***
Mikael Djurfeldt [Fri, 21 Apr 2000 11:36:09 +0000 (11:36 +0000)]
*** empty log message ***

24 years ago* numbers.c (scm_odd_p, scm_even_p): Use SCM_WRONG_TYPE_ARG
Mikael Djurfeldt [Fri, 21 Apr 2000 11:35:39 +0000 (11:35 +0000)]
* 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.)

24 years ago*** empty log message ***
Mikael Djurfeldt [Fri, 21 Apr 2000 00:27:52 +0000 (00:27 +0000)]
*** empty log message ***

24 years ago* init.c (scm_boot_guile_1): Added calls to debug-malloc init
Mikael Djurfeldt [Fri, 21 Apr 2000 00:27:27 +0000 (00:27 +0000)]
* init.c (scm_boot_guile_1): Added calls to debug-malloc init
functions.

24 years ago* debug-malloc.c, debug-malloc.h: New files.
Mikael Djurfeldt [Fri, 21 Apr 2000 00:27:14 +0000 (00:27 +0000)]
* debug-malloc.c, debug-malloc.h: New files.

24 years ago* gc.c (scm_must_malloc, scm_must_realloc, scm_must_free): Added
Mikael Djurfeldt [Fri, 21 Apr 2000 00:26:35 +0000 (00:26 +0000)]
* gc.c (scm_must_malloc, scm_must_realloc, scm_must_free): Added
calls to malloc debugging functions.

24 years ago* Makefile.am: Added debug-malloc.c, debug-malloc.h,
Mikael Djurfeldt [Fri, 21 Apr 2000 00:26:13 +0000 (00:26 +0000)]
* Makefile.am: Added debug-malloc.c, debug-malloc.h,
debug-malloc.x.

24 years ago* configure.in: New --enable-debug-malloc configuration option.
Mikael Djurfeldt [Fri, 21 Apr 2000 00:24:26 +0000 (00:24 +0000)]
* configure.in: New --enable-debug-malloc configuration option.

24 years ago* acconfig.h (GUILE_DEBUG_MALLOC): New.
Mikael Djurfeldt [Fri, 21 Apr 2000 00:24:11 +0000 (00:24 +0000)]
* acconfig.h (GUILE_DEBUG_MALLOC): New.

24 years agoAdded documentation strings and reordered some dispatch sequences.
Dirk Herrmann [Thu, 20 Apr 2000 15:51:09 +0000 (15:51 +0000)]
Added documentation strings and reordered some dispatch sequences.

24 years agoSome cleanups with regard to the use of SCM2PTR and casts to SCM_CELLPTR.
Dirk Herrmann [Wed, 19 Apr 2000 16:47:11 +0000 (16:47 +0000)]
Some cleanups with regard to the use of SCM2PTR and casts to SCM_CELLPTR.

24 years agoAgain, SCM/scm_bits_t mixup fixes.
Dirk Herrmann [Wed, 19 Apr 2000 11:32:05 +0000 (11:32 +0000)]
Again, SCM/scm_bits_t mixup fixes.

24 years ago* Another couple of SCM/scm_bits_t cleanups.
Dirk Herrmann [Wed, 19 Apr 2000 09:37:48 +0000 (09:37 +0000)]
* Another couple of SCM/scm_bits_t cleanups.
* eval.c:  replaced undef_cell by undef_object.
* eval.c:  made some struct vcell accesses explicit.