E CVS: apps/e_utils onefang

2006-03-09 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : onefang
Project : e17
Module  : apps/e_utils

Dir : e17/apps/e_utils/src/bin/e17genmenu


Modified Files:
README 


Log Message:
docs++

Listed the limitations.

Gave testing instructions for those that want to help.

===
RCS file: /cvsroot/enlightenment/e17/apps/e_utils/src/bin/e17genmenu/README,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- README  31 Jan 2006 19:10:34 -  1.1
+++ README  9 Mar 2006 08:28:57 -   1.2
@@ -1,9 +1,82 @@
 e17genmenu
-
-e17genmenu is an application to automatically generate menu entries for the 
Enlightenment Window Manager (DR17) on Linux based on Gnome/Kde menus. It is 
written in C, utilizing the Enlightenment Foundation Libraries including Ecore, 
Engrave, and Eet.
+--
+e17genmenu is an application to automatically generate menu entries for
+the Enlightenment Window Manager (DR17) based on freedesktop.org (fdo)
+compatible menus as used by other window managers like Gnome and Kde. 
+It is written in C, utilising the Enlightenment Foundation Libraries
+including Ecore, Engrave, and Eet.
 
-Note:
-
-This version from cvs is going to undergo a rewrite and will more than likely 
break often.
-If your looking for a stable version to generate menus for E17, then I'd 
suggest getting the 4.2.0 version from
-https://sourceforge.net/projects/e17genmenu/ .
+Currently it produces two sub menus in your Favorite Applications
+menu, Converted Menus, and Generated Menus, while leaving your
+original Favorite Applications menu items untouched.  The first one is
+your systems fdo compliant menu converted to an E17 menu, the second one
+is the result of the previous menu generation behaviour of e17genmenu. 
+If you use the --fdo option, you only get the fdo conversions.
+
+
+Note: 
+--
+This version from Enlightenment e17 cvs is being rewritten and will more
+than likely break often.  Please backup your ~/.e/e/applications
+directory before using this version.  If your looking for a stable
+version to generate menus for E17, then I'd suggest getting the 4.2.0
+version from https://sourceforge.net/projects/e17genmenu/ .
+
+
+Limitations:
+--
+As this is still being rewritten, there are some limitations, mostly due
+to the fact that not everything has been written yet.  These limitations
+mostly apply to the fdo conversion.  These limitations will slowly go
+away as we write more code.  As this is experimental code, heaps of
+debugging output is likely to be generated.
+
+E17 will be completely unresponsive for a few minutes after e17genmenu
+finishes running.  This is due to a bad interaction with the eap caching
+code when you generate a lot of eaps at once, like e17genmenu does. 
+raster is aware of this problem, and has a fix on his TODO list.
+
+It should find all of the applications that are normally in Gnome and
+Kde menus.  It probably wont put them all in the correct place, or with
+the correct icon.
+
+The menu names and icons are not correctly set yet.  Menu and
+application names are not localised.
+
+Some applications are not being included due to some strangeness in the
+way they define their icons.  This is currently under investigation.
+
+
+Please help test this:
+--
+The freedesktop.org standards are not really proper standards as such,
+more a collection of current practise formulated into a guide for others
+to implement.  So not everybody implements them the same way, and there
+is legacy behaviour that might be different from the specs.  So
+e17genmenu needs to be tested on as many different systems as possible. 
+Firstly to see if we followed the specs well enough to work well,
+secondly to see if others followed the specs well enough for e17genmenu
+to work, and thirdly to figure out what needs to be done when some
+random distro deviates enough from the specs that e17genmenu doesn't
+work as planned.
+
+Please help us test e17genmenu.
+
+Backup your ~/.e/e/applications directory first.
+
+Run e17genmenu, the adventurous can try running e17genmenu -o. 
+
+Send an email to onefang (email address in e17/apps/e_utils/AUTHORS) and
+tell me what distro of what OS you tried it in, the speed and type of
+your CPU, details of any applications you think it should have included
+in Generated Menus but didn't, and the last line output by e17genmenu
+(the timing statistics).  If you can, try to track down the .desktop
+files that match the missing apps and tell me what directory they are
+in.  Don't send me the entire 

E CVS: apps/e_utils jcwong

2006-03-09 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : jcwong
Project : e17
Module  : apps/e_utils

Dir : e17/apps/e_utils/src/bin/eapp_edit


Modified Files:
eapp_edit_main.c 


Log Message:
To compliance with the new ewl image API.


===
RCS file: 
/cvsroot/enlightenment/e17/apps/e_utils/src/bin/eapp_edit/eapp_edit_main.c,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -3 -r1.39 -r1.40
--- eapp_edit_main.c15 Feb 2006 23:34:10 -  1.39
+++ eapp_edit_main.c9 Mar 2006 10:29:25 -   1.40
@@ -245,7 +245,7 @@
 row[1] = ewl_image_new();
 ewl_image_file_set(EWL_IMAGE(row[1]), file, icon);
 ewl_image_proportional_set(EWL_IMAGE(row[1]), TRUE);
-ewl_image_scale_to(EWL_IMAGE(row[1]), 32, 32);
+ewl_image_scale_set(EWL_IMAGE(row[1]), 32, 32);
 /* FIXME: This can give it a decent background, but introduces a sizing
  * issue to track down
  * ewl_widget_appearance_set(row[1], entry); */




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: proto codewarrior

2006-03-09 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : codewarrior
Project : e17
Module  : proto

Dir : e17/proto/etk/src/lib


Modified Files:
etk_notebook.c etk_notebook.h 


Log Message:
more notebook functions

===
RCS file: /cvsroot/enlightenment/e17/proto/etk/src/lib/etk_notebook.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -3 -r1.14 -r1.15
--- etk_notebook.c  7 Mar 2006 23:42:23 -   1.14
+++ etk_notebook.c  9 Mar 2006 11:02:12 -   1.15
@@ -217,6 +217,47 @@
 }
 
 /**
+ * @brief Gets the widget displayed when the corresponding tab is activated
+ * @param notebook a notebook
+ * @param page_num the number of the page to set the page widget to
+ * @return Widget to displayed when the corresponding tab is activated
+ */
+Etk_Widget *etk_notebook_page_child_get(Etk_Notebook *notebook, int page_num)
+{
+   Etk_Notebook_Page *page;
+   
+   if (!notebook || !(page = evas_list_nth(notebook-pages, page_num)))
+  return NULL;
+   return etk_bin_child_get(ETK_BIN(page-page_frame));
+}
+
+/**
+ * @brief Gets the number of the page corresponding to the child widget
+ * @param notebook a notebook
+ * @param child the child widget of the page who's number we wish to get
+ * @return The number of the page or -1 if the page is not found
+ */
+int etk_notebook_page_num_get(Etk_Notebook *notebook, Etk_Widget *child)
+{
+   Etk_Notebook_Page *page;
+   Evas_List *l;
+   int i = 0;
+   
+   if (!notebook)
+ return -1;
+   
+   for(l = notebook-pages; l; l = l-next)
+   {  
+  page = l-data;
+  if(etk_bin_child_get(ETK_BIN(page-page_frame)) == child)
+   return i;
+  ++i;
+   }
+   
+   return -1;
+}
+
+/**
  * @brief Sets the current page of the notebook
  * @param notebook a notebook
  * @param page_num the number of the page to set as current
===
RCS file: /cvsroot/enlightenment/e17/proto/etk/src/lib/etk_notebook.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- etk_notebook.h  8 Mar 2006 11:21:46 -   1.9
+++ etk_notebook.h  9 Mar 2006 11:02:12 -   1.10
@@ -57,6 +57,9 @@
 Etk_Widget *etk_notebook_page_tab_widget_get(Etk_Notebook *notebook, int 
page_num);
 
 void etk_notebook_page_child_set(Etk_Notebook *notebook, int page_num, 
Etk_Widget *child);
+Etk_Widget *etk_notebook_page_child_get(Etk_Notebook *notebook, int page_num);
+
+int etk_notebook_page_num_get(Etk_Notebook *notebook, Etk_Widget *child);
 
 void etk_notebook_current_page_set(Etk_Notebook *notebook, int page_num);
 int etk_notebook_current_page_get(Etk_Notebook *notebook);




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: cpu maiurana

2006-03-09 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : maiurana
Project : e_modules
Module  : cpu

Dir : e_modules/cpu/po




Log Message:
Directory /cvsroot/enlightenment/e_modules/cpu/po added to the repository





---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: cpu maiurana

2006-03-09 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : maiurana
Project : e_modules
Module  : cpu

Dir : e_modules/cpu


Modified Files:
Makefile.am autogen.sh configure.in e_mod_config.c 
e_mod_main.c e_mod_main.h 
Added Files:
ABOUT-NLS 


Log Message:
added i18n support and italian localization
===
RCS file: /cvsroot/enlightenment/e_modules/cpu/Makefile.am,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- Makefile.am 7 Mar 2006 04:02:54 -   1.3
+++ Makefile.am 9 Mar 2006 11:36:10 -   1.4
@@ -1,5 +1,7 @@
 MAINTAINERCLEANFILES = Makefile.in e_modules-cpu.spec
 
+SUBDIRS = po
+
 EDJE_CC = @edje_cc@
 EDJE_FLAGS = -v
 
===
RCS file: /cvsroot/enlightenment/e_modules/cpu/autogen.sh,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- autogen.sh  20 Feb 2006 11:42:55 -  1.1
+++ autogen.sh  9 Mar 2006 11:36:10 -   1.2
@@ -10,6 +10,17 @@
 echo Running autoconf... ; autoconf || exit 1
 echo Running libtoolize... ; (libtoolize --copy --automake || glibtoolize 
--automake) || exit 1
 echo Running automake... ; automake --add-missing --copy --gnu || exit 1
+echo Generating gettext cpu.pot template; \
+xgettext \
+--output cpu.pot \
+--output-dir=po \
+--language=C \
+--add-location \
+--keyword=D_ \
+--sort-by-file \
+--copyright-holder=TODO \
+--foreign-user \
+`find . -name *.[ch] -print` || exit 1
 
 if [ -z $NOCONFIGURE ]; then
./configure $@
===
RCS file: /cvsroot/enlightenment/e_modules/cpu/configure.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- configure.in7 Mar 2006 04:02:54 -   1.2
+++ configure.in9 Mar 2006 11:36:10 -   1.3
@@ -17,6 +17,12 @@
 AM_ENABLE_SHARED
 AM_PROG_LIBTOOL
 
+ALL_LINGUAS=it
+AC_SUBST(ALL_LINGUAS)
+
+AM_GNU_GETTEXT([external])
+AM_GNU_GETTEXT_VERSION(0.14)
+
 MODULE_ARCH=$host_os-$host_cpu
 AC_SUBST(MODULE_ARCH)
 AC_DEFINE_UNQUOTED(MODULE_ARCH, $MODULE_ARCH, Module architecture)
@@ -90,6 +96,9 @@
 else
   datarootdir=${prefix}/share
 fi
+localedir=${datarootdir}/locale
+AC_SUBST(LOCALEDIR, ${localedir})
+AC_DEFINE_UNQUOTED(LOCALEDIR, ${localedir}, [Module Locale Directory])
 
 #AC_CHECK_LIB(dl, dlopen, dlopen_libs=-ldl)
 #AC_SUBST(dlopen_libs)
@@ -196,6 +205,7 @@
 AC_OUTPUT([
 Makefile
 e_modules-cpu.spec
+po/Makefile
 ],[
 ])
 
===
RCS file: /cvsroot/enlightenment/e_modules/cpu/e_mod_config.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- e_mod_config.c  27 Feb 2006 20:04:57 -  1.2
+++ e_mod_config.c  9 Mar 2006 11:36:10 -   1.3
@@ -31,7 +31,7 @@
v-basic.apply_cfdata = _basic_apply_data;
v-basic.create_widgets = _basic_create_widgets;

-   cfd = e_config_dialog_new(con, _(Cpu Configuration), NULL, 0, v, c);
+   cfd = e_config_dialog_new(con, D_(Cpu Configuration), NULL, 0, v, c);
c-cfd = cfd;
 }
 
@@ -74,13 +74,13 @@
c = cfd-data;

o = e_widget_list_add(evas, 0, 0);
-   of = e_widget_framelist_add(evas, _(Cpu Settings), 0);
-   ob = e_widget_check_add(evas, _(Show Text), ((cfdata-show_text)));
+   of = e_widget_framelist_add(evas, D_(Cpu Settings), 0);
+   ob = e_widget_check_add(evas, D_(Show Text), ((cfdata-show_text)));
e_widget_framelist_object_append(of, ob);
-   ob = e_widget_check_add(evas, _(Show Graph), ((cfdata-show_graph)));   
+   ob = e_widget_check_add(evas, D_(Show Graph), ((cfdata-show_graph)));   
e_widget_framelist_object_append(of, ob);
 
-   ob = e_widget_label_add(evas, _(Check Interval:));
+   ob = e_widget_label_add(evas, D_(Check Interval:));
e_widget_framelist_object_append(of, ob);
ob = e_widget_slider_add(evas, 1, 0, _(%1.0f seconds), 1, 60, 1, 0, NULL, 
(cfdata-check_interval), 150);
e_widget_framelist_object_append(of, ob);
===
RCS file: /cvsroot/enlightenment/e_modules/cpu/e_mod_main.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- e_mod_main.c1 Mar 2006 16:26:45 -   1.11
+++ e_mod_main.c9 Mar 2006 11:36:10 -   1.12
@@ -33,7 +33,11 @@
 e_modapi_init(E_Module *m) 
 {
Cpu *c;
-   
+
+   /* Set up module's message catalogue */
+   bindtextdomain(PACKAGE, LOCALEDIR);
+   bind_textdomain_codeset(PACKAGE, UTF-8);
+
c = _cpu_init(m);
if (!c)
  return NULL;
@@ -88,8 +92,8 @@
 EAPI int
 e_modapi_about(E_Module *m) 
 {
-   e_module_dialog_show(_(Enlightenment Cpu Monitor Module),
-   _(This module is used to monitor a cpu.));
+   e_module_dialog_show(D_(Enlightenment Cpu Monitor Module),
+   D_(This module is used to monitor a cpu.));
return 1;
 }
 

E CVS: cpu maiurana

2006-03-09 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : maiurana
Project : e_modules
Module  : cpu

Dir : e_modules/cpu/po


Added Files:
.cvsignore Makefile.am it.po 


Log Message:
added i18n support and italian localization




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: mem maiurana

2006-03-09 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : maiurana
Project : e_modules
Module  : mem

Dir : e_modules/mem/po




Log Message:
Directory /cvsroot/enlightenment/e_modules/mem/po added to the repository





---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: mem maiurana

2006-03-09 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : maiurana
Project : e_modules
Module  : mem

Dir : e_modules/mem/po


Added Files:
.cvsignore Makefile.am it.po 


Log Message:
added i18n support and italian localization




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: mem maiurana

2006-03-09 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : maiurana
Project : e_modules
Module  : mem

Dir : e_modules/mem


