1 2008-05-07 Ludovic Courtès <ludo@gnu.org>
3 * ice-9/Makefile.am (guile_pdd): Don't use `patsubst': it's GNU
4 Make and broke BSD Make as found on FreeBSD 6.2.
6 2008-04-16 Ludovic Courtès <ludo@gnu.org>
8 * configure.in (AC_INIT): Don't use "echo -n", which is not
9 available on MacOS X; use `patsubst' instead to remove the
10 newline. Reported by Steven Wu <wus@qwest.net>.
12 2008-02-16 Ludovic Courtès <ludo@gnu.org>
14 * LIBGUILEREADLINE-VERSION
15 (LIBGUILEREADLINE_INTERFACE_REVISION): Increment for release.
17 2008-01-29 Neil Jerram <neil@ossau.uklinux.net>
19 * readline.c (scm_init_readline): Only do init_bouncing_parens ()
20 if HAVE_RL_GET_KEYMAP.
21 (init_bouncing_parens, find_matching_paren, match_paren): Compile
22 out if ! HAVE_RL_GET_KEYMAP.
24 * configure.in: Add check for rl_get_keymap.
26 2007-07-15 Ludovic Courtès <ludo@gnu.org>
28 * LIBGUILEREADLINE-VERSION
29 (LIBGUILEREADLINE_INTERFACE_REVISION): Incremented for release.
31 2007-06-26 Ludovic Courtès <ludo@gnu.org>
33 * readline.c (scm_add_history): Free S after invocation of
36 2006-10-06 Rob Browning <rlb@defaultvalue.org>
38 * LIBGUILEREADLINE-VERSION (LIBGUILEREADLINE_INTERFACE_REVISION):
39 Increment for release.
41 2006-10-05 Kevin Ryde <user42@zip.com.au>
43 * ice-9/readline.scm (filename-completion-function): Export this.
45 2006-05-15 Kevin Ryde <user42@zip.com.au>
47 * Makefile.am (INCLUDES): Add "-I." to pick up guile-readline-config.h
50 2006-04-18 Rob Browning <rlb@defaultvalue.org>
52 * .cvsignore: Add guile-readline-config.h and
53 guile-readline-config.h.in.
55 * readline.c: Don't include Guile private header _scm.h.
56 Include new guile-readline-config.h private header.
58 * configure.in: Add AC_CONFIG_AUX_DIR([.]) as suggested in the
59 autotools documentation. Add
60 AM_CONFIG_HEADER([guile-readline-config.h]) so that guile-readline
61 will have its own configure-based config.h equivalent.
62 (HAVE_RL_PRE_INPUT_HOOK): Add documentation template.
63 (GUILE_SIGWINCH_SA_RESTART_CLEARED): Add documentation template.
65 2006-03-12 Neil Jerram <neil@ossau.uklinux.net>
67 * ice-9/readline.scm (make-completion-function): New.
69 2006-02-06 Marius Vollmer <mvo@zagadka.de>
71 * LIBGUILEREADLINE-VERSION: Bumped versions for 1.8.
73 2005-03-02 Marius Vollmer <marius.vollmer@uni-dortmund.de>
75 * readline.c: Use scm_current_input_port instead of scm_cur_inp.
76 Use scm_std_select instead of scm_internal_select.
78 2004-08-26 Marius Vollmer <marius.vollmer@uni-dortmund.de>
80 * LIBGUILEREADLINE-VERSION: Bumped versions for the 1.7.1 release.
81 Added LIBGUILEREADLINE_MAJOR variable for inclusion in the name of
83 * configure.in: AC_SUBST it.
84 * Makefile.am: Substitute it into name of library.
85 * ice-9/readline.scm: Use new name with load-extension.
87 2004-08-19 Marius Vollmer <marius.vollmer@uni-dortmund.de>
89 * readline.c: Avoid the use of discouraged or
92 2004-07-06 Marius Vollmer <marius.vollmer@uni-dortmund.de>
94 * readline.c: Replaced all uses of deprecated SCM_FALSEP,
95 SCM_NFALSEP, SCM_BOOL, SCM_NEGATE_BOOL, and SCM_BOOLP with
96 scm_is_false, scm_is_true, scm_from_bool, and scm_is_bool,
99 2004-06-16 Rob Browning <rlb@defaultvalue.org>
101 * configure.in: move package and version args to AC_INIT as is now
102 recommended. This also requires m4_esyscmd to read GUILE-VERSION
103 given the way AC_INIT handles its args. Also move "foreign"
106 * Makefile.am: move support for readline.scm to ice-9/ subdir.
108 * readline.scm: moved to ./ice-9/
110 * .cvsignore: add ice-9 dir.
112 * ice-9/Makefile.am: new file.
114 * ice-9/readline.scm: moved here from ../
116 * ice-9/.cvsignore: new file.
118 2004-02-15 Mikael Djurfeldt <mdj@chunk.mit.edu>
120 * configure.in: Use AC_PROG_LIBTOOL instead of AM_PROG_LIBTOOL.
122 2004-02-08 Mikael Djurfeldt <djurfeldt@nada.kth.se>
124 * Makefile.am (TAGS_FILES): Use this variable instead of
125 ETAGS_ARGS so that TAGS can be built using separate build
128 2003-05-04 Marius Vollmer <mvo@zagadka.de>
130 * configure.in: When checking whether readline clears SA_RESTART,
131 let readline read from "/dev/null". Otherwise, it might be
132 stopped when run in the background with job control, say.
133 Thanks to Michael Talbot-Wilson!
135 2003-04-05 Mikael Djurfeldt <djurfeldt@nada.kth.se>
137 The intended side-effect of the following change is to make the
138 prompt appear properly when debugging or running Guile in an Emacs
139 buffer. (The readline library has some prompt magic which we were
140 expected to do ourselves when we were bold enough to provide our
141 own redisplay function---but we don't need to do that.)
143 * readline.c (redisplay): Removed. (It didn't do anything other
144 than calling rl_redisplay.)
145 (scm_init_readline): Don't inititalize rl_redisplay_function.
147 2003-03-19 Rob Browning <rlb@defaultvalue.org>
149 * readline.c: add HAVE_CONFIG_H test guarding #include config.h.
151 * autogen.sh: add a --force when autoreconfing. We may need to
152 change this if it doesn't work out...
154 * Makefile.am (ice-9/readline.scm): new target -- so readline will
155 work from the source tree when guile-readline is added to
157 (all-local): add ice-9/readline.scm.
158 (clean-local): remove ice-9/readline at clean time.
160 2003-02-27 Rob Browning <rlb@defaultvalue.org>
162 * autogen.sh: use autoreconf.
164 2003-01-08 Neil Jerram <neil@ossau.uklinux.net>
166 * readline.c (scm_readline): Check that scm_cur_outp is an output
167 port, not an input one.
169 2002-12-08 Rob Browning <rlb@defaultvalue.org>
171 * configure.in (GUILE_EFFECTIVE_VERSION): AC_SUBST.
173 * Makefile.am (ice9dir): VERSION -> GUILE_EFFECTIVE_VERSION.
175 2002-10-27 Marius Vollmer <mvo@zagadka.ping.de>
177 * readline.c (reentry_barrier_mutex): Reimplemented with
180 2002-10-21 Mikael Djurfeldt <mdj@linnaeus>
182 * readline.scm (activate-readline): Look for use-emacs-interface
183 option in the guile-user module instead of the-root-module.
185 2002-04-30 Marius Vollmer <marius.vollmer@uni-dortmund.de>
187 * autogen.sh: Invoke plain aclocal instead of guile-aclocal.sh.
188 We don't need the Guile m4 macros and the previous invocation of
189 guile-aclocal.sh created the aclocal.m4 file in the wrong
190 directory (see change from 2002-04-26).
192 2002-04-26 Marius Vollmer <mvo@zagadka.ping.de>
194 * autogen.sh: Change to parent dir before invoking
197 2002-04-16 Marius Vollmer <mvo@zagadka.ping.de>
199 * Makefile.am (dist-hook): Make sure $(distdir)/Makefile.in is
200 writable before modifying it.
202 2002-04-10 Rob Browning <rlb@defaultvalue.org>
204 * configure.in: add definitions to AC_DEFINE calls for new
207 * .cvsignore: add autom4te.cache and *.c.clean.c.
209 2002-03-24 Marius Vollmer <mvo@zagadka.ping.de>
211 * Makefile.am (.c.x): Pass "-o $@" to guile-snarf.
213 2002-03-13 Thien-Thi Nguyen <ttn@giblet.glug.org>
215 * Makefile.am (snarfcppopts): New var.
216 (.c.x): Use $(snarfcppopts). Rework guile-snarf usage.
218 2002-02-27 Stefan Jahn <stefan@lkcc.org>
220 * Makefile.am (EXTRA_DIST): Added the `LIBGUILEREADLINE-VERSION'
223 2002-02-25 Thien-Thi Nguyen <ttn@giblet.glug.org>
225 * configure.in (LIBGUILEREADLINE-VERSION):
226 Look for this file in $srcdir.
228 2002-02-24 Rob Browning <rlb@defaultvalue.org>
230 * configure.in: source ./LIBGUILEREADLINE-VERSION for version info
231 and then AC_SUBST the resulting variables:
232 LIBGUILEREADLINE_INTERFACE_CURRENT,
233 LIBGUILEREADLINE_INTERFACE_REVISION,
234 LIBGUILEREADLINE_INTERFACE_AGE, and
235 LIBGUILEREADLINE_INTERFACE.
237 * Makefile.am (libguilereadline_la_LDFLAGS): use
238 @LIBGUILEREADLINE_INTERFACE@ for version information.
240 * LIBGUILEREADLINE-VERSION: new file containing shared lib
241 versioning information.
243 2002-02-12 Thien-Thi Nguyen <ttn@giblet.glug.org>
245 * Makefile.am (AUTOMAKE_OPTIONS): Replace "gnu" with "foreign".
246 This undoes the 2002-02-08 change.
248 2002-02-08 Thien-Thi Nguyen <ttn@giblet.glug.org>
250 * Makefile.am (AUTOMAKE_OPTIONS): Replace "foreign" with "gnu".
252 2002-01-29 Neil Jerram <neil@ossau.uklinux.net>
254 * readline.scm (with-readline-completion-function): Renamed from
255 `call-with-readline-completion-function'.
257 2001-11-30 Neil Jerram <neil@ossau.uklinux.net>
259 * Makefile.am (EXTRA_DIST): Refer to $(ice9_DATA) rather than
260 readline.scm explicitly.
263 2001-11-04 Stefan Jahn <stefan@lkcc.org>
265 * configure.in (EXTRA_DEFS): Follow-up patch. Using SCM_IMPORT
266 instead of __SCM_IMPORT__.
268 * readline.c (scm_readline_init_ports): Disable input/output
269 stream redirection for Win32. The readline package for Win32
270 does not support this. The guile-readline library works fine
271 for command line editing.
273 * readline.h (SCM_RL_API): Renamed __FOO__ macros into FOO.
275 2001-11-02 Marius Vollmer <mvo@zagadka.ping.de>
277 Support for native Win32. Thanks to Stefan Jahn!
279 * Makefile.am: Put `-export-dynamic -no-undefined' into LDFLAGS
280 and add the library `libguile.la' to support linkers which do not
281 allow unresolved symbols inside shared libraries.
283 * configure.in: Define AC_LIBTOOL_WIN32_DLL to build clean dlls
285 Define extra compiler flags necessary to build clean dlls.
287 * readline.c: Include `io.h' and exclude `sys/time.h' for MinGW.
289 * readline.h: Defintion of SCM_RL_API. Prefixed each exported
290 symbol with SCM_RL_API.
292 2001-08-31 Dirk Herrmann <D.Herrmann@tu-bs.de>
294 * readline.c (scm_readline, scm_add_history,
295 scm_filename_completion_function, completion_function): Remove
296 calls to SCM_STRING_COERCE_0TERMINATION_X. Since the substring
297 type is gone, all strings are 0-terminated anyway.
299 2001-08-31 Dirk Herrmann <D.Herrmann@tu-bs.de>
301 * readline.scm: `feature?' is deprecated. Use `provided?'
304 2001-08-25 Marius Vollmer <mvo@zagadka.ping.de>
306 * readline.scm: Use load-extension instead of explicit
307 dynamic-link/dynamic-call. Removed ".so" extension from library
310 2001-08-02 Neil Jerram <neil@ossau.uklinux.net>
312 * readline.scm (call-with-readline-completion-function): New.
314 2001-07-18 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
316 * Makefile.am, readline.scm: Updated copyright notice.
318 2001-07-09 Thien-Thi Nguyen <ttn@revel.glug.org>
320 * readline.c: Remove "face-lift" comment.
322 2001-06-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
324 * readline.c (completion_function): Use scm_list_n instead of
327 2001-06-14 Marius Vollmer <mvo@zagadka.ping.de>
329 * readline.c, readline.h: Replace "scm_*_t" with "scm_t_*".
331 2001-06-14 Marius Vollmer <mvo@zagadka.ping.de>
333 Thanks to Matthias Köppe!
335 * configure.in: Check for rl_filename_completion_function.
336 * readline.c (s_scm_filename_completion_function): Use
337 rl_filename_completion_function instead of
338 filename_completion_function, if we have it.
339 (scm_init_readline): Use rl_compentry_func_t instead if Function
340 when _RL_FUNCTION_TYPEDEF is defined.
342 * readline.h (scm_clear_history): New prototype.
344 2001-06-07 Dirk Herrmann <D.Herrmann@tu-bs.de>
346 * readline.c (current_input_getc): Mark unused parameters with
349 2001-06-03 Marius Vollmer <mvo@zagadka.ping.de>
351 * configure.in: Added AC_PREREQ(2.50) and minimally changed for
352 autoconf 2.50. This is mostly so that the `transparent autoconf
353 wrapper' on Debian picks the right version of autoconf.
355 2001-05-31 Michael Livshin <mlivshin@bigfoot.com>
357 * Makefile.am (libguilereadline_la_SOURCES): removed readline.x
358 from here (not needed).
359 (CLEANFILES): added *.x (and removed from DISTCLEANFILES).
360 (MKDEP): copied from libguile/Makefile.am. not that it matters
361 now, but it will if we stop using BUILT_SOURCES for some reason.
363 2001-05-24 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
365 Make it compile with --disable-deprecated.
367 * readline.h: scm_option->scm_option_t.
369 * readline.c (stream_from_fport): scm_fport->scm_fport_t;
370 scm_option->scm_option_t.
372 2001-05-23 Michael Livshin <mlivshin@bigfoot.com>
374 * readline.c (strdup): make `len' a size_t.
376 2001-05-10 Marius Vollmer <mvo@zagadka.ping.de>
378 * readline.c (completion_function): Use SCM_VARIABLE_REF to access
379 scm_readline_completion_function_var.
380 (scm_init_readline): Use scm_c_define instead of scm_sysintern to
381 create scm_readline_completion_function_var.
383 2001-04-09 Marius Vollmer <mvo@zagadka.ping.de>
385 * readline.c (scm_clear_history): New function.
386 * readline.scm (readline-port): Call clear-history on exit.
387 Thanks to Utz-Uwe Haus.
389 2001-03-09 Keisuke Nishida <kxn30@po.cwru.edu>
391 * readline.c: Add #include <stdio.h>
393 2001-03-05 Neil Jerram <neil@ossau.uklinux.net>
395 * readline.scm (make-readline-port): Rewrite using
396 make-line-buffered-input-port.
397 (activate-readline): Call set-buffered-input-continuation?!.
399 2001-01-28 Marius Vollmer <mvo@zagadka.ping.de>
401 * readline.scm (make-readline-port): PROMPT becomes PROMPT2 as
402 soon as GET-CHARACTER returns any character at all that was
403 previously read. This makes the continuation prompt appear
404 properly for partial expressions. Thanks to Neil Jerram!
406 2001-01-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
408 This patch fixes a problem reported by Martin Grabmueller about
409 the impossibility to access readline's run-time options.
411 * readline.scm: Added a comment about guile's behaviour if one of
412 the ports used by readline are closed.
414 (readline-options readline-enable readline-disable,
415 readline-set!): These are now defined here instead of in
418 2001-01-25 Dirk Herrmann <D.Herrmann@tu-bs.de>
420 * readline.scm (set-readline-input-port!,
421 set-readline-output-port!): Make sure that only valid port
422 parameters are passed. Thanks to Martin Grabmueller for sending
423 a patch that formed the basis for this change.
425 2001-01-18 Neil Jerram <neil@ossau.uklinux.net>
427 * readline.scm (make-readline-port): Make readline port
430 2000-12-12 Dirk Herrmann <D.Herrmann@tu-bs.de>
432 * readline.scm (activate-readline): Lookup 'use-emacs-interface
435 2000-11-24 Dirk Herrmann <D.Herrmann@tu-bs.de>
437 * readline.c (current_input_getc): Use more explicit predicate
440 (scm_readline, scm_readline_init_ports, completion_function):
441 Remove redundant SCM_N?IMP tests.
443 (scm_readline): Fixed default input/output port parameter
446 2000-11-24 Dirk Herrmann <D.Herrmann@tu-bs.de>
448 * readline.c (scm_readline, scm_add_history, completion_function,
449 scm_filename_completion_function): Replace calls to
450 SCM_COERCE_SUBSTR with SCM_STRING_COERCE_0TERMINATION_X.
452 (internal_readline, scm_add_history, scm_read_history,
453 scm_write_history, scm_filename_completion_function,
454 completion_function): Replace SCM_CHARS with SCM_STRING_CHARS.
456 2000-11-19 Gary Houston <ghouston@arglist.com>
458 * configure.in: test $ac_cv_lib_readline_readline instead of
459 $ac_cv_lib_readline_main. Thanks to Lars J. Aas.
461 2000-09-17 Marius Vollmer <mvo@zagadka.ping.de>
463 * configure.in: Check for curses, terminfo and termlib libraries
464 in addition to ncurses and termcap.
465 Check for `readline' in libreadline, not for `main'.
466 Thanks to Albert Chin!
468 2000-07-17 Marius Vollmer <mvo@zagadka.ping.de>
470 * configure.in (rl_pre_input_hook): Don't check for this with
471 AC_CHECK_FUNCS, it doesn't work on HP/UX. Test for it with
474 2000-06-19 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
476 * readline.c (sigwinch_enable_restart, scm_init_readline):
477 Re-enable restart for SIGWINCH signal.
479 * configure.in: Added test if readline clears SA_RESTART flag for
480 SIGWINCH. (Thanks to Dale P. Smith.)
481 Check for siginterrupt and rl_pre_input_hook.
483 2000-06-14 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
485 * readline.c (scm_readline): Added parenthesis around && within
487 Fixed up prototype for `reentry_barrier'.
488 Conditionally #include <unistd.h>. (Needed for `dup'.)
490 2000-06-13 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
492 * Makefile.am (dist-hook): Added kludge to fix automake generated
493 dependencies in the distribution archive Makefile.
495 2000-06-12 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
497 * readline.scm (apropos-completion-function): Don't define and
498 install if the 'regex feature is missing.
500 2000-06-06 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
502 * readline.c: Always provide scm_init_readline, also if readline
503 support is not included. Otherwise, a strange dynamic loading
504 error will occur. (It would be better not to install
505 libguilereadline at all.)
507 * readline-activator.scm (activate-readline): Report an error if
508 readline isn't provided by Guile.
510 * readline.scm: Report an error if readline isn't provided by
511 Guile; Added :no-backtrace to module header.
513 * configure.in: Put more ink before readline version warning.
514 (Thanks to Ian Grant.)
516 2000-06-01 Michael Livshin <mlivshin@bigfoot.com>
518 * autogen.sh: call ../guile-aclocal.sh instead of aclocal
520 2000-05-01 Gary Houston <ghouston@arglist.com>
522 * readline.c: include libguile.h, not libguile/libguile.h.
524 2000-04-21 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
526 * *.*: Change includes so that they always use the "prefixes"
527 libguile/, qt/, guile-readline/, or libltdl/.
529 * Makefile.am (DEFS): Added. automake adds -I options to DEFS,
530 and we don't want that.
531 (INCLUDES): Removed all -I options except for the root source
532 directory and the root build directory.
534 2000-04-04 Dirk Herrmann <D.Herrmann@tu-bs.de>
536 * readline.c (scm_readline): Must unpack SCM values to access
539 2000-03-19 Michael Livshin <mlivshin@bigfoot.com>
541 * *.[hc]: add Emacs magic at the end of file, to ensure GNU
544 2000-03-12 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
546 * readline.c (current_input_getc): Don't pass int values through
548 (match_paren): Bugfix: First arg to select is not number of
549 descriptors but the number of the highest descriptor + 1.
551 Thu Mar 9 08:00:26 2000 Greg J. Badros <gjb@cs.washington.edu>
553 * readline.c: scm_validate.h renamed to validate.h.
555 Wed Mar 8 10:43:10 2000 Greg J. Badros <gjb@cs.washington.edu>
557 * readline.c (match_paren): Use SELECT_TYPE, not fd_set, for type
560 2000-01-25 Marius Vollmer <mvo@zagadka.ping.de>
562 * autogen.sh: Call libtoolize. Pass --add-missing option to
565 * readline.scm: Only link glue code when the 'readline feature is
566 not already present. Thanks to Clark McGrew.
568 Tue Jan 11 17:51:40 2000 Greg J. Badros <gjb@cs.washington.edu>
570 * readline.c (scm_init_readline): Drop extra argument to
571 scm_mutex_init as that argument should not exist. I do not know
572 how this escaped detection for so long.
574 2000-01-09 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
576 * readline.c (match_paren): Changed return type to int (this is
577 the definition in readline 4) and modified code layout according
578 to GNU coding standards.
580 Wed Jan 5 11:18:01 2000 Greg J. Badros <gjb@cs.washington.edu>
582 * readline.c: Whitespace changes -- added space after
583 SCM_VALIDATE_* macros to match GNU coding standards.
585 Wed Jan 5 11:02:40 2000 Greg J. Badros <gjb@cs.washington.edu>
587 * readline.c: Rename GUILE_PROC to SCM_DEFINE.
589 Mon Dec 13 13:57:57 1999 Greg J. Badros <gjb@cs.washington.edu>
591 * readline.c: Include libguile/scm_validate.h
593 Sun Dec 12 19:56:52 1999 Greg J. Badros <gjb@cs.washington.edu>
595 * readline.c: Updated to use GUILE_PROC, SCM_VALIDATE, and have
596 (now empty) docstrings.
598 1999-11-18 Gary Houston <ghouston@freewire.co.uk>
600 * readline.c (scm_init_readline): set rl_readline_name to Guile,
601 to allow conditionals in .inputrc.
603 1999-10-05 Jim Blandy <jimb@savonarola.red-bean.com>
605 * Makefile.in, configure, aclocal.m4: Deleted from CVS repository.
606 Run the autogen.sh script to create generated files like these.
607 * autogen.sh: New script, invoked by the top-level autogen.sh.
609 1999-09-22 Jim Blandy <jimb@savonarola.red-bean.com>
611 * configure.in: Call AM_PROG_CC_STDC.
612 * configure, aclocal.m4: Regenerated.
614 1999-09-16 Mikael Djurfeldt <mdj@mdj-pc.nada.kth.se>
616 * Makefile.am (.c.x): Use same rule as in libguile.
618 1999-09-12 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
620 * readline.h, readline.scm: Updated copyright notices.
622 1999-09-11 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
624 * readline.scm (activate-readline): Set (using-readline?).
626 1999-09-11 Jim Blandy <jimb@savonarola.red-bean.com>
628 * aclocal.m4: Regenerated with newer libtool macros.
630 * Makefile.am (DISTCLEANFILES): Get rid of .x files.
631 * Makefile.in: Regenerated.
632 (Thanks to Keisuke Nishida.)
634 1999-09-11 Marius Vollmer <mvo@zagadka.ping.de>
636 * readline.scm: Moved from ../ice-9.
637 Dynamically link libguilereadline.so.
638 (readline): Just define in this module, do not overwrite builtin
639 variable. The builtin readline function is now named "%readline",
640 so this works. See below.
641 (activate-readline): New function which contains the readline
642 activation code formerly found in top-repl.
644 * readline.c (scm_readline): Export it to Scheme as "%readline".
646 * configure.in: Get version from ../GUILE-VERSION and use it for
649 * Makefile.am: Do not install and distribute
650 readline-activator.scm. Install and distribute readline.scm
653 * aclocal.m4, Makefile.in, configure, libtool: Regenerated, but
654 probably with the wrong version of the tools.
656 1999-08-29 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
658 The following change makes it possible for applications to have
659 their own version of scm_readline.
660 * readline.c, readline.h (rl_cleanup_after_signal,
661 rl_free_line_state): Made global.
662 (scm_readline_init_ports): New function.
663 (scm_readline): Use scm_readline_init_ports.
664 (Thanks to Anders Holst.)
666 * Makefile.am: Install guile-readline/readline.h.
668 1999-08-20 James Blandy <jimb@mule.m17n.org>
670 * Makefile.in, aclocal.m4, configure: Regenerated.
672 1999-08-17 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
674 * configure.in (HAVE_RL_GETC_FUNCTION): Modified test to actually
675 use rl_getc_function. Otherwise smart compilers, like gcc,
676 optimize away the reference so that no error occurs in the link
679 1999-08-04 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
681 * Makefile.am (INCLUDES): Added -I$(srcdir)/../libguile.
682 (Thanks to Greg Badros.)
684 1999-07-24 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
686 * readline.c (handle_error): Put a cosmetic newline on
687 rl_outstream on error before closing it.
689 * configure.in: Changed AC_MSG_ERROR into AC_MSG_WARN in case
690 readline doesn't exist on the system, so that configuration can
691 proceed normally without readline.
693 * readline.c: #include "libguile/_scm.h" (so that we get the
694 configuration information) and fix other includes so that they'll
695 work on a system where guile is not yet installed.
697 * Makefile.am (BUILT_SOURCES): Added.
699 1999-07-23 Marius Vollmer <mvo@zagadka.ping.de>
701 * Checked everything into CVS.
703 1999-07-22 Marius Vollmer <mvo@zagadka.ping.de>
705 * readline.c (stream_from_fport): New function.
706 (scm_readline): Use it to for the input and output ports. Close
707 the streams after readline returns.
708 (handle_error): Close them also when an error occured.
710 1999-06-17 Marius Vollmer <mvo@zagadka.ping.de>
712 * readline.h, readline.c: Removed exception notice from copyright
715 1999-05-16 Marius Vollmer <mvo@zagadka.ping.de>
717 * Started guile-readline package. Files are copied from old
718 guile-core package and slightly modified.