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