Modified Files:
Makefile.am autogen.sh configure.in e_mod_config.c 
e_mod_main.c e_mod_main.h 
Added Files:
ABOUT-NLS 


Log Message:
added i18n support and italian localization
===
RCS file: /cvsroot/enlightenment/e_modules/mem/Makefile.am,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- Makefile.am 7 Mar 2006 03:43:17 -   1.3
+++ Makefile.am 9 Mar 2006 11:37:42 -   1.4
@@ -1,5 +1,7 @@
 MAINTAINERCLEANFILES = Makefile.in e_modules-mem.spec
 
+SUBDIRS = po
+
 EDJE_CC = @edje_cc@
 EDJE_FLAGS = -v
 
===
RCS file: /cvsroot/enlightenment/e_modules/mem/autogen.sh,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- autogen.sh  20 Feb 2006 14:11:42 -  1.1
+++ autogen.sh  9 Mar 2006 11:37:42 -   1.2
@@ -10,6 +10,17 @@
 echo Running autoconf... ; autoconf || exit 1
 echo Running libtoolize... ; (libtoolize --copy --automake || glibtoolize 
--automake) || exit 1
 echo Running automake... ; automake --add-missing --copy --gnu || exit 1
+echo Generating gettext mem.pot template; \
+xgettext \
+--output mem.pot \
+--output-dir=po \
+--language=C \
+--add-location \
+--keyword=D_ \
+--sort-by-file \
+--copyright-holder=TODO \
+--foreign-user \
+`find . -name *.[ch] -print` || exit 1
 
 if [ -z $NOCONFIGURE ]; then
./configure $@
===
RCS file: /cvsroot/enlightenment/e_modules/mem/configure.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- configure.in7 Mar 2006 03:42:08 -   1.2
+++ configure.in9 Mar 2006 11:37:42 -   1.3
@@ -17,6 +17,12 @@
 AM_ENABLE_SHARED
 AM_PROG_LIBTOOL
 
+ALL_LINGUAS=it
+AC_SUBST(ALL_LINGUAS)
+
+AM_GNU_GETTEXT([external])
+AM_GNU_GETTEXT_VERSION(0.14)
+
 MODULE_ARCH=$host_os-$host_cpu
 AC_SUBST(MODULE_ARCH)
 AC_DEFINE_UNQUOTED(MODULE_ARCH, $MODULE_ARCH, Module architecture)
@@ -90,6 +96,9 @@
 else
   datarootdir=${prefix}/share
 fi
+localedir=${datarootdir}/locale
+AC_SUBST(LOCALEDIR, ${localedir})
+AC_DEFINE_UNQUOTED(LOCALEDIR, ${localedir}, [Module Locale Directory])
 
 #AC_CHECK_LIB(dl, dlopen, dlopen_libs=-ldl)
 #AC_SUBST(dlopen_libs)
@@ -196,6 +205,7 @@
 AC_OUTPUT([
 Makefile
 e_modules-mem.spec
+po/Makefile
 ],[
 ])
 
===
RCS file: /cvsroot/enlightenment/e_modules/mem/e_mod_config.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- e_mod_config.c  1 Mar 2006 17:25:58 -   1.3
+++ e_mod_config.c  9 Mar 2006 11:37:42 -   1.4
@@ -34,7 +34,7 @@
v-basic.apply_cfdata = _basic_apply_data;
v-basic.create_widgets = _basic_create_widgets;

-   cfd = e_config_dialog_new(con, _(Mem Configuration), NULL, 0, v, c);
+   cfd = e_config_dialog_new(con, D_(Mem Configuration), NULL, 0, v, c);
c-cfd = cfd;
 }
 
@@ -80,18 +80,18 @@
c = cfd-data;

o = e_widget_list_add(evas, 0, 0);
-   of = e_widget_framelist_add(evas, _(Mem Settings), 0);
-   ob = e_widget_check_add(evas, _(Show Text), (cfdata-show_text));
+   of = e_widget_framelist_add(evas, D_(Mem Settings), 0);
+   ob = e_widget_check_add(evas, D_(Show Text), (cfdata-show_text));
e_widget_framelist_object_append(of, ob);
-   ob = e_widget_check_add(evas, _(Show Text As Percent), 
(cfdata-show_percent));
+   ob = e_widget_check_add(evas, D_(Show Text As Percent), 
(cfdata-show_percent));
e_widget_framelist_object_append(of, ob);
-   ob = e_widget_check_add(evas, _(Show Graph), (cfdata-show_graph));
+   ob = e_widget_check_add(evas, D_(Show Graph), (cfdata-show_graph));
e_widget_framelist_object_append(of, ob);   
-   ob = e_widget_check_add(evas, _(Ignore Buffers), 
(cfdata-real_ignore_buffers));
+   ob = e_widget_check_add(evas, D_(Ignore Buffers), 
(cfdata-real_ignore_buffers));
e_widget_framelist_object_append(of, ob);
-   ob = e_widget_check_add(evas, _(Ignore Cached), 
(cfdata-real_ignore_cached));
+   ob = e_widget_check_add(evas, D_(Ignore Cached), 
(cfdata-real_ignore_cached));
e_widget_framelist_object_append(of, ob);   
-   ob = e_widget_label_add(evas, _(Check Interval:));
+   ob = e_widget_label_add(evas, D_(Check Interval:));
e_widget_framelist_object_append(of, ob);
ob = e_widget_slider_add(evas, 1, 0, _(%1.0f seconds), 1, 60, 1, 0, NULL, 
(cfdata-check_interval), 150);
e_widget_framelist_object_append(of, ob);
===
RCS file: /cvsroot/enlightenment/e_modules/mem/e_mod_main.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -3 -r1.13 -r1.14
--- e_mod_main.c1 Mar 2006 17:25:58 -   1.13
+++ e_mod_main.c9 Mar 

E CVS: net maiurana

2006-03-09 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : maiurana
Project : e_modules
Module  : net

Dir : e_modules/net/po




Log Message:
Directory /cvsroot/enlightenment/e_modules/net/po added to the repository





---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: net maiurana

2006-03-09 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : maiurana
Project : e_modules
Module  : net

Dir : e_modules/net/po


Added Files:
.cvsignore Makefile.am it.po 


Log Message:
added i18n support and italian localization




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: uptime maiurana

2006-03-09 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : maiurana
Project : e_modules
Module  : uptime

Dir : e_modules/uptime/po




Log Message:
Directory /cvsroot/enlightenment/e_modules/uptime/po added to the repository





---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: net maiurana

2006-03-09 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : maiurana
Project : e_modules
Module  : net

Dir : e_modules/net


Modified Files:
Makefile.am autogen.sh configure.in e_mod_config.c 
e_mod_main.c e_mod_main.h 
Added Files:
ABOUT-NLS 


Log Message:
added i18n support and italian localization
===
RCS file: /cvsroot/enlightenment/e_modules/net/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- Makefile.am 7 Mar 2006 03:49:36 -   1.2
+++ Makefile.am 9 Mar 2006 11:39:09 -   1.3
@@ -1,5 +1,7 @@
 MAINTAINERCLEANFILES = Makefile.in e_modules-net.spec
 
+SUBDIRS = po
+
 EDJE_CC = @edje_cc@
 EDJE_FLAGS = -v
 EXTRA_DIST=$(files_DATA) eth_dev.png module_icon.png e_modules-net.spec 
e_modules-net.spec.in
===
RCS file: /cvsroot/enlightenment/e_modules/net/autogen.sh,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- autogen.sh  19 Feb 2006 18:23:14 -  1.1
+++ autogen.sh  9 Mar 2006 11:39:09 -   1.2
@@ -10,6 +10,17 @@
 echo Running autoconf... ; autoconf || exit 1
 echo Running libtoolize... ; (libtoolize --copy --automake || glibtoolize 
--automake) || exit 1
 echo Running automake... ; automake --add-missing --copy --gnu || exit 1
+echo Generating gettext net.pot template; \
+xgettext \
+--output net.pot \
+--output-dir=po \
+--language=C \
+--add-location \
+--keyword=D_ \
+--sort-by-file \
+--copyright-holder=TODO \
+--foreign-user \
+`find . -name *.[ch] -print` || exit 1
 
 if [ -z $NOCONFIGURE ]; then
./configure $@
===
RCS file: /cvsroot/enlightenment/e_modules/net/configure.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- configure.in7 Mar 2006 03:49:36 -   1.2
+++ configure.in9 Mar 2006 11:39:09 -   1.3
@@ -17,6 +17,12 @@
 AM_ENABLE_SHARED
 AM_PROG_LIBTOOL
 
+ALL_LINGUAS=it
+AC_SUBST(ALL_LINGUAS)
+
+AM_GNU_GETTEXT([external])
+AM_GNU_GETTEXT_VERSION(0.14)
+
 MODULE_ARCH=$host_os-$host_cpu
 AC_SUBST(MODULE_ARCH)
 AC_DEFINE_UNQUOTED(MODULE_ARCH, $MODULE_ARCH, Module architecture)
@@ -90,6 +96,9 @@
 else
   datarootdir=${prefix}/share
 fi
+localedir=${datarootdir}/locale
+AC_SUBST(LOCALEDIR, ${localedir})
+AC_DEFINE_UNQUOTED(LOCALEDIR, ${localedir}, [Module Locale Directory])
 
 #AC_CHECK_LIB(dl, dlopen, dlopen_libs=-ldl)
 #AC_SUBST(dlopen_libs)
@@ -196,6 +205,7 @@
 AC_OUTPUT([
 Makefile
 e_modules-net.spec
+po/Makefile
 ],[
 ])
 
===
RCS file: /cvsroot/enlightenment/e_modules/net/e_mod_config.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- e_mod_config.c  1 Mar 2006 11:10:35 -   1.7
+++ e_mod_config.c  9 Mar 2006 11:39:09 -   1.8
@@ -36,7 +36,7 @@
v-basic.apply_cfdata = _basic_apply_data;
v-basic.create_widgets = _basic_create_widgets;

-   cfd = e_config_dialog_new(nf-con, _(Net Configuration), NULL, 0, v, nf);
+   cfd = e_config_dialog_new(nf-con, D_(Net Configuration), NULL, 0, v, nf);
nf-net-cfd = cfd;
 }
 
@@ -111,14 +111,14 @@
int i;

o = e_widget_list_add(evas, 0, 0);  
-   of = e_widget_framelist_add(evas, _(General Settings), 0);
-   ob = e_widget_check_add(evas, _(Show Text), ((cfdata-show_text)));
+   of = e_widget_framelist_add(evas, D_(General Settings), 0);
+   ob = e_widget_check_add(evas, D_(Show Text), ((cfdata-show_text)));
e_widget_framelist_object_append(of, ob);
-   ob = e_widget_check_add(evas, _(Show Graph), ((cfdata-show_graph)));
+   ob = e_widget_check_add(evas, D_(Show Graph), ((cfdata-show_graph)));
e_widget_framelist_object_append(of, ob);
e_widget_list_object_append(o, of, 1, 1, 0.5);

-   of = e_widget_framelist_add(evas, _(Device Settings), 0);
+   of = e_widget_framelist_add(evas, D_(Device Settings), 0);
ot = e_widget_table_add(evas, 0);   
rg = e_widget_radio_group_new((cfdata-dev_num));
i = 0;
@@ -130,7 +130,7 @@
i++;
  }
i++;
-   ob = e_widget_label_add(evas, _(Check Interval:));
+   ob = e_widget_label_add(evas, D_(Check Interval:));
e_widget_table_object_append(ot, ob, 0, i, 1, 1, 0, 0, 1, 0);
i++;
ob = e_widget_slider_add(evas, 1, 0, _(%1.0f seconds), 1, 60, 1, 0, NULL, 
(cfdata-check_interval), 150);
===
RCS file: /cvsroot/enlightenment/e_modules/net/e_mod_main.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -3 -r1.14 -r1.15
--- e_mod_main.c6 Mar 2006 09:59:46 -   1.14
+++ e_mod_main.c9 Mar 2006 11:39:09 -   1.15
@@ -35,7 +35,11 @@
 e_modapi_init(E_Module *m) 
 {
Net *n;
-   
+
+   /* Set up module's message catalogue */
+   bindtextdomain(PACKAGE, LOCALEDIR);
+   

E CVS: uptime maiurana

2006-03-09 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : maiurana
Project : e_modules
Module  : uptime

Dir : e_modules/uptime


Modified Files:
Makefile.am autogen.sh configure.in e_mod_config.c 
e_mod_main.c e_mod_main.h 
Added Files:
ABOUT-NLS 


Log Message:
added i18n support and italian localization
===
RCS file: /cvsroot/enlightenment/e_modules/uptime/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- Makefile.am 7 Mar 2006 04:05:49 -   1.2
+++ Makefile.am 9 Mar 2006 11:40:41 -   1.3
@@ -1,5 +1,7 @@
 MAINTAINERCLEANFILES = Makefile.in e_modules-uptime.spec
 
+SUBDIRS = po
+
 EDJE_CC = @edje_cc@
 EDJE_FLAGS = -v
 
===
RCS file: /cvsroot/enlightenment/e_modules/uptime/autogen.sh,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- autogen.sh  20 Feb 2006 17:21:15 -  1.1
+++ autogen.sh  9 Mar 2006 11:40:41 -   1.2
@@ -10,6 +10,17 @@
 echo Running autoconf... ; autoconf || exit 1
 echo Running libtoolize... ; (libtoolize --copy --automake || glibtoolize 
--automake) || exit 1
 echo Running automake... ; automake --add-missing --copy --gnu || exit 1
+echo Generating gettext uptime.pot template; \
+xgettext \
+--output uptime.pot \
+--output-dir=po \
+--language=C \
+--add-location \
+--keyword=D_ \
+--sort-by-file \
+--copyright-holder=TODO \
+--foreign-user \
+`find . -name *.[ch] -print` || exit 1
 
 if [ -z $NOCONFIGURE ]; then
./configure $@
===
RCS file: /cvsroot/enlightenment/e_modules/uptime/configure.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- configure.in7 Mar 2006 04:05:49 -   1.2
+++ configure.in9 Mar 2006 11:40:41 -   1.3
@@ -17,6 +17,12 @@
 AM_ENABLE_SHARED
 AM_PROG_LIBTOOL
 
+ALL_LINGUAS=it
+AC_SUBST(ALL_LINGUAS)
+
+AM_GNU_GETTEXT([external])
+AM_GNU_GETTEXT_VERSION(0.14)
+
 MODULE_ARCH=$host_os-$host_cpu
 AC_SUBST(MODULE_ARCH)
 AC_DEFINE_UNQUOTED(MODULE_ARCH, $MODULE_ARCH, Module architecture)
@@ -90,6 +96,9 @@
 else
   datarootdir=${prefix}/share
 fi
+localedir=${datarootdir}/locale
+AC_SUBST(LOCALEDIR, ${localedir})
+AC_DEFINE_UNQUOTED(LOCALEDIR, ${localedir}, [Module Locale Directory])
 
 #AC_CHECK_LIB(dl, dlopen, dlopen_libs=-ldl)
 #AC_SUBST(dlopen_libs)
@@ -196,6 +205,7 @@
 AC_OUTPUT([
 Makefile
 e_modules-uptime.spec
+po/Makefile
 ],[
 ])
 
===
RCS file: /cvsroot/enlightenment/e_modules/uptime/e_mod_config.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- e_mod_config.c  20 Feb 2006 17:21:15 -  1.1
+++ e_mod_config.c  9 Mar 2006 11:40:41 -   1.2
@@ -29,7 +29,7 @@
v-basic.apply_cfdata = _basic_apply_data;
v-basic.create_widgets = _basic_create_widgets;

-   cfd = e_config_dialog_new(con, _(Uptime Configuration), NULL, 0, v, c);
+   cfd = e_config_dialog_new(con, D_(Uptime Configuration), NULL, 0, v, c);
c-cfd = cfd;
 }
 
