E CVS: proto doursse

2006-05-23 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : proto

Dir : e17/proto/etk/src/lib


Modified Files:
etk_menu_item.h etk_menu_item.c 


Log Message:
remove etk warning and clean the api (etk_menu_item_set_from_stock is in the 
menu_item part)

===
RCS file: /cvs/e/e17/proto/etk/src/lib/etk_menu_item.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- etk_menu_item.h 18 May 2006 19:08:42 -  1.9
+++ etk_menu_item.h 24 May 2006 06:06:12 -  1.10
@@ -134,7 +134,7 @@
 void etk_menu_item_deselect(Etk_Menu_Item *menu_item);
 void etk_menu_item_activate(Etk_Menu_Item *menu_item);
 
-void etk_menu_item_set_from_stock(Etk_Menu_Item_Image *menu_item, Etk_Stock_Id 
stock_id);
+void etk_menu_item_set_from_stock(Etk_Menu_Item *menu_item, Etk_Stock_Id 
stock_id);
 
 /* Etk_Menu_Item_Separator */
 Etk_Type *etk_menu_item_separator_type_get();
===
RCS file: /cvs/e/e17/proto/etk/src/lib/etk_menu_item.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -3 -r1.13 -r1.14
--- etk_menu_item.c 18 May 2006 19:08:42 -  1.13
+++ etk_menu_item.c 24 May 2006 06:06:12 -  1.14
@@ -130,7 +130,7 @@
 {
Etk_Widget *menu_item;
 
-   menu_item = etk_menu_item_new();
+   menu_item = etk_menu_item_image_new();
etk_menu_item_set_from_stock(ETK_MENU_ITEM(menu_item), stock_id);
 
return menu_item;
@@ -238,7 +238,7 @@
  * @param menu_item a menu item
  * @param stock_id the stock id to use
  */
-void etk_menu_item_set_from_stock(Etk_Menu_Item_Image *menu_item, Etk_Stock_Id 
stock_id)
+void etk_menu_item_set_from_stock(Etk_Menu_Item *menu_item, Etk_Stock_Id 
stock_id)
 {
Etk_Widget *image;
char *label;




---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: proto titan

2006-05-23 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : titan
Project : e17
Module  : proto

Dir : e17/proto/ephoto/data/images


Modified Files:
audio.png camera.png folder.png slide.png up.png 


Log Message:

New images, these are the e17 file manager images as well :).

===
RCS file: /cvs/e/e17/proto/ephoto/data/images/audio.png,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
Binary files /tmp/cvs1fFMKm and /tmp/cvsRUqNs2 differ
===
RCS file: /cvs/e/e17/proto/ephoto/data/images/camera.png,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
Binary files /tmp/cvsPCOPKn and /tmp/cvspKzou3 differ
===
RCS file: /cvs/e/e17/proto/ephoto/data/images/folder.png,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
Binary files /tmp/cvsFAQV2q and /tmp/cvslQIYN6 differ
===
RCS file: /cvs/e/e17/proto/ephoto/data/images/slide.png,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
Binary files /tmp/cvshBn1Mp and /tmp/cvsn3Zwz5 differ
===
RCS file: /cvs/e/e17/proto/ephoto/data/images/up.png,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
Binary files /tmp/cvsDPPe4s and /tmp/cvsdyaeS8 differ




---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl dj2

2006-05-23 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/lib


Modified Files:
ewl_misc.c 


Log Message:
- cleanup

===
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_misc.c,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -3 -r1.51 -r1.52
--- ewl_misc.c  24 May 2006 02:55:15 -  1.51
+++ ewl_misc.c  24 May 2006 04:00:19 -  1.52
@@ -1072,12 +1072,13 @@
if (ewl_object_queued_has(EWL_OBJECT(w),
  EWL_FLAG_QUEUED_CSCHEDULED))
ewl_configure_cancel_request(w);
-   /* printf("Cleanup count %d: %s\n", cleanup, w->inheritance); */
+   
ewl_callback_call(w, EWL_CALLBACK_DESTROY);
ewl_callback_del_type(w, EWL_CALLBACK_DESTROY);
FREE(w);
cleanup++;
}
+
if (ewl_config.debug.gc_reap)
printf("Destroyed %d EWL objects\n", cleanup);
 




---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl dj2

2006-05-23 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/lib


Modified Files:
ewl_embed.c 


Log Message:
- cleanup

===
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_embed.c,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -3 -r1.59 -r1.60
--- ewl_embed.c 24 May 2006 02:55:15 -  1.59
+++ ewl_embed.c 24 May 2006 03:59:52 -  1.60
@@ -1381,18 +1381,24 @@
 
ewl_object_state_remove(EWL_OBJECT(w), EWL_FLAG_STATE_PRESSED);
 
