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