bpt/guile.git
24 years ago*** empty log message ***
Mikael Djurfeldt [Sat, 24 Jul 1999 11:55:34 +0000 (11:55 +0000)]
*** empty log message ***

24 years agoRegenerated
Mikael Djurfeldt [Sat, 24 Jul 1999 11:51:24 +0000 (11:51 +0000)]
Regenerated

24 years ago*** empty log message ***
Mikael Djurfeldt [Sat, 24 Jul 1999 11:48:47 +0000 (11:48 +0000)]
*** empty log message ***

24 years ago* README, config.guess, config.sub, liconfig, ltmain.sh: Switched
Mikael Djurfeldt [Sat, 24 Jul 1999 11:47:50 +0000 (11:47 +0000)]
* README, config.guess, config.sub, liconfig, ltmain.sh: Switched
to libtool-1.3.3.

24 years ago* readline.c (handle_error): Put a cosmetic newline on
Mikael Djurfeldt [Sat, 24 Jul 1999 11:40:11 +0000 (11:40 +0000)]
* readline.c (handle_error): Put a cosmetic newline on
rl_outstream on error before closing it.

* readline.c: #include "libguile/_scm.h" (so that we get the
configuration information) and fix other includes so that they'll
work on a system where guile is not yet installed.

24 years ago*** empty log message ***
Mikael Djurfeldt [Sat, 24 Jul 1999 11:39:36 +0000 (11:39 +0000)]
*** empty log message ***

24 years ago* configure.in: Changed AC_MSG_ERROR into AC_MSG_WARN in case
Mikael Djurfeldt [Sat, 24 Jul 1999 11:38:30 +0000 (11:38 +0000)]
* configure.in: Changed AC_MSG_ERROR into AC_MSG_WARN in case
readline doesn't exist on the system, so that configuration can
proceed normally without readline.

24 years ago* Makefile.am (BUILT_SOURCES): Added.
Mikael Djurfeldt [Sat, 24 Jul 1999 11:38:03 +0000 (11:38 +0000)]
* Makefile.am (BUILT_SOURCES): Added.

24 years ago* readline.c, readline.h: Removed.
Mikael Djurfeldt [Sat, 24 Jul 1999 11:37:12 +0000 (11:37 +0000)]
* readline.c, readline.h: Removed.

24 years ago* objects.c, objects.h (scm_port_class): Added.
Mikael Djurfeldt [Sat, 24 Jul 1999 11:36:30 +0000 (11:36 +0000)]
* objects.c, objects.h (scm_port_class): Added.
(scm_class_of): Look up port class in scm_port_class.
(SCM_IN_PCLASS_INDEX, SCM_OUT_PCLASS_INDEX,
SCM_INOUT_PCLASS_INDEX): Added.

24 years agoAdded guile-readline subdirectory with the removed readline
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.

24 years ago* Checked everything into CVS.
Marius Vollmer [Fri, 23 Jul 1999 21:43:58 +0000 (21:43 +0000)]
* Checked everything into CVS.

24 years ago*** empty log message ***
Mikael Djurfeldt [Fri, 23 Jul 1999 13:14:20 +0000 (13:14 +0000)]
*** empty log message ***

24 years ago* init.c: Make sure that scm_post_boot_init_modules is called only
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.)

