Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH 0/5] Add zebra-striping to CLI tables
@ 2026-06-12 14:25 Tom Tromey
  2026-06-12 14:25 ` [PATCH 1/5] Ensure tgetent is called before tgetnum Tom Tromey
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Tom Tromey @ 2026-06-12 14:25 UTC (permalink / raw)
  To: gdb-patches; +Cc: Tom Tromey

This series changes gdb to allow zebra-striping of tables in the CLI.
That is, with this patch, the user can set the "background" style of
even and odd lines of a table; this background style will be merged
with the relevant foreground styles of the items being printed.

Signed-off-by: Tom Tromey <tom@tromey.com>
---
Tom Tromey (5):
      Ensure tgetent is called before tgetnum
      Make two ui_out methods 'private'
      Allow "phony" ui-out tables
      Add ui_file_style::merge
      Add zebra-striping to CLI table display

 gdb/NEWS                               | 10 +++++
 gdb/cli-out.c                          | 26 ++++++++---
 gdb/cli-out.h                          | 18 +++++++-
 gdb/cli/cli-style.c                    | 43 +++++++++++++++++-
 gdb/cli/cli-style.h                    |  6 ++-
 gdb/doc/gdb.texinfo                    |  8 ++++
 gdb/mi/mi-out.c                        |  9 ++--
 gdb/mi/mi-out.h                        |  2 +-
 gdb/mingw-hdep.c                       |  6 +--
 gdb/posix-hdep.c                       |  6 +--
 gdb/python/py-uiout.h                  |  5 ++-
 gdb/stack.c                            |  6 +++
 gdb/testsuite/gdb.base/style.exp       | 17 ++++++++
 gdb/testsuite/gdb.base/zebra-style.c   | 32 ++++++++++++++
 gdb/testsuite/gdb.base/zebra-style.exp | 79 ++++++++++++++++++++++++++++++++++
 gdb/testsuite/lib/gdb-utils.exp        | 14 +++---
 gdb/ui-out.c                           | 33 ++++++++++++--
 gdb/ui-out.h                           | 29 +++++++++++--
 gdb/ui-style.c                         | 30 +++++++++++++
 gdb/ui-style.h                         | 18 ++++++++
 gdb/unittests/style-selftests.c        |  8 ++++
 gdb/utils.c                            |  6 +++
 22 files changed, 374 insertions(+), 37 deletions(-)
---
base-commit: 2b675b263dfd5c780b8b77ae6b97543a6fb42d1c
change-id: 20260612-submit-zebra-style-1bd2db26fa62

Best regards,
-- 
Tom Tromey <tom@tromey.com>


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-06-13 14:28 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-12 14:25 [PATCH 0/5] Add zebra-striping to CLI tables Tom Tromey
2026-06-12 14:25 ` [PATCH 1/5] Ensure tgetent is called before tgetnum Tom Tromey
2026-06-12 14:25 ` [PATCH 2/5] Make two ui_out methods 'private' Tom Tromey
2026-06-12 14:25 ` [PATCH 3/5] Allow "phony" ui-out tables Tom Tromey
2026-06-12 14:25 ` [PATCH 4/5] Add ui_file_style::merge Tom Tromey
2026-06-12 14:25 ` [PATCH 5/5] Add zebra-striping to CLI table display Tom Tromey
2026-06-12 15:14   ` Eli Zaretskii
2026-06-13 14:28   ` Matt Rice

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox