Imported from ../bash-1.14.7.tar.gz.
[platform/upstream/bash.git] / lib / readline / ChangeLog
1 Tue Mar 23 14:36:51 1993  Brian Fox  (bfox@eos.crseo.ucsb.edu)
2
3         * readline.c (rl_copy): Changed name to rl_copy_text.
4
5 Mon Mar 22 19:16:05 1993  Brian Fox  (bfox@eos.crseo.ucsb.edu)
6
7         * dispose_cmd.c, several other files. Declare dispose_xxx () as
8         "void".
9
10         * builtins/hashcom.h: Make declarations of hashed_filenames be
11         "extern" to keep the SGI compiler happy.
12
13         * readline.c (rl_initialize_everything): Assign values to
14         out_stream and in_stream immediately, since
15         output_character_function () can be called before
16         readline_internal () is called.
17
18 Tue Dec  8 09:30:56 1992  Brian Fox  (bfox@cubit)
19
20         * readline.c (rl_init_terminal) Set PC from BC, not from *buffer.
21
22 Mon Nov 30 09:35:47 1992  Brian Fox  (bfox@cubit)
23
24         * readline.c (invoking_keyseqs_in_map, rl_parse_and_bind) Allow
25         backslash to quote characters, such as backslash, double quote,
26         and space. Backslash quotes all character indiscriminately.
27
28         * funmap.c (vi_keymap) Fix type in "vi-replace" declaration.
29
30 Fri Nov 20 10:55:05 1992  Brian Fox  (bfox@cubit)
31
32         * readline.c (init_terminal_io, rl_prep_terminal): FINALLY!
33         Declare and use termcap variable `ospeed' when setting up terminal
34         parameters.
35
36 Thu Oct  8 08:53:07 1992  Brian J. Fox  (bfox@helios)
37
38         * Makefile, this directory: Include (as links to the canonical
39         sources), tilde.c, tilde.h, posixstat.h and xmalloc.c.
40
41 Tue Sep 29 13:07:21 1992  Brian J. Fox  (bfox@helios)
42
43         * readline.c (init_terminal_io) Don't set arrow keys if the key
44         sequences that represent them are already set.
45
46         * readline.c (rl_function_of_keyseq) New function returns the first
47         function (or macro) found while searching a key sequence.
48
49 Mon Sep 28 00:34:04 1992  Brian J. Fox  (bfox@helios)
50
51         * readline.c (LibraryVersion) New static char * contains current
52         version number.  Version is at 2.0.
53
54         * readline.c (rl_complete_internal): Incorporated clean changes
55         from gilmore (gnu@cygnus.com) to support quoted substrings within
56         completion functions.
57
58         * readline.c (many locations) Added support for the _GO32_,
59         whatever that is.  Patches supplied by Cygnus, typed in by hand,
60         with cleanups.
61
62 Sun Aug 16 12:46:24 1992  Brian Fox  (bfox@cubit)
63
64         * readline.c (init_terminal_io): Find out the values of the keypad
65         arrows and bind them to appropriate RL functions if present.
66
67 Mon Aug 10 18:13:24 1992  Brian Fox  (bfox@cubit)
68
69         * history.c (stifle_history): A negative argument to stifle
70         becomes zero.
71
72 Tue Jul 28 09:28:41 1992  Brian Fox  (bfox@cubit)
73
74         * readline.c (rl_variable_bind): New local structure describes
75         booleans by name and address; code in rl_variable_bind () looks at
76         structure to set simple variables.
77
78         * parens.c (rl_insert_close): New variable rl_blink_matching_paren
79         is non-zero if we want to blink the matching open when a close is
80         inserted.  If FD_SET is defined, rl_blink_matching_paren defaults
81         to 1, else 0.  If FD_SET is not defined, and
82         rl_blink_matching_paren is non-zero, the close character(s) are/is
83         simply inserted.
84
85 Wed Jul 22 20:03:59 1992  Brian Fox  (bfox@cubit)
86
87         * history.c, readline.c, vi_mode.c: Cause the functions strchr ()
88         and strrchr () to be used instead of index () and rindex ()
89         throughout the source.
90
91 Mon Jul 13 11:34:07 1992  Brian Fox  (bfox@cubit)
92
93         * readline.c: (rl_variable_bind) New variable "meta-flag" if "on"
94         means force the use of the 8th bit as Meta bit.  Internal variable
95         is called meta_flag.
96
97 Thu Jul  9 10:37:56 1992  Brian Fox  (bfox@cubit)
98
99         * history.c (get_history_event) Change INDEX to LOCAL_INDEX.  If
100         compiling for the shell, allow shell metacharacters to separate
101         history tokens as they would for shell tokens.
102
103 Sat Jul  4 19:29:12 1992  Brian Fox  (bfox@cubit)
104
105         * vi_keymap.c: According to Posix, TAB self-inserts instead of
106         doing completion.
107
108         * vi_mode.c: (rl_vi_yank_arg) Enter VI insert mode after yanking
109         an arg from the previous line.
110
111         * search.c: New file takes over vi style searching and implements
112         non-incremental searching the history.
113
114         Makefile: Add search.c and search.o.
115
116         funmap.c: Add names for non-incremental-forward-search-history and
117         non-incremental-reverse-search-history.
118
119         readline.h: Add extern definitions for non-incremental searching.
120
121         vi_mode.c: Remove old search code; add calls to code in search.c.
122
123 Fri Jul  3 10:36:33 1992  Brian Fox  (bfox@cubit)
124
125         * readline.c (rl_delete_horizontal_space); New function deletes
126         all whitespace surrounding point.
127
128         funmap.c: Add "delete-horizontal-space".
129         emacs_keymap.c: Put rl_delete_horizontal_space () on M-\.
130
131         * readline.c (rl_set_signals, rl_clear_signals); New function
132         rl_set_sighandler () is either defined in a Posix way (if
133         HAVE_POSIX_SIGNALS is defined) or in a BSD way.  Function is
134         called from rl_set_signals () and rl_clear_signals ().
135
136 Fri May  8 12:50:15 1992  Brian Fox  (bfox@cubit)
137
138         * readline.c: (readline_default_bindings) Do comparisons with
139         _POSIX_VDISABLE casted to `unsigned char'.  Change tty characters
140         to be unsigned char.
141
142 Thu Apr 30 12:36:35 1992  Brian Fox  (bfox@cubit)
143
144         * readline.c: (rl_getc) Handle "read would block" error on
145         non-blocking IO streams.
146
147         * readline.c: (rl_signal_handler): Unblock only the signal that we
148         have caught, not all signals.
149
150 Sun Feb 23 03:33:09 1992  Brian Fox  (bfox at gnuwest.fsf.org)
151
152         * readline.c: Many functions.  Use only the macros META_CHAR and
153         UNMETA to deal with meta characters.  Prior to this, we used
154         numeric values and tests.
155
156         * readline.c (rl_complete_internal) Report exactly the number of
157         possible completions, not the number + 1.
158
159         * vi_mode.c (rl_do_move) Do not change the cursor position when
160         using `cw' or `cW'.
161
162         * vi_mode.c (rl_vi_complete) Enter insert mode after completing
163         with `*' or `\'.
164
165 Fri Feb 21 05:58:18 1992  Brian Fox  (bfox at gnuwest.fsf.org)
166
167         * readline.c (rl_dispatch) Increment rl_key_sequence_length for
168         meta characters that map onto ESC map.
169
170 Mon Feb 10 01:41:35 1992  Brian Fox  (bfox at gnuwest.fsf.org)
171
172         * history.c (history_do_write) Build a buffer of all of the lines
173         to write and write them in one fell swoop (lower overhead than
174         calling write () for each line).  Suggested by Peter Ho.
175
176         * readline.c: Include hbullx20 as well as hpux for determining
177         USGr3ness.
178
179         * readline.c (rl_unix_word_rubout) As per the "Now REMEMBER"
180         comment, pass arguments to rl_kill_text () in the correct order to
181         preserve prepending and appending of killed text.
182
183         * readline.c (rl_search_history) malloc (), realloc (), and free
184         () SEARCH_STRING so that there are no static limits on searching.
185
186         * vi_mode.c (rl_vi_subst) Don't forget to end the undo group.
187
188 Fri Jan 31 14:51:02 1992  Brian Fox  (bfox at gnuwest.fsf.org)
189
190         * readline.c (rl_signal_handler): Zero the current history entry's
191         pointer after freeing the undo_list when SIGINT received.
192         Reformat a couple of functions.
193
194 Sat Jan 25 13:47:35 1992  Brian Fox  (bfox at bears)
195
196         * readline.c (parser_if): free () TNAME after use.
197
198 Tue Jan 21 01:01:35 1992  Brian Fox  (bfox at gnuwest.fsf.org)
199
200         * readline.c (rl_redisplay) and (rl_character_len): Display
201         Control characters as "^c" and Meta characters as "\234", instead
202         of "C-C" and "M-C".
203
204 Sun Dec 29 10:59:00 1991  Brian Fox  (bfox at gnuwest.fsf.org)
205
206         * readline.c (init_terminal_io) Default to environment variables
207         LINES and COLUMNS before termcap entry values.  If all else fails,
208         then assume 80x24 terminal.
209
210 Sat Dec 28 16:33:11 1991  Brian Fox  (bfox at gnuwest.fsf.org)
211
212         * readline.c: If this machine is USG and it is hpux, then define
213         USGr3.
214
215         * history.c: Cosmetic fixes.
216
217 Thu Nov 21 00:10:12 1991  Brian Fox  (bfox at gnuwest.fsf.org)
218
219         * vi_mode.c: (rl_do_move) Place cursor at end of line, never at
220         next to last character.
221
222 Thu Nov 14 05:08:01 1991  Brian Fox  (bfox at gnuwest.fsf.org)
223
224         * history.c (get_history_event) Non-anchored searches can have a
225         return index of greater than zero from get_history_event ().
226
227 Fri Nov  1 07:02:13 1991  Brian Fox  (bfox at gnuwest.fsf.org)
228
229         * readline.c (rl_translate_keyseq) Make C-? translate to RUBOUT
230         unconditionally.
231
232 Mon Oct 28 11:34:52 1991  Brian Fox  (bfox at gnuwest.fsf.org)
233
234         * readline.c; Use Posix directory routines and macros.
235
236         * funmap.c; Add entry for call-last-kbd-macro.
237
238         * readline.c (rl_prep_term); Use system EOF character on POSIX
239         systems also.
240
241 Thu Oct  3 16:19:53 1991  Brian Fox  (bfox at gnuwest.fsf.org)
242
243         * readline.c; Make a distinction between having a TERMIOS tty
244         driver, and having POSIX signal handling.  You might one without
245         the other.  New defines used HAVE_POSIX_SIGNALS, and
246         TERMIOS_TTY_DRIVER.
247
248 Tue Jul 30 22:37:26 1991  Brian Fox  (bfox at gnuwest.fsf.org)
249
250         * readline.c: rl_getc () If a call to read () returns without an
251         error, but with zero characters, the file is empty, so return EOF.
252
253 Thu Jul 11 20:58:38 1991  Brian Fox  (bfox at gnuwest.fsf.org)
254
255         * readline.c: (rl_get_next_history, rl_get_previous_history)
256         Reallocate the buffer space if the line being moved to is longer
257         the the current space allocated.  Amazing that no one has found
258         this bug until now.
259
260 Sun Jul  7 02:37:05 1991  Brian Fox  (bfox at gnuwest.fsf.org)
261
262         * readline.c:(rl_parse_and_bind) Allow leading whitespace.
263           Make sure TERMIO and TERMIOS systems treat CR and NL
264           disctinctly.
265         
266 Tue Jun 25 04:09:27 1991  Brian Fox  (bfox at gnuwest.fsf.org)
267
268         * readline.c: Rework parsing conditionals to pay attention to the
269         prior states of the conditional stack.  This makes $if statements
270         work correctly.
271
272 Mon Jun 24 20:45:59 1991  Brian Fox  (bfox at gnuwest.fsf.org)
273
274         * readline.c: support for displaying key binding information
275         includes the functions rl_list_funmap_names (),
276         invoking_keyseqs_in_map (), rl_invoking_keyseqs (),
277         rl_dump_functions (), and rl_function_dumper ().
278
279         funmap.c: support for same includes rl_funmap_names ().
280
281         readline.c, funmap.c: no longer define STATIC_MALLOC.  However,
282         update both version of xrealloc () to handle a null pointer.
283
284 Thu Apr 25 12:03:49 1991  Brian Fox  (bfox at gnuwest.fsf.org)
285
286         * vi_mode.c (rl_vi_fword, fWord, etc.  All functions use
287         the macro `isident()'.  Fixed movement bug which prevents
288         continious movement through the text.
289
290 Fri Jul 27 16:47:01 1990  Brian Fox  (bfox at gnuwest.fsf.org)
291
292         * readline.c (parser_if) Allow "$if term=foo" construct.
293
294 Wed May 23 16:10:33 1990  Brian Fox  (bfox at gnuwest.fsf.org)
295
296         * readline.c (rl_dispatch) Correctly remember the last command
297         executed.  Fixed typo in username_completion_function ().
298
299 Mon Apr  9 19:55:48 1990  Brian Fox  (bfox at gnuwest.fsf.org)
300
301         * readline.c: username_completion_function (); For text passed in
302         with a leading `~', remember that this could be a filename (after
303         it is completed).
304
305 Thu Apr  5 13:44:24 1990  Brian Fox  (bfox at gnuwest.fsf.org)
306
307         * readline.c: rl_search_history (): Correctly handle case of an
308         unfound search string, but a graceful exit (as with ESC).
309
310         * readline.c: rl_restart_output ();  The Apollo passes the address
311         of the file descriptor to TIOCSTART, not the descriptor itself.
312
313 Tue Mar 20 05:38:55 1990  Brian Fox  (bfox at gnuwest.fsf.org)
314
315         * readline.c: rl_complete (); second call in a row causes possible
316         completions to be listed.
317
318         * readline.c: rl_redisplay (), added prompt_this_line variable
319         which is the first character character following \n in prompt.
320
321 Sun Mar 11 04:32:03 1990  Brian Fox  (bfox at gnuwest.fsf.org)
322
323         * Signals are now supposedly handled inside of SYSV compilation.
324
325 Wed Jan 17 19:24:09 1990  Brian Fox  (bfox at sbphy.ucsb.edu)
326
327         * history.c: history_expand (); fixed overwriting memory error,
328         added needed argument to call to get_history_event ().
329
330 Thu Jan 11 10:54:04 1990  Brian Fox  (bfox at sbphy.ucsb.edu)
331
332         * readline.c: added mark_modified_lines to control the
333         display of an asterisk on modified history lines.  Also
334         added a user variable called mark-modified-lines to the
335         `set' command.
336
337 Thu Jan  4 10:38:05 1990  Brian Fox  (bfox at sbphy.ucsb.edu)
338
339         * readline.c: start_insert ().  Only use IC if we don't have an im
340         capability.
341
342 Fri Sep  8 09:00:45 1989  Brian Fox  (bfox at aurel)
343
344         * readline.c: rl_prep_terminal ().  Only turn on 8th bit
345           as meta-bit iff the terminal is not using parity.
346
347 Sun Sep  3 08:57:40 1989  Brian Fox  (bfox at aurel)
348
349         * readline.c: start_insert ().  Uses multiple
350           insertion call in cases where that makes sense.
351
352           rl_insert ().  Read type-ahead buffer for additional
353           keys that are bound to rl_insert, and insert them
354           all at once.  Make insertion of single keys given
355           with an argument much more efficient.
356
357 Tue Aug  8 18:13:57 1989  Brian Fox  (bfox at aurel)
358
359         * readline.c: Changed handling of EOF.  readline () returns
360          (char *)EOF or consed string.  The EOF character is read from the
361          tty, or if the tty doesn't have one, defaults to C-d.
362
363         * readline.c: Added support for event driven programs.
364           rl_event_hook is the address of a function you want called
365           while Readline is waiting for input.
366
367         * readline.c: Cleanup time.  Functions without type declarations
368           do not use return with a value.
369
370         * history.c: history_expand () has new variable which is the
371           characters to ignore immediately following history_expansion_char.
372
373 Sun Jul 16 08:14:00 1989  Brian Fox  (bfox at aurel)
374
375         * rl_prep_terminal ()
376           BSD version turns off C-s, C-q, C-y, C-v.
377
378         * readline.c -- rl_prep_terminal ()
379           SYSV version hacks readline_echoing_p.
380           BSD version turns on passing of the 8th bit for the duration
381           of reading the line.
382
383 Tue Jul 11 06:25:01 1989  Brian Fox  (bfox at aurel)
384
385         * readline.c: new variable rl_tilde_expander.
386           If non-null, this contains the address of a function to call if
387           the standard meaning for expanding a tilde fails.  The function is
388           called with the text sans tilde (as in "foo"), and returns a
389           malloc()'ed string which is the expansion, or a NULL pointer if
390           there is no expansion. 
391
392         * readline.h - new file chardefs.h
393           Separates things that only readline.c needs from the standard
394           header file publishing interesting things about readline.
395
396         * readline.c:
397           readline_default_bindings () now looks at terminal chararacters
398           and binds those as well.
399
400 Wed Jun 28 20:20:51 1989  Brian Fox  (bfox at aurel)
401
402         * Made readline and history into independent libraries.
403