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. r4694 - trunk/src/host/pye17/codegen ([EMAIL PROTECTED])
   2. Holger's qtopia repo: Changes to 'master' ([EMAIL PROTECTED])
   3. Openmoko's OpenEmbedded repository. This is used to build the
      Openmoko distribution: Changes to 'org.openmoko.dev'
      ([EMAIL PROTECTED])
   4. Holger's qtopia repo: Changes to 'master' ([EMAIL PROTECTED])
   5. Openmoko's OpenEmbedded repository. This is used to build the
      Openmoko distribution: Changes to 'org.openmoko.dev'
      ([EMAIL PROTECTED])
   6. Openmoko's OpenEmbedded repository. This is used to build the
      Openmoko distribution: Changes to 'org.openmoko.dev'
      ([EMAIL PROTECTED])
   7. r4695 -
      trunk/src/target/OM-2007.2/libraries/libmokoui2/libmokoui
      ([EMAIL PROTECTED])
   8. Holger's qtopia repo: Changes to 'master' ([EMAIL PROTECTED])
--- Begin Message ---
Author: marek
Date: 2008-10-06 13:04:19 +0200 (Mon, 06 Oct 2008)
New Revision: 4694

Modified:
   trunk/src/host/pye17/codegen/argtypes.py
   trunk/src/host/pye17/codegen/codegen.py
Log:
[pye17] fix casts to pythonize the bindings

Modified: trunk/src/host/pye17/codegen/argtypes.py
===================================================================
--- trunk/src/host/pye17/codegen/argtypes.py    2008-10-06 08:25:56 UTC (rev 
4693)
+++ trunk/src/host/pye17/codegen/argtypes.py    2008-10-06 11:04:19 UTC (rev 
4694)
@@ -493,19 +493,19 @@
     nulldflt = ('    if ((PyObject *)py_%(name)s == Py_None)\n'
                 '        %(name)s = NULL;\n'
                 '    else if (py_%(name)s && pygobject_check(py_%(name)s, 
&Py%(type)s_Type))\n'
-                '        %(name)s = %(cast)s(py_%(name)s->obj);\n'
+                '        %(name)s = (%(cast)s *)(py_%(name)s->obj);\n'
                 '    else if (py_%(name)s) {\n'
                 '        PyErr_SetString(PyExc_TypeError, "%(name)s should be 
a %(type)s or None");\n'
                 '        return NULL;\n'
                 '    }\n')
     null = ('    if (py_%(name)s && pygobject_check(py_%(name)s, 
&Py%(type)s_Type))\n'
-            '        %(name)s = %(cast)s(py_%(name)s->obj);\n'
+            '        %(name)s = (%(cast)s *)(py_%(name)s->obj);\n'
             '    else if ((PyObject *)py_%(name)s != Py_None) {\n'
             '        PyErr_SetString(PyExc_TypeError, "%(name)s should be a 
%(type)s or None");\n'
             '        return NULL;\n'
             '    }\n')
     dflt = '    if (py_%(name)s)\n' \
-           '        %(name)s = %(cast)s(py_%(name)s->obj);\n'
+           '        %(name)s = (%(cast)s *)(py_%(name)s->obj);\n'
     def __init__(self, objname, parent, typecode):
         self.objname = objname
         self.cast = string.replace(typecode, '_TYPE_', '_', 1)

