Review Request: adiumxtra-protocol-handler: supporting chat styles and emoticons

David Edmundson david at davidedmundson.co.uk
Wed Sep 29 22:58:12 CEST 2010


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://svn.reviewboard.kde.org/r/5483/#review7889
-----------------------------------------------------------



/trunk/playground/network/telepathy-chat-handler/lib/chatstyleplistfilereader.h
<http://svn.reviewboard.kde.org/r/5483/#comment8142>

    This does not conform to KDE coding libs standard (read about "d pointers").
    
    I'm trying to move all the chatwindow/lib code to follow this. Though it's ongoing at present.



/trunk/playground/network/telepathy-chat-handler/lib/chatstyleplistfilereader.cpp
<http://svn.reviewboard.kde.org/r/5483/#comment8144>

    is "bla" a good name for this variable?



/trunk/playground/network/telepathy-chat-handler/lib/chatstyleplistfilereader.cpp
<http://svn.reviewboard.kde.org/r/5483/#comment8145>

    Should you be checking the return value of this?



/trunk/playground/network/telepathy-chat-handler/lib/chatstyleplistfilereader.cpp
<http://svn.reviewboard.kde.org/r/5483/#comment8138>

    Don't use "magic numbers" always define an enum where possible.



/trunk/playground/network/telepathy-chat-handler/lib/chatwindowstylemanager.cpp
<http://svn.reviewboard.kde.org/r/5483/#comment8140>

    This file doesn't actually need to exist. See Adium spec.
    
    
    also I would personally prefer:
    
    bool validResult = true;
    
    if (! currentDir...)
    {
     validResult = false;
    }
    if (! currentDir...)
    {
     validResult = false
    
    etc.


- David


On 2010-09-29 20:41:05, Dominik Schmidt wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://svn.reviewboard.kde.org/r/5483/
> -----------------------------------------------------------
> 
> (Updated 2010-09-29 20:41:05)
> 
> 
> Review request for telepathy and Gustavo Boiko.
> 
> 
> Summary
> -------
> 
> The main.cpp is a little hacky.
> 
> Should I subclass KApplication and put the install function there?
> This would avoid the global app pointer and I could then add a slot displaySuccess() or something which would then show a knotification.
> Other suggestions how to solve this?
> 
> 
> If you want to test it, just go to http://www.adiumxtras.com and click an install link for chat styles or emoticons. It's broken in KDE (at least) trunk though :-( 
> You can test it simply this way:
> adiumxtra-protocol-handler adiumxtra://www.adiumxtras.com/download/2463 (for Gone Dark theme)
> adiumxtra-protocol-handler adiumxtra://www.adiumxtras.com/download/4058 (for cool_cat emoticon theme)
> 
> 
> Diffs
> -----
> 
>   /trunk/playground/network/telepathy-chat-handler/lib/chatwindowstylemanager.cpp 1180207 
>   /trunk/playground/network/telepathy-chat-handler/adiumxtra-protocol-handler/emoticonsetinstaller.h PRE-CREATION 
>   /trunk/playground/network/telepathy-chat-handler/adiumxtra-protocol-handler/emoticonsetinstaller.cpp PRE-CREATION 
>   /trunk/playground/network/telepathy-chat-handler/adiumxtra-protocol-handler/main.cpp PRE-CREATION 
>   /trunk/playground/network/telepathy-chat-handler/lib/chatstyleplistfilereader.h 1180207 
>   /trunk/playground/network/telepathy-chat-handler/lib/chatstyleplistfilereader.cpp 1180207 
>   /trunk/playground/network/telepathy-chat-handler/adiumxtra-protocol-handler/chatstyleinstaller.cpp PRE-CREATION 
>   /trunk/playground/network/telepathy-chat-handler/adiumxtra-protocol-handler/chatstyleinstaller.h PRE-CREATION 
>   /trunk/playground/network/telepathy-chat-handler/CMakeLists.txt 1180207 
>   /trunk/playground/network/telepathy-chat-handler/adiumxtra-protocol-handler/CMakeLists.txt PRE-CREATION 
>   /trunk/playground/network/telepathy-chat-handler/adiumxtra-protocol-handler/adiumxtra-protocol-handler.notifyrc PRE-CREATION 
>   /trunk/playground/network/telepathy-chat-handler/adiumxtra-protocol-handler/adiumxtra.protocol PRE-CREATION 
>   /trunk/playground/network/telepathy-chat-handler/adiumxtra-protocol-handler/bundleinstaller.h PRE-CREATION 
>   /trunk/playground/network/telepathy-chat-handler/adiumxtra-protocol-handler/bundleinstaller.cpp PRE-CREATION 
> 
> Diff: http://svn.reviewboard.kde.org/r/5483/diff
> 
> 
> Testing
> -------
> 
> Yes, works for me :-)
> 
> 
> Screenshots
> -----------
> 
> Chatstyle Installation
>   http://svn.reviewboard.kde.org/r/5483/s/514/
> Emoticonset Installation
>   http://svn.reviewboard.kde.org/r/5483/s/515/
> 
> 
> Thanks,
> 
> Dominik
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-telepathy/attachments/20100929/e388918e/attachment.htm 


More information about the KDE-Telepathy mailing list