guile/guile-readline/ChangeLog

551 lines
18 KiB
Text
Raw Normal View History

2002-12-09 00:51:53 +00:00
2002-12-08 Rob Browning <rlb@defaultvalue.org>
* configure.in (GUILE_EFFECTIVE_VERSION): AC_SUBST.
* Makefile.am (ice9dir): VERSION -> GUILE_EFFECTIVE_VERSION.
2002-10-27 20:29:02 +00:00
2002-10-27 Marius Vollmer <mvo@zagadka.ping.de>
* readline.c (reentry_barrier_mutex): Reimplemented with
scm_make_mutex, etc.
2002-10-21 Mikael Djurfeldt <mdj@linnaeus>
* readline.scm (activate-readline): Look for use-emacs-interface
option in the guile-user module instead of the-root-module.
2002-04-30 07:41:43 +00:00
2002-04-30 Marius Vollmer <marius.vollmer@uni-dortmund.de>
* autogen.sh: Invoke plain aclocal instead of guile-aclocal.sh.
We don't need the Guile m4 macros and the previous invocation of
guile-aclocal.sh created the aclocal.m4 file in the wrong
directory (see change from 2002-04-26).
2002-04-26 18:06:01 +00:00
2002-04-26 Marius Vollmer <mvo@zagadka.ping.de>
* autogen.sh: Change to parent dir before invoking
guile-aclocal.sh.
2002-04-17 17:41:51 +00:00
2002-04-16 Marius Vollmer <mvo@zagadka.ping.de>
* Makefile.am (dist-hook): Make sure $(distdir)/Makefile.in is
writable before modifying it.
2002-04-11 04:41:40 +00:00
2002-04-10 Rob Browning <rlb@defaultvalue.org>
* configure.in: add definitions to AC_DEFINE calls for new
autoconf.
* .cvsignore: add autom4te.cache and *.c.clean.c.
2002-03-24 13:49:14 +00:00
2002-03-24 Marius Vollmer <mvo@zagadka.ping.de>
* Makefile.am (.c.x): Pass "-o $@" to guile-snarf.
2002-03-14 07:57:42 +00:00
2002-03-13 Thien-Thi Nguyen <ttn@giblet.glug.org>
* Makefile.am (snarfcppopts): New var.
(.c.x): Use $(snarfcppopts). Rework guile-snarf usage.
2002-02-27 Stefan Jahn <stefan@lkcc.org>
* Makefile.am (EXTRA_DIST): Added the `LIBGUILEREADLINE-VERSION'
file.
2002-02-26 07:18:32 +00:00
2002-02-25 Thien-Thi Nguyen <ttn@giblet.glug.org>
* configure.in (LIBGUILEREADLINE-VERSION):
Look for this file in $srcdir.
2002-02-25 04:59:49 +00:00
2002-02-24 Rob Browning <rlb@defaultvalue.org>
* configure.in: source ./LIBGUILEREADLINE-VERSION for version info
and then AC_SUBST the resulting variables:
LIBGUILEREADLINE_INTERFACE_CURRENT,
LIBGUILEREADLINE_INTERFACE_REVISION,
LIBGUILEREADLINE_INTERFACE_AGE, and
LIBGUILEREADLINE_INTERFACE.
* Makefile.am (libguilereadline_la_LDFLAGS): use
@LIBGUILEREADLINE_INTERFACE@ for version information.
* LIBGUILEREADLINE-VERSION: new file containing shared lib
versioning information.
2002-02-13 04:20:03 +00:00
2002-02-12 Thien-Thi Nguyen <ttn@giblet.glug.org>
* Makefile.am (AUTOMAKE_OPTIONS): Replace "gnu" with "foreign".
This undoes the 2002-02-08 change.
2002-02-09 05:44:39 +00:00
2002-02-08 Thien-Thi Nguyen <ttn@giblet.glug.org>
* Makefile.am (AUTOMAKE_OPTIONS): Replace "foreign" with "gnu".
2002-01-29 Neil Jerram <neil@ossau.uklinux.net>
* readline.scm (with-readline-completion-function): Renamed from
`call-with-readline-completion-function'.
2001-11-30 Neil Jerram <neil@ossau.uklinux.net>
* Makefile.am (EXTRA_DIST): Refer to $(ice9_DATA) rather than
readline.scm explicitly.
(ETAGS_ARGS): Added.
2001-11-04 Stefan Jahn <stefan@lkcc.org> * NEWS: Corrected remarks about SCM_API. * configure.in: Defining USE_DLL_IMPORT definition to indicate usage of DLL import macros in `libguile/__scm.h'. (LIBOBJS): Removed `fileblocks.o' from the list of object files. Somehow Jim Blandy's patch from 1997 did not survive. 2001-11-04 Stefan Jahn <stefan@lkcc.org> * configure.in (EXTRA_DEFS): Follow-up patch. Using SCM_IMPORT instead of __SCM_IMPORT__. * readline.c (scm_readline_init_ports): Disable input/output stream redirection for Win32. The readline package for Win32 does not support this. The guile-readline library works fine for command line editing. * readline.h (SCM_RL_API): Renamed __FOO__ macros into FOO. 2001-11-04 Stefan Jahn <stefan@lkcc.org> * Makefile.am (libguile_la_LIBADD): Added $(THREAD_LIBS_LOCAL) here (was at guile_LDADD) which describes the dependency correctly and allows a clean build on Win32. * __scm.h (SCM_API): Follow-up patch. Renamed __FOO__ macros into FOO. * __scm.h: USE_DLL_IMPORT indicates the usage of the DLL import macros for external libraries (libcrypt, libqthreads, libreadline and libregex). * coop-defs.h: Include <winsock2.h> for `struct timeval'. * posix.c (flock): Added support for flock() in M$-Windows. * guile.c (SCM_IMPORT): Follow-up patch. Use SCM_IMPORT instead of __SCM_IMPORT__. * fports.c (getflags): Differentiate reading and writing pipes descriptors. * filesys.c (S_IS*): Redefine all of the S_IS*() macros for M$-Windows. * coop.c (coop_condition_variable_timed_wait_mutex): Use conditionalized error code if `ETIMEDOUT' is not available. (scm_thread_usleep): Remove bogus declaration of `struct timeval timeout'. * numbers.c (PTRDIFF_MIN): Moved this definition where it actually belongs. That is because NO_PREPRO_MAGIC gets undefined after each inclusion of `num2integral.i.c'. (SIZE_MAX): Define NO_PREPRO_MAGIC if SIZE_MAX is undefined. 2001-11-04 Stefan Jahn <stefan@lkcc.org> * md/Makefile.am (EXTRA_DIST): Added `i386.asm'. * md/i386.asm: New file. Contains the Intel syntax version for nasm/tasm/masm of the file `i386.s'. * qt.h.in: Definition of QT_API, QT_IMPORT and QT_EXPORT. Prefixed each symbols which is meant to go into a DLL. * Makefile.am (libqthreads_la_LDFLAGS): Put `-no-undefined' into LDFLAGS to support linkers which do not allow unresolved symbols inside shared libraries. (EXTRA_DIST): Add `libqthreads.def', which is an export file definition for M$-Windows. It defines exported symbols. This is necessary because the M$VC linker does not know how to export assembler symbols into a DLL. 2001-11-04 Stefan Jahn <stefan@lkcc.org> * srfi-13.h, srfi-14.h, srfi-4.h: Follow-up patch. Renamed __FOO__ macros into FOO. 2001-11-04 Stefan Jahn <stefan@lkcc.org> * tests/ports.test: Run (close-port) before (delete-file) if necessary/advisory.
2001-11-04 15:52:30 +00:00
2001-11-04 Stefan Jahn <stefan@lkcc.org>
* configure.in (EXTRA_DEFS): Follow-up patch. Using SCM_IMPORT
instead of __SCM_IMPORT__.
* readline.c (scm_readline_init_ports): Disable input/output
stream redirection for Win32. The readline package for Win32
does not support this. The guile-readline library works fine
for command line editing.
* readline.h (SCM_RL_API): Renamed __FOO__ macros into FOO.
2001-11-02 00:06:57 +00:00
2001-11-02 Marius Vollmer <mvo@zagadka.ping.de>
Support for native Win32. Thanks to Stefan Jahn!
2002-02-09 05:44:39 +00:00
2001-11-02 00:06:57 +00:00
* Makefile.am: Put `-export-dynamic -no-undefined' into LDFLAGS
and add the library `libguile.la' to support linkers which do not
allow unresolved symbols inside shared libraries.
* configure.in: Define AC_LIBTOOL_WIN32_DLL to build clean dlls
on Win32 platforms.
Define extra compiler flags necessary to build clean dlls.
* readline.c: Include `io.h' and exclude `sys/time.h' for MinGW.
* readline.h: Defintion of SCM_RL_API. Prefixed each exported
symbol with SCM_RL_API.
2001-08-31 14:42:31 +00:00
2001-08-31 Dirk Herrmann <D.Herrmann@tu-bs.de>
* readline.c (scm_readline, scm_add_history,
scm_filename_completion_function, completion_function): Remove
calls to SCM_STRING_COERCE_0TERMINATION_X. Since the substring
type is gone, all strings are 0-terminated anyway.
2001-08-31 Dirk Herrmann <D.Herrmann@tu-bs.de>
* readline.scm: `feature?<3F> is deprecated. Use `provided?<3F>
instead.
2001-08-26 21:54:33 +00:00
2001-08-25 Marius Vollmer <mvo@zagadka.ping.de>
* readline.scm: Use load-extension instead of explicit
dynamic-link/dynamic-call. Removed ".so" extension from library
name.
2002-02-09 05:44:39 +00:00
2001-08-02 Neil Jerram <neil@ossau.uklinux.net>
* readline.scm (call-with-readline-completion-function): New.
2001-07-18 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
* Makefile.am, readline.scm: Updated copyright notice.
2001-07-09 07:43:48 +00:00
2001-07-09 Thien-Thi Nguyen <ttn@revel.glug.org>
* readline.c: Remove "face-lift" comment.
2001-06-30 19:28:26 +00:00
2001-06-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
* readline.c (completion_function): Use scm_list_n instead of
SCM_LISTn.
2001-06-14 19:52:35 +00:00
2001-06-14 Marius Vollmer <mvo@zagadka.ping.de>
* readline.c, readline.h: Replace "scm_*_t" with "scm_t_*".
2001-06-14 17:43:39 +00:00
2001-06-14 Marius Vollmer <mvo@zagadka.ping.de>
Thanks to Matthias K<>ppe!
* configure.in: Check for rl_filename_completion_function.
* readline.c (s_scm_filename_completion_function): Use
rl_filename_completion_function instead of
filename_completion_function, if we have it.
(scm_init_readline): Use rl_compentry_func_t instead if Function
when _RL_FUNCTION_TYPEDEF is defined.
* readline.h (scm_clear_history): New prototype.
2001-07-09 07:43:48 +00:00
2001-06-07 Dirk Herrmann <D.Herrmann@tu-bs.de>
* readline.c (current_input_getc): Mark unused parameters with
SCM_UNUSED.
2001-06-03 01:07:06 +00:00
2001-06-03 Marius Vollmer <mvo@zagadka.ping.de>
* configure.in: Added AC_PREREQ(2.50) and minimally changed for
autoconf 2.50. This is mostly so that the `transparent autoconf
wrapper' on Debian picks the right version of autoconf.
2001-05-31 Michael Livshin <mlivshin@bigfoot.com>
* Makefile.am (libguilereadline_la_SOURCES): removed readline.x
from here (not needed).
(CLEANFILES): added *.x (and removed from DISTCLEANFILES).
(MKDEP): copied from libguile/Makefile.am. not that it matters
now, but it will if we stop using BUILT_SOURCES for some reason.
2001-05-24 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
Make it compile with --disable-deprecated.
* readline.h: scm_option->scm_option_t.
* readline.c (stream_from_fport): scm_fport->scm_fport_t;
scm_option->scm_option_t.
* validate.h (SCM_NUM2{SIZE,PTRDIFF,SHORT,USHORT,BITS,UBITS,INT,UINT}[_DEF]): new macros. * unif.h: type renaming: scm_array -> scm_array_t scm_array_dim -> scm_array_dim_t the old names are deprecated, all in-Guile uses changed. * tags.h (scm_ubits_t): new typedef, representing unsigned scm_bits_t. * stacks.h: type renaming: scm_info_frame -> scm_info_frame_t scm_stack -> scm_stack_t the old names are deprecated, all in-Guile uses changed. * srcprop.h: type renaming: scm_srcprops -> scm_srcprops_t scm_srcprops_chunk -> scm_srcprops_chunk_t the old names are deprecated, all in-Guile uses changed. * gsubr.c, procs.c, print.c, ports.c, read.c, rdelim.c, ramap.c, rw.c, smob.c, sort.c, srcprop.c, stacks.c, strings.c, strop.c, strorder.c, strports.c, struct.c, symbols.c, unif.c, values.c, vectors.c, vports.c, weaks.c: various int/size_t -> size_t/scm_bits_t changes. * random.h: type renaming: scm_rstate -> scm_rstate_t scm_rng -> scm_rng_t scm_i_rstate -> scm_i_rstate_t the old names are deprecated, all in-Guile uses changed. * procs.h: type renaming: scm_subr_entry -> scm_subr_entry_t the old name is deprecated, all in-Guile uses changed. * options.h (scm_option_t.val): unsigned long -> scm_bits_t. type renaming: scm_option -> scm_option_t the old name is deprecated, all in-Guile uses changed. * objects.c: various long -> scm_bits_t changes. (scm_i_make_class_object): flags: unsigned long -> scm_ubits_t * numbers.h (SCM_FIXNUM_BIT): deprecated, renamed to SCM_I_FIXNUM_BIT. * num2integral.i.c: new file, multiply included by numbers.c, used to "templatize" the various integral <-> num conversion routines. * numbers.c (scm_mkbig, scm_big2num, scm_adjbig, scm_normbig, scm_copybig, scm_2ulong2big, scm_dbl2big, scm_big2dbl): deprecated. (scm_i_mkbig, scm_i_big2inum, scm_i_adjbig, scm_i_normbig, scm_i_copybig, scm_i_short2big, scm_i_ushort2big, scm_i_int2big, scm_i_uint2big, scm_i_long2big, scm_i_ulong2big, scm_i_bits2big, scm_i_ubits2big, scm_i_size2big, scm_i_ptrdiff2big, scm_i_long_long2big, scm_i_ulong_long2big, scm_i_dbl2big, scm_i_big2dbl, scm_short2num, scm_ushort2num, scm_int2num, scm_uint2num, scm_bits2num, scm_ubits2num, scm_size2num, scm_ptrdiff2num, scm_num2short, scm_num2ushort, scm_num2int, scm_num2uint, scm_num2bits, scm_num2ubits, scm_num2ptrdiff, scm_num2size): new functions. * modules.c (scm_module_reverse_lookup): i, n: int -> scm_bits_t.x * load.c: change int -> size_t in various places (where the variable is used to store a string length). (search-path): call scm_done_free, not scm_done_malloc. * list.c (scm_ilength): return a scm_bits_t, not long. some other {int,long} -> scm_bits_t changes. * hashtab.c: various [u]int -> scm_bits_t changes. scm_ihashx_closure -> scm_ihashx_closure_t (and made a typedef). (scm_ihashx): n: uint -> scm_bits_t use scm_bits2num instead of scm_ulong2num. * gsubr.c: various int -> scm_bits_t changes. * gh_data.c (gh_scm2double): no loss of precision any more. * gh.h (gh_str2scm): len: int -> size_t (gh_{get,set}_substr): start: int -> scm_bits_t, len: int -> size_t (gh_<num>2scm): n: int -> scm_bits_t (gh_*vector_length): return scm_[u]size_t, not unsigned long. (gh_length): return scm_bits_t, not unsigned long. * fports.h: type renaming: scm_fport -> scm_fport_t the old name is deprecated, all in-Guile uses changed. * fports.c (fport_fill_input): count: int -> scm_bits_t (fport_flush): init_size, remaining, count: int -> scm_bits_t * debug.h (scm_lookup_cstr, scm_lookup_soft, scm_evstr): removed those prototypes, as the functions they prototype don't exist. * fports.c (default_buffer_size): int -> size_t (scm_fport_buffer_add): read_size, write_size: int -> scm_bits_t default_size: int -> size_t (scm_setvbuf): csize: int -> scm_bits_t * fluids.c (n_fluids): int -> scm_bits_t (grow_fluids): old_length, i: int -> scm_bits_t (next_fluid_num, scm_fluid_ref, scm_fluid_set_x): n: int -> scm_bits_t (scm_c_with_fluids): flen, vlen: int -> scm_bits_t * filesys.c (s_scm_open_fdes): changed calls to SCM_NUM2LONG to the new and shiny SCM_NUM2INT. * extensions.c: extension -> extension_t (and made a typedef). * eval.h (SCM_IFRAME): cast to scm_bits_t, not int. just so there are no nasty surprises if/when the various deeply magic tag bits move somewhere else. * eval.c: changed the locals used to store results of SCM_IFRAME, scm_ilength and such to be of type scm_bits_t (and not int/long). (iqq): depth, edepth: int -> scm_bits_t (scm_eval_stack): int -> scm_bits_t (SCM_CEVAL): various vars are not scm_bits_t instead of int. (check_map_args, scm_map, scm_for_each): len: long -> scm_bits_t i: int -> scm_bits_t * environments.c: changed the many calls to scm_ulong2num to scm_ubits2num. (import_environment_fold): proc_as_ul: ulong -> scm_ubits_t * dynwind.c (scm_dowinds): delta: long -> scm_bits_t * debug.h: type renaming: scm_debug_info -> scm_debug_info_t scm_debug_frame -> scm_debug_frame_t the old names are deprecated, all in-Guile uses changed. (scm_debug_eframe_size): int -> scm_bits_t * debug.c (scm_init_debug): use scm_c_define instead of the deprecated scm_define. * continuations.h: type renaming: scm_contregs -> scm_contregs_t the old name is deprecated, all in-Guile uses changed. (scm_contregs_t.num_stack_items): size_t -> scm_bits_t (scm_contregs_t.num_stack_items): ulong -> scm_ubits_t * continuations.c (scm_make_continuation): change the type of stack_size form long to scm_bits_t. * ports.h: type renaming: scm_port_rw_active -> scm_port_rw_active_t (and made a typedef) scm_port -> scm_port_t scm_ptob_descriptor -> scm_ptob_descriptor_t the old names are deprecated, all in-Guile uses changed. (scm_port_t.entry): int -> scm_bits_t. (scm_port_t.line_number): int -> long. (scm_port_t.putback_buf_size): int -> size_t. * __scm.h (long_long, ulong_long): deprecated (they pollute the global namespace and have little value besides that). (SCM_BITS_LENGTH): new, is the bit size of scm_bits_t (i.e. of an SCM handle). (ifdef spaghetti): include sys/types.h and sys/stdtypes.h, if they exist (for size_t & ptrdiff_t) (scm_sizet): deprecated. * Makefile.am (noinst_HEADERS): add num2integral.i.c
2001-05-24 00:50:51 +00:00
2001-05-23 Michael Livshin <mlivshin@bigfoot.com>
* readline.c (strdup): make `len' a size_t.
2001-05-15 15:00:31 +00:00
2001-05-10 Marius Vollmer <mvo@zagadka.ping.de>
* readline.c (completion_function): Use SCM_VARIABLE_REF to access
scm_readline_completion_function_var.
(scm_init_readline): Use scm_c_define instead of scm_sysintern to
create scm_readline_completion_function_var.
2001-04-10 23:51:13 +00:00
2001-04-09 Marius Vollmer <mvo@zagadka.ping.de>
* readline.c (scm_clear_history): New function.
* readline.scm (readline-port): Call clear-history on exit.
Thanks to Utz-Uwe Haus.
2001-03-09 23:31:55 +00:00
2001-03-09 Keisuke Nishida <kxn30@po.cwru.edu>
* readline.c: Add #include <stdio.h>
2001-03-05 Neil Jerram <neil@ossau.uklinux.net>
* readline.scm (make-readline-port): Rewrite using
make-line-buffered-input-port.
(activate-readline): Call set-buffered-input-continuation?!.
2001-01-28 17:56:46 +00:00
2001-01-28 Marius Vollmer <mvo@zagadka.ping.de>
* readline.scm (make-readline-port): PROMPT becomes PROMPT2 as
soon as GET-CHARACTER returns any character at all that was
previously read. This makes the continuation prompt appear
properly for partial expressions. Thanks to Neil Jerram!
2001-01-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
This patch fixes a problem reported by Martin Grabmueller about
the impossibility to access readline's run-time options.
* readline.scm: Added a comment about guile's behaviour if one of
the ports used by readline are closed.
(readline-options readline-enable readline-disable,
readline-set!): These are now defined here instead of in
boot-9.scm.
2001-01-25 Dirk Herrmann <D.Herrmann@tu-bs.de>
* readline.scm (set-readline-input-port!,
set-readline-output-port!): Make sure that only valid port
parameters are passed. Thanks to Martin Grabmueller for sending
a patch that formed the basis for this change.
2001-01-19 09:00:05 +00:00
2001-01-18 Neil Jerram <neil@ossau.uklinux.net>
* readline.scm (make-readline-port): Make readline port
input-only.
2000-12-12 Dirk Herrmann <D.Herrmann@tu-bs.de>
* readline.scm (activate-readline): Lookup 'use-emacs-interface
in the-root-module.
2000-11-24 Dirk Herrmann <D.Herrmann@tu-bs.de>
* readline.c (current_input_getc): Use more explicit predicate
than SCM_NIMP.
(scm_readline, scm_readline_init_ports, completion_function):
Remove redundant SCM_N?IMP tests.
(scm_readline): Fixed default input/output port parameter
handling.
2000-11-24 Dirk Herrmann <D.Herrmann@tu-bs.de>
* readline.c (scm_readline, scm_add_history, completion_function,
scm_filename_completion_function): Replace calls to
SCM_COERCE_SUBSTR with SCM_STRING_COERCE_0TERMINATION_X.
(internal_readline, scm_add_history, scm_read_history,
scm_write_history, scm_filename_completion_function,
completion_function): Replace SCM_CHARS with SCM_STRING_CHARS.
2000-11-19 Gary Houston <ghouston@arglist.com>
* configure.in: test $ac_cv_lib_readline_readline instead of
$ac_cv_lib_readline_main. Thanks to Lars J. Aas.
2000-09-17 21:22:31 +00:00
2000-09-17 Marius Vollmer <mvo@zagadka.ping.de>
* configure.in: Check for curses, terminfo and termlib libraries
in addition to ncurses and termcap.
Check for `readline' in libreadline, not for `main'.
Thanks to Albert Chin!
2001-07-09 07:43:48 +00:00
2000-07-19 18:10:46 +00:00
2000-07-17 Marius Vollmer <mvo@zagadka.ping.de>
* configure.in (rl_pre_input_hook): Don't check for this with
AC_CHECK_FUNCS, it doesn't work on HP/UX. Test for it with
AC_TRY_LINK.
2000-06-19 00:42:48 +00:00
2000-06-19 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
* readline.c (sigwinch_enable_restart, scm_init_readline):
Re-enable restart for SIGWINCH signal.
* configure.in: Added test if readline clears SA_RESTART flag for
SIGWINCH. (Thanks to Dale P. Smith.)
2000-06-19 01:11:38 +00:00
Check for siginterrupt and rl_pre_input_hook.
2000-06-19 00:42:48 +00:00
2000-06-14 15:03:09 +00:00
2000-06-14 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
* readline.c (scm_readline): Added parenthesis around && within
||.
Fixed up prototype for `reentry_barrier'.
Conditionally #include <unistd.h>. (Needed for `dup'.)
2000-06-12 23:35:22 +00:00
2000-06-13 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
* Makefile.am (dist-hook): Added kludge to fix automake generated
dependencies in the distribution archive Makefile.
2000-06-12 14:54:50 +00:00
2000-06-12 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
* readline.scm (apropos-completion-function): Don't define and
install if the 'regex feature is missing.
2000-06-06 12:44:46 +00:00
2000-06-06 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
* readline.c: Always provide scm_init_readline, also if readline
support is not included. Otherwise, a strange dynamic loading
error will occur. (It would be better not to install
libguilereadline at all.)
* readline-activator.scm (activate-readline): Report an error if
readline isn't provided by Guile.
* readline.scm: Report an error if readline isn't provided by
Guile; Added :no-backtrace to module header.
* configure.in: Put more ink before readline version warning.
(Thanks to Ian Grant.)
2000-06-01 Michael Livshin <mlivshin@bigfoot.com>
* autogen.sh: call ../guile-aclocal.sh instead of aclocal
2001-07-09 07:43:48 +00:00
2000-05-01 22:13:26 +00:00
2000-05-01 Gary Houston <ghouston@arglist.com>
* readline.c: include libguile.h, not libguile/libguile.h.
2000-04-21 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
* *.*: Change includes so that they always use the "prefixes"
libguile/, qt/, guile-readline/, or libltdl/.
* Makefile.am (DEFS): Added. automake adds -I options to DEFS,
and we don't want that.
(INCLUDES): Removed all -I options except for the root source
directory and the root build directory.
2001-07-09 07:43:48 +00:00
2000-04-04 Dirk Herrmann <D.Herrmann@tu-bs.de>
* readline.c (scm_readline): Must unpack SCM values to access
their raw contents.
2000-03-19 Michael Livshin <mlivshin@bigfoot.com>
* *.[hc]: add Emacs magic at the end of file, to ensure GNU
indentation style.
2000-03-12 16:03:00 +00:00
2000-03-12 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
* readline.c (current_input_getc): Don't pass int values through
SCM variables.
2000-03-14 17:19:45 +00:00
(match_paren): Bugfix: First arg to select is not number of
descriptors but the number of the highest descriptor + 1.
2000-03-12 16:03:00 +00:00
2000-03-09 16:01:27 +00:00
Thu Mar 9 08:00:26 2000 Greg J. Badros <gjb@cs.washington.edu>
* readline.c: scm_validate.h renamed to validate.h.
2000-03-08 18:49:10 +00:00
Wed Mar 8 10:43:10 2000 Greg J. Badros <gjb@cs.washington.edu>
* readline.c (match_paren): Use SELECT_TYPE, not fd_set, for type
of readset.
2000-01-25 20:37:42 +00:00
2000-01-25 Marius Vollmer <mvo@zagadka.ping.de>
* autogen.sh: Call libtoolize. Pass --add-missing option to
automake.
* readline.scm: Only link glue code when the 'readline feature is
not already present. Thanks to Clark McGrew.
2000-01-12 01:53:08 +00:00
Tue Jan 11 17:51:40 2000 Greg J. Badros <gjb@cs.washington.edu>
* readline.c (scm_init_readline): Drop extra argument to
scm_mutex_init as that argument should not exist. I do not know
how this escaped detection for so long.
2001-07-09 07:43:48 +00:00
2000-01-09 17:08:25 +00:00
2000-01-09 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
* readline.c (match_paren): Changed return type to int (this is
the definition in readline 4) and modified code layout according
to GNU coding standards.
2000-01-06 19:23:55 +00:00
Wed Jan 5 11:18:01 2000 Greg J. Badros <gjb@cs.washington.edu>
* readline.c: Whitespace changes -- added space after
SCM_VALIDATE_* macros to match GNU coding standards.
2000-01-05 19:12:12 +00:00
Wed Jan 5 11:02:40 2000 Greg J. Badros <gjb@cs.washington.edu>
* readline.c: Rename GUILE_PROC to SCM_DEFINE.
1999-12-14 17:42:51 +00:00
Mon Dec 13 13:57:57 1999 Greg J. Badros <gjb@cs.washington.edu>
* readline.c: Include libguile/scm_validate.h
1999-12-13 03:57:55 +00:00
Sun Dec 12 19:56:52 1999 Greg J. Badros <gjb@cs.washington.edu>
* readline.c: Updated to use GUILE_PROC, SCM_VALIDATE, and have
(now empty) docstrings.
* 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
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 20:49:29 +00:00
1999-10-05 Jim Blandy <jimb@savonarola.red-bean.com>
1999-10-05 22:36:14 +00:00
* Makefile.in, configure, aclocal.m4: Deleted from CVS repository.
Run the autogen.sh script to create generated files like these.
1999-10-05 23:26:11 +00:00
* autogen.sh: New script, invoked by the top-level autogen.sh.
1999-10-05 20:49:29 +00:00
1999-09-22 19:59:11 +00:00
1999-09-22 Jim Blandy <jimb@savonarola.red-bean.com>
* configure.in: Call AM_PROG_CC_STDC.
* configure, aclocal.m4: Regenerated.
1999-09-16 11:51:49 +00:00
1999-09-16 Mikael Djurfeldt <mdj@mdj-pc.nada.kth.se>
* Makefile.am (.c.x): Use same rule as in libguile.
1999-09-12 11:06:47 +00:00
1999-09-12 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
1999-09-12 11:42:10 +00:00
* readline.h, readline.scm: Updated copyright notices.
1999-09-12 11:06:47 +00:00
1999-09-11 18:32:42 +00:00
1999-09-11 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
* readline.scm (activate-readline): Set (using-readline?).
1999-09-11 17:53:58 +00:00
1999-09-11 Jim Blandy <jimb@savonarola.red-bean.com>
1999-09-11 18:51:58 +00:00
* aclocal.m4: Regenerated with newer libtool macros.
1999-09-11 17:53:58 +00:00
* Makefile.am (DISTCLEANFILES): Get rid of .x files.
* Makefile.in: Regenerated.
(Thanks to Keisuke Nishida.)
1999-09-11 15:28:16 +00:00
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.
2001-07-09 07:43:48 +00:00
1999-09-11 15:28:16 +00:00
* 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 18:02:44 +00:00
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.
2001-07-09 07:43:48 +00:00
1999-08-20 02:46:04 +00:00
1999-08-20 James Blandy <jimb@mule.m17n.org>
* Makefile.in, aclocal.m4, configure: Regenerated.
1999-08-17 20:59:01 +00:00
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 20:11:42 +00:00
1999-08-04 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
* Makefile.am (INCLUDES): Added -I$(srcdir)/../libguile.
(Thanks to Greg Badros.)
1999-07-24 11:48:47 +00:00
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 21:43:58 +00:00
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.