E CVS: apps/e xcomputerman

2005-01-12 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : xcomputerman
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/bin


Modified Files:
e_int_menus.c 


Log Message:
In menu end, delete objects rather than unref

===
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_int_menus.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -3 -r1.26 -r1.27
--- e_int_menus.c   11 Jan 2005 13:43:00 -  1.26
+++ e_int_menus.c   12 Jan 2005 08:03:07 -  1.27
@@ -169,9 +169,9 @@
Main_Data *dat;

dat = data;
-   e_object_unref(E_OBJECT(dat-apps));
-   e_object_unref(E_OBJECT(dat-modules));
-   e_object_unref(E_OBJECT(m));
+   e_object_del(E_OBJECT(dat-apps));
+   e_object_del(E_OBJECT(dat-modules));
+   e_object_del(E_OBJECT(m));
free(dat);
 }
 
@@ -260,7 +260,7 @@
if (mi-submenu)
  _e_int_menus_apps_end(NULL, mi-submenu);
  }
-   e_object_unref(E_OBJECT(m));
+   e_object_del(E_OBJECT(m));
 }
 
 static void




---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/e raster

2005-01-12 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/bin


Modified Files:
e_int_menus.c 


Log Message:


some cleanups?

===
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_int_menus.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -3 -r1.27 -r1.28
--- e_int_menus.c   12 Jan 2005 08:03:07 -  1.27
+++ e_int_menus.c   12 Jan 2005 08:12:46 -  1.28
@@ -129,7 +129,6 @@
 
m = e_menu_new();
e_menu_pre_activate_callback_set(m, _e_int_menus_desktops_pre_cb, NULL);
-
return m;
 }

@@ -271,6 +270,7 @@

m = obj;
a = e_object_data_get(E_OBJECT(m));
+   /* note: app objects are shared so we ALWAYS unref not del! */
if (a) e_object_unref(E_OBJECT(a));
 }
 




---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/e raster

2005-01-12 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir : e17/apps/e


Modified Files:
TODO 


Log Message:


mini-freeze notice

===
RCS file: /cvsroot/enlightenment/e17/apps/e/TODO,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- TODO5 Jan 2005 09:37:28 -   1.10
+++ TODO12 Jan 2005 08:28:24 -  1.11
@@ -1,3 +1,57 @@
+MINI FREEZE:
+
+Status: ON
+
+What is this:
+
+We will have lots more of these during e17 devel for serveral reasons. A mini
+freeze is a call to STOP adding new features and funkiness. It means people
+need to stop and go BACK over their code and fix FIXME's. All those bits of
+code where things are string together with sticky tape and chewing gum need
+to be fixed PROPERLY. This may mean pooling code into a common subsystem
+(this is not a new feature. it is fixing loose ends with design). This may
+mean adding api calls to make implementation cleaner or remove hacks. it may
+mean more debugging tools in things like e_object and more checks for sanity.
+
+This means testing stuff so it doesnt crash. or make things unusable or leak
+memory. check leaks (use valgrind or whatever tools) to check for leaks, and
+for stability issues. double check you return the correct values from
+functions or use return values. Check callbacks. Compile with -W -Wall to
+help find obvious bugs waiting to happen. Modules need to clean up on
+shutdown. Code needs to use the appropriate subsystem that is available for
+what it wants OR a subsystem needs writing if it will be a shared/common
+feature.
+
+This issues list must be brought to 0 size before E17 features can move
+further.
+
+Current freeze issues are:
+
+ISSUES:
+
+* left mouse menu segv's at times
+* pager module doesnt shut down properly (disable and create window - segv)
+* pager module doesnt handle window deletes
+* pager module causes window resizes to be slower than normal
+* virtual desktops need fixign to work with zones properly
+* all modules need to respect zones
+* container resize needs to re-evalute zone geometry
+* zone geometyr change needs to propagate to modules
+* need desktop module geometry managing system (central)
+* dropshadow is not optimal and has extreme edge bugs
+* e_apps polling/updates is broken
+
+add more issues as they are found
+
+
+
+
+
+
+
+
+
+
 Some of the things (in very short form) that need to be done to E17...
 
 Also look at all the .c files - they have their own localized TODO lists




---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/e raster

2005-01-12 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/bin


Modified Files:
e_int_menus.c 


Log Message:


bugs just WAITING to happen
AND memory leaks!

baddd fix.

===
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_int_menus.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -3 -r1.28 -r1.29
--- e_int_menus.c   12 Jan 2005 08:12:46 -  1.28
+++ e_int_menus.c   12 Jan 2005 08:45:28 -  1.29
@@ -9,23 +9,26 @@
 {
E_Menu *menu;
E_Menu *apps;
+   E_Menu *desktops;
+   E_Menu *clients;
E_Menu *modules;
 };
 
 /* local subsystem functions */
-static void _e_int_menus_main_end(void *data, E_Menu *m);
-static void _e_int_menus_main_about (void *data, E_Menu *m, E_Menu_Item 
*mi);
-static void _e_int_menus_main_restart   (void *data, E_Menu *m, E_Menu_Item 
*mi);
-static void _e_int_menus_main_exit  (void *data, E_Menu *m, E_Menu_Item 
*mi);
-static void _e_int_menus_apps_scan   (E_Menu *m);
-static void _e_int_menus_apps_start  (void *data, E_Menu *m);
-static void _e_int_menus_apps_end(void *data, E_Menu *m);
-static void _e_int_menus_apps_free_hook  (void *obj);
-static void _e_int_menus_apps_run(void *data, E_Menu *m, E_Menu_Item 
*mi);
-static void _e_int_menus_clients_pre_cb  (void *data, E_Menu *m);
-static void _e_int_menus_clients_item_cb (void *data, E_Menu *m, E_Menu_Item 
*mi);
-static void _e_int_menus_desktops_pre_cb (void *data, E_Menu *m);
-static void _e_int_menus_desktops_item_cb(void *data, E_Menu *m, E_Menu_Item 
*mi);
+static void _e_int_menus_main_end(void *data, E_Menu *m);
+static void _e_int_menus_main_about  (void *data, E_Menu *m, 
E_Menu_Item *mi);
+static void _e_int_menus_main_restart(void *data, E_Menu *m, 
E_Menu_Item *mi);
+static void _e_int_menus_main_exit   (void *data, E_Menu *m, 
E_Menu_Item *mi);
+static void _e_int_menus_apps_scan   (E_Menu *m);
+static void _e_int_menus_apps_start  (void *data, E_Menu *m);
+static void _e_int_menus_apps_end(void *data, E_Menu *m);
+static void _e_int_menus_apps_free_hook  (void *obj);
+static void _e_int_menus_apps_run(void *data, E_Menu *m, 
E_Menu_Item *mi);
+static void _e_int_menus_clients_pre_cb  (void *data, E_Menu *m);
+static void _e_int_menus_clients_free_hook   (void *obj);
+static void _e_int_menus_clients_item_cb (void *data, E_Menu *m, 
E_Menu_Item *mi);
+static void _e_int_menus_desktops_pre_cb (void *data, E_Menu *m);
+static void _e_int_menus_desktops_item_cb(void *data, E_Menu *m, 
E_Menu_Item *mi);
 static void _e_int_menus_desktops_row_add_cb (void *data, E_Menu *m, 
E_Menu_Item *mi);
 static void _e_int_menus_desktops_row_del_cb (void *data, E_Menu *m, 
E_Menu_Item *mi);
 static void _e_int_menus_desktops_col_add_cb (void *data, E_Menu *m, 
E_Menu_Item *mi);
@@ -65,6 +68,7 @@
e_menu_item_submenu_set(mi, subm);
 
