*** empty log message ***
[bpt/guile.git] / guile-readline / ChangeLog
CommitLineData
6caac03c
LC
12007-07-29 Ludovic Courtès <ludo@gnu.org>
2
3 * Makefile.am (INCLUDES): Add Gnulib includes.
4 (libguilereadline_v_@LIBGUILEREADLINE_MAJOR@_la_LIBADD): Added
5 `../lib/libgnu.la'.
6
df449722
LC
72007-07-15 Ludovic Courtès <ludo@gnu.org>
8
9 * LIBGUILEREADLINE-VERSION
10 (LIBGUILEREADLINE_INTERFACE_REVISION): Incremented for release.
11
d3075c52
LC
122007-06-26 Ludovic Courtès <ludo@gnu.org>
13
14 * readline.c (scm_add_history): Free S after invocation of
15 `add_history ()'.
16
62560650
HWN
172007-01-19 Han-Wen Nienhuys <hanwen@lilypond.org>
18
19 * readline.c: terminate option list with NULL.
07109436 20 (scm_init_readline): fix CVS mess-up.
62560650 21
3bff1789
NJ
222006-10-06 Neil Jerram <neil@ossau.uklinux.net>
23
24 * ice-9/readline.scm (new-input-prompt): Renamed from "prompt".
25 (continuation-prompt): Renamed from "prompt2".
26 (make-readline-port, readline, set-readline-prompt!): Reflect
27 above renamings.
28 (activate-readline): Rename locals "read-hook" and "prompt" to
29 "repl-read-hook" and "repl-prompt", to disambiguate them from
30 globals. Save and restore the new-input- and continuation-
31 prompts around the REPL read call.
32
afc4ccd4
KR
332006-10-05 Kevin Ryde <user42@zip.com.au>
34
35 * ice-9/readline.scm (filename-completion-function): Export this.
36
34646b10
KR
372006-04-17 Kevin Ryde <user42@zip.com.au>
38
39 * ice-9/readline.scm: Bump lib file version to libguilereadline-v-18,
40 matching LIBGUILEREADLINE-VERSION.
41
22acb298
KR
422006-05-15 Kevin Ryde <user42@zip.com.au>
43
44 * Makefile.am (INCLUDES): Add "-I." to pick up guile-readline-config.h
45 in snarfer.
46
472006-04-18 Rob Browning <rlb@defaultvalue.org>
48
49 * .cvsignore: Add guile-readline-config.h and
50 guile-readline-config.h.in.
51
52 * readline.c: Don't include Guile private header _scm.h.
53 Include new guile-readline-config.h private header.
54
55 * configure.in: Add AC_CONFIG_AUX_DIR([.]) as suggested in the
56 autotools documentation. Add
57 AM_CONFIG_HEADER([guile-readline-config.h]) so that guile-readline
58 will have its own configure-based config.h equivalent.
59 (HAVE_RL_PRE_INPUT_HOOK): Add documentation template.
60 (GUILE_SIGWINCH_SA_RESTART_CLEARED): Add documentation template.
61
1b09b607
KR
622006-03-12 Neil Jerram <neil@ossau.uklinux.net>
63
64 * ice-9/readline.scm (make-completion-function): New.
65
349b48f9
MV
662006-02-06 Marius Vollmer <mvo@zagadka.de>
67
68 * LIBGUILEREADLINE-VERSION: Bumped versions for 1.9 series.
69
1b09b607
KR
702006-02-06 Marius Vollmer <mvo@zagadka.de>
71
72 * LIBGUILEREADLINE-VERSION: Bumped versions for 1.8.
73
a81b8618
MV
742005-03-02 Marius Vollmer <marius.vollmer@uni-dortmund.de>
75
76 * readline.c: Use scm_current_input_port instead of scm_cur_inp.
77 Use scm_std_select instead of scm_internal_select.
78
51fab002
MV
792004-08-26 Marius Vollmer <marius.vollmer@uni-dortmund.de>
80
81 * LIBGUILEREADLINE-VERSION: Bumped versions for the 1.7.1 release.
82 Added LIBGUILEREADLINE_MAJOR variable for inclusion in the name of
83 the shared library.
84 * configure.in: AC_SUBST it.
85 * Makefile.am: Substitute it into name of library.
1d1a9211 86 * ice-9/readline.scm: Use new name with load-extension.
51fab002 87
b2988f46
MV
882004-08-19 Marius Vollmer <marius.vollmer@uni-dortmund.de>
89
90 * readline.c: Avoid the use of discouraged or
91 deprecated things.
92
590f893b
MV
932004-07-06 Marius Vollmer <marius.vollmer@uni-dortmund.de>
94
95 * readline.c: Replaced all uses of deprecated SCM_FALSEP,
96 SCM_NFALSEP, SCM_BOOL, SCM_NEGATE_BOOL, and SCM_BOOLP with
97 scm_is_false, scm_is_true, scm_from_bool, and scm_is_bool,
98 respectively.
99
060fd2f9
RB
1002004-06-16 Rob Browning <rlb@defaultvalue.org>
101
102 * configure.in: move package and version args to AC_INIT as is now
103 recommended. This also requires m4_esyscmd to read GUILE-VERSION
104 given the way AC_INIT handles its args. Also move "foreign"
105 indication here.
106
107 * Makefile.am: move support for readline.scm to ice-9/ subdir.
108
109 * readline.scm: moved to ./ice-9/
110
111 * .cvsignore: add ice-9 dir.
112
113 * ice-9/Makefile.am: new file.
114
115 * ice-9/readline.scm: moved here from ../
116
117 * ice-9/.cvsignore: new file.
118
c78a96e0
MD
1192004-02-15 Mikael Djurfeldt <mdj@chunk.mit.edu>
120
121 * configure.in: Use AC_PROG_LIBTOOL instead of AM_PROG_LIBTOOL.
122
f1dc5f45
MD
1232004-02-08 Mikael Djurfeldt <djurfeldt@nada.kth.se>
124
125 * Makefile.am (TAGS_FILES): Use this variable instead of
126 ETAGS_ARGS so that TAGS can be built using separate build
127 directory.
128
03b9235a
MV
1292003-05-04 Marius Vollmer <mvo@zagadka.de>
130
131 * configure.in: When checking whether readline clears SA_RESTART,
132 let readline read from "/dev/null". Otherwise, it might be
133 stopped when run in the background with job control, say.
134 Thanks to Michael Talbot-Wilson!
135
cdbb889a
MD
1362003-04-05 Mikael Djurfeldt <djurfeldt@nada.kth.se>
137
138 The intended side-effect of the following change is to make the
139 prompt appear properly when debugging or running Guile in an Emacs
140 buffer. (The readline library has some prompt magic which we were
141 expected to do ourselves when we were bold enough to provide our
142 own redisplay function---but we don't need to do that.)
143
144 * readline.c (redisplay): Removed. (It didn't do anything other
145 than calling rl_redisplay.)
146 (scm_init_readline): Don't inititalize rl_redisplay_function.
147
b3ea745b
RB
1482003-03-19 Rob Browning <rlb@defaultvalue.org>
149
150 * readline.c: add HAVE_CONFIG_H test guarding #include config.h.
151
152 * autogen.sh: add a --force when autoreconfing. We may need to
153 change this if it doesn't work out...
154
155 * Makefile.am (ice-9/readline.scm): new target -- so readline will
156 work from the source tree when guile-readline is added to
157 GUILE_LOAD_PATH.
158 (all-local): add ice-9/readline.scm.
159 (clean-local): remove ice-9/readline at clean time.
160
25ad7681
RB
1612003-02-27 Rob Browning <rlb@defaultvalue.org>
162
163 * autogen.sh: use autoreconf.
164
2f413bc4
NJ
1652003-01-08 Neil Jerram <neil@ossau.uklinux.net>
166
167 * readline.c (scm_readline): Check that scm_cur_outp is an output
168 port, not an input one.
169
b2cbe8d8
RB
1702002-12-08 Rob Browning <rlb@defaultvalue.org>
171
172 * configure.in (GUILE_EFFECTIVE_VERSION): AC_SUBST.
173
174 * Makefile.am (ice9dir): VERSION -> GUILE_EFFECTIVE_VERSION.
175
30f920c3
MV
1762002-10-27 Marius Vollmer <mvo@zagadka.ping.de>
177
178 * readline.c (reentry_barrier_mutex): Reimplemented with
179 scm_make_mutex, etc.
180
c2015a4f
MD
1812002-10-21 Mikael Djurfeldt <mdj@linnaeus>
182
183 * readline.scm (activate-readline): Look for use-emacs-interface
184 option in the guile-user module instead of the-root-module.
185
b592db01
MV
1862002-04-30 Marius Vollmer <marius.vollmer@uni-dortmund.de>
187
188 * autogen.sh: Invoke plain aclocal instead of guile-aclocal.sh.
189 We don't need the Guile m4 macros and the previous invocation of
190 guile-aclocal.sh created the aclocal.m4 file in the wrong
191 directory (see change from 2002-04-26).
192
5caa57b1
MV
1932002-04-26 Marius Vollmer <mvo@zagadka.ping.de>
194
195 * autogen.sh: Change to parent dir before invoking
196 guile-aclocal.sh.
197
dc006627
MV
1982002-04-16 Marius Vollmer <mvo@zagadka.ping.de>
199
200 * Makefile.am (dist-hook): Make sure $(distdir)/Makefile.in is
201 writable before modifying it.
202
21550b10
RB
2032002-04-10 Rob Browning <rlb@defaultvalue.org>
204
205 * configure.in: add definitions to AC_DEFINE calls for new
206 autoconf.
207
208 * .cvsignore: add autom4te.cache and *.c.clean.c.
209
e2bd68e0
MV
2102002-03-24 Marius Vollmer <mvo@zagadka.ping.de>
211
212 * Makefile.am (.c.x): Pass "-o $@" to guile-snarf.
213
71990297
TTN
2142002-03-13 Thien-Thi Nguyen <ttn@giblet.glug.org>
215
216 * Makefile.am (snarfcppopts): New var.
217 (.c.x): Use $(snarfcppopts). Rework guile-snarf usage.
218
edb810bb
SJ
2192002-02-27 Stefan Jahn <stefan@lkcc.org>
220
221 * Makefile.am (EXTRA_DIST): Added the `LIBGUILEREADLINE-VERSION'
222 file.
223
f99b18fa
TTN
2242002-02-25 Thien-Thi Nguyen <ttn@giblet.glug.org>
225
226 * configure.in (LIBGUILEREADLINE-VERSION):
227 Look for this file in $srcdir.
228
8794fdca
RB
2292002-02-24 Rob Browning <rlb@defaultvalue.org>
230
231 * configure.in: source ./LIBGUILEREADLINE-VERSION for version info
232 and then AC_SUBST the resulting variables:
233 LIBGUILEREADLINE_INTERFACE_CURRENT,
234 LIBGUILEREADLINE_INTERFACE_REVISION,
235 LIBGUILEREADLINE_INTERFACE_AGE, and
236 LIBGUILEREADLINE_INTERFACE.
237
238 * Makefile.am (libguilereadline_la_LDFLAGS): use
239 @LIBGUILEREADLINE_INTERFACE@ for version information.
240
241 * LIBGUILEREADLINE-VERSION: new file containing shared lib
242 versioning information.
243
88ac59a9
TTN
2442002-02-12 Thien-Thi Nguyen <ttn@giblet.glug.org>
245
246 * Makefile.am (AUTOMAKE_OPTIONS): Replace "gnu" with "foreign".
247 This undoes the 2002-02-08 change.
248
51477c02
TTN
2492002-02-08 Thien-Thi Nguyen <ttn@giblet.glug.org>
250
251 * Makefile.am (AUTOMAKE_OPTIONS): Replace "foreign" with "gnu".
252
bbd26b5a
NJ
2532002-01-29 Neil Jerram <neil@ossau.uklinux.net>
254
255 * readline.scm (with-readline-completion-function): Renamed from
256 `call-with-readline-completion-function'.
257
ee148ae7
NJ
2582001-11-30 Neil Jerram <neil@ossau.uklinux.net>
259
260 * Makefile.am (EXTRA_DIST): Refer to $(ice9_DATA) rather than
261 readline.scm explicitly.
262 (ETAGS_ARGS): Added.
263
8f99e3f3
SJ
2642001-11-04 Stefan Jahn <stefan@lkcc.org>
265
266 * configure.in (EXTRA_DEFS): Follow-up patch. Using SCM_IMPORT
267 instead of __SCM_IMPORT__.
268
269 * readline.c (scm_readline_init_ports): Disable input/output
270 stream redirection for Win32. The readline package for Win32
271 does not support this. The guile-readline library works fine
272 for command line editing.
273
274 * readline.h (SCM_RL_API): Renamed __FOO__ macros into FOO.
275
257b6d40
MV
2762001-11-02 Marius Vollmer <mvo@zagadka.ping.de>
277
278 Support for native Win32. Thanks to Stefan Jahn!
51477c02 279
257b6d40
MV
280 * Makefile.am: Put `-export-dynamic -no-undefined' into LDFLAGS
281 and add the library `libguile.la' to support linkers which do not
282 allow unresolved symbols inside shared libraries.
283
284 * configure.in: Define AC_LIBTOOL_WIN32_DLL to build clean dlls
285 on Win32 platforms.
286 Define extra compiler flags necessary to build clean dlls.
287
288 * readline.c: Include `io.h' and exclude `sys/time.h' for MinGW.
289
290 * readline.h: Defintion of SCM_RL_API. Prefixed each exported
291 symbol with SCM_RL_API.
292
8c494e99
DH
2932001-08-31 Dirk Herrmann <D.Herrmann@tu-bs.de>
294
295 * readline.c (scm_readline, scm_add_history,
296 scm_filename_completion_function, completion_function): Remove
297 calls to SCM_STRING_COERCE_0TERMINATION_X. Since the substring
298 type is gone, all strings are 0-terminated anyway.
299
fbd5c452
DH
3002001-08-31 Dirk Herrmann <D.Herrmann@tu-bs.de>
301
314f7832 302 * readline.scm: `feature?' is deprecated. Use `provided?'
fbd5c452
DH
303 instead.
304
fada26b2
MV
3052001-08-25 Marius Vollmer <mvo@zagadka.ping.de>
306
307 * readline.scm: Use load-extension instead of explicit
308 dynamic-link/dynamic-call. Removed ".so" extension from library
309 name.
51477c02 310
ee034603
NJ
3112001-08-02 Neil Jerram <neil@ossau.uklinux.net>
312
313 * readline.scm (call-with-readline-completion-function): New.
314
9cc64c3e
MG
3152001-07-18 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
316
317 * Makefile.am, readline.scm: Updated copyright notice.
318
dbb640bd
TTN
3192001-07-09 Thien-Thi Nguyen <ttn@revel.glug.org>
320
321 * readline.c: Remove "face-lift" comment.
322
5b2a7b59
DH
3232001-06-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
324
325 * readline.c (completion_function): Use scm_list_n instead of
326 SCM_LISTn.
327
b629af45
MV
3282001-06-14 Marius Vollmer <mvo@zagadka.ping.de>
329
330 * readline.c, readline.h: Replace "scm_*_t" with "scm_t_*".
331
4ff9f825
MV
3322001-06-14 Marius Vollmer <mvo@zagadka.ping.de>
333
d3075c52 334 Thanks to Matthias Köppe!
4ff9f825
MV
335
336 * configure.in: Check for rl_filename_completion_function.
337 * readline.c (s_scm_filename_completion_function): Use
338 rl_filename_completion_function instead of
339 filename_completion_function, if we have it.
340 (scm_init_readline): Use rl_compentry_func_t instead if Function
341 when _RL_FUNCTION_TYPEDEF is defined.
342
343 * readline.h (scm_clear_history): New prototype.
dbb640bd 344
e81d98ec
DH
3452001-06-07 Dirk Herrmann <D.Herrmann@tu-bs.de>
346
347 * readline.c (current_input_getc): Mark unused parameters with
348 SCM_UNUSED.
349
c794483c
MV
3502001-06-03 Marius Vollmer <mvo@zagadka.ping.de>
351
352 * configure.in: Added AC_PREREQ(2.50) and minimally changed for
353 autoconf 2.50. This is mostly so that the `transparent autoconf
354 wrapper' on Debian picks the right version of autoconf.
355
305bf93c
ML
3562001-05-31 Michael Livshin <mlivshin@bigfoot.com>
357
358 * Makefile.am (libguilereadline_la_SOURCES): removed readline.x
359 from here (not needed).
360 (CLEANFILES): added *.x (and removed from DISTCLEANFILES).
361 (MKDEP): copied from libguile/Makefile.am. not that it matters
362 now, but it will if we stop using BUILT_SOURCES for some reason.
363
90d892e3
MG
3642001-05-24 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
365
366 Make it compile with --disable-deprecated.
367
368 * readline.h: scm_option->scm_option_t.
369
370 * readline.c (stream_from_fport): scm_fport->scm_fport_t;
371 scm_option->scm_option_t.
372
1be6b49c
ML
3732001-05-23 Michael Livshin <mlivshin@bigfoot.com>
374
375 * readline.c (strdup): make `len' a size_t.
376
f3f9dcbc
MV
3772001-05-10 Marius Vollmer <mvo@zagadka.ping.de>
378
379 * readline.c (completion_function): Use SCM_VARIABLE_REF to access
380 scm_readline_completion_function_var.
381 (scm_init_readline): Use scm_c_define instead of scm_sysintern to
382 create scm_readline_completion_function_var.
383
1e177a8f
MV
3842001-04-09 Marius Vollmer <mvo@zagadka.ping.de>
385
386 * readline.c (scm_clear_history): New function.
387 * readline.scm (readline-port): Call clear-history on exit.
388 Thanks to Utz-Uwe Haus.
389
ffdeebc3
KN
3902001-03-09 Keisuke Nishida <kxn30@po.cwru.edu>
391
392 * readline.c: Add #include <stdio.h>
393
9155e458
NJ
3942001-03-05 Neil Jerram <neil@ossau.uklinux.net>
395
396 * readline.scm (make-readline-port): Rewrite using
397 make-line-buffered-input-port.
398 (activate-readline): Call set-buffered-input-continuation?!.
399
d42b03fd
MV
4002001-01-28 Marius Vollmer <mvo@zagadka.ping.de>
401
402 * readline.scm (make-readline-port): PROMPT becomes PROMPT2 as
403 soon as GET-CHARACTER returns any character at all that was
404 previously read. This makes the continuation prompt appear
405 properly for partial expressions. Thanks to Neil Jerram!
406
e9bab9df
DH
4072001-01-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
408
409 This patch fixes a problem reported by Martin Grabmueller about
410 the impossibility to access readline's run-time options.
411
412 * readline.scm: Added a comment about guile's behaviour if one of
413 the ports used by readline are closed.
414
415 (readline-options readline-enable readline-disable,
416 readline-set!): These are now defined here instead of in
417 boot-9.scm.
418
c4a9b7bb
DH
4192001-01-25 Dirk Herrmann <D.Herrmann@tu-bs.de>
420
421 * readline.scm (set-readline-input-port!,
422 set-readline-output-port!): Make sure that only valid port
423 parameters are passed. Thanks to Martin Grabmueller for sending
424 a patch that formed the basis for this change.
425
6c29a390
NJ
4262001-01-18 Neil Jerram <neil@ossau.uklinux.net>
427
428 * readline.scm (make-readline-port): Make readline port
429 input-only.
430
6b098fec
DH
4312000-12-12 Dirk Herrmann <D.Herrmann@tu-bs.de>
432
433 * readline.scm (activate-readline): Lookup 'use-emacs-interface
434 in the-root-module.
435
379b35da
DH
4362000-11-24 Dirk Herrmann <D.Herrmann@tu-bs.de>
437
438 * readline.c (current_input_getc): Use more explicit predicate
439 than SCM_NIMP.
440
441 (scm_readline, scm_readline_init_ports, completion_function):
442 Remove redundant SCM_N?IMP tests.
443
444 (scm_readline): Fixed default input/output port parameter
445 handling.
446
08b5e6c3
DH
4472000-11-24 Dirk Herrmann <D.Herrmann@tu-bs.de>
448
449 * readline.c (scm_readline, scm_add_history, completion_function,
450 scm_filename_completion_function): Replace calls to
451 SCM_COERCE_SUBSTR with SCM_STRING_COERCE_0TERMINATION_X.
452
453 (internal_readline, scm_add_history, scm_read_history,
454 scm_write_history, scm_filename_completion_function,
455 completion_function): Replace SCM_CHARS with SCM_STRING_CHARS.
456
c2c27602
GH
4572000-11-19 Gary Houston <ghouston@arglist.com>
458
459 * configure.in: test $ac_cv_lib_readline_readline instead of
460 $ac_cv_lib_readline_main. Thanks to Lars J. Aas.
461
e621f2b0
MV
4622000-09-17 Marius Vollmer <mvo@zagadka.ping.de>
463
464 * configure.in: Check for curses, terminfo and termlib libraries
465 in addition to ncurses and termcap.
466 Check for `readline' in libreadline, not for `main'.
467 Thanks to Albert Chin!
dbb640bd 468
ff0fd4e4
MV
4692000-07-17 Marius Vollmer <mvo@zagadka.ping.de>
470
471 * configure.in (rl_pre_input_hook): Don't check for this with
472 AC_CHECK_FUNCS, it doesn't work on HP/UX. Test for it with
473 AC_TRY_LINK.
474
264871aa
MD
4752000-06-19 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
476
477 * readline.c (sigwinch_enable_restart, scm_init_readline):
478 Re-enable restart for SIGWINCH signal.
479
480 * configure.in: Added test if readline clears SA_RESTART flag for
481 SIGWINCH. (Thanks to Dale P. Smith.)
e0a7dd34 482 Check for siginterrupt and rl_pre_input_hook.
264871aa 483
26c9c3ce
MD
4842000-06-14 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
485
486 * readline.c (scm_readline): Added parenthesis around && within
487 ||.
488 Fixed up prototype for `reentry_barrier'.
489 Conditionally #include <unistd.h>. (Needed for `dup'.)
490
54cb2def
MD
4912000-06-13 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
492
493 * Makefile.am (dist-hook): Added kludge to fix automake generated
494 dependencies in the distribution archive Makefile.
495
fc1b8337
MD
4962000-06-12 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
497
498 * readline.scm (apropos-completion-function): Don't define and
499 install if the 'regex feature is missing.
500
a6596faa
MD
5012000-06-06 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
502
503 * readline.c: Always provide scm_init_readline, also if readline
504 support is not included. Otherwise, a strange dynamic loading
505 error will occur. (It would be better not to install
506 libguilereadline at all.)
507
508 * readline-activator.scm (activate-readline): Report an error if
509 readline isn't provided by Guile.
510
511 * readline.scm: Report an error if readline isn't provided by
512 Guile; Added :no-backtrace to module header.
513
514 * configure.in: Put more ink before readline version warning.
515 (Thanks to Ian Grant.)
516
65545721
ML
5172000-06-01 Michael Livshin <mlivshin@bigfoot.com>
518
519 * autogen.sh: call ../guile-aclocal.sh instead of aclocal
dbb640bd 520
7f5fa419
GH
5212000-05-01 Gary Houston <ghouston@arglist.com>
522
523 * readline.c: include libguile.h, not libguile/libguile.h.
524
a0599745
MD
5252000-04-21 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
526
527 * *.*: Change includes so that they always use the "prefixes"
528 libguile/, qt/, guile-readline/, or libltdl/.
529
530 * Makefile.am (DEFS): Added. automake adds -I options to DEFS,
531 and we don't want that.
532 (INCLUDES): Removed all -I options except for the root source
533 directory and the root build directory.
dbb640bd 534
f60d011a
DH
5352000-04-04 Dirk Herrmann <D.Herrmann@tu-bs.de>
536
537 * readline.c (scm_readline): Must unpack SCM values to access
538 their raw contents.
539
89e00824
ML
5402000-03-19 Michael Livshin <mlivshin@bigfoot.com>
541
542 * *.[hc]: add Emacs magic at the end of file, to ensure GNU
543 indentation style.
544
58d80560
MD
5452000-03-12 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
546
547 * readline.c (current_input_getc): Don't pass int values through
548 SCM variables.
7236512e
MD
549 (match_paren): Bugfix: First arg to select is not number of
550 descriptors but the number of the highest descriptor + 1.
58d80560 551
76d94124
GB
552Thu Mar 9 08:00:26 2000 Greg J. Badros <gjb@cs.washington.edu>
553
554 * readline.c: scm_validate.h renamed to validate.h.
555
e6a9f3c4
GB
556Wed Mar 8 10:43:10 2000 Greg J. Badros <gjb@cs.washington.edu>
557
558 * readline.c (match_paren): Use SELECT_TYPE, not fd_set, for type
559 of readset.
560
3a721413
MV
5612000-01-25 Marius Vollmer <mvo@zagadka.ping.de>
562
563 * autogen.sh: Call libtoolize. Pass --add-missing option to
564 automake.
565
566 * readline.scm: Only link glue code when the 'readline feature is
567 not already present. Thanks to Clark McGrew.
568
c262d0f1
GB
569Tue Jan 11 17:51:40 2000 Greg J. Badros <gjb@cs.washington.edu>
570
571 * readline.c (scm_init_readline): Drop extra argument to
572 scm_mutex_init as that argument should not exist. I do not know
573 how this escaped detection for so long.
dbb640bd 574
b9bb8cab
MD
5752000-01-09 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
576
577 * readline.c (match_paren): Changed return type to int (this is
578 the definition in readline 4) and modified code layout according
579 to GNU coding standards.
580
2cc0f8cb
GB
581Wed Jan 5 11:18:01 2000 Greg J. Badros <gjb@cs.washington.edu>
582
583 * readline.c: Whitespace changes -- added space after
584 SCM_VALIDATE_* macros to match GNU coding standards.
585
ca8cd130
GB
586Wed Jan 5 11:02:40 2000 Greg J. Badros <gjb@cs.washington.edu>
587
588 * readline.c: Rename GUILE_PROC to SCM_DEFINE.
589
dceef6be
GB
590Mon Dec 13 13:57:57 1999 Greg J. Badros <gjb@cs.washington.edu>
591
592 * readline.c: Include libguile/scm_validate.h
593
3a596d3c
GB
594Sun Dec 12 19:56:52 1999 Greg J. Badros <gjb@cs.washington.edu>
595
596 * readline.c: Updated to use GUILE_PROC, SCM_VALIDATE, and have
597 (now empty) docstrings.
598
5c11cc9d
GH
5991999-11-18 Gary Houston <ghouston@freewire.co.uk>
600
601 * readline.c (scm_init_readline): set rl_readline_name to Guile,
602 to allow conditionals in .inputrc.
603
0c1221ab
JB
6041999-10-05 Jim Blandy <jimb@savonarola.red-bean.com>
605
0cbedb5b
JB
606 * Makefile.in, configure, aclocal.m4: Deleted from CVS repository.
607 Run the autogen.sh script to create generated files like these.
e8ff4648 608 * autogen.sh: New script, invoked by the top-level autogen.sh.
0c1221ab 609
fc97c626
JB
6101999-09-22 Jim Blandy <jimb@savonarola.red-bean.com>
611
612 * configure.in: Call AM_PROG_CC_STDC.
613 * configure, aclocal.m4: Regenerated.
614
8cc9503d
MD
6151999-09-16 Mikael Djurfeldt <mdj@mdj-pc.nada.kth.se>
616
617 * Makefile.am (.c.x): Use same rule as in libguile.
618
03ce8ed1
MD
6191999-09-12 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
620
30772a34 621 * readline.h, readline.scm: Updated copyright notices.
03ce8ed1 622
f14d3ff8
MD
6231999-09-11 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
624
625 * readline.scm (activate-readline): Set (using-readline?).
626
49537948
JB
6271999-09-11 Jim Blandy <jimb@savonarola.red-bean.com>
628
b142c81d
JB
629 * aclocal.m4: Regenerated with newer libtool macros.
630
49537948
JB
631 * Makefile.am (DISTCLEANFILES): Get rid of .x files.
632 * Makefile.in: Regenerated.
633 (Thanks to Keisuke Nishida.)
634
98baa684
MV
6351999-09-11 Marius Vollmer <mvo@zagadka.ping.de>
636
637 * readline.scm: Moved from ../ice-9.
638 Dynamically link libguilereadline.so.
639 (readline): Just define in this module, do not overwrite builtin
640 variable. The builtin readline function is now named "%readline",
641 so this works. See below.
642 (activate-readline): New function which contains the readline
643 activation code formerly found in top-repl.
dbb640bd 644
98baa684
MV
645 * readline.c (scm_readline): Export it to Scheme as "%readline".
646
647 * configure.in: Get version from ../GUILE-VERSION and use it for
648 package version.
649
650 * Makefile.am: Do not install and distribute
651 readline-activator.scm. Install and distribute readline.scm
652 instead.
653
654 * aclocal.m4, Makefile.in, configure, libtool: Regenerated, but
655 probably with the wrong version of the tools.
656
2b0cc4cf
MD
6571999-08-29 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
658
659 The following change makes it possible for applications to have
660 their own version of scm_readline.
661 * readline.c, readline.h (rl_cleanup_after_signal,
662 rl_free_line_state): Made global.
663 (scm_readline_init_ports): New function.
664 (scm_readline): Use scm_readline_init_ports.
665 (Thanks to Anders Holst.)
666
667 * Makefile.am: Install guile-readline/readline.h.
dbb640bd 668
a343458d
JB
6691999-08-20 James Blandy <jimb@mule.m17n.org>
670
671 * Makefile.in, aclocal.m4, configure: Regenerated.
672
6faab786
MD
6731999-08-17 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
674
675 * configure.in (HAVE_RL_GETC_FUNCTION): Modified test to actually
676 use rl_getc_function. Otherwise smart compilers, like gcc,
677 optimize away the reference so that no error occurs in the link
678 phase.
679
9daf8124
MD
6801999-08-04 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
681
682 * Makefile.am (INCLUDES): Added -I$(srcdir)/../libguile.
683 (Thanks to Greg Badros.)
684
f29f2933
MD
6851999-07-24 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
686
687 * readline.c (handle_error): Put a cosmetic newline on
688 rl_outstream on error before closing it.
689
690 * configure.in: Changed AC_MSG_ERROR into AC_MSG_WARN in case
691 readline doesn't exist on the system, so that configuration can
692 proceed normally without readline.
693
694 * readline.c: #include "libguile/_scm.h" (so that we get the
695 configuration information) and fix other includes so that they'll
696 work on a system where guile is not yet installed.
697
698 * Makefile.am (BUILT_SOURCES): Added.
699
c374ab69
MV
7001999-07-23 Marius Vollmer <mvo@zagadka.ping.de>
701
702 * Checked everything into CVS.
703
7041999-07-22 Marius Vollmer <mvo@zagadka.ping.de>
705
706 * readline.c (stream_from_fport): New function.
707 (scm_readline): Use it to for the input and output ports. Close
708 the streams after readline returns.
709 (handle_error): Close them also when an error occured.
710
7111999-06-17 Marius Vollmer <mvo@zagadka.ping.de>
712
713 * readline.h, readline.c: Removed exception notice from copyright
714 statement.
715
7161999-05-16 Marius Vollmer <mvo@zagadka.ping.de>
717
718 * Started guile-readline package. Files are copied from old
719 guile-core package and slightly modified.
d3075c52
LC
720
721;; Local Variables:
722;; coding: utf-8
723;; End: