Marius Vollmer [Fri, 23 Jul 1999 22:04:27 +0000 (22:04 +0000)]
Added guile-readline subdirectory with the removed readline
support.
* guile-readline: New directory, see ChangeLog there.
* configure.in: Cause configure to descend into guile-readline
dir.
* Makefile.am: Likewise for make.
* NEWS: Explain how to activate the readline support.
* configure, Makefile.in, aclocal.m4: Regenerated.
Marius Vollmer [Fri, 23 Jul 1999 21:43:58 +0000 (21:43 +0000)]
* Checked everything into CVS.
Mikael Djurfeldt [Fri, 23 Jul 1999 13:14:20 +0000 (13:14 +0000)]
*** empty log message ***
Mikael Djurfeldt [Fri, 23 Jul 1999 13:14:05 +0000 (13:14 +0000)]
* init.c: Make sure that scm_post_boot_init_modules is called only
once. (Important when using a dumped image.; Thanks to Bernard
Urban.)
Mikael Djurfeldt [Fri, 23 Jul 1999 11:38:34 +0000 (11:38 +0000)]
*** empty log message ***
Mikael Djurfeldt [Fri, 23 Jul 1999 11:30:50 +0000 (11:30 +0000)]
*** empty log message ***
Jim Blandy [Fri, 23 Jul 1999 08:16:31 +0000 (08:16 +0000)]
Mention GOOPS (oops).
Gary Houston [Thu, 22 Jul 1999 21:14:49 +0000 (21:14 +0000)]
NEWS entries for the port changes, surprisingly few.
Jim Blandy [Thu, 22 Jul 1999 14:25:35 +0000 (14:25 +0000)]
*** empty log message ***
Mikael Djurfeldt [Wed, 21 Jul 1999 16:06:49 +0000 (16:06 +0000)]
*** empty log message ***
Mikael Djurfeldt [Wed, 21 Jul 1999 15:18:55 +0000 (15:18 +0000)]
*** empty log message ***
Jim Blandy [Mon, 19 Jul 1999 19:07:11 +0000 (19:07 +0000)]
*** empty log message ***
Jim Blandy [Mon, 19 Jul 1999 19:07:09 +0000 (19:07 +0000)]
* streams.scm: New module, contributed by Michael Livshin.
* Makefile.am (ice9_sources): List it.
* Makefile.in: Regenerated.
Jim Blandy [Mon, 19 Jul 1999 18:57:40 +0000 (18:57 +0000)]
*** empty log message ***
Jim Blandy [Mon, 19 Jul 1999 18:57:02 +0000 (18:57 +0000)]
* guardians.c (scm_guardian_zombify): Separate scanning for
zombies from marking the pairs of the free list.
Jim Blandy [Mon, 19 Jul 1999 18:46:09 +0000 (18:46 +0000)]
*** empty log message ***
Jim Blandy [Mon, 19 Jul 1999 18:45:57 +0000 (18:45 +0000)]
* guardians.c (scm_guardian_zombify): Don't set marks manually ---
use the macros. (Thanks to Michael Livshin.)
Jim Blandy [Mon, 19 Jul 1999 18:44:32 +0000 (18:44 +0000)]
* tests/ports.test: Fix copyright years.
Jim Blandy [Mon, 19 Jul 1999 18:44:12 +0000 (18:44 +0000)]
* tests/guardians.test: New test file.
Jim Blandy [Mon, 19 Jul 1999 08:59:30 +0000 (08:59 +0000)]
*** empty log message ***
Jim Blandy [Mon, 19 Jul 1999 08:58:42 +0000 (08:58 +0000)]
* stime.c (ftime): Delete declaration for this function --- let
the system supply it.
Jim Blandy [Mon, 19 Jul 1999 08:45:54 +0000 (08:45 +0000)]
* eval.c (scm_m_lambda): Let bodycheck check the body of the
lambda. Let your sins be purified by the blood of the lambda.
(Thanks to Eric Hanchrow.)
Jim Blandy [Mon, 19 Jul 1999 08:22:28 +0000 (08:22 +0000)]
*** empty log message ***
Jim Blandy [Mon, 19 Jul 1999 08:20:44 +0000 (08:20 +0000)]
*** empty log message ***
Jim Blandy [Mon, 19 Jul 1999 08:20:27 +0000 (08:20 +0000)]
* net_db.c (h_errno): Don't declare this if it's #defined. Eew.
(Thanks to Valdis Kletnieks.)
Jim Blandy [Mon, 19 Jul 1999 08:11:28 +0000 (08:11 +0000)]
*** empty log message ***
Jim Blandy [Mon, 19 Jul 1999 08:11:19 +0000 (08:11 +0000)]
* boot-9.scm (read-delimited!): Put the terminator in the correct
position.
Jim Blandy [Mon, 19 Jul 1999 08:10:30 +0000 (08:10 +0000)]
* tests/ports.test ("read-delimited!"): New tests.
Jim Blandy [Mon, 19 Jul 1999 07:54:37 +0000 (07:54 +0000)]
*** empty log message ***
Jim Blandy [Mon, 19 Jul 1999 07:54:12 +0000 (07:54 +0000)]
* tags.h (SCM_IMP, SCM_NCONSP, SCM_NCELLP, SCM_ITAG3, SCM_TYP3,
SCM_TYP7, SCM_TYP7S, SCM_TYP16, SCM_TYP16S, SCM_GCTYP16,
SCM_GCMARKP, SCM_GC8MARKP): Don't cast to int. Either SCM or no
cast at all is more appropriate in every case. At the moment, we
assume everywhere that SCM is an integral type anyway.
Jim Blandy [Mon, 19 Jul 1999 07:53:51 +0000 (07:53 +0000)]
* snarf.h (SCM_CONST_LONG): Remove trailing semicolon from
definition.
Jim Blandy [Mon, 19 Jul 1999 07:53:21 +0000 (07:53 +0000)]
* scmsigs.c (scm_sigaction): Cast SIG_DFL and SIG_IGN to SCM, not
int. That way, if we get a warning on this line, it's more likely
that we're really missing bits we care about.
Jim Blandy [Mon, 19 Jul 1999 07:52:51 +0000 (07:52 +0000)]
* regex-posix.c (scm_regexp_error_msg): Change `rx' argument to
regex_t pointer. This is what the callers have, mostly.
(scm_regexp_exec): Don't forget to pass the `rx' argument to
scm_regexp_error_msg.
Jim Blandy [Mon, 19 Jul 1999 07:52:07 +0000 (07:52 +0000)]
* gdbint.c: Don't include <stdio.h> and "_scm.h" twice.
* gsubr.c: Don't include "gsubr.h" twice.
Jim Blandy [Mon, 19 Jul 1999 07:49:58 +0000 (07:49 +0000)]
* filesys.c: #include <io.h>, if we have it.
* scmconfig.h.in: Regenerated.
Jim Blandy [Mon, 19 Jul 1999 07:49:01 +0000 (07:49 +0000)]
* configure.in: Check for <io.h>.
* configure: Regenerated.
Jim Blandy [Mon, 19 Jul 1999 07:42:33 +0000 (07:42 +0000)]
Regenerated.
Jim Blandy [Mon, 19 Jul 1999 02:40:04 +0000 (02:40 +0000)]
*** empty log message ***
Jim Blandy [Mon, 19 Jul 1999 02:39:18 +0000 (02:39 +0000)]
* qthreads.m4 (QTHREADS_CONFIGURE): 'alpha' in a configuration
name can have suffixes, like alphaev56-unknown-linux-gnu.
* aclocal.m4, configure: Rebuilt.
(Thanks to Sebastien Villemot.)
Jim Blandy [Sat, 17 Jul 1999 18:43:17 +0000 (18:43 +0000)]
*** empty log message ***
Jim Blandy [Sat, 17 Jul 1999 05:49:20 +0000 (05:49 +0000)]
Patch from Greg Badros:
* snarf.h (SCM_PROC, SCM_PROC1): Use __cplusplus or
GUILE_CPLUSPLUS_SNARF macros to force adding a cast to the last
(function pointer) argument to scm_make_gsubr and scm_make_subr
calls. This avoids warnings in C++ programs using guile-snarf.
Gary Houston [Wed, 14 Jul 1999 13:55:01 +0000 (13:55 +0000)]
1999-07-14 Gary Houston <ghouston@easynet.co.uk>
* unif.c (scm_uniform_array_read_x), ports.c (scm_getc): increment
read_pos after scm_fill_buffer.
* ioext.c (scm_do_read_line): simplify by ignoring the fill_buffer
return char.
* vports.c (sf_fill_buffer), strports.c (stfill_buffer),
fports.c (fport_fill_buffer): implement the interface change.
* ports.c (scm_fill_buffer): interface change: no longer increments
read_pos past the character that's returned. it seems clearer to
leave it to the caller to decide what to do (thanks Jim).
* vports.c (sf_fill_buffer): put the read char into the buffer
as well as returning it.
* ports.c (scm_grow_port_cbuf): residue of this deleted procedure
deleted.
Gary Houston [Tue, 13 Jul 1999 11:06:18 +0000 (11:06 +0000)]
1999-07-13 Gary Houston <ghouston@easynet.co.uk>
* strports.c (scm_strprint_obj): simplify. start with initial
buffer size of 0.
(st_seek): don't allow string to be extended if seeking past
the end of a read-only port.
1999-07-12 Gary Houston <ghouston@easynet.co.uk>
* strports.c (st_seek): change the resize checks.
* ports.c (scm_ftruncate): throw error if offset works out negative.
* strports.c (st_flush): increase string size in blocks of
SCM_WRITE_BLOCK instead of 1. set read_end to read_pos if
it's greater and reset read_buf_size.
(scm_mkstrport): set rw_randow if only writing, since read_buf needs
to be maintained for output ports too (it holds the written
part of the string, while write_buf may have unwritten buffer
chars.)
(st_truncate): rewritten.
(top of file): added a few notes.
1999-07-06 Gary Houston <ghouston@easynet.co.uk>
* strports.c (st_grow_port): set pt->read_pos. set
pt->read_buf_size one less than pt->write_buf_size if there's
an unwritten char at the end of the string. similarly for
pt->read_end.
(st_resize_port): renamed from st_grow_port.
(st_seek): simplify by assuming that pt->write_pos == pt->read_pos.
seek from read_end instead of write_end for SEEK_END.
(st_ftruncate): calculate current length using readbuf, not write
buf.
(scm_strport_to_string): use read_buf_size for length.
(stfill_buffer): don't re-initialise the readbuf.
1999-07-05 Gary Houston <ghouston@easynet.co.uk>
* strports.c (scm_strport_to_string): new procedure.
(scm_call_with_output_string, scm_strprint_obj): use
scm_strport_to_string.
used SCM_INUM0 instead of SCM_MAKINUM (0) in a few places.
Mikael Djurfeldt [Thu, 8 Jul 1999 05:58:11 +0000 (05:58 +0000)]
*** empty log message ***
Mikael Djurfeldt [Thu, 8 Jul 1999 05:55:34 +0000 (05:55 +0000)]
* symbols.c (scm_gensym): Bugfix. (Thanks to Johannes Hjorth.)
Mikael Djurfeldt [Wed, 7 Jul 1999 09:44:53 +0000 (09:44 +0000)]
*** empty log message ***
Mikael Djurfeldt [Wed, 7 Jul 1999 09:44:01 +0000 (09:44 +0000)]
Greg's smob patch
Mikael Djurfeldt [Wed, 7 Jul 1999 09:41:38 +0000 (09:41 +0000)]
* image-type.c: Updated example to use scm_make_smob_type_mfpe,
SCM_RETURN_NEWSMOB, SCM_NEWSMOB function and macros.
Mikael Djurfeldt [Wed, 7 Jul 1999 09:40:28 +0000 (09:40 +0000)]
* data-rep.texi: Updated SMOB docs to talk about
scm_make_smob_type_mfpe, SCM_RETURN_NEWSMOB, SCM_NEWSMOB function
and macros.
Gary Houston [Sun, 4 Jul 1999 11:50:54 +0000 (11:50 +0000)]
1999-07-04 Gary Houston <ghouston@easynet.co.uk>
* unif.c (scm_uniform_array_write): likewise.
* ioext.c (scm_redirect_port): likewise.
* ports.c (scm_putc): call scm_read_flush.
(scm_puts): likewise.
(scm_lfwrite): likewise.
(scm_lseek): likewise.
(scm_ftruncate): likewise.
* ports.c (scm_fill_buffer): don't take pt argument. change callers.
(read_flush_void_port): new proc, for void port ptob.
* vports.c (sf_read_flush): likewise.
* strports.c (st_read_flush): take offset arg.
* fports.c (local_read_flush): use offset, don't reset putback
buffer here.
* ports.h (scm_ptobfuns): let read_flush take an offset argument,
which is the number of chars from the putback buffer.
* ports.c (scm_read_flush): new procedure, resets the putback
buffer before calling the ptob routine.
Gary Houston [Sun, 4 Jul 1999 11:02:21 +0000 (11:02 +0000)]
1999-07-04 Gary Houston <ghouston@easynet.co.uk>
* strports.c (scm_strprint_obj): bug fix: get pt from the port,
not from the parameter obj. (Thanks to Eric Moore.)
* ports.h: SCM_CRDY, SCM_CUC, SCM_CRDYP, SCM_SETRDY, SCM_CUNGET,
SCM_CGETUN, SCM_CLRDY, SCM_TRY_CLRDY, SCM_N_READY_CHARS: deleted.
* strings.c (scm_make_string): throw error if 2nd arg isn't
a char.
* unif.c (scm_uniform_array_read_x): fix reading from a port.
allow non-fports.
(scm_uniform_array_write): likewise.
1999-06-29 Gary Houston <ghouston@easynet.co.uk>
* ports.c (scm_drain_input): rewritten.
* fports.c (local_fclose): check putback_buf.
(local_read_flush): likewise.
* ports.c (scm_remove_from_port_table): maybe free putback_buf.
* ports.h (scm_port): replace cbuf/cbufend/cp with putback_buf/
putback_buf_size.
(SCM_INITIAL_PUTBACK_BUF_SIZE): renamed from SCM_INITIAL_CBUF_SIZE.
* ports.c (scm_grow_port_cbuf): deleted.
(scm_add_to_port_table): initialise putback_buf to 0. remove cbuf
stuff.
(scm_char_ready_p): check putback_buf
(scm_fill_buffer): likewise.
(scm_ungetc): rewritten.
1999-06-27 Gary Houston <ghouston@easynet.co.uk>
* fports.c (local_fclose): account for push-back buffer.
* ports.c (scm_char_ready_p): check the push-back buffer in
a new way.
* ioext.c (scm_do_read_line): remove the extra code to handle
the push-back buffer.
* ports.c (scm_getc): don't use SCM_CRDYP etc.
* ioext.c (scm_do_read_line): call scm_fill_buffer.
* ports.c (scm_ungetc): don't call SCM_CUNGET. reset the
read buffer pointers.
scm_fill_buffer: new procedure.
(scm_getc): call scm_fill_buffer.
* ports.h (struct scm_port): saved_read_buf, saved_read_pos,
saved_read_end: new fields.
1999-07-04 Gary Houston <ghouston@easynet.co.uk>
* configure.in: don't check for ways to violate stdio abstraction.
Jim Blandy [Wed, 30 Jun 1999 09:27:12 +0000 (09:27 +0000)]
never finished
Mikael Djurfeldt [Tue, 29 Jun 1999 10:36:08 +0000 (10:36 +0000)]
*** empty log message ***
Mikael Djurfeldt [Tue, 29 Jun 1999 10:35:36 +0000 (10:35 +0000)]
* readline.scm: Bugfix: Avoid getting the continued-lines prompt
at multiple calls to read.
(promtp2): Variable for continued-lines prompt.
(make-readline-port): Use prompt2.
(set-readline-prompt!): New optional arg which sets
continued-lines prompt.
Mikael Djurfeldt [Tue, 29 Jun 1999 10:35:06 +0000 (10:35 +0000)]
* boot-9.scm (top-repl): Set/clear readline prompts before/after
reading expressions.
Mikael Djurfeldt [Wed, 23 Jun 1999 16:00:30 +0000 (16:00 +0000)]
*** empty log message ***
Mikael Djurfeldt [Wed, 23 Jun 1999 16:00:15 +0000 (16:00 +0000)]
* dynl-dl.c (sysdep_dynl_link): Added parenthesis around the
trinary conditional in order for the flag computation to be
correct.
Mikael Djurfeldt [Wed, 23 Jun 1999 12:01:04 +0000 (12:01 +0000)]
*** empty log message ***
Mikael Djurfeldt [Wed, 23 Jun 1999 11:19:45 +0000 (11:19 +0000)]
*** empty log message ***
Mikael Djurfeldt [Wed, 23 Jun 1999 11:19:25 +0000 (11:19 +0000)]
* tag.c (scm_tag): Base tag on vtable pointer.
Mikael Djurfeldt [Wed, 23 Jun 1999 11:17:36 +0000 (11:17 +0000)]
* struct.c, struct.h:
(scm_struct_i_free): New hidden struct slot. Holds destructor for
instances to this vtable.
(scm_struct_free_0): New destructor: Doesn't deallocate data.
(scm_struct_free_light): New destructor: Deallocates a light
struct (i.e. a struct without hidden slots).
(scm_struct_free_standard): New destructor: Deallocates standard
structs.
(scm_struct_free_entity): New destructor: Deallocates entity
structs.
(SCM_SET_VTABLE_DESTRUCTOR): New macro.
Changes to hidden slots:
(scm_struct_i_size): scm_struct_i_flags now shares space with
scm_struct_i_size which holds the size of light structs.
(scm_struct_i_n_words): This slot has changed meaning. Previously
it included hidden slots. Now it indicates visible slots.
(scm_alloc_struct): Clear flags.
(SCM_STRUCTF_MASK): 4 new flag positions added => 12 bits.
(struct_num, scm_struct_i_tag): Removed.
(scm_struct_vtable_tag): Base tag on the pointer to mallocated
memory.
(scm_struct_ihashq): Base hash value on pointer to struct handle.
Mikael Djurfeldt [Wed, 23 Jun 1999 11:16:52 +0000 (11:16 +0000)]
* snarf.h (SCM_KEYWORD, SCM_GLOBAL_KEYWORD): New macros.
Mikael Djurfeldt [Wed, 23 Jun 1999 11:16:44 +0000 (11:16 +0000)]
* objects.h (SCM_SET_CLASS_DESTRUCTOR,
SCM_SET_CLASS_INSTANCE_SIZE): New macros.
Mikael Djurfeldt [Wed, 23 Jun 1999 11:16:28 +0000 (11:16 +0000)]
* objects.c (scm_init_objects): Initialize destructor slot of the
primordial entity class.
Mikael Djurfeldt [Wed, 23 Jun 1999 11:16:18 +0000 (11:16 +0000)]
* libguile.h: #include "objects.h"
Mikael Djurfeldt [Wed, 23 Jun 1999 11:16:09 +0000 (11:16 +0000)]
* keywords.c, keywords.h (scm_c_make_keyword): New function.
(We should remove the use of the prefix '-'.)
Mikael Djurfeldt [Wed, 23 Jun 1999 11:15:58 +0000 (11:15 +0000)]
* gc.c (scm_gc_sweep): Call struct free slot.
Marius Vollmer [Mon, 21 Jun 1999 15:18:48 +0000 (15:18 +0000)]
*** empty log message ***
Marius Vollmer [Mon, 21 Jun 1999 15:16:54 +0000 (15:16 +0000)]
Resolved harmless conflict.
Marius Vollmer [Mon, 21 Jun 1999 15:14:01 +0000 (15:14 +0000)]
* dynl.c (DYNL_GLOBAL): New.
(sysdep_dynl_link): Added `flags' argument.
(kw_global, sym_global): New.
(scm_dynamic_link): Handle keyword arguments. Pass suitable flags
to sysdep_dynl_link.
* dynl-dl.c (sysdep_dynl_link): Handle new `flags' argument by
conditrionally adding RTLD_GLOBAL to DLOPEN_MODES.
* dynl-shl.c (sysdep_dynl_link): Add and ignore new flags
argument.
* dynl-dld.c (sysdep_dynl_link): Add and ignore new flags
argument.
* dynl.h (scm_dynamic_link): Added rest argument.
* dynl.c (sysdep_dynl_unlink, sysdep_dynl_func): Use const
qualifier for char* argument, to match prototypes. Thanks to Mark
Elbrecht.
Jim Blandy [Mon, 21 Jun 1999 14:50:36 +0000 (14:50 +0000)]
*** empty log message ***
Jim Blandy [Mon, 21 Jun 1999 14:50:19 +0000 (14:50 +0000)]
* dynl.c (no_dynl_error, sysdep_dynl_link, sysdep_dynl_unlink,
sysdep_dynl_func): Use ANSI declarations, and const char *
pointers. (Thanks to Mark Elbrecht.)
Jim Blandy [Sat, 19 Jun 1999 20:21:25 +0000 (20:21 +0000)]
*** empty log message ***
Jim Blandy [Sat, 19 Jun 1999 20:21:07 +0000 (20:21 +0000)]
Patch from Greg Harvey:
* eq.c, eval.c, list.c, ramap.c, vectors.c: Always write parens
around the condition of an `if', `while', etc., even if the
condition is a macro invocation that expands to something
surrounded by parens. It's more readable.
Jim Blandy [Sat, 19 Jun 1999 17:27:01 +0000 (17:27 +0000)]
*** empty log message ***
Jim Blandy [Sat, 19 Jun 1999 17:26:09 +0000 (17:26 +0000)]
*** empty log message ***
Jim Blandy [Sat, 19 Jun 1999 17:25:25 +0000 (17:25 +0000)]
* eval.c (scm_map, scm_for_each): Verify that all arguments are
proper lists, and of the appropriate lengths.
(check_map_args): New function.
Jim Blandy [Sat, 19 Jun 1999 16:28:17 +0000 (16:28 +0000)]
*** empty log message ***
Jim Blandy [Sat, 19 Jun 1999 16:28:11 +0000 (16:28 +0000)]
* tests/interp.test: New file.
Jim Blandy [Sat, 19 Jun 1999 16:11:55 +0000 (16:11 +0000)]
*** empty log message ***
Jim Blandy [Sat, 19 Jun 1999 16:11:38 +0000 (16:11 +0000)]
* guardians.c (guardian_t): `next' - new field to be used for
chaining the live guardians in a single-linked list during the GC
mark phase.
(GUARDIAN_NEXT): convenience macro to access the `next' field.
(guardians, guardians_size, n_guardians): deleted.
(first_live_guardian, current_link_field): new globals used to
point to the head of the live guardian list and current `next'
field, respectively.
(g_mark): append the guardian to the live guardian list.
(scm_guardian_gc_init): zero the live guardian list.
(scm_guardian_zombify): iterate through the live guardian list.
Jim Blandy [Sat, 19 Jun 1999 11:02:18 +0000 (11:02 +0000)]
Remove spurious menu.
Jim Blandy [Fri, 18 Jun 1999 10:16:40 +0000 (10:16 +0000)]
*** empty log message ***
Jim Blandy [Fri, 18 Jun 1999 10:16:10 +0000 (10:16 +0000)]
* ls.scm (ls, lls): Handle no arguments as meaning to look in
`(current-module)'. (Patch from Thien-Thi Nguyen.)
Jim Blandy [Thu, 17 Jun 1999 22:52:01 +0000 (22:52 +0000)]
(A Common Mistake In Allocating Smobs): New section.
Jim Blandy [Wed, 16 Jun 1999 13:20:43 +0000 (13:20 +0000)]
*** empty log message ***
Jim Blandy [Wed, 16 Jun 1999 10:18:34 +0000 (10:18 +0000)]
*** empty log message ***
Jim Blandy [Wed, 16 Jun 1999 10:18:27 +0000 (10:18 +0000)]
* gc.c (scm_mallocated): Just make this signed.
(scm_igc): Check for underflow by seeing if this is negative.
Much cleaner.
* gc.h (scm_mallocated): Fix declaration.
(Thanks to Greg Harvey.)
Jim Blandy [Wed, 16 Jun 1999 09:57:52 +0000 (09:57 +0000)]
*** empty log message ***
Jim Blandy [Wed, 16 Jun 1999 09:05:55 +0000 (09:05 +0000)]
Doc fix.
Jim Blandy [Wed, 16 Jun 1999 09:00:35 +0000 (09:00 +0000)]
*** empty log message ***
Jim Blandy [Wed, 16 Jun 1999 08:53:46 +0000 (08:53 +0000)]
* ports.h: #include <sys/types.h>, to get a definition for `off_t'.
Jim Blandy [Wed, 16 Jun 1999 08:44:24 +0000 (08:44 +0000)]
*** empty log message ***
Jim Blandy [Tue, 15 Jun 1999 14:10:06 +0000 (14:10 +0000)]
*** empty log message ***
Jim Blandy [Tue, 15 Jun 1999 14:09:53 +0000 (14:09 +0000)]
* tests/time.test: New test file.
Jim Blandy [Tue, 15 Jun 1999 14:01:25 +0000 (14:01 +0000)]
*** empty log message ***
Jim Blandy [Tue, 15 Jun 1999 14:01:13 +0000 (14:01 +0000)]
* stime.c (bdtime2c): Initialize lt->gmtoff and lt->tm_zone from
sbd_time. (Thanks to Eric Hanchrow.)
Jim Blandy [Tue, 15 Jun 1999 14:00:24 +0000 (14:00 +0000)]
Fix from Ken Raeburn <raeburn@raeburn.org>:
* weaks.c (scm_make_weak_vector): Add another extra slot before
vector contents, to be used only during garbage collection.
* weaks.h (SCM_WVECT_GC_CHAIN): New macro to access it.
* gc.c (scm_weak_vectors): Now a SCM instead of a SCM*, and now
static.
(scm_weak_size, scm_n_weak): Deleted.
(scm_igc): Use SCM_WVECT_GC_CHAIN to build up a chain of weak
vectors without allocating new storage during GC, using
scm_weak_vectors as the head of the chain.
(scm_mark_weak_vector_spines): Walk SCM_WVECT_GC_CHAIN chain
instead of stepping through an array.
(scm_gc_sweep): Update offset used to find start of weak vector to
free it.
(scm_init_storage): Set scm_weak_vectors to EOL.
Fix from Ken Raeburn <raeburn@raeburn.org>:
* gc.c (already_in_gc): New variable.
(scm_igc): Set and clear already_in_gc; abort if it's set at
entry.
Jim Blandy [Tue, 15 Jun 1999 14:00:11 +0000 (14:00 +0000)]
Fix from Ken Raeburn <raeburn@raeburn.org>:
* weaks.c (scm_make_weak_vector): Add another extra slot before
vector contents, to be used only during garbage collection.
* weaks.h (SCM_WVECT_GC_CHAIN): New macro to access it.
* gc.c (scm_weak_vectors): Now a SCM instead of a SCM*, and now
static.
(scm_weak_size, scm_n_weak): Deleted.
(scm_igc): Use SCM_WVECT_GC_CHAIN to build up a chain of weak
vectors without allocating new storage during GC, using
scm_weak_vectors as the head of the chain.
(scm_mark_weak_vector_spines): Walk SCM_WVECT_GC_CHAIN chain
instead of stepping through an array.
(scm_gc_sweep): Update offset used to find start of weak vector to
free it.
(scm_init_storage): Set scm_weak_vectors to EOL.
Jim Blandy [Tue, 15 Jun 1999 08:40:04 +0000 (08:40 +0000)]
*** empty log message ***