Send commitlog mailing list submissions to
        commitlog@lists.openmoko.org

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.openmoko.org/mailman/listinfo/commitlog
or, via email, send a message with subject or body 'help' to
        [EMAIL PROTECTED]

You can reach the person managing the list at
        [EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of commitlog digest..."
Today's Topics:

   1. Openmoko's OpenEmbedded repository. This is used to build the
      Openmoko distribution: Changes to 'org.openmoko.asu.dev'
      ([EMAIL PROTECTED])
   2. Openmoko's OpenEmbedded repository. This is used to build the
      Openmoko distribution: Changes to 'org.openmoko.asu.dev'
      ([EMAIL PROTECTED])
   3. Openmoko's OpenEmbedded repository. This is used to build the
      Openmoko distribution: Changes to 'org.openmoko.asu.dev'
      ([EMAIL PROTECTED])
   4. Openmoko's OpenEmbedded repository. This is used to build the
      Openmoko distribution: Changes to 'org.openmoko.asu.stable'
      ([EMAIL PROTECTED])
   5. Openmoko's OpenEmbedded repository. This is used to build the
      Openmoko distribution: Changes to 'org.openmoko.asu.dev'
      ([EMAIL PROTECTED])
   6. Openmoko's OpenEmbedded repository. This is used to build the
      Openmoko distribution: Changes to 'org.openmoko.asu.dev'
      ([EMAIL PROTECTED])
   7. r4555 - developers/john_lee/pyfso ([EMAIL PROTECTED])
--- Begin Message ---
 conf/distro/include/sane-srcrevs.inc |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 245bbdd15d9e3fc78d6a0c4fc080fc13a6143b6c
Author: Carsten Haitzler <[EMAIL PROTECTED]>
Date:   Fri Jul 25 03:43:02 2008 +1000

    busycover instead of busywin.




--- End Message ---
--- Begin Message ---
 conf/distro/include/sane-srcrevs.inc |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 8878972c2e53ce463e36a1a927b7b81a86dca5ad
Author: Carsten Haitzler <[EMAIL PROTECTED]>
Date:   Fri Jul 25 03:53:47 2008 +1000

    fix flaunch...




--- End Message ---
--- Begin Message ---
 conf/distro/include/sane-srcrevs.inc |    4 ++--
 packages/tasks/task-openmoko-feed.bb |    5 ++++-
 2 files changed, 6 insertions(+), 3 deletions(-)

New commits:
commit eaedc2a6f68b159ea11804496af4105d9525b1a4
Author: Holger Hans Peter Freyther <[EMAIL PROTECTED]>
Date:   Thu Jul 24 23:01:05 2008 +0200

    [task-openmoko-feed] Add the important xprop, xev and xwinfo utilities

commit cc6072bc8e43df0360080d504cadf78fdec84fa8
Author: Holger Hans Peter Freyther <[EMAIL PROTECTED]>
Date:   Thu Jul 24 22:59:30 2008 +0200

    [srcrev] assassin update, mem leak fixes
        New Stuff:
            . turning some GUI issues.
            . remove some buggy scheme to avoid memory leak

commit 78536a8dac0ef3d8c77e91e1c96c4c4a9432b7b8
Author: Holger Hans Peter Freyther <[EMAIL PROTECTED]>
Date:   Thu Jul 24 22:57:11 2008 +0200

    [srcrev] Upgrade Qtopia. Get tick's and jeremy's fixes (ringtone latency, 
keyboard fixes)




--- End Message ---
--- Begin Message ---
 conf/distro/include/sane-srcdates.inc |    2 +-
 conf/distro/include/sane-srcrevs.inc  |    8 ++++----
 packages/alsa/alsa-state.bb           |   26 +++++++++++++++-----------
 packages/alsa/alsa-state/asound.conf  |   12 ++++++++++++
 packages/alsa/alsa-state/asoundrc     |   12 ------------
 packages/e17/e-wm/applications.menu   |   21 +++++++++++++++++++++
 packages/tasks/task-openmoko-feed.bb  |    5 ++++-
 7 files changed, 57 insertions(+), 29 deletions(-)

New commits:
commit b5935875bd021ecd0771a9b4f0be46d4bf74630d
Author: Dr. Michael Lauer <[EMAIL PROTECTED]>
Date:   Wed Jun 11 15:43:57 2008 +0000

    alsa-state: install correct file

commit d70ccfeb4d7ff2bf58420d38c71d9560c59857bf
Author: Dr. Michael Lauer <[EMAIL PROTECTED]>
Date:   Wed Jun 11 15:31:56 2008 +0000

    alsa-state: fix standard alsa dmix configuration, it now works 
out-of-the-box

commit b20af3ad895072defe503410fbcaafa0a4e373b2
Author: Carsten Haitzler <[EMAIL PROTECTED]>
Date:   Fri Jul 25 03:53:47 2008 +1000

    fix flaunch...

commit 69a85106ae8741b9a7bca7117d6fa05ef6bf1937
Author: Carsten Haitzler <[EMAIL PROTECTED]>
Date:   Fri Jul 25 03:43:02 2008 +1000

    busycover instead of busywin.

commit da309d65d1f611b05b72f2aba2e896a43a9618c7
Author: Carsten Haitzler <[EMAIL PROTECTED]>
Date:   Thu Jul 24 21:14:16 2008 +1000

    add "others" menu submenu

commit 52ace1aea36d31712df5b1b25f93d842fd8cfb80
Author: Carsten Haitzler <[EMAIL PROTECTED]>
Date:   Thu Jul 24 08:11:48 2008 +1000

    update efl and illume

commit c80d4729369c67bd46fdf497cecbae4180e45da2
Author: Carsten Haitzler <[EMAIL PROTECTED]>
Date:   Thu Jul 24 07:20:52 2008 +1000

    upate illume rev

commit 572cf423bc7d018e4bb9bf29bb859e4969d5b09a
Author: Carsten Haitzler <[EMAIL PROTECTED]>
Date:   Thu Jul 24 02:45:26 2008 +1000

    update illume to latest working with qtopia keyboard...

commit b9a5be68a68649c50e5eda0d3375ae1ddfaf7626
Author: Carsten Haitzler <[EMAIL PROTECTED]>
Date:   Wed Jul 23 22:25:43 2008 +1000

    up illume version to one without internal kbd

commit 6368df6acf2830a991659a5709532841e3537ab3
Author: Carsten Haitzler <[EMAIL PROTECTED]>
Date:   Wed Jul 23 05:02:38 2008 +1000

    update EFL and illume (to match) where illume has all changes but no 
internal
    keyboard

commit bdf4696f2d2ff574321b051a324d8fc47c5f0093
Author: Holger Hans Peter Freyther <[EMAIL PROTECTED]>
Date:   Thu Jul 24 22:57:11 2008 +0200

    [srcrev] Upgrade Qtopia. Get tick's and jeremy's fixes (ringtone latency, 
keyboard fixes)

commit 8c9b4f8e64902a1dc5404c9a1cde826e2900723c
Author: Holger Hans Peter Freyther <[EMAIL PROTECTED]>
Date:   Thu Jul 24 22:59:30 2008 +0200

    [srcrev] assassin update, mem leak fixes
        New Stuff:
            . turning some GUI issues.
            . remove some buggy scheme to avoid memory leak

commit 16d00fb959540b49be09bb40199f2f0490f01a94
Author: Holger Hans Peter Freyther <[EMAIL PROTECTED]>
Date:   Thu Jul 24 23:01:05 2008 +0200

    [task-openmoko-feed] Add the important xprop, xev and xwinfo utilities




--- End Message ---
--- Begin Message ---
 conf/distro/include/sane-srcdates.inc |    2 +-
 conf/distro/include/sane-srcrevs.inc  |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 02b3d9ddccf743d331ae9e285d70669bad815277
Merge: 8ac571bf63d4d286a89f5dbde48187b987197e22 
eaedc2a6f68b159ea11804496af4105d9525b1a4
Author: Carsten Haitzler <[EMAIL PROTECTED]>
Date:   Fri Jul 25 12:29:59 2008 +1000

    Merge branch 'org.openmoko.asu.dev' of git+ssh://[EMAIL 
PROTECTED]/var/cache/git/openmoko into org.openmoko.asu.dev

