Reply
Thread Tools
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#141
Originally Posted by ade View Post
Still not sure how to deal with this.[LIST][*]CepiPerez, who developed this clock replacement, seems only active on Meego and have lost interest in Maemo (like so many developers ). He did not accept my patches nor reacted to a PM.
Yeah., thats what I call "responsible developer". Sure, everyone is free to shift interest into another project, but leaving without single note, and having messages about former projects in a.s.s. was always my 'favorite' thing that dev can do. Worth to know, who is not trustworthy one, if we ever meet in any platform.

Originally Posted by ade View Post
.[*]Should there be an official maintainer? I don't think I am the right person for that.
Yes, You are! Said that, I'm not demanding anything, of course. Thanks for the work You're doing, in any way.

/Estel
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
 

The Following 2 Users Say Thank You to Estel For This Useful Post:
Posts: 1,397 | Thanked: 2,126 times | Joined on Nov 2009 @ Dublin, Ireland
#142
Originally Posted by ade View Post
Still not sure how to deal with this.
  • CepiPerez, who developed this clock replacement, seems only active on Meego and have lost interest in Maemo (like so many developers ). He did not accept my patches nor reacted to a PM. So we may need another source repository, so others can see the recent code and work on it themselves.
  • As I mentioned before, I am not in favor of two clocks. Replacing the default clock means a big impact, especially if incorporated in CSSU. There might also be the option to put it in extra-devel as a separated app first.
  • Every now and then, minor things are found, so maybe it needs a little more time.
  • Should there be an official maintainer? I don't think I am the right person for that.

Having said that, I think I'll leave the situation as it is for now. But other people are free to step in
I can honestly say that I think you are perfectly capable of becoming the new maintainer of World Clock replacement.

About how to deal with it, I don't see it as a standalone application, such as the Open Media Player, that could evolve outside the CSSU in the repos. The clock is part of the system, specially when managing alarms.

My suggestion is to push the sources to CSSU's gitorious under the testing branch, that doesn't mean it will become the default clock in next testing version of CSSU, but it will be more accessible to other CCSU developers that could build and test it in their own devices. I think right now it's pretty close to a stable state in which it could be installed by far more people.

Thanks, in any case, for your time spent on this project.
 

The Following 4 Users Say Thank You to ivgalvez For This Useful Post:
Posts: 1,100 | Thanked: 2,797 times | Joined on Apr 2011 @ Netherlands
#143
I will try to upload the sourcecode to the community-ssu gitorious so the modifications can be seen (don't know if it will be allowed).

Meanwhile if have also adapted the shortdayname in worldclock section so it now obeys the devices settings instead of the country settings. For download see the first post (or direct download here: http://dl.dropbox.com/u/42147901/worldclock.zip)
 

The Following 4 Users Say Thank You to ade For This Useful Post:
Posts: 85 | Thanked: 36 times | Joined on Jun 2010 @ Berlin/Germany
#144
Hi ade,
Is your version capable of automatically turning on the n900 for an alarm if it was turned off during night?
The prev version by cepi couldn't do that but the originial was enable to do that. I like that feature!
 

The Following User Says Thank You to bitrocky For This Useful Post:
Posts: 1,100 | Thanked: 2,797 times | Joined on Apr 2011 @ Netherlands
#145
I have never used that feature, but it sounds like an interesting option, especially if you are low on battery power.

If it was not available in CepiPerez's versions, it is still not available in the replacement clock.

No idea how that mechanism works, and don't know if it is documented somewhere. But it sounds like a complicated, low level something.
 
nicolai's Avatar
Posts: 1,637 | Thanked: 4,424 times | Joined on Apr 2009 @ Germany
#146
Not that difficult. Take a look at
http://wiki.maemo.org/Documentation/...larm_Framework
and
http://maemo.org/api_refs/5.0/5.0-fi...balarm_8h.html
especially alarmeventflags
http://maemo.org/api_refs/5.0/5.0-fi...0a1c372999f681
CepiPerez used a flag called ALARM_EVENT_BOOT
But it seems this does not work as expected, it does
not show the alarm ui.
The builtin worldclock application uses the flag
ALARM_EVENT_ACTDEAD
That way, the alarm event boots up the device to acting dead mode
and shows the alarm ui. After you hit the "stop" button it asks for
booting the device.

You can compare the "flags:" property in /var/cache/alarmd/alarm_queue.ini for entries from
your worldclock application with the one
created by the builtin clock application.
 

The Following 7 Users Say Thank You to nicolai For This Useful Post:
Posts: 1,100 | Thanked: 2,797 times | Joined on Apr 2011 @ Netherlands
#147
You almost made it a little too easy, even for me, Nicolai

Replacing the ALARM_EVENT_BOOT flag with ALARM_EVENT_ACTDEAD did the trick.

The device now gets booted just before the alarm time (if switched off). I updated the worldclock in http://dl.dropbox.com/u/42147901/worldclock.zip

But I still gonna read your useful links to get a better understanding of the alarm mechanism.

Maybe I might need a little more advice in the future or you could review the latest code adaptations (given the fact I am not a real QT/C++ developer). Judging on your specific advice, you have already looked into the code of the replacement clock.
 

The Following 3 Users Say Thank You to ade For This Useful Post:
Posts: 85 | Thanked: 36 times | Joined on Jun 2010 @ Berlin/Germany
#148
Hi,

Automatic turning on the n900 from off works now, thanks!
Tried it last night:-)

But activating alarms doesn't work!

Weather by pressing the checkmark in the list or when I select the alarm and then pressing then activate button. The alarm isn't shown as activated in the alarmlist!
But nextalarm shows the alarm as activated! So it seems that only the alarmslist doesn't respect the activated flag!?
 

The Following User Says Thank You to bitrocky For This Useful Post:
Posts: 424 | Thanked: 196 times | Joined on Mar 2010 @ Sweden
#149
Hello.

Just want to point out that I still got the problems with the new build reported in this post:
http://talk.maemo.org/showpost.php?p...&postcount=118

So from my point of view its far from ready to be a part of CSSU Testing.
 
Posts: 1,100 | Thanked: 2,797 times | Joined on Apr 2011 @ Netherlands
#150
I asked others to test it as well (because I could not reproduce it), but no one stepped in

My guess is, it must have something to do with time/date format settings somewhere on the device.

And I agee that is should be reproduced and fixed before a possible CSSU test incorporation.
 

The Following 3 Users Say Thank You to ade For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 18:53.