1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-26 05:00:28 +02:00
Commit graph

453 commits

Author SHA1 Message Date
Gary Houston
5c11cc9deb * configure.in: check for hstrerror.
* socket.c (scm_htons, scm_ntohs, scm_htonl, scm_ntohl): new
	functions for network data conversion.

	* numbers.c (scm_num2long, scm_num2longlong):
	throw out-of-range instead of wrong-type-arg if appropriate.
	(scm_iint2str): handle -2^31 correctly.
	(scm_num2long): handle -2^31 bignum correctly.
	(scm_num2long_long): rewrite the bigdig case: basically copied
	from scm_num2long.
	numbers.h: (SCM_BITSPERLONGLONG): deleted.

	* unif.c (rapr1): use sprintf instead of intprint for unsigned
	longs: intprint can't cope with large values.

	* numbers.c (scm_num2ulong): check more consistently that the
	input is not negative.  if it is, throw out-of-range instead of
	wrong-type-arg.

	* ramap.c (scm_array_fill_int): don't limit fill to INUM for
	uvect, ivect or llvect.
	Check that fill doesn't overflow short uniform array.

	* __scm.h: add another long to the definition of long_long and
	ulong_long.

	* unif.c (scm_raprin1): use 'l' instead of "long_long" in the
	print representation of llvect.  read can't handle more than
	one character.
	(scm_dimensions_to_uniform_array): make "fill" an optional argument
	instead of a rest argument.

	* tags.h (scm_tc7_llvect): wasn't defined anywhere, so use the free
	tag 29 for now.

	* __scm.h: don't mention LONGLONGS.

	* unif.c, numbers.c, eq.c, gc.c, print.c, eval.c, ramap.c:
	replace LONGLONGS with HAVE_LONG_LONGS as set by configure.

	* net_db.c (scm_inet_aton): throw errors using the misc-error key
	instead of system-error.  inet_aton doesn't set errno.
	system-error isn't right in gethost either, since it's throwing
	the value of h_errno instead of errno. so:
	(scm_host_not_found_key, scm_try_again_key,
	scm_no_recovery_key, scm_no_data_key): new error keys.
	(scm_resolv_error): new procedure, use the new keys.
	(scm_gethost): call scm_resolv_error not scm_syserror_msg.

	* error.c: (various): use scm_cons instead of scm_listify
	to build short lists.

	* boot-9.scm (read-hash-extend to set up arrays): add 'l' for
	long_long uniform vectors.

	* networking.scm (sethostent, setnetent, setprotoent, setservent):
	take an optional argument STAYOPEN.  default is #f.

	* readline.c (scm_init_readline): set rl_readline_name to Guile,
	to allow conditionals in  .inputrc.
1999-11-18 22:36:28 +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
a2349a2860 notes 1999-10-18 20:57:47 +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
Jim Blandy
ce35866271 *** empty log message *** 1999-10-05 23:17:56 +00:00
Jim Blandy
80f2710274 *** empty log message *** 1999-10-05 19:00: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
e1b0d0acc8 *** empty log message *** 1999-09-28 00:39:35 +00:00
Gary Houston
52cfc69be6 support new configure options: --disable-posix, --disable-net
and --disable-regex.
1999-09-26 16:00:36 +00:00
Jim Blandy
cc36e791ad Start a new version. 1999-09-25 18:13:01 +00:00
Jim Blandy
5d195868f9 Add explanation of licensing issues to the description of the
readline interface.
1999-09-23 05:36:00 +00:00
Mikael Djurfeldt
240ed66f84 *** empty log message *** 1999-09-19 14:37:31 +00:00
Mikael Djurfeldt
daf516d661 *** empty log message *** 1999-09-19 14:35:53 +00:00
Mikael Djurfeldt
86a4d62e37 *** empty log message *** 1999-09-16 00:34:21 +00:00
Mikael Djurfeldt
26405bc156 *** empty log message *** 1999-09-15 17:47:13 +00:00
Mikael Djurfeldt
ece4116847 *** empty log message *** 1999-09-13 14:58:33 +00:00
Mikael Djurfeldt
0fdcbcaad5 *** empty log message *** 1999-09-12 14:56:02 +00:00
Jim Blandy
340a877098 *** empty log message *** 1999-09-12 03:52:11 +00:00
Jim Blandy
25b0654ec7 *** empty log message *** 1999-09-11 17:38:10 +00:00
Marius Vollmer
0ce204b054 *** empty log message *** 1999-09-11 15:18:55 +00:00
Gary Houston
77242ff9cd 1999-09-11 Gary Houston <ghouston@easynet.co.uk>
* filesys.c (scm_directory_p): new procedure "directory?"  Returns
	a boolean indicating whether its argument is a directory
	port as returned by opendir (thanks to Dirk Herrmann for the
	suggestion.)
