1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-22 19:44:10 +02:00
Commit graph

3840 commits

Author SHA1 Message Date
Mark Galassi
4921140c64 1999-10-26 Mark Galassi <rosalia@lanl.gov>
* gh.h, gh_data.c (gh_symbol2scm): changed gh_symbol2scm() to take
	a const char * argument, upon suggestion from Lynn Winebarger.
1999-10-26 19:38:05 +00:00
Gary Houston
cd19d608b1 * strports.c (st_end_input): avoid dubious pointer arithmetic. 1999-10-26 18:42:11 +00:00
Gary Houston
2d9e5bca6c * tests/ports.test ("string ports"): test seeking/unreading from
an input string and seeking an output string.
1999-10-24 15:17:47 +00:00
Gary Houston
7dcb364d3b * Move the responsibility for resetting port buffers from the
caller of the ptob seek procedure to the implementation.  This
	gives more control in general to the ptob seek: in particular the
	change of 1999-10-20 can be made to work without breaking seek on
	string ports.  There's a comment in NEWS about upgrading port
	types.

	* ports.c (scm_seek): don't reset the port buffers here.

	* fports.c (fport_seek): reset the buffers, except for the
	0 SEEK_CUR case.

	* strports.c (st_end_input): (bug fix): decrement pt->read_pos by
	offset.  check that it's not less than read_buf.
	(st_seek): reset the buffers first, unless it's the 0 SEEK_CUR
	case and currently reading.
1999-10-24 11:25:31 +00:00
Gary Houston
e9c66ab079 * ports.c (scm_seek): Add a special case for SEEK_CUR, offset 0,
so that unread chars are not needlessly discarded.  (thanks to
	Roland Orre).
1999-10-20 21:03:09 +00:00
Gary Houston
22a92623c6 * tests/ports.test: in seek/tell test on input port, also test
that ftell doesn't discard unread chars.
1999-10-20 20:59:07 +00:00
Gary Houston
a2349a2860 notes 1999-10-18 20:57:47 +00:00
Gary Houston
0de97b83c0 * fports.c (scm_fdes_to_port): always set rw_random if the fdes is
random access.  rw_active needs to be maintained even for single
	directional ports, otherwise scm_seek and probably other things are
	broken.  (thanks to Roland Orre).

	* strports.c (scm_mkstrport): set rw_random to 1 unconditionally.

	* ports.c (scm_add_to_port_table): initialise rw_random to 0.

	* ports.h (scm_port): change the comments on rw_random and rw_active.
