[Kde-pim] Review Request: Support for the metadata-over-DBus API in Kmail
Philip Van Hoof
spam at pvanhoof.be
Mon Mar 2 16:11:25 GMT 2009
> On 2009-03-02 06:20:30, Thomas McGuire wrote:
> > 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
This backtrace doesn't seem to be related to the changes that this patch adds.
> On 2009-03-02 06:20:30, Thomas McGuire wrote:
> > /trunk/KDE/kdepim/kmail/kmkernel.cpp, line 207
> > <http://reviewboard.kde.org/r/168/diff/4/?file=1269#file1269line207>
> >
> > You forgot the delete here. best is to put it into a std::auto_ptr
ok
> On 2009-03-02 06:20:30, Thomas McGuire wrote:
> > /trunk/KDE/kdepim/kmail/mailmanagerimpl.cpp, line 92
> > <http://reviewboard.kde.org/r/168/diff/4/?file=1271#file1271line92>
> >
> > foreach is probably easier here, but that's only a style thing.
> > Otherwise, use const here more
for ( const_iterator it = msg->tagList()->begin(); it != msg->tagList()->end(); ++it ) {
QString tag = (*it);
predicates.append( "KMail:MessageTag" );
values.append( tag );
}
> On 2009-03-02 06:20:30, Thomas McGuire wrote:
> > /trunk/KDE/kdepim/kmail/mailmanagerimpl.cpp, line 101
> > <http://reviewboard.kde.org/r/168/diff/4/?file=1271#file1271line101>
> >
> > hah, found a style thing ;)
ok
> On 2009-03-02 06:20:30, Thomas McGuire wrote:
> > /trunk/KDE/kdepim/kmail/mailmanagerimpl.cpp, line 156
> > <http://reviewboard.kde.org/r/168/diff/4/?file=1271#file1271line156>
> >
> > style
ok
> On 2009-03-02 06:20:30, Thomas McGuire wrote:
> > /trunk/KDE/kdepim/kmail/mailmanagerimpl.cpp, line 170
> > <http://reviewboard.kde.org/r/168/diff/4/?file=1271#file1271line170>
> >
> > const KMMsgBase ?
ok
> On 2009-03-02 06:20:30, Thomas McGuire wrote:
> > /trunk/KDE/kdepim/kmail/mailmanagerimpl.cpp, line 198
> > <http://reviewboard.kde.org/r/168/diff/4/?file=1271#file1271line198>
> >
> > Either remove it or say something else than "hi there" :)
> > Also, "Hi there" instead of "Hi there " (the space is auto-added by kDebug)
Removed (this was debugging crap)
- Philip
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.kde.org/r/168/#review318
-----------------------------------------------------------
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