X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=readline%2FChangeLog.gdb;h=f05b9dc52c2e485c2b2b274714de3ab0a4e279cb;hb=f311ba7ed84d66ae2cd77bd969747d7ab959d866;hp=40eef93064107cf674c8492544f108261510fe5b;hpb=832a94844fffdf222dd6726c26d2678daf440202;p=deliverable%2Fbinutils-gdb.git diff --git a/readline/ChangeLog.gdb b/readline/ChangeLog.gdb index 40eef93064..f05b9dc52c 100644 --- a/readline/ChangeLog.gdb +++ b/readline/ChangeLog.gdb @@ -1,3 +1,302 @@ +2017-05-19 Eli Zaretskii + + * input.c [_WIN32]: Include to avoid compiler warning on + MinGW. + +2016-09-17 Eli Zaretskii + + * util.c: Include rlshell.h. + (_rl_tropen) [_WIN32 && !__CYGWIN__]: Open the trace file in the + user's temporary directory. + + * tcap.h [HAVE_NCURSES_TERMCAP_H]: Include ncurses/termcap.h. + + * input.c (w32_isatty) [_WIN32 && !__CYGWIN__]: New function, to + replace isatty that is not reliable enough on MS-Windows. + (isatty) [_WIN32 && !__CYGWIN__]: Redirect to w32_isatty. + (rl_getc): Call _getch, not getch, which could be an ncurses + function when linked with ncurses, in which case getch will return + EOF for any keystroke, because there's no curses window. + + * tilde.c (tilde_expand_word) [_WIN32]: + * histfile.c (history_filename) [_WIN32]: Windows-specific + environment variable to replace HOME if that is undefined. + + * funmap.c (default_funmap): Compile rl_paste_from_clipboard on + all Windows platforms, not just Cygwin. + + * readline.h (rl_paste_from_clipboard): Include declaration for + all Windows platforms. + + * display.c (insert_some_chars, delete_chars): Don't use the + MinGW-specific code if linked with ncurses. + + * configure.in: + * config.h.in: Support ncurses/termcap.h. The configure script + was updated accordingly. + + * complete.c [_WIN32 && !__CYGWIN__]: Initialize + _rl_completion_case_fold to 1. + (printable_part, rl_filename_completion_function) + [_WIN32 && !__CYGWIN__]: Handle the drive letter. + +2014-12-30 Eli Zaretskii + + * complete.c (stat_char) [_WIN32]: Don't use 'access' and X_OK on + Windows, they don't work. Instead, look at the file-name + extension to determine whether the file is executable. + +2014-09-22 Chen Gang + + Pushed by Joel Brobecker + * search.c (_rl_nsearch_init): Remove useless parameter '0' for + rl_message(). + +2013-09-24 Pierre Muller + + * readline.c (bind_arrow_keys_internal): + Handle VK_HOME, VK_END, VK_DELETE and VK_INSERT for mingw + hosts. + +2013-09-23 Martin Benda + + Checked in by Joel Brobecker + * util.c (_rl_strnicmp): Add missing semicolon. + +2013-05-22 Yao Qi + + * configure.in: Invoke AC_CANONICAL_BUILD. + Change $host_os to $build_os. + * configure: Regenerated. + +2012-10-18 Joel Brobecker + + * terminal.c: Remove duplicate includes of windows.h and + wincon.h. + (_rl_get_screen_size): Remove redundant code for MinGW getting + the console size from the Windows API. + +2012-02-24 Pierre Muller + + * signals.c (_rl_block_sigwinch, _rl_release_sigwinch): Add + conditional SIGWINCH around functions. + +2011-05-11 Sterling Augustine + + * complete.c (rl_completion_matches): Undo inadvertant checkin. + +2011-06-29 Jan Kratochvil + + Avoid free from a signal handler. + * Makefile.in (xfree.o): Add readline.h. + * xfree.c: Include stdio.h and readline.h. + (xfree): Return on RL_STATE_SIGHANDLER. + * xmalloc.h (xfree): New definition. + +2011-05-11 Jan Kratochvil + + Workaround gdb.base/completion.exp regression on readline-6.2. + * complete.c (get_y_or_n): Disable the return on RL_STATE_CALLBACK. + +2011-05-11 Jan Kratochvil + + Imported readline 6.2, and upstream patch 001. + * configure: Regenerate. + +2011-03-04 Michael Snyder + + * bind.c (rl_function_dumper): Free allocated memory. + +2009-08-22 Ralf Wildenhues + + * configure: Regenerate. + + * configure.in: m4_include toplevel config/override.m4. + * configure: Regenerate. + +2009-07-30 Ralf Wildenhues + + * Makefile.in (datarootdir): New variable. + * doc/Makefile.in (datarootdir): New variable. + * shlib/Makefile.in (datarootdir): New variable. + +2009-04-17 Carlos O'Donell + + * Makefile.in: Add html target. Add dummy install-html and + install-pdf targets. + +2008-08-10 Pedro Alves + + Build fixes for DJGPP. + + * signals.c (rl_set_sighandler): Guard access to SIGWINCH. + * wcwidth.c [__GO32__]: Include wctype.h before wchar.h. + +2008-03-24 Jan Kratochvil + + PR gdb/544 + * rltty.c (block_sigint, release_sigint): Rename to... + (_rl_block_sigint, _rl_release_sigint): ...these and make them global. + * rltty.h (_rl_block_sigint, _rl_release_sigint): New prototypes. + * display.c (rl_redisplay): Wrap the function by the calls to + _RL_BLOCK_SIGINT and _RL_RELEASE_SIGINT. + +2007-09-01 Daniel Jacobowitz + + PR gdb/2138 + From readline 5.2: + * configure.in (CROSS_COMPILE): Initialize to empty. + * configure: Regenerated. + +2007-03-27 Brooks Moses + + * Makefile.in: Add dummy "pdf" target. + +2006-11-13 Denis Pilat + + * terminal.c (_rl_get_screen_size): use wr and wc variable to store + window size. + +2006-10-21 Ulrich Weigand + + * callback.c: Include "xmalloc.h". + * Makefile.in: Add dependency. + +2006-04-24 Daniel Jacobowitz + + Imported readline 5.1, and upstream patches 001-004. + +2006-03-21 Denis Pilat + + * histfile.c (read_history_range): Remove '\r' character from + history lines. + +2005-02-10 Denis Pilat + + * readline/terminal.c (_rl_get_screen_size): Get console size from + the Windows API when compiling with MinGW. + +2005-07-25 Mark Mitchell + + * input.c (rl_getc): Use getch to read console input on + Windows. + * readline.c (bind_arrow_keys_internal): Translate + Windows keysequences into ANSI key sequences. + * rldefs.h (NO_TTY_DRIVER): Define on MinGW. + * rltty.c: Conditionalize on NO_TTY_DRIVER throughout. + +2005-07-03 Mark Kettenis + + From Martin Simmons: + * configure.in: Check for getpwnam instead of getpwname. + * configure: Regenerate. + +2005-05-09 Mark Mitchell + + * aclocal.m4: Use AC_TRY_LINK to check for mbstate_t. + * complete.c (pwd.h): Guard with HAVE_PWD_H. + (getpwent): Guard with HAVE_GETPWENT. + (rl_username_completion_function): Guard use of getpwent. + (endpwent): Likewise. + * config.h.in (HAVE_FCNTL): New macro. + (HAVE_GETPWENT): Likewise. + (HAVE_GETPWNAM): Likewise. + (HAVE_GETPWUID): Likewise. + (HAVE_KILL): Likewise. + (HAVE_PWD_H): Likewise. + * configure: Regenerated. + * configure.in: Handle MinGW when cross compiling. Check for + getpwnam, getpwent, getpwuid, kill, and pwd.h. + * display.c (rl_clear_screen): Treat Windows like DOS. + (insert_some_chars): Likewise. + (delete_chars): Likewise. + * shell.c (pwd.h): Guard with HAVE_PWD_H. + (getpwuid): Guard with HAVE_GETPWUID. + (sh_unset_nodelay_mode): Guard use of fnctl with HAVE_FNCTL_H. + * signals.c (rl_signal_handler): Don't use SIGALRM or + SIGQUIT if not defined. Use "raise" if "kill" is not available. + (rl_set_signals): Don't set handlers for SIGQUIT or SIGALRM if + they are not defined. + (rl_clear_signals): Likewise. + * tilde.c (pwd.h): Guard with HAVE_PWD_H. + (getpwuid): Guard declaration with HAVE_GETPWUID. + (getpwnam): Guard declaration with HAVE_GETPWNAM. + (tilde_expand_word): Guard use of getpwnam with HAVE_GETPWNAM. + +2004-02-19 Andrew Cagney + + * config.guess: Update from version 2003-06-12 to 2004-02-16. + * config.sub: Update from version 2003-06-13 to 2004-02-16. + +2004-01-27 Elena Zannoni + + Merge in official patches to readline-4.3 from + ftp://ftp.cwru.edu/pub/bash/readline-4.3-patches: + NOTE: Patch-ID readline-43-004 was already applied (see below). + + * bind.c (rl_generic_bind): Pressing certain key sequences + causes an infinite loop in _rl_dispatch_subseq with the `key' argument + set to 256. This eventually causes bash to exceed the stack size + limit and crash with a segmentation violation. + Patch-ID: readline43-001. + + * readline.c (_rl_dispatch_subseq): Repeating an edit in + vi-mode with `.' does not work. + Patch-ID: readline43-002. + + * mbutil.c (_rl_get_char_len, _rl_compare_chars, + _rl_adjust_point): When in a locale with multibyte characters, the + readline display updater will occasionally cause a + segmentation fault when attempting to compute the length of the first + multibyte character on the line. + Patch-ID: readline43-003. + + * vi_mode.c (_rl_vi_change_mbchar_case): Using the vi editing + mode's case-changing commands in a locale with multibyte characters + will cause garbage characters to be inserted into the editing buffer. + Patch-ID: readline43-005. + +2003-12-28 Eli Zaretskii + + * readline.c (rl_save_state, rl_restore_state): Support systems + that don't define SIGWINCH. + +2003-12-25 Eli Zaretskii + + * terminal.c (_rl_get_screen_size) [__DJGPP__]: Compute the + screen width and height using console I/O. + (_rl_init_terminal_io) [__MSDOS__]: Zero out all the _rl_term_* + variables. Convert to _rl_* naming scheme. + (_rl_set_cursor) [__MSDOS__]: Ifdef away this function. + +2003-12-23 Eli Zaretskii + + * display.c (_rl_move_vert) [__MSDOS__]: Don't use undeclared + variable `l'. Use `delta' instead recomputing its value anew. + Assign -delta to i instead of the other way around. + +2003-12-11 Michael Chastain + + * rlmbutil.h: Require HAVE_MBSTATE_T for HANDLE_MULTIBYTE. + Revert requirement of HAVE_MBRTOWC. Delete macro definitions + that attempted to fake mbstate_t if HAVE_MBSRTOCWS is defined + and HAVE_MBSTATE_T is not defined. + +2003-06-14 H.J. Lu + + * support/config.guess: Update to 2003-06-12 version. + * support/config.sub: Update to 2003-06-13 version. + +2003-05-25 Mark Kettenis + + * aclocal.m4: Don't add wcwidth.o if we don't have wchar.h. + * configure: Regenerate. + +2003-05-13 Andreas Jaeger + + * support/config.guess: Update to 2003-05-09 version. + * support/config.sub: Update to 2003-05-09 version. + 2003-03-03 Joel Brobecker * aclocal.m4: Add check for mbrtowc. @@ -16,7 +315,14 @@ 2003-01-09 Michael Chastain From Chet Ramey, , the readline maintainer: + ftp://ftp.cwru.edu/pub/bash/readline-4.3-patches/readline43-004 + * display.c: Fix perverse screen refresh with UTF-8. + When running in a locale with multibyte characters, the + readline display updater will use carriage returns when + drawing the line, overwriting any partial output already on + the screen and not terminated by a newline. + Patch-ID: readline43-004 2003-01-08 Chris Demetriou @@ -35,7 +341,8 @@ 2002-12-06 Elena Zannoni - Import of readline 4.3: + Import of readline 4.3. NB: This import includes those gdb + local changes that aren't in the official readline sources. * compat.c, mbutil.c, misc.c, rlmbutil.h, rltypedefs.h, text.c, doc/history.0, doc/history.3, support/wcwidth.c, @@ -127,12 +434,17 @@ (insert_some_chars) [__MSDOS__]: Don't call tputs. (delete_chars) [__MSDOS__]: Don't call tputs. -2000-07-09 Elena Zannoni +2000-07-08 Elena Zannoni + + * readline/readline.h: Ifdef out the export of savestring(). + It should not have been in the distribution. + +2000-07-07 Elena Zannoni * Import of readline 4.1. Locally modified files: Makefile.in, configure.in, configure - (regenerated), config.h.in (regenerated), readline.h, rltty.c, + (regenerated), config.h.in (regenerated), rltty.c, shell.c signals.c. Locally added files: acconfig.h, config/*, config.h.bot,