1999-10-18 20:49:29 +00:00
Gary Houston
4fcd6551ff * tests/ports.test: add seek/tell tests for unidirectional ports. 1999-10-18 20:47:37 +00:00
Mikael Djurfeldt
e173f7f18b *** empty log message *** 1999-10-11 17:42:01 +00:00
Mikael Djurfeldt
5390d7c79c Regenerated 1999-10-11 17:41:05 +00:00
Mikael Djurfeldt
b3ad310304 * Makefile.am (libguile_la_LDFLAGS): Bumped libguile version. 1999-10-11 17:40:45 +00:00
Mikael Djurfeldt
453e9dac93 * tags.h (SCM_IM_DELAY): New immediate symbol. 1999-10-11 17:40:32 +00:00
Mikael Djurfeldt
ccd0e478a6 * print.c (scm_isymnames): Printed representation. 1999-10-11 17:40:19 +00:00
Mikael Djurfeldt
c85897471a * ioext.c: Added #include "feature.h". 1999-10-11 17:40:06 +00:00
Mikael Djurfeldt
6b10ed8be1 * eval.c, eval.h (scm_sym_delay): New global symbol. 1999-10-11 17:39:37 +00:00
Mikael Djurfeldt
a570e93a25 * eval.c, eval.h (scm_sym_delay): New global symbol.
* eval.c (unmemocopy, SCM_CEVAL): Handle SCM_IM_DELAY.
(scm_m_delay): Turned into a memoizing macro.
1999-10-11 17:39:24 +00:00
Jim Blandy
1ab45872f0 *** empty log message *** 1999-10-11 16:54:05 +00:00
Jim Blandy
0acef67a14 * gh_data.c (gh_ints2scm, gh_doubles2scm): Make sure elements are
protected from GC while building the vector.  (Thanks to Bernard
Urban and Greg Harvey.)
1999-10-11 16:53:50 +00:00
Mikael Djurfeldt
bfb7e83924 *** empty log message *** 1999-10-10 17:49:48 +00:00
Jim Blandy
18fa97f881 *** empty log message *** 1999-10-10 06:45:29 +00:00
Mikael Djurfeldt
9770d235a3 *** empty log message *** 1999-10-08 11:51:03 +00:00
Mikael Djurfeldt
0573ddaea3 *** empty log message *** 1999-10-08 10:46:38 +00:00
Mikael Djurfeldt
8569180634 * throw.c (handler_message): Display backtrace if backtraces
enabled.
1999-10-08 10:46:26 +00:00
Jim Blandy
e8ff464811 *** empty log message *** 1999-10-05 23:26:11 +00:00
Jim Blandy
ce35866271 *** empty log message *** 1999-10-05 23:17:56 +00:00
Jim Blandy
0b49b6aea0 * autogen.sh: Don't call autoreconf at all; it's not reliable.
Instead, call the various tools explicitly.  Invoke
guile-readline's autogen.sh script.
1999-10-05 23:07:04 +00:00
Jim Blandy
50a0663ce4 * Makefile.in, configure, aclocal.m4: Deleted from CVS repository.
Run the autogen.sh script to create generated files like these.
* autogen.sh: New script, invoked by the top-level autogen.sh.
1999-10-05 23:06:49 +00:00
Jim Blandy
7148264401 *** empty log message *** 1999-10-05 23:05:55 +00:00
Jim Blandy
9e5a2768c7 *** empty log message *** 1999-10-05 23:05:38 +00:00
Jim Blandy
0cbedb5b2b *** empty log message *** 1999-10-05 22:36:14 +00:00
Jim Blandy
2b9fe19fa0 * guile.m4: Moved here from top-level directory; see the ChangeLog
entry there.
* Makefile.am (aclocaldir, aclocal_DATA): New variables, ensuring
that guile.m4 gets installed.
1999-10-05 22:35:06 +00:00
Jim Blandy
37ace88a91 * guile.m4: Moved to guile-config.
* Makefile.am (aclocaldir, aclocal_DATA): Delete.
(EXTRA_DIST): Move qthreads.m4 here.
1999-10-05 22:34:46 +00:00
Jim Blandy
ee31ced26a * autogen.sh: Call autoheader explicitly. autoreconf runs
autoconf before autoheader, and autoconf complains if
libguile/scmconfig.h.in doesn't exist.
1999-10-05 22:34:35 +00:00
Jim Blandy
924cb850bc Shouldn't have deleted this. 1999-10-05 22:33:34 +00:00
Jim Blandy
1e5f8f2d71 * Makefile.in, configure, aclocal.m4: Deleted from CVS repository.
Run the autogen.sh script to create generated files like these.
1999-10-05 22:32:32 +00:00
Jim Blandy
0c1221ab9c *** empty log message *** 1999-10-05 20:49:29 +00:00
Jim Blandy
da04098ce9 * Makefile.in, md/Makefile.in, time/Makefile.in: Deleted from CVS
repository.  Run the autogen.sh script to create generated files
like this one.
1999-10-05 19:12:03 +00:00
Jim Blandy
a65750a309 * Makefile.in, scmconfig.h.in: Deleted from CVS repository. Run
the autogen.sh script to create generated files like these.
1999-10-05 19:08:37 +00:00
Jim Blandy
b04657c251 * Makefile.in: Deleted from CVS repository. Run the autogen.sh
script to create generated files like this one.
1999-10-05 19:08:25 +00:00
Jim Blandy
5d94b2fead Don't store generated files in the repository any more. Instead,
require people to run autogen.sh on trees from snapshots and CVS.
* Makefile.in, acconfig.h, aclocal.m4, configure: Deleted.
* autogen.sh: New file.
* ANON-CVS, SNAPSHOTS: Updated instructions.
1999-10-05 19:07:40 +00:00
Jim Blandy
80f2710274 *** empty log message *** 1999-10-05 19:00:38 +00:00
Jim Blandy
3eb7e6ee5e * numbers.c (scm_string_to_number): Signal an error if radix is
less than two.  (Thanks to Jorgen Schaefer.)

* print.c (scm_write, scm_display, scm_newline, scm_write_char):
Don't assume that the current output port is valid.  Somebody
might close it.  (Thanks to Bernard Urban.)
1999-10-05 18:57:31 +00:00
Jim Blandy
dc4d930b43 *** empty log message *** 1999-10-02 23:53:13 +00:00
Jim Blandy
94e6a5c1d5 * acconfig.h (HAVE_POSIX, HAVE_NETWORKING): Add comments. 1999-10-02 23:52:23 +00:00
Jim Blandy
3b307d439d * Makefile.am (EXTRA_libguile_la_SOURCES): fix typo. 1999-10-02 23:01:46 +00:00
Jim Blandy
eb33e4d702 * scmconfig.h.in: Add comments for HAVE_POSIX and HAVE_NETWORKING. 1999-10-02 23:01:14 +00:00
Jim Blandy
7b7148d8ef Revert back to text generated by automake 1.4. 1999-10-02 22:57:38 +00:00
Greg J. Badros
38a15cfd38 * NEWS: More complete description for --enable-debug-freelist. 1999-10-02 22:55:36 +00:00
Greg J. Badros
fca7547b1a Fix my last commit -- DEBUG_FREELIST renamed to GUILE_DEBUG_FREELIST 1999-09-28 00:54:26 +00:00