bpt/guile.git
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.

24 years ago* eval.c (SCM_IM_DISPATCH): Rewrote dispatch protocol. Dispatch
Mikael Djurfeldt [Fri, 6 Aug 1999 19:37:44 +0000 (19:37 +0000)]
* eval.c (SCM_IM_DISPATCH): Rewrote dispatch protocol.  Dispatch
forms now contain the expressions to be dispatched upon instead of
depending on a surrounding lambda or let; Generic function
dispatch has been optimized; `apply' on a generic function now
works a little bit strangely.  It uses a trick so that the type
dispatch code in SCM_CEVAL can be reused.

24 years agoUpdate FSF address in copyright notices.
Jim Blandy [Fri, 6 Aug 1999 07:26:07 +0000 (07:26 +0000)]
Update FSF address in copyright notices.

24 years agoRenamed module-modified! --> module-modified
Mikael Djurfeldt [Thu, 5 Aug 1999 17:56:15 +0000 (17:56 +0000)]
Renamed module-modified! --> module-modified

24 years ago*** empty log message ***
Mikael Djurfeldt [Thu, 5 Aug 1999 12:08:53 +0000 (12:08 +0000)]
*** empty log message ***

24 years ago* feature.c, feature.h (scm_c_run_hook): Added.
Mikael Djurfeldt [Thu, 5 Aug 1999 12:08:01 +0000 (12:08 +0000)]
* feature.c, feature.h (scm_c_run_hook): Added.

24 years agoGOOPS needs the observer protocol specified for the new module
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!.

24 years agoRegenerated
Mikael Djurfeldt [Wed, 4 Aug 1999 23:13:01 +0000 (23:13 +0000)]
Regenerated

24 years ago*** empty log message ***
Mikael Djurfeldt [Wed, 4 Aug 1999 22:55:53 +0000 (22:55 +0000)]
*** empty log message ***

24 years ago* eval.c (SCM_CEVAL:SCM_IM_DISPATCH): Bugfix: Jump back to
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.

24 years ago*** empty log message ***
Mikael Djurfeldt [Wed, 4 Aug 1999 20:11:42 +0000 (20:11 +0000)]
*** empty log message ***

24 years ago* Makefile.am (INCLUDES): Added -I$(srcdir)/../libguile.
Mikael Djurfeldt [Wed, 4 Aug 1999 20:11:18 +0000 (20:11 +0000)]
* Makefile.am (INCLUDES): Added -I$(srcdir)/../libguile.
(Thanks to Greg Badros.)

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

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

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

24 years ago* objects.h (SCM_CLASSF_GOOPS_VALID): Added.
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.

24 years ago* objects.c (scm_class_of): Use the new SCM_CLASSF_GOOPS_VALID
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.

24 years ago* eval.c (SCM_CEVAL): Improvements to SCM_IM_DISPATCH and
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.

24 years ago * ports.h (scm_ptob_descriptor): include a write procedure again.
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.

24 years ago*** empty log message ***
Jim Blandy [Sun, 1 Aug 1999 08:08:18 +0000 (08:08 +0000)]
*** empty log message ***

24 years ago* ports.c (scm_char_ready_p): Don't try to find PORT's ptab entry
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.)

24 years ago* tests/r4rs.test (SECTION 3 4): Each element of type-matrix
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...

24 years ago* tests/ports.test: Add some regression tests for char-ready?.
Jim Blandy [Sun, 1 Aug 1999 08:06:01 +0000 (08:06 +0000)]
* tests/ports.test: Add some regression tests for char-ready?.

24 years ago*** empty log message ***
Jim Blandy [Sun, 1 Aug 1999 07:40:42 +0000 (07:40 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Mikael Djurfeldt [Sat, 31 Jul 1999 17:01:53 +0000 (17:01 +0000)]
*** empty log message ***

24 years ago* gc.c (scm_must_malloc, scm_must_realloc): Removed unnecessary
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?)

24 years ago*** empty log message ***
Mikael Djurfeldt [Sat, 31 Jul 1999 09:05:58 +0000 (09:05 +0000)]
*** empty log message ***

24 years ago* numbers.c (scm_makdbl): Bugfix: Initialize imaginary part.
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.)

24 years ago* hashtab.c: Bugfix: Don't declare s_hash_fold without storage
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.)

24 years agoUpdated copyright notice
Mikael Djurfeldt [Fri, 30 Jul 1999 21:48:33 +0000 (21:48 +0000)]
Updated copyright notice

24 years ago*** empty log message ***
Mikael Djurfeldt [Thu, 29 Jul 1999 23:03:16 +0000 (23:03 +0000)]
*** empty log message ***

24 years ago* struct.c (scm_print_struct): Use vtable name.
Mikael Djurfeldt [Thu, 29 Jul 1999 23:02:26 +0000 (23:02 +0000)]
* struct.c (scm_print_struct): Use vtable name.

24 years ago* stacks.c (scm_init_stacks): Set name of stack type.
Mikael Djurfeldt [Thu, 29 Jul 1999 23:02:14 +0000 (23:02 +0000)]
* stacks.c (scm_init_stacks): Set name of stack type.

24 years ago* print.c (scm_init_print): Set name of print state 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.

24 years ago* eval.c (scm_m_expand_body): Use scm_cons_source.
Mikael Djurfeldt [Thu, 29 Jul 1999 23:01:01 +0000 (23:01 +0000)]
* eval.c (scm_m_expand_body): Use scm_cons_source.

24 years ago*** empty log message ***
Mikael Djurfeldt [Thu, 29 Jul 1999 21:13:33 +0000 (21:13 +0000)]
*** empty log message ***

24 years ago* gsubr.c, procprop.h (scm_i_inner_name): Removed.
Mikael Djurfeldt [Thu, 29 Jul 1999 21:12:42 +0000 (21:12 +0000)]
* gsubr.c, procprop.h (scm_i_inner_name): Removed.

24 years ago* eval.c (SCM_CEVAL): Removed old implementation of internal
Mikael Djurfeldt [Thu, 29 Jul 1999 21:12:25 +0000 (21:12 +0000)]
* eval.c (SCM_CEVAL): Removed old implementation of internal
define.

24 years ago* debug.c, debug.h (scm_reverse_lookup): Added.
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.

24 years ago* debug.c, debug.h (scm_reverse_lookup): Added.
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.

24 years agoRemoved superfluous code in scm_macroexp.
Mikael Djurfeldt [Thu, 29 Jul 1999 19:15:08 +0000 (19:15 +0000)]
Removed superfluous code in scm_macroexp.

24 years ago*** empty log message ***
Mikael Djurfeldt [Thu, 29 Jul 1999 19:14:08 +0000 (19:14 +0000)]
*** empty log message ***

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

24 years ago* eval.c, tags.h, print.c (SCM_IM_SLOT_REF, SCM_IM_SLOT_SET_X):
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.

24 years ago* eval.h: Added prototypes for multi language support functions.
Mikael Djurfeldt [Thu, 29 Jul 1999 18:13:04 +0000 (18:13 +0000)]
* eval.h: Added prototypes for multi language support functions.

24 years ago* eval.c, tags.h, print.c (SCM_IM_SLOT_REF, SCM_IM_SLOT_SET_X):
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.

24 years ago* boot-9.scm (error-catching-loop): Correct non-RnRS usage of internal
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.

24 years ago* guile-config.in (build-link): Correct non-RnRS usage of internal
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.

24 years ago*** empty log message ***
Mikael Djurfeldt [Thu, 29 Jul 1999 09:55:25 +0000 (09:55 +0000)]
*** empty log message ***

24 years ago* eval.c, tags.h, print.c (SCM_IM_SLOT_REF, SCM_IM_SLOT_SET_X):
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.

24 years ago* eval.c (SCM_IM_DISPATCH, SCM_IM_HASH_DISPATCH): Don't use
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.

24 years ago* eval.h: Added prototypes for multi language support functions.
Mikael Djurfeldt [Thu, 29 Jul 1999 09:53:48 +0000 (09:53 +0000)]
* eval.h: Added prototypes for multi language support functions.

24 years agoRemoved configuration option --enable-lang which was recently added.
Mikael Djurfeldt [Wed, 28 Jul 1999 20:39:34 +0000 (20:39 +0000)]
Removed configuration option --enable-lang which was recently added.

24 years ago*** empty log message ***
Jim Blandy [Tue, 27 Jul 1999 20:11:57 +0000 (20:11 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Mikael Djurfeldt [Tue, 27 Jul 1999 19:14:19 +0000 (19:14 +0000)]
*** empty log message ***

24 years agoRegenerated
Mikael Djurfeldt [Tue, 27 Jul 1999 19:12:13 +0000 (19:12 +0000)]
Regenerated

24 years ago* acconfig.h (GUILE_LANG): New configuration variable.
Mikael Djurfeldt [Tue, 27 Jul 1999 19:10:34 +0000 (19:10 +0000)]
* acconfig.h (GUILE_LANG): New configuration variable.

24 years ago* tags.h, print.c (SCM_IM_NIL_COND, SCM_IM_NIL_IFY, SCM_IM_T_IFY,
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.

24 years ago* Makefile.am (EXTRA_libguile_la_SOURCES): Added lang.c.
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.

24 years ago* init.c (scm_boot_guile_1): Added call to scm_init_lang ().
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 ().

24 years ago* eval.c (scm_nil, scm_t): New symbols.
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.

24 years ago* dynwind.c (scm_dowinds): Removed obsolete wind_key #f case.
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.

24 years ago* Makefile.am (EXTRA_libguile_la_SOURCES): Added lang.c.
Mikael Djurfeldt [Tue, 27 Jul 1999 19:08:11 +0000 (19:08 +0000)]
* Makefile.am (EXTRA_libguile_la_SOURCES): Added lang.c.

24 years ago* configure.in: Added option --enable-lang.
Mikael Djurfeldt [Tue, 27 Jul 1999 19:07:42 +0000 (19:07 +0000)]
* configure.in: Added option --enable-lang.

24 years ago*** empty log message ***
Mikael Djurfeldt [Tue, 27 Jul 1999 19:07:30 +0000 (19:07 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Blandy [Mon, 26 Jul 1999 03:28:21 +0000 (03:28 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Mikael Djurfeldt [Sun, 25 Jul 1999 19:26:55 +0000 (19:26 +0000)]
*** empty log message ***

24 years ago* random.c, random.h (scm_c_default_rstate, scm_c_uniform32):
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.

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

24 years ago* ports.c, ports.h, fports.c, strports.c, vports.c: Renamed
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.

24 years ago*** empty log message ***
Mikael Djurfeldt [Sun, 25 Jul 1999 12:20:31 +0000 (12:20 +0000)]
*** empty log message ***

24 years agoRegenerated
Mikael Djurfeldt [Sat, 24 Jul 1999 23:12:27 +0000 (23:12 +0000)]
Regenerated

24 years ago* vports.c (scm_sfport, prinsfpt, sf_read_flush, noop0): Removed.
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.

24 years ago*** empty log message ***
Mikael Djurfeldt [Sat, 24 Jul 1999 23:10:57 +0000 (23:10 +0000)]
*** empty log message ***

24 years ago* strports.c (scm_stptob, prinstpt, noop0): Removed
Mikael Djurfeldt [Sat, 24 Jul 1999 23:10:43 +0000 (23:10 +0000)]
* strports.c (scm_stptob, prinstpt, noop0): Removed
(scm_make_stptob): Added.

24 years ago* smob.c (scm_smob_print): Handle non-existing type name nicely.
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"

24 years ago* ports.c, ports.h (scm_make_port_type): New interface for
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"

24 years ago* objects.c (scm_make_port_classes): New function ptr.
Mikael Djurfeldt [Sat, 24 Jul 1999 23:09:48 +0000 (23:09 +0000)]
* objects.c (scm_make_port_classes): New function ptr.

24 years ago* ioext.c (scm_redirect_port): Replaced scm_ptobfuns -->
Mikael Djurfeldt [Sat, 24 Jul 1999 23:09:28 +0000 (23:09 +0000)]
* ioext.c (scm_redirect_port): Replaced scm_ptobfuns -->
scm_ptob_descriptor.

24 years agoRemoved
Mikael Djurfeldt [Sat, 24 Jul 1999 23:09:18 +0000 (23:09 +0000)]
Removed

24 years ago* gc.c (scm_gc_sweep): Use value returned from scm_ptobs[].free.
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.

24 years ago* fports.c (prinfport): Moved code from ports.c.
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.)

24 years ago* filesys.c (scm_dir_print): Don't use the port printing code.
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.

24 years ago*** empty log message ***
Mikael Djurfeldt [Sat, 24 Jul 1999 22:59:43 +0000 (22:59 +0000)]
*** empty log message ***

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

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 ***