1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-07 18:30:25 +02:00
Commit graph

3964 commits

Author SHA1 Message Date
Mikael Djurfeldt
10efca5bce * vports.c (scm_sfport, prinsfpt, sf_read_flush, noop0): Removed.
(scm_make_sfport): Added.
1999-07-24 23:11:11 +00:00
Mikael Djurfeldt
f15913d08f *** empty log message *** 1999-07-24 23:10:57 +00:00
Mikael Djurfeldt
0b6881fa6c * strports.c (scm_stptob, prinstpt, noop0): Removed
(scm_make_stptob): Added.
1999-07-24 23:10:43 +00:00
Mikael Djurfeldt
2c16a78a11 * smob.c (scm_smob_print): Handle non-existing type name nicely.
Removed #include "genio.h"
1999-07-24 23:10:27 +00:00
Mikael Djurfeldt
f12733c9d4 * 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"
1999-07-24 23:10:13 +00:00
Mikael Djurfeldt
c163662710 * objects.c (scm_make_port_classes): New function ptr. 1999-07-24 23:09:48 +00:00
Mikael Djurfeldt
16019956ab * ioext.c (scm_redirect_port): Replaced scm_ptobfuns -->
scm_ptob_descriptor.
1999-07-24 23:09:28 +00:00
Mikael Djurfeldt
3637134f14 Removed 1999-07-24 23:09:18 +00:00
Mikael Djurfeldt
84af038203 * gc.c (scm_gc_sweep): Use value returned from scm_ptobs[].free. 1999-07-24 23:08:55 +00:00
Mikael Djurfeldt
b3ec3c64a5 * 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.)
1999-07-24 23:08:29 +00:00
Mikael Djurfeldt
f8b16091fc * filesys.c (scm_dir_print): Don't use the port printing code.
Instead provide specific directory printer.
1999-07-24 23:08:16 +00:00
Mikael Djurfeldt
16a5a9a445 *** empty log message *** 1999-07-24 22:59:43 +00:00
Gary Houston
69bc9ff335 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.
1999-07-24 19:52:13 +00:00
Mikael Djurfeldt
eb9ef08b77 *** empty log message *** 1999-07-24 11:55:34 +00:00
Mikael Djurfeldt
2179c70cf4 Regenerated 1999-07-24 11:51:24 +00:00
Mikael Djurfeldt
f29f29339a *** empty log message *** 1999-07-24 11:48:47 +00:00
Mikael Djurfeldt
fc44cdf1b0 * README, config.guess, config.sub, liconfig, ltmain.sh: Switched
to libtool-1.3.3.
1999-07-24 11:47:50 +00:00
Mikael Djurfeldt
739b3bf1b8 * 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.
1999-07-24 11:40:11 +00:00
Mikael Djurfeldt
096d0b15f6 *** empty log message *** 1999-07-24 11:39:36 +00:00
Mikael Djurfeldt
66e28f022f * 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.
1999-07-24 11:38:30 +00:00
Mikael Djurfeldt
84a8c61dfc * Makefile.am (BUILT_SOURCES): Added. 1999-07-24 11:38:03 +00:00
Mikael Djurfeldt
3469affdff * readline.c, readline.h: Removed. 1999-07-24 11:37:12 +00:00
Mikael Djurfeldt
d0efbe6199 * 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.
1999-07-24 11:36:30 +00:00
Marius Vollmer
0e8a8468a3 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.
1999-07-23 22:04:27 +00:00
Marius Vollmer
c374ab69c1 * Checked everything into CVS. 1999-07-23 21:43:58 +00:00
Mikael Djurfeldt
aafe2718aa *** empty log message *** 1999-07-23 13:14:20 +00:00
Mikael Djurfeldt
b505860d29 * init.c: Make sure that scm_post_boot_init_modules is called only
once.  (Important when using a dumped image.; Thanks to Bernard
Urban.)
1999-07-23 13:14:05 +00:00
Mikael Djurfeldt
ad91d6c3ff *** empty log message *** 1999-07-23 11:38:34 +00:00
Mikael Djurfeldt
36d3d54043 *** empty log message *** 1999-07-23 11:30:50 +00:00
Jim Blandy
ef2714120a Mention GOOPS (oops). 1999-07-23 08:16:31 +00:00
Gary Houston
9e97c52df0 NEWS entries for the port changes, surprisingly few. 1999-07-22 21:14:49 +00:00
Jim Blandy
12f6c4e87d *** empty log message *** 1999-07-22 14:25:35 +00:00
Mikael Djurfeldt
15fb002474 *** empty log message *** 1999-07-21 16:06:49 +00:00
Mikael Djurfeldt
4ebf0b3e46 *** empty log message *** 1999-07-21 15:18:55 +00:00
Jim Blandy
59526439d6 *** empty log message *** 1999-07-19 19:07:11 +00:00
Jim Blandy
8cdfb9aa53 * streams.scm: New module, contributed by Michael Livshin.
* Makefile.am (ice9_sources): List it.
* Makefile.in: Regenerated.
1999-07-19 19:07:09 +00:00
Jim Blandy
8e1e60f181 *** empty log message *** 1999-07-19 18:57:40 +00:00
Jim Blandy
67b2561b50 * guardians.c (scm_guardian_zombify): Separate scanning for
zombies from marking the pairs of the free list.
1999-07-19 18:57:02 +00:00
Jim Blandy
a825bb0e2d *** empty log message *** 1999-07-19 18:46:09 +00:00
Jim Blandy
55b7e0bd82 * guardians.c (scm_guardian_zombify): Don't set marks manually ---
use the macros.  (Thanks to Michael Livshin.)
1999-07-19 18:45:57 +00:00
Jim Blandy
6d8500ad76 * tests/ports.test: Fix copyright years. 1999-07-19 18:44:32 +00:00
Jim Blandy
2e109b651d * tests/guardians.test: New test file. 1999-07-19 18:44:12 +00:00
Jim Blandy
4d4c53aca7 *** empty log message *** 1999-07-19 08:59:30 +00:00
Jim Blandy
a42f00b823 * stime.c (ftime): Delete declaration for this function --- let
the system supply it.
1999-07-19 08:58:42 +00:00
Jim Blandy
ae904cfae3 * eval.c (scm_m_lambda): Let bodycheck check the body of the
lambda.  Let your sins be purified by the blood of the lambda.
(Thanks to Eric Hanchrow.)
1999-07-19 08:45:54 +00:00
Jim Blandy
a122f2f9ea *** empty log message *** 1999-07-19 08:22:28 +00:00
Jim Blandy
d9ad691916 *** empty log message *** 1999-07-19 08:20:44 +00:00
Jim Blandy
e6393a4a0c * net_db.c (h_errno): Don't declare this if it's #defined. Eew.
(Thanks to Valdis Kletnieks.)
1999-07-19 08:20:27 +00:00
Jim Blandy
a3bb43e586 *** empty log message *** 1999-07-19 08:11:28 +00:00
Jim Blandy
e3306d8063 * boot-9.scm (read-delimited!): Put the terminator in the correct
position.
1999-07-19 08:11:19 +00:00