summaryrefslogtreecommitdiff
path: root/guile-readline/ChangeLog
blob: 5adbb6e54510bf423a4102d8f00ad7bf0a3143c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
2001-05-10  Marius Vollmer  <mvo@zagadka.ping.de>

	* readline.c (completion_function): Use SCM_VARIABLE_REF to access
	scm_readline_completion_function_var.
	(scm_init_readline): Use scm_c_define instead of scm_sysintern to
	create scm_readline_completion_function_var.

2001-04-09  Marius Vollmer  <mvo@zagadka.ping.de>

	* readline.c (scm_clear_history): New function.
	* readline.scm (readline-port): Call clear-history on exit.
	Thanks to Utz-Uwe Haus.

2001-03-09  Keisuke Nishida  <kxn30@po.cwru.edu>

	* readline.c: Add #include <stdio.h>

2001-03-05  Neil Jerram  <neil@ossau.uklinux.net>

	* readline.scm (make-readline-port): Rewrite using
	make-line-buffered-input-port.
	(activate-readline): Call set-buffered-input-continuation?!.

2001-01-28  Marius Vollmer  <mvo@zagadka.ping.de>

	* readline.scm (make-readline-port): PROMPT becomes PROMPT2 as
	soon as GET-CHARACTER returns any character at all that was
	previously read.  This makes the continuation prompt appear
	properly for partial expressions.  Thanks to Neil Jerram!

2001-01-26  Dirk Herrmann  <D.Herrmann@tu-bs.de>

	This patch fixes a problem reported by Martin Grabmueller about
	the impossibility to access readline's run-time options.

	* readline.scm:  Added a comment about guile's behaviour if one of
	the ports used by readline are closed.

	(readline-options readline-enable readline-disable,
	readline-set!):  These are now defined here instead of in
	boot-9.scm.

2001-01-25  Dirk Herrmann  <D.Herrmann@tu-bs.de>

	* readline.scm (set-readline-input-port!,
	set-readline-output-port!):  Make sure that only valid port
	parameters are passed.  Thanks to Martin Grabmueller for sending
	a patch that formed the basis for this change.

2001-01-18  Neil Jerram  <neil@ossau.uklinux.net>

	* readline.scm (make-readline-port): Make readline port
	input-only.

2000-12-12  Dirk Herrmann  <D.Herrmann@tu-bs.de>

	* readline.scm (activate-readline):  Lookup 'use-emacs-interface
	in the-root-module.

2000-11-24  Dirk Herrmann  <D.Herrmann@tu-bs.de>

	* readline.c (current_input_getc):  Use more explicit predicate
	than SCM_NIMP.

	(scm_readline, scm_readline_init_ports, completion_function):
	Remove redundant SCM_N?IMP tests.

	(scm_readline):  Fixed default input/output port parameter
	handling.

2000-11-24  Dirk Herrmann  <D.Herrmann@tu-bs.de>

	* readline.c (scm_readline, scm_add_history, completion_function,
	scm_filename_completion_function):  Replace calls to
	SCM_COERCE_SUBSTR with SCM_STRING_COERCE_0TERMINATION_X.

	(internal_readline, scm_add_history, scm_read_history,
	scm_write_history, scm_filename_completion_function,
	completion_function):  Replace SCM_CHARS with SCM_STRING_CHARS.

2000-11-19  Gary Houston  <ghouston@arglist.com>

	* configure.in: test $ac_cv_lib_readline_readline instead of
	$ac_cv_lib_readline_main.  Thanks to Lars J. Aas.

2000-09-17  Marius Vollmer  <mvo@zagadka.ping.de>

	* configure.in: Check for curses, terminfo and termlib libraries
	in addition to ncurses and termcap.
	Check for `readline' in libreadline, not for `main'.
	Thanks to Albert Chin!
	
2000-07-17  Marius Vollmer  <mvo@zagadka.ping.de>

	* configure.in (rl_pre_input_hook): Don't check for this with
	AC_CHECK_FUNCS, it doesn't work on HP/UX.  Test for it with
	AC_TRY_LINK.

2000-06-19  Mikael Djurfeldt  <mdj@thalamus.nada.kth.se>

	* readline.c (sigwinch_enable_restart, scm_init_readline):
	Re-enable restart for SIGWINCH signal.

	* configure.in: Added test if readline clears SA_RESTART flag for
	SIGWINCH.  (Thanks to Dale P. Smith.)
	Check for siginterrupt and rl_pre_input_hook.

