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. Holger's qtopia repo: Changes to 'master' ([EMAIL PROTECTED])
2. development tree for U-Boot: Changes to 'andy'
([EMAIL PROTECTED])
3. development tree for U-Boot: Changes to 'stable'
([EMAIL PROTECTED])
4. r4504 - in developers/werner/greg: . tests
([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. Holger's qtopia repo: Changes to 'master' ([EMAIL PROTECTED])
8. Holger's qtopia repo: Changes to 'master' ([EMAIL PROTECTED])
9. Openmoko's OpenEmbedded repository. This is used to build the
Openmoko distribution: Changes to 'org.openmoko.dev'
([EMAIL PROTECTED])
--- Begin Message ---
qtopiacore/qt/src/corelib/global/qnamespace.h | 2 +
qtopiacore/qt/src/gui/kernel/qapplication_x11.cpp | 68 +++++++++++++++------
qtopiacore/qt/src/gui/kernel/qwidget.cpp | 11 ++--
qtopiacore/qt/src/gui/kernel/qwidget_x11.cpp | 49 +++++++++++----
src/server/phone/callscreen/themed/callscreen.cpp | 11 +--
5 files changed, 97 insertions(+), 44 deletions(-)
New commits:
commit 0804dac715809cfcf5171e6fff91f2adbaa17e2d
Author: Holger Freyther <[EMAIL PROTECTED]>
Date: Sat Jun 28 19:44:17 2008 +0200
[x11] Do not wait for a MapNotify when the window is already mapped
We have send hide events but did not withdraw/unmap the window. On a
show_sys
we wanted to map these windows again. As we wait for MapNotifies
nowadays and
the window was already mapped we didn't get anyone.
Do not XMapWindow a window when it is already mapped. Only map it when
it was
not mapped before or if we did a XUnmapWindow. Also listen to the
UnmapNotify
to keep things synchronized.
commit fbb4d231838bae1cff9c4d9d9b2faff700184b9c
Author: Holger Freyther <[EMAIL PROTECTED]>
Date: Sat Jun 28 14:46:41 2008 +0200
[x11] Do not paint before we got a MapNotify from the X server
With e we get the following using Xglamo for most of the windows
we map.
XMapWindow
-> Configure
-> Reparent
-> Configure (again)
-> MapNotify (or the other way around...)
So let us wait for the MapNotify to Resize,Move and paint then. So for
a small second users will see the mapped window with only the
background.
We can avoid this by setting a none background...
commit 637cae51cc0ba7b7dff789f9a6d58eecd1e83f02
Author: Holger Freyther <[EMAIL PROTECTED]>
Date: Sat Jun 28 14:42:11 2008 +0200
[theme] Update the two items in one go as well
--- End Message ---
--- Begin Message ---
Rebased ref, commits from common ancestor:
commit 280d76ae78ac8166c09106b3a46292917fe22b59
Author: Andy Green <[EMAIL PROTECTED]>
Date: Sun Jun 29 21:13:58 2008 +0100
uboot-fix-OOCCTL-reset-phase.patch
System reset comes up too early according to how OOCTL
has been set. Change to come up in activation state 4
not 1.
Signed-off-by: Andy Green <[EMAIL PROTECTED]>
commit 1a89e9a84ee922894c6bcd72aba69142e9e882d6
Author: Andy Green <[EMAIL PROTECTED]>
Date: Sun May 18 12:59:12 2008 +0100
uboot-add-find-wake-reason.patch
Currently we don't take care about the resume reason.
This patch captures it into the spare GSTATUS 4 register
and so passes it up into Linux.
Signed-off-by: Andy Green <[EMAIL PROTECTED]>
--- End Message ---
--- Begin Message ---
board/neo1973/gta02/pcf50633.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
New commits:
commit 96611475add0ea5019d693cfa088a8343701546b
Author: Andy Green <[EMAIL PROTECTED]>
Date: Sun Jun 29 21:28:32 2008 +0100
uboot-fix-OOCCTL-reset-phase.patch
System reset comes up too early according to how OOCTL
has been set. Change to come up in activation state 4
not 1.
Signed-off-by: Andy Green <[EMAIL PROTECTED]>
--- End Message ---
--- Begin Message ---
Author: werner
Date: 2008-06-30 02:55:00 +0200 (Mon, 30 Jun 2008)
New Revision: 4504
Added:
developers/werner/greg/id.c
developers/werner/greg/id.h
developers/werner/greg/tests/cont
developers/werner/greg/tests/formula
Modified:
developers/werner/greg/Makefile
developers/werner/greg/README
developers/werner/greg/greg.c
developers/werner/greg/lang.l
Log:
- use unique() also when looking up identifiers from the command line
- added regression tests for split lines, values given by formulas
Modified: developers/werner/greg/Makefile
===================================================================
--- developers/werner/greg/Makefile 2008-06-26 05:49:26 UTC (rev 4503)
+++ developers/werner/greg/Makefile 2008-06-30 00:55:00 UTC (rev 4504)
@@ -5,7 +5,7 @@
-Wno-missing-declarations
LDLIBS=-lfl
-OBJS=greg.o lex.yy.o y.tab.o cpp.o
+OBJS=greg.o lex.yy.o y.tab.o cpp.o id.o
.PHONY: all dep depend clean spotless test tests
Modified: developers/werner/greg/README
===================================================================
--- developers/werner/greg/README 2008-06-26 05:49:26 UTC (rev 4503)
+++ developers/werner/greg/README 2008-06-30 00:55:00 UTC (rev 4504)
@@ -14,12 +14,10 @@
Known issues
------------
-- output format should be easier to read
- value names in pcf50633.greg are often unsuitable for identifier generation
(should align them properly with what we use in u-boot and kernel)
- "pretty-print" is hard to read
- unique() should use rb-trees
-- greg.c should use unique(), to accelerate lookups
dr.pl
Modified: developers/werner/greg/greg.c
===================================================================
--- developers/werner/greg/greg.c 2008-06-26 05:49:26 UTC (rev 4503)
+++ developers/werner/greg/greg.c 2008-06-30 00:55:00 UTC (rev 4504)
@@ -14,10 +14,10 @@
#include <stdlib.h>
#include <stdio.h>
-#include <string.h>
#include "reg.h"
#include "cpp.h"
+#include "id.h"
#include "greg.h"
@@ -81,8 +81,9 @@
const struct reg *reg;
const struct field *field;
+ id = unique(id);
for (reg = regs; reg; reg = reg->next)
- if (!strcmp(reg->id, id))
+ if (reg->id == id)
break;
if (!reg) {
fprintf(stderr, "register \"%s\" not found\n", id);
Added: developers/werner/greg/id.c
===================================================================
--- developers/werner/greg/id.c (rev 0)
+++ developers/werner/greg/id.c 2008-06-30 00:55:00 UTC (rev 4504)
@@ -0,0 +1,49 @@
+/*
+ * id.c - Unique identifiers
+ *
+ * Copyright (C) 2008 by OpenMoko, Inc.
+ * Written by Werner Almesberger <[EMAIL PROTECTED]>
+ * All Rights Reserved
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ */
+
+
+#include <stdlib.h>
+#include <stdio.h>
+#include <string.h>
+
+#include "id.h"
+
+
+char *unique(const char *s)
+{
+ static struct node {
+ char *s;
+ struct node *left, *right;
+ } *root = NULL;
+ struct node **n = &root;
+ int cmp;
+
+ while (*n) {
+ cmp = strcmp((*n)->s, s);
+ if (!cmp)
+ return (*n)->s;
+ n = cmp < 0 ? &(*n)->left : &(*n)->right;
+ }
+ *n = malloc(sizeof(struct node));
+ if (!*n) {
+ perror("malloc");
+ exit(1);
+ }
+ (*n)->s = strdup(s);
+ if (!(*n)->s) {
+ perror("strdup");
+ exit(1);
+ }
+ (*n)->left = (*n)->right = NULL;
+ return (*n)->s;
+}
Added: developers/werner/greg/id.h
===================================================================
--- developers/werner/greg/id.h (rev 0)
+++ developers/werner/greg/id.h 2008-06-30 00:55:00 UTC (rev 4504)
@@ -0,0 +1,19 @@
+/*
+ * id.h - Unique identifiers
+ *
+ * Copyright (C) 2008 by OpenMoko, Inc.
+ * Written by Werner Almesberger <[EMAIL PROTECTED]>
+ * All Rights Reserved
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ */
+
+#ifndef ID_H
+#define ID_H
+
+char *unique(const char *s);
+
+#endif /* !ID_H */
Modified: developers/werner/greg/lang.l
===================================================================
--- developers/werner/greg/lang.l 2008-06-26 05:49:26 UTC (rev 4503)
+++ developers/werner/greg/lang.l 2008-06-30 00:55:00 UTC (rev 4504)
@@ -21,45 +21,18 @@
#include "y.tab.h"
#include "greg.h"
+#include "id.h"
static int lineno = 1;
static int col0 = 1; /* token starts in the first column */
-
-static char *unique(const char *s)
-{
- static struct node {
- char *s;
- struct node *left, *right;
- } *root = NULL;
- struct node **n = &root;
- int cmp;
-
- while (*n) {
- cmp = strcmp((*n)->s, s);
- if (!cmp)
- return (*n)->s;
- n = cmp < 0 ? &(*n)->left : &(*n)->right;
- }
- *n = malloc(sizeof(struct node));
- if (!*n) {
- perror("malloc");
- exit(1);
- }
- (*n)->s = strdup(s);
- if (!(*n)->s) {
- perror("strdup");
- exit(1);
- }
- (*n)->left = (*n)->right = NULL;
- return (*n)->s;
-}
-
%}
+
%%
+
"%"[0-9]+ { yylval.num = strtoul(yytext+1, NULL, 10);
col0 = 0;
return TOK_BITS; }
Added: developers/werner/greg/tests/cont
===================================================================
--- developers/werner/greg/tests/cont (rev 0)
+++ developers/werner/greg/tests/cont 2008-06-30 00:55:00 UTC (rev 4504)
@@ -0,0 +1,45 @@
+#!/bin/sh
+. ./Common
+
+# -----------------------------------------------------------------------------
+
+greg "register definition continues on second line" foo 0x12 <<EOF
+foo
+ bar
+EOF
+
+expect <<EOF
+foo bar = 0x12
+EOF
+
+# -----------------------------------------------------------------------------
+
+greg_fail "continuation must be indented" <<EOF
+bar
+blah
+EOF
+
+expect <<EOF
+2: syntax error near "blah"
+EOF
+
+# -----------------------------------------------------------------------------
+
+greg_fail "file may not begin with an indentation" <<EOF
+ foo
+ bar
+EOF
+
+expect <<EOF
+1: syntax error near "foo"
+EOF
+
+# -----------------------------------------------------------------------------
+
+greg "concatenate strings" foo 0 <<EOF
+foo bar "some" "comment"
+EOF
+
+expect <<EOF
+foo bar = 0x00 -- somecomment
+EOF
Property changes on: developers/werner/greg/tests/cont
___________________________________________________________________
Name: svn:executable
+ *
Added: developers/werner/greg/tests/formula
===================================================================
--- developers/werner/greg/tests/formula (rev 0)
+++ developers/werner/greg/tests/formula 2008-06-30 00:55:00 UTC (rev
4504)
@@ -0,0 +1,30 @@
+#!/bin/sh
+. ./Common
+
+# -----------------------------------------------------------------------------
+
+greg "formula value, with unit" foo 3 <<EOF
+foo bar
+ blah[8]
+ <1+2* blah>
+EOF
+
+expect <<EOF
+foo bar = 0x03
+ blah
+ 0000.0011 (0x03): 1+2*3 = 7 blah
+EOF
+
+# -----------------------------------------------------------------------------
+
+greg "formula value, without unit" foo 2 <<EOF
+foo bar
+ blah[8]
+ <3+5*>
+EOF
+
+expect <<EOF
+foo bar = 0x02
+ blah
+ 0000.0010 (0x02): 3+5*2 = 13
+EOF
Property changes on: developers/werner/greg/tests/formula
___________________________________________________________________
Name: svn:executable
+ *
--- End Message ---
--- Begin Message ---
conf/distro/include/sane-srcdates.inc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
New commits:
commit 52c02259f98be498a8c023417749f018f3e23ed4
Author: Carsten Haitzler <[EMAIL PROTECTED]>
Date: Mon Jun 30 13:49:30 2008 +1000
up to 0630 for date of efl - should fix eet issue? i can't reproduce here at
all. also should allow for starup_)id on all windows created by an app with
ecore_evas, not just the first one.
--- End Message ---
--- Begin Message ---
packages/efl1/edbus_cvs.bb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
New commits:
commit 9e260b12105f3540b55a861bcaf2836bc37421e6
Author: Carsten Haitzler <[EMAIL PROTECTED]>
Date: Mon Jun 30 16:29:45 2008 +1000
don't need efreet or ewl for edbus build.
--- End Message ---
--- Begin Message ---
etc/themes/finxi/dialer.xml | 2 +-
src/libraries/qtopia/qsoftmenubar.cpp | 2 +
src/libraries/qtopia/qtopiaapplication.cpp | 13 ++++++++++
.../phone/contextlabel/base/contextlabel.cpp | 26 ++++----------------
src/server/phone/contextlabel/base/contextlabel.h | 2 -
5 files changed, 21 insertions(+), 24 deletions(-)
New commits:
commit 865944a51dec0e3889139d2cd4b2f7124c5d8f3a
Author: Holger Freyther <[EMAIL PROTECTED]>
Date: Mon Jun 30 08:43:24 2008 +0200
[x11] Make sure we always release the key
If we do not release the key we will QKeyEvent with a autoRepeat
flag set. These will be discarded by qsoftmenubar.cpp eventFilter
and no option menu is going to pop.
Send and Release a specific key immediately. Do not handle the
itemReleased
case at all. There can be only one button involved in a press/release
and it is sane to assume this.
commit 96a78f479699920b2607a6f7a418555c974b9a4f
Author: Holger Freyther <[EMAIL PROTECTED]>
Date: Mon Jun 30 06:34:14 2008 +0200
[x11] Do not move the popup for X11
As the QResizeEvent is delayed we will do weird things
with the moving of the popupmenu. We popup the window
with the right position and if we get a genuine resizeevent
our popup will be wrongly placed. To properly place reposition
the popup we would need to know which widget we are currently
associated with. This information is currently not available.
This commit effectively forbids changing/resizing the option
menu when it is currently visible.
commit 5a837bef676c464ed8b8e9d75836a519d23c16ae
Author: Holger Freyther <[EMAIL PROTECTED]>
Date: Sun Jun 29 17:44:15 2008 +0200
Revert "Revert "The ContextLabel was not updated for the "missed call"
messagebox on qpe launch.""
Looks like we still need it for the same case. Race/order of initialisation.
Without this we don't set the right property on the window.
This reverts commit 708bb8a2206d6c810b36241bdc5a4103ff6306ee.
commit 38cbd87d4c4395fe3811831a6c73e94f25e20f22
Author: Holger Freyther <[EMAIL PROTECTED]>
Date: Sun Jun 29 17:02:25 2008 +0200
[dialer] Do not set a background/colormap to get a better startup experience
We set the background/base of the widget to "white" due this. Do not
set a colormap to get around this issue. The Qtopia theming is
fundamentally
flawed though and needs further fixes.
--- End Message ---
--- Begin Message ---
.../phone/contextlabel/base/contextlabel.cpp | 3 --
src/server/phone/phonestatusdbusexporter.cpp | 22 +++++++++++++++++++-
src/server/phone/phonestatusdbusexporter.h | 1 +
3 files changed, 22 insertions(+), 4 deletions(-)
New commits:
commit 2aacbf7e16480931574be49c889b094bc207330d
Author: Holger Freyther <[EMAIL PROTECTED]>
Date: Mon Jun 30 09:25:51 2008 +0200
[gsm] Indicate no registration with a signal strength of -1
Send a signal strength of -1 if we are not registered with a
network. This is a shortcut to please people only following the
signal strength signal and not the state changed.
Specially to make illume's gsmget show the case of losing network
registration. This is a minimal replacement for the calloptions
application.
commit 3ff59c1b36f23b44e5ea034cdf56d97d4a624c10
Author: Holger Freyther <[EMAIL PROTECTED]>
Date: Mon Jun 30 09:25:28 2008 +0200
[x11] Cleanup, we removed that slot
--- End Message ---
--- Begin Message ---
conf/distro/include/sane-srcdates.inc | 2 +-
conf/distro/include/sane-srcrevs.inc | 6 +-
packages/efl1/edbus_cvs.bb | 2 +-
.../python-etk/scrolled_view-drag-extra.patch | 26 +++++++++++
.../python/python-etk/scrolled_view-drag.patch | 46 ++++++++++++++++++++
packages/python/python-etk_git.bb | 6 ++-
6 files changed, 81 insertions(+), 7 deletions(-)
New commits:
commit 8c0724008f629cdffbfea3287827daa3b0e88b99
Author: Carsten Haitzler <[EMAIL PROTECTED]>
Date: Mon Jun 30 16:29:45 2008 +1000
don't need efreet or ewl for edbus build.
commit a3f050168df5ba15fc9c00802891424088a8c505
Author: Carsten Haitzler <[EMAIL PROTECTED]>
Date: Mon Jun 30 13:49:30 2008 +1000
up to 0630 for date of efl - should fix eet issue? i can't reproduce here at
all. also should allow for starup_)id on all windows created by an app with
ecore_evas, not just the first one.
commit 35f9c6cd0816adcf10c0ae87167e39999e537943
Author: Carsten Haitzler <[EMAIL PROTECTED]>
Date: Fri Jun 27 20:36:39 2008 +1000
up illume to rev120 - had theme problem. 100% cpu usage with infinite timer.
commit 0fce270d18a071929492e0d4d14f2b923f83c14f
Author: Carsten Haitzler <[EMAIL PROTECTED]>
Date: Fri Jun 27 17:41:32 2008 +1000
update to newer etheme and shelf size options
commit fd4aff640ea15aae261f857e744766e5bbf79613
Author: Carsten Haitzler <[EMAIL PROTECTED]>
Date: Fri Jun 27 11:23:58 2008 +1000
up efl srcdate for fixes to alginment usage in scrolledview and other
viewport users
commit c87ec3bbd352f1b16b18590deaf2afd6fe251080
Author: Holger Hans Peter Freyther <[EMAIL PROTECTED]>
Date: Thu Jun 26 13:41:49 2008 +0200
[srcrev] Upgrade exposure to r50
Together with the python-etk fix and this update exposure should
be usable again.
commit 4344ec4e0779c910379b4f734b6c3dd2bea6b029
Author: Julian_chu <[EMAIL PROTECTED]>
Date: Thu Jun 26 14:41:26 2008 +0800
[python-etk] Adding patches to python-etk binding.
These two patches enable dragable of etk binding.
commit 214ab23ebf9032c73ca8e6656d5031828b224dc6
Author: Carsten Haitzler <[EMAIL PROTECTED]>
Date: Thu Jun 26 10:50:20 2008 +1000
up to 116 for illume - new config defaults for aux btn
--- End Message ---
_______________________________________________
commitlog mailing list
commitlog@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/commitlog