https://bugs.kde.org/show_bug.cgi?id=396435

--- Comment #13 from Kurt Hindenburg <kurt.hindenb...@gmail.com> ---
Git commit 0f33ee504bc2e7cc8e466093131a15117f3d3460 by Kurt Hindenburg, on
behalf of Mariusz Glebocki.
Committed on 27/09/2018 at 02:46.
Pushed by hindenburg into branch 'master'.

Move character width functions to Character class

Summary:
Replaces direct konsole_wcwidth() calls with Character object property
and the class static function, which internally still use
konsole_wcwidth().

The change also prepares the codebase for a new code for determining
character width. This way the change will barely touch existing code.

Test Plan:
konsole_wcwidth() is still used, just in one central place. Passed
compilation and CharacterWidthTest should be enough.

Reviewers: #konsole, hindenburg

Reviewed By: #konsole, hindenburg

Subscribers: hindenburg, konsole-devel

Tags: #konsole

Differential Revision: https://phabricator.kde.org/D15756

M  +25   -0    src/Character.h
M  +0    -1    src/Filter.cpp
M  +1    -2    src/Screen.cpp
M  +1    -2    src/TerminalCharacterDecoder.cpp
M  +1    -2    src/TerminalDisplay.cpp
M  +2    -2    src/autotests/CharacterWidthTest.cpp

https://commits.kde.org/konsole/0f33ee504bc2e7cc8e466093131a15117f3d3460

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to