bpt/guile.git
24 years ago*** empty log message ***
Jim Blandy [Wed, 1 Sep 1999 04:23:41 +0000 (04:23 +0000)]
*** empty log message ***

24 years agoPut off deprecating most functions until 1.4; not enough time has
Jim Blandy [Wed, 1 Sep 1999 04:21:42 +0000 (04:21 +0000)]
Put off deprecating most functions until 1.4; not enough time has
elapsed between releases to make it fair to take out those functions
now.

24 years agoI take it all back --- bcopy does handle overlapping source and
Jim Blandy [Wed, 1 Sep 1999 02:52:27 +0000 (02:52 +0000)]
I take it all back --- bcopy does handle overlapping source and
destination areas correctly.  At least on every system I could
find.  But it is better to use AC_REPLACE_FUNCS than to introduce
new CPP conditionals.
* memmove.c: New file, implementing memmove in terms of bcopy.
* scmconfig.h.in: Regenerated.

24 years ago*** empty log message ***
Jim Blandy [Wed, 1 Sep 1999 02:51:52 +0000 (02:51 +0000)]
*** empty log message ***

24 years agoRegenerated. Seems like conflicting versions of automake installed...
Jim Blandy [Wed, 1 Sep 1999 02:50:18 +0000 (02:50 +0000)]
Regenerated.  Seems like conflicting versions of automake installed...

24 years ago* configure.in: Use AC_REPLACE_FUNCS to grab libguile/memmove.c if
Jim Blandy [Wed, 1 Sep 1999 02:48:14 +0000 (02:48 +0000)]
* configure.in: Use AC_REPLACE_FUNCS to grab libguile/memmove.c if
the system doesn't have memmove.  Don't test for memmove and bcopy
with AC_CHECK_FUNCS.
* configure: Regenerated.

24 years agoAllocators should use the `void *' type for generic pointers.
Jim Blandy [Wed, 1 Sep 1999 02:47:30 +0000 (02:47 +0000)]
Allocators should use the `void *' type for generic pointers.
* gc.c (scm_must_malloc, scm_must_realloc, scm_must_free): Change
argument and return types.
* gc.h: Corresponding changes to prototypes.
(Thanks to Forcer.)

24 years ago*** empty log message ***
Jim Blandy [Tue, 31 Aug 1999 13:37:40 +0000 (13:37 +0000)]
*** empty log message ***

24 years ago* numbers.c (scm_init_numbers): Claim to support the `complex'
Jim Blandy [Tue, 31 Aug 1999 13:37:28 +0000 (13:37 +0000)]
* numbers.c (scm_init_numbers): Claim to support the `complex'
feature, as expected by (ice-9 format).  (Thanks to Ceri Storey.)

24 years ago*** empty log message ***
Jim Blandy [Tue, 31 Aug 1999 13:04:21 +0000 (13:04 +0000)]
*** empty log message ***

24 years ago* Makefile.am (check-local): Set GUILE_LOAD_PATH so the tests can
Jim Blandy [Tue, 31 Aug 1999 13:04:06 +0000 (13:04 +0000)]
* Makefile.am (check-local): Set GUILE_LOAD_PATH so the tests can
find (ice-9 boot-9) when Guile was compiled in a separate
directory from the source.  (Thanks to Rodney Brown.)
* Makefile.in: Regenerated.

24 years ago*** empty log message ***
Jim Blandy [Tue, 31 Aug 1999 08:49:55 +0000 (08:49 +0000)]
*** empty log message ***

24 years ago* procs.c (scm_make_subr_opt): Fix typo. Remember to multiple
Jim Blandy [Tue, 31 Aug 1999 08:49:21 +0000 (08:49 +0000)]
* procs.c (scm_make_subr_opt): Fix typo.  Remember to multiple
table lengths by the size of a single element when growing the
table.

24 years ago*** empty log message ***
Jim Blandy [Tue, 31 Aug 1999 08:06:29 +0000 (08:06 +0000)]
*** empty log message ***

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

24 years ago*** empty log message ***
Jim Blandy [Mon, 30 Aug 1999 07:46:07 +0000 (07:46 +0000)]
*** empty log message ***

24 years ago* tests/strings.test: New test file.
Jim Blandy [Mon, 30 Aug 1999 07:46:01 +0000 (07:46 +0000)]
* tests/strings.test: New test file.

