+2018-12-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
+
+ * top.c (command_line_input): Use unique_xmalloc_ptr to
+ manage memory allocated by readline.
+
+2018-12-30 Tom Tromey <tom@tromey.com>
+
+ * event-top.h (command_line_handler): Update.
+ * top.c (class gdb_readline_wrapper_cleanup) <m_handler_orig>:
+ Update.
+ (gdb_readline_wrapper_line): Update.
+ * top.h (struct ui) <input_handler>: Take a unique_xmalloc_ptr.
+ (handle_line_of_input): Update.
+ * event-top.c: Update.
+ (gdb_readline_no_editing_callback): Update.
+ (command_line_handler): Take a unique_xmalloc_ptr.
+ (handle_line_of_input): Take a const char *.
+ (command_line_append_input_line): Take a const char *.
+
+2018-12-28 Tom Tromey <tom@tromey.com>
+
+ * source-cache.c (get_language_name): Conditionally compile.
+
+2018-12-28 Tom Tromey <tom@tromey.com>
+
+ * jit.c (free_objfile_data): Only delete breakpoint if non-null.
+
+2018-12-28 Tom Tromey <tom@tromey.com>
+
+ * NEWS: Mention terminal styling.
+
+2018-12-28 Tom Tromey <tom@tromey.com>
+
+ * utils.h (can_emit_style_escape): Declare.
+ * utils.c (can_emit_style_escape): No longer static.
+ * cli/cli-style.c (set_style_enabled): New function.
+ (_initialize_cli_style): Use it.
+ * tui/tui-winsource.c (tui_show_source_line): Use tui_puts.
+ (tui_alloc_source_buffer): Change how source lines are allocated.
+ * tui/tui-source.c (copy_source_line): New function.
+ (tui_set_source_content): Use source cache.
+ * tui/tui-io.h (tui_puts): Update.
+ * tui/tui-io.c (tui_puts_internal): Add window parameter.
+ (tui_puts): Likewise.
+ (tui_redisplay_readline): Update.
+ * tui/tui-data.c (free_content_elements): Change how source window
+ contents are freed.
+ * source.c (forget_cached_source_info): Clear the source cache.
+ (print_source_lines_base): Use the source cache.
+ * source-cache.h: New file.
+ * source-cache.c: New file.
+ * configure.ac: Check for GNU Source Highlight library.
+ * configure: Update.
+ * config.in: Update.
+ * Makefile.in (SRCHIGH_LIBS, SRCHIGH_CFLAGS): New variables.
+ (INTERNAL_CFLAGS_BASE): Add SRCHIGH_CFLAGS.
+ (CLIBS): Add SRCHIGH_LIBS.
+ (COMMON_SFILES): Add source-cache.c.
+ (HFILES_NO_SRCDIR): Add source-cache.h.
+
+2018-12-28 Tom Tromey <tom@tromey.com>
+
+ * tui/tui-winsource.c (tui_show_source_line): Use wclrtoeol.
+
+2018-12-28 Tom Tromey <tom@tromey.com>
+
+ PR tui/14126:
+ * tui/tui.c (tui_enable): Call start_color and
+ use_default_colors.
+ * tui/tui-io.c (struct color_pair): New.
+ (color_pair_map, last_color_pair, last_style): New globals.
+ (tui_setup_io): Clean up color map when shutting down.
+ (curses_colors): New constant.
+ (get_color_pair, apply_ansi_escape): New functions.
+ (tui_write): Rewrite.
+ (tui_puts_internal): New function, from tui_puts. Add "height"
+ parameter.
+ (tui_puts): Use tui_puts_internal.
+ (tui_redisplay_readline): Use tui_puts_internal.
+ (_initialize_tui_io): New function.
+ (color_map): New globals.
+ (get_color): New function.
+ * configure.ac: Check for use_default_colors.
+ * config.in, configure: Rebuild.
+
+2018-12-28 Tom Tromey <tom@tromey.com>
+
+ * ui-out.h (enum class ui_out_style_kind) <ADDRESS>: New
+ constant.
+ * ui-out.c (ui_out::field_core_addr): Add styling.
+ * stack.c (print_frame): Add styling.
+ * printcmd.c (print_address): Add styling.
+ (print_address_demangle, info_address_command): Likewise.
+ * cli/cli-style.h (address_style): Declare.
+ * cli/cli-style.c (address_style): New global.
+ (_initialize_cli_style): Register new commands.
+ * cli-out.c (cli_ui_out::do_field_string): Update.
+
+2018-12-28 Tom Tromey <tom@tromey.com>
+
+ * symfile.c (symbol_file_add_with_addrs): Style file name.
+
+2018-12-28 Tom Tromey <tom@tromey.com>
+
+ * top.c (print_gdb_version): Style gdb version number.
+
+2018-12-28 Tom Tromey <tom@tromey.com>
+
+ * printcmd.c (print_address_symbolic): Style function name.
+
+2018-12-28 Tom Tromey <tom@tromey.com>
+
+ * breakpoint.c (say_where): Style file name.
+
+2018-12-28 Tom Tromey <tom@tromey.com>
+
+ * ui-out.h (enum class ui_out_style_kind) <VARIABLE>: New global.
+ * stack.c (print_frame_arg): Style name.
+ * printcmd.c (print_variable_and_value): Style variable name.
+ * cli/cli-style.h (variable_name_style): Declare.
+ * cli/cli-style.c (variable_name_style): New global.
+ (_initialize_cli_style): Update.
+ * cli-out.c (cli_ui_out::do_field_string): Update.
+
2018-12-28 Tom Tromey <tom@tromey.com>
* utils.h (reset_terminal_style): Declare.