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