-   if ((w == e->last.focused) || (RECURSIVE(w) && ewl_widget_parent_of(w, 
e->last.focused))) {
+   if ((w == e->last.focused) 
+   || (RECURSIVE(w) 
+   && ewl_widget_parent_of(w, e->last.focused)))
e->last.focused = NULL;
-   /*ewl_embed_focused_widget_set(e, NULL);*/
-   }
 
-   if ((w == e->last.clicked) || (RECURSIVE(w) && ewl_widget_parent_of(w, 
e->last.clicked)))
+   if ((w == e->last.clicked) 
+   || (RECURSIVE(w) 
+   && ewl_widget_parent_of(w, e->last.clicked)))
e->last.clicked = NULL;
 
-   if ((w == e->last.mouse_in) || (RECURSIVE(w) && ewl_widget_parent_of(w, 
e->last.mouse_in)))
+   if ((w == e->last.mouse_in) 
+   || (RECURSIVE(w) 
+   && ewl_widget_parent_of(w, e->last.mouse_in)))
e->last.mouse_in = NULL;
 
-   if ((w == e->dnd_widget) || (RECURSIVE(w) && ewl_widget_parent_of(w, 
e->dnd_widget)))
+   if ((w == e->dnd_widget) 
+   || (RECURSIVE(w) 
+   && ewl_widget_parent_of(w, e->dnd_widget)))
e->dnd_widget = NULL;
 
DLEAVE_FUNCTION(DLEVEL_STABLE);




---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl dj2

2006-05-23 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/lib


Modified Files:
ewl_widget.c 


Log Message:
- cleanup, remove the right callback on destroy

===
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_widget.c,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -3 -r1.77 -r1.78
--- ewl_widget.c24 May 2006 02:55:15 -  1.77
+++ ewl_widget.c24 May 2006 03:59:10 -  1.78
@@ -2008,7 +2008,7 @@
 
ewl_callback_del(w, EWL_CALLBACK_MOUSE_DOWN, ewl_widget_drag_down_cb);
ewl_callback_del(w, EWL_CALLBACK_MOUSE_MOVE, ewl_widget_drag_move_cb);
-   ewl_callback_del(w, EWL_CALLBACK_MOUSE_MOVE, ewl_widget_drag_up_cb);
+   ewl_callback_del(w, EWL_CALLBACK_MOUSE_UP, ewl_widget_drag_up_cb);
 
/*
 * First remove the parents reference to this widget to avoid bad
@@ -2058,7 +2058,6 @@
 
if (w->bit_state) {
ecore_string_release(w->bit_state);
-   w->inheritance = NULL;
w->bit_state = NULL;
}
 
@@ -2536,7 +2535,6 @@
if (b == p_b)
p_b = 0;
 
-
/*
 * Assign the relevant insets and padding.
 */
@@ -2544,8 +2542,6 @@
ewl_object_padding_set(EWL_OBJECT(w), p_l, p_r, p_t, p_b);
}
 
-   
-
DLEAVE_FUNCTION(DLEVEL_STABLE);
 }
 
@@ -2967,7 +2963,7 @@
ewl_widget_drag_down_cb);
ewl_callback_del(w, EWL_CALLBACK_MOUSE_MOVE, 
ewl_widget_drag_move_cb);
-   ewl_callback_del(w, EWL_CALLBACK_MOUSE_MOVE, 
+   ewl_callback_del(w, EWL_CALLBACK_MOUSE_UP, 
ewl_widget_drag_up_cb);
 
ewl_object_flags_remove(EWL_OBJECT(w), 
EWL_FLAG_PROPERTY_DRAGGABLE,  EWL_FLAGS_PROPERTY_MASK);
@@ -3005,16 +3001,17 @@
Ewl_Widget* temp = ewl_widget_drag_widget;
 
while (temp) {
-   ewl_object_state_remove(EWL_OBJECT(temp), 
EWL_FLAG_STATE_PRESSED);
+   ewl_object_state_remove(EWL_OBJECT(temp), 
+   EWL_FLAG_STATE_PRESSED);
temp = temp->parent;
}
 
-   
ewl_embed_active_set(ewl_embed_widget_find(ewl_widget_drag_widget), 0);
+   ewl_embed_active_set(ewl_embed_widget_find(
+   ewl_widget_drag_widget), 0);
}
 
ewl_widget_dnd_drag_move_count = 0;
ewl_widget_drag_widget = NULL;
-// printf("Drag reset..\n");
 
DLEAVE_FUNCTION(DLEVEL_STABLE);
 }




---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl dj2

2006-05-23 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/lib


Modified Files:
ewl_box.c ewl_callback.c ewl_config.c ewl_dnd.c ewl_embed.c 
ewl_events.c ewl_filelist.c ewl_filelist_column.c 
ewl_filelist_icon.c ewl_filelist_list.c ewl_menu.c ewl_misc.c 
ewl_object.c ewl_paned.c ewl_text.c ewl_theme.c ewl_widget.c 


