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