subm = e_int_menus_desktops_new();
+   dat-desktops = subm;
mi = e_menu_item_new(m);
e_menu_item_label_set(mi, Desktops);
e_menu_item_icon_edje_set(mi, e_path_find(path_icons, default.eet),
@@ -72,6 +76,7 @@
e_menu_item_submenu_set(mi, subm);
   
subm = e_int_menus_clients_new();
+   dat-clients = subm;
mi = e_menu_item_new(m);
e_menu_item_label_set(mi, Windows);
e_menu_item_icon_edje_set(mi, e_path_find(path_icons, default.eet),
@@ -170,6 +175,8 @@
dat = data;
e_object_del(E_OBJECT(dat-apps));
e_object_del(E_OBJECT(dat-modules));
+   e_object_del(E_OBJECT(dat-desktops));
+   e_object_del(E_OBJECT(dat-clients));
e_object_del(E_OBJECT(m));
free(dat);
 }
@@ -290,34 +297,18 @@
Evas_List *l, *desks = NULL;
E_Menu *root;
 
-   if (m-realized) return;
-
-   /* clear list */
-   if (m-items)
- {
-   Evas_List *l;
-   for (l = m-items; l; l = l-next)
- {
-E_Menu_Item *mi = l-data;
-e_object_free(E_OBJECT(mi));
- }
- }
-   evas_list_free(m-items);
-   m-items = NULL;
-
+   e_menu_pre_activate_callback_set(m, NULL, NULL);
root = e_menu_root_get(m);
/* Get the desktop list for this zone */
/* FIXME: Menu code needs to determine what zone menu was clicked in */
-   if (root  root-zone)
+   if ((root)  (root-zone))
  {
int i;
E_Zone *zone;

zone = root-zone;
for (i = 0; i  zone-desk_x_count * zone-desk_y_count; i++)
- {
-desks = evas_list_append(desks, zone-desks[i]);
- }
+ desks = evas_list_append(desks, zone-desks[i]);

for (l = desks; l; l = l-next)
  {
@@ -411,17 +402,13 @@
Evas_List *l, *borders = NULL;
E_Menu *root;
 
-   if (m-realized) return;
-   if (m-items) return;
-   
+   e_menu_pre_activate_callback_set(m, NULL, NULL);
root = e_menu_root_get(m);
/* get 

E CVS: apps/e raster

2005-01-12 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/bin


Modified Files:
e_border.c e_border.h 


Log Message:


and attch border menus to the border - so if the border is freed.. the menu
attached is too!

===
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_border.c,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -3 -r1.62 -r1.63
--- e_border.c  11 Jan 2005 13:43:00 -  1.62
+++ e_border.c  12 Jan 2005 09:35:07 -  1.63
@@ -62,6 +62,8 @@
 static void _e_border_resize_handle(E_Border *bd);
 
 static int  _e_border_shade_animator(void *data);
+
+static void _e_border_cb_border_menu_end(void *data, E_Menu *m);
 static void _e_border_menu_show(E_Border *bd, Evas_Coord x, Evas_Coord y);
 static void _e_border_menu_cb_close(void *data, E_Menu *m, E_Menu_Item *mi);
 static void _e_border_menu_cb_iconify(void *data, E_Menu *m, E_Menu_Item *mi);
@@ -807,6 +809,11 @@
 static void
 _e_border_free(E_Border *bd)
 {
+   if (bd-border_menu)
+ {
+   e_object_del(E_OBJECT(bd-border_menu));
+   bd-border_menu = NULL;
+ }
if (focused == bd) focused = NULL;
while (bd-handlers)
  {
@@ -1460,6 +1467,7 @@
else if (!strcmp(source, menu))
  {
Evas_Coord x, y;
+
evas_pointer_canvas_xy_get(bd-bg_evas , x, y);
_e_border_menu_show(bd, x + bd-x, y + bd-y);
  }
@@ -2577,7 +2585,15 @@
return 1;
 }
 
-E_Menu *_e_border_menu;
+static void
+_e_border_cb_border_menu_end(void *data, E_Menu *m)
+{
+   E_Border *bd;
+   
+   bd = e_object_data_get(E_OBJECT(m));
+   if (bd) bd-border_menu = NULL;
+   e_object_del(E_OBJECT(m));
+}
 
 static void
 _e_border_menu_show(E_Border *bd, Evas_Coord x, Evas_Coord y)
@@ -2586,16 +2602,12 @@
E_Menu_Item *mi;
E_App *a;
 
-   if (e_menu_grab_window_get()) return;
-   if (!_e_border_menu)
- _e_border_menu = e_menu_new();
-   else
- {
-   e_object_unref(E_OBJECT(_e_border_menu));
-   _e_border_menu = e_menu_new();
- }
+   if (bd-border_menu) return;

-   m = _e_border_menu;
+   m = e_menu_new();
+   e_object_data_set(E_OBJECT(m), bd);
+   bd-border_menu = E_OBJECT(m);
+   e_menu_post_deactivate_callback_set(m, _e_border_cb_border_menu_end, NULL);

mi = e_menu_item_new(m);
e_menu_item_label_set(mi, Close);
===
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_border.h,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -3 -r1.20 -r1.21
--- e_border.h  11 Jan 2005 13:11:12 -  1.20
+++ e_border.h  12 Jan 2005 09:35:07 -  1.21
@@ -169,6 +169,7 @@
} shade;
 
Evas_List *stick_desks;
+   E_Object *border_menu;
 
struct {
   unsigned int visible : 1;




---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/e raster

2005-01-12 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/bin


Modified Files:
e_int_menus.c e_int_menus.h e_object.c e_object.h e_zone.c 


Log Message:


fix main int menus to fre, del, cleanup, not leak and work properly

===
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_int_menus.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -3 -r1.29 -r1.30
--- e_int_menus.c   12 Jan 2005 08:45:28 -  1.29
+++ e_int_menus.c   12 Jan 2005 09:22:44 -  1.30
@@ -15,13 +15,13 @@
 };
 
 /* local subsystem functions */
-static void _e_int_menus_main_end(void *data, E_Menu *m);
+static void _e_int_menus_main_del_hook   (void *obj);
 static void _e_int_menus_main_about  (void *data, E_Menu *m, 
E_Menu_Item *mi);
 static void _e_int_menus_main_restart(void *data, E_Menu *m, 
E_Menu_Item *mi);
 static void _e_int_menus_main_exit   (void *data, E_Menu *m, 
E_Menu_Item *mi);
 static void _e_int_menus_apps_scan   (E_Menu *m);
 static void _e_int_menus_apps_start  (void *data, E_Menu *m);
-static void _e_int_menus_apps_end(void *data, E_Menu *m);
+static void _e_int_menus_apps_del_hook   (void *obj);
 static void _e_int_menus_apps_free_hook  (void *obj);
 static void _e_int_menus_apps_run(void *data, E_Menu *m, 
E_Menu_Item *mi);
 static void _e_int_menus_clients_pre_cb  (void *data, E_Menu *m);
@@ -45,10 +45,10 @@
dat = calloc(1, sizeof(Main_Data));
m = e_menu_new();
dat-menu = m;
+   e_object_data_set(E_OBJECT(m), dat);   
+   e_object_del_attach_func_set(E_OBJECT(m), _e_int_menus_main_del_hook);

-   e_menu_post_deactivate_callback_set(m, _e_int_menus_main_end, dat);
-   
-   subm = e_int_menus_favorite_apps_new(0);
+   subm = e_int_menus_favorite_apps_new();
dat-apps = subm;
mi = e_menu_item_new(m);
e_menu_item_label_set(mi, Favorite Applications);
@@ -110,7 +110,7 @@
 }
 
 E_Menu *
-e_int_menus_apps_new(char *dir, int top)
+e_int_menus_apps_new(char *dir)
 {
E_Menu *m;
E_App *a;
@@ -119,11 +119,8 @@
a = e_app_new(dir, 0);
e_object_data_set(E_OBJECT(m), a);
e_menu_pre_activate_callback_set(m, _e_int_menus_apps_start, NULL);
-   if (top)
- {
-   e_menu_post_deactivate_callback_set(m, _e_int_menus_apps_end, NULL);
-   e_object_free_attach_func_set(E_OBJECT(m), _e_int_menus_apps_free_hook);
- }
+   e_object_del_attach_func_set(E_OBJECT(m), _e_int_menus_apps_del_hook);
+   e_object_free_attach_func_set(E_OBJECT(m), _e_int_menus_apps_free_hook);
return m;
 }
 
@@ -139,7 +136,7 @@

 
 E_Menu *
-e_int_menus_favorite_apps_new(int top)
+e_int_menus_favorite_apps_new(void)
 {
E_Menu *m;
char buf[4096];
@@ -149,7 +146,7 @@
if (homedir)
  {
snprintf(buf, sizeof(buf), %s/.e/e/applications/favorite, homedir);
-   m = e_int_menus_apps_new(buf, top);
+   m = e_int_menus_apps_new(buf);
free(homedir);
return m;
  }
@@ -168,17 +165,21 @@
 
 /* local subsystem functions */
 static void
-_e_int_menus_main_end(void *data, E_Menu *m)
+_e_int_menus_main_del_hook(void *obj)
 {
Main_Data *dat;
+   E_Menu *m;

-   dat = data;
-   e_object_del(E_OBJECT(dat-apps));
-   e_object_del(E_OBJECT(dat-modules));
-   e_object_del(E_OBJECT(dat-desktops));
-   e_object_del(E_OBJECT(dat-clients));
-   e_object_del(E_OBJECT(m));
-   free(dat);
+   m = obj;
+   dat = e_object_data_get(E_OBJECT(obj));
+   if (dat)
+ {
+   e_object_del(E_OBJECT(dat-apps));
+   e_object_del(E_OBJECT(dat-modules));
+   e_object_del(E_OBJECT(dat-desktops));
+   e_object_del(E_OBJECT(dat-clients));
+   free(dat);
+ }
 }
 
 static void
@@ -235,7 +236,7 @@
 
 snprintf(buf, sizeof(buf), %s/.directory.eet, a-path);
 e_menu_item_icon_edje_set(mi, buf, icon);
-e_menu_item_submenu_set(mi, e_int_menus_apps_new(a-path, 0));
+e_menu_item_submenu_set(mi, e_int_menus_apps_new(a-path));
 app_count++;
  }
  }
@@ -254,19 +255,19 @@
 }
 
 static void
-_e_int_menus_apps_end(void *data, E_Menu *m)
+_e_int_menus_apps_del_hook(void *obj)
 {
+   E_Menu *m;
Evas_List *l;

+   m = obj;
for (l = m-items; l; l = l-next)
  {
E_Menu_Item *mi;

mi = l-data;
-   if (mi-submenu)
- _e_int_menus_apps_end(NULL, mi-submenu);
+   if (mi-submenu) e_object_del(mi-submenu);
  }
-   e_object_del(E_OBJECT(m));
 }
 
 static void
===
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_int_menus.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- e_int_menus.h   3 Jan 2005 09:34:24 -   1.6
+++ e_int_menus.h   12 Jan 2005 09:22:44 -  1.7
@@ -4,7 +4,7 @@
 EAPI E_Menu 

E CVS: apps/e handyande

2005-01-12 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : handyande
Project : e17
Module  : apps/e

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


Modified Files:
e_mod_main.c e_mod_main.h 


Log Message:
Remember to stop listening once we are shutdown
===
RCS file: /cvsroot/enlightenment/e17/apps/e/src/modules/pager/e_mod_main.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -3 -r1.17 -r1.18
--- e_mod_main.c11 Jan 2005 14:35:57 -  1.17
+++ e_mod_main.c12 Jan 2005 09:49:20 -  1.18
@@ -173,18 +173,25 @@
ecore_event_handler_add(E_EVENT_CONTAINER_RESIZE,
_pager_cb_event_container_resize, e);
 
+   e-ev_handler_border_resize =
ecore_event_handler_add(E_EVENT_BORDER_RESIZE,
   _pager_cb_event_border_events, e);
+   e-ev_handler_border_move =
ecore_event_handler_add(E_EVENT_BORDER_MOVE,
   _pager_cb_event_border_events, e);
+   e-ev_handler_border_add =
ecore_event_handler_add(E_EVENT_BORDER_ADD,
   _pager_cb_event_border_events, e);
+   e-ev_handler_border_remove =
ecore_event_handler_add(E_EVENT_BORDER_REMOVE,
   _pager_cb_event_border_events, e);
+   e-ev_handler_border_hide =
ecore_event_handler_add(E_EVENT_BORDER_HIDE,
   _pager_cb_event_border_events, e);
+   e-ev_handler_border_show =
ecore_event_handler_add(E_EVENT_BORDER_SHOW,
   _pager_cb_event_border_events, e);
+   e-ev_handler_border_desk_set =
ecore_event_handler_add(E_EVENT_BORDER_DESK_SET,
   _pager_cb_event_border_events, e);

@@ -217,7 +224,14 @@
 e-wins = evas_list_remove_list(e-wins, e-wins);
  }
 
-   ecore_event_handler_del(e-ev_handler_container_resize);   
+   ecore_event_handler_del(e-ev_handler_container_resize);
+   ecore_event_handler_del(e-ev_handler_border_move);
+   ecore_event_handler_del(e-ev_handler_border_add);
+   ecore_event_handler_del(e-ev_handler_border_remove);
+   ecore_event_handler_del(e-ev_handler_border_hide);
+   ecore_event_handler_del(e-ev_handler_border_show);
+   ecore_event_handler_del(e-ev_handler_border_desk_set);
+
free(e);
 }
 
===
RCS file: /cvsroot/enlightenment/e17/apps/e/src/modules/pager/e_mod_main.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- e_mod_main.h11 Jan 2005 09:35:02 -  1.4
+++ e_mod_main.h12 Jan 2005 09:49:20 -  1.5
@@ -23,6 +23,15 @@
unsigned char move : 1;
unsigned char resize : 1;
Ecore_Event_Handler *ev_handler_container_resize;
+   
+   Ecore_Event_Handler *ev_handler_border_resize;
+   Ecore_Event_Handler *ev_handler_border_move;
+   Ecore_Event_Handler *ev_handler_border_add;
+   Ecore_Event_Handler *ev_handler_border_remove;
+   Ecore_Event_Handler *ev_handler_border_hide;
+   Ecore_Event_Handler *ev_handler_border_show;
+   Ecore_Event_Handler *ev_handler_border_desk_set;
+
Evas_Coordfx, fy, fw, fh, tw, th;
Evas_Coordxx, yy;
 




