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. development kernel tree: Changes to 'andy' ([EMAIL PROTECTED])
   2. Holger's qtopia repo: Changes to 'master' ([EMAIL PROTECTED])
   3. r4476 - developers/jeremy/maniac/src ([EMAIL PROTECTED])
   4. Production testing software for GTA02: Changes to 'master'
      ([EMAIL PROTECTED])
   5. development kernel tree: Changes to 'andy' ([EMAIL PROTECTED])
   6. development kernel tree: Changes to 'andy' ([EMAIL PROTECTED])
   7. Openmoko's OpenEmbedded repository. This is used to build the
      Openmoko distribution: Changes to 'org.openmoko.dev'
      ([EMAIL PROTECTED])
--- Begin Message ---
Rebased ref, commits from common ancestor:
commit eb6932e9617f9ad3161957490de8011482b83d24
Author: Andrzej Zaborowski <[EMAIL PROTECTED]>
Date:   Wed Jun 4 18:25:51 2008 +0100

    Subject: [PATCH] Hardware glamo-fb cursor, some clean-up.

commit dfc18045fbdaf2c7d95d4b6eb7defdca9a0409a9
Author: Andrzej Zaborowski <[EMAIL PROTECTED]>
Date:   Wed Jun 4 18:25:51 2008 +0100

    Subject: [PATCH] Build fixes.




--- End Message ---
--- Begin Message ---
 src/server/phone/profiledbusexporter.cpp           |   86 ++++++++++++++++++++
 src/server/phone/profiledbusexporter.h             |   61 ++++++++++++++
 .../phonelauncher/phonelauncher.cpp                |    4 +
 src/server/server.pro                              |    2 +
 4 files changed, 153 insertions(+), 0 deletions(-)

New commits:
commit ca9415b6bda81c3e57a5d0631a31dfc4b12e2302
Author: Holger Freyther <[EMAIL PROTECTED]>
Date:   Wed Jun 4 20:32:41 2008 +0200

    [profile] Export the profile names, active profile and setting an active 
proile
        For exposure we need this information, export it via dbus.




--- End Message ---
--- Begin Message ---
Author: jeremy
Date: 2008-06-05 05:56:00 +0200 (Thu, 05 Jun 2008)
New Revision: 4476

Modified:
   developers/jeremy/maniac/src/maniac.c
Log:
2008-06-05  Jeremy Chang  <[EMAIL PROTECTED]>

        * Implement the function of specifying limited area to test maniac.



Modified: developers/jeremy/maniac/src/maniac.c
===================================================================
--- developers/jeremy/maniac/src/maniac.c       2008-06-04 15:34:52 UTC (rev 
4475)
+++ developers/jeremy/maniac/src/maniac.c       2008-06-05 03:56:00 UTC (rev 
4476)
@@ -13,8 +13,14 @@
 #define LAP_MIN 500000
 #define LAP_MAX 2000000
 #define PATH_MAX 1024
-int fd; 
+typedef int Coord;
 
+static int fd; 
+static Coord x1 = 0;
+static Coord y1 = 0;
+static Coord x2 = 0;
+static Coord y2 = 0;
+
 enum {
    MANIAC_NONE,    // Show a random for a while and exit
    MANIAC_DEMO,    // Show a random for a while and exit
@@ -97,34 +103,46 @@
 void *
 maniac_mouse_func(void *param)
 {
-   int w, h;
    int screen;
    int x, y;
+   int w, h;
    int mouse_cmd;
    int lap;
    char data[32];
    int len;
    Display *disp = display_get();
 
+   x = 0;
+   y = 0;
    screen = DefaultScreen(disp);
    w = DisplayWidth(disp, screen);
    h = DisplayHeight(disp, screen);
+
+
+   if(x1 > x) x = x1;
+   if(y1 > y) y = y1;
+
+   if( (x2 < w) && (x2-x1 > 0) ) w = x2 - x;
+   if( (y2 < h) && (y2-x1 > 0) ) h = y2 - y;
+
   
    srand((unsigned)time(NULL));
-   printf("Maniac mouse event starts\n");
+   printf("Maniac mouse event starts in area: x:%d y:%d w:%d h:%d\n", x, y, w, 
h);
+   int px, py;
+
    while(1)
      {
-        x = rand() % w;
-        y = rand() % h;
+        px = x + rand() % w;
+        py = y + rand() % h;
         mouse_cmd = rand() % 3;
         lap = random_lap_get();
 
         if(fd)
           {
-             len = snprintf(data, sizeof(data), "%d %d %d %d\n", mouse_cmd, x, 
y, lap);
+             len = snprintf(data, sizeof(data), "%d %d %d %d\n", mouse_cmd, 
px, py, lap);
              write(fd, data, len);
           }
-        maniac_play_step(disp, mouse_cmd, x, y, lap);
+        maniac_play_step(disp, mouse_cmd, px, py, lap);
      } 
    return NULL;
 }
@@ -301,8 +319,24 @@
              log_file_name = strdup(buf);
              mode = MANIAC_RANDOM;
              i++;
-             break;
           }
