binutils-gdb/gdb/cli
Tom Tromey a2a7af0c33 Add TUI border colors
This adds the ability to change the color of the TUI borders, both
ordinary and active.  Unlike other styling options, this doesn't allow
setting the intensity, because that is already done by the TUI in a
different way.

gdb/ChangeLog
2019-12-01  Tom Tromey  <tom@tromey.com>

	* NEWS: Document new settings.
	* tui/tui-wingeneral.c (box_win): Apply appropriate border style.
	* tui/tui-win.c (_initialize_tui_win): Add border style
	observers.
	* tui/tui-io.h (tui_apply_style): Declare.
	* tui/tui-io.c (tui_apply_style): Rename from apply_style.  No
	longer static.
	(apply_ansi_escape, tui_set_reverse_mode): Update.
	* cli/cli-style.h (class cli_style_option) <add_setshow_commands>:
	Add "skip_intensity" parameter.
	<changed>: New member.
	<do_set_value>: Declare.
	(tui_border_style, tui_active_border_style): Declare.
	* cli/cli-style.c (tui_border_style, tui_active_border_style): New
	globals.
	(cli_style_option): Initialize "changed".
	(cli_style_option::do_set_value): New function.
	(cli_style_option::add_setshow_commands): Add "skip_intensity"
	parameter.  Update.
	(STYLE_ADD_SETSHOW_COMMANDS): Add "SKIP" parameter.
	(_initialize_cli_style): Update.  Create TUI border style
	commands.

gdb/doc/ChangeLog
2019-12-01  Tom Tromey  <tom@tromey.com>

	* gdb.texinfo (TUI Configuration): Mention TUI border styles.
	(Output Styling): Document new settings.

Change-Id: Id13e2af0af2a0bde61282752f2c379db3220c9fc
2019-12-01 11:59:23 -07:00
..
cli-cmds.c Replace SYMBOL_*_NAME accessors with member functions 2019-11-22 12:05:14 -06:00
cli-cmds.h Move declaration of max_user_call_depth to header 2019-10-12 14:31:26 -05:00
cli-decode.c Allow . character as part of command names. 2019-11-30 09:37:49 +01:00
cli-decode.h Let commands free "name" 2019-11-26 14:20:30 -07:00
cli-dump.c Remove some includes of readline.h 2019-11-06 07:29:43 -07:00
cli-interp.c Add debug redirect option 2019-05-17 14:21:47 +01:00
cli-interp.h Add debug redirect option 2019-05-17 14:21:47 +01:00
cli-logging.c Use styled_string for "show logging filename" 2019-10-01 15:12:41 -06:00
cli-option.c Make first and last lines of 'command help documentation' consistent. 2019-08-07 00:04:33 +02:00
cli-option.h Change boolean options to bool instead of int 2019-09-18 09:35:12 +09:00
cli-script.c Allow . character as part of command names. 2019-11-30 09:37:49 +01:00
cli-script.h Don't include gdbarch.h from defs.h 2019-07-10 14:53:53 -06:00
cli-setshow.c Implement convenience functions to examine GDB settings. 2019-10-31 23:31:43 +01:00
cli-setshow.h Implement convenience functions to examine GDB settings. 2019-10-31 23:31:43 +01:00
cli-style.c Add TUI border colors 2019-12-01 11:59:23 -07:00
cli-style.h Add TUI border colors 2019-12-01 11:59:23 -07:00
cli-utils.c gdb: Add new -n flag to some info commands 2019-08-27 16:21:42 +01:00
cli-utils.h [gdb] Fix more typos in comments (2) 2019-10-26 09:55:32 +02:00