commit 8ac571bf63d4d286a89f5dbde48187b987197e22
Author: Carsten Haitzler <[EMAIL PROTECTED]>
Date:   Fri Jul 25 12:28:10 2008 +1000

    and update to latest efl and illume that uses vkbd wrappers in ecore_x.




--- End Message ---
--- Begin Message ---
 conf/distro/include/sane-srcrevs.inc |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 11bfec48bde6ce8d6890416d34ef1680cd2c6694
Author: Carsten Haitzler <[EMAIL PROTECTED]>
Date:   Fri Jul 25 12:38:29 2008 +1000

    up to 169... to match typo fix in ecore




--- End Message ---
--- Begin Message ---
Author: john_lee
Date: 2008-07-25 10:23:02 +0200 (Fri, 25 Jul 2008)
New Revision: 4555

Modified:
   developers/john_lee/pyfso/dialer.py
Log:
Register() is async.  wait for the signal from network interface to
change the registration status.

Modified: developers/john_lee/pyfso/dialer.py
===================================================================
--- developers/john_lee/pyfso/dialer.py 2008-07-24 15:05:19 UTC (rev 4554)
+++ developers/john_lee/pyfso/dialer.py 2008-07-25 08:23:02 UTC (rev 4555)
@@ -79,21 +79,20 @@
         self.registered = False
         self.fso = fso
         self.fso.onCallStatus.append(self.on_call_status)
+        self.fso.onNetworkStatus.append(self.on_network_status)
         self._set_state('release')
         from threading import Thread
         Thread(target=self._init).run()
 
     def _init(self):
+        if not self.fso.gsm_device_iface.GetAntennaPower():
+            self.fso.gsm_device_iface.SetAntennaPower(True)
         if self.fso.gsm_network_iface.GetStatus()['registration'] == 
'unregistered':
             try:
-                self.fso.gsm_device_iface.SetAntennaPower(True)
                 self.fso.gsm_network_iface.Register()
-                print 'registered'
-                self.registered = True
             except DBusException, e:
                 # FIXME pin number?
                 print e
-                self.registered = False
 
     @need_registered
     def dial(self, number):
@@ -107,16 +106,22 @@
     def pickup(self):
         self.fso.gsm_call_iface.Activate(self.callid)
 
-    @need_registered
     def on_call_status(self, id, status, properties):
         self._set_state(status)
         self.callid = id
 
+    def on_network_status(self, status):
+        print 'signal network status:', status
+        if status['registration'] == 'home':
+            self.registered = True
+        elif status['registration'] == 'roaming':
+            self.registered = True
 
+
 def _test_fso():
     from dbus.mainloop.glib import DBusGMainLoop
     from fso_backend import FSOObject
-    try:
+pp    try:
         dialer = FSODialer(FSOObject(SystemBus(mainloop=DBusGMainLoop())))
     except DBusException:
         return
@@ -126,5 +131,6 @@
     except KeyboardInterrupt:
         return
 
+
 if __name__ == "__main__":
     _test_fso()




--- End Message ---
_______________________________________________
commitlog mailing list
commitlog@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/commitlog

Reply via email to