+        else if (((!strcmp(argv[i], "-r")) ||
+             (!strcmp(argv[i], "-rect")) ||
+             (!strcmp(argv[i], "--rect"))) && (i < (argc - 4)))
+          {
+             char buf[8];
+             sscanf(argv[i +1], "%s", buf);
+             x1 = atoi(buf);
+             sscanf(argv[i +2], "%s", buf);
+             y1 = atoi(buf);
+             sscanf(argv[i +3], "%s", buf);
+             x2 = atoi(buf);
+             sscanf(argv[i +4], "%s", buf);
+             y2 = atoi(buf);
+             printf("lock in an area rect: %d %d %d %d\n", x1, y1, x2, y2);
+             if((y1-x1 > 0) && (y2 - x2 > 0) )
+             i += 4;
+          }
         else if(((!strcmp(argv[i], "-p")) ||
              (!strcmp(argv[i], "-play")) ||
              (!strcmp(argv[i], "--play"))) && (i < (argc - 1)))
@@ -359,28 +393,6 @@
    else if(mode == MANIAC_LOG)
      printf(">>> Log mode (not completed yet)\n");
 
-
-/*
-   // put into a thread
-   int err;
-   pthread_t pid;
-   err = pthread_create(&pid, NULL, maniac_thread_func, NULL);
-   sleep(1);
-   printf("thread: err=%d pid=%d\n", err, pid);
-*/
-   /*
-   pid_t pid; 
-   if(pid=fork())
-     {
-        printf("child pid is %d\n", pid);
-   
-     }
-   else
-     {
-        printf("pid is %d\n", pid);
-        maniac_thread_func(NULL);
-     }
-    */
    printf("exit program\n");
    return 0;
 }




--- End Message ---
--- Begin Message ---
 Makefile                                     |   28 +-
 gta02-dm1/kernel_config/defconfig-2.6.24-DM1 | 1820 --------------------------
 2 files changed, 16 insertions(+), 1832 deletions(-)

New commits:
commit 91b1234c4429ec05887aa03e96b2bb828feebe75
Author: Anthony Chang <[EMAIL PROTECTED]>
Date:   Thu Jun 5 08:09:59 2008 +0100

    change kernel config generate behavior
    
    use original defconfig-2.6.24 from git to generate new defconfig for the 
kernel of DM1




--- End Message ---
--- Begin Message ---
 drivers/i2c/chips/pcf50633.c |   13 ++++---------
 1 files changed, 4 insertions(+), 9 deletions(-)

New commits:
commit 9648508a5121484a6d0952aff6e1a25a9d674beb
Author: Andy Green <[EMAIL PROTECTED]>
Date:   Thu Jun 5 08:15:23 2008 +0100

    Return-Path: <[EMAIL PROTECTED]>
    Received: from mail.openmoko.org ([unix socket])
        by mail.openmoko.org (Cyrus v2.1.18-IPv6-Debian-2.1.18-5.1) with LMTP; 
