Han-Wen Nienhuys [Wed, 21 Aug 2002 22:40:03 +0000 (22:40 +0000)]
make scm_cells_allocated unsigned again. Thanks to
Bill Schottstaedt for the bug report
Marius Vollmer [Mon, 19 Aug 2002 23:25:33 +0000 (23:25 +0000)]
*** empty log message ***
Marius Vollmer [Mon, 19 Aug 2002 23:23:23 +0000 (23:23 +0000)]
Updated copyright years.
Marius Vollmer [Mon, 19 Aug 2002 23:22:42 +0000 (23:22 +0000)]
(scm_iprin1): Print primitives generics always as "primitive-generic"
even when they have no primitive methods yet.
Gary Houston [Sat, 17 Aug 2002 20:39:35 +0000 (20:39 +0000)]
* coop.c (coop_create): removed bogus 2nd argument in scm_malloc
call.
Han-Wen Nienhuys [Fri, 16 Aug 2002 22:07:26 +0000 (22:07 +0000)]
* ports.c (scm_add_to_port_table): small bugfix.
* ports.c (scm_add_to_port_table): add backwards compatibility
function
Han-Wen Nienhuys [Fri, 16 Aug 2002 22:01:10 +0000 (22:01 +0000)]
* mallocs.c (scm_malloc_obj): use scm_gc_malloc in stead of
malloc.
* gc-segment.c (scm_i_get_new_heap_segment): remove cluster cruft:
only use SCM_MIN_HEAP_SEG_SIZE.
* ports.c (scm_add_to_port_table): add backwards compatibility
function
* ports.h: use scm_i_ prefix for port table and port table size.
Mikael Djurfeldt [Thu, 15 Aug 2002 21:17:21 +0000 (21:17 +0000)]
* vports.c (scm_make_soft_port): Initialize pt variable.
Marius Vollmer [Tue, 13 Aug 2002 22:06:22 +0000 (22:06 +0000)]
*** empty log message ***
Marius Vollmer [Tue, 13 Aug 2002 22:06:14 +0000 (22:06 +0000)]
(eval-string): Updated.
Marius Vollmer [Tue, 13 Aug 2002 22:05:46 +0000 (22:05 +0000)]
(Fluids): Touched up a bit, added with-fluids.
Marius Vollmer [Tue, 13 Aug 2002 20:54:36 +0000 (20:54 +0000)]
*** empty log message ***
Marius Vollmer [Tue, 13 Aug 2002 20:54:12 +0000 (20:54 +0000)]
* strports.h (scm_c_eval_string_in_module,
scm_eval_string_in_module): New prototypes.
* strports.c (scm_eval_string_in_module): New, but use
"eval-string" as the Scheme name and make second parameter
optional.
(scm_eval_string): Implement using scm_eval_string_in_module.
(scm_c_eval_string_in_module): New.
Thanks to Ralf Mattes for the suggestion!
Marius Vollmer [Mon, 12 Aug 2002 23:10:44 +0000 (23:10 +0000)]
*** empty log message ***
Marius Vollmer [Mon, 12 Aug 2002 23:10:38 +0000 (23:10 +0000)]
(More Modules Procedures): Removed. (Accessing Modules from C): New.
Gary Houston [Sat, 10 Aug 2002 14:23:49 +0000 (14:23 +0000)]
* scheme-modules.texi (Compiled Code Modules): replace
gh_new_procedure with scm_c_define_gsubr.
Gary Houston [Sat, 10 Aug 2002 14:09:55 +0000 (14:09 +0000)]
* new section Primitive Procedures, documentation for
scm_c_make_gsubr and scm_c_define_gsubr.
Han-Wen Nienhuys [Thu, 8 Aug 2002 23:18:23 +0000 (23:18 +0000)]
* gc-card.c ("sweep_card"): remove SCM_MISC_ERROR messages: print
message and abort.
* gc-mark.c ("scm_gc_mark_dependencies"): idem.
Han-Wen Nienhuys [Thu, 8 Aug 2002 23:02:28 +0000 (23:02 +0000)]
("scm_new_port_table_entry"): return a boxed SCM in
stead of scm_t_port*. The function now takes a tag argument.
Neil Jerram [Thu, 8 Aug 2002 22:43:32 +0000 (22:43 +0000)]
More interbranch doc syncing.
Neil Jerram [Thu, 8 Aug 2002 21:47:53 +0000 (21:47 +0000)]
Add examples from Ian Sheldon, and merge recent updates from stable branch.
Han-Wen Nienhuys [Thu, 8 Aug 2002 19:47:31 +0000 (19:47 +0000)]
* gc.h: add scm_debug_cells_gc_interval to public interface
* gc-card.c ("sweep_card"): set scm_gc_running while sweeping.
* gc.c (scm_i_expensive_validation_check): separate expensive
validation checks from cheap ones.
Marius Vollmer [Thu, 8 Aug 2002 17:07:23 +0000 (17:07 +0000)]
*** empty log message ***
Marius Vollmer [Thu, 8 Aug 2002 17:07:10 +0000 (17:07 +0000)]
Don't talk about 'bound?' which is gone. Thanks to Christopher
Cramer.
Han-Wen Nienhuys [Mon, 5 Aug 2002 23:11:59 +0000 (23:11 +0000)]
(scm_input_error): new function: give meaningful error
messages, and throw read-error
Han-Wen Nienhuys [Mon, 5 Aug 2002 23:04:44 +0000 (23:04 +0000)]
* tests/reader.test: change misc-error in read-error.
* read.c (scm_input_error): new function: give meaningful error
messages, and throw read-error
* gc-malloc.c (scm_calloc): add scm_calloc.
* scheme-memory.texi (Memory Blocks): add scm_calloc, scm_gc_calloc.
correct typos.
Marius Vollmer [Mon, 5 Aug 2002 18:52:43 +0000 (18:52 +0000)]
*** empty log message ***
Marius Vollmer [Mon, 5 Aug 2002 18:52:27 +0000 (18:52 +0000)]
Added (use-modules (ice-9 rdelim)) to an example that uses read-line.
Thanks to Ralf Mattes!
Marius Vollmer [Mon, 5 Aug 2002 18:50:54 +0000 (18:50 +0000)]
Added an introductory blurb about GC that I had lying around.
Marius Vollmer [Mon, 5 Aug 2002 18:47:41 +0000 (18:47 +0000)]
Added Han Wen Nienhuys as contributor.
Han-Wen Nienhuys [Mon, 5 Aug 2002 17:46:34 +0000 (17:46 +0000)]
remove GC bits documentation from the tags table.
Han-Wen Nienhuys [Sun, 4 Aug 2002 23:33:28 +0000 (23:33 +0000)]
(INPUT_ERROR): Prepare for file:line:column error
messages for errors in scm_lreadr() and friends.
Gary Houston [Sun, 4 Aug 2002 19:49:56 +0000 (19:49 +0000)]
minor help-line edit
Han-Wen Nienhuys [Sun, 4 Aug 2002 16:10:19 +0000 (16:10 +0000)]
init port entry
Han-Wen Nienhuys [Sun, 4 Aug 2002 15:25:07 +0000 (15:25 +0000)]
port GC fix
Han-Wen Nienhuys [Sun, 4 Aug 2002 14:09:14 +0000 (14:09 +0000)]
gc statistic tweaks
Han-Wen Nienhuys [Sun, 4 Aug 2002 00:18:33 +0000 (00:18 +0000)]
more code
Han-Wen Nienhuys [Sun, 4 Aug 2002 00:17:18 +0000 (00:17 +0000)]
new gc
Gary Houston [Fri, 2 Aug 2002 22:58:38 +0000 (22:58 +0000)]
* scheme-modules.texi: split "Scheme and modules" into
"provide and require" and "Environments". Mention R5RS
environments.
Marius Vollmer [Thu, 1 Aug 2002 18:43:19 +0000 (18:43 +0000)]
*** empty log message ***
Marius Vollmer [Thu, 1 Aug 2002 18:42:11 +0000 (18:42 +0000)]
Moved here from parent directory.
Marius Vollmer [Fri, 26 Jul 2002 16:21:00 +0000 (16:21 +0000)]
*** empty log message ***
Marius Vollmer [Fri, 26 Jul 2002 16:20:53 +0000 (16:20 +0000)]
(dist-hook): Use quotes so that an empty SCM_BENCHMARKS_DIRS works.
Marius Vollmer [Fri, 26 Jul 2002 16:00:38 +0000 (16:00 +0000)]
*** empty log message ***
Marius Vollmer [Fri, 26 Jul 2002 16:00:27 +0000 (16:00 +0000)]
(SCM_BENCHMARKS): List the real benchmarks, not foo
and bar.
(SCM_BENCHMARKS_DIRS): Uncommented, with an empty value.
Marius Vollmer [Thu, 25 Jul 2002 12:12:33 +0000 (12:12 +0000)]
*** empty log message ***
Marius Vollmer [Thu, 25 Jul 2002 12:12:21 +0000 (12:12 +0000)]
(rstate_free): Return zero.
Dirk Herrmann [Wed, 24 Jul 2002 16:34:43 +0000 (16:34 +0000)]
* environments.c (remove_key_from_alist): Removed.
(obarray_remove): Simplified.
Stefan Jahn [Wed, 24 Jul 2002 09:25:24 +0000 (09:25 +0000)]
2002-07-24 Stefan Jahn <stefan@lkcc.org>
* continuations.h: ia64: Include <signal.h> before
<sys/ucontext.h>.
Han-Wen Nienhuys [Mon, 22 Jul 2002 00:17:26 +0000 (00:17 +0000)]
(mscripts): find and check version number of
automake. Complain if 1.6 is not found.
Dirk Herrmann [Sun, 21 Jul 2002 21:18:27 +0000 (21:18 +0000)]
* modules.c (scm_sym2var): Don't compare SCM values with ==.
Han-Wen Nienhuys [Sun, 21 Jul 2002 17:46:23 +0000 (17:46 +0000)]
* macros.c: include deprecation.h
* vectors.c (s_scm_vector_move_right_x): remove side effect in
macro arg.
(s_scm_vector_move_left_x): idem.
* net_db.c, posix.c, socket.c: variable naming: change ans to
result.
* sort.c (scm_merge_vector_x): accept vector as argument
iso. SCM*. This is needed for full GC correctness.
* gc.h: undo previous undocumented changes related to #ifdef
GENGC.
Dirk Herrmann [Sun, 21 Jul 2002 12:01:26 +0000 (12:01 +0000)]
* lib.scm (print-result, print-user-result): Changed the
reporter's outputs to use symbols rather than strings to document
the individual values. Thanks to Neil Jerram for the suggestion.
Dirk Herrmann [Sun, 21 Jul 2002 10:22:54 +0000 (10:22 +0000)]
* benchmarks/0-reference.bm: Added as a reference benchmark to be
used to calibrate iteration counts.
* lib.scm: Added documentation. Added some initialization
messages.
(benchmark-time-base, benchmark-total-time, benchmark-user-time,
benchmark-system-time, benchmark-frame-time, benchmark-core-time,
benchmark-user-time\interpreter, benchmark-core-time\interpreter):
Exported.
(benchmark-time-base, time-base): Renamed time-base to
benchmark-time-base and introduced new time-base as a short-cut.
(total-time, benchmark-total-time, user-time, benchmark-user-time,
system-time, benchmark-system-time, frame-time,
benchmark-frame-time, benchmark-time, benchmark-core-time,
user-time\interpreter, benchmark-user-time\interpreter,
benchmark-time\interpreter, benchmark-core-time\interpreter,
print-result, print-user-result): Renamed <foo>-time to
benchmark-<foo>-time. Exceptions: benchmark-time and
benchmark-time\interpreter were renamed to benchmark-core-time and
benchmark-core-time\interpreter, respectively.
Han-Wen Nienhuys [Sat, 20 Jul 2002 14:08:34 +0000 (14:08 +0000)]
2002-07-20 Han-Wen <hanwen@cs.uu.nl>
* *.c: add space after commas everywhere.
* *.c: use SCM_VECTOR_SET everywhere, where a vector is written.
Document cases where SCM_WRITABLE_VELTS() is used.
* vectors.h (SCM_VELTS): prepare for write barrier, and let
SCM_VELTS() return a const pointer
(SCM_VECTOR_SET): add macro.
* autogen.sh (mscripts): find and check version number of
autoconf. Complain if 2.53 is not found.
Dirk Herrmann [Sat, 20 Jul 2002 01:30:36 +0000 (01:30 +0000)]
* benchmark-guile.in: Copied from check-guile.in and adapted for
use with benchmarks.
* Makefile.am: Recurse into the benchmark-suite subdir.
* configure.in: Added benchmarking files.
Dirk Herrmann [Sat, 20 Jul 2002 01:21:36 +0000 (01:21 +0000)]
* COPYING, README, Makefile.am, lib.scm, guile-benchmark: Copied
from the test-suite directory, renamed and adapted for use with
benchmarks.
* benchmarks/logand.bm, benchmarks/continuations.bm,
benchmarks/if.bm: Added as initial fairly stupid examples for
benchmarks.
Marius Vollmer [Wed, 17 Jul 2002 18:55:20 +0000 (18:55 +0000)]
*** empty log message ***
Marius Vollmer [Wed, 17 Jul 2002 18:54:57 +0000 (18:54 +0000)]
Added configuration for ARM.
Marius Vollmer [Wed, 17 Jul 2002 18:53:57 +0000 (18:53 +0000)]
New.
Neil Jerram [Tue, 16 Jul 2002 22:25:49 +0000 (22:25 +0000)]
New doc about stack overflow.
Neil Jerram [Tue, 16 Jul 2002 20:57:34 +0000 (20:57 +0000)]
Apply patch from M. Luedde on use of tail recursion to avoid stack overflow
Dirk Herrmann [Mon, 15 Jul 2002 20:39:53 +0000 (20:39 +0000)]
* eval.c (SCM_CEVAL), macros.c (macro_print, scm_makmacro,
scm_sym_macro, scm_macro_type), macros.h (scm_makmacro):
Deprecated the special kind of built-in dynamic syntax transformer
that was inaccurately named "macro". Note: The built-in syntax
transformers that are named "mmacro" or "memoizing-macro" still
exist, and it is these which come much closer to what one would
call a macro.
Neil Jerram [Sun, 14 Jul 2002 15:43:24 +0000 (15:43 +0000)]
Fix for 1001-local-eval-error-backtrace-segfaults.
Dirk Herrmann [Sat, 13 Jul 2002 09:44:39 +0000 (09:44 +0000)]
* oop/goops.scm (define-generic, define-accessor): Make sure that
define-generic and define-accessor will continue to work when
mmacros are expanded before execution.
* test-suite/tests/goops.test: Added tests for define-generic and
define-accessor.
Dirk Herrmann [Sat, 13 Jul 2002 08:18:35 +0000 (08:18 +0000)]
* oop/goops.scm (define-class): Make sure that define-class will
continue to work when mmacros are expanded before execution.
* test-suite/tests/goops.test: Added tests for define-class.
Gary Houston [Fri, 12 Jul 2002 17:46:15 +0000 (17:46 +0000)]
* dynl.c: Don't define stub procedures if DYNAMIC_LINKING is not
defined. They don't do anything useful, especially since the
only case where DYNAMIC_LINKING is undefined seems to be
when --with-modules=no is given to configure, which is basically
requesting that the "dynamic linking module" be omitted.
* Makefile.am (libguile_la_SOURCES): move dynl.c from
libguile_la_SOURCES to EXTRA_libguile_la_SOURCES.
* extensions.c (load_extension): check DYNAMIC_LINKING for
scm_dynamic_call.
* init.c (scm_init_guile_1): check DYNAMIC_LINKING for
scm_init_dynamic_linking.
* configure.in: check dynamic linking before modules. Add dynl.c
if dynamic linking is available, i.e., unless --with-modules=no
was given to configure.
Marius Vollmer [Thu, 11 Jul 2002 23:21:25 +0000 (23:21 +0000)]
Added 2002 to the copyright years.
Marius Vollmer [Thu, 11 Jul 2002 23:20:45 +0000 (23:20 +0000)]
*** empty log message ***
Marius Vollmer [Thu, 11 Jul 2002 23:20:16 +0000 (23:20 +0000)]
Added Clinton Ebadi.
Gary Houston [Wed, 10 Jul 2002 22:25:55 +0000 (22:25 +0000)]
* eq.c: include <string.h>
Gary Houston [Wed, 10 Jul 2002 22:21:25 +0000 (22:21 +0000)]
* scheme-modules.texi (Compiled Code Modules): Removed description
of scm_register_module_xxx, which no longer exists. A description
of current techniques is needed.
Gary Houston [Wed, 10 Jul 2002 22:20:16 +0000 (22:20 +0000)]
* dynl.c: docstring editing.
Marius Vollmer [Wed, 10 Jul 2002 19:40:43 +0000 (19:40 +0000)]
No need to check for Cygwin when including <winsock2.h>, this is
already check for by configure. Thus, revert change from 2002-07-07.
Gary Houston [Wed, 10 Jul 2002 18:13:59 +0000 (18:13 +0000)]
*** empty log message ***
Gary Houston [Wed, 10 Jul 2002 17:18:41 +0000 (17:18 +0000)]
* docstring.el: optional 2nd environment variable to locate
built files.
Gary Houston [Tue, 9 Jul 2002 22:40:03 +0000 (22:40 +0000)]
* dynl.c (scm_dynamic_call): docstring editing.
Gary Houston [Tue, 9 Jul 2002 21:09:58 +0000 (21:09 +0000)]
* docstring.el: defined caddr, used in several places but missing
for some reason.
Marius Vollmer [Tue, 9 Jul 2002 13:25:53 +0000 (13:25 +0000)]
*** empty log message ***
Marius Vollmer [Tue, 9 Jul 2002 13:25:40 +0000 (13:25 +0000)]
Patch libltdl/ltdl.c to avoid a nasty bug in libtool-1.4.2.
Rob Browning [Tue, 9 Jul 2002 04:42:49 +0000 (04:42 +0000)]
*** empty log message ***
Rob Browning [Mon, 8 Jul 2002 23:41:00 +0000 (23:41 +0000)]
* gc_os_dep.c: HURD fixes.
Marius Vollmer [Mon, 8 Jul 2002 20:55:30 +0000 (20:55 +0000)]
*** empty log message ***
Marius Vollmer [Mon, 8 Jul 2002 20:55:20 +0000 (20:55 +0000)]
(make-exchanger): Added. Thanks to Clinton Ebadi!
Dirk Herrmann [Mon, 8 Jul 2002 20:40:32 +0000 (20:40 +0000)]
* goops.scm (define-generic, define-accessor): Make sure that
implicit redefines only happen on top level.
* goops.scm (define-class, define-generic, define-accessor),
goops/stklos.scm (define-class): Use mmacros instead of macros.
Marius Vollmer [Mon, 8 Jul 2002 18:55:21 +0000 (18:55 +0000)]
Renamed :rename to :renamer.
Marius Vollmer [Sun, 7 Jul 2002 20:22:15 +0000 (20:22 +0000)]
*** empty log message ***
Marius Vollmer [Sun, 7 Jul 2002 20:17:29 +0000 (20:17 +0000)]
* autogen.sh: Do not copy INSTALL from workbook since it is not
uniform across branches.
* INSTALL: Re-added to repository.
Marius Vollmer [Sun, 7 Jul 2002 20:06:31 +0000 (20:06 +0000)]
*** empty log message ***
Marius Vollmer [Sun, 7 Jul 2002 19:58:15 +0000 (19:58 +0000)]
Do not include <winsock2.h> on Cygwin even when we have it.
Marius Vollmer [Sun, 7 Jul 2002 19:50:49 +0000 (19:50 +0000)]
Override default rule for c-tokenize.$(OBJECT);
this should be compiled for BUILD host.
Override default rule for
guile_filter_doc_snarfage$(EEXECT); this should run on BUILD host.
Add missing $(EXEEXT) to guile_filter_doc_snarfage invocation.
(snarf2checkedtexi): Use GUILE_FOR_BUILD instead of preinstguile.
Marius Vollmer [Sun, 7 Jul 2002 19:40:09 +0000 (19:40 +0000)]
*** empty log message ***
Marius Vollmer [Sun, 7 Jul 2002 19:39:21 +0000 (19:39 +0000)]
Only fix libltdl/configure.in if it exists. Current libtool CVS does
not need this fix.
Marius Vollmer [Sun, 7 Jul 2002 19:38:23 +0000 (19:38 +0000)]
* configure.in (AC_LIBTOOL_WIN32_DLL): Add for shared Cygwin
build.
Add --with-cc-for-build option to re-enable cross building.
Add --with-guile-for-build option to re-enable cross building.
Marius Vollmer [Sun, 7 Jul 2002 19:36:42 +0000 (19:36 +0000)]
Crosscompiling and Cygwin fixes from Jan Nieuwenhuizen. Thanks!
Dirk Herrmann [Sun, 7 Jul 2002 05:18:17 +0000 (05:18 +0000)]
* now using mmacros instead of macros at some places.
Dirk Herrmann [Sun, 30 Jun 2002 22:40:01 +0000 (22:40 +0000)]
* __scm.h (SCM_CAUTIOUS), eval.c (scm_eval_args, deval_args,
SCM_CEVAL): Removed compile time option SCM_CAUTIOUS to clean up
the code. Full number of arguments checking of closures is
mandatory now. However, the option to disable the checking has
most probably not been used anyway.
Dirk Herrmann [Sun, 30 Jun 2002 22:03:43 +0000 (22:03 +0000)]
* backtrace.c (SCM_ASSERT), debug.c (scm_debug_options), eval.c
(scm_lookupcar, scm_lookupcar1, scm_badargsp, SCM_CEVAL,
SCM_APPLY, scm_map, scm_for_each), feature.c (scm_init_feature),
gsubr.c (scm_gsubr_apply), numbers.c (scm_logand, scm_logior,
scm_logxor, scm_i_dbl2big), srcprop.c (scm_source_properties,
scm_set_source_properties_x, scm_source_property): Removed
compile time option SCM_RECKLESS to clean up the code. Full
number of arguments checking of closures is mandatory now.
However, the option to disable the checking has most probably not
been used anyway.
* srcprop.c (scm_source_properties, scm_set_source_properties_x,
scm_source_property): Use !SCM_CONSP instead of SCM_NCONSP.
Gary Houston [Sun, 30 Jun 2002 20:34:38 +0000 (20:34 +0000)]
* dynl.c: Removed all SCM_DEFER_INTS/SCM_ALLOW_INTS, which won't
do anything useful. Added a comment about need for a mutex if
pre-emptive threading is supported.
Gary Houston [Sun, 30 Jun 2002 19:27:18 +0000 (19:27 +0000)]
* posix.c (scm_convert_exec_args), dynl.c
(scm_make_argv_from_stringlist): static procs: 1) renamed both to
allocate_string_pointers. 2) simplified: don't reallocate the
strings, just make an array of pointers 3) avoid memory leaks on
error 4) let the procedure report errors in its own name.
Consequences: 1) the procedures now assume that SCM strings are
nul-terminated, which should always be the case. 2) Since strings
are not reallocated, it's now possible for strings passed to
dynamic-args-call to be mutated.