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