public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug tui/25342] Unicode data in strings conflicts with TUI
[not found] <bug-25342-4717@http.sourceware.org/bugzilla/>
@ 2020-06-27 19:04 ` tromey at sourceware dot org
2020-08-09 14:37 ` tromey at sourceware dot org
` (4 subsequent siblings)
5 siblings, 0 replies; 6+ messages in thread
From: tromey at sourceware dot org @ 2020-06-27 19:04 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=25342
Tom Tromey <tromey at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned at sourceware dot org |tromey at sourceware dot org
--- Comment #3 from Tom Tromey <tromey at sourceware dot org> ---
I have a fix finally, I think.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tui/25342] Unicode data in strings conflicts with TUI
[not found] <bug-25342-4717@http.sourceware.org/bugzilla/>
2020-06-27 19:04 ` [Bug tui/25342] Unicode data in strings conflicts with TUI tromey at sourceware dot org
@ 2020-08-09 14:37 ` tromey at sourceware dot org
2020-09-28 2:35 ` cvs-commit at gcc dot gnu.org
` (3 subsequent siblings)
5 siblings, 0 replies; 6+ messages in thread
From: tromey at sourceware dot org @ 2020-08-09 14:37 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=25342
Tom Tromey <tromey at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |wolfetao at qq dot com
--- Comment #4 from Tom Tromey <tromey at sourceware dot org> ---
*** Bug 25296 has been marked as a duplicate of this bug. ***
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tui/25342] Unicode data in strings conflicts with TUI
[not found] <bug-25342-4717@http.sourceware.org/bugzilla/>
2020-06-27 19:04 ` [Bug tui/25342] Unicode data in strings conflicts with TUI tromey at sourceware dot org
2020-08-09 14:37 ` tromey at sourceware dot org
@ 2020-09-28 2:35 ` cvs-commit at gcc dot gnu.org
2020-09-28 2:36 ` cvs-commit at gcc dot gnu.org
` (2 subsequent siblings)
5 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-09-28 2:35 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=25342
--- Comment #5 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tom Tromey <tromey@sourceware.org>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=35a982372fd63da7dd2811d6150b0c61236bbbb5
commit 35a982372fd63da7dd2811d6150b0c61236bbbb5
Author: Tom Tromey <tom@tromey.com>
Date: Sun Sep 27 20:30:30 2020 -0600
Use ISCNTRL in tui_copy_source_line
This changes tui_copy_source_line to use ISCNTRL. This lets it work
more nicely with UTF-8 input. Note that this still won't work for
stateful multi-byte encodings; for that much more work would be
required. However, I think this patch does not make gdb any worse in
this scenario.
gdb/ChangeLog
2020-09-27 Tom Tromey <tom@tromey.com>
PR tui/25342:
* tui/tui-winsource.c (tui_copy_source_line): Use ISNCTRL.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tui/25342] Unicode data in strings conflicts with TUI
[not found] <bug-25342-4717@http.sourceware.org/bugzilla/>
` (2 preceding siblings ...)
2020-09-28 2:35 ` cvs-commit at gcc dot gnu.org
@ 2020-09-28 2:36 ` cvs-commit at gcc dot gnu.org
2020-09-28 2:38 ` tromey at sourceware dot org
2020-10-08 17:54 ` tromey at sourceware dot org
5 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-09-28 2:36 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=25342
--- Comment #6 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tom Tromey <tromey@sourceware.org>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=2c72d5e58a55d3e0f867ffd9421184852f051cb7
commit 2c72d5e58a55d3e0f867ffd9421184852f051cb7
Author: Tom Tromey <tom@tromey.com>
Date: Sun Sep 27 20:30:30 2020 -0600
Rewrite tui_puts
This rewrites tui_puts. It now writes as many bytes as possible in a
call to waddnstr, letting curses handle multi-byte sequences properly.
Note that tui_puts_internal remains. It is needed to handle computing
the start line of the readline prompt, which is difficult to do
properly in the case where redisplaying can also cause the command
window to scroll. This might be possible to implement by reverting to
single "character" output, by using mbsrtowcs for its side effects to
find character boundaries in the input. I have not attempted this.
gdb/ChangeLog
2020-09-27 Tom Tromey <tom@tromey.com>
PR tui/25342:
* tui/tui-io.c (tui_puts): Rewrite. Move earlier.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tui/25342] Unicode data in strings conflicts with TUI
[not found] <bug-25342-4717@http.sourceware.org/bugzilla/>
` (3 preceding siblings ...)
2020-09-28 2:36 ` cvs-commit at gcc dot gnu.org
@ 2020-09-28 2:38 ` tromey at sourceware dot org
2020-10-08 17:54 ` tromey at sourceware dot org
5 siblings, 0 replies; 6+ messages in thread
From: tromey at sourceware dot org @ 2020-09-28 2:38 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=25342
Tom Tromey <tromey at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #7 from Tom Tromey <tromey at sourceware dot org> ---
I think this is fixed now.
The fix will appear in 11.x, though I can't yet set the
target milestone.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tui/25342] Unicode data in strings conflicts with TUI
[not found] <bug-25342-4717@http.sourceware.org/bugzilla/>
` (4 preceding siblings ...)
2020-09-28 2:38 ` tromey at sourceware dot org
@ 2020-10-08 17:54 ` tromey at sourceware dot org
5 siblings, 0 replies; 6+ messages in thread
From: tromey at sourceware dot org @ 2020-10-08 17:54 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=25342
Tom Tromey <tromey at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |11.1
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2020-10-08 17:54 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-25342-4717@http.sourceware.org/bugzilla/>
2020-06-27 19:04 ` [Bug tui/25342] Unicode data in strings conflicts with TUI tromey at sourceware dot org
2020-08-09 14:37 ` tromey at sourceware dot org
2020-09-28 2:35 ` cvs-commit at gcc dot gnu.org
2020-09-28 2:36 ` cvs-commit at gcc dot gnu.org
2020-09-28 2:38 ` tromey at sourceware dot org
2020-10-08 17:54 ` tromey at sourceware dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).