aboutsummaryrefslogtreecommitdiff
path: root/src/snap.cpp
Commit message (Collapse)AuthorAgeFilesLines
* honor the AccountsService 'other vibrations' setting.Charles Kerr2015-04-081-3/+11
|
* add an Alarm class to represent ical valarm components; change the ↵Charles Kerr2015-03-311-7/+9
| | | | Appointment class to hold an arbitrary number of Alarms.
* in Snap's Sound() ctor, use an 'alarm' role for the alarm clock and 'alert' ↵Charles Kerr2015-01-211-1/+2
| | | | for calendar events
* tweak an overly-verbose variable nameCharles Kerr2015-01-211-2/+2
|
* in Snap, fix the code that checks AccountsService.Sound for Silent ModeCharles Kerr2015-01-211-7/+6
|
* first stab at AccountsService proxy. WIP; pushing to test on devicesCharles Kerr2015-01-211-6/+57
|
* for calendar events, use interactive notifications and a nonrepeating sound.Charles Kerr2014-12-071-4/+9
|
* ensure that disabled alarms aren't shown in indicator-datetime and that ↵Charles Kerr2014-12-071-6/+0
| | | | notifications aren't shown for them.
* fix tyop from previous commitCharles Kerr2014-09-171-1/+1
|
* use the new x-canonical-private-affirmative-tint key.Charles Kerr2014-09-171-1/+1
|
* add translator comments for the date format string in snap.cppCharles Kerr2014-09-151-1/+10
|
* In the alarm's popup notifications' titlebars, don't show the seconds in the ↵Charles Kerr2014-09-051-2/+5
|\ | | | | | | | | | | time format string. Fixes: 1364374 Approved by: Pete Woods, PS Jenkins bot
| * remove the seconds from the alarms' snap decisions.Charles Kerr2014-09-021-2/+5
| |
* | reverse OK/snooze button orderCharles Kerr2014-09-021-1/+1
| |
* | update Snap Decisions to include snoozeCharles Kerr2014-09-021-13/+11
|/
* configurable haptic mode, part 2 of 3: use the new haptic mode setting when ↵Charles Kerr2014-07-311-1/+4
| | | | popping up notifications; sync notification tests
* sync with lp:~charlesk/indicator-datetime/notification-refactorCharles Kerr2014-07-311-0/+1
|\
| * sync with trunkCharles Kerr2014-07-301-0/+1
| |\
| | * 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.
* | | initial draft of haptic feedback when alarms playCharles Kerr2014-07-301-2/+6
|/ /
* | move Snap's guts into an Impl classCharles Kerr2014-07-301-80/+105
| |
* | copyediting: comments, use anonymous namespaceCharles Kerr2014-07-271-3/+8
| |
* | copyeditingCharles Kerr2014-07-271-16/+13
| |
* | refactor the Notifications / sound / awake codeCharles Kerr2014-07-261-574/+53
| |
* | 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
|/
* 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