Modified: trunk/src/host/pye17/codegen/codegen.py
===================================================================
--- trunk/src/host/pye17/codegen/codegen.py     2008-10-06 08:25:56 UTC (rev 
4693)
+++ trunk/src/host/pye17/codegen/codegen.py     2008-10-06 11:04:19 UTC (rev 
4694)
@@ -321,7 +321,7 @@
             raise argtypes.ArgTypeNotFoundError("varargs functions not 
supported")
 
        #fd = open("/tmp/codegen.log","a+")
-       #fd.write(">>> write_function_wrapper() >>>\n")
+       #fd.write(">>> write_function_wrapper() " + function_obj.c_name + " 
>>>\n")
        #fd.write("arglist 1: " + str(info.get_arglist()) + "\n")
 
         for param in function_obj.params:
@@ -363,7 +363,7 @@
 
         if self.objinfo:
             substdict['typename'] = self.objinfo.c_name
-        substdict.setdefault('cname',  function_obj.c_name)
+        substdict.setdefault('cname', function_obj.c_name)
         substdict['varlist'] = info.get_varlist()
         substdict['typecodes'] = info.parsestr
         substdict['parselist'] = info.get_parselist()
@@ -391,7 +391,7 @@
 
        #fd.write("arglist: " + str(info.get_arglist()) + "\n")
        #for key,item in substdict.iteritems():
-               #fd.write("key: " + str(key) + ", item: " + str(item) + "\n")
+       #       fd.write("key: " + str(key) + ", item: " + str(item) + "\n")
         #fd.close()
 
         return template % substdict, flags
@@ -952,7 +952,7 @@
         '%(parseargs)s'
         '%(codebefore)s'
         '    %(begin_allow_threads)s\n'
-        '    %(setreturn)s%(cname)s(%(cast)s(self->obj)%(arglist)s);\n'
+        '    %(setreturn)s%(cname)s((%(cast)s *)(self->obj)%(arglist)s);\n'
         '    %(end_allow_threads)s\n'
         '%(codeafter)s\n'
         '}\n\n'




--- End Message ---
--- Begin Message ---
 .../qtopiainputmethod/qwsinputmethod_x11.cpp       |   26 ++++-
 .../inputmethods/keyboard/keyboardframe.cpp        |    6 +-
 src/server/keyboardhandler.cpp                     |  128 ++++++++++++++++++++
 src/server/keyboardhandler.h                       |   55 +++++++++
 .../phonelauncher/phonelauncher_illume.cpp         |   17 +--
 src/server/server.pro                              |    4 +
 6 files changed, 217 insertions(+), 19 deletions(-)

New commits:
commit a0a6cbd1d8eb507052cd47bf89d3437e37fb3747
Author: Holger Freyther <[EMAIL PROTECTED]>
Date:   Mon Oct 6 19:32:29 2008 +0200

    [keyboard] Allow to switch the key on the fly using a dbus interface
        - Allow to switch between predictive and non predictive stylus keyboard

commit 71f36234789dd720c229458d0e531137d2b88cb6
Author: Holger Freyther <[EMAIL PROTECTED]>
Date:   Mon Oct 6 17:48:14 2008 +0200

    [keyboard] Fix caption on the keyboard for X11
        Remove #ifdef block. This used to contain QWS stuff but it does not
        contain it anymore. This gives us a caption/label on the alpha keys

commit fd4357317f5926cd39422debdfcd96f305a1609f
Author: Holger Freyther <[EMAIL PROTECTED]>
Date:   Mon Oct 6 17:46:59 2008 +0200

    [keyboard] Properly map the escape keycode
        Use Qt::Key_Escape and Qt/X11 stops complaining that it can not map
        the "keycode" to keysym. This needs to be tested on a device.

commit 22aa39760c310d12c6aaf1fd4c8463a6fb1e4020
Author: Holger Freyther <[EMAIL PROTECTED]>
Date:   Mon Oct 6 17:43:23 2008 +0200

    [inputmethod] Map a key if it is not known to X
        Inspired by Ecore_X use XChangeKeyboardMapping when KeySym->KeyCode
        mapping is failing. Try to find a free keycode index and then set it. 
The
        information about the calculation can be found in the man page.




--- End Message ---
--- Begin Message ---
 conf/distro/include/sane-srcrevs.inc               |    2 +-
 .../qtopia-phone-x11/om-gta01/Xsession.d/89qtopia  |   21 --------------------
 .../qtopia-phone-x11/om-gta02/Xsession.d/89qtopia  |   21 --------------------
 packages/qtopia-phone/qtopia-phone-x11/qtopia.sh   |    1 -
 packages/qtopia-phone/qtopia-phone-x11_git.bb      |    2 +-
 5 files changed, 2 insertions(+), 45 deletions(-)

New commits:
commit 9b5f4091343e81b84407665359e45fd629f195cc
Author: Holger Hans Peter Freyther <[EMAIL PROTECTED]>
Date:   Mon Oct 6 18:53:28 2008 +0200

    [qtopia] Qtopia/X11 is now assigning keycode's on the fly

commit cf3b19b3b111ae3cd6cb6bb454fff3923e3860cd
Author: Holger Hans Peter Freyther <[EMAIL PROTECTED]>
Date:   Mon Oct 6 16:33:58 2008 +0200

    [qtopia] Remove LD_LIBRARY_PATH from the profile
        We add /etc/ld.so.conf.d/qtopia so we don't need the additional
        LD_LIBRARY_PATH. Add $QPEDIR/bin to the path to be able to easily
        execute qtopia applications.

commit 7a25cba23b7a86e66de26f96ff42762c8da77f71
Author: Holger Hans Peter Freyther <[EMAIL PROTECTED]>
Date:   Mon Oct 6 19:43:28 2008 +0200

    [srcrev] Upgrade Qtopia with two main changes
        - Charlies' Qtopia SIM export fix
        - Allow to switch between predictive and stylus keyboard




--- End Message ---
--- Begin Message ---
 apps-fdo/Keyboards/qkeyboard.desktop               |    5 +
 apps-fdo/Keyboards/qpredictivekeyboard.desktop     |    5 +
 devices/ficgta01/environment                       |    7 -
 src/general.pri                                    |    1 +
 .../qtopiainputmethod/qwsinputmethod_x11.h         |   18 +++
 src/plugins/inputmethods/keyboard/keyboard.cpp     |    8 ++
 src/plugins/inputmethods/keyboard/keyboard.pro     |   10 +-
 .../predictivekeyboard/predictivekeyboard.cpp      |    8 ++
 .../predictivekeyboard/predictivekeyboard.pro      |   11 ++-
 src/server/keyboardhandler.cpp                     |  128 --------------------
 src/server/keyboardhandler.h                       |   55 ---------
 .../phonelauncher/phonelauncher_illume.cpp         |    8 --
 src/server/server.pro                              |   36 ------
 13 files changed, 60 insertions(+), 240 deletions(-)

New commits:
commit 22c3c1f28631c1091a83fb72bf0a9c9f4b008246
Author: Holger Freyther <[EMAIL PROTECTED]>
Date:   Tue Oct 7 10:03:42 2008 +0200

    [gta01] Do not autoadd a random path to the environment
        This can break and did break when people actually had a toolchain
        in this directory.

commit 8ac7500e10f9366b65585ac9ffeef041792dea07
Author: Holger Freyther <[EMAIL PROTECTED]>
Date:   Tue Oct 7 09:15:17 2008 +0200

    [keyboard] Provide fdo desktop files for the keyboard application
        These can be used by illume and settings to select

commit bb4492184f34555e5ccad796a1870ec277b67e7e
Author: Holger Freyther <[EMAIL PROTECTED]>
Date:   Tue Oct 7 09:07:05 2008 +0200

    [keyboard] Build the keyboards as standalone applications
        - Build the predictive and stylus keyboard as application. They can be
          launched by illume or any other window manager.
    
        - The !x11 magic inside the .pro files might not work and qws will
          build the keyboards as applications as well

commit a23ea4c38fe19c86b2793c85317e334374e9e11b
Author: Holger Freyther <[EMAIL PROTECTED]>
Date:   Tue Oct 7 08:03:37 2008 +0200

    [keyboard] Remove the Keyboard Handler, keyboards will be external apps




--- End Message ---
--- Begin Message ---
 conf/checksums.ini |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

New commits:
commit 9f7adc9902d2b3f6fb5e4a724a9545df0743daff
Author: Julian_chu <[EMAIL PROTECTED]>
Date:   Tue Oct 7 16:29:47 2008 +0800

    [checksums] Remove useless warning message when doing git merger




--- End Message ---
--- Begin Message ---
 conf/checksums.ini |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

New commits:
commit e97e8516b304e721a1b0737e616f1e2f7dec097f
Author: Julian_chu <[EMAIL PROTECTED]>
Date:   Tue Oct 7 16:37:18 2008 +0800

    [checksums] Add checksum for systat-8.1.5.tar.gz




--- End Message ---
--- Begin Message ---
Author: tick
Date: 2008-10-07 10:58:16 +0200 (Tue, 07 Oct 2008)
New Revision: 4695

Modified:
   
trunk/src/target/OM-2007.2/libraries/libmokoui2/libmokoui/moko-finger-scroll.c
Log:
[libmokoui2] Let finger scroll faster. 
Thanks Trevi?\195?\177o's patch 


Modified: 
trunk/src/target/OM-2007.2/libraries/libmokoui2/libmokoui/moko-finger-scroll.c
===================================================================
--- 
trunk/src/target/OM-2007.2/libraries/libmokoui2/libmokoui/moko-finger-scroll.c  
    2008-10-06 11:04:19 UTC (rev 4694)
+++ 
trunk/src/target/OM-2007.2/libraries/libmokoui2/libmokoui/moko-finger-scroll.c  
    2008-10-07 08:58:16 UTC (rev 4695)
@@ -253,11 +253,11 @@
        priv->ix = priv->x;
        priv->iy = priv->y;
        /* Don't allow a click if we're still moving fast, where fast is
-        * defined as a quarter of our top possible speed.
+         * defined as 1/10 of our top possible speed.
         * TODO: Make 'fast' configurable?
         */
-       if ((ABS (priv->vel_x) < (priv->vmax * 0.25)) &&
-           (ABS (priv->vel_y) < (priv->vmax * 0.25)))
+       if ((ABS (priv->vel_x) < (priv->vmax * 0.10)) &&
+           (ABS (priv->vel_y) < (priv->vmax * 0.10)))
                priv->child = moko_finger_scroll_get_topmost (
                        GTK_BIN (priv->align)->child->window,
                        event->x, event->y, &x, &y);
@@ -959,7 +959,7 @@
                        "Maximum scroll velocity",
                        "Maximum distance the child widget should scroll "
                                "per 'frame', in pixels.",
-                       0, G_MAXDOUBLE, 48,
+                       0, G_MAXDOUBLE, 96,
                        G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
 
        g_object_class_install_property (




--- End Message ---
--- Begin Message ---
 .../phonevendors/ficgta01/vendor_ficgta01.cpp      |   42 ++++++-
 .../phonevendors/ficgta01/vendor_ficgta01_p.h      |    2 +
 .../qmodemgprsnetworkregistration.cpp              |   51 ++++++-
 .../qmodemgprsnetworkregistration.h                |    1 +
 .../qtopiaphonemodem/qmodemnetworkregistration.cpp |  144 ++++++++++++++++++--
 .../qtopiaphonemodem/qmodemnetworkregistration.h   |    1 +
 6 files changed, 221 insertions(+), 20 deletions(-)

New commits:
commit 115a733771d257565c0ec03b485d3ba63c2cec61
Author: erin <[EMAIL PROTECTED]>
Date:   Tue Oct 7 17:25:49 2008 +0800

    apply mwester patch for bug#1024 GSM modem re-registering problem




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

Reply via email to