f18b793886fa1e26befd129e29b7c1f3e1bcabc5
[bpt/guile.git] / guile-readline / ChangeLog
1 2002-10-27 Marius Vollmer <mvo@zagadka.ping.de>
2
3 * readline.c (reentry_barrier_mutex): Reimplemented with
4 scm_make_mutex, etc.
5
6 2002-10-21 Mikael Djurfeldt <mdj@linnaeus>
7
8 * readline.scm (activate-readline): Look for use-emacs-interface
9 option in the guile-user module instead of the-root-module.
10
11 2002-04-30 Marius Vollmer <marius.vollmer@uni-dortmund.de>
12
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).
17
18 2002-04-26 Marius Vollmer <mvo@zagadka.ping.de>
19
20 * autogen.sh: Change to parent dir before invoking
21 guile-aclocal.sh.
22
23 2002-04-16 Marius Vollmer <mvo@zagadka.ping.de>
24
25 * Makefile.am (dist-hook): Make sure $(distdir)/Makefile.in is
26 writable before modifying it.
27
28 2002-04-10 Rob Browning <rlb@defaultvalue.org>
29
30 * configure.in: add definitions to AC_DEFINE calls for new
31 autoconf.
32
33 * .cvsignore: add autom4te.cache and *.c.clean.c.
34
35 2002-03-24 Marius Vollmer <mvo@zagadka.ping.de>
36
37 * Makefile.am (.c.x): Pass "-o $@" to guile-snarf.
38
39 2002-03-13 Thien-Thi Nguyen <ttn@giblet.glug.org>
40
41 * Makefile.am (snarfcppopts): New var.
42 (.c.x): Use $(snarfcppopts). Rework guile-snarf usage.
43
44 2002-02-27 Stefan Jahn <stefan@lkcc.org>
45
46 * Makefile.am (EXTRA_DIST): Added the `LIBGUILEREADLINE-VERSION'
47 file.
48
49 2002-02-25 Thien-Thi Nguyen <ttn@giblet.glug.org>
50
51 * configure.in (LIBGUILEREADLINE-VERSION):
52 Look for this file in $srcdir.
53
54 2002-02-24 Rob Browning <rlb@defaultvalue.org>
55
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.
62
63 * Makefile.am (libguilereadline_la_LDFLAGS): use
64 @LIBGUILEREADLINE_INTERFACE@ for version information.
65
66 * LIBGUILEREADLINE-VERSION: new file containing shared lib
67 versioning information.
68
69 2002-02-12 Thien-Thi Nguyen <ttn@giblet.glug.org>
70
71 * Makefile.am (AUTOMAKE_OPTIONS): Replace "gnu" with "foreign".
72 This undoes the 2002-02-08 change.
73
74 2002-02-08 Thien-Thi Nguyen <ttn@giblet.glug.org>
75
76 * Makefile.am (AUTOMAKE_OPTIONS): Replace "foreign" with "gnu".
77
78 2002-01-29 Neil Jerram <neil@ossau.uklinux.net>
79
80 * readline.scm (with-readline-completion-function): Renamed from
81 `call-with-readline-completion-function'.
82
83 2001-11-30 Neil Jerram <neil@ossau.uklinux.net>
84
85 * Makefile.am (EXTRA_DIST): Refer to $(ice9_DATA) rather than
86 readline.scm explicitly.
87 (ETAGS_ARGS): Added.
88
89 2001-11-04 Stefan Jahn <stefan@lkcc.org>
90
91 * configure.in (EXTRA_DEFS): Follow-up patch. Using SCM_IMPORT
92 instead of __SCM_IMPORT__.
93
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.
98
99 * readline.h (SCM_RL_API): Renamed __FOO__ macros into FOO.
100
101 2001-11-02 Marius Vollmer <mvo@zagadka.ping.de>
102
103 Support for native Win32. Thanks to Stefan Jahn!
104
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.
108
109 * configure.in: Define AC_LIBTOOL_WIN32_DLL to build clean dlls
110 on Win32 platforms.
111 Define extra compiler flags necessary to build clean dlls.
112
113 * readline.c: Include `io.h' and exclude `sys/time.h' for MinGW.
114
115 * readline.h: Defintion of SCM_RL_API. Prefixed each exported
116 symbol with SCM_RL_API.
117
118 2001-08-31 Dirk Herrmann <D.Herrmann@tu-bs.de>
119
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.
124
125 2001-08-31 Dirk Herrmann <D.Herrmann@tu-bs.de>
126
127 * readline.scm: `feature?´ is deprecated. Use `provided?´
128 instead.
129
130 2001-08-25 Marius Vollmer <mvo@zagadka.ping.de>
131
132 * readline.scm: Use load-extension instead of explicit
133 dynamic-link/dynamic-call. Removed ".so" extension from library
134 name.
135
136 2001-08-02 Neil Jerram <neil@ossau.uklinux.net>
137
138 * readline.scm (call-with-readline-completion-function): New.
139
140 2001-07-18 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
141
142 * Makefile.am, readline.scm: Updated copyright notice.
143
144 2001-07-09 Thien-Thi Nguyen <ttn@revel.glug.org>
145
146 * readline.c: Remove "face-lift" comment.
147
148 2001-06-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
149
150 * readline.c (completion_function): Use scm_list_n instead of
151 SCM_LISTn.
152
153 2001-06-14 Marius Vollmer <mvo@zagadka.ping.de>
154
155 * readline.c, readline.h: Replace "scm_*_t" with "scm_t_*".
156
157 2001-06-14 Marius Vollmer <mvo@zagadka.ping.de>
158
159 Thanks to Matthias Köppe!
160
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.
167
168 * readline.h (scm_clear_history): New prototype.
169
170 2001-06-07 Dirk Herrmann <D.Herrmann@tu-bs.de>
171
172 * readline.c (current_input_getc): Mark unused parameters with
173 SCM_UNUSED.
174
175 2001-06-03 Marius Vollmer <mvo@zagadka.ping.de>
176
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.
180
181 2001-05-31 Michael Livshin <mlivshin@bigfoot.com>
182
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.
188
189 2001-05-24 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
190
191 Make it compile with --disable-deprecated.
192
193 * readline.h: scm_option->scm_option_t.
194
195 * readline.c (stream_from_fport): scm_fport->scm_fport_t;
196 scm_option->scm_option_t.
197
198 2001-05-23 Michael Livshin <mlivshin@bigfoot.com>
199
200 * readline.c (strdup): make `len' a size_t.
201
202 2001-05-10 Marius Vollmer <mvo@zagadka.ping.de>
203
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.
208
209 2001-04-09 Marius Vollmer <mvo@zagadka.ping.de>
210
211 * readline.c (scm_clear_history): New function.
212 * readline.scm (readline-port): Call clear-history on exit.
213 Thanks to Utz-Uwe Haus.
214
215 2001-03-09 Keisuke Nishida <kxn30@po.cwru.edu>
216
217 * readline.c: Add #include <stdio.h>
218
219 2001-03-05 Neil Jerram <neil@ossau.uklinux.net>
220
221 * readline.scm (make-readline-port): Rewrite using
222 make-line-buffered-input-port.
223 (activate-readline): Call set-buffered-input-continuation?!.
224
225 2001-01-28 Marius Vollmer <mvo@zagadka.ping.de>
226
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!
231
232 2001-01-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
233
234 This patch fixes a problem reported by Martin Grabmueller about
235 the impossibility to access readline's run-time options.
236
237 * readline.scm: Added a comment about guile's behaviour if one of
238 the ports used by readline are closed.
239
240 (readline-options readline-enable readline-disable,
241 readline-set!): These are now defined here instead of in
242 boot-9.scm.
243
244 2001-01-25 Dirk Herrmann <D.Herrmann@tu-bs.de>
245
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.
250
251 2001-01-18 Neil Jerram <neil@ossau.uklinux.net>
252
253 * readline.scm (make-readline-port): Make readline port
254 input-only.
255
256 2000-12-12 Dirk Herrmann <D.Herrmann@tu-bs.de>
257
258 * readline.scm (activate-readline): Lookup 'use-emacs-interface
259 in the-root-module.
260
261 2000-11-24 Dirk Herrmann <D.Herrmann@tu-bs.de>
262
263 * readline.c (current_input_getc): Use more explicit predicate
264 than SCM_NIMP.
265
266 (scm_readline, scm_readline_init_ports, completion_function):
267 Remove redundant SCM_N?IMP tests.
268
269 (scm_readline): Fixed default input/output port parameter
270 handling.
271
272 2000-11-24 Dirk Herrmann <D.Herrmann@tu-bs.de>
273
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.
277
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.
281
282 2000-11-19 Gary Houston <ghouston@arglist.com>
283
284 * configure.in: test $ac_cv_lib_readline_readline instead of
285 $ac_cv_lib_readline_main. Thanks to Lars J. Aas.
286
287 2000-09-17 Marius Vollmer <mvo@zagadka.ping.de>
288
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!
293
294 2000-07-17 Marius Vollmer <mvo@zagadka.ping.de>
295
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
298 AC_TRY_LINK.
299
300 2000-06-19 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
301
302 * readline.c (sigwinch_enable_restart, scm_init_readline):
303 Re-enable restart for SIGWINCH signal.
304
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.
308
309 2000-06-14 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
310
311 * readline.c (scm_readline): Added parenthesis around && within
312 ||.
313 Fixed up prototype for `reentry_barrier'.
314 Conditionally #include <unistd.h>. (Needed for `dup'.)
315
316 2000-06-13 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
317
318 * Makefile.am (dist-hook): Added kludge to fix automake generated
319 dependencies in the distribution archive Makefile.
320
321 2000-06-12 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
322
323 * readline.scm (apropos-completion-function): Don't define and
324 install if the 'regex feature is missing.
325
326 2000-06-06 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
327
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.)
332
333 * readline-activator.scm (activate-readline): Report an error if
334 readline isn't provided by Guile.
335
336 * readline.scm: Report an error if readline isn't provided by
337 Guile; Added :no-backtrace to module header.
338
339 * configure.in: Put more ink before readline version warning.
340 (Thanks to Ian Grant.)
341
342 2000-06-01 Michael Livshin <mlivshin@bigfoot.com>
343
344 * autogen.sh: call ../guile-aclocal.sh instead of aclocal
345
346 2000-05-01 Gary Houston <ghouston@arglist.com>
347
348 * readline.c: include libguile.h, not libguile/libguile.h.
349
350 2000-04-21 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
351
352 * *.*: Change includes so that they always use the "prefixes"
353 libguile/, qt/, guile-readline/, or libltdl/.
354
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.
359
360 2000-04-04 Dirk Herrmann <D.Herrmann@tu-bs.de>
361
362 * readline.c (scm_readline): Must unpack SCM values to access
363 their raw contents.
364
365 2000-03-19 Michael Livshin <mlivshin@bigfoot.com>
366
367 * *.[hc]: add Emacs magic at the end of file, to ensure GNU
368 indentation style.
369
370 2000-03-12 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
371
372 * readline.c (current_input_getc): Don't pass int values through
373 SCM variables.
374 (match_paren): Bugfix: First arg to select is not number of
375 descriptors but the number of the highest descriptor + 1.
376
377 Thu Mar 9 08:00:26 2000 Greg J. Badros <gjb@cs.washington.edu>
378
379 * readline.c: scm_validate.h renamed to validate.h.
380
381 Wed Mar 8 10:43:10 2000 Greg J. Badros <gjb@cs.washington.edu>
382
383 * readline.c (match_paren): Use SELECT_TYPE, not fd_set, for type
384 of readset.
385
386 2000-01-25 Marius Vollmer <mvo@zagadka.ping.de>
387
388 * autogen.sh: Call libtoolize. Pass --add-missing option to
389 automake.
390
391 * readline.scm: Only link glue code when the 'readline feature is
392 not already present. Thanks to Clark McGrew.
393
394 Tue Jan 11 17:51:40 2000 Greg J. Badros <gjb@cs.washington.edu>
395
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.
399
400 2000-01-09 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
401
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.
405
406 Wed Jan 5 11:18:01 2000 Greg J. Badros <gjb@cs.washington.edu>
407
408 * readline.c: Whitespace changes -- added space after
409 SCM_VALIDATE_* macros to match GNU coding standards.
410
411 Wed Jan 5 11:02:40 2000 Greg J. Badros <gjb@cs.washington.edu>
412
413 * readline.c: Rename GUILE_PROC to SCM_DEFINE.
414
415 Mon Dec 13 13:57:57 1999 Greg J. Badros <gjb@cs.washington.edu>
416
417 * readline.c: Include libguile/scm_validate.h
418
419 Sun Dec 12 19:56:52 1999 Greg J. Badros <gjb@cs.washington.edu>
420
421 * readline.c: Updated to use GUILE_PROC, SCM_VALIDATE, and have
422 (now empty) docstrings.
423
424 1999-11-18 Gary Houston <ghouston@freewire.co.uk>
425
426 * readline.c (scm_init_readline): set rl_readline_name to Guile,
427 to allow conditionals in .inputrc.
428
429 1999-10-05 Jim Blandy <jimb@savonarola.red-bean.com>
430
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.
434
435 1999-09-22 Jim Blandy <jimb@savonarola.red-bean.com>
436
437 * configure.in: Call AM_PROG_CC_STDC.
438 * configure, aclocal.m4: Regenerated.
439
440 1999-09-16 Mikael Djurfeldt <mdj@mdj-pc.nada.kth.se>
441
442 * Makefile.am (.c.x): Use same rule as in libguile.
443
444 1999-09-12 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
445
446 * readline.h, readline.scm: Updated copyright notices.
447
448 1999-09-11 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
449
450 * readline.scm (activate-readline): Set (using-readline?).
451
452 1999-09-11 Jim Blandy <jimb@savonarola.red-bean.com>
453
454 * aclocal.m4: Regenerated with newer libtool macros.
455
456 * Makefile.am (DISTCLEANFILES): Get rid of .x files.
457 * Makefile.in: Regenerated.
458 (Thanks to Keisuke Nishida.)
459
460 1999-09-11 Marius Vollmer <mvo@zagadka.ping.de>
461
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.
469
470 * readline.c (scm_readline): Export it to Scheme as "%readline".
471
472 * configure.in: Get version from ../GUILE-VERSION and use it for
473 package version.
474
475 * Makefile.am: Do not install and distribute
476 readline-activator.scm. Install and distribute readline.scm
477 instead.
478
479 * aclocal.m4, Makefile.in, configure, libtool: Regenerated, but
480 probably with the wrong version of the tools.
481
482 1999-08-29 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
483
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.)
491
492 * Makefile.am: Install guile-readline/readline.h.
493
494 1999-08-20 James Blandy <jimb@mule.m17n.org>
495
496 * Makefile.in, aclocal.m4, configure: Regenerated.
497
498 1999-08-17 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
499
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
503 phase.
504
505 1999-08-04 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
506
507 * Makefile.am (INCLUDES): Added -I$(srcdir)/../libguile.
508 (Thanks to Greg Badros.)
509
510 1999-07-24 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
511
512 * readline.c (handle_error): Put a cosmetic newline on
513 rl_outstream on error before closing it.
514
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.
518
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.
522
523 * Makefile.am (BUILT_SOURCES): Added.
524
525 1999-07-23 Marius Vollmer <mvo@zagadka.ping.de>
526
527 * Checked everything into CVS.
528
529 1999-07-22 Marius Vollmer <mvo@zagadka.ping.de>
530
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.
535
536 1999-06-17 Marius Vollmer <mvo@zagadka.ping.de>
537
538 * readline.h, readline.c: Removed exception notice from copyright
539 statement.
540
541 1999-05-16 Marius Vollmer <mvo@zagadka.ping.de>
542
543 * Started guile-readline package. Files are copied from old
544 guile-core package and slightly modified.