Frameworks/Epics/KTextEditor: Difference between revisions

From KDE Community Wiki
 
(28 intermediate revisions by 4 users not shown)
Line 1: Line 1:
The KTextEditor interfaces together with its implementation Kate Part build a framework. This page describes the todo-list for the migration to frameworks 5.
The KTextEditor interfaces together with its implementation Kate Part build a framework. This page describes the todo-list for the migration to frameworks 5.


==KTextEditor Tasks==
==KTextEditor, Kate Part and Kate App Tasks==
 
This list contains tasks to make the KTextEditor framework 5 ready. Detailed information about changes can be found in the guide [http://api.kde.org/frameworks-api/frameworks5-apidocs/ktexteditor/html/kte_port_to_5.html Porting to KDE Frameworks 5].
First, port to Qt5 and Frameworks 5 modules. Then, the cleanup starts.
 
{| class="sortable" border="1" cellpadding="5" cellspacing="0" style="border: gray solid 1px; border-collapse: collapse; text-align: left; width:100%;"
{| class="sortable" border="1" cellpadding="5" cellspacing="0" style="border: gray solid 1px; border-collapse: collapse; text-align: left; width:100%;"
|- style="background: #ececec; white-space:nowrap;"
|- style="background: #ececec; white-space:nowrap;"
Line 12: Line 10:
|-
|-
{{FeatureDone | Compile with Frameworks 5 | Christoph}}
{{FeatureDone | Compile with Frameworks 5 | Christoph}}
{{FeatureTodo | KatePart: Port to reduce compiler warnings | everyone}}
{{FeatureDone | KatePart: Port, reduce compiler warnings | Michal}}
{{FeatureTodo | Kate App: Port to reduce compiler warnings | everyone}}
{{FeatureDone | Kate App: Port, reduce compiler warnings | Michal}}
{{FeatureDone | KTE::DocumentCursor to the KTextEditor interfaces. Currently in part/kte5/documentcursor.* | Dominik}}
{{FeatureDone | KTE::DocumentCursor to the KTextEditor interfaces. Currently in part/kte5/documentcursor.* | Dominik}}
{{FeatureTodo | merge KTE::CodeCompletionModel v1-4 into a single interface | ?}}
{{FeatureDone | merge KTE::CodeCompletionModel v1-4 into a single interface | Christoph}}
{{FeatureDone | remove KTE::LoadSaveFilterCheckPlugin | Dominik }}
{{FeatureDone | remove KTE::LoadSaveFilterCheckPlugin | Dominik }}
{{FeatureDone | remove any occurance of SmartCursor and SmartRange | Christoph}}
{{FeatureDone | remove any occurance of SmartCursor and SmartRange | Christoph}}
{{FeatureDone | merge KTE::CoordinatesToCursorInterface into KTE::View | Dominik }}
{{FeatureDone | merge KTE::CoordinatesToCursorInterface into KTE::View | Dominik }}
{{FeatureTodo | merge KTE::ParameterizedSessionConfigInterface into SessionConfigInterface | ?}}
{{FeatureDone | merge KTE::ParameterizedSessionConfigInterface into Document/View itself | Christoph}}
{{FeatureTodo | merge KTE::TeplateInterface 1 + 2 | ?}}
{{FeatureDone | merge KTE::TeplateInterface 1 + 2: postponed to KF  5.1, removed from installed headers | Christoph}}
{{FeatureTodo | properly implement KTE::Document::isValidTextPosition(), with surrogate support | ?}}
{{FeatureDone | properly implement KTE::Document::isValidTextPosition(), with surrogate support | Dominik}}
{{FeatureDone | rename KTE::Document::character() to ::characterAt() | Dominik}}
{{FeatureDone | rename KTE::Document::character() to ::characterAt() | Dominik}}
{{FeatureDone | add KTE::Document::wordAt() and ::wordRangeAt() | Dominik}}
{{FeatureDone | add KTE::Document::wordAt() and ::wordRangeAt() | Dominik}}
{{FeatureTodo | merge Highlight Selection plugin into the built-in search in KatePart | ?}}
{{FeatureDone | merge Highlight Selection plugin into the built-in search in KatePart | Christoph}}
{{FeatureTodo | merge HTML export plugin into KatePart | ?}}
{{FeatureDone | merge HTML export plugin into KatePart | Christoph}}
{{FeatureDone | make KTE::Cursor non-virtual + mark as Q_MOVABLE | Christoph}}
{{FeatureDone | make KTE::Cursor non-virtual + mark as Q_MOVABLE | Christoph}}
{{FeatureDone | make KTE::Range non-virtual + mark as Q_MOVABLE  | Christoph}}
{{FeatureDone | make KTE::Range non-virtual + mark as Q_MOVABLE  | Christoph}}
{{FeatureTodo | KTE::Range & Cursor: inline as much as possible | ?}}
{{FeatureDone | KTE::Range & Cursor: inline as much as possible | Dominik}}
{{FeatureTodo | fix API of KTE::Range: setStartPosition(), setEndPosition() | ?}}
{{FeatureDone | change range only via KTE::Range::setRange(), setStart() + setEnd() are provided for convenience | Christoph }}
{{FeatureTodo | remove KTE::Plugin support | ?}}
{{FeatureDone | extend KTE with applications plugins | Christoph}}
{{FeatureDone | add KTE::Document::readWriteChanged, remove from KateDocument | Dominik}}
{{FeatureDone | add KTE::Document::readWriteChanged, remove from KateDocument | Dominik}}
{{FeatureTodo | discuss dropping MarkInterface, see part/TODO | ?}}
{{FeatureDone | KTE::Command, merge wite KTE::RangeCommand, cleanup CommandInterface | Christoph}}
{{FeatureTodo | KTE::Command, possibly merge wite KTE::RangeCommand ? | ?}}
{{FeatureDone | Kate App: port Projects plugin | Christoph}}
{{FeatureDone | Kate App: port Konsole plugin | Dominik}}
{{FeatureDone | KTE::TextHintInterface: allow multiple clients | Dominik}}
{{FeatureDone | KTE::Cursor/Range Q_DECL_CONSTEXPR & Q_DECL_NOEXCEPT to make them literal types | Dominik}}
{{FeatureDone | KTE::Document: remove QString argument of textAdded/Removed signals | Christoph}}
{{FeatureDone | KTE::Cursor/Range: QTest::toString specializations | Dominik}}
{{FeatureDone | merge KTE::HighlightInterface into KTE::Document and KDE::View | Dominik}}
{{FeatureDone | KTE::Document: RAII editing transactions | Christoph}}
{{FeatureDone | KTE interface cleanup and merges | Christoph, Dominik}}
|}
|}

Latest revision as of 08:42, 26 March 2014

The KTextEditor interfaces together with its implementation Kate Part build a framework. This page describes the todo-list for the migration to frameworks 5.

KTextEditor, Kate Part and Kate App Tasks

This list contains tasks to make the KTextEditor framework 5 ready. Detailed information about changes can be found in the guide Porting to KDE Frameworks 5.

Status Description Coordination
DONE Compile with Frameworks 5 Christoph
DONE KatePart: Port, reduce compiler warnings Michal
DONE Kate App: Port, reduce compiler warnings Michal
DONE KTE::DocumentCursor to the KTextEditor interfaces. Currently in part/kte5/documentcursor.* Dominik
DONE merge KTE::CodeCompletionModel v1-4 into a single interface Christoph
DONE remove KTE::LoadSaveFilterCheckPlugin Dominik
DONE remove any occurance of SmartCursor and SmartRange Christoph
DONE merge KTE::CoordinatesToCursorInterface into KTE::View Dominik
DONE merge KTE::ParameterizedSessionConfigInterface into Document/View itself Christoph
DONE merge KTE::TeplateInterface 1 + 2: postponed to KF 5.1, removed from installed headers Christoph
DONE properly implement KTE::Document::isValidTextPosition(), with surrogate support Dominik
DONE rename KTE::Document::character() to ::characterAt() Dominik
DONE add KTE::Document::wordAt() and ::wordRangeAt() Dominik
DONE merge Highlight Selection plugin into the built-in search in KatePart Christoph
DONE merge HTML export plugin into KatePart Christoph
DONE make KTE::Cursor non-virtual + mark as Q_MOVABLE Christoph
DONE make KTE::Range non-virtual + mark as Q_MOVABLE Christoph
DONE KTE::Range & Cursor: inline as much as possible Dominik
DONE change range only via KTE::Range::setRange(), setStart() + setEnd() are provided for convenience Christoph
DONE extend KTE with applications plugins Christoph
DONE add KTE::Document::readWriteChanged, remove from KateDocument Dominik
DONE KTE::Command, merge wite KTE::RangeCommand, cleanup CommandInterface Christoph
DONE Kate App: port Projects plugin Christoph
DONE Kate App: port Konsole plugin Dominik
DONE KTE::TextHintInterface: allow multiple clients Dominik
DONE KTE::Cursor/Range Q_DECL_CONSTEXPR & Q_DECL_NOEXCEPT to make them literal types Dominik
DONE KTE::Document: remove QString argument of textAdded/Removed signals Christoph
DONE KTE::Cursor/Range: QTest::toString specializations Dominik
DONE merge KTE::HighlightInterface into KTE::Document and KDE::View Dominik
DONE KTE::Document: RAII editing transactions Christoph
DONE KTE interface cleanup and merges Christoph, Dominik