[Konsole-devel] Preparing works on shared terminal emulation library
Lars Doelle
lars.doelle at on-line.de
Fri Oct 5 06:53:49 UTC 2012
Hi Jekyll, All,
After having some look on both kmscon and the current
state of the emulation core in konsole, i decided to start
work by a clean-up round within the konsole.
The goal is to get a firm grip on the interface of the emulation.
This in two respects:
1) Layering
The emulation was (and is) carefully layered within the overall
program making it virtual independent from the remainder of
the konsole code.
This layering was never explicitly stated anywhere in the
documentation but has been maintained and re-established
during the time anyway. The current step is to strenghten this
layering and to make it more explicit.
Some minor breakages crept within this layering, thought,
which i'll try to correct next. Most notably are the use of the
classes TerminalCharacterDecoder and TerminalDisplay. Some
more even smaller such breakages might be present.
2) Use of the interface
Though C++ headers do allow to limit the access of the interface,
it is not fully clear, how it is actually used right now. I'll do a use
analysis to find out, if the layering is bypassed or otherwised
broken by use and try to fix that too.
I'll not push out any changes, but will instead post patches to
the list to allow to review the modifications first. As soon as the
interface is strengthened to a clean cut, further work of mine
should be limited the few files constituting the emulation.
-Lars
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/konsole-devel/attachments/20121005/08b1e560/attachment.html>
More information about the konsole-devel
mailing list