Log Message:
- doxy changes

===
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_box.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -3 -r1.28 -r1.29
--- ewl_box.c   19 May 2006 04:30:16 -  1.28
+++ ewl_box.c   24 May 2006 02:55:15 -  1.29
@@ -869,6 +869,7 @@
 }
 
 /**
+ * @internal
  * @param c: The Ewl_Container containing the widget
  * @param w: The widget being resized
  * @param size: The size of the widget
===
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_callback.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -3 -r1.17 -r1.18
--- ewl_callback.c  14 Feb 2006 05:50:02 -  1.17
+++ ewl_callback.c  24 May 2006 02:55:15 -  1.18
@@ -112,7 +112,7 @@
  * ewl_callback_unregister - unreference a callback and free if appropriate
  * @cb: the callback to unregister
  *
- * Returns no value. Checks to see if @cb has nay remaining references, if not
+ * Returns no value. Checks to see if @cb has any remaining references, if not
  * it is removed from the registration system and freed.
  */
 static void
@@ -463,6 +463,7 @@
 }
 
 /**
+ * @internal
  * @param w: the widget to delete the callbacks
  * @param t: the type of the callbacks to be deleted
  * @return Returns no value.
@@ -488,6 +489,7 @@
 }
 
 /**
+ * @internal
  * @param w: the widget to delete the id
  * @param t: the type of event the callback is attached to
  * @param cb_id: the id of the callback to delete
@@ -523,6 +525,7 @@
 
 
 /**
+ * @internal
  * @param w: the widget to remove the callbacks
  * @return Returns no value.
  * @brief Remove all callbacks from the specified widget
===
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_config.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- ewl_config.c29 Dec 2005 19:37:43 -  1.9
+++ ewl_config.c24 May 2006 02:55:15 -  1.10
@@ -28,6 +28,7 @@
 Ewl_Config ewl_config;
 
 /**
+ * @internal
  * @return Returns true on success, false on failure.
  * @brief Initialize the configuration system
  *
@@ -47,6 +48,7 @@
 }
 
 /**
+ * @internal
  * @return Returns no value
  * @brief Shutdown the configuration system.
  */
===
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_dnd.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- ewl_dnd.c   23 May 2006 15:01:47 -  1.11
+++ ewl_dnd.c   24 May 2006 02:55:15 -  1.12
@@ -29,6 +29,7 @@
 static int ewl_dnd_event_dnd_move(void *data, int type, void *event);
 
 /**
+ * @internal
  * @return Returns TRUE if the DND system was successfully initialized,
  * FALSE otherwise
  * @brief Initialize the DND sybsystem
@@ -50,6 +51,7 @@
 }
 
 /**
+ * @internal
  * @return Returns no value.
  * @brief Shuts down the EWL DND system
  */
===
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_embed.c,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -3 -r1.58 -r1.59
--- ewl_embed.c 22 May 2006 19:11:37 -  1.58
+++ ewl_embed.c 24 May 2006 02:55:15 -  1.59
@@ -113,6 +113,7 @@
 }
 
 /**
+ * @internal
  * @brief Shutdown the embed 
  */
 void
===
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_events.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -3 -r1.26 -r1.27
--- ewl_events.c12 Apr 2006 06:41:55 -  1.26
+++ ewl_events.c24 May 2006 02:55:15 -  1.27
@@ -39,6 +39,7 @@
 
 
 /**
+ * @internal
  * @return Returns true or false to indicate success in initializing events.
  * @brief Initialize the event handlers for dispatching to proper widgets
  */
@@ -167,6 +168,7 @@
  */
 
 /**
+ * @internal
  * @param data: user specified data passed to the function
  * @param type: the type of event triggering the function call
  * @param e: the expose event information
@@ -200,6 +202,7 @@
 }
 
 /**
+ * @internal
  * @param data: user specified data passed to the function
  * @param type: the type of event triggering the function call
  * @param e: the configure event information
@@ -250,7 +253,8 @@
/*
 * Configure events really only need to occur on resize.
 */
