E CVS: apps/e raster

2005-10-15 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/bin


Modified Files:
e_border.c e_desk.c e_widget.c e_widget.h e_widget_button.c 
e_widget_check.c e_widget_radio.c 


Log Message:


some widget work... and maybe a fix for disappearing windows?

===
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_border.c,v
retrieving revision 1.448
retrieving revision 1.449
diff -u -3 -r1.448 -r1.449
--- e_border.c  16 Oct 2005 04:25:57 -  1.448
+++ e_border.c  16 Oct 2005 05:59:18 -  1.449
@@ -593,12 +593,13 @@
 if (e_config->focus_revert_on_hide_or_close)
   e_desk_last_focused_focus(bd->desk);
  }
-   if (manage)
+   if (manage == 1)
  {
 /* Make sure that this border isn't deleted */
 bd->await_hide_event++;
  }
-   ecore_x_window_hide(bd->client.win);
+   if (manage != 2)
+ ecore_x_window_hide(bd->client.win);
  }

visible = 0;
@@ -2822,9 +2823,11 @@
  {
if (bd->await_hide_event > 0)
  bd->await_hide_event--;
-   /* Only hide the border if it is visible */
-   if (bd->visible)
- e_border_hide(bd, 1);
+   else
+ {
+/* Only hide the border if it is visible */
+if (bd->visible) e_border_hide(bd, 1);
+ }
  }
else
  {
===
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_desk.c,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -3 -r1.51 -r1.52
--- e_desk.c5 Sep 2005 23:14:58 -   1.51
+++ e_desk.c16 Oct 2005 05:59:18 -  1.52
@@ -232,7 +232,7 @@
   */
  if (bd->fullscreen)
bd->want_fullscreen = 1;
- e_border_hide(bd, 1);
+ e_border_hide(bd, 2);
   }
  }
  }
===
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_widget.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- e_widget.c  12 Oct 2005 16:02:33 -  1.2
+++ e_widget.c  16 Oct 2005 05:59:18 -  1.3
@@ -18,12 +18,16 @@
void (*del_func) (Evas_Object *obj);
void (*focus_func) (Evas_Object *obj);
void (*activate_func) (Evas_Object *obj);
+   void (*disable_func) (Evas_Object *obj);
void (*on_focus_func) (void *data, Evas_Object *obj);
void  *on_focus_data;
+   void (*on_change_func) (void *data, Evas_Object *obj);
+   void  *on_change_data;
void  *data;
unsigned char  can_focus : 1;
unsigned char  child_can_focus : 1;
unsigned char  focused : 1;
+   unsigned char  disabled : 1;
 }; 
 
 /* local subsystem functions */
@@ -77,6 +81,13 @@
 }
 
 void
+e_widget_disable_hook_set(Evas_Object *obj, void (*func) (Evas_Object *obj))
+{
+   API_ENTRY return;
+   sd->disable_func = func;
+}
+
+void
 e_widget_on_focus_hook_set(Evas_Object *obj, void (*func) (void *data, 
Evas_Object *obj), void *data)
 {
API_ENTRY return;
@@ -85,6 +96,14 @@
 }
 
 void
