aboutsummaryrefslogtreecommitdiff
path: root/include/datetime
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* copyediting: slightly better header comments/docsCharles Kerr2014-01-229-10/+19
|
* remove the State.timezones property. Timezones is a helper class for ↵Charles Kerr2014-01-221-1/+10
| | | | LiveClock and doesn't need to be public in State.
* copyediting: rename Service as Exporter & tweak commentsCharles Kerr2014-01-221-7/+9
|
* extract LiveState to its own State subclass to make main()'s flow easier to ↵Charles Kerr2014-01-221-0/+49
| | | | follow
* move DateTime's impl from the header to a cc fileCharles Kerr2014-01-221-101/+20
|
* Fix GDateTime leak in DateTime::DateTime(time_t)Charles Kerr2014-01-221-1/+5
|
* add LiveActions implementation and unit testsCharles Kerr2014-01-211-1/+5
|
* get timezone, clock tests running again with Settings & StateCharles Kerr2014-01-162-5/+4
|
* update timezones-live to use Settings to tell when the user has ↵Charles Kerr2014-01-161-7/+6
| | | | enabled/disabled GeoClue lookups
* in utils.c, make a version of get_timezone_name() that doesn't require a ↵Charles Kerr2014-01-161-1/+4
| | | | GSettings argument. Update utils tests.
* Plug the Settings object into the State container s.t. menus and actions can ↵Charles Kerr2014-01-161-7/+7
| | | | update themselves when the user's settings change.
* update SettingsLocations class to use the "Settings" class instead of using ↵Charles Kerr2014-01-161-12/+6
| | | | GSettings directly.
* update DesktopFormatter class to use the "Settings" class instead of using ↵Charles Kerr2014-01-161-5/+14
| | | | GSettings directly.
* Implement Settings, a properties-cpp wrapper around GSettingsCharles Kerr2014-01-162-10/+25
|
* Function: add fully-tested ActionGroups, per-profile Menus, state object.Charles Kerr2014-01-1425-141/+732
| | | | | | Form: Add code annotations/comments. Remove dead code. Use Mir style guide. Todo: GSettings toggles, sync with new dbus-test-runner API, get GNOME Panel building again