1 2002-10-27 Marius Vollmer <mvo@zagadka.ping.de>
3 * readline.c (reentry_barrier_mutex): Reimplemented with
6 2002-10-21 Mikael Djurfeldt <mdj@linnaeus>
8 * readline.scm (activate-readline): Look for use-emacs-interface
9 option in the guile-user module instead of the-root-module.
11 2002-04-30 Marius Vollmer <marius.vollmer@uni-dortmund.de>
13 * autogen.sh: Invoke plain aclocal instead of guile-aclocal.sh.
14 We don't need the Guile m4 macros and the previous invocation of
15 guile-aclocal.sh created the aclocal.m4 file in the wrong
16 directory (see change from 2002-04-26).
18 2002-04-26 Marius Vollmer <mvo@zagadka.ping.de>
20 * autogen.sh: Change to parent dir before invoking
23 2002-04-16 Marius Vollmer <mvo@zagadka.ping.de>
25 * Makefile.am (dist-hook): Make sure $(distdir)/Makefile.in is
26 writable before modifying it.
28 2002-04-10 Rob Browning <rlb@defaultvalue.org>
30 * configure.in: add definitions to AC_DEFINE calls for new
33 * .cvsignore: add autom4te.cache and *.c.clean.c.
35 2002-03-24 Marius Vollmer <mvo@zagadka.ping.de>
37 * Makefile.am (.c.x): Pass "-o $@" to guile-snarf.
39 2002-03-13 Thien-Thi Nguyen <ttn@giblet.glug.org>
41 * Makefile.am (snarfcppopts): New var.
42 (.c.x): Use $(snarfcppopts). Rework guile-snarf usage.
44 2002-02-27 Stefan Jahn <stefan@lkcc.org>
46 * Makefile.am (EXTRA_DIST): Added the `LIBGUILEREADLINE-VERSION'
49 2002-02-25 Thien-Thi Nguyen <ttn@giblet.glug.org>
51 * configure.in (LIBGUILEREADLINE-VERSION):
52 Look for this file in $srcdir.
54 2002-02-24 Rob Browning <rlb@defaultvalue.org>
56 * configure.in: source ./LIBGUILEREADLINE-VERSION for version info
57 and then AC_SUBST the resulting variables:
58 LIBGUILEREADLINE_INTERFACE_CURRENT,
59 LIBGUILEREADLINE_INTERFACE_REVISION,
60 LIBGUILEREADLINE_INTERFACE_AGE, and
61 LIBGUILEREADLINE_INTERFACE.
63 * Makefile.am (libguilereadline_la_LDFLAGS): use
64 @LIBGUILEREADLINE_INTERFACE@ for version information.
66 * LIBGUILEREADLINE-VERSION: new file containing shared lib
67 versioning information.
69 2002-02-12 Thien-Thi Nguyen <ttn@giblet.glug.org>
71 * Makefile.am (AUTOMAKE_OPTIONS): Replace "gnu" with "foreign".
72 This undoes the 2002-02-08 change.
74 2002-02-08 Thien-Thi Nguyen <ttn@giblet.glug.org>
76 * Makefile.am (AUTOMAKE_OPTIONS): Replace "foreign" with "gnu".
78 2002-01-29 Neil Jerram <neil@ossau.uklinux.net>
80 * readline.scm (with-readline-completion-function): Renamed from
81 `call-with-readline-completion-function'.
83 2001-11-30 Neil Jerram <neil@ossau.uklinux.net>
85 * Makefile.am (EXTRA_DIST): Refer to $(ice9_DATA) rather than
86 readline.scm explicitly.
89 2001-11-04 Stefan Jahn <stefan@lkcc.org>
91 * configure.in (EXTRA_DEFS): Follow-up patch. Using SCM_IMPORT
92 instead of __SCM_IMPORT__.
94 * readline.c (scm_readline_init_ports): Disable input/output
95 stream redirection for Win32. The readline package for Win32
96 does not support this. The guile-readline library works fine
97 for command line editing.
99 * readline.h (SCM_RL_API): Renamed __FOO__ macros into FOO.
101 2001-11-02 Marius Vollmer <mvo@zagadka.ping.de>
103 Support for native Win32. Thanks to Stefan Jahn!
105 * Makefile.am: Put `-export-dynamic -no-undefined' into LDFLAGS
106 and add the library `libguile.la' to support linkers which do not
107 allow unresolved symbols inside shared libraries.
109 * configure.in: Define AC_LIBTOOL_WIN32_DLL to build clean dlls
111 Define extra compiler flags necessary to build clean dlls.
113 * readline.c: Include `io.h' and exclude `sys/time.h' for MinGW.
115 * readline.h: Defintion of SCM_RL_API. Prefixed each exported
116 symbol with SCM_RL_API.
118 2001-08-31 Dirk Herrmann <D.Herrmann@tu-bs.de>
120 * readline.c (scm_readline, scm_add_history,
121 scm_filename_completion_function, completion_function): Remove
122 calls to SCM_STRING_COERCE_0TERMINATION_X. Since the substring
123 type is gone, all strings are 0-terminated anyway.
125 2001-08-31 Dirk Herrmann <D.Herrmann@tu-bs.de>
127 * readline.scm: `feature?´ is deprecated. Use `provided?´
130 2001-08-25 Marius Vollmer <mvo@zagadka.ping.de>
132 * readline.scm: Use load-extension instead of explicit
133 dynamic-link/dynamic-call. Removed ".so" extension from library
136 2001-08-02 Neil Jerram <neil@ossau.uklinux.net>
138 * readline.scm (call-with-readline-completion-function): New.
140 2001-07-18 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
142 * Makefile.am, readline.scm: Updated copyright notice.
144 2001-07-09 Thien-Thi Nguyen <ttn@revel.glug.org>
146 * readline.c: Remove "face-lift" comment.
148 2001-06-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
150 * readline.c (completion_function): Use scm_list_n instead of
153 2001-06-14 Marius Vollmer <mvo@zagadka.ping.de>
155 * readline.c, readline.h: Replace "scm_*_t" with "scm_t_*".
157 2001-06-14 Marius Vollmer <mvo@zagadka.ping.de>
159 Thanks to Matthias Köppe!
161 * configure.in: Check for rl_filename_completion_function.
162 * readline.c (s_scm_filename_completion_function): Use
163 rl_filename_completion_function instead of
164 filename_completion_function, if we have it.
165 (scm_init_readline): Use rl_compentry_func_t instead if Function
166 when _RL_FUNCTION_TYPEDEF is defined.
168 * readline.h (scm_clear_history): New prototype.
170 2001-06-07 Dirk Herrmann <D.Herrmann@tu-bs.de>
172 * readline.c (current_input_getc): Mark unused parameters with
175 2001-06-03 Marius Vollmer <mvo@zagadka.ping.de>
177 * configure.in: Added AC_PREREQ(2.50) and minimally changed for
178 autoconf 2.50. This is mostly so that the `transparent autoconf
179 wrapper' on Debian picks the right version of autoconf.
181 2001-05-31 Michael Livshin <mlivshin@bigfoot.com>
183 * Makefile.am (libguilereadline_la_SOURCES): removed readline.x
184 from here (not needed).
185 (CLEANFILES): added *.x (and removed from DISTCLEANFILES).
186 (MKDEP): copied from libguile/Makefile.am. not that it matters
187 now, but it will if we stop using BUILT_SOURCES for some reason.
189 2001-05-24 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
191 Make it compile with --disable-deprecated.
193 * readline.h: scm_option->scm_option_t.
195 * readline.c (stream_from_fport): scm_fport->scm_fport_t;
196 scm_option->scm_option_t.
198 2001-05-23 Michael Livshin <mlivshin@bigfoot.com>
200 * readline.c (strdup): make `len' a size_t.
202 2001-05-10 Marius Vollmer <mvo@zagadka.ping.de>
204 * readline.c (completion_function): Use SCM_VARIABLE_REF to access
205 scm_readline_completion_function_var.
206 (scm_init_readline): Use scm_c_define instead of scm_sysintern to
207 create scm_readline_completion_function_var.
209 2001-04-09 Marius Vollmer <mvo@zagadka.ping.de>
211 * readline.c (scm_clear_history): New function.
212 * readline.scm (readline-port): Call clear-history on exit.
213 Thanks to Utz-Uwe Haus.
215 2001-03-09 Keisuke Nishida <kxn30@po.cwru.edu>
217 * readline.c: Add #include <stdio.h>
219 2001-03-05 Neil Jerram <neil@ossau.uklinux.net>
221 * readline.scm (make-readline-port): Rewrite using
222 make-line-buffered-input-port.
223 (activate-readline): Call set-buffered-input-continuation?!.
225 2001-01-28 Marius Vollmer <mvo@zagadka.ping.de>
227 * readline.scm (make-readline-port): PROMPT becomes PROMPT2 as
228 soon as GET-CHARACTER returns any character at all that was
229 previously read. This makes the continuation prompt appear
230 properly for partial expressions. Thanks to Neil Jerram!
232 2001-01-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
234 This patch fixes a problem reported by Martin Grabmueller about
235 the impossibility to access readline's run-time options.
237 * readline.scm: Added a comment about guile's behaviour if one of
238 the ports used by readline are closed.
240 (readline-options readline-enable readline-disable,
241 readline-set!): These are now defined here instead of in
244 2001-01-25 Dirk Herrmann <D.Herrmann@tu-bs.de>
246 * readline.scm (set-readline-input-port!,
247 set-readline-output-port!): Make sure that only valid port
248 parameters are passed. Thanks to Martin Grabmueller for sending
249 a patch that formed the basis for this change.
251 2001-01-18 Neil Jerram <neil@ossau.uklinux.net>
253 * readline.scm (make-readline-port): Make readline port
256 2000-12-12 Dirk Herrmann <D.Herrmann@tu-bs.de>
258 * readline.scm (activate-readline): Lookup 'use-emacs-interface
261 2000-11-24 Dirk Herrmann <D.Herrmann@tu-bs.de>
263 * readline.c (current_input_getc): Use more explicit predicate
266 (scm_readline, scm_readline_init_ports, completion_function):
267 Remove redundant SCM_N?IMP tests.
269 (scm_readline): Fixed default input/output port parameter
272 2000-11-24 Dirk Herrmann <D.Herrmann@tu-bs.de>
274 * readline.c (scm_readline, scm_add_history, completion_function,
275 scm_filename_completion_function): Replace calls to
276 SCM_COERCE_SUBSTR with SCM_STRING_COERCE_0TERMINATION_X.
278 (internal_readline, scm_add_history, scm_read_history,
279 scm_write_history, scm_filename_completion_function,
280 completion_function): Replace SCM_CHARS with SCM_STRING_CHARS.
282 2000-11-19 Gary Houston <ghouston@arglist.com>
284 * configure.in: test $ac_cv_lib_readline_readline instead of
285 $ac_cv_lib_readline_main. Thanks to Lars J. Aas.
287 2000-09-17 Marius Vollmer <mvo@zagadka.ping.de>
289 * configure.in: Check for curses, terminfo and termlib libraries
290 in addition to ncurses and termcap.
291 Check for `readline' in libreadline, not for `main'.
292 Thanks to Albert Chin!
294 2000-07-17 Marius Vollmer <mvo@zagadka.ping.de>
296 * configure.in (rl_pre_input_hook): Don't check for this with
297 AC_CHECK_FUNCS, it doesn't work on HP/UX. Test for it with
300 2000-06-19 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
302 * readline.c (sigwinch_enable_restart, scm_init_readline):
303 Re-enable restart for SIGWINCH signal.
305 * configure.in: Added test if readline clears SA_RESTART flag for
306 SIGWINCH. (Thanks to Dale P. Smith.)
307 Check for siginterrupt and rl_pre_input_hook.
309 2000-06-14 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
311 * readline.c (scm_readline): Added parenthesis around && within
313 Fixed up prototype for `reentry_barrier'.
314 Conditionally #include <unistd.h>. (Needed for `dup'.)
316 2000-06-13 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
318 * Makefile.am (dist-hook): Added kludge to fix automake generated
319 dependencies in the distribution archive Makefile.
321 2000-06-12 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
323 * readline.scm (apropos-completion-function): Don't define and
324 install if the 'regex feature is missing.
326 2000-06-06 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
328 * readline.c: Always provide scm_init_readline, also if readline
329 support is not included. Otherwise, a strange dynamic loading
330 error will occur. (It would be better not to install
331 libguilereadline at all.)
333 * readline-activator.scm (activate-readline): Report an error if
334 readline isn't provided by Guile.
336 * readline.scm: Report an error if readline isn't provided by
337 Guile; Added :no-backtrace to module header.
339 * configure.in: Put more ink before readline version warning.
340 (Thanks to Ian Grant.)
342 2000-06-01 Michael Livshin <mlivshin@bigfoot.com>
344 * autogen.sh: call ../guile-aclocal.sh instead of aclocal
346 2000-05-01 Gary Houston <ghouston@arglist.com>
348 * readline.c: include libguile.h, not libguile/libguile.h.
350 2000-04-21 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
352 * *.*: Change includes so that they always use the "prefixes"
353 libguile/, qt/, guile-readline/, or libltdl/.
355 * Makefile.am (DEFS): Added. automake adds -I options to DEFS,
356 and we don't want that.
357 (INCLUDES): Removed all -I options except for the root source
358 directory and the root build directory.
360 2000-04-04 Dirk Herrmann <D.Herrmann@tu-bs.de>
362 * readline.c (scm_readline): Must unpack SCM values to access
365 2000-03-19 Michael Livshin <mlivshin@bigfoot.com>
367 * *.[hc]: add Emacs magic at the end of file, to ensure GNU
370 2000-03-12 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
372 * readline.c (current_input_getc): Don't pass int values through
374 (match_paren): Bugfix: First arg to select is not number of
375 descriptors but the number of the highest descriptor + 1.
377 Thu Mar 9 08:00:26 2000 Greg J. Badros <gjb@cs.washington.edu>
379 * readline.c: scm_validate.h renamed to validate.h.
381 Wed Mar 8 10:43:10 2000 Greg J. Badros <gjb@cs.washington.edu>
383 * readline.c (match_paren): Use SELECT_TYPE, not fd_set, for type
386 2000-01-25 Marius Vollmer <mvo@zagadka.ping.de>
388 * autogen.sh: Call libtoolize. Pass --add-missing option to
391 * readline.scm: Only link glue code when the 'readline feature is
392 not already present. Thanks to Clark McGrew.
394 Tue Jan 11 17:51:40 2000 Greg J. Badros <gjb@cs.washington.edu>
396 * readline.c (scm_init_readline): Drop extra argument to
397 scm_mutex_init as that argument should not exist. I do not know
398 how this escaped detection for so long.
400 2000-01-09 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
402 * readline.c (match_paren): Changed return type to int (this is
403 the definition in readline 4) and modified code layout according
404 to GNU coding standards.
406 Wed Jan 5 11:18:01 2000 Greg J. Badros <gjb@cs.washington.edu>
408 * readline.c: Whitespace changes -- added space after
409 SCM_VALIDATE_* macros to match GNU coding standards.
411 Wed Jan 5 11:02:40 2000 Greg J. Badros <gjb@cs.washington.edu>
413 * readline.c: Rename GUILE_PROC to SCM_DEFINE.
415 Mon Dec 13 13:57:57 1999 Greg J. Badros <gjb@cs.washington.edu>
417 * readline.c: Include libguile/scm_validate.h
419 Sun Dec 12 19:56:52 1999 Greg J. Badros <gjb@cs.washington.edu>
421 * readline.c: Updated to use GUILE_PROC, SCM_VALIDATE, and have
422 (now empty) docstrings.
424 1999-11-18 Gary Houston <ghouston@freewire.co.uk>
426 * readline.c (scm_init_readline): set rl_readline_name to Guile,
427 to allow conditionals in .inputrc.
429 1999-10-05 Jim Blandy <jimb@savonarola.red-bean.com>
431 * Makefile.in, configure, aclocal.m4: Deleted from CVS repository.
432 Run the autogen.sh script to create generated files like these.
433 * autogen.sh: New script, invoked by the top-level autogen.sh.
435 1999-09-22 Jim Blandy <jimb@savonarola.red-bean.com>
437 * configure.in: Call AM_PROG_CC_STDC.
438 * configure, aclocal.m4: Regenerated.
440 1999-09-16 Mikael Djurfeldt <mdj@mdj-pc.nada.kth.se>
442 * Makefile.am (.c.x): Use same rule as in libguile.
444 1999-09-12 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
446 * readline.h, readline.scm: Updated copyright notices.
448 1999-09-11 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
450 * readline.scm (activate-readline): Set (using-readline?).
452 1999-09-11 Jim Blandy <jimb@savonarola.red-bean.com>
454 * aclocal.m4: Regenerated with newer libtool macros.
456 * Makefile.am (DISTCLEANFILES): Get rid of .x files.
457 * Makefile.in: Regenerated.
458 (Thanks to Keisuke Nishida.)
460 1999-09-11 Marius Vollmer <mvo@zagadka.ping.de>
462 * readline.scm: Moved from ../ice-9.
463 Dynamically link libguilereadline.so.
464 (readline): Just define in this module, do not overwrite builtin
465 variable. The builtin readline function is now named "%readline",
466 so this works. See below.
467 (activate-readline): New function which contains the readline
468 activation code formerly found in top-repl.
470 * readline.c (scm_readline): Export it to Scheme as "%readline".
472 * configure.in: Get version from ../GUILE-VERSION and use it for
475 * Makefile.am: Do not install and distribute
476 readline-activator.scm. Install and distribute readline.scm
479 * aclocal.m4, Makefile.in, configure, libtool: Regenerated, but
480 probably with the wrong version of the tools.
482 1999-08-29 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
484 The following change makes it possible for applications to have
485 their own version of scm_readline.
486 * readline.c, readline.h (rl_cleanup_after_signal,
487 rl_free_line_state): Made global.
488 (scm_readline_init_ports): New function.
489 (scm_readline): Use scm_readline_init_ports.
490 (Thanks to Anders Holst.)
492 * Makefile.am: Install guile-readline/readline.h.
494 1999-08-20 James Blandy <jimb@mule.m17n.org>
496 * Makefile.in, aclocal.m4, configure: Regenerated.
498 1999-08-17 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
500 * configure.in (HAVE_RL_GETC_FUNCTION): Modified test to actually
501 use rl_getc_function. Otherwise smart compilers, like gcc,
502 optimize away the reference so that no error occurs in the link
505 1999-08-04 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
507 * Makefile.am (INCLUDES): Added -I$(srcdir)/../libguile.
508 (Thanks to Greg Badros.)
510 1999-07-24 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
512 * readline.c (handle_error): Put a cosmetic newline on
513 rl_outstream on error before closing it.
515 * configure.in: Changed AC_MSG_ERROR into AC_MSG_WARN in case
516 readline doesn't exist on the system, so that configuration can
517 proceed normally without readline.
519 * readline.c: #include "libguile/_scm.h" (so that we get the
520 configuration information) and fix other includes so that they'll
521 work on a system where guile is not yet installed.
523 * Makefile.am (BUILT_SOURCES): Added.
525 1999-07-23 Marius Vollmer <mvo@zagadka.ping.de>
527 * Checked everything into CVS.
529 1999-07-22 Marius Vollmer <mvo@zagadka.ping.de>
531 * readline.c (stream_from_fport): New function.
532 (scm_readline): Use it to for the input and output ports. Close
533 the streams after readline returns.
534 (handle_error): Close them also when an error occured.
536 1999-06-17 Marius Vollmer <mvo@zagadka.ping.de>
538 * readline.h, readline.c: Removed exception notice from copyright
541 1999-05-16 Marius Vollmer <mvo@zagadka.ping.de>
543 * Started guile-readline package. Files are copied from old
544 guile-core package and slightly modified.