@@ -70,8 +70,8 @@
c = cfd-data;

o = e_widget_list_add(evas, 0, 0);
-   of = e_widget_framelist_add(evas, _(Uptime Settings), 0);
-   ob = e_widget_label_add(evas, _(Check Interval:));
+   of = e_widget_framelist_add(evas, D_(Uptime Settings), 0);
+   ob = e_widget_label_add(evas, D_(Check Interval:));
e_widget_framelist_object_append(of, ob);
ob = e_widget_slider_add(evas, 1, 0, _(%1.0f seconds), 1, 60, 1, 0, NULL, 
(cfdata-check_interval), 150);
e_widget_framelist_object_append(of, ob);
===
RCS file: /cvsroot/enlightenment/e_modules/uptime/e_mod_main.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- e_mod_main.c1 Mar 2006 16:28:33 -   1.5
+++ e_mod_main.c9 Mar 2006 11:40:41 -   1.6
@@ -30,7 +30,11 @@
 e_modapi_init(E_Module *m) 
 {
Uptime *c;
-   
+
+   /* Set up module's message catalogue */
+   bindtextdomain(PACKAGE, LOCALEDIR);
+   bind_textdomain_codeset(PACKAGE, UTF-8);
+
c = _uptime_init(m);
if (!c)
  return NULL;
@@ -85,8 +89,8 @@
 EAPI int
 e_modapi_about(E_Module *m) 
 {
-   e_module_dialog_show(_(Enlightenment Uptime Monitor Module),
-   _(This module is used to monitor uptime.));
+   e_module_dialog_show(D_(Enlightenment Uptime Monitor Module),
+   D_(This module is used to monitor uptime.));
return 1;
 }
 
@@ -400,7 +404,7 @@
   
cf = data;
sysinfo(s_info);
-   sprintf(u_date_time, uptime: %ld days, %ld:%02ld:%02ld,
+   sprintf(u_date_time, D_(uptime: %ld days, %ld:%02ld:%02ld),
   s_info.uptime / day, (s_info.uptime % day) / hour,
   (s_info.uptime % hour) / minute, s_info.uptime % minute);

E CVS: uptime maiurana

2006-03-09 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : maiurana
Project : e_modules
Module  : uptime

Dir : e_modules/uptime/po


Added Files:
.cvsignore Makefile.am it.po 


Log Message:
added i18n support and italian localization




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: wlan maiurana

2006-03-09 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : maiurana
Project : e_modules
Module  : wlan

Dir : e_modules/wlan/po




Log Message:
Directory /cvsroot/enlightenment/e_modules/wlan/po added to the repository





---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: wlan maiurana

2006-03-09 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : maiurana
Project : e_modules
Module  : wlan

Dir : e_modules/wlan/po


Added Files:
.cvsignore Makefile.am it.po 


Log Message:
added i18n support and italian localization




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: wlan maiurana

2006-03-09 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : maiurana
Project : e_modules
Module  : wlan

Dir : e_modules/wlan


Modified Files:
Makefile.am autogen.sh configure.in e_mod_config.c 
e_mod_main.c e_mod_main.h 
Added Files:
ABOUT-NLS 


Log Message:
added i18n support and italian localization
===
RCS file: /cvsroot/enlightenment/e_modules/wlan/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- Makefile.am 7 Mar 2006 03:57:11 -   1.2
+++ Makefile.am 9 Mar 2006 11:42:09 -   1.3
@@ -1,5 +1,7 @@
 MAINTAINERCLEANFILES = Makefile.in e_modules-wlan.spec
 
+SUBDIRS = po
+
 EDJE_CC = @edje_cc@
 EDJE_FLAGS = -v
 
===
RCS file: /cvsroot/enlightenment/e_modules/wlan/autogen.sh,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- autogen.sh  20 Feb 2006 15:15:32 -  1.1
+++ autogen.sh  9 Mar 2006 11:42:09 -   1.2
@@ -10,6 +10,17 @@
 echo Running autoconf... ; autoconf || exit 1
 echo Running libtoolize... ; (libtoolize --copy --automake || glibtoolize 
--automake) || exit 1
 echo Running automake... ; automake --add-missing --copy --gnu || exit 1
+echo Generating gettext wlan.pot template; \
+xgettext \
+--output wlan.pot \
+--output-dir=po \
+--language=C \
+--add-location \
+--keyword=D_ \
+--sort-by-file \
+--copyright-holder=TODO \
+--foreign-user \
+`find . -name *.[ch] -print` || exit 1
 
 if [ -z $NOCONFIGURE ]; then
./configure $@
===
RCS file: /cvsroot/enlightenment/e_modules/wlan/configure.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- configure.in7 Mar 2006 03:57:11 -   1.2
+++ configure.in9 Mar 2006 11:42:09 -   1.3
@@ -17,6 +17,12 @@
 AM_ENABLE_SHARED
 AM_PROG_LIBTOOL
 
+ALL_LINGUAS=it
+AC_SUBST(ALL_LINGUAS)
+
+AM_GNU_GETTEXT([external])
+AM_GNU_GETTEXT_VERSION(0.14)
+
 MODULE_ARCH=$host_os-$host_cpu
 AC_SUBST(MODULE_ARCH)
 AC_DEFINE_UNQUOTED(MODULE_ARCH, $MODULE_ARCH, Module architecture)
@@ -90,6 +96,9 @@
 else
   datarootdir=${prefix}/share
 fi
+localedir=${datarootdir}/locale
+AC_SUBST(LOCALEDIR, ${localedir})
+AC_DEFINE_UNQUOTED(LOCALEDIR, ${localedir}, [Module Locale Directory])
 
 #AC_CHECK_LIB(dl, dlopen, dlopen_libs=-ldl)
 #AC_SUBST(dlopen_libs)
@@ -196,6 +205,7 @@
 AC_OUTPUT([
 Makefile
 e_modules-wlan.spec
+po/Makefile
 ],[
 ])
 
===
RCS file: /cvsroot/enlightenment/e_modules/wlan/e_mod_config.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- e_mod_config.c  28 Feb 2006 16:56:45 -  1.5
+++ e_mod_config.c  9 Mar 2006 11:42:09 -   1.6
@@ -36,7 +36,7 @@
v-basic.apply_cfdata = _basic_apply_data;
v-basic.create_widgets = _basic_create_widgets;

-   cfd = e_config_dialog_new(nf-con, _(Wlan Configuration), NULL, 0, v, nf);
+   cfd = e_config_dialog_new(nf-con, D_(Wlan Configuration), NULL, 0, v, 
nf);
nf-wlan-cfd = cfd;
 }
 
@@ -111,14 +111,14 @@
int i;

o = e_widget_list_add(evas, 0, 0);
-   of = e_widget_framelist_add(evas, _(General Settings), 0);
-   ob = e_widget_check_add(evas, _(Show Text), ((cfdata-show_text)));
+   of = e_widget_framelist_add(evas, D_(General Settings), 0);
+   ob = e_widget_check_add(evas, D_(Show Text), ((cfdata-show_text)));
e_widget_framelist_object_append(of, ob);
-   ob = e_widget_check_add(evas, _(Show Graph), ((cfdata-show_graph)));
+   ob = e_widget_check_add(evas, D_(Show Graph), ((cfdata-show_graph)));
e_widget_framelist_object_append(of, ob);
e_widget_list_object_append(o, of, 1, 1, 0.5);

-   of = e_widget_framelist_add(evas, _(Device Settings), 0);
+   of = e_widget_framelist_add(evas, D_(Device Settings), 0);
ot = e_widget_table_add(evas, 0);   
rg = e_widget_radio_group_new((cfdata-dev_num));
i = 0;
@@ -130,7 +130,7 @@
i++;
  }
