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