+e_widget_on_change_hook_set(Evas_Object *obj, void (*func) (void *data, 
Evas_Object *obj), void *data)
+{
+   API_ENTRY return;
+   sd->on_change_func = func;
+   sd->on_change_data = data;
+}
+
+void
 e_widget_data_set(Evas_Object *obj, void *data)
 {
API_ENTRY return;
@@ -183,7 +202,10 @@
 e_widget_focus_jump(Evas_Object *obj, int forward)
 {
API_ENTRY return 0;
-   if (!e_widget_can_focus_get(obj)) return 0;
+   if ((!e_widget_can_focus_get(obj)) ||
+   (e_widget_disabled_get(obj)))
+ return 0;
+   
/* if it has a focus func its an end-point widget like a button */
if (sd->focus_func)
  {
@@ -213,7 +235,8 @@
   {
  for (l = sd->subobjs; l; l = l->next)
{
-  if (e_widget_can_focus_get(l->data))
+  if ((e_widget_can_focus_get(l->data)) &&
+  (!e_widget_disabled_get(l->data)))
 {
if (focus_next)
  {
@@ -239,7 +262,8 @@
   {
  for (l = evas_list_last(sd->subobjs); l; l = l->prev)
{
-  if (e_widget_can_focus_get(l->data))
+  if ((e_widget_can_focus_get(l->data)) &&
+  (!e_widget_disabled_get(l->data)))
 {
if (focus_next)
  {
@@ -290,7 +314,8 @@
  {
 for (l = sd->subobjs; l; l = l->next)
   {
- if (e_widget_can_focus_get(l->data))
+ if ((e_widget_can_focus_get(l->data)) &&
+ (!

E CVS: libs/ewl rbdpngn

2005-10-15 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : rbdpngn
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/lib


Modified Files:
ewl_tree.c ewl_cell.c 


Log Message:
Don't override the cell default in the tree.
No need to allow the vertical shrink fill policy on a cell.

===
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_tree.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -3 -r1.14 -r1.15
--- ewl_tree.c  3 Oct 2005 06:43:07 -   1.14
+++ ewl_tree.c  16 Oct 2005 05:09:33 -  1.15
@@ -260,9 +260,6 @@
 
ewl_widget_internal_set(cell, TRUE);
ewl_container_child_append(EWL_CONTAINER(row), cell);
-   ewl_object_fill_policy_set(EWL_OBJECT(cell),
-   EWL_FLAG_FILL_HFILL |
-   EWL_FLAG_FILL_HSHRINK);
ewl_widget_show(cell);
 
if (children[i]) {
===
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_cell.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- ewl_cell.c  16 Oct 2005 04:43:59 -  1.5
+++ ewl_cell.c  16 Oct 2005 05:09:33 -  1.6
@@ -41,7 +41,8 @@
if (!ewl_container_init(EWL_CONTAINER(cell)))
DRETURN_INT(FALSE, DLEVEL_STABLE);
 
-   ewl_object_fill_policy_set(EWL_OBJECT(cell), EWL_FLAG_FILL_ALL);
+   ewl_object_fill_policy_set(EWL_OBJECT(cell), EWL_FLAG_FILL_FILL |
+  EWL_FLAG_FILL_HSHRINK);
ewl_widget_appearance_set(EWL_WIDGET(cell), "cell");
ewl_widget_inherit(EWL_WIDGET(cell), "cell");
 




---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/e_utils rbdpngn

2005-10-15 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:
Yes, I am apparently an idiot. Let's actually vertically center the text not
just comment out some code to do it.

===
RCS file: 
/cvsroot/enlightenment/e17/apps/e_utils/src/bin/eapp_edit/eapp_edit_main.c,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -3 -r1.32 -r1.33
--- eapp_edit_main.c16 Oct 2005 04:44:49 -  1.32
+++ eapp_edit_main.c16 Oct 2005 04:52:25 -  1.33
@@ -256,7 +256,7 @@
 ewl_text_styles_set(EWL_TEXT(row[0]), EWL_TEXT_STYLE_OUTLINE);
 ewl_text_shadow_color_set(EWL_TEXT(row[0]), 128, 128, 128, 128);
 ewl_text_text_set(EWL_TEXT(row[0]), keys[i].name);
-// ewl_object_alignment_set(EWL_OBJECT(row[0]), EWL_FLAG_ALIGN_LEFT);
+   ewl_object_alignment_set(EWL_OBJECT(row[0]), EWL_FLAG_ALIGN_LEFT);
 ewl_widget_show(row[0]);
 
 v = eapp_eet_read(ef, keys[i].key, lang);




---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/e_utils rbdpngn

2005-10-15 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:
Vertically center aligned text.

===
RCS file: 
/cvsroot/enlightenment/e17/apps/e_utils/src/bin/eapp_edit/eapp_edit_main.c,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -3 -r1.31 -r1.32
--- eapp_edit_main.c14 Oct 2005 14:55:24 -  1.31
+++ eapp_edit_main.c16 Oct 2005 04:44:49 -  1.32
@@ -256,6 +256,7 @@
 ewl_text_styles_set(EWL_TEXT(row[0]), EWL_TEXT_STYLE_OUTLINE);
 ewl_text_shadow_color_set(EWL_TEXT(row[0]), 128, 128, 128, 128);
 ewl_text_text_set(EWL_TEXT(row[0]), keys[i].name);
+// ewl_object_alignment_set(EWL_OBJECT(row[0]), EWL_FLAG_ALIGN_LEFT);
 ewl_widget_show(row[0]);
 
 v = eapp_eet_read(ef, keys[i].key, lang);




---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl rbdpngn

2005-10-15 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : rbdpngn
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/lib


Modified Files:
ewl_cell.c 


Log Message:
Fix default fill policy on cells.

===
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_cell.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- ewl_cell.c  3 Oct 2005 06:43:06 -   1.4
+++ ewl_cell.c  16 Oct 2005 04:43:59 -  1.5
@@ -41,16 +41,17 @@
if (!ewl_container_init(EWL_CONTAINER(cell)))
DRETURN_INT(FALSE, DLEVEL_STABLE);
 
+   ewl_object_fill_policy_set(EWL_OBJECT(cell), EWL_FLAG_FILL_ALL);
ewl_widget_appearance_set(EWL_WIDGET(cell), "cell");
+   ewl_widget_inherit(EWL_WIDGET(cell), "cell");
 
ewl_container_show_notify_set(EWL_CONTAINER(cell), 
ewl_cell_child_show_cb);
ewl_container_resize_notify_set(EWL_CONTAINER(cell),
ewl_cell_child_resize_cb);
+
ewl_callback_append(EWL_WIDGET(cell), EWL_CALLBACK_CONFIGURE,
ewl_cell_configure_cb, NULL);
 
-   ewl_widget_inherit(EWL_WIDGET(cell), "cell");
-
DRETURN_INT(TRUE, DLEVEL_STABLE);
 }
 




---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/e raster

2005-10-15 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir : e17/apps/e


Modified Files:
TODO 


Log Message:


fix shade remember

===
RCS file: /cvsroot/enlightenment/e17/apps/e/TODO,v
retrieving revision 1.277
retrieving revision 1.278
diff -u -3 -r1.277 -r1.278
--- TODO15 Oct 2005 10:38:24 -  1.277
+++ TODO16 Oct 2005 04:25:57 -  1.278
@@ -8,7 +8,6 @@
   BUGS / FIXES
 ---
 
-* BUG: remember shaded state is broken
 * BUG: dnd to ibar is broken if u did an icon that isn't IN the ibar yet
   (from a window border) to either the very start or end of the ibar.
 * BUG: some bug if u flip desktops fast enough window s vanish (how the hell




---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/e raster

2005-10-15 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/bin


Modified Files:
e_border.c e_int_menus.c e_remember.c 


Log Message:


fix shade remember

===
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_border.c,v
retrieving revision 1.447
retrieving revision 1.448
diff -u -3 -r1.447 -r1.448
--- e_border.c  11 Oct 2005 20:21:50 -  1.447
+++ e_border.c  16 Oct 2005 04:25:57 -  1.448
@@ -1243,7 +1243,8 @@
E_OBJECT_CHECK(bd);
E_OBJECT_TYPE_CHECK(bd, E_BORDER_TYPE);
if ((bd->fullscreen) || (bd->maximized) || (bd->shading)) return;
-   if (!strcmp("borderless", bd->client.border.name)) return;
+   if ((bd->client.border.name) && 
+   (!strcmp("borderless", bd->client.border.name))) return;
if (!bd->shaded)
  {
 // printf("SHADE!\n");
@@ -4658,8 +4659,10 @@
   }
 if (rem->apply & E_REMEMBER_APPLY_SHADE)
   {
- /* FIXME: determine shade dir */
- e_border_shade(bd, E_DIRECTION_UP);
+ if (rem->prop.shaded >= 100)
+   e_border_shade(bd, rem->prop.shaded - 100);
+ else if (rem->prop.shaded >= 50)
+   e_border_unshade(bd, rem->prop.shaded - 50);
   }
 if (rem->apply & E_REMEMBER_APPLY_LOCKS)
   {
===
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_int_menus.c,v
retrieving revision 1.107
retrieving revision 1.108
diff -u -3 -r1.107 -r1.108
--- e_int_menus.c   15 Oct 2005 10:02:29 -  1.107
+++ e_int_menus.c   16 Oct 2005 04:25:57 -  1.108
@@ -146,7 +146,7 @@
  }
 
mi = e_menu_item_new(m);
-   e_menu_item_label_set(mi, _("File Manager"));
+   e_menu_item_label_set(mi, _("Files"));
e_util_menu_item_edje_icon_set(mi, "enlightenment/fileman");
e_menu_item_callback_set(mi, _e_int_menus_main_fm, NULL);   
   
===
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_remember.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- e_remember.c15 Oct 2005 08:46:36 -  1.9
+++ e_remember.c16 Oct 2005 04:25:57 -  1.10
@@ -205,7 +205,10 @@

rem->prop.sticky = bd->sticky;

-   rem->prop.shaded = bd->shaded;
+   if (bd->shaded)
+ rem->prop.shaded = 100 + bd->shade.dir;
+   else
+ rem->prop.shaded = 50 + bd->shade.dir;

rem->prop.skip_winlist = bd->user_skip_winlist;





---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/e raster

2005-10-15 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir : e17/apps/e/po


Modified Files:
fr.po 


Log Message:


fr updates from maxime

===
RCS file: /cvsroot/enlightenment/e17/apps/e/po/fr.po,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- fr.po   15 Oct 2005 11:04:58 -  1.8
+++ fr.po   16 Oct 2005 03:28:28 -  1.9
@@ -8,7 +8,7 @@
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: [EMAIL PROTECTED]"
 "POT-Creation-Date: 2005-04-12 06:59+0900\n"
-"PO-Revision-Date: 2005-10-15 11:00+0100\n"
+"PO-Revision-Date: 2005-10-15 21:00+0100\n"
 "Last-Translator: Maxime BRUNEL <[EMAIL PROTECTED]>\n"
 "Language-Team: LANGUAGE <[EMAIL PROTECTED]>\n"
 "MIME-Version: 1.0\n"
@@ -110,47 +110,49 @@
 msgid "90C"
 msgstr "90°C"
 
-#: src/modules/battery/e_mod_main.c:99
+#: src/modules/battery/e_mod_main.c:123
 msgid ""
-"A basic battery meter that uses either ACPI or APM\n"
-"on Linux to monitor your battery and AC power adaptor\n"
-"status. This will only work under Linux and is only\n"
+"A basic battery meter that uses either"
+"ACPI or APM"
+"on Linux to monitor your battery and AC power adaptor"
+"status. This will work under Linux and FreeBSD and is only"
 "as accurate as your BIOS or kernel drivers."
 msgstr ""
-"Un module qui mesure la charge de la batterie de votre portable,\n"
-"en utilisant soit l'ACPI, soit l'APM, sous Linux, et qui\n"
-"détermine l'état du branchement sur secteur. Ce module fonctionne\n"
-"uniquement sous Linux et est seulement aussi précis que ne l'est\n"
+"Un module qui mesure la charge de la batterie de votre portable,"
+"en utilisant soit l'ACPI, soit l'APM, 
sous Linux, et qui"
+"détermine l'état du branchement sur secteur. Ce module fonctionne"
+"sous Linux et sous FreeBSD et est seulement aussi précis que ne l'est"
 "votre BIOS ou les pilotes de votre noyau."
 
 #: src/modules/temperature/e_mod_main.c:97
 msgid ""
-"A module to measure the ACPI Thermal sensor on Linux.\n"
-"It is especially useful for modern Laptops with high speed\n"
+"A module to measure the ACPI Thermal sensor on Linux."
+"It is especially useful for modern Laptops with high speed"
 "CPUs that generate a lot of heat."
 msgstr ""
-"Un module qui affichela température à partir des capteurs ACPI sous 
Linux.\n"
-"C'est particulièrement utile pour les portables ayant un processeur rapide\n"
+"Un module qui affiche la température à partir des capteurs 
ACPI sous Linux."
+"C'est particulièrement utile pour les portables ayant un processeur 
rapide"
 "dégageant beaucoup de chaleur."
 
 #: src/modules/pager/e_mod_main.c:141
 msgid "A pager module to navigate virtual desktops."
 msgstr ""
-"Un module de sélection d'espaces de travail qui permet\n"
+"Un module de sélection d'espaces de travail qui permet"
 "de choisir son bureau virtuel."
 
 #: src/modules/cpufreq/e_mod_main.c:115
-msgid "A simple module to control the frequency of the system CPU."
-msgstr "Un simple module pour contrôler la fréquence du microprocesseur."
-
-#: src/modules/cpufreq/e_mod_main.c:116
-msgid "This is especially useful to save power on laptops."
-msgstr "Très pratique pour économiser l'énergie sur les ordinateurs 
portables."
+msgid ""
+"A simple module to control the frequency of the system CPU."
+"This is especially useful to save power on laptops."
+msgstr ""
+"Un simple module pour contrôler la fréquence du microprocesseur."
+"Très pratique pour économiser l'énergie sur les ordinateurs portables."
 
 #: src/modules/clock/e_mod_main.c:96
 msgid "A simple module to give E17 a clock."
 msgstr "Un module horloge pour E17."
 
+#: src/bin/e_about.c:41
 #: src/bin/e_int_menus.c:135
 #: src/bin/e_int_menus.c:297
 msgid "About Enlightenment"
@@ -1182,23 +1184,6 @@
 "la fréquence du microprocesseur\n"
 " via l'utilitaire du module setfreq."
 
-#: src/bin/e_int_menus.c:298
-#, c-format
-msgid ""
-"This is Enlightenment %s.\n"
-"Copyright © 1999-2005, by the Enlightenment Dev Team.\n"
-"\n"
-"We hope you enjoy using this software as much as we enjoyed writing it.\n"
-"\n"
-"Please think of the aardvarks. They need some love too."
-msgstr ""
-"Bienvenue sous Enlightenment %s.\n"
-"Copyright © 1999-2005, par l'Equipe de Développement d'Enlightenment.\n"
-"\n"
-"Nous espérons que vous appréciez l'utilisation de ce logiciel autant que 
nous\n"
-"avons adoré son écriture.\n"
-"Ayez un pensée pour les aardvarks. Ils ont aussi besoin d'amour."
-
 #: src/bin/e_main.c:485
 msgid "This is development code, so be warned."
 msgstr "Le programme est en cours de développement, vous êtes avertis."
@@ -1207,13 +1192,13 @@
 msgid ""
 "This is the IBar Application Launcher bar module for Enlightenment."
 "It is a first example module and is being used to flesh out several"
-"Interfaces in Enlightenment 0.17.0. It is under heavy development,"
-"so expect it to break often and

E CVS: apps/e stffrdhrn

2005-10-15 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : stffrdhrn
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/bin


Modified Files:
e_config.c 


Log Message:
Some fixmes, that was not very tough
===
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_config.c,v
retrieving revision 1.119
retrieving revision 1.120
diff -u -3 -r1.119 -r1.120
--- e_config.c  16 Oct 2005 02:40:13 -  1.119
+++ e_config.c  16 Oct 2005 02:51:16 -  1.120
@@ -1940,14 +1940,28 @@
 E_FREE(epd->dir);
 E_FREE(epd);
  }
-
+   while (e_config->remembers)
+ {
+E_Remember *rem;
+rem = e_config->remembers->data;
+e_config->remembers = evas_list_remove_list(e_config->remembers, 
e_config->remembers);
+
+E_FREE(rem->name);
+E_FREE(rem->class);
+E_FREE(rem->title);   
+E_FREE(rem->role);
+E_FREE(rem->prop.border);
+E_FREE(rem->prop.command);
+
+E_FREE(rem);
+ }
E_FREE(e_config->desktop_default_background);
E_FREE(e_config->desktop_default_name);
E_FREE(e_config->language);
E_FREE(e_config->transition_start);
E_FREE(e_config->transition_desk);
E_FREE(e_config->transition_change);
-   /* FIXME: free e_config->remembers */
+   E_FREE(e_config->input_method);
E_FREE(e_config);
  }
 }




---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/e stffrdhrn

2005-10-15 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : stffrdhrn
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/bin


Modified Files:
e_config.c e_intl.c e_intl.h e_ipc_handlers.h 


Log Message:
fix memory problem with input_method listing
===
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_config.c,v
retrieving revision 1.118
retrieving revision 1.119
diff -u -3 -r1.118 -r1.119
--- e_config.c  15 Oct 2005 10:49:54 -  1.118
+++ e_config.c  16 Oct 2005 02:40:13 -  1.119
@@ -488,7 +488,7 @@
e_config->menu_eap_name_show = 1;
e_config->menu_eap_generic_show = 1;
e_config->menu_eap_comment_show = 0;
-   e_config->input_method = NULL;
+   e_config->input_method = NULL;  

  {
 E_Config_Module *em;
===
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_intl.c,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -3 -r1.44 -r1.45
--- e_intl.c15 Oct 2005 10:49:54 -  1.44
+++ e_intl.c16 Oct 2005 02:40:13 -  1.45
@@ -222,7 +222,7 @@
e_util_env_set("GTK_IM_MODULE", _e_intl_orig_gtk_im_module);
 e_util_env_set("QT_IM_MODULE", _e_intl_orig_qt_im_module);
 e_util_env_set("XMODIFIERS", _e_intl_orig_xmodifiers);
-e_util_env_set("GTK_IM_MODULE_FILE", _e_intl_orig_gtk_im_module_file); 

+e_util_env_set("GTk_IM_MODULE_FILE", _e_intl_orig_gtk_im_module_file); 

  } 

if (method) 
@@ -236,7 +236,7 @@
  e_util_env_set("GTK_IM_MODULE", elp->gtk_im_module);
  e_util_env_set("QT_IM_MODULE", elp->qt_im_module);
  e_util_env_set("XMODIFIERS", elp->xmodifiers);
- e_util_env_set("GTK_IM_MODULE_FILE", elp->gtk_im_module_file);
+ e_util_env_set("GTk_IM_MODULE_FILE", elp->gtk_im_module_file);
  if (elp->e_im_exec != NULL) 
{
   /* FIXME: first check ok exec availability */
@@ -258,7 +258,7 @@
return _e_intl_input_method;   
 }
 
-const Evas_List *
+Evas_List *
 e_intl_input_method_list(void)
 {
Evas_List *im_list;
@@ -270,7 +270,7 @@
for (next = _e_intl_input_methods; next; next = next->next)
  {
elp = next->data;
-   im_list = evas_list_append(im_list, elp->e_im_name);
+   im_list = evas_list_append(im_list, strdup(elp->e_im_name));
  }
 
return im_list;
===
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_intl.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- e_intl.h15 Oct 2005 10:49:54 -  1.4
+++ e_intl.h16 Oct 2005 02:40:13 -  1.5
@@ -35,7 +35,7 @@
 /* Setting & Getting Input Method */
 EAPI voide_intl_input_method_set(const char *method);
 EAPI const char *e_intl_input_method_get(void);
-EAPI const Evas_List*e_intl_input_method_list(void);
+EAPI Evas_List *e_intl_input_method_list(void);
 
 #endif
 #endif
===
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_ipc_handlers.h,v
retrieving revision 1.100
retrieving revision 1.101
diff -u -3 -r1.100 -r1.101
--- e_ipc_handlers.h15 Oct 2005 10:49:54 -  1.100
+++ e_ipc_handlers.h16 Oct 2005 02:40:13 -  1.101
@@ -5457,8 +5457,11 @@
 #elif (TYPE == E_WM_IN)
GENERIC(HDL);
LIST_DATA();
-   ENCODE((Evas_List *)e_intl_input_method_list(), e_ipc_codec_str_list_enc);
+   Evas_List *iml;
+   iml = e_intl_input_method_list();
+   ENCODE(iml, e_ipc_codec_str_list_enc);
SEND_DATA(E_IPC_OP_IM_LIST_REPLY);
+   FREE_LIST(iml);
END_GENERIC();
 #elif (TYPE == E_REMOTE_IN)
 #endif




---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/e quan74

2005-10-15 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : quan74
Project : e17
Module  : apps/e

Dir : e17/apps/e/data/themes/images


Modified Files:
Makefile.am 


Log Message:
add arrow image to EXTRA_DIST
===
RCS file: /cvsroot/enlightenment/e17/apps/e/data/themes/images/Makefile.am,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -3 -r1.35 -r1.36
--- Makefile.am 13 Oct 2005 05:36:04 -  1.35
+++ Makefile.am 16 Oct 2005 02:34:55 -  1.36
@@ -370,5 +370,6 @@
 e17_button_detail_open.png \
 e17_frame_label_over.png \
 e17_frame_label_under.png \
-e17_frame_outline.png
+e17_frame_outline.png \
+e17_icon_right_arrow.png
 




---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ecore quan74

2005-10-15 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : quan74
Project : e17
Module  : libs/ecore

Dir : e17/libs/ecore/src/lib/ecore_directfb


Modified Files:
Ecore_DirectFB.h Makefile.am 


Log Message:
ecore_directfb cleanups
===
RCS file: 
/cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_directfb/Ecore_DirectFB.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- Ecore_DirectFB.h15 Oct 2005 10:37:37 -  1.1
+++ Ecore_DirectFB.h16 Oct 2005 01:51:20 -  1.2
@@ -43,7 +43,7 @@
 

 
-#ifdnef _ECORE_DIRECTFB_WINDOW_PREDEF
+#ifndef _ECORE_DIRECTFB_WINDOW_PREDEF
 typedef struct _Ecore_DirectFB_Window  Ecore_DirectFB_Window;
 #endif   
 typedef struct _Ecore_DirectFB_Cursor  Ecore_DirectFB_Cursor;
===
RCS file: 
/cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_directfb/Makefile.am,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- Makefile.am 15 Oct 2005 10:37:37 -  1.1
+++ Makefile.am 16 Oct 2005 01:51:20 -  1.2
@@ -12,7 +12,8 @@
 
 lib_LTLIBRARIES = libecore_directfb.la
 include_HEADERS = \
-Ecore_DirectFB.h
+Ecore_DirectFB.h \
+ecore_directfb_keys.h
 
 libecore_directfb_la_SOURCES = \
 ecore_directfb.c \




---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl rbdpngn

2005-10-15 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : rbdpngn
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/data/themes


Modified Files:
e17.edc 


Log Message:
Hide cell theme until someone fixes it properly.

===
RCS file: /cvsroot/enlightenment/e17/libs/ewl/data/themes/e17.edc,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- e17.edc 15 Oct 2005 23:29:01 -  1.7
+++ e17.edc 16 Oct 2005 00:57:11 -  1.8
@@ -25,7 +25,7 @@
 data {
 item, "/label/group" "label";
 item, "/button/group" "button";
-item, "/cell/group" "button";
+/* item, "/cell/group" "button"; */
 item, "/radio/group" "radio";
 item, "/check/group" "checkbox";
 




---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: proto doursse

2005-10-15 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : proto

Dir : e17/proto/etk


Modified Files:
autogen.sh configure.in Makefile.am 
Added Files:
ABOUT-NLS 


Log Message:
etk can speak french and can learn other languages
===
RCS file: /cvsroot/enlightenment/e17/proto/etk/autogen.sh,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- autogen.sh  1 Oct 2005 16:29:44 -   1.1
+++ autogen.sh  16 Oct 2005 00:05:57 -  1.2
@@ -8,8 +8,21 @@
 echo "Running aclocal..."; aclocal $ACLOCAL_FLAGS -I m4 \
 && echo "Running autoheader..."; autoheader \
 && echo "Running autoconf..."; autoconf \
-&& echo "Running libtoolize..."; (libtoolize --automake || glibtoolize 
--automake) \
-&& echo "Running automake..."; automake --add-missing --copy --gnu
+&& echo "Running libtoolize..."; (libtoolize --copy --automake || glibtoolize 
--automake) \
+&& echo "Running automake..."; automake --add-missing --copy --gnu \
+&& echo "Generating gettext etk.pot template"; \
+xgettext \
+-n \
+-C \
+-d etk \
+-p po \
+--copyright-holder="Enlightenment development team" \
+--foreign-user \
+--msgid-bugs-address="enlightenment-devel@lists.sourceforge.net" \
+-k -k_ -kd_ \
+--from-code=UTF-8 \
+-o etk.pot \
+`find . -name "*.[ch]" -print`
 
 if [ -z "$NOCONFIGURE" ]; then
./configure "$@"
===
RCS file: /cvsroot/enlightenment/e17/proto/etk/configure.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- configure.in7 Oct 2005 21:33:42 -   1.2
+++ configure.in16 Oct 2005 00:05:57 -  1.3
@@ -179,6 +179,13 @@
   AC_MSG_ERROR(Edje is not at least "$VM". It is "$V".)
 fi
 
+#
+## Gettext
+ALL_LINGUAS="fr"
+AC_SUBST(ALL_LINGUAS)
+
+AM_GNU_GETTEXT([external])
+AM_GNU_GETTEXT_VERSION(0.14.1)
 
 #
 ## Fill in flags
@@ -216,6 +223,7 @@
 data/images/Makefile
 data/stock_icons/Makefile
 data/stock_icons/default/Makefile
+po/Makefile
 etk-config
 README
 ],[
===
RCS file: /cvsroot/enlightenment/e17/proto/etk/Makefile.am,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- Makefile.am 1 Oct 2005 16:29:44 -   1.1
+++ Makefile.am 16 Oct 2005 00:05:57 -  1.2
@@ -1,6 +1,6 @@
 ## Process this file with automake to produce Makefile.in
 
-SUBDIRS = src data
+SUBDIRS = src data po
 
 MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.guess \
config.h.in config.sub configure install-sh \
@@ -11,8 +11,15 @@
 
 bin_SCRIPTS = etk-config
 
-EXTRA_DIST = AUTHORS COPYING gendoc \
-  Doxyfile \
-  README.in README
+EXTRA_DIST = config.rpath mkinstalldirs  \
+AUTHORS \
+COPYING \
+gendoc \
+Doxyfile \
+README.in \
+README \
+ABOUT-NLS
 
 pkgconfigdir = $(libdir)/pkgconfig
+
+ACLOCAL_AMFLAGS = -I m4




---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: proto doursse

2005-10-15 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : proto

Dir : e17/proto/etk/src/bin


Modified Files:
Makefile.am etk_button_test.c etk_canvas_test.c 
etk_colorpicker_test.c etk_entry_test.c etk_image_test.c 
etk_scale_test.c etk_table_test.c etk_test.c etk_test.h 
etk_tree_test.c 


Log Message:
etk can speak french and can learn other languages
===
RCS file: /cvsroot/enlightenment/e17/proto/etk/src/bin/Makefile.am,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- Makefile.am 1 Oct 2005 16:29:45 -   1.1
+++ Makefile.am 16 Oct 2005 00:05:57 -  1.2
@@ -2,6 +2,11 @@
 
 AUTOMAKE_OPTIONS = 1.4 foreign
 
+# Gettext
+datadir = @datadir@
+localedir = $(datadir)/locale
+DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
+
 EXTRA_DIST =
 
 INCLUDES   = \
===
RCS file: /cvsroot/enlightenment/e17/proto/etk/src/bin/etk_button_test.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- etk_button_test.c   1 Oct 2005 16:29:45 -   1.1
+++ etk_button_test.c   16 Oct 2005 00:05:57 -  1.2
@@ -25,37 +25,37 @@
}

win = etk_window_new();
-   etk_window_title_set(ETK_WINDOW(win), "Button test");
+   etk_window_title_set(ETK_WINDOW(win), _("Button test"));
 
etk_signal_connect("delete_event", ETK_OBJECT(win), 
ETK_CALLBACK(_etk_test_button_window_deleted_cb), win);

vbox = etk_vbox_new(FALSE, 3);
etk_container_add(ETK_CONTAINER(win), vbox);
 
-   button_normal = etk_button_new_with_label("Normal button");
+   button_normal = etk_button_new_with_label(_("Normal button"));
etk_box_pack_start(ETK_BOX(vbox), button_normal, FALSE, FALSE, 0);
 
image = etk_image_new_from_file(PACKAGE_DATA_DIR "/images/test.png");
-   button_normal = etk_button_new_with_label("Button with an image");
+   button_normal = etk_button_new_with_label(_("Button with an image"));
etk_button_image_set(ETK_BUTTON(button_normal), ETK_IMAGE(image));
etk_box_pack_start(ETK_BOX(vbox), button_normal, FALSE, FALSE, 0);

button_normal = etk_button_new();
etk_box_pack_start(ETK_BOX(vbox), button_normal, FALSE, FALSE, 0);

-   button_check = etk_check_button_new_with_label("Check button");
+   button_check = etk_check_button_new_with_label(_("Check button"));
etk_box_pack_start(ETK_BOX(vbox), button_check, FALSE, FALSE, 0);

button_check = etk_check_button_new();
etk_box_pack_start(ETK_BOX(vbox), button_check, FALSE, FALSE, 0);
 
-   button_radio = etk_radio_button_new_with_label("Radio button", NULL);
+   button_radio = etk_radio_button_new_with_label(_("Radio button"), NULL);
etk_box_pack_start(ETK_BOX(vbox), button_radio, FALSE, FALSE, 0);

button_radio = 
etk_radio_button_new_from_widget(ETK_RADIO_BUTTON(button_radio));
etk_box_pack_start(ETK_BOX(vbox), button_radio, FALSE, FALSE, 0);

-   button_toggle = etk_toggle_button_new_with_label("Toggle button");
+   button_toggle = etk_toggle_button_new_with_label(_("Toggle button"));
etk_box_pack_start(ETK_BOX(vbox), button_toggle, FALSE, FALSE, 0);

button_toggle = etk_toggle_button_new();
===
RCS file: /cvsroot/enlightenment/e17/proto/etk/src/bin/etk_canvas_test.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- etk_canvas_test.c   1 Oct 2005 16:29:45 -   1.1
+++ etk_canvas_test.c   16 Oct 2005 00:05:57 -  1.2
@@ -26,7 +26,7 @@
}

win = etk_window_new();
-   etk_window_title_set(ETK_WINDOW(win), "Etk Canvas Test");
+   etk_window_title_set(ETK_WINDOW(win), _("Etk Canvas Test"));
 
etk_signal_connect("delete_event", ETK_OBJECT(win), 
ETK_CALLBACK(_etk_test_canvas_window_deleted_cb), win); 

@@ -37,7 +37,7 @@
etk_widget_size_request_set(canvas, 300, 200);
etk_box_pack_start(ETK_BOX(vbox), canvas, TRUE, TRUE, 0);
 
-   button = etk_button_new_with_label("Add object");
+   button = etk_button_new_with_label(_("Add object"));
etk_signal_connect_swapped("clicked", ETK_OBJECT(button), 
ETK_CALLBACK(_etk_test_canvas_object_add), canvas);
etk_box_pack_start(ETK_BOX(vbox), button, FALSE, FALSE, 0);
 
===
RCS file: /cvsroot/enlightenment/e17/proto/etk/src/bin/etk_colorpicker_test.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- etk_colorpicker_test.c  1 Oct 2005 16:29:45 -   1.1
+++ etk_colorpicker_test.c  16 Oct 2005 00:05:57 -  1.2
@@ -21,7 +21,7 @@

 
win = etk_window_new();
-   etk_window_title_set(ETK_WINDOW(win), "Etk Color Picker");
+   etk_window_title_set(ETK_WINDOW(win), _("Etk Color Picker"));
 
etk_signal_connect("delete_event", ETK_OBJECT(win), 
ETK_CALLBA

E CVS: proto doursse

2005-10-15 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : proto

Dir : e17/proto/etk/src/lib


Modified Files:
Makefile.am etk_main.c etk_utils.h 


Log Message:
etk can speak french and can learn other languages
===
RCS file: /cvsroot/enlightenment/e17/proto/etk/src/lib/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- Makefile.am 8 Oct 2005 15:06:04 -   1.2
+++ Makefile.am 16 Oct 2005 00:05:57 -  1.3
@@ -2,6 +2,11 @@
 
 AUTOMAKE_OPTIONS = 1.4 foreign
 
+# Gettext
+datadir = @datadir@
+localedir = $(datadir)/locale
+DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
+
 INCLUDES   = \
 -I. -I$(top_srcdir)/src/lib -Wall -g \
 @ecore_cflags@ @evas_cflags@ @edje_cflags@
===
RCS file: /cvsroot/enlightenment/e17/proto/etk/src/lib/etk_main.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- etk_main.c  1 Oct 2005 16:29:45 -   1.1
+++ etk_main.c  16 Oct 2005 00:05:57 -  1.2
@@ -6,6 +6,7 @@
 #include 
 #include 
 #include 
+#include "config.h"
 #include "etk_type.h"
 #include "etk_signal.h"
 #include "etk_object.h"
@@ -42,42 +43,48 @@
 
if (!evas_init())
{
-  ETK_WARNING("Evas initialization failed!");
+  ETK_WARNING(_("Evas initialization failed!"));
   return FALSE;
}
if (!ecore_init())
{
-  ETK_WARNING("Ecore initialization failed!");
+  ETK_WARNING(_("Ecore initialization failed!"));
   return FALSE;
}
if (!ecore_evas_init())
{
-  ETK_WARNING("Ecore_Evas initialization failed!");
+  ETK_WARNING(_("Ecore_Evas initialization failed!"));
   return FALSE;
}
if (!edje_init())
{
-  ETK_WARNING("Edje initialization failed!");
+  ETK_WARNING(_("Edje initialization failed!"));
   return FALSE;
}
if (!etk_type_init())
{
-  ETK_WARNING("Etk_Type initialization failed!");
+  ETK_WARNING(_("Etk_Type initialization failed!"));
   return FALSE;
}
if (!etk_signal_init())
{
-  ETK_WARNING("Etk_Signal initialization failed!");
+  ETK_WARNING(_("Etk_Signal initialization failed!"));
   return FALSE;
}
if (!etk_object_init())
{
-  ETK_WARNING("Etk_Object initialization failed!");
+  ETK_WARNING(_("Etk_Object initialization failed!"));
   return FALSE;
}
_etk_main_toplevel_widgets = ecore_list_new();
 
_etk_main_initialized = TRUE;
+
+   /* Gettext */
+   setlocale (LC_ALL, "");
+   bindtextdomain (PACKAGE, LOCALEDIR);
+   textdomain (PACKAGE);
+
return TRUE;
 }
 
===
RCS file: /cvsroot/enlightenment/e17/proto/etk/src/lib/etk_utils.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- etk_utils.h 1 Oct 2005 16:29:45 -   1.1
+++ etk_utils.h 16 Oct 2005 00:05:57 -  1.2
@@ -4,6 +4,12 @@
 
 #include 
 
+/* Gettext */
+#include 
+#define _(String) gettext (String)
+#define gettext_noop(String) String
+#define N_(String) gettext_noop (String)
+
 /** @brief Gets the max of the two values */
 #define ETK_MAX(v1, v2)(((v1) > (v2)) ? (v1) : (v2)) 
 /** @brief Gets the min of the two values */




---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: proto doursse

2005-10-15 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : proto

Dir : e17/proto/etk/po


Added Files:
Makefile.am fr.po 


Log Message:
etk can speak french and can learn other languages




---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: proto doursse

2005-10-15 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : proto

Dir : e17/proto/etk/po




Log Message:
Directory /cvsroot/enlightenment/e17/proto/etk/po added to the repository





---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl rbdpngn

2005-10-15 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : rbdpngn
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin


Modified Files:
ewl_test.c 


Log Message:
Fix typo.

===
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/bin/ewl_test.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -3 -r1.17 -r1.18
--- ewl_test.c  3 Oct 2005 06:43:07 -   1.17
+++ ewl_test.c  15 Oct 2005 23:53:57 -  1.18
@@ -60,7 +60,7 @@
"Border",
__create_border_test_window,
"ewl_border_test.c", 
-   "Defines the Ewl_Border class for displaing\n"
+   "Defines the Ewl_Border class for displaying\n"
"a container with a label."
},
{




---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl doursse

2005-10-15 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/data/themes


Modified Files:
e17.edc 


Log Message:
seeker theme fix
===
RCS file: /cvsroot/enlightenment/e17/libs/ewl/data/themes/e17.edc,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- e17.edc 12 Oct 2005 04:16:24 -  1.6
+++ e17.edc 15 Oct 2005 23:29:01 -  1.7
@@ -78,6 +78,8 @@
 item, "/vscrollbar/button_increment/group" "vscroll-up";
 item, "/hscrollbar/button_decrement/group" "hscroll-left";
 item, "/hscrollbar/button_increment/group" "hscroll-right";
+item, "/vseeker/vbutton/group"  "vbutton";
+item, "/hseeker/hbutton/group"  "hbutton";
 
 item, "/imenu/group" "window";
 item, "/menu/group" "window";
@@ -95,4 +97,3 @@
 "Creative Commons License: 
http://creativecommons.org/licenses/bg-sa/1.0";;
 item, "/theme/name" "e17";
 }
-




---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl doursse

2005-10-15 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/lib


Modified Files:
ewl_seeker.c 


Log Message:
seeker theme fix
===
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_seeker.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- ewl_seeker.c8 Oct 2005 06:22:59 -   1.6
+++ ewl_seeker.c15 Oct 2005 23:24:06 -  1.7
@@ -95,6 +95,7 @@
ewl_widget_internal_set(s->button, TRUE);
ewl_container_child_append(EWL_CONTAINER(s), s->button);
ewl_widget_show(s->button);
+   ewl_widget_appearance_set(s->button, "hbutton");
 
/*
 * Set the starting orientation, range and values
@@ -149,9 +150,11 @@
s->orientation = o;
if (o == EWL_ORIENTATION_HORIZONTAL) {
ewl_widget_appearance_set(EWL_WIDGET(s), "hseeker");
+ewl_widget_appearance_set(s->button, "hbutton");
}
else {
ewl_widget_appearance_set(EWL_WIDGET(s), "vseeker");
+ewl_widget_appearance_set(s->button, "vbutton");
}
 
DLEAVE_FUNCTION(DLEVEL_STABLE);




---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl doursse

2005-10-15 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/data/themes/e17/bits


Modified Files:
button-groups.edc 


Log Message:
seeker theme fix
===
RCS file: 
/cvsroot/enlightenment/e17/libs/ewl/data/themes/e17/bits/button-groups.edc,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- button-groups.edc   22 May 2005 07:06:20 -  1.3
+++ button-groups.edc   15 Oct 2005 23:23:39 -  1.4
@@ -47,4 +47,38 @@
 BUTTON_IM_PROGS()
 }
 
+group {
+name, "vbutton";
+data {
+item, "inset/left" "8";
+item, "inset/right" "8";
+item, "inset/top" "5";
+item, "inset/bottom" "5";
+}
 
+parts {
+BUTTON()
+}
+
+programs {
+BUTTON_PROG("mouse,in", "mouse,out")
+}
+}
+
+group {
+name, "hbutton";
+data {
+item, "inset/left" "5";
+item, "inset/right" "5";
+item, "inset/top" "8";
+item, "inset/bottom" "8";
+}
+
+parts {
+BUTTON()
+}
+
+programs {
+BUTTON_PROG("mouse,in", "mouse,out")
+}
+}
\ No newline at end of file




---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl rbdpngn

2005-10-15 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : rbdpngn
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/lib


Modified Files:
ewl_text.c 


Log Message:
Fix text corruption dan found while porting to tb2.

===
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_text.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -3 -r1.25 -r1.26
--- ewl_text.c  10 Oct 2005 23:40:38 -  1.25
+++ ewl_text.c  15 Oct 2005 23:08:03 -  1.26
@@ -443,6 +443,7 @@
memcpy(t->text + idx, text, len);
}
t->length += len;
+   t->text[t->length] = '\0';
 
ewl_text_btree_text_context_insert(t->formatting, 
t->current_context, idx, len);
t->cursor_position = idx + len;




---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas dj2

2005-10-15 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/evas

Dir : e17/libs/evas/src/lib/canvas


Modified Files:
evas_font_dir.c evas_object_textblock.c 


Log Message:
- make sure we have a name before trying to look it up
- strip off an + or - in _format_fill so we don't end up with things like
  +font=fonts/Vera which then won't match when we try to recognize it as a
  keyword

===
RCS file: /cvsroot/enlightenment/e17/libs/evas/src/lib/canvas/evas_font_dir.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- evas_font_dir.c 18 Jun 2005 01:00:29 -  1.9
+++ evas_font_dir.c 15 Oct 2005 22:02:59 -  1.10
@@ -159,6 +159,8 @@
Evas_List *fonts, *l;
Fndat *fd;
 
+   if (!name) return NULL;
+
for (l = fonts_cache; l; l = l->next)
  {
fd = l->data;
===
RCS file: 
/cvsroot/enlightenment/e17/libs/evas/src/lib/canvas/evas_object_textblock.c,v
retrieving revision 1.113
retrieving revision 1.114
diff -u -3 -r1.113 -r1.114
--- evas_object_textblock.c 15 Oct 2005 06:54:42 -  1.113
+++ evas_object_textblock.c 15 Oct 2005 22:02:59 -  1.114
@@ -747,7 +747,7 @@

slen = strlen(str);
*r = *g = *b = *a = 0;
-   
+
if (slen == 7) /* #RRGGBB */
  {
*r = (_hex_string_get(str[1]) << 4) | (_hex_string_get(str[2]));
@@ -1128,6 +1128,10 @@
char *item;

s = str;
+
+   /* get rid of anything +'s or -'s off the start of the string */
+   while ((*s == ' ') || (*s == '+') || (*s == '-')) s++;
+
while ((item = _format_parse(&s)))
  {
if (_format_is_param(item))




---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: e kwo

2005-10-15 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir : e16/e/src


Modified Files:
warp.c 


Log Message:
Fix focus list rendering bug (reset shape before update). Restructure code.
===
RCS file: /cvsroot/enlightenment/e16/e/src/warp.c,v
retrieving revision 1.81
retrieving revision 1.82
diff -u -3 -r1.81 -r1.82
--- warp.c  13 Oct 2005 18:34:52 -  1.81
+++ warp.c  15 Oct 2005 20:37:25 -  1.82
@@ -48,9 +48,17 @@
char   *txt;
 } WarplistItem;
 
+typedef struct
+{
+   EObjo;
+   TextClass  *tc;
+   ImageClass *ic;
+   int mw, mh, tw, th;
+} WarpFocusWin;
+
 static void WarpFocusHandleEvent(XEvent * ev, void *prm);
 
-static EObj*warpFocusWindow = NULL;
+static WarpFocusWin *warpFocusWindow = NULL;
 
 static int  warpFocusIndex = 0;
 static unsigned int warpFocusKey = 0;
@@ -59,177 +67,215 @@
 
 #define ICON_PAD 2
 
-static void
-WarpFocusShow(EWin * ewin)
+static WarpFocusWin *
+WarpFocusWinCreate(void)
 {
-   TextClass  *tc;
-   ImageClass *ic;
-   Imlib_Border   *pad;
-   int i, x, y, w, h, ww, hh;
-   static int  mw, mh, tw, th;
-   chars[1024];
-   const char *fmt;
-   WarplistItem   *wl;
+   WarpFocusWin   *fw;
 
-   if (!warplist)
-  return;
+   fw = Ecalloc(1, sizeof(WarpFocusWin));
+   if (!fw)
+  return fw;
 
-   tc = TextclassFind("WARPFOCUS", 0);
-   if (!tc)
-  tc = TextclassFind("COORDS", 1);
-
-   ic = ImageclassFind("WARPFOCUS", 0);
-   if (!ic)
-  ic = ImageclassFind("COORDS", 1);
+   EobjInit(EoObj(fw), EOBJ_TYPE_MISC, None, 0, 0, 1, 1, 1, "Warp");
+   EoSetFloating(fw, 1);
+   EoSetLayer(fw, 20);
 
-   if ((!ic) || (!tc))
-  return;
+   EventCallbackRegister(EoGetWin(fw), 0, WarpFocusHandleEvent, NULL);
+   ESelectInput(EoGetWin(fw), ButtonReleaseMask);
 
-   pad = ImageclassGetPadding(ic);
+   fw->tc = TextclassFind("WARPFOCUS", 0);
+   if (!fw->tc)
+  fw->tc = TextclassFind("COORDS", 1);
 
-   if (!warpFocusWindow)
- {
-   EObj   *eo;
+   fw->ic = ImageclassFind("WARPFOCUS", 0);
+   if (!fw->ic)
+  fw->ic = ImageclassFind("COORDS", 1);
 
-   eo = EobjWindowCreate(EOBJ_TYPE_MISC, 0, 0, 1, 1, 1, "Warp");
-   if (!eo)
-  return;
+   return fw;
+}
+
+#if 0
+static void
+WarpFocusWinDestroy(WarpFocusWin * fw)
+{
+   EventCallbackUnregister(EoGetWin(fw), 0, WarpFocusHandleEvent, NULL);
+   EobjFini(EoObj(fw));
+   EDestroyWindow(EoGetWin(fw));
+   Efree(fw);
+}
+#endif
 
-   warpFocusWindow = eo;
+static void
+WarpFocusWinShow(WarpFocusWin * fw)
+{
+   WarplistItem   *wi;
+   Imlib_Border   *pad;
+   int i, x, y, w, h, ww, hh;
+   chars[1024];
+   const char *fmt;
 
-   EventCallbackRegister(eo->win, 0, WarpFocusHandleEvent, NULL);
-   ESelectInput(eo->win, ButtonReleaseMask);
+   w = 0;
+   h = 0;
+   pad = ImageclassGetPadding(fw->ic);
 
-   TooltipsEnable(0);
+   for (i = 0; i < warplist_num; i++)
+ {
+   wi = warplist + i;
+   wi->win = ECreateWindow(EoGetWin(fw), 0, 0, 1, 1, 0);
+   EMapWindow(wi->win);
+   if (wi->ewin->state.iconified)
+  fmt = "[%s]";
+   else if (wi->ewin->state.shaded)
+  fmt = "=%s=";
+   else
+  fmt = "%s";
+   Esnprintf(s, sizeof(s), fmt, EwinGetName(wi->ewin));
+   wi->txt = strdup(s);
+   TextSize(fw->tc, 0, 0, 0, wi->txt, &ww, &hh, 17);
+   if (ww > w)
+  w = ww;
+   if (hh > h)
+  h = hh;
  }
 
-   if (!warpFocusWindow->shown)
- {
-   w = 0;
-   h = 0;
-   for (i = 0; i < warplist_num; i++)
- {
-wl = warplist + i;
-wl->win = ECreateWindow(warpFocusWindow->win, 0, 0, 1, 1, 0);
-EMapWindow(wl->win);
-if (wl->ewin->state.iconified)
-   fmt = "[%s]";
-else if (wl->ewin->state.shaded)
-   fmt = "=%s=";
-else
-   fmt = "%s";
-Esnprintf(s, sizeof(s), fmt, EwinGetName(wl->ewin));
-wl->txt = strdup(s);
-TextSize(tc, 0, 0, 0, wl->txt, &ww, &hh, 17);
-if (ww > w)
-   w = ww;
-if (hh > h)
-   h = hh;
- }
+   fw->tw = w; /* Text size */
+   fw->th = h;
+   w += pad->left + pad->right;
+   h += pad->top + pad->bottom;
+   if (Conf.warplist.icon_mode != 0)
+  w += h;
+   fw->mw = w; /* Focus list item size */
+   fw->mh = h;
+
+   /* Reset shape */
+   EShapeCombineMask(EoGetWin(fw), ShapeBounding, 0, 0, None, ShapeSet);
+
+   GetPointerScreenAvailableArea(&x, &y, &ww, &hh);
+   x += (ww - w) / 2;
+   y += (hh - h * warplist_num) / 2;
+   EoMoveResize(fw, x, y, w, h * warplist_num);
 
-   tw = w; /* Text siz

E CVS: e kwo

2005-10-15 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir : e16/e/src


Modified Files:
x.c 


Log Message:
Fix shape bug.
===
RCS file: /cvsroot/enlightenment/e16/e/src/x.c,v
retrieving revision 1.109
retrieving revision 1.110
diff -u -3 -r1.109 -r1.110
--- x.c 26 Sep 2005 17:32:10 -  1.109
+++ x.c 15 Oct 2005 20:27:32 -  1.110
@@ -923,6 +923,8 @@
  xid->num_rect = 0;
  XFree(xid->rects);
  xid->rects = NULL;
+ XShapeCombineMask(disp, xid->win, ShapeBounding, 0, 0,
+   None, ShapeSet);
   }
  }
else if (xid->num_rect > 4096)
@@ -958,8 +960,8 @@
wasshaped = 1;
  }
 #if DEBUG_SHAPE_OPS
-   Eprintf("ExShapeCombineMask %#lx %d,%d %dx%d wassh=%d\n", xid->win,
-  xid->x, xid->y, xid->w, xid->h, wasshaped);
+   Eprintf("ExShapeCombineMask %#lx %d,%d %dx%d mask=%#lx wassh=%d\n",
+  xid->win, xid->x, xid->y, xid->w, xid->h, pmap, wasshaped);
 #endif
if (pmap)
  {




---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: e kwo

2005-10-15 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir : e16/e/src


Modified Files:
coords.c tclass.c tclass.h 


Log Message:
Smoother geometry indicator.
===
RCS file: /cvsroot/enlightenment/e16/e/src/coords.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -3 -r1.34 -r1.35
--- coords.c12 Oct 2005 17:20:42 -  1.34
+++ coords.c15 Oct 2005 12:14:00 -  1.35
@@ -65,6 +65,11 @@
cw += pad->left + pad->right;
ch += pad->top + pad->bottom;
 
+   /* Width hysteresis (hack - assuming horizontal text) */
+   cw += 8;
+   if (eo && abs(eo->w - cw) < 8)
+  cw = eo->w;
+
if (Mode.mode == MODE_MOVE)
   md = Conf.movres.mode_move;
else
@@ -98,15 +103,28 @@
if (!eo)
   return;
coord_eo = eo;
+
+   /* Center text (override theme) */
+   TextclassSetJustification(tc, 512);
  }
 
+#define TEST_COORD_REPARENT_TO_FRAME 0
+#if TEST_COORD_REPARENT_TO_FRAME
+   cx -= x;
+   cy -= y;
+#endif
EobjMoveResize(eo, cx, cy, cw, ch);
 
if (!eo->shown)
-  EobjMap(eo, 0);
+ {
+#if TEST_COORD_REPARENT_TO_FRAME
+   EobjReparent(eo, EoObj(ewin), cx, cy);
+#endif
+   EobjMap(eo, 0);
+ }
 
-   ImageclassApply(ic, eo->win, cw, ch, 1, 0, STATE_NORMAL, 0, ST_UNKNWN);
-   TextclassApply(ic, eo->win, cw, ch, 0, 0, STATE_NORMAL, 0, tc, s);
+   ITApply(eo->win, ic, NULL, cw, ch, STATE_NORMAL, 1, 0, 0, ST_UNKNWN,
+  tc, NULL, s);
 
EFlush();
 }
@@ -117,5 +135,10 @@
EObj   *eo = coord_eo;
 
if (eo && eo->shown)
-  EobjUnmap(eo);
+ {
+   EobjUnmap(eo);
+#if TEST_COORD_REPARENT_TO_FRAME
+   EobjReparent(eo, EoObj(DeskGet(0)), 0, 0);
+#endif
+ }
 }
===
RCS file: /cvsroot/enlightenment/e16/e/src/tclass.c,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -3 -r1.35 -r1.36
--- tclass.c26 Sep 2005 17:32:10 -  1.35
+++ tclass.c15 Oct 2005 12:14:00 -  1.36
@@ -152,6 +152,12 @@
return tc->justification;
 }
 
+void
+TextclassSetJustification(TextClass * tc, int just)
+{
+   tc->justification = just;
+}
+
 static void
 TextclassPopulate(TextClass * tclass)
 {
===
RCS file: /cvsroot/enlightenment/e16/e/src/tclass.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- tclass.h26 Sep 2005 17:32:10 -  1.1
+++ tclass.h15 Oct 2005 12:14:00 -  1.2
@@ -79,6 +79,7 @@
 voidTextclassIncRefcount(TextClass * tc);
 voidTextclassDecRefcount(TextClass * tc);
 int TextclassGetJustification(TextClass * tc);
+voidTextclassSetJustification(TextClass * tc, int just);
 TextClass  *TextclassFind(const char *name, int fallback);
 voidTextclassApply(struct _imageclass *ic, Window win, int w,
   int h, int active, int sticky, int state,




---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


Re: [E-devel] Re: E CVS: apps/e raster

2005-10-15 Thread The Rasterman
On Sat, 15 Oct 2005 08:56:36 +0200 Sebastian Dransfeld <[EMAIL PROTECTED]>
babbled:

> enlightenment-cvs@lists.sourceforge.net wrote:
> > Enlightenment CVS committal
> > 
> > Author  : raster
> > Project : e17
> > Module  : apps/e
> > 
> > Dir : e17/apps/e
> > 
> > 
> > Modified Files:
> > configure.in 
> > 
> > 
> > Log Message:
> > 
> > 
> > norwegan!
> 
> Norwegian bokmål, if you don't mind:) Norway must be the only country 
> with two toplevel iso-codes (nb and nn).

ok - i was a bit short-schrifted on the naming - yes norwegan bokmål :)

> Sebastian
> 
> 
> 
> ---
> This SF.Net email is sponsored by:
> Power Architecture Resource Center: Free content, downloads, discussions,
> and more. http://solutions.newsforge.com/ibmarch.tmpl
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> 


-- 
- Codito, ergo sum - "I code, therefore I am" --
The Rasterman (Carsten Haitzler)[EMAIL PROTECTED]
裸好多
Tokyo, Japan (東京 日本)


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/e raster

2005-10-15 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir : e17/apps/e/po


Modified Files:
fr.po 


Log Message:


maxime's patch :) merci beucoup! :)

===
RCS file: /cvsroot/enlightenment/e17/apps/e/po/fr.po,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- fr.po   2 Jul 2005 12:40:22 -   1.7
+++ fr.po   15 Oct 2005 11:04:58 -  1.8
@@ -8,8 +8,8 @@
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: [EMAIL PROTECTED]"
 "POT-Creation-Date: 2005-04-12 06:59+0900\n"
-"PO-Revision-Date: 2005-06-21 18:30+0100\n"
-"Last-Translator: Sébastien HOUZE <[EMAIL PROTECTED]>\n"
+"PO-Revision-Date: 2005-10-15 11:00+0100\n"
+"Last-Translator: Maxime BRUNEL <[EMAIL PROTECTED]>\n"
 "Language-Team: LANGUAGE <[EMAIL PROTECTED]>\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
@@ -139,9 +139,13 @@
 "Un module de sélection d'espaces de travail qui permet\n"
 "de choisir son bureau virtuel."
 
-#: src/modules/cpufreq/e_mod_main.c:108
-msgid "A simple module to control the frequency of the system CPU. This is 
especially useful to save power on laptops."
-msgstr "Un simple module pour contrôler la fréquence du microprocesseur. 
Très pratique pour économiser l'énergie sur les ordinateurs portables."
+#: src/modules/cpufreq/e_mod_main.c:115
+msgid "A simple module to control the frequency of the system CPU."
+msgstr "Un simple module pour contrôler la fréquence du microprocesseur."
+
+#: src/modules/cpufreq/e_mod_main.c:116
+msgid "This is especially useful to save power on laptops."
+msgstr "Très pratique pour économiser l'énergie sur les ordinateurs 
portables."
 
 #: src/modules/clock/e_mod_main.c:96
 msgid "A simple module to give E17 a clock."
@@ -348,10 +352,6 @@
 msgid "Disable this splash screen in the future?"
 msgstr "Désactiver cet écran d'acceuil à l'avenir ?"
 
-#: src/modules/dropshadow/e_mod_main.c:139
-msgid "Dropshadow"
-msgstr "Ombre portée"
-
 #: src/bin/e_border.c:4713
 msgid "Edit Icon"
 msgstr "Editer l'icône"
@@ -388,10 +388,6 @@
 msgid "Enlightenment Clock Module"
 msgstr "Module Horloge d'Enlightenment"
 
-#: src/modules/dropshadow/e_mod_main.c:148
-msgid "Enlightenment Dropshadow Module"
-msgstr "Module d'Ombre portée d'Enlightenment"
-
 #: src/modules/ibar/e_mod_main.c:172
 msgid "Enlightenment IBar Module"
 msgstr "Module IBar d'Enlightenment"
@@ -399,7 +395,7 @@
 #: src/modules/ibox/e_mod_main.c:157
 #, fuzzy
 msgid "Enlightenment IBox Module"
-msgstr "Module IBar d'Enlightenment"
+msgstr "Module IBox d'Enlightenment"
 
 #: src/bin/e_main.c:455
 msgid "Enlightenment IPC setup error!"
@@ -590,13 +586,17 @@
 "It likely is already in use by an exisiting copy of Enlightenment.\n"
 "Double check to see if Enlightenment is not already on this display,\n"
 "but if that fails try deleting all files in ~/.ecore/enlightenment-*\n"
-"and try running again."
+"and try running again.\n"
+"If you use AFS then maybe you might want to make a symlink from\n"
+"~/.ecore to /tmp/my_directory/ecore where sockets can be made."
 msgstr ""
 "Enlightenment ne peut initialiser de socket IPC.\n"
 "Il a l'air d'être accaparé par un instance pré-existante 
d'Enlightenment.\n"
 "Vérifiez si Enlightenment ne tourne pas sur cet affichage, et si cela\n"
 "n'est pas le cas essayez d'effacer tous les fichiers disponibles en tant\n"
-"que ~/.ecore/enlightenment-* et de relancer."
+"que ~/.ecore/enlightenment-* et de relancer.\n"
+"Si vous utilisez AFS et que peut-être vous voulez faire un lien symbolique 
de\n"
+"~/.ecore à /tmp/mon_répertoire/ecore où les sockets peuvent être faits."
 
 #: src/bin/e_main.c:250
 msgid ""
@@ -874,10 +874,6 @@
 msgid "IBox"
 msgstr ""
 
-#: src/bin/e_border.c:4807
-msgid "Icon Edit Error"
-msgstr "Erreur de l'Editeur d'icône"
-
 #: src/bin/e_border.c:4621
 msgid "Iconify"
 msgstr "Minimiser"
@@ -1209,49 +1205,35 @@
 
 #: src/modules/ibar/e_mod_main.c:173
 msgid ""
-"This is the IBar Application Launcher bar module for Enlightenment.\n"
-"It is a first example module and is being used to flesh out several\n"
-"Interfaces in Enlightenment 0.17.0. It is under heavy development,\n"
+"This is the IBar Application Launcher bar module for Enlightenment."
+"It is a first example module and is being used to flesh out several"
+"Interfaces in Enlightenment 0.17.0. It is under heavy development,"
 "so expect it to break often and change as it improves."
 msgstr ""
-"Ce module d'Enlightenment est le lanceur d'applications IBar.\n"
-"Il a été le premier module et est utilisé pour concevoir les\n"
-"interfaces dans Enlightenment 0.17.0. Il est en développement\n"
-"constant, attendez-vous donc à ce qu'il soit souvent inutilisable\n"
-"et qu'il change au fur et à mesure qu'il s'améliore."
-
-#: src/modules/ibox/e_mod_main.c:158
-#, fuzzy
-msgid ""
-"This is the IBox Application Launcher box module for En

E CVS: apps/e raster

2005-10-15 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/bin


Modified Files:
e_config.c e_config.h e_intl.c e_intl.h e_ipc_handlers.h 
e_ipc_handlers_list.h 


Log Message:


shorne's intl work! :)

===
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_config.c,v
retrieving revision 1.117
retrieving revision 1.118
diff -u -3 -r1.117 -r1.118
--- e_config.c  15 Oct 2005 10:02:29 -  1.117
+++ e_config.c  15 Oct 2005 10:49:54 -  1.118
@@ -359,6 +359,7 @@
E_CONFIG_VAL(D, T, menu_eap_name_show, INT); /**/
E_CONFIG_VAL(D, T, menu_eap_generic_show, INT); /**/
E_CONFIG_VAL(D, T, menu_eap_comment_show, INT); /**/
+   E_CONFIG_VAL(D, T, input_method, STR); /**/

e_config = e_config_domain_load("e", _e_config_edd);
if (e_config)
@@ -487,6 +488,7 @@
e_config->menu_eap_name_show = 1;
e_config->menu_eap_generic_show = 1;
e_config->menu_eap_comment_show = 0;
+   e_config->input_method = NULL;

  {
 E_Config_Module *em;
@@ -1450,6 +1452,9 @@
if ((e_config->language) && (strlen(e_config->language) > 0))
  e_intl_language_set(e_config->language);

+   if ((e_config->input_method) && (strlen(e_config->input_method) > 0))
+ e_intl_input_method_set(e_config->input_method);
+   
return 1;
 }
 
===
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_config.h,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -3 -r1.60 -r1.61
--- e_config.h  15 Oct 2005 10:02:29 -  1.60
+++ e_config.h  15 Oct 2005 10:49:54 -  1.61
@@ -172,6 +172,7 @@
int cursor_size;
int menu_autoscroll_margin;
int menu_autoscroll_cursor_margin;
+   char  *input_method;
struct {
intmove;
intresize;
===
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_intl.c,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -3 -r1.43 -r1.44
--- e_intl.c15 Oct 2005 05:50:16 -  1.43
+++ e_intl.c15 Oct 2005 10:49:54 -  1.44
@@ -6,8 +6,6 @@
 
 /* TODO List:
  * 
- * * load/save language in config so u can change language runtime via a gui 
and/or ipc
- * * add ipc to get/set/list languages, get language name, simplified language 
string, etc. (so a config tool can be written to display supported languages 
and be able to select from them)
  * * add more language names to the language name list list in 
e_intl_language_name_get()
  * * as we get translations add languages to the simplified lang list (C and 
en are currently the same, ja is a test translation - incomplete)
  */
@@ -19,12 +17,21 @@
 static char *_e_intl_language = NULL;
 static Evas_List *_e_intl_languages = NULL;
 
+static char *_e_intl_orig_gtk_im_module_file = NULL;
+static char *_e_intl_orig_xmodifiers = NULL;
+static char *_e_intl_orig_qt_im_module = NULL; 
+static char *_e_intl_orig_gtk_im_module = NULL;
+static char *_e_intl_input_method = NULL;
+static Evas_List *_e_intl_input_methods = NULL;
+
 #define ADD_LANG(lang) _e_intl_languages = evas_list_append(_e_intl_languages, 
lang)
+#define ADD_IM(method) _e_intl_input_methods = 
evas_list_append(_e_intl_input_methods, method)
 
 int
 e_intl_init(void)
 {
char *s;
+   E_Language_Pack *elp;

if (_e_intl_languages) return 1;
 
@@ -73,9 +80,38 @@
if ((s = getenv("LANGUAGE"))) _e_intl_orig_language = strdup(s);
if ((s = getenv("LC_ALL"))) _e_intl_orig_lc_all = strdup(s);
if ((s = getenv("LANG"))) _e_intl_orig_lang = strdup(s);
+
+   if ((s = getenv("GTK_IM_MODULE"))) _e_intl_orig_gtk_im_module = strdup(s);
+   if ((s = getenv("QT_IM_MODULE"))) _e_intl_orig_qt_im_module = strdup(s);
+   if ((s = getenv("XMODIFIERS"))) _e_intl_orig_xmodifiers = strdup(s);
+   if ((s = getenv("GTK_IM_MODULE_FILE"))) _e_intl_orig_gtk_im_module_file = 
strdup(s);

-   /* FIXME: NULL == use LANG. make this read a config value if it exists */
+   
+   /* Exception: NULL == use LANG. this will get setup in e_config */
e_intl_language_set(NULL);
+
+   elp = malloc(sizeof(E_Language_Pack));
+   elp->version = 1;
+   elp->e_im_name = strdup("scim");
+   elp->gtk_im_module = strdup("scim");
+   elp->qt_im_module = strdup("scim");
+   elp->xmodifiers = strdup("@im=SCIM");
+   elp->e_im_exec = strdup("scim");
+   elp->gtk_im_module_file = NULL;
+
+   ADD_IM(elp);
+
+   elp = malloc(sizeof(E_Language_Pack));
+   elp->version = 1;
+   elp->e_im_name = strdup("uim");
+   elp->gtk_im_module = strdup("uim");
+   elp->qt_im_module = strdup("uim");
+   elp->xmodifiers = strdup("@im=uim");
+   elp->gtk_im_module_file = NULL;
+   elp->e_im_exec = strdup("uim-xim");
+
+   ADD_IM(elp);
+   
return 1;
 }
 
@@ -172,3 +208,71 @@
/* FIXME: hunt dirs for locales */
   

E CVS: apps/e raster

2005-10-15 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir : e17/apps/e


Modified Files:
TODO 


Log Message:


a bug i noticed

===
RCS file: /cvsroot/enlightenment/e17/apps/e/TODO,v
retrieving revision 1.276
retrieving revision 1.277
diff -u -3 -r1.276 -r1.277
--- TODO13 Oct 2005 02:43:16 -  1.276
+++ TODO15 Oct 2005 10:38:24 -  1.277
@@ -8,6 +8,7 @@
   BUGS / FIXES
 ---
 
+* BUG: remember shaded state is broken
 * BUG: dnd to ibar is broken if u did an icon that isn't IN the ibar yet
   (from a window border) to either the very start or end of the ibar.
 * BUG: some bug if u flip desktops fast enough window s vanish (how the hell




---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ecore raster

2005-10-15 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/ecore

Dir : e17/libs/ecore/src/bin


Modified Files:
Makefile.am ecore_evas_test_app.c 


Log Message:


turran's dfb stuff! whee! :)

===
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/bin/Makefile.am,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -3 -r1.17 -r1.18
--- Makefile.am 5 Sep 2005 08:40:50 -   1.17
+++ Makefile.am 15 Oct 2005 10:37:37 -  1.18
@@ -6,6 +6,12 @@
 ECORE_EVAS_LIB =
 endif
 
+if BUILD_ECORE_DIRECTFB
+ECORE_DIRECTFB_LIB = 
$(top_builddir)/src/lib/ecore_directfb/libecore_directfb.la
+else
+ECORE_DIRECTFB_LIB =
+endif
+
 if BUILD_ECORE_X
 ECORE_X_LIB = $(top_builddir)/src/lib/ecore_x/libecore_x.la
 else
@@ -51,6 +57,7 @@
 INCLUDES = \
 -I$(top_srcdir)/src/lib/ecore \
 -I$(top_srcdir)/src/lib/ecore_evas \
+-I$(top_srcdir)/src/lib/ecore_directfb \
 -I$(top_srcdir)/src/lib/ecore_x \
 -I$(top_srcdir)/src/lib/ecore_fb \
 -I$(top_srcdir)/src/lib/ecore_job \
@@ -60,6 +67,7 @@
 -I$(top_srcdir)/src/lib/ecore_config \
 -I$(top_builddir)/src/lib/ecore \
 -I$(top_builddir)/src/lib/ecore_evas \
+-I$(top_builddir)/src/lib/ecore_directfb \
 -I$(top_builddir)/src/lib/ecore_x \
 -I$(top_builddir)/src/lib/ecore_fb \
 -I$(top_builddir)/src/lib/ecore_job \
===
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/bin/ecore_evas_test_app.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- ecore_evas_test_app.c   3 Oct 2005 06:45:45 -   1.8
+++ ecore_evas_test_app.c   15 Oct 2005 10:37:37 -  1.9
@@ -84,6 +84,13 @@
evas = ecore_evas_get(ee);
  }
 #endif
+#if HAVE_ECORE_EVAS_DIRECTFB
+   else if ((argc > 1) && (!strcmp(argv[1], "-dfb")))
+ {
+   ee = ecore_evas_directfb_new(NULL, 0,  0, 0, 240, 320);
+   evas = ecore_evas_get(ee);
+ }
+#endif
else if ((argc > 1) && (!strcmp(argv[1], "-buf")))
  {
ee = ecore_evas_buffer_new(240, 320);
@@ -116,11 +123,12 @@
  {
printf("%s -x Test ecore_evas in X (default)\n"
   "%s -glTest ecore_evas in X GL\n"
+  "%s -dfb   Test ecore_evas in DirectFB\n"
   "%s -fbTest ecore_evas in the Framebuffer\n"
   "%s -buf   Test ecore_evas in the Buffer\n"
   "%s -buf2  Test ecore_evas in the Image Buffer\n"
   "%s -h Display this help\n",
-  argv[0], argv[0], argv[0], argv[0], argv[0], argv[0]);
+  argv[0], argv[0], argv[0], argv[0], argv[0], argv[0], argv[0]);
ecore_evas_shutdown();
ecore_shutdown();
return 0;




---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ecore raster

2005-10-15 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/ecore

Dir : e17/libs/ecore/src/lib


Modified Files:
Makefile.am 


Log Message:


turran's dfb stuff! whee! :)

===
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/Makefile.am,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- Makefile.am 29 Apr 2005 05:29:13 -  1.8
+++ Makefile.am 15 Oct 2005 10:37:37 -  1.9
@@ -4,10 +4,11 @@
 ecore_job \
 ecore_txt \
 ecore_fb \
+ecore_directfb \
 ecore_con \
 ecore_x \
 ecore_ipc \
 ecore_evas \
 ecore_config \
 ecore_file \
-ecore_dbus
+ecore_dbus 




---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ecore raster

2005-10-15 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/ecore

Dir : e17/libs/ecore


Modified Files:
configure.in 


Log Message:


turran's dfb stuff! whee! :)

===
RCS file: /cvsroot/enlightenment/e17/libs/ecore/configure.in,v
retrieving revision 1.114
retrieving revision 1.115
diff -u -3 -r1.114 -r1.115
--- configure.in12 Oct 2005 23:15:17 -  1.114
+++ configure.in15 Oct 2005 10:37:37 -  1.115
@@ -454,6 +454,44 @@
 AC_SUBST(ecore_job_cflags)
 AC_SUBST(ecore_job_libs)
 
+want_ecore_dfb="yes";
+have_ecore_dfb="no";
+ecore_dfb_cflags="";
+ecore_dfb_libs="";
+
+AC_MSG_CHECKING(whether ecore_dfb module is to be built)
+
+AC_ARG_ENABLE(ecore-dfb, 
+  [  --disable-ecore-dfb   disable the ecore_dfb module],
+  [
+if [ test "$enableval" = "yes" ]; then  
+  AC_MSG_RESULT(yes)
+else
+  AC_MSG_RESULT(no)
+  want_ecore_dfb="no"
+fi
+  ], [
+AC_MSG_RESULT(yes)
+  ]
+)
+
+if test "x$want_ecore_dfb" = "xyes"; then
+PKG_CHECK_MODULES(DIRECTFB, directfb >= 0.9.16,
+[
+  AM_CONDITIONAL(BUILD_ECORE_DIRECTFB, true)
+  AC_DEFINE(BUILD_ECORE_DIRECTFB, 1, [Build Ecore_DirectFB Module])
+  have_ecore_dfb="yes"
+  dnl ecore_dfb_libs="-lecore_fb";
+], [
+  AM_CONDITIONAL(BUILD_ECORE_DIRECTFB, false)
+]
+  )
+else
+  AM_CONDITIONAL(BUILD_ECORE_DIRECTFB, false)
+fi
+AC_SUBST(ecore_dfb_cflags)
+AC_SUBST(ecore_dfb_libs)
+
 want_ecore_fb="yes";
 have_ecore_fb="no";
 ecore_fb_cflags="";
@@ -618,6 +656,42 @@
   fi
 fi
 
+want_ecore_evas_dfb="yes";
+have_ecore_evas_dfb="no";
+
+AC_MSG_CHECKING(whether ecore_evas DirectFB support is to be built)
+AC_ARG_ENABLE(ecore-evas-dfb, 
+  [  --disable-ecore-evas-dfb  disable DirectFB in the ecore_evas 
module],
+  [
+if [ test "$enableval" = "yes" ]; then  
+  AC_MSG_RESULT(yes)
+else
+  AC_MSG_RESULT(no)
+  want_ecore_evas_dfb="no"
+fi
+  ], [
+AC_MSG_RESULT(yes)
+  ]
+)
+
+if test "x$want_ecore_evas_dfb" = "xyes"; then
+  dnl AC_CHECK_HEADER(Evas_Engine_DirectFB.h,
+  AC_CHECK_HEADER(Evas_Engine_Buffer.h,
+[
+  AM_CONDITIONAL(BUILD_ECORE_EVAS_DIRECTFB, true)
+  AC_DEFINE(BUILD_ECORE_EVAS_DIRECTFB, 1, [Support for DirectFB in 
Ecore_Evas])
+  have_ecore_evas_dfb="yes"
+], [
+  AM_CONDITIONAL(BUILD_ECORE_EVAS_DIRECTFB, false)
+], [
+  #include 
+]
+  )
+else
+  AM_CONDITIONAL(BUILD_ECORE_EVAS_DIRECTFB, false)
+fi
+
+
 want_ecore_evas_fb="yes";
 have_ecore_evas_fb="no";
 
@@ -1076,6 +1150,7 @@
 src/lib/ecore_config/Makefile
 src/lib/ecore_file/Makefile
 src/lib/ecore_dbus/Makefile
+src/lib/ecore_directfb/Makefile
 examples/Makefile
 ecore-config
 README
@@ -1099,10 +1174,12 @@
 echo "  Ecore_Txt: $have_ecore_txt"
 echo "  Ecore_X..: $have_ecore_x (Xcursor: $use_Xcursor) 
(Xprint: $use_Xprint) (Xinerama: $use_Xinerama) (Xrandr: $use_Xrandr)"
 echo "  Ecore_FB.: $have_ecore_fb"
+echo "  Ecore_DFB: $have_ecore_dfb"
 echo "  Ecore_Evas...: $have_ecore_evas"
 echo "  Ecore_Evas GL Support: $have_ecore_evas_gl"
 echo "  Ecore_Evas XRender Support...: $have_ecore_evas_xrender"
 echo "  Ecore_Evas FB Support: $have_ecore_evas_fb"
+echo "  Ecore_Evas DFB Support...: $have_ecore_evas_dfb"
 echo "  Ecore_Buffer.: $have_ecore_evas_buffer"
 echo "  Ecore_Ipc: $have_ecore_ipc (OpenSSL: $use_openssl)"
 echo "  Ecore_Config.: $have_ecore_config"




---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ecore raster

2005-10-15 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/ecore

Dir : e17/libs/ecore/src/lib/ecore_evas


Modified Files:
Ecore_Evas.h Makefile.am ecore_evas.c ecore_evas_private.h 
Added Files:
ecore_evas_directfb.c 


Log Message:


turran's dfb stuff! whee! :)

===
RCS file: 
/cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_evas/Ecore_Evas.h,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -3 -r1.14 -r1.15
--- Ecore_Evas.h8 Oct 2005 12:43:17 -   1.14
+++ Ecore_Evas.h15 Oct 2005 10:37:37 -  1.15
@@ -47,6 +47,7 @@
 #define HAVE_ECORE_EVAS_X 1
 #define HAVE_ECORE_EVAS_FB 1
 #define HAVE_ECORE_EVAS_GL 1
+#define HAVE_ECORE_EVAS_DIRECTFB 1
 
 typedef enum
 {
@@ -54,7 +55,8 @@
ECORE_EVAS_ENGINE_SOFTWARE_FB,
ECORE_EVAS_ENGINE_GL_X11,
ECORE_EVAS_ENGINE_SOFTWARE_BUFFER,
-   ECORE_EVAS_ENGINE_XRENDER_X11
+   ECORE_EVAS_ENGINE_XRENDER_X11,
+   ECORE_EVAS_ENGINE_DIRECTFB
 } Ecore_Evas_Engine_Type;
 
 #ifndef _ECORE_X_H
@@ -62,6 +64,11 @@
 typedef unsigned int Ecore_X_Window;
 #endif

+#ifndef _ECORE_DIRECTFB_H
+#define _ECORE_DIRECTFB_WINDOW_PREDEF
+typedef void Ecore_DirectFB_Window;
+#endif
+   
 #ifndef _ECORE_EVAS_PRIVATE_H
 /* basic data types */
 typedef void Ecore_Evas;
===
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_evas/Makefile.am,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- Makefile.am 5 Sep 2005 08:40:50 -   1.12
+++ Makefile.am 15 Oct 2005 10:37:37 -  1.13
@@ -20,6 +20,16 @@
 ECORE_FB_LDF = 
 endif
 
+if BUILD_ECORE_DIRECTFB
+ECORE_DIRECTFB_INC = -I$(top_srcdir)/src/lib/ecore_directfb [EMAIL PROTECTED]@
+ECORE_DIRECTFB_LIB = 
$(top_builddir)/src/lib/ecore_directfb/libecore_directfb.la
+ECORE_DIRECTFB_LDF = -L$(top_builddir)/src/lib/ecore_directfb/.libs
+else
+ECORE_DIRECTFB_INC =
+ECORE_DIRECTFB_LIB =
+ECORE_DIRECTFB_LDF = 
+endif
+
 INCLUDES = \
 -I$(top_srcdir)/src/lib/ecore \
 -I$(top_srcdir)/src/lib/ecore_evas \
@@ -27,11 +37,13 @@
 -I$(top_builddir)/src/lib/ecore_evas \
 $(ECORE_X_INC) \
 $(ECORE_FB_INC) \
+$(ECORE_DIRECTFB_INC) \
 @EVAS_CFLAGS@ 
 
 libecore_evas_la_LDFLAGS = -version-info 1:0:0 \
 $(ECORE_X_LDF) \
 $(ECORE_FB_LDF) \
+$(ECORE_DIRECTFB_LDF) \
 -L$(top_builddir)/src/lib/ecore/.libs
 
 if BUILD_ECORE_EVAS
@@ -45,17 +57,20 @@
 ecore_evas_private.h \
 ecore_evas_x.c \
 ecore_evas_fb.c \
-ecore_evas_buffer.c
+ecore_evas_buffer.c \
+ecore_evas_directfb.c
 
 libecore_evas_la_LIBADD = \
 $(ECORE_X_LIB) \
 $(ECORE_FB_LIB) \
+$(ECORE_DIRECTFB_LIB) \
 $(top_builddir)/src/lib/ecore/libecore.la \
 @EVAS_LIBS@
 
 libecore_evas_la_DEPENDENCIES = \
 $(ECORE_X_LIB) \
 $(ECORE_FB_LIB) \
+$(ECORE_DIRECTFB_LIB) \
 $(top_builddir)/src/lib/ecore/libecore.la
 
 endif
@@ -65,5 +80,6 @@
 ecore_evas_private.h \
 ecore_evas_x.c \
 ecore_evas_fb.c \
-ecore_evas_buffer.c
+ecore_evas_buffer.c \
+ecore_evas_directfb.c
 
===
RCS file: 
/cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_evas/ecore_evas.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -3 -r1.22 -r1.23
--- ecore_evas.c8 Oct 2005 12:41:59 -   1.22
+++ ecore_evas.c15 Oct 2005 10:37:37 -  1.23
@@ -56,6 +56,11 @@
return 0;
 #endif 
break;
+  case ECORE_EVAS_ENGINE_DIRECTFB:
+#ifdef BUILD_ECORE_EVAS_DIRECTFB
+   return 1;
+#endif
+   return 0;
   default:
return 0;
break;
@@ -98,6 +103,9 @@
 #ifdef BUILD_ECORE_EVAS_BUFFER
while (_ecore_evas_buffer_shutdown());
 #endif
+#ifdef BUILD_ECORE_EVAS_DIRECTFB
+   while (_ecore_evas_directfb_shutdown());
+#endif
evas_shutdown(); 
  }
if (_ecore_evas_init_count < 0) _ecore_evas_init_count = 0;
===
RCS file: 
/cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_evas/ecore_evas_private.h,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -3 -r1.18 -r1.19
--- ecore_evas_private.h8 Oct 2005 12:41:59 -   1.18
+++ ecore_evas_private.h15 Oct 2005 10:37:37 -  1.19
@@ -18,6 +18,10 @@
 
 #define ECORE_MAGIC_EVAS 0x76543211
 
+#ifndef BUILD_ECORE_DIRECTFB
+#undef BUILD_ECORE_EVAS_DIRECTFB
+#endif
+
 #ifdef BUILD_ECORE_X
 #include "Ecore_X.h"
 #include 
@@ -33,6 +37,10 @@
 #ifdef BUILD_ECORE_EVAS_FB
 #include 
 #endif
+#ifdef BUILD_ECORE_EVAS_DIRECTFB
+#include 
+#include "Ecore_DirectFB.h"
+#endif
 #ifdef BUILD_ECORE_EVAS_BUFFER
 #include 
 #endif
@@ -131,6 +139,14 @@
   Evas_Object *image;
} buffer;
 #endif
+#ifdef BUILD_ECORE_EVAS_DIRECTFB
+   struct {
+  Ecore_DirectFB_Window *window;
+  /*IDirectFBWindow *window;
+  DirectFBSurface *surface;
+  DirectFBWindowID id;*/
+   } directfb;
+#endif
 };
   
 struc

E CVS: libs/ecore raster

2005-10-15 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/ecore

Dir : e17/libs/ecore/src/lib/ecore


Modified Files:
ecore_hash.c 


Log Message:


turran's dfb stuff! whee! :)

===
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore/ecore_hash.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -3 -r1.17 -r1.18
--- ecore_hash.c30 Sep 2005 06:09:36 -  1.17
+++ ecore_hash.c15 Oct 2005 10:37:37 -  1.18
@@ -316,7 +316,7 @@
 _ecore_hash_add_node(Ecore_Hash *hash, Ecore_Hash_Node *node)
 {
unsigned int hash_val;
-
+   
CHECK_PARAM_POINTER_RETURN("hash", hash, FALSE);
CHECK_PARAM_POINTER_RETURN("node", node, FALSE);
 
@@ -326,8 +326,7 @@
 
/* Compute the position in the table */
if (!hash->hash_func)
-   hash_val = (unsigned int)node->key %
-   ecore_prime_table[hash->size];
+   hash_val = (unsigned int)node->key % 
ecore_prime_table[hash->size];
else
hash_val = ECORE_COMPUTE_HASH(hash, node->key);
 
@@ -392,7 +391,7 @@
 
/* Compute the position in the table */
if (!hash->hash_func)
-   hash_val = (unsigned int)key % ecore_prime_table[hash->size];
+   hash_val = (unsigned int )key % ecore_prime_table[hash->size];
else
hash_val = ECORE_COMPUTE_HASH(hash, key);
 
@@ -453,7 +452,7 @@
 
/* Compute the position in the table */
if (!hash->hash_func)
-   hash_val = (unsigned int)key % ecore_prime_table[hash->size];
+   hash_val = (unsigned int )key % ecore_prime_table[hash->size];
else
hash_val = ECORE_COMPUTE_HASH(hash, key);
 




---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ecore raster

2005-10-15 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/ecore

Dir : e17/libs/ecore/src/lib/ecore_directfb


Added Files:
Ecore_DirectFB.h Makefile.am ecore_directfb.c 
ecore_directfb_keys.h ecore_directfb_private.h 


Log Message:


turran's dfb stuff! whee! :)





---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/e raster

2005-10-15 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/bin


Modified Files:
e_config.c e_config.h e_int_menus.c e_ipc_handlers.h 
e_ipc_handlers_list.h 


Log Message:


lable display options for eaps in menus from ilLogict - modified to be
simpler though

===
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_config.c,v
retrieving revision 1.116
retrieving revision 1.117
diff -u -3 -r1.116 -r1.117
--- e_config.c  13 Oct 2005 15:18:42 -  1.116
+++ e_config.c  15 Oct 2005 10:02:29 -  1.117
@@ -356,7 +356,10 @@
E_CONFIG_VAL(D, T, transient.desktop, INT); /**/
E_CONFIG_VAL(D, T, transient.iconify, INT); /**/
E_CONFIG_VAL(D, T, modal_windows, INT); /**/
-
+   E_CONFIG_VAL(D, T, menu_eap_name_show, INT); /**/
+   E_CONFIG_VAL(D, T, menu_eap_generic_show, INT); /**/
+   E_CONFIG_VAL(D, T, menu_eap_comment_show, INT); /**/
+   
e_config = e_config_domain_load("e", _e_config_edd);
if (e_config)
  {
@@ -481,6 +484,9 @@
e_config->transient.desktop = 1;
e_config->transient.iconify = 1;
e_config->modal_windows = 1;
+   e_config->menu_eap_name_show = 1;
+   e_config->menu_eap_generic_show = 1;
+   e_config->menu_eap_comment_show = 0;

  {
 E_Config_Module *em;
@@ -1435,6 +1441,9 @@
E_CONFIG_LIMIT(e_config->cursor_size, 0, 1024);
E_CONFIG_LIMIT(e_config->menu_autoscroll_margin, 0, 50);
E_CONFIG_LIMIT(e_config->menu_autoscroll_cursor_margin, 0, 50);
+   E_CONFIG_LIMIT(e_config->menu_eap_name_show, 0, 1);
+   E_CONFIG_LIMIT(e_config->menu_eap_generic_show, 0, 1);
+   E_CONFIG_LIMIT(e_config->menu_eap_comment_show, 0, 1);

/* apply lang config - exception because config is loaded after intl setup 
*/

===
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_config.h,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -3 -r1.59 -r1.60
--- e_config.h  9 Oct 2005 22:15:58 -   1.59
+++ e_config.h  15 Oct 2005 10:02:29 -  1.60
@@ -50,7 +50,7 @@
  * defaults for e to work - started at 100 when we introduced this config
  * versioning feature
  */
-#define E_CONFIG_FILE_VERSION 126
+#define E_CONFIG_FILE_VERSION 127
 
 #define E_EVAS_ENGINE_DEFAULT  0
 #define E_EVAS_ENGINE_SOFTWARE_X11 1
@@ -182,6 +182,9 @@
inticonify;
} transient;
int modal_windows;
+   int menu_eap_name_show;
+   int menu_eap_generic_show;
+   int menu_eap_comment_show;
 };
 
 struct _E_Config_Module
===
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_int_menus.c,v
retrieving revision 1.106
retrieving revision 1.107
diff -u -3 -r1.106 -r1.107
--- e_int_menus.c   13 Oct 2005 15:15:27 -  1.106
+++ e_int_menus.c   15 Oct 2005 10:02:29 -  1.107
@@ -426,8 +426,22 @@
 
  if (e_app_valid_exe_get(a) || (!a->exe))
   {
+ int opt = 0;
+ char label[4096];
+ 
  mi = e_menu_item_new(m);
- e_menu_item_label_set(mi, a->name);
+ if (e_config->menu_eap_name_show && a->name) opt |= 0x4;
+ if (e_config->menu_eap_generic_show && a->generic) opt |= 0x2;
+ if (e_config->menu_eap_comment_show && a->comment) opt |= 0x1;
+ if  (opt == 0x7) snprintf(label, sizeof(label), "%s (%s) 
[%s]", a->name, a->generic, a->comment);
+ else if (opt == 0x6) snprintf(label, sizeof(label), "%s 
(%s)", a->name, a->generic);
+ else if (opt == 0x5) snprintf(label, sizeof(label), "%s 
[%s]", a->name, a->comment);
+ else if (opt == 0x4) snprintf(label, sizeof(label), "%s", 
a->name);
+ else if (opt == 0x3) snprintf(label, sizeof(label), "%s 
[%s]", a->generic, a->comment);
+ else if (opt == 0x2) snprintf(label, sizeof(label), "%s", 
a->generic);
+ else if (opt == 0x1) snprintf(label, sizeof(label), "%s", 
a->comment);
+ else snprintf(label, sizeof(label), "%s", a->name);
+ e_menu_item_label_set(mi, label);
  if (a->exe)
{
   e_menu_item_icon_edje_set(mi, a->path, "icon");
===
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_ipc_handlers.h,v
retrieving revision 1.98
retrieving revision 1.99
diff -u -3 -r1.98 -r1.99
--- e_ipc_handlers.h15 Oct 2005 05:38:27 -  1.98
+++ e_ipc_handlers.h15 Oct 2005 10:02:29 -  1.99
@@ -6650,3 +6650,125 @@
 #endif
 #undef HDL
 
+
+//
+#define HDL E_IPC_OP_MENU_EA

E CVS: libs/ecore raster

2005-10-15 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/ecore

Dir : e17/libs/ecore/src/lib/ecore_directfb




Log Message:
Directory /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_directfb added to 
the repository





---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl lordchaos

2005-10-15 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : lordchaos
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/lib


Modified Files:
ewl_iconbox.c ewl_iconbox.h ewl_widget.c 


Log Message:
* Caught an unchecked NULL in ewl_widget
* More iconbox cleanup


===
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_iconbox.c,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -3 -r1.31 -r1.32
--- ewl_iconbox.c   15 Oct 2005 09:24:14 -  1.31
+++ ewl_iconbox.c   15 Oct 2005 09:39:39 -  1.32
@@ -57,14 +57,6 @@
 
 }
 
-
-
-
-
-
-
-
-
 void ewl_iconbox_inner_pane_calculate(Ewl_IconBox* ib)
 {
 
@@ -387,6 +379,9 @@
 
/*Hide the entry, now that we have an enter */
ewl_widget_hide(ib->entry_floater);
+
+   /*Show the label again*/
+   ewl_widget_show(EWL_ICONBOX_ICON(ib->edit_icon)->w_label);
}
 }
 
@@ -507,6 +502,7 @@

ewl_floater_position_set(EWL_FLOATER(ib->icon_box_parent->entry_floater), 
x,y+ih);

ewl_widget_layer_set(EWL_WIDGET(ib->icon_box_parent->entry_floater), 1000);
ewl_widget_focus_send(EWL_WIDGET(ib->icon_box_parent->entry));
+   ewl_widget_hide(ib->w_label);
 
/* Record which icon's label we are editing */
ib->icon_box_parent->edit_icon = ib;
@@ -549,7 +545,6 @@
 
 void ewl_iconbox_deselect_all(Ewl_IconBox* ib)
 {
-   return;

Ewl_IconBox_Icon* list_item;
ecore_list_goto_first(ib->ewl_iconbox_icon_list);
@@ -565,24 +560,7 @@
/*printf("Removing icon: %s", ewl_border_text_get(EWL_BORDER(icon)));*/
 }
 
-void ewl_iconbox_icon_destroy_cb(Ewl_Widget *w, void *ev_data __UNUSED__,
-   void *user_data __UNUSED__)
-{
-   
-   Ewl_IconBox_Icon* icon = EWL_ICONBOX_ICON(w);
-   
-   DENTER_FUNCTION(DLEVEL_STABLE);
-   if (icon->label) {
-   free(icon->label);
-   }
-   if (icon->label_compressed) {
-   free(icon->label_compressed);
-   }
 
-   ewl_widget_destroy(EWL_ICONBOX_ICON(w)->floater);
-   
-   DLEAVE_FUNCTION(DLEVEL_STABLE);
-}
 
 
 Ewl_IconBox_Icon* ewl_iconbox_icon_add(Ewl_IconBox* iconbox, char* name, char* 
icon_file)
@@ -661,14 +639,6 @@

ewl_image_file_set(EWL_IMAGE(icon->image), filename, NULL);
 
-   /*Make sure we're not too small now */
-   /*Shouldn't the floater auto-resize?*/
-   
-   /*ewl_object_current_size_get(EWL_OBJECT(icon->image), &iw,&ih);
-   ewl_object_current_size_get(EWL_OBJECT(icon->w_label), &lw, &lh); 
-   ewl_object_minimum_size_set(EWL_OBJECT(icon->floater), iw, ih+lh);*/
-
-   /*Call the configure callback for the iconbox - it doesn't seem to do 
this by itself*/
 }
 
 void ewl_iconbox_clear(Ewl_IconBox* ib)
@@ -710,6 +680,25 @@
ewl_iconbox_clear(ib);
 }
 
+void ewl_iconbox_icon_destroy_cb(Ewl_Widget *w, void *ev_data __UNUSED__,
+   void *user_data __UNUSED__)
+{
+   
+   Ewl_IconBox_Icon* icon = EWL_ICONBOX_ICON(w);
+   
+   DENTER_FUNCTION(DLEVEL_STABLE);
+   if (icon->label) {
+   free(icon->label);
+   }
+   if (icon->label_compressed) {
+   free(icon->label_compressed);
+   }
+
+   ewl_widget_destroy(EWL_ICONBOX_ICON(w)->floater);
+   
+   DLEAVE_FUNCTION(DLEVEL_STABLE);
+}
+
 /* --- */
 void ewl_iconbox_arrange_cb(Ewl_Widget *w, void *ev_data, void *user_data)
 {
@@ -862,8 +851,6 @@
ewl_widget_hide(ib->ewl_iconbox_context_menu);
ewl_widget_hide(ib->ewl_iconbox_view_menu);

-   
-   /*printf ("Start select at %d:%d\n", ev->x, ev->y);*/
ewl_object_custom_size_set(EWL_OBJECT(ib->select), 1, 1);

/* Put the floater at the position we started at */
===
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_iconbox.h,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- ewl_iconbox.h   15 Oct 2005 09:24:14 -  1.10
+++ ewl_iconbox.h   15 Oct 2005 09:39:39 -  1.11
@@ -126,6 +126,7 @@
 void ewl_iconbox_destroy_cb(Ewl_Widget *w, void *ev_data, void *user_data);
 void ewl_iconbox_icon_mouse_down(Ewl_Widget *w, void *ev_data, void 
*user_data);
 void ewl_iconbox_icon_label_mouse_down_cb(Ewl_Widget *w, void *ev_data, void 
*user_data);
+void ewl_iconbox_icon_destroy_cb(Ewl_Widget *w, void *ev_data ,void *user_data 
);
 
 
 /* Internal functions */
===
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_widget.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -3 -r1.23 -r1.24
--- ewl_widg

E CVS: libs/ewl lordchaos

2005-10-15 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : lordchaos
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/lib


Modified Files:
ewl_iconbox.c ewl_iconbox.h 


Log Message:
More code cleanups

===
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_iconbox.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -3 -r1.30 -r1.31
--- ewl_iconbox.c   15 Oct 2005 05:45:37 -  1.30
+++ ewl_iconbox.c   15 Oct 2005 09:24:14 -  1.31
@@ -9,6 +9,8 @@
 
 
 
+
+
 /*Ecore_List *ewl_iconbox_icon_list;*/
 
 /**
@@ -56,39 +58,9 @@
 }
 
 
-static void ewl_iconbox_mouse_move_cb(Ewl_Widget *w, void *ev_data, void 
*user_data);
-static void ewl_iconbox_pane_mouse_down_cb(Ewl_Widget *w, void *ev_data, void 
*user_data);
-
-/**
- * @param ib: The iconbox
- * @return Returns no value
- * @brief  Initialize the icon box
- */
-void configure(Ewl_Widget *w, void *ev_data, void *user_data)
-{
-   /*printf ("Got a configure\n");*/
-
-   Ewl_IconBox* ib = EWL_ICONBOX(w);
-   
-   
 
-   if (REALIZED(ib) && VISIBLE(ib)) { 
-   ewl_callback_del(EWL_WIDGET(ib), EWL_CALLBACK_CONFIGURE, 
configure);
-   ewl_iconbox_inner_pane_calculate(EWL_ICONBOX(w));
-   /*ewl_iconbox_icon_arrange(ib); */
-   ewl_callback_append(EWL_WIDGET(ib), EWL_CALLBACK_CONFIGURE, 
configure, NULL);
 
-   /*Handle the background, if any*/
-   if (ib->background) {
-   evas_object_clip_set(ib->background, 
EWL_WIDGET(ib)->fx_clip_box);
-   evas_object_move(ib->background, CURRENT_X(ib), 
CURRENT_Y(ib));
-   evas_object_layer_set(ib->background, -1000);
 
-   evas_object_image_fill_set(ib->background, 0,0, 
CURRENT_W(ib), CURRENT_H(ib));
-   evas_object_resize(ib->background, CURRENT_W(ib), 
CURRENT_H(ib));
-   }
-   }
-}
 
 
 
@@ -151,12 +123,7 @@

 }
 
-void ewl_iconbox_destroy_cb(Ewl_Widget *w, void *ev_data, void *user_data)
-{
-   Ewl_IconBox* ib = EWL_ICONBOX(w);
 
-   ewl_iconbox_clear(ib);
-}
 
 int ewl_iconbox_init(Ewl_IconBox* ib)
 {
@@ -311,7 +278,7 @@
ewl_callback_append(ib->ewl_iconbox_pane_inner, 
EWL_CALLBACK_MOUSE_MOVE, ewl_iconbox_mouse_move_cb, ib);
ewl_callback_append(ib->ewl_iconbox_pane_inner, 
EWL_CALLBACK_MOUSE_DOWN, ewl_iconbox_pane_mouse_down_cb, ib);
ewl_callback_append(ib->ewl_iconbox_pane_inner, EWL_CALLBACK_MOUSE_UP, 
ewl_iconbox_mouse_up, ib);
-   ewl_callback_append(EWL_WIDGET(ib), EWL_CALLBACK_CONFIGURE, configure, 
NULL);
+   ewl_callback_append(EWL_WIDGET(ib), EWL_CALLBACK_CONFIGURE, 
ewl_iconbox_configure_cb, NULL);
ewl_callback_append(EWL_WIDGET(ib), EWL_CALLBACK_DESTROY, 
ewl_iconbox_destroy_cb, NULL);
 
 
@@ -346,19 +313,6 @@
 }
 
 
-/* --- */
-void ewl_iconbox_arrange_cb(Ewl_Widget *w, void *ev_data, void *user_data)
-{
-   Ewl_IconBox* ib = EWL_ICONBOX(user_data);
-   ewl_iconbox_icon_arrange(ib);
-}
-
-void ewl_iconbox_expansion_cb(Ewl_Widget *w, void *ev_data, void *user_data)
-{
-   Ewl_IconBox* ib = EWL_ICONBOX(user_data);
-
-   ewl_object_custom_size_set(EWL_OBJECT(ib->ewl_iconbox_pane_inner), 
680,700);
-}
 
 void ewl_iconbox_icon_label_setup(Ewl_IconBox_Icon* icon, char* text)
 {
@@ -518,208 +472,6 @@
 
 
 
-void ewl_iconbox_mouse_move_cb(Ewl_Widget *w, void *ev_data, void *user_data)
-{
-   Ewl_IconBox* ib = EWL_ICONBOX(user_data);
-   Ewl_Event_Mouse_Move *ev = ev_data;
-   Ewl_IconBox_Icon* list_item = ib->drag_icon;
-   int ibx, iby;
-   int px,py;
-
-   ibx = ewl_object_current_x_get(EWL_OBJECT(ib));
-   iby = ewl_object_current_y_get(EWL_OBJECT(ib));
-
-   px = ewl_object_current_x_get(EWL_OBJECT(ib->ewl_iconbox_pane_inner));
-   py = ewl_object_current_y_get(EWL_OBJECT(ib->ewl_iconbox_pane_inner));  
-
-   /*Handle selection box*/
-   if (ib->drag_box) {
-   
-   
-   
-   if (ib->dx == -1) {
-   /*  Assume this is the drag start point */
-   ib->dx =  
ewl_object_current_x_get(EWL_OBJECT(ib->select_floater));
-   ib->dy = 
ewl_object_current_y_get(EWL_OBJECT(ib->select_floater));
-   }
-
-   int lx,ly,hx,hy;
-
-   /*Work out where to start/end..*/
-   if (ib->dx < ev->x) {
-   lx = ib->dx; hx = ev->x;
-   } else {
-   lx = ev->x; hx = ib->dx; 
-   }
-   
-   if (ib->dy < ev->y) {
-   ly = ib->dy ; hy = ev->y;
-   } else {
-   ly = ev->y; hy = ib->dy;
-   }
-
-   
-   
ewl_floater_position_set(EWL_FLOATER(ib->select_floater), (lx - ibx) + 
abs(p

E CVS: libs/ecore raster

2005-10-15 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/ecore

Dir : e17/libs/ecore/src/lib/ecore_evas


Modified Files:
ecore_evas_x.c 


Log Message:


more patrick mautirz patches

===
RCS file: 
/cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_evas/ecore_evas_x.c,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -3 -r1.62 -r1.63
--- ecore_evas_x.c  13 Oct 2005 14:06:20 -  1.62
+++ ecore_evas_x.c  15 Oct 2005 08:51:52 -  1.63
@@ -1705,7 +1705,10 @@
  {
ecore_x_netwm_startup_id_set(ee->engine.x.win_container,
 getenv("DESKTOP_STARTUP_ID"));
-   putenv("DESKTOP_STARTUP_ID");
+   /* NB: on linux this may simply empty the env as opposed to completely
+* unset it to being empty - unsure as solartis libc crashes looking 
+* for the '=' char */
+   putenv("DESKTOP_STARTUP_ID=");
  }
einfo = (Evas_Engine_Info_Software_X11 *)evas_engine_info_get(ee->evas);
if (einfo)
@@ -1919,7 +1922,10 @@
  {
ecore_x_netwm_startup_id_set(ee->engine.x.win_container,
 getenv("DESKTOP_STARTUP_ID"));
-   putenv("DESKTOP_STARTUP_ID");
+   /* NB: on linux this may simply empty the env as opposed to completely
+* unset it to being empty - unsure as solartis libc crashes looking 
+* for the '=' char */
+   putenv("DESKTOP_STARTUP_ID=");
  }
einfo = (Evas_Engine_Info_GL_X11 *)evas_engine_info_get(ee->evas);
if (einfo)
@@ -2131,7 +2137,10 @@
  {
ecore_x_netwm_startup_id_set(ee->engine.x.win_container,
 getenv("DESKTOP_STARTUP_ID"));
-   putenv("DESKTOP_STARTUP_ID");
+   /* NB: on linux this may simply empty the env as opposed to completely
+* unset it to being empty - unsure as solartis libc crashes looking 
+* for the '=' char */
+   putenv("DESKTOP_STARTUP_ID=");
  }
einfo = (Evas_Engine_Info_XRender_X11 *)evas_engine_info_get(ee->evas);
if (einfo)




---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ecore raster

2005-10-15 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/ecore

Dir : e17/libs/ecore/src/lib/ecore_x


Modified Files:
ecore_x_window_shape.c 


Log Message:


more patrick mautirz patches

===
RCS file: 
/cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_x/ecore_x_window_shape.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- ecore_x_window_shape.c  23 Apr 2005 05:06:18 -  1.6
+++ ecore_x_window_shape.c  15 Oct 2005 08:51:52 -  1.7
@@ -1,6 +1,7 @@
 #include "Ecore.h"
 #include "ecore_x_private.h"
 #include "Ecore_X.h"
+#include 
 
 /**
  * @defgroup Ecore_X_Window_Shape X Window Shape Functions




---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/embryo raster

2005-10-15 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/embryo

Dir : e17/libs/embryo/src/bin


Modified Files:
embryo_main.c 


Log Message:


include fix

===
RCS file: /cvsroot/enlightenment/e17/libs/embryo/src/bin/embryo_main.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- embryo_main.c   25 Nov 2004 05:16:56 -  1.10
+++ embryo_main.c   15 Oct 2005 08:48:43 -  1.11
@@ -10,6 +10,7 @@
 #include 
 #include 
 #include 
+#include 
 
 /* debugging native calls */
 static int process_format_char(Embryo_Program *ep, char ch, Embryo_Cell param);




---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/e raster

2005-10-15 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/bin


Modified Files:
e.h 


Log Message:


include fix

===
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e.h,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -3 -r1.31 -r1.32
--- e.h 26 Sep 2005 16:14:31 -  1.31
+++ e.h 15 Oct 2005 08:48:39 -  1.32
@@ -16,6 +16,7 @@
 #include 
 #include 
 #include 
+#include 
 
 #include 
 #include 




---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/e raster

2005-10-15 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/bin


Modified Files:
e_remember.c 


Log Message:


make rememebr a bit more paranoid

===
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_remember.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- e_remember.c5 Sep 2005 15:24:07 -   1.8
+++ e_remember.c15 Oct 2005 08:46:36 -  1.9
@@ -65,14 +65,15 @@
 e_remember_unuse(E_Remember *rem)
 {
rem->used_count--;
-   if ((rem->used_count <= 0) && (rem->delete_me))
+   if ((rem->used_count == 0) && (rem->delete_me))
  _e_remember_free(rem);
 }
 
 void
 e_remember_del(E_Remember *rem)
 {
-   if (rem->used_count > 0)
+   if (rem->delete_me) return;
+   if (rem->used_count != 0)
  {
rem->delete_me = 1;
return;




---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs