aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* 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
|\ \
| * | 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
| |/
* / when src/timezone-file.c reads the contents of a file, skip lines that begin ↵Charles Kerr2014-05-051-13/+56
|/ | | | with '#' because they're comments. Add test.
* copyediting: fix indentation/formattingCharles Kerr2014-04-151-58/+58
|
* sync with lp:~renatofilho/qtorganizer5-eds/fix-1284375's method of storing ↵Charles Kerr2014-04-151-48/+34
| | | | alarm urls. Happily this supercedes our code that used to call e_cal_client_get_attachment_uris(), so this means fewer round trip calls to EDS
* remove unused field Appointment.is_dailyCharles Kerr2014-04-151-14/+0
|
* remove unused field Appointment.is_eventCharles Kerr2014-04-152-2/+0
|
* remove some extraneous EDS events on startupCharles Kerr2014-04-111-0/+1
|
* if we have a flood of EDS events coming in, wait a longer interval before ↵Charles Kerr2014-04-111-3/+18
| | | | requerying the EDS engine
* split_settings_location: Initialise the 'first' pointer.Iain Lane2014-04-081-1/+1
| | | | | Otherwise it points to random memory which leads to undefined behaviour.
* Improved translator comments for better time/date localization. Fixes: 1001595Charles Kerr2014-03-284-27/+125
|\
| * add comments & examples for translators to help them to fix bug #1001595 for ↵Charles Kerr2014-03-274-27/+125
| | | | | | | | their locale.
* | work around gio wakeup bugCharles Kerr2014-03-251-0/+8
|/