aboutsummaryrefslogtreecommitdiff
path: root/src/clock-live.cpp
Commit message (Collapse)AuthorAgeFilesLines
* sync the rest of the code with the changes to DateTime instantiation ↵Charles Kerr2015-03-141-1/+1
| | | | mentioned two commits ago
* create a new timerfd each time we need to call timerfd_settime().Charles Kerr2015-02-271-24/+35
|
* add a g_message() when updating due to anything that's not a periodic timerCharles Kerr2015-02-121-15/+18
|
* extract the timerfd_settime() code into its own method. Add a new call to it ↵Charles Kerr2015-02-121-20/+29
| | | | when we might have triggered via TFD_TIMER_CANCEL_ON_SET
* change the LiveClock's private impl to detect time changes from timerfd's ↵Charles Kerr2015-02-111-48/+77
| | | | TFD_TIMER_CANCEL_ON_SET, e.g. when ntp<-->manual is toggled
* LiveClock only needs one Timezone, so give it that instead of a Timezones objectCharles Kerr2014-09-161-15/+16
|
* copyediting: as per review, use name_of_thing() instead of ↵Charles Kerr2014-01-301-3/+3
| | | | get_name_of_thing() or getNameOfThing()
* following on the review comment covered in the last commit, use ↵Charles Kerr2014-01-301-3/+3
| | | | shared_ptr<const X> instead of shared_ptr<X> where possible.
* Alarms is going to need to know when the clock's minute changes. We already ↵Charles Kerr2014-01-221-47/+66
| | | | 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-221-0/+1
| | | | LiveClock
* Function: add fully-tested ActionGroups, per-profile Menus, state object.Charles Kerr2014-01-141-39/+45
| | | | | | 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 clock + testsCharles Kerr2013-12-171-0/+137