Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | make close return void instead of bool, because after all what more can you ↵ | Charles Kerr | 2014-07-27 | 1 | -18/+8 |
| | | | | do if the call fails? What's the point? | ||||
* | in sound.cpp, check the return value of gst_init_check() | Charles Kerr | 2014-07-27 | 1 | -2/+1 |
| | |||||
* | copyediting | Charles Kerr | 2014-07-27 | 2 | -17/+14 |
| | |||||
* | refactor the Notifications / sound / awake code | Charles Kerr | 2014-07-26 | 6 | -576/+841 |
| | |||||
* | when a Snap object is destructed, delete any active Popups that it owns. ↵ | Charles Kerr | 2014-07-24 | 1 | -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 Kerr | 2014-07-23 | 2 | -16/+17 |
| | | | | dbus-shared | ||||
* | remove tracer g_messages() that were used during development | Charles Kerr | 2014-07-23 | 1 | -10/+4 |
| | |||||
* | handle Screen.keepDisplayOn() returning a cookie whose value is '0' | Charles Kerr | 2014-07-23 | 1 | -4/+9 |
| | |||||
* | when an alarm is being shown, inhibit sleep and force the screen on. | Charles Kerr | 2014-07-23 | 1 | -2/+187 |
| | |||||
* | Pair notify_init() with a shutdown call to notify_uninit() when the last ↵ | Charles Kerr | 2014-07-15 | 1 | -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 Kerr | 2014-07-15 | 1 | -2/+3 |
| | |||||
* | x-canonical-snap-decisions-timeout is int32 milliseconds | Charles Kerr | 2014-07-14 | 1 | -2/+2 |
| | |||||
* | add x-canonical-snap-decisions-timeout hint. | Charles Kerr | 2014-07-14 | 1 | -5/+13 |
| | |||||
* | remove use of deprecated API notify_notification_set_hint_string() | Charles Kerr | 2014-07-14 | 1 | -6/+6 |
| | |||||
* | in snap.cpp, use std::call_once() as suggested by tedg | Charles Kerr | 2014-07-07 | 1 | -17/+10 |
| | |||||
* | use GStreamer's full volume range. | Charles Kerr | 2014-07-07 | 1 | -2/+9 |
| | |||||
* | use the libgstreamer API instead of libcanberra to play audio sounds. | Charles Kerr | 2014-07-03 | 1 | -125/+85 |
| | |||||
* | use unsigned ints for the alarm volume, duration properties | Charles Kerr | 2014-06-27 | 3 | -26/+28 |
| | |||||
* | Design prefers to have a volume slider instead of presets, so remove the ↵ | Charles Kerr | 2014-06-26 | 3 | -43/+18 |
| | | | | AlarmVolume enum and replace it with an int range. | ||||
* | Expose the alarm settings via dbus properties. | Charles Kerr | 2014-06-26 | 3 | -14/+134 |
| | |||||
* | fix clang++ warning about unused private field in snap.cpp's Sound class | Charles Kerr | 2014-06-26 | 1 | -2/+0 |
| | |||||
* | fix clang++ warning about an unused private field in EdsEngine | Charles Kerr | 2014-06-26 | 1 | -4/+2 |
| | |||||
* | Add Exporter's implementation to an Impl file because I'm about to shovel ↵ | Charles Kerr | 2014-06-26 | 2 | -68/+104 |
| | | | | more methods and fields in there. | ||||
* | make get_gain_level() a little easier to read. | Charles Kerr | 2014-06-25 | 1 | -1/+1 |
| | |||||
* | in snap.cpp, replace Sound::Properties with a SoundBuilder class to make the ↵ | Charles Kerr | 2014-06-25 | 1 | -34/+60 |
| | | | | pattern use better. | ||||
* | copyedit the new snap decision: fix linewraps, give some variables/methods ↵ | Charles Kerr | 2014-06-24 | 1 | -107/+103 |
| | | | | clearer names, better grouping of related methods, etc. | ||||
* | in the snap decision code, handle sound custom loop durations | Charles Kerr | 2014-06-24 | 2 | -45/+77 |
| | |||||
* | add GSettings support for specifying an alarm loop duration | Charles Kerr | 2014-06-24 | 1 | -0/+12 |
| | |||||
* | add support for per-alarm ringtone sounds set in EDS via ↵ | Charles Kerr | 2014-06-23 | 2 | -26/+81 |
| | | | | E_CAL_COMPONENT_ALARM_AUDIO | ||||
* | in the snap decision code, handle custom sounds and volume levels. | Charles Kerr | 2014-06-23 | 2 | -181/+288 |
| | |||||
* | add GSettings support for specifying a default alarm sound and default alarm ↵ | Charles Kerr | 2014-06-23 | 1 | -0/+26 |
| | | | | volume. | ||||
* | Prefer to use ubuntu-platform-hardware-api for wakeups when possible s.t. ↵ | Charles Kerr | 2014-06-11 | 9 | -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 tracers | Charles Kerr | 2014-06-10 | 1 | -3/+0 |
| | | |||||
| * | Don't build the hw-alarms pieces if ubuntu/hardware/alarm.h can't be found. ↵ | Charles Kerr | 2014-06-10 | 2 | -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 committed | Charles Kerr | 2014-06-10 | 1 | -10/+4 |
| | | |||||
| * | in SimpleAlarmQueue, the 'alarms we don't want to trigger' list needs to be ↵ | Charles Kerr | 2014-06-10 | 1 | -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 Kerr | 2014-06-10 | 1 | -1/+1 |
| | | | | | | | | idle callback. | ||||
| * | in wakeup-timer-uha, sync with platform-api changes and add a safeguard to ↵ | Charles Kerr | 2014-06-10 | 1 | -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 Kerr | 2014-06-10 | 1 | -2/+2 |
| | | | | | | | | from now. | ||||
| * | in engine-eds, add debug messages | Charles Kerr | 2014-06-10 | 1 | -2/+10 |
| | | |||||
| * | in alarm-queue-simple, call requeue() if time skew is detected. | Charles Kerr | 2014-06-10 | 1 | -3/+3 |
| | | |||||
| * | in wakeup-timer-mainloop, don't just cast to uint without checking sign. ↵ | Charles Kerr | 2014-06-10 | 1 | -1/+3 |
| | | | | | | | | (h/t ted) | ||||
| * | prefer to use ubuntu-platform-hardware-api for wakeups when possible s.t. ↵ | Charles Kerr | 2014-04-24 | 8 | -111/+549 |
| |\ | | | | | | | | | | user-defined alarms/appointments can wake up the phone from sleep to give a snap decision. | ||||
| | * | hw alarms | Charles Kerr | 2014-04-24 | 8 | -111/+549 |
| | | | |||||
| | * | rename 'clock-watcher' as 'alarm-queue' because the former name isn't very ↵ | Charles Kerr | 2014-04-24 | 3 | -11/+11 |
| |/ | | | | | | | informative. | ||||
* | | Use the Suru Arpeggio as the default alarm sound. Fixes: 1309063 | Charles Kerr | 2014-06-11 | 1 | -17/+1 |
|\ \ | |||||
| * | | don't ca_context_cache() the default alarm sound, since we don't use it on ↵ | Charles Kerr | 2014-05-28 | 1 | -16/+0 |
| | | | | | | | | | | | | desktop and caching fails on phone | ||||
| * | | use the Suru arpeggio as the default alarm sound. | Charles Kerr | 2014-05-28 | 1 | -1/+1 |
| |/ | |||||
* / | when src/timezone-file.c reads the contents of a file, skip lines that begin ↵ | Charles Kerr | 2014-05-05 | 1 | -13/+56 |
|/ | | | | with '#' because they're comments. Add test. | ||||
* | copyediting: fix indentation/formatting | Charles Kerr | 2014-04-15 | 1 | -58/+58 |
| |