Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | in DateTime class, make it harder to accidentally mix local and nonlocal ↵ | Charles Kerr | 2015-04-06 | 1 | -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 arrays | Charles Kerr | 2015-04-06 | 1 | -2/+3 |
| | |||||
* | in SimpleAlarmQueue, use references instead of copies when copies aren't ↵ | Charles Kerr | 2015-04-05 | 1 | -3/+3 |
| | | | | necessary | ||||
* | make DateTime::is_same_day() faster | Charles Kerr | 2015-04-05 | 1 | -4/+6 |
| | |||||
* | fix misuse of ECalComponentAlarmInstance's fields. | Charles Kerr | 2015-04-05 | 2 | -5/+2 |
| | |||||
* | in EdsEngine, use empty initializer lists in the new valarm code | Charles Kerr | 2015-04-03 | 1 | -10/+8 |
| | |||||
* | sync with trunk | Charles Kerr | 2015-04-03 | 1 | -15/+48 |
|\ | |||||
| * | simplify the awake display timeout code | Charles Kerr | 2015-03-31 | 2 | -12/+18 |
| | | |||||
| * | the previous commit made the Awake API too complicated... simplifying. | Charles Kerr | 2015-03-25 | 2 | -116/+86 |
| | | |||||
| * | 60 seconds after triggering an alarm, release our keepDisplayOn request | Charles Kerr | 2015-03-25 | 2 | -50/+107 |
| | | |||||
* | | add the new Alarm class as an argument to the alarm queue class | Charles Kerr | 2015-04-03 | 4 | -103/+157 |
| | | |||||
* | | add an Alarm class to represent ical valarm components; change the ↵ | Charles Kerr | 2015-03-31 | 5 | -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 Kerr | 2015-03-16 | 2 | -20/+44 |
| | |||||
* | in DateTime::is_set(), include timezone test | Charles Kerr | 2015-03-16 | 1 | -2/+0 |
| | |||||
* | in DateTime::DateTime(GTimeZone*,GDateTime*), don't allow either argument to ↵ | Charles Kerr | 2015-03-16 | 1 | -23/+9 |
| | | | | be nullptr | ||||
* | make utc variable name more sensible. | Charles Kerr | 2015-03-16 | 1 | -2/+2 |
| | |||||
* | fix GAction leakage found while testing new unit tests with valgrind | Charles Kerr | 2015-03-14 | 1 | -0/+8 |
| | |||||
* | in DateTime::Local() and DateTime::NowLocal(), avoid redundant construction ↵ | Charles Kerr | 2015-03-14 | 1 | -2/+2 |
| | | | | of the local timezone. | ||||
* | sync the rest of the code with the changes to DateTime instantiation ↵ | Charles Kerr | 2015-03-14 | 1 | -1/+1 |
| | | | | mentioned two commits ago | ||||
* | use the new DateTime::start_of_day() and DateTime::start_of_minute() functions. | Charles Kerr | 2015-03-14 | 6 | -15/+7 |
| | |||||
* | Add DateTime::start_of_day() to use instead of the add_hours(-hours()) ↵ | Charles Kerr | 2015-03-14 | 1 | -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 Kerr | 2015-03-01 | 1 | -24/+35 |
|\ | | | | | | | | | | | #1424966 Approved by: Ted Gould | ||||
| * | create a new timerfd each time we need to call timerfd_settime(). | Charles Kerr | 2015-02-27 | 1 | -24/+35 |
| | | |||||
* | | prevent deadlocking when registering G_TYPE_DBUS_PROXY | Charles Kerr | 2015-02-28 | 1 | -3/+3 |
|/ | |||||
* | add a g_message() when updating due to anything that's not a periodic timer | Charles Kerr | 2015-02-12 | 1 | -15/+18 |
| | |||||
* | extract the timerfd_settime() code into its own method. Add a new call to it ↵ | Charles Kerr | 2015-02-12 | 1 | -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 Kerr | 2015-02-11 | 1 | -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 Kerr | 2015-01-28 | 4 | -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 Kerr | 2015-01-21 | 1 | -1/+2 |
| | | | | | | | | for calendar events | ||||
| * | require an explicit role for the sound so that we can differentiate between ↵ | Charles Kerr | 2015-01-21 | 1 | -5/+9 |
| | | | | | | | | eg 'alarm' and 'alert' | ||||
| * | tweak an overly-verbose variable name | Charles Kerr | 2015-01-21 | 1 | -2/+2 |
| | | |||||
| * | in Snap, fix the code that checks AccountsService.Sound for Silent Mode | Charles Kerr | 2015-01-21 | 1 | -7/+6 |
| | | |||||
| * | first stab at AccountsService proxy. WIP; pushing to test on devices | Charles Kerr | 2015-01-21 | 3 | -6/+102 |
| | | |||||
| * | use a local temporary to avoid having to GST_MESSAGE_CAST() twice | Charles Kerr | 2015-01-20 | 1 | -2/+3 |
| | | |||||
| * | remove the 'loop' test when deciding whether or not to set the audio role. | Charles Kerr | 2015-01-20 | 1 | -1/+1 |
| | | |||||
* | | bump to re-run CI. clumsy, but jenkins' rebuild button isn't working | Charles Kerr | 2015-01-21 | 1 | -0/+1 |
| | | |||||
* | | strengthen the test that decides if an icalcomponent is a one-shot or repeating. | Charles Kerr | 2015-01-15 | 1 | -2/+5 |
|/ | |||||
* | After a one-time Ubuntu alarm's notification is displayed, disable the ↵ | Charles Kerr | 2014-12-08 | 2 | -1/+86 |
|\ | | | | | | | | | | | alarm. Fixes: #1362341 Approved by: Ted Gould, PS Jenkins bot | ||||
| * | disable one-time alarms after their notifications are shown. | Charles Kerr | 2014-12-07 | 2 | -1/+86 |
| | | |||||
* | | Change notifications for calendar events s.t. the sound is nonrepeating and ↵ | Charles Kerr | 2014-12-08 | 1 | -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 Kerr | 2014-12-07 | 1 | -4/+9 |
| | | |||||
* | | Add support for x-canonical-alarm and x-canonical-disabled tags in VTODO ↵ | Charles Kerr | 2014-12-08 | 5 | -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 Kerr | 2014-12-07 | 5 | -17/+27 |
| | | | | | | | | notifications aren't shown for them. | ||||
* | | add a comment explaining why it's okay to let that fail silently. | Charles Kerr | 2014-11-04 | 1 | -0/+2 |
| | | |||||
* | | silence 'com.canonical.powerd was not provided by any .service files' ↵ | Charles Kerr | 2014-11-04 | 1 | -1/+4 |
|/ | | | | warning on desktop | ||||
* | Fix appointment comparison function to include the audio_url field in its ↵ | Charles Kerr | 2014-10-09 | 1 | -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 Kerr | 2014-10-07 | 1 | -0/+1 |
| | | |||||
* | | rename title from 'Upcoming events' to 'Time & Date' | Charles Kerr | 2014-10-03 | 1 | -1/+1 |
|/ | |||||
* | Make alarm notifications icons and button color match Design's specs. Fixes: ↵ | Charles Kerr | 2014-09-19 | 2 | -3/+3 |
|\ | | | | | | | | | | | 1370594 Approved by: Ted Gould, PS Jenkins bot, Nekhelesh Ramananthan | ||||
| * | fix tyop from previous commit | Charles Kerr | 2014-09-17 | 1 | -1/+1 |
| | |