E CVS: flame devilhorns

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : flame

Dir : e_modules/flame


Modified Files:
e_mod_config.c 


Log Message:
Update Config Dialogue for new E_Config_Dialog_Data
===
RCS file: /cvsroot/enlightenment/e_modules/flame/e_mod_config.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -3 -r1.13 -r1.14
--- e_mod_config.c  8 Jan 2006 10:29:28 -   1.13
+++ e_mod_config.c  15 Jan 2006 07:27:40 -  1.14
@@ -1,12 +1,11 @@
-#include "e.h"
+#include 
 #include "e_mod_main.h"
 #include "e_mod_config.h"
 #include "config.h"
 
-typedef struct _cfdata CFData;
 typedef struct _Cfg_File_Data Cfg_File_Data;
 
-struct _cfdata 
+struct _E_Config_Dialog_Data 
 {
int palette;
int r,g,b;
@@ -19,12 +18,12 @@
 };
 
 /* Protos */
-static void *_create_data(E_Config_Dialog *cfd);
-static void _free_data(E_Config_Dialog *cfd, CFData *cfdata);
-static Evas_Object *_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, 
CFData *cfdata);
-static int _basic_apply_data(E_Config_Dialog *cfd, CFData *cfdata);
-static Evas_Object *_advanced_create_widgets(E_Config_Dialog *cfd, Evas *evas, 
CFData *cfdata);
-static int _advanced_apply_data(E_Config_Dialog *cfd, CFData *cfdata);
+static void*_create_data(E_Config_Dialog *cfd);
+static void_free_data(E_Config_Dialog *cfd, E_Config_Dialog_Data 
*cfdata);
+static Evas_Object *_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, 
E_Config_Dialog_Data *cfdata);
+static int _basic_apply_data(E_Config_Dialog *cfd, 
E_Config_Dialog_Data *cfdata);
+static Evas_Object *_advanced_create_widgets(E_Config_Dialog *cfd, Evas *evas, 
E_Config_Dialog_Data *cfdata);
+static int _advanced_apply_data(E_Config_Dialog *cfd, 
E_Config_Dialog_Data *cfdata);
 
 void
 _config_flame_module(E_Container *con, Flame *fl) 
@@ -43,8 +42,16 @@
fl->config_dialog = cfd;
 }
 
+static void *
+_create_data(E_Config_Dialog *cfd) 
+{
+   E_Config_Dialog_Data *cfdata;
+   cfdata = E_NEW(E_Config_Dialog_Data, 1);
+   return cfdata;
+}
+
 static void 
-_fill_data(Flame *f, CFData *cfdata) 
+_fill_data(Flame *f, E_Config_Dialog_Data *cfdata) 
 {
cfdata->palette = f->conf->palette_type;
cfdata->r = f->conf->r;
@@ -52,20 +59,8 @@
cfdata->b = f->conf->b;
 }
 
-static void *
-_create_data(E_Config_Dialog *cfd) 
-{
-   CFData *cfdata;
-   Flame *f;
-   
-   f = cfd->data;
-   cfdata = E_NEW(CFData, 1);
-   //_fill_data(f, cfdata);
-   return cfdata;
-}
-
 static void
-_free_data(E_Config_Dialog *cfd, CFData *cfdata) 
+_free_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata) 
 {
Flame *f;

@@ -75,7 +70,7 @@
 }
 
 static Evas_Object *
-_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, CFData *cfdata) 
+_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data 
*cfdata) 
 {
Evas_Object *o, *of, *ob;
E_Radio_Group *rg;
@@ -104,7 +99,7 @@
 }
 
 static int
-_basic_apply_data(E_Config_Dialog *cfd, CFData *cfdata) 
+_basic_apply_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata) 
 {
Flame *f;

@@ -153,7 +148,7 @@
 }
 
 static Evas_Object *
-_advanced_create_widgets(E_Config_Dialog *cfd, Evas *evas, CFData *cfdata) 
+_advanced_create_widgets(E_Config_Dialog *cfd, Evas *evas, 
E_Config_Dialog_Data *cfdata) 
 {
Evas_Object *o, *of, *ob;
Flame *f;
@@ -184,7 +179,7 @@
 }
 
 static int
-_advanced_apply_data(E_Config_Dialog *cfd, CFData *cfdata) 
+_advanced_apply_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata) 
 {
Flame *f;





---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/e raster

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/bin


Modified Files:
e_int_config_background.c e_thumb.c e_winlist.c 


Log Message:


sharpies patch.

===
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_int_config_background.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -3 -r1.17 -r1.18
--- e_int_config_background.c   14 Jan 2006 16:05:35 -  1.17
+++ e_int_config_background.c   15 Jan 2006 07:11:02 -  1.18
@@ -101,7 +101,9 @@
e_bg_del(cfbg->container, cfbg->zone, cfbg->desk_x, cfbg->desk_y);
  }
if (e_config->desktop_default_background) 
evas_stringshare_del(e_config->desktop_default_background);
-   e_config->desktop_default_background = evas_stringshare_add(cfdata->file);
+   if (strlen(cfdata->file) == 0) e_config->desktop_default_background = NULL;
+   else
+ e_config->desktop_default_background = evas_stringshare_add(cfdata->file);
e_bg_update();
e_config_save_queue();
if (cfdata->current_file) free(cfdata->current_file);
@@ -115,9 +117,22 @@
E_Config_Dialog_Data *cfdata;

cfdata = data;
-   e_widget_image_object_set
- (cfdata->cfd->data,
-  e_thumb_evas_object_get(cfdata->file, cfdata->cfd->dia->win->evas, 200, 
160, 1));
+   if (strlen(cfdata->file) == 0)
+ {
+   Evas_Object *bg;
+   
+   bg = edje_object_add(cfdata->cfd->dia->win->evas);
+   e_theme_edje_object_set(bg, "base/theme/background", 
"desktop/background");
+   e_widget_image_object_set(cfdata->cfd->data, bg);
+ }
+   else
+ {
+   e_widget_image_object_set
+ (cfdata->cfd->data,
+  e_thumb_evas_object_get(cfdata->file,
+  cfdata->cfd->dia->win->evas,
+  160, 120, 1));
+ }
if (cfdata->current_file) 
  {
if (!strcmp(cfdata->file, cfdata->current_file)) 
@@ -181,7 +196,9 @@
e_bg_del(z->container->num, -1, -1, -1);
e_bg_del(z->container->num, z->num, -1, -1);
if (e_config->desktop_default_background) 
evas_stringshare_del(e_config->desktop_default_background);
-   e_config->desktop_default_background = 
evas_stringshare_add(cfdata->file);
+   if (strlen(cfdata->file) == 0) e_config->desktop_default_background = 
NULL;
+   else
+ e_config->desktop_default_background = 
evas_stringshare_add(cfdata->file);
e_bg_update();
e_config_save_queue();
break;
@@ -190,7 +207,8 @@
e_bg_del(-1, z->num, x, y);
e_bg_del(z->container->num, -1, x, y);
e_bg_del(z->container->num, z->num, x, y);
-   e_bg_add(z->container->num, z->num, x, y, cfdata->file);
+   if (strlen(cfdata->file) != 0)
+ e_bg_add(z->container->num, z->num, x, y, cfdata->file);
e_bg_update();
 e_config_save_queue();
break;
@@ -202,7 +220,8 @@
 cfbg = e_config->desktop_backgrounds->data;
 e_bg_del(cfbg->container, cfbg->zone, cfbg->desk_x, cfbg->desk_y);
  }
-   e_bg_add(-1, -1, -1, -1, cfdata->file);
+   if (strlen(cfdata->file) != 0)
+ e_bg_add(-1, -1, -1, -1, cfdata->file);
e_bg_update();
 e_config_save_queue();
break;
@@ -269,6 +288,7 @@
char *homedir;
E_Zone *z;
int iw, ih, pw, ph;
+   Evas_Object *oi;

homedir = e_user_homedir_get();
if (homedir)
@@ -292,6 +312,14 @@
ph = 120;
pw = ((double)z->w * ph) / (double)z->h;
  }
+
+   oi = evas_object_rectangle_add(evas);
+   evas_object_color_set(oi, 0, 0, 0, 0);
+   e_widget_ilist_append(il, oi, _("Theme Background"),
+_e_config_bg_cb_standard, cfd->cfdata, "");
+   
+   if ((!e_config->desktop_default_background))
+ e_widget_ilist_selected_set(il, 0);

if (ecore_file_is_dir(buf))
  {
@@ -302,7 +330,8 @@
  {
 char *bgfile;
 char fullbg[PATH_MAX];
-int i = 0;
+Evas_Object *o, *otmp;
+int i = 1;
 
 while ((bgfile = ecore_list_next(bgs)))
   {
@@ -326,7 +355,7 @@
bg = edje_object_add(evas);
edje_object_file_set(bg, 
e_config->desktop_default_background, "desktop/background");
im = e_widget_image_add_from_object(evas, bg, pw, 
ph);
-   e_widget_image_object_set(im, 
e_thumb_evas_object_get(fullbg, evas, 200, 160, 1));
+   e_widget_image_object_set(im, 
e_thumb_evas_object_get(fullbg, evas, 160, 120, 1));
 }
   free(noext);
   i++;
@@ -339,8 +368,6 @@
 
if (im == NULL)
  {
-   /* FIXME: this is broken as the edje extends outside at the start
-* for some reason */
bg = edje_object_add(evas);
   

E CVS: libs/evas raster

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/evas

Dir : e17/libs/evas/src/lib/engines/common


Modified Files:
evas_image_main.c 


Log Message:


bad buf strlen--

===
RCS file: 
/cvsroot/enlightenment/e17/libs/evas/src/lib/engines/common/evas_image_main.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -3 -r1.27 -r1.28
--- evas_image_main.c   15 Jan 2006 07:01:15 -  1.27
+++ evas_image_main.c   15 Jan 2006 07:07:28 -  1.28
@@ -377,7 +377,8 @@
l2 = 0;
if (im->info.key) l2 = strlen(im->info.key);
 //   snprintf(buf, sizeof(buf), "%llx", im->timestamp);
-   l3 = strlen(buf);
+//   l3 = strlen(buf);
+   l3 = 0;
key = alloca(l1 + 5 + l2 + 5 + l3 +1);
key[0] = 0;
 //   if (im->info.real_file) strcpy(key, im->info.real_file);
@@ -411,7 +412,8 @@
l2 = 0;
if (key) l2 = strlen(key);
 //   snprintf(buf, sizeof(buf), "%llx", timestamp);
-   l3 = strlen(buf);
+//   l3 = strlen(buf);
+   l3 = 0;
str = alloca(l1 + 5 + l2 + 5 + l3 +1);
str[0] = 0;
if (real_filename) strcpy(str, real_filename);




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas raster

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/evas

Dir : e17/libs/evas/src/lib/engines/common


Modified Files:
evas_image_main.c 


Log Message:


most oops - dont strlen that buf!

===
RCS file: 
/cvsroot/enlightenment/e17/libs/evas/src/lib/engines/common/evas_image_main.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -3 -r1.26 -r1.27
--- evas_image_main.c   15 Jan 2006 06:21:04 -  1.26
+++ evas_image_main.c   15 Jan 2006 07:01:15 -  1.27
@@ -346,7 +346,8 @@
l2 = 0;
if (im->info.key) l2 = strlen(im->info.key);
 //   snprintf(buf, sizeof(buf), "%llx", im->timestamp);
-   l3 = strlen(buf);
+//   l3 = strlen(buf);
+   l3 = 0;
key = alloca(l1 + 5 + l2 + 5 + l3 +1);
key[0] = 0;
 //   if (im->info.real_file) strcpy(key, im->info.real_file);




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas raster

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/evas

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


Modified Files:
evas_engine.c 


Log Message:


removes some unused struct members (should remove more though) and fixes up
modular loaders

===
RCS file: 
/cvsroot/enlightenment/e17/libs/evas/src/modules/engines/software_xcb/evas_engine.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- evas_engine.c   14 Jan 2006 12:13:38 -  1.1
+++ evas_engine.c   15 Jan 2006 06:21:05 -  1.2
@@ -1027,7 +1027,7 @@
 
re = (Render_Engine *)data;
im = image;
-   if (im->info.format == 1) return "png";
+//   if (im->info.format == 1) return "png";
return NULL;
 }
 




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas raster

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/evas

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


Modified Files:
evas_engine.c 


Log Message:


removes some unused struct members (should remove more though) and fixes up
modular loaders

===
RCS file: 
/cvsroot/enlightenment/e17/libs/evas/src/modules/engines/software_x11/evas_engine.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- evas_engine.c   14 Jan 2006 12:13:37 -  1.1
+++ evas_engine.c   15 Jan 2006 06:21:05 -  1.2
@@ -1003,7 +1003,7 @@
 
re = (Render_Engine *)data;
im = image;
-   if (im->info.format == 1) return "png";
+//   if (im->info.format == 1) return "png";
return NULL;
 }
 




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas raster

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/evas

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


Modified Files:
evas_engine_dfb_image_objects.c 


Log Message:


removes some unused struct members (should remove more though) and fixes up
modular loaders

===
RCS file: 
/cvsroot/enlightenment/e17/libs/evas/src/modules/engines/directfb/evas_engine_dfb_image_objects.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- evas_engine_dfb_image_objects.c 14 Jan 2006 12:13:37 -  1.1
+++ evas_engine_dfb_image_objects.c 15 Jan 2006 06:21:04 -  1.2
@@ -519,8 +519,7 @@
 
re = (Render_Engine *) data;
im = image;
-   if (im->info.format == 1)
-  return "png";
+//   if (im->info.format == 1) return "png";
return NULL;
 }
 




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas raster

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/evas

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


Modified Files:
evas_engine.c 


Log Message:


removes some unused struct members (should remove more though) and fixes up
modular loaders

===
RCS file: 
/cvsroot/enlightenment/e17/libs/evas/src/modules/engines/buffer/evas_engine.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- evas_engine.c   14 Jan 2006 12:13:37 -  1.1
+++ evas_engine.c   15 Jan 2006 06:21:04 -  1.2
@@ -1020,7 +1020,7 @@
 
re = (Render_Engine *)data;
im = image;
-   if (im->info.format == 1) return "png";
+//   if (im->info.format == 1) return "png";
return NULL;
 }
 




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas raster

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/evas

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


Modified Files:
evas_engine.c 


Log Message:


removes some unused struct members (should remove more though) and fixes up
modular loaders

===
RCS file: 
/cvsroot/enlightenment/e17/libs/evas/src/modules/engines/gl_x11/evas_engine.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- evas_engine.c   14 Jan 2006 12:13:37 -  1.1
+++ evas_engine.c   15 Jan 2006 06:21:05 -  1.2
@@ -940,7 +940,7 @@
 
re = (Render_Engine *)data;
im = image;
-   if (im->im->info.format == 1) return "png";
+//   if (im->im->info.format == 1) return "png";
return NULL;
 }
 




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas raster

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/evas

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


Modified Files:
evas_engine.c 


Log Message:


removes some unused struct members (should remove more though) and fixes up
modular loaders

===
RCS file: 
/cvsroot/enlightenment/e17/libs/evas/src/modules/engines/software_qtopia/evas_engine.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- evas_engine.c   14 Jan 2006 12:13:37 -  1.1
+++ evas_engine.c   15 Jan 2006 06:21:05 -  1.2
@@ -952,7 +952,7 @@
 
re = (Render_Engine *)data;
im = image;
-   if (im->info.format == 1) return "png";
+//   if (im->info.format == 1) return "png";
return NULL;
 }
 




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas raster

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/evas

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


Modified Files:
evas_engine.c 


Log Message:


removes some unused struct members (should remove more though) and fixes up
modular loaders

===
RCS file: 
/cvsroot/enlightenment/e17/libs/evas/src/modules/engines/fb/evas_engine.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- evas_engine.c   14 Jan 2006 12:13:37 -  1.1
+++ evas_engine.c   15 Jan 2006 06:21:04 -  1.2
@@ -931,7 +931,7 @@
 
re = (Render_Engine *)data;
im = image;
-   if (im->info.format == 1) return "png";
+//   if (im->info.format == 1) return "png";
return NULL;
 }
 




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas raster

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/evas

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


Modified Files:
evas_common.h evas_private.h 


Log Message:


removes some unused struct members (should remove more though) and fixes up
modular loaders

===
RCS file: /cvsroot/enlightenment/e17/libs/evas/src/lib/include/evas_common.h,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -3 -r1.52 -r1.53
--- evas_common.h   14 Jan 2006 12:13:36 -  1.52
+++ evas_common.h   15 Jan 2006 06:21:04 -  1.53
@@ -236,14 +236,15 @@
RGBA_Image_Flags flags;
struct
  {
-   int format;
+   void   *loader;
+// int format;
char   *file;
char   *real_file;
char   *key;
char   *comment;
  } info;
int  references;
-   DATA64   timestamp;
+//   DATA64   timestamp;
void*extended_info;
 };
 
===
RCS file: /cvsroot/enlightenment/e17/libs/evas/src/lib/include/evas_private.h,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -3 -r1.60 -r1.61
--- evas_private.h  14 Jan 2006 20:03:42 -  1.60
+++ evas_private.h  15 Jan 2006 06:21:04 -  1.61
@@ -7,6 +7,69 @@
 
 #include "Evas.h"
 
+/* the evas module api */
+/***/
+/* the module api version */
+#define EVAS_MODULE_API_VERSION 1
+
+/* the module types */
+typedef enum _Evas_Module_Type
+{
+   EVAS_MODULE_TYPE_ENGINE,
+   EVAS_MODULE_TYPE_IMAGE_LOADER,
+ EVAS_MODULE_TYPE_OBJECT
+} Evas_Module_Type;
+
+/* the module api structure, all modules should define this struct */
+typedef struct _Evas_Module_Api Evas_Module_Api;
+struct _Evas_Module_Api
+{
+   int version;
+   Evas_Module_Typetype;
+   const char  *name;
+   const char  *author;
+};
+
+/* the module structure */
+typedef struct _Evas_Module Evas_Module;
+struct _Evas_Module
+{
+   Evas_Module_Api *api;   
+   void*handle;/* the dlopen handle */
+   char*path;  /* the path where this modules 
is */
+   char*name;  /* the name of the dir where 
this module is */
+   Evas_Module_Typetype;   /* the type detected by the path */
+   struct
+ {
+   int (*open)(Evas_Module *);
+   void (*close)(Evas_Module *);
+ } func;
+   unsigned char   loaded : 1; 
+   
+   void*functions; /* this are the functions exported by 
the module */
+   void*data;  /* some internal data for the module 
i.e the id for engines */
+};
+
+
+/* the internals of the module api use this struct to reference a path with a 
module type
+ * instead of deduce the type from the path. 
+ * */
+typedef struct _Evas_Module_Path Evas_Module_Path;
+struct _Evas_Module_Path
+{
+   Evas_Module_Typetype;
+   const char  *path;
+};
+
+typedef struct _Evas_Module_Engine Evas_Module_Engine;
+struct _Evas_Module_Engine
+{
+   int id;
+};
+
+/* end of evas module api */
+/**/
+
 /* complain when peole pass in wrong object types etc. */
 #define MAGIC_DEBUG
 




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas raster

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/evas

Dir : e17/libs/evas/src/lib/engines/common


Modified Files:
evas_image_load.c evas_image_main.c 


Log Message:


removes some unused struct members (should remove more though) and fixes up
modular loaders

===
RCS file: 
/cvsroot/enlightenment/e17/libs/evas/src/lib/engines/common/evas_image_load.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -3 -r1.27 -r1.28
--- evas_image_load.c   15 Jan 2006 05:04:31 -  1.27
+++ evas_image_load.c   15 Jan 2006 06:21:04 -  1.28
@@ -3,18 +3,16 @@
 
 extern Evas_List *evas_modules;
 
-static Evas_Image_Load_Func *evas_image_load_func = NULL;
-
 RGBA_Image *
 evas_common_load_image_from_file(const char *file, const char *key)
 {
+   Evas_Image_Load_Func *evas_image_load_func = NULL;
Evas_List *l;
RGBA_Image *im;
char *p;
char *loader = NULL;
 
-   if (file == NULL)
-return NULL;
+   if (file == NULL) return NULL;
 
im = evas_common_image_find(file, key, 0);
if (im)
@@ -23,10 +21,7 @@
return im;
  }
im = evas_common_image_new();
-   if (!im)
- {
-   return NULL;
- }
+   if (!im) return NULL;
 
p = strrchr(file, '.');
if (p)
@@ -81,7 +76,8 @@
evas_common_image_free(im);
return NULL;
ok:
-   
+
+   im->info.loader = (void *)evas_image_load_func;
im->info.file = (char *)evas_stringshare_add(file);
if (key) im->info.key = (char *)evas_stringshare_add(key);
evas_common_image_ref(im);
@@ -91,8 +87,11 @@
 void
 evas_common_load_image_data_from_file(RGBA_Image *im)
 {
+   Evas_Image_Load_Func *evas_image_load_func = NULL;
+   
if (im->image->data) return;
 
+   evas_image_load_func = im->info.loader;
if (!evas_image_load_func->file_data(im, im->info.file, im->info.key))
  {
evas_common_image_surface_alloc(im->image);
===
RCS file: 
/cvsroot/enlightenment/e17/libs/evas/src/lib/engines/common/evas_image_main.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -3 -r1.25 -r1.26
--- evas_image_main.c   3 Dec 2005 09:27:52 -   1.25
+++ evas_image_main.c   15 Jan 2006 06:21:04 -  1.26
@@ -235,7 +235,7 @@
if (im->info.file) evas_stringshare_del(im->info.file);
 //   if (im->info.real_file) evas_stringshare_del(im->info.real_file);
if (im->info.key) evas_stringshare_del(im->info.key);
-   if (im->info.comment) evas_stringshare_del(im->info.comment);
+//   if (im->info.comment) evas_stringshare_del(im->info.comment);
free(im);
 }
 
@@ -345,7 +345,7 @@
  if (im->info.file) l1 = strlen(im->info.file);
l2 = 0;
if (im->info.key) l2 = strlen(im->info.key);
-   snprintf(buf, sizeof(buf), "%llx", im->timestamp);
+//   snprintf(buf, sizeof(buf), "%llx", im->timestamp);
l3 = strlen(buf);
key = alloca(l1 + 5 + l2 + 5 + l3 +1);
key[0] = 0;
@@ -375,7 +375,7 @@
  if (im->info.file) l1 = strlen(im->info.file);
l2 = 0;
if (im->info.key) l2 = strlen(im->info.key);
-   snprintf(buf, sizeof(buf), "%llx", im->timestamp);
+//   snprintf(buf, sizeof(buf), "%llx", im->timestamp);
l3 = strlen(buf);
key = alloca(l1 + 5 + l2 + 5 + l3 +1);
key[0] = 0;
@@ -409,7 +409,7 @@
else if (filename) l1 = strlen(filename);
l2 = 0;
if (key) l2 = strlen(key);
-   snprintf(buf, sizeof(buf), "%llx", timestamp);
+//   snprintf(buf, sizeof(buf), "%llx", timestamp);
l3 = strlen(buf);
str = alloca(l1 + 5 + l2 + 5 + l3 +1);
str[0] = 0;
@@ -454,9 +454,9 @@
  ok++;
if ((!key) && (!im->info.key))
  ok++;
-   if (im->timestamp == timestamp)
- ok++;
-   if (ok >= 3)
+// if (im->timestamp == timestamp)
+//   ok++;
+   if (ok >= 2)
  {
 //  if (real_filename) free(real_filename);
 return im;
@@ -475,7 +475,7 @@
if (im->info.file) ram += strlen(im->info.file);
 //   if (im->info.real_file) ram += strlen(im->info.real_file);
if (im->info.key) ram += strlen(im->info.key);
-   if (im->info.comment) ram += strlen(im->info.comment);
+//   if (im->info.comment) ram += strlen(im->info.comment);
if ((im->image) && (im->image->data) && (!im->image->no_free))
  ram += im->image->w * im->image->h * sizeof(DATA32);
return ram;




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas raster

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/evas

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


Modified Files:
evas_engine_image.c 


Log Message:


removes some unused struct members (should remove more though) and fixes up
modular loaders

===
RCS file: 
/cvsroot/enlightenment/e17/libs/evas/src/modules/engines/xrender_x11/evas_engine_image.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- evas_engine_image.c 14 Jan 2006 12:13:38 -  1.1
+++ evas_engine_image.c 15 Jan 2006 06:21:05 -  1.2
@@ -99,7 +99,7 @@
im->h = im->im->image->h;
im->references = 1;
if (im->im->info.comment) im->comment = 
evas_stringshare_add(im->im->info.comment);
-   if (im->im->info.format == 1) im->format = evas_stringshare_add("png");
+//   if (im->im->info.format == 1) im->format = evas_stringshare_add("png");
if (im->im->flags & RGBA_IMAGE_HAS_ALPHA) im->alpha = 1;
_xr_image_hash = evas_hash_direct_add(_xr_image_hash, im->fkey, im);
return im;




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas raster

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/evas

Dir : e17/libs/evas/src/lib


Modified Files:
Evas.h 


Log Message:


removes some unused struct members (should remove more though) and fixes up
modular loaders

===
RCS file: /cvsroot/enlightenment/e17/libs/evas/src/lib/Evas.h,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -3 -r1.79 -r1.80
--- Evas.h  14 Jan 2006 19:58:55 -  1.79
+++ Evas.h  15 Jan 2006 06:21:03 -  1.80
@@ -27,75 +27,6 @@
  * @brief These routines are used for Evas library interaction.
  */
 
-/* the evas module api */
-/***/
-/* the module api version */
-#define EVAS_MODULE_API_VERSION 1
-
-/* the module types */
-typedef enum _Evas_Module_Type
-{
-   EVAS_MODULE_TYPE_ENGINE,
-   EVAS_MODULE_TYPE_IMAGE_LOADER,
- EVAS_MODULE_TYPE_OBJECT
-} Evas_Module_Type;
-
-/* the module api structure, all modules should define this struct */
-typedef struct _Evas_Module_Api Evas_Module_Api;
-struct _Evas_Module_Api
-{
-   int version;
-   Evas_Module_Typetype;
-   const char  *name;
-   const char  *author;
-};
-
-/* the module structure */
-typedef struct _Evas_Module Evas_Module;
-struct _Evas_Module
-{
-   Evas_Module_Api *api;   
-   void*handle;/* the dlopen handle */
-   char*path;  /* the path where this modules 
is */
-   char*name;  /* the name of the dir where 
this module is */
-   Evas_Module_Typetype;   /* the type detected by the path */
-   struct
- {
-   int (*open)(Evas_Module *);
-   void (*close)(Evas_Module *);
- } func;
-   unsigned char   loaded : 1; 
-   
-   void*functions; /* this are the functions exported by 
the module */
-   void*data;  /* some internal data for the module 
i.e the id for engines */
-};
-
-
-/* the internals of the module api use this struct to reference a path with a 
module type
- * instead of deduce the type from the path. 
- * */
-typedef struct _Evas_Module_Path Evas_Module_Path;
-struct _Evas_Module_Path
-{
-   Evas_Module_Typetype;
-   const char  *path;
-};
-
-typedef struct _Evas_Module_Engine Evas_Module_Engine;
-struct _Evas_Module_Engine
-{
-   int id;
-};
-
-typedef struct _Evas_Module_Image_Loader Evas_Module_Image_Loader;
-struct _Evas_Module_Image_Loader
-{
-   int id;
-};
-
-/* end of evas module api */
-/**/
-
 typedef enum _Evas_Callback_Type
 {
EVAS_CALLBACK_MOUSE_IN, /**< Mouse In Event */




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl lordchaos

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : lordchaos
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/lib


Modified Files:
ewl_misc.c 


Log Message:
* The recent evas change meant that we *need* to evas_init now.

===
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_misc.c,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -3 -r1.38 -r1.39
--- ewl_misc.c  12 Jan 2006 18:21:18 -  1.38
+++ ewl_misc.c  15 Jan 2006 05:43:41 -  1.39
@@ -120,6 +120,11 @@
 
ewl_init_parse_options(argc, argv);
 
+   if (!evas_init()) {
+   DERROR("Could not init evas\n");
+   DRETURN_INT(--_ewl_init_count, DLEVEL_STABLE);
+   }
+
if (!ecore_init()) {
DERROR("Could not init ecore\n");
DRETURN_INT(--_ewl_init_count, DLEVEL_STABLE);
@@ -138,6 +143,8 @@
DRETURN_INT(--_ewl_init_count, DLEVEL_STABLE);
}
 
+
+
reveal_list = ecore_list_new();
obscure_list = ecore_list_new();
configure_list = ecore_list_new();
@@ -314,6 +321,7 @@
child_add_list = NULL;
 
edje_shutdown();
+   evas_shutdown();
 
 #ifdef ENABLE_EWL_SOFTWARE_X11
if (use_engine & EWL_ENGINE_X11) 
@@ -710,11 +718,11 @@
}
 
ewl_object_queued_add(EWL_OBJECT(w),
-   EWL_FLAG_QUEUED_CPROCESS);
+   EWL_FLAG_QUEUED_CPROCESS);
if (REALIZED(w) && VISIBLE(w) && !OBSCURED(w))
ewl_callback_call(w, EWL_CALLBACK_CONFIGURE);
ewl_object_queued_remove(EWL_OBJECT(w),
-EWL_FLAG_QUEUED_CPROCESS);
+   EWL_FLAG_QUEUED_CPROCESS);
}
}
 




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas raster

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/evas

