binutils-gdb/gdb/tui
Tom Tromey d6a00eba2a Remove tui_win_info::refresh_all
The TUI has two duplicate "re-render this window" methods, "rerender"
and "refresh_all".  They differ only slightly in semantics, so I
wanted to see if they could be unified.

After looking into this, I decided that refresh_all was not needed.
There are 4 calls to tui_refresh_all_win (the only caller of this
method):

1. tui_enable.  This sets the layout, which renders the windows.

2. tui_cont_sig.  Here, I think it's sufficient to simply redraw the
   current window contents from the curses backing store, because gdb
   state didn't change while it was suspended

3. tui_dispatch_ctrl_char.  This is the C-l handler, and here it's
   explicitly enough to just refresh the screen (as above).

4. tui_refresh_all_command.  This is the command equivalent of C-l.

So, this patch removes this method entirely and simplifies
tui_refresh_all_win.

gdb/ChangeLog
2019-08-30  Tom Tromey  <tom@tromey.com>

	* tui/tui-winsource.h (struct tui_source_window_base)
	<refresh_all>: Don't declare.
	* tui/tui-winsource.c (tui_source_window_base::refresh_all):
	Remove.
	* tui/tui-win.c (tui_refresh_all_win): Don't call refresh_all or
	tui_show_locator_content.
	* tui/tui-regs.h (struct tui_data_window) <refresh_all>: Don't
	declare.
	* tui/tui-regs.c (tui_data_window::refresh_all): Remove.
	* tui/tui-data.h (struct tui_win_info) <refresh_all>: Don't
	declare.
2019-08-30 12:57:10 -06:00
..
ChangeLog-1998-2003
tui-command.c Change tui_make_window to be a method 2019-08-20 16:45:50 -06:00
tui-command.h TUI resize unification 2019-08-15 14:17:11 -06:00
tui-data.c Change tui_make_window to be a method 2019-08-20 16:45:50 -06:00
tui-data.h Remove tui_win_info::refresh_all 2019-08-30 12:57:10 -06:00
tui-disasm.c Remove the TUI execution info window 2019-08-16 14:17:36 -06:00
tui-disasm.h Some i18n fixes for the TUI 2019-08-20 16:22:03 -06:00
tui-file.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tui-file.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
tui-hooks.c Change tui_check_register_values to be a method 2019-08-20 16:45:50 -06:00
tui-hooks.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
tui-interp.c Remove tui_initialize_static_data 2019-08-15 12:29:28 -06:00
tui-io.c Don't call wrefresh from tui_cont_sig 2019-08-30 12:57:10 -06:00
tui-io.h Change tui_data_item_window::content to be a unique_xmalloc_ptr 2019-08-20 16:45:50 -06:00
tui-layout.c Don't call tui_refresh_all from show_layout 2019-08-30 12:57:07 -06:00
tui-layout.h Make tui_default_win_height static 2019-08-13 14:52:09 -06:00
tui-out.c Rename field_int to field_signed 2019-07-17 10:34:05 -06:00
tui-out.h Rename field_int to field_signed 2019-07-17 10:34:05 -06:00
tui-regs.c Remove tui_win_info::refresh_all 2019-08-30 12:57:10 -06:00
tui-regs.h Remove tui_win_info::refresh_all 2019-08-30 12:57:10 -06:00
tui-source.c Change tui_make_window to be a method 2019-08-20 16:45:50 -06:00
tui-source.h Some i18n fixes for the TUI 2019-08-20 16:22:03 -06:00
tui-stack.c Minor rearrangement of tui-stack.c 2019-08-30 12:57:09 -06:00
tui-stack.h Turn two locator functions into methods 2019-08-30 12:57:07 -06:00
tui-win.c Remove tui_win_info::refresh_all 2019-08-30 12:57:10 -06:00
tui-win.h Introduce methods for scrolling 2019-06-25 07:48:28 -06:00
tui-wingeneral.c Don't call touchwin in tui_gen_win_info::refresh_window 2019-08-30 12:57:06 -06:00
tui-wingeneral.h Change tui_make_window to be a method 2019-08-20 16:45:50 -06:00
tui-winsource.c Remove tui_win_info::refresh_all 2019-08-30 12:57:10 -06:00
tui-winsource.h Remove tui_win_info::refresh_all 2019-08-30 12:57:10 -06:00
tui.c Remove separate visibility flag 2019-08-16 11:28:33 -06:00
tui.h Remove the TUI execution info window 2019-08-16 14:17:36 -06:00