i++;
-   ob = e_widget_label_add(evas, _(Check Interval:));
+   ob = e_widget_label_add(evas, D_(Check Interval:));
e_widget_table_object_append(ot, ob, 0, i, 1, 1, 0, 0, 1, 0);
i++;
ob = e_widget_slider_add(evas, 1, 0, _(%1.0f seconds), 1, 60, 1, 0, NULL, 
(cfdata-check_interval), 150);
===
RCS file: /cvsroot/enlightenment/e_modules/wlan/e_mod_main.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -3 -r1.13 -r1.14
--- e_mod_main.c4 Mar 2006 20:40:30 -   1.13
+++ e_mod_main.c9 Mar 2006 11:42:09 -   1.14
@@ -35,6 +35,10 @@
 {
Wlan *n;
 
+   /* Set up module's message catalogue */
+   bindtextdomain(PACKAGE, LOCALEDIR);
+   bind_textdomain_codeset(PACKAGE, UTF-8);
+
n = _wlan_init(m);
if (!n)
  return NULL;
@@ -89,8 +93,8 @@
 EAPI int
 

E CVS: proto codewarrior

2006-03-09 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : codewarrior
Project : e17
Module  : proto

Dir : e17/proto/etk/src/lib


Modified Files:
etk_tooltips.c 


Log Message:
thanks devilhorns (=
===
RCS file: /cvsroot/enlightenment/e17/proto/etk/src/lib/etk_tooltips.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- etk_tooltips.c  9 Mar 2006 00:10:52 -   1.4
+++ etk_tooltips.c  9 Mar 2006 13:25:12 -   1.5
@@ -240,7 +240,7 @@
 static int _etk_tooltips_timer_cb(void *data)
 {
if(!_etk_tooltips_timer || !_etk_tooltips_cur_object) 
- return;
+ return 0;
etk_tooltips_pop_up(ETK_WIDGET(_etk_tooltips_cur_object));
return 0;
 }




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: mem troback

2006-03-09 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : troback
Project : e_modules
Module  : mem

Dir : e_modules/mem


Modified Files:
configure.in 


Log Message:
Swedish translation added
===
RCS file: /cvsroot/enlightenment/e_modules/mem/configure.in,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- configure.in9 Mar 2006 11:37:42 -   1.3
+++ configure.in9 Mar 2006 13:55:09 -   1.4
@@ -17,7 +17,7 @@
 AM_ENABLE_SHARED
 AM_PROG_LIBTOOL
 
-ALL_LINGUAS=it
+ALL_LINGUAS=it sv
 AC_SUBST(ALL_LINGUAS)
 
 AM_GNU_GETTEXT([external])




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: mem troback

2006-03-09 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : troback
Project : e_modules
Module  : mem

Dir : e_modules/mem/po


Added Files:
sv.po 


Log Message:
Swedish translation added




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: proto codewarrior

2006-03-09 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : codewarrior
Project : e17
Module  : proto

Dir : e17/proto/etk/data/themes/default/widgets


Modified Files:
progress_bar.edc 


Log Message:
- provide more control over the progress bar's filler to the theme
 

===
RCS file: 
/cvsroot/enlightenment/e17/proto/etk/data/themes/default/widgets/progress_bar.edc,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- progress_bar.edc13 Feb 2006 01:10:20 -  1.2
+++ progress_bar.edc9 Mar 2006 14:00:58 -   1.3
@@ -1,6 +1,9 @@
 group {
name: progress_bar;
min: 120 18;
+   data {  
+  item: filler_pulse_width 0.3;
+   }
parts {
   part {
  name: progress_bar;




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: proto codewarrior

2006-03-09 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : codewarrior
Project : e17
Module  : proto

Dir : e17/proto/etk/src/lib


Modified Files:
etk_notebook.c etk_progress_bar.c etk_progress_bar.h 


Log Message:
- provide more control over the progress bar's filler to the theme
 

===
RCS file: /cvsroot/enlightenment/e17/proto/etk/src/lib/etk_notebook.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -3 -r1.15 -r1.16
--- etk_notebook.c  9 Mar 2006 11:02:12 -   1.15
+++ etk_notebook.c  9 Mar 2006 14:00:58 -   1.16
@@ -244,7 +244,7 @@
int i = 0;

if (!notebook)
- return -1;
+ return 0;

for(l = notebook-pages; l; l = l-next)
{  
===
RCS file: /cvsroot/enlightenment/e17/proto/etk/src/lib/etk_progress_bar.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- etk_progress_bar.c  13 Feb 2006 15:20:32 -  1.8
+++ etk_progress_bar.c  9 Mar 2006 14:00:58 -   1.9
@@ -3,6 +3,7 @@
 #include stdlib.h
 #include string.h
 #include Edje.h
+#include etk_widget.h
 #include etk_signal.h
 #include etk_signal_callback.h
 #include etk_utils.h
@@ -23,6 +24,7 @@
 static void _etk_progress_bar_property_set(Etk_Object *object, int 
property_id, Etk_Property_Value *value);
 static void _etk_progress_bar_property_get(Etk_Object *object, int 
property_id, Etk_Property_Value *value);
 static void _etk_progress_bar_update(Etk_Progress_Bar *progress_bar);
+static void _etk_progress_bar_realize_cb(Etk_Object *object, void *data);
 
 /**
  *
@@ -59,7 +61,14 @@
  */
 Etk_Widget *etk_progress_bar_new()
 {
-   return etk_widget_new(ETK_PROGRESS_BAR_TYPE, theme_group, progress_bar, 
NULL);
+   Etk_Widget *progress_bar;
+   
+   progress_bar = etk_widget_new(ETK_PROGRESS_BAR_TYPE, theme_group, 
progress_bar, NULL);
+   if(!progress_bar)
+ return NULL;
+   
+   etk_signal_connect(realize, ETK_OBJECT(progress_bar), 
ETK_CALLBACK(_etk_progress_bar_realize_cb), NULL);
+   return progress_bar;
 }
 
 /**
@@ -68,7 +77,14 @@
  */
 Etk_Widget *etk_progress_bar_new_with_text(const char *text)
 {
-   return etk_widget_new(ETK_PROGRESS_BAR_TYPE, theme_group, progress_bar, 
text, text, NULL);
+   Etk_Widget *progress_bar;
+   
+   progress_bar =  etk_widget_new(ETK_PROGRESS_BAR_TYPE, theme_group, 
progress_bar, text, text, NULL);
+   if(!progress_bar)
+ return NULL;
+   
+   etk_signal_connect(realize, ETK_OBJECT(progress_bar), 
ETK_CALLBACK(_etk_progress_bar_realize_cb), NULL);
+   return progress_bar;   
 }
 
 /**
@@ -301,11 +317,19 @@
else
{
   edje_object_part_drag_value_set(widget-theme_object, filler, 
progress_bar-pulse_pos, 0.0);
-  /* TODO: the size of the filler should be themable */
-  edje_object_part_drag_size_set(widget-theme_object, filler, 0.3, 0.0);
+  edje_object_part_drag_size_set(widget-theme_object, filler, 
progress_bar-filler_pulse_w, 0.0);
}

etk_widget_theme_object_part_text_set(widget, text, progress_bar-text ? 
progress_bar-text : );
 }
 
+static void _etk_progress_bar_realize_cb(Etk_Object *object, void *data)
+{ 
+   Etk_Progress_Bar *progress_bar;
+   
+   progress_bar = ETK_PROGRESS_BAR(object);
+   if (etk_widget_theme_object_data_get(ETK_WIDGET(object), 
filler_pulse_width, %lg, progress_bar-filler_pulse_w) != 1)
+ progress_bar-filler_pulse_w = 0.3;
+}
+
 /** @} */
===
RCS file: /cvsroot/enlightenment/e17/proto/etk/src/lib/etk_progress_bar.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- etk_progress_bar.h  13 Feb 2006 01:10:20 -  1.5
+++ etk_progress_bar.h  9 Mar 2006 14:00:58 -   1.6
@@ -42,6 +42,7 @@
double fraction;
double pulse_pos;
double pulse_step;
+   double filler_pulse_w;
Etk_Progress_Bar_Orientation pulse_dir;
Etk_Progress_Bar_Orientation orientation;
Etk_Bool is_pulsing;




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: cpu troback

2006-03-09 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : troback
Project : e_modules
Module  : cpu

Dir : e_modules/cpu


Modified Files:
configure.in 


Log Message:
Swedish translation added
===
RCS file: /cvsroot/enlightenment/e_modules/cpu/configure.in,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- configure.in9 Mar 2006 11:36:10 -   1.3
+++ configure.in9 Mar 2006 14:03:05 -   1.4
@@ -17,7 +17,7 @@
 AM_ENABLE_SHARED
 AM_PROG_LIBTOOL
 
-ALL_LINGUAS=it
+ALL_LINGUAS=it sv
 AC_SUBST(ALL_LINGUAS)
 
 AM_GNU_GETTEXT([external])




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: cpu troback

2006-03-09 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : troback
Project : e_modules
Module  : cpu

Dir : e_modules/cpu/po


Added Files:
sv.po 


Log Message:
Swedish translation added




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: net troback

2006-03-09 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : troback
Project : e_modules
Module  : net

Dir : e_modules/net


Modified Files:
configure.in 


Log Message:
Swedish translation added
===
RCS file: /cvsroot/enlightenment/e_modules/net/configure.in,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- configure.in9 Mar 2006 11:39:09 -   1.3
+++ configure.in9 Mar 2006 14:08:48 -   1.4
@@ -17,7 +17,7 @@
 AM_ENABLE_SHARED
 AM_PROG_LIBTOOL
 
-ALL_LINGUAS=it
+ALL_LINGUAS=it sv
 AC_SUBST(ALL_LINGUAS)
 
 AM_GNU_GETTEXT([external])




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: net troback

2006-03-09 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : troback
Project : e_modules
Module  : net

Dir : e_modules/net/po


Added Files:
sv.po 


Log Message:
Swedish translation added




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: uptime troback

2006-03-09 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : troback
Project : e_modules
Module  : uptime

Dir : e_modules/uptime


Modified Files:
configure.in 


Log Message:
Swedish translation added
===
RCS file: /cvsroot/enlightenment/e_modules/uptime/configure.in,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- configure.in9 Mar 2006 11:40:41 -   1.3
+++ configure.in9 Mar 2006 14:15:51 -   1.4
@@ -17,7 +17,7 @@
 AM_ENABLE_SHARED
 AM_PROG_LIBTOOL
 
-ALL_LINGUAS=it
+ALL_LINGUAS=it sv
 AC_SUBST(ALL_LINGUAS)
 
 AM_GNU_GETTEXT([external])




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: uptime troback

2006-03-09 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : troback
Project : e_modules
Module  : uptime

Dir : e_modules/uptime/po


Added Files:
sv.po 


Log Message:
Swedish translation added




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: wlan troback

2006-03-09 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : troback
Project : e_modules
Module  : wlan

Dir : e_modules/wlan/po


Added Files:
sv.po 


Log Message:
Swedish translation added




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: wlan troback

2006-03-09 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : troback
Project : e_modules
Module  : wlan

Dir : e_modules/wlan


Modified Files:
configure.in 


Log Message:
Swedish translation added
===
RCS file: /cvsroot/enlightenment/e_modules/wlan/configure.in,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- configure.in9 Mar 2006 11:42:09 -   1.3
+++ configure.in9 Mar 2006 14:21:20 -   1.4
@@ -17,7 +17,7 @@
 AM_ENABLE_SHARED
 AM_PROG_LIBTOOL
 
-ALL_LINGUAS=it
+ALL_LINGUAS=it sv
 AC_SUBST(ALL_LINGUAS)
 
 AM_GNU_GETTEXT([external])




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/e e-taro

2006-03-09 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : e-taro
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/bin


Modified Files:
e_apps.c e_intl.c e_intl.h 


Log Message:
Make E_Apps support LANG value like [zh_TW], [ja] etc. 
(exposing shorne's useful _e_intl_locale_canonic_get function for this)
-- 
src/bin/e_apps.c src/bin/e_intl.c src/bin/e_intl.h CVS: 
--

===
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_apps.c,v
retrieving revision 1.125
retrieving revision 1.126
diff -u -3 -r1.125 -r1.126
--- e_apps.c2 Mar 2006 12:03:48 -   1.125
+++ e_apps.c9 Mar 2006 14:50:12 -   1.126
@@ -57,6 +57,7 @@
 static int   _e_app_cb_scan_cache_timer(void *data);
 static E_App*_e_app_cache_new  (E_App_Cache *ac, const char *path, 
int scan_subdirs);
 static int   _e_app_exe_valid_get  (const char *exe);
+static char  *_e_app_localized_val_get (Eet_File *ef, const char *lang, 
const char *field, int *size);
 
 /* local subsystem globals */
 static Evas_Hash   *_e_apps = NULL;
@@ -986,7 +987,6 @@
 e_app_fields_fill(E_App *a, const char *path)
 {
Eet_File *ef;
-   char buf[PATH_MAX];
char *str, *v;
char *lang;
int size;
@@ -1009,34 +1009,11 @@
a-member = evas_stringshare_add(str); \
free(v); \
  }
-   if (lang)
- {
-   snprintf(buf, sizeof(buf), app/info/name[%s], lang);
-   v = eet_read(ef, buf, size);
-   if (!v) v = eet_read(ef, app/info/name, size);
- }
-   else
- v = eet_read(ef, app/info/name, size);
+   v = _e_app_localized_val_get(ef, lang, app/info/name, size);
STORE(name);
-
-   if (lang)
- {
-   snprintf(buf, sizeof(buf), app/info/generic[%s], lang);
-   v = eet_read(ef, buf, size);
-   if (!v) v = eet_read(ef, app/info/generic, size);
- }
-   else
- v = eet_read(ef, app/info/generic, size);
+   v = _e_app_localized_val_get(ef, lang, app/info/generic, size);
STORE(generic);
-
-   if (lang)
- {
-   snprintf(buf, sizeof(buf), app/info/comment[%s], lang);
-   v = eet_read(ef, buf, size);
-   if (!v) v = eet_read(ef, app/info/comment, size);
- }
-   else
- v = eet_read(ef, app/info/comment, size);
+   v = _e_app_localized_val_get(ef, lang, app/info/comment, size);
STORE(comment);
 
v = eet_read(ef, app/info/exe, size);
@@ -1066,6 +1043,32 @@
eet_close(ef);
 }
 
+static char *
+_e_app_localized_val_get(Eet_File *ef, const char *lang, const char *field, 
int *size)
+{
+   char *s, *v;
+   char buf[PATH_MAX];
+
+   if (lang)
+ {
+   s = e_intl_locale_canonic_get(lang, E_INTL_LOC_LANG | 
E_INTL_LOC_REGION);
+   snprintf(buf, sizeof(buf), %s[%s], field, s);
+   free(s);
+   v = eet_read(ef, buf, size);
+   if (v)
+ return v;
+
+   s = e_intl_locale_canonic_get(lang, E_INTL_LOC_LANG);
+   snprintf(buf, sizeof(buf), %s[%s], field, s);
+   free(s);
+   v = eet_read(ef, buf, size);
+   if (v)
+ return v;
+ }
+   /* Fall back to default locale */
+   return eet_read(ef, field, size);
+}
+
 EAPI void
 e_app_fields_save(E_App *a)
 {
===
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_intl.c,v
retrieving revision 1.76
retrieving revision 1.77
diff -u -3 -r1.76 -r1.77
--- e_intl.c23 Feb 2006 15:17:52 -  1.76
+++ e_intl.c9 Mar 2006 14:50:12 -   1.77
@@ -27,10 +27,10 @@
 #define E_EXE_STOP(EXE) if (EXE != NULL) { ecore_exe_terminate(EXE); 
ecore_exe_free(EXE); EXE = NULL; }
 #define E_EXE_IS_VALID(EXE) (!((EXE == NULL) || (EXE[0] == 0)))
 
-#define E_LOC_CODESET  1  0
-#define E_LOC_REGION   1  1
-#define E_LOC_MODIFIER 1  2
-#define E_LOC_LANG 1  3
+#define E_LOC_CODESET  E_INTL_LOC_CODESET
+#define E_LOC_REGION   E_INTL_LOC_REGION
+#define E_LOC_MODIFIER E_INTL_LOC_MODIFIER
+#define E_LOC_LANG E_INTL_LOC_LANG
 
 #define E_LOC_ALL  E_LOC_LANG | E_LOC_REGION | E_LOC_CODESET | 
E_LOC_MODIFIER
 #define E_LOC_SIGNIFICANT E_LOC_LANG | E_LOC_REGION | E_LOC_CODESET
@@ -41,7 +41,6 @@
 static int  _e_intl_language_list_find(Evas_List *language_list, 
char *language);
 
 /* Locale Validation and Discovery */
-static char*_e_intl_locale_canonic_get(char *locale, int ret_mask);
 static char*_e_intl_locale_alias_get(char *language); 
 static Evas_Hash   *_e_intl_locale_alias_hash_get(void);
 static Evas_List   *_e_intl_locale_system_locales_get(void);
@@ -202,7 +201,7 @@
   {
  char * match_lang;
 
- match_lang = _e_intl_locale_canonic_get(alias_locale, 
E_LOC_LANG);
+ match_lang = e_intl_locale_canonic_get(alias_locale, 
E_LOC_LANG);
  
  /* If locale is C 

E CVS: libs/ewl dj2

2006-03-09 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests


Modified Files:
ewl_text.c 


Log Message:
- unit tests don't use Ecore_List anymore just Ewl_Unit_Test *. makes it
  easier to do the initialization
- and an example of how unit tests will be done to tests/ewl_text.c

===
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/bin/tests/ewl_text.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- ewl_text.c  2 Mar 2006 23:52:49 -   1.1
+++ ewl_text.c  9 Mar 2006 14:53:53 -   1.2
@@ -8,6 +8,13 @@
 static void trigger_cb_mouse_in(Ewl_Widget *w, void *ev, void *data);
 static void trigger_cb(Ewl_Widget *w, void *ev, void *data);
 
+static int text_test_set_get(char *buf, int len);
+
+static Ewl_Unit_Test text_unit_tests[] = {
+   {set/get, text_test_set_get}, 
+   {NULL, NULL}
+   };
+
 void 
 test_info(Ewl_Test *test)
 {
@@ -17,6 +24,7 @@
test-filename = ewl_text.c;
test-func = create_test;
test-type = EWL_TEST_TYPE_SIMPLE;
+   test-unit_tests = text_unit_tests;
 }
 
 static int
@@ -142,3 +150,23 @@
ewl_text_color_apply(EWL_TEXT(t-text_parent), 0, 0, 0, 255, t-len);
 }
 
+static int
+text_test_set_get(char *buf, int len)
+{
+   Ewl_Widget *o;
+   char *t;
+   int ret = 0;
+
+   o = ewl_text_new();
+   ewl_text_text_set(EWL_TEXT(o), This is the test text.);
+   t = ewl_text_text_get(EWL_TEXT(o));
+
+   if (strcmp(t, This is the test text.))
+   snprintf(buf, len, text_get did not match text_set.);
+   else
+   ret = 1;
+
+   return ret;
+}
+
+




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl dj2

2006-03-09 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin


Modified Files:
Ewl_Test2.h main.c 


Log Message:
- unit tests don't use Ecore_List anymore just Ewl_Unit_Test *. makes it
  easier to do the initialization
- and an example of how unit tests will be done to tests/ewl_text.c

===
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/bin/Ewl_Test2.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- Ewl_Test2.h 9 Mar 2006 05:45:14 -   1.2
+++ Ewl_Test2.h 9 Mar 2006 14:53:53 -   1.3
@@ -19,6 +19,13 @@
 };
 typedef enum Ewl_Test_Type Ewl_Test_Type;
 
+typedef struct Ewl_Unit_Test Ewl_Unit_Test;
+struct Ewl_Unit_Test
+{
+   const char *name;
+   int (*func)(char *buf, int len);
+};
+
 typedef struct Ewl_Test Ewl_Test;
 struct Ewl_Test
 {
@@ -29,14 +36,7 @@
void *handle;
Ewl_Test_Type type;
int (*func)(Ewl_Container *con);
-   Ecore_List *unit_tests;
-};
-
-typedef struct Ewl_Unit_Test Ewl_Unit_Test;
-struct Ewl_Unit_Test
-{
-   const char *name;
-   int (*func)(char *buf, int len);
+   Ewl_Unit_Test *unit_tests;
 };
 
 #endif
===
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/bin/main.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- main.c  9 Mar 2006 05:45:14 -   1.8
+++ main.c  9 Mar 2006 14:53:53 -   1.9
@@ -88,7 +88,9 @@
run_window_test(test, MAIN_WIDTH, MAIN_HEIGHT);
}
 
-   ewl_main();
+   if (!unit_test)
+   ewl_main();
+
return 0;
 }
 
@@ -143,20 +145,20 @@
 static void
 run_unit_tests(Ewl_Test *test)
 {
-   Ewl_Unit_Test *t;
+   int i;
char buf[1024];
 
/* no unit tests, nothign to do */
if (!test-unit_tests) return;
 
-   ecore_list_goto_first(test-unit_tests);
-   while ((t = ecore_list_next(test-unit_tests)))
+   for (i = 0; test-unit_tests[i].func; i++)
{
int ret;
 
-   printf(Running %s: , t-name);
-   ret = t-func(buf, sizeof(buf));
-   printf(%s %s, (ret ? passed : failed), buf);
+   printf(Running %s: , test-unit_tests[i].name);
+   ret = test-unit_tests[i].func(buf, sizeof(buf));
+   printf(%s %s\n, (ret ? passed : failed), 
+   (ret ?  : buf));
buf[0] = '\0';
}
 }




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/e_utils onefang

2006-03-09 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : onefang
Project : e17
Module  : apps/e_utils

Dir : e17/apps/e_utils/src/bin/e17genmenu


Modified Files:
eaps.c fdo_menus.c 


Log Message:
Lame attempts to fix some problems, or at least stop them from crashing.
I'll look closer at these problems tomorrow.

===
RCS file: /cvsroot/enlightenment/e17/apps/e_utils/src/bin/e17genmenu/eaps.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- eaps.c  7 Mar 2006 21:58:24 -   1.1
+++ eaps.c  9 Mar 2006 15:00:12 -   1.2
@@ -74,11 +74,10 @@
 #ifdef DEBUG
fprintf(stderr, \tWriting Icon %s\n, i);
 #endif
-   if (!i)
-  ifile = ecore_file_get_file(DEFAULTICON);
-   if (i)
-  ifile = ecore_file_get_file(i);
-
+   /* FIXME: This does not seem to be catching all the problems.  Further head 
scratching is needed. */
+   if ((!i) || (i[0] == '\0'))
+  i = DEFAULTICON;
+   ifile = ecore_file_get_file(i);
idir = ecore_file_get_dir(i);
 
eet = engrave_file_new();
===
RCS file: 
/cvsroot/enlightenment/e17/apps/e_utils/src/bin/e17genmenu/fdo_menus.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- fdo_menus.c 9 Mar 2006 03:06:25 -   1.2
+++ fdo_menus.c 9 Mar 2006 15:00:12 -   1.3
@@ -534,8 +534,16 @@
int i, count = 0, menu_count = 0;
 
legacy_data = (struct _fdo_menus_legacy_data *)data;
-   menu_path = (char *)legacy_data-current-elements[1].element;
-   menu_path += 12 + legacy_data-menu_length;
+   if (legacy_data-current-elements[1].type == DUMB_TREE_ELEMENT_TYPE_STRING)
+ {
+menu_path = (char *)legacy_data-current-elements[1].element;
+menu_path += 12 + legacy_data-menu_length;
+ }
+   else
+ {
+menu_path = ;
+printf(  PROBLEM IN LEGACYDIR FILE - %s - %s  %s\n, 
legacy_data-prefix, legacy_data-path, path[legacy_data-length]);
+ }
 
for (i = legacy_data-length; path[i] != '\0'; i++)
  {




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: proto codewarrior

2006-03-09 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : codewarrior
Project : e17
Module  : proto

Dir : e17/proto/etk/src/lib


Modified Files:
etk_filechooser_widget.c etk_filechooser_widget.h etk_widget.c 


Log Message:
more filechooser api, thanks rookmoot, fix small warning
===
RCS file: 
/cvsroot/enlightenment/e17/proto/etk/src/lib/etk_filechooser_widget.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- etk_filechooser_widget.c6 Mar 2006 22:49:11 -   1.8
+++ etk_filechooser_widget.c9 Mar 2006 16:36:03 -   1.9
@@ -240,6 +240,45 @@
 }
 
 /**
+ * @brief Retrives the current file selected
+ * @return Returns filename
+ */
+const char *etk_filechooser_widget_selected_file_get(Etk_Filechooser_Widget 
*filechooser_widget)
+{
+   const char *filename;
+   Etk_Tree_Row *row;
+
+   if (!filechooser_widget  !(filechooser_widget-files_tree))
+  return NULL;
+
+   row = etk_tree_selected_row_get(ETK_TREE(filechooser_widget-files_tree));
+   etk_tree_row_fields_get(row, filechooser_widget-files_name_col, NULL, 
NULL, filename, NULL);
+
+   return filename;
+}
+
+/**
+ * @brief Retrives the current files selected
+ * @return Returns filenames list
+ */
+Evas_List *etk_filechooser_widget_selected_files_get(Etk_Filechooser_Widget 
*filechooser_widget)
+{
+char *filename;
+Evas_List *files = NULL;
+Evas_List *selected_rows;
+Evas_List *l;
+
+selected_rows = 
etk_tree_selected_rows_get(ETK_TREE(filechooser_widget-files_tree));
+for(l = selected_rows; l; l = l-next)
+ {
+   etk_tree_row_fields_get(l-data, filechooser_widget-files_name_col, 
NULL, NULL, filename, NULL);
+   files = evas_list_append(files, filename);
+ }
+
+return files;
+}
+
+/**
  * @brief Sets if the filechooser widget can select multiple files
  * @param filechooser_widget a filechooser widget
  * @param select_multiple ETK_TRUE to allow the filechooser to select multiple 
files
===
RCS file: 
/cvsroot/enlightenment/e17/proto/etk/src/lib/etk_filechooser_widget.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- etk_filechooser_widget.h12 Feb 2006 00:55:22 -  1.3
+++ etk_filechooser_widget.h9 Mar 2006 16:36:03 -   1.4
@@ -58,6 +58,9 @@
 void etk_filechooser_widget_current_folder_set(Etk_Filechooser_Widget 
*filechooser_widget, const char *folder);
 const char *etk_filechooser_widget_current_folder_get(Etk_Filechooser_Widget 
*filechooser_widget);
 
+const char *etk_filechooser_widget_selected_file_get(Etk_Filechooser_Widget 
*widget);
+Evas_List *etk_filechooser_widget_selected_files_get(Etk_Filechooser_Widget 
*widget);
+
 /** @} */
 
 #endif
===
RCS file: /cvsroot/enlightenment/e17/proto/etk/src/lib/etk_widget.c,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -3 -r1.48 -r1.49
--- etk_widget.c6 Mar 2006 00:04:43 -   1.48
+++ etk_widget.c9 Mar 2006 16:36:03 -   1.49
@@ -2793,7 +2793,7 @@
   const char **types;
   unsigned int num_types;
   char *data;
-  Etk_Drag *drag;
+  Etk_Widget *drag;
   
   drag = (ETK_WIDGET(object))-drag;
   
@@ -2805,7 +2805,7 @@
   
   //etk_drag_types_set(drag, types, num_types);
   //etk_drag_data_set(drag, data, strlen(data) + 1);
-  etk_drag_begin(drag);
+  etk_drag_begin(ETK_DRAG(drag));
}
 }
 




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/eet xstasi

2006-03-09 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : xstasi
Project : e17
Module  : libs/eet

Dir : e17/libs/eet


Modified Files:
configure.in 


Log Message:
readded debian/changelog to configure.in
===
RCS file: /cvsroot/enlightenment/e17/libs/eet/configure.in,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -3 -r1.49 -r1.50
--- configure.in3 Mar 2006 12:56:15 -   1.49
+++ configure.in9 Mar 2006 17:25:25 -   1.50
@@ -163,6 +163,7 @@
 eet-native.oe
 eet.bb
 eetXnative.bb
+debian/changelog
 ],[
 chmod +x eet-config
 ])




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl rbdpngn