Thu, 05 Jun 2008 03:10:37 +0000
    X-Sieve: CMU Sieve 2.2
    Return-path: <[EMAIL PROTECTED]>
    Received: from sita.openmoko.org ([88.198.124.203])
        by mail.openmoko.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
        (Exim 4.63)
        (envelope-from <[EMAIL PROTECTED]>)
        id 1K45s5-00069M-HL
        for [EMAIL PROTECTED]; Thu, 05 Jun 2008 03:10:37 +0000
    Received: from localhost ([127.0.0.1] helo=sita.openmoko.org)
        by sita.openmoko.org with esmtp (Exim 4.63)
        (envelope-from <[EMAIL PROTECTED]>)
        id 1K45UX-0000sd-4W; Thu, 05 Jun 2008 04:46:17 +0200
    Received: from mcneil.com ([24.199.45.54] helo=mail.mcneil.com)
        by sita.openmoko.org with esmtp (Exim 4.63)
        (envelope-from <[EMAIL PROTECTED]>) id 1K45U4-0000qr-MP
        for [EMAIL PROTECTED]; Thu, 05 Jun 2008 04:46:09 +0200
    Received: from localhost (localhost.mcneil.com [127.0.0.1])
        by mail.mcneil.com (Postfix) with ESMTP id D0984F795E
        for <[EMAIL PROTECTED]>;
        Wed,  4 Jun 2008 19:44:02 -0700 (PDT)
    X-Virus-Scanned: amavisd-new at mcneil.com
    Received: from mail.mcneil.com ([127.0.0.1])
        by localhost (mcneil.com [127.0.0.1]) (amavisd-new, port 10024)
        with ESMTP id isxHVW6AFAA3 for <[EMAIL PROTECTED]>;
        Wed,  4 Jun 2008 19:43:51 -0700 (PDT)
    Received: from [10.10.10.242] (ferrari.mcneil.com [10.10.10.242])
        (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
        (No client certificate requested)
        by mail.mcneil.com (Postfix) with ESMTPSA id DD0A8F37DE
        for <[EMAIL PROTECTED]>;
        Wed,  4 Jun 2008 19:43:51 -0700 (PDT)
    Message-ID: <[EMAIL PROTECTED]>
    Date: Wed, 04 Jun 2008 19:43:51 -0700
    From: Sean McNeil <[EMAIL PROTECTED]>
    User-Agent: Thunderbird 2.0.0.14 (X11/20080505)
    MIME-Version: 1.0
    To: [EMAIL PROTECTED]
    Content-Type: text/plain; charset=ISO-8859-1; format=flowed
    Content-Transfer-Encoding: 7bit
    X-Spam-Checker-Version: SpamAssassin 3.1.7-deb (2006-10-05) on
        sita.openmoko.org
    X-Spam-Level:
    X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham
        version=3.1.7-deb
    Subject: [PATCH] simplify backlight resume
    X-BeenThere: [EMAIL PROTECTED]
    X-Mailman-Version: 2.1.9
    Precedence: list
    List-Id: Discussion regarding the OpenMoko Linux Kernel and boot loader
        <openmoko-kernel.lists.openmoko.org>
    List-Unsubscribe: 
<http://lists.openmoko.org/mailman/listinfo/openmoko-kernel>,
        <mailto:[EMAIL PROTECTED]>
    List-Archive: <http://lists.openmoko.org/pipermail/openmoko-kernel>
    List-Post: <mailto:[EMAIL PROTECTED]>
    List-Help: <mailto:[EMAIL PROTECTED]>
    List-Subscribe: 
<http://lists.openmoko.org/mailman/listinfo/openmoko-kernel>,
        <mailto:[EMAIL PROTECTED]>
    Sender: [EMAIL PROTECTED]
    Errors-To: [EMAIL PROTECTED]
    
    The following is a minor cleanup of backlight resume:




--- End Message ---
--- Begin Message ---
Rebased ref, commits from common ancestor:
commit 0e9652f0b04ded61bf9ee066b5628916571bfb30
Author: Sean McNeil <[EMAIL PROTECTED]>
Date:   Thu Jun 5 08:17:03 2008 +0100

    The following is a minor cleanup of backlight resume:




--- End Message ---
--- Begin Message ---
 packages/gypsy/gypsy_svn.bb |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

New commits:
commit dc93a233186e937a30e26096b287189ce2070438
Author: Graeme Gregory <[EMAIL PROTECTED]>
Date:   Thu Jun 5 09:14:02 2008 +0100

    [gypsy] needs DEPEND libxslt-native for xsltproc executable




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

Reply via email to