Mikael Djurfeldt [Thu, 29 Jul 1999 18:15:24 +0000 (18:15 +0000)]
*** empty log message ***
Mikael Djurfeldt [Thu, 29 Jul 1999 18:13:14 +0000 (18:13 +0000)]
* eval.c, tags.h, print.c (SCM_IM_SLOT_REF, SCM_IM_SLOT_SET_X):
New isym operations.
Mikael Djurfeldt [Thu, 29 Jul 1999 18:13:04 +0000 (18:13 +0000)]
* eval.h: Added prototypes for multi language support functions.
Mikael Djurfeldt [Thu, 29 Jul 1999 18:12:51 +0000 (18:12 +0000)]
* eval.c, tags.h, print.c (SCM_IM_SLOT_REF, SCM_IM_SLOT_SET_X):
New isym operations.
* eval.c (SCM_IM_DISPATCH, SCM_IM_HASH_DISPATCH): Don't use
improper lists in the low-level representation, since that will
cause a begin to be prepended at macro expansion.
* eval.c (scm_cons_source): Version of cons which copies source
properties from an existing cell.
(scm_m_quote, scm_m_begin, scm_m_if, scm_m_set_x, scm_m_and,
scm_m_or, scm_m_case, scm_m_cond, scm_m_lambda, scm_m_letstar,
scm_m_do, scm_m_letrec, scm_m_let, scm_copy_tree): Use
scm_cons_source.
Mikael Djurfeldt [Thu, 29 Jul 1999 18:12:21 +0000 (18:12 +0000)]
* boot-9.scm (error-catching-loop): Correct non-RnRS usage of internal
defines.
Mikael Djurfeldt [Thu, 29 Jul 1999 18:12:01 +0000 (18:12 +0000)]
* guile-config.in (build-link): Correct non-RnRS usage of internal
defines.
Mikael Djurfeldt [Thu, 29 Jul 1999 09:55:25 +0000 (09:55 +0000)]
*** empty log message ***
Mikael Djurfeldt [Thu, 29 Jul 1999 09:54:34 +0000 (09:54 +0000)]
* eval.c, tags.h, print.c (SCM_IM_SLOT_REF, SCM_IM_SLOT_SET_X):
New isym operations.
Mikael Djurfeldt [Thu, 29 Jul 1999 09:54:10 +0000 (09:54 +0000)]
* eval.c (SCM_IM_DISPATCH, SCM_IM_HASH_DISPATCH): Don't use
improper lists in the low-level representation, since that will
cause a begin to be prepended at macro expansion.
* eval.c, tags.h, print.c (SCM_IM_SLOT_REF, SCM_IM_SLOT_SET_X):
New isym operations.
Mikael Djurfeldt [Thu, 29 Jul 1999 09:53:48 +0000 (09:53 +0000)]
* eval.h: Added prototypes for multi language support functions.
Mikael Djurfeldt [Wed, 28 Jul 1999 20:39:34 +0000 (20:39 +0000)]
Removed configuration option --enable-lang which was recently added.
Jim Blandy [Tue, 27 Jul 1999 20:11:57 +0000 (20:11 +0000)]
*** empty log message ***
Mikael Djurfeldt [Tue, 27 Jul 1999 19:14:19 +0000 (19:14 +0000)]
*** empty log message ***
Mikael Djurfeldt [Tue, 27 Jul 1999 19:12:13 +0000 (19:12 +0000)]
Regenerated
Mikael Djurfeldt [Tue, 27 Jul 1999 19:10:34 +0000 (19:10 +0000)]
* acconfig.h (GUILE_LANG): New configuration variable.
Mikael Djurfeldt [Tue, 27 Jul 1999 19:10:04 +0000 (19:10 +0000)]
* tags.h, print.c (SCM_IM_NIL_COND, SCM_IM_NIL_IFY, SCM_IM_T_IFY,
SCM_IM_0_COND, SCM_IM_0_IFY, SCM_IM_1_IFY), print.c
(scm_isymnames): New isyms for multi-language support.
Mikael Djurfeldt [Tue, 27 Jul 1999 19:09:31 +0000 (19:09 +0000)]
* Makefile.am (EXTRA_libguile_la_SOURCES): Added lang.c.
* lang.c: New file: Beginning of multi-language support.
Mikael Djurfeldt [Tue, 27 Jul 1999 19:09:19 +0000 (19:09 +0000)]
* init.c (scm_boot_guile_1): Added call to scm_init_lang ().
Mikael Djurfeldt [Tue, 27 Jul 1999 19:09:06 +0000 (19:09 +0000)]
* eval.c (scm_nil, scm_t): New symbols.
(nil-cond, nil-ify, t-ify, 0-cond, 0-ify, 1-ify): New special
forms for multi-language support.
Mikael Djurfeldt [Tue, 27 Jul 1999 19:08:39 +0000 (19:08 +0000)]
* dynwind.c (scm_dowinds): Removed obsolete wind_key #f case.
(scm_dynamic_wind): Added argument checking for the after guard so
that we don't add garbage on the dynwind chain.
(scm_swap_bindings): Added.
Mikael Djurfeldt [Tue, 27 Jul 1999 19:08:11 +0000 (19:08 +0000)]
* Makefile.am (EXTRA_libguile_la_SOURCES): Added lang.c.
Mikael Djurfeldt [Tue, 27 Jul 1999 19:07:42 +0000 (19:07 +0000)]
* configure.in: Added option --enable-lang.
Mikael Djurfeldt [Tue, 27 Jul 1999 19:07:30 +0000 (19:07 +0000)]
*** empty log message ***
Jim Blandy [Mon, 26 Jul 1999 03:28:21 +0000 (03:28 +0000)]
*** empty log message ***
Mikael Djurfeldt [Sun, 25 Jul 1999 19:26:55 +0000 (19:26 +0000)]
*** empty log message ***
Mikael Djurfeldt [Sun, 25 Jul 1999 19:25:01 +0000 (19:25 +0000)]
* random.c, random.h (scm_c_default_rstate, scm_c_uniform32):
Added.
Renamed functions in the random function library interface
from scm_i_XXX --> scm_c_XXX.
Gary Houston [Sun, 25 Jul 1999 17:45:01 +0000 (17:45 +0000)]
1999-07-25 Gary Houston <ghouston@easynet.co.uk>
* ports.c (scm_putc): fix line-buffering.
(init.c: remove an obsolete comment).
Mikael Djurfeldt [Sun, 25 Jul 1999 12:21:03 +0000 (12:21 +0000)]
* ports.c, ports.h, fports.c, strports.c, vports.c: Renamed
scm_set_ptob_XXX --> scm_set_port_XXX.
Mikael Djurfeldt [Sun, 25 Jul 1999 12:20:31 +0000 (12:20 +0000)]
*** empty log message ***
Mikael Djurfeldt [Sat, 24 Jul 1999 23:12:27 +0000 (23:12 +0000)]
Regenerated
Mikael Djurfeldt [Sat, 24 Jul 1999 23:11:11 +0000 (23:11 +0000)]
* vports.c (scm_sfport, prinsfpt, sf_read_flush, noop0): Removed.
(scm_make_sfport): Added.
Mikael Djurfeldt [Sat, 24 Jul 1999 23:10:57 +0000 (23:10 +0000)]
*** empty log message ***
Mikael Djurfeldt [Sat, 24 Jul 1999 23:10:43 +0000 (23:10 +0000)]
* strports.c (scm_stptob, prinstpt, noop0): Removed
(scm_make_stptob): Added.
Mikael Djurfeldt [Sat, 24 Jul 1999 23:10:27 +0000 (23:10 +0000)]
* smob.c (scm_smob_print): Handle non-existing type name nicely.
Removed #include "genio.h"
Mikael Djurfeldt [Sat, 24 Jul 1999 23:10:13 +0000 (23:10 +0000)]
* ports.c, ports.h (scm_make_port_type): New interface for
creation of port types (replaces scm_newptob). Just as for the
smobs, we need to separate the internal representation of smob
types from the interface, so that we easily can add new fields and
rearrange things without caring about backward compatibility.
This change was forced by the need in GOOPS to create classes
representing port types.
(scm_set_ptob_mark, scm_set_ptob_free, scm_set_ptob_print,
scm_set_ptob_equalp, scm_set_ptob_flush_input, scm_set_ptob_close,
scm_set_ptob_seek, scm_set_ptob_truncate,
scm_set_ptob_input_waiting_p): New setters.
(scm_newptob): Rewritten to use scm_make_port_type. For backward
compatibility.
(scm_ptobs): Changed type scm_ptobfuns --> scm_ptob_descriptor.
(scm_prinport): Removed.
(scm_port_print): Added.
(scm_print_port_mode): Added.
(void_port_ptob, print_void_port, close_void_port, noop0):
Removed. Removed #include "genio.h" Added #include "objects.h",
#include "smobs.h"
Mikael Djurfeldt [Sat, 24 Jul 1999 23:09:48 +0000 (23:09 +0000)]
* objects.c (scm_make_port_classes): New function ptr.
Mikael Djurfeldt [Sat, 24 Jul 1999 23:09:28 +0000 (23:09 +0000)]
* ioext.c (scm_redirect_port): Replaced scm_ptobfuns -->
scm_ptob_descriptor.
Mikael Djurfeldt [Sat, 24 Jul 1999 23:09:18 +0000 (23:09 +0000)]
Removed
Mikael Djurfeldt [Sat, 24 Jul 1999 23:08:55 +0000 (23:08 +0000)]
* gc.c (scm_gc_sweep): Use value returned from scm_ptobs[].free.
Mikael Djurfeldt [Sat, 24 Jul 1999 23:08:29 +0000 (23:08 +0000)]
* fports.c (prinfport): Moved code from ports.c.
(local_free): Added.
(scm_fptob): Removed. Instead use new interface.
(scm_make_fptob): Added. (Need to create basic ports in a
specific order in ports.c.)
Mikael Djurfeldt [Sat, 24 Jul 1999 23:08:16 +0000 (23:08 +0000)]
* filesys.c (scm_dir_print): Don't use the port printing code.
Instead provide specific directory printer.
Mikael Djurfeldt [Sat, 24 Jul 1999 22:59:43 +0000 (22:59 +0000)]
*** empty log message ***
Gary Houston [Sat, 24 Jul 1999 19:52:13 +0000 (19:52 +0000)]
1999-07-24 Gary Houston <ghouston@easynet.co.uk>
* gdbint.c (gdb_print, gdb_read): call scm_truncate_file.
* ports.c (scm_truncate_file): renamed from scm_ftruncate.
allow the 1st argument to be a fdes or filename as well as a
port (as in the filesys.c version).
* filesys.c (scm_truncate_file): removed.
Mikael Djurfeldt [Sat, 24 Jul 1999 11:55:34 +0000 (11:55 +0000)]
*** empty log message ***
Mikael Djurfeldt [Sat, 24 Jul 1999 11:51:24 +0000 (11:51 +0000)]
Regenerated
Mikael Djurfeldt [Sat, 24 Jul 1999 11:48:47 +0000 (11:48 +0000)]
*** empty log message ***
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.
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.
Mikael Djurfeldt [Sat, 24 Jul 1999 11:39:36 +0000 (11:39 +0000)]
*** empty log message ***
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.
Mikael Djurfeldt [Sat, 24 Jul 1999 11:38:03 +0000 (11:38 +0000)]
* Makefile.am (BUILT_SOURCES): Added.
Mikael Djurfeldt [Sat, 24 Jul 1999 11:37:12 +0000 (11:37 +0000)]
* readline.c, readline.h: Removed.
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.
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