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