24 years agofirst cut
Jim Blandy [Mon, 30 Aug 1999 07:39:21 +0000 (07:39 +0000)]
first cut

24 years ago*** empty log message ***
Jim Blandy [Mon, 30 Aug 1999 07:02:46 +0000 (07:02 +0000)]
*** empty log message ***

24 years ago* gh_data.c (gh_set_substr): Revert change of 1999-08-29; bcopy is
Jim Blandy [Mon, 30 Aug 1999 07:02:25 +0000 (07:02 +0000)]
* gh_data.c (gh_set_substr): Revert change of 1999-08-29; bcopy is
not a correct substitute for memmove, because it doesn't handle
overlapping source and destination areas on many platforms.
Overlaps are the primary reason to use memmove in the first place.
* ports.c (scm_ungetc): Same.
* strop.c (scm_substring_move_x): Same.

24 years agoFix up downloading addresses and filenames.
Jim Blandy [Mon, 30 Aug 1999 06:42:28 +0000 (06:42 +0000)]
Fix up downloading addresses and filenames.

24 years ago*** empty log message ***
Jim Blandy [Mon, 30 Aug 1999 03:31:23 +0000 (03:31 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Mikael Djurfeldt [Mon, 30 Aug 1999 02:49:52 +0000 (02:49 +0000)]
*** empty log message ***

24 years agoRegenerated
Mikael Djurfeldt [Mon, 30 Aug 1999 02:49:35 +0000 (02:49 +0000)]
Regenerated

24 years agoMoved scm_memoize_method back to eval.c.
Mikael Djurfeldt [Mon, 30 Aug 1999 02:18:35 +0000 (02:18 +0000)]
Moved scm_memoize_method back to eval.c.

24 years ago* eval.c (SCM_CEVAL): Duplicated the method dispatch code at the
Mikael Djurfeldt [Mon, 30 Aug 1999 02:18:00 +0000 (02:18 +0000)]
* eval.c (SCM_CEVAL): Duplicated the method dispatch code at the
SCM_IM_DISPATCH form instead of calling scm_mcache_lookup_cmethod
since that cuts down the time for type dispatch by 50%.

24 years ago*** empty log message ***
Mikael Djurfeldt [Mon, 30 Aug 1999 02:15:07 +0000 (02:15 +0000)]
*** empty log message ***

24 years ago* struct.c, struct.h (scm_struct_free_0, scm_struct_free_light,
Mikael Djurfeldt [Mon, 30 Aug 1999 02:14:47 +0000 (02:14 +0000)]
* struct.c, struct.h (scm_struct_free_0, scm_struct_free_light,
scm_struct_free_standard, scm_struct_free_entity): Declared to
return scm_sizet instead of size_t.

24 years ago* gdbint.c, strports.c: #include <unistd.h>. (SEEK_SET is defined
Mikael Djurfeldt [Mon, 30 Aug 1999 02:14:36 +0000 (02:14 +0000)]
* gdbint.c, strports.c: #include <unistd.h>.  (SEEK_SET is defined
there on sunos4.1.4.)

24 years ago* gc.c (scm_init_storage): Skip registration of cleanup on systems
Mikael Djurfeldt [Mon, 30 Aug 1999 02:13:45 +0000 (02:13 +0000)]
* gc.c (scm_init_storage): Skip registration of cleanup on systems
which lack atexit.  (Is it important that cleanup is made
properly? Maybe we should replace all `exit' with `scm_exit' and
call cleanup there?)

24 years ago* configure.in: Test for atexit.
Mikael Djurfeldt [Mon, 30 Aug 1999 02:13:22 +0000 (02:13 +0000)]
* configure.in: Test for atexit.

24 years agoRegenerated
Mikael Djurfeldt [Sun, 29 Aug 1999 22:24:07 +0000 (22:24 +0000)]
Regenerated

24 years ago* acinclude.m4: Updated. (Thanks to Karl Eichwalder.)
Mikael Djurfeldt [Sun, 29 Aug 1999 22:23:33 +0000 (22:23 +0000)]
* acinclude.m4: Updated.  (Thanks to Karl Eichwalder.)

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

24 years ago* acinclude.m4: Updated. (Thanks to Karl Eichwalder.)
Mikael Djurfeldt [Sun, 29 Aug 1999 21:55:12 +0000 (21:55 +0000)]
* acinclude.m4: Updated.  (Thanks to Karl Eichwalder.)

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

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.