Review Request: kconfigxteditor refactor

Commit Hook null at kde.org
Wed Dec 19 13:50:00 UTC 2012


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/107394/#review23724
-----------------------------------------------------------


This review has been submitted with commit 2a1c6cc977c6cb134ad2b94b46d831b15f33fd7b by Giorgos Tsiapaliokas to branch master.

- Commit Hook


On Dec. 10, 2012, 4:31 p.m., Giorgos Tsiapaliokas wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/107394/
> -----------------------------------------------------------
> 
> (Updated Dec. 10, 2012, 4:31 p.m.)
> 
> 
> Review request for Plasma.
> 
> 
> Description
> -------
> 
> What has been done in the refactoring
> 1. replace QXmlStream* with QDom*
> 2. remove the old replace-by-hand code
> 3. simplify the code
> 4. reduce the code
> 7 files changed, 411 insertions(+), 576 deletions(-)
> 
> There is only one issue, kconfigxteditor won't reformat correctly the current namespaces of the XMLs
> 
> the above
> <kcfg xmlns="http://www.kde.org/standards/kcfg/1.0"
>       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>       xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
>       http://www.kde.org/standards/kcfg/1.0/kcfg.xsd" >
> 
> will become this,
> <kcfg xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.kde.org/standards/kcfg/1.0" xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0&#xa;      http://www.kde.org/standards/kcfg/1.0/kcfg.xsd">
> 
> the issue is in the newline, by removing by hand with $EDITOR fixes the issue.
> 
> 
> Diffs
> -----
> 
>   plasmate/editors/kconfigxt/kconfigxteditor.h e6cd65e 
>   plasmate/editors/kconfigxt/kconfigxteditor.cpp 6f585fc 
>   plasmate/editors/kconfigxt/kconfigxtreader.h 8e923e9 
>   plasmate/editors/kconfigxt/kconfigxtreader.cpp 21ce6ea 
>   plasmate/editors/kconfigxt/kconfigxtwriter.h d3560cd 
>   plasmate/editors/kconfigxt/kconfigxtwriter.cpp 20d6459 
>   plasmate/mainwindow.cpp ee2666f 
> 
> Diff: http://git.reviewboard.kde.org/r/107394/diff/
> 
> 
> Testing
> -------
> 
> In the attached image I have modified the main.xml of dictionary and it works.
> 
> 
> Thanks,
> 
> Giorgos Tsiapaliokas
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20121219/d6a914ab/attachment.html>


More information about the Plasma-devel mailing list