Re: Launcher Release 0.39

2009-10-27 Thread c_c

Hi,

vendion wrote:
 
 Yea the version that I have is libelementary-ver-svn-04.so.0 so I had to 
 create the soft links to get it to work
 
   How did you get to svn-04? i've been updating regularly and I don't get
any updates! Selective updating - that's a new one ;-)
   From what I know, the mrmoku testing images are using these libs - I
haven't gotten around to using them with all the travelling I'm doing
currently (hence the delays in replying too).
 
   So I really cant help you there - In fact there might be more regressions
if opim has changed too.


Petr Vanek wrote:
 
 no problem, here it is, including a few highlighted comments:
 
 http://pastebin.com/m31f4202e
 
These seem to be e-dbus errors - and with them, probably, nothing will
work. Can you confirm they're been resolved or not?

Mario Huelsegge wrote:
 
 Hi, i just tried out the launcher, and the contacts application seems
 to have problems with opimd tel. number fields different from phone.
 Programs like opimd-contacts and pisi sync use names like Home phone and
 Cell phone.
 
  Can you give me more specific examples of the field types? The standard
field was supposed to be tel:number. Just point me how it is in other apps
and I'll modify launcher to support those.

@KaZeR - Those should be one off errors and wont cause any harm. I've been
making changes to the db and now there are so many different versions - it's
getting a little difficult to test :-) But no data is lost.
   
-- 
View this message in context: 
http://n2.nabble.com/Launcher-Release-0-39-tp3859743p3898629.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Launcher Release 0.39

2009-10-27 Thread c_c

Hi,
  Well, I've been thinking about making a few more changes like :-

1. a second screen to the right that shows up on a finger slide with the
category toolbar and program icons
2. a home screen with :-
   (a) some widgets (weather, facebook etc)
   (b) lists for tasks/calendars/events etc
   (c) a grid based (drag and drop) layout for some regularly used apps

  In order to do this, I need pointers / ideas / help about :-

1. how to implement a C framework that can be used by other dev's / users to
create widgets using e17
2. help in creating the theme / edge files
3. maybe some pointers to code I can re-use

  All ideas, code and pointers (and anything else however whacky) are
welcome. I do need some coding help too - launcher is getting rather large
for me to maintain - and has a lot of poor design decisions that need rework
too.


-- 
View this message in context: 
http://n2.nabble.com/Launcher-Release-0-39-tp3859743p3898668.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Launcher Release 0.39

2009-10-27 Thread Bernd Prünster
c_c wrote:
 Hi,
   Well, I've been thinking about making a few more changes like :-

 1. a second screen to the right that shows up on a finger slide with the
 category toolbar and program icons
 2. a home screen with :-
(a) some widgets (weather, facebook etc)
(b) lists for tasks/calendars/events etc
(c) a grid based (drag and drop) layout for some regularly used apps

   In order to do this, I need pointers / ideas / help about :-

 1. how to implement a C framework that can be used by other dev's / users to
 create widgets using e17
 2. help in creating the theme / edge files
   
Just tell me how you want it to look like and i'll do it.
 3. maybe some pointers to code I can re-use

   All ideas, code and pointers (and anything else however whacky) are
 welcome. I do need some coding help too - launcher is getting rather large
 for me to maintain - and has a lot of poor design decisions that need rework
 too.


   


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Launcher Release 0.39

2009-10-27 Thread Adam Jimerson
On Tue, Oct 27, 2009 at 8:27 AM, c_c cchan...@yahoo.com wrote:


 Hi,

 vendion wrote:
 
  Yea the version that I have is libelementary-ver-svn-04.so.0 so I had to
  create the soft links to get it to work
 
How did you get to svn-04? i've been updating regularly and I don't get
 any updates! Selective updating - that's a new one ;-)
   From what I know, the mrmoku testing images are using these libs - I
 haven't gotten around to using them with all the travelling I'm doing
 currently (hence the delays in replying too).

   So I really cant help you there - In fact there might be more regressions
 if opim has changed too.


I was using the image that was posted up on the Unstable repo for this
month, but I guess it was synced by mistake or taken down because it is no
longer there, so I flashed the Sep 6 image and did a upgrade from that and
now I am back to using svn-02.  One problem that has been reported back to
me, more like people complained about, is sometimes when I text someone all
they get is a text with their number instead of the message that I sent
them.  I don't know if this is launcher or opimd doing this.
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Launcher Release 0.39

2009-10-22 Thread Mario Huelsegge


