Send commitlog mailing list submissions to
[email protected]
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. r2271 - trunk/src/host/qemu-neo1973/hw ([EMAIL PROTECTED])
2. r2272 - trunk/src/host/qemu-neo1973/hw ([EMAIL PROTECTED])
3. r2273 -
trunk/oe/packages/xserver-kdrive-common/xserver-kdrive-common/etc/X11
([EMAIL PROTECTED])
4. r2274 - trunk/src/host/qemu-neo1973/hw ([EMAIL PROTECTED])
5. r2275 - in trunk/src/target/OM-2007:
applications/openmoko-messages/src openmoko-libs/libmokoui
([EMAIL PROTECTED])
6. r2276 -
trunk/src/target/OM-2007/applications/openmoko-messages/src
([EMAIL PROTECTED])
7. r2277 -
trunk/src/target/OM-2007/panel-plugins/openmoko-panel-mainmenu/src
([EMAIL PROTECTED])
8. r2278 - trunk/src/target/OM-2007/openmoko-libs/libmokoui
([EMAIL PROTECTED])
9. r2279 - in trunk/src/target/OM-2007/openmoko-libs: .
libmokoui ([EMAIL PROTECTED])
10. r2280 - trunk/src/target/OM-2007/openmoko-libs/libmokoui
([EMAIL PROTECTED])
11. r2281 -
trunk/src/target/OM-2007/examples/openmoko-stylus-demo/src
([EMAIL PROTECTED])
12. r2282 - in trunk/oe/packages/libxosd: . files
([EMAIL PROTECTED])
--- Begin Message ---
Author: andrew
Date: 2007-06-16 13:47:54 +0200 (Sat, 16 Jun 2007)
New Revision: 2271
Modified:
trunk/src/host/qemu-neo1973/hw/neo1973.c
trunk/src/host/qemu-neo1973/hw/usb-bt.c
Log:
Correctly release the POWER button.
Modified: trunk/src/host/qemu-neo1973/hw/neo1973.c
===================================================================
--- trunk/src/host/qemu-neo1973/hw/neo1973.c 2007-06-16 07:19:19 UTC (rev
2270)
+++ trunk/src/host/qemu-neo1973/hw/neo1973.c 2007-06-16 11:47:54 UTC (rev
2271)
@@ -173,7 +173,7 @@
break;
case 0x39: /* Space */
qemu_set_irq(s->kbd_pic[GTA01_IRQ_HOLD_KEY], !(keycode & 0x80));
- pcf_onkey_set(s->pmu, !(keycode & 80)); /* Active LOW */
+ pcf_onkey_set(s->pmu, !(keycode & 0x80)); /* Active LOW */
break;
}
}
Modified: trunk/src/host/qemu-neo1973/hw/usb-bt.c
===================================================================
--- trunk/src/host/qemu-neo1973/hw/usb-bt.c 2007-06-16 07:19:19 UTC (rev
2270)
+++ trunk/src/host/qemu-neo1973/hw/usb-bt.c 2007-06-16 11:47:54 UTC (rev
2271)
@@ -295,7 +295,6 @@
{
struct USBBtState *s = (struct USBBtState *) dev->opaque;
int ret = 0;
- printf("setup token req %x val %x idx %x len %x\n", request, value,
index, length);////
switch (request) {
case DeviceRequest | USB_REQ_GET_STATUS:
--- End Message ---
--- Begin Message ---
Author: andrew
Date: 2007-06-16 13:55:19 +0200 (Sat, 16 Jun 2007)
New Revision: 2272
Modified:
trunk/src/host/qemu-neo1973/hw/pcf5060x.c
Log:
Keep re-issuing ONKEY1S irq for as long as the button is down.
Modified: trunk/src/host/qemu-neo1973/hw/pcf5060x.c
===================================================================
--- trunk/src/host/qemu-neo1973/hw/pcf5060x.c 2007-06-16 11:47:54 UTC (rev
2271)
+++ trunk/src/host/qemu-neo1973/hw/pcf5060x.c 2007-06-16 11:55:19 UTC (rev
2272)
@@ -784,6 +784,8 @@
s->intr[0] |= 1 << 2; /* set ONKEY1S */
pcf_update(s);
+ /* Does the timer start when INTR0[ONKEY1S] is cleared instead? */
+ qemu_mod_timer(s->onkeylow, qemu_get_clock(vm_clock) + ticks_per_sec);
}
static void pcf_save(QEMUFile *f, void *opaque)
--- End Message ---
--- Begin Message ---
Author: stefan
Date: 2007-06-16 15:05:43 +0200 (Sat, 16 Jun 2007)
New Revision: 2273
Modified:
trunk/oe/packages/xserver-kdrive-common/xserver-kdrive-common/etc/X11/Xserver
Log:
* Correct typo for font path. Should close #608.
Modified:
trunk/oe/packages/xserver-kdrive-common/xserver-kdrive-common/etc/X11/Xserver
===================================================================
---
trunk/oe/packages/xserver-kdrive-common/xserver-kdrive-common/etc/X11/Xserver
2007-06-16 11:55:19 UTC (rev 2272)
+++
trunk/oe/packages/xserver-kdrive-common/xserver-kdrive-common/etc/X11/Xserver
2007-06-16 13:05:43 UTC (rev 2273)
@@ -44,7 +44,7 @@
export USER=root
-ARGS=" -br -pn -pf built-ins,/usr/share/fonts/ttf,/usr/share/fonts/truetype"
+ARGS=" -br -pn -fp built-ins,/usr/share/fonts/ttf,/usr/share/fonts/truetype"
# use ucb 1x00 touchscreen if present
if [ -z "$TSLIB_TSDEVICE" ] && [ -e /dev/touchscreen/ucb1x00 ]; then
--- End Message ---
--- Begin Message ---
Author: andrew
Date: 2007-06-16 16:20:12 +0200 (Sat, 16 Jun 2007)
New Revision: 2274
Modified:
trunk/src/host/qemu-neo1973/hw/s3c2410.c
Log:
Slightly speed up DMA operation (only used for audio).
Modified: trunk/src/host/qemu-neo1973/hw/s3c2410.c
===================================================================
--- trunk/src/host/qemu-neo1973/hw/s3c2410.c 2007-06-16 13:05:43 UTC (rev
2273)
+++ trunk/src/host/qemu-neo1973/hw/s3c2410.c 2007-06-16 14:20:12 UTC (rev
2274)
@@ -722,7 +722,7 @@
ch->cdst += width;
}
- if (!(ch->con & (1 << 27))) /*
SERVMODE */
+ if (!(ch->con & (1 << 27)) && !ch->req) /* SERVMODE */
break;
}
ch->running = 0;
--- End Message ---
--- Begin Message ---
Author: mickey
Date: 2007-06-16 16:28:40 +0200 (Sat, 16 Jun 2007)
New Revision: 2275
Modified:
trunk/src/target/OM-2007/applications/openmoko-messages/src/detail-area.c
trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-tree-view.c
Log:
make parent_class object static. fixes #612
thanks Elrond!
Modified:
trunk/src/target/OM-2007/applications/openmoko-messages/src/detail-area.c
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-messages/src/detail-area.c
2007-06-16 14:20:12 UTC (rev 2274)
+++ trunk/src/target/OM-2007/applications/openmoko-messages/src/detail-area.c
2007-06-16 14:28:40 UTC (rev 2275)
@@ -32,7 +32,7 @@
}DetailAreaPrivate;
/* parent class pointer */
-GtkWindowClass* parent_class = NULL;
+static GtkWindowClass* parent_class = NULL;
static void
detail_area_dispose (GObject *object)
Modified: trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-tree-view.c
===================================================================
--- trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-tree-view.c
2007-06-16 14:20:12 UTC (rev 2274)
+++ trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-tree-view.c
2007-06-16 14:28:40 UTC (rev 2275)
@@ -35,7 +35,7 @@
} MokoTreeViewPrivate;
/* parent class pointer */
-GObjectClass* parent_class = NULL;
+static GObjectClass* parent_class = NULL;
/* forward declarations */
void moko_tree_view_size_request(GtkWidget* widget, GtkRequisition*
requisition);
--- End Message ---
--- Begin Message ---
Author: mickey
Date: 2007-06-16 16:35:29 +0200 (Sat, 16 Jun 2007)
New Revision: 2276
Modified:
trunk/src/target/OM-2007/applications/openmoko-messages/src/Makefile.am
Log:
openmoko-messages: build and make distcheck related improvements.
closes #536
thanks Rodolphe Ortalo!
Modified:
trunk/src/target/OM-2007/applications/openmoko-messages/src/Makefile.am
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-messages/src/Makefile.am
2007-06-16 14:28:40 UTC (rev 2275)
+++ trunk/src/target/OM-2007/applications/openmoko-messages/src/Makefile.am
2007-06-16 14:35:29 UTC (rev 2276)
@@ -1,5 +1,6 @@
AM_CPPFLAGS = -DDATADIR=\"$(datadir)\" \
- -DPKGDATADIR=\"$(pkgdatadir)\"
+ -DPKGDATADIR=\"$(pkgdatadir)\" \
+ -DDBUS_API_SUBJECT_TO_CHANGE
INCLUDES = -DPKGDATADIR=\"$(pkgdatadir)\" @OPENMOKO_CFLAGS@ -Wall -std=c99
-pedantic
@@ -11,7 +12,8 @@
detail-area.c detail-area.h \
sms-dialog-window.c sms-dialog-window.h \
sms-membership-window.c sms-membership-window.h \
- sms-contact-window.c sms-contact-window.h
+ sms-contact-window.c sms-contact-window.h \
+ message.h
openmoko_messages_LDADD = @OPENMOKO_LIBS@
--- End Message ---
--- Begin Message ---
Author: mickey
Date: 2007-06-16 17:09:10 +0200 (Sat, 16 Jun 2007)
New Revision: 2277
Modified:
trunk/src/target/OM-2007/panel-plugins/openmoko-panel-mainmenu/src/buttonactions.c
Log:
openmoko-panel-mainmenu: give some feedback during powerdown / restart
Modified:
trunk/src/target/OM-2007/panel-plugins/openmoko-panel-mainmenu/src/buttonactions.c
===================================================================
---
trunk/src/target/OM-2007/panel-plugins/openmoko-panel-mainmenu/src/buttonactions.c
2007-06-16 14:35:29 UTC (rev 2276)
+++
trunk/src/target/OM-2007/panel-plugins/openmoko-panel-mainmenu/src/buttonactions.c
2007-06-16 15:09:10 UTC (rev 2277)
@@ -18,6 +18,8 @@
*/
#include "buttonactions.h"
+#include <libmokoui/moko-ui.h>
+
#include <gtk/gtklabel.h>
#include <gtk/gtkmenu.h>
#include <gtk/gtkmenuitem.h>
@@ -313,14 +315,14 @@
void panel_mainmenu_popup_selected_reboot( GtkMenuItem* menu, gpointer
user_data )
{
//FIXME talk to neod
- //FIXME notify user
+ moko_ui_banner_show_text( 4, "Rebooting System..." );
system( "/sbin/reboot");
}
void panel_mainmenu_popup_selected_poweroff( GtkMenuItem* menu, gpointer
user_data )
{
//FIXME talk to neod
- //FIXME notify user
+ moko_ui_banner_show_text( 4, "Shutting down System..." );
system( "/sbin/poweroff");
}
--- End Message ---
--- Begin Message ---
Author: mickey
Date: 2007-06-16 17:13:48 +0200 (Sat, 16 Jun 2007)
New Revision: 2278
Modified:
trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-banner.c
Log:
libmokoui/moko-banner: tweak look
Modified: trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-banner.c
===================================================================
--- trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-banner.c
2007-06-16 15:09:10 UTC (rev 2277)
+++ trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-banner.c
2007-06-16 15:13:48 UTC (rev 2278)
@@ -85,7 +85,7 @@
xosd_set_colour( klass->osd, "orange" ); // x11 should gain a
moko-orange...
xosd_set_outline_offset( klass->osd, 2 );
xosd_set_outline_colour( klass->osd, "black" );
- xosd_set_shadow_offset( klass->osd, 5 );
+ xosd_set_shadow_offset( klass->osd, 4 );
xosd_set_pos( klass->osd, XOSD_middle );
xosd_set_vertical_offset( klass->osd, -100 );
xosd_set_align( klass->osd, XOSD_center );
--- End Message ---
--- Begin Message ---
Author: mickey
Date: 2007-06-16 17:14:32 +0200 (Sat, 16 Jun 2007)
New Revision: 2279
Modified:
trunk/src/target/OM-2007/openmoko-libs/ChangeLog
trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-ui.h
Log:
libmokoui/moko-ui: add convenience function for showing a MokoBanner
Modified: trunk/src/target/OM-2007/openmoko-libs/ChangeLog
===================================================================
--- trunk/src/target/OM-2007/openmoko-libs/ChangeLog 2007-06-16 15:13:48 UTC
(rev 2278)
+++ trunk/src/target/OM-2007/openmoko-libs/ChangeLog 2007-06-16 15:14:32 UTC
(rev 2279)
@@ -1,3 +1,16 @@
+2007-06-16 Mickey <[EMAIL PROTECTED]>
+
+ * libmokoui/moko-scrolled-pane.h:
+ * libmokoui/moko-scrolled-pane.c:
+
+ Add function for changing the position of
+ the fullscreen button. NOTE: API may vanish,
+ please don't just rely on it now.
+
+ * libmokoui/moko.ui.h:
+
+ Add convenience API for showing a MokoBanner
+
2007-06-15 Mickey <[EMAIL PROTECTED]>
* libmokoui/banner.c:
Modified: trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-ui.h
===================================================================
--- trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-ui.h 2007-06-16
15:13:48 UTC (rev 2278)
+++ trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-ui.h 2007-06-16
15:14:32 UTC (rev 2279)
@@ -22,6 +22,7 @@
#include "moko-alignment.h"
#include "moko-application.h"
+#include "moko-banner.h"
#include "moko-details-window.h"
#include "moko-dialog.h"
#include "moko-dialog-window.h"
@@ -41,4 +42,17 @@
#include "moko-tree-view.h"
#include "moko-window.h"
+void moko_ui_banner_show_text( gint timeout, const gchar* message, ... )
+{
+ va_list a;
+ g_return_if_fail( timeout ); // don't allow permanent banners using the
simple interface
+ va_start( a, message );
+ const gchar* string = g_strdup_vprintf( message, a );
+ va_end( a );
+ MokoBanner* banner = moko_banner_new();
+ moko_banner_show_text( banner, string, timeout );
+ g_object_unref( banner );
+ g_free( string );
+}
+
#endif /* _MOKO_UI_H_ */
--- End Message ---
--- Begin Message ---
Author: mickey
Date: 2007-06-16 17:15:34 +0200 (Sat, 16 Jun 2007)
New Revision: 2280
Modified:
trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-scrolled-pane.c
trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-scrolled-pane.h
Log:
libmokoui/moko-scrolled-pane.*: add function for tweaking position of
fullscreen toggle button. NOTE: don't rely on that API yet, it may
vanish again...
Modified: trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-scrolled-pane.c
===================================================================
--- trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-scrolled-pane.c
2007-06-16 15:14:32 UTC (rev 2279)
+++ trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-scrolled-pane.c
2007-06-16 15:15:34 UTC (rev 2280)
@@ -2,7 +2,7 @@
*
* Authored By Michael 'Mickey' Lauer <[EMAIL PROTECTED]>
*
- * Copyright (C) 2007 Vanille-Media
+ * Copyright (C) 2007 OpenMoko, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Public License as published by
@@ -191,3 +191,8 @@
return child;
}
+void moko_scrolled_pane_set_fullscreen_position( MokoScrolledPane* self,
gboolean top )
+{
+ MokoScrolledPanePrivate* priv = SCROLLED_PANE_GET_PRIVATE( self );
+ gtk_box_reorder_child( GTK_BOX(priv->vbox), GTK_WIDGET(priv->button), top
? 1: 0 );
+}
Modified: trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-scrolled-pane.h
===================================================================
--- trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-scrolled-pane.h
2007-06-16 15:14:32 UTC (rev 2279)
+++ trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-scrolled-pane.h
2007-06-16 15:15:34 UTC (rev 2280)
@@ -2,7 +2,7 @@
*
* Authored By Michael 'Mickey' Lauer <[EMAIL PROTECTED]>
*
- * Copyright (C) 2007 Vanille-Media
+ * Copyright (C) 2007 OpenMoko, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Public License as published by
@@ -47,6 +47,7 @@
void moko_scrolled_pane_unpack (MokoScrolledPane *pane, GtkWidget *child);
GtkWidget *moko_scrolled_pane_get_child (MokoScrolledPane *pane);
void moko_scrolled_pane_pack_with_viewport (MokoScrolledPane *pane, GtkWidget
*child);
+void moko_scrolled_pane_set_fullscreen_position( MokoScrolledPane* self,
gboolean top );
G_END_DECLS
--- End Message ---
--- Begin Message ---
Author: mickey
Date: 2007-06-16 17:15:57 +0200 (Sat, 16 Jun 2007)
New Revision: 2281
Modified:
trunk/src/target/OM-2007/examples/openmoko-stylus-demo/src/demo-main.c
Log:
openmoko-stylus-demo: utilize some of the new functions in libmokoui
Modified: trunk/src/target/OM-2007/examples/openmoko-stylus-demo/src/demo-main.c
===================================================================
--- trunk/src/target/OM-2007/examples/openmoko-stylus-demo/src/demo-main.c
2007-06-16 15:15:34 UTC (rev 2280)
+++ trunk/src/target/OM-2007/examples/openmoko-stylus-demo/src/demo-main.c
2007-06-16 15:15:57 UTC (rev 2281)
@@ -17,14 +17,7 @@
* Current Version: $Rev$ ($Date$) [$Author$]
*/
-#include <libmokoui/moko-application.h>
-#include <libmokoui/moko-banner.h>
-#include <libmokoui/moko-scrolled-pane.h>
-#include <libmokoui/moko-dialog-window.h>
-#include <libmokoui/moko-paned-window.h>
-#include <libmokoui/moko-tool-box.h>
-#include <libmokoui/moko-tree-view.h>
-#include <libmokoui/moko-window.h>
+#include <libmokoui/moko-ui.h>
#include <gtk/gtkactiongroup.h>
#include <gtk/gtkbutton.h>
@@ -122,9 +115,7 @@
g_debug( "openmoko-stylus-demo: searchbox now visible" );
// populate the entry completion here and/or connect signals to entry
- MokoBanner* banner = moko_banner_new();
- moko_banner_show_text( banner, "Searchbox visible", 2 );
- g_object_unref( banner );
+ moko_ui_banner_show_text( 2, "Searchbox now visible" );
}
void cb_searchbox_invisible(MokoToolBox* toolbox, gpointer user_data)
@@ -139,9 +130,7 @@
void cb_filter_changed(GtkMenu* menu, gchar* text, gpointer user_data )
{
g_debug( "openmoko-stylus-demo: filter changed to '%s'", text );
- MokoBanner* banner = moko_banner_new();
- moko_banner_show_text( banner, "Filter has been changed", 2 );
- g_object_unref( banner );
+ moko_ui_banner_show_text( 2, "Filter has been changed to %s", text );
}
void cb_button1_clicked(GtkButton *button, gpointer user_data)
@@ -373,6 +362,7 @@
"\nto make the fullscreen\n \ntrigger more interesting\n \n \n" );
MokoScrolledPane* detailswindow = moko_scrolled_pane_new();
+ moko_scrolled_pane_set_fullscreen_position( detailswindow, 1 );
moko_scrolled_pane_pack_with_viewport (MOKO_SCROLLED_PANE (detailswindow),
GTK_WIDGET (details));
moko_paned_window_set_details_pane( window, GTK_WIDGET(detailswindow) );
--- End Message ---
--- Begin Message ---
Author: mickey
Date: 2007-06-16 17:23:39 +0200 (Sat, 16 Jun 2007)
New Revision: 2282
Added:
trunk/oe/packages/libxosd/files/use-sane-default-font.patch
Modified:
trunk/oe/packages/libxosd/libxosd_svn.bb
Log:
oe/libxosd: add patch making libxosd using 'fixed' as default font --
this font is guaranteed to be always present on the Xserver
(remember, this is core font, not freetype or xft)
Added: trunk/oe/packages/libxosd/files/use-sane-default-font.patch
===================================================================
--- trunk/oe/packages/libxosd/files/use-sane-default-font.patch 2007-06-16
15:15:57 UTC (rev 2281)
+++ trunk/oe/packages/libxosd/files/use-sane-default-font.patch 2007-06-16
15:23:39 UTC (rev 2282)
@@ -0,0 +1,13 @@
+Index: current/src/libxosd/xosd.c
+===================================================================
+--- current.orig/src/libxosd/xosd.c
++++ current/src/libxosd/xosd.c
+@@ -26,7 +26,7 @@
+ #define XOFFSET 10
+
+ const char *osd_default_font =
+- "-misc-fixed-medium-r-semicondensed--*-*-*-*-c-*-*-*";
++ "fixed";
+ #if 0
+ "-adobe-helvetica-bold-r-*-*-10-*";
+ #endif
Modified: trunk/oe/packages/libxosd/libxosd_svn.bb
===================================================================
--- trunk/oe/packages/libxosd/libxosd_svn.bb 2007-06-16 15:15:57 UTC (rev
2281)
+++ trunk/oe/packages/libxosd/libxosd_svn.bb 2007-06-16 15:23:39 UTC (rev
2282)
@@ -3,10 +3,11 @@
DEPENDS = "virtual/libx11 libxext"
LICENSE = "LGPL"
PV = "2.2.15+svn${SRCDATE}"
-PR = "r0"
+PR = "r3"
SRC_URI =
"svn://libxosd.svn.sourceforge.net/svnroot/libxosd/source;module=current;proto=https
\
- file://autofoo.patch;patch=1"
+ file://autofoo.patch;patch=1 \
+ file://use-sane-default-font.patch;patch=1"
S = "${WORKDIR}/current"
inherit autotools binconfig
--- End Message ---
_______________________________________________
commitlog mailing list
[email protected]
http://lists.openmoko.org/mailman/listinfo/commitlog