2006-03-09 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : rbdpngn
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests


Modified Files:
Makefile.am ewl_text.c 
Added Files:
ewl_image.c 


Log Message:
Add the image test to ewl_test2.

===
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/bin/tests/Makefile.am,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -3 -r1.13 -r1.14
--- Makefile.am 9 Mar 2006 05:26:04 -   1.13
+++ Makefile.am 9 Mar 2006 18:23:39 -   1.14
@@ -22,7 +22,7 @@
  ewl_floater.la ewl_icon.la ewl_iconbox.la  \
  ewl_tooltip.la ewl_seeker.la ewl_statusbar.la \
  ewl_scrollbar.la ewl_password.la ewl_menubar.la \
- ewl_tree2.la
+ ewl_tree2.la ewl_image.la
 
 ewl_border_la_SOURCES   = ewl_border.c
 ewl_border_la_LIBADD= $(top_builddir)/src/lib/libewl.la
@@ -157,6 +157,13 @@
  -L$(top_builddir)/src/lib/.libs
 ewl_iconbox_la_DEPENDENCIES = 
 
+ewl_image_la_SOURCES   = ewl_image.c
+ewl_image_la_LIBADD= $(top_builddir)/src/lib/libewl.la
+ewl_image_la_LDFLAGS   = -module -avoid-version \
+ -L$(top_builddir)/src/lib \
+ -L$(top_builddir)/src/lib/.libs
+ewl_image_la_DEPENDENCIES = 
+
 ewl_tooltip_la_SOURCES   = ewl_tooltip.c
 ewl_tooltip_la_LIBADD= $(top_builddir)/src/lib/libewl.la
 ewl_tooltip_la_LDFLAGS = -module -avoid-version \
===
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/bin/tests/ewl_text.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- ewl_text.c  9 Mar 2006 14:53:53 -   1.2
+++ ewl_text.c  9 Mar 2006 18:23:39 -   1.3
@@ -11,7 +11,7 @@
 static int text_test_set_get(char *buf, int len);
 
 static Ewl_Unit_Test text_unit_tests[] = {
-   {set/get, text_test_set_get}, 
+   {text set/get, text_test_set_get},
{NULL, NULL}
};
 




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl dj2

2006-03-09 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin


Modified Files:
main.c 


Log Message:
- hook the unit tests into the test ui

===
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/bin/main.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- main.c  9 Mar 2006 14:53:53 -   1.9
+++ main.c  9 Mar 2006 18:49:15 -   1.10
@@ -20,9 +20,11 @@
 static void run_window_test(Ewl_Test *test, int width, int height);
 static void run_unit_tests(Ewl_Test *test);
 static int create_main_test_window(Ewl_Container *win);
-static void fill_source_text(Ewl_Test *text);
+static void fill_source_text(Ewl_Test *test);
+static void setup_unit_tests(Ewl_Test *test);
 
 static void ewl_test_cb_delete_window(Ewl_Widget *w, void *ev, void *data);
+static void cb_run_unit_tests(Ewl_Widget *w, void *ev, void *data);
 
 static Ecore_List *tests = NULL;
 static int window_count = 0;
@@ -183,6 +185,7 @@
ewl_notebook_visible_page_set(EWL_NOTEBOOK(n), c);
 
fill_source_text(t);
+   setup_unit_tests(t);
 }
 
 static int
@@ -261,6 +264,7 @@
Ewl_Widget *note, *tree, *o, *o2;
Ewl_Widget *sim, *adv, *misc, *container;
char *entries[1];
+   char *headers[] = {Test, Pass/Fail, Reason};
 
note = ewl_notebook_new();
ewl_container_child_append(box, note);
@@ -329,9 +333,22 @@
o = ewl_vbox_new();
ewl_container_child_append(EWL_CONTAINER(note), o);
ewl_notebook_page_tab_text_set(EWL_NOTEBOOK(note), o, Unit Tests);
-   ewl_widget_name_set(o, unit_test_box);
ewl_widget_show(o);
 
+   o2 = ewl_tree_new(3);
+   ewl_container_child_append(EWL_CONTAINER(o), o2);
+   ewl_tree_headers_set(EWL_TREE(o2), headers);
+   ewl_widget_name_set(o2, unit_test_tree);
+   ewl_widget_show(o2);
+
+   o2 = ewl_button_new();
+   ewl_container_child_append(EWL_CONTAINER(o), o2);
+   ewl_button_label_set(EWL_BUTTON(o2), Run unit tests);
+   ewl_callback_append(o2, EWL_CALLBACK_CLICKED, cb_run_unit_tests, NULL);
+   ewl_object_fill_policy_set(EWL_OBJECT(o2), EWL_FLAG_FILL_SHRINK);
+   ewl_widget_name_set(o2, unit_test_button);
+   ewl_widget_show(o2);
+
o = ewl_text_new();
ewl_container_child_append(EWL_CONTAINER(note), o);
ewl_notebook_page_tab_text_set(EWL_NOTEBOOK(note), o, Tutorial);
@@ -370,3 +387,59 @@
fclose(file);
 }
 
+static void
+setup_unit_tests(Ewl_Test *test)
+{
+   Ewl_Widget *button, *tree;
+   char *entries[3];
+   int i;
+
+   button = ewl_widget_name_find(unit_test_button);
+   tree = ewl_widget_name_find(unit_test_tree);
+
+   ewl_container_reset(EWL_CONTAINER(tree));
+
+   /* attach the test data to the button */
+   ewl_widget_data_set(button, test, test);
+
+   /* just clean up if no tests */
+   if (!test-unit_tests) return;
+
+   for (i = 0; test-unit_tests[i].func; i++)
+   {
+   entries[0] = (char *)test-unit_tests[i].name;
+   entries[1] = ;
+   entries[2] = ;
+
+   ewl_tree_text_row_add(EWL_TREE(tree), NULL, entries);
+   }
+}
+
+static void
+cb_run_unit_tests(Ewl_Widget *w, void *ev __UNUSED__, void *data __UNUSED__)
+{
+   Ewl_Test *test;
+   Ewl_Widget *tree;
+   char *entries[3];
+   char buf[1024];
+   int i;
+
+   test = ewl_widget_data_get(w, test);
+   if ((!test) || (!test-unit_tests)) return;
+
+   tree = ewl_widget_name_find(unit_test_tree);
+   ewl_container_reset(EWL_CONTAINER(tree));
+
+   for (i = 0; test-unit_tests[i].func; i++)
+   {
+   int ret;
+   ret = test-unit_tests[i].func(buf, sizeof(buf));
+
+   entries[0] = (char *)test-unit_tests[i].name;
+   entries[1] = (ret ? PASS : FAIL);
+   entries[2] = (ret ?  : buf);
+   ewl_tree_text_row_add(EWL_TREE(tree), NULL, entries);
+   }
+}
+
+




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl dj2

2006-03-09 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin


Modified Files:
Makefile.am ewl_test.c ewl_test.h main.c 
Removed Files:
ewl_image_test.c 


Log Message:
- remove old image test
- only fclose if we were able to open the file
- install the ewl_image.c test file

===
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/bin/Makefile.am,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -3 -r1.25 -r1.26
--- Makefile.am 9 Mar 2006 05:26:03 -   1.25
+++ Makefile.am 9 Mar 2006 18:57:35 -   1.26
@@ -13,7 +13,6 @@
 ewl_test_DEPENDENCIES  =   $(top_builddir)/src/lib/libewl.la
 ewl_test_SOURCES   =   ewl_test.h \
