aboutsummaryrefslogtreecommitdiff
path: root/src/snap.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Activate the phone's screen when an alarm is displayed. Fixes: 1340329Charles Kerr2014-07-301-46/+239
|\ | | | | | | Approved by: Jussi Pakkanen, PS Jenkins bot
| * when a Snap object is destructed, delete any active Popups that it owns. ↵Charles Kerr2014-07-241-43/+51
| | | | | | | | This cleaner shutdown doesn't have any effect in production, but is needed to shut down the bus cleanly in the tests.
| * move the powerd and screen bus name, path, and interface strings into ↵Charles Kerr2014-07-231-12/+13
| | | | | | | | dbus-shared
| * remove tracer g_messages() that were used during developmentCharles Kerr2014-07-231-10/+4
| |
| * handle Screen.keepDisplayOn() returning a cookie whose value is '0'Charles Kerr2014-07-231-4/+9
| |
| * when an alarm is being shown, inhibit sleep and force the screen on.Charles Kerr2014-07-231-2/+187
| |
* | Make use of the x-canonical-non-shaped-icon hint to suppress masking the ↵Mirco Müller2014-07-221-0/+3
|/ | | | symbolic icon with an UbuntuShape.
* Pair notify_init() with a shutdown call to notify_uninit() when the last ↵Charles Kerr2014-07-151-8/+6
| | | | | | | | | Snap Decision is closed. This is needed in the dbusmock tests because libnotify's bus proxy needs to be closed. For production, this doesn't make much change: only that notify_uninit() is called once when the local Snap object goes out of scope in main().
* use std::chrono to get the milliseconds for notify_notification_set_hint()Charles Kerr2014-07-151-2/+3
|
* x-canonical-snap-decisions-timeout is int32 millisecondsCharles Kerr2014-07-141-2/+2
|
* add x-canonical-snap-decisions-timeout hint.Charles Kerr2014-07-141-5/+13
|
* remove use of deprecated API notify_notification_set_hint_string()Charles Kerr2014-07-141-6/+6
|
* in snap.cpp, use std::call_once() as suggested by tedgCharles Kerr2014-07-071-17/+10
|
* use GStreamer's full volume range.Charles Kerr2014-07-071-2/+9
|
* use the libgstreamer API instead of libcanberra to play audio sounds.Charles Kerr2014-07-031-125/+85
|
* use unsigned ints for the alarm volume, duration propertiesCharles Kerr2014-06-271-9/+9
|
* Design prefers to have a volume slider instead of presets, so remove the ↵Charles Kerr2014-06-261-15/+14
| | | | AlarmVolume enum and replace it with an int range.
* fix clang++ warning about unused private field in snap.cpp's Sound classCharles Kerr2014-06-261-2/+0
|
* make get_gain_level() a little easier to read.Charles Kerr2014-06-251-1/+1
|
* in snap.cpp, replace Sound::Properties with a SoundBuilder class to make the ↵Charles Kerr2014-06-251-34/+60
| | | | pattern use better.
* copyedit the new snap decision: fix linewraps, give some variables/methods ↵Charles Kerr2014-06-241-107/+103
| | | | clearer names, better grouping of related methods, etc.
* in the snap decision code, handle sound custom loop durationsCharles Kerr2014-06-241-44/+76
|
* add support for per-alarm ringtone sounds set in EDS via ↵Charles Kerr2014-06-231-22/+67
| | | | E_CAL_COMPONENT_ALARM_AUDIO
* in the snap decision code, handle custom sounds and volume levels.Charles Kerr2014-06-231-180/+287
|
* don't ca_context_cache() the default alarm sound, since we don't use it on ↵Charles Kerr2014-05-281-16/+0
| | | | desktop and caching fails on phone
* use the Suru arpeggio as the default alarm sound.Charles Kerr2014-05-281-1/+1
|
* add comments & examples for translators to help them to fix bug #1001595 for ↵Charles Kerr2014-03-271-0/+2
| | | | their locale.
* Add debug logging of what capabilities the notification server said it ↵Charles Kerr2014-03-211-0/+8
|\ | | | | | | supports. Fixes: 1295271
| * add debug logging of what capabilities the notification server said it supports.Charles Kerr2014-03-201-0/+8
| |
* | Don't play the alarm sound if we can't talk to libnotify. Otherwise we won't ↵Charles Kerr2014-03-201-4/+7
|/ | | | know when the notification's been closed to turn off the sound, and the sound will play forever.
* 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.
* when playing a sound in canberra, don't use CA_PROP_EVENT_ID if caching failedCharles Kerr2014-02-051-1/+5
|
* 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-041-33/+113
| | | | tests/ to trigger a snap decision.
* use the appointment's beginning time in the title of the alarm Snap DecisionCharles Kerr2014-02-041-5/+10
|
* don't show snap decisions for appointments that don't have alarms.Charles Kerr2014-02-031-0/+3
|
* from alarm dev branch: snap decision handlerCharles Kerr2014-02-031-0/+112