Make it compile with --disable-deprecated.
[bpt/guile.git] / guile-readline / ChangeLog
CommitLineData
90d892e3
MG
12001-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
1be6b49c
ML
102001-05-23 Michael Livshin <mlivshin@bigfoot.com>
11
12 * readline.c (strdup): make `len' a size_t.
13
f3f9dcbc
MV
142001-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
1e177a8f
MV
212001-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
ffdeebc3
KN
272001-03-09 Keisuke Nishida <kxn30@po.cwru.edu>
28
29 * readline.c: Add #include <stdio.h>
30
9155e458
NJ
312001-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
d42b03fd
MV
372001-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
e9bab9df
DH
442001-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
c4a9b7bb
DH
562001-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
6c29a390
NJ
632001-01-18 Neil Jerram <neil@ossau.uklinux.net>
64
65 * readline.scm (make-readline-port): Make readline port
66 input-only.
67
6b098fec
DH
682000-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
379b35da
DH
732000-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
08b5e6c3
DH
842000-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
c2c27602
GH
942000-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
e621f2b0
MV
992000-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
ff0fd4e4
MV
1062000-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
264871aa
MD
1122000-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.)
e0a7dd34 119 Check for siginterrupt and rl_pre_input_hook.
264871aa 120
26c9c3ce
MD
1212000-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
54cb2def
MD
1282000-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
fc1b8337
MD
1332000-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
a6596faa
MD
1382000-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
65545721
ML
1542000-06-01 Michael Livshin <mlivshin@bigfoot.com>
155
156 * autogen.sh: call ../guile-aclocal.sh instead of aclocal
157
7f5fa419
GH
1582000-05-01 Gary Houston <ghouston@arglist.com>
159
160 * readline.c: include libguile.h, not libguile/libguile.h.
161
a0599745
MD
1622000-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
f60d011a
DH
1722000-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
89e00824
ML
1772000-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
58d80560
MD
1822000-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.
7236512e
MD
186 (match_paren): Bugfix: First arg to select is not number of
187 descriptors but the number of the highest descriptor + 1.
58d80560 188
76d94124
GB
189Thu 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
e6a9f3c4
GB
193Wed 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
3a721413
MV
1982000-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
c262d0f1
GB
206Tue 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
b9bb8cab
MD
2122000-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
2cc0f8cb
GB
218Wed 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
ca8cd130
GB
223Wed Jan 5 11:02:40 2000 Greg J. Badros <gjb@cs.washington.edu>
224
225 * readline.c: Rename GUILE_PROC to SCM_DEFINE.
226
dceef6be
GB
227Mon Dec 13 13:57:57 1999 Greg J. Badros <gjb@cs.washington.edu>
228
229 * readline.c: Include libguile/scm_validate.h
230
3a596d3c
GB
231Sun 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
5c11cc9d
GH
2361999-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
0c1221ab
JB
2411999-10-05 Jim Blandy <jimb@savonarola.red-bean.com>
242
0cbedb5b
JB
243 * Makefile.in, configure, aclocal.m4: Deleted from CVS repository.
244 Run the autogen.sh script to create generated files like these.
e8ff4648 245 * autogen.sh: New script, invoked by the top-level autogen.sh.
0c1221ab 246
fc97c626
JB
2471999-09-22 Jim Blandy <jimb@savonarola.red-bean.com>
248
249 * configure.in: Call AM_PROG_CC_STDC.
250 * configure, aclocal.m4: Regenerated.
251
8cc9503d
MD
2521999-09-16 Mikael Djurfeldt <mdj@mdj-pc.nada.kth.se>
253
254 * Makefile.am (.c.x): Use same rule as in libguile.
255
03ce8ed1
MD
2561999-09-12 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
257
30772a34 258 * readline.h, readline.scm: Updated copyright notices.
03ce8ed1 259
f14d3ff8
MD
2601999-09-11 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
261
262 * readline.scm (activate-readline): Set (using-readline?).
263
49537948
JB
2641999-09-11 Jim Blandy <jimb@savonarola.red-bean.com>
265
b142c81d
JB
266 * aclocal.m4: Regenerated with newer libtool macros.
267
49537948
JB
268 * Makefile.am (DISTCLEANFILES): Get rid of .x files.
269 * Makefile.in: Regenerated.
270 (Thanks to Keisuke Nishida.)
271
98baa684
MV
2721999-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
2b0cc4cf
MD
2941999-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
a343458d
JB
3061999-08-20 James Blandy <jimb@mule.m17n.org>
307
308 * Makefile.in, aclocal.m4, configure: Regenerated.
309
6faab786
MD
3101999-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
9daf8124
MD
3171999-08-04 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
318
319 * Makefile.am (INCLUDES): Added -I$(srcdir)/../libguile.
320 (Thanks to Greg Badros.)
321
f29f2933
MD
3221999-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
c374ab69
MV
3371999-07-23 Marius Vollmer <mvo@zagadka.ping.de>
338
339 * Checked everything into CVS.
340
3411999-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
3481999-06-17 Marius Vollmer <mvo@zagadka.ping.de>
349
350 * readline.h, readline.c: Removed exception notice from copyright
351 statement.
352
3531999-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.