aboutsummaryrefslogtreecommitdiff
path: root/include/datetime
Commit message (Collapse)AuthorAgeFilesLines
* in DateTime::is_set(), include timezone testCharles Kerr2015-03-161-1/+1
|
* Add DateTime::start_of_day() to use instead of the add_hours(-hours()) ↵Charles Kerr2015-03-141-3/+7
| | | | | | | 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.
* disable one-time alarms after their notifications are shown.Charles Kerr2014-12-073-4/+9
|
* ensure that disabled alarms aren't shown in indicator-datetime and that ↵Charles Kerr2014-12-071-1/+4
| | | | notifications aren't shown for them.
* Fix flint++ warnings Charles Kerr2014-09-1912-32/+32
|\ | | | | | | Approved by: Ted Gould, PS Jenkins bot
| * fix flint++ warningsCharles Kerr2014-09-1712-32/+32
| |
* | Move timezone code behind a private Impl class Charles Kerr2014-09-193-34/+7
|\ \ | | | | | | | | | Approved by: Ted Gould, PS Jenkins bot
| * | hide the implementation detials of FileTimezone and GeoclueTimezone behind ↵Charles Kerr2014-09-133-34/+7
| | | | | | | | | | | | Impl classes
* | | sync with trunkCharles Kerr2014-09-163-8/+18
|\ \ \ | | |/ | |/|
| * | add unit tests for the powerd monitorCharles Kerr2014-09-151-2/+10
| |/
| * update the time string when a powerd.Wakeup signal is seen.Charles Kerr2014-09-131-0/+5
| |
| * hide Clock's implementation details into an Impl class.Charles Kerr2014-09-131-6/+3
| |
* | LiveClock only needs one Timezone, so give it that instead of a Timezones objectCharles Kerr2014-09-161-2/+2
|/
* remove the new code that we're not using yetCharles Kerr2014-09-021-1/+0
|
* use the 'override' keyword in the new planner class declarationsCharles Kerr2014-09-022-2/+2
|
* update Snap Decisions to include snoozeCharles Kerr2014-09-021-2/+2
|
* add planner.cpp to the buildCharles Kerr2014-09-021-3/+2
|
* add snooze properties to our schema; export it on the bus; add testsCharles Kerr2014-09-023-0/+3
|
* add SnoozePlanner, AggregatePlannerCharles Kerr2014-09-023-0/+111
|
* use powerd for hw alarm wakeupsCharles Kerr2014-08-181-12/+10
|
* configurable haptic mode, part 1 of 3: add haptic feedback mode to the ↵Charles Kerr2014-07-313-0/+3
| | | | GSettings schema and to our Settings object
* move Snap's guts into an Impl classCharles Kerr2014-07-301-4/+2
|
* refactor the Notifications / sound / awake codeCharles Kerr2014-07-262-18/+8
|
* when a Snap object is destructed, delete any active Popups that it owns. ↵Charles Kerr2014-07-241-1/+6
| | | | This cleaner shutdown doesn't have any effect in production, but is needed to shut down the bus cleanly in the tests.
* move the powerd and screen bus name, path, and interface strings into ↵Charles Kerr2014-07-231-2/+12
| | | | dbus-shared
* use unsigned ints for the alarm volume, duration propertiesCharles Kerr2014-06-271-2/+2
|
* Design prefers to have a volume slider instead of presets, so remove the ↵Charles Kerr2014-06-262-11/+1
| | | | AlarmVolume enum and replace it with an int range.
* Expose the alarm settings via dbus properties.Charles Kerr2014-06-261-1/+2
|
* Add Exporter's implementation to an Impl file because I'm about to shovel ↵Charles Kerr2014-06-261-19/+7
| | | | more methods and fields in there.
* in the snap decision code, handle sound custom loop durationsCharles Kerr2014-06-241-1/+4
|
* add GSettings support for specifying an alarm loop durationCharles Kerr2014-06-243-0/+3
|
* add support for per-alarm ringtone sounds set in EDS via ↵Charles Kerr2014-06-231-0/+1
| | | | E_CAL_COMPONENT_ALARM_AUDIO
* in the snap decision code, handle custom sounds and volume levels.Charles Kerr2014-06-231-1/+5
|
* add GSettings support for specifying a default alarm sound and default alarm ↵Charles Kerr2014-06-233-0/+16
| | | | volume.
* in SimpleAlarmQueue, the 'alarms we don't want to trigger' list needs to be ↵Charles Kerr2014-06-101-1/+1
| | | | composed of uid + timestamp. Keying off of only timestamp doesn't work because UIDs can be recycled as users edit and reuse alarms.
* in alarm-queue-simple, call requeue() if time skew is detected.Charles Kerr2014-06-101-1/+1
|
* in date-time.h, remove unnecessary get() call. (h/t ted)Charles Kerr2014-06-101-1/+1
|
* prefer to use ubuntu-platform-hardware-api for wakeups when possible s.t. ↵Charles Kerr2014-04-247-29/+260
|\ | | | | | | user-defined alarms/appointments can wake up the phone from sleep to give a snap decision.
| * hw alarmsCharles Kerr2014-04-247-23/+254
| |
| * rename 'clock-watcher' as 'alarm-queue' because the former name isn't very ↵Charles Kerr2014-04-241-10/+10
|/ | | | informative.
* remove unused field Appointment.is_dailyCharles Kerr2014-04-151-1/+0
|
* remove unused field Appointment.is_eventCharles Kerr2014-04-151-1/+0
|
* make the phone and desktop actions more consistent with each other; eg, ↵Charles Kerr2014-03-222-15/+24
| | | | 'indicator.desktop.open-calendar-app' + 'indicator.phone.open-calendar-app'
* Don't list an 'Add Event…' button if there's not a calendar app availableCharles Kerr2014-03-092-0/+2
|\
| * In the Desktop profile, don't show the 'Add Event…' button if evolution ↵Charles Kerr2014-03-062-0/+2
| | | | | | | | can't be launched.
* | don't connect to EDS when running in the greeter.Charles Kerr2014-03-094-28/+129
| |
* | decouple the planner's states; need three separate sets: upcoming-now (for ↵Charles Kerr2014-03-099-42/+285
| | | | | | | | alarms in the current time), upcoming-calendar (to show events coming from the selected calendar date), and calendar-month (all the appointments in the month displayed in the menu).
* | in EdsPlanner, use a Timezone instead of Timezones objectCharles Kerr2014-03-091-2/+2
| |
* | use the timezones object to set the ECalComponent's default timezone. This ↵Charles Kerr2014-02-261-1/+3
|/ | | | is needed to properly handle the 'floating' dates in the alarms
* another pass at removing alarms from the menu once they're no longer ↵Charles Kerr2014-02-051-0/+3
| | | | upcoming. This version fixes the header's icon as well.