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