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. r1900 - in trunk/src/target/OM-2007/artwork/icons: .
openmoko-standard openmoko-standard/128x128/actions
openmoko-standard/128x128/apps
openmoko-standard/128x128/categories
openmoko-standard/128x128/places openmoko-standard/32x32/actions
openmoko-standard/32x32/apps openmoko-standard/32x32/categories
openmoko-standard/32x32/places openmoko-standard/48x48/actions
openmoko-standard/48x48/apps openmoko-standard/48x48/categories
openmoko-standard/48x48/places openmoko-standard/scalable/stock
([EMAIL PROTECTED])
2. r1901 -
trunk/src/target/OM-2007/applications/openmoko-footer/src
([EMAIL PROTECTED])
3. r1902 - trunk/oe/conf/distro/include ([EMAIL PROTECTED])
4. r1903 - in trunk/oe: conf/distro/include
packages/openmoko-pim packages/tasks ([EMAIL PROTECTED])
5. r1904 - in
trunk/src/target/OM-2007/applications/openmoko-rssreader: . src
([EMAIL PROTECTED])
6. r1905 - in
trunk/src/target/OM-2007/applications/openmoko-rssreader: . src
([EMAIL PROTECTED])
--- Begin Message ---
Author: thomas
Date: 2007-05-03 12:36:30 +0200 (Thu, 03 May 2007)
New Revision: 1900
Modified:
trunk/src/target/OM-2007/artwork/icons/configure.ac
trunk/src/target/OM-2007/artwork/icons/openmoko-standard/128x128/actions/Makefile.am
trunk/src/target/OM-2007/artwork/icons/openmoko-standard/128x128/apps/Makefile.am
trunk/src/target/OM-2007/artwork/icons/openmoko-standard/128x128/categories/Makefile.am
trunk/src/target/OM-2007/artwork/icons/openmoko-standard/128x128/places/Makefile.am
trunk/src/target/OM-2007/artwork/icons/openmoko-standard/32x32/actions/Makefile.am
trunk/src/target/OM-2007/artwork/icons/openmoko-standard/32x32/apps/Makefile.am
trunk/src/target/OM-2007/artwork/icons/openmoko-standard/32x32/categories/Makefile.am
trunk/src/target/OM-2007/artwork/icons/openmoko-standard/32x32/places/Makefile.am
trunk/src/target/OM-2007/artwork/icons/openmoko-standard/48x48/actions/Makefile.am
trunk/src/target/OM-2007/artwork/icons/openmoko-standard/48x48/apps/Makefile.am
trunk/src/target/OM-2007/artwork/icons/openmoko-standard/48x48/categories/Makefile.am
trunk/src/target/OM-2007/artwork/icons/openmoko-standard/48x48/places/Makefile.am
trunk/src/target/OM-2007/artwork/icons/openmoko-standard/Makefile.am
trunk/src/target/OM-2007/artwork/icons/openmoko-standard/index.theme
trunk/src/target/OM-2007/artwork/icons/openmoko-standard/scalable/stock/Makefile.am
Log:
icons: update makefiles
Modified: trunk/src/target/OM-2007/artwork/icons/configure.ac
===================================================================
--- trunk/src/target/OM-2007/artwork/icons/configure.ac 2007-05-03 09:58:37 UTC
(rev 1899)
+++ trunk/src/target/OM-2007/artwork/icons/configure.ac 2007-05-03 10:36:30 UTC
(rev 1900)
@@ -9,11 +9,15 @@
AC_CONFIG_FILES([
Makefile
openmoko-standard/Makefile
+openmoko-standard/22x22/Makefile
+openmoko-standard/22x22/stock/Makefile
openmoko-standard/32x32/Makefile
openmoko-standard/32x32/apps/Makefile
openmoko-standard/32x32/categories/Makefile
openmoko-standard/32x32/places/Makefile
openmoko-standard/32x32/actions/Makefile
+openmoko-standard/36x36/Makefile
+openmoko-standard/36x36/stock/Makefile
openmoko-standard/128x128/Makefile
openmoko-standard/128x128/apps/Makefile
openmoko-standard/128x128/categories/Makefile
Modified:
trunk/src/target/OM-2007/artwork/icons/openmoko-standard/128x128/actions/Makefile.am
===================================================================
---
trunk/src/target/OM-2007/artwork/icons/openmoko-standard/128x128/actions/Makefile.am
2007-05-03 09:58:37 UTC (rev 1899)
+++
trunk/src/target/OM-2007/artwork/icons/openmoko-standard/128x128/actions/Makefile.am
2007-05-03 10:36:30 UTC (rev 1900)
@@ -4,3 +4,4 @@
iconsdir = $(themedir)/$(size)/$(context)
icons_DATA = system-search.png
EXTRA_DIST = $(icons_DATA)
+MAINTAINERCLEANFILES = Makefile.in
Modified:
trunk/src/target/OM-2007/artwork/icons/openmoko-standard/128x128/apps/Makefile.am
===================================================================
---
trunk/src/target/OM-2007/artwork/icons/openmoko-standard/128x128/apps/Makefile.am
2007-05-03 09:58:37 UTC (rev 1899)
+++
trunk/src/target/OM-2007/artwork/icons/openmoko-standard/128x128/apps/Makefile.am
2007-05-03 10:36:30 UTC (rev 1900)
@@ -4,3 +4,4 @@
iconsdir = $(themedir)/$(size)/$(context)
icons_DATA = accessories-text-editor.png call-preview.png contacts.png
dates.png help-browser.png openmoko-appmanager.png openmoko-clock.png
openmoko-dateandtime.png openmoko-dialer.png openmoko-gps.png
openmoko-mailpreview.png openmoko-messages.png openmoko-photo-album.png
openmoko-picture-preview.png openmoko-rss.png openmoko-sketchbook.png
openmoko-soundandvideo.png openmoko-today.png system-file-manager.png
utilities-terminal.png
EXTRA_DIST = $(icons_DATA)
+MAINTAINERCLEANFILES = Makefile.in
Modified:
trunk/src/target/OM-2007/artwork/icons/openmoko-standard/128x128/categories/Makefile.am
===================================================================
---
trunk/src/target/OM-2007/artwork/icons/openmoko-standard/128x128/categories/Makefile.am
2007-05-03 09:58:37 UTC (rev 1899)
+++
trunk/src/target/OM-2007/artwork/icons/openmoko-standard/128x128/categories/Makefile.am
2007-05-03 10:36:30 UTC (rev 1900)
@@ -4,3 +4,4 @@
iconsdir = $(themedir)/$(size)/$(context)
icons_DATA = applications-accessories.png applications-development.png
applications-games.png applications-internet.png applications-multimedia.png
applications-office.png applications-other.png applications-system.png
preferences-desktop-screensaver.png preferences-system.png
EXTRA_DIST = $(icons_DATA)
+MAINTAINERCLEANFILES = Makefile.in
Modified:
trunk/src/target/OM-2007/artwork/icons/openmoko-standard/128x128/places/Makefile.am
===================================================================
---
trunk/src/target/OM-2007/artwork/icons/openmoko-standard/128x128/places/Makefile.am
2007-05-03 09:58:37 UTC (rev 1899)
+++
trunk/src/target/OM-2007/artwork/icons/openmoko-standard/128x128/places/Makefile.am
2007-05-03 10:36:30 UTC (rev 1900)
@@ -4,3 +4,4 @@
iconsdir = $(themedir)/$(size)/$(context)
icons_DATA = start-here.png
EXTRA_DIST = $(icons_DATA)
+MAINTAINERCLEANFILES = Makefile.in
Modified:
trunk/src/target/OM-2007/artwork/icons/openmoko-standard/32x32/actions/Makefile.am
===================================================================
---
trunk/src/target/OM-2007/artwork/icons/openmoko-standard/32x32/actions/Makefile.am
2007-05-03 09:58:37 UTC (rev 1899)
+++
trunk/src/target/OM-2007/artwork/icons/openmoko-standard/32x32/actions/Makefile.am
2007-05-03 10:36:30 UTC (rev 1900)
@@ -4,3 +4,4 @@
iconsdir = $(themedir)/$(size)/$(context)
icons_DATA = system-search.png
EXTRA_DIST = $(icons_DATA)
+MAINTAINERCLEANFILES = Makefile.in
Modified:
trunk/src/target/OM-2007/artwork/icons/openmoko-standard/32x32/apps/Makefile.am
===================================================================
---
trunk/src/target/OM-2007/artwork/icons/openmoko-standard/32x32/apps/Makefile.am
2007-05-03 09:58:37 UTC (rev 1899)
+++
trunk/src/target/OM-2007/artwork/icons/openmoko-standard/32x32/apps/Makefile.am
2007-05-03 10:36:30 UTC (rev 1900)
@@ -4,3 +4,4 @@
iconsdir = $(themedir)/$(size)/$(context)
icons_DATA = accessories-text-editor.png call-preview.png contacts.png
dates.png help-browser.png openmoko-appmanager.png openmoko-clock.png
openmoko-dateandtime.png openmoko-dialer.png openmoko-gps.png
openmoko-mailpreview.png openmoko-messages.png openmoko-photo-album.png
openmoko-picture-preview.png openmoko-rss.png openmoko-sketchbook.png
openmoko-soundandvideo.png openmoko-system-default.png openmoko-today.png
system-file-manager.png utilities-terminal.png
EXTRA_DIST = $(icons_DATA)
+MAINTAINERCLEANFILES = Makefile.in
Modified:
trunk/src/target/OM-2007/artwork/icons/openmoko-standard/32x32/categories/Makefile.am
===================================================================
---
trunk/src/target/OM-2007/artwork/icons/openmoko-standard/32x32/categories/Makefile.am
2007-05-03 09:58:37 UTC (rev 1899)
+++
trunk/src/target/OM-2007/artwork/icons/openmoko-standard/32x32/categories/Makefile.am
2007-05-03 10:36:30 UTC (rev 1900)
@@ -4,3 +4,4 @@
iconsdir = $(themedir)/$(size)/$(context)
icons_DATA = applications-accessories.png applications-development.png
applications-games.png applications-internet.png applications-multimedia.png
applications-office.png applications-other.png applications-system.png
preferences-desktop-screensaver.png preferences-system.png
EXTRA_DIST = $(icons_DATA)
+MAINTAINERCLEANFILES = Makefile.in
Modified:
trunk/src/target/OM-2007/artwork/icons/openmoko-standard/32x32/places/Makefile.am
===================================================================
---
trunk/src/target/OM-2007/artwork/icons/openmoko-standard/32x32/places/Makefile.am
2007-05-03 09:58:37 UTC (rev 1899)
+++
trunk/src/target/OM-2007/artwork/icons/openmoko-standard/32x32/places/Makefile.am
2007-05-03 10:36:30 UTC (rev 1900)
@@ -4,3 +4,4 @@
iconsdir = $(themedir)/$(size)/$(context)
icons_DATA = start-here.png
EXTRA_DIST = $(icons_DATA)
+MAINTAINERCLEANFILES = Makefile.in
Modified:
trunk/src/target/OM-2007/artwork/icons/openmoko-standard/48x48/actions/Makefile.am
===================================================================
---
trunk/src/target/OM-2007/artwork/icons/openmoko-standard/48x48/actions/Makefile.am
2007-05-03 09:58:37 UTC (rev 1899)
+++
trunk/src/target/OM-2007/artwork/icons/openmoko-standard/48x48/actions/Makefile.am
2007-05-03 10:36:30 UTC (rev 1900)
@@ -4,3 +4,4 @@
iconsdir = $(themedir)/$(size)/$(context)
icons_DATA = system-search.png
EXTRA_DIST = $(icons_DATA)
+MAINTAINERCLEANFILES = Makefile.in
Modified:
trunk/src/target/OM-2007/artwork/icons/openmoko-standard/48x48/apps/Makefile.am
===================================================================
---
trunk/src/target/OM-2007/artwork/icons/openmoko-standard/48x48/apps/Makefile.am
2007-05-03 09:58:37 UTC (rev 1899)
+++
trunk/src/target/OM-2007/artwork/icons/openmoko-standard/48x48/apps/Makefile.am
2007-05-03 10:36:30 UTC (rev 1900)
@@ -4,3 +4,4 @@
iconsdir = $(themedir)/$(size)/$(context)
icons_DATA = accessories-text-editor.png call-preview.png contacts.png
dates.png help-browser.png openmoko-appmanager.png openmoko-clock.png
openmoko-dateandtime.png openmoko-dialer.png openmoko-gps.png
openmoko-messages.png openmoko-photo-album.png openmoko-picture-preview.png
openmoko-rss.png openmoko-sketchbook.png openmoko-soundandvideo.png
openmoko-system-default.png openmoko-today.png system-file-manager.png
utilities-terminal.png
EXTRA_DIST = $(icons_DATA)
+MAINTAINERCLEANFILES = Makefile.in
Modified:
trunk/src/target/OM-2007/artwork/icons/openmoko-standard/48x48/categories/Makefile.am
===================================================================
---
trunk/src/target/OM-2007/artwork/icons/openmoko-standard/48x48/categories/Makefile.am
2007-05-03 09:58:37 UTC (rev 1899)
+++
trunk/src/target/OM-2007/artwork/icons/openmoko-standard/48x48/categories/Makefile.am
2007-05-03 10:36:30 UTC (rev 1900)
@@ -4,3 +4,4 @@
iconsdir = $(themedir)/$(size)/$(context)
icons_DATA = applications-accessories.png applications-development.png
applications-games.png applications-internet.png applications-multimedia.png
applications-office.png applications-other.png applications-system.png
preferences-desktop-screensaver.png preferences-system.png
EXTRA_DIST = $(icons_DATA)
+MAINTAINERCLEANFILES = Makefile.in
Modified:
trunk/src/target/OM-2007/artwork/icons/openmoko-standard/48x48/places/Makefile.am
===================================================================
---
trunk/src/target/OM-2007/artwork/icons/openmoko-standard/48x48/places/Makefile.am
2007-05-03 09:58:37 UTC (rev 1899)
+++
trunk/src/target/OM-2007/artwork/icons/openmoko-standard/48x48/places/Makefile.am
2007-05-03 10:36:30 UTC (rev 1900)
@@ -4,3 +4,4 @@
iconsdir = $(themedir)/$(size)/$(context)
icons_DATA = start-here.png
EXTRA_DIST = $(icons_DATA)
+MAINTAINERCLEANFILES = Makefile.in
Modified: trunk/src/target/OM-2007/artwork/icons/openmoko-standard/Makefile.am
===================================================================
--- trunk/src/target/OM-2007/artwork/icons/openmoko-standard/Makefile.am
2007-05-03 09:58:37 UTC (rev 1899)
+++ trunk/src/target/OM-2007/artwork/icons/openmoko-standard/Makefile.am
2007-05-03 10:36:30 UTC (rev 1900)
@@ -1,4 +1,4 @@
-SUBDIRS=128x128 32x32 48x48 scalable
+SUBDIRS=128x128 32x32 22x22 48x48 scalable
themedir = $(datadir)/icons/openmoko-standard
theme_DATA = index.theme
EXTRA_DIST = index.theme
Modified: trunk/src/target/OM-2007/artwork/icons/openmoko-standard/index.theme
===================================================================
--- trunk/src/target/OM-2007/artwork/icons/openmoko-standard/index.theme
2007-05-03 09:58:37 UTC (rev 1899)
+++ trunk/src/target/OM-2007/artwork/icons/openmoko-standard/index.theme
2007-05-03 10:36:30 UTC (rev 1900)
@@ -2,9 +2,18 @@
Name=OpenMoko
Comment=OpenMoko Icon Theme
-Directories=128x128/apps,128x128/categories,128x128/places,128x128/actions,32x32/apps,32x32/categories,32x32/places,32x32/actions,48x48/apps,48x48/categories,48x48/places,48x48/actions,scalable/stock
+Directories=22x22/stock,32x32/actions,32x32/apps,32x32/categories,32x32/places,36x36/stock,48x48/actions,48x48/apps,48x48/categories,48x48/places,128x128/actions,128x128/apps,128x128/categories,128x128/places,
+[22x22/stock]
+Size=22
+Context=stock
+Type=Fixed
+[32x32/actions]
+Size=32
+Context=actions
+Type=Fixed
+
[32x32/apps]
Size=32
Context=apps
@@ -20,8 +29,13 @@
Context=places
Type=Fixed
-[32x32/actions]
-Size=32
+[36x36/stock]
+Size=36
+Context=stock
+Type=Fixed
+
+[48x48/actions]
+Size=48
Context=actions
Type=Fixed
@@ -40,12 +54,11 @@
Context=places
Type=Fixed
-[48x48/actions]
-Size=48
+[128x128/actions]
+Size=128
Context=actions
Type=Fixed
-
[128x128/apps]
Size=128
Context=apps
@@ -59,15 +72,4 @@
[128x128/places]
Size=128
Context=places
-Type=Fixed
-
-[128x128/actions]
-Size=128
-Context=actions
-Type=Fixed
-
-
-[scalable/stock]
-Size=24
-Context=Stock
-Type=Scalable
+Type=Fixed
\ No newline at end of file
Modified:
trunk/src/target/OM-2007/artwork/icons/openmoko-standard/scalable/stock/Makefile.am
===================================================================
---
trunk/src/target/OM-2007/artwork/icons/openmoko-standard/scalable/stock/Makefile.am
2007-05-03 09:58:37 UTC (rev 1899)
+++
trunk/src/target/OM-2007/artwork/icons/openmoko-standard/scalable/stock/Makefile.am
2007-05-03 10:36:30 UTC (rev 1900)
@@ -4,3 +4,4 @@
iconsdir = $(themedir)/$(size)/$(context)
icons_DATA = gtk-about.svg gtk-add.svg gtk-apply.svg gtk-bold.svg
gtk-cancel.svg gtk-cdrom.svg gtk-clear.svg gtk-close.svg gtk-color-picker.svg
gtk-connect.svg gtk-convert.svg gtk-copy.svg gtk-cut.svg gtk-delete.svg
gtk-dialog-authentication.svg gtk-dialog-error.svg gtk-dialog-question.svg
gtk-dialog-warning.svg gtk-directory.svg gtk-disconnect.svg
gtk-dnd-multiple.svg gtk-dnd.svg gtk-edit.svg gtk-execute.svg gtk-file.svg
gtk-find-and-replace.svg gtk-find.svg gtk-floppy.svg gtk-fullscreen.svg
gtk-go-back.svg gtk-go-down.svg gtk-go-forward.svg gtk-goto-bottom.svg
gtk-goto-first.svg gtk-goto-last.svg gtk-goto-top.svg gtk-go-up.svg
gtk-harddisk.svg gtk-help.svg gtk-home.svg gtk-indent-ltr.svg
gtk-indent-rtl.svg gtk-index.svg gtk-info.svg gtk-italic.svg
gtk-jump-to-ltr.svg gtk-jump-to-rtl.svg gtk-justify-center.svg
gtk-justify-fill.svg gtk-justify-left.svg gtk-justify-right.svg
gtk-leave-fullscreen.svg gtk-media-forward.svg gtk-media-next.svg
gtk-media-pause.svg gtk-media-play-ltr.svg gtk-media-play-rtl.svg
gtk-media-previous-ltr.svg gtk-media-record.svg gtk-media-rewind-ltr.svg
gtk-media-stop.svg gtk-missing-image.svg gtk-network.png.svg gtk-new.svg
gtk-no.svg gtk-ok.svg gtk-open.svg gtk-orientation-landscape.svg
gtk-orientation-portrait.svg gtk-orientation-reverse-landscape.svg
gtk-orientation-reverse-portrait.svg gtk-paste.svg gtk-preferences.svg
gtk-print-preview.svg gtk-print.svg gtk-properties.svg gtk-quit.svg
gtk-redo.svg gtk-refresh.svg gtk-remove.svg gtk-revert-to-saved-ltr.svg
gtk-revert-to-saved-rtl.svg gtk-save-as.svg gtk-save.svg gtk-select-color.svg
gtk-select-font.svg gtk-sort-ascending.svg gtk-sort-descending.svg
gtk-spell-check.svg gtk-strikethrough.svg gtk-undelete-ltr.svg
gtk-undelete-rtl.svg gtk-underline.svg gtk-undo-ltr.svg gtk-unindent-ltr.svg
gtk-unindent-rtl.svg gtk-yes.svg gtk-zoom-100.svg gtk-zoom-fit.svg
gtk-zoom-in.svg gtk-zoom-out.svg
EXTRA_DIST = $(icons_DATA)
+MAINTAINERCLEANFILES = Makefile.in
--- End Message ---
--- Begin Message ---
Author: thomas
Date: 2007-05-03 18:31:09 +0200 (Thu, 03 May 2007)
New Revision: 1901
Modified:
trunk/src/target/OM-2007/applications/openmoko-footer/src/main.c
Log:
openmoko-footer: Don't override the style. Remove unused variables.
Modified: trunk/src/target/OM-2007/applications/openmoko-footer/src/main.c
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-footer/src/main.c
2007-05-03 10:36:30 UTC (rev 1900)
+++ trunk/src/target/OM-2007/applications/openmoko-footer/src/main.c
2007-05-03 16:31:09 UTC (rev 1901)
@@ -37,11 +37,6 @@
main( int argc, char **argv )
{
MokoFooterApp *app;
- GError* err = NULL;
- GdkPixbuf *pixbuf;
- GtkStyle *style;
- GdkPixmap *pixmap;
- GdkBitmap *bitmap;
GdkWindow *root_window;
app = g_new0 (MokoFooterApp, 1);
@@ -61,12 +56,6 @@
gtk_widget_set_uposition (GTK_WIDGET (app->toplevel_window),
FOOTER_PROPERTY_X, FOOTER_PROPERTY_Y);
gtk_widget_show (app->toplevel_window);
- pixbuf = gdk_pixbuf_new_from_file (PKGDATADIR "/bg_footer.png", &err);
- gdk_pixbuf_render_pixmap_and_mask(pixbuf, &pixmap, &bitmap, NULL);
- style = gtk_rc_get_style(app->toplevel_window);
- style->bg_pixmap[app->toplevel_window->state] = pixmap;
- gtk_style_set_background(style, app->toplevel_window->window,
app->toplevel_window->state);
-
app->footer = footer_new ();
gtk_widget_show_all (GTK_WIDGET (app->footer));
@@ -77,13 +66,6 @@
gtk_main ();
- if (pixbuf)
- g_free (pixbuf);
- if (pixmap)
- g_free (pixmap);
- if (bitmap)
- g_free (bitmap);
-
g_free (app);
return 0;
--- End Message ---
--- Begin Message ---
Author: mickey
Date: 2007-05-03 22:15:16 +0200 (Thu, 03 May 2007)
New Revision: 1902
Modified:
trunk/oe/conf/distro/include/sane-srcdates.inc
Log:
oe: bump SRCDATE for eds-dbus
Modified: trunk/oe/conf/distro/include/sane-srcdates.inc
===================================================================
--- trunk/oe/conf/distro/include/sane-srcdates.inc 2007-05-03 16:31:09 UTC
(rev 1901)
+++ trunk/oe/conf/distro/include/sane-srcdates.inc 2007-05-03 20:15:16 UTC
(rev 1902)
@@ -22,7 +22,7 @@
SRCDATE_contacts ?= "20060707"
SRCDATE_dates ?= "20060707"
SRCDATE_web ?= "20060613"
-SRCDATE_eds-dbus ?= "20070215"
+SRCDATE_eds-dbus ?= "20070502"
SRCDATE_matchbox-common ?= "20060612"
SRCDATE_matchbox-config-gtk ?= "20060612"
SRCDATE_matchbox-desktop ?= "20060612"
--- End Message ---
--- Begin Message ---
Author: mickey
Date: 2007-05-03 22:26:03 +0200 (Thu, 03 May 2007)
New Revision: 1903
Modified:
trunk/oe/conf/distro/include/preferred-openmoko-versions.inc
trunk/oe/packages/openmoko-pim/openmoko-tasks_svn.bb
trunk/oe/packages/tasks/task-openmoko.bb
Log:
oe: add openmoko-tasks to task-openmoko
Modified: trunk/oe/conf/distro/include/preferred-openmoko-versions.inc
===================================================================
--- trunk/oe/conf/distro/include/preferred-openmoko-versions.inc
2007-05-03 20:15:16 UTC (rev 1902)
+++ trunk/oe/conf/distro/include/preferred-openmoko-versions.inc
2007-05-03 20:26:03 UTC (rev 1903)
@@ -45,13 +45,13 @@
#
SRCDATE_openmoko-contacts = "now"
SRCDATE_openmoko-dates = "now"
+SRCDATE_openmoko-tasks = "now"
SRCDATE_openmoko-today = "now"
SRCDATE_openmoko-messages = "now"
SRCDATE_openmoko-rssreader = "now"
-SRCDATE_openmoko-calculator = "now"
#
-# Applications
+# Stylus Applications
#
SRCDATE_openmoko-appmanager = "now"
SRCDATE_openmoko-chordmaster = "now"
@@ -63,6 +63,11 @@
SRCDATE_openmoko-terminal = "now"
#
+# Finger Applications
+#
+SRCDATE_openmoko-calculator = "now"
+
+#
# Multimedia
#
SRCDATE_openmoko-simplemediaplayer = "now"
Modified: trunk/oe/packages/openmoko-pim/openmoko-tasks_svn.bb
===================================================================
--- trunk/oe/packages/openmoko-pim/openmoko-tasks_svn.bb 2007-05-03
20:15:16 UTC (rev 1902)
+++ trunk/oe/packages/openmoko-pim/openmoko-tasks_svn.bb 2007-05-03
20:26:03 UTC (rev 1903)
@@ -4,13 +4,12 @@
DEPENDS = "glib-2.0 gtk+ libglade eds-dbus openmoko-libs"
RDEPENDS = "libedata-cal"
PV = "0.1+svn${SRCDATE}"
-PR = "r8"
+PR = "r0"
inherit gnome autotools pkgconfig gtk-icon-cache
-SRC_URI = "svn://svn.o-hand.com/repos/tasks/;module=trunk;proto=http
+SRC_URI = "svn://svn.o-hand.com/repos/tasks/;module=trunk;proto=http"
+S = "${WORKDIR}/trunk"
-S = "${WORKDIR}/openmoko"
-
EXTRA_OECONF = "--enable-omoko --disable-gtk"
Modified: trunk/oe/packages/tasks/task-openmoko.bb
===================================================================
--- trunk/oe/packages/tasks/task-openmoko.bb 2007-05-03 20:15:16 UTC (rev
1902)
+++ trunk/oe/packages/tasks/task-openmoko.bb 2007-05-03 20:26:03 UTC (rev
1903)
@@ -4,7 +4,7 @@
PACKAGE_ARCH = "all"
LICENSE = "MIT"
PROVIDES = "task-openmoko-everything"
-PR = "r39"
+PR = "r40"
PACKAGES = "\
task-openmoko-linux \
@@ -133,6 +133,7 @@
eds-dbus \
openmoko-contacts \
openmoko-dates \
+ openmoko-tasks \
openmoko-today \
openmoko-messages \
openmoko-rssreader \
--- End Message ---
--- Begin Message ---
Author: zecke
Date: 2007-05-03 22:43:33 +0200 (Thu, 03 May 2007)
New Revision: 1904
Modified:
trunk/src/target/OM-2007/applications/openmoko-rssreader/ChangeLog
trunk/src/target/OM-2007/applications/openmoko-rssreader/src/callbacks.c
Log:
2007-05-03 Holger Freyther <[EMAIL PROTECTED]>
* src/callbacks.c:
(cb_treeview_keypress_event): Cursor keys are not forwarded to the
search bar but are left to the TreeView
Modified: trunk/src/target/OM-2007/applications/openmoko-rssreader/ChangeLog
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-rssreader/ChangeLog
2007-05-03 20:26:03 UTC (rev 1903)
+++ trunk/src/target/OM-2007/applications/openmoko-rssreader/ChangeLog
2007-05-03 20:43:33 UTC (rev 1904)
@@ -1,3 +1,9 @@
+2007-05-03 Holger Freyther <[EMAIL PROTECTED]>
+
+ * src/callbacks.c:
+ (cb_treeview_keypress_event): Cursor keys are not forwarded to the
+ search bar but are left to the TreeView
+
2007-04-29 Holger Hans Peter Freyther <[EMAIL PROTECTED]>
* src/rfcdate.h: s/obj/klass/ in the macro. (fixlet)
Modified:
trunk/src/target/OM-2007/applications/openmoko-rssreader/src/callbacks.c
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-rssreader/src/callbacks.c
2007-05-03 20:26:03 UTC (rev 1903)
+++ trunk/src/target/OM-2007/applications/openmoko-rssreader/src/callbacks.c
2007-05-03 20:43:33 UTC (rev 1904)
@@ -31,6 +31,7 @@
#include "rfcdate.h"
#include <libmokoui/moko-tool-box.h>
+#include <gdk/gdkkeysyms.h>
#include <mrss.h>
#include <string.h>
@@ -255,9 +256,14 @@
}
/*
- * route this to the search box
+ * route this to the search box unless this is a cursor movement
*/
gboolean cb_treeview_keypress_event( GtkWidget *tree_view, GdkEventKey *key,
struct RSSReaderData *data ) {
+ if ( key->keyval == GDK_Left || key->keyval == GDK_Right ||
+ key->keyval == GDK_Up || key->keyval == GDK_Down ) {
+ return FALSE;
+ }
+
moko_tool_box_set_search_visible (data->box, TRUE);
gtk_entry_set_text (GTK_ENTRY(moko_tool_box_get_entry(data->box)), "");
--- End Message ---
--- Begin Message ---
Author: zecke
Date: 2007-05-03 23:53:50 +0200 (Thu, 03 May 2007)
New Revision: 1905
Modified:
trunk/src/target/OM-2007/applications/openmoko-rssreader/ChangeLog
trunk/src/target/OM-2007/applications/openmoko-rssreader/src/moko_cache.c
trunk/src/target/OM-2007/applications/openmoko-rssreader/src/moko_cache.h
Log:
2007-05-03 Holger Freyther <[EMAIL PROTECTED]>
Start implementing the test (untested)
* src/moko_cache.c:
(moko_cache_create_dirs): Make sure to create the dir. Somehow there
is no recursive mkdir in glib
(moko_cache_create_path): Create/build a path for the cache
(object_name_to_file_name): sanitize the object name. e.g.
http://wwww.example.org/feed.xml and escape the ':', '/' and other
characthers
(moko_cache_write_object): Implement
(moko_cache_read_object): Implement
* src/moko_cache.h: switch from gint to gsize for the size
Modified: trunk/src/target/OM-2007/applications/openmoko-rssreader/ChangeLog
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-rssreader/ChangeLog
2007-05-03 20:43:33 UTC (rev 1904)
+++ trunk/src/target/OM-2007/applications/openmoko-rssreader/ChangeLog
2007-05-03 21:53:50 UTC (rev 1905)
@@ -1,5 +1,20 @@
2007-05-03 Holger Freyther <[EMAIL PROTECTED]>
+ Start implementing the test (untested)
+
+ * src/moko_cache.c:
+ (moko_cache_create_dirs): Make sure to create the dir. Somehow there
+ is no recursive mkdir in glib
+ (moko_cache_create_path): Create/build a path for the cache
+ (object_name_to_file_name): sanitize the object name. e.g.
+ http://wwww.example.org/feed.xml and escape the ':', '/' and other
+ characthers
+ (moko_cache_write_object): Implement
+ (moko_cache_read_object): Implement
+ * src/moko_cache.h: switch from gint to gsize for the size
+
+2007-05-03 Holger Freyther <[EMAIL PROTECTED]>
+
* src/callbacks.c:
(cb_treeview_keypress_event): Cursor keys are not forwarded to the
search bar but are left to the TreeView
Modified:
trunk/src/target/OM-2007/applications/openmoko-rssreader/src/moko_cache.c
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-rssreader/src/moko_cache.c
2007-05-03 20:43:33 UTC (rev 1904)
+++ trunk/src/target/OM-2007/applications/openmoko-rssreader/src/moko_cache.c
2007-05-03 21:53:50 UTC (rev 1905)
@@ -29,6 +29,16 @@
#include "moko_cache.h"
+#include <glib.h>
+#include <glib/gstdio.h>
+
+#include <sys/types.h>
+#include <unistd.h>
+#include <fcntl.h>
+#include <string.h>
+
+#define CACHE_NAME ".moko-cache"
+
G_DEFINE_TYPE(MokoCache, moko_cache, G_TYPE_OBJECT)
#define MOKO_CACHE_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE((obj),
MOKO_TYPE_CACHE, MokoCachePrivate))
@@ -38,7 +48,50 @@
gint allowed_size;
};
+/*
+ * Create the dirs
+ */
static void
+moko_cache_create_dirs (gchar *cache_name)
+{
+ gchar *path = g_build_path (G_DIR_SEPARATOR_S, g_get_home_dir (),
CACHE_NAME, NULL);
+ if (g_file_test (path, G_FILE_TEST_EXISTS))
+ g_mkdir (path, 0700);
+ g_free (path);
+
+ path = g_build_path (G_DIR_SEPARATOR_S, g_get_home_dir (), CACHE_NAME,
cache_name, NULL);
+ if (g_file_test (path, G_FILE_TEST_EXISTS))
+ g_mkdir (path, 0700);
+ g_free (path);
+
+}
+
+/*
+ * return a path to the cache directory
+ */
+static gchar*
+moko_cache_create_path (gchar *cache_name, gchar *file_name)
+{
+ return g_build_path (G_DIR_SEPARATOR_S, g_get_home_dir (), CACHE_NAME,
cache_name, file_name, NULL);
+}
+
+/*
+ * The secret of this is to create a valid file name. This can be either a
hash or
+ * an escaped method
+ */
+static gchar*
+object_name_to_file_name (gchar *file_name)
+{
+ gchar *result = g_strdup (file_name);
+ const int l = strlen(result);
+ for (int i = 0; i < l; ++i)
+ if ( result[i] == '/' || result[i] == ':' || result[i] == '.' )
+ result[i] = '_';
+
+ return result;
+}
+
+static void
moko_cache_finalize (GObject *object)
{
MokoCache *cache = MOKO_CACHE (object);
@@ -88,14 +141,45 @@
}
gint
-moko_cache_write_object (MokoCache *self, gchar *object_name, gchar *content,
guint size)
+moko_cache_write_object (MokoCache *self, gchar *object_name, gchar *content,
gsize size)
{
- return MOKO_CACHE_WRITE_UNKNOWN_ERROR;
+ int error = MOKO_CACHE_WRITE_SUCCESS;
+ size = size == -1 ? strlen(content) : size;
+
+ moko_cache_create_dirs (self->cache_name);
+ gchar *file_name = object_name_to_file_name (object_name);
+ gchar *path = moko_cache_create_path (self->cache_name, file_name);
+
+ int fd = g_open (path, O_WRONLY|O_TRUNC, 0700);
+ if ( fd < 0 ) {
+ error = MOKO_CACHE_WRITE_UNKNOWN_ERROR;
+ goto error_path;
+ }
+
+ if ( write (fd, content, size) < 0 ) {
+ error = MOKO_CACHE_WRITE_UNKNOWN_ERROR;
+ goto error_path;
+ }
+
+error_path:
+ g_free (path);
+ g_free (file_name);
+ return error;
}
gchar*
-moko_cache_read_object (MokoCache *self, gchar *object_name, gint *size)
+moko_cache_read_object (MokoCache *self, gchar *object_name, gsize *size)
{
- *size = -1;
- return NULL;
+ gchar *file_name = object_name_to_file_name (object_name);
+ gchar *path = moko_cache_create_path (self->cache_name, file_name);
+
+ gchar *result = NULL;
+ g_file_get_contents (path, &result, size, NULL);
+ if (result == NULL && *size == 0 )
+ *size = -1;
+
+ g_free (path);
+ g_free (file_name);
+
+ return result;
}
Modified:
trunk/src/target/OM-2007/applications/openmoko-rssreader/src/moko_cache.h
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-rssreader/src/moko_cache.h
2007-05-03 20:43:33 UTC (rev 1904)
+++ trunk/src/target/OM-2007/applications/openmoko-rssreader/src/moko_cache.h
2007-05-03 21:53:50 UTC (rev 1905)
@@ -71,8 +71,8 @@
gint moko_cache_get_allowed_size (MokoCache *self);
gint moko_cache_get_utilized_size(MokoCache *self);
-gint moko_cache_write_object (MokoCache *self, gchar *object_name,
gchar *content, guint size);
-gchar* moko_cache_read_object (MokoCache *self, gchar *object_name,
gint *size);
+gint moko_cache_write_object (MokoCache *self, gchar *object_name,
gchar *content, gsize size);
+gchar* moko_cache_read_object (MokoCache *self, gchar *object_name,
gsize *size);
/**
* \fn moko_cache_new(gchar *cache_policy_name)
--- End Message ---
_______________________________________________
commitlog mailing list
[email protected]
http://lists.openmoko.org/mailman/listinfo/commitlog