Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | from alarm dev branch: add the alarm watcher and its unit tests | Charles Kerr | 2014-02-02 | 1 | -0/+72 |
| | |||||
* | copyediting: don't use camelCaseFunctionNames() in timezones-file | Charles Kerr | 2014-02-02 | 1 | -2/+2 |
| | |||||
* | copyediting: as per review, use name_of_thing() instead of ↵ | Charles Kerr | 2014-01-30 | 4 | -16/+16 |
| | | | | get_name_of_thing() or getNameOfThing() | ||||
* | following on the review comment covered in the last commit, use ↵ | Charles Kerr | 2014-01-30 | 5 | -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 Kerr | 2014-01-30 | 2 | -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 Kerr | 2014-01-30 | 2 | -2/+1 |
| | | | | due to system APIs asking for non-const pointers. | ||||
* | as per review, make explicit the dependency injection that was implicit in ↵ | Charles Kerr | 2014-01-30 | 1 | -49/+0 |
| | | | | main() | ||||
* | as per review, don't inline unless there are performance issues | Charles Kerr | 2014-01-30 | 7 | -30/+11 |
| | |||||
* | as per review, don't inline getters | Charles Kerr | 2014-01-30 | 3 | -8/+8 |
| | |||||
* | cleanup from previous commit: since Formatter code was migrated to utils.c ↵ | Charles Kerr | 2014-01-28 | 1 | -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 Kerr | 2014-01-28 | 1 | -22/+28 |
| | | | | so that the panels can use the utils functions without a libindicatordatetime dependency | ||||
* | sync the exported calendar state with the #State backend | Charles Kerr | 2014-01-25 | 2 | -4/+2 |
| | |||||
* | Alarms is going to need to know when the clock's minute changes. We already ↵ | Charles Kerr | 2014-01-22 | 3 | -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 Kerr | 2014-01-22 | 2 | -6/+10 |
| | | | | LiveClock | ||||
* | move planner-mock.h from include/datetime/ to tests/ because it's only ↵ | Charles Kerr | 2014-01-22 | 1 | -44/+0 |
| | | | | needed by the tests. | ||||
* | copyediting: slightly better header comments/docs | Charles Kerr | 2014-01-22 | 9 | -10/+19 |
| | |||||
* | remove the State.timezones property. Timezones is a helper class for ↵ | Charles Kerr | 2014-01-22 | 1 | -1/+10 |
| | | | | LiveClock and doesn't need to be public in State. | ||||
* | copyediting: rename Service as Exporter & tweak comments | Charles Kerr | 2014-01-22 | 1 | -7/+9 |
| | |||||
* | extract LiveState to its own State subclass to make main()'s flow easier to ↵ | Charles Kerr | 2014-01-22 | 1 | -0/+49 |
| | | | | follow | ||||
* | move DateTime's impl from the header to a cc file | Charles Kerr | 2014-01-22 | 1 | -101/+20 |
| | |||||
* | Fix GDateTime leak in DateTime::DateTime(time_t) | Charles Kerr | 2014-01-22 | 1 | -1/+5 |
| | |||||
* | add LiveActions implementation and unit tests | Charles Kerr | 2014-01-21 | 1 | -1/+5 |
| | |||||
* | get timezone, clock tests running again with Settings & State | Charles Kerr | 2014-01-16 | 2 | -5/+4 |
| | |||||
* | update timezones-live to use Settings to tell when the user has ↵ | Charles Kerr | 2014-01-16 | 1 | -7/+6 |
| | | | | enabled/disabled GeoClue lookups | ||||
* | in utils.c, make a version of get_timezone_name() that doesn't require a ↵ | Charles Kerr | 2014-01-16 | 1 | -1/+4 |
| | | | | GSettings argument. Update utils tests. | ||||
* | Plug the Settings object into the State container s.t. menus and actions can ↵ | Charles Kerr | 2014-01-16 | 1 | -7/+7 |
| | | | | update themselves when the user's settings change. | ||||
* | update SettingsLocations class to use the "Settings" class instead of using ↵ | Charles Kerr | 2014-01-16 | 1 | -12/+6 |
| | | | | GSettings directly. | ||||
* | update DesktopFormatter class to use the "Settings" class instead of using ↵ | Charles Kerr | 2014-01-16 | 1 | -5/+14 |
| | | | | GSettings directly. | ||||
* | Implement Settings, a properties-cpp wrapper around GSettings | Charles Kerr | 2014-01-16 | 2 | -10/+25 |
| | |||||
* | Function: add fully-tested ActionGroups, per-profile Menus, state object. | Charles Kerr | 2014-01-14 | 25 | -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 files | Charles Kerr | 2013-12-17 | 8 | -0/+410 |
| | |||||
* | add locations + tests | Charles Kerr | 2013-12-17 | 2 | -0/+131 |
| | |||||
* | add planner + tests | Charles Kerr | 2013-12-17 | 2 | -0/+120 |
| | |||||
* | add formatter + tests | Charles Kerr | 2013-12-17 | 1 | -0/+118 |
| | |||||
* | add timezone-geoclue + tests | Charles Kerr | 2013-12-17 | 1 | -0/+65 |
| | |||||
* | add timezone-file + tests | Charles Kerr | 2013-12-17 | 2 | -0/+106 |
| | |||||
* | add clock + tests | Charles Kerr | 2013-12-17 | 2 | -0/+162 |