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