aboutsummaryrefslogtreecommitdiff
path: root/include/datetime
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* revert r400; we can't block alarms by UID because that would hide recurring ↵Charles Kerr2014-02-051-2/+0
| | | | alarms
* remove alarms from the menu once they've been shown in a snap decision.Charles Kerr2014-02-051-0/+2
|
* Add audio notitication when the alarm is triggered. Add a manual test to ↵Charles Kerr2014-02-041-1/+6
| | | | tests/ to trigger a snap decision.
* use the appointment's beginning time in the title of the alarm Snap DecisionCharles Kerr2014-02-041-7/+2
|
* pin the planner's upcoming appointments to the live clock time, rather than ↵Charles Kerr2014-02-041-2/+3
| | | | the calendar's time, so that they always update correctly in real-time
* add header file which should have been bzr add'ed last commitCharles Kerr2014-02-031-0/+51
|
* from alarm dev branch: add the alarm watcher and its unit testsCharles Kerr2014-02-021-0/+72
|
* copyediting: don't use camelCaseFunctionNames() in timezones-fileCharles Kerr2014-02-021-2/+2
|
* copyediting: as per review, use name_of_thing() instead of ↵Charles Kerr2014-01-304-16/+16
| | | | get_name_of_thing() or getNameOfThing()
* following on the review comment covered in the last commit, use ↵Charles Kerr2014-01-305-13/+13
| | | | shared_ptr<const X> instead of shared_ptr<X> where possible.
* as per review, there were a few places that accidentally passed a ↵Charles Kerr2014-01-302-3/+3
| | | | shared_ptr<X>& instead of a const shared_ptr<X>&
* as per review, constify getters where possible. This isn't always possible ↵Charles Kerr2014-01-302-2/+1
| | | | due to system APIs asking for non-const pointers.
* as per review, make explicit the dependency injection that was implicit in ↵Charles Kerr2014-01-301-49/+0
| | | | main()
* as per review, don't inline unless there are performance issuesCharles Kerr2014-01-307-30/+11
|
* as per review, don't inline gettersCharles Kerr2014-01-303-8/+8
|
* cleanup from previous commit: since Formatter code was migrated to utils.c ↵Charles Kerr2014-01-281-8/+1
| | | | so that it could be used standalone by the panels, there's now code duplication between Utils and Formatter. Remove code duplication s.t. Formatter uses the Utils code as well.
* make utils.cpp's generate_full_format_string_at_time() a standalone function ↵Charles Kerr2014-01-281-22/+28
| | | | so that the panels can use the utils functions without a libindicatordatetime dependency
* sync the exported calendar state with the #State backendCharles Kerr2014-01-252-4/+2
|
* Alarms is going to need to know when the clock's minute changes. We already ↵Charles Kerr2014-01-223-17/+16
| | | | have a timer for that in Formatter, so move it from there to Clock and add a corresponding public signal Clock.minuteChanged that both Formatter and Alarms can use. Sync unit tests.
* Remove the Timezones property from Clock; it's only needed by the subclass ↵Charles Kerr2014-01-222-6/+10
| | | | LiveClock
* move planner-mock.h from include/datetime/ to tests/ because it's only ↵Charles Kerr2014-01-221-44/+0
| | | | needed by the tests.