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