[Kde-pim] Review Request: Support for the metadata-over-DBus API in Kmail

Thomas McGuire mcguire at kde.org
Mon Mar 2 14:20:24 GMT 2009


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


Please take a look at Kevin's and my comments.
Also, it crashes here, with the patch applied only, haven't figured out yet why.
I admit I didn't have time to test the actual functionality yet, will do that later (when it doesn't crash)
Sorry for the long review delay.

[KCrash Handler]
#5  0xb6a5c1cf in QCoreApplication::notifyInternal (this=0xbfd5e978, receiver=0x824c8c0, event=0xbfd5e6e4) at kernel/qcoreapplication.cpp:593
#6  0xb6a5fd75 in QCoreApplication::sendEvent (receiver=0x824c8c0, event=0xbfd5e6e4) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:208
#7  0xb6a6ed78 in QObjectPrivate::setParent_helper (this=0x829af90, o=0x824c8c0) at kernel/qobject.cpp:1892
#8  0xb6a6ee67 in QObject::setParent (this=0x829b110, parent=0x824c8c0) at kernel/qobject.cpp:1836
#9  0xb6a71cb3 in QObject (this=0x829b110, parent=0x824c8c0) at kernel/qobject.cpp:675
#10 0xb6a7aee4 in QTimer (this=0x829b110, parent=0x824c8c0) at kernel/qtimer.cpp:130
#11 0xb764ca31 in GlobalSettings (this=0x824c8c0) at /media/dev/trunk/src/KDE/kdepim/kmail/globalsettings.cpp:42
#12 0xb764cb34 in GlobalSettings::self () at /media/dev/trunk/src/KDE/kdepim/kmail/globalsettings.cpp:33
#13 0xb74b59bb in KMKernel (this=0xbfd5e8cc, parent=0x0, name=0x0) at /media/dev/trunk/src/KDE/kdepim/kmail/kmkernel.cpp:138
#14 0x0804b4b1 in main (argc=1, argv=0xbfd5ea54) at /media/dev/trunk/src/KDE/kdepim/kmail/main.cpp:127


/trunk/KDE/kdepim/kmail/kmkernel.cpp
<http://reviewboard.kde.org/r/168/#comment182>

    You forgot the delete here. best is to put it into a std::auto_ptr



/trunk/KDE/kdepim/kmail/mailmanagerimpl.cpp
<http://reviewboard.kde.org/r/168/#comment184>

    foreach is probably easier here, but that's only a style thing.
    Otherwise, use const here more



/trunk/KDE/kdepim/kmail/mailmanagerimpl.cpp
<http://reviewboard.kde.org/r/168/#comment185>

    hah, found a style thing ;)



/trunk/KDE/kdepim/kmail/mailmanagerimpl.cpp
<http://reviewboard.kde.org/r/168/#comment186>

    style



/trunk/KDE/kdepim/kmail/mailmanagerimpl.cpp
<http://reviewboard.kde.org/r/168/#comment187>

    const KMMsgBase ?



/trunk/KDE/kdepim/kmail/mailmanagerimpl.cpp
<http://reviewboard.kde.org/r/168/#comment188>

    Either remove it or say something else than "hi there" :)
    Also, "Hi there" instead of "Hi there " (the space is auto-added by kDebug)


- Thomas


On 2009-02-25 06:10:18, Philip Van Hoof wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://reviewboard.kde.org/r/168/
> -----------------------------------------------------------
> 
> (Updated 2009-02-25 06:10:18)
> 
> 
> Review request for KDE PIM.
> 
> 
> Summary
> -------
> 
> Support for the metadata-over-DBus API in Kmail.
> 
> https://bugs.kde.org/show_bug.cgi?id=185331
> 
> 
> This addresses bug https://bugs.kde.org/show_bug.cgi?id=185331.
>     https://bugs.kde.org/show_bug.cgi?id=https://bugs.kde.org/show_bug.cgi?id=185331
> 
> 
> Diffs
> -----
> 
>   /trunk/KDE/kdepim/kmail/CMakeLists.txt 917233 
>   /trunk/KDE/kdepim/kmail/kmkernel.h 917233 
>   /trunk/KDE/kdepim/kmail/kmkernel.cpp 917233 
>   /trunk/KDE/kdepim/kmail/mailmanagerimpl.h PRE-CREATION 
>   /trunk/KDE/kdepim/kmail/mailmanagerimpl.cpp PRE-CREATION 
>   /trunk/KDE/kdepim/libkdepim/CMakeLists.txt 917233 
>   /trunk/KDE/kdepim/libkdepim/interfaces/org.freedesktop.email.metadata.Manager.xml PRE-CREATION 
> 
> Diff: http://reviewboard.kde.org/r/168/diff
> 
> 
> Testing
> -------
> 
> Tested with this test tool:
> http://live.gnome.org/Evolution/Metadata?action=AttachFile&do=view&target=valaclientsample.vala
> 
> 
> Thanks,
> 
> Philip
> 
>

_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/



More information about the kde-pim mailing list