https://bugs.kde.org/show_bug.cgi?id=369606

Daniel Vrátil <dvra...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
   Version Fixed In|                            |5.3.3
      Latest Commit|                            |http://commits.kde.org/kdep
                   |                            |im-addons/c921a14e0a30e1334
                   |                            |2e94cce74d4ad1bbb3a64c5
         Resolution|---                         |FIXED

--- Comment #3 from Daniel Vrátil <dvra...@kde.org> ---
Git commit c921a14e0a30e13342e94cce74d4ad1bbb3a64c5 by Daniel Vrátil.
Committed on 14/10/2016 at 00:04.
Pushed by dvratil into branch 'Applications/16.08'.

PimEventsPlugin: switch from ETMCalendar to custom EventModel

It is hard to tame the ETMCalendar to list only the right events
and listen only to the right changes while not keeping everything
loaded in the memory all the time.

The EventModel is a lightweight bridge between Akonadi and the
CalendarBase. It inserts and removes data from the CalendarBase
based on currently enabled collections and handles updates.
This solves various issues with populating the model initially,
listening to the correct changes and it also reduces memory usage
by not keeping events from disabled calendars in memory.
Related: bug 368832
FIXED-IN: 5.3.3

M  +1    -0    plugins/plasma/pimeventsplugin/CMakeLists.txt
M  +27   -34   plugins/plasma/pimeventsplugin/akonadipimdatasource.cpp
M  +2    -7    plugins/plasma/pimeventsplugin/akonadipimdatasource.h
M  +1    -1    plugins/plasma/pimeventsplugin/autotests/CMakeLists.txt
A  +178  -0    plugins/plasma/pimeventsplugin/eventmodel.cpp     [License: GPL
(v2+)]
C  +29   -20   plugins/plasma/pimeventsplugin/eventmodel.h [from:
plugins/plasma/pimeventsplugin/akonadipimdatasource.h - 051% similarity]
M  +3    -3    plugins/plasma/pimeventsplugin/pimcalendarsmodel.cpp
M  +1    -1    plugins/plasma/pimeventsplugin/pimeventsplugin.h

http://commits.kde.org/kdepim-addons/c921a14e0a30e13342e94cce74d4ad1bbb3a64c5

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to