ewl_test.c \
-   ewl_image_test.c \
ewl_imenu_test.c \
ewl_menu_test.c \
ewl_notebook_test.c \
===
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/bin/ewl_test.c,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -3 -r1.32 -r1.33
--- ewl_test.c  9 Mar 2006 05:26:04 -   1.32
+++ ewl_test.c  9 Mar 2006 18:57:35 -   1.33
@@ -58,13 +58,6 @@
Ewl_Widget *prow;
static test_set   tests[] = {
{
-   Image,
-   __create_image_test_window,
-   ewl_image_test.c,
-   Provides a widget for displaying evas\n
-   loadable images, and edjes.,
-   },
-   {
IMenu,
__create_imenu_test_window,
ewl_imenu_test.c,
===
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/bin/ewl_test.h,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -3 -r1.24 -r1.25
--- ewl_test.h  9 Mar 2006 05:26:04 -   1.24
+++ ewl_test.h  9 Mar 2006 18:57:35 -   1.25
@@ -28,7 +28,6 @@
 };
 
 void __close_main_window(Ewl_Widget * w, void *ev_data, void 
*user_data);
-void __create_image_test_window (Ewl_Widget * w, void *ev_data, void 
*user_data);
 void __create_imenu_test_window (Ewl_Widget * w, void *ev_data, void 
*user_data);
 void __create_menu_test_window  (Ewl_Widget * w, void *ev_data, void 
*user_data);
 void __create_notebook_test_window  (Ewl_Widget * w, void *ev_data, void 
*user_data);
===
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/bin/main.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- main.c  9 Mar 2006 18:49:15 -   1.10
+++ main.c  9 Mar 2006 18:57:35 -   1.11
@@ -383,8 +383,8 @@
 
ewl_text_text_set(EWL_TEXT(txt), str);
free(str);
+   fclose(file);
}
-   fclose(file);
 }
 
 static void




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl dj2

2006-03-09 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests


Modified Files:
.cvsignore Makefile.am 


Log Message:
- remove old image test
- only fclose if we were able to open the file
- install the ewl_image.c test file

===
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/bin/tests/.cvsignore,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- .cvsignore  9 Mar 2006 05:26:04 -   1.10
+++ .cvsignore  9 Mar 2006 18:57:35 -   1.11
@@ -54,3 +54,5 @@
 ewl_menubar.lo
 ewl_tree2.la
 ewl_tree2.lo
+ewl_image.la
+ewl_image.lo
===
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/bin/tests/Makefile.am,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -3 -r1.14 -r1.15
--- Makefile.am 9 Mar 2006 18:23:39 -   1.14
+++ Makefile.am 9 Mar 2006 18:57:35 -   1.15
@@ -225,7 +225,8 @@
$(ewl_iconbox_la_SOURCES) $(ewl_tooltip_la_SOURCES) \
$(ewl_seeker_la_SOURCES) $(ewl_statusbar_la_SOURCES) \
$(ewl_scrollbar_la_SOURCES) $(ewl_password_la_SOURCES) \
-   $(ewl_menubar_la_SOURCES) $(ewl_tree2_la_SOURCES)
+   $(ewl_menubar_la_SOURCES) $(ewl_tree2_la_SOURCES) \
+   $(ewl_image_la_SOURCES)
 
 EXTRA_DIST = $(FILES)
 




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/e_utils onefang

2006-03-09 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : onefang
Project : e17
Module  : apps/e_utils

Dir : e17/apps/e_utils/src/bin/e17genmenu


Modified Files:
fdo_menus.c 


Log Message:
Damn insomnia.  Let's try to do something useful.

One more crack at this.

===
RCS file: 
/cvsroot/enlightenment/e17/apps/e_utils/src/bin/e17genmenu/fdo_menus.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- fdo_menus.c 9 Mar 2006 15:00:12 -   1.3
+++ fdo_menus.c 9 Mar 2006 19:34:29 -   1.4
@@ -534,7 +534,8 @@
int i, count = 0, menu_count = 0;
 
legacy_data = (struct _fdo_menus_legacy_data *)data;
-   if (legacy_data-current-elements[1].type == DUMB_TREE_ELEMENT_TYPE_STRING)
+   if ((legacy_data-current)  (legacy_data-current-size  0) 
+   (legacy_data-current-elements[1].type == 
DUMB_TREE_ELEMENT_TYPE_STRING))
  {
 menu_path = (char *)legacy_data-current-elements[1].element;
 menu_path += 12 + legacy_data-menu_length;




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl dj2

2006-03-09 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin


Modified Files:
Makefile.am ewl_test.c ewl_test.h 
Removed Files:
ewl_tree_test.c 


Log Message:
- port tree_test to test2 framework

===
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/bin/Makefile.am,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -3 -r1.26 -r1.27
--- Makefile.am 9 Mar 2006 18:57:35 -   1.26
+++ Makefile.am 9 Mar 2006 19:49:41 -   1.27
@@ -19,8 +19,7 @@
ewl_progressbar_test.c \
ewl_spinner_test.c \
ewl_table_test.c \
-   ewl_theme_test.c \
-   ewl_tree_test.c
+   ewl_theme_test.c 
 
 # ewl_test_LDFLAGS =   
 ewl_test_LDADD =   $(top_builddir)/src/lib/libewl.la 
@EDJE_LIBS@ @ECORE_LIBS@ @EVAS_LIBS@ @EMOTION_LIBS@ 
===
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/bin/ewl_test.c,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -3 -r1.33 -r1.34
--- ewl_test.c  9 Mar 2006 18:57:35 -   1.33
+++ ewl_test.c  9 Mar 2006 19:49:42 -   1.34
@@ -110,13 +110,6 @@
Shows the utilization of themes\n
inside a EWL application.
},
-   {
-   Tree,
-   __create_tree_test_window,
-   ewl_tree_test.c,
-   Defines a widget for laying out other\n
-   widgets in a tree or list like manner.
-   },
{ 0, NULL, 0, NULL }
};
 
===
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/bin/ewl_test.h,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -3 -r1.25 -r1.26
--- ewl_test.h  9 Mar 2006 18:57:35 -   1.25
+++ ewl_test.h  9 Mar 2006 19:49:42 -   1.26
@@ -36,4 +36,3 @@
 void __create_spinner_test_window   (Ewl_Widget * w, void *ev_data, void 
*user_data);
 void __create_table_test_window (Ewl_Widget * w, void *ev_data, void 
*user_data);
 void __create_theme_test_window (Ewl_Widget * w, void *ev_data, void 
*user_data);
-void __create_tree_test_window  (Ewl_Widget * w, void *ev_data, void 
*user_data);




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl dj2

2006-03-09 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests


Modified Files:
.cvsignore Makefile.am 
Added Files:
ewl_tree.c 


Log Message:
- port tree_test to test2 framework

===
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/bin/tests/.cvsignore,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- .cvsignore  9 Mar 2006 18:57:35 -   1.11
+++ .cvsignore  9 Mar 2006 19:49:42 -   1.12
@@ -56,3 +56,5 @@
 ewl_tree2.lo
 ewl_image.la
 ewl_image.lo
+ewl_tree.lo
+ewl_tree.la
===
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/bin/tests/Makefile.am,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -3 -r1.15 -r1.16
--- Makefile.am 9 Mar 2006 18:57:35 -   1.15
+++ Makefile.am 9 Mar 2006 19:49:42 -   1.16
@@ -22,7 +22,7 @@
  ewl_floater.la ewl_icon.la ewl_iconbox.la  \
  ewl_tooltip.la ewl_seeker.la ewl_statusbar.la \
  ewl_scrollbar.la ewl_password.la ewl_menubar.la \
- ewl_tree2.la ewl_image.la
+ ewl_tree2.la ewl_image.la ewl_tree.la
 
 ewl_border_la_SOURCES   = ewl_border.c
 ewl_border_la_LIBADD= $(top_builddir)/src/lib/libewl.la
@@ -213,6 +213,13 @@
  -L$(top_builddir)/src/lib/.libs
 ewl_tree2_la_DEPENDENCIES = 
 
+ewl_tree_la_SOURCES   = ewl_tree.c
+ewl_tree_la_LIBADD= $(top_builddir)/src/lib/libewl.la
+ewl_tree_la_LDFLAGS= -module -avoid-version \
+ -L$(top_builddir)/src/lib \
+ -L$(top_builddir)/src/lib/.libs
+ewl_tree_la_DEPENDENCIES = 
+
 FILES = $(ewl_border_la_SOURCES) $(ewl_box_la_SOURCES) \
$(ewl_button_la_SOURCES) $(ewl_colordialog_la_SOURCES) \
$(ewl_datepicker_la_SOURCES) $(ewl_freebox_la_SOURCES) \
@@ -226,7 +233,7 @@
$(ewl_seeker_la_SOURCES) $(ewl_statusbar_la_SOURCES) \
$(ewl_scrollbar_la_SOURCES) $(ewl_password_la_SOURCES) \
$(ewl_menubar_la_SOURCES) $(ewl_tree2_la_SOURCES) \
-   $(ewl_image_la_SOURCES)
+   $(ewl_image_la_SOURCES) $(ewl_tree_la_SOURCES)
 
 EXTRA_DIST = $(FILES)
 




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl dj2

2006-03-09 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests


Modified Files:
.cvsignore Makefile.am 
Added Files:
ewl_table.c 


Log Message:
- port table test to test2

===
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/bin/tests/.cvsignore,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- .cvsignore  9 Mar 2006 19:49:42 -   1.12
+++ .cvsignore  9 Mar 2006 19:59:11 -   1.13
@@ -58,3 +58,5 @@
 ewl_image.lo
 ewl_tree.lo
 ewl_tree.la
+ewl_table.la
+ewl_table.lo
===
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/bin/tests/Makefile.am,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -3 -r1.16 -r1.17
--- Makefile.am 9 Mar 2006 19:49:42 -   1.16
+++ Makefile.am 9 Mar 2006 19:59:11 -   1.17
@@ -22,7 +22,8 @@
  ewl_floater.la ewl_icon.la ewl_iconbox.la  \
  ewl_tooltip.la ewl_seeker.la ewl_statusbar.la \
  ewl_scrollbar.la ewl_password.la ewl_menubar.la \
- ewl_tree2.la ewl_image.la ewl_tree.la
+ ewl_tree2.la ewl_image.la ewl_tree.la \
+ ewl_table.la
 
 ewl_border_la_SOURCES   = ewl_border.c
 ewl_border_la_LIBADD= $(top_builddir)/src/lib/libewl.la
@@ -220,6 +221,13 @@
  -L$(top_builddir)/src/lib/.libs
 ewl_tree_la_DEPENDENCIES = 
 
+ewl_table_la_SOURCES   = ewl_table.c
+ewl_table_la_LIBADD= $(top_builddir)/src/lib/libewl.la
+ewl_table_la_LDFLAGS   = -module -avoid-version \
+ -L$(top_builddir)/src/lib \
+ -L$(top_builddir)/src/lib/.libs
+ewl_table_la_DEPENDENCIES = 
+
 FILES = $(ewl_border_la_SOURCES) $(ewl_box_la_SOURCES) \
$(ewl_button_la_SOURCES) $(ewl_colordialog_la_SOURCES) \
$(ewl_datepicker_la_SOURCES) $(ewl_freebox_la_SOURCES) \
@@ -233,7 +241,8 @@
$(ewl_seeker_la_SOURCES) $(ewl_statusbar_la_SOURCES) \
$(ewl_scrollbar_la_SOURCES) $(ewl_password_la_SOURCES) \
$(ewl_menubar_la_SOURCES) $(ewl_tree2_la_SOURCES) \
-   $(ewl_image_la_SOURCES) $(ewl_tree_la_SOURCES)
+   $(ewl_image_la_SOURCES) $(ewl_tree_la_SOURCES) \
+   $(ewl_table_la_SOURCES)
 
 EXTRA_DIST = $(FILES)
 




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl dj2

2006-03-09 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin


Modified Files:
Makefile.am ewl_test.c ewl_test.h 
Removed Files:
ewl_table_test.c 


Log Message:
- port table test to test2

===
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/bin/Makefile.am,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -3 -r1.27 -r1.28
--- Makefile.am 9 Mar 2006 19:49:41 -   1.27
+++ Makefile.am 9 Mar 2006 19:59:11 -   1.28
@@ -18,7 +18,6 @@
ewl_notebook_test.c \
ewl_progressbar_test.c \
ewl_spinner_test.c \
-   ewl_table_test.c \
ewl_theme_test.c 
 
 # ewl_test_LDFLAGS =   