Dir : e17/libs/evas/src/lib/engines/common


Modified Files:
evas_image_load.c 


Log Message:


ok - now support a first try guess based on extension - if that fails, or the
extension is unknown to match a format, try all image loader modules until
one succeeds - if all of these fail, give up.

===
RCS file: 
/cvsroot/enlightenment/e17/libs/evas/src/lib/engines/common/evas_image_load.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -3 -r1.26 -r1.27
--- evas_image_load.c   15 Jan 2006 04:49:46 -  1.26
+++ evas_image_load.c   15 Jan 2006 05:04:31 -  1.27
@@ -5,8 +5,6 @@
 
 static Evas_Image_Load_Func *evas_image_load_func = NULL;
 
-static int evas_common_load_image_lookup(const char *name);
-
 RGBA_Image *
 evas_common_load_image_from_file(const char *file, const char *key)
 {
@@ -34,59 +32,57 @@
if (p)
  {
 p++;
-
-#ifdef BUILD_LOADER_PNG
 if (!strcasecmp(p, "png"))
loader = "png";
-#endif
-#ifdef BUILD_LOADER_JPEG
-if ((!strcasecmp(p, "jpg")) ||
-(!strcasecmp(p, "jpeg")) ||
+if ((!strcasecmp(p, "jpg")) || (!strcasecmp(p, "jpeg")) ||
 (!strcasecmp(p, "jfif")))
loader = "jpeg";
-#endif
-#ifdef BUILD_LOADER_EET
-if ((!strcasecmp(p, "eet")) ||
-(!strcasecmp(p, "edj")) ||
+if ((!strcasecmp(p, "eet")) || (!strcasecmp(p, "edj")) ||
 (!strcasecmp(p, "eap")))
loader = "eet";
-#endif
-#ifdef BUILD_LOADER_EDB
 if (!strcasecmp(p, "edb"))
loader = "edb";
-#endif
  }
-   /* FIXME: - if no oloader can be guessed - we have to start hunting for
-* one that might work
-*/
-   if (!loader)
-  return NULL;
+   if (loader)
+ {
+Evas_Module *em;
+   
+   em = evas_module_find_type(EVAS_MODULE_TYPE_IMAGE_LOADER, loader);
+   if (em)
+ {
+if (evas_module_load(em))
+  {
+ evas_image_load_func = em->functions;
+ if (evas_image_load_func->file_head(im, file, key))
+   goto ok;
+  }
+ }
+ }
 
for (l = evas_modules; l; l = l->next)
  {
 Evas_Module *em;
-   Evas_Module_Image_Loader *emil;
 
em = l->data;
if (em->type != EVAS_MODULE_TYPE_IMAGE_LOADER) continue;
-   if (!em->data) continue;
-   emil = (Evas_Module_Image_Loader *)em->data;
-   if (emil->id != evas_common_load_image_lookup(loader)) continue;
-   if (!evas_module_load(em)) return NULL;
+   if (!evas_module_load(em)) continue;
 evas_image_load_func = em->functions;
-goto beach;
+   if (evas_image_load_func->file_head(im, file, key))
+ {
+if (evas_modules != l)
+  {
+ evas_modules = evas_list_remove_list(evas_modules, l);
+ evas_modules = evas_list_prepend(evas_modules, em);
+  }
+goto ok;
+ }
  }
+   
+   evas_common_image_free(im);
return NULL;
-
- beach:
-   if (!evas_image_load_func->file_head(im, file, key))
- {
-evas_common_image_free(im);
-return NULL;
- }
+   ok:

im->info.file = (char *)evas_stringshare_add(file);
-
if (key) im->info.key = (char *)evas_stringshare_add(key);
evas_common_image_ref(im);
return im;
@@ -111,27 +107,3 @@
  }
  }
 }
-
-static int
-evas_common_load_image_lookup(const char *name)
-{
-   static int i = 1;
-   Evas_Module *em;
-   Evas_Module_Image_Loader *emil;
-   
-   if (!name) return RENDER_METHOD_INVALID;
-   /* search on the engines list for the name */
-   em = evas_module_find_type(EVAS_MODULE_TYPE_IMAGE_LOADER, name);
-   
-   if(!em) return RENDER_METHOD_INVALID;
-   
-   emil = (Evas_Module_Image_Loader *)em->data;
-   if(!emil)
- {
-   emil = (Evas_Module_Image_Loader 
*)malloc(sizeof(Evas_Module_Image_Loader));
-   em->data = emil;
-   emil->id = i;
-   i++;
- }
-   return emil->id;
-}




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas raster

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/evas

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


Modified Files:
evas_module.c 


Log Message:


ok - now support a first try guess based on extension - if that fails, or the
extension is unknown to match a format, try all image loader modules until
one succeeds - if all of these fail, give up.

===
RCS file: /cvsroot/enlightenment/e17/libs/evas/src/lib/file/evas_module.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- evas_module.c   14 Jan 2006 23:36:52 -  1.7
+++ evas_module.c   15 Jan 2006 05:04:32 -  1.8
@@ -172,15 +172,6 @@
}
   else if (em->type == EVAS_MODULE_TYPE_IMAGE_LOADER)
{
-  Evas_Module_Image_Loader *emil;
-  
-  emil = malloc(sizeof(Evas_Module_Image_Loader));
-  if (emil)
-{
-   emil->id = new_id_loader;
-   em->data = emil;
-   new_id_loader++;
-}
}
  /* printf("[evas module] including module path %s/%s of type 
%d\n",em->path, em->name, em->type); */
  evas_modules = evas_list_append(evas_modules, em);
@@ -201,7 +192,14 @@

em = (Evas_Module*)l->data;
if ((type == em->type) && (!strcmp(name,em->name)))
- return em;
+ {
+ if (evas_modules != l)
+  {
+ evas_modules = evas_list_remove_list(evas_modules, l);
+ evas_modules = evas_list_prepend(evas_modules, em);
+  }
+return em;
+ }
  }
return NULL;
 }
@@ -281,7 +279,13 @@
evas_module_unload(em);
if (em->name) free(em->name);
if (em->path) free(em->path);
-   if (em->data) free(em->data);
+   if (em->type == EVAS_MODULE_TYPE_ENGINE)
+ {
+if (em->data) free(em->data);
+ }
+   else if (em->type == EVAS_MODULE_TYPE_IMAGE_LOADER)
+ {
+ }
free(evas_modules->data);
evas_modules = evas_list_remove_list(evas_modules, evas_modules);
  }




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas raster

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/evas

Dir : e17/libs/evas/src/lib/engines/common


Modified Files:
evas_image_load.c 


Log Message:


temporary fix.

===
RCS file: 
/cvsroot/enlightenment/e17/libs/evas/src/lib/engines/common/evas_image_load.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -3 -r1.25 -r1.26
--- evas_image_load.c   14 Jan 2006 19:58:55 -  1.25
+++ evas_image_load.c   15 Jan 2006 04:49:46 -  1.26
@@ -46,7 +46,9 @@
loader = "jpeg";
 #endif
 #ifdef BUILD_LOADER_EET
-if (!strcasecmp(p, "eet"))
+if ((!strcasecmp(p, "eet")) ||
+(!strcasecmp(p, "edj")) ||
+(!strcasecmp(p, "eap")))
loader = "eet";
 #endif
 #ifdef BUILD_LOADER_EDB
@@ -54,7 +56,9 @@
loader = "edb";
 #endif
  }
-
+   /* FIXME: - if no oloader can be guessed - we have to start hunting for
+* one that might work
+*/
if (!loader)
   return NULL;
 




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas doursse

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : libs/evas

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


Modified Files:
evas_module.c 


Log Message:
don't load the same module several times
===
RCS file: /cvsroot/enlightenment/e17/libs/evas/src/lib/file/evas_module.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- evas_module.c   14 Jan 2006 19:58:55 -  1.6
+++ evas_module.c   14 Jan 2006 23:36:52 -  1.7
@@ -157,6 +157,7 @@
  em->type = mp->type;
  em->handle = NULL;
  em->data = NULL;
+  em->loaded = 0;
  if (em->type == EVAS_MODULE_TYPE_ENGINE)
{
   Evas_Module_Engine *eme;
@@ -211,6 +212,8 @@
char buf[4096];
void *handle;

+   if (em->loaded) return 1;
+
snprintf(buf, sizeof(buf), "%s/%s/%s/module.so", 
em->path, em->name, MODULE_ARCH);
if (!evas_file_path_exists(buf))




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/eclair vapier

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : vapier
Project : e17
Module  : apps/eclair

Dir : e17/apps/eclair/src


Modified Files:
Makefile.am 


Log Message:
vexocide says: fix typo (-lphtread != -lpthread)
===
RCS file: /cvsroot/enlightenment/e17/apps/eclair/src/Makefile.am,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -3 -r1.14 -r1.15
--- Makefile.am 14 Jan 2006 16:13:51 -  1.14
+++ Makefile.am 14 Jan 2006 21:45:43 -  1.15
@@ -46,4 +46,4 @@
 @taglib_libs@ -ltag_c \
 @XML2_LIBS@ \
 @SQLITE_LIBS@ \
--lphtread
+-lpthread




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/e codewarrior

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : codewarrior
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/bin


Modified Files:
e_apps.c e_apps.h e_eap_editor.c e_fileman_file.c 
e_fileman_file.h e_fileman_icon.c e_fileman_smart.c 


Log Message:
- patch from mista (Efm)
- allow eap image w/h to be changable.


===
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_apps.c,v
retrieving revision 1.112
retrieving revision 1.113
diff -u -3 -r1.112 -r1.113
--- e_apps.c13 Jan 2006 06:38:43 -  1.112
+++ e_apps.c14 Jan 2006 21:05:43 -  1.113
@@ -72,6 +72,9 @@
 static char*_e_apps_path_trash = NULL;
 static Evas_List   *_e_apps_start_pending = NULL;
 
+#define EAP_MIN_WIDTH 8
+#define EAP_MIN_HEIGHT 8
+
 #define EAP_EDC_TMPL \
 "images {\n"  \
 "   image: \"%s\" COMP;\n" \
@@ -234,6 +237,8 @@
 
 /* no image for now */
 a->image = NULL;
+a->width = 0;
+a->height = 0;
 /* record the path */
 a->path = evas_stringshare_add(path);
 
@@ -289,6 +294,13 @@
return a;  
 }
 
+EAPI void
+e_app_image_size_set(E_App *a, int w, int h)
+{
+   a->width = w;
+   a->height = h;
+}
+
 EAPI int
 e_app_is_parent(E_App *parent, E_App *app)
 {
@@ -1022,10 +1034,6 @@
eet_close(ef);
 }
 
-/* 
- * We also need to fix startup-notify and wait-exit as they currently
- * dont save too.
- */
 EAPI void
 e_app_fields_save(E_App *a)
 {
@@ -1119,16 +1127,20 @@
iw = 0; ih = 0;
evas_object_image_size_get(im, &iw, &ih);
alpha = evas_object_image_alpha_get(im);
+   if(a->width <= EAP_MIN_WIDTH)
+ a->width = EAP_MIN_WIDTH;
+   if(a->height <= EAP_MIN_HEIGHT)
+ a->height = EAP_MIN_HEIGHT;   
if ((iw > 0) && (ih > 0))
  {
 /* we need to change the sizes */
-ecore_evas_resize(buf, 48, 48);
-evas_object_image_fill_set(im, 0, 0, 48, 48);
-evas_object_resize(im, 48, 48);
+ecore_evas_resize(buf, a->width, a->height);
+evas_object_image_fill_set(im, 0, 0, a->width, a->height);
+evas_object_resize(im, a->height, a->width);
 evas_object_move(im, 0, 0);
 evas_object_show(im);   
 data = ecore_evas_buffer_pixels_get(buf);
-eet_data_image_write(ef, "images/0", (void *)data, 48, 48, alpha, 
1, 0, 0);
+eet_data_image_write(ef, "images/0", (void *)data, a->width, 
a->height, alpha, 1, 0, 0);
  }
  }
 
@@ -1320,7 +1332,13 @@
else ipart[0] = '\0';

if (a->image)
- fprintf(out, EAP_EDC_TMPL, a->image, "48", "48", a->image);
+ {
+   if(a->width <= 0)
+ a->width = EAP_MIN_WIDTH;
+   if(a->height <= 0)
+ a->height = EAP_MIN_HEIGHT;
+   fprintf(out, EAP_EDC_TMPL, a->image, a->width, a->height, a->image);
+ }
else
  fprintf(out, EAP_EDC_TMPL_EMPTY);
fclose(out);
===
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_apps.h,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -3 -r1.26 -r1.27
--- e_apps.h15 Dec 2005 07:12:00 -  1.26
+++ e_apps.h14 Jan 2006 21:05:43 -  1.27
@@ -63,6 +63,8 @@
unsigned char   deleted : 1; /* this app's file is deleted from disk */

char   *image; /* used when we're saving a image into the eap */
+   int width; /* used for saving eap's image width in edje */
+   int height; /* used for saving eap's image height in edje */
 };
 
 struct _E_App_Instance
@@ -79,6 +81,7 @@
 
 EAPI E_App  *e_app_new   (const char *path, 
int scan_subdirs);
 EAPI E_App  *e_app_empty_new (const char *path);
+EAPI voide_app_image_size_set(E_App *a, int w, int 
h);
 EAPI int e_app_is_parent (E_App *parent, E_App 
*app);
 EAPI int e_app_equals(E_App *app1, E_App 
*app2);
 EAPI voide_app_subdir_scan   (E_App *a, int 
scan_subdirs);
===
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_eap_editor.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -3 -r1.20 -r1.21
--- e_eap_editor.c  7 Jan 2006 10:39:45 -   1.20
+++ e_eap_editor.c  14 Jan 2006 21:05:43 -  1.21
@@ -161,6 +161,10 @@
eap->startup_notify = cfdata->startup_notify;
eap->wait_exit = cfdata->wait_exit;

+   /* FIXME: hardcoded until the eap editor provides fields to change it */
+   eap->width = 128;
+   eap->height = 128;   
+   
e_app_fields_save(eap);

return 1;
@@ -213,6 +217,10 @@
if (cfdata->wrole) eap->win_role = evas_stringshare_add(cfdata

E CVS: libs/evas doursse

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : libs/evas

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


Modified Files:
Makefile.am 


Log Message:
fix includes
===
RCS file: 
/cvsroot/enlightenment/e17/libs/evas/src/modules/engines/cairo_x11/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- Makefile.am 14 Jan 2006 20:25:48 -  1.2
+++ Makefile.am 14 Jan 2006 20:28:37 -  1.3
@@ -6,8 +6,9 @@
 MAINTAINERCLEANFILES = Makefile.in
 
 INCLUDES= -I. \
-  -I$(top_srcdir)/src/modules/engines \
+  -I$(top_srcdir)/src/lib \
   -I$(top_srcdir)/src/lib/include \
+  -I$(top_srcdir)/src/modules/engines \
   @FREETYPE_CFLAGS@ @x_cflags@ @CAIRO_CFLAGS@
 
 if BUILD_ENGINE_CAIRO_X11




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas doursse

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : libs/evas

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


Modified Files:
Makefile.am 


Log Message:
fix includes
===
RCS file: 
/cvsroot/enlightenment/e17/libs/evas/src/modules/engines/gl_x11/Makefile.am,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- Makefile.am 14 Jan 2006 12:13:37 -  1.1
+++ Makefile.am 14 Jan 2006 20:25:48 -  1.2
@@ -8,6 +8,7 @@
 INCLUDES= -I. \
   -I$(top_srcdir)/src/lib \
   -I$(top_srcdir)/src/lib/include \
+  -I$(top_srcdir)/src/modules/engines \
   @FREETYPE_CFLAGS@ @x_cflags@ @gl_cflags@
 
 if BUILD_ENGINE_GL_X11




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas doursse

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : libs/evas

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


Modified Files:
Makefile.am 


Log Message:
fix includes
===
RCS file: 
/cvsroot/enlightenment/e17/libs/evas/src/modules/engines/directfb/Makefile.am,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- Makefile.am 14 Jan 2006 12:13:37 -  1.1
+++ Makefile.am 14 Jan 2006 20:25:48 -  1.2
@@ -8,6 +8,7 @@
 INCLUDES= -I. \
   -I$(top_srcdir)/src/lib \
   -I$(top_srcdir)/src/lib/include \
+  -I$(top_srcdir)/src/modules/engines \
   @FREETYPE_CFLAGS@ @DIRECTFB_CFLAGS@
 
 if BUILD_ENGINE_DIRECTFB




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas doursse

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : libs/evas

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


Modified Files:
Makefile.am 


Log Message:
fix includes
===
RCS file: 
/cvsroot/enlightenment/e17/libs/evas/src/modules/engines/cairo_x11/Makefile.am,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- Makefile.am 14 Jan 2006 12:13:37 -  1.1
+++ Makefile.am 14 Jan 2006 20:25:48 -  1.2
@@ -6,7 +6,7 @@
 MAINTAINERCLEANFILES = Makefile.in
 
 INCLUDES= -I. \
-  -I$(top_srcdir)/src/lib \
+  -I$(top_srcdir)/src/modules/engines \
   -I$(top_srcdir)/src/lib/include \
   @FREETYPE_CFLAGS@ @x_cflags@ @CAIRO_CFLAGS@
 




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas doursse

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : libs/evas

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


Modified Files:
Makefile.am 


Log Message:
fix includes
===
RCS file: 
/cvsroot/enlightenment/e17/libs/evas/src/modules/engines/software_x11/Makefile.am,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- Makefile.am 14 Jan 2006 12:13:37 -  1.1
+++ Makefile.am 14 Jan 2006 20:25:48 -  1.2
@@ -8,8 +8,9 @@
 INCLUDES= -I. \
   -I$(top_srcdir)/src/lib \
   -I$(top_srcdir)/src/lib/include \
+  -I$(top_srcdir)/src/modules/engines \
   @FREETYPE_CFLAGS@ @x_cflags@
-  
+
 if BUILD_ENGINE_SOFTWARE_X11
 
 pkgdir   = 
$(libdir)/evas/modules/engines/software_x11/$(MODULE_ARCH)
@@ -27,7 +28,7 @@
 module_la_LIBADD   = @x_libs@
 module_la_LDFLAGS  = -module -avoid-version \
-L$(top_builddir)/src/lib 
-L$(top_builddir)/src/lib/.libs
-  
+
 module_la_DEPENDENCIES = \
 $(top_builddir)/config.h
 




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas doursse

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : libs/evas

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


Modified Files:
Makefile.am 


Log Message:
fix includes
===
RCS file: 
/cvsroot/enlightenment/e17/libs/evas/src/modules/engines/fb/Makefile.am,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- Makefile.am 14 Jan 2006 12:13:37 -  1.1
+++ Makefile.am 14 Jan 2006 20:25:48 -  1.2
@@ -8,8 +8,8 @@
 INCLUDES= -I. \
   -I$(top_srcdir)/src/lib \
   -I$(top_srcdir)/src/lib/include \
+  -I$(top_srcdir)/src/modules/engines \
   @FREETYPE_CFLAGS@
-  
 
 if BUILD_ENGINE_FB
 
@@ -28,7 +28,6 @@
 
 module_la_LDFLAGS  = -module -avoid-version \
   -L$(top_builddir)/src/lib 
-L$(top_builddir)/src/lib/.libs
-   
 
 endif
 




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas doursse

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : libs/evas

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


Modified Files:
Makefile.am 


Log Message:
fix includes
===
RCS file: 
/cvsroot/enlightenment/e17/libs/evas/src/modules/engines/software_qtopia/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- Makefile.am 14 Jan 2006 13:42:35 -  1.2
+++ Makefile.am 14 Jan 2006 20:25:48 -  1.3
@@ -8,6 +8,7 @@
 INCLUDES= -I. \
   -I$(top_srcdir)/src/lib \
   -I$(top_srcdir)/src/lib/include \
+  -I$(top_srcdir)/src/modules/engines \
   @FREETYPE_CFLAGS@ @qt_cflags@
 
 CXXFLAGS = $(CFLAGS) -DQT_QWS_EBX -DQT_QWS_CUSTOM -DQWS -DNO_DEBUG 




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas doursse

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : libs/evas

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


Modified Files:
Makefile.am 


Log Message:
fix includes
===
RCS file: 
/cvsroot/enlightenment/e17/libs/evas/src/modules/engines/buffer/Makefile.am,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- Makefile.am 14 Jan 2006 12:13:37 -  1.1
+++ Makefile.am 14 Jan 2006 20:25:48 -  1.2
@@ -8,6 +8,7 @@
 INCLUDES= -I. \
   -I$(top_srcdir)/src/lib \
   -I$(top_srcdir)/src/lib/include \
+  -I$(top_srcdir)/src/modules/engines \
   @FREETYPE_CFLAGS@
 
 if BUILD_ENGINE_BUFFER
@@ -25,7 +26,6 @@
 
 module_la_DEPENDENCIES = \
 $(top_builddir)/config.h
-   
 
 endif
 




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas doursse

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : libs/evas

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


Modified Files:
Makefile.am 


Log Message:
fix includes
===
RCS file: 
/cvsroot/enlightenment/e17/libs/evas/src/modules/engines/software_xcb/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- Makefile.am 14 Jan 2006 12:48:47 -  1.2
+++ Makefile.am 14 Jan 2006 20:25:48 -  1.3
@@ -8,6 +8,7 @@
 INCLUDES= -I. \
   -I$(top_srcdir)/src/lib \
   -I$(top_srcdir)/src/lib/include \
+  -I$(top_srcdir)/src/modules/engines \
   @FREETYPE_CFLAGS@ @xcb_cflags@
 
 if BUILD_ENGINE_SOFTWARE_XCB




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas doursse

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : libs/evas

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


Modified Files:
Makefile.am 


Log Message:
fix includes
===
RCS file: 
/cvsroot/enlightenment/e17/libs/evas/src/modules/engines/xrender_x11/Makefile.am,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- Makefile.am 14 Jan 2006 12:13:38 -  1.1
+++ Makefile.am 14 Jan 2006 20:25:48 -  1.2
@@ -8,8 +8,9 @@
 INCLUDES= -I. \
   -I$(top_srcdir)/src/lib \
   -I$(top_srcdir)/src/lib/include \
+  -I$(top_srcdir)/src/modules/engines \
   @FREETYPE_CFLAGS@ @x_cflags@
-  
+
 if BUILD_ENGINE_XRENDER_X11
 
 pkgdir   = 
$(libdir)/evas/modules/engines/xrender_x11/$(MODULE_ARCH)




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas doursse

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : libs/evas

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


Modified Files:
evas_private.h 


Log Message:
loaders are now modules
===
RCS file: /cvsroot/enlightenment/e17/libs/evas/src/lib/include/evas_private.h,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -3 -r1.59 -r1.60
--- evas_private.h  14 Jan 2006 12:13:36 -  1.59
+++ evas_private.h  14 Jan 2006 20:03:42 -  1.60
@@ -19,6 +19,7 @@
 typedef struct _Evas_Data_Node  Evas_Data_Node;
 typedef struct _Evas_Func_Node  Evas_Func_Node;
 typedef struct _Evas_Func   Evas_Func;
+typedef struct _Evas_Image_Load_FuncEvas_Image_Load_Func;
 typedef struct _Evas_Object_FuncEvas_Object_Func;
 typedef struct _Evas_Intercept_Func Evas_Intercept_Func;
 typedef struct _Evas_Intercept_Func_Basic   Evas_Intercept_Func_Basic;
@@ -524,9 +525,17 @@
void (*font_cache_set)  (void *data, int bytes);
int  (*font_cache_get)  (void *data);
 
+/*void (*image_rotation_set)  (void *data, void *image); */
+
/* Engine functions will over time expand from here */
 };
 