-   if ((ewl_object_current_w_get(EWL_OBJECT(window)) != ev->w) || 
(ewl_object_current_h_get(EWL_OBJECT(window)) != ev->h)) {
+   if ((e

E CVS: apps/e raster

2006-05-23 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/bin


Modified Files:
e_config.c e_int_config_cfgdialogs.c 


Log Message:


disable auto apply - all the people reporting problems have it enabled.

===
RCS file: /cvs/e/e17/apps/e/src/bin/e_config.c,v
retrieving revision 1.173
retrieving revision 1.174
diff -u -3 -r1.173 -r1.174
--- e_config.c  21 May 2006 11:00:03 -  1.173
+++ e_config.c  24 May 2006 02:49:07 -  1.174
@@ -1213,6 +1213,9 @@
E_CONFIG_LIMIT(e_config->display_res_height, 1, 8192);
E_CONFIG_LIMIT(e_config->display_res_hz, 0, 250);
E_CONFIG_LIMIT(e_config->display_res_rotation, 0, 0xff);
+
+   /* FIXME: disabled auto apply because it causes problems */
+   e_config->cfgdlg_auto_apply = 0;

e_config_save_queue();

===
RCS file: /cvs/e/e17/apps/e/src/bin/e_int_config_cfgdialogs.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- e_int_config_cfgdialogs.c   30 Apr 2006 03:43:47 -  1.2
+++ e_int_config_cfgdialogs.c   24 May 2006 02:49:07 -  1.3
@@ -70,13 +70,24 @@
 _basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data 
*cfdata) 
 {
Evas_Object *o, *of, *ob;
+   E_Radio_Group *rg;

o = e_widget_list_add(evas, 0, 0);
   
-   of = e_widget_framelist_add(evas, _("General Settings"), 0);
-   ob = e_widget_check_add(evas, _("Auto-Apply Configuration Changes"), 
&(cfdata->auto_apply));
+//   of = e_widget_framelist_add(evas, _("General Settings"), 0);
+//   ob = e_widget_check_add(evas, _("Auto-Apply Configuration Changes"), 
&(cfdata->auto_apply));
+//   e_widget_framelist_object_append(of, ob);
+//   e_widget_list_object_append(o, of, 1, 1, 0.5);   
+   
+   of = e_widget_framelist_add(evas, _("Default Dialog Mode"), 0);
+   rg = e_widget_radio_group_new(&(cfdata->default_mode));
+
+   ob = e_widget_radio_add(evas, _("Basic Mode"), 
E_CONFIG_DIALOG_CFDATA_TYPE_BASIC, rg);
e_widget_framelist_object_append(of, ob);
-   e_widget_list_object_append(o, of, 1, 1, 0.5);   
+   ob = e_widget_radio_add(evas, _("Advanced Mode"), 
E_CONFIG_DIALOG_CFDATA_TYPE_ADVANCED, rg);
+   e_widget_framelist_object_append(of, ob);
+   
+   e_widget_list_object_append(o, of, 1, 1, 0.5);
return o;
 }
 
@@ -97,10 +108,10 @@

o = e_widget_list_add(evas, 0, 0);
 
-   of = e_widget_framelist_add(evas, _("General Settings"), 0);
-   ob = e_widget_check_add(evas, _("Auto-Apply Configuration Changes"), 
&(cfdata->auto_apply));
-   e_widget_framelist_object_append(of, ob);
-   e_widget_list_object_append(o, of, 1, 1, 0.5);   
+//   of = e_widget_framelist_add(evas, _("General Settings"), 0);
+//   ob = e_widget_check_add(evas, _("Auto-Apply Configuration Changes"), 
&(cfdata->auto_apply));
+//   e_widget_framelist_object_append(of, ob);
+//   e_widget_list_object_append(o, of, 1, 1, 0.5);   

of = e_widget_framelist_add(evas, _("Default Dialog Mode"), 0);
rg = e_widget_radio_group_new(&(cfdata->default_mode));




---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ecore raster

2006-05-23 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/ecore

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


Modified Files:
ecore_con.c 


Log Message:


linger -> 0

===
RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore_con/ecore_con.c,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -3 -r1.66 -r1.67
--- ecore_con.c 24 May 2006 00:33:20 -  1.66
+++ ecore_con.c 24 May 2006 00:45:27 -  1.67
@@ -283,7 +283,7 @@
if (fcntl(svr->fd, F_SETFL, O_NONBLOCK) < 0) goto error;
if (fcntl(svr->fd, F_SETFD, FD_CLOEXEC) < 0) goto error;
lin.l_onoff = 1;
-   lin.l_linger = 100;
+   lin.l_linger = 0;
if (setsockopt(svr->fd, SOL_SOCKET, SO_LINGER, &lin, sizeof(struct 
linger)) < 0) goto error;
socket_addr.sin_family = AF_INET;
socket_addr.sin_port = htons(port);




---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ecore raster

2006-05-23 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/ecore

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


Modified Files:
ecore_con.c 


Log Message:


enable linger... set it to 0

===
RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore_con/ecore_con.c,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -3 -r1.65 -r1.66
--- ecore_con.c 19 May 2006 03:52:24 -  1.65
+++ ecore_con.c 24 May 2006 00:33:20 -  1.66
@@ -221,7 +221,7 @@
 umask(pmode);   
 goto error;
  }
