aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* initial draft of haptic feedback when alarms playCharles Kerr2014-07-304-3/+100
|
* move Snap's guts into an Impl classCharles Kerr2014-07-301-80/+105
|
* remove testing stubCharles Kerr2014-07-301-1/+1
|
* copyediting: comments, use anonymous namespaceCharles Kerr2014-07-274-38/+39
|
* make close return void instead of bool, because after all what more can you ↵Charles Kerr2014-07-271-18/+8
| | | | do if the call fails? What's the point?
* in sound.cpp, check the return value of gst_init_check()Charles Kerr2014-07-271-2/+1
|
* copyeditingCharles Kerr2014-07-272-17/+14
|
* refactor the Notifications / sound / awake codeCharles Kerr2014-07-266-576/+841
|
* 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-232-16/+17
| | | | 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-273-26/+28
|
* Design prefers to have a volume slider instead of presets, so remove the ↵Charles Kerr2014-06-263-43/+18
| | | | AlarmVolume enum and replace it with an int range.
* Expose the alarm settings via dbus properties.Charles Kerr2014-06-263-14/+134
|
* fix clang++ warning about unused private field in snap.cpp's Sound classCharles Kerr2014-06-261-2/+0
|
* fix clang++ warning about an unused private field in EdsEngineCharles Kerr2014-06-261-4/+2
|
* Add Exporter's implementation to an Impl file because I'm about to shovel ↵Charles Kerr2014-06-262-68/+104
| | | | more methods and fields in there.
* 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-242-45/+77
|
* add GSettings support for specifying an alarm loop durationCharles Kerr2014-06-241-0/+12
|
* add support for per-alarm ringtone sounds set in EDS via ↵Charles Kerr2014-06-232-26/+81
| | | | E_CAL_COMPONENT_ALARM_AUDIO
* in the snap decision code, handle custom sounds and volume levels.Charles Kerr2014-06-232-181/+288
|
* add GSettings support for specifying a default alarm sound and default alarm ↵Charles Kerr2014-06-231-0/+26
| | | | volume.
* Prefer to use ubuntu-platform-hardware-api for wakeups when possible s.t. ↵Charles Kerr2014-06-119-135/+607
|\ | | | | | | user-defined alarms/appointments can wake up the phone from sleep to give a snap decision. Fixes: 1299916
| * remove a pair of #warning tracersCharles Kerr2014-06-101-3/+0
| |
| * Don't build the hw-alarms pieces if ubuntu/hardware/alarm.h can't be found. ↵Charles Kerr2014-06-102-27/+40
| | | | | | | | Don't require libplatform-hardware-api-* unless the arch is armhf, i386, or amd64.
| * remove some debug tracers that shouldn't've been committedCharles Kerr2014-06-101-10/+4
| |
| * in SimpleAlarmQueue, the 'alarms we don't want to trigger' list needs to be ↵Charles Kerr2014-06-101-6/+18
| | | | | | | | composed of uid + timestamp. Keying off of only timestamp doesn't work because UIDs can be recycled as users edit and reuse alarms.
| * in UhaWakeupTimer, ensure the timeout signal gets emitted from inside a glib ↵Charles Kerr2014-06-101-1/+1
| | | | | | | | idle callback.
| * in wakeup-timer-uha, sync with platform-api changes and add a safeguard to ↵Charles Kerr2014-06-101-8/+16
| | | | | | | | ensure the service doesn't try to sleep for an event that's already passed.
| * in wakeup-timer-uha, set idle wakeup to 1 day from now rather than 1 year ↵Charles Kerr2014-06-101-2/+2
| | | | | | | | from now.
| * in engine-eds, add debug messagesCharles Kerr2014-06-101-2/+10
| |
| * in alarm-queue-simple, call requeue() if time skew is detected.Charles Kerr2014-06-101-3/+3
| |
| * in wakeup-timer-mainloop, don't just cast to uint without checking sign. ↵Charles Kerr2014-06-101-1/+3
| | | | | | | | (h/t ted)
| * prefer to use ubuntu-platform-hardware-api for wakeups when possible s.t. ↵Charles Kerr2014-04-248-111/+549
| |\ | | | | | | | | | user-defined alarms/appointments can wake up the phone from sleep to give a snap decision.
| | * hw alarmsCharles Kerr2014-04-248-111/+549
| | |
| | * rename 'clock-watcher' as 'alarm-queue' because the former name isn't very ↵Charles Kerr2014-04-243-11/+11
| |/ | | | | | | informative.
* | Use the Suru Arpeggio as the default alarm sound. Fixes: 1309063Charles Kerr2014-06-111-17/+1
|\ \