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 'softmenu-rework'
([EMAIL PROTECTED])
3. r4490 - developers/werner/bin ([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.asu.dev'
([EMAIL PROTECTED])
6. Openmoko's OpenEmbedded repository. This is used to build the
Openmoko distribution: Changes to 'org.openmoko.asu.stable'
([EMAIL PROTECTED])
--- Begin Message ---
arch/arm/mach-s3c2440/mach-gta02.c | 10 +-
drivers/input/touchscreen/s3c2410_ts.c | 256 ++++++++++++++++++++++++--------
include/asm-arm/arch-s3c2410/ts.h | 8 +-
3 files changed, 205 insertions(+), 69 deletions(-)
New commits:
commit 0230b5c0c9dee01065100f95bc19800fd5e56cc3
Author: Andy Green <[EMAIL PROTECTED]>
Date: Wed Jun 18 15:50:01 2008 +0100
touchscreen-meddling.patch
Touchscreen on GTA01-02 experiences noise on the channel that serves the
"tall axis" of the LCM. The sample quality of the other axis is good.
The bad samples have a characteristic of one shot excursions that can
reach +/- 20% or more of the sample average.
Previously, we had a simple averaging scheme going in the touchscreen
driver that summed up 32 x and ys and then divided it by 32. This patch
first tidies up the existing code for style, then adds a new "running
average" concept with a FIFO. The running average is separate from the
summing average mentioned above, and is accurate for the last n samples
sample-by-sample, where n is set by 1 << excursion_filter_len_bits in the
machine / platform stuff.
The heuristic the patch implements for the filtering is to accept all
samples, but tag the *previous* sample with a flag if it differed from
the running average by more than reject_threshold_vs_avg in either
axis. The next sample time, a beauty contest is held if the flag was
set to decide if we think the previous sample was a one-shot excursion
(detected by the new sample being closer to the average than to the
flagged previous sample), or if we believe we are moving (detected by
the new sample being closer to the flagged previous sample than the
average. In the case that we believe the previous sample was an
excursion, we simply overwrite it with the new data and adjust the
summing average to use the new data instead of the excursion data.
I only tested this by eyeballing the output of ts_print_raw, but it
seemed to be quite a bit better. Gross movement appeared to be
tracked fine too. If folks want to try different heuristics on top
of this patch, be my guest; either way feedback on what it looks like
with a graphical app would be good.
Signed-off-by: Andy Green <[EMAIL PROTECTED]>
--- End Message ---
--- Begin Message ---
Rebased ref, commits from common ancestor:
commit 03d70badb46f2e487f8a94885b78ff9b1c287ae2
Author: Holger Freyther <[EMAIL PROTECTED]>
Date: Tue Jun 17 11:16:55 2008 +0200
[softmenu] Start using X Properties for the Soft Menu to avoid race
conditions
Set properties on the toplevel window about what keys and what labels
and pixmaps should be used. This will make sure that _NET_ACTIVE_WINDOW
changes and softmenu will be properly synchronized. Currently we have
two
mediums that are not synchronized with each other (X11 and QCOP).
We use just one Atom and put the state of all keys into this property.
Currently QDataStream is used to serialize the state but in the future
something like the dbus marshalling could be used to be more portable.
Everytime the property changes the provider of the softmenubar will have
to parse and update.
To update both keys we might end up changing the Atom twice this needs
to be improved.
The setLabelPixmap and setLabelText was tested, clearLabel was _not_
really
tested and needs some more verification.
--- End Message ---
--- Begin Message ---
Author: werner
Date: 2008-06-19 04:26:20 +0200 (Thu, 19 Jun 2008)
New Revision: 4490
Added:
developers/werner/bin/mdflt
Log:
mdflt: a simple Maildir (re)classifier that keeps me from completely drowning
in mails ...
Added: developers/werner/bin/mdflt
===================================================================
--- developers/werner/bin/mdflt (rev 0)
+++ developers/werner/bin/mdflt 2008-06-19 02:26:20 UTC (rev 4490)
@@ -0,0 +1,108 @@
+#!/usr/bin/perl
+#
+# mdflt - Maildir filter
+#
+# Copyright (C) 2008 by Openmoko, Inc.
+# Written 2008 by Werner Almesberger
+#
+# 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.
+#
+
+#
+# This is a very simply classifier for Maildir directories. Unlike procmail,
+# it works on the user's Maildir after reception, so it doesn't need to be
+# inserted into the delivery path.
+#
+# Example use:
+#
+# isync -a
+# cd $HOME/Maildir
+# mdmov -s -r sender foo-list-bounces foo new/*,
+#
+
+
+sub move
+{
+ local ($from, $to) = @_;
+
+ if ($dry_run || $verbose) {
+ print STDERR "$from -> $to\n";
+ }
+ if (!$dry_run) {
+ rename($from, $to) || die "$from -> $to: $!";
+ }
+}
+
+
+sub usage
+{
+ print STDERR
+ "usage: $0 [-d] [-s] [-v] [-r field regexp folder] ... file ...\n";
+ print STDERR" -d dry-run mode\n";
+ print STDERR" -s print statistics at the end\n";
+ print STDERR" -v verbose mode\n";
+ print STDERR" -r field regexp folder add a filing rule\n";
+ exit(1);
+}
+
+
+while ($ARGV[0] =~ /^-/) {
+ if ($ARGV[0] eq "-d") {
+ shift @ARGV;
+ $dry_run = 1;
+ } elsif ($ARGV[0] eq "-s") {
+ shift @ARGV;
+ $stat = 1;
+ } elsif ($ARGV[0] eq "-v") {
+ shift @ARGV;
+ $verbose = 1;
+ } elsif ($ARGV[0] eq "-r") {
+ shift @ARGV;
+ &usage unless defined $ARGV[2];
+ $field[$rules] = uc shift @ARGV;
+ $re[$rules] = shift @ARGV;
+ $folder[$rules] = shift @ARGV;
+ die "$folder[$rules]: $!" unless -d $folder[$rules];
+ $rules++;
+ } else {
+ &usage;
+ }
+}
+
+for $name (@ARGV) {
+ if (!open(FILE, $name)) {
+ warn "$name: $!";
+ next;
+ }
+ undef %hdr;
+ undef $last;
+ while (<FILE>) {
+ chop;
+ last if /^$/;
+ if (/^(\S+):\s+/) {
+ $last = uc $1;
+ $hdr{$last} = $';
+ } elsif (/^\s+/) {
+ die "unexpected continuation in $name:\n$_\n" unless defined $last;
+ $hdr{$last} .= " ".$';
+ } else {
+ die "bad header in $name:\n$_\n";
+ }
+ }
+ for ($i = 0; $i != $rules; $i++) {
+ next unless defined $hdr{$field[$i]};
+ next unless $hdr{$field[$i]} =~ m/$re[$i]/;
+ ($base = $name) =~ s|^.*/||;
+ &move($name, $folder[$i]."/".$base);
+ $cnt[$i]++;
+ }
+ close FILE;
+}
+if ($stat) {
+ for ($i = 0; $i != $rules; $i++) {
+ print STDERR "[$i] $cnt[$i] -> $folder[$i]\n" if $cnt[$i];
+ }
+}
Property changes on: developers/werner/bin/mdflt
___________________________________________________________________
Name: svn:executable
+ *
--- End Message ---
--- Begin Message ---
src/libraries/qtopia/contextkeymanager.cpp | 108 ++++++++++++++++++++
src/libraries/qtopia/contextkeymanager_p.h | 43 ++++++++
src/server/core_server/windowmanagement.h | 1 +
src/server/core_server/windowmanagement_x11.cpp | 36 +++++++
.../softmenubar/qsoftmenubarprovider.cpp | 57 ++++++++++
.../softmenubar/qsoftmenubarprovider.h | 4 +
.../phone/contextlabel/base/contextlabel.cpp | 13 +++
src/server/phone/contextlabel/base/contextlabel.h | 1 +
8 files changed, 263 insertions(+), 0 deletions(-)
New commits:
commit 8cf4803382bb7f64555143c59c3604ed70d42c5d
Merge: d7702623f799bb59ab34ef1aaacdf27f8dd866c5
a400c8c0b27f1d23305a653a8e41e44610f14fd8
Author: Holger Freyther <[EMAIL PROTECTED]>
Date: Thu Jun 19 09:17:18 2008 +0200
Merge branch 'softmenu-rework'
commit a400c8c0b27f1d23305a653a8e41e44610f14fd8
Author: Holger Freyther <[EMAIL PROTECTED]>
Date: Tue Jun 17 11:16:55 2008 +0200
[softmenu] Start using X Properties for the Soft Menu to avoid race
conditions
Set properties on the toplevel window about what keys and what labels
and pixmaps should be used. This will make sure that _NET_ACTIVE_WINDOW
changes and softmenu will be properly synchronized. Currently we have
two
mediums that are not synchronized with each other (X11 and QCOP).
We use just one Atom and put the state of all keys into this property.
Currently QDataStream is used to serialize the state but in the future
something like the dbus marshalling could be used to be more portable.
Everytime the property changes the provider of the softmenubar will have
to parse and update.
To update both keys we might end up changing the Atom twice this needs
to be improved.
The setLabelPixmap and setLabelText was tested, clearLabel was _not_
really
tested and needs some more verification.
--- End Message ---
--- Begin Message ---
conf/distro/include/sane-srcrevs.inc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
New commits:
commit 17b9cdadf37f4c5258873bea468c0c8c70947ade
Author: Holger Hans Peter Freyther <[EMAIL PROTECTED]>
Date: Thu Jun 19 11:32:55 2008 +0200
[srcrev] Upgrade Qtopia to get the softmenu rework. Some bugs should be
fixed
--- End Message ---
--- Begin Message ---
conf/distro/include/sane-srcrevs.inc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
New commits:
commit 776d95cd9a2c0fcd83a5a63faa0fc0cfea08b1ea
Author: Holger Hans Peter Freyther <[EMAIL PROTECTED]>
Date: Thu Jun 19 11:32:55 2008 +0200
[srcrev] Upgrade Qtopia to get the softmenu rework. Some bugs should be
fixed
--- End Message ---
_______________________________________________
commitlog mailing list
commitlog@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/commitlog