24 years ago*** empty log message ***
Mikael Djurfeldt [Fri, 23 Jul 1999 11:38:34 +0000 (11:38 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Mikael Djurfeldt [Fri, 23 Jul 1999 11:30:50 +0000 (11:30 +0000)]
*** empty log message ***

24 years agoMention GOOPS (oops).
Jim Blandy [Fri, 23 Jul 1999 08:16:31 +0000 (08:16 +0000)]
Mention GOOPS (oops).

24 years agoNEWS entries for the port changes, surprisingly few.
Gary Houston [Thu, 22 Jul 1999 21:14:49 +0000 (21:14 +0000)]
NEWS entries for the port changes, surprisingly few.

24 years ago*** empty log message ***
Jim Blandy [Thu, 22 Jul 1999 14:25:35 +0000 (14:25 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Mikael Djurfeldt [Wed, 21 Jul 1999 16:06:49 +0000 (16:06 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Mikael Djurfeldt [Wed, 21 Jul 1999 15:18:55 +0000 (15:18 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Blandy [Mon, 19 Jul 1999 19:07:11 +0000 (19:07 +0000)]
*** empty log message ***

24 years ago* streams.scm: New module, contributed by Michael Livshin.
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.

24 years ago*** empty log message ***
Jim Blandy [Mon, 19 Jul 1999 18:57:40 +0000 (18:57 +0000)]
*** empty log message ***

24 years ago* guardians.c (scm_guardian_zombify): Separate scanning for
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.

24 years ago*** empty log message ***
Jim Blandy [Mon, 19 Jul 1999 18:46:09 +0000 (18:46 +0000)]
*** empty log message ***

24 years ago* guardians.c (scm_guardian_zombify): Don't set marks manually ---
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.)

24 years ago* tests/ports.test: Fix copyright years.
Jim Blandy [Mon, 19 Jul 1999 18:44:32 +0000 (18:44 +0000)]
* tests/ports.test: Fix copyright years.

24 years ago* tests/guardians.test: New test file.
Jim Blandy [Mon, 19 Jul 1999 18:44:12 +0000 (18:44 +0000)]
* tests/guardians.test: New test file.

24 years ago*** empty log message ***
Jim Blandy [Mon, 19 Jul 1999 08:59:30 +0000 (08:59 +0000)]
*** empty log message ***

24 years ago* stime.c (ftime): Delete declaration for this function --- let
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.

24 years ago* eval.c (scm_m_lambda): Let bodycheck check the body of the
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.)

24 years ago*** empty log message ***
Jim Blandy [Mon, 19 Jul 1999 08:22:28 +0000 (08:22 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Blandy [Mon, 19 Jul 1999 08:20:44 +0000 (08:20 +0000)]
*** empty log message ***

24 years ago* net_db.c (h_errno): Don't declare this if it's #defined. Eew.
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.)

24 years ago*** empty log message ***
Jim Blandy [Mon, 19 Jul 1999 08:11:28 +0000 (08:11 +0000)]
*** empty log message ***

24 years ago* boot-9.scm (read-delimited!): Put the terminator in the correct
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.

24 years ago* tests/ports.test ("read-delimited!"): New tests.
Jim Blandy [Mon, 19 Jul 1999 08:10:30 +0000 (08:10 +0000)]
* tests/ports.test ("read-delimited!"): New tests.

24 years ago*** empty log message ***
Jim Blandy [Mon, 19 Jul 1999 07:54:37 +0000 (07:54 +0000)]
*** empty log message ***

24 years ago* tags.h (SCM_IMP, SCM_NCONSP, SCM_NCELLP, SCM_ITAG3, SCM_TYP3,
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.

24 years ago* snarf.h (SCM_CONST_LONG): Remove trailing semicolon from
Jim Blandy [Mon, 19 Jul 1999 07:53:51 +0000 (07:53 +0000)]
* snarf.h (SCM_CONST_LONG): Remove trailing semicolon from
definition.

24 years ago* scmsigs.c (scm_sigaction): Cast SIG_DFL and SIG_IGN to SCM, not
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.

24 years ago* regex-posix.c (scm_regexp_error_msg): Change `rx' argument to
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.

24 years ago* gdbint.c: Don't include <stdio.h> and "_scm.h" twice.
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.

24 years ago* filesys.c: #include <io.h>, if we have it.
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.

24 years ago* configure.in: Check for <io.h>.
Jim Blandy [Mon, 19 Jul 1999 07:49:01 +0000 (07:49 +0000)]
* configure.in: Check for <io.h>.
* configure: Regenerated.

24 years agoRegenerated.
Jim Blandy [Mon, 19 Jul 1999 07:42:33 +0000 (07:42 +0000)]
Regenerated.

24 years ago*** empty log message ***
Jim Blandy [Mon, 19 Jul 1999 02:40:04 +0000 (02:40 +0000)]
*** empty log message ***

24 years ago* qthreads.m4 (QTHREADS_CONFIGURE): 'alpha' in a configuration
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.)

24 years ago*** empty log message ***
Jim Blandy [Sat, 17 Jul 1999 18:43:17 +0000 (18:43 +0000)]
*** empty log message ***

24 years agoPatch from Greg Badros:
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.

24 years ago1999-07-14 Gary Houston <ghouston@easynet.co.uk>
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.

24 years ago1999-07-13 Gary Houston <ghouston@easynet.co.uk>
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.

24 years ago*** empty log message ***
Mikael Djurfeldt [Thu, 8 Jul 1999 05:58:11 +0000 (05:58 +0000)]
*** empty log message ***

24 years ago* symbols.c (scm_gensym): Bugfix. (Thanks to Johannes Hjorth.)
Mikael Djurfeldt [Thu, 8 Jul 1999 05:55:34 +0000 (05:55 +0000)]
* symbols.c (scm_gensym): Bugfix.  (Thanks to Johannes Hjorth.)

24 years ago*** empty log message ***
Mikael Djurfeldt [Wed, 7 Jul 1999 09:44:53 +0000 (09:44 +0000)]
*** empty log message ***

24 years agoGreg's smob patch
Mikael Djurfeldt [Wed, 7 Jul 1999 09:44:01 +0000 (09:44 +0000)]
Greg's smob patch

24 years ago* image-type.c: Updated example to use scm_make_smob_type_mfpe,
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.

24 years ago* data-rep.texi: Updated SMOB docs to talk about
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.

24 years ago1999-07-04 Gary Houston <ghouston@easynet.co.uk>
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.

24 years ago1999-07-04 Gary Houston <ghouston@easynet.co.uk>
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.

24 years agonever finished
Jim Blandy [Wed, 30 Jun 1999 09:27:12 +0000 (09:27 +0000)]
never finished

24 years ago*** empty log message ***
Mikael Djurfeldt [Tue, 29 Jun 1999 10:36:08 +0000 (10:36 +0000)]
*** empty log message ***

24 years ago* readline.scm: Bugfix: Avoid getting the continued-lines prompt
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.

24 years ago* boot-9.scm (top-repl): Set/clear readline prompts before/after
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.

24 years ago*** empty log message ***
Mikael Djurfeldt [Wed, 23 Jun 1999 16:00:30 +0000 (16:00 +0000)]
*** empty log message ***

24 years ago* dynl-dl.c (sysdep_dynl_link): Added parenthesis around the
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.

24 years ago*** empty log message ***
Mikael Djurfeldt [Wed, 23 Jun 1999 12:01:04 +0000 (12:01 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Mikael Djurfeldt [Wed, 23 Jun 1999 11:19:45 +0000 (11:19 +0000)]
*** empty log message ***

24 years ago* tag.c (scm_tag): Base tag on vtable pointer.
Mikael Djurfeldt [Wed, 23 Jun 1999 11:19:25 +0000 (11:19 +0000)]
* tag.c (scm_tag): Base tag on vtable pointer.

24 years ago* struct.c, struct.h:
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.

24 years ago* snarf.h (SCM_KEYWORD, SCM_GLOBAL_KEYWORD): New macros.
Mikael Djurfeldt [Wed, 23 Jun 1999 11:16:52 +0000 (11:16 +0000)]
* snarf.h (SCM_KEYWORD, SCM_GLOBAL_KEYWORD): New macros.

24 years ago* objects.h (SCM_SET_CLASS_DESTRUCTOR,
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.

24 years ago* objects.c (scm_init_objects): Initialize destructor slot of the
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.

24 years ago* libguile.h: #include "objects.h"
Mikael Djurfeldt [Wed, 23 Jun 1999 11:16:18 +0000 (11:16 +0000)]
* libguile.h: #include "objects.h"

24 years ago* keywords.c, keywords.h (scm_c_make_keyword): New function.
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 '-'.)

24 years ago* gc.c (scm_gc_sweep): Call struct free slot.
Mikael Djurfeldt [Wed, 23 Jun 1999 11:15:58 +0000 (11:15 +0000)]
* gc.c (scm_gc_sweep): Call struct free slot.

24 years ago*** empty log message ***
Marius Vollmer [Mon, 21 Jun 1999 15:18:48 +0000 (15:18 +0000)]
*** empty log message ***

24 years agoResolved harmless conflict.
Marius Vollmer [Mon, 21 Jun 1999 15:16:54 +0000 (15:16 +0000)]
Resolved harmless conflict.

24 years ago* dynl.c (DYNL_GLOBAL): New.
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.

24 years ago*** empty log message ***
Jim Blandy [Mon, 21 Jun 1999 14:50:36 +0000 (14:50 +0000)]
*** empty log message ***

24 years ago* dynl.c (no_dynl_error, sysdep_dynl_link, sysdep_dynl_unlink,
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.)

24 years ago*** empty log message ***
Jim Blandy [Sat, 19 Jun 1999 20:21:25 +0000 (20:21 +0000)]
*** empty log message ***

24 years agoPatch from Greg Harvey:
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.

24 years ago*** empty log message ***
Jim Blandy [Sat, 19 Jun 1999 17:27:01 +0000 (17:27 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Blandy [Sat, 19 Jun 1999 17:26:09 +0000 (17:26 +0000)]
*** empty log message ***

24 years ago* eval.c (scm_map, scm_for_each): Verify that all arguments are
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.

24 years ago*** empty log message ***
Jim Blandy [Sat, 19 Jun 1999 16:28:17 +0000 (16:28 +0000)]
*** empty log message ***

24 years ago* tests/interp.test: New file.
Jim Blandy [Sat, 19 Jun 1999 16:28:11 +0000 (16:28 +0000)]
* tests/interp.test: New file.

24 years ago*** empty log message ***
Jim Blandy [Sat, 19 Jun 1999 16:11:55 +0000 (16:11 +0000)]
*** empty log message ***

24 years ago* guardians.c (guardian_t): `next' - new field to be used for
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.

24 years agoRemove spurious menu.
Jim Blandy [Sat, 19 Jun 1999 11:02:18 +0000 (11:02 +0000)]
Remove spurious menu.

24 years ago*** empty log message ***
Jim Blandy [Fri, 18 Jun 1999 10:16:40 +0000 (10:16 +0000)]
*** empty log message ***

24 years ago* ls.scm (ls, lls): Handle no arguments as meaning to look in
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.)

24 years ago(A Common Mistake In Allocating Smobs): New section.
Jim Blandy [Thu, 17 Jun 1999 22:52:01 +0000 (22:52 +0000)]
(A Common Mistake In Allocating Smobs): New section.

24 years ago*** empty log message ***
Jim Blandy [Wed, 16 Jun 1999 13:20:43 +0000 (13:20 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Blandy [Wed, 16 Jun 1999 10:18:34 +0000 (10:18 +0000)]
*** empty log message ***

24 years ago* gc.c (scm_mallocated): Just make this signed.
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.)

24 years ago*** empty log message ***
Jim Blandy [Wed, 16 Jun 1999 09:57:52 +0000 (09:57 +0000)]
*** empty log message ***

24 years agoDoc fix.
Jim Blandy [Wed, 16 Jun 1999 09:05:55 +0000 (09:05 +0000)]
Doc fix.