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