Michael Livshin [Thu, 17 Aug 2000 20:46:22 +0000 (20:46 +0000)]
*** empty log message ***
Michael Livshin [Thu, 17 Aug 2000 20:39:05 +0000 (20:39 +0000)]
*** empty log message ***
Michael Livshin [Thu, 17 Aug 2000 20:38:44 +0000 (20:38 +0000)]
* gc.c: (scm_default_init_heap_size_*): defined to take cards into
account, but keeping more or less the same values as previously.
added some simple helper macros.
(CLUSTER_SIZE_IN_BYTES, ALIGNMENT_SLACK): defined to take cards
into account.
(BVEC_*, scm_mark_space_t, current_mark_space, mark_space_ptr,
current_mark_space_offset, mark_space_head, get_bvec,
clear_mark_space): new functions and supporting variables, types
and macros that implement mark space management.
(scm_igc): clear the mark space (all of it) before beginning the
mark phase.
(scm_gc_mark): changed the tests for rogue cells, much simplified
throughout (no different mark bit locations to worry about now).
(scm_mark_locations): don't consider card header cells.
(scm_cellp): ditto.
(scm_gc_sweep): simplified.
(init_heap_seg): changed to take cards into account.
Michael Livshin [Thu, 17 Aug 2000 20:38:23 +0000 (20:38 +0000)]
* gc.h (SCM_MARKEDP): simplified, there are no different mark bit
locations anymore.
(SCM_GC_CARD_*, SCM_C_BVEC_*): lots of new macros to deal with
cards and bvecs (bit-vectors).
Michael Livshin [Thu, 17 Aug 2000 20:37:55 +0000 (20:37 +0000)]
* tags.h: (SCM_GCTYPE16, SCM_GCCDR, SCM_GC[8]MARKP,
SCM_SETGC[8]MARK, SCM_CLRGC[8]MARK): moved from here into gc.h.
some (most) of these are probably going to be deprecated.
Mikael Djurfeldt [Thu, 17 Aug 2000 04:10:42 +0000 (04:10 +0000)]
Mikael's ideas on a new type of Scheme interpreter
Mikael Djurfeldt [Thu, 17 Aug 2000 04:08:31 +0000 (04:08 +0000)]
*** empty log message ***
Marius Vollmer [Wed, 16 Aug 2000 22:43:03 +0000 (22:43 +0000)]
*** empty log message ***
Marius Vollmer [Wed, 16 Aug 2000 22:42:41 +0000 (22:42 +0000)]
* optargs.scm (#\&): Emit warning about `#&' being deprecated.
Marius Vollmer [Wed, 16 Aug 2000 19:30:28 +0000 (19:30 +0000)]
*** empty log message ***
Marius Vollmer [Wed, 16 Aug 2000 19:30:07 +0000 (19:30 +0000)]
* optargs.scm: Replaced `#&' reader syntax with keywords.
Michael Livshin [Wed, 16 Aug 2000 00:25:38 +0000 (00:25 +0000)]
*** empty log message ***
Michael Livshin [Wed, 16 Aug 2000 00:23:59 +0000 (00:23 +0000)]
* stime.c (scm_c_get_internal_run_time): new function, same as
scm_get_internal_run_time but returns a long. it's used by the GC
for timekeeping, since with scm_get_internal_run_time there is a
(extremely theoretical) possibility of consing.
(scm_get_internal_run_time): redefined in terms of
scm_c_get_internal_run_time.
* stime.h: added prototype for scm_c_get_internal_run_time.
Michael Livshin [Wed, 16 Aug 2000 00:23:18 +0000 (00:23 +0000)]
* gc.c (scm_gc_stats): add more obscure stats, such as: mark time,
sweep time, total marked cells, total swept cells, and number of
times GC was invoked.
(gc_start_stats): renamed from scm_gc_start, made static, taught
to init the new stats.
(gc_end_stats): renamed from scm_gc_end, made static, taught to
calculate the new stats.
(scm_igc): don't call gc_start_stats unless we are sure that we
are indeed going to collect. also, added some timekeeping between
the mark and sweep phases.
(scm_gc_sweep): count number of cells we sweep as we go.
* gc.h: removed prototypes for scm_gc_{start,end}.
Mikael Djurfeldt [Mon, 14 Aug 2000 15:40:27 +0000 (15:40 +0000)]
*** empty log message ***
Mikael Djurfeldt [Mon, 14 Aug 2000 15:40:03 +0000 (15:40 +0000)]
* format.scm (format:obj->str): Made tail-recursive. (Thanks to
Matthias K\81öppe.)
Mikael Djurfeldt [Sun, 13 Aug 2000 21:05:03 +0000 (21:05 +0000)]
Fix
Mikael Djurfeldt [Sun, 13 Aug 2000 20:53:27 +0000 (20:53 +0000)]
*** empty log message ***
Mikael Djurfeldt [Sun, 13 Aug 2000 20:53:09 +0000 (20:53 +0000)]
* alist.c (scm_assq, scm_assv, scm_assoc): Report argument type
error for the alist rather than the sublist where the type
mismatch is discovered.
Mikael Djurfeldt [Sun, 13 Aug 2000 20:27:39 +0000 (20:27 +0000)]
Regenerated
Mikael Djurfeldt [Sun, 13 Aug 2000 20:26:49 +0000 (20:26 +0000)]
Commentary fix
Mikael Djurfeldt [Sun, 13 Aug 2000 19:21:34 +0000 (19:21 +0000)]
*** empty log message ***
Mikael Djurfeldt [Sun, 13 Aug 2000 19:21:25 +0000 (19:21 +0000)]
* emacs.scm (emacs-symdoc): Parenthesis fix.
Mikael Djurfeldt [Sun, 13 Aug 2000 19:21:14 +0000 (19:21 +0000)]
Updated
Mikael Djurfeldt [Sun, 13 Aug 2000 19:21:04 +0000 (19:21 +0000)]
* psyntax.ss (top-level-eval-hook, local-eval-hook): Pass
`(interaction-environment)' as second arg to `eval'. This is
completely equivalent with the state before the change to eval of
2000-08-11, but we should extend psyntax.ss to be module aware.
(Thanks to Ian Bicking.)
Mikael Djurfeldt [Sun, 13 Aug 2000 04:47:26 +0000 (04:47 +0000)]
*** empty log message ***
Mikael Djurfeldt [Sun, 13 Aug 2000 04:16:18 +0000 (04:16 +0000)]
*** empty log message ***
Mikael Djurfeldt [Sun, 13 Aug 2000 03:44:52 +0000 (03:44 +0000)]
*** empty log message ***
Mikael Djurfeldt [Sun, 13 Aug 2000 02:31:46 +0000 (02:31 +0000)]
*** empty log message ***
Neil Jerram [Sat, 12 Aug 2000 23:15:48 +0000 (23:15 +0000)]
* Docstring fixes.
Neil Jerram [Sat, 12 Aug 2000 22:18:04 +0000 (22:18 +0000)]
Docstring updated so that make-soft-port example is correct.
Neil Jerram [Sat, 12 Aug 2000 22:15:55 +0000 (22:15 +0000)]
Docstring fix - quote quotation marks and backslashes.
Neil Jerram [Sat, 12 Aug 2000 22:13:32 +0000 (22:13 +0000)]
Docstring fix for scm_logand.
Mikael Djurfeldt [Sat, 12 Aug 2000 06:25:04 +0000 (06:25 +0000)]
* translate/langtools.text: New file.
Mikael Djurfeldt [Sat, 12 Aug 2000 06:24:16 +0000 (06:24 +0000)]
*** empty log message ***
Neil Jerram [Fri, 11 Aug 2000 15:12:37 +0000 (15:12 +0000)]
* macros.c: Remove surplus newlines from end of docstrings.
* list.c (scm_list_tail): Add @deffnx line to docstring for
list-cdr-ref.
* keywords.c: Docstring improvements in conjunction with new
reference manual doc on keywords.
* error.c (scm_error_scm): Fix texinfo syntax error in
docstring. (@code(~S) should be @code{~S}.)
* dynl.c: Remove surplus newlines from end of docstrings.
Mikael Djurfeldt [Fri, 11 Aug 2000 09:30:07 +0000 (09:30 +0000)]
*** empty log message ***
Mikael Djurfeldt [Fri, 11 Aug 2000 09:20:14 +0000 (09:20 +0000)]
*** empty log message ***
Mikael Djurfeldt [Fri, 11 Aug 2000 09:20:06 +0000 (09:20 +0000)]
* safe-r5rs.scm (null-environment): Bugfix: Should include
syntactic bindings.
Mikael Djurfeldt [Fri, 11 Aug 2000 09:19:58 +0000 (09:19 +0000)]
* r5rs.scm (interaction-environment): Removed definition. (Is now
provided by libguile/modules.c.)
Mikael Djurfeldt [Fri, 11 Aug 2000 08:46:32 +0000 (08:46 +0000)]
*** empty log message ***
Mikael Djurfeldt [Fri, 11 Aug 2000 08:46:14 +0000 (08:46 +0000)]
* syncase.scm (eval): Add second arg both in definition and use.
Mikael Djurfeldt [Fri, 11 Aug 2000 08:46:07 +0000 (08:46 +0000)]
* slib.scm (slib:eval): Use eval instead of eval-in-module.
(defmacro:eval): Eval in (interaction-environment).
Mikael Djurfeldt [Fri, 11 Aug 2000 08:45:53 +0000 (08:45 +0000)]
* safe-r5rs.scm (eval): Removed definition.
Mikael Djurfeldt [Fri, 11 Aug 2000 08:45:45 +0000 (08:45 +0000)]
* emacs.scm (emacs-eval-request):
(emacs-symdoc): (This procedure needs updating!)
Mikael Djurfeldt [Fri, 11 Aug 2000 08:45:35 +0000 (08:45 +0000)]
* boot-9.scm (record-constructor, record-accessor,
record-modifier, scm-style-repl): Add second arg to eval.
(read-hash-extend #\.): Ditto. (This is actually a bugfix!)
(eval-in-module): Redefined to be eval and deprecated.
Mikael Djurfeldt [Fri, 11 Aug 2000 08:45:19 +0000 (08:45 +0000)]
Deprecated scm_top_level_lookup_closure_var
Mikael Djurfeldt [Fri, 11 Aug 2000 08:44:51 +0000 (08:44 +0000)]
* symbols.c (scm_can_use_top_level_lookup_closure_var): Removed.
#include "modules.h".
Mikael Djurfeldt [Fri, 11 Aug 2000 08:44:43 +0000 (08:44 +0000)]
* strports.c (scm_eval_string): Evaluate in
scm_interaction_environment ().
* strports.c: #include "modules.h".
Mikael Djurfeldt [Fri, 11 Aug 2000 08:44:32 +0000 (08:44 +0000)]
* script.c (scm_shell): Pass scm_the_root_module () as second arg
to new scm_eval_x.
Mikael Djurfeldt [Fri, 11 Aug 2000 08:44:16 +0000 (08:44 +0000)]
* modules.h (SCM_MODULEP, SCM_VALIDATE_MODULE,
SCM_MODULE_OBARRAY, SCM_MODULE_USES, SCM_MODULE_BINDER,
SCM_MODULE_EVAL_CLOSURE): New macros.
(scm_module_index_obarray, scm_module_index_uses,
scm_module_index_binder, scm_module_index_eval_closure): New
constants; #include "validate.h".
Mikael Djurfeldt [Fri, 11 Aug 2000 08:44:02 +0000 (08:44 +0000)]
* modules.c (scm_module_tag, scm_module_system_booted_p): New
globals.
(scm_post_boot_init_modules): Initialize scm_module_tag.
(scm_interaction_environment): New primitive.
Mikael Djurfeldt [Fri, 11 Aug 2000 08:43:49 +0000 (08:43 +0000)]
* load.c (load): Use `scm_selected_module' to compute second arg
to new scm_i_eval_x; Don't call it if module system hasn't booted.
(scm_read_and_eval_x): Deprecated.
#include "modules.h".
Mikael Djurfeldt [Fri, 11 Aug 2000 08:43:08 +0000 (08:43 +0000)]
* evalext.c (scm_definedp): Have to work before module system is
booted.
Mikael Djurfeldt [Fri, 11 Aug 2000 08:43:00 +0000 (08:43 +0000)]
* eval.h: #include "struct.h".
Mikael Djurfeldt [Fri, 11 Aug 2000 08:42:50 +0000 (08:42 +0000)]
* eval.c (scm_eval): Backward incompatible change: Now takes an
environment specifier as second arg. `eval' hereby becomes R5RS
compatible.
(scm_i_eval_x, scm_i_eval): New functions (replace
scm_eval_3).
(scm_eval2, scm_eval_3): Deprecated.
(scm_top_level_lookup_closure_var): Deprecated.
Mikael Djurfeldt [Fri, 11 Aug 2000 08:42:42 +0000 (08:42 +0000)]
* debug.c (scm_local_eval): Use scm_i_eval and scm_i_eval_x.
(scm_start_stack): Use scm_i_eval.
Mikael Djurfeldt [Fri, 11 Aug 2000 00:45:33 +0000 (00:45 +0000)]
*** empty log message ***
Mikael Djurfeldt [Fri, 11 Aug 2000 00:45:25 +0000 (00:45 +0000)]
* print.c (scm_simple_format): Be case-insensitive for ~A and ~S
directives.
Mikael Djurfeldt [Fri, 11 Aug 2000 00:45:09 +0000 (00:45 +0000)]
* Makefile.am (ice9_sources): Added receive.scm, srfi-8.scm.
Mikael Djurfeldt [Fri, 11 Aug 2000 00:44:49 +0000 (00:44 +0000)]
* boot-9.scm (scm-style-repl): Print multiple values on successive
lines.
* boot-9.scm (process-define-module): Bugfix: Make sure that
exports are done *after* all used interfaces has been added.
Mikael Djurfeldt [Fri, 11 Aug 2000 00:44:36 +0000 (00:44 +0000)]
* receive.scm, srfi-8.scm: New files.
Mikael Djurfeldt [Wed, 9 Aug 2000 18:29:48 +0000 (18:29 +0000)]
*** empty log message ***
Mikael Djurfeldt [Wed, 9 Aug 2000 18:29:39 +0000 (18:29 +0000)]
* struct.h (SCM_STRUCT_GC_CHAIN, SCM_SET_STRUCT_GC_CHAIN): New
macros.
(scm_structs_to_free, scm_struct_prehistory): Declare.
Mikael Djurfeldt [Wed, 9 Aug 2000 18:29:31 +0000 (18:29 +0000)]
* struct.c (scm_make_struct, scm_make_vtable_vtable): Structs
handles are now double cells; Initialize SCM_STRUCT_GC_CHAIN to
0.
(scm_struct_gc_init, scm_free_structs): New GC C hooks.
(scm_struct_prehistory): Install them.
Mikael Djurfeldt [Wed, 9 Aug 2000 18:29:21 +0000 (18:29 +0000)]
* init.c (scm_boot_guile_1): Call scm_struct_prehistory.
Mikael Djurfeldt [Wed, 9 Aug 2000 18:29:10 +0000 (18:29 +0000)]
* gc.c (scm_gc_mark, scm_gc_sweep): Remove vcell = 1 magic.
(scm_structs_to_free): New variable.
(scm_gc_sweep): Hook up structs to free on the scm_structs_to_free
chain.
Mikael Djurfeldt [Mon, 7 Aug 2000 20:20:24 +0000 (20:20 +0000)]
*** empty log message ***
Marius Vollmer [Sun, 6 Aug 2000 22:04:35 +0000 (22:04 +0000)]
*** empty log message ***
Marius Vollmer [Sun, 6 Aug 2000 22:04:11 +0000 (22:04 +0000)]
* read.c (scm_flush_ws): Include filename in error message when it
is not `#f'.
Marius Vollmer [Sat, 5 Aug 2000 14:34:00 +0000 (14:34 +0000)]
*** empty log message ***
Marius Vollmer [Sat, 5 Aug 2000 14:33:31 +0000 (14:33 +0000)]
* iselect.c: Include <unistd.h>. Thanks to Bertrand Petit!
Mikael Djurfeldt [Wed, 2 Aug 2000 06:48:28 +0000 (06:48 +0000)]
*** empty log message ***
Mikael Djurfeldt [Wed, 2 Aug 2000 06:35:18 +0000 (06:35 +0000)]
*** empty log message ***
Mikael Djurfeldt [Wed, 2 Aug 2000 06:34:51 +0000 (06:34 +0000)]
* struct.c (scm_make_struct_layout, scm_make_struct,
scm_make_vtable_vtable): Updated documentation.
Mikael Djurfeldt [Wed, 2 Aug 2000 06:11:08 +0000 (06:11 +0000)]
*** empty log message ***
Mikael Djurfeldt [Wed, 2 Aug 2000 06:00:28 +0000 (06:00 +0000)]
*** empty log message ***
Mikael Djurfeldt [Wed, 2 Aug 2000 06:00:09 +0000 (06:00 +0000)]
* print.c (scm_simple_format): Bugfix: Coerce port before using it.
Gary Houston [Tue, 1 Aug 2000 18:43:54 +0000 (18:43 +0000)]
*** empty log message ***
Gary Houston [Mon, 31 Jul 2000 21:09:02 +0000 (21:09 +0000)]
*** empty log message ***
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).
Gary Houston [Mon, 31 Jul 2000 21:03:47 +0000 (21:03 +0000)]
*** empty log message ***
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.
Marius Vollmer [Sun, 30 Jul 2000 13:41:01 +0000 (13:41 +0000)]
*** empty log message ***
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.
Neil Jerram [Fri, 28 Jul 2000 13:19:01 +0000 (13:19 +0000)]
Fix spelling mistake
Dirk Herrmann [Wed, 26 Jul 2000 11:29:58 +0000 (11:29 +0000)]
* Renamed local variable 'free' to avoid confusion with stdlib's 'free'.
Dirk Herrmann [Wed, 26 Jul 2000 09:20:09 +0000 (09:20 +0000)]
* Fix vector initialization.
Dirk Herrmann [Wed, 26 Jul 2000 08:35:35 +0000 (08:35 +0000)]
* Fixed struct initialization.
Mikael Djurfeldt [Wed, 26 Jul 2000 05:08:23 +0000 (05:08 +0000)]
*** empty log message ***
Mikael Djurfeldt [Tue, 25 Jul 2000 20:28:35 +0000 (20:28 +0000)]
*** empty log message ***
Marius Vollmer [Tue, 25 Jul 2000 19:06:47 +0000 (19:06 +0000)]
*** empty log message ***
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.
Marius Vollmer [Sun, 23 Jul 2000 23:13:01 +0000 (23:13 +0000)]
*** empty log message ***
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!
Marius Vollmer [Sun, 23 Jul 2000 23:12:02 +0000 (23:12 +0000)]
* common-list.scm (uniq): Made tail-recursive. Thanks to thi!
Marius Vollmer [Sun, 23 Jul 2000 11:50:33 +0000 (11:50 +0000)]
*** empty log message ***
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!
Marius Vollmer [Wed, 19 Jul 2000 18:10:46 +0000 (18:10 +0000)]
*** empty log message ***
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.