aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* configurable haptic mode, part 1 of 3: add haptic feedback mode to the ↵Charles Kerr2014-07-311-0/+14
| | | | GSettings schema and to our Settings object
* in haptic.cpp, better support for vibration patternsCharles Kerr2014-07-311-14/+43
|
* drop the ubuntu-application-api middleman and call usensorsd directly: ↵Charles Kerr2014-07-311-23/+57
| | | | ua_sensors_haptic_new() crashes on desktop and ua_sensors_haptic_vibrate_once() makes blocking dbus calls.
* in haptic.cpp, better commentsCharles Kerr2014-07-311-0/+3
|
* in Haptic::Impl::~Impl(), call ua_sensors_haptic_disable(). h/t AnttiCharles Kerr2014-07-311-1/+1
|
* in haptic.cpp, start vibrating immediatelyCharles Kerr2014-07-311-0/+1
|
* remove testing stub used by developmentCharles Kerr2014-07-311-1/+1
|
* sync with lp:~charlesk/indicator-datetime/notification-refactorCharles Kerr2014-07-312-1/+2
|\
| * in sound.cpp, fix tab damageCharles Kerr2014-07-311-1/+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.
* | | in haptic.cpp, make sure to enable the sensor by calling ↵Charles Kerr2014-07-301-3/+11
| | | | | | | | | | | | ua_sensors_haptic_enable()
* | | 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.