1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-08 22:50:27 +02:00
Commit graph

21194 commits

Author SHA1 Message Date
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
Jim Blandy
5bc1201f2d * tests/ports.test ("read-delimited!"): New tests. 1999-07-19 08:10:30 +00:00
Jim Blandy
3144e1a9e9 *** empty log message *** 1999-07-19 07:54:37 +00:00
Jim Blandy
b89b25edd2 * tags.h (SCM_IMP, SCM_NCONSP, SCM_NCELLP, SCM_ITAG3, SCM_TYP3,
SCM_TYP7, SCM_TYP7S, SCM_TYP16, SCM_TYP16S, SCM_GCTYP16,
SCM_GCMARKP, SCM_GC8MARKP): Don't cast to int.  Either SCM or no
cast at all is more appropriate in every case.  At the moment, we
assume everywhere that SCM is an integral type anyway.
1999-07-19 07:54:12 +00:00
Jim Blandy
af68fb843b * snarf.h (SCM_CONST_LONG): Remove trailing semicolon from
definition.
1999-07-19 07:53:51 +00:00
Jim Blandy
8638b0979a * scmsigs.c (scm_sigaction): Cast SIG_DFL and SIG_IGN to SCM, not
int.  That way, if we get a warning on this line, it's more likely
that we're really missing bits we care about.
1999-07-19 07:53:21 +00:00
Jim Blandy
435220a73c * regex-posix.c (scm_regexp_error_msg): Change `rx' argument to
regex_t pointer.  This is what the callers have, mostly.
(scm_regexp_exec): Don't forget to pass the `rx' argument to
scm_regexp_error_msg.
1999-07-19 07:52:51 +00:00
Jim Blandy
62f36a0d27 * gdbint.c: Don't include <stdio.h> and "_scm.h" twice.
* gsubr.c: Don't include "gsubr.h" twice.
1999-07-19 07:52:07 +00:00
Jim Blandy
def804a381 * filesys.c: #include <io.h>, if we have it.
* scmconfig.h.in: Regenerated.
1999-07-19 07:49:58 +00:00
Jim Blandy
2adc1dd3af * configure.in: Check for <io.h>.
* configure: Regenerated.
1999-07-19 07:49:01 +00:00
Jim Blandy
131f97a979 Regenerated. 1999-07-19 07:42:33 +00:00
Jim Blandy
ed3db6efc9 *** empty log message *** 1999-07-19 02:40:04 +00:00
Jim Blandy
1630ea6c3a * qthreads.m4 (QTHREADS_CONFIGURE): 'alpha' in a configuration
name can have suffixes, like alphaev56-unknown-linux-gnu.
* aclocal.m4, configure: Rebuilt.
(Thanks to Sebastien Villemot.)
1999-07-19 02:39:18 +00:00
Jim Blandy
0c2b93ddf4 *** empty log message *** 1999-07-17 18:43:17 +00:00
Jim Blandy
37a33fed28 Patch from Greg Badros:
* snarf.h (SCM_PROC, SCM_PROC1): Use __cplusplus or
GUILE_CPLUSPLUS_SNARF macros to force adding a cast to the last
(function pointer) argument to scm_make_gsubr and scm_make_subr
calls.  This avoids warnings in C++ programs using guile-snarf.
1999-07-17 05:49:20 +00:00
Gary Houston
5c070ca7fd 1999-07-14 Gary Houston <ghouston@easynet.co.uk>
* unif.c (scm_uniform_array_read_x), ports.c (scm_getc): increment
	read_pos after scm_fill_buffer.
	* ioext.c (scm_do_read_line): simplify by ignoring the fill_buffer
	return char.
	* vports.c (sf_fill_buffer), strports.c (stfill_buffer),
	fports.c (fport_fill_buffer): implement the interface change.
	* ports.c (scm_fill_buffer): interface change: no longer increments
	read_pos past the character that's returned.  it seems clearer to
	leave it to the caller to decide what to do (thanks Jim).
	* vports.c (sf_fill_buffer): put the read char into the buffer
	as well as returning it.
	* ports.c (scm_grow_port_cbuf): residue of this deleted procedure
	deleted.
1999-07-14 13:55:01 +00:00
Gary Houston
3fe6190f46 1999-07-13 Gary Houston <ghouston@easynet.co.uk>
* strports.c (scm_strprint_obj): simplify.  start with initial
	buffer size of 0.
	(st_seek): don't allow string to be extended if seeking past
	the end of a read-only port.
1999-07-12  Gary Houston  <ghouston@easynet.co.uk>
	* strports.c (st_seek): change the resize checks.
	* ports.c (scm_ftruncate): throw error if offset works out negative.
	* strports.c (st_flush): increase string size in blocks of
	SCM_WRITE_BLOCK instead of 1. set read_end to read_pos if
	it's greater and reset read_buf_size.
	(scm_mkstrport): set rw_randow if only writing, since read_buf needs
	to be maintained for output ports too (it holds the written
	part of the string, while write_buf may have unwritten buffer
	chars.)
	(st_truncate): rewritten.
	(top of file): added a few notes.
1999-07-06  Gary Houston  <ghouston@easynet.co.uk>
	* strports.c (st_grow_port): set pt->read_pos.  set
	pt->read_buf_size one less than pt->write_buf_size if there's
	an unwritten char at the end of the string.  similarly for
	pt->read_end.
	(st_resize_port): renamed from st_grow_port.
	(st_seek): simplify by assuming that pt->write_pos == pt->read_pos.
	seek from read_end instead of write_end for SEEK_END.
	(st_ftruncate): calculate current length using readbuf, not write
	buf.
	(scm_strport_to_string): use read_buf_size for length.
	(stfill_buffer): don't re-initialise the readbuf.
1999-07-05  Gary Houston  <ghouston@easynet.co.uk>
	* strports.c (scm_strport_to_string): new procedure.
	(scm_call_with_output_string, scm_strprint_obj): use
	scm_strport_to_string.
	used SCM_INUM0 instead of SCM_MAKINUM (0) in a few places.
1999-07-13 11:06:18 +00:00
Mikael Djurfeldt
4dc7f07fde *** empty log message *** 1999-07-08 05:58:11 +00:00
Mikael Djurfeldt
aea5b792f7 * symbols.c (scm_gensym): Bugfix. (Thanks to Johannes Hjorth.) 1999-07-08 05:55:34 +00:00
Mikael Djurfeldt
544b923292 *** empty log message *** 1999-07-07 09:44:53 +00:00
Mikael Djurfeldt
23a621512f Greg's smob patch 1999-07-07 09:44:01 +00:00