-   lin.l_onoff = 0;
+   lin.l_onoff = 1;
lin.l_linger = 0;
if (setsockopt(svr->fd, SOL_SOCKET, SO_LINGER, &lin, sizeof(struct 
linger)) < 0)
  {




---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: net devilhorns

2006-05-23 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : net

Dir : e_modules/net


Modified Files:
Makefile.am e_mod_config.c e_mod_main.c e_mod_main.h 
module_icon.png net.edc 
Added Files:
module.eap rx_00.png rx_01.png rx_02.png rx_03.png rx_04.png 
rx_05.png rx_06.png rx_07.png rx_08.png rx_09.png rx_10.png 
tx_00.png tx_01.png tx_02.png tx_03.png tx_04.png tx_05.png 
tx_06.png tx_07.png tx_08.png tx_09.png tx_10.png 
Removed Files:
e_mod_config.h 


Log Message:
Net module meets shelf :)
-Removed graphs (they ate memory for lunch).
-Added led-type gradient indicators in place of graph.
-Added mouse-over send and recieve values.

It may not be 100% perfect yet, but it won't crash E.

Users will need to remove any old module.net.cfg file they have before
running.

===
RCS file: /cvs/e/e_modules/net/Makefile.am,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- Makefile.am 9 Mar 2006 11:39:09 -   1.3
+++ Makefile.am 23 May 2006 22:07:36 -  1.4
@@ -10,6 +10,7 @@
 
 files_DATA = \
 module_icon.png \
+module.eap \
 net.edj \
 net.edc \
 VeraMono.ttf
@@ -24,9 +25,8 @@
 pkg_LTLIBRARIES= module.la
 module_la_SOURCES  = e_mod_main.c \
   e_mod_main.h \
-  e_mod_config.c \
-  e_mod_config.h
-
+  e_mod_config.c
+  
 module_la_LIBADD   = @e_libs@ -lm
 module_la_LDFLAGS  = -module -avoid-version
 module_la_DEPENDENCIES = $(top_builddir)/config.h
===
RCS file: /cvs/e/e_modules/net/e_mod_config.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- e_mod_config.c  5 Apr 2006 17:48:49 -   1.10
+++ e_mod_config.c  23 May 2006 22:07:37 -  1.11
@@ -1,14 +1,11 @@
 #include 
+#include 
 #include "e_mod_main.h"
-#include "e_mod_config.h"
-#include "config.h"
 
 struct _E_Config_Dialog_Data
 {
char *device;
-   int check_interval;
-   int show_text;
-   int show_graph;
+   double poll_time;
 
Ecore_List *devs;
int dev_num;
@@ -19,15 +16,16 @@
 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 void _fill_data(Net_Face *nf, E_Config_Dialog_Data *cfdata);
+static void _fill_data(Config_Item *ci, E_Config_Dialog_Data *cfdata);
 static void _net_config_get_devices(Ecore_List *devs);
 
 /* Config Calls */
 void
-_configure_net_module(Net_Face *nf)
+_config_net_module(Config_Item *ci)
 {
E_Config_Dialog *cfd;
E_Config_Dialog_View *v;
+   E_Container *con;
 
v = E_NEW(E_Config_Dialog_View, 1);
 
@@ -36,22 +34,21 @@
v->basic.apply_cfdata = _basic_apply_data;
v->basic.create_widgets = _basic_create_widgets;
 
-   cfd = e_config_dialog_new(nf->con, D_("Net Configuration"), NULL, 0, v, nf);
-   nf->net->cfd = cfd;
+   con = e_container_current_get(e_manager_current_get());
+   cfd = e_config_dialog_new(con, D_("Net Configuration"), NULL, 0, v, ci);
+   net_config->config_dialog = cfd;
 }
 
 static void
-_fill_data(Net_Face *nf, E_Config_Dialog_Data *cfdata)
+_fill_data(Config_Item *ci, E_Config_Dialog_Data *cfdata)
 {
char *tmp;
int i;
 
-   cfdata->check_interval = nf->conf->check_interval;
-   cfdata->show_text = nf->conf->show_text;
-   cfdata->show_graph = nf->conf->show_graph;
+   cfdata->poll_time = ci->poll_time;
 
-   if (nf->conf->device != NULL)
-  cfdata->device = strdup(nf->conf->device);
+   if (ci->device != NULL)
+  cfdata->device = strdup(ci->device);
else
   cfdata->device = NULL;
 
@@ -81,22 +78,20 @@
 _create_data(E_Config_Dialog *cfd)
 {
E_Config_Dialog_Data *cfdata;
-   Net_Face *nf;
+   Config_Item *ci;
 
-   nf = cfd->data;
+   ci = cfd->data;
cfdata = E_NEW(E_Config_Dialog_Data, 1);
-
-   _fill_data(nf, cfdata);
+   _fill_data(ci, cfdata);
return cfdata;
 }
 
 static void
 _free_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata)
 {
-   Net_Face *nf;
-
-   nf = cfd->data;
-   nf->net->cfd = NULL;
+   if (!net_config)
+ return;
+   net_config->config_dialog = NULL;
E_FREE(cfdata->device);
if (cfdata->devs)
   ecore_list_destroy(cfdata->devs);
@@ -112,13 +107,6 @@
int i;
 
o = e_widget_list_add(evas, 0, 0);
-   of = e_widget_framelist_add(evas, D_("General Settings"), 0);
-   ob = e_widget_check_add(evas, D_("Show Text"), (&(cfdata->show_text)));
-   e_widget_framelist_object_append(of, ob);
-   ob = e_widget_check_add(evas, D_("Show Graph"), (&(cfdata->show_graph)));
-   e_widget_framelist_object_append(of, ob);
-   e_widget_list_object_append(o, of, 1, 1, 0.5);

E CVS: libs/ewl dj2

2006-05-23 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/lib


Modified Files:
ewl_filedialog.c ewl_filedialog.h 


Log Message:
- fix the initial menu placement

===
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_filedialog.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -3 -r1.24 -r1.25
--- ewl_filedialog.c26 Apr 2006 03:18:10 -  1.24
+++ ewl_filedialog.c23 May 2006 20:17:01 -  1.25
@@ -101,15 +101,8 @@
ewl_dialog_has_separator_set(EWL_DIALOG(fd), FALSE);
ewl_widget_hide(EWL_DIALOG(fd)->action_area);
 
-   fd->menu_float = ewl_floater_new();
-   ewl_container_child_append(EWL_CONTAINER(fd), fd->menu_float);
-   ewl_object_fill_policy_set(EWL_OBJECT(fd->menu_float),
-   EWL_FLAG_FILL_FILL);
-   ewl_widget_internal_set(EWL_WIDGET(fd->menu_float), TRUE);
-
fd->menu = ewl_menu_new();
ewl_button_label_set(EWL_BUTTON(fd->menu), " ");
-   ewl_container_child_append(EWL_CONTAINER(fd->menu_float), fd->menu);
ewl_widget_show(fd->menu);
 
menu = ewl_menu_new();
@@ -118,24 +111,24 @@
ewl_widget_show(menu);
 
o = ewl_menu_item_new();
-   ewl_button_label_set(EWL_BUTTON(o), "Column view");
+   ewl_button_label_set(EWL_BUTTON(o), "Icon view");
ewl_container_child_append(EWL_CONTAINER(menu), o);
ewl_callback_append(o, EWL_CALLBACK_CLICKED,
-   ewl_filedialog_cb_column_view, fd);
+   ewl_filedialog_cb_icon_view, fd);
ewl_widget_show(o);
 
o = ewl_menu_item_new();
-   ewl_button_label_set(EWL_BUTTON(o), "Icon view");
+   ewl_button_label_set(EWL_BUTTON(o), "List view");
ewl_container_child_append(EWL_CONTAINER(menu), o);
ewl_callback_append(o, EWL_CALLBACK_CLICKED,
-   ewl_filedialog_cb_icon_view, fd);
+   ewl_filedialog_cb_list_view, fd);
ewl_widget_show(o);
 