===
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/bin/ewl_test.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -3 -r1.34 -r1.35
--- ewl_test.c  9 Mar 2006 19:49:42 -   1.34
+++ ewl_test.c  9 Mar 2006 19:59:11 -   1.35
@@ -97,13 +97,6 @@
and decrement the value.
},
{
-   Table,
-   __create_table_test_window,
-   ewl_table_test.c,
-   Defines the Ewl_Table class used for\n
-   laying out Ewl_Widget's in an array.
-   },
-   {
Theme,
__create_theme_test_window,
ewl_theme_test.c,
===
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/bin/ewl_test.h,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -3 -r1.26 -r1.27
--- ewl_test.h  9 Mar 2006 19:49:42 -   1.26
+++ ewl_test.h  9 Mar 2006 19:59:11 -   1.27
@@ -34,5 +34,4 @@
 void __create_progressbar_test_window   (Ewl_Widget * w, void *ev_data, void 
*user_data);
 void __create_scrollpane_test_window(Ewl_Widget * w, void *ev_data, void 
*user_data);
 void __create_spinner_test_window   (Ewl_Widget * w, void *ev_data, void 
*user_data);
-void __create_table_test_window (Ewl_Widget * w, void *ev_data, void 
*user_data);
 void __create_theme_test_window (Ewl_Widget * w, void *ev_data, void 
*user_data);




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: proto doursse

2006-03-09 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : proto

Dir : e17/proto/etk


Modified Files:
TODO 


Log Message:
todo++
===
RCS file: /cvsroot/enlightenment/e17/proto/etk/TODO,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- TODO13 Feb 2006 12:56:03 -  1.7
+++ TODO9 Mar 2006 20:23:57 -   1.8
@@ -41,3 +41,5 @@
 * toolbar
 * drag and drop [In progress: CodeWarrior]
 * copy and paste [In progress: CodeWarrior]
+* signals in dialog
+* add spin buttons and sliders to colorpicker




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl dj2

2006-03-09 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin


Modified Files:
Makefile.am ewl_test.c ewl_test.h 
Removed Files:
ewl_notebook_test.c 


Log Message:
- port the notebook test. 

  NOTE there appears to be something wacky going on
  with a notebook inside a notebook. So, if you run this in the UI stuff can
  go wierd (which needs to be fixed). Runs fine in a window.

===
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/bin/Makefile.am,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -3 -r1.28 -r1.29
--- Makefile.am 9 Mar 2006 19:59:11 -   1.28
+++ Makefile.am 9 Mar 2006 20:29:12 -   1.29
@@ -15,7 +15,6 @@
ewl_test.c \
ewl_imenu_test.c \
ewl_menu_test.c \
-   ewl_notebook_test.c \
ewl_progressbar_test.c \
ewl_spinner_test.c \
ewl_theme_test.c 
===
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/bin/ewl_test.c,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -3 -r1.35 -r1.36
--- ewl_test.c  9 Mar 2006 19:59:11 -   1.35
+++ ewl_test.c  9 Mar 2006 20:29:12 -   1.36
@@ -75,14 +75,6 @@
such as Ewl_Menu and Ewl_IMenu.
},
{
-   Notebook,
-   __create_notebook_test_window,
-   ewl_notebook_test.c,
-   Provides a container whose children\n
-   are pages that can be switched\n
-   between using tab labels along one\nedge
-   },
-   {
Progressbar,
__create_progressbar_test_window,
ewl_progressbar_test.c,
===
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/bin/ewl_test.h,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -3 -r1.27 -r1.28
--- ewl_test.h  9 Mar 2006 19:59:11 -   1.27
+++ ewl_test.h  9 Mar 2006 20:29:12 -   1.28
@@ -30,7 +30,6 @@
 void __close_main_window(Ewl_Widget * w, void *ev_data, void 
*user_data);
 void __create_imenu_test_window (Ewl_Widget * w, void *ev_data, void 
*user_data);
 void __create_menu_test_window  (Ewl_Widget * w, void *ev_data, void 
*user_data);
-void __create_notebook_test_window  (Ewl_Widget * w, void *ev_data, void 
*user_data);
 void __create_progressbar_test_window   (Ewl_Widget * w, void *ev_data, void 
*user_data);
 void __create_scrollpane_test_window(Ewl_Widget * w, void *ev_data, void 
*user_data);
 void __create_spinner_test_window   (Ewl_Widget * w, void *ev_data, void 
*user_data);




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl dj2

2006-03-09 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests


Modified Files:
.cvsignore Makefile.am 
Added Files:
ewl_notebook.c 


Log Message:
- port the notebook test. 

  NOTE there appears to be something wacky going on
  with a notebook inside a notebook. So, if you run this in the UI stuff can
  go wierd (which needs to be fixed). Runs fine in a window.

===
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/bin/tests/.cvsignore,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -3 -r1.13 -r1.14
--- .cvsignore  9 Mar 2006 19:59:11 -   1.13
+++ .cvsignore  9 Mar 2006 20:29:12 -   1.14
@@ -60,3 +60,5 @@
 ewl_tree.la
 ewl_table.la
 ewl_table.lo
+ewl_notebook.la
+ewl_notebook.lo
===
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/bin/tests/Makefile.am,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -3 -r1.17 -r1.18
--- Makefile.am 9 Mar 2006 19:59:11 -   1.17
+++ Makefile.am 9 Mar 2006 20:29:12 -   1.18
@@ -23,7 +23,7 @@
  ewl_tooltip.la ewl_seeker.la ewl_statusbar.la \
  ewl_scrollbar.la ewl_password.la ewl_menubar.la \
  ewl_tree2.la ewl_image.la ewl_tree.la \
- ewl_table.la
+ ewl_table.la ewl_notebook.la
 
 ewl_border_la_SOURCES   = ewl_border.c
 ewl_border_la_LIBADD= $(top_builddir)/src/lib/libewl.la
@@ -228,6 +228,13 @@
  -L$(top_builddir)/src/lib/.libs
 ewl_table_la_DEPENDENCIES = 
 
+ewl_notebook_la_SOURCES   = ewl_notebook.c
+ewl_notebook_la_LIBADD= $(top_builddir)/src/lib/libewl.la
+ewl_notebook_la_LDFLAGS= -module -avoid-version \
+ -L$(top_builddir)/src/lib \
+ -L$(top_builddir)/src/lib/.libs
+ewl_notebook_la_DEPENDENCIES = 
+
 FILES = $(ewl_border_la_SOURCES) $(ewl_box_la_SOURCES) \
$(ewl_button_la_SOURCES) $(ewl_colordialog_la_SOURCES) \
$(ewl_datepicker_la_SOURCES) $(ewl_freebox_la_SOURCES) \
@@ -242,7 +249,7 @@
$(ewl_scrollbar_la_SOURCES) $(ewl_password_la_SOURCES) \
$(ewl_menubar_la_SOURCES) $(ewl_tree2_la_SOURCES) \
$(ewl_image_la_SOURCES) $(ewl_tree_la_SOURCES) \
-   $(ewl_table_la_SOURCES)
+   $(ewl_table_la_SOURCES) $(ewl_notebook_la_SOURCES)
 
 EXTRA_DIST = $(FILES)
 




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl dj2

2006-03-09 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin


Modified Files:
ewl_test.h 
Removed Files:
ewl_scrollpane_test.c 


Log Message:
- port the scrollpane test

===
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/bin/ewl_test.h,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -3 -r1.28 -r1.29
--- ewl_test.h  9 Mar 2006 20:29:12 -   1.28
+++ ewl_test.h  9 Mar 2006 20:36:56 -   1.29
@@ -31,6 +31,5 @@
 void __create_imenu_test_window (Ewl_Widget * w, void *ev_data, void 
*user_data);
 void __create_menu_test_window  (Ewl_Widget * w, void *ev_data, void 
*user_data);
 void __create_progressbar_test_window   (Ewl_Widget * w, void *ev_data, void 
*user_data);
-void __create_scrollpane_test_window(Ewl_Widget * w, void *ev_data, void 
*user_data);
 void __create_spinner_test_window   (Ewl_Widget * w, void *ev_data, void 
*user_data);
 void __create_theme_test_window (Ewl_Widget * w, void *ev_data, void 
*user_data);




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl dj2

2006-03-09 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin


Modified Files:
Makefile.am ewl_test.c ewl_test.h 
Removed Files:
ewl_progressbar_test.c 


Log Message:
- port the progressbar tests

===
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/bin/Makefile.am,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -3 -r1.30 -r1.31
--- Makefile.am 9 Mar 2006 21:46:04 -   1.30
+++ Makefile.am 9 Mar 2006 22:09:33 -   1.31
@@ -15,7 +15,6 @@
ewl_test.c \
ewl_imenu_test.c \
ewl_menu_test.c \
-   ewl_progressbar_test.c \
ewl_theme_test.c 
 
 # ewl_test_LDFLAGS =   
===
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/bin/ewl_test.c,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -3 -r1.37 -r1.38
--- ewl_test.c  9 Mar 2006 21:46:04 -   1.37
+++ ewl_test.c  9 Mar 2006 22:09:34 -   1.38
@@ -75,12 +75,6 @@
such as Ewl_Menu and Ewl_IMenu.
},
{
-   Progressbar,
-   __create_progressbar_test_window,
-   ewl_progressbar_test.c,
-   Provides a progress bar from a given value.
-   },
-   {
Theme,
__create_theme_test_window,
ewl_theme_test.c,
===
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/bin/ewl_test.h,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -3 -r1.30 -r1.31
--- ewl_test.h  9 Mar 2006 21:46:04 -   1.30
+++ ewl_test.h  9 Mar 2006 22:09:34 -   1.31
@@ -30,5 +30,4 @@
 void __close_main_window(Ewl_Widget * w, void *ev_data, void 
*user_data);
 void __create_imenu_test_window (Ewl_Widget * w, void *ev_data, void 
*user_data);
 void __create_menu_test_window  (Ewl_Widget * w, void *ev_data, void 
*user_data);
-void __create_progressbar_test_window   (Ewl_Widget * w, void *ev_data, void 
*user_data);
 void __create_theme_test_window (Ewl_Widget * w, void *ev_data, void 
*user_data);




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl dj2

2006-03-09 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests


Modified Files:
.cvsignore Makefile.am 
Added Files:
ewl_progressbar.c 


Log Message:
- port the progressbar tests

===
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/bin/tests/.cvsignore,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -3 -r1.15 -r1.16
--- .cvsignore  9 Mar 2006 20:36:57 -   1.15
+++ .cvsignore  9 Mar 2006 22:09:34 -   1.16
@@ -64,3 +64,7 @@
 ewl_notebook.lo
 ewl_scrollpane.la
 ewl_scrollpane.lo
+ewl_spinner.la
+ewl_spinner.lo
+ewl_progressbar.la
+ewl_progressbar.lo
===
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/bin/tests/Makefile.am,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -3 -r1.20 -r1.21
--- Makefile.am 9 Mar 2006 21:46:04 -   1.20
+++ Makefile.am 9 Mar 2006 22:09:34 -   1.21
@@ -24,7 +24,7 @@
  ewl_scrollbar.la ewl_password.la ewl_menubar.la \
  ewl_tree2.la ewl_image.la ewl_tree.la \
  ewl_table.la ewl_notebook.la ewl_scrollpane.la \
- ewl_spinner.la
+ ewl_spinner.la ewl_progressbar.la
 
 ewl_border_la_SOURCES   = ewl_border.c
 ewl_border_la_LIBADD= $(top_builddir)/src/lib/libewl.la
@@ -250,6 +250,13 @@
  -L$(top_builddir)/src/lib/.libs
 ewl_spinner_la_DEPENDENCIES = 
 
+ewl_progressbar_la_SOURCES   = ewl_progressbar.c
+ewl_progressbar_la_LIBADD= $(top_builddir)/src/lib/libewl.la
+ewl_progressbar_la_LDFLAGS = -module -avoid-version \
+ -L$(top_builddir)/src/lib \
+ -L$(top_builddir)/src/lib/.libs
+ewl_progressbar_la_DEPENDENCIES = 
+
 FILES = $(ewl_border_la_SOURCES) $(ewl_box_la_SOURCES) \
$(ewl_button_la_SOURCES) $(ewl_colordialog_la_SOURCES) \
$(ewl_datepicker_la_SOURCES) $(ewl_freebox_la_SOURCES) \
@@ -265,7 +272,8 @@
$(ewl_menubar_la_SOURCES) $(ewl_tree2_la_SOURCES) \
$(ewl_image_la_SOURCES) $(ewl_tree_la_SOURCES) \
$(ewl_table_la_SOURCES) $(ewl_notebook_la_SOURCES) \
-   $(ewl_scrollpane_la_SOURCES) $(ewl_spinner_la_SOURCES)
+   $(ewl_scrollpane_la_SOURCES) $(ewl_spinner_la_SOURCES) \
+   $(ewl_progressbar_la_SOURCES)
 
 EXTRA_DIST = $(FILES)
 




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/e_utils rbdpngn

2006-03-09 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : rbdpngn
Project : e17
Module  : apps/e_utils

Dir : e17/apps/e_utils/src/bin/eapp_edit


Modified Files:
eapp_edit_main.c 


Log Message:
Oops, wrong function in the API change.

===
RCS file: 
/cvsroot/enlightenment/e17/apps/e_utils/src/bin/eapp_edit/eapp_edit_main.c,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -3 -r1.40 -r1.41
--- eapp_edit_main.c9 Mar 2006 10:29:25 -   1.40
+++ eapp_edit_main.c9 Mar 2006 22:43:43 -   1.41
@@ -245,7 +245,7 @@
 row[1] = ewl_image_new();
 ewl_image_file_set(EWL_IMAGE(row[1]), file, icon);
 ewl_image_proportional_set(EWL_IMAGE(row[1]), TRUE);
-ewl_image_scale_set(EWL_IMAGE(row[1]), 32, 32);
+ewl_image_size_set(EWL_IMAGE(row[1]), 32, 32);
 /* FIXME: This can give it a decent background, but introduces a sizing
  * issue to track down
  * ewl_widget_appearance_set(row[1], entry); */




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/e raster

2006-03-09 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/bin


Modified Files:
e_int_config_keybindings.c 


Log Message:


formatting
===
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_int_config_keybindings.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- e_int_config_keybindings.c  5 Mar 2006 01:37:42 -   1.9
+++ e_int_config_keybindings.c  10 Mar 2006 02:44:52 -  1.10
@@ -841,7 +841,7 @@
 
   label = strdup(e_widget_ilist_selected_label_get(obj));
   for (acn = 0; strcasecmp(label, actions_predefined_names[acn].action_name == 
NULL ?  :
-actions_predefined_names[acn].action_name) != 
0; acn++ );
+  actions_predefined_names[acn].action_name) != 0; 
acn++ );
 
   for (l = cfdata-key_bindings; l; l = l-next)
 {




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl dj2

2006-03-09 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin


Modified Files:
Makefile.am main.c 
Added Files:
Ewl_Test.h 
Removed Files:
Ewl_Test2.h ewl_imenu_test.c ewl_media_test.c ewl_menu_test.c 
ewl_test.c ewl_test.h ewl_theme_test.c 


Log Message:
- port imenu, menu, media, theme over to test2
- all the tests are now ported so remove ewl_test and move ewl_test2 to
  ewl_test

===
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/bin/Makefile.am,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -3 -r1.31 -r1.32
--- Makefile.am 9 Mar 2006 22:09:33 -   1.31
+++ Makefile.am 10 Mar 2006 04:05:41 -  1.32
@@ -6,25 +6,15 @@
 AM_CFLAGS  =   -W -Wall -Wno-implicit
 INCLUDES   =   -I$(top_srcdir)/src/lib 
-I$(top_builddir)/src/lib @EDJE_CFLAGS@ @ECORE_CFLAGS@ @EVAS_CFLAGS@ 
@EMOTION_CFLAGS@
 
-EWLTESTPROGRAMS =  ewl_test ewl_test2 ewl_embed_test 
ewl_simple_test ewl_media_test
+EWLTESTPROGRAMS =  ewl_test ewl_embed_test ewl_simple_test 
 
 bin_PROGRAMS   =   $(EWLTESTPROGRAMS)
 
 ewl_test_DEPENDENCIES  =   $(top_builddir)/src/lib/libewl.la
-ewl_test_SOURCES   =   ewl_test.h \
-   ewl_test.c \
-   ewl_imenu_test.c \
-   ewl_menu_test.c \
-   ewl_theme_test.c 
+ewl_test_SOURCES   =   Ewl_Test.h main.c
 
-# ewl_test_LDFLAGS =   
 ewl_test_LDADD =   $(top_builddir)/src/lib/libewl.la 
@EDJE_LIBS@ @ECORE_LIBS@ @EVAS_LIBS@ @EMOTION_LIBS@ 
 
-ewl_test2_DEPENDENCIES =   $(top_builddir)/src/lib/libewl.la
-ewl_test2_SOURCES  =   Ewl_Test2.h main.c
-
-ewl_test2_LDADD=   
$(top_builddir)/src/lib/libewl.la @EDJE_LIBS@ @ECORE_LIBS@ @EVAS_LIBS@ 
@EMOTION_LIBS@ 
-
 ewl_embed_test_DEPENDENCIES=   $(top_builddir)/src/lib/libewl.la
 ewl_embed_test_SOURCES =   ewl_embed_test.c
 
@@ -37,15 +27,10 @@
 # ewl_simple_test_LDFLAGS  =   
 ewl_simple_test_LDADD  =   $(top_builddir)/src/lib/libewl.la 
@EDJE_LIBS@ @ECORE_LIBS@ @EVAS_LIBS@ @EMOTION_LIBS@
 
-ewl_media_test_DEPENDENCIES=   
$(top_builddir)/src/lib/libewl.la
-ewl_media_test_SOURCES =   ewl_media_test.c
-
-# ewl_media_test_LDFLAGS   =   
-ewl_media_test_LDADD   = $(top_builddir)/src/lib/libewl.la 
@EDJE_LIBS@ @ECORE_LIBS@ @EVAS_LIBS@ @EMOTION_LIBS@
-
 EXTRA_DIST =   $(ewl_test_SOURCES) \
$(ewl_embed_test_SOURCES) \
$(ewl_simple_test_SOURCES)
 
 exampledir =   $(pkgdatadir)/examples/
 example_DATA   =   $(ewl_test_SOURCES)
+
===
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/bin/main.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- main.c  9 Mar 2006 18:57:35 -   1.11
+++ main.c  10 Mar 2006 04:05:41 -  1.12
@@ -1,4 +1,4 @@
-#include Ewl_Test2.h
+#include Ewl_Test.h
 #include stdio.h
 #include string.h
 #include stdlib.h




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl dj2

2006-03-09 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests


Modified Files:
.cvsignore Makefile.am ewl_border.c ewl_box.c ewl_button.c 
ewl_calendar.c ewl_colordialog.c ewl_colorpicker.c ewl_combo.c 
ewl_datepicker.c ewl_dialog.c ewl_entry.c ewl_filedialog.c 
ewl_fileselector.c ewl_floater.c ewl_freebox.c ewl_icon.c 
ewl_iconbox.c ewl_image.c ewl_menubar.c ewl_notebook.c 
ewl_paned.c ewl_password.c ewl_progressbar.c ewl_scrollbar.c 
ewl_scrollpane.c ewl_seeker.c ewl_spinner.c ewl_statusbar.c 
ewl_table.c ewl_text.c ewl_text_editor.c ewl_tooltip.c 
ewl_tree.c ewl_tree2.c 
Added Files:
ewl_imenu.c ewl_media.c ewl_menu.c ewl_theme.c 


Log Message:
- port imenu, menu, media, theme over to test2
- all the tests are now ported so remove ewl_test and move ewl_test2 to
  ewl_test

===
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/bin/tests/.cvsignore,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -3 -r1.16 -r1.17
--- .cvsignore  9 Mar 2006 22:09:34 -   1.16
+++ .cvsignore  10 Mar 2006 04:05:41 -  1.17
@@ -68,3 +68,11 @@
 ewl_spinner.lo
 ewl_progressbar.la
 ewl_progressbar.lo
+ewl_menu.lo
+ewl_menu.la
+ewl_theme.la
+ewl_theme.lo
+ewl_media.la
+ewl_media.lo
+ewl_imenu.la
+ewl_imenu.lo
===
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/bin/tests/Makefile.am,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -3 -r1.21 -r1.22
--- Makefile.am 9 Mar 2006 22:09:34 -   1.21
+++ Makefile.am 10 Mar 2006 04:05:42 -  1.22
@@ -24,7 +24,8 @@
  ewl_scrollbar.la ewl_password.la ewl_menubar.la \
  ewl_tree2.la ewl_image.la ewl_tree.la \
  ewl_table.la ewl_notebook.la ewl_scrollpane.la \
- ewl_spinner.la ewl_progressbar.la
+ ewl_spinner.la ewl_progressbar.la ewl_theme.la \
+ ewl_media.la ewl_menu.la ewl_imenu.la
 
 ewl_border_la_SOURCES   = ewl_border.c
 ewl_border_la_LIBADD= $(top_builddir)/src/lib/libewl.la
@@ -257,6 +258,34 @@
  -L$(top_builddir)/src/lib/.libs
 ewl_progressbar_la_DEPENDENCIES = 
 
+ewl_theme_la_SOURCES   = ewl_theme.c
+ewl_theme_la_LIBADD= $(top_builddir)/src/lib/libewl.la
+ewl_theme_la_LDFLAGS   = -module -avoid-version \
+ -L$(top_builddir)/src/lib \
+ -L$(top_builddir)/src/lib/.libs
+ewl_theme_la_DEPENDENCIES = 
+
+ewl_media_la_SOURCES   = ewl_media.c
+ewl_media_la_LIBADD= $(top_builddir)/src/lib/libewl.la
+ewl_media_la_LDFLAGS   = -module -avoid-version \
+ -L$(top_builddir)/src/lib \
+ -L$(top_builddir)/src/lib/.libs
+ewl_media_la_DEPENDENCIES = 
+
+ewl_menu_la_SOURCES   = ewl_menu.c
+ewl_menu_la_LIBADD= $(top_builddir)/src/lib/libewl.la
+ewl_menu_la_LDFLAGS= -module -avoid-version \
+ -L$(top_builddir)/src/lib \
+ -L$(top_builddir)/src/lib/.libs
+ewl_menu_la_DEPENDENCIES = 
+
+ewl_imenu_la_SOURCES   = ewl_imenu.c
+ewl_imenu_la_LIBADD= $(top_builddir)/src/lib/libewl.la
+ewl_imenu_la_LDFLAGS   = -module -avoid-version \
+ -L$(top_builddir)/src/lib \
+ -L$(top_builddir)/src/lib/.libs
+ewl_imenu_la_DEPENDENCIES = 
+
 FILES = $(ewl_border_la_SOURCES) $(ewl_box_la_SOURCES) \
$(ewl_button_la_SOURCES) $(ewl_colordialog_la_SOURCES) \
$(ewl_datepicker_la_SOURCES) $(ewl_freebox_la_SOURCES) \
@@ -273,7 +302,9 @@
$(ewl_image_la_SOURCES) $(ewl_tree_la_SOURCES) \
$(ewl_table_la_SOURCES) $(ewl_notebook_la_SOURCES) \
$(ewl_scrollpane_la_SOURCES) $(ewl_spinner_la_SOURCES) \
-   $(ewl_progressbar_la_SOURCES)
+   $(ewl_progressbar_la_SOURCES) $(ewl_theme_la_SOURCES) \
+   $(ewl_media_la_SOURCES) $(ewl_menu_la_SOURCES) \
+   $(ewl_imenu_la_SOURCES)
 
 EXTRA_DIST = $(FILES)
 
===
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/bin/tests/ewl_border.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- ewl_border.c2 Mar 2006 23:52:49 -   1.2
+++ ewl_border.c10 Mar 2006 04:05:42 -  1.3
@@ -1,4 +1,4 @@
-#include Ewl_Test2.h
+#include Ewl_Test.h
 
 static Ewl_Widget *button_aleft, *button_acenter;
 static Ewl_Widget *button_aright, *button_atop, *button_abottom;
===
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/bin/tests/ewl_box.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- ewl_box.c   2 Mar 2006 23:52:49 -   1.2
+++ ewl_box.c   10 Mar 2006 04:05:42 

E CVS: libs/ewl dj2

2006-03-09 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/lib


Modified Files:
ewl_check.c ewl_media.c ewl_radiobutton.c 


Log Message:
- minor cleanups

===
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_check.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- ewl_check.c 12 Jan 2006 18:21:18 -  1.7
+++ ewl_check.c 10 Mar 2006 04:06:43 -  1.8
@@ -77,11 +77,7 @@
DCHECK_PARAM_PTR(cb, cb);
DCHECK_TYPE(cb, cb, EWL_CHECK_TYPE);
 
-   if (c)
-   cb-checked = 1;
-   else
-   cb-checked = 0;
-
+   cb-checked = !!c;
ewl_check_update_check_cb(EWL_WIDGET(cb), NULL, NULL);
 
DLEAVE_FUNCTION(DLEVEL_STABLE);
===
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_media.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- ewl_media.c 22 Feb 2006 17:39:14 -  1.11
+++ ewl_media.c 10 Mar 2006 04:06:43 -  1.12
@@ -65,6 +65,11 @@
DRETURN_INT(TRUE, DLEVEL_STABLE);
 }
 
