[Kde-pim] Review Request: Emit change notifications for subscribe/unsubscribe
Leo Franchi
lfranchi at kde.org
Thu Jul 29 14:10:10 BST 2010
> On 2010-07-29 07:42:06, Volker Krause wrote:
> > /trunk/kdesupport/akonadi/server/src/handler/subscribe.cpp, line 62
> > <http://reviewboard.kde.org/r/4770/diff/1/?file=31970#file31970line62>
> >
> > I know (ab)using the changed field was my initial suggestion, but a cleaner way might be to extend the NotificationMessage::Operation enum for subscribe/unsubscribe instead. Sorry, just realized that when reading the patch and after writing some Monitor unit tests.
Ok, done. However, I added the 2 values to the NotificationMessage::Operation enum, and now the latest version of kdesupport is required for this patch. Should I just commit to trunk and leave 4.5 alone?
> On 2010-07-29 07:42:06, Volker Krause wrote:
> > /trunk/kdesupport/akonadi/server/src/handler/subscribe.cpp, line 64
> > <http://reviewboard.kde.org/r/4770/diff/1/?file=31970#file31970line64>
> >
> > NotificationCollector does not emit notifications as long as a transaction is in progress, so you could just as well do this in the while loop above.
done,thanks.
- Leo
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.kde.org/r/4770/#review6736
-----------------------------------------------------------
On 2010-07-28 15:43:41, Leo Franchi wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://reviewboard.kde.org/r/4770/
> -----------------------------------------------------------
>
> (Updated 2010-07-28 15:43:41)
>
>
> Review request for KDE PIM.
>
>
> Summary
> -------
>
> When subscribing or unsubscribing from a collection, there is no notification. This creates a new collection change notification with SUBSCRIBE or UNSUBSCRIBE in the parts list, that the monitor then translates to signals.
>
>
> Diffs
> -----
>
> /trunk/kdesupport/akonadi/server/src/handler/subscribe.cpp 1155565
> /trunk/kdesupport/akonadi/libs/protocol_p.h 1155565
>
> Diff: http://reviewboard.kde.org/r/4770/diff
>
>
> Testing
> -------
>
>
> Thanks,
>
> Leo
>
>
_______________________________________________
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