binutils-gdb/gdb/tui
Tom Tromey 1ce3e8442e Introduce TUI window iterator
This introduces an iterator class and a range adapter to make it
simpler to iterate over TUI windows.

One explicit iteration remains, in tui-win.c, because that spot is
deleting windows as well.

gdb/ChangeLog
2019-07-17  Tom Tromey  <tom@tromey.com>

	* tui/tui-wingeneral.h (tui_refresh_all): Update.
	* tui/tui-wingeneral.c (make_all_visible): Use foreach.
	(tui_refresh_all): Remove "list" parameter.  Use foreach.
	* tui/tui-win.c (window_name_completer): Use foreach.
	(tui_refresh_all_win, tui_rehighlight_all, tui_all_windows_info)
	(update_tab_width): Likewise.
	* tui/tui-layout.c (show_layout): Update.
	* tui/tui-data.h (class tui_window_iterator): New.
	(struct all_tui_windows): New.
	* tui/tui-data.c (tui_partial_win_by_name): Use foreach.
2019-07-17 12:19:03 -06:00
..
ChangeLog-1998-2003
tui-command.c Introduce can_scroll method 2019-07-17 12:18:51 -06:00
tui-command.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
tui-data.c Introduce TUI window iterator 2019-07-17 12:19:03 -06:00
tui-data.h Introduce TUI window iterator 2019-07-17 12:19:03 -06:00
tui-disasm.c Fix TUI use of "has_break" field 2019-07-04 10:36:31 -06:00
tui-disasm.h Introduce methods for scrolling 2019-06-25 07:48:28 -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 Remove deleted breakpoint from TUI display 2019-07-17 12:18:53 -06:00
tui-hooks.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
tui-interp.c Move interpreter_p declaration to main.h 2019-05-08 10:38:02 -06:00
tui-io.c Rename common to gdbsupport 2019-07-09 07:45:38 -06:00
tui-io.h Improve/fix the TUI's current source line highlight 2019-03-18 14:26:00 +00:00
tui-layout.c Introduce TUI window iterator 2019-07-17 12:19:03 -06:00
tui-layout.h Normalize include guards in gdb 2019-02-07 03:27:23 -07: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 Minor tui_reg_next / tui_reg_prev cleanup 2019-07-17 12:19:02 -06:00
tui-regs.h Introduce two more tui_data_window methods 2019-07-17 12:18:59 -06:00
tui-source.c Remove some uses of TUI_WIN_SRC 2019-07-17 12:18:52 -06:00
tui-source.h Remove some uses of TUI_WIN_SRC 2019-07-17 12:18:52 -06:00
tui-stack.c Consolidate "if"s in tui_show_frame_info 2019-07-17 12:18:52 -06:00
tui-stack.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
tui-win.c Introduce TUI window iterator 2019-07-17 12:19:03 -06:00
tui-win.h Introduce methods for scrolling 2019-06-25 07:48:28 -06:00
tui-windata.c Introduce two more tui_data_window methods 2019-07-17 12:18:59 -06:00
tui-windata.h Introduce tui_data_window::erase_data_content method 2019-07-17 12:18:59 -06:00
tui-wingeneral.c Introduce TUI window iterator 2019-07-17 12:19:03 -06:00
tui-wingeneral.h Introduce TUI window iterator 2019-07-17 12:19:03 -06:00
tui-winsource.c Remove deleted breakpoint from TUI display 2019-07-17 12:18:53 -06:00
tui-winsource.h Remove deleted breakpoint from TUI display 2019-07-17 12:18:53 -06:00
tui.c Derive tui_win_info from tui_gen_win_info 2019-06-25 07:48:37 -06:00
tui.h Fix "auxiliary" typo 2019-06-25 07:48:49 -06:00