+struct _Evas_Image_Load_Func
+{
+  int (*file_head) (RGBA_Image *im, const char *file, const char *key);
+  int (*file_data) (RGBA_Image *im, const char *file, const char *key);
+};
+
 #ifdef __cplusplus
 extern "C" {
 #endif




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas doursse

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : libs/evas

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


Modified Files:
evas_module.c 


Log Message:
loaders are now modules
===
RCS file: /cvsroot/enlightenment/e17/libs/evas/src/lib/file/evas_module.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- evas_module.c   14 Jan 2006 15:58:01 -  1.5
+++ evas_module.c   14 Jan 2006 19:58:55 -  1.6
@@ -10,8 +10,8 @@
 # endif
 #endif
 
-#include // DIR, dirent
-#include  // dlopen,dlclose,etc
+#include /* DIR, dirent */
+#include  /* dlopen,dlclose,etc */
 
 #include 
 #include 
@@ -110,6 +110,7 @@
/* do this on a separate function */
/* 1. engines */
_evas_module_path_append(EVAS_MODULE_TYPE_ENGINE, paths->data, 
"engines");
+   _evas_module_path_append(EVAS_MODULE_TYPE_IMAGE_LOADER, paths->data, 
"loaders");
_evas_module_path_append(EVAS_MODULE_TYPE_OBJECT, paths->data, 
"objects");
free(paths->data);
paths = evas_list_remove_list(paths, paths);
@@ -122,9 +123,10 @@
 evas_module_init(void)
 {
Evas_List *l;
-   int new_id = 1;
+   int new_id_engine = 1;
+   int new_id_loader = 1;

-//   printf("[init modules]\n");
+   /* printf("[init modules]\n"); */
evas_module_paths_init();
for (l = evas_module_paths; l; l = l->next)
  {
@@ -135,7 +137,7 @@
mp = l->data;

if (!(dir = opendir(mp->path))) break;
-// printf("[evas module] searching modules on %s\n", mp->path);
+   /* printf("[evas module] searching modules on %s\n", mp->path); */
while ((de = readdir(dir)))
  {
 char *buf;
@@ -162,12 +164,24 @@
   eme = malloc(sizeof(Evas_Module_Engine));
   if (eme)
 {
-   eme->id = new_id;
+   eme->id = new_id_engine;
em->data = eme;
-   new_id++;
+   new_id_engine++;
 }
}
-//   printf("[evas module] including module path %s/%s of type 
%d\n",em->path, em->name, em->type);
+  else if (em->type == EVAS_MODULE_TYPE_IMAGE_LOADER)
+   {
+  Evas_Module_Image_Loader *emil;
+  
+  emil = malloc(sizeof(Evas_Module_Image_Loader));
+  if (emil)
+{
+   emil->id = new_id_loader;
+   em->data = emil;
+   new_id_loader++;
+}
+   }
+ /* printf("[evas module] including module path %s/%s of type 
%d\n",em->path, em->name, em->type); */
  evas_modules = evas_list_append(evas_modules, em);
   }
 free(buf);




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas doursse

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : libs/evas

Dir : e17/libs/evas/src/lib


Modified Files:
Evas.h 


Log Message:
loaders are now modules
===
RCS file: /cvsroot/enlightenment/e17/libs/evas/src/lib/Evas.h,v
retrieving revision 1.78
retrieving revision 1.79
diff -u -3 -r1.78 -r1.79
--- Evas.h  14 Jan 2006 12:13:34 -  1.78
+++ Evas.h  14 Jan 2006 19:58:55 -  1.79
@@ -36,6 +36,7 @@
 typedef enum _Evas_Module_Type
 {
EVAS_MODULE_TYPE_ENGINE,
+   EVAS_MODULE_TYPE_IMAGE_LOADER,
  EVAS_MODULE_TYPE_OBJECT
 } Evas_Module_Type;
 
@@ -86,6 +87,12 @@
int id;
 };
 
+typedef struct _Evas_Module_Image_Loader Evas_Module_Image_Loader;
+struct _Evas_Module_Image_Loader
+{
+   int id;
+};
+
 /* end of evas module api */
 /**/
 




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas doursse

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : libs/evas

Dir : e17/libs/evas/src/lib/engines/common


Modified Files:
evas_image_load.c 


Log Message:
loaders are now modules
===
RCS file: 
/cvsroot/enlightenment/e17/libs/evas/src/lib/engines/common/evas_image_load.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -3 -r1.24 -r1.25
--- evas_image_load.c   30 Nov 2005 08:45:20 -  1.24
+++ evas_image_load.c   14 Jan 2006 19:58:55 -  1.25
@@ -1,833 +1,19 @@
-#include "config.h"
-#include "evas_options.h"
-
-#define SWAP32(x) (x) = x) & 0x00ff ) << 24) | (((x) & 0xff00 ) << 
8) | (((x) & 0x00ff ) >> 8) | (((x) & 0xff00 ) >> 24))
-
-#ifdef BUILD_LOADER_PNG
-#include 
-#include 
-#define PNG_BYTES_TO_CHECK 4
-#endif
-
-#ifdef BUILD_LOADER_JPEG
-#include 
-#include 
-#include 
-#endif
-
-#ifdef BUILD_LOADER_EET
-#include 
-#endif
-
-#ifdef BUILD_LOADER_EDB
-#include 
-#include 
-#endif
-
-#ifdef BUILD_LOADER_TEMPLATE
-#include 
-#endif
-
 #include "evas_common.h"
 #include "evas_private.h"
 
-#ifdef BUILD_LOADER_PNG
-static int load_image_file_head_png(RGBA_Image *im, const char *file, const 
char *key);
-static int
-load_image_file_head_png(RGBA_Image *im, const char *file, const char *key)
-{
-   png_uint_32 w32, h32;
-   FILE *f;
-   png_structp png_ptr = NULL;
-   png_infop info_ptr = NULL;
-   int bit_depth, color_type, interlace_type;
-   unsigned char buf[PNG_BYTES_TO_CHECK];
-   char hasa, hasg;
-
-   if ((!file)) return -1;
-   hasa = 0;
-   hasg = 0;
-   f = fopen(file, "rb");
-   if (!f) return -1;
-
-   /* if we havent read the header before, set the header data */
-   fread(buf, 1, PNG_BYTES_TO_CHECK, f);
-   if (!png_check_sig(buf, PNG_BYTES_TO_CHECK))
- {
-   fclose(f);
-   return -1;
- }
-   rewind(f);
-   png_ptr = png_create_read_struct(PNG_LIBPNG_VER_STRING, NULL, NULL, NULL);
-   if (!png_ptr)
- {
-   fclose(f);
-   return -1;
- }
-   info_ptr = png_create_info_struct(png_ptr);
-   if (!info_ptr)
- {
-   png_destroy_read_struct(&png_ptr, NULL, NULL);
-   fclose(f);
-   return -1;
- }
-   if (setjmp(png_ptr->jmpbuf))
- {
-   png_destroy_read_struct(&png_ptr, &info_ptr, NULL);
-   fclose(f);
-   return -1;
- }
-   png_init_io(png_ptr, f);
-   png_read_info(png_ptr, info_ptr);
-   png_get_IHDR(png_ptr, info_ptr, (png_uint_32 *) (&w32),
-   (png_uint_32 *) (&h32), &bit_depth, &color_type,
-   &interlace_type, NULL, NULL);
-   if (!im->image)
- im->image = evas_common_image_surface_new(im);
-   if (!im->image)
- {
-   png_destroy_read_struct(&png_ptr, &info_ptr, (png_infopp) NULL);
-   fclose(f);
-   return -1;
- }
-   im->image->w = (int) w32;
-   im->image->h = (int) h32;
-   if (color_type == PNG_COLOR_TYPE_PALETTE)
- {
-   png_set_expand(png_ptr);
-   if (png_get_valid(png_ptr, info_ptr, PNG_INFO_tRNS)) hasa = 1;
- }
-   if (info_ptr->color_type == PNG_COLOR_TYPE_RGB_ALPHA) hasa = 1;
-   if (info_ptr->color_type == PNG_COLOR_TYPE_GRAY_ALPHA)
- {
-   hasa = 1;
-   hasg = 1;
- }
-   if (info_ptr->color_type == PNG_COLOR_TYPE_GRAY) hasg = 1;
-   if (hasa) im->flags |= RGBA_IMAGE_HAS_ALPHA;
-   png_destroy_read_struct(&png_ptr, &info_ptr, (png_infopp) NULL);
-   fclose(f);
-   return 1;
-   key = 0;
-}
-
-static int load_image_file_data_png(RGBA_Image *im, const char *file, const 
char *key);
-static int
-load_image_file_data_png(RGBA_Image *im, const char *file, const char *key)
-{
-   png_uint_32 w32, h32;
-   int w, h;
-   FILE *f;
-   png_structp png_ptr = NULL;
-   png_infop info_ptr = NULL;
-   int bit_depth, color_type, interlace_type;
-   unsigned char buf[PNG_BYTES_TO_CHECK];
-   unsigned char **lines;
-   char hasa, hasg;
-   int i;
-
-   if ((!file)) return -1;
-   hasa = 0;
-   hasg = 0;
-   f = fopen(file, "rb");
-   if (!f) return -1;
-
-   /* if we havent read the header before, set the header data */
-   fread(buf, 1, PNG_BYTES_TO_CHECK, f);
-   if (!png_check_sig(buf, PNG_BYTES_TO_CHECK))
- {
-   fclose(f);
-   return -1;
- }
-   rewind(f);
-   png_ptr = png_create_read_struct(PNG_LIBPNG_VER_STRING, NULL, NULL, NULL);
-   if (!png_ptr)
- {
-   fclose(f);
-   return -1;
- }
-   info_ptr = png_create_info_struct(png_ptr);
-   if (!info_ptr)
- {
-   png_destroy_read_struct(&png_ptr, NULL, NULL);
-   fclose(f);
-   return -1;
- }
-   if (setjmp(png_ptr->jmpbuf))
- {
-   png_destroy_read_struct(&png_ptr, &info_ptr, NULL);
-   fclose(f);
-   return -1;
- }
-   png_init_io(png_ptr, f);
-   png_read_info(png_ptr, info_ptr);
-   png_get_IHDR(png_ptr, info_ptr, (png_uint_32 *) (&w32),
-   (png_uint_32 *) (&h32), &bit_depth, &color_type,
-   &interlace_type, NULL, NULL);
-   im->image->w = (int) w32;
- 

E CVS: libs/evas doursse

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : libs/evas

Dir : e17/libs/evas


Modified Files:
configure.in 


Log Message:
loaders are now modules
===
RCS file: /cvsroot/enlightenment/e17/libs/evas/configure.in,v
retrieving revision 1.139
retrieving revision 1.140
diff -u -3 -r1.139 -r1.140
--- configure.in14 Jan 2006 12:36:25 -  1.139
+++ configure.in14 Jan 2006 19:59:46 -  1.140
@@ -613,6 +613,8 @@
   png_libs="-lpng -lz -lm"
 fi
 
+AM_CONDITIONAL(BUILD_LOADER_PNG, test x$have_png = xyes)
+
 ###
 ## JPEG
 have_jpeg="no";
@@ -646,6 +648,8 @@
   jpeg_libs="-ljpeg"
 fi
 
+AM_CONDITIONAL(BUILD_LOADER_JPEG, test x$have_jpeg = xyes)
+
 ###
 ## EET
 AC_ARG_WITH(eet-config, [   --with-eet-config=EET_CONFIG  use eet-config 
specified ],
@@ -712,6 +716,8 @@
   AC_MSG_RESULT(no)
 fi
 
+AM_CONDITIONAL(BUILD_LOADER_EET, test x$have_eet = xyes)
+
 ###
 ## EDB
 AC_ARG_WITH(edb-config, [   --with-edb-config=EDB_CONFIG  use edb-config 
specified ],
@@ -760,6 +766,8 @@
   AC_MSG_RESULT(no)
 fi
 
+AM_CONDITIONAL(BUILD_LOADER_EDB, test x$have_edb = xyes)
+
 #
 ## Cpu based optimizations
 
@@ -1642,6 +1650,11 @@
 src/modules/engines/cairo_common/Makefile
 src/modules/engines/cairo_x11/Makefile
 src/modules/engines/xrender_x11/Makefile
+src/modules/loaders/Makefile
+src/modules/loaders/edb/Makefile
+src/modules/loaders/eet/Makefile
+src/modules/loaders/jpeg/Makefile
+src/modules/loaders/png/Makefile
 src/lib/include/Makefile
 proj/Makefile
 proj/win32_gdi/Makefile




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas doursse

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : libs/evas

Dir : e17/libs/evas/src/modules


Modified Files:
Makefile.am 


Log Message:
loaders are now modules
===
RCS file: /cvsroot/enlightenment/e17/libs/evas/src/modules/Makefile.am,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- Makefile.am 14 Jan 2006 12:13:36 -  1.1
+++ Makefile.am 14 Jan 2006 19:56:54 -  1.2
@@ -1,3 +1,3 @@
 MAINTAINERCLEANFILES = Makefile.in
 
-SUBDIRS = engines
+SUBDIRS = engines loaders




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas doursse

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : libs/evas

Dir : e17/libs/evas/src/modules/loaders/edb


Added Files:
Makefile.am evas_image_load_edb.c 


Log Message:
loaders are now modules




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas doursse

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : libs/evas

Dir : e17/libs/evas/src/modules/loaders/jpeg


Added Files:
Makefile.am evas_image_load_jpeg.c 


Log Message:
loaders are now modules




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas doursse

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : libs/evas

Dir : e17/libs/evas/src/modules/loaders/png


Added Files:
Makefile.am evas_image_load_png.c 


Log Message:
loaders are now modules




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas doursse

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : libs/evas

Dir : e17/libs/evas/src/modules/loaders


Added Files:
Makefile.am 


Log Message:
loaders are now modules




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas doursse

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : libs/evas

Dir : e17/libs/evas/src/modules/loaders/eet


Added Files:
Makefile.am evas_image_load_eet.c 


Log Message:
loaders are now modules




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas doursse

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : libs/evas

Dir : e17/libs/evas/src/modules/loaders/jpeg




Log Message:
Directory /cvsroot/enlightenment/e17/libs/evas/src/modules/loaders/jpeg added 
to the repository





---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas doursse

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : libs/evas

Dir : e17/libs/evas/src/modules/loaders/eet




Log Message:
Directory /cvsroot/enlightenment/e17/libs/evas/src/modules/loaders/eet added to 
the repository





---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas doursse

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : libs/evas

Dir : e17/libs/evas/src/modules/loaders




Log Message:
Directory /cvsroot/enlightenment/e17/libs/evas/src/modules/loaders added to the 
repository





---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas doursse

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : libs/evas

Dir : e17/libs/evas/src/modules/loaders/edb




Log Message:
Directory /cvsroot/enlightenment/e17/libs/evas/src/modules/loaders/edb added to 
the repository





---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas doursse

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : libs/evas

Dir : e17/libs/evas/src/modules/loaders/png




Log Message:
Directory /cvsroot/enlightenment/e17/libs/evas/src/modules/loaders/png added to 
the repository





---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas raster

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/evas

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


Modified Files:
Makefile.am 


Log Message:


oops - forgot about engine headers. moved headers. fixed. install again

===
RCS file: /cvsroot/enlightenment/e17/libs/evas/src/modules/engines/Makefile.am,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- Makefile.am 14 Jan 2006 12:13:36 -  1.1
+++ Makefile.am 14 Jan 2006 18:24:41 -  1.2
@@ -12,3 +12,122 @@
 software_x11 \
 software_xcb \
 xrender_x11
+
+# FIXME: these should go into engine subdirs so engines are much more fully
+# self-contained.
+
+EXTRA_DIST = \
+Evas_Engine_Software_X11.h \
+Evas_Engine_Software_Xcb.h \
+Evas_Engine_DirectFB.h \
+Evas_Engine_FB.h \
+Evas_Engine_Buffer.h \
+Evas_Engine_Software_Win32_GDI.h \
+Evas_Engine_Software_Qtopia.h \
+Evas_Engine_GL_X11.h \
+Evas_Engine_Cairo_X11.h \
+Evas_Engine_XRender_X11.h
+
+if BUILD_ENGINE_SOFTWARE_X11
+ENGINE_SOFTWARE_X11 = engines/software_x11/libevas_engine_software_x11.la
+ENGINE_SOFTWARE_X11_INC = Evas_Engine_Software_X11.h
+else
+ENGINE_SOFTWARE_X11 = 
+ENGINE_SOFTWARE_X11_INC = 
+endif
+
+if BUILD_ENGINE_SOFTWARE_XCB
+ENGINE_SOFTWARE_XCB = engines/software_xcb/libevas_engine_software_xcb.la
+ENGINE_SOFTWARE_XCB_INC = Evas_Engine_Software_Xcb.h
+else
+ENGINE_SOFTWARE_XCB = 
+ENGINE_SOFTWARE_XCB_INC = 
+endif
+
+if BUILD_ENGINE_DIRECTFB
+ENGINE_DIRECTFB = engines/directfb/libevas_engine_directfb.la
+ENGINE_DIRECTFB_INC = Evas_Engine_DirectFB.h
+else
+ENGINE_DIRECTFB = 
+ENGINE_DIRECTFB_INC = 
+endif
+
+if BUILD_ENGINE_FB
+ENGINE_FB = engines/fb/libevas_engine_fb.la
+ENGINE_FB_INC = Evas_Engine_FB.h
+else
+ENGINE_FB = 
+ENGINE_FB_INC = 
+endif
+
+if BUILD_ENGINE_BUFFER
+ENGINE_BUFFER = engines/buffer/libevas_engine_buffer.la
+ENGINE_BUFFER_INC = Evas_Engine_Buffer.h
+else
+ENGINE_BUFFER = 
+ENGINE_BUFFER_INC = 
+endif
+
+if BUILD_ENGINE_SOFTWARE_QTOPIA
+ENGINE_SOFTWARE_QTOPIA =
+engines/software_qtopia/libevas_engine_software_qtopia.la
+ENGINE_SOFTWARE_QTOPIA_INC = Evas_Engine_Software_Qtopia.h
+else
+ENGINE_SOFTWARE_QTOPIA =
+ENGINE_SOFTWARE_QTOPIA_INC = 
+endif
+
+if BUILD_ENGINE_GL_COMMON
+ENGINE_GL_COMMON = engines/gl_common/libevas_engine_gl_common.la
+ENGINE_GL_COMMON_INC =
+else
+ENGINE_GL_COMMON = 
+ENGINE_GL_COMMON_INC =
+endif
+
+if BUILD_ENGINE_GL_X11
+ENGINE_GL_X11 = engines/gl_x11/libevas_engine_gl_x11.la
+ENGINE_GL_X11_INC = Evas_Engine_GL_X11.h
+else
+ENGINE_GL_X11 =
+ENGINE_GL_X11_INC =
+endif
+   
+if BUILD_ENGINE_CAIRO_COMMON
+ENGINE_CAIRO_COMMON =
+engines/cairo_common/libevas_engine_cairo_common.la
+ENGINE_CAIRO_COMMON_INC =
+else
+ENGINE_CAIRO_COMMON =
+ENGINE_CAIRO_COMMON_INC =
+endif
+
+if BUILD_ENGINE_CAIRO_X11
+ENGINE_CAIRO_X11 = engines/cairo_x11/libevas_engine_cairo_x11.la
+ENGINE_CAIRO_X11_INC = Evas_Engine_Cairo_X11.h
+else
+ENGINE_CAIRO_X11 =
+ENGINE_CAIRO_X11_INC =
+endif
+
+if BUILD_ENGINE_XRENDER_X11
+ENGINE_XRENDER_X11 = engines/xrender_x11/libevas_engine_xrender_x11.la
+ENGINE_XRENDER_X11_INC = Evas_Engine_XRender_X11.h
+else
+ENGINE_XRENDER_X11 =
+ENGINE_XRENDER_X11_INC =
+endif
+
+
+include_HEADERS  = \
+$(ENGINE_SOFTWARE_X11_INC) \
+$(ENGINE_SOFTWARE_XCB_INC) \
+$(ENGINE_DIRECTFB_INC) \
+$(ENGINE_FB_INC) \
+$(ENGINE_BUFFER_INC) \
+$(ENGINE_SOFTWARE_QTOPIA_INC) \
+$(ENGINE_GL_COMMON_INC) \
+$(ENGINE_GL_X11_INC) \
+$(ENGINE_CAIRO_COMMON_INC) \
+$(ENGINE_CAIRO_X11_INC) \
+$(ENGINE_XRENDER_X11_INC)




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas raster

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/evas

Dir : e17/libs/evas/src/lib


Removed Files:
Evas_Engine_Buffer.h Evas_Engine_Cairo_X11.h 
Evas_Engine_DirectFB.h Evas_Engine_FB.h Evas_Engine_GL_X11.h 
Evas_Engine_Software_Qtopia.h Evas_Engine_Software_Win32_GDI.h 
Evas_Engine_Software_X11.h Evas_Engine_Software_Xcb.h 
Evas_Engine_XRender_X11.h 


Log Message:


oops - forgot about engine headers. moved headers. fixed. install again





---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: e kwo

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir : e16/e


Modified Files:
configure.in e.spec ChangeLog 


Log Message:
Sat Jan 14 17:26:16 CET 2006
(Kim)

--- 0.16.8 pre2 ---
Fix size indication when moving shaded window.
Fix potential segv when reloading menus.
Fix setting focusclick window attribute.
Set focusclick attribute on desktop type windows.
Make click-raises and click-to-focus independent options.
Make click-raises default.
Fix focusing focusclick windows in certain situations.
Fix button slideouts on desks other than first.
Fix desk button bindings when passed through by app.
Fix scaled backgrounds with overlay image and overlay images with alpha.
Run menu generation on startup only if menus subdir doesn't exist.
Simplify pseudotrans code, fix iconbox transparency.
Better parsing of Exec line in .desktop files (http://bugs.debian.org/345021).
Show root tooltips only after move.
Always set name on EObj's (debug).
Fix scaling of fixed aspect ratio backgrounds.
Fix bug with initially maximized/fullscreen windows.
Fix slow logout with gnome-session.
Fix timer event starvation by X events.
- Thanks to Mark Bowyer for help to sort this out.
Change timers to use absolute time.
Go back to using single unredirected root background window (speeds up
 composite considerably).
Composite manager - Window shape must be clipped by window size.
Combine some shadow parameters, change defaults.
Change default ARGB client mode to borderless.
Avoid setting shape to default (unshaped) on ShapeNotify when already set.
 This fixes an event looping problem on Xsun where doing so generates
 Shape (and Visibility) Notify events (Xsun bug?).
- Thanks again to Mark Bowyer for help to track this down.
Do full composite repaint on VT switch.
Fix pseudotransparent iconbox on desk with no background.


===
RCS file: /cvsroot/enlightenment/e16/e/configure.in,v
retrieving revision 1.133
retrieving revision 1.134
diff -u -3 -r1.133 -r1.134
--- configure.in7 Jan 2006 06:59:12 -   1.133
+++ configure.in14 Jan 2006 16:27:05 -  1.134
@@ -5,7 +5,7 @@
 ENLIGHTENMENT_MICRO=8
 
ENLIGHTENMENT_VERSION=$ENLIGHTENMENT_MAJOR.$ENLIGHTENMENT_MINOR.$ENLIGHTENMENT_MICRO
 
-AM_INIT_AUTOMAKE(e16, $ENLIGHTENMENT_VERSION-pre1)
+AM_INIT_AUTOMAKE(e16, $ENLIGHTENMENT_VERSION-pre2)
 AM_MAINTAINER_MODE
 
 dnl reasonable guesses for where stuff is installed
===
RCS file: /cvsroot/enlightenment/e16/e/e.spec,v
retrieving revision 1.205
retrieving revision 1.206
diff -u -3 -r1.205 -r1.206
--- e.spec  15 Dec 2005 23:06:18 -  1.205
+++ e.spec  14 Jan 2006 16:27:05 -  1.206
@@ -1,5 +1,5 @@
-%define revision 0.99.1
-%define rev_name -pre1
+%define revision 0.99.2
+%define rev_name -pre2
 
 Summary: The Enlightenment window manager.
 Name: e16
===
RCS file: /cvsroot/enlightenment/e16/e/ChangeLog,v
retrieving revision 1.195
retrieving revision 1.196
diff -u -3 -r1.195 -r1.196
--- ChangeLog   15 Dec 2005 23:06:18 -  1.195
+++ ChangeLog   14 Jan 2006 16:27:05 -  1.196
@@ -3679,3 +3679,43 @@
 Drop obsolete man page until somebody bothers to update it.
 Fix pointer focus on desk switch.
 
+
+---
+
+Sat Jan 14 17:26:16 CET 2006
+(Kim)
+
+--- 0.16.8 pre2 ---
+Fix size indication when moving shaded window.
+Fix potential segv when reloading menus.
+Fix setting focusclick window attribute.
+Set focusclick attribute on desktop type windows.
+Make click-raises and click-to-focus independent options.
+Make click-raises default.
+Fix focusing focusclick windows in certain situations.
+Fix button slideouts on desks other than first.
+Fix desk button bindings when passed through by app.
+Fix scaled backgrounds with overlay image and overlay images with alpha.
+Run menu generation on startup only if menus subdir doesn't exist.
+Simplify pseudotrans code, fix iconbox transparency.
+Better parsing of Exec line in .desktop files (http://bugs.debian.org/345021).
+Show root tooltips only after move.
+Always set name on EObj's (debug).
+Fix scaling of fixed aspect ratio backgrounds.
+Fix bug with initially maximized/fullscreen windows.
+Fix slow logout with gnome-session.
+Fix timer event starvation by X events.
+- Thanks to Mark Bowyer for help to sort this out.
+Change timers to use absolute time.
+Go back to using single unredirected root background window (speeds up
+ composite considerably).
+Composite manager - Window shape must be clipped by window size.
+Combine some shadow parameters, change defaults.
+Change default ARGB client mode to borderless.
+Avoid setting shape to default (unshaped) on ShapeNotify when already set.
+ This fixes an event looping problem on Xsun where doing so generates
+ Shape (an

E CVS: e kwo

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir : e16/e/src


Modified Files:
timestamp.h 


Log Message:
Sat Jan 14 17:26:16 CET 2006
(Kim)

--- 0.16.8 pre2 ---
Fix size indication when moving shaded window.
Fix potential segv when reloading menus.
Fix setting focusclick window attribute.
Set focusclick attribute on desktop type windows.
Make click-raises and click-to-focus independent options.
Make click-raises default.
Fix focusing focusclick windows in certain situations.
Fix button slideouts on desks other than first.
Fix desk button bindings when passed through by app.
Fix scaled backgrounds with overlay image and overlay images with alpha.
Run menu generation on startup only if menus subdir doesn't exist.
Simplify pseudotrans code, fix iconbox transparency.
Better parsing of Exec line in .desktop files (http://bugs.debian.org/345021).
Show root tooltips only after move.
Always set name on EObj's (debug).
Fix scaling of fixed aspect ratio backgrounds.
Fix bug with initially maximized/fullscreen windows.
Fix slow logout with gnome-session.
Fix timer event starvation by X events.
- Thanks to Mark Bowyer for help to sort this out.
Change timers to use absolute time.
Go back to using single unredirected root background window (speeds up
 composite considerably).
Composite manager - Window shape must be clipped by window size.
Combine some shadow parameters, change defaults.
Change default ARGB client mode to borderless.
Avoid setting shape to default (unshaped) on ShapeNotify when already set.
 This fixes an event looping problem on Xsun where doing so generates
 Shape (and Visibility) Notify events (Xsun bug?).
- Thanks again to Mark Bowyer for help to track this down.
Do full composite repaint on VT switch.
Fix pseudotransparent iconbox on desk with no background.


===
RCS file: /cvsroot/enlightenment/e16/e/src/timestamp.h,v
retrieving revision 1.654
retrieving revision 1.655
diff -u -3 -r1.654 -r1.655
--- timestamp.h 15 Dec 2005 23:06:21 -  1.654
+++ timestamp.h 14 Jan 2006 16:27:06 -  1.655
@@ -1 +1 @@
-#define E_CHECKOUT_DATE "$Date: 2005/12/15 23:06:21 $"
+#define E_CHECKOUT_DATE "$Date: 2006/01/14 16:27:06 $"




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/eclair sebastid

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : sebastid
Project : e17
Module  : apps/eclair

Dir : e17/apps/eclair/src


Modified Files:
Makefile.am 


Log Message:
Link against phread. FIXME: Should be a check in configure.in!

===
RCS file: /cvsroot/enlightenment/e17/apps/eclair/src/Makefile.am,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -3 -r1.13 -r1.14
--- Makefile.am 13 Jul 2005 21:27:43 -  1.13
+++ Makefile.am 14 Jan 2006 16:13:51 -  1.14
@@ -45,4 +45,5 @@
 @esmart_libs@ -lesmart_draggies \
 @taglib_libs@ -ltag_c \
 @XML2_LIBS@ \
[EMAIL PROTECTED]@
[EMAIL PROTECTED]@ \
+-lphtread




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/e sebastid

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : sebastid
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/modules/clock


Modified Files:
e_mod_config.c 


Log Message:
Fix warnings.

===
RCS file: /cvsroot/enlightenment/e17/apps/e/src/modules/clock/e_mod_config.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- e_mod_config.c  8 Jan 2006 10:23:24 -   1.10
+++ e_mod_config.c  14 Jan 2006 16:10:56 -  1.11
@@ -3,10 +3,9 @@
 #include "e_mod_config.h"
 #include "config.h"
 
-typedef struct _cfdata CFData;
 typedef struct _Cfg_File_Data Cfg_File_Data;
 
-struct _cfdata 
+struct _E_Config_Dialog_Data
 {   
int digital_style;
 };
@@ -19,9 +18,9 @@
 
 /* Protos */
 static void *_create_data(E_Config_Dialog *cfd);
-static void _free_data(E_Config_Dialog *cfd, CFData *cfdata);
-static Evas_Object *_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, 
CFData *cfdata);
-static int _basic_apply_data(E_Config_Dialog *cfd, CFData *cfdata);
+static void _free_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata);
+static Evas_Object *_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, 
E_Config_Dialog_Data *cfdata);
+static int _basic_apply_data(E_Config_Dialog *cfd, E_Config_Dialog_Data 
*cfdata);
 
 void 
 _config_clock_module(E_Container *con, Clock_Face *c) 
@@ -43,7 +42,7 @@
 }
 
 static void 
-_fill_data(Clock_Face *clk, CFData *cfdata) 
+_fill_data(Clock_Face *clk, E_Config_Dialog_Data *cfdata) 
 {
cfdata->digital_style = clk->conf->digitalStyle;
 }
@@ -51,14 +50,14 @@
 static void *
 _create_data(E_Config_Dialog *cfd) 
 {
-   CFData *cfdata;
+   E_Config_Dialog_Data *cfdata;

-   cfdata = E_NEW(CFData, 1);
+   cfdata = E_NEW(E_Config_Dialog_Data, 1);
return cfdata;
 }
 
 static void 
-_free_data(E_Config_Dialog *cfd, CFData *cfdata) 
+_free_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata) 
 {
Clock_Face *c;

@@ -68,7 +67,7 @@
 }
 
 static Evas_Object *
-_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, CFData *cfdata)
+_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data 
*cfdata)
 {
Evas_Object *o, *of, *ob;
E_Radio_Group *rg;
@@ -91,7 +90,7 @@
 }
 
 static int 