2000-06-14  Mikael Djurfeldt  <mdj@thalamus.nada.kth.se>

	* readline.c (scm_readline): Added parenthesis around && within
	||.
	Fixed up prototype for `reentry_barrier'.
	Conditionally #include <unistd.h>.  (Needed for `dup'.)

2000-06-13  Mikael Djurfeldt  <mdj@thalamus.nada.kth.se>

	* Makefile.am (dist-hook): Added kludge to fix automake generated
	dependencies in the distribution archive Makefile.

2000-06-12  Mikael Djurfeldt  <mdj@thalamus.nada.kth.se>

	* readline.scm (apropos-completion-function): Don't define and
	install if the 'regex feature is missing.

2000-06-06  Mikael Djurfeldt  <mdj@mdj.nada.kth.se>

	* readline.c: Always provide scm_init_readline, also if readline
	support is not included.  Otherwise, a strange dynamic loading
	error will occur.  (It would be better not to install
	libguilereadline at all.)

	* readline-activator.scm (activate-readline): Report an error if
	readline isn't provided by Guile.

	* readline.scm: Report an error if readline isn't provided by
	Guile;  Added :no-backtrace to module header.

	* configure.in: Put more ink before readline version warning.
	(Thanks to Ian Grant.)

2000-06-01  Michael Livshin  <mlivshin@bigfoot.com>

	* autogen.sh: call ../guile-aclocal.sh instead of aclocal
	
2000-05-01  Gary Houston  <ghouston@arglist.com>

	* readline.c: include libguile.h, not libguile/libguile.h.

2000-04-21  Mikael Djurfeldt  <mdj@thalamus.nada.kth.se>

	* *.*: Change includes so that they always use the "prefixes"
	libguile/, qt/, guile-readline/, or libltdl/.

	* Makefile.am (DEFS): Added.  automake adds -I options to DEFS,
	and we don't want that.
	(INCLUDES): Removed all -I options except for the root source
	directory and the root build directory.
	
2000-04-04  Dirk Herrmann  <D.Herrmann@tu-bs.de>

	* readline.c (scm_readline):  Must unpack SCM values to access
	their raw contents.

2000-03-19  Michael Livshin  <mlivshin@bigfoot.com>

	* *.[hc]: add Emacs magic at the end of file, to ensure GNU
 	indentation style.

2000-03-12  Mikael Djurfeldt  <mdj@thalamus.nada.kth.se>

	* readline.c (current_input_getc): Don't pass int values through
	SCM variables.
	(match_paren): Bugfix: First arg to select is not number of
	descriptors but the number of the highest descriptor + 1.

Thu Mar  9 08:00:26 2000  Greg J. Badros  <gjb@cs.washington.edu>

	* readline.c: scm_validate.h renamed to validate.h.

Wed Mar  8 10:43:10 2000  Greg J. Badros  <gjb@cs.washington.edu>

	* readline.c (match_paren): Use SELECT_TYPE, not fd_set, for type
 	of readset.

2000-01-25  Marius Vollmer  <mvo@zagadka.ping.de>

	* autogen.sh: Call libtoolize.  Pass --add-missing option to
	automake.

	* readline.scm: Only link glue code when the 'readline feature is
	not already present.  Thanks to Clark McGrew.

Tue Jan 11 17:51:40 2000  Greg J. Badros  <gjb@cs.washington.edu>

	* readline.c (scm_init_readline): Drop extra argument to
 	scm_mutex_init as that argument should not exist.  I do not know
	how this escaped detection for so long.
	
2000-01-09  Mikael Djurfeldt  <mdj@thalamus.nada.kth.se>

	* readline.c (match_paren): Changed return type to int (this is
	the definition in readline 4) and modified code layout according
	to GNU coding standards.

Wed Jan  5 11:18:01 2000  Greg J. Badros  <gjb@cs.washington.edu>

	* readline.c: Whitespace changes -- added space after
	SCM_VALIDATE_* macros to match GNU coding standards.

Wed Jan  5 11:02:40 2000  Greg J. Badros  <gjb@cs.washington.edu>

	* readline.c: Rename GUILE_PROC to SCM_DEFINE.

Mon Dec 13 13:57:57 1999  Greg J. Badros  <gjb@cs.washington.edu>

	* readline.c: Include libguile/scm_validate.h

Sun Dec 12 19:56:52 1999  Greg J. Badros  <gjb@cs.washington.edu>

	* readline.c: Updated to use GUILE_PROC, SCM_VALIDATE, and have
	(now empty) docstrings.

