bpt/guile.git
23 years ago*** empty log message ***
Mikael Djurfeldt [Wed, 2 Aug 2000 06:11:08 +0000 (06:11 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Mikael Djurfeldt [Wed, 2 Aug 2000 06:00:28 +0000 (06:00 +0000)]
*** empty log message ***

23 years ago* print.c (scm_simple_format): Bugfix: Coerce port before using it.
Mikael Djurfeldt [Wed, 2 Aug 2000 06:00:09 +0000 (06:00 +0000)]
* print.c (scm_simple_format): Bugfix: Coerce port before using it.

23 years ago*** empty log message ***
Gary Houston [Tue, 1 Aug 2000 18:43:54 +0000 (18:43 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Gary Houston [Mon, 31 Jul 2000 21:09:02 +0000 (21:09 +0000)]
*** empty log message ***

23 years ago2000-07-31 Gary Houston <ghouston@arglist.com>
Gary Houston [Mon, 31 Jul 2000 21:08:30 +0000 (21:08 +0000)]
2000-07-31  Gary Houston  <ghouston@arglist.com>

* net_db.c: declare h_errno only if HAVE_H_ERRNO is defined
(thanks to Richard Kim for the bug report).

23 years ago*** empty log message ***
Gary Houston [Mon, 31 Jul 2000 21:03:47 +0000 (21:03 +0000)]
*** empty log message ***

23 years ago2000-07-31 Gary Houston <ghouston@arglist.com>
Gary Houston [Mon, 31 Jul 2000 21:02:54 +0000 (21:02 +0000)]
2000-07-31  Gary Houston  <ghouston@arglist.com>

* acconfig.h: added HAVE_H_ERRNO
* configure.in: removed some dnl'd & obsolete cygwin stuff.
added a test for h_errno.

23 years ago*** empty log message ***
Marius Vollmer [Sun, 30 Jul 2000 13:41:01 +0000 (13:41 +0000)]
*** empty log message ***

23 years ago* alist.c (scm_assq_remove_x, scm_assv_remove_x,
Marius Vollmer [Sun, 30 Jul 2000 13:40:46 +0000 (13:40 +0000)]
* alist.c (scm_assq_remove_x, scm_assv_remove_x,
scm_assoc_remove_x): Use scm_delq1_x instead of scm_delq_x, since
using the latter is pointless.

23 years agoFix spelling mistake
Neil Jerram [Fri, 28 Jul 2000 13:19:01 +0000 (13:19 +0000)]
Fix spelling mistake

23 years ago* Renamed local variable 'free' to avoid confusion with stdlib's 'free'.
Dirk Herrmann [Wed, 26 Jul 2000 11:29:58 +0000 (11:29 +0000)]
* Renamed local variable 'free' to avoid confusion with stdlib's 'free'.

23 years ago* Fix vector initialization.
Dirk Herrmann [Wed, 26 Jul 2000 09:20:09 +0000 (09:20 +0000)]
* Fix vector initialization.

23 years ago* Fixed struct initialization.
Dirk Herrmann [Wed, 26 Jul 2000 08:35:35 +0000 (08:35 +0000)]
* Fixed struct initialization.

23 years ago*** empty log message ***
Mikael Djurfeldt [Wed, 26 Jul 2000 05:08:23 +0000 (05:08 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Mikael Djurfeldt [Tue, 25 Jul 2000 20:28:35 +0000 (20:28 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Marius Vollmer [Tue, 25 Jul 2000 19:06:47 +0000 (19:06 +0000)]
*** empty log message ***

23 years ago* alist.c (scm_assq_remove_x, scm_assv_remove_x,
Marius Vollmer [Tue, 25 Jul 2000 19:06:22 +0000 (19:06 +0000)]
* alist.c (scm_assq_remove_x, scm_assv_remove_x,
scm_assoc_remove_x): Remove only the first cell with a matching
key, not all.

23 years ago*** empty log message ***
Marius Vollmer [Sun, 23 Jul 2000 23:13:01 +0000 (23:13 +0000)]
*** empty log message ***

23 years ago* stime.c (scm_strftime): Recognize a return value of zero from
Marius Vollmer [Sun, 23 Jul 2000 23:12:39 +0000 (23:12 +0000)]
* stime.c (scm_strftime): Recognize a return value of zero from
strftime as buffer overflow and take care to detect a valid zero
length result regardless.  Thanks to David Barts!

23 years ago* common-list.scm (uniq): Made tail-recursive. Thanks to thi!
Marius Vollmer [Sun, 23 Jul 2000 23:12:02 +0000 (23:12 +0000)]
* common-list.scm (uniq): Made tail-recursive.  Thanks to thi!

23 years ago*** empty log message ***
Marius Vollmer [Sun, 23 Jul 2000 11:50:33 +0000 (11:50 +0000)]
*** empty log message ***

23 years ago* alist.c (scm_assq_remove_x, scm_assv_remove_x,
Marius Vollmer [Sun, 23 Jul 2000 11:50:05 +0000 (11:50 +0000)]
* alist.c (scm_assq_remove_x, scm_assv_remove_x,
scm_assoc_remove_x): Remove all cells whose key is eq, eqv, or
equal (respectively) to the argument key, not all cells that are
eq, eqv, or equal to the first cell with the argument key.  Thanks
to Neil Jerram!

23 years ago*** empty log message ***
Marius Vollmer [Wed, 19 Jul 2000 18:10:46 +0000 (18:10 +0000)]
*** empty log message ***

23 years ago* configure.in (rl_pre_input_hook): Don't check for this with
Marius Vollmer [Wed, 19 Jul 2000 18:10:30 +0000 (18:10 +0000)]
* configure.in (rl_pre_input_hook): Don't check for this with
AC_CHECK_FUNCS, it doesn't work on HP/UX.  Test for it with
AC_TRY_LINK.

23 years ago* Fixed some type-related errors.
Dirk Herrmann [Tue, 18 Jul 2000 16:59:35 +0000 (16:59 +0000)]
* Fixed some type-related errors.

23 years ago* Don't use return value from SCM_SETCDR or SCM_WHASHSET.
Dirk Herrmann [Tue, 18 Jul 2000 16:09:09 +0000 (16:09 +0000)]
* Don't use return value from SCM_SETCDR or SCM_WHASHSET.

23 years ago* Deprecated function scm_call_catching_errors.
Dirk Herrmann [Tue, 18 Jul 2000 07:02:57 +0000 (07:02 +0000)]
* Deprecated function scm_call_catching_errors.
* Updated root-smob initialization.

23 years ago*** empty log message ***
Marius Vollmer [Mon, 17 Jul 2000 20:00:22 +0000 (20:00 +0000)]
*** empty log message ***

23 years ago* eval.c (unmemocopy): Don't rely on V being a list of at least
Marius Vollmer [Mon, 17 Jul 2000 19:59:57 +0000 (19:59 +0000)]
* eval.c (unmemocopy): Don't rely on V being a list of at least
one element.  Thanks to Bill Schottstaedt!

23 years ago* gc.c (scm_done_free): new.
Michael Livshin [Sat, 15 Jul 2000 13:44:04 +0000 (13:44 +0000)]
* gc.c (scm_done_free): new.
expanded comments about scm_done_malloc.

* gc.h: added prototype for scm_done_free

23 years ago* Added note about new global variable scm_gc_running_p.
Dirk Herrmann [Fri, 14 Jul 2000 07:36:35 +0000 (07:36 +0000)]
* Added note about new global variable scm_gc_running_p.

23 years ago* Extend checks performed with SCM_DEBUG_CELL_ACCESSES=1 and make them
Dirk Herrmann [Thu, 13 Jul 2000 15:00:58 +0000 (15:00 +0000)]
* Extend checks performed with SCM_DEBUG_CELL_ACCESSES=1 and make them
  configurable at run-time.
* Replace SCM_FREEP by SCM_FREE_CELL_P and scm_gc_heap_lock by
  scm_gc_running_p (not in all places yet).

23 years ago* In expt, return exact results when possible.
Dirk Herrmann [Thu, 13 Jul 2000 14:47:32 +0000 (14:47 +0000)]
* In expt, return exact results when possible.

23 years ago* Minor cleanups in scm_mark_locations.
Dirk Herrmann [Thu, 13 Jul 2000 07:40:04 +0000 (07:40 +0000)]
* Minor cleanups in scm_mark_locations.

23 years ago* Added a note about removing GUILE_OLD_ASYNC_CLICK.
Dirk Herrmann [Thu, 13 Jul 2000 07:27:02 +0000 (07:27 +0000)]
* Added a note about removing GUILE_OLD_ASYNC_CLICK.

23 years ago* Fixed expt for the case of negative integer exponents.
Dirk Herrmann [Wed, 12 Jul 2000 07:38:06 +0000 (07:38 +0000)]
* Fixed expt for the case of negative integer exponents.

23 years ago* Use a set of dedicated macros to access and modify free cells.
Dirk Herrmann [Mon, 10 Jul 2000 14:25:53 +0000 (14:25 +0000)]
* Use a set of dedicated macros to access and modify free cells.

23 years ago* Make the compiler warn about code like SCM_CELL_WORD (x, n) = y.
Dirk Herrmann [Mon, 10 Jul 2000 13:54:03 +0000 (13:54 +0000)]
* Make the compiler warn about code like SCM_CELL_WORD (x, n) = y.

23 years ago* Signal an error when adding entries to a hash table with no slots.
Dirk Herrmann [Fri, 7 Jul 2000 15:28:56 +0000 (15:28 +0000)]
* Signal an error when adding entries to a hash table with no slots.

23 years ago* Keep track of the heap segment table size.
Dirk Herrmann [Thu, 6 Jul 2000 09:10:22 +0000 (09:10 +0000)]
* Keep track of the heap segment table size.
* Let the caller of alloc_some_heap determine the behaviour in case of
  malloc failures.  Use this feature in scm_gc_for_newcell.

23 years ago* Don't include <stdio.h> in gh.h. Thanks to Han-Wen Nienhuys.
Dirk Herrmann [Thu, 6 Jul 2000 08:48:14 +0000 (08:48 +0000)]
* Don't include <stdio.h> in gh.h.  Thanks to Han-Wen Nienhuys.

23 years ago*** empty log message ***
Mikael Djurfeldt [Sat, 1 Jul 2000 17:01:37 +0000 (17:01 +0000)]
*** empty log message ***

23 years ago* boot-9.scm (process-define-module): Bugfix: Only check the CDR
Mikael Djurfeldt [Sat, 1 Jul 2000 17:01:22 +0000 (17:01 +0000)]
* boot-9.scm (process-define-module): Bugfix: Only check the CDR
for export args.

23 years ago*** empty log message ***
Greg J. Badros [Sat, 1 Jul 2000 00:13:17 +0000 (00:13 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Mikael Djurfeldt [Fri, 30 Jun 2000 20:00:54 +0000 (20:00 +0000)]
*** empty log message ***

23 years ago* Re-introduced some symbols as deprecated.
Dirk Herrmann [Fri, 30 Jun 2000 17:37:26 +0000 (17:37 +0000)]
* Re-introduced some symbols as deprecated.

23 years ago*** empty log message ***
Mikael Djurfeldt [Fri, 30 Jun 2000 16:16:08 +0000 (16:16 +0000)]
*** empty log message ***

23 years ago* debug.c: Added #include fluids.h.
Mikael Djurfeldt [Fri, 30 Jun 2000 16:14:56 +0000 (16:14 +0000)]
* debug.c: Added #include fluids.h.

23 years ago*** empty log message ***
Mikael Djurfeldt [Fri, 30 Jun 2000 16:09:13 +0000 (16:09 +0000)]
*** empty log message ***

23 years ago* numbers.c (scm_gr_p, scm_leq_p, scm_geq_p): Turned into
Mikael Djurfeldt [Fri, 30 Jun 2000 16:08:48 +0000 (16:08 +0000)]
* numbers.c (scm_gr_p, scm_leq_p, scm_geq_p): Turned into
primitive generics.  (Thanks to Nicolas Neuss.)

23 years ago* Improved memory error handling.
Dirk Herrmann [Fri, 30 Jun 2000 13:48:28 +0000 (13:48 +0000)]
* Improved memory error handling.
* Made the behaviour of scm_gc_for_newcell more obvious.

23 years ago* Eliminated use of SCM_ASSERT to check for range errors.
Dirk Herrmann [Fri, 30 Jun 2000 10:46:35 +0000 (10:46 +0000)]
* Eliminated use of SCM_ASSERT to check for range errors.
* Fix some error reporting code in list.c
* Added some test cases.

23 years ago* Fix range checks of SCM_VALIDATE* macros.
Dirk Herrmann [Fri, 30 Jun 2000 09:48:25 +0000 (09:48 +0000)]
* Fix range checks of SCM_VALIDATE* macros.

23 years ago*** empty log message ***
Mikael Djurfeldt [Thu, 29 Jun 2000 23:47:14 +0000 (23:47 +0000)]
*** empty log message ***

23 years ago* gc.c (scm_gc_for_newcell): Behave gracefully also if scm_igc
Mikael Djurfeldt [Thu, 29 Jun 2000 23:46:59 +0000 (23:46 +0000)]
* 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.)

23 years ago* Cleaned up memory error signalling.
Dirk Herrmann [Thu, 29 Jun 2000 15:54:58 +0000 (15:54 +0000)]
* Cleaned up memory error signalling.

23 years ago* Removed some unused identifiers and commented code.
Dirk Herrmann [Thu, 29 Jun 2000 15:06:31 +0000 (15:06 +0000)]
* Removed some unused identifiers and commented code.

23 years ago* Use appropriate error signalling functions.
Dirk Herrmann [Thu, 29 Jun 2000 13:31:33 +0000 (13:31 +0000)]
* Use appropriate error signalling functions.

23 years ago* Removed scm_first_type.
Dirk Herrmann [Thu, 29 Jun 2000 09:13:17 +0000 (09:13 +0000)]
* Removed scm_first_type.

23 years ago* Removed unused identifier MIN_GC_YIELD.
Dirk Herrmann [Thu, 29 Jun 2000 08:27:40 +0000 (08:27 +0000)]
* Removed unused identifier MIN_GC_YIELD.

23 years ago* gc.c (scm_gc_for_newcell): don't try to do GC if it's blocked,
Michael Livshin [Wed, 28 Jun 2000 13:17:11 +0000 (13:17 +0000)]
* gc.c (scm_gc_for_newcell): don't try to do GC if it's blocked,
allocate instead.

23 years ago* Cleaned up initialization of asyncs.
Dirk Herrmann [Wed, 28 Jun 2000 10:26:52 +0000 (10:26 +0000)]
* 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.

23 years ago* Removed commented code from gc.c.
Dirk Herrmann [Wed, 28 Jun 2000 07:49:25 +0000 (07:49 +0000)]
* Removed commented code from gc.c.
* Removed unused identifier scm_type_obj_list.

23 years ago* Switch to standard way of smob initialization.
Dirk Herrmann [Tue, 27 Jun 2000 16:00:01 +0000 (16:00 +0000)]
* Switch to standard way of smob initialization.

23 years ago* gc-thunk is deprecated. Use after-gc-hook instead.
Dirk Herrmann [Tue, 27 Jun 2000 13:52:49 +0000 (13:52 +0000)]
* gc-thunk is deprecated.  Use after-gc-hook instead.

23 years ago* Made a couple of functions (not all yet) tail recursive.
Dirk Herrmann [Wed, 21 Jun 2000 18:19:20 +0000 (18:19 +0000)]
* Made a couple of functions (not all yet) tail recursive.
  Thanks to William Webber for the hint.

23 years ago* guile-doc-snarf.in: use cut instead of sed, that's much much
Michael Livshin [Wed, 21 Jun 2000 15:14:00 +0000 (15:14 +0000)]
* 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).

23 years ago* Added reminder about removing system_transformer and
Dirk Herrmann [Wed, 21 Jun 2000 15:11:30 +0000 (15:11 +0000)]
* Added reminder about removing system_transformer and
  top_level_lookup_closure_var from root.h with the next version of
  libguile that is not binary compatible with 1.4.

23 years ago* Added some tests that are currently known to fail due to bugs in
Dirk Herrmann [Wed, 21 Jun 2000 15:00:44 +0000 (15:00 +0000)]
* Added some tests that are currently known to fail due to bugs in
  the evaluator's handling of macros.

23 years ago* Renamed SCM__X tokens to better readable ones that also follow the
Dirk Herrmann [Wed, 21 Jun 2000 08:43:12 +0000 (08:43 +0000)]
* Renamed SCM__X tokens to better readable ones that also follow the
  SCM_SNARF_ prefix convention.

23 years ago*** empty log message ***
Mikael Djurfeldt [Wed, 21 Jun 2000 02:47:01 +0000 (02:47 +0000)]
*** empty log message ***

23 years ago* boot-9.scm: Turned `the-module', `*top-level-lookup-closure*',
Mikael Djurfeldt [Wed, 21 Jun 2000 02:46:44 +0000 (02:46 +0000)]
* boot-9.scm: Turned `the-module', `*top-level-lookup-closure*',
and `scm:eval-transformer' into fluids.

23 years ago(SCM_TOP_LEVEL_LOOKUP_CLOSURE): New macro which replaces
Mikael Djurfeldt [Wed, 21 Jun 2000 02:46:01 +0000 (02:46 +0000)]
(SCM_TOP_LEVEL_LOOKUP_CLOSURE): New macro which replaces
SCM_CDR (scm_top_level_lookup_closure_var) everywhere.

23 years ago* root.c (mark_root): Removed marking of
Mikael Djurfeldt [Wed, 21 Jun 2000 02:45:26 +0000 (02:45 +0000)]
* root.c (mark_root): Removed marking of
s->top_level_lookup_closure_var and s->system_transformer.

23 years ago* root.h (scm_top_level_lookup_closure_var): Removed. (It's no
Mikael Djurfeldt [Wed, 21 Jun 2000 02:42:41 +0000 (02:42 +0000)]
* root.h (scm_top_level_lookup_closure_var): Removed.  (It's no
sense in having the *variable* be a "fluid".)

23 years ago* modules.c (scm_selected_module): the_module is now a fluid.
Mikael Djurfeldt [Wed, 21 Jun 2000 02:42:31 +0000 (02:42 +0000)]
* modules.c (scm_selected_module): the_module is now a fluid.

23 years ago* eval.c, eval.h (scm_top_level_lookup_closure_var): Added.
Mikael Djurfeldt [Wed, 21 Jun 2000 02:42:14 +0000 (02:42 +0000)]
* 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.

23 years ago* eval.c, eval.h (scm_top_level_lookup_closure_var): Added.
Mikael Djurfeldt [Wed, 21 Jun 2000 02:42:03 +0000 (02:42 +0000)]
* eval.c, eval.h (scm_top_level_lookup_closure_var): Added.
#include "libguile/fluids.h".

23 years agoFix
Mikael Djurfeldt [Wed, 21 Jun 2000 01:24:56 +0000 (01:24 +0000)]
Fix

23 years ago*** empty log message ***
Mikael Djurfeldt [Wed, 21 Jun 2000 01:17:51 +0000 (01:17 +0000)]
*** empty log message ***

23 years ago* null.scm, r5rs.scm, safe-r5rs.scm, safe.scm: New modules.
Mikael Djurfeldt [Wed, 21 Jun 2000 01:17:28 +0000 (01:17 +0000)]
* null.scm, r5rs.scm, safe-r5rs.scm, safe.scm: New modules.

23 years ago* boot-9.scm (purify-module!, module-export!): New procedures.
Mikael Djurfeldt [Wed, 21 Jun 2000 01:16:45 +0000 (01:16 +0000)]
* boot-9.scm (purify-module!, module-export!): New procedures.
(export): Rewritten using `module-export!'.
(process-define-module): New define-module options: pure, export.
See NEWS.

23 years agoNew modules null.scm, r5rs.scm, safe-r5rs.scm, safe.scm
Mikael Djurfeldt [Wed, 21 Jun 2000 01:16:26 +0000 (01:16 +0000)]
New modules null.scm, r5rs.scm, safe-r5rs.scm, safe.scm

23 years agoRemove instructions for updating the Majordomo info for the mailing
Jim Blandy [Tue, 20 Jun 2000 22:58:10 +0000 (22:58 +0000)]
Remove instructions for updating the Majordomo info for the mailing
list.  We don't use majordomo any more, and the new list has no info
to be updated.

23 years ago*** empty log message ***
Mikael Djurfeldt [Tue, 20 Jun 2000 22:26:41 +0000 (22:26 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Mikael Djurfeldt [Tue, 20 Jun 2000 22:18:09 +0000 (22:18 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Mikael Djurfeldt [Tue, 20 Jun 2000 18:08:59 +0000 (18:08 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Mikael Djurfeldt [Tue, 20 Jun 2000 17:33:57 +0000 (17:33 +0000)]
*** empty log message ***

23 years agoBetter implementation of first? predicate.
Mikael Djurfeldt [Tue, 20 Jun 2000 17:15:21 +0000 (17:15 +0000)]
Better implementation of first? predicate.

23 years ago*** empty log message ***
Mikael Djurfeldt [Tue, 20 Jun 2000 17:10:45 +0000 (17:10 +0000)]
*** empty log message ***

23 years ago* session.scm (make-fold-modules): Detect circular references in
Mikael Djurfeldt [Tue, 20 Jun 2000 17:10:34 +0000 (17:10 +0000)]
* session.scm (make-fold-modules): Detect circular references in
module graph.  (Thanks to Matthias K\81öppe.)

23 years ago*** empty log message ***
Mikael Djurfeldt [Tue, 20 Jun 2000 14:58:06 +0000 (14:58 +0000)]
*** empty log message ***

23 years ago* gc.h, tags.h: Be kind to compilers which must see hash signs in
Mikael Djurfeldt [Tue, 20 Jun 2000 14:57:55 +0000 (14:57 +0000)]
* gc.h, tags.h: Be kind to compilers which must see hash signs in
column 0.  (Thanks to Ian Grant.)

23 years ago* numbers.h: Put #ifdef HAVE_LONG_LONGS around declarations using
Mikael Djurfeldt [Tue, 20 Jun 2000 14:57:45 +0000 (14:57 +0000)]
* numbers.h: Put #ifdef HAVE_LONG_LONGS around declarations using
the long_long type.  (Thanks to Bernard Urban.)

23 years agoInserted some comments
Mikael Djurfeldt [Tue, 20 Jun 2000 14:55:52 +0000 (14:55 +0000)]
Inserted some comments

23 years ago*** empty log message ***
Mikael Djurfeldt [Tue, 20 Jun 2000 12:33:11 +0000 (12:33 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Mikael Djurfeldt [Tue, 20 Jun 2000 03:24:10 +0000 (03:24 +0000)]
*** empty log message ***

23 years ago* image-type.c: Removed unused scm_smobfuns structure.
Mikael Djurfeldt [Tue, 20 Jun 2000 03:23:39 +0000 (03:23 +0000)]
* image-type.c: Removed unused scm_smobfuns structure.
(init_image_type): Use standard smob type interface.

23 years agoCode layout fix
Mikael Djurfeldt [Tue, 20 Jun 2000 03:23:24 +0000 (03:23 +0000)]
Code layout fix