o = ewl_menu_item_new();
-   ewl_button_label_set(EWL_BUTTON(o), "List view");
+   ewl_button_label_set(EWL_BUTTON(o), "Column view");
ewl_container_child_append(EWL_CONTAINER(menu), o);
ewl_callback_append(o, EWL_CALLBACK_CLICKED,
-   ewl_filedialog_cb_list_view, fd);
+   ewl_filedialog_cb_column_view, fd);
ewl_widget_show(o);
 
o = ewl_menu_item_new();
@@ -483,13 +476,21 @@
 
if (event->button == 3)
{
-   ewl_floater_position_set(EWL_FLOATER(fd->menu_float),
-   event->x, event->y);
-   ewl_widget_show(fd->menu_float);
+   Ewl_Menu *menu;
+   Ewl_Embed *emb;
+   int x, y;
+
+   emb = ewl_embed_widget_find(w);
+   ewl_embed_window_position_get(emb, &x, &y);
+
+   menu = EWL_MENU(fd->menu);
+   ewl_window_move(EWL_WINDOW(menu->base.popup), 
+   x + event->x, y + event->y);
+   ewl_widget_show(fd->menu);
 
ewl_callback_call(EWL_WIDGET(fd->menu),
EWL_CALLBACK_FOCUS_IN);
-   ewl_object_state_remove(EWL_OBJECT(fd->menu_float),
+   ewl_object_state_remove(EWL_OBJECT(fd->menu),
EWL_FLAG_STATE_PRESSED);
}
 
===
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_filedialog.h,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -3 -r1.14 -r1.15
--- ewl_filedialog.h12 Apr 2006 00:29:04 -  1.14
+++ ewl_filedialog.h23 May 2006 20:17:01 -  1.15
@@ -37,7 +37,6 @@
 {
Ewl_Dialog dialog;  /**< The dialog base class */
Ewl_Widget *fp; /**< Ewl_Filepicker */
-   Ewl_Widget *menu_float; /**< Floater to hold the menu */
Ewl_Widget *menu;   /**< The menu */
 };
 




---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl dj2

2006-05-23 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/lib


Modified Files:
ewl_dnd.c 


Log Message:
- formatting

===
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_dnd.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- ewl_dnd.c   17 Feb 2006 06:43:33 -  1.10
+++ ewl_dnd.c   23 May 2006 15:01:47 -  1.11
@@ -38,7 +38,8 @@
 {
DENTER_FUNCTION(DLEVEL_STABLE);
 
-   ewl_dnd_position_hash = ecore_hash_new(ecore_direct_hash, 
ecore_direct_compare);
+   ewl_dnd_position_hash = ecore_hash_new(ecore_direct_hash, 
+   ecore_direct_compare);
if (!ewl_dnd_position_hash)
DRETURN_INT(FALSE, DLEVEL_STABLE);
 
@@ -129,10 +130,12 @@
ewl_dnd_widget = w;
ewl_dnd_move_count = 0;

-   ewl_dnd_mouse_up_handler = 
ecore_event_handler_add(ECORE_X_EVENT_MOUSE_BUTTON_UP,
-   ewl_dnd_event_mouse_up, 
NULL);
-   ewl_dnd_mouse_move_handler = 
ecore_event_handler_add(ECORE_X_EVENT_MOUSE_MOVE, 
-   ewl_dnd_event_dnd_move, 
NULL);
+   ewl_dnd_mouse_up_handler = ecore_event_handler_add(
+   ECORE_X_EVENT_MOUSE_BUTTON_UP,
+   ewl_dnd_event_mouse_up, NULL);
+   ewl_dnd_mouse_move_handler = ecore_event_handler_add(
+   ECORE_X_EVENT_MOUSE_MOVE, 
+   ewl_dnd_event_dnd_move, NULL);
 
ewl_dnd_drag_canvas = ecore_evas_software_x11_new(NULL, 
EWL_DND_WINDOW_ROOT, 
@@ -142,7 +145,8 @@
ecore_evas_shaped_set(ewl_dnd_drag_canvas, 1);
ecore_evas_software_x11_direct_resize_set(ewl_dnd_drag_canvas, 1);
 
-   ewl_dnd_evas_win = 
ecore_evas_software_x11_window_get(ewl_dnd_drag_canvas);
+   ewl_dnd_evas_win = ecore_evas_software_x11_window_get(
+   ewl_dnd_drag_canvas);
ecore_x_window_resize(ewl_dnd_evas_win, 64, 64);
ecore_evas_override_set(ewl_dnd_drag_canvas, 1);





---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl dj2

2006-05-23 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl


Modified Files:
TODO 


Log Message:
todo++

===
RCS file: /cvs/e/e17/libs/ewl/TODO,v
retrieving revision 1.91
retrieving revision 1.92
diff -u -3 -r1.91 -r1.92
--- TODO21 May 2006 03:51:41 -  1.91
+++ TODO23 May 2006 14:51:47 -  1.92
@@ -57,6 +57,9 @@
 
 - text entry on the spinner seems to be broken for manual entry
 
+- The column view of the filepicker needs to blank out the preview when you
+  have multiple files selected.
+
 
   Ewl_Icon bugs/todo
   --




---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: language sndev

2006-05-23 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : sndev
Project : e_modules
Module  : language

Dir : e_modules/language


Modified Files:
TODO 


Log Message:


* new policy per window is added. unfortunatelly, it works a little bit slowly 
for now,
  but this will be fixed.

===
RCS file: /cvs/e/e_modules/language/TODO,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -3 -r1.14 -r1.15
--- TODO18 May 2006 15:04:53 -  1.14
+++ TODO23 May 2006 09:41:18 -  1.15
@@ -1,3 +1,4 @@
+0. Optimize language switching functionality. It is too slow for per window 
policy.
 
 1. Fix the configure.in file in order to have dependencies to X11 and xkbfile
libraries.
@@ -13,3 +14,5 @@
   a) Global
   b) Per Window
   c) 
