guile/guile-readline/ChangeLog
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

121 lines
3.9 KiB
Text

1999-11-18 Gary Houston <ghouston@freewire.co.uk>
* readline.c (scm_init_readline): set rl_readline_name to Guile,
to allow conditionals in .inputrc.
1999-10-05 Jim Blandy <jimb@savonarola.red-bean.com>
* 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-09-22 Jim Blandy <jimb@savonarola.red-bean.com>
* configure.in: Call AM_PROG_CC_STDC.
* configure, aclocal.m4: Regenerated.
1999-09-16 Mikael Djurfeldt <mdj@mdj-pc.nada.kth.se>
* Makefile.am (.c.x): Use same rule as in libguile.
1999-09-12 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
* readline.h, readline.scm: Updated copyright notices.
1999-09-11 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
* readline.scm (activate-readline): Set (using-readline?).
1999-09-11 Jim Blandy <jimb@savonarola.red-bean.com>
* aclocal.m4: Regenerated with newer libtool macros.
* Makefile.am (DISTCLEANFILES): Get rid of .x files.
* Makefile.in: Regenerated.
(Thanks to Keisuke Nishida.)
1999-09-11 Marius Vollmer <mvo@zagadka.ping.de>
* readline.scm: Moved from ../ice-9.
Dynamically link libguilereadline.so.
(readline): Just define in this module, do not overwrite builtin
variable. The builtin readline function is now named "%readline",
so this works. See below.
(activate-readline): New function which contains the readline
activation code formerly found in top-repl.
* readline.c (scm_readline): Export it to Scheme as "%readline".
* configure.in: Get version from ../GUILE-VERSION and use it for
package version.
* Makefile.am: Do not install and distribute
readline-activator.scm. Install and distribute readline.scm
instead.
* aclocal.m4, Makefile.in, configure, libtool: Regenerated, but
probably with the wrong version of the tools.
1999-08-29 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
The following change makes it possible for applications to have
their own version of scm_readline.
* readline.c, readline.h (rl_cleanup_after_signal,
rl_free_line_state): Made global.
(scm_readline_init_ports): New function.
(scm_readline): Use scm_readline_init_ports.
(Thanks to Anders Holst.)
* Makefile.am: Install guile-readline/readline.h.
1999-08-20 James Blandy <jimb@mule.m17n.org>
* Makefile.in, aclocal.m4, configure: Regenerated.
1999-08-17 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
* configure.in (HAVE_RL_GETC_FUNCTION): Modified test to actually
use rl_getc_function. Otherwise smart compilers, like gcc,
optimize away the reference so that no error occurs in the link
phase.
1999-08-04 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
* Makefile.am (INCLUDES): Added -I$(srcdir)/../libguile.
(Thanks to Greg Badros.)
1999-07-24 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
* readline.c (handle_error): Put a cosmetic newline on
rl_outstream on error before closing it.
* 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.
* 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.
* Makefile.am (BUILT_SOURCES): Added.
1999-07-23 Marius Vollmer <mvo@zagadka.ping.de>
* Checked everything into CVS.
1999-07-22 Marius Vollmer <mvo@zagadka.ping.de>
* readline.c (stream_from_fport): New function.
(scm_readline): Use it to for the input and output ports. Close
the streams after readline returns.
(handle_error): Close them also when an error occured.
1999-06-17 Marius Vollmer <mvo@zagadka.ping.de>
* readline.h, readline.c: Removed exception notice from copyright
statement.
1999-05-16 Marius Vollmer <mvo@zagadka.ping.de>
* Started guile-readline package. Files are copied from old
guile-core package and slightly modified.