c_c wrote:
 
 Hi,
   After a long break - here's the new release of Launcher.
 
 

Hi, i just tried out the launcher, and the contacts application seems to
have problems with opimd tel. number fields different from phone. Programs
like opimd-contacts and pisi sync use names like Home phone and Cell
phone. These numbers are not recognised by launcher.

besides that, great program :)

Mario
-- 
View this message in context: 
http://n2.nabble.com/Launcher-Release-0-39-tp3859743p3873595.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Launcher Release 0.39

2009-10-21 Thread Petr Vanek
 i tried to use the clear log function, but a crash occures every
 time, and no calls are deleted i guess:
 
  Could you post a version of the errors which are a little more
 readable?
:)

no problem, here it is, including a few highlighted comments:

http://pastebin.com/m31f4202e

  This works for me. I can't test it much - need to have something to
 delete

i can supply my sqlite-calls.db, where shell i send it to?

after the test. But that is no reason it should work for everyone else.
 Could someone else confirm the error? Are you using sqlite-message
 backend
(just checking)?

r...@om-gta02 ~ $ grep call /etc/frameworkd.conf 
calls_default_backend = SQLite-Calls

more details:

r...@om-gta02 ~ $ uname -a
Linux om-gta02 2.6.29-rc3 #1 PREEMPT Sat Oct 3 08:08:24 CEST 2009
armv4tl unknown

r...@om-gta02 ~ $ cat /etc/shr-version 
Tag Name: mv-packages-to-recipes-pre
VERSION: d79130b4d5c0ed800e7deaa468cfea300c2b65c6
Branch: shr/import
Build Host: opmbuild
Time Stamp: Sat, 08 Aug 2009 18:35:43 +0200

frameworkd -
0.9.5.9+gitr1719+043cef6d2122bb62dcbae3211ed94c21d9c7d901-r1

frameworkd-config -
0.9.5.9+gitr1719+043cef6d2122bb62dcbae3211ed94c21d9c7d901-r1

frameworkd-config-shr -
0.9.5.9+gitr1719+043cef6d2122bb62dcbae3211ed94c21d9c7d901-201+eae74f5ef860e773b0f56c1082c7ed921631d5b6-r7

thank you

Petr




___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Launcher Release 0.39

2009-10-21 Thread Adam Jimerson
On Wednesday 21 October 2009 01:30:45 am Petr Vanek wrote:
  vendion wrote:
   It doesn't seem to want to work with 20091012 release of SHR
   Unstable
 
That's odd, I thought shr-u had libelementary-ver-svn-02.so.0. Can
  you check what version you have? You can create links to the version
  you have - but it is tedious. Have you thought about upgrading ;)
 
 Yea the version that I have is libelementary-ver-svn-04.so.0 so I had
 to create the soft links to get it to work
 
 this is the same for me. does clearing of call logs work for you?
 

No when I try it crashes Lancher, then when I start it back up I have missed 
calls from December of 1969?

Here is the output of launcher http://pastebin.com/m79c5d467

r...@om-gta02 ~ $ grep call /etc/frameworkd.conf
calls_default_backend = SQLite-Calls

r...@om-gta02 ~ $ uname -a
Linux om-gta02 2.6.29-rc3 #1 PREEMPT Sat Oct 3 08:08:24 CEST 2009 armv4tl 
unknown unknown GNU/Linux

r...@om-gta02 ~ $ cat /etc/shr-version
Tag Name: mv-packages-to-recipes-pre
VERSION: 24c26c3120e439aa3b358947abaf7c9f6a5cd16a
Branch: shr/import
Build Host: opmbuild
Time Stamp: Mon, 12 Oct 2009 20:14:17 +0200

frameworkd - 
0.9.5.9+gitr1717+b27c2f9899e8d970e57397e3065eeca2f72e0088-r1 -
frameworkd-config-shr - 
0.9.5.9+gitr1717+b27c2f9899e8d970e57397e3065eeca2f72e0088-201+eae74f5ef860e773b0f56c1082c7ed921631d5b6-
r7 -
libframeworkd-glib0 - 
0.0.1+gitr110+e9838c5d97c589ed20b3f2c5e15d63001fd2b390-r1 -
libframeworkd-phonegui-efl0 - 
0.0.3+gitr829+3b3788f2de6293b974891265e628201ec6b67aad-r35 -
libframeworkd-phonegui0 - 
0.0.2+gitr829+3b3788f2de6293b974891265e628201ec6b67aad-r10 -
-- 
We must plan for freedom, and not only for security, if for no other reason 
than only freedom can make security more secure.  Karl Popper