+
+6. Memleaks? forget somewere to clear list or remove an item from it?




---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: language sndev

2006-05-23 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : sndev
Project : e_modules
Module  : language

Dir : e_modules/language/src/module


Modified Files:
e_mod_config.c e_mod_lang.c e_mod_lang.h e_mod_main.c 
e_mod_main.h 


Log Message:


* new policy per window is added. unfortunatelly, it works a little bit slowly 
for now,
  but this will be fixed.

===
RCS file: /cvs/e/e_modules/language/src/module/e_mod_config.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- e_mod_config.c  18 May 2006 16:32:17 -  1.12
+++ e_mod_config.c  23 May 2006 09:41:18 -  1.13
@@ -121,6 +121,7 @@
 static Evas_Object *
 _basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data 
*cfdata)
 {
+   E_Radio_Group  *rg;
Evas_Object *o, *of, *ob, *ot, *ot2, *oft;
 
cfdata->evas = evas;
@@ -137,7 +138,7 @@
ob = e_widget_ilist_add(evas, ILIST_ICON_LANG_WIDTH, 
ILIST_ICON_LANG_HEIGHT, NULL);
e_widget_on_change_hook_set(ob, _lang_languages_ilist_cb_change, 
cfdata);
cfdata->gui.lang_ilist = ob;
-   e_widget_min_size_set(ob, 250, 250);
+   e_widget_min_size_set(ob, 250, 170);
e_widget_ilist_go(ob);
e_widget_framelist_object_append(of, ob);
 }