-_basic_apply_data(E_Config_Dialog *cfd, CFData *cfdata)
+_basic_apply_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata)
 {
Clock_Face *clk;





---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/e sebastid

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : sebastid
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/modules/dropshadow


Modified Files:
e_mod_config.c 


Log Message:
Fix warnings.

===
RCS file: 
/cvsroot/enlightenment/e17/apps/e/src/modules/dropshadow/e_mod_config.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- e_mod_config.c  8 Jan 2006 10:24:37 -   1.4
+++ e_mod_config.c  14 Jan 2006 16:10:56 -  1.5
@@ -3,10 +3,9 @@
 #include "e_mod_config.h"
 #include "config.h"
 
-typedef struct _cfdata CFData;
 typedef struct _Cfg_File_Data Cfg_File_Data;
 
-struct _cfdata 
+struct _E_Config_Dialog_Data
 {
int quality;
int blur_size;
@@ -23,9 +22,9 @@
 
 /* Protos */
 static void *_create_data(E_Config_Dialog *cfd);
-static void _free_data(E_Config_Dialog *cfd, CFData *cfdata);
-static Evas_Object *_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, 
CFData *cfdata);
-static int _basic_apply_data(E_Config_Dialog *cfd, CFData *cfdata);
+static void _free_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata);
+static Evas_Object *_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, 
E_Config_Dialog_Data *cfdata);
+static int _basic_apply_data(E_Config_Dialog *cfd, E_Config_Dialog_Data 
*cfdata);
 
 void
 _config_dropshadow_module(E_Container *con, Dropshadow *ds) 
@@ -45,7 +44,7 @@
 }
 
 static void 
-_fill_data(Dropshadow *ds, CFData *cfdata) 
+_fill_data(Dropshadow *ds, E_Config_Dialog_Data *cfdata) 
 {
cfdata->quality = ds->conf->quality;
cfdata->blur_size = ds->conf->blur_size;
@@ -89,17 +88,17 @@
 static void *
 _create_data(E_Config_Dialog *cfd) 
 {
-   CFData *cfdata;
+   E_Config_Dialog_Data *cfdata;
Dropshadow *ds;

ds = cfd->data;
-   cfdata = E_NEW(CFData, 1);
+   cfdata = E_NEW(E_Config_Dialog_Data, 1);
_fill_data(ds, cfdata);
return cfdata;
 }
 
 static void
-_free_data(E_Config_Dialog *cfd, CFData *cfdata) 
+_free_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata) 
 {
Dropshadow *ds;

@@ -109,7 +108,7 @@
 }
 
 static Evas_Object *
-_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, CFData *cfdata) 
+_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data 
*cfdata) 
 {
Evas_Object *o, *ob, *of;
E_Radio_Group *rg;
@@ -172,7 +171,7 @@
 }
 
 static int
-_basic_apply_data(E_Config_Dialog *cfd, CFData *cfdata) 
+_basic_apply_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata) 
 {
Dropshadow *ds;





---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/e sebastid

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : sebastid
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/modules/battery


Modified Files:
e_mod_config.c 


Log Message:
Fix warnings.

===
RCS file: /cvsroot/enlightenment/e17/apps/e/src/modules/battery/e_mod_config.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- e_mod_config.c  8 Jan 2006 10:22:16 -   1.9
+++ e_mod_config.c  14 Jan 2006 16:10:56 -  1.10
@@ -3,10 +3,9 @@
 #include "e_mod_config.h"
 #include "config.h"
 
-typedef struct _cfdata CFData;
 typedef struct _Cfg_File_Data Cfg_File_Data;
 
-struct _cfdata 
+struct _E_Config_Dialog_Data
 {
int show_alert;   
double poll_time;   
@@ -21,11 +20,11 @@
 
 /* Protos */
 static void  *_create_data(E_Config_Dialog *cfd);
-static void  _free_data(E_Config_Dialog *cfd, CFData *cfdata);
-static Evas_Object   *_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, 
CFData *cfdata);
-static int   _basic_apply_data(E_Config_Dialog *cfd, CFData *cfdata);
-static Evas_Object   *_advanced_create_widgets(E_Config_Dialog *cfd, Evas 
*evas, CFData *cfdata);
-static int   _advanced_apply_data(E_Config_Dialog *cfd, CFData 
*cfdata);
+static void  _free_data(E_Config_Dialog *cfd, E_Config_Dialog_Data 
*cfdata);
+static Evas_Object   *_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, 
E_Config_Dialog_Data *cfdata);
+static int   _basic_apply_data(E_Config_Dialog *cfd, 
E_Config_Dialog_Data *cfdata);
+static Evas_Object   *_advanced_create_widgets(E_Config_Dialog *cfd, Evas 
*evas, E_Config_Dialog_Data *cfdata);
+static int   _advanced_apply_data(E_Config_Dialog *cfd, 
E_Config_Dialog_Data *cfdata);
 
 void
 _config_battery_module(E_Container *con, Battery *bat) 
@@ -45,7 +44,7 @@
 }
 
 static void
-_fill_data(Battery *b, CFData *cfdata) 
+_fill_data(Battery *b, E_Config_Dialog_Data *cfdata) 
 {
cfdata->alarm_time = b->conf->alarm;
cfdata->poll_time = b->conf->poll_time;
@@ -62,17 +61,17 @@
 static void *
 _create_data(E_Config_Dialog *cfd) 
 {
-   CFData *cfdata;
+   E_Config_Dialog_Data *cfdata;
Battery *b;

b = cfd->data;
-   cfdata = E_NEW(CFData, 1);
+   cfdata = E_NEW(E_Config_Dialog_Data, 1);
_fill_data(b, cfdata);
return cfdata;
 }
 
 static void
-_free_data(E_Config_Dialog *cfd, CFData *cfdata) 
+_free_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata) 
 {
Battery *b;

@@ -82,7 +81,7 @@
 }
 
 static Evas_Object *
-_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, CFData *cfdata) 
+_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data 
*cfdata) 
 {
Battery *b;
Evas_Object *o, *of, *ob;
@@ -99,7 +98,7 @@
 }
 
 static int 
-_basic_apply_data(E_Config_Dialog *cfd, CFData *cfdata) 
+_basic_apply_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata) 
 {
Battery *b;

@@ -114,7 +113,7 @@
 }
 
 static Evas_Object *
-_advanced_create_widgets(E_Config_Dialog *cfd, Evas *evas, CFData *cfdata) 
+_advanced_create_widgets(E_Config_Dialog *cfd, Evas *evas, 
E_Config_Dialog_Data *cfdata) 
 {
Evas_Object *o, *of, *ob;
Battery *b;
@@ -146,7 +145,7 @@
 }
 
 static int 
-_advanced_apply_data(E_Config_Dialog *cfd, CFData *cfdata) 
+_advanced_apply_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata) 
 {
Battery *b;





---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/e sebastid

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : sebastid
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/modules/gadget_test


Modified Files:
e_mod_main.c 


Log Message:
Fix warnings.

===
RCS file: 
/cvsroot/enlightenment/e17/apps/e/src/modules/gadget_test/e_mod_main.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- e_mod_main.c7 Jan 2006 10:39:46 -   1.4
+++ e_mod_main.c14 Jan 2006 16:10:57 -  1.5
@@ -24,9 +24,9 @@
E_Gadget *gad = NULL;
   
Test *t = E_NEW(Test, 1);
-   if (!t) return;
+   if (!t) return NULL;
api = E_NEW(E_Gadget_Api, 1);
-   if (!api) return;
+   if (!api) return NULL;
 
/*
 * set up gadget -- only module and name are required, but the gadget would
@@ -80,10 +80,7 @@
 static void
 _test_face_init(void *data, E_Gadget_Face *face)
 {
-   Test *t = data;
-
e_gadget_face_theme_set(face, "base/theme/modules/clock", 
"modules/clock/main");
-   
 }
 
 static void




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/e sebastid

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : sebastid
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/modules/pager


Modified Files:
e_mod_config.c 


Log Message:
Fix warnings.

===
RCS file: /cvsroot/enlightenment/e17/apps/e/src/modules/pager/e_mod_config.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- e_mod_config.c  8 Jan 2006 10:21:03 -   1.8
+++ e_mod_config.c  14 Jan 2006 16:10:57 -  1.9
@@ -3,10 +3,9 @@
 #include "e_mod_config.h"
 #include "config.h"
 
-typedef struct _cfdata CFData;
 typedef struct _Cfg_File_Data Cfg_File_Data;
 
-struct _cfdata 
+struct _E_Config_Dialog_Data
 {
int show_name;
int name_pos;
@@ -22,11 +21,11 @@
 
 /* Protos */
 static void *_create_data(E_Config_Dialog *cfd);
-static void _free_data(E_Config_Dialog *cfd, CFData *cfdata);
-static Evas_Object *_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, 
CFData *cfdata);
-static int _basic_apply_data(E_Config_Dialog *cfd, CFData *cfdata);
-static Evas_Object *_advanced_create_widgets(E_Config_Dialog *cfd, Evas *evas, 
CFData *cfdata);
-static int _advanced_apply_data(E_Config_Dialog *cfd, CFData *cfdata);
+static void _free_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata);
+static Evas_Object *_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, 
E_Config_Dialog_Data *cfdata);
+static int _basic_apply_data(E_Config_Dialog *cfd, E_Config_Dialog_Data 
*cfdata);
+static Evas_Object *_advanced_create_widgets(E_Config_Dialog *cfd, Evas *evas, 
E_Config_Dialog_Data *cfdata);
+static int _advanced_apply_data(E_Config_Dialog *cfd, E_Config_Dialog_Data 
*cfdata);
 
 void 
 _config_pager_module(E_Container *con, Pager *pager)
@@ -46,7 +45,7 @@
 }
 
 static void 
-_fill_data(Pager *p, CFData *cfdata) 
+_fill_data(Pager *p, E_Config_Dialog_Data *cfdata) 
 {
/* Name Pos, Show Popup, popup_speed */
cfdata->name_pos = p->conf->deskname_pos;
@@ -67,14 +66,14 @@
 static void *
 _create_data(E_Config_Dialog *cfd) 
 {
-   CFData *cfdata;
+   E_Config_Dialog_Data *cfdata;

-   cfdata = E_NEW(CFData, 1);
+   cfdata = E_NEW(E_Config_Dialog_Data, 1);
return cfdata;
 }
 
 static void 
-_free_data(E_Config_Dialog *cfd, CFData *cfdata) 
+_free_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata) 
 {
Pager *p;

@@ -84,7 +83,7 @@
 }
 
 static Evas_Object *
-_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, CFData *cfdata)
+_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data 
*cfdata)
 {
Evas_Object *o, *of, *ob;
E_Radio_Group *rg;
@@ -120,7 +119,7 @@
 }
 
 static int 
-_basic_apply_data(E_Config_Dialog *cfd, CFData *cfdata)
+_basic_apply_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata)
 {
Pager *p;

@@ -139,7 +138,7 @@
 }
 
 static Evas_Object *
-_advanced_create_widgets(E_Config_Dialog *cfd, Evas *evas, CFData *cfdata)
+_advanced_create_widgets(E_Config_Dialog *cfd, Evas *evas, 
E_Config_Dialog_Data *cfdata)
 {
Evas_Object *o, *of, *ob;
E_Radio_Group *rg;
@@ -181,7 +180,7 @@
 }
 
 static int 
-_advanced_apply_data(E_Config_Dialog *cfd, CFData *cfdata)
+_advanced_apply_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata)
 {
Pager *p;





---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/e sebastid

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : sebastid
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/modules/temperature


Modified Files:
e_mod_config.c 


Log Message:
Fix warnings.

===
RCS file: 
/cvsroot/enlightenment/e17/apps/e/src/modules/temperature/e_mod_config.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- e_mod_config.c  8 Jan 2006 10:28:34 -   1.11
+++ e_mod_config.c  14 Jan 2006 16:10:57 -  1.12
@@ -17,10 +17,9 @@
 #define FAR_2_CEL(x) (x - 32) / 1.8
 #define CEL_2_FAR(x) (x * 1.8) + 32
 
-typedef struct _cfdata CFData;
 typedef struct _Cfg_File_Data Cfg_File_Data;
 
-struct _cfdata 
+struct _E_Config_Dialog_Data
 {
int poll_method;
double poll_time;
@@ -44,11 +43,11 @@
 
 /* Protos */
 static void  *_create_data(E_Config_Dialog *cfd);
-static void  _free_data(E_Config_Dialog *cfd, CFData *cfdata);
-static Evas_Object   *_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, 
CFData *cfdata);
-static int   _basic_apply_data(E_Config_Dialog *cfd, CFData *cfdata);
-static Evas_Object   *_advanced_create_widgets(E_Config_Dialog *cfd, Evas 
*evas, CFData *cfdata);
-static int   _advanced_apply_data(E_Config_Dialog *cfd, CFData 
*cfdata);
+static void  _free_data(E_Config_Dialog *cfd, E_Config_Dialog_Data 
*cfdata);
+static Evas_Object   *_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, 
E_Config_Dialog_Data *cfdata);
+static int   _basic_apply_data(E_Config_Dialog *cfd, 
E_Config_Dialog_Data *cfdata);
+static Evas_Object   *_advanced_create_widgets(E_Config_Dialog *cfd, Evas 
*evas, E_Config_Dialog_Data *cfdata);
+static int   _advanced_apply_data(E_Config_Dialog *cfd, 
E_Config_Dialog_Data *cfdata);
 
 void
 _config_temperature_module(E_Container *con, Temperature *temp) 
@@ -68,7 +67,7 @@
 }
 
 static void
-_fill_data(Temperature *t, CFData *cfdata) 
+_fill_data(Temperature *t, E_Config_Dialog_Data *cfdata) 
 {
double p;

@@ -152,14 +151,14 @@
 static void *
 _create_data(E_Config_Dialog *cfd) 
 {
-   CFData *cfdata;
+   E_Config_Dialog_Data *cfdata;

-   cfdata = E_NEW(CFData, 1);
+   cfdata = E_NEW(E_Config_Dialog_Data, 1);
return cfdata;
 }
 
 static void
-_free_data(E_Config_Dialog *cfd, CFData *cfdata) 
+_free_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata) 
 {
Temperature *t;

@@ -169,7 +168,7 @@
 }
 
 static Evas_Object *
-_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, CFData *cfdata) 
+_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data 
*cfdata) 
 {
Evas_Object *o, *of, *ob;
E_Radio_Group *rg;
@@ -253,7 +252,7 @@
 }
 
 static int
-_basic_apply_data(E_Config_Dialog *cfd, CFData *cfdata) 
+_basic_apply_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata) 
 {
Temperature *t;

@@ -290,7 +289,7 @@
 }
 
 static Evas_Object *
-_advanced_create_widgets(E_Config_Dialog *cfd, Evas *evas, CFData *cfdata) 
+_advanced_create_widgets(E_Config_Dialog *cfd, Evas *evas, 
E_Config_Dialog_Data *cfdata) 
 {
Evas_Object *o, *of, *ob;
E_Radio_Group *rg;
@@ -397,7 +396,7 @@
 }
 
 static int