+/**
+ * @return Returns TRUE if the media widget is available, FALSE otherwise
+ * @brief This will check if the modules required for the media widget were
+ * available at compile time or not.
+ */
 unsigned int
 ewl_media_is_available(void)
 {
===
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_radiobutton.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- ewl_radiobutton.c   17 Feb 2006 06:43:33 -  1.9
+++ ewl_radiobutton.c   10 Mar 2006 04:06:43 -  1.10
@@ -117,7 +117,7 @@
Ewl_Checkbutton *c;
 
ecore_list_goto_first(rb-chain);
-   while ((c = ecore_list_next(rb-chain)) != NULL) {
+   while ((c = ecore_list_next(rb-chain))) {
ewl_checkbutton_checked_set(c, 0);
}
}




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/e raster

2006-03-09 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/lib


Modified Files:
e_main.c e_private.h 


Log Message:


ipc is #defineable (rough for now - maybe able to be undefined and eventually
entirely removed - later though). also config shoudl be able to go up
versiosn more easily now.
===
RCS file: /cvsroot/enlightenment/e17/apps/e/src/lib/e_main.c,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -3 -r1.38 -r1.39
--- e_main.c2 Mar 2006 13:10:20 -   1.38
+++ e_main.c10 Mar 2006 05:48:46 -  1.39
@@ -23,6 +23,7 @@
 #include E_Lib.h
 #include e.h
 
+#ifdef USE_IPC
 #include e_ipc_codec.c
 
 typedef struct _Opt Opt;
@@ -635,4 +636,4 @@
 free(e);
 }
 
-
+#endif
\ No newline at end of file
===
RCS file: /cvsroot/enlightenment/e17/apps/e/src/lib/e_private.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- e_private.h 3 Jun 2005 03:18:05 -   1.7
+++ e_private.h 10 Mar 2006 05:48:46 -  1.8
@@ -5,6 +5,8 @@
 #include config.h
 #endif
 
+#ifdef USE_IPC
+  
 #if HAVE___ATTRIBUTE__
 #define __UNUSED__ __attribute__((unused))
 #else
@@ -25,4 +27,6 @@
 
 #endif
 
+#endif
+
 




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/e raster

2006-03-09 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/bin


Modified Files:
e_canvas.c 


Log Message:


only ask for hinting levels if its supported - fallback by hand
===
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_canvas.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -3 -r1.13 -r1.14
--- e_canvas.c  1 Mar 2006 03:47:51 -   1.13
+++ e_canvas.c  10 Mar 2006 06:01:21 -  1.14
@@ -22,9 +22,21 @@
evas_font_cache_set(e, e_config-font_cache * 1024);
e_path_evas_append(path_fonts, e);
if (e_config-font_hinting == 0)
- evas_font_hinting_set(e, EVAS_FONT_HINTING_BYTECODE);
+ {
+   if (evas_font_hinting_can_hint(e, EVAS_FONT_HINTING_BYTECODE))
+ evas_font_hinting_set(e, EVAS_FONT_HINTING_BYTECODE);
+   else if (evas_font_hinting_can_hint(e, EVAS_FONT_HINTING_AUTO))
+ evas_font_hinting_set(e, EVAS_FONT_HINTING_AUTO);
+   else
+ evas_font_hinting_set(e, EVAS_FONT_HINTING_NONE);
+ }
else if (e_config-font_hinting == 1)
- evas_font_hinting_set(e, EVAS_FONT_HINTING_AUTO);
+ {
+   if (evas_font_hinting_can_hint(e, EVAS_FONT_HINTING_AUTO))
+ evas_font_hinting_set(e, EVAS_FONT_HINTING_AUTO);
+   else
+ evas_font_hinting_set(e, EVAS_FONT_HINTING_NONE);
+ }
else if (e_config-font_hinting == 2)
  evas_font_hinting_set(e, EVAS_FONT_HINTING_NONE);





---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas doursse

2006-03-09 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : libs/evas

Dir : e17/libs/evas/src/modules/engines/software_xcb


Modified Files:
Evas_Engine_Software_Xcb.h evas_engine.c evas_engine.h 
evas_outbuf.c evas_xcb_buffer.c evas_xcb_color.c 


Log Message:
argb target for software xcb engine supported
===
RCS file: 
/cvsroot/enlightenment/e17/libs/evas/src/modules/engines/software_xcb/Evas_Engine_Software_Xcb.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- Evas_Engine_Software_Xcb.h  2 Mar 2006 09:16:46 -   1.1
+++ Evas_Engine_Software_Xcb.h  10 Mar 2006 07:44:23 -  1.2
@@ -24,6 +24,7 @@
   int   alloc_grayscale : 1;
   int   debug : 1;
   int   shape_dither : 1;
+  int   destination_alpha : 1;
 
   int   alloc_colors_max;
} info;
===
RCS file: 
/cvsroot/enlightenment/e17/libs/evas/src/modules/engines/software_xcb/evas_engine.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- evas_engine.c   3 Mar 2006 07:36:46 -   1.7
+++ evas_engine.c   10 Mar 2006 07:44:23 -  1.8
@@ -20,7 +20,7 @@
 };
 
 /* prototypes we will use here */
-static void *_output_setup(int w, int h, int rot, XCBConnection *conn, 
XCBDRAWABLE draw, XCBVISUALTYPE *vis, XCBCOLORMAP cmap, int depth, int debug, 
int grayscale, int max_colors, XCBDRAWABLE mask, int shape_dither);
+static void *_output_setup(int w, int h, int rot, XCBConnection *conn, 
XCBDRAWABLE draw, XCBVISUALTYPE *vis, XCBCOLORMAP cmap, int depth, int debug, 
int grayscale, int max_colors, XCBDRAWABLE mask, int shape_dither, int 
destination_alpha);
 static XCBVISUALTYPE *_best_visual_get(XCBConnection *conn, int screen);
 static XCBCOLORMAP _best_colormap_get(XCBConnection *conn, int screen);
 static int _best_depth_get(XCBConnection *conn, int screen);
@@ -58,7 +58,8 @@
  intgrayscale,
  intmax_colors,
  XCBDRAWABLEmask,
- intshape_dither)
+ intshape_dither,
+  intdestination_alpha)
 {
Render_Engine *re;
Outbuf_Perf   *perf;
@@ -95,7 +96,9 @@
 perf,
 grayscale,
 max_colors,
-mask, shape_dither);
+mask,
+ shape_dither,
+ destination_alpha);
if (!re-ob)
  {
 evas_software_xcb_outbuf_perf_free(perf);
@@ -278,7 +281,30 @@
   info-info.alloc_grayscale,
   info-info.alloc_colors_max,
   info-info.mask,
-  info-info.shape_dither);
+  info-info.shape_dither,
+   info-info.destination_alpha);
+   else
+ {
+   re = e-engine.data.output;
+   evas_software_xcb_outbuf_free(re-ob);
+   re-ob = evas_software_xcb_outbuf_setup_x(e-output.w,
+ e-output.h,
+ info-info.rotation,
+ OUTBUF_DEPTH_INHERIT,
+ info-info.conn,
+ info-info.drawable,
+ info-info.visual,
+ info-info.colormap,
+ info-info.depth,
+ 
evas_software_xcb_outbuf_perf_restore_x(info-info.conn,
info-info.drawable, info-info.visual, info-info.colormap, info-info.depth),
+ info-info.alloc_grayscale,
+ info-info.alloc_colors_max,
+ info-info.mask,
+ info-info.shape_dither,
+ info-info.destination_alpha);
+   evas_software_xcb_outbuf_debug_set(re-ob, info-info.debug);
+ }
+
if (!e-engine.data.output) return;
if (!e-engine.data.context)
  e-engine.data.context =
===
RCS file: 
/cvsroot/enlightenment/e17/libs/evas/src/modules/engines/software_xcb/evas_engine.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- evas_engine.h   14 Jan 2006 12:13:38 -  1.1
+++ evas_engine.h   10 Mar 2006 07:44:23 -  1.2
@@ -57,6 +57,7 @@
   Evas_List   *pending_writes;
 
   int