@@ -150,7 +151,7 @@
ob = e_widget_ilist_add(evas, ILIST_ICON_WIDTH, ILIST_ICON_HEIGHT, 
NULL);
e_widget_on_change_hook_set(ob, 
_lang_selected_languages_ilist_cb_change, cfdata);
cfdata->gui.selected_lang_ilist = ob;
-   e_widget_min_size_set(ob, 250, 250);
+   e_widget_min_size_set(ob, 250, 170);
e_widget_ilist_go(ob);
e_widget_frametable_object_append(oft, ob, 0, 0, 4, 1, 1, 1, 1, 1);
 
@@ -184,7 +185,7 @@
e_widget_on_change_hook_set(ob, _lang_kbd_model_ilist_cb_change, 
cfdata);
cfdata->gui.kbd_model_ilist = ob;
{
-  e_widget_min_size_set(ob, 380, 100);
+  e_widget_min_size_set(ob, 380, 80);
   e_widget_ilist_go(ob);
}
e_widget_framelist_object_append(of, ob);
@@ -197,7 +198,7 @@
e_widget_on_change_hook_set(ob, 
_lang_kbd_layout_variant_ilist_cb_change, cfdata);
cfdata->gui.kbd_layout_variant_ilist = ob;
{
-  e_widget_min_size_set(ob, 120, 100);
+  e_widget_min_size_set(ob, 120, 80);
   e_widget_ilist_go(ob);
}
e_widget_framelist_object_append(of, ob);
@@ -208,11 +209,26 @@
}
e_widget_list_object_append(o, ot, 1, 1, 0.5);
 
-   /*of = e_widget_framelist_add(evas, _("Options"), 0);
-   ob = e_widget_check_add(evas, _("Show Language Indicator"), 
(&(cfdata->lang_show_indicator)));
-   e_widget_framelist_object_append(of, ob);
+   
 
-   e_widget_list_object_append(o, of, 1, 1, 0.5);*/
+   of = e_widget_framelist_add(evas, _("Language Switching Policy"), 1);
+   { 
+  rg = e_widget_radio_group_new((int *)&(cfdata->lang_policy));
+
+  ob = e_widget_radio_add(evas, "Global", LS_GLOBAL_POLICY, rg);
+  e_widget_framelist_object_append(of, ob);
+
+  ob = e_widget_radio_add(evas, "Window", LS_WINDOW_POLICY, rg);
+  e_widget_framelist_object_append(of, ob);
+
+  ob = e_widget_radio_add(evas, "Application", LS_APPLICATION_POLICY, rg);
+  e_widget_framelist_object_append(of, ob);
+  e_widget_disabled_set(ob, 1);
+   }
+
+   e_widget_list_object_append(o, of, 1, 1, 0.5);
+
+   //
 
_lang_update_lang_defined_list(cfdata);
_lang_update_selected_lang_list(cfdata);
@@ -231,6 +247,17 @@
Language*lang, *lang2;
 
cfdata->conf->lang_policy = cfdata->lang_policy;
+   if (cfdata->conf->lang_policy == LS_GLOBAL_POLICY)
+ { 
+   language_clear_border_language_setup_list();
+   language_unregister_callback_handlers();
+ }
+   else if (cfdata->conf->lang_policy == LS_WINDOW_POLICY ||
+   cfdata->conf->lang_policy == LS_APPLICATION_POLICY)
+ { 
+   language_register_callback_handlers();
+ }
+
cfdata->conf->lang_show_indicator = cfdata->lang_show_indicator;
 
while (cfdata->conf->languages)
@@ -246,10 +273,10 @@
  cfdata->conf->languages = evas_list_append(cfdata->conf->languages, 
lang);
  }
cfdata->conf->language_selector = 0;
-   //e_config_save_queue();
-   e_config_save();
+   e_config_save_queue();
+   //e_config_save();
 
-   lang_language_switch_to(cfdata->conf, cfdata->conf->language_selector = 0);
+   lang_language_switch_to(cfdata->conf, (cfdata->conf->language_selector = 
0), 0);
return 1;
 }
 static void
===
RCS file: /cvs/e/e_modules/language/src/module/e_mod_lang.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -3 -r1.21 -r1.22
--- e_mod_lang.c18 May 2006 15:00