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