1 2002-12-08 Rob Browning <rlb@defaultvalue.org>
3 * configure.in (GUILE_EFFECTIVE_VERSION): AC_SUBST.
5 * Makefile.am (ice9dir): VERSION -> GUILE_EFFECTIVE_VERSION.
7 2002-10-27 Marius Vollmer <mvo@zagadka.ping.de>
9 * readline.c (reentry_barrier_mutex): Reimplemented with
12 2002-10-21 Mikael Djurfeldt <mdj@linnaeus>
14 * readline.scm (activate-readline): Look for use-emacs-interface
15 option in the guile-user module instead of the-root-module.
17 2002-04-30 Marius Vollmer <marius.vollmer@uni-dortmund.de>
19 * autogen.sh: Invoke plain aclocal instead of guile-aclocal.sh.
20 We don't need the Guile m4 macros and the previous invocation of
21 guile-aclocal.sh created the aclocal.m4 file in the wrong
22 directory (see change from 2002-04-26).
24 2002-04-26 Marius Vollmer <mvo@zagadka.ping.de>
26 * autogen.sh: Change to parent dir before invoking
29 2002-04-16 Marius Vollmer <mvo@zagadka.ping.de>
31 * Makefile.am (dist-hook): Make sure $(distdir)/Makefile.in is
32 writable before modifying it.
34 2002-04-10 Rob Browning <rlb@defaultvalue.org>
36 * configure.in: add definitions to AC_DEFINE calls for new
39 * .cvsignore: add autom4te.cache and *.c.clean.c.
41 2002-03-24 Marius Vollmer <mvo@zagadka.ping.de>
43 * Makefile.am (.c.x): Pass "-o $@" to guile-snarf.
45 2002-03-13 Thien-Thi Nguyen <ttn@giblet.glug.org>
47 * Makefile.am (snarfcppopts): New var.
48 (.c.x): Use $(snarfcppopts). Rework guile-snarf usage.
50 2002-02-27 Stefan Jahn <stefan@lkcc.org>
52 * Makefile.am (EXTRA_DIST): Added the `LIBGUILEREADLINE-VERSION'
55 2002-02-25 Thien-Thi Nguyen <ttn@giblet.glug.org>
57 * configure.in (LIBGUILEREADLINE-VERSION):
58 Look for this file in $srcdir.
60 2002-02-24 Rob Browning <rlb@defaultvalue.org>
62 * configure.in: source ./LIBGUILEREADLINE-VERSION for version info
63 and then AC_SUBST the resulting variables:
64 LIBGUILEREADLINE_INTERFACE_CURRENT,
65 LIBGUILEREADLINE_INTERFACE_REVISION,
66 LIBGUILEREADLINE_INTERFACE_AGE, and
67 LIBGUILEREADLINE_INTERFACE.
69 * Makefile.am (libguilereadline_la_LDFLAGS): use
70 @LIBGUILEREADLINE_INTERFACE@ for version information.
72 * LIBGUILEREADLINE-VERSION: new file containing shared lib
73 versioning information.
75 2002-02-12 Thien-Thi Nguyen <ttn@giblet.glug.org>
77 * Makefile.am (AUTOMAKE_OPTIONS): Replace "gnu" with "foreign".
78 This undoes the 2002-02-08 change.
80 2002-02-08 Thien-Thi Nguyen <ttn@giblet.glug.org>
82 * Makefile.am (AUTOMAKE_OPTIONS): Replace "foreign" with "gnu".
84 2002-01-29 Neil Jerram <neil@ossau.uklinux.net>
86 * readline.scm (with-readline-completion-function): Renamed from
87 `call-with-readline-completion-function'.
89 2001-11-30 Neil Jerram <neil@ossau.uklinux.net>
91 * Makefile.am (EXTRA_DIST): Refer to $(ice9_DATA) rather than
92 readline.scm explicitly.
95 2001-11-04 Stefan Jahn <stefan@lkcc.org>
97 * configure.in (EXTRA_DEFS): Follow-up patch. Using SCM_IMPORT
98 instead of __SCM_IMPORT__.
100 * readline.c (scm_readline_init_ports): Disable input/output
101 stream redirection for Win32. The readline package for Win32
102 does not support this. The guile-readline library works fine
103 for command line editing.
105 * readline.h (SCM_RL_API): Renamed __FOO__ macros into FOO.
107 2001-11-02 Marius Vollmer <mvo@zagadka.ping.de>
109 Support for native Win32. Thanks to Stefan Jahn!
111 * Makefile.am: Put `-export-dynamic -no-undefined' into LDFLAGS
112 and add the library `libguile.la' to support linkers which do not
113 allow unresolved symbols inside shared libraries.
115 * configure.in: Define AC_LIBTOOL_WIN32_DLL to build clean dlls
117 Define extra compiler flags necessary to build clean dlls.
119 * readline.c: Include `io.h' and exclude `sys/time.h' for MinGW.
121 * readline.h: Defintion of SCM_RL_API. Prefixed each exported
122 symbol with SCM_RL_API.
124 2001-08-31 Dirk Herrmann <D.Herrmann@tu-bs.de>
126 * readline.c (scm_readline, scm_add_history,
127 scm_filename_completion_function, completion_function): Remove
128 calls to SCM_STRING_COERCE_0TERMINATION_X. Since the substring
129 type is gone, all strings are 0-terminated anyway.
131 2001-08-31 Dirk Herrmann <D.Herrmann@tu-bs.de>
133 * readline.scm: `feature?´ is deprecated. Use `provided?´
136 2001-08-25 Marius Vollmer <mvo@zagadka.ping.de>
138 * readline.scm: Use load-extension instead of explicit
139 dynamic-link/dynamic-call. Removed ".so" extension from library
142 2001-08-02 Neil Jerram <neil@ossau.uklinux.net>
144 * readline.scm (call-with-readline-completion-function): New.
146 2001-07-18 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
148 * Makefile.am, readline.scm: Updated copyright notice.
150 2001-07-09 Thien-Thi Nguyen <ttn@revel.glug.org>
152 * readline.c: Remove "face-lift" comment.
154 2001-06-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
156 * readline.c (completion_function): Use scm_list_n instead of
159 2001-06-14 Marius Vollmer <mvo@zagadka.ping.de>
161 * readline.c, readline.h: Replace "scm_*_t" with "scm_t_*".
163 2001-06-14 Marius Vollmer <mvo@zagadka.ping.de>
165 Thanks to Matthias Köppe!
167 * configure.in: Check for rl_filename_completion_function.
168 * readline.c (s_scm_filename_completion_function): Use
169 rl_filename_completion_function instead of
170 filename_completion_function, if we have it.
171 (scm_init_readline): Use rl_compentry_func_t instead if Function
172 when _RL_FUNCTION_TYPEDEF is defined.
174 * readline.h (scm_clear_history): New prototype.
176 2001-06-07 Dirk Herrmann <D.Herrmann@tu-bs.de>
178 * readline.c (current_input_getc): Mark unused parameters with
181 2001-06-03 Marius Vollmer <mvo@zagadka.ping.de>
183 * configure.in: Added AC_PREREQ(2.50) and minimally changed for
184 autoconf 2.50. This is mostly so that the `transparent autoconf
185 wrapper' on Debian picks the right version of autoconf.
187 2001-05-31 Michael Livshin <mlivshin@bigfoot.com>
189 * Makefile.am (libguilereadline_la_SOURCES): removed readline.x
190 from here (not needed).
191 (CLEANFILES): added *.x (and removed from DISTCLEANFILES).
192 (MKDEP): copied from libguile/Makefile.am. not that it matters
193 now, but it will if we stop using BUILT_SOURCES for some reason.
195 2001-05-24 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
197 Make it compile with --disable-deprecated.
199 * readline.h: scm_option->scm_option_t.
201 * readline.c (stream_from_fport): scm_fport->scm_fport_t;
202 scm_option->scm_option_t.
204 2001-05-23 Michael Livshin <mlivshin@bigfoot.com>
206 * readline.c (strdup): make `len' a size_t.
208 2001-05-10 Marius Vollmer <mvo@zagadka.ping.de>
210 * readline.c (completion_function): Use SCM_VARIABLE_REF to access
211 scm_readline_completion_function_var.
212 (scm_init_readline): Use scm_c_define instead of scm_sysintern to
213 create scm_readline_completion_function_var.
215 2001-04-09 Marius Vollmer <mvo@zagadka.ping.de>
217 * readline.c (scm_clear_history): New function.
218 * readline.scm (readline-port): Call clear-history on exit.
219 Thanks to Utz-Uwe Haus.
221 2001-03-09 Keisuke Nishida <kxn30@po.cwru.edu>
223 * readline.c: Add #include <stdio.h>
225 2001-03-05 Neil Jerram <neil@ossau.uklinux.net>
227 * readline.scm (make-readline-port): Rewrite using
228 make-line-buffered-input-port.
229 (activate-readline): Call set-buffered-input-continuation?!.
231 2001-01-28 Marius Vollmer <mvo@zagadka.ping.de>
233 * readline.scm (make-readline-port): PROMPT becomes PROMPT2 as
234 soon as GET-CHARACTER returns any character at all that was
235 previously read. This makes the continuation prompt appear
236 properly for partial expressions. Thanks to Neil Jerram!
238 2001-01-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
240 This patch fixes a problem reported by Martin Grabmueller about
241 the impossibility to access readline's run-time options.
243 * readline.scm: Added a comment about guile's behaviour if one of
244 the ports used by readline are closed.
246 (readline-options readline-enable readline-disable,
247 readline-set!): These are now defined here instead of in
250 2001-01-25 Dirk Herrmann <D.Herrmann@tu-bs.de>
252 * readline.scm (set-readline-input-port!,
253 set-readline-output-port!): Make sure that only valid port
254 parameters are passed. Thanks to Martin Grabmueller for sending
255 a patch that formed the basis for this change.
257 2001-01-18 Neil Jerram <neil@ossau.uklinux.net>
259 * readline.scm (make-readline-port): Make readline port
262 2000-12-12 Dirk Herrmann <D.Herrmann@tu-bs.de>
264 * readline.scm (activate-readline): Lookup 'use-emacs-interface
267 2000-11-24 Dirk Herrmann <D.Herrmann@tu-bs.de>
269 * readline.c (current_input_getc): Use more explicit predicate
272 (scm_readline, scm_readline_init_ports, completion_function):
273 Remove redundant SCM_N?IMP tests.
275 (scm_readline): Fixed default input/output port parameter
278 2000-11-24 Dirk Herrmann <D.Herrmann@tu-bs.de>
280 * readline.c (scm_readline, scm_add_history, completion_function,
281 scm_filename_completion_function): Replace calls to
282 SCM_COERCE_SUBSTR with SCM_STRING_COERCE_0TERMINATION_X.
284 (internal_readline, scm_add_history, scm_read_history,
285 scm_write_history, scm_filename_completion_function,
286 completion_function): Replace SCM_CHARS with SCM_STRING_CHARS.
288 2000-11-19 Gary Houston <ghouston@arglist.com>
290 * configure.in: test $ac_cv_lib_readline_readline instead of
291 $ac_cv_lib_readline_main. Thanks to Lars J. Aas.
293 2000-09-17 Marius Vollmer <mvo@zagadka.ping.de>
295 * configure.in: Check for curses, terminfo and termlib libraries
296 in addition to ncurses and termcap.
297 Check for `readline' in libreadline, not for `main'.
298 Thanks to Albert Chin!
300 2000-07-17 Marius Vollmer <mvo@zagadka.ping.de>
302 * configure.in (rl_pre_input_hook): Don't check for this with
303 AC_CHECK_FUNCS, it doesn't work on HP/UX. Test for it with
306 2000-06-19 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
308 * readline.c (sigwinch_enable_restart, scm_init_readline):
309 Re-enable restart for SIGWINCH signal.
311 * configure.in: Added test if readline clears SA_RESTART flag for
312 SIGWINCH. (Thanks to Dale P. Smith.)
313 Check for siginterrupt and rl_pre_input_hook.
315 2000-06-14 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
317 * readline.c (scm_readline): Added parenthesis around && within
319 Fixed up prototype for `reentry_barrier'.
320 Conditionally #include <unistd.h>. (Needed for `dup'.)
322 2000-06-13 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
324 * Makefile.am (dist-hook): Added kludge to fix automake generated
325 dependencies in the distribution archive Makefile.
327 2000-06-12 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
329 * readline.scm (apropos-completion-function): Don't define and
330 install if the 'regex feature is missing.
332 2000-06-06 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
334 * readline.c: Always provide scm_init_readline, also if readline
335 support is not included. Otherwise, a strange dynamic loading
336 error will occur. (It would be better not to install
337 libguilereadline at all.)
339 * readline-activator.scm (activate-readline): Report an error if
340 readline isn't provided by Guile.
342 * readline.scm: Report an error if readline isn't provided by
343 Guile; Added :no-backtrace to module header.
345 * configure.in: Put more ink before readline version warning.
346 (Thanks to Ian Grant.)
348 2000-06-01 Michael Livshin <mlivshin@bigfoot.com>
350 * autogen.sh: call ../guile-aclocal.sh instead of aclocal
352 2000-05-01 Gary Houston <ghouston@arglist.com>
354 * readline.c: include libguile.h, not libguile/libguile.h.
356 2000-04-21 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
358 * *.*: Change includes so that they always use the "prefixes"
359 libguile/, qt/, guile-readline/, or libltdl/.
361 * Makefile.am (DEFS): Added. automake adds -I options to DEFS,
362 and we don't want that.
363 (INCLUDES): Removed all -I options except for the root source
364 directory and the root build directory.
366 2000-04-04 Dirk Herrmann <D.Herrmann@tu-bs.de>
368 * readline.c (scm_readline): Must unpack SCM values to access
371 2000-03-19 Michael Livshin <mlivshin@bigfoot.com>
373 * *.[hc]: add Emacs magic at the end of file, to ensure GNU
376 2000-03-12 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
378 * readline.c (current_input_getc): Don't pass int values through
380 (match_paren): Bugfix: First arg to select is not number of
381 descriptors but the number of the highest descriptor + 1.
383 Thu Mar 9 08:00:26 2000 Greg J. Badros <gjb@cs.washington.edu>
385 * readline.c: scm_validate.h renamed to validate.h.
387 Wed Mar 8 10:43:10 2000 Greg J. Badros <gjb@cs.washington.edu>
389 * readline.c (match_paren): Use SELECT_TYPE, not fd_set, for type
392 2000-01-25 Marius Vollmer <mvo@zagadka.ping.de>
394 * autogen.sh: Call libtoolize. Pass --add-missing option to
397 * readline.scm: Only link glue code when the 'readline feature is
398 not already present. Thanks to Clark McGrew.
400 Tue Jan 11 17:51:40 2000 Greg J. Badros <gjb@cs.washington.edu>
402 * readline.c (scm_init_readline): Drop extra argument to
403 scm_mutex_init as that argument should not exist. I do not know
404 how this escaped detection for so long.
406 2000-01-09 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
408 * readline.c (match_paren): Changed return type to int (this is
409 the definition in readline 4) and modified code layout according
410 to GNU coding standards.
412 Wed Jan 5 11:18:01 2000 Greg J. Badros <gjb@cs.washington.edu>
414 * readline.c: Whitespace changes -- added space after
415 SCM_VALIDATE_* macros to match GNU coding standards.
417 Wed Jan 5 11:02:40 2000 Greg J. Badros <gjb@cs.washington.edu>
419 * readline.c: Rename GUILE_PROC to SCM_DEFINE.
421 Mon Dec 13 13:57:57 1999 Greg J. Badros <gjb@cs.washington.edu>
423 * readline.c: Include libguile/scm_validate.h
425 Sun Dec 12 19:56:52 1999 Greg J. Badros <gjb@cs.washington.edu>
427 * readline.c: Updated to use GUILE_PROC, SCM_VALIDATE, and have
428 (now empty) docstrings.
430 1999-11-18 Gary Houston <ghouston@freewire.co.uk>
432 * readline.c (scm_init_readline): set rl_readline_name to Guile,
433 to allow conditionals in .inputrc.
435 1999-10-05 Jim Blandy <jimb@savonarola.red-bean.com>
437 * Makefile.in, configure, aclocal.m4: Deleted from CVS repository.
438 Run the autogen.sh script to create generated files like these.
439 * autogen.sh: New script, invoked by the top-level autogen.sh.
441 1999-09-22 Jim Blandy <jimb@savonarola.red-bean.com>
443 * configure.in: Call AM_PROG_CC_STDC.
444 * configure, aclocal.m4: Regenerated.
446 1999-09-16 Mikael Djurfeldt <mdj@mdj-pc.nada.kth.se>
448 * Makefile.am (.c.x): Use same rule as in libguile.
450 1999-09-12 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
452 * readline.h, readline.scm: Updated copyright notices.
454 1999-09-11 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
456 * readline.scm (activate-readline): Set (using-readline?).
458 1999-09-11 Jim Blandy <jimb@savonarola.red-bean.com>
460 * aclocal.m4: Regenerated with newer libtool macros.
462 * Makefile.am (DISTCLEANFILES): Get rid of .x files.
463 * Makefile.in: Regenerated.
464 (Thanks to Keisuke Nishida.)
466 1999-09-11 Marius Vollmer <mvo@zagadka.ping.de>
468 * readline.scm: Moved from ../ice-9.
469 Dynamically link libguilereadline.so.
470 (readline): Just define in this module, do not overwrite builtin
471 variable. The builtin readline function is now named "%readline",
472 so this works. See below.
473 (activate-readline): New function which contains the readline
474 activation code formerly found in top-repl.
476 * readline.c (scm_readline): Export it to Scheme as "%readline".
478 * configure.in: Get version from ../GUILE-VERSION and use it for
481 * Makefile.am: Do not install and distribute
482 readline-activator.scm. Install and distribute readline.scm
485 * aclocal.m4, Makefile.in, configure, libtool: Regenerated, but
486 probably with the wrong version of the tools.
488 1999-08-29 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
490 The following change makes it possible for applications to have
491 their own version of scm_readline.
492 * readline.c, readline.h (rl_cleanup_after_signal,
493 rl_free_line_state): Made global.
494 (scm_readline_init_ports): New function.
495 (scm_readline): Use scm_readline_init_ports.
496 (Thanks to Anders Holst.)
498 * Makefile.am: Install guile-readline/readline.h.
500 1999-08-20 James Blandy <jimb@mule.m17n.org>
502 * Makefile.in, aclocal.m4, configure: Regenerated.
504 1999-08-17 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
506 * configure.in (HAVE_RL_GETC_FUNCTION): Modified test to actually
507 use rl_getc_function. Otherwise smart compilers, like gcc,
508 optimize away the reference so that no error occurs in the link
511 1999-08-04 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
513 * Makefile.am (INCLUDES): Added -I$(srcdir)/../libguile.
514 (Thanks to Greg Badros.)
516 1999-07-24 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
518 * readline.c (handle_error): Put a cosmetic newline on
519 rl_outstream on error before closing it.
521 * configure.in: Changed AC_MSG_ERROR into AC_MSG_WARN in case
522 readline doesn't exist on the system, so that configuration can
523 proceed normally without readline.
525 * readline.c: #include "libguile/_scm.h" (so that we get the
526 configuration information) and fix other includes so that they'll
527 work on a system where guile is not yet installed.
529 * Makefile.am (BUILT_SOURCES): Added.
531 1999-07-23 Marius Vollmer <mvo@zagadka.ping.de>
533 * Checked everything into CVS.
535 1999-07-22 Marius Vollmer <mvo@zagadka.ping.de>
537 * readline.c (stream_from_fport): New function.
538 (scm_readline): Use it to for the input and output ports. Close
539 the streams after readline returns.
540 (handle_error): Close them also when an error occured.
542 1999-06-17 Marius Vollmer <mvo@zagadka.ping.de>
544 * readline.h, readline.c: Removed exception notice from copyright
547 1999-05-16 Marius Vollmer <mvo@zagadka.ping.de>
549 * Started guile-readline package. Files are copied from old
550 guile-core package and slightly modified.