1 2002-02-24 Rob Browning <rlb@defaultvalue.org>
3 * configure.in: source ./LIBGUILEREADLINE-VERSION for version info
4 and then AC_SUBST the resulting variables:
5 LIBGUILEREADLINE_INTERFACE_CURRENT,
6 LIBGUILEREADLINE_INTERFACE_REVISION,
7 LIBGUILEREADLINE_INTERFACE_AGE, and
8 LIBGUILEREADLINE_INTERFACE.
10 * Makefile.am (libguilereadline_la_LDFLAGS): use
11 @LIBGUILEREADLINE_INTERFACE@ for version information.
13 * LIBGUILEREADLINE-VERSION: new file containing shared lib
14 versioning information.
16 2002-02-12 Thien-Thi Nguyen <ttn@giblet.glug.org>
18 * Makefile.am (AUTOMAKE_OPTIONS): Replace "gnu" with "foreign".
19 This undoes the 2002-02-08 change.
21 2002-02-08 Thien-Thi Nguyen <ttn@giblet.glug.org>
23 * Makefile.am (AUTOMAKE_OPTIONS): Replace "foreign" with "gnu".
25 2002-01-29 Neil Jerram <neil@ossau.uklinux.net>
27 * readline.scm (with-readline-completion-function): Renamed from
28 `call-with-readline-completion-function'.
30 2001-11-30 Neil Jerram <neil@ossau.uklinux.net>
32 * Makefile.am (EXTRA_DIST): Refer to $(ice9_DATA) rather than
33 readline.scm explicitly.
36 2001-11-04 Stefan Jahn <stefan@lkcc.org>
38 * configure.in (EXTRA_DEFS): Follow-up patch. Using SCM_IMPORT
39 instead of __SCM_IMPORT__.
41 * readline.c (scm_readline_init_ports): Disable input/output
42 stream redirection for Win32. The readline package for Win32
43 does not support this. The guile-readline library works fine
44 for command line editing.
46 * readline.h (SCM_RL_API): Renamed __FOO__ macros into FOO.
48 2001-11-02 Marius Vollmer <mvo@zagadka.ping.de>
50 Support for native Win32. Thanks to Stefan Jahn!
52 * Makefile.am: Put `-export-dynamic -no-undefined' into LDFLAGS
53 and add the library `libguile.la' to support linkers which do not
54 allow unresolved symbols inside shared libraries.
56 * configure.in: Define AC_LIBTOOL_WIN32_DLL to build clean dlls
58 Define extra compiler flags necessary to build clean dlls.
60 * readline.c: Include `io.h' and exclude `sys/time.h' for MinGW.
62 * readline.h: Defintion of SCM_RL_API. Prefixed each exported
63 symbol with SCM_RL_API.
65 2001-08-31 Dirk Herrmann <D.Herrmann@tu-bs.de>
67 * readline.c (scm_readline, scm_add_history,
68 scm_filename_completion_function, completion_function): Remove
69 calls to SCM_STRING_COERCE_0TERMINATION_X. Since the substring
70 type is gone, all strings are 0-terminated anyway.
72 2001-08-31 Dirk Herrmann <D.Herrmann@tu-bs.de>
74 * readline.scm: `feature?´ is deprecated. Use `provided?´
77 2001-08-25 Marius Vollmer <mvo@zagadka.ping.de>
79 * readline.scm: Use load-extension instead of explicit
80 dynamic-link/dynamic-call. Removed ".so" extension from library
83 2001-08-02 Neil Jerram <neil@ossau.uklinux.net>
85 * readline.scm (call-with-readline-completion-function): New.
87 2001-07-18 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
89 * Makefile.am, readline.scm: Updated copyright notice.
91 2001-07-09 Thien-Thi Nguyen <ttn@revel.glug.org>
93 * readline.c: Remove "face-lift" comment.
95 2001-06-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
97 * readline.c (completion_function): Use scm_list_n instead of
100 2001-06-14 Marius Vollmer <mvo@zagadka.ping.de>
102 * readline.c, readline.h: Replace "scm_*_t" with "scm_t_*".
104 2001-06-14 Marius Vollmer <mvo@zagadka.ping.de>
106 Thanks to Matthias Köppe!
108 * configure.in: Check for rl_filename_completion_function.
109 * readline.c (s_scm_filename_completion_function): Use
110 rl_filename_completion_function instead of
111 filename_completion_function, if we have it.
112 (scm_init_readline): Use rl_compentry_func_t instead if Function
113 when _RL_FUNCTION_TYPEDEF is defined.
115 * readline.h (scm_clear_history): New prototype.
117 2001-06-07 Dirk Herrmann <D.Herrmann@tu-bs.de>
119 * readline.c (current_input_getc): Mark unused parameters with
122 2001-06-03 Marius Vollmer <mvo@zagadka.ping.de>
124 * configure.in: Added AC_PREREQ(2.50) and minimally changed for
125 autoconf 2.50. This is mostly so that the `transparent autoconf
126 wrapper' on Debian picks the right version of autoconf.
128 2001-05-31 Michael Livshin <mlivshin@bigfoot.com>
130 * Makefile.am (libguilereadline_la_SOURCES): removed readline.x
131 from here (not needed).
132 (CLEANFILES): added *.x (and removed from DISTCLEANFILES).
133 (MKDEP): copied from libguile/Makefile.am. not that it matters
134 now, but it will if we stop using BUILT_SOURCES for some reason.
136 2001-05-24 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
138 Make it compile with --disable-deprecated.
140 * readline.h: scm_option->scm_option_t.
142 * readline.c (stream_from_fport): scm_fport->scm_fport_t;
143 scm_option->scm_option_t.
145 2001-05-23 Michael Livshin <mlivshin@bigfoot.com>
147 * readline.c (strdup): make `len' a size_t.
149 2001-05-10 Marius Vollmer <mvo@zagadka.ping.de>
151 * readline.c (completion_function): Use SCM_VARIABLE_REF to access
152 scm_readline_completion_function_var.
153 (scm_init_readline): Use scm_c_define instead of scm_sysintern to
154 create scm_readline_completion_function_var.
156 2001-04-09 Marius Vollmer <mvo@zagadka.ping.de>
158 * readline.c (scm_clear_history): New function.
159 * readline.scm (readline-port): Call clear-history on exit.
160 Thanks to Utz-Uwe Haus.
162 2001-03-09 Keisuke Nishida <kxn30@po.cwru.edu>
164 * readline.c: Add #include <stdio.h>
166 2001-03-05 Neil Jerram <neil@ossau.uklinux.net>
168 * readline.scm (make-readline-port): Rewrite using
169 make-line-buffered-input-port.
170 (activate-readline): Call set-buffered-input-continuation?!.
172 2001-01-28 Marius Vollmer <mvo@zagadka.ping.de>
174 * readline.scm (make-readline-port): PROMPT becomes PROMPT2 as
175 soon as GET-CHARACTER returns any character at all that was
176 previously read. This makes the continuation prompt appear
177 properly for partial expressions. Thanks to Neil Jerram!
179 2001-01-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
181 This patch fixes a problem reported by Martin Grabmueller about
182 the impossibility to access readline's run-time options.
184 * readline.scm: Added a comment about guile's behaviour if one of
185 the ports used by readline are closed.
187 (readline-options readline-enable readline-disable,
188 readline-set!): These are now defined here instead of in
191 2001-01-25 Dirk Herrmann <D.Herrmann@tu-bs.de>
193 * readline.scm (set-readline-input-port!,
194 set-readline-output-port!): Make sure that only valid port
195 parameters are passed. Thanks to Martin Grabmueller for sending
196 a patch that formed the basis for this change.
198 2001-01-18 Neil Jerram <neil@ossau.uklinux.net>
200 * readline.scm (make-readline-port): Make readline port
203 2000-12-12 Dirk Herrmann <D.Herrmann@tu-bs.de>
205 * readline.scm (activate-readline): Lookup 'use-emacs-interface
208 2000-11-24 Dirk Herrmann <D.Herrmann@tu-bs.de>
210 * readline.c (current_input_getc): Use more explicit predicate
213 (scm_readline, scm_readline_init_ports, completion_function):
214 Remove redundant SCM_N?IMP tests.
216 (scm_readline): Fixed default input/output port parameter
219 2000-11-24 Dirk Herrmann <D.Herrmann@tu-bs.de>
221 * readline.c (scm_readline, scm_add_history, completion_function,
222 scm_filename_completion_function): Replace calls to
223 SCM_COERCE_SUBSTR with SCM_STRING_COERCE_0TERMINATION_X.
225 (internal_readline, scm_add_history, scm_read_history,
226 scm_write_history, scm_filename_completion_function,
227 completion_function): Replace SCM_CHARS with SCM_STRING_CHARS.
229 2000-11-19 Gary Houston <ghouston@arglist.com>
231 * configure.in: test $ac_cv_lib_readline_readline instead of
232 $ac_cv_lib_readline_main. Thanks to Lars J. Aas.
234 2000-09-17 Marius Vollmer <mvo@zagadka.ping.de>
236 * configure.in: Check for curses, terminfo and termlib libraries
237 in addition to ncurses and termcap.
238 Check for `readline' in libreadline, not for `main'.
239 Thanks to Albert Chin!
241 2000-07-17 Marius Vollmer <mvo@zagadka.ping.de>
243 * configure.in (rl_pre_input_hook): Don't check for this with
244 AC_CHECK_FUNCS, it doesn't work on HP/UX. Test for it with
247 2000-06-19 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
249 * readline.c (sigwinch_enable_restart, scm_init_readline):
250 Re-enable restart for SIGWINCH signal.
252 * configure.in: Added test if readline clears SA_RESTART flag for
253 SIGWINCH. (Thanks to Dale P. Smith.)
254 Check for siginterrupt and rl_pre_input_hook.
256 2000-06-14 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
258 * readline.c (scm_readline): Added parenthesis around && within
260 Fixed up prototype for `reentry_barrier'.
261 Conditionally #include <unistd.h>. (Needed for `dup'.)
263 2000-06-13 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
265 * Makefile.am (dist-hook): Added kludge to fix automake generated
266 dependencies in the distribution archive Makefile.
268 2000-06-12 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
270 * readline.scm (apropos-completion-function): Don't define and
271 install if the 'regex feature is missing.
273 2000-06-06 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
275 * readline.c: Always provide scm_init_readline, also if readline
276 support is not included. Otherwise, a strange dynamic loading
277 error will occur. (It would be better not to install
278 libguilereadline at all.)
280 * readline-activator.scm (activate-readline): Report an error if
281 readline isn't provided by Guile.
283 * readline.scm: Report an error if readline isn't provided by
284 Guile; Added :no-backtrace to module header.
286 * configure.in: Put more ink before readline version warning.
287 (Thanks to Ian Grant.)
289 2000-06-01 Michael Livshin <mlivshin@bigfoot.com>
291 * autogen.sh: call ../guile-aclocal.sh instead of aclocal
293 2000-05-01 Gary Houston <ghouston@arglist.com>
295 * readline.c: include libguile.h, not libguile/libguile.h.
297 2000-04-21 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
299 * *.*: Change includes so that they always use the "prefixes"
300 libguile/, qt/, guile-readline/, or libltdl/.
302 * Makefile.am (DEFS): Added. automake adds -I options to DEFS,
303 and we don't want that.
304 (INCLUDES): Removed all -I options except for the root source
305 directory and the root build directory.
307 2000-04-04 Dirk Herrmann <D.Herrmann@tu-bs.de>
309 * readline.c (scm_readline): Must unpack SCM values to access
312 2000-03-19 Michael Livshin <mlivshin@bigfoot.com>
314 * *.[hc]: add Emacs magic at the end of file, to ensure GNU
317 2000-03-12 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
319 * readline.c (current_input_getc): Don't pass int values through
321 (match_paren): Bugfix: First arg to select is not number of
322 descriptors but the number of the highest descriptor + 1.
324 Thu Mar 9 08:00:26 2000 Greg J. Badros <gjb@cs.washington.edu>
326 * readline.c: scm_validate.h renamed to validate.h.
328 Wed Mar 8 10:43:10 2000 Greg J. Badros <gjb@cs.washington.edu>
330 * readline.c (match_paren): Use SELECT_TYPE, not fd_set, for type
333 2000-01-25 Marius Vollmer <mvo@zagadka.ping.de>
335 * autogen.sh: Call libtoolize. Pass --add-missing option to
338 * readline.scm: Only link glue code when the 'readline feature is
339 not already present. Thanks to Clark McGrew.
341 Tue Jan 11 17:51:40 2000 Greg J. Badros <gjb@cs.washington.edu>
343 * readline.c (scm_init_readline): Drop extra argument to
344 scm_mutex_init as that argument should not exist. I do not know
345 how this escaped detection for so long.
347 2000-01-09 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
349 * readline.c (match_paren): Changed return type to int (this is
350 the definition in readline 4) and modified code layout according
351 to GNU coding standards.
353 Wed Jan 5 11:18:01 2000 Greg J. Badros <gjb@cs.washington.edu>
355 * readline.c: Whitespace changes -- added space after
356 SCM_VALIDATE_* macros to match GNU coding standards.
358 Wed Jan 5 11:02:40 2000 Greg J. Badros <gjb@cs.washington.edu>
360 * readline.c: Rename GUILE_PROC to SCM_DEFINE.
362 Mon Dec 13 13:57:57 1999 Greg J. Badros <gjb@cs.washington.edu>
364 * readline.c: Include libguile/scm_validate.h
366 Sun Dec 12 19:56:52 1999 Greg J. Badros <gjb@cs.washington.edu>
368 * readline.c: Updated to use GUILE_PROC, SCM_VALIDATE, and have
369 (now empty) docstrings.
371 1999-11-18 Gary Houston <ghouston@freewire.co.uk>
373 * readline.c (scm_init_readline): set rl_readline_name to Guile,
374 to allow conditionals in .inputrc.
376 1999-10-05 Jim Blandy <jimb@savonarola.red-bean.com>
378 * Makefile.in, configure, aclocal.m4: Deleted from CVS repository.
379 Run the autogen.sh script to create generated files like these.
380 * autogen.sh: New script, invoked by the top-level autogen.sh.
382 1999-09-22 Jim Blandy <jimb@savonarola.red-bean.com>
384 * configure.in: Call AM_PROG_CC_STDC.
385 * configure, aclocal.m4: Regenerated.
387 1999-09-16 Mikael Djurfeldt <mdj@mdj-pc.nada.kth.se>
389 * Makefile.am (.c.x): Use same rule as in libguile.
391 1999-09-12 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
393 * readline.h, readline.scm: Updated copyright notices.
395 1999-09-11 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
397 * readline.scm (activate-readline): Set (using-readline?).
399 1999-09-11 Jim Blandy <jimb@savonarola.red-bean.com>
401 * aclocal.m4: Regenerated with newer libtool macros.
403 * Makefile.am (DISTCLEANFILES): Get rid of .x files.
404 * Makefile.in: Regenerated.
405 (Thanks to Keisuke Nishida.)
407 1999-09-11 Marius Vollmer <mvo@zagadka.ping.de>
409 * readline.scm: Moved from ../ice-9.
410 Dynamically link libguilereadline.so.
411 (readline): Just define in this module, do not overwrite builtin
412 variable. The builtin readline function is now named "%readline",
413 so this works. See below.
414 (activate-readline): New function which contains the readline
415 activation code formerly found in top-repl.
417 * readline.c (scm_readline): Export it to Scheme as "%readline".
419 * configure.in: Get version from ../GUILE-VERSION and use it for
422 * Makefile.am: Do not install and distribute
423 readline-activator.scm. Install and distribute readline.scm
426 * aclocal.m4, Makefile.in, configure, libtool: Regenerated, but
427 probably with the wrong version of the tools.
429 1999-08-29 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
431 The following change makes it possible for applications to have
432 their own version of scm_readline.
433 * readline.c, readline.h (rl_cleanup_after_signal,
434 rl_free_line_state): Made global.
435 (scm_readline_init_ports): New function.
436 (scm_readline): Use scm_readline_init_ports.
437 (Thanks to Anders Holst.)
439 * Makefile.am: Install guile-readline/readline.h.
441 1999-08-20 James Blandy <jimb@mule.m17n.org>
443 * Makefile.in, aclocal.m4, configure: Regenerated.
445 1999-08-17 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
447 * configure.in (HAVE_RL_GETC_FUNCTION): Modified test to actually
448 use rl_getc_function. Otherwise smart compilers, like gcc,
449 optimize away the reference so that no error occurs in the link
452 1999-08-04 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
454 * Makefile.am (INCLUDES): Added -I$(srcdir)/../libguile.
455 (Thanks to Greg Badros.)
457 1999-07-24 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
459 * readline.c (handle_error): Put a cosmetic newline on
460 rl_outstream on error before closing it.
462 * configure.in: Changed AC_MSG_ERROR into AC_MSG_WARN in case
463 readline doesn't exist on the system, so that configuration can
464 proceed normally without readline.
466 * readline.c: #include "libguile/_scm.h" (so that we get the
467 configuration information) and fix other includes so that they'll
468 work on a system where guile is not yet installed.
470 * Makefile.am (BUILT_SOURCES): Added.
472 1999-07-23 Marius Vollmer <mvo@zagadka.ping.de>
474 * Checked everything into CVS.
476 1999-07-22 Marius Vollmer <mvo@zagadka.ping.de>
478 * readline.c (stream_from_fport): New function.
479 (scm_readline): Use it to for the input and output ports. Close
480 the streams after readline returns.
481 (handle_error): Close them also when an error occured.
483 1999-06-17 Marius Vollmer <mvo@zagadka.ping.de>
485 * readline.h, readline.c: Removed exception notice from copyright
488 1999-05-16 Marius Vollmer <mvo@zagadka.ping.de>
490 * Started guile-readline package. Files are copied from old
491 guile-core package and slightly modified.