1999-09-11 14:12:14 +00:00
Mikael Djurfeldt
bc848f7fee *** empty log message *** 1999-09-09 20:17:51 +00:00
Mikael Djurfeldt
d02cafe764 *** empty log message *** 1999-09-02 09:16:58 +00:00
Jim Blandy
b074884f06 *** empty log message *** 1999-09-01 02:51:52 +00:00
Mikael Djurfeldt
49199eaa69 *** empty log message *** 1999-08-29 21:08:38 +00:00
Mikael Djurfeldt
6822fe53c9 *** empty log message *** 1999-08-24 02:22:40 +00:00
Jim Blandy
43fa9a05fe Post-release changes for 1.3.2. 1999-08-20 05:55:49 +00:00
Jim Blandy
f8c9d4978d *** empty log message *** 1999-08-20 05:14:11 +00:00
Gary Houston
c94577b445 1999-08-12 Gary Houston <ghouston@easynet.co.uk>
* ports.c (scm_seek): one more: was scm_lseek.  Also changed the
	Scheme name from lseek to seek, but lseek was added recently so
	it shouldn't be a big problem.
	* ports.c, gdbint.c, ioext.c: changed callers.
1999-08-12 18:58:55 +00:00
Mikael Djurfeldt
2a52b4295e *** empty log message *** 1999-07-29 18:15:24 +00:00
Jim Blandy
6ca345f321 *** empty log message *** 1999-07-27 20:11:57 +00:00
Mikael Djurfeldt
259529f27d *** empty log message *** 1999-07-25 19:26:55 +00:00
Gary Houston
1b9c3daec9 1999-07-25 Gary Houston <ghouston@easynet.co.uk>
* ports.c (scm_putc): fix line-buffering.

(init.c: remove an obsolete comment).
1999-07-25 17:45:01 +00:00
Mikael Djurfeldt
544e90932f *** empty log message *** 1999-07-25 12:20:31 +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
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
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
Gary Houston
9e97c52df0 NEWS entries for the port changes, surprisingly few. 1999-07-22 21:14:49 +00:00
Marius Vollmer
56a19408b8 * dynl.c (DYNL_GLOBAL): New.
(sysdep_dynl_link): Added `flags' argument.
(kw_global, sym_global): New.
(scm_dynamic_link): Handle keyword arguments.  Pass suitable flags
to sysdep_dynl_link.
* dynl-dl.c (sysdep_dynl_link): Handle new `flags' argument by
conditrionally adding RTLD_GLOBAL to DLOPEN_MODES.
* dynl-shl.c (sysdep_dynl_link): Add and ignore new flags
argument.
* dynl-dld.c (sysdep_dynl_link): Add and ignore new flags
argument.
* dynl.h (scm_dynamic_link): Added rest argument.
* dynl.c (sysdep_dynl_unlink, sysdep_dynl_func): Use const
qualifier for char* argument, to match prototypes.  Thanks to Mark
Elbrecht.
1999-06-21 15:14:01 +00:00
Jim Blandy
d21ffe2694 *** empty log message *** 1999-06-18 10:16:40 +00:00
Jim Blandy
ab7113597e *** empty log message *** 1999-06-14 16:54:29 +00:00
Jim Blandy
ad226f250e *** empty log message *** 1999-06-12 12:45:23 +00:00
Jim Blandy
e7d37b0a69 *** empty log message *** 1999-05-09 09:13:20 +00:00
Jim Blandy
b7e13f6541 *** empty log message *** 1999-05-02 17:28:43 +00:00
Jim Blandy
1d3358634f Remove all automatic readline support, to avoid copyright
confusion.
* INSTALL: Update text.
* NEWS: Explain the situation.
* configure.in: Remove configury for readline and its supporting
libraries.
* configure: Regenerated.
1999-04-17 16:01:45 +00:00
Jim Blandy
deaceb4eef *** empty log message *** 1999-02-12 10:16:04 +00:00
Jim Blandy
d77fb593b6 Describe --with-readline flag. 1999-02-12 08:19:11 +00:00