---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/e raster

2005-01-12 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir : e17/apps/e


Modified Files:
TODO 


Log Message:


some todo notes...

===
RCS file: /cvsroot/enlightenment/e17/apps/e/TODO,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- TODO12 Jan 2005 08:28:24 -  1.11
+++ TODO12 Jan 2005 09:51:55 -  1.12
@@ -119,3 +119,5 @@
 * add really nice about box with theme, authors credits list etc etc.
 * init splash needs to be able to display icons for startup
 * init splash needs te be able to be signalled end of init and it can 
respond with a splash end signal
+* immortali windows (e will not allow that window to be closed or will 
refuse to exit as long as the immortal flags is set until it is unset to stop 
users from doing silly things like logging out while important stuff is 
happening in that window -a menu option for this woudl be nice)
+* ibar lamp needs shrot timer on mouse out for hide before hiding (and del the 
time on mouse in)




---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/emotion raster

2005-01-12 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/emotion

Dir : e17/libs/emotion/src/modules/xine


Modified Files:
emotion_xine_vo_out.c 


Log Message:


up to latest xine api! :)

===
RCS file: 
/cvsroot/enlightenment/e17/libs/emotion/src/modules/xine/emotion_xine_vo_out.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- emotion_xine_vo_out.c   19 Jul 2004 05:44:54 -  1.3
+++ emotion_xine_vo_out.c   12 Jan 2005 11:35:04 -  1.4
@@ -103,7 +103,7 @@
 
 plugin_info_t xine_plugin_info[] = 
 {
- { PLUGIN_VIDEO_OUT, 19, emotion, XINE_VERSION_CODE, _emotion_info, 
_emotion_class_init },
+ { PLUGIN_VIDEO_OUT, 20, emotion, XINE_VERSION_CODE, _emotion_info, 
_emotion_class_init },
  { PLUGIN_NONE, 0, , 0, NULL, NULL }
 };
 




---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/eet raster

2005-01-12 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/eet

Dir : e17/libs/eet/src/lib


Modified Files:
eet_lib.c 


Log Message:


only RW mode works...

===
RCS file: /cvsroot/enlightenment/e17/libs/eet/src/lib/eet_lib.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -3 -r1.22 -r1.23
--- eet_lib.c   10 Jan 2005 04:26:50 -  1.22
+++ eet_lib.c   12 Jan 2005 13:48:45 -  1.23
@@ -969,8 +969,7 @@
/* check to see its' an eet file pointer */   
if ((!ef) || (ef-magic != EET_MAGIC_FILE)
|| (!name) ||
-   ((ef-mode != EET_FILE_MODE_WRITE) 
-(ef-mode != EET_FILE_MODE_RW)))
+   (ef-mode != EET_FILE_MODE_RW))
  return 0;
 
if (!ef-header) return 0;




---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/e raster

2005-01-12 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/bin


Modified Files:
e_int_menus.c e_object.c 


Log Message:


some extra object checks to catch wierdness/badness..

also fix segv if you have NO apps :)

===
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_int_menus.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -3 -r1.30 -r1.31
--- e_int_menus.c   12 Jan 2005 09:22:44 -  1.30
+++ e_int_menus.c   12 Jan 2005 13:59:01 -  1.31
@@ -218,26 +218,29 @@

a = e_object_data_get(E_OBJECT(m));
e_app_subdir_scan(a, 0);
-   for (l = a-subapps; l; l = l-next)
+   if (a)
  {
-   a = l-data;
-   
-   mi = e_menu_item_new(m);
-   e_menu_item_label_set(mi, a-name);
-   if (a-exe)
+   for (l = a-subapps; l; l = l-next)
  {
-e_menu_item_icon_edje_set(mi, a-path, icon);
-e_menu_item_callback_set(mi, _e_int_menus_apps_run, a);
-app_count++;
- }
-   else
- {
-char buf[4096];
+a = l-data;
 
-snprintf(buf, sizeof(buf), %s/.directory.eet, a-path);
-e_menu_item_icon_edje_set(mi, buf, icon);
-e_menu_item_submenu_set(mi, e_int_menus_apps_new(a-path));
-app_count++;
+mi = e_menu_item_new(m);
+e_menu_item_label_set(mi, a-name);
+if (a-exe)
+  {
+ e_menu_item_icon_edje_set(mi, a-path, icon);
+ e_menu_item_callback_set(mi, _e_int_menus_apps_run, a);
+ app_count++;
+  }
+else
+  {
+ char buf[4096];
+ 
+ snprintf(buf, sizeof(buf), %s/.directory.eet, a-path);
+ e_menu_item_icon_edje_set(mi, buf, icon);
+ e_menu_item_submenu_set(mi, e_int_menus_apps_new(a-path));
+ app_count++;
+  }
  }
  }
if (app_count == 0)
@@ -266,7 +269,7 @@
E_Menu_Item *mi;

mi = l-data;
-   if (mi-submenu) e_object_del(mi-submenu);
+   if (mi-submenu) e_object_del(E_OBJECT(mi-submenu));
  }
 }
 