1999-11-18  Gary Houston  <ghouston@freewire.co.uk>

	* readline.c (scm_init_readline): set rl_readline_name to Guile,
	to allow conditionals in  .inputrc.

1999-10-05  Jim Blandy  <jimb@savonarola.red-bean.com>

	* Makefile.in, configure, aclocal.m4: Deleted from CVS repository.
	Run the autogen.sh script to create generated files like these.
	* autogen.sh: New script, invoked by the top-level autogen.sh.

1999-09-22  Jim Blandy  <jimb@savonarola.red-bean.com>

	* configure.in: Call AM_PROG_CC_STDC.
	* configure, aclocal.m4: Regenerated.

1999-09-16  Mikael Djurfeldt  <mdj@mdj-pc.nada.kth.se>

	* Makefile.am (.c.x): Use same rule as in libguile.

1999-09-12  Mikael Djurfeldt  <mdj@thalamus.nada.kth.se>

	* readline.h, readline.scm: Updated copyright notices.

1999-09-11  Mikael Djurfeldt  <mdj@thalamus.nada.kth.se>

	* readline.scm (activate-readline): Set (using-readline?).

1999-09-11  Jim Blandy  <jimb@savonarola.red-bean.com>

	* aclocal.m4: Regenerated with newer libtool macros.

	* Makefile.am (DISTCLEANFILES): Get rid of .x files.
	* Makefile.in: Regenerated.
	(Thanks to Keisuke Nishida.)

1999-09-11  Marius Vollmer  <mvo@zagadka.ping.de>

	* readline.scm: Moved from ../ice-9.
	Dynamically link libguilereadline.so.
	(readline): Just define in this module, do not overwrite builtin
	variable.  The builtin readline function is now named "%readline",
	so this works.  See below.
	(activate-readline): New function which contains the readline
	activation code formerly found in top-repl.
	
	* readline.c (scm_readline): Export it to Scheme as "%readline".

	* configure.in: Get version from ../GUILE-VERSION and use it for
	package version.

	* Makefile.am: Do not install and distribute
	readline-activator.scm.  Install and distribute readline.scm
	instead.

	* aclocal.m4, Makefile.in, configure, libtool: Regenerated, but
	probably with the wrong version of the tools.

1999-08-29  Mikael Djurfeldt  <mdj@thalamus.nada.kth.se>

	The following change makes it possible for applications to have
	their own version of scm_readline.
	* readline.c, readline.h (rl_cleanup_after_signal,
	rl_free_line_state): Made global.
	(scm_readline_init_ports): New function.
	(scm_readline): Use scm_readline_init_ports.
	(Thanks to Anders Holst.)

	* Makefile.am: Install guile-readline/readline.h.
	
1999-08-20  James Blandy  <jimb@mule.m17n.org>

	* Makefile.in, aclocal.m4, configure: Regenerated.

1999-08-17  Mikael Djurfeldt  <mdj@thalamus.nada.kth.se>

	* configure.in (HAVE_RL_GETC_FUNCTION): Modified test to actually
	use rl_getc_function.  Otherwise smart compilers, like gcc,
	optimize away the reference so that no error occurs in the link
	phase.

1999-08-04  Mikael Djurfeldt  <mdj@thalamus.nada.kth.se>

	* Makefile.am (INCLUDES): Added -I$(srcdir)/../libguile.
	(Thanks to Greg Badros.)

1999-07-24  Mikael Djurfeldt  <mdj@thalamus.nada.kth.se>

	* readline.c (handle_error): Put a cosmetic newline on
	rl_outstream on error before closing it.

	* configure.in: Changed AC_MSG_ERROR into AC_MSG_WARN in case
	readline doesn't exist on the system, so that configuration can
	proceed normally without readline.

	* readline.c: #include "libguile/_scm.h" (so that we get the
	configuration information) and fix other includes so that they'll
	work on a system where guile is not yet installed.

	* Makefile.am (BUILT_SOURCES): Added.

1999-07-23  Marius Vollmer  <mvo@zagadka.ping.de>

	* Checked everything into CVS.

1999-07-22  Marius Vollmer  <mvo@zagadka.ping.de>

	* readline.c (stream_from_fport): New function.
	(scm_readline): Use it to for the input and output ports.  Close
	the streams after readline returns.
	(handle_error): Close them also when an error occured.

1999-06-17  Marius Vollmer  <mvo@zagadka.ping.de>

	* readline.h, readline.c: Removed exception notice from copyright
	statement.

1999-05-16  Marius Vollmer  <mvo@zagadka.ping.de>

	* Started guile-readline package.  Files are copied from old
	guile-core package and slightly modified.