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