[Kde-pim] Review Request: Add Geo tag support and fix the multihash problem
Sergio Martins
iamsergio at gmail.com
Sat Apr 18 14:32:25 BST 2009
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.kde.org/r/495/#review957
-----------------------------------------------------------
"""
2. Event/note start/end time changes caused duplicates in the CalendarLocal hashes. The bug is easy to detect by
patching only tests/testcalendarlocal.cpp (and .h) and trying the new test with old KCal
"""
I remember adding a workaround in korganizer for this, in koagendaview.cpp:
/* setDtEnd() must be called before setDtStart(), otherwise, when moving events,
* CalendarLocal::incidenceUpdated() will not remove the old hash and that causes
* the event to be shown in the old date also (bug #179157).
*
* TODO: We need a better hashing mechanism for CalendarLocal.
*/
I'm glad you fixed this, and will remove the workaround to test if your patch works.
Thanks!
- Sergio
On 2009-04-01 04:27:03, Csaba Kertész wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://reviewboard.kde.org/r/495/
> -----------------------------------------------------------
>
> (Updated 2009-04-01 04:27:03)
>
>
> Review request for KDE PIM.
>
>
> Summary
> -------
>
> The patch solves two situation:
>
> 1. It adds support for the Geo field of the iCalendar which was missing so far.
> 2. Event/note start/end time changes caused duplicates in the CalendarLocal hashes. The bug is easy to detect by
> patching only tests/testcalendarlocal.cpp (and .h) and trying the new test with old KCal.
>
>
> Diffs
> -----
>
> trunk/KDE/kdepimlibs/kcal/alarm.cpp 947746
> trunk/KDE/kdepimlibs/kcal/calendarlocal.h 947746
> trunk/KDE/kdepimlibs/kcal/calendarlocal.cpp 947746
> trunk/KDE/kdepimlibs/kcal/event.cpp 947746
> trunk/KDE/kdepimlibs/kcal/freebusy.cpp 947746
> trunk/KDE/kdepimlibs/kcal/icalformat_p.cpp 947746
> trunk/KDE/kdepimlibs/kcal/incidence.h 947746
> trunk/KDE/kdepimlibs/kcal/incidence.cpp 947746
> trunk/KDE/kdepimlibs/kcal/incidencebase.h 947746
> trunk/KDE/kdepimlibs/kcal/incidencebase.cpp 947746
> trunk/KDE/kdepimlibs/kcal/tests/testcalendarlocal.h 947746
> trunk/KDE/kdepimlibs/kcal/tests/testcalendarlocal.cpp 947746
> trunk/KDE/kdepimlibs/kcal/todo.cpp 947746
>
> Diff: http://reviewboard.kde.org/r/495/diff
>
>
> Testing
> -------
>
> Written unit test case to verify the fix.
>
>
> Thanks,
>
> Csaba
>
>
_______________________________________________
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