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