(scm_ash): Revise docstring as per recent update to manual.
[bpt/guile.git] / guile-readline / ChangeLog
1 2003-05-04 Marius Vollmer <mvo@zagadka.de>
2
3 * configure.in: When checking whether readline clears SA_RESTART,
4 let readline read from "/dev/null". Otherwise, it might be
5 stopped when run in the background with job control, say.
6 Thanks to Michael Talbot-Wilson!
7
8 2003-04-05 Mikael Djurfeldt <djurfeldt@nada.kth.se>
9
10 The intended side-effect of the following change is to make the
11 prompt appear properly when debugging or running Guile in an Emacs
12 buffer. (The readline library has some prompt magic which we were
13 expected to do ourselves when we were bold enough to provide our
14 own redisplay function---but we don't need to do that.)
15
16 * readline.c (redisplay): Removed. (It didn't do anything other
17 than calling rl_redisplay.)
18 (scm_init_readline): Don't inititalize rl_redisplay_function.
19
20 2003-03-19 Rob Browning <rlb@defaultvalue.org>
21
22 * readline.c: add HAVE_CONFIG_H test guarding #include config.h.
23
24 * autogen.sh: add a --force when autoreconfing. We may need to
25 change this if it doesn't work out...
26
27 * Makefile.am (ice-9/readline.scm): new target -- so readline will
28 work from the source tree when guile-readline is added to
29 GUILE_LOAD_PATH.
30 (all-local): add ice-9/readline.scm.
31 (clean-local): remove ice-9/readline at clean time.
32
33 2003-02-27 Rob Browning <rlb@defaultvalue.org>
34
35 * autogen.sh: use autoreconf.
36
37 2003-01-08 Neil Jerram <neil@ossau.uklinux.net>
38
39 * readline.c (scm_readline): Check that scm_cur_outp is an output
40 port, not an input one.
41
42 2002-12-08 Rob Browning <rlb@defaultvalue.org>
43
44 * configure.in (GUILE_EFFECTIVE_VERSION): AC_SUBST.
45
46 * Makefile.am (ice9dir): VERSION -> GUILE_EFFECTIVE_VERSION.
47
48 2002-10-27 Marius Vollmer <mvo@zagadka.ping.de>
49
50 * readline.c (reentry_barrier_mutex): Reimplemented with
51 scm_make_mutex, etc.
52
53 2002-10-21 Mikael Djurfeldt <mdj@linnaeus>
54
55 * readline.scm (activate-readline): Look for use-emacs-interface
56 option in the guile-user module instead of the-root-module.
57
58 2002-04-30 Marius Vollmer <marius.vollmer@uni-dortmund.de>
59
60 * autogen.sh: Invoke plain aclocal instead of guile-aclocal.sh.
61 We don't need the Guile m4 macros and the previous invocation of
62 guile-aclocal.sh created the aclocal.m4 file in the wrong
63 directory (see change from 2002-04-26).
64
65 2002-04-26 Marius Vollmer <mvo@zagadka.ping.de>
66
67 * autogen.sh: Change to parent dir before invoking
68 guile-aclocal.sh.
69
70 2002-04-16 Marius Vollmer <mvo@zagadka.ping.de>
71
72 * Makefile.am (dist-hook): Make sure $(distdir)/Makefile.in is
73 writable before modifying it.
74
75 2002-04-10 Rob Browning <rlb@defaultvalue.org>
76
77 * configure.in: add definitions to AC_DEFINE calls for new
78 autoconf.
79
80 * .cvsignore: add autom4te.cache and *.c.clean.c.
81
82 2002-03-24 Marius Vollmer <mvo@zagadka.ping.de>
83
84 * Makefile.am (.c.x): Pass "-o $@" to guile-snarf.
85
86 2002-03-13 Thien-Thi Nguyen <ttn@giblet.glug.org>
87
88 * Makefile.am (snarfcppopts): New var.
89 (.c.x): Use $(snarfcppopts). Rework guile-snarf usage.
90
91 2002-02-27 Stefan Jahn <stefan@lkcc.org>
92
93 * Makefile.am (EXTRA_DIST): Added the `LIBGUILEREADLINE-VERSION'
94 file.
95
96 2002-02-25 Thien-Thi Nguyen <ttn@giblet.glug.org>
97
98 * configure.in (LIBGUILEREADLINE-VERSION):
99 Look for this file in $srcdir.
100
101 2002-02-24 Rob Browning <rlb@defaultvalue.org>
102
103 * configure.in: source ./LIBGUILEREADLINE-VERSION for version info
104 and then AC_SUBST the resulting variables:
105 LIBGUILEREADLINE_INTERFACE_CURRENT,
106 LIBGUILEREADLINE_INTERFACE_REVISION,
107 LIBGUILEREADLINE_INTERFACE_AGE, and
108 LIBGUILEREADLINE_INTERFACE.
109
110 * Makefile.am (libguilereadline_la_LDFLAGS): use
111 @LIBGUILEREADLINE_INTERFACE@ for version information.
112
113 * LIBGUILEREADLINE-VERSION: new file containing shared lib
114 versioning information.
115
116 2002-02-12 Thien-Thi Nguyen <ttn@giblet.glug.org>
117
118 * Makefile.am (AUTOMAKE_OPTIONS): Replace "gnu" with "foreign".
119 This undoes the 2002-02-08 change.
120
121 2002-02-08 Thien-Thi Nguyen <ttn@giblet.glug.org>
122
123 * Makefile.am (AUTOMAKE_OPTIONS): Replace "foreign" with "gnu".
124
125 2002-01-29 Neil Jerram <neil@ossau.uklinux.net>
126
127 * readline.scm (with-readline-completion-function): Renamed from
128 `call-with-readline-completion-function'.
129
130 2001-11-30 Neil Jerram <neil@ossau.uklinux.net>
131
132 * Makefile.am (EXTRA_DIST): Refer to $(ice9_DATA) rather than
133 readline.scm explicitly.
134 (ETAGS_ARGS): Added.
135
136 2001-11-04 Stefan Jahn <stefan@lkcc.org>
137
138 * configure.in (EXTRA_DEFS): Follow-up patch. Using SCM_IMPORT
139 instead of __SCM_IMPORT__.
140
141 * readline.c (scm_readline_init_ports): Disable input/output
142 stream redirection for Win32. The readline package for Win32
143 does not support this. The guile-readline library works fine
144 for command line editing.
145
146 * readline.h (SCM_RL_API): Renamed __FOO__ macros into FOO.
147
148 2001-11-02 Marius Vollmer <mvo@zagadka.ping.de>
149
150 Support for native Win32. Thanks to Stefan Jahn!
151
152 * Makefile.am: Put `-export-dynamic -no-undefined' into LDFLAGS
153 and add the library `libguile.la' to support linkers which do not
154 allow unresolved symbols inside shared libraries.
155
156 * configure.in: Define AC_LIBTOOL_WIN32_DLL to build clean dlls
157 on Win32 platforms.
158 Define extra compiler flags necessary to build clean dlls.
159
160 * readline.c: Include `io.h' and exclude `sys/time.h' for MinGW.
161
162 * readline.h: Defintion of SCM_RL_API. Prefixed each exported
163 symbol with SCM_RL_API.
164
165 2001-08-31 Dirk Herrmann <D.Herrmann@tu-bs.de>
166
167 * readline.c (scm_readline, scm_add_history,
168 scm_filename_completion_function, completion_function): Remove
169 calls to SCM_STRING_COERCE_0TERMINATION_X. Since the substring
170 type is gone, all strings are 0-terminated anyway.
171
172 2001-08-31 Dirk Herrmann <D.Herrmann@tu-bs.de>
173
174 * readline.scm: `feature?´ is deprecated. Use `provided?´
175 instead.
176
177 2001-08-25 Marius Vollmer <mvo@zagadka.ping.de>
178
179 * readline.scm: Use load-extension instead of explicit
180 dynamic-link/dynamic-call. Removed ".so" extension from library
181 name.
182
183 2001-08-02 Neil Jerram <neil@ossau.uklinux.net>
184
185 * readline.scm (call-with-readline-completion-function): New.
186
187 2001-07-18 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
188
189 * Makefile.am, readline.scm: Updated copyright notice.
190
191 2001-07-09 Thien-Thi Nguyen <ttn@revel.glug.org>
192
193 * readline.c: Remove "face-lift" comment.
194
195 2001-06-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
196
197 * readline.c (completion_function): Use scm_list_n instead of
198 SCM_LISTn.
199
200 2001-06-14 Marius Vollmer <mvo@zagadka.ping.de>
201
202 * readline.c, readline.h: Replace "scm_*_t" with "scm_t_*".
203
204 2001-06-14 Marius Vollmer <mvo@zagadka.ping.de>
205
206 Thanks to Matthias Köppe!
207
208 * configure.in: Check for rl_filename_completion_function.
209 * readline.c (s_scm_filename_completion_function): Use
210 rl_filename_completion_function instead of
211 filename_completion_function, if we have it.
212 (scm_init_readline): Use rl_compentry_func_t instead if Function
213 when _RL_FUNCTION_TYPEDEF is defined.
214
215 * readline.h (scm_clear_history): New prototype.
216
217 2001-06-07 Dirk Herrmann <D.Herrmann@tu-bs.de>
218
219 * readline.c (current_input_getc): Mark unused parameters with
220 SCM_UNUSED.
221
222 2001-06-03 Marius Vollmer <mvo@zagadka.ping.de>
223
224 * configure.in: Added AC_PREREQ(2.50) and minimally changed for
225 autoconf 2.50. This is mostly so that the `transparent autoconf
226 wrapper' on Debian picks the right version of autoconf.
227
228 2001-05-31 Michael Livshin <mlivshin@bigfoot.com>
229
230 * Makefile.am (libguilereadline_la_SOURCES): removed readline.x
231 from here (not needed).
232 (CLEANFILES): added *.x (and removed from DISTCLEANFILES).
233 (MKDEP): copied from libguile/Makefile.am. not that it matters
234 now, but it will if we stop using BUILT_SOURCES for some reason.
235
236 2001-05-24 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
237
238 Make it compile with --disable-deprecated.
239
240 * readline.h: scm_option->scm_option_t.
241
242 * readline.c (stream_from_fport): scm_fport->scm_fport_t;
243 scm_option->scm_option_t.
244
245 2001-05-23 Michael Livshin <mlivshin@bigfoot.com>
246
247 * readline.c (strdup): make `len' a size_t.
248
249 2001-05-10 Marius Vollmer <mvo@zagadka.ping.de>
250
251 * readline.c (completion_function): Use SCM_VARIABLE_REF to access
252 scm_readline_completion_function_var.
253 (scm_init_readline): Use scm_c_define instead of scm_sysintern to
254 create scm_readline_completion_function_var.
255
256 2001-04-09 Marius Vollmer <mvo@zagadka.ping.de>
257
258 * readline.c (scm_clear_history): New function.
259 * readline.scm (readline-port): Call clear-history on exit.
260 Thanks to Utz-Uwe Haus.
261
262 2001-03-09 Keisuke Nishida <kxn30@po.cwru.edu>
263
264 * readline.c: Add #include <stdio.h>
265
266 2001-03-05 Neil Jerram <neil@ossau.uklinux.net>
267
268 * readline.scm (make-readline-port): Rewrite using
269 make-line-buffered-input-port.
270 (activate-readline): Call set-buffered-input-continuation?!.
271
272 2001-01-28 Marius Vollmer <mvo@zagadka.ping.de>
273
274 * readline.scm (make-readline-port): PROMPT becomes PROMPT2 as
275 soon as GET-CHARACTER returns any character at all that was
276 previously read. This makes the continuation prompt appear
277 properly for partial expressions. Thanks to Neil Jerram!
278
279 2001-01-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
280
281 This patch fixes a problem reported by Martin Grabmueller about
282 the impossibility to access readline's run-time options.
283
284 * readline.scm: Added a comment about guile's behaviour if one of
285 the ports used by readline are closed.
286
287 (readline-options readline-enable readline-disable,
288 readline-set!): These are now defined here instead of in
289 boot-9.scm.
290
291 2001-01-25 Dirk Herrmann <D.Herrmann@tu-bs.de>
292
293 * readline.scm (set-readline-input-port!,
294 set-readline-output-port!): Make sure that only valid port
295 parameters are passed. Thanks to Martin Grabmueller for sending
296 a patch that formed the basis for this change.
297
298 2001-01-18 Neil Jerram <neil@ossau.uklinux.net>
299
300 * readline.scm (make-readline-port): Make readline port
301 input-only.
302
303 2000-12-12 Dirk Herrmann <D.Herrmann@tu-bs.de>
304
305 * readline.scm (activate-readline): Lookup 'use-emacs-interface
306 in the-root-module.
307
308 2000-11-24 Dirk Herrmann <D.Herrmann@tu-bs.de>
309
310 * readline.c (current_input_getc): Use more explicit predicate
311 than SCM_NIMP.
312
313 (scm_readline, scm_readline_init_ports, completion_function):
314 Remove redundant SCM_N?IMP tests.
315
316 (scm_readline): Fixed default input/output port parameter
317 handling.
318
319 2000-11-24 Dirk Herrmann <D.Herrmann@tu-bs.de>
320
321 * readline.c (scm_readline, scm_add_history, completion_function,
322 scm_filename_completion_function): Replace calls to
323 SCM_COERCE_SUBSTR with SCM_STRING_COERCE_0TERMINATION_X.
324
325 (internal_readline, scm_add_history, scm_read_history,
326 scm_write_history, scm_filename_completion_function,
327 completion_function): Replace SCM_CHARS with SCM_STRING_CHARS.
328
329 2000-11-19 Gary Houston <ghouston@arglist.com>
330
331 * configure.in: test $ac_cv_lib_readline_readline instead of
332 $ac_cv_lib_readline_main. Thanks to Lars J. Aas.
333
334 2000-09-17 Marius Vollmer <mvo@zagadka.ping.de>
335
336 * configure.in: Check for curses, terminfo and termlib libraries
337 in addition to ncurses and termcap.
338 Check for `readline' in libreadline, not for `main'.
339 Thanks to Albert Chin!
340
341 2000-07-17 Marius Vollmer <mvo@zagadka.ping.de>
342
343 * configure.in (rl_pre_input_hook): Don't check for this with
344 AC_CHECK_FUNCS, it doesn't work on HP/UX. Test for it with
345 AC_TRY_LINK.
346
347 2000-06-19 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
348
349 * readline.c (sigwinch_enable_restart, scm_init_readline):
350 Re-enable restart for SIGWINCH signal.
351
352 * configure.in: Added test if readline clears SA_RESTART flag for
353 SIGWINCH. (Thanks to Dale P. Smith.)
354 Check for siginterrupt and rl_pre_input_hook.
355
356 2000-06-14 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
357
358 * readline.c (scm_readline): Added parenthesis around && within
359 ||.
360 Fixed up prototype for `reentry_barrier'.
361 Conditionally #include <unistd.h>. (Needed for `dup'.)
362
363 2000-06-13 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
364
365 * Makefile.am (dist-hook): Added kludge to fix automake generated
366 dependencies in the distribution archive Makefile.
367
368 2000-06-12 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
369
370 * readline.scm (apropos-completion-function): Don't define and
371 install if the 'regex feature is missing.
372
373 2000-06-06 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
374
375 * readline.c: Always provide scm_init_readline, also if readline
376 support is not included. Otherwise, a strange dynamic loading
377 error will occur. (It would be better not to install
378 libguilereadline at all.)
379
380 * readline-activator.scm (activate-readline): Report an error if
381 readline isn't provided by Guile.
382
383 * readline.scm: Report an error if readline isn't provided by
384 Guile; Added :no-backtrace to module header.
385
386 * configure.in: Put more ink before readline version warning.
387 (Thanks to Ian Grant.)
388
389 2000-06-01 Michael Livshin <mlivshin@bigfoot.com>
390
391 * autogen.sh: call ../guile-aclocal.sh instead of aclocal
392
393 2000-05-01 Gary Houston <ghouston@arglist.com>
394
395 * readline.c: include libguile.h, not libguile/libguile.h.
396
397 2000-04-21 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
398
399 * *.*: Change includes so that they always use the "prefixes"
400 libguile/, qt/, guile-readline/, or libltdl/.
401
402 * Makefile.am (DEFS): Added. automake adds -I options to DEFS,
403 and we don't want that.
404 (INCLUDES): Removed all -I options except for the root source
405 directory and the root build directory.
406
407 2000-04-04 Dirk Herrmann <D.Herrmann@tu-bs.de>
408
409 * readline.c (scm_readline): Must unpack SCM values to access
410 their raw contents.
411
412 2000-03-19 Michael Livshin <mlivshin@bigfoot.com>
413
414 * *.[hc]: add Emacs magic at the end of file, to ensure GNU
415 indentation style.
416
417 2000-03-12 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
418
419 * readline.c (current_input_getc): Don't pass int values through
420 SCM variables.
421 (match_paren): Bugfix: First arg to select is not number of
422 descriptors but the number of the highest descriptor + 1.
423
424 Thu Mar 9 08:00:26 2000 Greg J. Badros <gjb@cs.washington.edu>
425
426 * readline.c: scm_validate.h renamed to validate.h.
427
428 Wed Mar 8 10:43:10 2000 Greg J. Badros <gjb@cs.washington.edu>
429
430 * readline.c (match_paren): Use SELECT_TYPE, not fd_set, for type
431 of readset.
432
433 2000-01-25 Marius Vollmer <mvo@zagadka.ping.de>
434
435 * autogen.sh: Call libtoolize. Pass --add-missing option to
436 automake.
437
438 * readline.scm: Only link glue code when the 'readline feature is
439 not already present. Thanks to Clark McGrew.
440
441 Tue Jan 11 17:51:40 2000 Greg J. Badros <gjb@cs.washington.edu>
442
443 * readline.c (scm_init_readline): Drop extra argument to
444 scm_mutex_init as that argument should not exist. I do not know
445 how this escaped detection for so long.
446
447 2000-01-09 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
448
449 * readline.c (match_paren): Changed return type to int (this is
450 the definition in readline 4) and modified code layout according
451 to GNU coding standards.
452
453 Wed Jan 5 11:18:01 2000 Greg J. Badros <gjb@cs.washington.edu>
454
455 * readline.c: Whitespace changes -- added space after
456 SCM_VALIDATE_* macros to match GNU coding standards.
457
458 Wed Jan 5 11:02:40 2000 Greg J. Badros <gjb@cs.washington.edu>
459
460 * readline.c: Rename GUILE_PROC to SCM_DEFINE.
461
462 Mon Dec 13 13:57:57 1999 Greg J. Badros <gjb@cs.washington.edu>
463
464 * readline.c: Include libguile/scm_validate.h
465
466 Sun Dec 12 19:56:52 1999 Greg J. Badros <gjb@cs.washington.edu>
467
468 * readline.c: Updated to use GUILE_PROC, SCM_VALIDATE, and have
469 (now empty) docstrings.
470
471 1999-11-18 Gary Houston <ghouston@freewire.co.uk>
472
473 * readline.c (scm_init_readline): set rl_readline_name to Guile,
474 to allow conditionals in .inputrc.
475
476 1999-10-05 Jim Blandy <jimb@savonarola.red-bean.com>
477
478 * Makefile.in, configure, aclocal.m4: Deleted from CVS repository.
479 Run the autogen.sh script to create generated files like these.
480 * autogen.sh: New script, invoked by the top-level autogen.sh.
481
482 1999-09-22 Jim Blandy <jimb@savonarola.red-bean.com>
483
484 * configure.in: Call AM_PROG_CC_STDC.
485 * configure, aclocal.m4: Regenerated.
486
487 1999-09-16 Mikael Djurfeldt <mdj@mdj-pc.nada.kth.se>
488
489 * Makefile.am (.c.x): Use same rule as in libguile.
490
491 1999-09-12 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
492
493 * readline.h, readline.scm: Updated copyright notices.
494
495 1999-09-11 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
496
497 * readline.scm (activate-readline): Set (using-readline?).
498
499 1999-09-11 Jim Blandy <jimb@savonarola.red-bean.com>
500
501 * aclocal.m4: Regenerated with newer libtool macros.
502
503 * Makefile.am (DISTCLEANFILES): Get rid of .x files.
504 * Makefile.in: Regenerated.
505 (Thanks to Keisuke Nishida.)
506
507 1999-09-11 Marius Vollmer <mvo@zagadka.ping.de>
508
509 * readline.scm: Moved from ../ice-9.
510 Dynamically link libguilereadline.so.
511 (readline): Just define in this module, do not overwrite builtin
512 variable. The builtin readline function is now named "%readline",
513 so this works. See below.
514 (activate-readline): New function which contains the readline
515 activation code formerly found in top-repl.
516
517 * readline.c (scm_readline): Export it to Scheme as "%readline".
518
519 * configure.in: Get version from ../GUILE-VERSION and use it for
520 package version.
521
522 * Makefile.am: Do not install and distribute
523 readline-activator.scm. Install and distribute readline.scm
524 instead.
525
526 * aclocal.m4, Makefile.in, configure, libtool: Regenerated, but
527 probably with the wrong version of the tools.
528
529 1999-08-29 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
530
531 The following change makes it possible for applications to have
532 their own version of scm_readline.
533 * readline.c, readline.h (rl_cleanup_after_signal,
534 rl_free_line_state): Made global.
535 (scm_readline_init_ports): New function.
536 (scm_readline): Use scm_readline_init_ports.
537 (Thanks to Anders Holst.)
538
539 * Makefile.am: Install guile-readline/readline.h.
540
541 1999-08-20 James Blandy <jimb@mule.m17n.org>
542
543 * Makefile.in, aclocal.m4, configure: Regenerated.
544
545 1999-08-17 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
546
547 * configure.in (HAVE_RL_GETC_FUNCTION): Modified test to actually
548 use rl_getc_function. Otherwise smart compilers, like gcc,
549 optimize away the reference so that no error occurs in the link
550 phase.
551
552 1999-08-04 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
553
554 * Makefile.am (INCLUDES): Added -I$(srcdir)/../libguile.
555 (Thanks to Greg Badros.)
556
557 1999-07-24 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
558
559 * readline.c (handle_error): Put a cosmetic newline on
560 rl_outstream on error before closing it.
561
562 * configure.in: Changed AC_MSG_ERROR into AC_MSG_WARN in case
563 readline doesn't exist on the system, so that configuration can
564 proceed normally without readline.
565
566 * readline.c: #include "libguile/_scm.h" (so that we get the
567 configuration information) and fix other includes so that they'll
568 work on a system where guile is not yet installed.
569
570 * Makefile.am (BUILT_SOURCES): Added.
571
572 1999-07-23 Marius Vollmer <mvo@zagadka.ping.de>
573
574 * Checked everything into CVS.
575
576 1999-07-22 Marius Vollmer <mvo@zagadka.ping.de>
577
578 * readline.c (stream_from_fport): New function.
579 (scm_readline): Use it to for the input and output ports. Close
580 the streams after readline returns.
581 (handle_error): Close them also when an error occured.
582
583 1999-06-17 Marius Vollmer <mvo@zagadka.ping.de>
584
585 * readline.h, readline.c: Removed exception notice from copyright
586 statement.
587
588 1999-05-16 Marius Vollmer <mvo@zagadka.ping.de>
589
590 * Started guile-readline package. Files are copied from old
591 guile-core package and slightly modified.