+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
+ that don't define SIGWINCH.
+
+2003-12-25 Eli Zaretskii <eliz@elta.co.il>
+
+ * 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 <eliz@elta.co.il>
+
+ * 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 <mec.gnu@mindspring.com>
+
+ * 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 <hongjiu.lu@intel.com>
+
+ * support/config.guess: Update to 2003-06-12 version.
+ * support/config.sub: Update to 2003-06-13 version.
+
+2003-05-25 Mark Kettenis <kettenis@gnu.org>
+
+ * aclocal.m4: Don't add wcwidth.o if we don't have wchar.h.
+ * configure: Regenerate.
+
+2003-05-13 Andreas Jaeger <aj@suse.de>
+
+ * support/config.guess: Update to 2003-05-09 version.
+ * support/config.sub: Update to 2003-05-09 version.
+
+2003-03-03 Joel Brobecker <brobecker@gnat.com>
+
+ * aclocal.m4: Add check for mbrtowc.
+ * config.h.in: Regenerate.
+ * configure: Regenerate.
+ * rlmbutil.h: Disable multi-byte if mbrtowc is not defined.
+
+2003-03-03 Kris Warkentin <kewarken@qnx.com>
+
+ * aclocal.m4: Cause wcwidth check to substitute
+ HAVE_WCWIDTH for building.
+ * Makefile.in: Add wcwidth object to lib if required.
+ * shlib/Makefile.in: Likewise.
+ * configure: Regenerate.
+
+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>
+
+ * config.guess: Update to 2003-01-03 version.
+ * config.sub: Update to 2003-01-03 version.
+
+2002-12-16 Christopher Faylor <cgf@redhat.com>
+
+ * configure.in: Remove --enable-shared option. It shouldn't be used
+ for gdb.
+ * configure: Regenerate.
+
+2002-12-16 Christopher Faylor <cgf@redhat.com>
+
+ * config/cygwin.cache: Prime mbstate_t.
+
+2002-12-06 Elena Zannoni <ezannoni@redhat.com>
+
+ 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,
+ examples/readlinebuf.h, examples/rlcat.c: New files.
+
+ * CHANGELOG, CHANGES, INSTALL, MANIFEST, Makefile.in, README,
+ aclocal.m4, ansi_stdlib.h, bind.c, callback.c, chardefs.h,
+ complete.c, config.h.in, configure, configure.in, display.c,
+ emacs_keymap.c, funmap.c, histexpand.c, histfile.c, histlib.h,
+ history.c, history.h, histsearch.c, input.c, isearch.c,
+ keymaps.c, keymaps.h, kill.c, macro.c, nls.c, parens.c,
+ posixdir.h, readline.c, readline.h, rlconf.h, rldefs.h,
+ rlprivate.h, rlshell.h, rlstdc.h, rltty.c, savestring.c,
+ search.c, shell.c, signals.c, terminal.c, tilde.c, tilde.h,
+ undo.c, util.c, vi_keymap.c, vi_mode.c, xmalloc.c, xmalloc.h,
+ doc/Makefile.in, doc/hist.texinfo, doc/hstech.texinfo,
+ doc/hsuser.texinfo, doc/manvers.texinfo, doc/readline.3,
+ doc/rlman.texinfo, doc/rltech.texinfo, doc/rluser.texinfo
+ doc/rluserman.texinfo, doc/texi2dvi, doc/texi2html,
+ shlib/Makefile.in, support/install.sh, support/mkdirs,
+ support/mkdist, support/shlib-install, support/shobj-conf,
+ examples/Inputrc, examples/Makefile.in, examples/fileman.c,
+ examples/histexamp.c, examples/manexamp.c, examples/rl.c,
+ examples/rlfe.c, examples/rltest.c, examples/rlversion.c:
+ Modified files.
+
+2002-08-23 Andrew Cagney <ac131313@redhat.com>
+
+ * support/config.guess: Import version 2002-08-23.
+ * support/config.sub: Import version 2002-08-22.
+
2002-07-19 Chris Demetriou <cgd@broadcom.com>
* support/config.guess: Update from ../config.guess.
(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,