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.
Dirk Herrmann [Fri, 30 Jun 2000 09:48:25 +0000 (09:48 +0000)]
* Fix range checks of SCM_VALIDATE* macros.
Mikael Djurfeldt [Thu, 29 Jun 2000 23:47:14 +0000 (23:47 +0000)]
*** empty log message ***
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.)
Dirk Herrmann [Thu, 29 Jun 2000 15:54:58 +0000 (15:54 +0000)]
* Cleaned up memory error signalling.
Dirk Herrmann [Thu, 29 Jun 2000 15:06:31 +0000 (15:06 +0000)]
* Removed some unused identifiers and commented code.
Dirk Herrmann [Thu, 29 Jun 2000 13:31:33 +0000 (13:31 +0000)]
* Use appropriate error signalling functions.
Dirk Herrmann [Thu, 29 Jun 2000 09:13:17 +0000 (09:13 +0000)]
* Removed scm_first_type.
Dirk Herrmann [Thu, 29 Jun 2000 08:27:40 +0000 (08:27 +0000)]
* Removed unused identifier MIN_GC_YIELD.
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.
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.
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.
Dirk Herrmann [Tue, 27 Jun 2000 16:00:01 +0000 (16:00 +0000)]
* Switch to standard way of smob initialization.
Dirk Herrmann [Tue, 27 Jun 2000 13:52:49 +0000 (13:52 +0000)]
* gc-thunk is deprecated. Use after-gc-hook instead.
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.
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).
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.
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.
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.
Mikael Djurfeldt [Wed, 21 Jun 2000 02:47:01 +0000 (02:47 +0000)]
*** empty log message ***
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.
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.
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.
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".)
Mikael Djurfeldt [Wed, 21 Jun 2000 02:42:31 +0000 (02:42 +0000)]
* modules.c (scm_selected_module): the_module is now a fluid.
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.
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".
Mikael Djurfeldt [Wed, 21 Jun 2000 01:24:56 +0000 (01:24 +0000)]
Fix
Mikael Djurfeldt [Wed, 21 Jun 2000 01:17:51 +0000 (01:17 +0000)]
*** empty log message ***
Mikael Djurfeldt [Wed, 21 Jun 2000 01:17:28 +0000 (01:17 +0000)]
* null.scm, r5rs.scm, safe-r5rs.scm, safe.scm: New modules.
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.
Mikael Djurfeldt [Wed, 21 Jun 2000 01:16:26 +0000 (01:16 +0000)]
New modules null.scm, r5rs.scm, safe-r5rs.scm, safe.scm
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.
Mikael Djurfeldt [Tue, 20 Jun 2000 22:26:41 +0000 (22:26 +0000)]
*** empty log message ***
Mikael Djurfeldt [Tue, 20 Jun 2000 22:18:09 +0000 (22:18 +0000)]
*** empty log message ***
Mikael Djurfeldt [Tue, 20 Jun 2000 18:08:59 +0000 (18:08 +0000)]
*** empty log message ***
Mikael Djurfeldt [Tue, 20 Jun 2000 17:33:57 +0000 (17:33 +0000)]
*** empty log message ***
Mikael Djurfeldt [Tue, 20 Jun 2000 17:15:21 +0000 (17:15 +0000)]
Better implementation of first? predicate.
Mikael Djurfeldt [Tue, 20 Jun 2000 17:10:45 +0000 (17:10 +0000)]
*** empty log message ***
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.)
Mikael Djurfeldt [Tue, 20 Jun 2000 14:58:06 +0000 (14:58 +0000)]
*** empty log message ***
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.)
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.)
Mikael Djurfeldt [Tue, 20 Jun 2000 14:55:52 +0000 (14:55 +0000)]
Inserted some comments
Mikael Djurfeldt [Tue, 20 Jun 2000 12:33:11 +0000 (12:33 +0000)]
*** empty log message ***
Mikael Djurfeldt [Tue, 20 Jun 2000 03:24:10 +0000 (03:24 +0000)]
*** empty log message ***
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.
Mikael Djurfeldt [Tue, 20 Jun 2000 03:23:24 +0000 (03:23 +0000)]
Code layout fix
Mikael Djurfeldt [Tue, 20 Jun 2000 03:22:56 +0000 (03:22 +0000)]
* data-rep.texi: Center discussion around the standard interface
for smob type creation (scm_make_smob_type) and warn about the
ongoing discussion which may result in deprecating
scm_make_smob_type_mfpe in next release of Guile.
Mikael Djurfeldt [Tue, 20 Jun 2000 02:38:36 +0000 (02:38 +0000)]
*** empty log message ***
Mikael Djurfeldt [Tue, 20 Jun 2000 02:38:19 +0000 (02:38 +0000)]
Layout fix
Mikael Djurfeldt [Tue, 20 Jun 2000 02:37:53 +0000 (02:37 +0000)]
* smob.h: Changed comments for scm_make_smob_type and
scm_make_smob_type_mfpe, warning that the latter might be
deprecated in a future release.
Mikael Djurfeldt [Tue, 20 Jun 2000 02:37:41 +0000 (02:37 +0000)]
* list.c (scm_cons_star): Updated comment.
Mikael Djurfeldt [Tue, 20 Jun 2000 02:37:23 +0000 (02:37 +0000)]
* gc.c, gc.h (scm_default_init_heap_size_1,
scm_default_min_yield_1, scm_default_init_heap_size_2,
scm_default_min_yield_2, scm_default_max_segment_size): New global
variables. Can be customized by the application before booting
Guile. (We might want to be able to control these parameters
dynamically through the "options interface" in the future, but
note that that is additional functionality. Here we're giving
default values which the environment variables can override.)
Mikael Djurfeldt [Tue, 20 Jun 2000 02:36:51 +0000 (02:36 +0000)]
* session.scm: Use module (ice-9 regex).
(help): Regexp-quote a name given as a symbol.
Mikael Djurfeldt [Tue, 20 Jun 2000 02:35:18 +0000 (02:35 +0000)]
* GUILE-VERSION: Changed to work also when included by a Makefile
(e.g. debian/rules). (Thanks to Karl M. Hegbloom.)
(LIBGUILE_MAJOR_VERSION): Bumped to 9.
(GUILE_MINOR_VERSION): Bumped to 4.
Mikael Djurfeldt [Mon, 19 Jun 2000 22:30:31 +0000 (22:30 +0000)]
*** empty log message ***
Mikael Djurfeldt [Mon, 19 Jun 2000 10:05:54 +0000 (10:05 +0000)]
*** empty log message ***
Mikael Djurfeldt [Mon, 19 Jun 2000 10:05:43 +0000 (10:05 +0000)]
* tests/list.test: Use cons* instead of list*.
Mikael Djurfeldt [Mon, 19 Jun 2000 10:05:08 +0000 (10:05 +0000)]
* tags.h (SCM_UNPACK_CAR, SCM_NDOUBLE_CELLP): Removed.
Mikael Djurfeldt [Mon, 19 Jun 2000 10:04:52 +0000 (10:04 +0000)]
* numbers.h (SCM_NEWREAL, SCM_NEWCOMPLEX): Removed.
Mikael Djurfeldt [Mon, 19 Jun 2000 10:04:31 +0000 (10:04 +0000)]
* list.[ch] (scm_cons_star/cons*): Renamed from
scm_list_star/list*.
* list.[ch] (scm_list_star/list*): Provided as a deprecated alias
for scm_cons_star/cons*.
Mikael Djurfeldt [Mon, 19 Jun 2000 10:03:57 +0000 (10:03 +0000)]
* gc.c (scm_protect_object): Updated comment.
Mikael Djurfeldt [Mon, 19 Jun 2000 01:11:38 +0000 (01:11 +0000)]
*** empty log message ***
Mikael Djurfeldt [Mon, 19 Jun 2000 01:11:28 +0000 (01:11 +0000)]
* configure.in: Check for siginterrupt and rl_pre_input_hook.
Mikael Djurfeldt [Mon, 19 Jun 2000 00:48:35 +0000 (00:48 +0000)]
Fix
Mikael Djurfeldt [Mon, 19 Jun 2000 00:42:48 +0000 (00:42 +0000)]
*** empty log message ***
Mikael Djurfeldt [Mon, 19 Jun 2000 00:42:39 +0000 (00:42 +0000)]
* readline.c (sigwinch_enable_restart, scm_init_readline):
Re-enable restart for SIGWINCH signal.
Mikael Djurfeldt [Mon, 19 Jun 2000 00:42:30 +0000 (00:42 +0000)]
* configure.in: Added test if readline clears SA_RESTART flag for
SIGWINCH. (Thanks to Dale P. Smith.)
Mikael Djurfeldt [Mon, 19 Jun 2000 00:42:03 +0000 (00:42 +0000)]
* print.c (scm_current_pstate, scm_make_print_state): Simplified
tests, using the assumption that Guile has been initialized.
Mikael Djurfeldt [Mon, 19 Jun 2000 00:41:54 +0000 (00:41 +0000)]
* gdbint.c (gdb_print): Print warning instead of calling scm_write
if Guile isn't yet initialized.
Mikael Djurfeldt [Mon, 19 Jun 2000 00:41:33 +0000 (00:41 +0000)]
* init.c, init.h (scm_initialized_p): Renamed from `initialized'
and made global.
Greg J. Badros [Sun, 18 Jun 2000 22:30:25 +0000 (22:30 +0000)]
*** empty log message ***
Greg J. Badros [Sun, 18 Jun 2000 21:47:23 +0000 (21:47 +0000)]
* print.c (s_scm_current_pstate): Do not segfault when the
print_state_pool is unitialized in `current-pstate', and better
verify its state before altering it in scm_make_print_state().
Greg J. Badros [Sun, 18 Jun 2000 20:13:42 +0000 (20:13 +0000)]
Inserted old Apr. 18th changelog message that was floating in my work
directory. My apologies for the delay of this commit.
Michael Livshin [Sun, 18 Jun 2000 12:06:43 +0000 (12:06 +0000)]
*** empty log message ***
Michael Livshin [Sun, 18 Jun 2000 12:06:01 +0000 (12:06 +0000)]
* scmsigs.c (s_scm_sigaction): guard the SIGIOT case with an
#ifdef -- it's missing on at least one platform. (thanks to
Jan Nieuwenhuizen).
Dirk Herrmann [Fri, 16 Jun 2000 12:38:41 +0000 (12:38 +0000)]
* Removed duplicate implementation of list*.
Dirk Herrmann [Thu, 15 Jun 2000 08:35:42 +0000 (08:35 +0000)]
* The reference count in scm_unprotect_object is always positive.
Mikael Djurfeldt [Wed, 14 Jun 2000 22:02:28 +0000 (22:02 +0000)]
*** empty log message ***
Mikael Djurfeldt [Wed, 14 Jun 2000 22:02:13 +0000 (22:02 +0000)]
* eval.c: Updated comment above scm_map.
Mikael Djurfeldt [Wed, 14 Jun 2000 15:03:09 +0000 (15:03 +0000)]
*** empty log message ***
Mikael Djurfeldt [Wed, 14 Jun 2000 15:03:01 +0000 (15:03 +0000)]
* readline.c (scm_readline): Added parenthesis around && within
||.
Fixed up prototype for `reentry_barrier'.
Conditionally #include <unistd.h>. (Needed for `dup'.)
Mikael Djurfeldt [Wed, 14 Jun 2000 15:00:52 +0000 (15:00 +0000)]
* gc.c (scm_protect_object): Avoid looking up the object handle
twice.
(scm_unprotect_object): Abort if scm_unprotect_object is called on
an unprotected object.
Michael Livshin [Wed, 14 Jun 2000 14:21:49 +0000 (14:21 +0000)]
* gc.c (scm_unprotect_object): fix a nasty typo bug (thanks to
Dirk Herrmann).
Mikael Djurfeldt [Wed, 14 Jun 2000 01:33:20 +0000 (01:33 +0000)]
*** empty log message ***
Mikael Djurfeldt [Wed, 14 Jun 2000 01:33:10 +0000 (01:33 +0000)]
* socket.c (scm_getsockopt): Changed type for `optlen' from int to
size_t.
(scm_accept, scm_getsockname, scm_getpeername, scm_recvfrom):
Ditto for `tmp_size'.
(scm_addr_buffer_size): Changed type from int to size_t.
Mikael Djurfeldt [Wed, 14 Jun 2000 01:33:02 +0000 (01:33 +0000)]
* random.c: #include <string.h>. (Needed by memcpy.)
Mikael Djurfeldt [Wed, 14 Jun 2000 00:59:55 +0000 (00:59 +0000)]
*** empty log message ***
Mikael Djurfeldt [Wed, 14 Jun 2000 00:59:42 +0000 (00:59 +0000)]
* guile-snarf.awk.in: Replace the dot_doc_file arg with "-",
indicating stdin, instead of "" and don't reset ARGC. This is a
workaround for `nawk' in AIX 4.3 on RS6000 but, as far as I know,
it is correct, and perhaps even better.
Gary Houston [Wed, 14 Jun 2000 00:10:16 +0000 (00:10 +0000)]
*** empty log message ***
Gary Houston [Wed, 14 Jun 2000 00:09:31 +0000 (00:09 +0000)]
* scmsigs.c (scm_init_scmsigs): if HAVE_SIGINTERRUPT is not
defined, add SA_RESTART to the sigaction flags correctly
(thanks to Dale P. Smith).
Mikael Djurfeldt [Tue, 13 Jun 2000 19:35:57 +0000 (19:35 +0000)]
Added section about how to install SLIB.
Mikael Djurfeldt [Tue, 13 Jun 2000 19:08:37 +0000 (19:08 +0000)]
*** empty log message ***
Mikael Djurfeldt [Tue, 13 Jun 2000 19:08:25 +0000 (19:08 +0000)]
* strings.c: #include <string.h>. (Thanks to Bill Schottstaedt.)
Mikael Djurfeldt [Tue, 13 Jun 2000 19:08:14 +0000 (19:08 +0000)]
* net_db.c (scm_resolv_error): Only use macro NETDB_INTERNAL if
defined. It isn't on sgi irix 5.3. (Thanks to Bill Schottstaedt.)
Mikael Djurfeldt [Tue, 13 Jun 2000 11:45:52 +0000 (11:45 +0000)]
*** empty log message ***
Mikael Djurfeldt [Tue, 13 Jun 2000 11:45:40 +0000 (11:45 +0000)]
* Makefile.am (.c.doc): Pipe output (the .x contents) to /dev/null.
Mikael Djurfeldt [Tue, 13 Jun 2000 11:14:35 +0000 (11:14 +0000)]
Code layout fix
Mikael Djurfeldt [Tue, 13 Jun 2000 00:49:57 +0000 (00:49 +0000)]
*** empty log message ***