aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* following on the review comment covered in the last commit, use ↵Charles Kerr2014-01-306-23/+24
| | | | 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-4/+4
| | | | 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-8/+3
| | | | due to system APIs asking for non-const pointers.
* as per review, make explicit the dependency injection that was implicit in ↵Charles Kerr2014-01-303-60/+18
| | | | main()
* as per review, don't inline unless there are performance issuesCharles Kerr2014-01-307-0/+99
|
* as per review, don't inline gettersCharles Kerr2014-01-303-0/+47
|
* fix 'clock app' menuitem on phone profile reported by seb128 and update the ↵Charles Kerr2014-01-301-4/+13
| | | | corresponding unit tests
* remove unused old fileCharles Kerr2014-01-291-2432/+0
|
* sync with trunkCharles Kerr2014-01-291-1/+18
|\
| * Set calendar to the current date when the menu is popped upLars Uebernickel2014-01-291-1/+18
| | | | | | | | | | | | This makes use of the "submenu-action" attribute to get notified when the menu is popped up.
* | fix disabled 'Add Event…' menuitem issue reported in testing by seb128; ↵Charles Kerr2014-01-291-1/+1
| | | | | | | | add a test for this regression
* | fix instant calendar toggle issue reported in testing by seb128; add a test ↵Charles Kerr2014-01-291-2/+5
| | | | | | | | for this regression
* | sync with lp:~larsu/indicator-datetime/reset-date and add corresponding unit ↵Charles Kerr2014-01-292-3/+19
| | | | | | | | tests.
* | fix g_date_time_format() leak found by valgrind testingCharles Kerr2014-01-281-2/+6
| |
* | fix GDateTime leak found by valgrind testingCharles Kerr2014-01-281-3/+3
| |
* | fix Task leak found by valgrind testingCharles Kerr2014-01-281-0/+1
| |
* | fix free-memory-read bug found by valgrind testingCharles Kerr2014-01-281-2/+1
| |
* | cleanup from previous commit: since Formatter code was migrated to utils.c ↵Charles Kerr2014-01-282-167/+6
| | | | | | | | 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-283-155/+309
| | | | | | | | so that the panels can use the utils functions without a libindicatordatetime dependency
* | silence compiler warningCharles Kerr2014-01-281-1/+1
| |
* | merge lp:~robert-ancell/indicator-datetime/call-ucc into lp:indicator-datetimeCharles Kerr2014-01-272-4/+27
|\|
| * Run the unity-control-center panel under Unity. Rename the unity panel to ↵Robert Ancell2014-01-221-2/+14
| | | | | | | | just "datetime"
| * fix minor naming error in the interim library that we link the unit tests ↵Charles Kerr2013-12-131-1/+1
| | | | | | | | and final product service against
| * move the phone & desktop common elements of header time format into a ↵Charles Kerr2013-12-131-17/+30
| | | | | | | | private util, get_default_header_time_format(), and have the phone & desktop functions call it.
* | remove code duplication between formatter.cpp and utils.cppCharles Kerr2014-01-272-12/+6
| |
* | re-enable coverage-html reportsCharles Kerr2014-01-271-8/+1
| |
* | sync the exported calendar state with the #State backendCharles Kerr2014-01-253-8/+28
| |
* | Alarms is going to need to know when the clock's minute changes. We already ↵Charles Kerr2014-01-224-147/+139
| | | | | | | | 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-5/+1
| | | | | | | | LiveClock
* | fix r325 regression found by test-menusCharles Kerr2014-01-221-2/+2
| |
* | remove the State.timezones property. Timezones is a helper class for ↵Charles Kerr2014-01-221-1/+0
| | | | | | | | LiveClock and doesn't need to be public in State.
* | follow-up to r326, if we can't get the alarm icon from click, use a sane ↵Charles Kerr2014-01-221-2/+9
| | | | | | | | fallback icon
* | copyediting: omit unnecessary #includesCharles Kerr2014-01-221-4/+0
| |
* | the clock icon should match the one used by the clock app, so use click to ↵Charles Kerr2014-01-222-9/+54
| | | | | | | | ask the clock app which icon it's using
* | plug in the greeter menusCharles Kerr2014-01-223-4/+7
| |
* | in PlannerEds, replace g_message() console messages with g_debug()Charles Kerr2014-01-221-12/+11
| |
* | in PlannerEds, wire in planner.thisMonth and planner.upcomingCharles Kerr2014-01-221-0/+2
| |
* | copyediting: rename Service as Exporter & tweak commentsCharles Kerr2014-01-223-14/+18
| |
* | extract LiveState to its own State subclass to make main()'s flow easier to ↵Charles Kerr2014-01-222-34/+70
| | | | | | | | follow
* | move DateTime's impl from the header to a cc fileCharles Kerr2014-01-222-1/+160
| |
* | add LiveActions implementation and unit testsCharles Kerr2014-01-211-13/+140
| |
* | get timezone, clock tests running again with Settings & StateCharles Kerr2014-01-162-10/+5
| |
* | fix minor -Wpedantic warningsCharles Kerr2014-01-161-3/+3
| |
* | sync with new State class changesCharles Kerr2014-01-161-8/+19
| |
* | fix minor -Wshadow warningsCharles Kerr2014-01-161-4/+4
| |
* | update timezones-live to use Settings to tell when the user has ↵Charles Kerr2014-01-161-4/+8
| | | | | | | | enabled/disabled GeoClue lookups
* | in utils.c, make a version of get_timezone_name() that doesn't require a ↵Charles Kerr2014-01-161-36/+53
| | | | | | | | GSettings argument. Update utils tests.
* | Plug the Settings object into the State container s.t. menus and actions can ↵Charles Kerr2014-01-162-17/+7
| | | | | | | | update themselves when the user's settings change.
* | update SettingsLocations class to use the "Settings" class instead of using ↵Charles Kerr2014-01-161-32/+18
| | | | | | | | GSettings directly.
* | update DesktopFormatter class to use the "Settings" class instead of using ↵Charles Kerr2014-01-162-143/+92
| | | | | | | | GSettings directly.