signature.asc
Description: This is a digitally signed message part.
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Launcher Release 0.39

2009-10-21 Thread Petr Vanek
On Wednesday 21 October 2009 01:30:45 am Petr Vanek wrote:
  vendion wrote:
   It doesn't seem to want to work with 20091012 release of SHR
   Unstable
 
That's odd, I thought shr-u had libelementary-ver-svn-02.so.0.
  Can you check what version you have? You can create links to the
  version you have - but it is tedious. Have you thought about
  upgrading ;)
 
 Yea the version that I have is libelementary-ver-svn-04.so.0 so I
 had to create the soft links to get it to work
 
 this is the same for me. does clearing of call logs work for you?
 

No when I try it crashes Lancher, then when I start it back up I have
missed calls from December of 1969?

actually me too, just different date: 01 Jan 70 01:17

Petr


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Launcher Release 0.39

2009-10-21 Thread Adam Jimerson
On Wednesday 21 October 2009 03:32:25 pm Petr Vanek wrote:
 On Wednesday 21 October 2009 01:30:45 am Petr Vanek wrote:
   vendion wrote:
It doesn't seem to want to work with 20091012 release of SHR
Unstable
  
 That's odd, I thought shr-u had libelementary-ver-svn-02.so.0.
   Can you check what version you have? You can create links to the
   version you have - but it is tedious. Have you thought about
   upgrading ;)
  
  Yea the version that I have is libelementary-ver-svn-04.so.0 so I
  had to create the soft links to get it to work
 
  this is the same for me. does clearing of call logs work for you?
 
 No when I try it crashes Lancher, then when I start it back up I have
 missed calls from December of 1969?
 
 actually me too, just different date: 01 Jan 70 01:17
 

When will people learn reusing code from the 60's and 70's is a bad idea XD
-- 
We must plan for freedom, and not only for security, if for no other reason 
than only freedom can make security more secure.  Karl Popper


signature.asc
Description: This is a digitally signed message part.
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Launcher Release 0.39

2009-10-20 Thread Petr Vanek
  After a long break - here's the new release of Launcher.

wow, sounds all great!

i tried to use the clear log function, but a crash occures every time,
and no calls are deleted i guess:

Using **pending_return in dbus_connection_send_with_reply_setup()
without pending_setup is deprecated and strongly discouraged CRI:
e_dbus.c:267 cb_timeout_add() eina_log_print() unknown domain -1,
original message format 'timeout add!' CRI: e_dbus.c:255
e_dbus_timeout_data_free() eina_log_print() unknown domain -1, original
message format 'e_dbus_timeout_data_free' CRI: e_dbus.c:59
e_dbus_fd_handler() eina_log_print() unknown domain -1, original
message format 'fd handler (%ld)!' CRI: e_dbus.c:285 cb_timeout_del()
eina_log_print() unknown domain -1, original message format 'timeout
del!' CRI: e_dbus.c:198 cb_main_wakeup() eina_log_print() unknown
domain -1, original message format 'wakeup main!' CRI: e_dbus.c:203
cb_main_wakeup() eina_log_print() unknown domain -1, original message
format 'already idling' CRI: e_dbus.c:428 e_dbus_idler()
eina_log_print() unknown domain -1, original message format 'dispatch!'
CRI: e_dbus.c:428 e_dbus_idler() eina_log_print() unknown domain -1,
original message format 'dispatch!' CRI: e_dbus.c:211
cb_dispatch_status() eina_log_print() unknown domain -1, original
message format 'dispatch status: %d!' Using **pending_return in
dbus_connection_send_with_reply_setup() without pending_setup is
deprecated and strongly discouraged CRI: e_dbus.c:267 cb_timeout_add()
eina_log_print() unknown domain -1, original message format 'timeout
add!' *** glibc detected *** launcher: munmap_chunk(): invalid pointer:
0x0002413c *** Aborted

Petr


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Launcher Release 0.39

2009-10-20 Thread Ed Kapitein
c_c wrote:
 SNIP

   Help needed 

 1. sample code for a service using c + dbus / e-dbus
 2. How do I set an alarm that can wake up the phone from suspend?
   
Hi c_c,

I wrote a script a while ago that does just that:
Wake my freerunner in the morning from suspend and play some music to
wake me up.
To wake the device at 21:00 on october 20 you could use something like this:

X=1
DATE[X]=2009-10-20
TIME[X]=21:00
PLAN_DATE_SEC=`date --date=${DATE[$X]} ${TIME[$X]} + +%s`
PLAN_DATE_SEC=$(( ${PLAN_DATE_SEC} - 10 )) # wake the device 10 sec
before the event

dbus-send --system --dest=org.freesmartphone.odeviced --print-reply
/org/freesmartphone/Device/RealTimeClock/rtc0
org.freesmartphone.Device.RealTimeClock.SetWakeupTime
int32:${PLAN_DATE_SEC}

Feel free to leave out the array [X] part, i use it, because i have
multiple wakup times.

kind regards,
Ed


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Launcher Release 0.39

2009-10-20 Thread Vikas Saurabh
 2. How do I set an alarm that can wake up the phone from suspend?

well, this might not be totally helpful, but ffalarms does that using
atd 
(http://projects.openmoko.org/plugins/scmsvn/viewcvs.php/tags/0.2.2/ffalarms/ffalarms.py?rev=25root=ffalarmssortby=revview=log
 function-set_alarm). I can't really say that I totally know how
it works, but I'm sure you can work it out :)...
there is FSO function setWakeupTime...but I don't think there can be
multiple wakeup timesmoreover, atd would allow you to specify what
to execute when the phone wakes up

HTH
--Vikas

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Launcher Release 0.39

2009-10-20 Thread Adam Jimerson
On Tuesday 20 October 2009 12:40:57 pm c_c wrote:
 Hi,
   After a long break - here's the new release of Launcher.
 

First off all thanks for another release to a great program!

It doesn't seem to want to work with 20091012 release of SHR Unstable

r...@om-gta02 ~ $ launcher
launcher: error while loading shared libraries: libelementary-ver-svn-02.so.0: 
cannot open shared object file: No such file or directory

I'll try going through and linking all the elementary files later and see if 
that resolves the issue.
-- 
We must plan for freedom, and not only for security, if for no other reason 
than only freedom can make security more secure.  Karl Popper


signature.asc
Description: This is a digitally signed message part.
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Launcher Release 0.39

2009-10-20 Thread Treviño
c_c wrote:
   Help needed 
 
 1. sample code for a service using c + dbus / e-dbus

Look in the e_dbus sources the files src/bin/e_dbus_test*.c
The code should help, but I should have somewhere also some examples
I've written for FSO.

 2. How do I set an alarm that can wake up the phone from suspend?

Give a look to this [1]. It's in python but it uses a workaround for
using a notification system which uses a vibration/sound (as configured
in the framework) every X minutes to notify the user of an unseen missed
call/message.
It works also when the phone is suspended using ADT, you can read more
about it at [2], or look in this and SHR mailing list for further
threads.


[1]
http://dev.3v1n0.net/gitweb/?p=shr-notifier.git;a=blob;f=notifier;hb=HEAD
[2] http://dev.3v1n0.net/gitweb/?p=shr-notifier.git;a=commit;h=76ef4c6



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Launcher Release 0.39

2009-10-20 Thread c_c

Hi,

Petr Vanek wrote:
 
 i tried to use the clear log function, but a crash occures every time,
 and no calls are deleted i guess:
 
  Could you post a version of the errors which are a little more readable?
:)
  This works for me. I can't test it much - need to have something to delete
after the test. But that is no reason it should work for everyone else.
 Could someone else confirm the error? Are you using sqlite-message backend
(just checking)?

Ed Kapitein wrote:
 
 I wrote a script a while ago that does just that: 
 
  From what I remember, the rtc alarm can be used to set just the next
alarm. It would become tedious to do so for say 200 contacts with say 1
b'day and 1 anniversary = 400 alarms. I was looking for a better set things
once and forget kind of a method.
  Thanks for the tip though - I might have to use something like the array
if nothing better turns up.

Vikas Saurabh wrote:
 
 well, this might not be totally helpful, but ffalarms does that using
 atd
 
  I tried looking at the code in ffalarms - but couldn't put in enough time.
An example would help.

vendion wrote:
 
 It doesn't seem to want to work with 20091012 release of SHR Unstable 
 
  That's odd, I thought shr-u had libelementary-ver-svn-02.so.0. Can you
check what version you have? You can create links to the version you have -
but it is tedious. Have you thought about upgrading ;)

Marco Trevisan (Treviño) wrote:
 
 but I should have somewhere also some examples
 I've written for FSO. 
 
  That should really help!