-_advanced_apply_data(E_Config_Dialog *cfd, CFData *cfdata) 
+_advanced_apply_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata) 
 {
Temperature *t;





---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/e sebastid

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : sebastid
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/modules/ibar


Modified Files:
e_mod_config.c 


Log Message:
Fix warnings.

===
RCS file: /cvsroot/enlightenment/e17/apps/e/src/modules/ibar/e_mod_config.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- e_mod_config.c  8 Jan 2006 08:12:39 -   1.12
+++ e_mod_config.c  14 Jan 2006 16:10:57 -  1.13
@@ -3,10 +3,9 @@
 #include "e_mod_config.h"
 #include "config.h"
 
-typedef struct _cfdata CFData;
 typedef struct _Cfg_File_Data Cfg_File_Data;
 
-struct _cfdata
+struct _E_Config_Dialog_Data
 {
int autofit;
int follower;
@@ -23,11 +22,11 @@
 
 /* Protos */
 static void *_create_data(E_Config_Dialog *cfd);
-static void _free_data(E_Config_Dialog *cfd, CFData *cfdata);
-static Evas_Object *_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, 
CFData *cfdata);
-static int _basic_apply_data(E_Config_Dialog *cfd, CFData *cfdata);
-static Evas_Object *_advanced_create_widgets(E_Config_Dialog *cfd, Evas *evas, 
CFData *cfdata);
-static int _advanced_apply_data(E_Config_Dialog *cfd, CFData *cfdata);
+static void _free_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata);
+static Evas_Object *_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, 
E_Config_Dialog_Data *cfdata);
+static int _basic_apply_data(E_Config_Dialog *cfd, E_Config_Dialog_Data 
*cfdata);
+static Evas_Object *_advanced_create_widgets(E_Config_Dialog *cfd, Evas *evas, 
E_Config_Dialog_Data *cfdata);
+static int _advanced_apply_data(E_Config_Dialog *cfd, E_Config_Dialog_Data 
*cfdata);
 
 void 
 _config_ibar_module(E_Container *con, IBar *ibar)
@@ -49,7 +48,7 @@
 }
 
 static void 
-_fill_data(IBar *ib, CFData *cfdata)
+_fill_data(IBar *ib, E_Config_Dialog_Data *cfdata)
 {
cfdata->autofit = (ib->conf->width == IBAR_WIDTH_AUTO);
cfdata->follower = ib->conf->follower;
@@ -61,17 +60,17 @@
 static void *
 _create_data(E_Config_Dialog *cfd)
 {
-   CFData *cfdata;
+   E_Config_Dialog_Data *cfdata;
IBar *ib;

ib = cfd->data;
-   cfdata = E_NEW(CFData, 1);
+   cfdata = E_NEW(E_Config_Dialog_Data, 1);
_fill_data(ib, cfdata);
return cfdata;
 }
 
 static void 
-_free_data(E_Config_Dialog *cfd, CFData *cfdata)
+_free_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata)
 {
IBar *ibar;
 
@@ -81,7 +80,7 @@
 }
 
 static Evas_Object *
-_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, CFData *cfdata)
+_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data 
*cfdata)
 {
Evas_Object *o, *ob;
IBar *ib;
@@ -98,7 +97,7 @@
 }
 
 static int 
-_basic_apply_data(E_Config_Dialog *cfd, CFData *cfdata)
+_basic_apply_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata)
 {
IBar *ib;

@@ -129,7 +128,7 @@
 }
 
 static Evas_Object *
-_advanced_create_widgets(E_Config_Dialog *cfd, Evas *evas, CFData *cfdata)
+_advanced_create_widgets(E_Config_Dialog *cfd, Evas *evas, 
E_Config_Dialog_Data *cfdata)
 {
Evas_Object *o, *of, *ob;
IBar *ib;
@@ -165,7 +164,7 @@
 }
 
 static int 
-_advanced_apply_data(E_Config_Dialog *cfd, CFData *cfdata)
+_advanced_apply_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata)
 {
IBar *ib;





---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/e sebastid

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : sebastid
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/modules/ibox


Modified Files:
e_mod_config.c 


Log Message:
Fix warnings.

===
RCS file: /cvsroot/enlightenment/e17/apps/e/src/modules/ibox/e_mod_config.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -3 -r1.13 -r1.14
--- e_mod_config.c  8 Jan 2006 10:26:43 -   1.13
+++ e_mod_config.c  14 Jan 2006 16:10:57 -  1.14
@@ -3,10 +3,9 @@
 #include "e_mod_config.h"
 #include "config.h"
 
-typedef struct _cfdata CFData;
 typedef struct _Cfg_File_Data Cfg_File_Data;
 
-struct _cfdata
+struct _E_Config_Dialog_Data
 {
int autofit;
int follower;
@@ -23,11 +22,11 @@
 
 /* Protos */
 static void *_create_data(E_Config_Dialog *cfd);
-static void _free_data(E_Config_Dialog *cfd, CFData *cfdata);
-static Evas_Object *_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, 
CFData *cfdata);
-static int _basic_apply_data(E_Config_Dialog *cfd, CFData *cfdata);
-static Evas_Object *_advanced_create_widgets(E_Config_Dialog *cfd, Evas *evas, 
CFData *cfdata);
-static int _advanced_apply_data(E_Config_Dialog *cfd, CFData *cfdata);
+static void _free_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata);
+static Evas_Object *_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, 
E_Config_Dialog_Data *cfdata);
+static int _basic_apply_data(E_Config_Dialog *cfd, E_Config_Dialog_Data 
*cfdata);
+static Evas_Object *_advanced_create_widgets(E_Config_Dialog *cfd, Evas *evas, 
E_Config_Dialog_Data *cfdata);
+static int _advanced_apply_data(E_Config_Dialog *cfd, E_Config_Dialog_Data 
*cfdata);
 
 void 
 _config_ibox_module(E_Container *con, IBox *ibox)
@@ -49,7 +48,7 @@
 }
 
 static void 
-_fill_data(IBox *ib, CFData *cfdata)
+_fill_data(IBox *ib, E_Config_Dialog_Data *cfdata)
 {
cfdata->autofit = (ib->conf->width == IBOX_WIDTH_AUTO);
cfdata->follower = ib->conf->follower;
@@ -61,17 +60,17 @@
 static void *
 _create_data(E_Config_Dialog *cfd)
 {
-   CFData *cfdata;
+   E_Config_Dialog_Data *cfdata;
IBox *ib;

ib = cfd->data;
-   cfdata = E_NEW(CFData, 1);
+   cfdata = E_NEW(E_Config_Dialog_Data, 1);
_fill_data(ib, cfdata);
return cfdata;
 }
 
 static void 
-_free_data(E_Config_Dialog *cfd, CFData *cfdata)
+_free_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata)
 {
IBox *ib;

@@ -81,7 +80,7 @@
 }
 
 static Evas_Object *
-_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, CFData *cfdata)
+_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data 
*cfdata)
 {
Evas_Object *o, *ob;
IBox *ib;
@@ -98,7 +97,7 @@
 }
 
 static int 
-_basic_apply_data(E_Config_Dialog *cfd, CFData *cfdata)
+_basic_apply_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata)
 {
IBox *ib;

@@ -129,7 +128,7 @@
 }
 
 static Evas_Object *
-_advanced_create_widgets(E_Config_Dialog *cfd, Evas *evas, CFData *cfdata)
+_advanced_create_widgets(E_Config_Dialog *cfd, Evas *evas, 
E_Config_Dialog_Data *cfdata)
 {
Evas_Object *o, *of, *ob;
IBox *ib;
@@ -165,7 +164,7 @@
 }
 
 static int 
-_advanced_apply_data(E_Config_Dialog *cfd, CFData *cfdata)
+_advanced_apply_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata)
 {
IBox *ib;





---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/e sebastid

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : sebastid
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/bin


Modified Files:
e_config_dialog.h e_int_border_border.c e_int_border_locks.c 
e_int_border_remember.c e_int_config_background.c 
e_int_config_desks.c e_int_config_focus.c 
e_int_config_general.c e_int_config_menus.c 
e_int_config_modules.c e_int_config_performance.c 
e_int_config_theme.c e_int_config_window_display.c 
e_int_config_window_manipulation.c e_int_config_winlist.c 


Log Message:
Fix warnings.

Make a global typedef for Config Data, and let the different dialogs fill
the struct.

===
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_config_dialog.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- e_config_dialog.h   17 Dec 2005 11:21:53 -  1.5
+++ e_config_dialog.h   14 Jan 2006 16:05:35 -  1.6
@@ -11,6 +11,7 @@
 
 typedef struct _E_Config_Dialog  E_Config_Dialog;
 typedef struct _E_Config_Dialog_View E_Config_Dialog_View;
+typedef struct _E_Config_Dialog_Data E_Config_Dialog_Data;
 
 #else
 #ifndef E_CONFIG_DIALOG_H
@@ -21,10 +22,10 @@
 struct _E_Config_Dialog_View
 {
void   *(*create_cfdata) (E_Config_Dialog *cfd);
-   void(*free_cfdata)   (E_Config_Dialog *cfd, void *cfdata);
+   void(*free_cfdata)   (E_Config_Dialog *cfd, 
E_Config_Dialog_Data *cfdata);
struct {
-  int  (*apply_cfdata)  (E_Config_Dialog *cfd, void *cfdata);
-  Evas_Object *(*create_widgets)(E_Config_Dialog *cfd, Evas *evas, 
void *cfdata);
+  int  (*apply_cfdata)  (E_Config_Dialog *cfd, 
E_Config_Dialog_Data *cfdata);
+  Evas_Object *(*create_widgets)(E_Config_Dialog *cfd, Evas *evas, 
E_Config_Dialog_Data *cfdata);
} basic, advanced;
 };
 
@@ -34,7 +35,7 @@

E_Config_Dialog_CFData_Type  view_type;
E_Config_Dialog_View view;
-   void*cfdata;
+   E_Config_Dialog_Data*cfdata;
E_Container *con;
char*title;
char*icon;
===
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_int_border_border.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- e_int_border_border.c   7 Jan 2006 10:39:45 -   1.6
+++ e_int_border_border.c   14 Jan 2006 16:05:35 -  1.7
@@ -4,16 +4,15 @@
 #include "e.h"
 
 /* PROTOTYPES - same all the time */
-typedef struct _CFData CFData;
 typedef struct _CFBorder CFBorder;
 
 static void *_create_data(E_Config_Dialog *cfd);
-static void _free_data(E_Config_Dialog *cfd, CFData *cfdata);
-static int _basic_apply_data(E_Config_Dialog *cfd, CFData *cfdata);
-static Evas_Object *_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, 
CFData *cfdata);
+static void _free_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata);
+static int _basic_apply_data(E_Config_Dialog *cfd, E_Config_Dialog_Data 
*cfdata);
+static Evas_Object *_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, 
E_Config_Dialog_Data *cfdata);
 
 /* Actual config data we will be playing with whil the dialog is active */
-struct _CFData
+struct _E_Config_Dialog_Data
 {
E_Border *border;
char *bordername;
@@ -23,7 +22,7 @@
 
 struct _CFBorder
 {
-   CFData *cfdata;
+   E_Config_Dialog_Data *cfdata;
const char *bordername;
 };
 
@@ -49,7 +48,7 @@
 
 /**--CREATE--**/
 static void
-_fill_data(CFData *cfdata)
+_fill_data(E_Config_Dialog_Data *cfdata)
 {
if ((cfdata->border->remember) &&
(cfdata->border->remember->apply & E_REMEMBER_APPLY_BORDER))
@@ -64,16 +63,16 @@
 * dialog will be dealing with while configuring. it will be applied to
 * the running systems/config in the apply methods
 */
-   CFData *cfdata;
+   E_Config_Dialog_Data *cfdata;

-   cfdata = E_NEW(CFData, 1);
+   cfdata = E_NEW(E_Config_Dialog_Data, 1);
cfdata->border = cfd->data;
_fill_data(cfdata);
return cfdata;
 }
 
 static void
-_free_data(E_Config_Dialog *cfd, CFData *cfdata)
+_free_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata)
 {
/* Free the cfdata */
cfdata->border->border_border_dialog = NULL;
@@ -88,7 +87,7 @@
 
 /**--APPLY--**/
 static int
-_basic_apply_data(E_Config_Dialog *cfd, CFData *cfdata)
+_basic_apply_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata)
 {
/* FIXME: need to check if the remember stuff will actually work or notx
 * (see e_int_border_remember.c where it checks and warns) */
@@ -136,7 +135,7 @@
 
 /**--GUI--**/
 static Evas_Object *
-_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, CFData *cfdata)
+_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data 
*cfdata)
 {
/* generate the core widget layout for a basic di

E CVS: e kwo

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir : e16/e/po


Modified Files:
bg.po bs.po da.po de.po en_US.po es.po fr.po hu.po ja.po ko.po 
nl.po no.po pl.po pt.po pt_BR.po ru.po sv.po tr.po 


Log Message:
Update.
===
RCS file: /cvsroot/enlightenment/e16/e/po/bg.po,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -3 -r1.21 -r1.22
--- bg.po   13 Jan 2006 00:32:05 -  1.21
+++ bg.po   14 Jan 2006 16:03:56 -  1.22
@@ -6,7 +6,7 @@
 msgstr ""
 "Project-Id-Version: enlightenment 0.16.7\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-01-10 20:11+0100\n"
+"POT-Creation-Date: 2006-01-14 15:17+0100\n"
 "PO-Revision-Date: 2004-09-14 20:43-0300\n"
 "Last-Translator: Viktor Kojouharov\n"
 "Language-Team: Bulgarian\n"
@@ -227,7 +227,7 @@
 msgid "Restart Enlightenment"
 msgstr "Ðåñòàðòèðàéòå Enlightenment"
 
-#: src/alert.c:594 src/alert.c:618 src/events.c:90 src/setup.c:283
+#: src/alert.c:594 src/alert.c:618 src/events.c:90 src/setup.c:281
 msgid "Quit Enlightenment"
 msgstr "Èçëåçòå îò Enlightenment"
 
@@ -2144,15 +2144,15 @@
 "ñ âàøèÿò ñèñòåìåí àäìèíèñòðàòîð, èëè ïðî÷åòåòå ðúêîâîäñòâàòà íà Õ, xdm\n"
 "è startx ïðåäè äà ïðîäúëæèòåæèòå.\n"
 
-#: src/setup.c:282
+#: src/setup.c:280
 msgid "X server version error"
 msgstr "Ãðåøêà âåðñèÿ íà X-ñúðâúðà"
 
-#: src/setup.c:282
+#: src/setup.c:280
 msgid "Ignore this error"
 msgstr "Èãíîðèðàé òàçè ãðåøêà"
 
-#: src/setup.c:284
+#: src/setup.c:282
 #, c-format
 msgid ""
 "WARNING:\n"
===
RCS file: /cvsroot/enlightenment/e16/e/po/bs.po,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -3 -r1.14 -r1.15
--- bs.po   13 Jan 2006 00:32:05 -  1.14
+++ bs.po   14 Jan 2006 16:03:56 -  1.15
@@ -8,7 +8,7 @@
 msgstr ""
 "Project-Id-Version: bosnian\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-01-10 20:11+0100\n"
+"POT-Creation-Date: 2006-01-14 15:17+0100\n"
 "PO-Revision-Date: 2004-08-26 00:52+0200\n"
 "Last-Translator: Kemal Å anjta <[EMAIL PROTECTED]>\n"
 "Language-Team: Bosnian <[EMAIL PROTECTED]>\n"
@@ -232,7 +232,7 @@
 msgid "Restart Enlightenment"
 msgstr "Ponovo pokreni Enlightenment"
 
-#: src/alert.c:594 src/alert.c:618 src/events.c:90 src/setup.c:283
+#: src/alert.c:594 src/alert.c:618 src/events.c:90 src/setup.c:281
 msgid "Quit Enlightenment"
 msgstr "IzaÄi iz Enlightenment-a"
 
@@ -2178,15 +2178,15 @@
 "administrator, or Xserver vendor, or read the X, xdm and\n"
 "startx manual pages before proceeding.\n"
 
-#: src/setup.c:282
+#: src/setup.c:280
 msgid "X server version error"
 msgstr "X server greÅ·ka verzije"
 
-#: src/setup.c:282
+#: src/setup.c:280
 msgid "Ignore this error"
 msgstr "IgnoriÅ·i ovu greÅ·ku"
 
-#: src/setup.c:284
+#: src/setup.c:282
 #, c-format
 msgid ""
 "WARNING:\n"
===
RCS file: /cvsroot/enlightenment/e16/e/po/da.po,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -3 -r1.16 -r1.17
--- da.po   13 Jan 2006 00:32:05 -  1.16
+++ da.po   14 Jan 2006 16:03:56 -  1.17
@@ -7,7 +7,7 @@
 msgstr ""
 "Project-Id-Version: enlightenment 0.16.6\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-01-10 20:11+0100\n"
+"POT-Creation-Date: 2006-01-14 15:17+0100\n"
 "PO-Revision-Date: 2000-03-02 16:23+0100\n"
 "Last-Translator: Birger Langkjer <[EMAIL PROTECTED]>\n"
 "Language-Team: Dansk/Danish <[EMAIL PROTECTED]>\n"
@@ -214,7 +214,7 @@
 msgid "Restart Enlightenment"
 msgstr "Genstart Enlightenment"
 
-#: src/alert.c:594 src/alert.c:618 src/events.c:90 src/setup.c:283
+#: src/alert.c:594 src/alert.c:618 src/events.c:90 src/setup.c:281
 msgid "Quit Enlightenment"
 msgstr "Afslut Enlightenment"
 
@@ -1940,15 +1940,15 @@
 "startx manual pages before proceeding.\n"
 msgstr ""
 
-#: src/setup.c:282
+#: src/setup.c:280
 msgid "X server version error"
 msgstr "X-tjener versionsfejl"
 
-#: src/setup.c:282
+#: src/setup.c:280
 msgid "Ignore this error"
 msgstr "Ignorér denne fejl"
 
-#: src/setup.c:284
+#: src/setup.c:282
 #, c-format
 msgid ""
 "WARNING:\n"
===
RCS file: /cvsroot/enlightenment/e16/e/po/de.po,v
retrieving revision 1.71
retrieving revision 1.72
diff -u -3 -r1.71 -r1.72
--- de.po   13 Jan 2006 00:32:05 -  1.71
+++ de.po   14 Jan 2006 16:03:56 -  1.72
@@ -7,7 +7,7 @@
 msgstr ""
 "Project-Id-Version: enlightenment 0.16.6\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-01-10 20:11+0100\n"
+"POT-Creation-Date: 2006-01-14 15:17+0100\n"
 "PO-Revision-Date: 2000-03-29 21:12+0200\n"
 "Last-Translator: Matthias Warkus <[EMAIL PROTECTED]>\n"
 "Language-Team: Enlightenment l10n <[EMAIL PROTECTED]>\n"
@@ -253,7 +253,7 @@
 # src/main.c:92 src/memory.c:197 src/memory.c:278 src/memory.c:298
 # src/memory.c:379 src/memory.c:

E CVS: libs/evas sebastid

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : sebastid
Project : e17
Module  : libs/evas

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


Modified Files:
evas_module.c 


Log Message:
Fix compiler warnings.

===
RCS file: /cvsroot/enlightenment/e17/libs/evas/src/lib/file/evas_module.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- evas_module.c   14 Jan 2006 15:43:05 -  1.4
+++ evas_module.c   14 Jan 2006 15:58:01 -  1.5
@@ -51,7 +51,6 @@

char *prefix;
char *path;
-   int i;
Evas_List *paths = NULL;

/* 1. ~/.evas/modules/ */
@@ -137,7 +136,7 @@

if (!(dir = opendir(mp->path))) break;
 // printf("[evas module] searching modules on %s\n", mp->path);
-   while (de = readdir(dir))
+   while ((de = readdir(dir)))
  {
 char *buf;
 




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: slideshow sebastid

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : sebastid
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow


Modified Files:
e_mod_main.c 


Log Message:
Remove strdup and fix memleak.

===
RCS file: /cvsroot/enlightenment/e_modules/slideshow/e_mod_main.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- e_mod_main.c14 Jan 2006 12:59:09 -  1.9
+++ e_mod_main.c14 Jan 2006 15:56:11 -  1.10
@@ -267,6 +267,7 @@
e->cycle_timer = ecore_timer_del(e->cycle_timer);
e->cycle_timer = NULL;
  }
+   if (e->display) free(e->display);
 
free(e->conf);
E_CONFIG_DD_FREE(e->conf_edd);
@@ -535,7 +536,7 @@
snprintf(buffer, sizeof(buffer), "%s/.e/e/backgrounds", home);
 #endif
bg_count = 0;
-   list = ecore_file_ls(strdup(buffer));
+   list = ecore_file_ls(buffer);
ecore_list_goto_first(list);
while ((list_item = (char *) ecore_list_next(list)) != NULL)
  bg_count++;
@@ -564,7 +565,7 @@
snprintf(buffer, sizeof(buffer), "%s/.e/e/backgrounds/%s", home, bg);
 #endif
 
-   if (buffer) e_lib_background_set(strdup(buffer));
+   if (buffer) e_lib_background_set(buffer);
 }
 
 static void 




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: monitor sebastid

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : sebastid
Project : e_modules
Module  : monitor

Dir : e_modules/monitor


Modified Files:
e_mod_config.c 


Log Message:
Remove strdup

===
RCS file: /cvsroot/enlightenment/e_modules/monitor/e_mod_config.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- e_mod_config.c  28 Dec 2005 16:47:12 -  1.4
+++ e_mod_config.c  14 Jan 2006 15:55:42 -  1.5
@@ -209,7 +209,7 @@
ecore_list_goto_first(wlan_interfaces);
while ((tmp = ecore_list_next(wlan_interfaces)) != NULL) 
  {
-ob = e_widget_radio_add(evas, strdup(tmp), i, rg);
+ob = e_widget_radio_add(evas, tmp, i, rg);
 e_widget_table_object_append(ot, ob, 0, i, 1, 1, 1, 0, 1, 0);
 i = i + 1;
  }
@@ -232,7 +232,7 @@
ecore_list_goto_first(net_interfaces);
while ((tmp = ecore_list_next(net_interfaces)) != NULL) 
  {
-ob = e_widget_radio_add(evas, strdup(tmp), i, rg);
+ob = e_widget_radio_add(evas, tmp, i, rg);
 e_widget_table_object_append(ot, ob, 0, i, 1, 1, 1, 0, 1, 0);
 i = i + 1;
  }




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: calendar sebastid

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : sebastid
Project : e_modules
Module  : calendar

Dir : e_modules/calendar/src


Modified Files:
otherfonts_editor.c today_editor.c 


Log Message:
Remove unused variables.

