Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | make DateTime::is_same_day() faster | Charles Kerr | 2015-04-05 | 1 | -4/+6 |
| | |||||
* | add the new Alarm class as an argument to the alarm queue class | Charles Kerr | 2015-04-03 | 1 | -0/+10 |
| | |||||
* | add DateTime::end_of_month(), DateTime::end_of_day(). Add unit tests for them. | Charles Kerr | 2015-03-16 | 1 | -18/+42 |
| | |||||
* | in DateTime::is_set(), include timezone test | Charles Kerr | 2015-03-16 | 1 | -2/+0 |
| | |||||
* | in DateTime::DateTime(GTimeZone*,GDateTime*), don't allow either argument to ↵ | Charles Kerr | 2015-03-16 | 1 | -23/+9 |
| | | | | be nullptr | ||||
* | in DateTime::Local() and DateTime::NowLocal(), avoid redundant construction ↵ | Charles Kerr | 2015-03-14 | 1 | -2/+2 |
| | | | | of the local timezone. | ||||
* | Add DateTime::start_of_day() to use instead of the add_hours(-hours()) ↵ | Charles Kerr | 2015-03-14 | 1 | -13/+64 |
| | | | | | | | trick, which doesn't work on days when DST changes. Implementing this requires DateTime objects to keep their own GTimeZone pointer, since the one inside GDateTime is private and can't be used for DateTime::start_of_day()'s call to g_date_time_new(). As a result the public API of DateTime changes, since we'll need a GTimeZone when constructing or assigning from a GDateTime pointer. | ||||
* | hw alarms | Charles Kerr | 2014-04-24 | 1 | -0/+5 |
| | |||||
* | decouple the planner's states; need three separate sets: upcoming-now (for ↵ | Charles Kerr | 2014-03-09 | 1 | -2/+25 |
| | | | | 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 DateTime::format(), don't assign NULL to a std::string | Charles Kerr | 2014-02-26 | 1 | -3/+9 |
| | |||||
* | another pass at removing alarms from the menu once they're no longer ↵ | Charles Kerr | 2014-02-05 | 1 | -0/+18 |
| | | | | upcoming. This version fixes the header's icon as well. | ||||
* | as per review, don't inline unless there are performance issues | Charles Kerr | 2014-01-30 | 1 | -0/+17 |
| | |||||
* | Alarms is going to need to know when the clock's minute changes. We already ↵ | Charles Kerr | 2014-01-22 | 1 | -40/+25 |
| | | | | 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. | ||||
* | move DateTime's impl from the header to a cc file | Charles Kerr | 2014-01-22 | 1 | -0/+157 |