aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* decouple the planner's states; need three separate sets: upcoming-now (for ↵Charles Kerr2014-03-0912-554/+832
| | | | 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 utils.c's generate_full_format_string_at_time(), test to see if the event ↵Charles Kerr2014-03-091-0/+4
| | | | time occurred before the current time
* in EdsPlanner, use a Timezone instead of Timezones objectCharles Kerr2014-03-092-7/+9
|
* sync with trunkCharles Kerr2014-03-023-14/+91
|\
| * When the notification engine is notify-osd, use bubble notifications instead ↵Charles Kerr2014-02-271-7/+68
| |\ | | | | | | | | | of the phone's snap decisions. Fixes: 1283142
| | * when a notify action is activated, call stop_audio_loop() in case the notify ↵Charles Kerr2014-02-271-0/+2
| | | | | | | | | | | | server doesn't also send back a 'closed' signal.
| | * when deciding whether to do a bubble or snap notification, see if the server ↵Charles Kerr2014-02-271-19/+25
| | | | | | | | | | | | supports actions.
| | * when notifying of alarms on the desktop, use bubble notifications instead of ↵Charles Kerr2014-02-261-8/+57
| | | | | | | | | | | | a confirmation dialog + audio feedback.
| | * tie the stop-the-ringtone action to the notification being closed, so that ↵Charles Kerr2014-02-261-2/+6
| | | | | | | | | | | | it stops no matter which button was pressed.
| * | In EdsPlanner's get_appointments(), sort 'em before returning them to the ↵Charles Kerr2014-02-271-3/+10
| |\ \ | | | | | | | | | | | | | | | | | | | | caller. Fixes: 1285249
| | * | in EdsPlanner's get_appointments(), sort 'em before returning them to the ↵Charles Kerr2014-02-261-3/+10
| | |/ | | | | | | | | | caller.
| * | DateTime::format(), don't pass NULL to a std::string's assignment operator ↵Charles Kerr2014-02-271-3/+9
| |\ \ | | | | | | | | | | | | Fixes: 1285243
| | * | in DateTime::format(), don't assign NULL to a std::stringCharles Kerr2014-02-261-3/+9
| | |/
| * / don't log E_CLIENT_ERROR_NOT_SUPPORTED errors returned by ↵Charles Kerr2014-02-261-1/+4
| |/ | | | | | | e_cal_client_get_attachment_uris() -- we can silently interpret that as 'no attachments'
* / use the timezones object to set the ECalComponent's default timezone. This ↵Charles Kerr2014-02-262-7/+11
|/ | | | is needed to properly handle the 'floating' dates in the alarms
* Fix g_assert_if_reached() in EdsPlanner::on_source_enabled(). Fixes: 1283610Charles Kerr2014-02-251-8/+21
|\
| * In EdsPlanner::on_source_enabled(), don't use ESources that don't have ↵Charles Kerr2014-02-251-8/+21
| | | | | | | | calendars or tasks.
* | In the alarms menu, don't let iterations of recurring events drown out ↵Charles Kerr2014-02-251-5/+4
|\ \ | | | | | | | | | everything else.
| * | fix typo in previous commitCharles Kerr2014-02-241-1/+1
| | |
| * | actually, why keep the local variable at all. Use g_menu_model_get_n_items() ↵Charles Kerr2014-02-231-2/+1
| | | | | | | | | | | | to see if we've reached MAX_APPTS yet.
| * | don't let each iteration of a recurring event/alarm spam out other upcoming ↵Charles Kerr2014-02-231-4/+4
| |/ | | | | | | event/alarms in the menu.
* | Test the EDS component summary for NULL before using it in a std::string. ↵Charles Kerr2014-02-251-2/+3
|\ \ | | | | | | | | | Fixes: 1280341
| * | test the ECalComponent's summary for NULL before passing it to our std::string.Charles Kerr2014-02-241-2/+3
| |/
* / don't pass a nulllptr into std::string's ctor if the EClient doesn't have a ↵Charles Kerr2014-02-251-1/+5
|/ | | | color hint.
* sync with trunkCharles Kerr2014-02-192-9/+0
|\
| * Move date/time panel into unity-control-centerRobert Ancell2014-02-112-9/+0
| |
| * Don't load the alarm icon until it's needed s.t. we don't hit click ↵Charles Kerr2014-02-051-4/+7
| |\ | | | | | | | | | unnecessarily when starting up in the greeter.
| | * don't load the alarm icon until we need it, which in the case of the desktop ↵Charles Kerr2014-01-291-4/+7
| | | | | | | | | | | | greeter is never.
* | | another pass at removing alarms from the menu once they're no longer ↵Charles Kerr2014-02-052-9/+46
| | | | | | | | | | | | upcoming. This version fixes the header's icon as well.
* | | when playing a sound in canberra, don't use CA_PROP_EVENT_ID if caching failedCharles Kerr2014-02-051-1/+5
| | |
* | | remove upcoming events from the menu once they're no longer upcoming.Charles Kerr2014-02-051-0/+7
| | |
* | | revert r400; we can't block alarms by UID because that would hide recurring ↵Charles Kerr2014-02-052-24/+6
| | | | | | | | | | | | alarms
* | | if an alarm doesn't have a URL associated with it, use ↵Charles Kerr2014-02-051-1/+8
| | | | | | | | | | | | 'appid://com.ubuntu.clock/clock/current-user-version' as a fallback url.
* | | remove alarms from the menu once they've been shown in a snap decision.Charles Kerr2014-02-052-6/+24
| | |
* | | copyediting: make the Snap lambdas a little easier to read.Charles Kerr2014-02-051-3/+3
| | |
* | | bugfix: when closing the snap decision, ensure there's not a timeout waiting ↵Charles Kerr2014-02-051-2/+10
| | | | | | | | | | | | to loop the ringtone
* | | add the alarm bell to the canberra cache before it gets played in a loop.Charles Kerr2014-02-041-8/+18
| | |
* | | loop the ringtone until user acks the snap decisionCharles Kerr2014-02-041-2/+38
| | |
* | | use %X for showing the appointment time in the titleCharles Kerr2014-02-041-4/+2
| | |
* | | Add audio notitication when the alarm is triggered. Add a manual test to ↵Charles Kerr2014-02-042-42/+119
| | | | | | | | | | | | tests/ to trigger a snap decision.
* | | use the appointment's beginning time in the title of the alarm Snap DecisionCharles Kerr2014-02-042-6/+11
| | |
* | | pin the planner's upcoming appointments to the live clock time, rather than ↵Charles Kerr2014-02-042-48/+71
| | | | | | | | | | | | the calendar's time, so that they always update correctly in real-time
* | | don't show snap decisions for appointments that don't have alarms.Charles Kerr2014-02-031-0/+3
| | |
* | | when displaying alarms, use the 'alarm-clock' key matching the icon in ↵Charles Kerr2014-02-031-61/+8
| | | | | | | | | | | | ubuntu-mobile-icons
* | | copyediting: remove a piece of dead codeCharles Kerr2014-02-031-1/+1
| | |
* | | from alarm dev branch: snap decision handlerCharles Kerr2014-02-033-0/+122
| | |
* | | update the header state when the planner's appointments changeCharles Kerr2014-02-031-0/+1
| | |
* | | when connecting to an ECalClient, use the proper source types for events/tasksCharles Kerr2014-02-021-1/+9
| | |
* | | from alarm dev branch: add the alarm watcher and its unit testsCharles Kerr2014-02-022-0/+72
| | |
* | | aha! ubntu-ui-toolkit stores its alarms in E_SOURCE_EXTENSION_TASK_LIST ↵Charles Kerr2014-02-021-12/+17
| | | | | | | | | | | | instead of E_SOURCE_EXTENSION_CALENDAR. Let's handle both in indicator-datetime.