+
+ PR cli/24980
+ * display.c (init_line_structures): Initialise line_state using
+ original minsize value.
+
+
+ * colors.c (_rl_print_color_indicator): Remove unnecessary
+ S_ISLNK check to fix compilation on MinGW.
+
+
+ * Imported readline 8.0.
+
+
+ * Makefile.in (xfree.o): Don't depend on readline.h.
+ * xfree.c (xfree): Remove gdb workaround.
+ * xmalloc.h (xfree): Remove #define.
+
+
+ * emacs_keymap.c: Remove gdb workaround.
+
+
+ * complete.c (get_y_or_n): Remove gdb workaround.
+
+
+ * Imported readline 7.0 patch 5.
+
+
+ PR cli/24514
+ * readline/display.c (init_line_structures, rl_redisplay): Ensure
+ line_size is at least _rl_screenwidth + 1.
+
+
+ * config.h.in: Add SOURCE/EXTENSION macros.
+ * histfile.c (history_truncate_file): Check return of write.
+ * util.c (_rl_tropen): Ensure pid is long.
+
+
+ * input.c [_WIN32]: Include <conio.h> to avoid compiler warning on
+ MinGW.
+
+
+ * 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.
+
+
+ * 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.
+
+
+ * search.c (_rl_nsearch_init): Remove useless parameter '0' for
+ rl_message().
+
+
+ * readline.c (bind_arrow_keys_internal):
+ Handle VK_HOME, VK_END, VK_DELETE and VK_INSERT for mingw
+ hosts.
+
+
+ * util.c (_rl_strnicmp): Add missing semicolon.
+
+
+ * configure.in: Invoke AC_CANONICAL_BUILD.
+ Change $host_os to $build_os.
+ * configure: Regenerated.
+
+
+ * 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.
+
+
+ * signals.c (_rl_block_sigwinch, _rl_release_sigwinch): Add
+ conditional SIGWINCH around functions.
+
+
+ * complete.c (rl_completion_matches): Undo inadvertant checkin.
+
+
+ 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.
+
+
+ Workaround gdb.base/completion.exp regression on readline-6.2.
+ * complete.c (get_y_or_n): Disable the return on RL_STATE_CALLBACK.
+
+
+ Imported readline 6.2, and upstream patch 001.
+ * configure: Regenerate.
+
+
+ * bind.c (rl_function_dumper): Free allocated memory.
+
+
+ * configure: Regenerate.
+
+ * configure.in: m4_include toplevel config/override.m4.
+ * configure: Regenerate.
+
+
+ * Makefile.in (datarootdir): New variable.
+ * doc/Makefile.in (datarootdir): New variable.
+ * shlib/Makefile.in (datarootdir): New variable.
+
+
+ * Makefile.in: Add html target. Add dummy install-html and
+ install-pdf targets.
+
+
+ Build fixes for DJGPP.
+
+ * signals.c (rl_set_sighandler): Guard access to SIGWINCH.
+ * wcwidth.c [__GO32__]: Include wctype.h before wchar.h.
+
+
+ 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.
+
PR gdb/2138