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