===
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_object.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- e_object.c  12 Jan 2005 09:22:44 -  1.4
+++ e_object.c  12 Jan 2005 13:59:01 -  1.5
@@ -184,6 +184,18 @@
%s,
obj, magic,
bt);
+else if (obj-references  0)
+  snprintf(buf, sizeof(buf),
+   Object [%p] has negative references (%i).\n
+   %s,
+   obj, obj-references,
+   bt);
+else if (obj-references  100)
+  snprintf(buf, sizeof(buf),
+   Object [%p] has unusually high reference count (%i).\n
+   %s,
+   obj, obj-references,
+   bt);
 /* it's all ok! */
 else
   {




---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/e raster

2005-01-12 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

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


Modified Files:
e_mod_main.c 


Log Message:


disable ibox

===
RCS file: /cvsroot/enlightenment/e17/apps/e/src/modules/ibox/e_mod_main.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- e_mod_main.c11 Jan 2005 22:21:09 -  1.1
+++ e_mod_main.c12 Jan 2005 14:59:36 -  1.2
@@ -81,6 +81,10 @@
 {
IBox *ib;

+   e_error_dialog_show(IBox Disabled,
+  The IBox module is diabled for now during\n
+  the mini freeze period. Come back later.\n);
+   return NULL;
/* check module api version */
if (m-api-version  E_MODULE_API_VERSION)
  {




---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/eet raster

2005-01-12 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/eet

Dir : e17/libs/eet/src/lib


Modified Files:
eet_lib.c 


Log Message:


gone!

===
RCS file: /cvsroot/enlightenment/e17/libs/eet/src/lib/eet_lib.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -3 -r1.23 -r1.24
--- eet_lib.c   12 Jan 2005 13:48:45 -  1.23
+++ eet_lib.c   12 Jan 2005 14:23:16 -  1.24
@@ -967,9 +967,7 @@
int exists_already = 0;

/* check to see its' an eet file pointer */   
-   if ((!ef) || (ef-magic != EET_MAGIC_FILE)
-   || (!name) ||
-   (ef-mode != EET_FILE_MODE_RW))
+   if ((!ef) || (ef-magic != EET_MAGIC_FILE) || (!name))
  return 0;
 
if (!ef-header) return 0;




---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/e raster

2005-01-12 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/lib


Modified Files:
E.h e_main.c e_private.h 


Log Message:


fix up include system so u canhave one struct directly reference another (put
typedefs in separate section and include twice...

===
RCS file: /cvsroot/enlightenment/e17/apps/e/src/lib/E.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- E.h 8 Jan 2005 01:44:36 -   1.2
+++ E.h 12 Jan 2005 16:03:09 -  1.3
@@ -1,7 +1,6 @@
 #ifndef _E_H
 #define _E_H
 
-
 #ifdef EAPI
 #undef EAPI
 #endif
@@ -19,9 +18,6 @@
 # endif
 #endif
 
-extern EAPI int E_RESPONSE_MODULE_LIST;
-extern EAPI int E_RESPONSE_BACKGROUND_GET;
-
 typedef struct _E_Response_Module_ListE_Response_Module_List;
 typedef struct _E_Response_Background_Get E_Response_Background_Get;
 
@@ -36,23 +32,20 @@
char   *data;
 };
 
+extern EAPI int E_RESPONSE_MODULE_LIST;
+extern EAPI int E_RESPONSE_BACKGROUND_GET;
 
 #ifdef __cplusplus
 extern C {
 #endif
 
-   /* edje_main.c */
EAPI int  e_init   (const char *display);
EAPI int  e_shutdown   (void);
-
-   EAPI void e_module_enabled_set (const char *module,
-   int enable);
-   EAPI void e_module_loaded_set  (const char *module,
-   int load);
+   EAPI void e_module_enabled_set (const char *module, int 
enable);
+   EAPI void e_module_loaded_set  (const char *module, int 
load);
EAPI void e_module_list(void);
EAPI void e_background_set (const char *bgfile);
EAPI void e_background_get (void);
- 

 #ifdef __cplusplus
 }
===
RCS file: /cvsroot/enlightenment/e17/apps/e/src/lib/e_main.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- e_main.c8 Jan 2005 01:44:36 -   1.2
+++ e_main.c12 Jan 2005 16:03:09 -  1.3
@@ -19,7 +19,6 @@
 
 #include E.h
 #include e_private.h
-
 #include Ecore.h
 #include Ecore_Ipc.h
 
===
RCS file: /cvsroot/enlightenment/e17/apps/e/src/lib/e_private.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- e_private.h 6 Jan 2005 23:10:56 -   1.1
+++ e_private.h 12 Jan 2005 16:03:09 -  1.2
@@ -1,11 +1,13 @@
-#ifndef _EDJE_PRIVATE_H
-#define _EDJE_PRIVATE_H
+#ifndef _E_PRIVATE_H
+#define _E_PRIVATE_H
 
 #ifdef HAVE_CONFIG_H
 #include config.h
 #endif
 
+#define E_TYPEDEFS 1
+#include e_ipc.h
+#undef E_TYPEDEFS
 #include e_ipc.h
-
 
 #endif




---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/e raster

2005-01-12 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir : e17/apps/e


Modified Files:
TODO 


Log Message:


fix up include system so u canhave one struct directly reference another (put
typedefs in separate section and include twice...

===
RCS file: /cvsroot/enlightenment/e17/apps/e/TODO,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- TODO12 Jan 2005 09:51:55 -  1.12
+++ TODO12 Jan 2005 16:03:07 -  1.13
@@ -29,14 +29,13 @@
 
 ISSUES:
 
-* left mouse menu segv's at times
 * pager module doesnt shut down properly (disable and create window - segv)
 * pager module doesnt handle window deletes
 * pager module causes window resizes to be slower than normal
-* virtual desktops need fixign to work with zones properly
+* virtual desktops need fixing to work with zones properly
 * all modules need to respect zones
 * container resize needs to re-evalute zone geometry
-* zone geometyr change needs to propagate to modules
+* zone geometry change needs to propagate to modules
 * need desktop module geometry managing system (central)
 * dropshadow is not optimal and has extreme edge bugs
 * e_apps polling/updates is broken




---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/e raster

2005-01-12 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir : e17/apps/e


Modified Files:
TODO 


Log Message:


add a note for a bug

===
RCS file: /cvsroot/enlightenment/e17/apps/e/TODO,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -3 -r1.13 -r1.14
--- TODO12 Jan 2005 16:03:07 -  1.13
+++ TODO12 Jan 2005 16:04:33 -  1.14
@@ -39,6 +39,8 @@
 * need desktop module geometry managing system (central)
 * dropshadow is not optimal and has extreme edge bugs
 * e_apps polling/updates is broken
+* objects need object types to check the right obj type is passed
+* check on delete all app files/dirs then add all back then pop up menu (segv)
 
 add more issues as they are found
 




---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/e raster

2005-01-12 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/bin


Modified Files:
Makefile.am e.h e_apps.h e_atoms.h e_border.c e_border.h 
e_box.h e_canvas.h e_config.h e_container.h e_desk.h e_error.h 
e_file.h e_focus.h e_hints.h e_icon.h e_iconify.h e_init.h 
e_int_menus.h e_ipc.h e_main.c e_manager.h e_menu.h e_module.h 
e_object.c e_object.h e_path.h e_place.h e_pointer.h 
e_resist.h e_startup.h e_user.h e_utils.h e_zone.c e_zone.h 
Added Files:
e_includes.h 


Log Message:


fix up include system so u canhave one struct directly reference another (put
typedefs in separate section and include twice...

===
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/Makefile.am,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- Makefile.am 3 Jan 2005 09:34:24 -   1.10
+++ Makefile.am 12 Jan 2005 16:03:08 -  1.11
@@ -10,6 +10,7 @@
 
 ENLIGHTENMENTHEADERS = \
 e.h \
+e_includes.h \
 e_file.h \
 e_user.h \
 e_manager.h \
===
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- e.h 11 Jan 2005 13:11:11 -  1.9
+++ e.h 12 Jan 2005 16:03:08 -  1.10
@@ -43,41 +43,40 @@
 # endif
 #endif
 
-#include e_object.h
-#include e_file.h
-#include e_user.h
-#include e_manager.h
-#include e_path.h
-#include e_ipc.h
-#include e_error.h
-#include e_container.h
-#include e_zone.h
-#include e_desk.h
-#include e_border.h
-#include e_pointer.h
-#include e_config.h
-#include e_menu.h
-#include e_icon.h
-#include e_box.h
-#include e_init.h
-#include e_int_menus.h
-#include e_module.h
-#include e_apps.h
-#include e_atoms.h
-#include e_utils.h
-#include e_canvas.h
-#include e_focus.h
-#include e_place.h
-#include e_resist.h
-#include e_startup.h
-#include e_iconify.h
-#include e_hints.h
-
 typedef struct _E_Before_Idler E_Before_Idler;
+typedef struct _E_Rect E_Rect;
+
+/* convenience macro to compress code and avoid typos */
+#define E_FN_DEL(_fn, _h) if (_h) { _fn(_h); _h = NULL; }
+#define E_INTERSECTS(x, y, w, h, xx, yy, ww, hh) (((x)  ((xx) + (ww)))  
((y)  ((yy) + (hh)))  (((x) + (w))  (xx))  (((y) + (h))  (yy)))
+#define E_SPANS_COMMON(x1, w1, x2, w2) (!x2) + (w2)) = (x1)) || ((x2) = 
((x1) + (w1)
+#define E_REALLOC(p, s, n) p = realloc(p, sizeof(s) * n)
+#define E_NEW(s, n) calloc(n, sizeof(s))
+#define E_NEW_BIG(s, n) malloc(n * sizeof(s))
+#define E_FREE(p) { if (p) {free(p); p = NULL;} }
+
+#define E_TYPEDEFS 1
+#include e_includes.h
+#undef E_TYPEDEFS
+#include e_includes.h
 
 EAPI E_Before_Idler *e_main_idler_before_add(int (*func) (void *data), void 
*data, int once);
 EAPI voide_main_idler_before_del(E_Before_Idler *eb);
 
+
+struct _E_Before_Idler
+{
+   int  (*func) (void *data);
+   void  *data;
+   unsigned char  once : 1;
+   unsigned char  delete_me : 1;
+};
+
+struct _E_Rect
+{
+   int x, y, w, h;
+};
+
 extern EAPI E_Path *path_data;
 extern EAPI E_Path *path_images;
 extern EAPI E_Path *path_fonts;
@@ -86,40 +85,4 @@
 extern EAPI E_Path *path_init;
 extern EAPI int restart;
 
-/* convenience macro to compress code and avoid typos */
-#define E_FN_DEL(_fn, _h) \
-if (_h) \
-{ \
-   _fn(_h); \
-   _h = NULL; \
-}
-
-#define E_INTERSECTS(x, y, w, h, xx, yy, ww, hh) \
-(((x)  ((xx) + (ww)))  \
-((y)  ((yy) + (hh)))  \
-(((x) + (w))  (xx))  \
-(((y) + (h))  (yy)))
-
-#define E_SPANS_COMMON(x1, w1, x2, w2) \
-(!x2) + (w2)) = (x1)) || ((x2) = ((x1) + (w1)
-
-#define E_REALLOC(p, s, n) \
-   p = realloc(p, sizeof(s) * n)
-
-#define E_NEW(s, n) \
-   calloc(n, sizeof(s))
-
-#define E_NEW_BIG(s, n) \
-   malloc(n * sizeof(s))
-
-#define E_FREE(p) \
-   { if (p) {free(p); p = NULL;} }
-
-typedef struct _E_Rect E_Rect;
-
-struct _E_Rect
-{
-   int x, y, w, h;
-};
-
 #endif
===
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_apps.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- e_apps.h9 Dec 2004 13:56:06 -   1.4
+++ e_apps.h12 Jan 2005 16:03:08 -  1.5
@@ -1,5 +1,4 @@
-#ifndef E_APPS_H
-#define E_APPS_H
+#ifdef E_TYPEDEFS
 
 typedef enum _E_App_Change
 {
@@ -14,6 +13,10 @@
 
 typedef struct _E_App  E_App;
 
+#else
+#ifndef E_APPS_H
+#define E_APPS_H
+
 struct _E_App
 {
E_Object e_obj_inherit;
@@ -59,3 +62,4 @@
 EAPI E_App *e_app_window_name_class_find(char *name, char *class);
 
 #endif
+#endif
===
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_atoms.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- e_atoms.h   5 Dec 2004 09:30:59 -   1.2
+++ 

E CVS: apps/e handyande

2005-01-12 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : handyande
Project : e17
Module  : apps/e

Dir : e17/apps/e


Modified Files:
TODO 


Log Message:
Oh, got this one earlier
===
RCS file: /cvsroot/enlightenment/e17/apps/e/TODO,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -3 -r1.14 -r1.15
--- TODO12 Jan 2005 16:04:33 -  1.14
+++ TODO12 Jan 2005 17:17:08 -  1.15
@@ -29,7 +29,6 @@
 
 ISSUES:
 
-* pager module doesnt shut down properly (disable and create window - segv)
 * pager module doesnt handle window deletes
 * pager module causes window resizes to be slower than normal
 * virtual desktops need fixing to work with zones properly




---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/engrave shadoi

2005-01-12 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : shadoi
Project : e17
Module  : libs/engrave

Dir : e17/libs/engrave/debian


Added Files:
libengrave0.files libengrave0-dev.files 


Log Message:
Let's actually put something in the package... eh?





---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/e_utils shadoi

2005-01-12 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : shadoi
Project : e17
Module  : apps/e_utils

Dir : e17/apps/e_utils/debian




Log Message:
Directory /cvsroot/enlightenment/e17/apps/e_utils/debian added to the repository





---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/entrance shadoi

2005-01-12 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : shadoi
Project : e17
Module  : apps/entrance

Dir : e17/apps/entrance/debian


Modified Files:
control 


Log Message:
Add a description

===
RCS file: /cvsroot/enlightenment/e17/apps/entrance/debian/control,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- control 26 Aug 2003 13:59:04 -  1.2
+++ control 12 Jan 2005 20:20:03 -  1.3
@@ -9,5 +9,5 @@
 Section: x11
 Architecture: any
 Depends: ${shlibs:Depends}
-Description: entrance
- pants
+Description: Entrance is the enlightened login manager.
+ Entrance is a login manager similar to gdm or kdm, it is based on the 
Enlightenment Foundation Libraries.  It is fully themeable via Edje.




---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/eet tsauerbeck

2005-01-12 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : tsauerbeck
Project : e17
Module  : libs/eet

Dir : e17/libs/eet/src/lib


Modified Files:
eet_lib.c 


Log Message:
early check of the open mode, slightly more efficient
===
RCS file: /cvsroot/enlightenment/e17/libs/eet/src/lib/eet_lib.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -3 -r1.24 -r1.25
--- eet_lib.c   12 Jan 2005 14:23:16 -  1.24
+++ eet_lib.c   12 Jan 2005 19:59:11 -  1.25
@@ -1,3 +1,7 @@
+/*
+ * vim:ts=8:sw=3:sts=8:noexpandtab:cino=5n-3f0^-2{2
+ */
+
 #include Eet.h
 #include Eet_private.h
 
@@ -963,13 +967,16 @@
 int
 eet_delete(Eet_File *ef, char *name)
 {
-   int hash, node_size;
+   int hash, node_size, i;
int exists_already = 0;

/* check to see its' an eet file pointer */   
if ((!ef) || (ef-magic != EET_MAGIC_FILE) || (!name))
  return 0;
 
+   /* deleting keys is only possible in RW mode */
+   if (ef-mode != EET_FILE_MODE_RW) return 0;
+
if (!ef-header) return 0;

/* figure hash bucket */
@@ -977,22 +984,18 @@
node_size = ef-header-directory-hash[hash].size;

/* Does this node already exist? */
-   if (ef-mode == EET_FILE_MODE_RW)
+   for (i = 0; i  node_size; i++)
  {
-   int i;
-   for (i = 0; i  node_size; i++)
+   /* if it matches */
+   if (eet_string_match(ef-header-directory-hash[hash].node[i].name, 
name))
  {
-/* if it matches */
-if 
(eet_string_match(ef-header-directory-hash[hash].node[i].name, name))
-  {
- free(ef-header-directory-hash[hash].node[i].data);
- ef-header-directory-hash[hash].node[i].compression = -1;
- ef-header-directory-hash[hash].node[i].size = 0;
- ef-header-directory-hash[hash].node[i].data_size = 0;
- ef-header-directory-hash[hash].node[i].data = NULL;
- exists_already = 1;
- break;
-  }
+free(ef-header-directory-hash[hash].node[i].data);
+ef-header-directory-hash[hash].node[i].compression = -1;
+ef-header-directory-hash[hash].node[i].size = 0;
+ef-header-directory-hash[hash].node[i].data_size = 0;
+ef-header-directory-hash[hash].node[i].data = NULL;
+exists_already = 1;
+break;
  }
  }
/* flags that writes are pending */




---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/imlib2_loaders mej

2005-01-12 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : mej
Project : e17
Module  : libs/imlib2_loaders

Dir : e17/libs/imlib2_loaders


Modified Files:
imlib2_loaders.spec 


Log Message:
Wed Jan 12 16:00:28 2005Michael Jennings (mej)

Fix broken path. :(
--

===
RCS file: /cvsroot/enlightenment/e17/libs/imlib2_loaders/imlib2_loaders.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- imlib2_loaders.spec 5 Jan 2005 05:05:30 -   1.6
+++ imlib2_loaders.spec 12 Jan 2005 21:00:48 -  1.7
@@ -1,7 +1,7 @@
 Summary: Additional image loaders for Imlib2
 Name: imlib2_loaders
 Version: 1.2.0
-Release: 1.%(date '+%Y%m%d')
+Release: 2.%(date '+%Y%m%d')
 License: Mixed
 Group: System Environment/Libraries
 URL: http://www.enlightenment.org/pages/imlib2.html
@@ -39,6 +39,6 @@
 
 %files
 %defattr(-, root, root)
-%{_libdir}/%{name}
+%{_libdir}/imlib2/loaders/*
 
 %changelog




---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: e kwo

2005-01-12 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir : e16/e/config


Modified Files:
menus.cfg 


Log Message:
Enable saving window shadowing state ([EMAIL PROTECTED])
Enable saving window opacity.
More window ops in menu.
Fix simultaneous saved settings dialogs for different windows.
Snapshot code cleanups.
Properly destroy dialogs when closed.

===
RCS file: /cvsroot/enlightenment/e16/e/config/menus.cfg,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- menus.cfg   3 Jan 2005 21:31:35 -   1.4
+++ menus.cfg   12 Jan 2005 23:09:58 -  1.5
@@ -123,6 +123,14 @@
 ADD_MENU_TEXT_ITEM(60%,__A_CMD, wop * op 153)
 ADD_MENU_TEXT_ITEM(80%,__A_CMD, wop * op 204)
 ADD_MENU_TEXT_ITEM(100%,   __A_CMD, wop * op 255)
+ADD_MENU_TEXT_ITEM(Toggle Shadows, __A_CMD, wop * shadow)
+END_MENU
+
+BEGIN_NEW_MENU(WINOPS_MISC, EMPTY)
+ADD_MENU_TEXT_ITEM(Toggle Skip Window Lists, __A_CMD, wop * skiplists)
+ADD_MENU_TEXT_ITEM(Toggle Fixed Position,__A_CMD, wop * fixedpos)
+ADD_MENU_TEXT_ITEM(Toggle Never Focus,   __A_CMD, wop * neverfocus)
+ADD_MENU_TEXT_ITEM(Toggle Click to Focus,__A_CMD, wop * focusclick)
 END_MENU
 
 BEGIN_NEW_BORDERS_MENU(WINOPS_BORDERS, EMPTY)
@@ -146,13 +154,12 @@
 ADD_MENU_TEXT_ITEM(Lower,   __A_CMD, wop * lower)
 ADD_MENU_TEXT_ITEM(Shade/Unshade,   __A_CMD, wop * shade)
 ADD_MENU_TEXT_ITEM(Stick/Unstick,   __A_CMD, wop * stick)
-ADD_MENU_TEXT_ITEM(Toggle Skip Window Lists,__A_CMD, wop * skiplists)
-/* ADD_MENU_TEXT_ITEM(Toggle Never Focus,   __A_CMD ,) */
-ADD_MENU_TEXT_ITEM(Remember..., __A_CMD, remember * dialog)
-ADD_MENU_SUBMENU_TEXT_ITEM(Window Groups,   WINOPS_GROUP)
+ADD_MENU_TEXT_ITEM(Remember..., __A_CMD, wop * snap dialog)
 ADD_MENU_SUBMENU_TEXT_ITEM(Window Size, WINOPS_SIZE)
 ADD_MENU_SUBMENU_TEXT_ITEM(Set Stacking,WINOPS_LAYER)
 ADD_MENU_SUBMENU_TEXT_ITEM(Set Border Style,WINOPS_BORDERS)
+ADD_MENU_SUBMENU_TEXT_ITEM(Window Groups,   WINOPS_GROUP)
 ADD_MENU_SUBMENU_TEXT_ITEM(Opacity, WINOPS_OPACITY)
+ADD_MENU_SUBMENU_TEXT_ITEM(Miscellaneous,   WINOPS_MISC)
 /*ADD_MENU_SUBMENU_TEXT_ITEM(Remember State,WINOPS_SNAP)*/
 END_MENU




---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/express rephorm

2005-01-12 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : rephorm
Project : e17
Module  : apps/express

Dir : e17/apps/express




Log Message:
Initial import of express -- efl im client

Status:

Vendor Tag: rephorm
Release Tags:   v0

N e17/apps/express/.cvsignore
N e17/apps/express/acinclude.m4
N e17/apps/express/AUTHORS
N e17/apps/express/autogen.sh
N e17/apps/express/TODO
N e17/apps/express/ChangeLog
N e17/apps/express/README
N e17/apps/express/configure.in
N e17/apps/express/COPYING
N e17/apps/express/INSTALL
N e17/apps/express/Makefile.am
N e17/apps/express/NEWS
N e17/apps/express/data/.cvsignore
N e17/apps/express/data/Makefile.am
N e17/apps/express/data/icons/eagle.png
N e17/apps/express/data/icons/gryffon.png
N e17/apps/express/data/icons/Makefile.am
N e17/apps/express/data/themes/.cvsignore
N e17/apps/express/data/themes/Makefile.am
N e17/apps/express/data/themes/winter/base.edc
N e17/apps/express/data/themes/winter/buddy.edc
N e17/apps/express/data/themes/winter/images.edc
N e17/apps/express/data/themes/winter/Makefile.am
N e17/apps/express/data/themes/winter/message.edc
N e17/apps/express/data/themes/winter/express.edc
N e17/apps/express/data/themes/winter/.cvsignore
N e17/apps/express/data/themes/winter/fonts/Vera.ttf
N e17/apps/express/data/themes/winter/img/arrow-left.png
N e17/apps/express/data/themes/winter/img/arrow-right.png
N e17/apps/express/data/themes/winter/img/balloon.png
N e17/apps/express/data/themes/winter/img/balloon2.png
N e17/apps/express/data/themes/winter/img/bottom-border.png
N e17/apps/express/data/themes/winter/img/bottom-grad.png
N e17/apps/express/data/themes/winter/img/entry.png
N e17/apps/express/data/themes/winter/img/main.png
N e17/apps/express/data/themes/winter/img/panel-shadow.png
N e17/apps/express/data/themes/winter/img/scrollbox.png
N e17/apps/express/data/themes/winter/img/sub.png
N e17/apps/express/data/themes/winter/img/top-border.png
N e17/apps/express/data/themes/winter/img/top-grad.png
N e17/apps/express/src/.cvsignore
N e17/apps/express/src/exp_gui.c
N e17/apps/express/src/exp_main.c
N e17/apps/express/src/Makefile.am
N e17/apps/express/src/exp_message.c
N e17/apps/express/src/exp_buddy.c
N e17/apps/express/src/Express.h
N e17/apps/express/src/exp_conversation.c

No conflicts created by this import





---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: embrace shadoi

2005-01-12 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : shadoi
Project : misc
Module  : embrace

Dir : misc/embrace/debian


Added Files:
changelog copyright docs control embrace.files 
embrace.postinst rules README.Debian 


Log Message:
Initial debian packaging.





---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: embrace shadoi

2005-01-12 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : shadoi
Project : misc
Module  : embrace

Dir : misc/embrace/debian




Log Message:
Directory /cvsroot/enlightenment/misc/embrace/debian added to the repository





---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/express rephorm

2005-01-12 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : rephorm
Project : e17
Module  : apps/express

Dir : e17/apps/express/src


Modified Files:
Express.h Makefile.am exp_buddy.c exp_conversation.c exp_gui.c 
exp_main.c exp_message.c 
Added Files:
exp_eb.c exp_eb.h 


Log Message:


add vim modelines
fix some indention

add dj2's shell of an eb-lite backend

===
RCS file: /cvsroot/enlightenment/e17/apps/express/src/Express.h,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -3 -r1.1.1.1 -r1.2
--- Express.h   12 Jan 2005 22:41:54 -  1.1.1.1
+++ Express.h   12 Jan 2005 23:55:53 -  1.2
@@ -1,9 +1,10 @@
-#ifndef E_IM_H
-#define E_IM_H
+#ifndef EXPRESS_H
+#define EXPRESS_H
 
 #include Evas.h
 #include Ecore.h
 #include Ecore_Evas.h
+#include Ecore_Con.h
 #include Edje.h
 #include Etox.h
 #include Esmart/Esmart_Container.h
@@ -14,9 +15,6 @@
 typedef struct _Exp_Conversation Exp_Conversation;
 typedef struct _Exp_Message Exp_Message;
 
-typedef enum _Exp_Buddy_State Exp_Buddy_State;
-
-
 struct _Exp
 {
   Ecore_Evas *ee;
@@ -38,6 +36,21 @@
 unsigned char size : 1;
 unsigned char active_conv : 1;
   } changes;
+
+  struct 
+  {
+char *name;
+int port;
+unsigned char *cookie;
+
+Ecore_Con_Server *server;
+
+struct
+{
+  char *msg;
+  int len;
+} store;
+  } server;
 };
 
 struct _Exp_Buddy
===
RCS file: /cvsroot/enlightenment/e17/apps/express/src/Makefile.am,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -3 -r1.1.1.1 -r1.2
--- Makefile.am 12 Jan 2005 22:41:53 -  1.1.1.1
+++ Makefile.am 12 Jan 2005 23:55:53 -  1.2
@@ -11,10 +11,9 @@
exp_gui.c \
exp_buddy.c \
exp_message.c \
-   exp_conversation.c
+   exp_conversation.c \
+   exp_eb.c exp_eb.h

-
-
 express_LDADD = @edje_libs@ @ecore_libs@ @edb_libs@ @evas_libs@ \
 @esmart_libs@ @imlib2_libs@ @etox_libs@ -lesmart_draggies -lesmart_container
 
===
RCS file: /cvsroot/enlightenment/e17/apps/express/src/exp_buddy.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -3 -r1.1.1.1 -r1.2
--- exp_buddy.c 12 Jan 2005 22:41:53 -  1.1.1.1
+++ exp_buddy.c 12 Jan 2005 23:55:53 -  1.2
@@ -1,3 +1,7 @@
+/*
+ * vim:ts=4:cino=t0
+ */
+
 #include Express.h
 
 static void _exp_buddy_realize(Exp_Buddy *buddy);
===
RCS file: /cvsroot/enlightenment/e17/apps/express/src/exp_conversation.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -3 -r1.1.1.1 -r1.2
--- exp_conversation.c  12 Jan 2005 22:41:54 -  1.1.1.1
+++ exp_conversation.c  12 Jan 2005 23:55:53 -  1.2
@@ -1,3 +1,7 @@
+/*
+ * vim:ts=4:cino=t0
+ */
+
 #include Express.h
 
 static int exp_fake_conversation(void *data);
===
RCS file: /cvsroot/enlightenment/e17/apps/express/src/exp_gui.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -3 -r1.1.1.1 -r1.2
--- exp_gui.c   12 Jan 2005 22:41:53 -  1.1.1.1
+++ exp_gui.c   12 Jan 2005 23:55:53 -  1.2
@@ -1,16 +1,26 @@
+/*
+ * vim:ts=4:cino=t0
+ */
+
 #include Express.h
 
 static void exp_gui_cb_resize(Ecore_Evas *ee);
 static int exp_gui_idler_before(void *data);
 static void _exp_gui_scroll_callback(void *data, Evas_Object *obj, const char 
*sig, const char *src);
 
-void
-exp_gui_setup(Exp *exp)
+int
+exp_gui_init(Exp *exp)
 {
   Evas_Coord mw, mh, dw = 0, dh = 0;
   const char *tmp;
+
+  /* FIXME make this a config option */
   exp-theme_path = strdup(PACKAGE_DATA_DIR/themes/express.eet);
 
+  exp-ee = ecore_evas_software_x11_new(0,0,0,0,255,255);
+  exp-evas = ecore_evas_get(exp-ee);
+  ecore_evas_data_set(exp-ee, exp, exp);
+
   exp-gui = edje_object_add(exp-evas);
   edje_object_file_set(exp-gui, exp-theme_path, express.base);
   evas_object_name_set(exp-gui, express.base);
@@ -25,7 +35,7 @@
   edje_object_part_swallow(exp-gui, express.buddylist, exp-buddy_cont);
   evas_object_name_set(exp-buddy_cont, express.buddylist);
   evas_object_show(exp-buddy_cont);
-  
+
   edje_object_size_min_get(exp-gui, mw, mh);
   tmp = edje_object_data_get(exp-gui, default.w);
   if (tmp) dw = atoi(tmp);
@@ -57,6 +67,8 @@
 
   edje_color_class_set(express.message.received, 255, 214, 214, 255, 255, 
214, 214, 255, 255, 214, 214, 255);
   edje_color_class_set(express.message.sent, 229, 239, 255, 255, 229, 239, 
255, 255, 229, 239, 255, 255);
+
+  return 1;
 }
 
 
@@ -93,7 +105,7 @@
 if (conv-destroy)
 {
   removals = evas_list_append(removals, conv);
-
+
   if (conv == exp-active_conversation)
   {
 edje_object_part_unswallow(exp-gui, exp-active_conversation-cont);

E CVS: apps/express dj2

2005-01-12 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : apps/express

Dir : e17/apps/express/data/icons


Added Files:
.cvsignore 


Log Message:
- stick in -W and -Wall and cleanup the warnings
- hush data/icons





---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/express dj2

2005-01-12 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : apps/express

Dir : e17/apps/express/src


Modified Files:
Express.h Makefile.am exp_buddy.c exp_conversation.c exp_eb.c 
exp_gui.c exp_main.c exp_message.c 


Log Message:
- stick in -W and -Wall and cleanup the warnings
- hush data/icons

===
RCS file: /cvsroot/enlightenment/e17/apps/express/src/Express.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- Express.h   12 Jan 2005 23:55:53 -  1.2
+++ Express.h   13 Jan 2005 05:10:36 -  1.3
@@ -125,7 +125,7 @@
 };
 
 
-void exp_gui_setup(Exp *exp);
+int exp_gui_init(Exp *exp);
 
 Exp_Conversation * exp_conversation_new(Exp_Buddy *buddy);
 void   exp_conversation_free(Exp_Conversation *conv);
@@ -133,6 +133,7 @@
 void   exp_conversation_activate(Exp_Conversation *conv);
 void   exp_conversation_pos_set(Exp_Conversation *conv, double 
pos);
 Exp_Conversation * exp_conversation_find_by_buddy(Exp_Buddy *buddy);
+void   exp_conversation_destroy(Exp_Conversation *conv);
 
 Exp_Message *exp_message_new(Exp_Conversation *conv, char *text, int sender);
 void exp_message_free(Exp_Message *msg);
===
RCS file: /cvsroot/enlightenment/e17/apps/express/src/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- Makefile.am 12 Jan 2005 23:55:53 -  1.2
+++ Makefile.am 13 Jan 2005 05:10:36 -  1.3
@@ -3,6 +3,8 @@
 INCLUDES = @edje_cflags@ @ecore_cflags@ @edb_cflags@ @evas_cflags@ \
 @esmart_cflags@ @imlib2_cflags@ @etox_cflags@
 
+CFLAGS = -W -Wall
+
 bin_PROGRAMS = express
 
 express_SOURCES = \
===
RCS file: /cvsroot/enlightenment/e17/apps/express/src/exp_buddy.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- exp_buddy.c 12 Jan 2005 23:55:53 -  1.2
+++ exp_buddy.c 13 Jan 2005 05:10:36 -  1.3
@@ -255,8 +255,6 @@
 {
   Evas_Event_Mouse_Down *ev = event_info;
   Exp_Buddy *buddy = data;
-  static int i = 0;
-  char buf[200];
 
   if (!buddy) return;
 
@@ -269,5 +267,8 @@
 exp_buddy_deactivate(buddy);
   }
 
+  return;
+  e = NULL;
+  obj = NULL;
 }
 
===
RCS file: /cvsroot/enlightenment/e17/apps/express/src/exp_conversation.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- exp_conversation.c  12 Jan 2005 23:55:53 -  1.2
+++ exp_conversation.c  13 Jan 2005 05:10:36 -  1.3
@@ -133,7 +133,7 @@
 exp_conversation_find_by_buddy(Exp_Buddy *buddy)
 {
   Evas_List *l;
-  if (!buddy || !buddy-exp) return;
+  if (!buddy || !buddy-exp) return NULL;
   
   for (l = buddy-exp-conversations; l; l = l-next)
   {
@@ -191,7 +191,7 @@
   };
 
   conv = exp_conversation_find_by_buddy(buddy);
-  if (!conv) return;
+  if (!conv) return 0;
   printf(fake it!\n);
   exp_message_new(conv, msgs[i], i%2);
   i++;
@@ -221,7 +221,7 @@
   };
 
   conv = exp_conversation_find_by_buddy(buddy);
-  if (!conv) return;
+  if (!conv) return 0;
 
   exp_message_new(conv, msgs[i], i%2);
   i++;
===
RCS file: /cvsroot/enlightenment/e17/apps/express/src/exp_eb.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- exp_eb.c12 Jan 2005 23:55:53 -  1.1
+++ exp_eb.c13 Jan 2005 05:10:36 -  1.2
@@ -111,7 +111,6 @@
 {
   Ecore_Con_Event_Server_Add *e;
   Exp *exp;
-  char *cookie = NULL;
 
   e = ev;
   exp = ecore_con_server_data_get(e-server);
@@ -119,6 +118,8 @@
   ecore_con_server_send(e-server, exp-server.cookie, 
strlen(exp-server.cookie));
 
   return 1;
+  data = NULL;
+  type = 0;
 }
 
 static int
@@ -131,7 +132,10 @@
   exp = ecore_con_server_data_get(e-server);
 
   printf(disconnected from eb\n);
+
   return 1;
+  data = NULL;
+  type = 0;
 }
 
 static int
@@ -139,7 +143,7 @@
 {
   Ecore_Con_Event_Server_Data *e;
   Exp *exp;
-  char *d, *msg, *tmp;
+  char *d, *msg;
   char ** cmds;
   int num_params = 0, i, remaining = 0;
 
@@ -221,6 +225,8 @@
   free(msg);
 
   return 1;
+  data = NULL;
+  type = 0;
 }
 
 static int
@@ -229,7 +235,7 @@
   char cookie_file[PATH_MAX];
   unsigned char cookie[8];
   FILE *cfile = NULL;
-  int i;
+  unsigned int i;
 
   snprintf(cookie_file, sizeof(cookie_file), %s/authcookie, everybody_dir);
 
@@ -952,6 +958,11 @@
 {
   /* FIXME ... */
   printf(WARNING: exp_eb_cmd_group_chat_invite not done\n);
+
+  return;
+  exp = NULL;
+  msg = NULL;
+  id = 0;
 }
 
 void
@@ -959,6 +970,11 @@
 {
   /* FIXME ... */
   printf(WARNING: exp_eb_cmd_group_chat_send not done\n);
+
+  return;
+  exp = NULL;
+  msg = NULL;
+  id = 0;
 }
 
 void
@@ -966,6 +982,10 @@
 {
   /* FIXME ... */
   printf(WARNING: 

E CVS: libs/edje dj2

2005-01-12 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/edje

Dir : e17/libs/edje/src/lib


Modified Files:
edje_util.c 


Log Message:
- this needs to be initialized

===
RCS file: /cvsroot/enlightenment/e17/libs/edje/src/lib/edje_util.c,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -3 -r1.49 -r1.50
--- edje_util.c 12 Jan 2005 02:58:17 -  1.49
+++ edje_util.c 13 Jan 2005 06:00:37 -  1.50
@@ -125,7 +125,7 @@
cc = evas_hash_find(_edje_color_class_hash, color_class);
if (!cc)
  {
-cc = malloc(sizeof(Edje_Color_Class));
+cc = calloc(1, sizeof(Edje_Color_Class));
if (!cc) return;
cc-name = strdup(color_class);
if (!cc-name)




---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/e raster

2005-01-12 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/bin


Modified Files:
e_border.c e_border.h e_object.h 


Log Message:


and if apps are fast at requesting lots of geom just after map.. handle it
properly with respect to frames...

===
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_border.c,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -3 -r1.64 -r1.65
--- e_border.c  12 Jan 2005 16:03:08 -  1.64
+++ e_border.c  13 Jan 2005 06:08:07 -  1.65
@@ -358,6 +358,17 @@
E_Event_Border_Move *ev;
 
E_OBJECT_CHECK(bd);
+   if (bd-new_client)
+ {
+   E_Border_Pending_Move_Resize  *pnd;
+   
+   pnd = E_NEW(E_Border_Pending_Move_Resize, 1);
+   pnd-move = 1;
+   pnd-x = x;
+   pnd-y = y;
+   bd-pending_move_resize = evas_list_append(bd-pending_move_resize, 
pnd);
+   return;
+ }
if ((x == bd-x)  (y == bd-y)) return;
bd-x = x;
bd-y = y;
@@ -380,6 +391,17 @@
 {
E_Event_Border_Resize *ev;
E_OBJECT_CHECK(bd);
+   if (bd-new_client)
+ {
+   E_Border_Pending_Move_Resize  *pnd;
+   
+   pnd = E_NEW(E_Border_Pending_Move_Resize, 1);
+   pnd-resize = 1;
+   pnd-w = w;
+   pnd-h = h;
+   bd-pending_move_resize = evas_list_append(bd-pending_move_resize, 
pnd);
+   return;
+ }
if ((w == bd-w)  (h == bd-h)) return;
bd-w = w;
bd-h = h;
@@ -406,6 +428,20 @@
E_Event_Border_Resize   *rev;

E_OBJECT_CHECK(bd);
+   if (bd-new_client)
+ {
+   E_Border_Pending_Move_Resize  *pnd;
+   
+   pnd = E_NEW(E_Border_Pending_Move_Resize, 1);
+   pnd-move = 1;
+   pnd-resize = 1;
+   pnd-x = x;
+   pnd-y = y;
+   pnd-w = w;
+   pnd-h = h;
+   bd-pending_move_resize = evas_list_append(bd-pending_move_resize, 
pnd);
+   return;
+ }
if ((x == bd-x)  (y == bd-y)  (w == bd-w)  (h == bd-h)) return;
bd-x = x;
bd-y = y;
@@ -809,6 +845,11 @@
 static void
 _e_border_free(E_Border *bd)
 {
+   while (bd-pending_move_resize)
+ {
+   free(bd-pending_move_resize-data);
+   bd-pending_move_resize = 
evas_list_remove_list(bd-pending_move_resize, bd-pending_move_resize);
+ }
if (bd-border_menu)
  {
e_object_del(E_OBJECT(bd-border_menu));
@@ -2100,6 +2141,7 @@
 
if (bd-new_client)
  {
+   bd-new_client = 0;
printf(##- NEW CLIENT SETUP 0x%x\n, bd-client.win);
if (bd-re_manage)
  {
@@ -2181,6 +2223,28 @@
  bd-changes.pos = 1;
   }
  }
+   while (bd-pending_move_resize)
+ {
+E_Border_Pending_Move_Resize *pnd;
+
+pnd = bd-pending_move_resize-data;
+if (pnd-move)
+  {
+ bd-x = pnd-x - bd-client_inset.l;
+ bd-y = pnd-y - bd-client_inset.t;
+ bd-changes.pos = 1;
+  }
+if (pnd-resize)
+  {
+ bd-w = pnd-w + bd-client_inset.l + bd-client_inset.r;
+ bd-h = pnd-h + bd-client_inset.t + bd-client_inset.b;
+ bd-client.w = pnd-w;
+ bd-client.h = pnd-h;
+ bd-changes.size = 1;
+  }
+free(pnd);
+bd-pending_move_resize = 
evas_list_remove_list(bd-pending_move_resize, bd-pending_move_resize);
+ }
ecore_x_icccm_move_resize_send(bd-client.win, 
   bd-x + bd-client_inset.l, 
   bd-y + bd-client_inset.t, 
@@ -2352,7 +2416,6 @@
bd-changes.reset_gravity = 0;
  }

-   bd-new_client = 0;
bd-changed = 0;

bd-changes.stack = 0;
===
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_border.h,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -3 -r1.22 -r1.23
--- e_border.h  12 Jan 2005 16:03:08 -  1.22
+++ e_border.h  13 Jan 2005 06:08:07 -  1.23
@@ -16,14 +16,15 @@
 E_TRANSITION_DECELERATE
 } E_Transition;
 
-typedef struct _E_BorderE_Border;
-typedef struct _E_Event_Border_Resize   E_Event_Border_Resize;
-typedef struct _E_Event_Border_Move E_Event_Border_Move;
-typedef struct _E_Event_Border_Add  E_Event_Border_Add;
-typedef struct _E_Event_Border_Remove   E_Event_Border_Remove;
-typedef struct _E_Event_Border_Show E_Event_Border_Show;
-typedef struct _E_Event_Border_Hide E_Event_Border_Hide;
-typedef struct _E_Event_Border_Desk_Set E_Event_Border_Desk_Set;
+typedef struct _E_Border E_Border;
+typedef struct _E_Border_Pending_Move_Resize E_Border_Pending_Move_Resize;
+typedef struct _E_Event_Border_ResizeE_Event_Border_Resize;
+typedef struct _E_Event_Border_Move  E_Event_Border_Move;
+typedef 

E CVS: libs/edje dj2

2005-01-12 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/edje

Dir : e17/libs/edje/src/lib


Modified Files:
edje_main.c edje_private.h edje_util.c 


Log Message:
- clean up the _edje_color_class_hash and _edje_text_class_hash on
  edje_shutdown

===
RCS file: /cvsroot/enlightenment/e17/libs/edje/src/lib/edje_main.c,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -3 -r1.40 -r1.41
--- edje_main.c 26 Oct 2004 19:01:17 -  1.40
+++ edje_main.c 13 Jan 2005 06:29:52 -  1.41
@@ -42,7 +42,9 @@
_edje_message_shutdown();
_edje_edd_free();
_edje_color_class_members_free();
+   _edje_color_class_hash_free();
_edje_text_class_members_free();
+   _edje_text_class_hash_free();
embryo_shutdown();

return 0;
===
RCS file: /cvsroot/enlightenment/e17/libs/edje/src/lib/edje_private.h,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -3 -r1.79 -r1.80
--- edje_private.h  7 Dec 2004 13:31:15 -   1.79
+++ edje_private.h  13 Jan 2005 06:29:52 -  1.80
@@ -781,11 +781,13 @@
 void  _edje_color_class_member_del(Edje *ed, char *color_class);
 void  _edje_color_class_on_del(Edje *ed, Edje_Part *ep);
 void  _edje_color_class_members_free(void);
+void  _edje_color_class_hash_free(void);
 
 Edje_Text_Class  *_edje_text_class_find(Edje *ed, char *text_class);
 void  _edje_text_class_member_add(Edje *ed, char *text_class);
 void  _edje_text_class_member_del(Edje *ed, char *text_class);
 void  _edje_text_class_members_free(void);
+void  _edje_text_class_hash_free(void);
 
 Edje *_edje_fetch(Evas_Object *obj);
 int   _edje_glob_match(char *str, char *glob);
===
RCS file: /cvsroot/enlightenment/e17/libs/edje/src/lib/edje_util.c,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -3 -r1.50 -r1.51
--- edje_util.c 13 Jan 2005 06:00:37 -  1.50
+++ edje_util.c 13 Jan 2005 06:29:52 -  1.51
@@ -1374,6 +1374,30 @@
_edje_color_class_member_hash = NULL;
 }
 
+static Evas_Bool color_class_hash_list_free(Evas_Hash *hash, 
+const char *key, void *data,
+void *fdata)
+{
+  Edje_Color_Class *cc;
+
+  cc = data;
+  if (cc-name) free(cc-name);
+  free(cc);
+  
+  return 1;
+}
+
+void
+_edje_color_class_hash_free(void)
+{
+  if (!_edje_color_class_hash) return;
+
+  evas_hash_foreach(_edje_color_class_hash, color_class_hash_list_free,
+NULL);
+  evas_hash_free(_edje_color_class_hash);
+  _edje_color_class_hash = NULL;
+}
+
 void
 _edje_color_class_on_del(Edje *ed, Edje_Part *ep)
 {
@@ -1447,6 +1471,31 @@
_edje_text_class_member_hash = NULL;
 }
 
+static Evas_Bool text_class_hash_list_free(Evas_Hash *hash, 
+const char *key, void *data,
+void *fdata)
+{
+  Edje_Text_Class *tc;
+
+  tc = data;
+  if (tc-name) free(tc-name);
+  if (tc-font) free(tc-font);
+  free(tc);
+  
+  return 1;
+}
+
+void
+_edje_text_class_hash_free(void)
+{
+  if (!_edje_text_class_hash) return;
+
+  evas_hash_foreach(_edje_text_class_hash, text_class_hash_list_free,
+NULL);
+  evas_hash_free(_edje_text_class_hash);
+  _edje_text_class_hash = NULL;
+}
+
 Edje *
 _edje_fetch(Evas_Object *obj)
 {




---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/express dj2

2005-01-12 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : apps/express

Dir : e17/apps/express/src


Modified Files:
Makefile.am exp_eb.c exp_main.c 


Log Message:
- fix bug talking to everybuddy, seems to be working good now
- connect on startup
- add debugging symbols


===
RCS file: /cvsroot/enlightenment/e17/apps/express/src/Makefile.am,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- Makefile.am 13 Jan 2005 05:10:36 -  1.3
+++ Makefile.am 13 Jan 2005 06:45:51 -  1.4
@@ -3,7 +3,7 @@
 INCLUDES = @edje_cflags@ @ecore_cflags@ @edb_cflags@ @evas_cflags@ \
 @esmart_cflags@ @imlib2_cflags@ @etox_cflags@
 
-CFLAGS = -W -Wall
+CFLAGS = -W -Wall -g -O0
 
 bin_PROGRAMS = express
 
===
RCS file: /cvsroot/enlightenment/e17/apps/express/src/exp_eb.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- exp_eb.c13 Jan 2005 05:10:36 -  1.2
+++ exp_eb.c13 Jan 2005 06:45:52 -  1.3
@@ -115,6 +115,7 @@
   e = ev;
   exp = ecore_con_server_data_get(e-server);
   exp-server.server = e-server;
+
   ecore_con_server_send(e-server, exp-server.cookie, 
strlen(exp-server.cookie));
 
   return 1;
@@ -233,7 +234,7 @@
 exp_eb_cookie_get(Exp *exp)
 {
   char cookie_file[PATH_MAX];
-  unsigned char cookie[8];
+  unsigned char cookie[9];
   FILE *cfile = NULL;
   unsigned int i;
 
@@ -243,8 +244,9 @@
   if (!cfile) return 0;
 
   exp-server.port = (fgetc(cfile)  8) + fgetc(cfile);
-  for (i = 0; i  sizeof(cookie); i++)
+  for (i = 0; i  8; i++)
 cookie[i] = (unsigned char)fgetc(cfile);
+  cookie[8] = '\0';
   fclose(cfile);
 
   exp-server.cookie = strdup(cookie);
@@ -260,7 +262,6 @@
   if (!strcmp(cmds[0], cookie_accepted))
   {
 exp_eb_cmd_list_services(exp);
-
   }
   else if (!strcmp(cmds[0], cookie_rejected))
   {
@@ -417,9 +418,9 @@
 ev-title = strdup(cmds[2]);
 ev-msg = strdup(cmds[3]);
 
-/*ecore_event_add(Exp_EB_EVENT_DIALOG, ev,
-  exp_eb_cb_event_dialog_free, NULL);
-  */
+ecore_event_add(Exp_EB_EVENT_DIALOG, ev,
+exp_eb_cb_event_dialog_free, NULL);
+  
 /* FIXME FAKE IT FOR NOW */
 exp_eb_cmd_dialog_yesno_resolve(exp, ev-tag, 0);
 
===
RCS file: /cvsroot/enlightenment/e17/apps/express/src/exp_main.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- exp_main.c  13 Jan 2005 05:10:37 -  1.3
+++ exp_main.c  13 Jan 2005 06:45:52 -  1.4
@@ -47,8 +47,15 @@
 
   exp_fake_buddies(exp);
 
+  if (!exp_eb_connect(exp, oberon))
+  {
+printf(Unable to connect to Everybody\n);
+/* XXX may want to exit here in the future ... */
+  }
+
   ecore_main_loop_begin();
 
+  exp_eb_shutdown();
   edje_shutdown();
   ecore_evas_shutdown();
   ecore_shutdown();




---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/e raster

2005-01-12 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/bin


Modified Files:
e_border.c 


Log Message:


icccm compliate configurereq handling

===
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_border.c,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -3 -r1.65 -r1.66
--- e_border.c  13 Jan 2005 06:08:07 -  1.65
+++ e_border.c  13 Jan 2005 06:44:19 -  1.66
@@ -1009,9 +1009,9 @@
e-value_mask  ECORE_X_WINDOW_CONFIGURE_MASK_Y,
bd-client.win, x, y);
 if (e-value_mask  ECORE_X_WINDOW_CONFIGURE_MASK_X)
-  x = e-x - bd-client_inset.l;
+  x = e-x;
 if (e-value_mask  ECORE_X_WINDOW_CONFIGURE_MASK_Y)
-  y = e-y - bd-client_inset.t;
+  y = e-y;
 if ((e-value_mask  ECORE_X_WINDOW_CONFIGURE_MASK_W) ||
 (e-value_mask  ECORE_X_WINDOW_CONFIGURE_MASK_H))
   {
@@ -1046,9 +1046,6 @@
 printf(##- ASK FOR 0x%x TO RESIZE TO [FLG W%iH%i] %i,%i\n, 
e-value_mask  ECORE_X_WINDOW_CONFIGURE_MASK_W,
e-value_mask  ECORE_X_WINDOW_CONFIGURE_MASK_H,
-   
-   
-   
bd-client.win, e-w, e-h);
 e_border_resize(bd, w, h);
  }
@@ -2230,8 +2227,8 @@
 pnd = bd-pending_move_resize-data;
 if (pnd-move)
   {
- bd-x = pnd-x - bd-client_inset.l;
- bd-y = pnd-y - bd-client_inset.t;
+ bd-x = pnd-x;
+ bd-y = pnd-y;
  bd-changes.pos = 1;
   }
 if (pnd-resize)




---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/express dj2

2005-01-12 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : apps/express

Dir : e17/apps/express/src


Modified Files:
exp_eb.c 


Log Message:
- missing command

===
RCS file: /cvsroot/enlightenment/e17/apps/express/src/exp_eb.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- exp_eb.c13 Jan 2005 06:45:52 -  1.3
+++ exp_eb.c13 Jan 2005 06:49:45 -  1.4
@@ -294,6 +294,10 @@
   {
 
   }
+  else if (!strcmp(cmds[0], list_services_done))
+  {
+
+  }
   /* contact functions */
   else if (!strcmp(cmds[0], list_group))
   {




---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/express dj2

2005-01-12 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : apps/express

Dir : e17/apps/express/src


Modified Files:
exp_eb.c exp_eb.h 


Log Message:
- add in the message and notify_3rdperson events
  - currently the same event, we may want to change this
- fix the defines, enums and events to use EXP in upper case

===
RCS file: /cvsroot/enlightenment/e17/apps/express/src/exp_eb.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- exp_eb.c13 Jan 2005 06:49:45 -  1.4
+++ exp_eb.c13 Jan 2005 07:12:31 -  1.5
@@ -22,6 +22,7 @@
 static void exp_eb_cb_event_dialog_free(void *data, void *ev);
 static void exp_eb_cb_event_buddy_login_free(void *data, void *ev);
 static void exp_eb_cb_event_buddy_logout_free(void *data, void *ev);
+static void exp_eb_cb_event_message_free(void *data, void *ev);
 
 int
 exp_eb_init(const char *eb_dir)
@@ -45,9 +46,9 @@
   return 0;
 }
 
-Exp_EB_EVENT_DIALOG = ecore_event_type_new();
-Exp_EB_EVENT_BUDDY_LOGIN = ecore_event_type_new();
-Exp_EB_EVENT_BUDDY_LOGOUT = ecore_event_type_new();
+EXP_EB_EVENT_DIALOG = ecore_event_type_new();
+EXP_EB_EVENT_BUDDY_LOGIN = ecore_event_type_new();
+EXP_EB_EVENT_BUDDY_LOGOUT = ecore_event_type_new();
 
 if (*eb_dir == '~')
 {
@@ -298,6 +299,7 @@
   {
 
   }
+
   /* contact functions */
   else if (!strcmp(cmds[0], list_group))
   {
@@ -315,8 +317,9 @@
   {
 
 
-/* adding and deleting groups/contacts/accounts */
   }
+
+  /* adding and deleting groups/contacts/accounts */
   else if (!strcmp(cmds[0], add_group))
   {
 
@@ -390,9 +393,9 @@
   else if (!strcmp(cmds[0], unset_away)) 
   {
 
-
-/* dialogs */
   }
+
+  /* dialogs */
   else if (!strcmp(cmds[0], dialog_resolved)) 
   {
 printf(dialog resolved (%s)\n, cmds[1]);
@@ -403,12 +406,12 @@
 Exp_Eb_Event_Dialog *ev;
 
 ev = calloc(1, sizeof(Exp_Eb_Event_Dialog));
-ev-type = Exp_EB_EVENT_DIALOG_ERROR;
+ev-type = EXP_EB_EVENT_DIALOG_ERROR;
 ev-tag = strdup(cmds[1]);
 ev-title = strdup(cmds[2]);
 ev-msg = strdup(cmds[3]);
 
-ecore_event_add(Exp_EB_EVENT_DIALOG, ev,
+ecore_event_add(EXP_EB_EVENT_DIALOG, ev,
 exp_eb_cb_event_dialog_free, NULL);
 
   }
@@ -417,12 +420,12 @@
 Exp_Eb_Event_Dialog *ev;
 
 ev = calloc(1, sizeof(Exp_Eb_Event_Dialog));
-ev-type = Exp_EB_EVENT_DIALOG_YES_NO;
+ev-type = EXP_EB_EVENT_DIALOG_YES_NO;
 ev-tag = strdup(cmds[1]);
 ev-title = strdup(cmds[2]);
 ev-msg = strdup(cmds[3]);
 
-ecore_event_add(Exp_EB_EVENT_DIALOG, ev,
+ecore_event_add(EXP_EB_EVENT_DIALOG, ev,
 exp_eb_cb_event_dialog_free, NULL);
   
 /* FIXME FAKE IT FOR NOW */
@@ -435,7 +438,7 @@
 int i;
 
 ev = calloc(1, sizeof(Exp_Eb_Event_Dialog));
-ev-type = Exp_EB_EVENT_DIALOG_LIST;
+ev-type = EXP_EB_EVENT_DIALOG_LIST;
 ev-tag = strdup(cmds[1]);
 ev-title = strdup(cmds[2]);
 ev-msg = strdup(cmds[3]);
@@ -445,7 +448,7 @@
 for(i = 0; i  ev-num_opts; i++)
   ev-opts[i] = strdup(cmds[i + 5]);
 
-ecore_event_add(Exp_EB_EVENT_DIALOG, ev,
+ecore_event_add(EXP_EB_EVENT_DIALOG, ev,
 exp_eb_cb_event_dialog_free, NULL);
 
   } 
@@ -454,11 +457,11 @@
 Exp_Eb_Event_Dialog *ev;
 
 ev = calloc(1, sizeof(Exp_Eb_Event_Dialog));
-ev-type = Exp_EB_EVENT_DIALOG_TEXT;
+ev-type = EXP_EB_EVENT_DIALOG_TEXT;
 ev-tag = strdup(cmds[1]);
 ev-msg = strdup(cmds[2]);
 
-ecore_event_add(Exp_EB_EVENT_DIALOG, ev,
+ecore_event_add(EXP_EB_EVENT_DIALOG, ev,
 exp_eb_cb_event_dialog_free, NULL);
 
   }
@@ -467,10 +470,10 @@
 Exp_Eb_Event_Dialog *ev;
 
 ev = calloc(1, sizeof(Exp_Eb_Event_Dialog));
-ev-type = Exp_EB_EVENT_DIALOG_CLIENT_ERROR;
+ev-type = EXP_EB_EVENT_DIALOG_CLIENT_ERROR;
 ev-msg = strdup(cmds[1]);
 
-ecore_event_add(Exp_EB_EVENT_DIALOG, ev,
+ecore_event_add(EXP_EB_EVENT_DIALOG, ev,
 exp_eb_cb_event_dialog_free, NULL);
   }
 
@@ -484,7 +487,7 @@
 ev-service = strdup(cmds[2]);
 ev-buddy = strdup(cmds[3]);
 
-ecore_event_add(Exp_EB_EVENT_BUDDY_LOGOUT, ev,
+ecore_event_add(EXP_EB_EVENT_BUDDY_LOGOUT, ev,
 exp_eb_cb_event_buddy_logout_free, NULL);
 
   }
@@ -497,7 +500,7 @@
 ev-service = strdup(cmds[2]);
 ev-buddy = strdup(cmds[3]);
 
-ecore_event_add(Exp_EB_EVENT_BUDDY_LOGIN, ev,
+ecore_event_add(EXP_EB_EVENT_BUDDY_LOGIN, ev,
 exp_eb_cb_event_buddy_login_free, NULL);
 
   }
@@ -513,10 +516,31 @@
   /* sending/receiving messages */
   else if (!strcmp(cmds[0], message_receive)) 
   {
+Exp_Eb_Event_Message *ev;
+
+ev = calloc(1, sizeof(Exp_Eb_Event_Message));
+ev-group = strdup(cmds[1]);
+ev-contact = strdup(cmds[2]);
+ev-local_handle = strdup(cmds[3]);
+ev-service = strdup(cmds[4]);
+ev-buddy = strdup(cmds[5]);
+ev-msg = strdup(cmds[6]);
+
+

E CVS: apps/e raster

2005-01-12 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/bin


Modified Files:
e_border.c e_main.c 


Log Message:


set frame size and virtual roots to make apps that try manage their own
geometyr work with vroots (gtk is broken in this regard - workign on gtk
patch to respect NET_VIRTUAL_ROOTS from NETWM)

===
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_border.c,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -3 -r1.66 -r1.67
--- e_border.c  13 Jan 2005 06:44:19 -  1.66
+++ e_border.c  13 Jan 2005 07:19:02 -  1.67
@@ -2087,6 +2087,7 @@
bd-client_inset.r = r;
bd-client_inset.t = t;
bd-client_inset.b = b;
+   ecore_x_netwm_frame_size_set(bd-client.win, l, r, t, b);
bd-w += (bd-client_inset.l + bd-client_inset.r);
bd-h += (bd-client_inset.t + bd-client_inset.b);
bd-changes.size = 1;
===
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_main.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -3 -r1.24 -r1.25
--- e_main.c12 Jan 2005 16:03:08 -  1.24
+++ e_main.c13 Jan 2005 07:19:03 -  1.25
@@ -549,7 +549,7 @@
 }
}
   }
-
+ecore_x_netwm_desk_roots_set(man-root, 1, (con-win));
 e_container_show(con);
  }
else




---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs