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