Merge lp://staging/~charlesk/indicator-datetime/lp-1419001-honor-ical-valarms into lp://staging/indicator-datetime/15.04
Status: | Merged |
---|---|
Approved by: | Ted Gould |
Approved revision: | 430 |
Merged at revision: | 408 |
Proposed branch: | lp://staging/~charlesk/indicator-datetime/lp-1419001-honor-ical-valarms |
Merge into: | lp://staging/indicator-datetime/15.04 |
Diff against target: |
1791 lines (+834/-269) 33 files modified
debian/control (+11/-8) include/datetime/alarm-queue-simple.h (+6/-12) include/datetime/alarm-queue.h (+1/-1) include/datetime/appointment.h (+19/-4) include/datetime/clock-mock.h (+1/-1) include/datetime/clock.h (+1/-1) include/datetime/date-time.h (+5/-1) include/datetime/planner-snooze.h (+1/-2) include/datetime/snap.h (+2/-1) include/datetime/wakeup-timer-mainloop.h (+2/-2) include/datetime/wakeup-timer-powerd.h (+2/-2) include/datetime/wakeup-timer.h (+1/-1) src/actions-live.cpp (+13/-6) src/actions.cpp (+2/-2) src/alarm-queue-simple.cpp (+140/-109) src/appointment.cpp (+9/-3) src/date-time.cpp (+31/-9) src/engine-eds.cpp (+153/-54) src/main.cpp (+7/-5) src/planner-snooze.cpp (+10/-6) src/snap.cpp (+9/-7) tests/CMakeLists.txt (+33/-4) tests/manual-test-snap.cpp (+5/-5) tests/print-to.h (+45/-0) tests/run-eds-test.sh (+57/-0) tests/test-alarm-queue.cpp (+10/-7) tests/test-eds-valarms-config-files/.config/evolution/sources/system-proxy.source (+21/-0) tests/test-eds-valarms-config-files/.local/share/evolution/calendar/system/calendar.ics (+47/-0) tests/test-eds-valarms.cpp (+101/-0) tests/test-live-actions.cpp (+0/-6) tests/test-snap.cpp (+10/-10) tests/timezone-mock.h (+1/-0) tests/wakeup-timer-mock.h (+78/-0) |
To merge this branch: | bzr merge lp://staging/~charlesk/indicator-datetime/lp-1419001-honor-ical-valarms |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot (community) | continuous-integration | Approve | |
Ted Gould (community) | Approve | ||
Review via email: mp+255249@code.staging.launchpad.net |
Commit message
Improve valarm support to honor calendar events' valarm triggers.
Description of the change
== Description of the Change
Improve our valarm support for better calendar reminders, adding support for (1) multiple valarms per event, and (2) honor the valarms' trigger times, rather than unconditionally reminding when the event is reached.
A use case that exercises both of these features is an airplane flight vevent that has a "pack your bags" valarm set to be triggered the day before and a "go to the airport now" valarm to be triggered a few hours before.
At the code level, the Appointment class has been refactored to own a container of Alarm objects, which correspond to ical valarms. There are changes in the AlarmQueue and in the EDS backend to accommodate this.
The patch also adds EDS tests to confirm that we can get a set of Alarms correctly from an ical file loaded by evolution. A lot of the EDS/dbus-
== Checklist
> Are there any related MPs required for this MP to build/function as expected? Please list.
No other MPs needed
> Is your branch in sync with latest trunk? (e.g. bzr pull lp:trunk -> no changes)
Yes
> Did the code build without warnings?
Yes
> Did the tests run successfully?
Yes
> Did you perform an exploratory manual test run of your code change and any related functionality?
Yes
> If you changed the packaging (debian), did you subscribe the ubuntu-unity team to this MP?
N/A
> What device (or emulator) has your component test plan been executed successfully on?
Mako r164
> What manual tests are relevant for this MP?
indicator-
> Did you include a link to the MR Review Checklist Template to make your reviewer's life easier?
https:/
FAILED: Continuous integration, rev:417 jenkins. qa.ubuntu. com/job/ indicator- datetime- ci/304/ jenkins. qa.ubuntu. com/job/ indicator- datetime- vivid-amd64- ci/18/console jenkins. qa.ubuntu. com/job/ indicator- datetime- vivid-armhf- ci/18/console
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/indicator- datetime- ci/304/ rebuild
http://