Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | undo last Friday's timezone regression. | Charles Kerr | 2015-05-19 | 1 | -1/+1 |
| | |||||
* | in EngineEds' call to e_cal_util_generate_alarms_for_comp(), use nullptr as ↵ | Charles Kerr | 2015-05-07 | 1 | -1/+1 |
| | | | | the default timezone so that we don't convert to local twice (once in _generate_alarms_for_comp, once in the DateTime ctor). Fixes the previous commit's failing test. | ||||
* | resolve minor shear with trunk | Charles Kerr | 2015-04-09 | 1 | -5/+4 |
| | |||||
* | sync with trunk | Charles Kerr | 2015-04-09 | 10 | -189/+395 |
|\ | |||||
| * | in the EDS engine, give a better explanation in the comments how we handle ↵ | Charles Kerr | 2015-04-06 | 1 | -2/+4 |
| | | | | | | | | alarms with no triggers, and why | ||||
| * | in EngineEds, make the ECalComponentAlarmAction 'omit' array a constexpr. | Charles Kerr | 2015-04-06 | 1 | -2/+2 |
| | | |||||
| * | in SimpleAlarmQueue, add a new method 'bool already_triggered() const' to ↵ | Charles Kerr | 2015-04-06 | 1 | -9/+8 |
| | | | | | | | | reduce code overlapl between find_next_alarm() and appointment_get_current_alarm() | ||||
| * | in SimpleAlarmQueue, make the signature for find_next_alarm() and ↵ | Charles Kerr | 2015-04-06 | 1 | -29/+21 |
| | | | | | | | | appointment_get_current_alarm() suck less. | ||||
| * | in SimpleAlarmQueue, reduce a lambda capture to only the fields it needs | Charles Kerr | 2015-04-06 | 1 | -1/+1 |
| | | |||||
| * | in Actions, sync DateTime API use by calling DateTime::Local(time_t) instead ↵ | Charles Kerr | 2015-04-06 | 1 | -2/+2 |
| | | | | | | | | of DateTime::DateTime(time_t) | ||||
| * | in new EDS code, use timezones consistently | Charles Kerr | 2015-04-06 | 1 | -5/+12 |
| | | |||||
| * | 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. | ||||
* | | make the string test case-insensitive | Charles Kerr | 2015-03-24 | 1 | -4/+4 |
| | | |||||
* | | add support for an x-canonical-app-url x-prop when reading vtodos/vevents ↵ | Charles Kerr | 2015-03-24 | 1 | -2/+22 |
|/ | | | | from EDS | ||||
* | 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 |
|/ |