[readline] Fix compilation on MinGW
[deliverable/binutils-gdb.git] / readline / ChangeLog.gdb
index 830822aeeee8906908b629a730466305d6527b4f..01b083951edebe2aeb5394793fd21c305b6da0b2 100644 (file)
@@ -1,3 +1,301 @@
+2019-08-13  Christian Biesinger  <cbiesinger@google.com>
+
+       * colors.c (_rl_print_color_indicator): Remove unnecessary
+       S_ISLNK check to fix compilation on MinGW.
+
+2019-08-12  Tom Tromey  <tom@tromey.com>
+
+       * Imported readline 8.0.
+
+2019-08-12  Tom Tromey  <tom@tromey.com>
+
+       * Makefile.in (xfree.o): Don't depend on readline.h.
+       * xfree.c (xfree): Remove gdb workaround.
+       * xmalloc.h (xfree): Remove #define.
+
+2018-08-12  Tom Tromey  <tom@tromey.com>
+
+       * emacs_keymap.c: Remove gdb workaround.
+
+2018-08-12  Tom Tromey  <tom@tromey.com>
+
+       * complete.c (get_y_or_n): Remove gdb workaround.
+
+2018-08-12  Tom Tromey  <tom@tromey.com>
+
+       * Imported readline 7.0 patch 5.
+
+2019-07-12  Tom de Vries  <tdevries@suse.de>
+           Chet Ramey  <chet.ramey@case.edu>
+
+       PR cli/24514
+       * readline/display.c (init_line_structures, rl_redisplay): Ensure
+       line_size is at least _rl_screenwidth + 1.
+
+2019-01-31  Alan Hayward  <alan.hayward@arm.com>
+
+       * config.h.in: Add SOURCE/EXTENSION macros.
+       * histfile.c (history_truncate_file): Check return of write.
+       * util.c (_rl_tropen): Ensure pid is long.
+
+2017-05-19  Eli Zaretskii  <eliz@gnu.org>
+
+       * input.c [_WIN32]: Include <conio.h> to avoid compiler warning on
+       MinGW.
+
+2016-09-17  Eli Zaretskii  <eliz@gnu.org>
+
+       * 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  <eliz@gnu.org>
+
+       * 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  <gang.chen.5i5j@gmail.com>
+
+       Pushed by Joel Brobecker  <brobecker@adacore.com>
+       * search.c (_rl_nsearch_init): Remove useless parameter '0' for
+       rl_message().
+
+2013-09-24  Pierre Muller  <muller@sourceware.org>
+
+       * readline.c (bind_arrow_keys_internal):
+       Handle VK_HOME, VK_END, VK_DELETE and VK_INSERT for mingw
+       hosts.
+
+2013-09-23  Martin Benda  <martin.benda@omsquare.com>
+
+       Checked in by Joel Brobecker  <brobecker@adacore.com>
+       * util.c (_rl_strnicmp): Add missing semicolon.
+
+2013-05-22  Yao Qi  <yao@codesourcery.com>
+
+       * configure.in: Invoke AC_CANONICAL_BUILD.
+       Change $host_os to $build_os.
+       * configure: Regenerated.
+
+2012-10-18  Joel Brobecker  <brobecker@adacore.com>
+
+       * 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  <muller@ics.u-strasbg.fr>
+
+       * signals.c (_rl_block_sigwinch, _rl_release_sigwinch): Add
+       conditional SIGWINCH around functions.
+
+2011-05-11  Sterling Augustine  <saugustine@google.com>
+
+       * complete.c (rl_completion_matches): Undo inadvertant checkin.
+
+2011-06-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       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  <jan.kratochvil@redhat.com>
+
+       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  <jan.kratochvil@redhat.com>
+
+       Imported readline 6.2, and upstream patch 001.
+       * configure: Regenerate.
+
+2011-03-04  Michael Snyder  <msnyder@vmware.com>
+
+       * bind.c (rl_function_dumper): Free allocated memory.
+
+2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * configure: Regenerate.
+
+       * configure.in: m4_include toplevel config/override.m4.
+       * configure: Regenerate.
+
+2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * Makefile.in (datarootdir): New variable.
+       * doc/Makefile.in (datarootdir): New variable.
+       * shlib/Makefile.in (datarootdir): New variable.
+
+2009-04-17  Carlos O'Donell  <carlos@codesourcery.com>
+
+       * Makefile.in: Add html target.  Add dummy install-html and
+       install-pdf targets.
+
+2008-08-10  Pedro Alves  <pedro@codesourcery.com>
+
+       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  <jan.kratochvil@redhat.com>
+
+       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  <dan@codesourcery.com>
+
+       PR gdb/2138
+       From readline 5.2:
+       * configure.in (CROSS_COMPILE): Initialize to empty.
+       * configure: Regenerated.
+
+2007-03-27  Brooks Moses  <brooks.moses@codesourcery.com>
+
+       * Makefile.in: Add dummy "pdf" target.
+
+2006-11-13  Denis Pilat  <denis.pilat@st.com>
+
+       * terminal.c (_rl_get_screen_size): use wr and wc variable to store
+       window size.
+
+2006-10-21  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * callback.c: Include "xmalloc.h".
+       * Makefile.in: Add dependency.
+
+2006-04-24  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       Imported readline 5.1, and upstream patches 001-004.
+
+2006-03-21  Denis Pilat  <denis.pilat@st.com>
+
+       * histfile.c (read_history_range): Remove '\r' character from
+       history lines.
+
+2005-02-10  Denis Pilat  <denis.pilat@st.com>
+
+       * readline/terminal.c (_rl_get_screen_size): Get console size from
+       the Windows API when compiling with MinGW.
+
+2005-07-25  Mark Mitchell <mark@codesourcery.com>
+
+       * 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 <kettenis@gnu.org>
+
+       From Martin Simmons:
+       * configure.in: Check for getpwnam instead of getpwname.
+       * configure: Regenerate.
+
+2005-05-09  Mark Mitchell <mark@codesourcery.com>
+
+       * 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  <cagney@redhat.com>
+
+       * 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  <ezannoni@redhat.com>
+
+        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  <eliz@elta.co.il>
 
        * readline.c (rl_save_state, rl_restore_state): Support systems
 2003-01-09  Michael Chastain  <mec@shout.net>
 
        From Chet Ramey, <chet@po.cwru.edu>, 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  <cgd@broadcom.com>
 
        (insert_some_chars) [__MSDOS__]: Don't call tputs.
        (delete_chars) [__MSDOS__]: Don't call tputs.
 
-2000-07-09  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
+2000-07-08  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
+
+        * readline/readline.h: Ifdef out the export of savestring().
+        It should not have been in the distribution.
+
+2000-07-07  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
 
         * 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,
This page took 0.028148 seconds and 4 git commands to generate.