aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* in new EDS code, use timezones consistentlyCharles Kerr2015-04-061-5/+12
|
* in DateTime class, make it harder to accidentally mix local and nonlocal ↵Charles Kerr2015-04-061-4/+14
| | | | timezones by replacing DateTime::DateTime(time_t) with two methods, DateTime::Local(time_t) and DateTime(GTimeZone*, time_t)
* in new code, use std::array rather than C style arraysCharles Kerr2015-04-061-2/+3
|
* in SimpleAlarmQueue, use references instead of copies when copies aren't ↵Charles Kerr2015-04-051-3/+3
| | | | necessary
* make DateTime::is_same_day() fasterCharles Kerr2015-04-051-4/+6
|
* fix misuse of ECalComponentAlarmInstance's fields.Charles Kerr2015-04-052-5/+2
|
* in EdsEngine, use empty initializer lists in the new valarm codeCharles Kerr2015-04-031-10/+8
|
* sync with trunkCharles Kerr2015-04-031-15/+48
|\
| * simplify the awake display timeout codeCharles Kerr2015-03-312-12/+18
| |
| * the previous commit made the Awake API too complicated... simplifying.Charles Kerr2015-03-252-116/+86
| |
| * 60 seconds after triggering an alarm, release our keepDisplayOn requestCharles Kerr2015-03-252-50/+107
| |
* | add the new Alarm class as an argument to the alarm queue classCharles Kerr2015-04-034-103/+157
| |
* | add an Alarm class to represent ical valarm components; change the ↵Charles Kerr2015-03-315-56/+167
|/ | | | Appointment class to hold an arbitrary number of Alarms.
* add DateTime::end_of_month(), DateTime::end_of_day(). Add unit tests for them.Charles Kerr2015-03-162-20/+44
|
* in DateTime::is_set(), include timezone testCharles Kerr2015-03-161-2/+0
|
* in DateTime::DateTime(GTimeZone*,GDateTime*), don't allow either argument to ↵Charles Kerr2015-03-161-23/+9
| | | | be nullptr
* make utc variable name more sensible.Charles Kerr2015-03-161-2/+2
|
* fix GAction leakage found while testing new unit tests with valgrindCharles Kerr2015-03-141-0/+8
|
* in DateTime::Local() and DateTime::NowLocal(), avoid redundant construction ↵Charles Kerr2015-03-141-2/+2
| | | | of the local timezone.
* sync the rest of the code with the changes to DateTime instantiation ↵Charles Kerr2015-03-141-1/+1
| | | | mentioned two commits ago
* use the new DateTime::start_of_day() and DateTime::start_of_minute() functions.Charles Kerr2015-03-146-15/+7
|
* Add DateTime::start_of_day() to use instead of the add_hours(-hours()) ↵Charles Kerr2015-03-141-13/+64
| | | | | | | trick, which doesn't work on days when DST changes. Implementing this requires DateTime objects to keep their own GTimeZone pointer, since the one inside GDateTime is private and can't be used for DateTime::start_of_day()'s call to g_date_time_new(). As a result the public API of DateTime changes, since we'll need a GTimeZone when constructing or assigning from a GDateTime pointer.
* create a new timerfd each time we need to call timerfd_settime(). Fixes: ↵Charles Kerr2015-03-011-24/+35
|\ | | | | | | | | | | #1424966 Approved by: Ted Gould
| * create a new timerfd each time we need to call timerfd_settime().Charles Kerr2015-02-271-24/+35
| |
* | prevent deadlocking when registering G_TYPE_DBUS_PROXYCharles Kerr2015-02-281-3/+3
|/
* add a g_message() when updating due to anything that's not a periodic timerCharles Kerr2015-02-121-15/+18
|
* extract the timerfd_settime() code into its own method. Add a new call to it ↵Charles Kerr2015-02-121-20/+29
| | | | when we might have triggered via TFD_TIMER_CANCEL_ON_SET
* change the LiveClock's private impl to detect time changes from timerfd's ↵Charles Kerr2015-02-111-48/+77
| | | | TFD_TIMER_CANCEL_ON_SET, e.g. when ntp<-->manual is toggled
* Don't play calendar alarm sounds if Silent Mode is enabled. Use the alarm ↵Charles Kerr2015-01-284-13/+114
|\ | | | | | | | | | | sound role for both clock and calendar alarms. Fixes: #1410874 Approved by: Antti Kaijanmäki, PS Jenkins bot
| * in Snap's Sound() ctor, use an 'alarm' role for the alarm clock and 'alert' ↵Charles Kerr2015-01-211-1/+2
| | | | | | | | for calendar events
| * require an explicit role for the sound so that we can differentiate between ↵Charles Kerr2015-01-211-5/+9
| | | | | | | | eg 'alarm' and 'alert'
| * tweak an overly-verbose variable nameCharles Kerr2015-01-211-2/+2
| |
| * in Snap, fix the code that checks AccountsService.Sound for Silent ModeCharles Kerr2015-01-211-7/+6
| |
| * first stab at AccountsService proxy. WIP; pushing to test on devicesCharles Kerr2015-01-213-6/+102
| |
| * use a local temporary to avoid having to GST_MESSAGE_CAST() twiceCharles Kerr2015-01-201-2/+3
| |
| * remove the 'loop' test when deciding whether or not to set the audio role.Charles Kerr2015-01-201-1/+1
| |
* | bump to re-run CI. clumsy, but jenkins' rebuild button isn't workingCharles Kerr2015-01-211-0/+1
| |
* | strengthen the test that decides if an icalcomponent is a one-shot or repeating.Charles Kerr2015-01-151-2/+5
|/
* After a one-time Ubuntu alarm's notification is displayed, disable the ↵Charles Kerr2014-12-082-1/+86
|\ | | | | | | | | | | alarm. Fixes: #1362341 Approved by: Ted Gould, PS Jenkins bot
| * disable one-time alarms after their notifications are shown.Charles Kerr2014-12-072-1/+86
| |
* | Change notifications for calendar events s.t. the sound is nonrepeating and ↵Charles Kerr2014-12-081-4/+9
|\| | | | | | | | | | | the notification is temporary, not requiring user interaction to disappear. Fixes: #1320880 Approved by: Ted Gould
| * for calendar events, use interactive notifications and a nonrepeating sound.Charles Kerr2014-12-071-4/+9
| |
* | Add support for x-canonical-alarm and x-canonical-disabled tags in VTODO ↵Charles Kerr2014-12-085-17/+27
|\| | | | | | | | | | | categories so that disabled alarms will not be displayed. Fixes: #1387231 Approved by: Ted Gould, PS Jenkins bot
| * ensure that disabled alarms aren't shown in indicator-datetime and that ↵Charles Kerr2014-12-075-17/+27
| | | | | | | | notifications aren't shown for them.
* | add a comment explaining why it's okay to let that fail silently.Charles Kerr2014-11-041-0/+2
| |
* | silence 'com.canonical.powerd was not provided by any .service files' ↵Charles Kerr2014-11-041-1/+4
|/ | | | warning on desktop
* Fix appointment comparison function to include the audio_url field in its ↵Charles Kerr2014-10-091-0/+1
|\ | | | | | | | | | | test. Fixes: 1364949 Approved by: Antti Kaijanmäki
| * fix Appointment object's equality operator to also look at the audio_url field.Charles Kerr2014-10-071-0/+1
| |
* | rename title from 'Upcoming events' to 'Time & Date'Charles Kerr2014-10-031-1/+1
|/
* Make alarm notifications icons and button color match Design's specs. Fixes: ↵Charles Kerr2014-09-192-3/+3
|\ | | | | | | | | | | 1370594 Approved by: Ted Gould, PS Jenkins bot, Nekhelesh Ramananthan