[Kde-pim] Review Request: Changes to the KIMap::Session class to make it work a little better (and stop crashing)
Kevin Ottens
ervin at kde.org
Fri Jun 29 15:06:44 BST 2012
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/105343/#review15255
-----------------------------------------------------------
kimap/session.cpp
<http://git.reviewboard.kde.org/r/105343/#comment11907>
You're now emitting stateChanged twice as setState() already does it.
Also don't remove connectionLost() emits before we decide to break binary compatibility. Put a note instead, we'll be able to completely remove that signal I think.
kimap/session.cpp
<http://git.reviewboard.kde.org/r/105343/#comment11908>
Please don't remove, it's a behavior change that would break potential third parties. Hence why the KDE5 note.
- Kevin Ottens
On June 24, 2012, 11:09 p.m., Allen Winter wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/105343/
> -----------------------------------------------------------
>
> (Updated June 24, 2012, 11:09 p.m.)
>
>
> Review request for KDEPIM-Libraries, Kevin Ottens, Volker Krause, David Faure, and Gregory Schlomoff.
>
>
> Description
> -------
>
> This is my attempt at making the akonadi_imap_resource stop crashing in the Session class.
>
> Changes are:
> * Undeprecate the call to connectionLost() using stateChanged() instead.
>
> * Remove a call to connectionLost() that I can't understand why it's there in the first place (the comment says to wait until KDE5, but I don't see why we need to wait)
>
> * assert null jobs (just in case) in addJob and jobDone
>
>
> Diffs
> -----
>
> kimap/session.cpp 9344d8e
>
> Diff: http://git.reviewboard.kde.org/r/105343/diff/
>
>
> Testing
> -------
>
> Ran it for a few days. I haven't seen problems or crashes in that time.
>
>
> Thanks,
>
> Allen Winter
>
>
_______________________________________________
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