aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* replace autotools with cmakeCharles Kerr2013-10-1813-1666/+42
|
* copyediting: nobody uses this #define, so remove itCharles Kerr2013-10-181-2/+0
|
* since we keep reusing the same GVariants again and again forever, cache them.Charles Kerr2013-10-181-29/+54
|
* when building the desktop header state, reuse the label variantCharles Kerr2013-10-171-2/+5
|
* because is rarely changes, cache the GTimeZone used by ↵Charles Kerr2013-10-171-9/+19
| | | | indicator_datetime_clock_get_localtime()
* because it rarely changes, cache the header_label_format_string.Charles Kerr2013-10-171-18/+28
|
* cache the timezone strv; lazy-rebuilding it when neededCharles Kerr2013-10-174-39/+30
|
* cleanup: dead code removal, fix comments, smaller implementation of ↵Charles Kerr2013-10-175-41/+24
| | | | update_internal_localtime()
* refactor the timezone and current time provider into a gobject Interface ↵Charles Kerr2013-10-1710-408/+680
| | | | 'IndicatorDatetimeClock'
* == Changes to planner-eds:Charles Kerr2013-10-1710-91/+836
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The get-appointments GTask has a new task subtype for pulling an ECalComponent's uris asynchronously. When get_appointments() is called, create one GTask. We add subtasks to it for each client we know of for calling e_cal_client_generate_instances(). What's new is that for each ECalComponent we find in generate_instances(), we add another new subtask that tries to get the uris for that component. == Testing changes: Make "planner" a property in IndicatorDatetimeService so that we can swap in different appointment planners at runtime. This is for unit testing purposes. Add a mechanism for testing snap decisions without an EDS backend. == Service changes: Every time the appointment list changes, walk through it to find the alarm that will occur the soonest. Set a timer to wake up at that time. When the timer is reached, pop up a snap decision for each alarm set to that time. If the user clicks "OK", dispatch the URL associated with that alarm. Made the appointment menuitems clickable, they now dispatch the appointment's URL. Fixes: https://bugs.launchpad.net/bugs/1233176. Approved by PS Jenkins bot, Ted Gould.
| * in the alarm snap decision, add x-canonical-private-button-tint hint to ↵Charles Kerr2013-10-161-2/+6
| | | | | | | | highlight the 'Show' button
| * change ok/cancel buttons to the slightly-more-informative show/dismissCharles Kerr2013-10-161-3/+3
| |
| * sync with trunkCharles Kerr2013-10-162-15/+105
| |\
| * | use a two-button snap decision because one-button snap decisions don't show up.Charles Kerr2013-10-161-12/+22
| | |
| * | add a test mode for alarms.Charles Kerr2013-10-161-48/+30
| | |
| * | for testing purposes, fire off a snap decision as soon as the datetime ↵Charles Kerr2013-10-162-40/+50
| | | | | | | | | | | | indicator is started. this way one can test on phablet by running as user phablet
| * | tweak snap decision commentsCharles Kerr2013-10-141-5/+4
| | |
| * | extract-method: show_snap_decision_for_alarmCharles Kerr2013-10-091-36/+37
| | |
| * | more wiring in of mock objectsCharles Kerr2013-10-092-13/+32
| | |
| * | preliminary implementation of snap decisionCharles Kerr2013-10-092-14/+70
| | |
| * | add a preliminary mock planner for testing alarms/appointments isolated ↵Charles Kerr2013-10-094-1/+248
| | | | | | | | | | | | apart from the EDS backend
| * | planner-eds's is_configured() function should be privateCharles Kerr2013-10-091-1/+1
| | |
| * | move the implementation of indicator_datetime_appt_free() from planner-eds.c ↵Charles Kerr2013-10-092-19/+20
| | | | | | | | | | | | to planner.c
| * | remove vestigal function declaration from planner-eds.hCharles Kerr2013-10-091-2/+0
| | |
| * | move planner instantiation to main.c so that we can prepare to pass in a ↵Charles Kerr2013-10-093-24/+118
| | | | | | | | | | | | mock planner for testing
| * | add url activation for appointment menuitems on the phone profile.Charles Kerr2013-10-091-15/+59
| | |
| * | remove debugging stubsCharles Kerr2013-10-091-2/+2
| | |
| * | instead of testing for alarms once per minute, set a timer for the next ↵Charles Kerr2013-10-091-30/+89
| | | | | | | | | | | | alarm occurence.
| * | in the case of recurring appointments, allow multiple entries with the same ↵Charles Kerr2013-10-092-10/+7
| | | | | | | | | | | | uid to be returned by get_appointments(). This is so the client can always find the timestamp of the instance that occurs next.
| * | add a uri-searching subtask whenever we find an appointmentCharles Kerr2013-10-081-33/+165
| | |
| * | add a timer to periodically check to see if EDS alarms have been reached.Charles Kerr2013-10-081-0/+94
| | |
| * | add a timer to test periodically to see if we've reached an EDS alarmCharles Kerr2013-10-081-0/+1
| | |
* | | Fixed datetime title text to read "Date and Time" rather than the day of the ↵Marcus Tomlinson2013-10-171-6/+3
|\ \ \ | |_|/ |/| | | | | | | | | | | week (as per spec). Fixes: https://bugs.launchpad.net/bugs/1236400. Approved by PS Jenkins bot, Charles Kerr.
| * | Replace "Date and Time" menu title on phone with "Upcoming" according to ↵Marcus Tomlinson2013-10-161-1/+1
| | | | | | | | | | | | updated spec.
| * | Fixed date formatted string menu item to display the full name of current ↵Marcus Tomlinson2013-10-161-1/+1
| | | | | | | | | | | | day rather than the shortend version.
| * | Updated date formatted string in create_phone_calendar_section() from "%e %B ↵Marcus Tomlinson2013-10-161-1/+1
| | | | | | | | | | | | %Y" to "%a, %e %B %Y".
| * | Fixed datetime title text to read "Date and Time" rather than the day of the ↵Marcus Tomlinson2013-10-161-5/+2
| | | | | | | | | | | | week (as per spec).
* | | don't crash with a g_error() in on_bus_lost(). There's a valid case for this ↵Charles Kerr2013-10-161-3/+0
|/ / | | | | | | happening when the greeter's bus is force-shutdown
* | make clock_app_icon_filename a field of IndicatorDatetimeServicePrivCharles Kerr2013-10-151-29/+40
| |
* | use the clock app's icon for the 'Clock' menuitem, and launch the clock app ↵Charles Kerr2013-10-151-2/+56
| | | | | | | | when it's clicked.
* | cache our internal GTimeZone instead of constantly re-creating it. Fixes: ↵Charles Kerr2013-10-151-2/+29
|\ \ | | | | | | | | | | | | | | | https://bugs.launchpad.net/bugs/1238043. Approved by PS Jenkins bot, Ted Gould.
| * | random fiddling: add G_UNLIKELY to the internal_timezone testCharles Kerr2013-10-151-1/+1
| | |
| * | ccache our internal GTimeZone instead of constantly re-creating it.Charles Kerr2013-10-141-2/+29
| |/
* | add an icon for alarm appointment menuitemsCharles Kerr2013-10-141-2/+6
| |
* | use ubuntu mobile's icon name for the alarm clock iconCharles Kerr2013-10-141-1/+1
|/
* don't use ascii quote marks.Charles Kerr2013-10-041-1/+1
|
* when an unsupported date format is being used, tell what it is so that we ↵Charles Kerr2013-10-041-1/+1
| | | | can triage the issue.
* start tracking failure-to-connect-to-bus errors on indicator-datetime. ↵Charles Kerr2013-10-041-0/+3
|\ | | | | | | | | | | Fixes: https://bugs.launchpad.net/bugs/1227519. Approved by PS Jenkins bot, Ted Gould.
| * start tracking failure-to-connect-to-bus on indicator-datetimeCharles Kerr2013-10-041-0/+3
| |
* | Update settings URL to settings:///system. Fixes: ↵Charles Kerr2013-10-031-1/+1
|\ \ | | | | | | | | | | | | | | | https://bugs.launchpad.net/bugs/1231444. Approved by Ted Gould, PS Jenkins bot.