[Konsole-devel] Review Request: protect control characters from deletion
Jekyll Wu
adaptee at gmail.com
Sun Jul 1 07:21:18 UTC 2012
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/105325/#review15274
-----------------------------------------------------------
Thanks for the update and sorry for the late response.
The first patch causes regression. For example, the bottom status line of 'less' now expands to the whole width of the emullator screen.
The third patch makes konsole crashing/hanging quite often for me. See http://paste.kde.org/508628/ for one backtrace.
- Jekyll Wu
On June 25, 2012, 12:40 p.m., Alexander Sulfrian wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/105325/
> -----------------------------------------------------------
>
> (Updated June 25, 2012, 12:40 p.m.)
>
>
> Review request for Konsole.
>
>
> Description
> -------
>
> This review contains three patches. I do not know how to submit them as separate
> patches for one review. I attached the single patches as files to the review.
>
> - protect control characters from deletion
>
> If you remove characters from a line (replace with space) and first
> character, that should be removed, is the first character with a new
> color, do not remove the color but replace the character.
>
> - save color on change
>
> If the colors change, you need to save it in the next character to be
> able to complete the line with the correct colors.
>
> - keep color for additional character at line end
>
> If the current line contains less characters than the width of the
> current window, default chars were used to draw the additional
> characters. This results in transparent (missing) line endings in some
> ncurses applications, that draw lines using the background of space
> characters. This keeps the color of the last character to draw the
> missing chars.
>
>
> This addresses bug 278991.
> http://bugs.kde.org/show_bug.cgi?id=278991
>
>
> Diffs
> -----
>
> src/Character.h cd4e230
> src/Screen.cpp cc29cf6
>
> Diff: http://git.reviewboard.kde.org/r/105325/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Alexander Sulfrian
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/konsole-devel/attachments/20120701/249b4092/attachment.html>
More information about the konsole-devel
mailing list