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