E CVS: libs/ewl jethomas

2008-07-05 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : jethomas
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/lib


Modified Files:
ewl_entry.c 


Log Message:
Make selections act a bit better.

===
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_entry.c,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -3 -r1.89 -r1.90
--- ewl_entry.c 29 Jun 2008 14:01:39 -  1.89
+++ ewl_entry.c 6 Jul 2008 04:32:42 -   1.90
@@ -389,16 +389,28 @@
 DRETURN(DLEVEL_STABLE);
 
 if (!strcmp(event->keyname, "Left"))
+{
+ewl_entry_selection_clear(e);
 ewl_entry_cursor_move_left(e);
+}
 
 else if (!strcmp(event->keyname, "Right"))
+{
+ewl_entry_selection_clear(e);
 ewl_entry_cursor_move_right(e);
+}
 
 else if (!strcmp(event->keyname, "Up"))
+{
+ewl_entry_selection_clear(e);
 ewl_entry_cursor_move_up(e);
+}
 
 else if (!strcmp(event->keyname, "Down"))
+{
+ewl_entry_selection_clear(e);
 ewl_entry_cursor_move_down(e);
+}
 
 else if (!strcmp(event->keyname, "BackSpace"))
 {
@@ -550,11 +562,18 @@
 ewl_entry_cb_mouse_move(Ewl_Widget *w, void *ev __UNUSED__,
 void *data __UNUSED__)
 {
+Ewl_Event_Mouse *event;
+unsigned int idx = 0;
+
 DENTER_FUNCTION(DLEVEL_STABLE);
 DCHECK_PARAM_PTR(w);
 DCHECK_TYPE(w, EWL_WIDGET_TYPE);
 
-/* XXX do we leave the cursor at the start? or move to the end? */
+event = ev;
+idx = ewl_text_coord_index_map(EWL_TEXT(w), event->x, event->y);
+ewl_entry_cursor_position_set(EWL_ENTRY_CURSOR(EWL_ENTRY(w)->cursor),
+idx);
+ewl_widget_configure(w);
 
 DLEAVE_FUNCTION(DLEVEL_STABLE);
 }



-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl jethomas

2008-07-05 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : jethomas
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/lib


Modified Files:
ewl_text.c 


Log Message:
Fix for bug 435 - selecting text now works again.

===
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_text.c,v
retrieving revision 1.201
retrieving revision 1.202
diff -u -3 -r1.201 -r1.202
--- ewl_text.c  7 May 2008 13:38:25 -   1.201
+++ ewl_text.c  6 Jul 2008 04:18:52 -   1.202
@@ -3471,6 +3471,13 @@
 
 sel = EWL_TEXT_TRIGGER(t->selection);
 
+/* Move the selection widget to wherever the mouse was clicked,
+ * as this way we are always marked onscreen, and receive configuration
+ * callbacks
+ */
+ewl_object_position_request(EWL_OBJECT(t->selection), event->x,
+event->y);
+
 char_idx = ewl_text_coord_index_map(EWL_TEXT(w), event->x, event->y);
 modifiers = ewl_ev_modifiers_get();
 if (modifiers & EWL_KEY_MODIFIER_SHIFT)



-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/esmart doursse

2008-07-05 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : libs/esmart

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


Modified Files:
Makefile.am 


Log Message:
compile the lib before the plugins

===
RCS file: /cvs/e/e17/libs/esmart/src/lib/esmart_container/Makefile.am,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- Makefile.am 11 Nov 2007 11:05:06 -  1.12
+++ Makefile.am 5 Jul 2008 14:15:25 -   1.13
@@ -1,7 +1,7 @@
 
 MAINTAINERCLEANFILES = Makefile.in
 
-SUBDIRS = layout
+SUBDIRS = . layout
 
 AM_CPPFLAGS = \
 -I$(top_srcdir)/src/lib/esmart_container \



-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/esmart doursse

2008-07-05 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : libs/esmart

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


Modified Files:
Makefile.am 


Log Message:
link layout/default.so against esmart_container

===
RCS file: 
/cvs/e/e17/libs/esmart/src/lib/esmart_container/layout/default/Makefile.am,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- Makefile.am 11 Nov 2007 11:05:07 -  1.6
+++ Makefile.am 5 Jul 2008 10:31:33 -   1.7
@@ -9,4 +9,5 @@
 plugindir = @libdir@/@PACKAGE@/layout
 
 default_la_SOURCES = default.c
+default_la_LIBADD = 
$(top_builddir)/src/lib/esmart_container/libesmart_container.la @CONTAINER_LIBS@
 default_la_LDFLAGS = -module -avoid-version



-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/e codewarrior

2008-07-05 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : codewarrior
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/bin


Modified Files:
e_hints.c 


Log Message:
Fix typo generated by invalid search and replace.


===
RCS file: /cvs/e/e17/apps/e/src/bin/e_hints.c,v
retrieving revision 1.98
retrieving revision 1.99
diff -u -3 -r1.98 -r1.99
--- e_hints.c   30 Jun 2008 08:48:29 -  1.98
+++ e_hints.c   5 Jul 2008 09:22:14 -   1.99
@@ -44,7 +44,7 @@
/*ecore_x_netwm_supported(roots[supported_num], 
ECORE_X_ATOM_NET_RESTACK_WINDOW, 1);*/
supported[supported_num++] = ECORE_X_ATOM_NET_REQUEST_FRAME_EXTENTS;
 
-   /* Applsupported_numcatsupported_numon Wsupported_numndow 
Propertsupported_numes */
+   /* Application Window Properties */
supported[supported_num++] = ECORE_X_ATOM_NET_WM_NAME;
supported[supported_num++] = ECORE_X_ATOM_NET_WM_VISIBLE_NAME;
supported[supported_num++] = ECORE_X_ATOM_NET_WM_ICON_NAME;



-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs