* readline.c: Make new SIGNALS_* macros to parameterize the
[external/binutils.git] / readline / ChangeLog
1 Mon Jun 15 01:35:55 1992  John Gilmore  (gnu at cygnus.com)
2
3         * readline.c: Make new SIGNALS_* macros to parameterize the 
4         ugly changes in signal blocking macro.  Use them throughout,
5         reducing #ifdef HAVE_POSIX_SIGNALS and HAVE_BSD_SIGNALS clutter
6         significantly.  Make all such places use POSIX if available,
7         to avoid losing with poor `sigsetmask' emulation from libiberty.
8
9 Sun Jun 14 15:19:51 1992  Stu Grossman  (grossman at cygnus.com)
10
11         * readline.c (insert_some_chars):  Return void.
12
13 Thu Jun 11 01:27:45 1992  John Gilmore  (gnu at cygnus.com)
14
15         * readline.c:  #undef PC, which Solaris2 defines in sys/types.h,
16         clobbering the termcap global variable PC.
17
18 Tue Jun  9 17:30:23 1992  Fred Fish  (fnf@cygnus.com)
19
20         * config/{mh-ncr3000, mh-sysv4}:  Change INSTALL to use
21         /usr/ucb/install.
22
23 Mon Jun  8 23:10:07 1992  Fred Fish  (fnf@cygnus.com)
24
25         * readline.h (rl_completer_quote_characters):  Add declaration.
26         * readline.c (rl_completer_quote_characters):  Add global var.
27         * readline.c (strpbrk):  Add prototype and function.
28         * readline.c (rl_complete_internal):  Add code to handle
29         expansion of quoted strings.
30
31 Mon May 11 12:39:30 1992  John Gilmore  (gnu at cygnus.com)
32
33         * readline.c:  Can't initialize FILE *'s with stdin and stdout,
34         because they might not be constant.  Patch from Tom Quinn,
35         trq@dinoysos.thphys.ox.ac.uk.
36
37 Tue Apr 28 21:52:34 1992  John Gilmore  (gnu at cygnus.com)
38
39         * readline.h:  Declare rl_event_hook (which already existed).
40         Suggested by Christoph Tietz <tietz@zi.gmd.dbp.de>.
41
42 Wed Apr 22 18:08:01 1992  K. Richard Pixley  (rich@rtl.cygnus.com)
43
44         * configure.in: remove subdirs declaration.  The obsolete semantic
45           for subdirs has been usurped by per's new meaning.
46
47 Tue Apr 21 11:54:23 1992  K. Richard Pixley  (rich@cygnus.com)
48
49         * Makefile.in: rework CFLAGS so that they can be set on the
50           command line to make.  Remove MINUS_G.  Default CFLAGS to -g.
51
52 Fri Apr 10 23:02:27 1992  Fred Fish  (fnf@cygnus.com)
53
54         * configure.in:  Recognize new ncr3000 config.
55         * config/mh-ncr3000:  New NCR 3000 config file.
56
57 Wed Mar 25 10:46:30 1992  John Gilmore  (gnu at cygnus.com)
58
59         * history.c (stifle_history):  Negative arg treated as zero.
60
61 Tue Mar 24 23:46:20 1992  K. Richard Pixley  (rich@cygnus.com)
62
63         * config/mh-sysv: INSTALL_PROG -> INSTALL.
64
65 Mon Feb 10 01:41:35 1992  Brian Fox  (bfox at gnuwest.fsf.org)
66
67         * history.c (history_do_write) Build a buffer of all of the lines
68         to write and write them in one fell swoop (lower overhead than
69         calling write () for each line).  Suggested by Peter Ho.
70
71         * vi_mode.c (rl_vi_subst) Don't forget to end the undo group.
72
73 Sat Mar  7 00:15:36 1992  K. Richard Pixley  (rich@rtl.cygnus.com)
74
75         * Makefile.in: remove FIXME's on info and install-info targets.
76
77 Fri Mar  6 22:02:04 1992  K. Richard Pixley  (rich@cygnus.com)
78
79         * Makefile.in: added check target.
80
81 Wed Feb 26 18:04:40 1992  K. Richard Pixley  (rich@cygnus.com)
82
83         * Makefile.in, configure.in: removed traces of namesubdir,
84           -subdirs, $(subdir), $(unsubdir), some rcs triggers.  Forced
85           copyrights to '92, changed some from Cygnus to FSF.
86
87 Fri Feb 21 14:37:32 1992  Steve Chamberlain  (sac at rtl.cygnus.com)
88
89         * readline.c, examples/fileman.c: patches from DJ to support DOS
90
91 Thu Feb 20 23:23:16 1992  Stu Grossman  (grossman at cygnus.com)
92
93         * readline.c (rl_read_init_file):  Make sure that null filename is
94         not passed to open() or else we end up opening the directory, and
95         read a bunch of garbage into keymap[].
96
97 Mon Feb 17 17:15:09 1992  Fred Fish  (fnf at cygnus.com)
98
99         * readline.c (readline_default_bindings):  Only make use of VLNEXT
100         when both VLNEXT and TERMIOS_TTY_DRIVER is defined.  On SVR4
101         <termio.h> includes <termios.h>, so VLNEXT is always defined.
102
103         * sysdep-norm.h (_POSIX_VERSION):  Define this for all SVR4
104         systems so that <termios.h> gets used, instead of <termio.h>.
105
106 Fri Dec 20 12:04:31 1991  Fred Fish  (fnf at cygnus.com)
107
108         * configure.in:  Change svr4 references to sysv4.
109
110 Tue Dec 10 04:07:20 1991  K. Richard Pixley  (rich at rtl.cygnus.com)
111
112         * Makefile.in: infodir belongs in datadir.
113
114 Fri Dec  6 23:23:14 1991  K. Richard Pixley  (rich at rtl.cygnus.com)
115
116         * Makefile.in: remove spaces following hyphens, bsd make can't
117           cope. added clean-info.  added standards.text support.  Don't
118           know how to make info anymore.
119
120         * configure.in: commontargets is no longer a recognized hook, so
121           remove it.  new subdir called doc.
122
123 Thu Dec  5 22:46:10 1991  K. Richard Pixley  (rich at rtl.cygnus.com)
124
125         * Makefile.in: idestdir and ddestdir go away.  Added copyrights
126           and shift gpl to v2.  Added ChangeLog if it didn't exist. docdir
127           and mandir now keyed off datadir by default.
128
129 Fri Nov 22 09:02:32 1991  John Gilmore  (gnu at cygnus.com)
130
131         * sysdep-obsd.h:  Rename from sysdep-newsos.h.
132         * configure.in:  Use sysdep-obsd for Mach as well as NEWs.
133
134         * sysdep-norm.h, sysdep-aix.h:  Add <sys/types.h>, which POSIX
135         requires to make <dirent.h> work.  Improve Sun alloca decl.
136
137 Thu Nov 21 18:48:08 1991  John Gilmore  (gnu at cygnus.com)
138
139         * Makefile.in:  Clean up ../glob/tilde.c -> tilde.o path.
140         Clean up makefile a bit in general.
141
142 Thu Nov 21 14:40:29 1991  Stu Grossman  (grossman at cygnus.com)
143
144         * configure.in, config/mh-svr4:  Make SVR4 work.
145
146         * readline.c:  Move config stuff to sysdep.h, use typedef dirent
147         consistently, remove refs to d_namlen (& D_NAMLEN) to improve
148         portability.  Also, update copyright notice.
149         readline.h:  remove config stuff that I added erroneously in the
150         first place.
151
152         * emacs_keymap.c, funmap.c, history.c, keymaps.c, vi_keymap.c,
153         vi_mode.c:  move config stuff to sysdep.h, update copyright notices.
154
155 Tue Nov 19 15:02:13 1991  Stu Grossman  (grossman at cygnus.com)
156
157         * history.c:  #include "sysdep.h".
158
159 Tue Nov 19 10:49:17 1991  Fred Fish  (fnf at cygnus.com)
160
161         * Makefile.in, config/hm-sysv, config/hm-sco:  Change SYSV to
162         USG to match current usage.
163
164         * readline.c:  Add USGr4 to list of defined things to check for
165         to use <dirent.h> style directory access.
166
167         * config/hm-svr4:  New file for System V Release 4 (USGr4).
168
169 Mon Nov 18 23:59:52 1991  Stu Grossman  (grossman at cygnus.com)
170
171         * readline.c (filename_completion_function):  use struct dirent
172         instead of struct direct.
173
174 Fri Nov  1 07:02:13 1991  Brian Fox  (bfox at gnuwest.fsf.org)
175
176         * readline.c (rl_translate_keyseq) Make C-? translate to RUBOUT
177         unconditionally.
178
179 Mon Oct 28 11:34:52 1991  Brian Fox  (bfox at gnuwest.fsf.org)
180
181         * readline.c; Use Posix directory routines and macros.
182
183         * funmap.c; Add entry for call-last-kbd-macro.
184
185         * readline.c (rl_prep_term); Use system EOF character on POSIX
186         systems also.
187
188 Thu Oct  3 16:19:53 1991  Brian Fox  (bfox at gnuwest.fsf.org)
189
190         * readline.c; Make a distinction between having a TERMIOS tty
191         driver, and having POSIX signal handling.  You might one without
192         the other.  New defines used HAVE_POSIX_SIGNALS, and
193         TERMIOS_TTY_DRIVER.
194
195 Tue Jul 30 22:37:26 1991  Brian Fox  (bfox at gnuwest.fsf.org)
196
197         * readline.c: rl_getc () If a call to read () returns without an
198         error, but with zero characters, the file is empty, so return EOF.
199
200 Thu Jul 11 20:58:38 1991  Brian Fox  (bfox at gnuwest.fsf.org)
201
202         * readline.c: (rl_get_next_history, rl_get_previous_history)
203         Reallocate the buffer space if the line being moved to is longer
204         the the current space allocated.  Amazing that no one has found
205         this bug until now.
206
207 Sun Jul  7 02:37:05 1991  Brian Fox  (bfox at gnuwest.fsf.org)
208
209         * readline.c:(rl_parse_and_bind) Allow leading whitespace.
210           Make sure TERMIO and TERMIOS systems treat CR and NL
211           disctinctly.
212         
213 Tue Jun 25 04:09:27 1991  Brian Fox  (bfox at gnuwest.fsf.org)
214
215         * readline.c: Rework parsing conditionals to pay attention to the
216         prior states of the conditional stack.  This makes $if statements
217         work correctly.
218
219 Mon Jun 24 20:45:59 1991  Brian Fox  (bfox at gnuwest.fsf.org)
220
221         * readline.c: support for displaying key binding information
222         includes the functions rl_list_funmap_names (),
223         invoking_keyseqs_in_map (), rl_invoking_keyseqs (),
224         rl_dump_functions (), and rl_function_dumper ().
225
226         funmap.c: support for same includes rl_funmap_names ().
227
228         readline.c, funmap.c: no longer define STATIC_MALLOC.  However,
229         update both version of xrealloc () to handle a null pointer.
230
231 Thu Apr 25 12:03:49 1991  Brian Fox  (bfox at gnuwest.fsf.org)
232
233         * vi_mode.c (rl_vi_fword, fWord, etc.  All functions use
234         the macro `isident()'.  Fixed movement bug which prevents
235         continious movement through the text.
236
237 Fri Jul 27 16:47:01 1990  Brian Fox  (bfox at gnuwest.fsf.org)
238
239         * readline.c (parser_if) Allow "$if term=foo" construct.
240
241 Wed May 23 16:10:33 1990  Brian Fox  (bfox at gnuwest.fsf.org)
242
243         * readline.c (rl_dispatch) Correctly remember the last command
244         executed.  Fixed typo in username_completion_function ().
245
246 Mon Apr  9 19:55:48 1990  Brian Fox  (bfox at gnuwest.fsf.org)
247
248         * readline.c: username_completion_function (); For text passed in
249         with a leading `~', remember that this could be a filename (after
250         it is completed).
251
252 Thu Apr  5 13:44:24 1990  Brian Fox  (bfox at gnuwest.fsf.org)
253
254         * readline.c: rl_search_history (): Correctly handle case of an
255         unfound search string, but a graceful exit (as with ESC).
256
257         * readline.c: rl_restart_output ();  The Apollo passes the address
258         of the file descriptor to TIOCSTART, not the descriptor itself.
259
260 Tue Mar 20 05:38:55 1990  Brian Fox  (bfox at gnuwest.fsf.org)
261
262         * readline.c: rl_complete (); second call in a row causes possible
263         completions to be listed.
264
265         * readline.c: rl_redisplay (), added prompt_this_line variable
266         which is the first character character following \n in prompt.
267
268 Sun Mar 11 04:32:03 1990  Brian Fox  (bfox at gnuwest.fsf.org)
269
270         * Signals are now supposedly handled inside of SYSV compilation.
271
272 Wed Jan 17 19:24:09 1990  Brian Fox  (bfox at sbphy.ucsb.edu)
273
274         * history.c: history_expand (); fixed overwriting memory error,
275         added needed argument to call to get_history_event ().
276
277 Thu Jan 11 10:54:04 1990  Brian Fox  (bfox at sbphy.ucsb.edu)
278
279         * readline.c: added mark_modified_lines to control the
280         display of an asterisk on modified history lines.  Also
281         added a user variable called mark-modified-lines to the
282         `set' command.
283
284 Thu Jan  4 10:38:05 1990  Brian Fox  (bfox at sbphy.ucsb.edu)
285
286         * readline.c: start_insert ().  Only use IC if we don't have an im
287         capability.
288
289 Fri Sep  8 09:00:45 1989  Brian Fox  (bfox at aurel)
290
291         * readline.c: rl_prep_terminal ().  Only turn on 8th bit
292           as meta-bit iff the terminal is not using parity.
293
294 Sun Sep  3 08:57:40 1989  Brian Fox  (bfox at aurel)
295
296         * readline.c: start_insert ().  Uses multiple
297           insertion call in cases where that makes sense.
298
299           rl_insert ().  Read type-ahead buffer for additional
300           keys that are bound to rl_insert, and insert them
301           all at once.  Make insertion of single keys given
302           with an argument much more efficient.
303
304 Tue Aug  8 18:13:57 1989  Brian Fox  (bfox at aurel)
305
306         * readline.c: Changed handling of EOF.  readline () returns
307          (char *)EOF or consed string.  The EOF character is read from the
308          tty, or if the tty doesn't have one, defaults to C-d.
309
310         * readline.c: Added support for event driven programs.
311           rl_event_hook is the address of a function you want called
312           while Readline is waiting for input.
313
314         * readline.c: Cleanup time.  Functions without type declarations
315           do not use return with a value.
316
317         * history.c: history_expand () has new variable which is the
318           characters to ignore immediately following history_expansion_char.
319
320 Sun Jul 16 08:14:00 1989  Brian Fox  (bfox at aurel)
321
322         * rl_prep_terminal ()
323           BSD version turns off C-s, C-q, C-y, C-v.
324
325         * readline.c -- rl_prep_terminal ()
326           SYSV version hacks readline_echoing_p.
327           BSD version turns on passing of the 8th bit for the duration
328           of reading the line.
329
330 Tue Jul 11 06:25:01 1989  Brian Fox  (bfox at aurel)
331
332         * readline.c: new variable rl_tilde_expander.
333           If non-null, this contains the address of a function to call if
334           the standard meaning for expanding a tilde fails.  The function is
335           called with the text sans tilde (as in "foo"), and returns a
336           malloc()'ed string which is the expansion, or a NULL pointer if
337           there is no expansion. 
338
339         * readline.h - new file chardefs.h
340           Separates things that only readline.c needs from the standard
341           header file publishing interesting things about readline.
342
343         * readline.c:
344           readline_default_bindings () now looks at terminal chararacters
345           and binds those as well.
346
347 Wed Jun 28 20:20:51 1989  Brian Fox  (bfox at aurel)
348
349         * Made readline and history into independent libraries.
350