22 months agoAvoid atd to hang due to multiple alarm-script calls master
Marco Trevisan (Treviño) [Thu, 24 Jun 2010 13:50:33 +0000] 
Avoid atd to hang due to multiple alarm-script calls

22 months agoUpdated the dbus calls for FSO vibrator support
Marco Trevisan (Treviño) [Thu, 24 Jun 2010 13:21:08 +0000] 
Updated the dbus calls for FSO vibrator support

22 months agoUpdated the dbus calls against the new FSO values
Marco Trevisan (Treviño) [Thu, 24 Jun 2010 12:58:18 +0000] 
Updated the dbus calls against the new FSO values

22 months agoMove to the "new" callback method of python-elementary
Marco Trevisan (Treviño) [Thu, 24 Jun 2010 12:33:55 +0000] 
Move to the "new" callback method of python-elementary

3 years agoUse the RTC FSO interface for getting the unix time
Treviño - 3v1n0 [Tue, 12 May 2009 03:44:27 +0000] 
Use the RTC FSO interface for getting the unix time
Maybe it's slower, but it uses the real rtc date

3 years agoUse the rtc sys-node to get the date since the Epoch
Treviño - 3v1n0 [Tue, 12 May 2009 02:59:47 +0000] 
Use the rtc sys-node to get the date since the Epoch

3 years agoUse the backlight interface instead of the brightness one
Treviño - 3v1n0 [Tue, 12 May 2009 02:57:49 +0000] 
Use the backlight interface instead of the brightness one
However all this is still commented out (can be used also dbus) sice
it doesn't allow to get a great resource saving (I guess) and it looks very bad

3 years agoUpdate atd trigger only if an atd shr-notifier script is removed
Treviño - 3v1n0 [Tue, 12 May 2009 02:09:54 +0000] 
Update atd trigger only if an atd shr-notifier script is removed

3 years agoModify the ATD_NOTIFY_SCRIPT to use the notifier "constants"
Treviño - 3v1n0 [Tue, 12 May 2009 02:08:47 +0000] 
Modify the ATD_NOTIFY_SCRIPT to use the notifier "constants"

3 years agoatd_notify cleanup
Treviño - 3v1n0 [Tue, 12 May 2009 02:07:11 +0000] 
atd_notify cleanup
Rename atd_notify() to atd_notify_init() and add atd_trigger_update(); it allows
to clean the code and update the atd trigger also when removing any shr-notifier
atd timer

3 years agoDisable the SIGTERM handler (it doesn't seem to work)
Treviño - 3v1n0 [Tue, 12 May 2009 01:11:41 +0000] 
Disable the SIGTERM handler (it doesn't seem to work)
I figure this is due to ecore/e_dbus or other loops there

3 years agoSet the title to "SHR Notifier"
Treviño - 3v1n0 [Tue, 12 May 2009 01:07:27 +0000] 
Set the title to "SHR Notifier"

3 years agoAvoid multiple instances of the notifier
Treviño - 3v1n0 [Tue, 12 May 2009 01:06:24 +0000] 
Avoid multiple instances of the notifier
All done using a lock file

3 years agoHandle SIGTERM to remove any atd_alarm...
Treviño - 3v1n0 [Tue, 12 May 2009 00:58:09 +0000] 
Handle SIGTERM to remove any atd_alarm...

3 years agoAdd support for ADT-based (in-suspend) notifications ATD-support
Treviño - 3v1n0 [Tue, 12 May 2009 00:39:28 +0000] 
Add support for ADT-based (in-suspend) notifications
This is a workaround to enable the notifications also while the phone
is suspended. It works in a such way (and it needs the atd daemon):
 - When the notifier shows a notification, then it create also a new
   atd-alarm script making the rtc-clock to wake-up the phone (if needed)
   after 'MINUTES_FOR_WAKEUP' minutes.
 - When the the 'MINUTES_FOR_WAKEUP' are passed, the rtc clock sends an interrupt
   to the CPU that eventually makes the phone resume; now:
   - if the phone has just been resumed by the clock, it notifies the user (using
     the proper method), sets another alarm in the next 'MINUTES_FOR_WAKEUP' and
     finally it goes back  into deep-sleep (all this takes just few seconds).
   - else, if the phone has been recently waked-up by another interrupt, it
     simply sets a new alarm to be performed after 'MINUTES_FOR_WAKEUP' minutes.
 - When the user show the notified event(s), all the shr-notifier atd-alarm(s)
   are moved away.

This works, however there are some bugs that can't be easily prevented at the
current state (if the phone is waked-up by another alarm and then it doesn't go
to suspension, the atd-notifier will continue its loop while also the ecore-timer
based "notify" will continue); I figure that they could be "workarounded" a bit
if the kernel would export also the resume time in a sysfile (so I could check
what timer really resumed the phone).

3 years agoAdd notify_timer_{start,stop} functions.
Treviño - 3v1n0 [Tue, 12 May 2009 00:36:40 +0000] 
Add notify_timer_{start,stop} functions.
They allow both to clean the code and to fix the timers duplications
in case of multiple notifications

3 years agoAdd elmphonelog as commented missed_call program
Treviño - 3v1n0 [Tue, 12 May 2009 00:30:03 +0000] 
Add elmphonelog as commented missed_call program
This is just for example

3 years agoAdding myself in copyright form...
Treviño - 3v1n0 [Tue, 12 May 2009 00:25:43 +0000] 
Adding myself in copyright form...
:P

3 years agoAdded sound/vibrating notification support
Treviño - 3v1n0 [Tue, 12 May 2009 00:22:40 +0000] 
Added sound/vibrating notification support

3 years agoFix dbus connection init adding a retry loop. 0.2
Pietro Montorfano [Tue, 12 May 2009 00:20:48 +0000] 
Fix dbus connection init adding a retry loop.
Imported version 0.2

3 years agoFirst SHR Notifier version by Pietro Montorfano 0.1
Pietro Montorfano [Tue, 12 May 2009 00:17:13 +0000] 
First SHR Notifier version by Pietro Montorfano
Importing...