[Konsole-devel] Review Request 128405: Additional rendition flags (SGRs 2, 8, 9, and 53)

Martin Tobias Holmedahl Sandsmark martin.sandsmark at kde.org
Fri Jul 8 20:35:48 UTC 2016


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/128405/#review97228
-----------------------------------------------------------



One issue is that if I have my own color scheme set, not one of the defaults loaded globally, it sets all the faint colors to black (which doesn't work well with a dark color scheme).

I think it can be solved by adding something like this to ColorScheme::readColorEntry:

    if (!configGroup.hasKey("Color")) {
        return;
    }

Then it preserves the default, which might be better. A better alternative again would be to copy from one of the other groups, but that would be a bit more complex.

- Martin Tobias Holmedahl Sandsmark


On July 8, 2016, 6:10 p.m., Antonio Russo wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/128405/
> -----------------------------------------------------------
> 
> (Updated July 8, 2016, 6:10 p.m.)
> 
> 
> Review request for Konsole.
> 
> 
> Repository: konsole
> 
> 
> Description
> -------
> 
> Removed outdated comments and unused constant RE_INTENSIVE
> 
> Replace a quint8 flag type with a uniform RenditionFlag
> typedef (now quint16) in preparation for additional flags.
> 
> Add faint intensity support (SGR 2)
> 
> Four changes implementing faint intensity:
> a) A new rendition flag RE_FAINT
> b) Vt102Emulation to actually render text with
>    a different color
> c) ColorScheme support for "faint" colors
> d) ColorSchemeEditor support
> 
> ColorScheme updates for faint intensities
> 
> 
> Add strikeout support (SGR 9)
> 
> 
> Add conceal support (SGR 8)
> 
> 
> Add overline support (SGR 53)
> 
> 
> Diffs
> -----
> 
>   data/color-schemes/BlackOnLightYellow.colorscheme 289452df8731aba27bde80b70687ad01128a8da6 
>   data/color-schemes/BlackOnRandomLight.colorscheme 8184e29c54d19c45d47b24274099c4a80140adce 
>   data/color-schemes/BlackOnWhite.colorscheme be9ba2f193eb6a5e15f4ee12d06d2184c520601a 
>   data/color-schemes/BlueOnBlack.colorscheme f72da32da5472c2aefb9da8754fe20ed7ccff6da 
>   data/color-schemes/Breeze.colorscheme a9031d6ae1f260f5d8bb394e542cd38cbcad3173 
>   data/color-schemes/DarkPastels.colorscheme 110f72bc26e929db87570ebd8fd5f382c70d0359 
>   data/color-schemes/GreenOnBlack.colorscheme df0f3b309e5d93ea052114ad7aec64191ac340dc 
>   data/color-schemes/Linux.colorscheme 3cb0381132449bd61daccaa591fd6b3460326bb0 
>   data/color-schemes/RedOnBlack.colorscheme 207f892de3e2290e7ef1be8aa7c4d847b26f66c8 
>   data/color-schemes/Solarized.colorscheme e3f0aee0478c0e77231c3463ef2d8059b6dbdd55 
>   data/color-schemes/SolarizedLight.colorscheme ea064f4e4aa519a0652ba962cfd2f57906681758 
>   data/color-schemes/WhiteOnBlack.colorscheme 7307c5d40d741a9fa188468c461cddbb90179e86 
>   src/Character.h a722bafb47b166defc88324bc58f33017630cd07 
>   src/CharacterColor.h 8557e1bec3f04b72c89831f12f6e283275983952 
>   src/ColorScheme.cpp 1281433dc06274d970b96162711b78938695be09 
>   src/ColorSchemeEditor.cpp 9e227a4a365779372ff15cc4af77e0118ce30fec 
>   src/History.h dcd38195101a6f95b22e7922d2a2268562ec1eed 
>   src/Screen.h f73add14ecf7787dabe07850c586d970729367f5 
>   src/Screen.cpp ffc3fd15f158079373b47d261fd33fc9f4a95192 
>   src/TerminalCharacterDecoder.h 18dd0302ef23e6cdb684c44952d4adddc432e6dc 
>   src/TerminalDisplay.cpp 63e40ea7820d9be9a3c71293ff1a33a629fd111c 
>   src/Vt102Emulation.cpp 6e1734b451f95e0b498218d992f8b0ee007e5170 
>   src/autotests/CharacterColorTest.cpp 0fefa607a5ab75794b463a0c804cb619bddbe5c5 
> 
> Diff: https://git.reviewboard.kde.org/r/128405/diff/
> 
> 
> Testing
> -------
> 
> I have been running this patchset for the last several months without issue.
> 
> 
> Thanks,
> 
> Antonio Russo
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/konsole-devel/attachments/20160708/d984ace8/attachment.html>


More information about the konsole-devel mailing list