===
RCS file: /cvsroot/enlightenment/e_modules/calendar/src/otherfonts_editor.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- otherfonts_editor.c 8 Jan 2006 15:26:43 -   1.3
+++ otherfonts_editor.c 14 Jan 2006 15:54:00 -  1.4
@@ -84,7 +84,7 @@
 _basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, void *data)
 {
/* generate the core widget layout for a basic dialog */
-   Evas_Object *o, *of;
+   Evas_Object *o;
Evas_Object *s_r_tf, *s_g_tf, *s_a_tf, *s_b_tf;
Evas_Object *ym, *day_text;
 
===
RCS file: /cvsroot/enlightenment/e_modules/calendar/src/today_editor.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- today_editor.c  8 Jan 2006 15:26:43 -   1.3
+++ today_editor.c  14 Jan 2006 15:54:00 -  1.4
@@ -83,7 +83,7 @@
 _basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, void *data)
 {
/* generate the core widget layout for a basic dialog */
-   Evas_Object *o, *of, *today;
+   Evas_Object *o, *today;
Evas_Object *slider_red, *slider_green, *slider_alpha, *slider_blue;
Evas_Object *s_r_tf, *s_g_tf, *s_a_tf, *s_b_tf, *today_f; 
 




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: calendar sebastid

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : sebastid
Project : e_modules
Module  : calendar

Dir : e_modules/calendar/src


Modified Files:
cal_face_func.c calendar_func.c 


Log Message:
Fix warnings.

===
RCS file: /cvsroot/enlightenment/e_modules/calendar/src/cal_face_func.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- cal_face_func.c 8 Jan 2006 15:26:43 -   1.3
+++ cal_face_func.c 14 Jan 2006 15:53:13 -  1.4
@@ -164,7 +164,7 @@
 
//Make day objects
i = 0;
-   for (i;i<35;i++)
+   for (;i<35;i++)
{
 //make weekend objects
face->weekend_object[i] = E_NEW(weekend_face,1);
@@ -218,7 +218,7 @@
int row = 0;
while (x<35)
{
- for (i; i<7;i++)
+ for (; i<7;i++)
  {
e_table_pack(face->o_calendar_table,face->weekend_object[x]->obj, i, 
row, 1, 1);
e_table_pack_options_set(face->weekend_object[x]->obj,1, 1, 1, 1, 0.5, 
0.5, 0, 0, -1, -1);
@@ -482,7 +482,7 @@
 void calendar_face_free(Calendar_Face *face)
 {
int i = 0;
-for (i;i<35;i++)
+for (;i<35;i++)
{
evas_object_del(face->weekend_object[i]->obj);
evas_object_del(face->weekday_object[i]->obj); 
===
RCS file: /cvsroot/enlightenment/e_modules/calendar/src/calendar_func.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- calendar_func.c 8 Jan 2006 15:26:43 -   1.2
+++ calendar_func.c 14 Jan 2006 15:53:13 -  1.3
@@ -15,7 +15,7 @@
int row = 0;
while (x<35)
{
- for (i; i<7;i++)
+ for (; i<7;i++)
  {
   switch (FirstDay)
   {
@@ -280,7 +280,7 @@
 
//blank out blocks before day 1
int i=0;
-   for (i;iweekday_object[i]->obj);
evas_object_hide(face->weekend_object[i]->obj);




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: calendar sebastid

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : sebastid
Project : e_modules
Module  : calendar

Dir : e_modules/calendar/src


Modified Files:
add_event_dialog.h add_todo_dialog.h cal_face_func.h 
calendar_color_func.h calendar_func.h calendar_text_fun.h 
dialog_func.h otherfonts_editor.h today_editor.h 
weekday_editor.h 


Log Message:
Only EAPI on functions needed by external lib/prog etc.

===
RCS file: /cvsroot/enlightenment/e_modules/calendar/src/add_event_dialog.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- add_event_dialog.h  19 Dec 2005 02:02:28 -  1.1
+++ add_event_dialog.h  14 Jan 2006 15:50:22 -  1.2
@@ -3,6 +3,6 @@
 #ifndef FONT_EDITOR_H
 #define FONT_EDITOR_H
 #include "e_mod_main.h"
-EAPI void add_event_show(void *con, void *FontsToModify);
+void add_event_show(void *con, void *FontsToModify);
 #endif
 #endif
===
RCS file: /cvsroot/enlightenment/e_modules/calendar/src/add_todo_dialog.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- add_todo_dialog.h   19 Dec 2005 02:02:28 -  1.1
+++ add_todo_dialog.h   14 Jan 2006 15:50:22 -  1.2
@@ -3,6 +3,6 @@
 #ifndef FONT_EDITOR_H
 #define FONT_EDITOR_H
 #include "e_mod_main.h"
-EAPI void add_todo_show(void *con, void *FontsToModify);
+void add_todo_show(void *con, void *FontsToModify);
 #endif
 #endif
===
RCS file: /cvsroot/enlightenment/e_modules/calendar/src/cal_face_func.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- cal_face_func.h 19 Dec 2005 02:02:28 -  1.1
+++ cal_face_func.h 14 Jan 2006 15:50:22 -  1.2
@@ -3,19 +3,19 @@
 #ifndef CAL_FACE_FUNC_H
 #define CAL_FACE_FUNC_H
 #include "e_mod_main.h"
-EAPI void calendar_face_prev_year(void *data, Evas *e, Evas_Object *obj,void 
*event_info);
-EAPI void calendar_face_next_year(void *data, Evas *e, Evas_Object *obj,void 
*event_info);
-EAPI void calendar_face_next_month(void *data, Evas *e, Evas_Object *obj,void 
*event_info);
-EAPI void calendar_face_prev_month(void *data, Evas *e, Evas_Object *obj,void 
*event_info);
-EAPI void calendar_face_free(Calendar_Face *face);
-EAPI void calendar_face_menu_new(Calendar_Face *face, Calendar *calendar);
-EAPI int  calendar_face_config_cb_timer(void *data);
-EAPI void calendar_face_cb_menu_edit(void *data, E_Menu *m,E_Menu_Item *mi);
-EAPI void calendar_face_start(Calendar *calendar);
-EAPI void calendar_face_cb_mouse_down(void *data, Evas *e, Evas_Object 
*obj,void *event_info);
-EAPI void calendar_face_cb_gmc_change(void *data, E_Gadman_Client 
*gmc,E_Gadman_Change change);
-EAPI void calendar_face_menu_day(day_face *face, Calendar *calendar);
-EAPI Calendar_Face *calendar_face_new(E_Container *con,Calendar *calendar);
+void calendar_face_prev_year(void *data, Evas *e, Evas_Object *obj,void 
*event_info);
+void calendar_face_next_year(void *data, Evas *e, Evas_Object *obj,void 
*event_info);
+void calendar_face_next_month(void *data, Evas *e, Evas_Object *obj,void 
*event_info);
+void calendar_face_prev_month(void *data, Evas *e, Evas_Object *obj,void 
*event_info);
+void calendar_face_free(Calendar_Face *face);
+void calendar_face_menu_new(Calendar_Face *face, Calendar *calendar);
+int  calendar_face_config_cb_timer(void *data);
+void calendar_face_cb_menu_edit(void *data, E_Menu *m,E_Menu_Item *mi);
+void calendar_face_start(Calendar *calendar);
+void calendar_face_cb_mouse_down(void *data, Evas *e, Evas_Object *obj,void 
*event_info);
+void calendar_face_cb_gmc_change(void *data, E_Gadman_Client 
*gmc,E_Gadman_Change change);
+void calendar_face_menu_day(day_face *face, Calendar *calendar);
+Calendar_Face *calendar_face_new(E_Container *con,Calendar *calendar);
 #endif
 #endif
 
===
RCS file: /cvsroot/enlightenment/e_modules/calendar/src/calendar_color_func.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- calendar_color_func.h   19 Dec 2005 02:02:28 -  1.1
+++ calendar_color_func.h   14 Jan 2006 15:50:22 -  1.2
@@ -3,8 +3,8 @@
 #ifndef CALENDAR_COLOR_FUNC_H
 #define CALENDAR_COLOR_FUNC_H
 #include "e_mod_main.h"
-EAPI void calendar_face_set_colors(Calendar *calendar);
-EAPI void update_colors(Calendar *calendar, Calendar_Face *face);
+void calendar_face_set_colors(Calendar *calendar);
+void update_colors(Calendar *calendar, Calendar_Face *face);
 #endif
 #endif
 
===
RCS file: /cvsroot/enlightenment/e_modules/calendar/src/calendar_func.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- calendar_func.h 19 Dec 2005 02:02:28 -  1.1
+++ calendar_func.h 14 Jan 2006 15:50:22 -

E CVS: calendar sebastid

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : sebastid
Project : e_modules
Module  : calendar

Dir : e_modules/calendar/src


Modified Files:
add_event_dialog.c add_todo_dialog.c e_mod_main.c e_mod_main.h 
main_editor.c main_editor.h weekend_editor.c weekend_editor.h 


Log Message:
Fix EAPI.
Remove unused IFDUP #define

===
RCS file: /cvsroot/enlightenment/e_modules/calendar/src/add_event_dialog.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- add_event_dialog.c  8 Jan 2006 15:26:43 -   1.2
+++ add_event_dialog.c  14 Jan 2006 15:48:35 -  1.3
@@ -21,8 +21,6 @@
 static int_add_event_basic_apply_data(E_Config_Dialog *cfd, void 
*data);
 static Evas_Object   *_add_event_basic_create_widgets(E_Config_Dialog 
*cfd,Evas *evas,void *data);
 
-#define IFDUP(src, dst) if(src) dst = strdup(src); else dst = NULL
-
 /* externally accessible functions */
 /***
 / Function: 
===
RCS file: /cvsroot/enlightenment/e_modules/calendar/src/add_todo_dialog.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- add_todo_dialog.c   8 Jan 2006 15:26:43 -   1.2
+++ add_todo_dialog.c   14 Jan 2006 15:48:35 -  1.3
@@ -21,8 +21,6 @@
 static int_add_todo_basic_apply_data(E_Config_Dialog *cfd, void 
*data);
 static Evas_Object   *_add_todo_basic_create_widgets(E_Config_Dialog *cfd,Evas 
*evas,void *data);
 
-#define IFDUP(src, dst) if(src) dst = strdup(src); else dst = NULL
-
 /* externally accessible functions */
 /***
 / Function: 
===
RCS file: /cvsroot/enlightenment/e_modules/calendar/src/e_mod_main.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- e_mod_main.c8 Jan 2006 15:26:43 -   1.3
+++ e_mod_main.c14 Jan 2006 15:48:35 -  1.4
@@ -14,7 +14,7 @@
 static E_Config_DD *conf_font_edd;
 static E_Config_DD *conf_color_edd;
 
-E_Module_Api e_modapi =
+EAPI E_Module_Api e_modapi =
 {
E_MODULE_API_VERSION,
"Calendar"
@@ -33,7 +33,7 @@
 /
 /
 **/
-void *
+EAPI void *
 e_modapi_init(E_Module *module)
 {
Calendar *calendar;
@@ -60,7 +60,7 @@
 /
 **/
 /** int e_modapi_shutdown(E_Module*) - Cleanup */
-int
+EAPI int
 e_modapi_shutdown(E_Module *module)
 {
Calendar *calendar;
@@ -85,7 +85,7 @@
 **/
 /** int e_modapi_save(E_Module*) - Save persistent data */
 /*ie: the calendar->conf stuff  */
-int
+EAPI int
 e_modapi_save(E_Module *module)
 {
Calendar *calendar;
@@ -100,7 +100,7 @@
 /
 **/
 /* * int e_modapi_info(E_Module*) - Setup module specific infomation */
-int
+EAPI int
 e_modapi_info(E_Module *module)
 {
module->icon_file = strdup(PACKAGE_DATA_DIR"/module_icon.png");
@@ -113,7 +113,7 @@
 /
 **/
 /* * int e_modapi_about(E_Module*). - Called when Modules' About Menu is 
invoked. */
-int
+EAPI int
 e_modapi_about(E_Module *module)
 {
e_error_dialog_show(_("Enlightenment calendar Module"),
===
RCS file: /cvsroot/enlightenment/e_modules/calendar/src/e_mod_main.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- e_mod_main.h22 Dec 2005 13:41:41 -  1.3
+++ e_mod_main.h14 Jan 2006 15:48:35 -  1.4
@@ -113,15 +113,18 @@
 };
 
 
-EAPI void  redraw_calendar(Calendar *calendar, int SwitchImage);
+EAPI extern E_Module_Api e_modapi;
+
 EAPI void *e_modapi_init (E_Module *m);
 EAPI int   e_modapi_shutdown (E_Module *m);
 EAPI int   e_modapi_save (E_Module *m);
 EAPI int   e_modapi_info (E_Module *m);
 EAPI int   e_modapi_about(E_Module *m);
-EAPI void  read_conf_files(void *data, E_Menu *m, E_Menu_Item *mi);
-EAPI void  calendar_config_menu_new(Calendar *calendar);
-EAPI int   increment_cal_count();
+
+void  redraw_calendar(Calendar *calendar, int SwitchImage);
+void  read_conf_files(void *data, E_Menu *m, E_Menu_Item *mi);
+void  calendar_config_menu_new(Calendar *calendar);
+int   increment_cal_count();
 
 #include "calendar_color_func.h"
 #include "calendar_text_fun.h"
===
RCS file: /cvsroot/enlightenment/e_modules/calendar/src/main_editor.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- main_editor.c   8 Jan 2006 15:26:43 -   1.5
+++ main_editor.c   14 Jan 2006 15:48:36 -  1.6
@@ -21,7 +21,6 @@
 static int  

E CVS: libs/evas sebastid

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : sebastid
Project : e17
Module  : libs/evas

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


Modified Files:
evas_module.c 


Log Message:
Move comment

===
RCS file: /cvsroot/enlightenment/e17/libs/evas/src/lib/file/evas_module.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- evas_module.c   14 Jan 2006 12:41:02 -  1.3
+++ evas_module.c   14 Jan 2006 15:43:05 -  1.4
@@ -176,7 +176,6 @@
  }
 }
 
-/* will dlclose all the modules loaded and free all the structs */
 Evas_Module *
 evas_module_find_type(Evas_Module_Type type, const char *name)
 {
@@ -254,6 +253,7 @@
  }
 }
 
+/* will dlclose all the modules loaded and free all the structs */
 void
 evas_module_shutdown(void)
 {
@@ -270,6 +270,3 @@
evas_modules = evas_list_remove_list(evas_modules, evas_modules);
  }
 }
-
-
-




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas sebastid

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : sebastid
Project : e17
Module  : libs/evas

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


Modified Files:
evas_main.c 


Log Message:
Formatting.

===
RCS file: /cvsroot/enlightenment/e17/libs/evas/src/lib/canvas/evas_main.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -3 -r1.27 -r1.28
--- evas_main.c 14 Jan 2006 12:13:34 -  1.27
+++ evas_main.c 14 Jan 2006 15:39:57 -  1.28
@@ -626,10 +626,10 @@
/* search on the engines list for the name */
em = evas_module_find_type(EVAS_MODULE_TYPE_ENGINE, name);

-   if(!em) return RENDER_METHOD_INVALID;
+   if (!em) return RENDER_METHOD_INVALID;

eem = (Evas_Module_Engine *)em->data;
-   if(!eem)
+   if (!eem)
  {
eem = malloc(sizeof(Evas_Module_Engine));
em->data = eem;




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/esmart sebastid

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : sebastid
Project : e17
Module  : libs/esmart

Dir : e17/libs/esmart/src/lib/esmart_draggies


Modified Files:
esmart_draggies.c 


Log Message:
Remove deprecated functions.

===
RCS file: 
/cvsroot/enlightenment/e17/libs/esmart/src/lib/esmart_draggies/esmart_draggies.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- esmart_draggies.c   13 Nov 2005 16:20:48 -  1.2
+++ esmart_draggies.c   14 Jan 2006 15:30:34 -  1.3
@@ -15,13 +15,6 @@
 static Evas_Object *esmart_dragable_object_new (Evas * evas);
 static void _esmart_dragable_object_add (Evas_Object * o);
 static void _esmart_dragable_object_del (Evas_Object * o);
-static void _esmart_dragable_object_layer_set (Evas_Object * o, int l);
-static void _esmart_dragable_object_raise (Evas_Object * o);
-static void _esmart_dragable_object_lower (Evas_Object * o);
-static void _esmart_dragable_object_stack_above (Evas_Object * o,
-Evas_Object * above);
-static void _esmart_dragable_object_stack_below (Evas_Object * o,
-Evas_Object * below);
 static void _esmart_dragable_object_move (Evas_Object * o, Evas_Coord x,
  Evas_Coord y);
 static void _esmart_dragable_object_resize (Evas_Object * o, Evas_Coord w,
@@ -227,61 +220,6 @@
 }
 
 static void
-_esmart_dragable_object_layer_set (Evas_Object * o, int l)
-{
-  Esmart_Draggies *data;
-
-  if ((data = evas_object_smart_data_get (o)))
-{
-  evas_object_layer_set (data->obj, l);
-}
-}
-
-static void
-_esmart_dragable_object_raise (Evas_Object * o)
-{
-  Esmart_Draggies *data;
-
-  if ((data = evas_object_smart_data_get (o)))
-{
-  evas_object_raise (data->obj);
-}
-}
-
-static void
-_esmart_dragable_object_lower (Evas_Object * o)
-{
-  Esmart_Draggies *data;
-
-  if ((data = evas_object_smart_data_get (o)))
-{
-  evas_object_lower (data->obj);
-}
-}
-
-static void
-_esmart_dragable_object_stack_above (Evas_Object * o, Evas_Object * above)
-{
-  Esmart_Draggies *data;
-
-  if ((data = evas_object_smart_data_get (o)))
-{
-  evas_object_stack_above (data->obj, above);
-}
-}
-
-static void
-_esmart_dragable_object_stack_below (Evas_Object * o, Evas_Object * below)
-{
-  Esmart_Draggies *data;
-
-  if ((data = evas_object_smart_data_get (o)))
-{
-  evas_object_stack_below (data->obj, below);
-}
-}
-
-static void
 _esmart_dragable_object_move (Evas_Object * o, Evas_Coord x, Evas_Coord y)
 {
   Esmart_Draggies *data;




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/edje sebastid

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : sebastid
Project : e17
Module  : libs/edje

Dir : e17/libs/edje/src/lib


Modified Files:
edje_text.c 


Log Message:
Unused func.

===
RCS file: /cvsroot/enlightenment/e17/libs/edje/src/lib/edje_text.c,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -3 -r1.49 -r1.50
--- edje_text.c 7 Jan 2006 08:54:30 -   1.49
+++ edje_text.c 14 Jan 2006 15:30:00 -  1.50
@@ -263,12 +263,6 @@
return buf;
 }
 
-static void
-_edje_text_finalize(Edje *ed, Edje_Real_Part *ep,
-Edje_Calc_Params *params, Evas_Object *o, int i)
-{
-}
-
 void
 _edje_text_recalc_apply(Edje *ed, Edje_Real_Part *ep,
Edje_Calc_Params *params,




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/esmart sebastid

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : sebastid
Project : e17
Module  : libs/esmart

Dir : e17/libs/esmart/src/lib/esmart_container


Modified Files:
esmart_container.c 


Log Message:
Better prototype

===
RCS file: 
/cvsroot/enlightenment/e17/libs/esmart/src/lib/esmart_container/esmart_container.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -3 -r1.13 -r1.14
--- esmart_container.c  2 Jan 2006 00:29:16 -   1.13
+++ esmart_container.c  14 Jan 2006 15:29:13 -  1.14
@@ -15,7 +15,7 @@
 
 /*** external API ***/
 
-static int (*_sort_func)(void*,void*) = NULL;
+static int (*_sort_func)(Evas_Object *, Evas_Object *) = NULL;
 
 static int
 _sort_cb(void *d1, void *d2)




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: mount sebastid

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : sebastid
Project : e_modules
Module  : mount

Dir : e_modules/mount


Modified Files:
e_mod_main.c 


Log Message:
Free mount points

===
RCS file: /cvsroot/enlightenment/e_modules/mount/e_mod_main.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- e_mod_main.c14 Jan 2006 12:57:38 -  1.11
+++ e_mod_main.c14 Jan 2006 15:22:02 -  1.12
@@ -322,7 +322,17 @@
if (mnt->config_menu_size) e_object_del(E_OBJECT(mnt->config_menu_size));
if (mnt->config_menu) e_object_del(E_OBJECT(mnt->config_menu));
 
-   evas_list_free(mnt->mntpoints);
+   while (mnt->mntpoints)
+ {
+   Mount_Point *point;
+
+   point = mnt->mntpoints->data;
+   if (point->device) free(point->device);
+   if (point->path) free(point->path);
+   if (point->part) free(point->part);
+
+   mnt->mntpoints = evas_list_remove_list(mnt->mntpoints, mnt->mntpoints);
+ }
 
free(mnt->conf);
E_CONFIG_DD_FREE(mnt->conf_edd);




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: e kwo

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir : e16/e/src


Modified Files:
iclass.c 


Log Message:
Fix pseudotransparent iconbox on desk with no background.
===
RCS file: /cvsroot/enlightenment/e16/e/src/iclass.c,v
retrieving revision 1.87
retrieving revision 1.88
diff -u -3 -r1.87 -r1.88
--- iclass.c7 Jan 2006 07:20:58 -   1.87
+++ iclass.c14 Jan 2006 15:17:57 -  1.88
@@ -963,6 +963,7 @@
 {
Imlib_Image*bg;
int flags;
+   int ww, hh;
 
if (!im)
   return NULL;
@@ -972,21 +973,21 @@
if (flags != ICLASS_ATTR_OPAQUE)
  {
bg = pt_get_bg_image(win, w, h, flags & ICLASS_ATTR_GLASS);
-   pt_blend(bg, im, flags & ICLASS_ATTR_USE_CM);
+   if (bg)
+ {
+pt_blend(bg, im, flags & ICLASS_ATTR_USE_CM);
+return bg;
+ }
  }
-   else
 #else
flags = image_type;
win = None;
 #endif
-   {
-  int ww, hh;
 
-  imlib_context_set_image(im);
-  ww = imlib_image_get_width();
-  hh = imlib_image_get_height();
-  bg = imlib_create_cropped_scaled_image(0, 0, ww, hh, w, h);
-   }
+   imlib_context_set_image(im);
+   ww = imlib_image_get_width();
+   hh = imlib_image_get_height();
+   bg = imlib_create_cropped_scaled_image(0, 0, ww, hh, w, h);
 
return bg;
 }




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: rain sebastid

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : sebastid
Project : e_modules
Module  : rain

Dir : e_modules/rain


Modified Files:
e_mod_main.c 


Log Message:
Formatting.

===
RCS file: /cvsroot/enlightenment/e_modules/rain/e_mod_main.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -3 -r1.13 -r1.14
--- e_mod_main.c14 Jan 2006 10:54:09 -  1.13
+++ e_mod_main.c14 Jan 2006 15:14:29 -  1.14
@@ -19,8 +19,8 @@
  "Rain"
 };
 
-EAPI void 
-*e_modapi_init(E_Module *m)
+EAPI void *
+e_modapi_init(E_Module *m)
 {
Rain *rain;
 




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/e raster

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/bin


Modified Files:
e_fileman_file.c 


Log Message:


typooow!

===
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_fileman_file.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -3 -r1.15 -r1.16
--- e_fileman_file.c10 Jan 2006 08:32:27 -  1.15
+++ e_fileman_file.c14 Jan 2006 14:53:29 -  1.16
@@ -417,7 +417,7 @@
if (!exe)
  {
e_error_dialog_show(_("Run Error"),
-   _("3 Enlightenment was unable to fork a child 
process:\n"
+   _("Enlightenment was unable to fork a child 
process:\n"
  "\n"
  "%s\n"
  "\n"),




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: e kwo

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir : e16/e/src


Modified Files:
desktops.c desktops.h ecompmgr.c eobj.c eobj.h setup.c 


Log Message:
Do full composite repaint on VT switch.
===
RCS file: /cvsroot/enlightenment/e16/e/src/desktops.c,v
retrieving revision 1.218
retrieving revision 1.219
diff -u -3 -r1.218 -r1.219
--- desktops.c  10 Jan 2006 18:58:15 -  1.218
+++ desktops.c  14 Jan 2006 14:30:51 -  1.219
@@ -451,7 +451,7 @@
desks.current = dsk;
 #if !USE_BG_WIN_ON_ALL_DESKS   /* TBD - Use per virtual root bg window? */
/* Add background window */
-   eo = EobjWindowCreate(EOBJ_TYPE_MISC_NR, 0, 0, VRoot.w, VRoot.h,
+   eo = EobjWindowCreate(EOBJ_TYPE_ROOT_BG, 0, 0, VRoot.w, VRoot.h,
  0, "Root-bg");
eo->floating = 0;
eo->fade = eo->shadow = 0;
===
RCS file: /cvsroot/enlightenment/e16/e/src/desktops.h,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -3 -r1.21 -r1.22
--- desktops.h  8 Jan 2006 23:44:13 -   1.21
+++ desktops.h  14 Jan 2006 14:30:51 -  1.22
@@ -38,6 +38,7 @@
EObjo;
unsigned intnum;
charviewable;
+   charvisible;
struct _button *tag;
int current_area_x;
int current_area_y;
===
RCS file: /cvsroot/enlightenment/e16/e/src/ecompmgr.c,v
retrieving revision 1.95
retrieving revision 1.96
diff -u -3 -r1.95 -r1.96
--- ecompmgr.c  12 Jan 2006 21:37:33 -  1.95
+++ ecompmgr.c  14 Jan 2006 14:30:51 -  1.96
@@ -47,7 +47,10 @@
 #include 
 #include 
 
-#define ENABLE_SHADOWS 1
+#define ENABLE_SHADOWS  1
+
+#define USE_DESK_EXPOSE 0
+#define USE_DESK_VISIBILITY 1
 
 #define ENABLE_DEBUG   1
 #if ENABLE_DEBUG
@@ -245,7 +248,7 @@
return rgn;
 }
 
-#if USE_EXPOSE /* FIXME - Need this? */
+#if USE_DESK_EXPOSE
 static  XserverRegion
 ERegionCreateFromRects(XRectangle * rectangles, int nrectangles)
 {
@@ -542,6 +545,42 @@
 }
 #endif
 
+#if USE_DESK_VISIBILITY
+static void
+ECompMgrDeskVisibility(EObj * eo, XEvent * ev)
+{
+   Desk   *dsk;
+   int visible;
+
+   switch (eo->type)
+ {
+ default:
+   return;
+ case EOBJ_TYPE_DESK:
+   dsk = (Desk *) eo;
+   break;
+ case EOBJ_TYPE_ROOT_BG:
+   dsk = DeskGet(0);
+   break;
+ }
+
+   visible = dsk->viewable && ev->xvisibility.state != VisibilityFullyObscured;
+   if (dsk->visible == visible)
+  return;
+   dsk->visible = visible;
+   if (!visible)
+  return;
+
+   /*
+* A viewable desk is no longer fully obscured. Assume this happened due
+* to a VT switch to our display and repaint all. This may happen in other
+* situations as well, but most likely when we must repaint everything
+* anyway.
+*/
+   ECompMgrDamageAll();
+}
+#endif
+
 /*
  * Root (?)
  */
@@ -1392,6 +1431,11 @@
if (eo->opacity == 0)
   eo->opacity = 0x;
 
+   if (eo->type == EOBJ_TYPE_DESK || eo->type == EOBJ_TYPE_ROOT_BG)
+ {
+   ESelectInputAdd(eo->win, VisibilityChangeMask);
+ }
+
cw->picture = None;
cw->pixmap = None;
 
@@ -2038,7 +2082,7 @@
return;
 }
 
-#if USE_EXPOSE /* FIXME - Need this? */
+#if USE_DESK_EXPOSE/* FIXME - Remove? */
 static void
 ECompMgrRootExpose(void *prm __UNUSED__, XEvent * ev)
 {
@@ -2154,14 +2198,14 @@
  {
  case ECM_MODE_ROOT:
XCompositeRedirectSubwindows(disp, VRoot.win, CompositeRedirectManual);
-   ESelectInputAdd(VRoot.win,
-   SubstructureNotifyMask |
-   ExposureMask | StructureNotifyMask);
+#if USE_DESK_EXPOSE/* FIXME - Remove? */
+   ESelectInputAdd(VRoot.win, ExposureMask);
+#endif
break;
  case ECM_MODE_WINDOW:
-   ESelectInputAdd(VRoot.win,
-   SubstructureNotifyMask |
-   ExposureMask | StructureNotifyMask);
+#if USE_DESK_EXPOSE/* FIXME - Remove? */
+   ESelectInputAdd(VRoot.win, ExposureMask);
+#endif
break;
  case ECM_MODE_AUTO:
XCompositeRedirectSubwindows(disp, VRoot.win,
@@ -2335,6 +2379,12 @@
break;
 #endif
 
+#if USE_DESK_VISIBILITY
+ case VisibilityNotify:
+   ECompMgrDeskVisibility(eo, ev);
+   break;
+#endif
+
  case EX_EVENT_DAMAGE_NOTIFY:
ECompMgrWinDamage(eo, ev);
break;
@@ -2437,7 +2487,7 @@
   ECompMgrWinCirculate(eo, ev);
break;
 
-#if USE_EXPOSE /* FIXME - Need this? */
+#if USE_DESK_EXPOSE/* FIXME - Remove? */
  case Expose:
if (Conf_compmgr.shadows.mode != ECM_SHADOWS_OFF)
   ECompMgrRootExpose(prm, ev

E CVS: libs/evas raster

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/evas

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


Modified Files:
Makefile.am 


Log Message:


oops - a little too much copy & paste :)

===
RCS file: 
/cvsroot/enlightenment/e17/libs/evas/src/modules/engines/software_qtopia/Makefile.am,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- Makefile.am 14 Jan 2006 12:13:37 -  1.1
+++ Makefile.am 14 Jan 2006 13:42:35 -  1.2
@@ -24,7 +24,7 @@
 evas_outbuf.c \
 evas_qt_main.cpp
 
-module_la_LIBADD   = @@qt_libs@@ 
../cairo_common/libevas_engine_cairo_common.la
+module_la_LIBADD   = @qt_libs@
 module_la_LDFLAGS  = -module -avoid-version -L$(top_builddir)/src/lib 
-L$(top_builddir)/src/lib/.libs
 
 module_la_DEPENDENCIES = \




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: tclock devilhorns

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : tclock

Dir : e_modules/tclock


Modified Files:
e_mod_main.c 


Log Message:
Removal of the strdup.
===
RCS file: /cvsroot/enlightenment/e_modules/tclock/e_mod_main.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- e_mod_main.c14 Jan 2006 11:18:01 -  1.9
+++ e_mod_main.c14 Jan 2006 12:59:55 -  1.10
@@ -258,7 +258,7 @@
 
snprintf(buff, sizeof(buff), PACKAGE_DATA_DIR"/tclock.edj");
if (!e_theme_edje_object_set(o, "base/theme/modules/tclock", 
"modules/tclock/main"))
- edje_object_file_set(o, strdup(buff), "modules/tclock/main");
+ edje_object_file_set(o, buff, "modules/tclock/main");
evas_object_show(o);
 
o = evas_object_rectangle_add(con->bg_evas);




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: slideshow devilhorns

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : slideshow

Dir : e_modules/slideshow


Modified Files:
e_mod_main.c 


Log Message:
Removal of the strdup.
===
RCS file: /cvsroot/enlightenment/e_modules/slideshow/e_mod_main.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- e_mod_main.c14 Jan 2006 11:09:00 -  1.8
+++ e_mod_main.c14 Jan 2006 12:59:09 -  1.9
@@ -294,7 +294,7 @@
 
snprintf(buff, sizeof(buff), PACKAGE_DATA_DIR"/slideshow.edj");
if (!e_theme_edje_object_set(o, "base/theme/modules/slideshow", 
"modules/slideshow/main"))
- edje_object_file_set(o, strdup(buff), "modules/slideshow/main");
+ edje_object_file_set(o, buff, "modules/slideshow/main");
evas_object_show(o);
 
o = evas_object_rectangle_add(sf->evas);




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: screenshot devilhorns

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : screenshot

Dir : e_modules/screenshot


Modified Files:
e_mod_main.c 


Log Message:
Removal of the strdup.
===
RCS file: /cvsroot/enlightenment/e_modules/screenshot/e_mod_main.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -3 -r1.15 -r1.16
--- e_mod_main.c14 Jan 2006 11:23:36 -  1.15
+++ e_mod_main.c14 Jan 2006 12:58:34 -  1.16
@@ -292,7 +292,7 @@
 
snprintf(buff, sizeof(buff), PACKAGE_DATA_DIR"/screenshot.edj");
if (!e_theme_edje_object_set(o, 
"base/theme/modules/screenshot","modules/screenshot/main"))
- edje_object_file_set(o, strdup(buff), "modules/screenshot/main");
+ edje_object_file_set(o, buff, "modules/screenshot/main");
edje_object_signal_emit(o, "passive", "");
evas_object_show(o);
 




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: mount devilhorns

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : mount

Dir : e_modules/mount


Modified Files:
e_mod_main.c 


Log Message:
Removal of the strdup.
===
RCS file: /cvsroot/enlightenment/e_modules/mount/e_mod_main.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- e_mod_main.c14 Jan 2006 11:18:30 -  1.10
+++ e_mod_main.c14 Jan 2006 12:57:38 -  1.11
@@ -490,7 +490,7 @@
o = edje_object_add(mntbox->evas);
mntbox->bar_object = o;
if (!e_theme_edje_object_set(o, "base/theme/modules/mount", 
"modules/mount/main"))
- edje_object_file_set(o, strdup(buffer), "modules/mount/main");
+ edje_object_file_set(o, buffer, "modules/mount/main");
evas_object_show(o);
 
o = evas_object_rectangle_add(mntbox->evas);
@@ -535,7 +535,7 @@
 
o = edje_object_add(mntbox->evas);
if (!e_theme_edje_object_set(o, "base/theme/modules/mount", 
"modules/mount/icon"))
- edje_object_file_set(o, strdup(buffer), "modules/mount/icon");
+ edje_object_file_set(o, buffer, "modules/mount/icon");
evas_object_resize(o, mntbox->mnt->conf->icon_size, 
mntbox->mnt->conf->icon_size);
edje_object_calc_force(o);
edje_object_part_geometry_get(o, "item", &x, &y, &w, &h);
@@ -671,7 +671,7 @@
evas_object_intercept_move_callback_add(o, _mount_icon_cb_intercept_move, 
mnticon);
evas_object_intercept_resize_callback_add(o, 
_mount_icon_cb_intercept_resize, mnticon);
if (!e_theme_edje_object_set(o, "base/theme/modules/mount", 
"modules/mount/icon"))
- edje_object_file_set(o, strdup(buffer), "modules/mount/icon");
+ edje_object_file_set(o, buffer, "modules/mount/icon");
evas_object_show(o);
 
o = edje_object_add(mntbox->evas);
@@ -679,7 +679,7 @@
edje_extern_object_min_size_set(o, mntbox->mnt->conf->icon_size, 
mntbox->mnt->conf->icon_size);
evas_object_resize(o, mntbox->mnt->conf->icon_size, 
mntbox->mnt->conf->icon_size);
if (!e_theme_edje_object_set(o, "base/theme/modules/mount", 
"modules/mount/icon"))   
- edje_object_file_set(o, strdup(buffer), "modules/mount/icon");
+ edje_object_file_set(o, buffer, "modules/mount/icon");
edje_object_signal_callback_add(o, "mouse,down,1", "icon", 
_mount_icon_cb_edje_mouse_down, mnticon);
edje_object_part_swallow(mnticon->bg_object, "item", o);
evas_object_show(o);
@@ -694,7 +694,7 @@
o = edje_object_add(mntbox->evas);
mnticon->txt_object = o;
if (!e_theme_edje_object_set(o, "base/theme/modules/mount", 
"modules/mount/icon"))   
- edje_object_file_set(o, strdup(buffer), "modules/mount/icon");
+ edje_object_file_set(o, buffer, "modules/mount/icon");
evas_object_show(o);

char *strip = strrchr(point->path, '/');
@@ -719,7 +719,7 @@
 
o = edje_object_add(mntbox->evas);
if (!e_theme_edje_object_set(o, "base/theme/modules/mount", 
"modules/mount/icon"))   
- edje_object_file_set(o, strdup(buffer), "modules/mount/icon");
+ edje_object_file_set(o, buffer, "modules/mount/icon");
evas_object_resize(o, mntbox->mnt->conf->icon_size, 
mntbox->mnt->conf->icon_size);
edje_object_calc_force(o);
edje_object_part_geometry_get(o, "item", &x, &y, &w, &h);
@@ -819,7 +819,7 @@
 
o = edje_object_add(mntbox->evas);
if (!e_theme_edje_object_set(o, "base/theme/modules/mount", 
"modules/mount/icon"))  
- edje_object_file_set(o, strdup(buffer), "modules/mount/icon");
+ edje_object_file_set(o, buffer, "modules/mount/icon");
evas_object_resize(o, mntbox->mnt->conf->icon_size, 
mntbox->mnt->conf->icon_size);
edje_object_calc_force(o);
edje_object_part_geometry_get(o, "item", &x, &y, &w, &h);




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: monitor devilhorns

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : monitor

Dir : e_modules/monitor


Modified Files:
e_mod_main.c 


Log Message:
Removal of the strdup.
===
RCS file: /cvsroot/enlightenment/e_modules/monitor/e_mod_main.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- e_mod_main.c14 Jan 2006 11:56:45 -  1.11
+++ e_mod_main.c14 Jan 2006 12:54:30 -  1.12
@@ -355,7 +355,7 @@
o = edje_object_add(con->bg_evas);
face->monitor_object = o;
if (!e_theme_edje_object_set(o, "base/theme/modules/monitor", 
"modules/monitor/main"))
- edje_object_file_set(o, strdup(buff), "monitor/main");
+ edje_object_file_set(o, buff, "monitor/main");
evas_object_show(o);
/* setup res table */
o = e_table_add(con->bg_evas);
@@ -369,7 +369,7 @@
{
face->hostname = edje_object_add(con->bg_evas);
   if (!e_theme_edje_object_set(face->hostname, 
"base/theme/modules/monitor", "modules/monitor/host"))
-   edje_object_file_set(face->hostname, strdup(buff), 
"modules/monitor/host");
+   edje_object_file_set(face->hostname, buff, "modules/monitor/host");
_add_sensor(face,face->hostname,config->Horz);
edje_object_part_text_set(face->hostname,"sysname",u_buf.sysname);
edje_object_part_text_set(face->hostname,"release",u_buf.release);
@@ -384,7 +384,7 @@
   o = edje_object_add(con->bg_evas);
   face->cpu = o;
   if (!e_theme_edje_object_set(o, "base/theme/modules/monitor", 
"modules/monitor/cpu"))
-  edje_object_file_set(o, strdup(buff), "modules/monitor/cpu");
+  edje_object_file_set(o, buff, "modules/monitor/cpu");
   _add_sensor(face, face->cpu,config->Horz);
   /* add cpu chart */
   chart_con = chart_container_new(con->bg_evas,0,0,0,0);
@@ -403,7 +403,7 @@
   o = edje_object_add(con->bg_evas);
   face->mem = o;
   if (!e_theme_edje_object_set(o, "base/theme/modules/monitor", 
"modules/monitor/mem"))
-   edje_object_file_set(o, strdup(buff), "modules/monitor/mem");
+   edje_object_file_set(o, buff, "modules/monitor/mem");
   _add_sensor(face, face->mem,config->Horz);
   /* add mem charts */
   chart_con = chart_container_new(con->bg_evas,0,0,0,0);
@@ -429,7 +429,7 @@
   o = edje_object_add(con->bg_evas);
   face->net = o;
   if (!e_theme_edje_object_set(o, "base/theme/modules/monitor", 
"modules/monitor/net"))
-   edje_object_file_set(o, strdup(buff), "modules/monitor/net");
+   edje_object_file_set(o, buff, "modules/monitor/net");
   _add_sensor(face, face->net, config->Horz);
   /* add net charts */
   chart_con = chart_container_new(con->bg_evas,0,0,0,0);
@@ -456,7 +456,7 @@
   o = edje_object_add(con->bg_evas);
   face->wlan = o;
   if (!e_theme_edje_object_set(o, "base/theme/modules/monitor", 
"modules/monitor/wlan"))
-   edje_object_file_set(o, strdup(buff), "modules/monitor/wlan");
+   edje_object_file_set(o, buff, "modules/monitor/wlan");
   _add_sensor(face, face->wlan,config->Horz);
   /* add wlan charts */
   chart_con = chart_container_new(con->bg_evas,0,0,0,0);
@@ -472,7 +472,7 @@
{
   face->uptime = edje_object_add(con->bg_evas);
   if (!e_theme_edje_object_set(face->uptime, "base/theme/modules/monitor", 
"modules/monitor/uptime"))
- edje_object_file_set(face->uptime, strdup(buff), 
"modules/monitor/uptime");   
+ edje_object_file_set(face->uptime, buff, "modules/monitor/uptime");   
   _add_sensor(face, face->uptime,config->Horz);
   sprintf (u_date_time,"uptime: %ld days, %ld:%02ld:%02ld", 
s_info.uptime / day, (s_info.uptime % day) / hour, 
@@ -490,7 +490,7 @@
   date = *localtime(&now);
   face->time = edje_object_add(con->bg_evas);
   if (!e_theme_edje_object_set(face->time, "base/theme/modules/monitor", 
"modules/monitor/time"))
-   edje_object_file_set(face->time, strdup(buff), "modules/monitor/time"); 
+   edje_object_file_set(face->time, buff, "modules/monitor/time"); 
   _add_sensor(face, face->time,config->Horz);
   sprintf 
(curr_time,"%02d:%02d:%02d",date.tm_hour,date.tm_min,date.tm_sec);
   edje_object_part_text_set(face->time,"time",curr_time);




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas doursse

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : libs/evas

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


Modified Files:
Makefile.am 


Log Message:
xcb engine does not depend on cairo
===
RCS file: 
/cvsroot/enlightenment/e17/libs/evas/src/modules/engines/software_xcb/Makefile.am,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- Makefile.am 14 Jan 2006 12:13:38 -  1.1
+++ Makefile.am 14 Jan 2006 12:48:47 -  1.2
@@ -9,10 +9,10 @@
   -I$(top_srcdir)/src/lib \
   -I$(top_srcdir)/src/lib/include \
   @FREETYPE_CFLAGS@ @xcb_cflags@
-  
+
 if BUILD_ENGINE_SOFTWARE_XCB
 
-pkgdir   = 
$(libdir)/evas/modules/engines/software_xcb/$(MODULE_ARCH)
+pkgdir  = 
$(libdir)/evas/modules/engines/software_xcb/$(MODULE_ARCH)
 
 pkg_LTLIBRARIES = module.la
 
@@ -24,7 +24,7 @@
 evas_xcb_color.c \
 evas_xcb_main.c
 
-module_la_LIBADD   = @xcb_libs@ 
../cairo_common/libevas_engine_cairo_common.la
+module_la_LIBADD   = @xcb_libs@
 module_la_LDFLAGS  = -module -avoid-version -L$(top_builddir)/src/lib 
-L$(top_builddir)/src/lib/.libs
 
 module_la_DEPENDENCIES = \




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas raster

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/evas

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


Modified Files:
evas_module.c 


Log Message:


remove printfs

===
RCS file: /cvsroot/enlightenment/e17/libs/evas/src/lib/file/evas_module.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- evas_module.c   14 Jan 2006 12:36:25 -  1.2
+++ evas_module.c   14 Jan 2006 12:41:02 -  1.3
@@ -125,7 +125,7 @@
Evas_List *l;
int new_id = 1;

-   printf("[init modules]\n");
+//   printf("[init modules]\n");
evas_module_paths_init();
for (l = evas_module_paths; l; l = l->next)
  {
@@ -136,7 +136,7 @@
mp = l->data;

if (!(dir = opendir(mp->path))) break;
-   printf("[evas module] searching modules on %s\n", mp->path);
+// printf("[evas module] searching modules on %s\n", mp->path);
while (de = readdir(dir))
  {
 char *buf;
@@ -168,7 +168,7 @@
new_id++;
 }
}
- printf("[evas module] including module path %s/%s of type 
%d\n",em->path, em->name, em->type);
+//   printf("[evas module] including module path %s/%s of type 
%d\n",em->path, em->name, em->type);
  evas_modules = evas_list_append(evas_modules, em);
   }
 free(buf);




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas raster

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/evas

Dir : e17/libs/evas/src/lib


Modified Files:
Makefile.am 


Log Message:


anmd fix dlopen link detection , actually check for dladdr as it's a gnu
extension etc.

===
RCS file: /cvsroot/enlightenment/e17/libs/evas/src/lib/Makefile.am,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -3 -r1.18 -r1.19
--- Makefile.am 14 Jan 2006 12:13:34 -  1.18
+++ Makefile.am 14 Jan 2006 12:36:25 -  1.19
@@ -24,7 +24,7 @@
  imaging/libevas_imaging.la \
  engines/common/libevas_engine_common.la \
  -lm \
- -ldl \
+ @dlopen_libs@ \
  @FREETYPE_LIBS@ \
  @png_libs@ @jpeg_libs@ @eet_libs@ @edb_libs@ 
 




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas raster

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/evas

Dir : e17/libs/evas


Modified Files:
configure.in 


Log Message:


anmd fix dlopen link detection , actually check for dladdr as it's a gnu
extension etc.

===
RCS file: /cvsroot/enlightenment/e17/libs/evas/configure.in,v
retrieving revision 1.138
retrieving revision 1.139
diff -u -3 -r1.138 -r1.139
--- configure.in14 Jan 2006 12:13:33 -  1.138
+++ configure.in14 Jan 2006 12:36:25 -  1.139
@@ -124,6 +124,21 @@
   [ AC_MSG_ERROR(Freetype isn't installed) ]
 )
 
+dlopen_libs=""
+AC_CHECK_FUNCS(dlopen, res=yes, res=no)
+if test "x$res" = "xyes"; then
+  AC_CHECK_FUNCS(dladdr, AC_DEFINE(HAVE_DLADDR))
+else
+  AC_CHECK_LIB(dl, dlopen, res=yes, res=no)
+  if test "x$res" = "xyes"; then
+AC_CHECK_LIB(dl, dladdr, AC_DEFINE(HAVE_DLADDR))
+dlopen_libs=-ldl
+  else
+AC_MSG_ERROR(Cannot find dlopen)
+  fi
+fi
+AC_SUBST(dlopen_libs)
+
 #
 ## Engines
 




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas raster

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/evas

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


Modified Files:
evas_module.c 


Log Message:


anmd fix dlopen link detection , actually check for dladdr as it's a gnu
extension etc.

===
RCS file: /cvsroot/enlightenment/e17/libs/evas/src/lib/file/evas_module.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- evas_module.c   14 Jan 2006 12:13:36 -  1.1
+++ evas_module.c   14 Jan 2006 12:36:25 -  1.2
@@ -53,7 +53,6 @@
char *path;
int i;
Evas_List *paths = NULL;
-   Dl_info evas_dl;

/* 1. ~/.evas/modules/ */
prefix = getenv("HOME");
@@ -65,23 +64,36 @@
  paths = evas_list_append(paths,path);
else
  free(path);
-   
+
 #ifdef HAVE_DLADDR
-   if (dladdr(evas_module_paths_init, &evas_dl))
  {
-   int length;
-   
-   length = strlen(rindex(evas_dl.dli_fname, '/'));
-   path = malloc(strlen(evas_dl.dli_fname) - length + 
strlen("/evas/modules") + 1);
-   strncpy(path, evas_dl.dli_fname, strlen(evas_dl.dli_fname) - length);
-   strcat(path, "/evas/modules");
-   if (evas_file_path_exists(path))
- paths = evas_list_append(paths, path);
-   else
- free(path);
+   Dl_info evas_dl;
+   /* 3. libevas.so/../evas/modules/ */
+   if (dladdr(evas_module_paths_init, &evas_dl))
+ {
+int length;
+
+if (strrchr(evas_dl.dli_fname, '/'))
+  {
+ length = strlen(strrchr(evas_dl.dli_fname, '/'));
+ path = malloc(strlen(evas_dl.dli_fname) - length + 
+   strlen("/evas/modules") + 1);
+ if (path)
+   {
+  strncpy(path, evas_dl.dli_fname, 
+  strlen(evas_dl.dli_fname) - length);
+  path[strlen(evas_dl.dli_fname) - length] = 0;
+  strcat(path, "/evas/modules");
+  if (evas_file_path_exists(path))
+paths = evas_list_append(paths, path);
+  else
+free(path);
+   }
+  }
+ }
  }
 #else
-   /* 2. PREFIX/evas/modules/ */
+   /* 3. PREFIX/evas/modules/ */
prefix = PACKAGE_LIB_DIR; 
path = malloc(strlen(prefix) + 1 + strlen("/evas/modules"));
strcpy(path, prefix);




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/e devilhorns

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : devilhorns
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/modules/pager


Modified Files:
e_mod_main.c 


Log Message:
Patch from David Stevenson to stop pager module causing E to segfault when 
setting the number of desks via enlightenment_remote. Tested, works
===
RCS file: /cvsroot/enlightenment/e17/apps/e/src/modules/pager/e_mod_main.c,v
retrieving revision 1.161
retrieving revision 1.162
diff -u -3 -r1.161 -r1.162
--- e_mod_main.c11 Jan 2006 13:55:20 -  1.161
+++ e_mod_main.c14 Jan 2006 12:30:46 -  1.162
@@ -1462,6 +1462,21 @@
else dh = 0;
dh *= (desks_y - face->ynum);
 
+   /* Loop to add new desks */
+   for (x = 0; x < desks_x; x++)
+ {
+for (y = 0; y < desks_y; y++)
+  {
+ if ((x >= face->xnum) || (y >= face->ynum))
+   {
+  /* add desk */
+  desk = e_desk_at_xy_get(ev->zone, x, y);
+  pd = _pager_desk_new(face, desk, x, y);
+  if (pd)
+face->desks = evas_list_append(face->desks, pd);
+   }
+  }
+ }
/* Loop to remove extra desks */
for (l2 = face->desks; l2;)
  {
@@ -1480,21 +1495,6 @@
  _pager_desk_free(pd);
   }
  }
-   /* Loop to add new desks */
-   for (x = 0; x < desks_x; x++)
- {
-for (y = 0; y < desks_y; y++)
-  {
- if ((x >= face->xnum) || (y >= face->ynum))
-   {
-  /* add desk */
-  desk = e_desk_at_xy_get(ev->zone, x, y);
-  pd = _pager_desk_new(face, desk, x, y);
-  if (pd)
-face->desks = evas_list_append(face->desks, pd);
-   }
-  }
- }
 
face->xnum = desks_x;
face->ynum = desks_y;




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas raster

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/evas

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


Modified Files:
Makefile.am evas_path.c 
Added Files:
evas_module.c 


Log Message:


initial import fo loadable engine modules for evas - from jorge zappie :)

===
RCS file: /cvsroot/enlightenment/e17/libs/evas/src/lib/file/Makefile.am,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- Makefile.am 3 Sep 2005 19:42:28 -   1.8
+++ Makefile.am 14 Jan 2006 12:13:36 -  1.9
@@ -12,6 +12,7 @@
 
 noinst_LTLIBRARIES  = libevas_file.la
 libevas_file_la_SOURCES  = \
-evas_path.c
+evas_path.c \
+evas_module.c
 
 libevas_file_la_DEPENDENCIES = $(top_builddir)/config.h
===
RCS file: /cvsroot/enlightenment/e17/libs/evas/src/lib/file/evas_path.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- evas_path.c 18 Jun 2005 01:00:32 -  1.10
+++ evas_path.c 14 Jan 2006 12:13:36 -  1.11
@@ -52,8 +52,8 @@
 {
struct stat st;
 
-   if (stat(path, &st) != -1) return 0;
-   return 1;
+   if (!stat(path, &st)) return 1;
+   return 0;
 }
 
 int
@@ -61,7 +61,7 @@
 {
struct stat st;
 
-   if (stat(path, &st) != -1) return 0;
+   if (stat(path, &st) == -1) return 0;
if (S_ISREG(st.st_mode)) return 1;
return 0;
 }
@@ -71,7 +71,7 @@
 {
struct stat st;
 
-   if (stat(path, &st) != -1) return 0;
+   if (stat(path, &st) == -1) return 0;
if (S_ISDIR(st.st_mode)) return 1;
return 0;
 }




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas raster

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/evas

Dir : e17/libs/evas/src/bin


Modified Files:
Makefile.am evas_buffer_main.c evas_cairo_x11_main.c 
evas_directfb_main.c evas_directfb_window.c evas_fb_main.c 
evas_gl_x11_main.c evas_software_qtopia_main.cpp 
evas_software_x11_perf_load.c evas_software_x11_perf_test.c 
evas_software_xcb_perf_load.c evas_software_xcb_perf_test.c 
evas_xrender_x11_main.c 


Log Message:


initial import fo loadable engine modules for evas - from jorge zappie :)

===
RCS file: /cvsroot/enlightenment/e17/libs/evas/src/bin/Makefile.am,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -3 -r1.16 -r1.17
--- Makefile.am 6 Oct 2005 08:47:12 -   1.16
+++ Makefile.am 14 Jan 2006 12:13:34 -  1.17
@@ -1,7 +1,7 @@
 MAINTAINERCLEANFILES = Makefile.in moc_evas_software_qtopia_main.cpp
 
 INCLUDES = \
--I. -I$(top_srcdir)/src/lib -I$(top_srcdir) \
+-I. -I$(top_srcdir)/src/modules/engines -I$(top_srcdir)/src/lib 
-I$(top_srcdir) \
 @DIRECTFB_CFLAGS@ @qt_cflags@ @gl_cflags@
 
 bin_PROGRAMS = \
===
RCS file: /cvsroot/enlightenment/e17/libs/evas/src/bin/evas_buffer_main.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- evas_buffer_main.c  2 Apr 2003 08:00:29 -   1.2
+++ evas_buffer_main.c  14 Jan 2006 12:13:34 -  1.3
@@ -14,6 +14,7 @@
 
if ((argc >= 3) && (!strcmp(argv[1], "-rot")))
   rot = atoi(argv[2]);
+   evas_init();
evas = evas_new();
evas_output_method_set(evas, evas_render_method_lookup("buffer"));
evas_output_size_set(evas, win_w, win_h);
@@ -42,5 +43,6 @@
loop();
evas_render(evas);
  }
+   evas_shutdown();
return 0;
 }
===
RCS file: /cvsroot/enlightenment/e17/libs/evas/src/bin/evas_cairo_x11_main.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- evas_cairo_x11_main.c   25 Jul 2005 09:55:47 -  1.4
+++ evas_cairo_x11_main.c   14 Jan 2006 12:13:34 -  1.5
@@ -23,6 +23,7 @@
exit(-1);
  }
/* test evas_free  :) */
+   evas_init();
evas = evas_new();
evas_output_method_set(evas, evas_render_method_lookup("cairo_x11"));
evas_output_size_set(evas, win_w, win_h);
@@ -134,4 +135,5 @@
   usleep(10);
  }
return 0;
+   evas_shutdown();
 }
===
RCS file: /cvsroot/enlightenment/e17/libs/evas/src/bin/evas_directfb_main.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- evas_directfb_main.c1 Nov 2005 01:40:20 -   1.8
+++ evas_directfb_main.c14 Jan 2006 12:13:34 -  1.9
@@ -57,6 +57,7 @@
DFBCHECK(dfb->GetInputDevice(dfb, DIDID_MOUSE, &mouse));
DFBCHECK (dfb->CreateInputEventBuffer (dfb, DICAPS_ALL, DFB_TRUE, &buffer));
 
+   evas_init();
evas = evas_new();
evas_output_method_set(evas, evas_render_method_lookup("directfb"));
evas_output_size_set(evas, win_w, win_h);
@@ -127,5 +128,6 @@
primary->Release(primary);
dfb->Release(dfb);
 
-   return 42;
+   evas_shutdown();
+   return 0;
 }
===
RCS file: /cvsroot/enlightenment/e17/libs/evas/src/bin/evas_directfb_window.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- evas_directfb_window.c  29 Oct 2005 09:14:41 -  1.9
+++ evas_directfb_window.c  14 Jan 2006 12:13:34 -  1.10
@@ -237,6 +237,7 @@
  window1->RaiseToTop( window1 );
  upper = window1;
  {
+   evas_init();
evas = evas_new();
evas_output_method_set(evas, evas_render_method_lookup("directfb"));
evas_output_size_set(evas, 240, 320);
@@ -413,5 +414,6 @@
  bgsurface->Release( bgsurface );
  dfb->Release( dfb );
 
- return 42;
+   evas_shutdown();
+   return 0;
 }
===
RCS file: /cvsroot/enlightenment/e17/libs/evas/src/bin/evas_fb_main.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- evas_fb_main.c  8 Nov 2002 08:02:12 -   1.1
+++ evas_fb_main.c  14 Jan 2006 12:13:34 -  1.2
@@ -13,6 +13,7 @@
 
if ((argc >= 3) && (!strcmp(argv[1], "-rot")))
   rot = atoi(argv[2]);
+   evas_init();
evas = evas_new();
evas_output_method_set(evas, evas_render_method_lookup("fb"));
evas_output_size_set(evas, win_w, win_h);
@@ -37,5 +38,6 @@
loop();
evas_render(evas);
  }
+   evas_shutdown();
return 0;
 }
===
RCS file: /cvsroot/enlightenment/e17/libs/evas/src/bin/evas_gl_x11_main.c,v
retrieving revision 1.6

E CVS: libs/evas raster

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/evas

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


Modified Files:
Makefile.am evas_common.h evas_private.h 


Log Message:


initial import fo loadable engine modules for evas - from jorge zappie :)

===
RCS file: /cvsroot/enlightenment/e17/libs/evas/src/lib/include/Makefile.am,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- Makefile.am 2 Oct 2005 15:15:44 -   1.8
+++ Makefile.am 14 Jan 2006 12:13:36 -  1.9
@@ -2,15 +2,6 @@
 
 EXTRA_DIST = \
 evas_common.h  \
-evas_engine_api_software_x11.h \
-evas_engine_api_software_xcb.h \
-evas_engine_api_directfb.h \
-evas_engine_api_fb.h \
-evas_engine_api_buffer.h \
-evas_engine_api_software_qtopia.h \
-evas_engine_api_gl_x11.h \
-evas_engine_api_cairo_x11.h \
-evas_engine_api_xrender_x11.h \
 evas_gl_common.h \
 evas_cairo_common.h \
 evas_mmx.h  \
===
RCS file: /cvsroot/enlightenment/e17/libs/evas/src/lib/include/evas_common.h,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -3 -r1.51 -r1.52
--- evas_common.h   10 Jan 2006 07:36:32 -  1.51
+++ evas_common.h   14 Jan 2006 12:13:36 -  1.52
@@ -12,6 +12,10 @@
 
 #include "evas_options.h"
 
+#ifndef _GNU_SOURCE
+#define _GNU_SOURCE
+#endif
+
 #include 
 #include 
 #include 
===
RCS file: /cvsroot/enlightenment/e17/libs/evas/src/lib/include/evas_private.h,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -3 -r1.58 -r1.59
--- evas_private.h  10 Dec 2005 05:22:03 -  1.58
+++ evas_private.h  14 Jan 2006 12:13:36 -  1.59
@@ -10,17 +10,6 @@
 /* complain when peole pass in wrong object types etc. */
 #define MAGIC_DEBUG
 
-#define RENDER_METHOD_SOFTWARE_X11   0x0001
-#define RENDER_METHOD_DIRECTFB   0x0002
-#define RENDER_METHOD_FB 0x0003
-#define RENDER_METHOD_BUFFER 0x0004
-#define RENDER_METHOD_SOFTWARE_WIN32_GDI 0x0005
-#define RENDER_METHOD_SOFTWARE_QTOPIA0x0006
-#define RENDER_METHOD_GL_X11 0x0007
-#define RENDER_METHOD_CAIRO_X11  0x0008
-#define RENDER_METHOD_SOFTWARE_XCB   0x0009
-#define RENDER_METHOD_XRENDER_X110x000a
-
 #define RENDER_METHOD_INVALID0x
 
 typedef struct _Evas_Layer  Evas_Layer;
@@ -646,7 +635,14 @@
 void *evas_mempool_malloc(Evas_Mempool *pool, int size);
 void  evas_mempool_free(Evas_Mempool *pool, void *ptr);
 void *evas_mempool_calloc(Evas_Mempool *pool, int size);
-   
+
+void evas_module_paths_init(void);
+void evas_module_init(void);
+Evas_Module * evas_module_find_type(Evas_Module_Type type, const char *name);
+int evas_module_load(Evas_Module *em);
+void evas_module_unload(Evas_Module *em);
+void evas_module_shutdown(void);
+ 
 #ifdef __cplusplus
 }
 #endif




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas raster

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/evas

Dir : e17/libs/evas


Modified Files:
AUTHORS configure.in 


Log Message:


initial import fo loadable engine modules for evas - from jorge zappie :)

===
RCS file: /cvsroot/enlightenment/e17/libs/evas/AUTHORS,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- AUTHORS 21 Sep 2004 03:15:42 -  1.10
+++ AUTHORS 14 Jan 2006 12:13:33 -  1.11
@@ -9,3 +9,4 @@
 Willem Monsuwe <[EMAIL PROTECTED]>
 Jose O Gonzalez <[EMAIL PROTECTED]>
 Bernhard Nemec <[EMAIL PROTECTED]>
+Jorge Luis Zapata Muga <[EMAIL PROTECTED]>
===
RCS file: /cvsroot/enlightenment/e17/libs/evas/configure.in,v
retrieving revision 1.137
retrieving revision 1.138
diff -u -3 -r1.137 -r1.138
--- configure.in12 Jan 2006 05:43:08 -  1.137
+++ configure.in14 Jan 2006 12:13:33 -  1.138
@@ -17,6 +17,10 @@
 AM_PROG_LIBTOOL
 AC_FUNC_ALLOCA
 
+MODULE_ARCH="$host_os-$host_cpu"
+AC_SUBST(MODULE_ARCH)
+AC_DEFINE_UNQUOTED(MODULE_ARCH, "$MODULE_ARCH", "Module architecture")
+
 dnl Add the languages which your application supports here.
 
 if test "x${bindir}" = 'x${exec_prefix}/bin'; then
@@ -1609,18 +1613,20 @@
 src/lib/imaging/Makefile
 src/lib/engines/Makefile
 src/lib/engines/common/Makefile
-src/lib/engines/software_x11/Makefile
-src/lib/engines/software_xcb/Makefile
-src/lib/engines/fb/Makefile
-src/lib/engines/buffer/Makefile
-src/lib/engines/software_win32_gdi/Makefile
-src/lib/engines/software_qtopia/Makefile
-src/lib/engines/directfb/Makefile
-src/lib/engines/gl_common/Makefile
-src/lib/engines/gl_x11/Makefile
-src/lib/engines/cairo_common/Makefile
-src/lib/engines/cairo_x11/Makefile
-src/lib/engines/xrender_x11/Makefile
+src/modules/Makefile
+src/modules/engines/Makefile
+src/modules/engines/software_x11/Makefile
+src/modules/engines/software_xcb/Makefile
+src/modules/engines/fb/Makefile
+src/modules/engines/buffer/Makefile
+src/modules/engines/software_win32_gdi/Makefile
+src/modules/engines/software_qtopia/Makefile
+src/modules/engines/directfb/Makefile
+src/modules/engines/gl_common/Makefile
+src/modules/engines/gl_x11/Makefile
+src/modules/engines/cairo_common/Makefile
+src/modules/engines/cairo_x11/Makefile
+src/modules/engines/xrender_x11/Makefile
 src/lib/include/Makefile
 proj/Makefile
 proj/win32_gdi/Makefile




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas raster

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/evas

Dir : e17/libs/evas/src/lib


Modified Files:
Evas.h Makefile.am 


Log Message:


initial import fo loadable engine modules for evas - from jorge zappie :)

===
RCS file: /cvsroot/enlightenment/e17/libs/evas/src/lib/Evas.h,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -3 -r1.77 -r1.78
--- Evas.h  7 Jan 2006 14:26:01 -   1.77
+++ Evas.h  14 Jan 2006 12:13:34 -  1.78
@@ -27,6 +27,68 @@
  * @brief These routines are used for Evas library interaction.
  */
 
+/* the evas module api */
+/***/
+/* the module api version */
+#define EVAS_MODULE_API_VERSION 1
+
+/* the module types */
+typedef enum _Evas_Module_Type
+{
+   EVAS_MODULE_TYPE_ENGINE,
+ EVAS_MODULE_TYPE_OBJECT
+} Evas_Module_Type;
+
+/* the module api structure, all modules should define this struct */
+typedef struct _Evas_Module_Api Evas_Module_Api;
+struct _Evas_Module_Api
+{
+   int version;
+   Evas_Module_Typetype;
+   const char  *name;
+   const char  *author;
+};
+
+/* the module structure */
+typedef struct _Evas_Module Evas_Module;
+struct _Evas_Module
+{
+   Evas_Module_Api *api;   
+   void*handle;/* the dlopen handle */
+   char*path;  /* the path where this modules 
is */
+   char*name;  /* the name of the dir where 
this module is */
+   Evas_Module_Typetype;   /* the type detected by the path */
+   struct
+ {
+   int (*open)(Evas_Module *);
+   void (*close)(Evas_Module *);
+ } func;
+   unsigned char   loaded : 1; 
+   
+   void*functions; /* this are the functions exported by 
the module */
+   void*data;  /* some internal data for the module 
i.e the id for engines */
+};
+
+
+/* the internals of the module api use this struct to reference a path with a 
module type
+ * instead of deduce the type from the path. 
+ * */
+typedef struct _Evas_Module_Path Evas_Module_Path;
+struct _Evas_Module_Path
+{
+   Evas_Module_Typetype;
+   const char  *path;
+};
+
+typedef struct _Evas_Module_Engine Evas_Module_Engine;
+struct _Evas_Module_Engine
+{
+   int id;
+};
+
+/* end of evas module api */
+/**/
+
 typedef enum _Evas_Callback_Type
 {
EVAS_CALLBACK_MOUSE_IN, /**< Mouse In Event */
===
RCS file: /cvsroot/enlightenment/e17/libs/evas/src/lib/Makefile.am,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -3 -r1.17 -r1.18
--- Makefile.am 2 Oct 2005 15:15:44 -   1.17
+++ Makefile.am 14 Jan 2006 12:13:34 -  1.18
@@ -7,123 +7,12 @@
 INCLUDES= -I. \
-I$(top_srcdir)/src/lib \
   -I$(top_srcdir)/src/lib/include \
-  @FREETYPE_CFLAGS@ @x_cflags@ @xcb_cflags@ @qt_cflags@ 
@DIRECTFB_CFLAGS@ @gl_cflags@
+  @FREETYPE_CFLAGS@ 
 
 lib_LTLIBRARIES  = libevas.la
 
-EXTRA_DIST = \
-Evas_Engine_Software_X11.h \
-Evas_Engine_Software_Xcb.h \
-Evas_Engine_DirectFB.h \
-Evas_Engine_FB.h \
-Evas_Engine_Buffer.h \
-Evas_Engine_Software_Win32_GDI.h \
-Evas_Engine_Software_Qtopia.h \
-Evas_Engine_GL_X11.h \
-Evas_Engine_Cairo_X11.h \
-Evas_Engine_XRender_X11.h
-
-if BUILD_ENGINE_SOFTWARE_X11
-ENGINE_SOFTWARE_X11 = engines/software_x11/libevas_engine_software_x11.la
-ENGINE_SOFTWARE_X11_INC = Evas_Engine_Software_X11.h
-else
-ENGINE_SOFTWARE_X11 =
-ENGINE_SOFTWARE_X11_INC =
-endif
-
-if BUILD_ENGINE_SOFTWARE_XCB
-ENGINE_SOFTWARE_XCB = engines/software_xcb/libevas_engine_software_xcb.la
-ENGINE_SOFTWARE_XCB_INC = Evas_Engine_Software_Xcb.h
-else
-ENGINE_SOFTWARE_XCB =
-ENGINE_SOFTWARE_XCB_INC =
-endif
-
-if BUILD_ENGINE_DIRECTFB
-ENGINE_DIRECTFB = engines/directfb/libevas_engine_directfb.la
-ENGINE_DIRECTFB_INC = Evas_Engine_DirectFB.h
-else
-ENGINE_DIRECTFB =
-ENGINE_DIRECTFB_INC =
-endif
-
-if BUILD_ENGINE_FB
-ENGINE_FB = engines/fb/libevas_engine_fb.la
-ENGINE_FB_INC = Evas_Engine_FB.h
-else
-ENGINE_FB =
-ENGINE_FB_INC =
-endif
-
-if BUILD_ENGINE_BUFFER
-ENGINE_BUFFER = engines/buffer/libevas_engine_buffer.la
-ENGINE_BUFFER_INC = Evas_Engine_Buffer.h
-else
-ENGINE_BUFFER =
-ENGINE_BUFFER_INC =
-endif
-
-if BUILD_ENGINE_SOFTWARE_QTOPIA
-ENGINE_SOFTWARE_QTOPIA = 
engines/software_qtopia/libevas_engine_software_qtopia.la
-ENGINE_SOFTWARE_QTOPIA_INC = Evas_Engine_Software_Qtopia.h
-else
-ENGINE_SOFTWARE_QTOPIA =
-ENGINE_SOFTWARE_QTOPIA_INC =
-endif
-
-if BUILD_ENGINE_GL_COMMON
-ENGINE_GL_COMMON = engines/gl_common/libevas_engine_gl_common.la
-ENGINE_GL_COMMON_INC = 
-else
-ENGINE_GL_COMMON =
-ENGINE_GL_COMMON_INC =
-endif
-
-if BUILD_ENGINE_GL_X11
-ENGINE_GL_X11 = engines/gl_x11/libevas_engin

E CVS: libs/evas raster

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/evas

Dir : e17/libs/evas/src


Modified Files:
Makefile.am 


Log Message:


initial import fo loadable engine modules for evas - from jorge zappie :)

===
RCS file: /cvsroot/enlightenment/e17/libs/evas/src/Makefile.am,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -3 -r1.30 -r1.31
--- Makefile.am 4 Mar 2005 14:34:33 -   1.30
+++ Makefile.am 14 Jan 2006 12:13:33 -  1.31
@@ -1,3 +1,3 @@
 MAINTAINERCLEANFILES = Makefile.in
 
-SUBDIRS = lib bin
+SUBDIRS = lib modules bin




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas raster

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/evas

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


Modified Files:
Makefile.am 


Log Message:


initial import fo loadable engine modules for evas - from jorge zappie :)

===
RCS file: /cvsroot/enlightenment/e17/libs/evas/src/lib/engines/Makefile.am,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- Makefile.am 2 Oct 2005 15:15:44 -   1.6
+++ Makefile.am 14 Jan 2006 12:13:34 -  1.7
@@ -1,16 +1,4 @@
 MAINTAINERCLEANFILES = Makefile.in
 
 SUBDIRS = \
-common \
-software_x11 \
-software_xcb \
-fb \
-buffer \
-software_win32_gdi \
-software_qtopia \
-directfb \
-gl_common \
-gl_x11 \
-cairo_common \
-cairo_x11 \
-xrender_x11
+common 




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/evas raster

2006-01-14 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/evas

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


Modified Files:
Makefile.am evas_main.c 


Log Message:


initial import fo loadable engine modules for evas - from jorge zappie :)

===
RCS file: /cvsroot/enlightenment/e17/libs/evas/src/lib/canvas/Makefile.am,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -3 -r1.16 -r1.17
--- Makefile.am 28 Oct 2005 02:56:27 -  1.16
+++ Makefile.am 14 Jan 2006 12:13:34 -  1.17
@@ -8,8 +8,7 @@
 INCLUDES= -I. \
   -I$(top_srcdir)/src/lib \
   -I$(top_srcdir)/src/lib/include \
-  @FREETYPE_CFLAGS@ @x_cflags@ @DIRECTFB_CFLAGS@ \
-  @eet_cflags@ @xcb_cflags@
+  @FREETYPE_CFLAGS@ @eet_cflags@ 
 
 noinst_LTLIBRARIES   = libevas_canvas.la
 libevas_canvas_la_SOURCES  = \
===
RCS file: /cvsroot/enlightenment/e17/libs/evas/src/lib/canvas/evas_main.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -3 -r1.26 -r1.27
--- evas_main.c 6 Jan 2006 23:05:17 -   1.26
+++ evas_main.c 14 Jan 2006 12:13:34 -  1.27
@@ -1,49 +1,24 @@
 #include "evas_common.h"
 #include "evas_private.h"
-#ifdef BUILD_ENGINE_SOFTWARE_X11
-#include "evas_engine_api_software_x11.h"
-#endif
-#ifdef BUILD_ENGINE_SOFTWARE_XCB
-#include "evas_engine_api_software_xcb.h"
-#endif
-#ifdef BUILD_ENGINE_DIRECTFB
-#include "evas_engine_api_directfb.h"
-#endif
-#ifdef BUILD_ENGINE_FB
-#include "evas_engine_api_fb.h"
-#endif
-#ifdef BUILD_ENGINE_BUFFER
-#include "evas_engine_api_buffer.h"
-#endif
-#ifdef BUILD_ENGINE_SOFTWARE_WIN32_GDI
-#include "evas_engine_api_software_win32_gdi.h"
-#endif
-#ifdef BUILD_ENGINE_SOFTWARE_QTOPIA
-#include "evas_engine_api_software_qtopia.h"
-#endif
-#ifdef BUILD_ENGINE_GL_X11
-#include "evas_engine_api_gl_x11.h"
-#endif
-#ifdef BUILD_ENGINE_CAIRO_X11
-#include "evas_engine_api_cairo_x11.h"
-#endif
-#ifdef BUILD_ENGINE_XRENDER_X11
-#include "evas_engine_api_xrender_x11.h"
-#endif
 
+extern Evas_List *evas_modules;
 static int initcount = 0;
 
 EAPI int
 evas_init(void)
 {
+   if (initcount == 0)
+ evas_module_init();
return ++initcount;
 }
 
 EAPI int
 evas_shutdown(void)
 {
-   if (--initcount == 0)
+   initcount--;
+   if (initcount == 0)
  {
+   evas_module_shutdown();
evas_font_dir_cache_free();
evas_common_shutdown();
  }
@@ -216,6 +191,7 @@
 EAPI void
 evas_output_method_set(Evas *e, int render_method)
 {
+   Evas_List *l;
MAGIC_CHECK(e, Evas, MAGIC_EVAS);
return;
MAGIC_CHECK_END();
@@ -224,63 +200,24 @@
if (render_method == RENDER_METHOD_INVALID) return;
/* if the engine is already set up - abort */
if (e->output.render_method != RENDER_METHOD_INVALID) return;
-   /* set the render method */
-   e->output.render_method = render_method;
-#ifdef BUILD_ENGINE_SOFTWARE_X11
-   if (e->output.render_method == RENDER_METHOD_SOFTWARE_X11)
- e->engine.func = &evas_engine_software_x11_func;
-   else
-#endif
-#ifdef BUILD_ENGINE_XRENDER_X11
-   if (e->output.render_method == RENDER_METHOD_XRENDER_X11)
- e->engine.func = &evas_engine_xrender_x11_func;
-   else
-#endif
-#ifdef BUILD_ENGINE_SOFTWARE_XCB
- if (e->output.render_method == RENDER_METHOD_SOFTWARE_XCB)
- e->engine.func = &evas_engine_software_xcb_func;
-   else
-#endif
-#ifdef BUILD_ENGINE_GL_X11
-   if (e->output.render_method == RENDER_METHOD_GL_X11)
- e->engine.func = &evas_engine_gl_x11_func;
-   else
-#endif
-#ifdef BUILD_ENGINE_CAIRO_X11
-   if (e->output.render_method == RENDER_METHOD_CAIRO_X11)
- e->engine.func = &evas_engine_cairo_x11_func;
-   else
-#endif
-#ifdef BUILD_ENGINE_DIRECTFB
-   if (e->output.render_method == RENDER_METHOD_DIRECTFB)
- e->engine.func = &evas_engine_directfb_func;
-   else
-#endif
-#ifdef BUILD_ENGINE_FB
-   if (e->output.render_method == RENDER_METHOD_FB)
- e->engine.func = &evas_engine_fb_func;
-   else
-#endif
-#ifdef BUILD_ENGINE_BUFFER
-   if (e->output.render_method == RENDER_METHOD_BUFFER)
- e->engine.func = &evas_engine_buffer_func;
-   else
-#endif
-#ifdef BUILD_ENGINE_SOFTWARE_WIN32_GDI
-   if (e->output.render_method == RENDER_METHOD_SOFTWARE_WIN32_GDI)
- e->engine.func = &evas_engine_software_win32_gdi_func;
-   else
-#endif
-#ifdef BUILD_ENGINE_SOFTWARE_QTOPIA
-   if (e->output.render_method == RENDER_METHOD_SOFTWARE_QTOPIA)
- e->engine.func = &evas_engine_software_qtopia_func;
-   else
-#endif
-   return;
-   /* get the engine info struct */
-   if (e->output.render_method != RENDER_METHOD_INVALID)
+   /* iterate trough the list to find the id */
+   for (l = evas_modules; l; l = l->next)
  {
+   Evas_Module *em;
+   Evas_Module_Engine *eme;
+   
+   em = l->data;
+   if (em->type != EVAS_MODULE_TYPE_

  1   2   >