bpt/guile.git
24 years agoFix
Mikael Djurfeldt [Sun, 29 Aug 1999 21:07:04 +0000 (21:07 +0000)]
Fix

24 years ago*** empty log message ***
Mikael Djurfeldt [Sun, 29 Aug 1999 19:30:00 +0000 (19:30 +0000)]
*** empty log message ***

24 years agoFix of last fix
Mikael Djurfeldt [Sun, 29 Aug 1999 19:26:53 +0000 (19:26 +0000)]
Fix of last fix

24 years ago*** empty log message ***
Mikael Djurfeldt [Sun, 29 Aug 1999 18:32:24 +0000 (18:32 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Mikael Djurfeldt [Sun, 29 Aug 1999 18:17:58 +0000 (18:17 +0000)]
*** empty log message ***

24 years ago* numbers.c (scm_lcm): Bugfix: BIGDIG --> SCM_BIGDIG;
Mikael Djurfeldt [Sun, 29 Aug 1999 18:15:09 +0000 (18:15 +0000)]
* numbers.c (scm_lcm): Bugfix: BIGDIG --> SCM_BIGDIG;
Account for the case when second argument is unbound.

24 years ago* strorder.c (scm_string_less_p, scm_string_ci_less_p): Bugfix.
Mikael Djurfeldt [Sun, 29 Aug 1999 18:04:55 +0000 (18:04 +0000)]
* strorder.c (scm_string_less_p, scm_string_ci_less_p): Bugfix.
(Thanks to Karoly Lorentey.)

24 years agoRegenerated
Mikael Djurfeldt [Sun, 29 Aug 1999 18:04:43 +0000 (18:04 +0000)]
Regenerated

24 years ago* gh_data.c, ports.c, strop.c: Alternatively use bcopy if memmove
Mikael Djurfeldt [Sun, 29 Aug 1999 18:04:28 +0000 (18:04 +0000)]
* gh_data.c, ports.c, strop.c: Alternatively use bcopy if memmove
isn't present.  (Thanks to suzukis@file.phys.tohoku.ac.jp.)

* ports.c: Use ANSI C prototypes in definitions.  (Thanks to
Bernard Urban.)

24 years ago* gh_data.c, ports.c, strop.c: Alternatively use bcopy if memmove
Mikael Djurfeldt [Sun, 29 Aug 1999 18:04:11 +0000 (18:04 +0000)]
* gh_data.c, ports.c, strop.c: Alternatively use bcopy if memmove
isn't present.  (Thanks to suzukis@file.phys.tohoku.ac.jp.)

24 years ago* filesys.c (scm_stat2scm): Conditionally use S_ISLNK.
Mikael Djurfeldt [Sun, 29 Aug 1999 18:03:39 +0000 (18:03 +0000)]
* filesys.c (scm_stat2scm): Conditionally use S_ISLNK.

24 years ago* dynl-dl.c (RTLD_GLOBAL): Define if non-existent. (Thanks to
Mikael Djurfeldt [Sun, 29 Aug 1999 18:03:26 +0000 (18:03 +0000)]
* dynl-dl.c (RTLD_GLOBAL): Define if non-existent.  (Thanks to
Bernard Urban and Ian Grant.)

24 years ago* Makefile.am (libguile_la_LDFLAGS): Bumped libguile version
Mikael Djurfeldt [Sun, 29 Aug 1999 18:03:02 +0000 (18:03 +0000)]
* Makefile.am (libguile_la_LDFLAGS): Bumped libguile version
again.  (1.3.4 will be binary incompatible with 1.3.2 because of a
change in the representation of entities and operators.)

24 years ago*** empty log message ***
Mikael Djurfeldt [Sun, 29 Aug 1999 18:02:44 +0000 (18:02 +0000)]
*** empty log message ***

24 years agoThe following change makes it possible for applications to have
Mikael Djurfeldt [Sun, 29 Aug 1999 18:02:19 +0000 (18:02 +0000)]
The following change makes it possible for applications to have
their own version of scm_readline.
* readline.c, readline.h (rl_cleanup_after_signal,
rl_free_line_state): Made global.
(scm_readline_init_ports): New function.
(scm_readline): Use scm_readline_init_ports.
(Thanks to Anders Holst.)

24 years ago* Makefile.am: Install guile-readline/readline.h.
Mikael Djurfeldt [Sun, 29 Aug 1999 18:01:52 +0000 (18:01 +0000)]
* Makefile.am: Install guile-readline/readline.h.

24 years ago* configure.in: Test for presence of S_ISLNK in sys/stat.h.
Mikael Djurfeldt [Sun, 29 Aug 1999 18:00:48 +0000 (18:00 +0000)]
* configure.in: Test for presence of S_ISLNK in sys/stat.h.
(Thanks to Bernard Urban.)
Test for memmove and bcopy.  (Thanks to
suzukis@file.phys.tohoku.ac.jp.)

24 years ago* acconfig.h: Added HAVE_S_ISLNK.
Mikael Djurfeldt [Sun, 29 Aug 1999 17:57:35 +0000 (17:57 +0000)]
* acconfig.h: Added HAVE_S_ISLNK.

24 years ago* configure.in: Test for presence of S_ISLNK in sys/stat.h.
Mikael Djurfeldt [Sun, 29 Aug 1999 17:57:05 +0000 (17:57 +0000)]
* configure.in: Test for presence of S_ISLNK in sys/stat.h.
(Thanks to Bernard Urban.)
Test for memmove and bcopy.  (Thanks to

24 years ago*** empty log message ***
Mikael Djurfeldt [Sun, 29 Aug 1999 17:56:12 +0000 (17:56 +0000)]
*** empty log message ***

24 years ago1999-08-29 Gary Houston <ghouston@easynet.co.uk>
Gary Houston [Sun, 29 Aug 1999 17:48:26 +0000 (17:48 +0000)]
1999-08-29  Gary Houston  <ghouston@easynet.co.uk>

* tests/ports.test: test unread-char and unread-string.

24 years agoadd the attribution
Gary Houston [Sun, 29 Aug 1999 16:54:34 +0000 (16:54 +0000)]
add the attribution

24 years ago1999-08-29 Gary Houston <ghouston@easynet.co.uk>
Gary Houston [Sun, 29 Aug 1999 16:50:40 +0000 (16:50 +0000)]
1999-08-29  Gary Houston  <ghouston@easynet.co.uk>

* ports.c (scm_ungetc): bugfix: if putback_buf is NULL
don't allocate zero bytes.

24 years ago*** empty log message ***
Mikael Djurfeldt [Sun, 29 Aug 1999 14:24:24 +0000 (14:24 +0000)]
*** empty log message ***

24 years ago* stacks.c (scm_sym_apply): Removed. (Thanks to Ken Raeburn.)
Mikael Djurfeldt [Sun, 29 Aug 1999 14:22:59 +0000 (14:22 +0000)]
* stacks.c (scm_sym_apply): Removed.  (Thanks to Ken Raeburn.)

24 years ago* procs.c (scm_setter): Converted to use generic dispatch.
Mikael Djurfeldt [Sun, 29 Aug 1999 14:22:44 +0000 (14:22 +0000)]
* procs.c (scm_setter): Converted to use generic dispatch.

24 years ago* load.c (scm_search_path): Don't try extensions which already are
Mikael Djurfeldt [Sun, 29 Aug 1999 14:22:29 +0000 (14:22 +0000)]
* load.c (scm_search_path): Don't try extensions which already are
present at the end of the filename.
(scm_init_load): Check .scm first. (Thanks to Keisuke Nishida.)

24 years ago* eval.c, eval.h: Bugfix: scm_sym_apply was not initialized
Mikael Djurfeldt [Sun, 29 Aug 1999 14:22:16 +0000 (14:22 +0000)]
* eval.c, eval.h: Bugfix: scm_sym_apply was not initialized
correctly.

24 years ago* boot-9.scm (try-module-autoload): Use %search-load-path.
Mikael Djurfeldt [Sun, 29 Aug 1999 14:21:30 +0000 (14:21 +0000)]
* boot-9.scm (try-module-autoload): Use %search-load-path.

24 years ago*** empty log message ***
Mikael Djurfeldt [Sun, 29 Aug 1999 03:29:03 +0000 (03:29 +0000)]
*** empty log message ***

24 years ago* tags.h (SCM_IM_HASH_DISPATCH): Removed.
Mikael Djurfeldt [Sun, 29 Aug 1999 03:28:08 +0000 (03:28 +0000)]
* tags.h (SCM_IM_HASH_DISPATCH): Removed.

24 years ago* struct.c, struct.h: Replace 4 procedure slots with one.
Mikael Djurfeldt [Sun, 29 Aug 1999 03:27:55 +0000 (03:27 +0000)]
* struct.c, struct.h: Replace 4 procedure slots with one.
(scm_struct_i_procedure): Replaces scm_struct_i_procedure.

24 years agoFix
Mikael Djurfeldt [Sun, 29 Aug 1999 03:27:33 +0000 (03:27 +0000)]
Fix

24 years ago* procprop.c (scm_i_procedure_arity): Bugfix: Handle generics.
Mikael Djurfeldt [Sun, 29 Aug 1999 03:27:18 +0000 (03:27 +0000)]
* procprop.c (scm_i_procedure_arity): Bugfix: Handle generics.

24 years ago* print.c (scm_isymnames): Removed #@hash-dispatch.
Mikael Djurfeldt [Sun, 29 Aug 1999 03:27:07 +0000 (03:27 +0000)]
* print.c (scm_isymnames): Removed #@hash-dispatch.

24 years ago* objects.c, objects.h (scm_mcache_lookup_cmethod): Moved here
Mikael Djurfeldt [Sun, 29 Aug 1999 03:26:51 +0000 (03:26 +0000)]
* objects.c, objects.h (scm_mcache_lookup_cmethod): Moved here
from eval.c; Support 0 arity methods.
(scm_set_object_procedure_x): Removed scm_sym_atdispatch;
(scm_apply_generic_env): Removed.
Replaced slots proc0-3 with procedure.

* objects.h (SCM_OPERATOR_PROC_0, SCM_OPERATOR_PROC_1,
SCM_OPERATOR_PROC_2, SCM_OPERATOR_PROC_3): Replaced by
SCM_OPERATOR_PROCEDURE.
(SCM_ENTITY_PROC_0, SCM_ENTITY_PROC_1, SCM_ENTITY_PROC_2,
SCM_ENTITY_PROC_3): Replaced by SCM_ENTITY_PROCEDURE.

24 years ago* objects.c, objects.h (scm_mcache_lookup_cmethod): Moved here
Mikael Djurfeldt [Sun, 29 Aug 1999 03:26:38 +0000 (03:26 +0000)]
* objects.c, objects.h (scm_mcache_lookup_cmethod): Moved here
from eval.c; Support 0 arity methods.
(scm_set_object_procedure_x): Removed scm_sym_atdispatch;
(scm_apply_generic_env): Removed.
Replaced slots proc0-3 with procedure.

24 years ago* gc.c (scm_gc_mark): Mark 1 procedure slot in entities instead of
Mikael Djurfeldt [Sun, 29 Aug 1999 03:26:21 +0000 (03:26 +0000)]
* gc.c (scm_gc_mark): Mark 1 procedure slot in entities instead of
4.

24 years ago* eval.c (scm_sym_args): Removed.
Mikael Djurfeldt [Sun, 29 Aug 1999 03:26:05 +0000 (03:26 +0000)]
* eval.c (scm_sym_args): Removed.
(SCM_CEVAL): Simplified entity application.
Moved dispatch code to objects.c.

24 years ago*** empty log message ***
Mikael Djurfeldt [Sun, 29 Aug 1999 01:31:09 +0000 (01:31 +0000)]
*** empty log message ***

24 years ago* sort.c (closureless): Use scm_eval_body.
Mikael Djurfeldt [Sun, 29 Aug 1999 01:29:05 +0000 (01:29 +0000)]
* sort.c (closureless): Use scm_eval_body.

24 years ago* eval.c (SCM_APPLY): Fixed serious evaluator bug which returned
Mikael Djurfeldt [Sun, 29 Aug 1999 01:28:49 +0000 (01:28 +0000)]
* eval.c (SCM_APPLY): Fixed serious evaluator bug which returned
an ILOC instead of the value if a closure with a symbol as last
form was first called normally and then via `map'.

24 years ago* procs.c, procs.h (scm_subr_entry): New type: Stores data
Mikael Djurfeldt [Thu, 26 Aug 1999 04:24:42 +0000 (04:24 +0000)]
* procs.c, procs.h (scm_subr_entry): New type: Stores data
associated with subrs.
(SCM_SUBRNUM, SCM_SUBR_ENTRY, SCM_SUBR_GENERIC, SCM_SUBR_PROPS,
SCM_SUBR_DOC): New macros.
(scm_subr_table): New variable.
(scm_mark_subr_table): New function.

* init.c (scm_boot_guile_1): Call scm_init_subr_table.

* gc.c (scm_gc_mark): Don't mark subr names here.
(scm_igc): Call scm_mark_subr_table.

* snarf.h (SCM_GPROC, SCM_GPROC1): New macros.

* procs.c, procs.h (scm_subr_p): New function (used internally).

* gsubr.c, gsubr.h (scm_make_gsubr_with_generic): New function.

* objects.c, objects.h (scm_primitive_generic): New class.

* objects.h (SCM_CMETHOD_CODE, SCM_CMETHOD_ENV): New macros.

* print.c (scm_iprin1): Print primitive-generics.

* __scm.h (SCM_WTA_DISPATCH_1, SCM_GASSERT1,
SCM_WTA_DISPATCH_2, SCM_GASSERT2): New macros.

* eval.c (SCM_CEVAL, SCM_APPLY): Replace scm_wta -->
SCM_WTA_DISPATCH_1 for scm_cxr's (unary floating point
primitives).  NOTE: This means that it is now *required* to use
SCM_GPROC1 when creating float scm_cxr's (float scm_cxr's is an
obscured representation that will be removed in the future anyway,
so backward compatibility is no problem here).

* numbers.c: Converted most numeric primitives (all but bit
comparison operations and bit operations) to dispatch on generic
if args don't match.

* eval.c, eval.h (scm_eval_body): New function.

* objects.c (scm_call_generic_0, scm_call_generic_1,
scm_call_generic_2, scm_call_generic_3, scm_apply_generic): New
functions.

* eval.c (SCM_CEVAL): Apply the cmethod directly after having
called scm_memoize_method instead of doing a second lookup.

* objects.h (scm_memoize_method): Now returns the memoized cmethod.

* procs.c (scm_make_subr_opt): Use scm_sysintern0 instead of
scm_sysintern so that the binding connected with the subr name
isn't cleared when we give set = 0.

24 years agofix
Mikael Djurfeldt [Tue, 24 Aug 1999 02:23:02 +0000 (02:23 +0000)]
fix

24 years ago*** empty log message ***
Mikael Djurfeldt [Tue, 24 Aug 1999 02:22:40 +0000 (02:22 +0000)]
*** empty log message ***

24 years ago* boot-9.scm: Removed old style hooks.
Mikael Djurfeldt [Tue, 24 Aug 1999 02:22:18 +0000 (02:22 +0000)]
* boot-9.scm: Removed old style hooks.
(inherit-print-state): Rwwritten to use port-with-print-state.

24 years ago*** empty log message ***
Mikael Djurfeldt [Tue, 24 Aug 1999 02:14:57 +0000 (02:14 +0000)]
*** empty log message ***

24 years ago* print.h (SCM_PORT_WITH_PS_P, SCM_PORT_WITH_PS_PORT,
Mikael Djurfeldt [Tue, 24 Aug 1999 02:12:06 +0000 (02:12 +0000)]
* print.h (SCM_PORT_WITH_PS_P, SCM_PORT_WITH_PS_PORT,
SCM_PORT_WITH_PS_PS): Represent ports with print states as a smob
instead of a pair of a port and a print state.  We'll need to cons
once extra in scm_printer_apply but the type system will be
cleaner, it will mix better with GOOPS, and, it will be even more
transparent to the user.

24 years ago* print.c (scm_get_print_state): New procedure: Given an output
Mikael Djurfeldt [Tue, 24 Aug 1999 02:11:54 +0000 (02:11 +0000)]
* print.c (scm_get_print_state): New procedure: Given an output
port, return the print state associated to it in the current print
chain, if one exists;
(scm_port_with_print_state): New procedure: Associate a
print-state with a port.
(scm_valid_oport_value_p): Use SCM_PORT_WITH_PS_P;
(scm_printer_apply): Wrap port and pstate as a smob;
(print_state_printer): Removed.

24 years ago* ports.c (scm_output_port_p): Bugfix: Coerce output port before
Mikael Djurfeldt [Tue, 24 Aug 1999 02:11:17 +0000 (02:11 +0000)]
* ports.c (scm_output_port_p): Bugfix: Coerce output port before
testing (otherwise the port-print-state trick won't be transparent
to the user; one example where this caused problems was in the
(ice-9 format) module).

24 years ago* objects.c (scm_class_of): Treat scm_tc16_port_with_ps as ports.
Mikael Djurfeldt [Tue, 24 Aug 1999 02:10:47 +0000 (02:10 +0000)]
* objects.c (scm_class_of): Treat scm_tc16_port_with_ps as ports.

24 years ago* eval.c (scm_init_eval): Use scm_make_smob_type instead of
Mikael Djurfeldt [Tue, 24 Aug 1999 02:10:19 +0000 (02:10 +0000)]
* eval.c (scm_init_eval): Use scm_make_smob_type instead of
scm_newsmob.

24 years ago*** empty log message ***
Mikael Djurfeldt [Mon, 23 Aug 1999 21:27:21 +0000 (21:27 +0000)]
*** empty log message ***

24 years ago* eval.c (SCM_CEVAL): Let the SCM_IM_SLOT_SET_X form return
Mikael Djurfeldt [Mon, 23 Aug 1999 21:25:49 +0000 (21:25 +0000)]
* eval.c (SCM_CEVAL): Let the SCM_IM_SLOT_SET_X form return
SCM_UNSPECIFIED instead of the set value.

24 years agoPost-release changes for 1.3.2.
Jim Blandy [Fri, 20 Aug 1999 05:55:49 +0000 (05:55 +0000)]
Post-release changes for 1.3.2.

24 years ago*** empty log message ***
Jim Blandy [Fri, 20 Aug 1999 05:39:59 +0000 (05:39 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Blandy [Fri, 20 Aug 1999 05:24:05 +0000 (05:24 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Blandy [Fri, 20 Aug 1999 05:14:11 +0000 (05:14 +0000)]
*** empty log message ***

24 years ago* load.c (scm_init_load_path): Remove support for SCHEME_LOAD_PATH.
Jim Blandy [Fri, 20 Aug 1999 05:13:01 +0000 (05:13 +0000)]
* load.c (scm_init_load_path): Remove support for SCHEME_LOAD_PATH.

24 years agoRemove support for the #/ path list syntax entirely.
Jim Blandy [Fri, 20 Aug 1999 05:12:43 +0000 (05:12 +0000)]
Remove support for the #/ path list syntax entirely.
* boot-9.scm (read-path-list-notation,
read-path-list-notation-warning): Deleted.
Don't register read-path-list-notation-warning as a reader for
objects starting with '#/'.

24 years ago*** empty log message ***
Jim Blandy [Fri, 20 Aug 1999 02:46:04 +0000 (02:46 +0000)]
*** empty log message ***

24 years ago* ports.h (enum scm_port_rw_active): New enum, containing
Jim Blandy [Fri, 20 Aug 1999 02:44:14 +0000 (02:44 +0000)]
* ports.h (enum scm_port_rw_active): New enum, containing
SCM_PORT_READ, SCM_PORT_WRITE, and SCM_PORT_NEITHER (instead of
zero).  The debugger knows about enums, but doesn't know about
#defines.
(typedef scm_port): Declare rw_active member to be an enum
scm_port_rw_active.
* fports.c (fport_flush, fport_end_input): Use SCM_PORT_NEITHER
instead of zero.
* ports.c (scm_add_to_port_table): Same.
* strports.c (st_flush, st_end_input): Same.

24 years ago* ioext.c (scm_do_read_line, scm_read_line): Use scm_must_malloc,
Jim Blandy [Fri, 20 Aug 1999 02:43:51 +0000 (02:43 +0000)]
* ioext.c (scm_do_read_line, scm_read_line): Use scm_must_malloc,
scm_must_realloc, and scm_done_malloc as appropriate.

24 years ago* Makefile.in, aclocal.m4, configure: Regenerated.
Jim Blandy [Fri, 20 Aug 1999 02:41:25 +0000 (02:41 +0000)]
* Makefile.in, aclocal.m4, configure: Regenerated.

24 years ago*** empty log message ***
Jim Blandy [Fri, 20 Aug 1999 02:39:44 +0000 (02:39 +0000)]
*** empty log message ***

24 years ago* Makefile.in: Regenerated.
Jim Blandy [Fri, 20 Aug 1999 02:39:27 +0000 (02:39 +0000)]
* Makefile.in: Regenerated.

24 years agoFixes in comments
Mikael Djurfeldt [Fri, 20 Aug 1999 00:19:01 +0000 (00:19 +0000)]
Fixes in comments

24 years agoRemoved left-over debugging code
Mikael Djurfeldt [Thu, 19 Aug 1999 23:15:05 +0000 (23:15 +0000)]
Removed left-over debugging code

24 years ago*** empty log message ***
Mikael Djurfeldt [Thu, 19 Aug 1999 23:02:49 +0000 (23:02 +0000)]
*** empty log message ***

24 years ago* sort.c (quicksort): Added condition to protect the algorithm
Mikael Djurfeldt [Thu, 19 Aug 1999 23:02:00 +0000 (23:02 +0000)]
* sort.c (quicksort): Added condition to protect the algorithm
from crashing the interpreter if the less predicate is buggy.

24 years ago1999-08-19 Gary Houston <ghouston@easynet.co.uk>
Gary Houston [Thu, 19 Aug 1999 21:29:00 +0000 (21:29 +0000)]
1999-08-19  Gary Houston  <ghouston@easynet.co.uk>

* tests/ports.test: test line-buffering of fports.

24 years ago1999-08-19 Gary Houston <ghouston@easynet.co.uk>
Gary Houston [Thu, 19 Aug 1999 21:25:56 +0000 (21:25 +0000)]
1999-08-19  Gary Houston  <ghouston@easynet.co.uk>

* fports.c (fport_write): fix line-buffering mode again.
(scm_open_file): recognise 'l' for line-buffering.
(scm_setvbuf): recognise _IOLBF for line-buffering.

24 years agoRegenerated
Mikael Djurfeldt [Thu, 19 Aug 1999 19:35:31 +0000 (19:35 +0000)]
Regenerated

24 years ago* Makefile.am (libguile_la_LDFLAGS): Increased the version number
Mikael Djurfeldt [Thu, 19 Aug 1999 19:34:14 +0000 (19:34 +0000)]
* Makefile.am (libguile_la_LDFLAGS): Increased the version number
of libguile to 5.0.

24 years ago*** empty log message ***
Mikael Djurfeldt [Thu, 19 Aug 1999 19:09:01 +0000 (19:09 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Mikael Djurfeldt [Thu, 19 Aug 1999 19:02:03 +0000 (19:02 +0000)]
*** empty log message ***

24 years ago* eval.c (SCM_APPLY), sort.c (closureless): Expand body when
Mikael Djurfeldt [Thu, 19 Aug 1999 19:01:19 +0000 (19:01 +0000)]
* eval.c (SCM_APPLY), sort.c (closureless): Expand body when
evaluating closures.

24 years ago1999-08-18 Gary Houston <ghouston@easynet.co.uk>
Gary Houston [Wed, 18 Aug 1999 20:33:18 +0000 (20:33 +0000)]
1999-08-18  Gary Houston  <ghouston@easynet.co.uk>

* tests/ports.test: tests for NUL and non-ASCII chars to fports.

24 years agoI can't sort correctly.
Gary Houston [Wed, 18 Aug 1999 20:08:25 +0000 (20:08 +0000)]
I can't sort correctly.

24 years ago1999-08-18 Gary Houston <ghouston@easynet.co.uk>
Gary Houston [Wed, 18 Aug 1999 19:55:23 +0000 (19:55 +0000)]
1999-08-18  Gary Houston  <ghouston@easynet.co.uk>

* fports.c (fport_write): use memcpy instead of strncpy, in case
the data contains NUL.

24 years ago*** empty log message ***
Mikael Djurfeldt [Tue, 17 Aug 1999 21:33:21 +0000 (21:33 +0000)]
*** empty log message ***

24 years ago* gh.h (gh_vector_to_list): Bugfix. (Thanks to Frank Cieslok.)
Mikael Djurfeldt [Tue, 17 Aug 1999 21:31:10 +0000 (21:31 +0000)]
* gh.h (gh_vector_to_list): Bugfix.  (Thanks to Frank Cieslok.)

24 years ago*** empty log message ***
Mikael Djurfeldt [Tue, 17 Aug 1999 20:59:01 +0000 (20:59 +0000)]
*** empty log message ***

24 years agoRegenerated
Mikael Djurfeldt [Tue, 17 Aug 1999 20:58:45 +0000 (20:58 +0000)]
Regenerated

24 years ago* configure.in (HAVE_RL_GETC_FUNCTION): Modified test to actually
Mikael Djurfeldt [Tue, 17 Aug 1999 20:58:19 +0000 (20:58 +0000)]
* configure.in (HAVE_RL_GETC_FUNCTION): Modified test to actually
use rl_getc_function.  Otherwise smart compilers, like gcc,
optimize away the reference so that no error occurs in the link
phase.

24 years ago* ports.h: Renamed scm_lseek () --> scm_seek ().
Mikael Djurfeldt [Tue, 17 Aug 1999 18:58:46 +0000 (18:58 +0000)]
* ports.h: Renamed scm_lseek () --> scm_seek ().

24 years ago*** empty log message ***
Mikael Djurfeldt [Tue, 17 Aug 1999 08:48:38 +0000 (08:48 +0000)]
*** empty log message ***

24 years ago* backtrace.c, debug.c, eval.c, eval.h, gsubr.c, procprop.h,
Mikael Djurfeldt [Tue, 17 Aug 1999 08:47:47 +0000 (08:47 +0000)]
* backtrace.c, debug.c, eval.c, eval.h, gsubr.c, procprop.h,
read.c, srcprop.c, srcprop.h (scm_i_filename, scm_i_line,
scm_i_column, scm_i_copy, scm_i_name, scm_i_lambda, scm_i_source,
scm_i_more, scm_i_procname, scm_i_dot, scm_i_arrow, scm_i_else,
scm_i_unquote, scm_i_uq_splicing, scm_i_apply, scm_i_enter_frame,
scm_i_apply_frame, scm_i_exit_frame, scm_i_trace, scm_i_quote,
scm_i_begin, scm_i_if, scm_i_and, scm_i_or, scm_i_case,
scm_i_cond, scm_i_letstar, scm_i_do, scm_i_quasiquote,
scm_i_define, scm_i_letrec, scm_i_let, scm_i_atapply,
scm_i_atcall_cc, scm_i_breakpoint): Renamed: Consequently use
scm_sym_ as prefix for symbols.

24 years ago* backtrace.c, debug.c, eval.c, eval.h, gsubr.c, read.c,
Mikael Djurfeldt [Tue, 17 Aug 1999 08:46:51 +0000 (08:46 +0000)]
* backtrace.c, debug.c, eval.c, eval.h, gsubr.c, read.c,
srcprop.c, srcprop.h (scm_i_filename, scm_i_line, scm_i_column,
scm_i_copy, scm_i_name, scm_i_lambda, scm_i_source, scm_i_more,
scm_i_procname, scm_i_dot, scm_i_arrow, scm_i_else, scm_i_unquote,
scm_i_uq_splicing, scm_i_apply, scm_i_enter_frame,
scm_i_apply_frame, scm_i_exit_frame, scm_i_trace, scm_i_quote,
scm_i_begin, scm_i_if, scm_i_and, scm_i_or, scm_i_case,
scm_i_cond, scm_i_letstar, scm_i_do, scm_i_quasiquote,
scm_i_define, scm_i_letrec, scm_i_let, scm_i_atapply,
scm_i_atcall_cc, scm_i_breakpoint): Renamed: Consequently use
scm_sym_ as prefix for symbols.

24 years ago* backtrace.c, debug.c, eval.c, eval.h, gsubr.c, read.c,
Mikael Djurfeldt [Tue, 17 Aug 1999 08:46:37 +0000 (08:46 +0000)]
* backtrace.c, debug.c, eval.c, eval.h, gsubr.c, read.c,
srcprop.c, srcprop.h (scm_i_filename, scm_i_line, scm_i_column,
scm_i_copy, scm_i_name, scm_i_lambda, scm_i_source, scm_i_more,
scm_i_procname, scm_i_dot, scm_i_arrow, scm_i_else, scm_i_unquote,
scm_i_uq_splicing, scm_i_apply, scm_i_enter_frame,
scm_i_apply_frame, scm_i_exit_frame, scm_i_trace, scm_i_quote,
scm_i_begin, scm_i_if, scm_i_and, scm_i_or, scm_i_case,
scm_i_cond, scm_i_letstar, scm_i_do, scm_i_quasiquote,
scm_i_define, scm_i_letrec, scm_i_let, scm_i_atapply,
scm_i_atcall_cc, scm_i_breakpoint): Renamed: Consequently use
scm_sym_ as prefix for symbols.

* eval.c, eval.h (scm_sym_begin, scm_sym_if, scm_sym_and,
scm_sym_case, scm_sym_cond, scm_sym_letstar, scm_sym_do,
scm_sym_define, scm_sym_letrec, scm_sym_atapply,
scm_sym_atcall_cc): Made global.

24 years ago* backtrace.c, debug.c, eval.c, eval.h, gsubr.c, read.c,
Mikael Djurfeldt [Tue, 17 Aug 1999 08:46:04 +0000 (08:46 +0000)]
* backtrace.c, debug.c, eval.c, eval.h, gsubr.c, read.c,
srcprop.c, srcprop.h (scm_i_filename, scm_i_line, scm_i_column,
scm_i_copy, scm_i_name, scm_i_lambda, scm_i_source, scm_i_more,
scm_i_procname, scm_i_dot, scm_i_arrow, scm_i_else, scm_i_unquote,
scm_i_uq_splicing, scm_i_apply, scm_i_enter_frame,
scm_i_apply_frame, scm_i_exit_frame, scm_i_trace, scm_i_quote,
scm_i_begin, scm_i_if, scm_i_and, scm_i_or, scm_i_case,
scm_i_cond, scm_i_letstar, scm_i_do, scm_i_quasiquote,
scm_i_define, scm_i_letrec, scm_i_let, scm_i_atapply,
scm_i_atcall_cc, scm_i_breakpoint): Renamed: Consequently use
scm_sym_ as prefix for symbols.

* debug.c (scm_i_proc, scm_i_args, scm_i_eval_args): Removed.

24 years ago* backtrace.c, backtrace.h, debug.c, debug.h, eval.c, eval.h,
Mikael Djurfeldt [Tue, 17 Aug 1999 08:44:38 +0000 (08:44 +0000)]
* backtrace.c, backtrace.h, debug.c, debug.h, eval.c, eval.h,
gsubr.c, gsubr.h, read.c, read.h, srcprop.c, srcprop.h
(scm_i_filename, scm_i_line, scm_i_column, scm_i_copy, scm_i_name,
scm_i_lambda, scm_i_source, scm_i_more, scm_i_procname, scm_i_dot,
scm_i_arrow, scm_i_else, scm_i_unquote, scm_i_uq_splicing,
scm_i_apply, scm_i_enter_frame, scm_i_apply_frame,
scm_i_exit_frame, scm_i_trace, scm_i_quote, scm_i_begin, scm_i_if,
scm_i_and, scm_i_or, scm_i_case, scm_i_cond, scm_i_letstar,
scm_i_do, scm_i_quasiquote, scm_i_define, scm_i_letrec, scm_i_let,
scm_i_atapply, scm_i_atcall_cc, scm_i_breakpoint): Renamed:
Consequently use scm_sym_ as prefix for symbols.

24 years ago* eval.c (scm_sym_args): Made global.
Mikael Djurfeldt [Mon, 16 Aug 1999 15:20:44 +0000 (15:20 +0000)]
* eval.c (scm_sym_args): Made global.

24 years ago*** empty log message ***
Mikael Djurfeldt [Mon, 16 Aug 1999 15:19:46 +0000 (15:19 +0000)]
*** empty log message ***

24 years ago* objects.c (scm_set_object_procedure_x): Disallow setting of
Mikael Djurfeldt [Mon, 16 Aug 1999 15:18:54 +0000 (15:18 +0000)]
* objects.c (scm_set_object_procedure_x): Disallow setting of
procedures for pure generic functions.

24 years ago1999-08-12 Gary Houston <ghouston@easynet.co.uk>
Gary Houston [Thu, 12 Aug 1999 19:07:19 +0000 (19:07 +0000)]
1999-08-12  Gary Houston  <ghouston@easynet.co.uk>

* tests/ports.test: lseek -> seek.

24 years ago1999-08-12 Gary Houston <ghouston@easynet.co.uk>
Gary Houston [Thu, 12 Aug 1999 18:58:55 +0000 (18:58 +0000)]
1999-08-12  Gary Houston  <ghouston@easynet.co.uk>

* ports.c (scm_seek): one more: was scm_lseek.  Also changed the
Scheme name from lseek to seek, but lseek was added recently so
it shouldn't be a big problem.
* ports.c, gdbint.c, ioext.c: changed callers.

24 years ago1999-08-11 Gary Houston <ghouston@easynet.co.uk>
Gary Houston [Wed, 11 Aug 1999 18:35:42 +0000 (18:35 +0000)]
1999-08-11  Gary Houston  <ghouston@easynet.co.uk>

* fports.c (fport_input_waiting): if select is used, return 1
instead of whatever FD_ISSET expands to.  maybe it will be useful
to interpret the value from the input_waiting ptob procedure as a
lower bound on the number of bytes available.

* Mikael asked for a few names to be changed...

* ports.c (scm_make_port_type): take the write procedure as the
second argument instead of the flush procedure.
* ports.h (scm_ptob_descriptor): rename the ptob procedures:
fflush -> flush,  read_flush -> end_input,  fclose -> close,
fill_buffer -> fill_input,  ftruncate -> truncate,
input_waiting_p -> input_waiting.

* ports.c (end_input_void_port): was read_flush_void_port.
(scm_set_port_end_input): was scm_set_port_flush_input.
(scm_set_port_flush): was scm_set_port_write.
(scm_set_port_input_waiting): was scm_set_port_input_waiting_p
(scm_end_input): was scm_read_flush.
(scm_fill_input): was scm_fill_buffer.
(scm_flush): was scm_fflush.
* fports.c (fport_input_waiting): renamed from fport_input_waiting_p.
(fport_end_input): was local_read_flush.
(fport_flush): was local_fflush.
(fport_close): was local_fclose.
(fport_truncate): was local_ftruncate.
(fport_seek): was local_seek.
(fport_free): was local_free.
(fport_fill_input): was fport_fill_buffer.
* strports.c (st_end_input): was st_read_flush.
(st_truncate): was st_ftruncate.
* vports.c: (sf_flush): was sfflush.
(sf_close): was sfclose.
(sf_fill_input): was sf_fill_buffer.

* ports.c, fports.c, strports, vports.c, ioext.c, unif.c, filesys.c:
change callers.

24 years ago*** empty log message ***
Mikael Djurfeldt [Fri, 6 Aug 1999 19:40:12 +0000 (19:40 +0000)]
*** empty log message ***

24 years ago* objects.h, objects.c (scm_apply_generic_env): Added (used by
Mikael Djurfeldt [Fri, 6 Aug 1999 19:39:07 +0000 (19:39 +0000)]
* objects.h, objects.c (scm_apply_generic_env): Added (used by
apply).
(scm_operator_p): Added.
(scm_sym_atdispatch): Added.
(scm_set_object_procedure_x): Modified to handle the new style
generic functions.
(scm_object_procedures): New debugging procedure.