bpt/guile.git
24 years ago * *.[hc]: add Emacs magic at the end of file, to ensure GNU
Michael Livshin [Sun, 19 Mar 2000 19:01:16 +0000 (19:01 +0000)]
* *.[hc]: add Emacs magic at the end of file, to ensure GNU
  indentation style.

24 years ago*** empty log message ***
Mikael Djurfeldt [Sun, 19 Mar 2000 13:35:17 +0000 (13:35 +0000)]
*** empty log message ***

24 years ago* threads.h: Added #include "libguile/throw.h". (Thanks to
Mikael Djurfeldt [Sun, 19 Mar 2000 13:35:03 +0000 (13:35 +0000)]
* threads.h: Added #include "libguile/throw.h".  (Thanks to
Thien-Thi Nguyen.)

24 years ago* tags.h: (SCM_DOUBLE_CELLP, SCM_NDOUBLE_CELLP): new macros.
Michael Livshin [Sat, 18 Mar 2000 11:09:41 +0000 (11:09 +0000)]
* tags.h: (SCM_DOUBLE_CELLP, SCM_NDOUBLE_CELLP): new macros.

* gc.h: (typedef struct scm_freelist_t) remove from here.

* gc.c: (CELL_UP, CELL_DN) make these macros take additional
parameter (the span).
(CLUSTER_SIZE_IN_BYTES, ALIGNMENT_SLACK) new macros.
(typedef struct scm_freelist_t) move here from gc.h, it had no
business being externally visible.
(typedef struct scm_heap_seg_data_t) renamed from
scm_heap_seg_data, to be style-compliant.
(scm_mark_locations) if the possible pointer points to a
multy-cell, check that it's properly aligned.
(init_heap_seg) alighn multy-cells properly, work with the
assumption that the segment size divides cleanly by cluster size
(so that there's no spill).
(round_to_cluster_size) new function.
(alloc_some_heap, make_initial_segment) use round_to_cluster_size
to satisfy the new init_heap_seg invariant.

24 years agoOnly include async.h where it is actually needed.
Dirk Herrmann [Sat, 18 Mar 2000 09:16:48 +0000 (09:16 +0000)]
Only include async.h where it is actually needed.

24 years agoOnly include root.h where it is actually needed.
Dirk Herrmann [Sat, 18 Mar 2000 08:44:04 +0000 (08:44 +0000)]
Only include root.h where it is actually needed.

24 years agoOnly include strings.h where it is actually needed.
Dirk Herrmann [Fri, 17 Mar 2000 18:11:58 +0000 (18:11 +0000)]
Only include strings.h where it is actually needed.

24 years agoOnly include ports.h where it is actually needed.
Dirk Herrmann [Fri, 17 Mar 2000 16:10:13 +0000 (16:10 +0000)]
Only include ports.h where it is actually needed.

24 years agoOnly include vectors.h in those files, where it is actually needed.
Dirk Herrmann [Fri, 17 Mar 2000 15:23:03 +0000 (15:23 +0000)]
Only include vectors.h in those files, where it is actually needed.

24 years agoRemoved empty file genio.h and references to it.
Dirk Herrmann [Fri, 17 Mar 2000 13:37:33 +0000 (13:37 +0000)]
Removed empty file genio.h and references to it.

24 years ago(SCM_GC_TRIGGER_1, SCM_GC_TRIGGER_2): Default values set to -50.
Mikael Djurfeldt [Fri, 17 Mar 2000 09:04:49 +0000 (09:04 +0000)]
(SCM_GC_TRIGGER_1, SCM_GC_TRIGGER_2): Default values set to -50.

24 years ago*** empty log message ***
Mikael Djurfeldt [Fri, 17 Mar 2000 08:58:38 +0000 (08:58 +0000)]
*** empty log message ***

24 years ago* gc.c, gc.h: Cleanup of the change of 2000-03-15.
Mikael Djurfeldt [Fri, 17 Mar 2000 08:58:27 +0000 (08:58 +0000)]
* gc.c, gc.h: Cleanup of the change of 2000-03-15.
Cluster sizes are now independent of GC trigger values.
GUILE_GC_TRIGGER_n can now specify a relative trigger value:
A negative integer gives fraction of total heap size in percent.
(SCM_GC_TRIGGER_1, SCM_GC_TRIGGER_2): Default values set to -40.

24 years ago*** empty log message ***
Mikael Djurfeldt [Fri, 17 Mar 2000 08:09:25 +0000 (08:09 +0000)]
*** empty log message ***

24 years ago* gc.c, gc.h: Cleanup of the change of 2000-03-15.
Mikael Djurfeldt [Fri, 17 Mar 2000 08:09:14 +0000 (08:09 +0000)]
* gc.c, gc.h: Cleanup of the change of 2000-03-15.
Cluster sizes are now independent of GC trigger values.
GUILE_GC_TRIGGER_n can now specify a relative trigger value:
A negative integer gives fraction of total heap size in percent.

24 years ago* init.c (scm_boot_guile_1): Introduced new variable
Mikael Djurfeldt [Fri, 17 Mar 2000 08:09:03 +0000 (08:09 +0000)]
* init.c (scm_boot_guile_1): Introduced new variable
GUILE_MAX_SEGMENT_SIZE; New environment variable names:
GUILE_INIT_SEGMENT_SIZE_1, GUILE_GC_TRIGGER_1,
GUILE_INIT_SEGMENT_SIZE_2, GUILE_GC_TRIGGER_2

24 years agoDoc fix.
Jim Blandy [Thu, 16 Mar 2000 21:11:45 +0000 (21:11 +0000)]
Doc fix.

24 years ago*** empty log message ***
Mikael Djurfeldt [Thu, 16 Mar 2000 20:17:52 +0000 (20:17 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Mikael Djurfeldt [Thu, 16 Mar 2000 18:23:00 +0000 (18:23 +0000)]
*** empty log message ***

24 years ago* __scm.h (GC_FREE_SEGMENTS): Disable this until we have made
Mikael Djurfeldt [Thu, 16 Mar 2000 18:22:50 +0000 (18:22 +0000)]
* __scm.h (GC_FREE_SEGMENTS): Disable this until we have made
freeing of segment work with the new GC scheme.  (Thanks to
Michael Livshin.)

24 years ago*** empty log message ***
Mikael Djurfeldt [Thu, 16 Mar 2000 04:26:12 +0000 (04:26 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Mikael Djurfeldt [Thu, 16 Mar 2000 04:21:20 +0000 (04:21 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Mikael Djurfeldt [Thu, 16 Mar 2000 04:04:25 +0000 (04:04 +0000)]
*** empty log message ***

24 years ago* gc.c, gc.h (scm_map_free_list): Define also if GUILE_DEBUG is
Mikael Djurfeldt [Thu, 16 Mar 2000 03:59:35 +0000 (03:59 +0000)]
* gc.c, gc.h (scm_map_free_list): Define also if GUILE_DEBUG is
defined.
(scm_free_list_length): New procedure (GUILE_DEBUG).

24 years ago*** empty log message ***
Mikael Djurfeldt [Thu, 16 Mar 2000 01:29:21 +0000 (01:29 +0000)]
*** empty log message ***

24 years ago* gc.c, gc.h (scm_map_free_list): Define also if GUILE_DEBUG is
Mikael Djurfeldt [Thu, 16 Mar 2000 01:29:00 +0000 (01:29 +0000)]
* gc.c, gc.h (scm_map_free_list): Define also if GUILE_DEBUG is
defined.

24 years ago*** empty log message ***
Mikael Djurfeldt [Thu, 16 Mar 2000 01:18:32 +0000 (01:18 +0000)]
*** empty log message ***

24 years ago* gc.c (scm_gc_sweep): Moved variable n_objects to inner sweep
Mikael Djurfeldt [Thu, 16 Mar 2000 01:18:13 +0000 (01:18 +0000)]
* gc.c (scm_gc_sweep): Moved variable n_objects to inner sweep
loop and declare as register.

24 years ago*** empty log message ***
Mikael Djurfeldt [Thu, 16 Mar 2000 00:06:34 +0000 (00:06 +0000)]
*** empty log message ***

24 years ago* gc.c (scm_gc_sweep): Sigh... forgot to clear private freelists
Mikael Djurfeldt [Thu, 16 Mar 2000 00:04:32 +0000 (00:04 +0000)]
* gc.c (scm_gc_sweep): Sigh... forgot to clear private freelists
after GC.

24 years ago*** empty log message ***
Mikael Djurfeldt [Wed, 15 Mar 2000 19:08:27 +0000 (19:08 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Greg J. Badros [Wed, 15 Mar 2000 16:54:30 +0000 (16:54 +0000)]
*** empty log message ***

24 years ago* fluids.c: Docstring patch from Keisuke Nishida. Some
Greg J. Badros [Wed, 15 Mar 2000 16:28:13 +0000 (16:28 +0000)]
* fluids.c: Docstring patch from Keisuke Nishida.  Some
reindentation, too, and a couple formals renamed.  Should
fluid-set! return UNSPECIFIED instead of a value?

24 years ago* Makefile.am: Separate out DOT_X_FILES and DOT_DOC_FILES, and
Greg J. Badros [Wed, 15 Mar 2000 16:25:37 +0000 (16:25 +0000)]
* Makefile.am: Separate out DOT_X_FILES and DOT_DOC_FILES, and
generate the latter from the concrete listing of the former.  Then
make guile-procedures.txt depend on DOT_DOC_FILES instead of
*.doc, so that rebuilding it works.

24 years ago*** empty log message ***
Greg J. Badros [Wed, 15 Mar 2000 16:13:40 +0000 (16:13 +0000)]
*** empty log message ***

24 years ago* libguile.h: Include libguile/validate.h. Thanks Keisuke Nishida!
Greg J. Badros [Wed, 15 Mar 2000 16:12:40 +0000 (16:12 +0000)]
* libguile.h: Include libguile/validate.h.  Thanks Keisuke Nishida!

24 years ago* guile-snarf.awk.in: Replace docstring line-ending \n" and \n\n"
Greg J. Badros [Wed, 15 Mar 2000 16:09:58 +0000 (16:09 +0000)]
* guile-snarf.awk.in: Replace docstring line-ending \n" and \n\n"
with nothing and \n, respectively. Thanks Keisuke Nishida for
noticing this problem.

24 years agoRemoved some stupid code.
Mikael Djurfeldt [Wed, 15 Mar 2000 15:19:50 +0000 (15:19 +0000)]
Removed some stupid code.

24 years ago*** empty log message ***
Mikael Djurfeldt [Wed, 15 Mar 2000 07:31:15 +0000 (07:31 +0000)]
*** empty log message ***

24 years ago* gc.c, gc.h, pairs.h, init.c: Implementation of a new way of
Mikael Djurfeldt [Wed, 15 Mar 2000 07:30:53 +0000 (07:30 +0000)]
* gc.c, gc.h, pairs.h, init.c: Implementation of a new way of
allocating heap.  The basic idea is to trigger GC every Nth
allocated cell and grow heap when free list runs out.  The scheme
has been extended so that GC isn't triggered until all remaining
cells are used.  The implementation is also prepared for
development in the direction of POSIX threads.

* gc.c (SCM_EXPHEAP): In order to grow by a factor of 1.5,
SCM_EXPHEAP should return half of the heap size.

24 years ago* __scm.h (GUILE_NEW_GC_SCHEME): Define this if you want to test a
Mikael Djurfeldt [Wed, 15 Mar 2000 07:30:39 +0000 (07:30 +0000)]
* __scm.h (GUILE_NEW_GC_SCHEME): Define this if you want to test a
new way of allocating heap.  It makes Guile fast, but still
contains bugs.

24 years ago*** empty log message ***
Mikael Djurfeldt [Tue, 14 Mar 2000 22:15:24 +0000 (22:15 +0000)]
*** empty log message ***

24 years agoThe following change to init.c is only enabled if Guile was
Mikael Djurfeldt [Tue, 14 Mar 2000 22:15:12 +0000 (22:15 +0000)]
The following change to init.c is only enabled if Guile was
configured with --enable-guile-debug.

* init.c (scm_i_getenv_int): New function.
(scm_boot_guile_1): Use the environment variables
GUILE_INIT_HEAP_SIZE, GUILE_INIT_HEAP_SIZE2 to select heap size if
they exist.  (This may be replaced by a Scheme level mechanism in
the future.)

24 years ago*** empty log message ***
Mikael Djurfeldt [Tue, 14 Mar 2000 18:03:27 +0000 (18:03 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Mikael Djurfeldt [Tue, 14 Mar 2000 17:24:57 +0000 (17:24 +0000)]
*** empty log message ***

24 years ago* objprop.c (s_scm_set_object_property_x): Use scm_assq instead of
Mikael Djurfeldt [Tue, 14 Mar 2000 17:24:48 +0000 (17:24 +0000)]
* objprop.c (s_scm_set_object_property_x): Use scm_assq instead of
scm_assoc.  (Thanks to Dirk Herrmann.)

24 years ago*** empty log message ***
Mikael Djurfeldt [Tue, 14 Mar 2000 17:19:45 +0000 (17:19 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Mikael Djurfeldt [Tue, 14 Mar 2000 16:41:17 +0000 (16:41 +0000)]
*** empty log message ***

24 years ago* eval.c, lang.c, lang.h (scm_lisp_nil, scm_lisp_t): Renamed from
Mikael Djurfeldt [Tue, 14 Mar 2000 16:41:03 +0000 (16:41 +0000)]
* eval.c, lang.c, lang.h (scm_lisp_nil, scm_lisp_t): Renamed from
scm_nil, scm_t.  (Thanks to Dirk Herrmann.)

24 years ago*** empty log message ***
Mikael Djurfeldt [Tue, 14 Mar 2000 15:12:23 +0000 (15:12 +0000)]
*** empty log message ***

24 years ago* init.c (scm_boot_guile_1): Use same initial segment size for
Mikael Djurfeldt [Tue, 14 Mar 2000 15:12:12 +0000 (15:12 +0000)]
* init.c (scm_boot_guile_1): Use same initial segment size for
1-word and 2-word segments.  Having the smaller size causes Guile
to GC too often.  Obviously something needs to be done to allow
for a smaller 2-word segment without this to happen.  (The amount
of heap for each type should be automatically adapted to the
application somehow.)

24 years ago*** empty log message ***
Mikael Djurfeldt [Tue, 14 Mar 2000 12:36:05 +0000 (12:36 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Mikael Djurfeldt [Tue, 14 Mar 2000 09:03:56 +0000 (09:03 +0000)]
*** empty log message ***

24 years ago* pairs.h (SCM_NEWCELL, SCM_NEWCELL2): Use new style freelists.
Mikael Djurfeldt [Tue, 14 Mar 2000 09:03:32 +0000 (09:03 +0000)]
* pairs.h (SCM_NEWCELL, SCM_NEWCELL2): Use new style freelists.

24 years ago* init.c (scm_boot_guile_1): Make 2-word segment 8K (512 cells).
Mikael Djurfeldt [Tue, 14 Mar 2000 09:03:20 +0000 (09:03 +0000)]
* init.c (scm_boot_guile_1): Make 2-word segment 8K (512 cells).

24 years ago* gc.h (scm_freelist_t): New type.
Mikael Djurfeldt [Tue, 14 Mar 2000 09:03:08 +0000 (09:03 +0000)]
* gc.h (scm_freelist_t): New type.

24 years ago* gc.c (SCM_INIT_HEAP_SIZE): Changed from 32768 --> 40000 so that
Mikael Djurfeldt [Tue, 14 Mar 2000 09:02:51 +0000 (09:02 +0000)]
* gc.c (SCM_INIT_HEAP_SIZE): Changed from 32768 --> 40000 so that
all of Guile basics fits into one segment and there suitable room
for work.
(SCM_EXPHEAP): Now takes an argument.  Grow by a factor of 1.5
instead of 2.
(scm_freelist, scm_freelist2): Now of type scm_freelist_t.
Freelists now contains information about object span, cells
collected and amount of cells in heap segments belonging to the
list.
(scm_heap_size, scm_gc_cells_collected): Removed.

24 years ago*** empty log message ***
Mikael Djurfeldt [Tue, 14 Mar 2000 07:06:21 +0000 (07:06 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Mikael Djurfeldt [Tue, 14 Mar 2000 06:43:57 +0000 (06:43 +0000)]
*** empty log message ***

24 years ago* __scm.h eq.c, eval.c, gc.c, hc.h, gh_data, hash.c, numbers.c,
Mikael Djurfeldt [Tue, 14 Mar 2000 06:43:03 +0000 (06:43 +0000)]
* __scm.h eq.c, eval.c, gc.c, hc.h, gh_data, hash.c, numbers.c,
numbers.h, objects.c, ramap.c, random.c, unif.c, unif.h: Extensive
rewrite of handling of real and complex numbers.
(SCM_FLOATS, SCM_SINGLES): These #ifdef conditionals have been
removed along with the support for floats.  (Float vectors are
still supported.)

24 years ago* __scm.h eq.c, eval.c, gc.c, hc.h, gh_data, hash.c, numbers.c,
Mikael Djurfeldt [Tue, 14 Mar 2000 06:42:56 +0000 (06:42 +0000)]
* __scm.h eq.c, eval.c, gc.c, hc.h, gh_data, hash.c, numbers.c,
numbers.h, objects.c, ramap.c, random.c, unif.c, unif.h: Extensive
rewrite of handling of real and complex numbers.
(SCM_FLOATS, SCM_SINGLES): These #ifdef conditionals have been
removed along with the support for floats.  (Float vectors are
still supported.)

* unif.c (scm_makflo): Removed.

24 years ago* tags.h (scm_tcs_bignums): Removed.
Mikael Djurfeldt [Tue, 14 Mar 2000 06:42:48 +0000 (06:42 +0000)]
* tags.h (scm_tcs_bignums): Removed.
(scm_tc16_bigpos, scm_tc16_bigneg): Replaced by scm_tc16_big.
Use SCM_BIGSIGN(x) to test for sign!
(scm_tc16_big): The new bignum type.
(SCM_REAL_PART, SCM_IMAG_PART): Removed.

24 years ago* smob.h (SCM_SMOB_PREDICATE): New macro.
Mikael Djurfeldt [Tue, 14 Mar 2000 06:42:40 +0000 (06:42 +0000)]
* smob.h (SCM_SMOB_PREDICATE): New macro.
(SCM_NEWSMOB2, SCM_RETURN_NEWSMOB2, SCM_NEWSMOB3,
SCM_RETURN_NEWSMOB3): New macros.

24 years ago* procs.c, procs.h: changed the procedure-with-setter representation
Mikael Djurfeldt [Tue, 14 Mar 2000 06:41:56 +0000 (06:41 +0000)]
* procs.c, procs.h: changed the procedure-with-setter representation
to double cell.

24 years ago* pairs.h (SCM_NEWCELL2): double-cell variants of SCM_NEWCELL.
Mikael Djurfeldt [Tue, 14 Mar 2000 06:41:42 +0000 (06:41 +0000)]
* pairs.h (SCM_NEWCELL2): double-cell variants of SCM_NEWCELL.
(SCM_CELL_WORD, SCM_CELL_WORDLOC, SCM_SET_CELL_WORD): primitive
multi-cell access macros (used by the ones below).
(SCM_CELL_WORD[0-3], SCM_SET_CELL_WORD[0-3]): multi-cell access
macros.

24 years ago* __scm.h eq.c, eval.c, gc.c, hc.h, gh_data, hash.c, numbers.c,
Mikael Djurfeldt [Tue, 14 Mar 2000 06:41:25 +0000 (06:41 +0000)]
* __scm.h eq.c, eval.c, gc.c, hc.h, gh_data, hash.c, numbers.c,
numbers.h, objects.c, ramap.c, random.c, unif.c, unif.h: Extensive
rewrite of handling of real and complex numbers.
(SCM_FLOATS, SCM_SINGLES): These #ifdef conditionals have been
removed along with the support for floats.  (Float vectors are
still supported.)

* numbers.h (SCM_BIGSIGN): Sign moved to bit 16.
(scm_makdbl): Deprecated.
(SCM_NEWREAL, SCM_NEWCOMPLEX): New macros.
(SCM_SINGP): Deprecated.
(SCM_FLO): Removed.
(SCM_INEXP, SCM_CPLXP): Deprecated.
(SCM_INEXACTP, SCM_COMPLEXP): New macros.
(SCM_COMPLEX_REAL, SCM_COMPLEX_IMAG): Renamed from
SCM_REAL, SCM_IMAG (and now only valid for complex numbers).
(SCM_REAL, SCM_IMAG): New, *deprecated*, selectors which work both
for doubles and complex numbers.
(SCM_REAL_VALUE): New selector for doubles.
(scm_double_t, scm_complex_t): New types.
(scm_dbl): Removed.

* numbers.h (struct scm_dbl): changed to represent a double cell,
with the number in the second half.
(struct scm_cplx): new, represents a complex number as a triple
cell.

24 years ago* __scm.h eq.c, eval.c, gc.c, hc.h, gh_data, hash.c, numbers.c,
Mikael Djurfeldt [Tue, 14 Mar 2000 06:41:12 +0000 (06:41 +0000)]
* __scm.h eq.c, eval.c, gc.c, hc.h, gh_data, hash.c, numbers.c,
numbers.h, objects.c, ramap.c, random.c, unif.c, unif.h: Extensive
rewrite of handling of real and complex numbers.
(SCM_FLOATS, SCM_SINGLES): These #ifdef conditionals have been
removed along with the support for floats.  (Float vectors are
still supported.)

* numbers.c (scm_floprint, scm_floequal): Removed.
(scm_print_real, scm_print_complex, scm_real_equalp,
scm_complex_equalp): New functions.

* numbers.c (scm_makdbl): no malloc'ing needed, so the
{DEFER,ALLOW}_INTS thing removed.

24 years ago* __scm.h eq.c, eval.c, gc.c, hc.h, gh_data, hash.c, numbers.c,
Mikael Djurfeldt [Tue, 14 Mar 2000 06:40:09 +0000 (06:40 +0000)]
* __scm.h eq.c, eval.c, gc.c, hc.h, gh_data, hash.c, numbers.c,
numbers.h, objects.c, ramap.c, random.c, unif.c, unif.h: Extensive
rewrite of handling of real and complex numbers.
(SCM_FLOATS, SCM_SINGLES): These #ifdef conditionals have been
removed along with the support for floats.  (Float vectors are
still supported.)

* gc.c (scm_freelist2): multi-cell freelists.
(inner_map_free_list): map_free_list, parameterized on ncells.
"nn cells in segment mm" was misleading for ncells > 1; changed to
"objects".  still print cells too, though.
(scm_map_free_list): rewritten using inner_map_free_list.
(scm_check_freelist): get freelist as parameter, since now we have
more than one.
(scm_debug_newcell2): multi-cell variants of
scm_debug_newcell.
(scm_gc_for_newcell): take ncells and freelist pointer as
parameters.
(scm_gc_mark): add case for tc7_pws (procedures with setters are
now double cells).
(scm_gc_sweep): don't free the float data, since it's not malloced
anymore.
(init_heap_seg): didn't understand what n_new_objects stood for,
so changed to n_new_cells.
(make_initial_segment): new function, makes an initial segment
according to given ncells.
(scm_init_storage): call make_initial_segment, for ncells={1,2,3}.

24 years ago* dynwind.c: changed the wind-guards representation to double
Mikael Djurfeldt [Tue, 14 Mar 2000 06:39:44 +0000 (06:39 +0000)]
* dynwind.c: changed the wind-guards representation to double
cell.

24 years ago* dynl.c: made dynamic_obj representation a double cell.
Mikael Djurfeldt [Tue, 14 Mar 2000 06:39:37 +0000 (06:39 +0000)]
* dynl.c: made dynamic_obj representation a double cell.

24 years ago* async.c, async.h: made async representation a double cell.
Mikael Djurfeldt [Tue, 14 Mar 2000 06:39:28 +0000 (06:39 +0000)]
* async.c, async.h: made async representation a double cell.

24 years ago* Makefile.am (libguile_la_LDFLAGS): Bumped library version
Mikael Djurfeldt [Tue, 14 Mar 2000 06:37:16 +0000 (06:37 +0000)]
* Makefile.am (libguile_la_LDFLAGS): Bumped library version
number.

24 years ago*** empty log message ***
Gary Houston [Mon, 13 Mar 2000 22:24:20 +0000 (22:24 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Gary Houston [Mon, 13 Mar 2000 22:22:02 +0000 (22:22 +0000)]
*** empty log message ***

24 years ago * ports.c (flush_void_port): renamed to flush_port_default.
Gary Houston [Mon, 13 Mar 2000 22:21:21 +0000 (22:21 +0000)]
* ports.c (flush_void_port): renamed to flush_port_default.
(end_input_void_port): renamed to end_input_default.

* init.c (scm_standard_stream_to_port): create a void port instead
of opening /dev/null if the standard file descriptors are bad.
advantages: no portability problems, doesn't waste a file descriptor,
simplifies the code (thanks to Marius for the idea).

* vports.c (s_scm_make_soft_port): call scm_port_non_buffer.

* void ports: make reading from a void port give EOF instead of
segv:
* ports.c (s_scm_sys_make_void_port): modified docstring.
(fill_input_void_port): new proc.
(scm_init_ports): set up fill_input_void_port.
* ports.c (scm_port_non_buffer): new proc.
(scm_void_port): call scm_port_non_buffer.

* fports.c (scm_setvbuf): docstring: remove the fcntl documentation
which was incorrectly appended.

24 years ago*** empty log message ***
Mikael Djurfeldt [Mon, 13 Mar 2000 12:07:47 +0000 (12:07 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Mikael Djurfeldt [Mon, 13 Mar 2000 11:10:28 +0000 (11:10 +0000)]
*** empty log message ***

24 years ago* configure.in: Don't add iselect.o to LIBOBJS.
Mikael Djurfeldt [Mon, 13 Mar 2000 11:09:46 +0000 (11:09 +0000)]
* configure.in: Don't add iselect.o to LIBOBJS.

24 years ago* guile-doc-snarf.in: Don't use absolute path for `sed'. (Note
Mikael Djurfeldt [Mon, 13 Mar 2000 11:04:41 +0000 (11:04 +0000)]
* guile-doc-snarf.in: Don't use absolute path for `sed'.  (Note
that we can't use autoconf for this.  Autoconf itself relies on
the existence of `sed' somewhere on your path.  (Thanks to Dirk
Herrman.)

24 years ago*** empty log message ***
Mikael Djurfeldt [Mon, 13 Mar 2000 10:47:45 +0000 (10:47 +0000)]
*** empty log message ***

24 years ago* Makefile.am (libguile_la_SOURCES): Moved iselect.c here from
Mikael Djurfeldt [Mon, 13 Mar 2000 10:47:36 +0000 (10:47 +0000)]
* Makefile.am (libguile_la_SOURCES): Moved iselect.c here from
EXTRA_libguile_la_SOURCES.

24 years ago* iselect.h: Always declare scm_internal_select.
Mikael Djurfeldt [Mon, 13 Mar 2000 10:47:24 +0000 (10:47 +0000)]
* iselect.h: Always declare scm_internal_select.

24 years ago* iselect.c (scm_internal_select): Added SCM_ASYNC_TICK at the
Mikael Djurfeldt [Mon, 13 Mar 2000 10:47:14 +0000 (10:47 +0000)]
* iselect.c (scm_internal_select): Added SCM_ASYNC_TICK at the
end.  Also let scm_internal_select be a real function also when
not using threads.

24 years ago*** empty log message ***
Mikael Djurfeldt [Mon, 13 Mar 2000 10:14:32 +0000 (10:14 +0000)]
*** empty log message ***

24 years ago* __scm.h (SCM_TICK): Oops! Forgot to put SCM_ASYNC_TICK here...
Mikael Djurfeldt [Mon, 13 Mar 2000 10:14:24 +0000 (10:14 +0000)]
* __scm.h (SCM_TICK): Oops! Forgot to put SCM_ASYNC_TICK here...

24 years ago*** empty log message ***
Mikael Djurfeldt [Mon, 13 Mar 2000 10:02:20 +0000 (10:02 +0000)]
*** empty log message ***

24 years ago* __scm.h (SCM_ALLOW_INTS, SCM_REALLOW_INTS): Removed call to
Mikael Djurfeldt [Mon, 13 Mar 2000 10:02:12 +0000 (10:02 +0000)]
* __scm.h (SCM_ALLOW_INTS, SCM_REALLOW_INTS): Removed call to
SCM_ASYNC_TICK.  (This is a preparation for POSIX threads support,
and kind of an experiment: Will this cause problems?)

24 years ago*** empty log message ***
Mikael Djurfeldt [Mon, 13 Mar 2000 01:10:44 +0000 (01:10 +0000)]
*** empty log message ***

24 years ago* configure.in: Added end-tag for local variables. (Thanks to
Mikael Djurfeldt [Mon, 13 Mar 2000 01:10:13 +0000 (01:10 +0000)]
* configure.in: Added end-tag for local variables.  (Thanks to
Thien-Thi Nguyen.)

24 years ago*** empty log message ***
Greg J. Badros [Sun, 12 Mar 2000 21:33:01 +0000 (21:33 +0000)]
*** empty log message ***

24 years ago* Makefile.am: Added *.doc to DISTCLEANFILES.
Greg J. Badros [Sun, 12 Mar 2000 21:26:42 +0000 (21:26 +0000)]
* Makefile.am: Added *.doc to DISTCLEANFILES.

24 years ago*** empty log message ***
Gary Houston [Sun, 12 Mar 2000 19:59:13 +0000 (19:59 +0000)]
*** empty log message ***

24 years ago * fports.c (scm_fdes_to_port): call fcntl F_GETFL to test that
Gary Houston [Sun, 12 Mar 2000 19:58:56 +0000 (19:58 +0000)]
* fports.c (scm_fdes_to_port): call fcntl F_GETFL to test that
the fdes is valid before doing anything else.  check that
the file descriptor supports the modes required.
(scm_fport_buffer_add): don't throw an error if fstat doesn't
work: just use the default buffer size.

* throw.c: change an outdated comment about scm_internal_catch
BODY: it doesn't take a jumpbuf arg.

* init.c (scm_standard_stream_to_port): install a handler in case
scm_fdes_to_port throws an error.  don't check here whether the
file descriptor is valid, since scm_fdes_to_port will do that.
set the revealed count depending on whether the port got the
standard file descriptor.
(stream_body_data): new type.
(stream_body, stream_handler): new procs.

24 years ago*** empty log message ***
Mikael Djurfeldt [Sun, 12 Mar 2000 18:41:47 +0000 (18:41 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Mikael Djurfeldt [Sun, 12 Mar 2000 18:30:33 +0000 (18:30 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Mikael Djurfeldt [Sun, 12 Mar 2000 17:52:45 +0000 (17:52 +0000)]
*** empty log message ***

24 years ago* stacks.c, stacks.h, struct.c, tags.h, unif.c (scm_bits_t):
Mikael Djurfeldt [Sun, 12 Mar 2000 17:52:18 +0000 (17:52 +0000)]
* stacks.c, stacks.h, struct.c, tags.h, unif.c (scm_bits_t):
Renamed from SCMWORD.

24 years ago* arbiters.c (SCM_ARB_LOCKED): Use SCM_CARBITS.
Mikael Djurfeldt [Sun, 12 Mar 2000 17:51:49 +0000 (17:51 +0000)]
* arbiters.c (SCM_ARB_LOCKED): Use SCM_CARBITS.

24 years ago*** empty log message ***
Mikael Djurfeldt [Sun, 12 Mar 2000 17:01:48 +0000 (17:01 +0000)]
*** empty log message ***

24 years ago* async.c, boolean.h, debug.c, dynl.c, dynwind.c, eval.c, eval.h,
Mikael Djurfeldt [Sun, 12 Mar 2000 17:00:58 +0000 (17:00 +0000)]
* async.c, boolean.h, debug.c, dynl.c, dynwind.c, eval.c, eval.h,
  feature.h, filesys.h, fluids.h, fports.c, fports.h, gc.c, gc.h,
  hash.c, keywords.h, macros.c, numbers.c, numbers.h, objects.c,
  objects.h, options.c, pairs.h, ports.c, ports.h, print.c,
  procs.h, ramap.c, read.c, smob.c, smob.h, srcprop.h, stacks.c,
  stacks.h, strports.c, struct.c, struct.h, tag.c, tags.h,
  throw.c, unif.c, unif.h, variable.h, vectors.h, weaks.c,
  weaks.h (SCM_SCM, SCM_BITS, SCM_CARBITS): Renamed from
  SCM_ASSCM, SCM_ASWORD, SCM_CARW).