Marius Vollmer [Thu, 3 Oct 2002 15:25:12 +0000 (15:25 +0000)]
*** empty log message ***
Marius Vollmer [Thu, 3 Oct 2002 15:25:04 +0000 (15:25 +0000)]
(How guile-snarf works): Updated.
(Writing your own snarfing macros): New.
Neil Jerram [Wed, 25 Sep 2002 00:06:38 +0000 (00:06 +0000)]
Doc updates, including contribution from Ian Sheldon.
Gary Houston [Tue, 24 Sep 2002 22:21:01 +0000 (22:21 +0000)]
* inline.h (scm_double_cell): prevent reordering of statements
with any following code (for GCC 3 strict-aliasing).
* numbers.c (scm_make_real), num2float.i.c (FLOAT2NUM): removed
the earlier version of the reordering prevention.
Neil Jerram [Thu, 19 Sep 2002 20:39:41 +0000 (20:39 +0000)]
Improvements to hook docs.
Han-Wen Nienhuys [Thu, 19 Sep 2002 11:14:46 +0000 (11:14 +0000)]
(scm_double_cell): move SET_GCMARK set out of if body.
Marius Vollmer [Mon, 16 Sep 2002 20:03:03 +0000 (20:03 +0000)]
*** empty log message ***
Marius Vollmer [Mon, 16 Sep 2002 20:01:34 +0000 (20:01 +0000)]
(Symbol Props): It's "set-symbol-property!", not
"set-symbol-property". Thanks to Pieter Pareit!
Marius Vollmer [Sun, 15 Sep 2002 21:31:42 +0000 (21:31 +0000)]
Tell them to use 'provided?' instead of '*feaures*'.
Marius Vollmer [Sun, 15 Sep 2002 21:30:39 +0000 (21:30 +0000)]
(feature?): Added deprecation message.
Rob Browning [Sun, 15 Sep 2002 01:21:37 +0000 (01:21 +0000)]
*** empty log message ***
Rob Browning [Sun, 15 Sep 2002 01:19:17 +0000 (01:19 +0000)]
* boot-9.scm (sqrt): minor indentation fix.
Rob Browning [Sun, 15 Sep 2002 01:11:00 +0000 (01:11 +0000)]
*** empty log message ***
Rob Browning [Sun, 15 Sep 2002 01:09:47 +0000 (01:09 +0000)]
* .cvsignore: add stamp-vti.1
Rob Browning [Sun, 15 Sep 2002 01:08:32 +0000 (01:08 +0000)]
* .cvsignore: new file.
Marius Vollmer [Mon, 9 Sep 2002 21:48:21 +0000 (21:48 +0000)]
*** empty log message ***
Marius Vollmer [Mon, 9 Sep 2002 21:48:12 +0000 (21:48 +0000)]
(Creating a Procedure): Fixed typo. Thanks to Pieter Pareit!
Marius Vollmer [Mon, 9 Sep 2002 21:34:39 +0000 (21:34 +0000)]
Added P Pareit.
Marius Vollmer [Mon, 9 Sep 2002 21:32:36 +0000 (21:32 +0000)]
*** empty log message ***
Marius Vollmer [Mon, 9 Sep 2002 21:32:29 +0000 (21:32 +0000)]
Updated GNu ftp server name. Use "-lguile" instead of "libguile.a".
Some small fixes/improvements.
Marius Vollmer [Mon, 9 Sep 2002 20:59:43 +0000 (20:59 +0000)]
*** empty log message ***
Marius Vollmer [Mon, 9 Sep 2002 20:58:26 +0000 (20:58 +0000)]
(dist-hook): Do not distribute CVS directories. Thanks to Greg
Troxel!
Marius Vollmer [Mon, 9 Sep 2002 20:02:57 +0000 (20:02 +0000)]
Added Eric Hanchrow.
Marius Vollmer [Mon, 9 Sep 2002 20:02:52 +0000 (20:02 +0000)]
Updated.
Marius Vollmer [Mon, 9 Sep 2002 20:01:25 +0000 (20:01 +0000)]
*** empty log message ***
Marius Vollmer [Mon, 9 Sep 2002 20:01:18 +0000 (20:01 +0000)]
Added schemers.org. Removed foldoc, it's too generic. Updated
'teach yourself ...' URL.
Han-Wen Nienhuys [Mon, 9 Sep 2002 14:09:35 +0000 (14:09 +0000)]
(scm_gc_register_collectable_memory): more overflow
protection.
Han-Wen Nienhuys [Sun, 8 Sep 2002 11:31:32 +0000 (11:31 +0000)]
* inline.h: include stdio.h
* smob.c (free_print): abort if scm_debug_cell_accesses_p is set
Han-Wen Nienhuys [Thu, 5 Sep 2002 21:55:33 +0000 (21:55 +0000)]
* gc-segment.c (scm_i_make_initial_segment): check user settings
for sanity.
* gc-malloc.c (scm_gc_init_malloc): check user settings for
sanity.
(scm_gc_register_collectable_memory): prevent overflow of memory
counts.
* gc-freelist.c (scm_init_freelist): check user settings for sanity.
* gc-malloc.c (scm_gc_register_collectable_memory): use floats;
these won't ever wrap around with high memory usage.
* gc-freelist.c: include <stdio.h>
* gc-malloc.c: add DEBUGINFO for mtrigger GCs.
Han-Wen Nienhuys [Thu, 5 Sep 2002 21:12:21 +0000 (21:12 +0000)]
* struct.h: change scm_structs_to_free to scm_i_structs_to_free
* gc-malloc.c (scm_gc_register_collectable_memory): use floats;
these won't ever wrap around with high memory usage.
* gc-malloc.c: add DEBUGINFO for mtrigger GCs.
Han-Wen Nienhuys [Thu, 5 Sep 2002 20:47:35 +0000 (20:47 +0000)]
include <stdio.h>
Han-Wen Nienhuys [Thu, 5 Sep 2002 20:43:43 +0000 (20:43 +0000)]
add DEBUGINFO for mtrigger GCs.
Marius Vollmer [Thu, 5 Sep 2002 17:52:14 +0000 (17:52 +0000)]
*** empty log message ***
Marius Vollmer [Thu, 5 Sep 2002 17:51:58 +0000 (17:51 +0000)]
Set the module transformer of the-syncase-module so
that we can use define-syntax.
(define-syntax-public): New and exported.
Marius Vollmer [Wed, 4 Sep 2002 21:33:33 +0000 (21:33 +0000)]
(expansion-eval-closure, env->eval-closure): New.
(sc-macro): Set the expansion-eval-closure expanding the form.
(putprop, getprop): Use the expansion-eval-closure to find
variables instead of the current module.
Marius Vollmer [Sun, 1 Sep 2002 16:29:35 +0000 (16:29 +0000)]
*** empty log message ***
Marius Vollmer [Sun, 1 Sep 2002 16:29:06 +0000 (16:29 +0000)]
(SCM_VECTOR_REF): New.
Marius Vollmer [Sun, 1 Sep 2002 16:20:02 +0000 (16:20 +0000)]
*** empty log message ***
Marius Vollmer [Sun, 1 Sep 2002 16:19:18 +0000 (16:19 +0000)]
(SCM_DEFINE_PUBLIC): New.
Marius Vollmer [Fri, 30 Aug 2002 21:57:38 +0000 (21:57 +0000)]
*** empty log message ***
Marius Vollmer [Fri, 30 Aug 2002 21:57:10 +0000 (21:57 +0000)]
(scm_addr_vector): Added size of address to arguments. Use it to
avoid accessing a non-existent path in a sockaddr_un. Changed all
callers.
Han-Wen Nienhuys [Wed, 28 Aug 2002 23:13:30 +0000 (23:13 +0000)]
* gc.h: remove DOUBLECELL card flags.
* gc-malloc.c (scm_calloc): try to use calloc() before calling
scm_realloc().
* gc-segment.c (scm_i_initialize_heap_segment_data): remove card
init loop; handle this from scm_init_card_freelist()
* gc-card.c (scm_init_card_freelist): init bit vector here.
Han-Wen Nienhuys [Wed, 28 Aug 2002 22:50:32 +0000 (22:50 +0000)]
(scm_make_real): prevent reordering of statements
num2float.i.c (FLOAT2NUM): idem
Han-Wen Nienhuys [Wed, 28 Aug 2002 22:45:48 +0000 (22:45 +0000)]
(scm_make_real): prevent reordering of statements
Marius Vollmer [Tue, 27 Aug 2002 17:40:24 +0000 (17:40 +0000)]
*** empty log message ***
Marius Vollmer [Tue, 27 Aug 2002 17:40:10 +0000 (17:40 +0000)]
Markup fixes and removal f gh_ references. Thanks to Dale Smith!
Han-Wen Nienhuys [Tue, 27 Aug 2002 10:58:01 +0000 (10:58 +0000)]
prepend libguile/ to include path
Marius Vollmer [Mon, 26 Aug 2002 21:46:43 +0000 (21:46 +0000)]
*** empty log message ***
Marius Vollmer [Mon, 26 Aug 2002 21:46:22 +0000 (21:46 +0000)]
(scm_compile_shell_switches): Added "2002" to Copyright years. Thanks
to Martin Grabmüller!
Han-Wen Nienhuys [Sun, 25 Aug 2002 15:26:14 +0000 (15:26 +0000)]
(scm_i_get_new_heap_segment): use float in stead of
unsigned numbers for computing minimum heap increment. This
prevents weird results when a a negative minimum increment is computed.
Marius Vollmer [Sat, 24 Aug 2002 01:09:35 +0000 (01:09 +0000)]
*** empty log message ***
Marius Vollmer [Sat, 24 Aug 2002 01:08:56 +0000 (01:08 +0000)]
(EXTRA_DIST): Do not distribute guile-api.alist, it can't be built
currently.
Marius Vollmer [Sat, 24 Aug 2002 00:57:47 +0000 (00:57 +0000)]
*** empty log message ***
Marius Vollmer [Sat, 24 Aug 2002 00:57:14 +0000 (00:57 +0000)]
When we have __libc_stack_end, use that directly instead the old
tricks.
Marius Vollmer [Sat, 24 Aug 2002 00:55:50 +0000 (00:55 +0000)]
Check for __libc_stack_end.
Marius Vollmer [Sat, 24 Aug 2002 00:54:37 +0000 (00:54 +0000)]
(EXTRA_DIST): Added arm.h and arm.s.
Marius Vollmer [Sat, 24 Aug 2002 00:53:44 +0000 (00:53 +0000)]
Do not expect the input file to be the first argument after the
optional "-o" option, just pass everything to the pre-processor
without extracting the input file name.
Han-Wen Nienhuys [Fri, 23 Aug 2002 00:05:58 +0000 (00:05 +0000)]
(scm_i_get_new_heap_segment): Oops. We want segment
length *at* least SCM_MIN_HEAP_SEG_SIZE, not at most.
Gary Houston [Thu, 22 Aug 2002 18:20:36 +0000 (18:20 +0000)]
*** empty log message ***
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.