aboutsummaryrefslogtreecommitdiff
path: root/include/datetime
Commit message (Collapse)AuthorAgeFilesLines
* 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
* add other datetime header filesCharles Kerr2013-12-178-0/+410
|
* add locations + testsCharles Kerr2013-12-172-0/+131
|
* add planner + testsCharles Kerr2013-12-172-0/+120
|
* add formatter + testsCharles Kerr2013-12-171-0/+118
|
* add timezone-geoclue + testsCharles Kerr2013-12-171-0/+65
|
* add timezone-file + testsCharles Kerr2013-12-172-0/+106
|
* add clock + testsCharles Kerr2013-12-172-0/+162