Mikael Djurfeldt [Thu, 5 Aug 1999 12:08:53 +0000 (12:08 +0000)]
*** empty log message ***
Mikael Djurfeldt [Thu, 5 Aug 1999 12:08:01 +0000 (12:08 +0000)]
* feature.c, feature.h (scm_c_run_hook): Added.
Mikael Djurfeldt [Thu, 5 Aug 1999 12:05:57 +0000 (12:05 +0000)]
GOOPS needs the observer protocol specified for the new module
system. Here's a simple version for the old module system:
* boot-9.scm (module-observers, module-weak-observers,
module-observer-id, set-module-observers!,
set-module-observer-id!): New accessors.
(module-type): Added slots `observers', `weak-observers' and
`observer-id'.
(module-observe, module-observe-weak, module-unobserve,
module-modified!): New procedures.
(module-make-local-var!, module-add!, module-remove!,
module-clear!, module-define!, module-use!): Call module-modified!.
Mikael Djurfeldt [Wed, 4 Aug 1999 23:13:01 +0000 (23:13 +0000)]
Regenerated
Mikael Djurfeldt [Wed, 4 Aug 1999 22:55:53 +0000 (22:55 +0000)]
*** empty log message ***
Mikael Djurfeldt [Wed, 4 Aug 1999 22:55:08 +0000 (22:55 +0000)]
* eval.c (SCM_CEVAL:SCM_IM_DISPATCH): Bugfix: Jump back to
cdrxnoap and loopnoap instead of begin and loop.
Mikael Djurfeldt [Wed, 4 Aug 1999 20:11:42 +0000 (20:11 +0000)]
*** empty log message ***
Mikael Djurfeldt [Wed, 4 Aug 1999 20:11:18 +0000 (20:11 +0000)]
* Makefile.am (INCLUDES): Added -I$(srcdir)/../libguile.
(Thanks to Greg Badros.)
Gary Houston [Wed, 4 Aug 1999 19:00:34 +0000 (19:00 +0000)]
1999-08-04 Gary Houston <ghouston@easynet.co.uk>
* tests/ports.test: tests for buffered and unbuffered input/output
fports with seeking.
Gary Houston [Wed, 4 Aug 1999 18:15:31 +0000 (18:15 +0000)]
1999-08-04 Gary Houston <ghouston@easynet.co.uk>
* ports.c (scm_putc, scm_puts),
* unif.c (scm_uniform_array_write): use scm_lfwrite.
* ports.c (scm_putc): change type of first argument from int to char.
Mikael Djurfeldt [Wed, 4 Aug 1999 11:29:03 +0000 (11:29 +0000)]
*** empty log message ***
Mikael Djurfeldt [Wed, 4 Aug 1999 11:28:20 +0000 (11:28 +0000)]
* objects.h (SCM_CLASSF_GOOPS_VALID): Added.
(scm_si_redfined, scm_si_hashsets): Moved.
Mikael Djurfeldt [Wed, 4 Aug 1999 11:28:08 +0000 (11:28 +0000)]
* objects.c (scm_class_of): Use the new SCM_CLASSF_GOOPS_VALID
flag which combines type and status info so that the class
redefinition protocol has zero cost during normal execution.
Mikael Djurfeldt [Wed, 4 Aug 1999 11:27:44 +0000 (11:27 +0000)]
* eval.c (SCM_CEVAL): Improvements to SCM_IM_DISPATCH and
SCM_IM_HASH_DISPATCH.
Gary Houston [Tue, 3 Aug 1999 21:09:49 +0000 (21:09 +0000)]
* ports.h (scm_ptob_descriptor): include a write procedure again.
it's more efficient for unbuffered fports (e.g., sockets.)
* ports.c (scm_puts): use ptob->write.
* vports.c (scm_make_sfptob): set write proc in ptob.
* strports.c (scm_make_stptob): set write proc in ptob.
* ports.c (write_void_port): new procedure.
* vports.c (sf_write): new procedure.
* ports.c (scm_lfwrite): use ptob->write.
* strports.c (st_write): new procedure.
* fports.c (fport_write): new procedure.
(scm_make_fptob): set write in ptob to fport_write.
* ports.h: prototype for scm_set_port_write.
* ports.c (scm_make_port_type): initialise ptob write procedure.
(scm_set_port_write): new proc.
Jim Blandy [Sun, 1 Aug 1999 08:08:18 +0000 (08:08 +0000)]
*** empty log message ***
Jim Blandy [Sun, 1 Aug 1999 08:07:40 +0000 (08:07 +0000)]
* ports.c (scm_char_ready_p): Don't try to find PORT's ptab entry
until we've verified that it is actually a port. (Thanks to
Lorentey Karoly.)
Jim Blandy [Sun, 1 Aug 1999 08:06:15 +0000 (08:06 +0000)]
* tests/r4rs.test (SECTION 3 4): Each element of type-matrix
corresponds to an example object, not a predicate. Aubrey
probably never noticed this because SCM doesn't check the lengths
of the arguments to for-each and map...
Jim Blandy [Sun, 1 Aug 1999 08:06:01 +0000 (08:06 +0000)]
* tests/ports.test: Add some regression tests for char-ready?.
Jim Blandy [Sun, 1 Aug 1999 07:40:42 +0000 (07:40 +0000)]
*** empty log message ***
Mikael Djurfeldt [Sat, 31 Jul 1999 17:01:53 +0000 (17:01 +0000)]
*** empty log message ***
Mikael Djurfeldt [Sat, 31 Jul 1999 17:01:06 +0000 (17:01 +0000)]
* gc.c (scm_must_malloc, scm_must_realloc): Removed unnecessary
code, particularly an unnecessary test (len != size, where len ==
size). (Was this leftovers from debugging code, or have I missed
something profound?)
Mikael Djurfeldt [Sat, 31 Jul 1999 09:05:58 +0000 (09:05 +0000)]
*** empty log message ***
Mikael Djurfeldt [Sat, 31 Jul 1999 09:05:02 +0000 (09:05 +0000)]
* numbers.c (scm_makdbl): Bugfix: Initialize imaginary part.
(Thanks to Lorentey Karoly.)
Mikael Djurfeldt [Sat, 31 Jul 1999 09:04:46 +0000 (09:04 +0000)]
* hashtab.c: Bugfix: Don't declare s_hash_fold without storage
size. (Thanks to James Dean Palmer.)
Mikael Djurfeldt [Fri, 30 Jul 1999 21:48:33 +0000 (21:48 +0000)]
Updated copyright notice
Mikael Djurfeldt [Thu, 29 Jul 1999 23:03:16 +0000 (23:03 +0000)]
*** empty log message ***
Mikael Djurfeldt [Thu, 29 Jul 1999 23:02:26 +0000 (23:02 +0000)]
* struct.c (scm_print_struct): Use vtable name.
Mikael Djurfeldt [Thu, 29 Jul 1999 23:02:14 +0000 (23:02 +0000)]
* stacks.c (scm_init_stacks): Set name of stack type.
Mikael Djurfeldt [Thu, 29 Jul 1999 23:02:01 +0000 (23:02 +0000)]
* print.c (scm_init_print): Set name of print state type.
Mikael Djurfeldt [Thu, 29 Jul 1999 23:01:01 +0000 (23:01 +0000)]
* eval.c (scm_m_expand_body): Use scm_cons_source.
Mikael Djurfeldt [Thu, 29 Jul 1999 21:13:33 +0000 (21:13 +0000)]
*** empty log message ***
Mikael Djurfeldt [Thu, 29 Jul 1999 21:12:42 +0000 (21:12 +0000)]
* gsubr.c, procprop.h (scm_i_inner_name): Removed.
Mikael Djurfeldt [Thu, 29 Jul 1999 21:12:25 +0000 (21:12 +0000)]
* eval.c (SCM_CEVAL): Removed old implementation of internal
define.
Mikael Djurfeldt [Thu, 29 Jul 1999 21:11:51 +0000 (21:11 +0000)]
* debug.c, debug.h (scm_reverse_lookup): Added.
(scm_procedure_name): Use scm_reverse_lookup to lookup the name of
internal procedure definitions; Don't use scm_i_inner_name.
Mikael Djurfeldt [Thu, 29 Jul 1999 21:11:37 +0000 (21:11 +0000)]
* debug.c, debug.h (scm_reverse_lookup): Added.
(scm_procedure_name): Use scm_reverse_lookup to lookup the name of
internal procedure definitions; Don't use scm_i_inner_name.
* debug.c (scm_procedure_source): Cons SCM_IM_LAMBDA onto
procedure source before calling scm_unmemocopy instead of faking
an environment.
Mikael Djurfeldt [Thu, 29 Jul 1999 19:15:08 +0000 (19:15 +0000)]
Removed superfluous code in scm_macroexp.
Mikael Djurfeldt [Thu, 29 Jul 1999 19:14:08 +0000 (19:14 +0000)]
*** empty log message ***
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 ***