Marco Trevisan (Treviño) wrote:
 
 I did go through your code (after implementing the wake alarm as suggested
 by you :) I was hoping something like this might be in FSO or OPIM - so I
 can just set up alarms in an at file and forget about the rest of the
 processing. Seems like I'll have to do more work after all ;)
 
  Thanks for all the info.
  BTW clicking at the top of the screen in launcher (in the place where the
missed call or the new sms indication appears) opens the phonelog on missed
call category and the sms app. Also, clicking on the far right end of the
top part in launcher shows a test window for a notification. The code to
show a notification with a message button and the app to run on clicking the
message button exists. For now the message button starts intone.
  Just waiting to get the notification service going. This should really
help a lot of scripting in my opinion.
-- 
View this message in context: 
http://n2.nabble.com/Launcher-Release-0-39-tp3859743p3862771.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Launcher Release 0.39

2009-10-20 Thread Adam Jimerson
On Tuesday 20 October 2009 11:10:59 pm c_c wrote:
 
 vendion wrote:
  It doesn't seem to want to work with 20091012 release of SHR Unstable
 
   That's odd, I thought shr-u had libelementary-ver-svn-02.so.0. Can you
 check what version you have? You can create links to the version you have -
 but it is tedious. Have you thought about upgrading ;)

Yea the version that I have is libelementary-ver-svn-04.so.0 so I had to 
create the soft links to get it to work

r...@om-gta02 ~ $ opkg update  opkg upgrade
Downloading http://build.shr-project.org/shr-unstable/ipk//all/Packages.gz
Inflating http://build.shr-project.org/shr-unstable/ipk//all/Packages.gz
Updated list of available packages in /var/lib/opkg/shr-all
Downloading http://build.shr-project.org/shr-unstable/ipk//armv4/Packages.gz
Inflating http://build.shr-project.org/shr-unstable/ipk//armv4/Packages.gz
Updated list of available packages in /var/lib/opkg/shr-armv4
Downloading http://build.shr-project.org/shr-unstable/ipk//armv4t/Packages.gz
Inflating http://build.shr-project.org/shr-unstable/ipk//armv4t/Packages.gz
Updated list of available packages in /var/lib/opkg/shr-armv4t
Downloading http://minucci.net/file/opkg/Packages.gz
Inflating http://minucci.net/file/opkg/Packages.gz
Updated list of available packages in /var/lib/opkg/daily-gecco
Downloading http://build.shr-project.org/shr-unstable/ipk//om-
gta02/Packages.gz
Inflating http://build.shr-project.org/shr-unstable/ipk//om-gta02/Packages.gz
Updated list of available packages in /var/lib/opkg/shr-om-gta02
Multiple packages (intone-video and intone-video) providing same name marked 
HOLD or PREFER.  Using latest.
Multiple packages (intone-video and intone-video) providing same name marked 
HOLD or PREFER.  Using latest.
Multiple packages (intone-video and intone-video) providing same name marked 
HOLD or PREFER.  Using latest.
Multiple packages (intone-video and intone-video) providing same name marked 
HOLD or PREFER.  Using latest.
r...@om-gta02 ~ $

Yea there is nothing for me to upgrade to yet, considering the version I have 
installed was released on the 12th of this month I think its pretty good XD
-- 
We must plan for freedom, and not only for security, if for no other reason 
than only freedom can make security more secure.  Karl Popper


signature.asc
Description: This is a digitally signed message part.
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Launcher Release 0.39

2009-10-20 Thread Petr Vanek
 vendion wrote:
  It doesn't seem to want to work with 20091012 release of SHR
  Unstable
 
   That's odd, I thought shr-u had libelementary-ver-svn-02.so.0. Can
 you check what version you have? You can create links to the version
 you have - but it is tedious. Have you thought about upgrading ;)

Yea the version that I have is libelementary-ver-svn-04.so.0 so I had
to create the soft links to get it to work

this is the same for me. does clearing of call logs work for you?

Petr


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Launcher Release 0.39

2009-10-20 Thread Petr Vanek
  It doesn't seem to want to work with 20091012 release of SHR
  Unstable
 
   That's odd, I thought shr-u had libelementary-ver-svn-02.so.0. Can
 you check what version you have? You can create links to the version
 you have - but it is tedious. Have you thought about upgrading ;)

Yea the version that I have is libelementary-ver-svn-04.so.0 so I had
to create the soft links to get it to work

what would it take to include launcher in shr build system?
what needs to be provided?

Petr


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community