E CVS: libs/ewl ningerso

2008-02-02 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/border


Modified Files:
ewl_border_test.c 


Log Message:
Add two simple unit tests for the border container.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/border/ewl_border_test.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- ewl_border_test.c   4 Dec 2007 05:27:57 -   1.1
+++ ewl_border_test.c   3 Feb 2008 05:28:39 -   1.2
@@ -6,6 +6,9 @@
 #include ewl_radiobutton.h
 #include ewl_separator.h
 
+#include stdio.h
+#include string.h
+
 static Ewl_Widget *button_aleft, *button_acenter;
 static Ewl_Widget *button_aright, *button_atop, *button_abottom;
 static Ewl_Widget *button_pleft, *button_pright, *button_ptop, *button_pbottom;
@@ -15,6 +18,14 @@
 static void border_change_position(Ewl_Widget *w, void *ev, void *data);
 static void checkbutton_cb(Ewl_Widget *w, void *ev, void *data);
 
+static int border_is_test(char *buf, int len);
+static int label_set_get_test(char *buf, int len);
+
+static Ewl_Unit_Test border_unit_tests[] = {
+   {Border is, border_is_test, NULL, -1, 0},
+   {Border label set/get, label_set_get_test, NULL, -1, 0},
+   };
+
 void
 test_info(Ewl_Test *test)
 {
@@ -24,6 +35,7 @@
test-filename = __FILE__;
test-func = create_test;
test-type = EWL_TEST_TYPE_CONTAINER;
+   test-unit_tests = border_unit_tests;
 }
 
 static int
@@ -227,3 +239,43 @@
}
 }
 
+static int border_is_test(char *buf, int len)
+{
+   Ewl_Widget *border;
+   int ret = 0;
+
+   border = ewl_border_new();
+   if (ewl_widget_type_is(border, EWL_BORDER_TYPE))
+   ret = 1;
+   else
+   LOG_FAILURE(buf, len, border type doesn't match);
+
+   ewl_widget_destroy(border);
+
+   return ret;
+}
+
+static int label_set_get_test(char *buf, int len)
+{
+   Ewl_Widget *border;
+   int ret = 0;
+
+   border = ewl_border_new();
+   if (ewl_border_label_get(EWL_BORDER(border)))
+   LOG_FAILURE(buf, len, default border label set);
+   else {
+   const char *label;
+
+   ewl_border_label_set(EWL_BORDER(border), label value);
+
+   label = ewl_border_label_get(EWL_BORDER(border));
+   if (label  !strcmp(label, label value))
+   ret = 1;
+   else
+   LOG_FAILURE(buf, len, border label doesn't match);
+   }
+
+   ewl_widget_destroy(border);
+
+   return ret;
+}



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2008-02-02 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/border


Modified Files:
ewl_border_test.c 


Log Message:
Complete basic test coverage for the border container.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/border/ewl_border_test.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- ewl_border_test.c   3 Feb 2008 05:28:39 -   1.2
+++ ewl_border_test.c   3 Feb 2008 06:05:59 -   1.3
@@ -20,10 +20,14 @@
 
 static int border_is_test(char *buf, int len);
 static int label_set_get_test(char *buf, int len);
+static int label_position_set_get_test(char *buf, int len);
+static int label_alignment_set_get_test(char *buf, int len);
 
 static Ewl_Unit_Test border_unit_tests[] = {
{Border is, border_is_test, NULL, -1, 0},
{Border label set/get, label_set_get_test, NULL, -1, 0},
+   {Border label position set/get, label_position_set_get_test, 
NULL, -1, 0},
+   {Border label alignment set/get, 
label_alignment_set_get_test, NULL, -1, 0},
};
 
 void
@@ -275,6 +279,119 @@
LOG_FAILURE(buf, len, border label doesn't match);
}
 
+   ewl_widget_destroy(border);
+
+   return ret;
+}
+
+static int label_position_set_get_test(char *buf, int len)
+{
+   Ewl_Widget *border;
+   unsigned int pos;
+   int ret = 0;
+
+   border = ewl_border_new();
+   pos = ewl_border_label_position_get(EWL_BORDER(border));
+   if (pos != EWL_POSITION_TOP) {
+   LOG_FAILURE(buf, len, default border label position wrong);
+   goto POSITION_ERROR;
+   }
+
+   ewl_border_label_position_set(EWL_BORDER(border), EWL_POSITION_LEFT);
+   pos = ewl_border_label_position_get(EWL_BORDER(border));
+   if (pos != EWL_POSITION_LEFT) {
+   LOG_FAILURE(buf, len, border label position not left);
+   goto POSITION_ERROR;
+   }
+
+   ewl_border_label_position_set(EWL_BORDER(border), EWL_POSITION_RIGHT);
+   pos = ewl_border_label_position_get(EWL_BORDER(border));
+   if (pos != EWL_POSITION_RIGHT) {
+   LOG_FAILURE(buf, len, border label position not right);
+   goto POSITION_ERROR;
+   }
+
+   ewl_border_label_position_set(EWL_BORDER(border), EWL_POSITION_BOTTOM);
+   pos = ewl_border_label_position_get(EWL_BORDER(border));
+   if (pos != EWL_POSITION_BOTTOM) {
+   LOG_FAILURE(buf, len, border label position not bottom);
+   goto POSITION_ERROR;
+   }
+
+   ewl_border_label_position_set(EWL_BORDER(border), EWL_POSITION_TOP);
+   pos = ewl_border_label_position_get(EWL_BORDER(border));
+   if (pos != EWL_POSITION_TOP) {
+   LOG_FAILURE(buf, len, border label position not top);
+   goto POSITION_ERROR;
+   }
+
+   ret = 1;
+
+POSITION_ERROR:
+   ewl_widget_destroy(border);
+
+   return ret;
+}
+
+static int label_alignment_set_get_test(char *buf, int len)
+{
+   Ewl_Widget *border;
+   int align;
+   int req_align;
+   int ret = 0;
+
+   border = ewl_border_new();
+   align = ewl_border_label_alignment_get(EWL_BORDER(border));
+   if (align != EWL_FLAG_ALIGN_LEFT) {
+   LOG_FAILURE(buf, len, default border label alignment wrong);
+   goto POSITION_ERROR;
+   }
+
+   req_align = (EWL_FLAG_ALIGN_LEFT | EWL_FLAG_ALIGN_RIGHT |
+   EWL_FLAG_ALIGN_BOTTOM | EWL_FLAG_ALIGN_TOP |
+   EWL_FLAG_ALIGN_CENTER);
+
+   while (req_align = 0) {
+
+   ewl_border_label_alignment_set(EWL_BORDER(border), req_align);
+   align = ewl_border_label_alignment_get(EWL_BORDER(border));
+   if (align != req_align) {
+   LOG_FAILURE(buf, len,
+   border label alignment %x does not 
+   match requested %x, align, req_align);
+   goto POSITION_ERROR;
+   }
+
+   --req_align;
+   }
+
+   ewl_border_label_alignment_set(EWL_BORDER(border),
+   EWL_FLAG_ALIGN_RIGHT);
+   align = ewl_border_label_alignment_get(EWL_BORDER(border));
+   if (align != EWL_FLAG_ALIGN_RIGHT) {
+   LOG_FAILURE(buf, len, border label alignment not right);
+   goto POSITION_ERROR;
+   }
+
+   ewl_border_label_alignment_set(EWL_BORDER(border),
+   EWL_FLAG_ALIGN_BOTTOM);
+   align = ewl_border_label_alignment_get(EWL_BORDER(border));
+   if (align != EWL_FLAG_ALIGN_BOTTOM) {
+   LOG_FAILURE(buf, len, border label alignment not bottom);
+   goto POSITION_ERROR;
+   }
+
+   

E CVS: libs/ewl ningerso

2008-01-12 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/widget


Modified Files:
ewl_widget_test.c 


Log Message:
Normalize show/realize/unrealize behavior relative to parent sizing.
Please test and report any regressions.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/widget/ewl_widget_test.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- ewl_widget_test.c   26 Dec 2007 20:04:52 -  1.5
+++ ewl_widget_test.c   12 Jan 2008 21:55:20 -  1.6
@@ -144,6 +144,7 @@
 static int realize_reveal(char *buf, int len);
 static int realize_reveal_obscure(char *buf, int len);
 static int realize_reveal_unrealize(char *buf, int len);
+static int show_realize_unrealize(char *buf, int len);
 
 static int focusable_test_set_get(char *buf, int len);
 static int focus_test_send_get(char *buf, int len);
@@ -180,6 +181,7 @@
{widget realize then reveal state, realize_reveal, NULL, -1, 
0},
{widget realize reveal obscure state, realize_reveal_obscure, 
NULL, -1, 0},
{widget realize reveal unrealize state, 
realize_reveal_unrealize, NULL, -1, 0},
+   {widget show realize unrealize state, show_realize_unrealize, 
NULL, -1, 0},
{widget focusable set/get, focusable_test_set_get, NULL, -1, 
0},
{widget focus send/get, focus_test_send_get, NULL, -1, 0},
{NULL, NULL, NULL, -1, 0}
@@ -919,6 +921,45 @@
LOG_FAILURE(buf, len, Widget REVEALED after 
realize/reveal/unrealize);
else if (REVEALED(win))
LOG_FAILURE(buf, len, Window REVEALED after 
realize/reveal/unrealize);
+   else 
+   ret = 1;
+
+   ewl_widget_destroy(win);
+   ewl_widget_destroy(w);
+   return ret;
+}
+
+static int
+show_realize_unrealize(char *buf, int len)
+{
+   Ewl_Widget *w;
+   Ewl_Widget *win;
+   int ret = 0;
+
+   w = ewl_widget_new();
+
+   /*
+* Create a window and add the child to allow the realize to
+* succeed. This will be using the buffer engine.
+*/
+   win = ewl_window_new();
+   ewl_embed_engine_name_set(EWL_EMBED(win), evas_buffer);
+
+   ewl_container_child_append(EWL_CONTAINER(win), w);
+   ewl_widget_show(w);
+   ewl_widget_realize(w);
+   ewl_widget_unrealize(w);
+
+   if (!VISIBLE(w))
+   LOG_FAILURE(buf, len, Widget not VISIBLE after 
show/realize/unrealize);
+   else if (REALIZED(w))
+   LOG_FAILURE(buf, len, Widget REALIZED after 
show/realize/unrealize);
+   else if (!REALIZED(win))
+   LOG_FAILURE(buf, len, Window !REALIZED after 
show/realize/unrealize);
+   else if (REVEALED(w))
+   LOG_FAILURE(buf, len, Widget REVEALED after 
show/realize/unrealize);
+   else if (REVEALED(win))
+   LOG_FAILURE(buf, len, Window REVEALED after 
show/realize/unrealize);
else 
ret = 1;
 



-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2008-01-12 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/lib


Modified Files:
ewl_widget.c 


Log Message:
Normalize show/realize/unrealize behavior relative to parent sizing.
Please test and report any regressions.

===
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_widget.c,v
retrieving revision 1.154
retrieving revision 1.155
diff -u -3 -r1.154 -r1.155
--- ewl_widget.c9 Dec 2007 01:09:06 -   1.154
+++ ewl_widget.c12 Jan 2008 21:55:20 -  1.155
@@ -259,13 +259,6 @@
 
ewl_widget_obscure(w);
 
-   /*
-* Notify parent of hidden state.
-*/
-   pc = EWL_CONTAINER(w-parent);
-   if (pc  VISIBLE(w))
-   ewl_container_child_hide_call(pc, w);
-
ewl_callback_call(w, EWL_CALLBACK_UNREALIZE);
ewl_object_visible_remove(EWL_OBJECT(w), EWL_FLAG_VISIBLE_REALIZED);
 



-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2008-01-11 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/check


Modified Files:
ewl_check_test.c 


Log Message:
Use the correct test type for the check unit test.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/check/ewl_check_test.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- ewl_check_test.c6 Jan 2008 23:41:19 -   1.1
+++ ewl_check_test.c12 Jan 2008 06:30:13 -  1.2
@@ -34,7 +34,7 @@
test-tip = The check class is a basic check\n
for an undecorated checkbutton.;
test-filename = __FILE__;
-   test-type = EWL_TEST_TYPE_MISC;
+   test-type = EWL_TEST_TYPE_UNIT;
test-unit_tests = check_unit_tests;
 }
 



-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2008-01-06 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/check




Log Message:
Directory /cvs/e/e17/libs/ewl/src/bin/tests/check added to the repository




-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2008-01-06 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/check


Added Files:
.cvsignore Makefile.am ewl_check_test.c 


Log Message:
Add basic check widget constructor unit test.




-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2008-01-06 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests


Modified Files:
Makefile.am 


Log Message:
Add basic check widget constructor unit test.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/Makefile.am,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -3 -r1.57 -r1.58
--- Makefile.am 19 Dec 2007 16:17:16 -  1.57
+++ Makefile.am 6 Jan 2008 23:41:19 -   1.58
@@ -6,6 +6,7 @@
button \
calendar \
callback \
+   check \
colordialog \
colorpicker \
combo \



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2008-01-06 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl


Modified Files:
configure.in 


Log Message:
Add basic check widget constructor unit test.

===
RCS file: /cvs/e/e17/libs/ewl/configure.in,v
retrieving revision 1.128
retrieving revision 1.129
diff -u -3 -r1.128 -r1.129
--- configure.in19 Dec 2007 16:17:16 -  1.128
+++ configure.in6 Jan 2008 23:41:19 -   1.129
@@ -268,6 +268,7 @@
 src/bin/tests/button/Makefile
 src/bin/tests/calendar/Makefile
 src/bin/tests/callback/Makefile
+src/bin/tests/check/Makefile
 src/bin/tests/colordialog/Makefile
 src/bin/tests/colorpicker/Makefile
 src/bin/tests/combo/Makefile



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-27 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/window


Modified Files:
ewl_window_test.c 


Log Message:
Add unit tests for various window flags.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/window/ewl_window_test.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- ewl_window_test.c   19 Dec 2007 21:53:57 -  1.2
+++ ewl_window_test.c   28 Dec 2007 04:41:47 -  1.3
@@ -10,6 +10,16 @@
 static int title_set_get(char *buf, int len);
 static int name_set_get(char *buf, int len);
 static int class_set_get(char *buf, int len);
+static int borderless_set_get(char *buf, int len);
+static int dialog_set_get(char *buf, int len);
+static int fullscreen_set_get(char *buf, int len);
+static int skip_taskbar_set_get(char *buf, int len);
+static int skip_pager_set_get(char *buf, int len);
+static int urgent_set_get(char *buf, int len);
+static int modal_set_get(char *buf, int len);
+static int keyboard_grab_set_get(char *buf, int len);
+static int pointer_grab_set_get(char *buf, int len);
+static int override_set_get(char *buf, int len);
 
 
 /*
@@ -20,6 +30,16 @@
{title set/get, title_set_get, NULL, -1, 0},
{name set/get, name_set_get, NULL, -1, 0},
{class set/get, class_set_get, NULL, -1, 0},
+   {borderless set/get, borderless_set_get, NULL, -1, 0},
+   {dialog set/get, dialog_set_get, NULL, -1, 0},
+   {fullscreen set/get, fullscreen_set_get, NULL, -1, 0},
+   {skip_taskbar set/get, skip_taskbar_set_get, NULL, -1, 0},
+   {skip_pager set/get, skip_pager_set_get, NULL, -1, 0},
+   {urgent set/get, urgent_set_get, NULL, -1, 0},
+   {modal set/get, modal_set_get, NULL, -1, 0},
+   {keyboard_grab set/get, keyboard_grab_set_get, NULL, -1, 0},
+   {pointer_grab set/get, pointer_grab_set_get, NULL, -1, 0},
+   {override set/get, override_set_get, NULL, -1, 0},
{NULL, NULL, NULL, -1, 0}
};
 
@@ -135,6 +155,325 @@
ret = 1;
}
}
+
+   ewl_widget_destroy(win);
+
+   return ret;
+}
+
+/*
+ * Set a window as borderless and check that the value is set.
+ */
+static int
+borderless_set_get(char *buf, int len)
+{
+   Ewl_Widget *win;
+   int ret = 0;
+
+   win = ewl_window_new();
+   ewl_window_borderless_set(EWL_WINDOW(win));
+
+   if (EWL_WINDOW(win)-flags  EWL_WINDOW_BORDERLESS)
+   ret = 1;
+   else
+   snprintf(buf, len, borderless set failed);
+
+   ewl_widget_destroy(win);
+
+   return ret;
+}
+
+/*
+ * Set a window as a dialog and check that the value is set.
+ */
+static int
+dialog_set_get(char *buf, int len)
+{
+   Ewl_Widget *win;
+   int ret = 0;
+
+   win = ewl_window_new();
+
+   if (!ewl_window_dialog_get(EWL_WINDOW(win))) {
+
+   ewl_window_dialog_set(EWL_WINDOW(win), TRUE);
+   if (ewl_window_dialog_get(EWL_WINDOW(win))) {
+
+   ewl_window_dialog_set(EWL_WINDOW(win), FALSE);
+   if (!ewl_window_dialog_get(EWL_WINDOW(win)))
+   ret = 1;
+   else
+   snprintf(buf, len, dialog unset failed);
+   }
+   else
+   snprintf(buf, len, dialog set failed);
+   }
+   else
+   snprintf(buf, len, default dialog set);
+
+   ewl_widget_destroy(win);
+
+   return ret;
+}
+
+/*
+ * Set a window as a fullscreen and check that the value is set.
+ */
+static int
+fullscreen_set_get(char *buf, int len)
+{
+   Ewl_Widget *win;
+   int ret = 0;
+
+   win = ewl_window_new();
+
+   if (!ewl_window_fullscreen_get(EWL_WINDOW(win))) {
+
+   ewl_window_fullscreen_set(EWL_WINDOW(win), TRUE);
+   if (ewl_window_fullscreen_get(EWL_WINDOW(win))) {
+
+   ewl_window_fullscreen_set(EWL_WINDOW(win), FALSE);
+   if (!ewl_window_fullscreen_get(EWL_WINDOW(win)))
+   ret = 1;
+   else
+   snprintf(buf, len, fullscreen unset failed);
+   }
+   else
+   snprintf(buf, len, fullscreen set failed);
+   }
+   else
+   snprintf(buf, len, default fullscreen set);
+
+   ewl_widget_destroy(win);
+
+   return ret;
+}
+
+/*
+ * Set a window as a skip_taskbar and check that the value is set.
+ */
+static int
+skip_taskbar_set_get(char *buf, int len)
+{
+   Ewl_Widget *win;
+   int ret = 0;
+
+   win = ewl_window_new();
+
+   if (!ewl_window_skip_taskbar_get(EWL_WINDOW(win))) {
+
+   

E CVS: libs/ewl ningerso

2007-12-26 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/widget


Modified Files:
ewl_widget_test.c 


Log Message:
Check the full appearance path in the widget unit test.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/widget/ewl_widget_test.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- ewl_widget_test.c   9 Dec 2007 01:09:06 -   1.2
+++ ewl_widget_test.c   26 Dec 2007 17:14:18 -  1.3
@@ -125,6 +125,7 @@
 static int widget_colour_test_get_null(char *buf, int len);
 
 static int appearance_test_set_get(char *buf, int len);
+static int appearance_path_test_set_get(char *buf, int len);
 static int inheritance_test_set_get(char *buf, int len);
 static int internal_test_set_get(char *buf, int len);
 static int clipped_test_set_get(char *buf, int len);
@@ -158,6 +159,7 @@
{Widget colour set/get, widget_colour_test_set_get, NULL, -1, 
0},
{Widget colour get NULL, widget_colour_test_get_null, NULL, 
-1, 0},
{widget appearance set/get, appearance_test_set_get, NULL, 
-1, 0},
+   {widget appearance path set/get, 
appearance_path_test_set_get, NULL, -1, 0},
{widget inheritance set/get, inheritance_test_set_get, NULL, 
-1, 0},
{widget internal set/get, internal_test_set_get, NULL, -1, 0},
{widget clipped set/get, clipped_test_set_get, NULL, -1, 0},
@@ -302,6 +304,32 @@
ewl_widget_appearance_set(w, my_appearance);
if (strcmp(my_appearance, ewl_widget_appearance_get(w)))
LOG_FAILURE(buf, len, appearance_get doesn't match 
appearance_set);
+   else
+   ret = 1;
+
+   return ret;
+}
+
+/*
+ * Verify that appearance path get returns the correct full path.
+ */
+static int
+appearance_path_test_set_get(char *buf, int len)
+{
+   Ewl_Widget *box;
+   Ewl_Widget *w;
+   int ret = 0;
+
+   box = ewl_vbox_new();
+
+   w = calloc(1, sizeof(Ewl_Widget));
+   ewl_widget_init(w);
+
+   ewl_container_child_append(EWL_CONTAINER(box), w);
+
+   ewl_widget_appearance_set(w, my_appearance);
+   if (strcmp(/vbox/my_appearance, ewl_widget_appearance_path_get(w)))
+   LOG_FAILURE(buf, len, appearance_path_get doesn't match);
else
ret = 1;
 



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-26 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/widget


Modified Files:
ewl_widget_test.c 


Log Message:
Check for the proper parent after parent set in widget unit test.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/widget/ewl_widget_test.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- ewl_widget_test.c   26 Dec 2007 17:14:18 -  1.3
+++ ewl_widget_test.c   26 Dec 2007 17:16:48 -  1.4
@@ -653,6 +653,8 @@
ewl_widget_parent_set(w, b);
if (!w-parent)
LOG_FAILURE(buf, len, Widget parent NULL after parent set);
+   else if (ewl_widget_parent_get(w) != b)
+   LOG_FAILURE(buf, len, Widget parent wrong after parent set);
else if (VISIBLE(w))
LOG_FAILURE(buf, len, Widget VISIBLE after parent set);
else if (REALIZED(w))



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-26 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/lib


Modified Files:
ewl_config.c ewl_object.c 


Log Message:
Remove unused inner max and min accessors, these can be added back easily if
there is some future need.

===
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_config.c,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -3 -r1.36 -r1.37
--- ewl_config.c9 Dec 2007 01:00:40 -   1.36
+++ ewl_config.c26 Dec 2007 18:10:36 -  1.37
@@ -608,6 +608,31 @@
 }
 
 static char *
+ewl_config_file_name_build_get(Ewl_Config *cfg)
+{
+   char cfg_filename[PATH_MAX], *fname;
+   int is_ewl = FALSE;
+
+   DENTER_FUNCTION(DLEVEL_STABLE);
+   DCHECK_PARAM_PTR_RET(cfg, NULL);
+
+   if (!getenv(srcdir))
+   DRETURN_PTR(NULL, DLEVEL_STABLE);
+
+   if (!strcmp(cfg-app_name, ewl))
+   is_ewl = TRUE;
+
+   fname = ewl_config_file_name_clean(cfg);
+   snprintf(cfg_filename, sizeof(cfg_filename),
+   %s/../../data/config/%s%s.cfg, getenv(srcdir),
+   (is_ewl ?  : apps/), fname);
+
+   FREE(fname);
+
+   DRETURN_PTR(strdup(cfg_filename), DLEVEL_STABLE);
+}
+
+static char *
 ewl_config_file_name_system_get(Ewl_Config *cfg)
 {
char cfg_filename[PATH_MAX], *fname;
@@ -662,7 +687,12 @@
DENTER_FUNCTION(DLEVEL_STABLE);
DCHECK_PARAM_PTR_RET(cfg, FALSE);
 
-   fname = ewl_config_file_name_system_get(cfg);
+   /*
+* Attempt to load a build relative config file first. This allows for
+* testing without installing.
+*/
+   fname = ewl_config_file_name_build_get(cfg);
+   if (!fname) fname = ewl_config_file_name_system_get(cfg);
sys_ret = ewl_config_file_load(cfg, TRUE, fname);
FREE(fname);
 
===
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_object.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -3 -r1.24 -r1.25
--- ewl_object.c12 Nov 2007 22:42:22 -  1.24
+++ ewl_object.c26 Dec 2007 18:10:36 -  1.25
@@ -770,42 +770,6 @@
 }
 
 /**
- * @param o: the object to get the minimum width
- * @return Returns the minimum width of the object @a o.
- * @brief Get the minimum width of an object
- */
-int
-ewl_object_minimum_inner_w_get(Ewl_Object *o)
-{
-   int val;
-
-   DENTER_FUNCTION(DLEVEL_STABLE);
-   DCHECK_PARAM_PTR_RET(o, 0);
-
-   val = MINIMUM_W(o);
-
-   DRETURN_INT(val, DLEVEL_STABLE);
-}
-
-/**
- * @param o: the object to get the minimum height
- * @return Returns the minimum height of the object.
- * @brief Get the minimum height of an object
- */
-int
-ewl_object_minimum_inner_h_get(Ewl_Object *o)
-{
-   int val;
-
-   DENTER_FUNCTION(DLEVEL_STABLE);
-   DCHECK_PARAM_PTR_RET(o, 0);
-
-   val = MINIMUM_H(o);
-
-   DRETURN_INT(val, DLEVEL_STABLE);
-}
-
-/**
  * @param o: the object to retrieve the minimum dimensions
  * @param w: a pointer to an integer to store the minimum width
  * @param h: a pointer to an integer to store the minimum height
@@ -966,42 +930,6 @@
 
if ((val + PADDING_VERTICAL(o) + INSET_VERTICAL(o))  val)
val += PADDING_VERTICAL(o) + INSET_VERTICAL(o);
-
-   DRETURN_INT(val, DLEVEL_STABLE);
-}
-
-/**
- * @param o: the object to get the maximum width
- * @return Returns the maximum width of the object.
- * @brief Get the maximum width of an object
- */
-int
-ewl_object_maximum_inner_w_get(Ewl_Object *o)
-{
-   int val;
-
-   DENTER_FUNCTION(DLEVEL_STABLE);
-   DCHECK_PARAM_PTR_RET(o, 0);
-
-   val = MAXIMUM_W(o);
-
-   DRETURN_INT(val, DLEVEL_STABLE);
-}
-
-/**
- * @param o: the object to get the maximum height
- * @return Returns the maximum height of the object.
- * @brief Get the maximum height of an object
- */
-int
-ewl_object_maximum_inner_h_get(Ewl_Object *o)
-{
-   int val;
-
-   DENTER_FUNCTION(DLEVEL_STABLE);
-   DCHECK_PARAM_PTR_RET(o, 0);
-
-   val = MAXIMUM_H(o);
 
DRETURN_INT(val, DLEVEL_STABLE);
 }



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-26 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/widget


Modified Files:
ewl_widget_test.c 


Log Message:
Add basic focus unit tests.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/widget/ewl_widget_test.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- ewl_widget_test.c   26 Dec 2007 17:16:48 -  1.4
+++ ewl_widget_test.c   26 Dec 2007 20:04:52 -  1.5
@@ -145,6 +145,9 @@
 static int realize_reveal_obscure(char *buf, int len);
 static int realize_reveal_unrealize(char *buf, int len);
 
+static int focusable_test_set_get(char *buf, int len);
+static int focus_test_send_get(char *buf, int len);
+
 static Ewl_Unit_Test widget_unit_tests[] = {
{EWL_WIDGET_IS, widget_is_test, NULL, -1, 0},
{Widget name set/get, name_test_set_get, NULL, -1, 0},
@@ -177,6 +180,8 @@
{widget realize then reveal state, realize_reveal, NULL, -1, 
0},
{widget realize reveal obscure state, realize_reveal_obscure, 
NULL, -1, 0},
{widget realize reveal unrealize state, 
realize_reveal_unrealize, NULL, -1, 0},
+   {widget focusable set/get, focusable_test_set_get, NULL, -1, 
0},
+   {widget focus send/get, focus_test_send_get, NULL, -1, 0},
{NULL, NULL, NULL, -1, 0}
};
 
@@ -1163,3 +1168,65 @@
return 1;
 }
 
+/*
+ * Call focusable_set and verify that the widget is now flagged to accept focus
+ * events.
+ */
+static int
+focusable_test_set_get(char *buf, int len)
+{
+   Ewl_Widget *w;
+   unsigned int focusable;
+   int ret = 0;
+
+   w = ewl_widget_new();
+   focusable = ewl_widget_focusable_get(w);
+   if (focusable) {
+   ewl_widget_focusable_set(w, FALSE);
+   focusable = ewl_widget_focusable_get(w);
+   if (!focusable) {
+   ewl_widget_focusable_set(w, TRUE);
+   focusable = ewl_widget_focusable_get(w);
+   if (focusable)
+   ret = 1;
+   else
+   LOG_FAILURE(buf, len, focusable set to FALSE);
+   }
+   else
+   LOG_FAILURE(buf, len, focusable set to TRUE);
+   }
+   else
+   LOG_FAILURE(buf, len, default focusable set to FALSE);
+
+   return ret;
+}
+
+/*
+ * Send focus to a specific widget and verify the widget has the current focus.
+ */
+static int
+focus_test_send_get(char *buf, int len)
+{
+   Ewl_Widget *w;
+   int ret = 0;
+
+   w = ewl_widget_new();
+   ewl_widget_focus_send(w);
+
+   if (ewl_widget_focused_get() == w)
+   LOG_FAILURE(buf, len, focused with no embed);
+   else {
+   Ewl_Widget *embed;
+
+   embed = ewl_embed_new();
+   ewl_container_child_append(EWL_CONTAINER(embed), w);
+   ewl_widget_focus_send(w);
+
+   if (ewl_widget_focused_get() == w)
+   ret = 1;
+   else
+   LOG_FAILURE(buf, len, widget not focused);
+   }
+
+   return ret;
+}



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-26 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/object


Modified Files:
ewl_object_test.c 


Log Message:
Add a unit test for default object sizing values.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/object/ewl_object_test.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- ewl_object_test.c   14 Dec 2007 06:06:54 -  1.7
+++ ewl_object_test.c   26 Dec 2007 21:50:53 -  1.8
@@ -17,6 +17,7 @@
 #define DIFFER_WIDTH 30
 #define DIFFER_HEIGHT 20
 
+static int default_property_test(char *buf, int len);
 static int place_test_center_get(char *buf, int len);
 static int place_test_top_get(char *buf, int len);
 static int place_test_bottom_get(char *buf, int len);
@@ -39,6 +40,7 @@
 static int alignment_test_set_get(char *buf, int len);
 
 static Ewl_Unit_Test object_unit_tests[] = {
+   {default properties, default_property_test, NULL, -1, 0},
{place center/get, place_test_center_get, NULL, -1, 0},
{place top/get, place_test_top_get, NULL, -1, 0},
{place bottom/get, place_test_bottom_get, NULL, -1, 0},
@@ -70,6 +72,96 @@
test-filename = __FILE__;
test-type = EWL_TEST_TYPE_MISC;
test-unit_tests = object_unit_tests;
+}
+
+/*
+ * Verify all default values for the object match the expected values.
+ */
+static int
+default_property_test(char *buf, int len)
+{
+   Ewl_Widget *w;
+   int l, r, t, b;
+   int ret = 0;
+
+   w = ewl_widget_new();
+
+   if (ewl_object_current_x_get(EWL_OBJECT(w))) {
+   LOG_FAILURE(buf, len, x coordinate incorrect);
+   goto DONE;
+   }
+
+   if (ewl_object_current_y_get(EWL_OBJECT(w))) {
+   LOG_FAILURE(buf, len, y coordinate incorrect);
+   goto DONE;
+   }
+
+   if (ewl_object_current_w_get(EWL_OBJECT(w)) != EWL_OBJECT_MIN_SIZE) {
+   LOG_FAILURE(buf, len, current width incorrect);
+   goto DONE;
+   }
+
+   if (ewl_object_current_h_get(EWL_OBJECT(w)) != EWL_OBJECT_MIN_SIZE) {
+   LOG_FAILURE(buf, len, current height incorrect);
+   goto DONE;
+   }
+
+   if (ewl_object_minimum_w_get(EWL_OBJECT(w)) != EWL_OBJECT_MIN_SIZE) {
+   LOG_FAILURE(buf, len, minimum width incorrect);
+   goto DONE;
+   }
+
+   if (ewl_object_minimum_h_get(EWL_OBJECT(w)) != EWL_OBJECT_MIN_SIZE) {
+   LOG_FAILURE(buf, len, minimum height incorrect);
+   goto DONE;
+   }
+
+   if (ewl_object_maximum_w_get(EWL_OBJECT(w)) != EWL_OBJECT_MAX_SIZE) {
+   LOG_FAILURE(buf, len, maximum width incorrect);
+   goto DONE;
+   }
+
+   if (ewl_object_maximum_h_get(EWL_OBJECT(w)) != EWL_OBJECT_MAX_SIZE) {
+   LOG_FAILURE(buf, len, maximum height incorrect);
+   goto DONE;
+   }
+
+   if (ewl_object_preferred_inner_w_get(EWL_OBJECT(w))) {
+   LOG_FAILURE(buf, len, preferred inner width incorrect);
+   goto DONE;
+   }
+
+   if (ewl_object_preferred_inner_h_get(EWL_OBJECT(w))) {
+   LOG_FAILURE(buf, len, preferred inner height incorrect);
+   goto DONE;
+   }
+
+   if (ewl_object_preferred_w_get(EWL_OBJECT(w)) != EWL_OBJECT_MIN_SIZE) {
+   LOG_FAILURE(buf, len, preferred width incorrect);
+   goto DONE;
+   }
+
+   if (ewl_object_preferred_h_get(EWL_OBJECT(w)) != EWL_OBJECT_MIN_SIZE) {
+   LOG_FAILURE(buf, len, preferred height incorrect);
+   goto DONE;
+   }
+
+   ewl_object_insets_get(EWL_OBJECT(w), l, r, t, b);
+   if (l || r || t || b) {
+   LOG_FAILURE(buf, len, insets incorrect);
+   goto DONE;
+   }
+
+   ewl_object_padding_get(EWL_OBJECT(w), l, r, t, b);
+   if (l || r || t || b) {
+   LOG_FAILURE(buf, len, padding incorrect);
+   goto DONE;
+   }
+
+   ret = 1;
+DONE:
+   ewl_widget_destroy(w);
+   return ret;
 }
 
 /*



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-26 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/object


Modified Files:
ewl_object_test.c 


Log Message:
Add unit test checks for default fill policy and alignment.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/object/ewl_object_test.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- ewl_object_test.c   26 Dec 2007 21:50:53 -  1.8
+++ ewl_object_test.c   27 Dec 2007 05:47:19 -  1.9
@@ -158,6 +158,16 @@
goto DONE;
}
 
+   if (ewl_object_fill_policy_get(EWL_OBJECT(w)) != EWL_FLAG_FILL_NORMAL) {
+   LOG_FAILURE(buf, len, fill policy incorrect);
+   goto DONE;
+   }
+
+   if (ewl_object_alignment_get(EWL_OBJECT(w)) != EWL_FLAG_ALIGN_CENTER) {
+   LOG_FAILURE(buf, len, alignment incorrect);
+   goto DONE;
+   }
+
ret = 1;
 DONE:
ewl_widget_destroy(w);



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-19 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/window




Log Message:
Directory /cvs/e/e17/libs/ewl/src/bin/tests/window added to the repository




-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-19 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/lib


Modified Files:
ewl_window.c ewl_window.h 


Log Message:
Update window title, name and class accessors to avoid string duplication.
Remove default title, name and class values.

===
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_window.c,v
retrieving revision 1.86
retrieving revision 1.87
diff -u -3 -r1.86 -r1.87
--- ewl_window.c6 Dec 2007 07:07:12 -   1.86
+++ ewl_window.c19 Dec 2007 16:15:31 -  1.87
@@ -53,9 +53,11 @@
ewl_widget_appearance_set(EWL_WIDGET(w), EWL_WINDOW_TYPE);
ewl_widget_inherit(EWL_WIDGET(w), EWL_WINDOW_TYPE);
ewl_object_fill_policy_set(EWL_OBJECT(w), EWL_FLAG_FILL_FILL);
+   /*
w-title = strdup(EWL);
w-name = strdup(EWL);
w-classname  = strdup(EWL);
+   */
 
ewl_callback_prepend(EWL_WIDGET(w), EWL_CALLBACK_REALIZE,
 ewl_window_cb_realize, NULL);
@@ -120,7 +122,7 @@
DCHECK_PARAM_PTR(win);
DCHECK_TYPE(win, EWL_WINDOW_TYPE);
 
-   if ((!title) || (strcmp(win-title, title))) {
+   if ((!title) || (!win-title) || (strcmp(win-title, title))) {
IF_FREE(win-title);
win-title = (title ? strdup(title) : strdup());
}
@@ -135,16 +137,17 @@
  * @return Returns a pointer to a new copy of the title, NULL on failure.
  * @brief Retrieve the title of the specified window
  *
- * The returned title should be freed.
+ * The returned title should not be freed, and should be copied immediately if
+ * needed for extended use.
  */
-char *
+const char *
 ewl_window_title_get(Ewl_Window *win)
 {
DENTER_FUNCTION(DLEVEL_STABLE);
DCHECK_PARAM_PTR_RET(win, NULL);
DCHECK_TYPE_RET(win, EWL_WINDOW_TYPE, NULL);
 
-   DRETURN_PTR(strdup(win-title), DLEVEL_STABLE);
+   DRETURN_PTR(win-title, DLEVEL_STABLE);
 }
 
 /**
@@ -163,7 +166,7 @@
DCHECK_PARAM_PTR(win);
DCHECK_TYPE(win, EWL_WINDOW_TYPE);
 
-   if ((!name) || (strcmp(win-name, name))) {
+   if ((!name) || (!win-name) || (strcmp(win-name, name))) {
IF_FREE(win-name);
win-name = (name ? strdup(name) : strdup());
}
@@ -178,16 +181,17 @@
  * @return Returns a pointer to a new copy of the name, NULL on failure.
  * @brief Retrieve the name of the specified window
  *
- * The returned name should be freed.
+ * The returned name should not be freed, and should be copied immediately if
+ * needed for extended use.
  */
-char *
+const char *
 ewl_window_name_get(Ewl_Window *win)
 {
DENTER_FUNCTION(DLEVEL_STABLE);
DCHECK_PARAM_PTR_RET(win, NULL);
DCHECK_TYPE_RET(win, EWL_WINDOW_TYPE, NULL);
 
-   DRETURN_PTR(strdup(win-name), DLEVEL_STABLE);
+   DRETURN_PTR(win-name, DLEVEL_STABLE);
 }
 
 /**
@@ -223,16 +227,17 @@
  * @return Returns a pointer to a new copy of the class, NULL on failure.
  * @brief Retrieve the class of the specified window
  *
- * The returned class should be freed.
+ * The returned class should not be freed, and should be copied immediately if
+ * needed for extended use.
  */
-char *
+const char *
 ewl_window_class_get(Ewl_Window *win)
 {
DENTER_FUNCTION(DLEVEL_STABLE);
DCHECK_PARAM_PTR_RET(win, NULL);
DCHECK_TYPE_RET(win, EWL_WINDOW_TYPE, NULL);
 
-   DRETURN_PTR(strdup(win-classname), DLEVEL_STABLE);
+   DRETURN_PTR(win-classname, DLEVEL_STABLE);
 }
 
 /**
===
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_window.h,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -3 -r1.40 -r1.41
--- ewl_window.h6 Dec 2007 07:07:12 -   1.40
+++ ewl_window.h19 Dec 2007 16:15:31 -  1.41
@@ -77,11 +77,11 @@
 int ewl_window_init(Ewl_Window *win);
 Ewl_Window *ewl_window_window_find(void *window);
 voidewl_window_title_set(Ewl_Window *win, const char *title);
-char   *ewl_window_title_get(Ewl_Window *win);
+const char *ewl_window_title_get(Ewl_Window *win);
 voidewl_window_name_set(Ewl_Window *win, const char *name);
-char   *ewl_window_name_get(Ewl_Window *win);
+const char *ewl_window_name_get(Ewl_Window *win);
 voidewl_window_class_set(Ewl_Window *win, const char *classname);
-char   *ewl_window_class_get(Ewl_Window *win);
+const char *ewl_window_class_get(Ewl_Window *win);
 voidewl_window_borderless_set(Ewl_Window *win);
 voidewl_window_dialog_set(Ewl_Window *win, int dialog);
 int ewl_window_dialog_get(Ewl_Window *win);



-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just 

E CVS: libs/ewl ningerso

2007-12-19 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/window


Added Files:
.cvsignore Makefile.am ewl_window_test.c 


Log Message:
Add basic window unit tests.




-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-19 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl


Modified Files:
configure.in 


Log Message:
Add basic window unit tests.

===
RCS file: /cvs/e/e17/libs/ewl/configure.in,v
retrieving revision 1.127
retrieving revision 1.128
diff -u -3 -r1.127 -r1.128
--- configure.in13 Dec 2007 00:03:09 -  1.127
+++ configure.in19 Dec 2007 16:17:16 -  1.128
@@ -320,6 +320,7 @@
 src/bin/tests/tooltip/Makefile
 src/bin/tests/tree/Makefile
 src/bin/tests/widget/Makefile
+src/bin/tests/window/Makefile
 src/lib/Makefile
 src/engines/Makefile
 src/plugins/Makefile



-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-19 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests


Modified Files:
Makefile.am 


Log Message:
Add basic window unit tests.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/Makefile.am,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -3 -r1.56 -r1.57
--- Makefile.am 13 Dec 2007 00:03:09 -  1.56
+++ Makefile.am 19 Dec 2007 16:17:16 -  1.57
@@ -57,5 +57,6 @@
toolbar \
tooltip \
tree \
-   widget
+   widget \
+   window
 



-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-19 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/lib


Modified Files:
ewl_window.c 


Log Message:
Use NULL instead of duplicating  for window properties.
Update window unit tests to reflect this change.

===
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_window.c,v
retrieving revision 1.87
retrieving revision 1.88
diff -u -3 -r1.87 -r1.88
--- ewl_window.c19 Dec 2007 16:15:31 -  1.87
+++ ewl_window.c19 Dec 2007 21:53:57 -  1.88
@@ -53,11 +53,6 @@
ewl_widget_appearance_set(EWL_WIDGET(w), EWL_WINDOW_TYPE);
ewl_widget_inherit(EWL_WIDGET(w), EWL_WINDOW_TYPE);
ewl_object_fill_policy_set(EWL_OBJECT(w), EWL_FLAG_FILL_FILL);
-   /*
-   w-title = strdup(EWL);
-   w-name = strdup(EWL);
-   w-classname  = strdup(EWL);
-   */
 
ewl_callback_prepend(EWL_WIDGET(w), EWL_CALLBACK_REALIZE,
 ewl_window_cb_realize, NULL);
@@ -124,7 +119,7 @@
 
if ((!title) || (!win-title) || (strcmp(win-title, title))) {
IF_FREE(win-title);
-   win-title = (title ? strdup(title) : strdup());
+   win-title = ((title  *title) ? strdup(title) : NULL);
}
 
ewl_engine_window_title_set(win);
@@ -168,7 +163,7 @@
 
if ((!name) || (!win-name) || (strcmp(win-name, name))) {
IF_FREE(win-name);
-   win-name = (name ? strdup(name) : strdup());
+   win-name = ((name  *name) ? strdup(name) : NULL);
}
 
ewl_engine_window_name_class_set(win);
@@ -214,7 +209,8 @@
|| (strcmp(win-classname, classname)))
{
IF_FREE(win-classname);
-   win-classname = (classname ? strdup(classname) : strdup());
+   win-classname = ((classname  *classname) ?
+   strdup(classname) : NULL);
}
 
ewl_engine_window_name_class_set(win);



-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-19 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/window


Modified Files:
ewl_window_test.c 


Log Message:
Use NULL instead of duplicating  for window properties.
Update window unit tests to reflect this change.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/window/ewl_window_test.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- ewl_window_test.c   19 Dec 2007 16:17:16 -  1.1
+++ ewl_window_test.c   19 Dec 2007 21:53:57 -  1.2
@@ -46,16 +46,22 @@
win = ewl_window_new();
title = ewl_window_title_get(EWL_WINDOW(win));
 
-   if (title  *title)
-   snprintf(buf, len, default title set to %s, title);
+   if (title)
+   snprintf(buf, len, default title set to '%s', title);
else {
ewl_window_title_set(EWL_WINDOW(win), A title);
title = ewl_window_title_get(EWL_WINDOW(win));
 
if (strcmp(title, A title))
snprintf(buf, len, incorrect title set);
-   else
-   ret = 1;
+   else {
+   ewl_window_title_set(EWL_WINDOW(win), );
+   title = ewl_window_title_get(EWL_WINDOW(win));
+   if (title)
+   snprintf(buf, len, non-empty title set);
+   else
+   ret = 1;
+   }
}
 
ewl_widget_destroy(win);
@@ -76,16 +82,22 @@
win = ewl_window_new();
name = ewl_window_name_get(EWL_WINDOW(win));
 
-   if (name  *name)
-   snprintf(buf, len, default name set to %s, name);
+   if (name)
+   snprintf(buf, len, default name set to '%s', name);
else {
ewl_window_name_set(EWL_WINDOW(win), A name);
name = ewl_window_name_get(EWL_WINDOW(win));
 
if (strcmp(name, A name))
snprintf(buf, len, incorrect name set);
-   else
-   ret = 1;
+   else {
+   ewl_window_name_set(EWL_WINDOW(win), );
+   name = ewl_window_name_get(EWL_WINDOW(win));
+   if (name)
+   snprintf(buf, len, non-empty name set);
+   else
+   ret = 1;
+   }
}
 
ewl_widget_destroy(win);
@@ -106,16 +118,22 @@
win = ewl_window_new();
class = ewl_window_class_get(EWL_WINDOW(win));
 
-   if (class  *class)
-   snprintf(buf, len, default class set to %s, class);
+   if (class)
+   snprintf(buf, len, default class set to '%s', class);
else {
ewl_window_class_set(EWL_WINDOW(win), A class);
class = ewl_window_class_get(EWL_WINDOW(win));
 
if (strcmp(class, A class))
snprintf(buf, len, incorrect class set);
-   else
-   ret = 1;
+   else {
+   ewl_window_class_set(EWL_WINDOW(win), );
+   class = ewl_window_class_get(EWL_WINDOW(win));
+   if (class)
+   snprintf(buf, len, non-empty class set);
+   else
+   ret = 1;
+   }
}
 
ewl_widget_destroy(win);



-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/button


Modified Files:
ewl_button_test.c 


Log Message:
Add button alignment unit test.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/button/ewl_button_test.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- ewl_button_test.c   8 Dec 2007 06:43:08 -   1.2
+++ ewl_button_test.c   15 Dec 2007 04:31:09 -  1.3
@@ -38,6 +38,7 @@
 static int image_size_match_test_set_get(char *buf, int len);
 static int image_size_differ_test_set_get(char *buf, int len);
 static int image_size_max_int_test_set_get(char *buf, int len);
+static int image_alignment_test_set_get(char *buf, int len);
 
 static Ewl_Unit_Test button_unit_tests[] = {
{label set/get, label_test_set_get, NULL, -1, 0},
@@ -49,6 +50,7 @@
{image size match set/get, image_size_match_test_set_get, 
NULL, -1, 0},
{image size differ set/get, image_size_differ_test_set_get, 
NULL, -1, 0},
{image size max int set/get, image_size_max_int_test_set_get, 
NULL, -1, 0},
+   {image alignment set/get, image_alignment_test_set_get, NULL, 
-1, 0},
{NULL, NULL, NULL, -1, 0}
};
 
@@ -377,6 +379,34 @@
LOG_FAILURE(buf, len, image_size_get width and height not 
INT_MAX);
else
ret = 1;
+
+   ewl_widget_destroy(button);
+
+   return ret;
+}
+
+static int
+image_alignment_test_set_get(char *buf, int len)
+{
+   Ewl_Widget *button;
+   int align;
+   int ret = 0;
+
+   button = ewl_button_new();
+   ewl_button_alignment_set(EWL_BUTTON(button), EWL_FLAG_ALIGN_RIGHT);
+   align = ewl_button_alignment_get(EWL_BUTTON(button));
+
+   if (align == EWL_FLAG_ALIGN_RIGHT) {
+   ewl_button_alignment_set(EWL_BUTTON(button),
+   EWL_FLAG_ALIGN_TOP);
+   align = ewl_button_alignment_get(EWL_BUTTON(button));
+   if (align == EWL_FLAG_ALIGN_TOP)
+   ret = 1;
+   else
+   LOG_FAILURE(buf, len, image alignment not top);
+   }
+   else
+   LOG_FAILURE(buf, len, image alignment not right);
 
ewl_widget_destroy(button);
 



-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/button


Modified Files:
ewl_button_test.c 


Log Message:
Add button fill policy unit test.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/button/ewl_button_test.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- ewl_button_test.c   15 Dec 2007 04:31:09 -  1.3
+++ ewl_button_test.c   15 Dec 2007 04:37:10 -  1.4
@@ -39,6 +39,7 @@
 static int image_size_differ_test_set_get(char *buf, int len);
 static int image_size_max_int_test_set_get(char *buf, int len);
 static int image_alignment_test_set_get(char *buf, int len);
+static int image_fill_policy_test_set_get(char *buf, int len);
 
 static Ewl_Unit_Test button_unit_tests[] = {
{label set/get, label_test_set_get, NULL, -1, 0},
@@ -51,6 +52,7 @@
{image size differ set/get, image_size_differ_test_set_get, 
NULL, -1, 0},
{image size max int set/get, image_size_max_int_test_set_get, 
NULL, -1, 0},
{image alignment set/get, image_alignment_test_set_get, NULL, 
-1, 0},
+   {image fill policy set/get, image_fill_policy_test_set_get, 
NULL, -1, 0},
{NULL, NULL, NULL, -1, 0}
};
 
@@ -407,6 +409,34 @@
}
else
LOG_FAILURE(buf, len, image alignment not right);
+
+   ewl_widget_destroy(button);
+
+   return ret;
+}
+
+static int
+image_fill_policy_test_set_get(char *buf, int len)
+{
+   Ewl_Widget *button;
+   int align;
+   int ret = 0;
+
+   button = ewl_button_new();
+   ewl_button_fill_policy_set(EWL_BUTTON(button), EWL_FLAG_FILL_NONE);
+   align = ewl_button_fill_policy_get(EWL_BUTTON(button));
+
+   if (align == EWL_FLAG_FILL_NONE) {
+   ewl_button_fill_policy_set(EWL_BUTTON(button),
+   EWL_FLAG_FILL_FILL);
+   align = ewl_button_fill_policy_get(EWL_BUTTON(button));
+   if (align == EWL_FLAG_FILL_FILL)
+   ret = 1;
+   else
+   LOG_FAILURE(buf, len, image fill policy not fill);
+   }
+   else
+   LOG_FAILURE(buf, len, image fill policy not none);
 
ewl_widget_destroy(button);
 



-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/button


Modified Files:
ewl_button_test.c 


Log Message:
Extend button label unit test to cover setting a NULL label.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/button/ewl_button_test.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- ewl_button_test.c   15 Dec 2007 04:37:10 -  1.4
+++ ewl_button_test.c   15 Dec 2007 04:43:32 -  1.5
@@ -218,10 +218,15 @@
button = ewl_button_new();
 
ewl_button_label_set(EWL_BUTTON(button), my_label);
-   if (strcmp(my_label, ewl_button_label_get(EWL_BUTTON(button
-   LOG_FAILURE(buf, len, label_get dosen't match label_set);
+   if (!strcmp(my_label, ewl_button_label_get(EWL_BUTTON(button {
+   ewl_button_label_set(EWL_BUTTON(button), NULL);
+   if (ewl_button_label_get(EWL_BUTTON(button)))
+   LOG_FAILURE(buf, len, label_get not NULL);
+   else
+   ret = 1;
+   }
else
-   ret = 1;
+   LOG_FAILURE(buf, len, label_get doesn't match label_set);
 
ewl_widget_destroy(button);
 



-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-14 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/image


Modified Files:
ewl_image_test.c 


Log Message:
Add image proportional unit test.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/image/ewl_image_test.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- ewl_image_test.c8 Dec 2007 06:43:09 -   1.2
+++ ewl_image_test.c15 Dec 2007 06:13:40 -  1.3
@@ -96,12 +96,14 @@
 static int scale_test_set_get(char *buf, int len);
 static int size_test_set_get(char *buf, int len);
 static int constrain_test_set_get(char *buf, int len);
+static int proportional_test_set_get(char *buf, int len);
 
 static Ewl_Unit_Test image_unit_tests[] = {
{image path set/get, path_test_set_get, NULL, -1, 0},
{image scale set/get, scale_test_set_get, NULL, -1, 0},
{image size set/get, size_test_set_get, NULL, -1, 0},
{image constrain set/get, constrain_test_set_get, NULL, -1, 
0},
+   {image proportional set/get, proportional_test_set_get, NULL, 
-1, 0},
{NULL, NULL, NULL, -1, 0}
};
 
@@ -432,6 +434,25 @@
 
if (sw != 2)
LOG_FAILURE(buf, len, scale_get did not match scale_set.);
+   else
+   ret = 1;
+
+   return ret;
+}
+
+static int
+proportional_test_set_get(char *buf, int len)
+{
+   Ewl_Widget *o;
+   unsigned int p;
+   int ret = 0;
+
+   o = ewl_image_new();
+   ewl_image_proportional_set(EWL_IMAGE(o), TRUE);
+   p = ewl_image_proportional_get(EWL_IMAGE(o));
+
+   if (p != TRUE)
+   LOG_FAILURE(buf, len, proportional_get did not match set.);
else
ret = 1;
 



-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-13 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/object


Modified Files:
ewl_object_test.c 


Log Message:
Check for minimum and maximum impact on current size checks.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/object/ewl_object_test.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- ewl_object_test.c   12 Dec 2007 22:23:58 -  1.6
+++ ewl_object_test.c   14 Dec 2007 06:06:54 -  1.7
@@ -373,20 +373,29 @@
int ret = 0;
 
w = ewl_widget_new();
+   ewl_object_size_request(EWL_OBJECT(w), MATCH_SIZE - 1,
+   MATCH_SIZE - 1);
 
ewl_object_minimum_size_get(EWL_OBJECT(w), width, height);
if (width == EWL_OBJECT_MIN_SIZE  height == EWL_OBJECT_MIN_SIZE) {
-   ewl_object_minimum_size_set(EWL_OBJECT(w), MATCH_SIZE,
-   MATCH_SIZE);
+   ewl_object_minimum_size_set(EWL_OBJECT(w), DIFFER_WIDTH,
+   DIFFER_HEIGHT);
ewl_object_minimum_size_get(EWL_OBJECT(w), width, height);
-   if (width == MATCH_SIZE  height == MATCH_SIZE) {
+   if (width == DIFFER_WIDTH  height == DIFFER_HEIGHT) {
ewl_object_minimum_size_set(EWL_OBJECT(w),
-   DIFFER_WIDTH,
-   DIFFER_HEIGHT);
+   MATCH_SIZE,
+   MATCH_SIZE);
ewl_object_minimum_size_get(EWL_OBJECT(w), width,
height);
-   if (width == DIFFER_WIDTH  height == DIFFER_HEIGHT)
-   ret = 1;
+   if (width == MATCH_SIZE  height == MATCH_SIZE) {
+   ewl_object_current_size_get(EWL_OBJECT(w),
+   width, height);
+   if (width == MATCH_SIZE  height == MATCH_SIZE)
+   ret = 1;
+   else
+   LOG_FAILURE(buf, len,
+   current size wrong);
+   }
else
LOG_FAILURE(buf, len, minimum sizes match);
}
@@ -414,6 +423,8 @@
int ret = 0;
 
w = ewl_widget_new();
+   ewl_object_size_request(EWL_OBJECT(w), DIFFER_WIDTH + 1,
+   DIFFER_HEIGHT + 1);
 
ewl_object_maximum_size_get(EWL_OBJECT(w), width, height);
if (width == EWL_OBJECT_MAX_SIZE  height == EWL_OBJECT_MAX_SIZE) {
@@ -426,8 +437,16 @@
DIFFER_HEIGHT);
ewl_object_maximum_size_get(EWL_OBJECT(w), width,
height);
-   if (width == DIFFER_WIDTH  height == DIFFER_HEIGHT)
-   ret = 1;
+   if (width == DIFFER_WIDTH  height == DIFFER_HEIGHT) {
+   ewl_object_current_size_get(EWL_OBJECT(w),
+   width, height);
+   if (width == DIFFER_WIDTH 
+   height == DIFFER_HEIGHT)
+   ret = 1;
+   else
+   LOG_FAILURE(buf, len,
+   current size wrong);
+   }
else
LOG_FAILURE(buf, len, maximum sizes match);
}



-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-10 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/callback


Modified Files:
ewl_callback_test.c 


Log Message:
Export deleting callbacks by callback id.
Extend unit test coverage to intercept, notify, and various delete cases.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/callback/ewl_callback_test.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- ewl_callback_test.c 8 Dec 2007 06:43:08 -   1.2
+++ ewl_callback_test.c 11 Dec 2007 03:42:52 -  1.3
@@ -14,10 +14,15 @@
 static int shared_test_id(char *buf, int len);
 static int unique_test_id(char *buf, int len);
 static int del_test_call(char *buf, int len);
+static int del_id_test_call(char *buf, int len);
 static int del_type_test_call(char *buf, int len);
+static int del_data_test_call(char *buf, int len);
+static int del_empty_test_call(char *buf, int len);
 static int clear_test_call(char *buf, int len);
 static int append_test_call(char *buf, int len);
 static int prepend_test_call(char *buf, int len);
+static int notify_test_call(char *buf, int len);
+static int intercept_test_call(char *buf, int len);
 static int append_in_chain_test_call(char *buf, int len);
 static int prepend_in_chain_test_call(char *buf, int len);
 static int insert_after_in_chain_test_call(char *buf, int len);
@@ -54,10 +59,15 @@
{shared id, shared_test_id, NULL, -1, 0},
{unique id, unique_test_id, NULL, -1, 0},
{del/call, del_test_call, NULL, -1, 0},
+   {del_id/call, del_id_test_call, NULL, -1, 0},
+   {del_data/call, del_data_test_call, NULL, -1, 0},
{del_type/call, del_type_test_call, NULL, -1, 0},
+   {del from empty, del_empty_test_call, NULL, -1, 0},
{clear/call, clear_test_call, NULL, -1, 0},
{append/call, append_test_call, NULL, -1, 0},
{prepend/call, prepend_test_call, NULL, -1, 0},
+   {parent notify, notify_test_call, NULL, -1, 0},
+   {parent intercept, intercept_test_call, NULL, -1, 0},
{append during call, append_in_chain_test_call, NULL, -1, 0},
{prepend during call, prepend_in_chain_test_call, NULL, -1, 
0},
{insert after during call, insert_after_in_chain_test_call, 
NULL, -1, 0},
@@ -250,6 +260,70 @@
 }
 
 /*
+ * Prepend a callback and verify that removing it prevents it from being 
called.
+ */
+static int
+del_id_test_call(char *buf, int len)
+{
+   Ewl_Widget *w;
+   int id;
+   int ret = 0;
+
+   w = ewl_widget_new();
+   id = ewl_callback_prepend(w, EWL_CALLBACK_CONFIGURE, base_callback,
+   NULL);
+   ewl_callback_del_cb_id(w, EWL_CALLBACK_CONFIGURE, id);
+   ewl_callback_call(w, EWL_CALLBACK_CONFIGURE);
+
+   if ((long)ewl_widget_data_get(w, w) != 1)
+   ret = 1;
+   else
+   LOG_FAILURE(buf, len, del failed to remove callback);
+
+   ewl_widget_destroy(w);
+
+   return ret;
+}
+
+/*
+ * Prepend a callback and verify that removing it prevents it from being 
called.
+ */
+static int
+del_data_test_call(char *buf, int len)
+{
+   Ewl_Widget *w;
+   int ret = 0;
+
+   w = ewl_widget_new();
+   ewl_callback_prepend(w, EWL_CALLBACK_CONFIGURE, base_callback, w);
+   ewl_callback_del_with_data(w, EWL_CALLBACK_CONFIGURE, base_callback, w);
+   ewl_callback_call(w, EWL_CALLBACK_CONFIGURE);
+
+   if ((long)ewl_widget_data_get(w, w) != 1) {
+
+   /*
+* Check that the data actually matches.
+*/
+   ewl_callback_prepend(w, EWL_CALLBACK_CONFIGURE, base_callback,
+   w);
+   ewl_callback_del_with_data(w, EWL_CALLBACK_CONFIGURE,
+   base_callback, NULL);
+   ewl_callback_call(w, EWL_CALLBACK_CONFIGURE);
+
+   if ((long)ewl_widget_data_get(w, w) == 1)
+   ret = 1;
+   else
+   LOG_FAILURE(buf, len, del_data removed callback);
+   }
+   else
+   LOG_FAILURE(buf, len, del_data failed to remove callback);
+
+   ewl_widget_destroy(w);
+
+   return ret;
+}
+
+/*
  * Prepend a callback and verify that clearing the chain prevents it from being
  * called.
  */
@@ -275,6 +349,30 @@
 }
 
 /*
+ * Clear a callback chain and verify deleting a non-existent function succeeds.
+ */
+static int
+del_empty_test_call(char *buf, int len)
+{
+   Ewl_Widget *w;
+   int ret = 0;
+
+   w = ewl_widget_new();
+   ewl_callback_del_type(w, EWL_CALLBACK_CONFIGURE);
+   ewl_callback_del(w, EWL_CALLBACK_CONFIGURE, base_callback);
+   ewl_callback_call(w, EWL_CALLBACK_CONFIGURE);
+
+   /*
+* If we reach here, no segv 

E CVS: libs/ewl ningerso

2007-12-10 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/lib


Modified Files:
ewl_callback.h 


Log Message:
Export deleting callbacks by callback id.
Extend unit test coverage to intercept, notify, and various delete cases.

===
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_callback.h,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -3 -r1.17 -r1.18
--- ewl_callback.h  8 Dec 2007 22:07:41 -   1.17
+++ ewl_callback.h  11 Dec 2007 03:42:51 -  1.18
@@ -165,6 +165,8 @@
  unsigned int type,
  void *event_data);
 void   ewl_callback_del_type(Ewl_Widget * w, unsigned int t);
+void   ewl_callback_del_cb_id(Ewl_Widget * w, unsigned int t,
+  int cb_id);
 void   ewl_callback_del(Ewl_Widget * w, unsigned int t,
 Ewl_Callback_Function f);
 void   ewl_callback_del_with_data(Ewl_Widget * w, unsigned int t,



-
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-10 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/object


Modified Files:
ewl_object_test.c 


Log Message:
Add tests for object geometry request and get.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/object/ewl_object_test.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- ewl_object_test.c   8 Dec 2007 06:43:09 -   1.2
+++ ewl_object_test.c   11 Dec 2007 04:27:15 -  1.3
@@ -18,6 +18,7 @@
 #define DIFFER_HEIGHT 20
 
 static int position_test_set_get(char *buf, int len);
+static int position_size_test_set_get(char *buf, int len);
 static int preferred_inner_size_test_set_get(char *buf, int len);
 static int preferred_size_test_set_get(char *buf, int len);
 static int minimum_size_test_set_get(char *buf, int len);
@@ -34,6 +35,7 @@
 
 static Ewl_Unit_Test object_unit_tests[] = {
{position set/get, position_test_set_get, NULL, -1, 0},
+   {position size set/get, position_size_test_set_get, NULL, -1, 
0},
{preferred inner size set/get, 
preferred_inner_size_test_set_get, NULL, -1, 0},
{preferred size set/get, preferred_size_test_set_get, NULL, 
-1, 0},
{minimum size set/get, minimum_size_test_set_get, NULL, -1, 
0},
@@ -81,6 +83,32 @@
ret = 1;
else
LOG_FAILURE(buf, len, incorrect positions returned);
+
+   ewl_widget_destroy(w);
+
+   return ret;
+}
+
+/*
+ * Set the position and size and verify that it gets the same info back.
+ */
+static int
+position_size_test_set_get(char *buf, int len)
+{
+   Ewl_Widget *w;
+   int x, y, width, height;
+   int ret = 0;
+
+   w = ewl_widget_new();
+
+   ewl_object_geometry_request(EWL_OBJECT(w), 11, 23, 58, 13);
+
+   ewl_object_current_geometry_get(EWL_OBJECT(w), x, y, width, height);
+
+   if (x == 11  y == 23  width == 58  height == 13)
+   ret = 1;
+   else
+   LOG_FAILURE(buf, len, incorrect position or size returned);
 
ewl_widget_destroy(w);
 



-
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-10 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/object


Modified Files:
ewl_object_test.c 


Log Message:
More thorough inset and padding tests.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/object/ewl_object_test.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- ewl_object_test.c   11 Dec 2007 04:27:15 -  1.3
+++ ewl_object_test.c   11 Dec 2007 04:40:11 -  1.4
@@ -415,8 +415,16 @@
else {
ewl_object_padding_set(EWL_OBJECT(w), 1, 2, 3, 4);
ewl_object_padding_get(EWL_OBJECT(w), l, r, t, b);
-   if (l == 1  r == 2  t == 3  b == 4)
-   ret = 1;
+   if (l == 1  r == 2  t == 3  b == 4) {
+   l = ewl_object_padding_left_get(EWL_OBJECT(w));
+   r = ewl_object_padding_right_get(EWL_OBJECT(w));
+   t = ewl_object_padding_top_get(EWL_OBJECT(w));
+   b = ewl_object_padding_bottom_get(EWL_OBJECT(w));
+   if (l == 1  r == 2  t == 3  b == 4)
+   ret = 1;
+   else
+   LOG_FAILURE(buf, len, incorrect individual);
+   }
else
LOG_FAILURE(buf, len, incorrect returned padding);
}
@@ -444,8 +452,16 @@
else {
ewl_object_insets_set(EWL_OBJECT(w), 1, 2, 3, 4);
ewl_object_insets_get(EWL_OBJECT(w), l, r, t, b);
-   if (l == 1  r == 2  t == 3  b == 4)
-   ret = 1;
+   if (l == 1  r == 2  t == 3  b == 4) {
+   l = ewl_object_insets_left_get(EWL_OBJECT(w));
+   r = ewl_object_insets_right_get(EWL_OBJECT(w));
+   t = ewl_object_insets_top_get(EWL_OBJECT(w));
+   b = ewl_object_insets_bottom_get(EWL_OBJECT(w));
+   if (l == 1  r == 2  t == 3  b == 4)
+   ret = 1;
+   else
+   LOG_FAILURE(buf, len, incorrect individual);
+   }
else
LOG_FAILURE(buf, len, incorrect returned insets);
}



-
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-10 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/object


Modified Files:
ewl_object_test.c 


Log Message:
Additional unit tests for object placement.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/object/ewl_object_test.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- ewl_object_test.c   11 Dec 2007 04:40:11 -  1.4
+++ ewl_object_test.c   11 Dec 2007 05:27:50 -  1.5
@@ -17,6 +17,11 @@
 #define DIFFER_WIDTH 30
 #define DIFFER_HEIGHT 20
 
+static int place_test_center_get(char *buf, int len);
+static int place_test_top_get(char *buf, int len);
+static int place_test_bottom_get(char *buf, int len);
+static int place_test_left_get(char *buf, int len);
+static int place_test_right_get(char *buf, int len);
 static int position_test_set_get(char *buf, int len);
 static int position_size_test_set_get(char *buf, int len);
 static int preferred_inner_size_test_set_get(char *buf, int len);
@@ -34,6 +39,11 @@
 static int alignment_test_set_get(char *buf, int len);
 
 static Ewl_Unit_Test object_unit_tests[] = {
+   {place center/get, place_test_center_get, NULL, -1, 0},
+   {place top/get, place_test_top_get, NULL, -1, 0},
+   {place bottom/get, place_test_bottom_get, NULL, -1, 0},
+   {place left/get, place_test_left_get, NULL, -1, 0},
+   {place right/get, place_test_right_get, NULL, -1, 0},
{position set/get, position_test_set_get, NULL, -1, 0},
{position size set/get, position_size_test_set_get, NULL, -1, 
0},
{preferred inner size set/get, 
preferred_inner_size_test_set_get, NULL, -1, 0},
@@ -60,6 +70,156 @@
test-filename = __FILE__;
test-type = EWL_TEST_TYPE_MISC;
test-unit_tests = object_unit_tests;
+}
+
+/*
+ * Center align an object and check it's positioning and size.
+ */
+static int
+place_test_center_get(char *buf, int len)
+{
+   Ewl_Widget *w;
+   int x, y, width, height;
+   int ret = 0;
+
+   w = ewl_widget_new();
+
+   ewl_object_preferred_inner_size_set(EWL_OBJECT(w), 10, 20);
+   ewl_object_fill_policy_set(EWL_OBJECT(w), EWL_FLAG_FILL_NONE);
+
+   ewl_object_alignment_set(EWL_OBJECT(w), EWL_FLAG_ALIGN_CENTER);
+   ewl_object_place(EWL_OBJECT(w), 0, 0, 20, 40);
+
+   ewl_object_current_geometry_get(EWL_OBJECT(w), x, y, width, height);
+
+   if (x == 5  y == 10  width == 10  height == 20)
+   ret = 1;
+   else
+   LOG_FAILURE(buf, len, incorrect center align placement);
+
+   ewl_widget_destroy(w);
+
+   return ret;
+}
+
+/*
+ * Top align an object and check it's positioning and size.
+ */
+static int
+place_test_top_get(char *buf, int len)
+{
+   Ewl_Widget *w;
+   int x, y, width, height;
+   int ret = 0;
+
+   w = ewl_widget_new();
+
+   ewl_object_preferred_inner_size_set(EWL_OBJECT(w), 10, 20);
+   ewl_object_fill_policy_set(EWL_OBJECT(w), EWL_FLAG_FILL_NONE);
+
+   ewl_object_alignment_set(EWL_OBJECT(w), EWL_FLAG_ALIGN_TOP);
+   ewl_object_place(EWL_OBJECT(w), 0, 0, 20, 40);
+
+   ewl_object_current_geometry_get(EWL_OBJECT(w), x, y, width, height);
+
+   if (x == 5  y == 0  width == 10  height == 20)
+   ret = 1;
+   else
+   LOG_FAILURE(buf, len, incorrect top align placement);
+
+   ewl_widget_destroy(w);
+
+   return ret;
+}
+
+/*
+ * Bottom align an object and check it's positioning and size.
+ */
+static int
+place_test_bottom_get(char *buf, int len)
+{
+   Ewl_Widget *w;
+   int x, y, width, height;
+   int ret = 0;
+
+   w = ewl_widget_new();
+
+   ewl_object_preferred_inner_size_set(EWL_OBJECT(w), 10, 20);
+   ewl_object_fill_policy_set(EWL_OBJECT(w), EWL_FLAG_FILL_NONE);
+
+   ewl_object_alignment_set(EWL_OBJECT(w), EWL_FLAG_ALIGN_BOTTOM);
+   ewl_object_place(EWL_OBJECT(w), 0, 0, 20, 40);
+
+   ewl_object_current_geometry_get(EWL_OBJECT(w), x, y, width, height);
+
+   if (x == 5  y == 20  width == 10  height == 20)
+   ret = 1;
+   else
+   LOG_FAILURE(buf, len, incorrect bottom align placement);
+
+   ewl_widget_destroy(w);
+
+   return ret;
+}
+
+/*
+ * Left align an object and check it's positioning and size.
+ */
+static int
+place_test_left_get(char *buf, int len)
+{
+   Ewl_Widget *w;
+   int x, y, width, height;
+   int ret = 0;
+
+   w = ewl_widget_new();
+
+   ewl_object_preferred_inner_size_set(EWL_OBJECT(w), 10, 20);
+   ewl_object_fill_policy_set(EWL_OBJECT(w), EWL_FLAG_FILL_NONE);
+
+   ewl_object_alignment_set(EWL_OBJECT(w), EWL_FLAG_ALIGN_LEFT);
+   ewl_object_place(EWL_OBJECT(w), 0, 0, 20, 40);
+
+   ewl_object_current_geometry_get(EWL_OBJECT(w), x, y, width, height);

E CVS: libs/ewl ningerso

2007-12-09 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/text_format




Log Message:
Directory /cvs/e/e17/libs/ewl/src/bin/tests/text_format added to the repository




-
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-09 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/theme


Modified Files:
ewl_theme_test.c 


Log Message:
Rename text_fmt to text_format to be consistent with displayed test name.
Remove original tree use in theme test until tree2 replacement added.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/theme/ewl_theme_test.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- ewl_theme_test.c4 Dec 2007 05:28:04 -   1.1
+++ ewl_theme_test.c10 Dec 2007 07:23:06 -  1.2
@@ -165,7 +165,6 @@
 widgets_build(void)
 {
Ewl_Widget *misc, *item, *vbox, *notebook;
-   char *str, *str_col[2];
int i;
struct {
char *name;
@@ -309,7 +308,6 @@
ewl_container_child_append(EWL_CONTAINER(misc), item);
ewl_widget_show(item);
}
-#endif
 
/* List/tree */
vbox = ewl_vbox_new();
@@ -359,6 +357,7 @@
str_col[0] = sub row;
str_col[1] = label;
item = ewl_tree_text_row_add(EWL_TREE(misc), EWL_ROW(item), str_col);
+#endif
 
/* Misc */
vbox = ewl_vbox_new();



-
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-09 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/text_fmt


Removed Files:
.cvsignore Makefile.am ewl_text_fmt_test.c 


Log Message:
Rename text_fmt to text_format to be consistent with displayed test name.
Remove original tree use in theme test until tree2 replacement added.




-
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-09 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/text_format


Added Files:
.cvsignore Makefile.am ewl_text_format_test.c 


Log Message:
Rename text_fmt to text_format to be consistent with displayed test name.
Remove original tree use in theme test until tree2 replacement added.




-
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-09 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl


Modified Files:
configure.in 


Log Message:
Rename text_fmt to text_format to be consistent with displayed test name.
Remove original tree use in theme test until tree2 replacement added.

===
RCS file: /cvs/e/e17/libs/ewl/configure.in,v
retrieving revision 1.123
retrieving revision 1.124
diff -u -3 -r1.123 -r1.124
--- configure.in5 Dec 2007 05:32:16 -   1.123
+++ configure.in10 Dec 2007 07:23:05 -  1.124
@@ -283,7 +283,7 @@
 src/bin/tests/statusbar/Makefile
 src/bin/tests/table/Makefile
 src/bin/tests/text/Makefile
-src/bin/tests/text_fmt/Makefile
+src/bin/tests/text_format/Makefile
 src/bin/tests/text_editor/Makefile
 src/bin/tests/theme/Makefile
 src/bin/tests/toolbar/Makefile



-
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-09 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests


Modified Files:
Makefile.am 


Log Message:
Rename text_fmt to text_format to be consistent with displayed test name.
Remove original tree use in theme test until tree2 replacement added.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/Makefile.am,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -3 -r1.53 -r1.54
--- Makefile.am 20 Nov 2007 06:11:25 -  1.53
+++ Makefile.am 10 Dec 2007 07:23:05 -  1.54
@@ -50,7 +50,7 @@
statusbar \
table \
text \
-   text_fmt \
+   text_format \
text_editor \
theme \
toolbar \



-
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-08 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/lib


Modified Files:
ewl_calendar.c ewl_config.c ewl_filelist.c ewl_private.h 
ewl_scrollbar.c 


Log Message:
Patch from caro for a improving compilation time by reducing the headers
included in every file.

===
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_calendar.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -3 -r1.34 -r1.35
--- ewl_calendar.c  6 Dec 2007 15:19:44 -   1.34
+++ ewl_calendar.c  9 Dec 2007 01:00:40 -   1.35
@@ -1,4 +1,5 @@
 /* vim: set sw=8 ts=8 sts=8 noexpandtab: */
+#include time.h
 #include ewl_base.h
 #include ewl_calendar.h
 #include ewl_icon.h
===
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_config.c,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -3 -r1.35 -r1.36
--- ewl_config.c3 Dec 2007 04:46:25 -   1.35
+++ ewl_config.c9 Dec 2007 01:00:40 -   1.36
@@ -5,6 +5,7 @@
 #include ewl_debug.h
 
 #include Evas.h
+#include unistd.h
 #if HAVE_FCNTL_H
 # include fcntl.h
 #endif /* HAVE_FCNTL_H */
===
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_filelist.c,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -3 -r1.43 -r1.44
--- ewl_filelist.c  7 Dec 2007 04:54:30 -   1.43
+++ ewl_filelist.c  9 Dec 2007 01:00:40 -   1.44
@@ -12,6 +12,14 @@
 #include ewl_macros.h
 #include ewl_private.h
 #include ewl_debug.h
+#include sys/types.h
+#if HAVE_PWD_H
+# include pwd.h
+#endif /* HAVE_PWD_H */
+#if HAVE_GRP_H
+# include grp.h
+#endif /* HAVE_GRP_H */
+#include time.h
 
 static void ewl_filelist_setup(Ewl_Filelist *fl);
 static void ewl_filelist_view_setup(Ewl_Filelist *fl);
===
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_private.h,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -3 -r1.22 -r1.23
--- ewl_private.h   16 Nov 2007 18:50:57 -  1.22
+++ ewl_private.h   9 Dec 2007 01:00:40 -   1.23
@@ -9,24 +9,9 @@
 #include ewl-config.h
 #endif
 
-#include stdio.h
-#include stdlib.h
-#include string.h
 #include limits.h
 #include ctype.h
-#include sys/types.h
 #include sys/stat.h
-#include unistd.h
-#include math.h
-#include assert.h
-#include time.h
-#include fnmatch.h
-#if HAVE_PWD_H
-# include pwd.h
-#endif /* HAVE_PWD_H */
-#if HAVE_GRP_H
-# include grp.h
-#endif /* HAVE_GRP_H */
 
 #ifdef HAVE_ALLOCA_H
 # include alloca.h
===
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_scrollbar.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -3 -r1.21 -r1.22
--- ewl_scrollbar.c 12 Nov 2007 22:42:22 -  1.21
+++ ewl_scrollbar.c 9 Dec 2007 01:00:40 -   1.22
@@ -1,4 +1,5 @@
 /* vim: set sw=8 ts=8 sts=8 noexpandtab: */
+#include math.h
 #include ewl_base.h
 #include ewl_scrollbar.h
 #include ewl_button.h



-
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-08 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/widget


Modified Files:
ewl_widget_test.c 


Log Message:
Modified realize to not automatically trigger a show. This breaks from the
convention that GTK+ established, but provides a more predictable API.
Updated associated unit tests to correspond to the updated methods.
Fixed a bug in reveal associated with the realize phase.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/widget/ewl_widget_test.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- ewl_widget_test.c   4 Dec 2007 05:28:05 -   1.1
+++ ewl_widget_test.c   9 Dec 2007 01:09:06 -   1.2
@@ -301,7 +301,7 @@
 
ewl_widget_appearance_set(w, my_appearance);
if (strcmp(my_appearance, ewl_widget_appearance_get(w)))
-   snprintf(buf, len, appearance_get doesn't match 
appearance_set);
+   LOG_FAILURE(buf, len, appearance_get doesn't match 
appearance_set);
else
ret = 1;
 
@@ -325,10 +325,10 @@
 
ewl_widget_inherit(w, my_class);
if (!ewl_widget_type_is(w, my_class))
-   snprintf(buf, len, inheritance doesn't contain correct type);
+   LOG_FAILURE(buf, len, inheritance doesn't contain correct 
type);
else {
if (ewl_widget_type_is(w, unknown_class))
-   snprintf(buf, len,
+   LOG_FAILURE(buf, len,
inheritance contains incorrect type);
else
ret = 1;
@@ -355,15 +355,15 @@
if (ewl_widget_internal_is(w)) {
ewl_widget_internal_set(w, FALSE);
if (ewl_widget_internal_is(w))
-   snprintf(buf, len, internal flag not FALSE);
+   LOG_FAILURE(buf, len, internal flag not 
FALSE);
else
ret = 1;
}
else
-   snprintf(buf, len, internal flag not TRUE);
+   LOG_FAILURE(buf, len, internal flag not TRUE);
}
else
-   snprintf(buf, len, internal set after widget_init);
+   LOG_FAILURE(buf, len, internal set after widget_init);
 
return ret;
 }
@@ -386,15 +386,15 @@
if (!ewl_widget_clipped_is(w)) {
ewl_widget_clipped_set(w, TRUE);
if (!ewl_widget_clipped_is(w))
-   snprintf(buf, len, clipped flag not TRUE);
+   LOG_FAILURE(buf, len, clipped flag not TRUE);
else
ret = 1;
}
else
-   snprintf(buf, len, clipped flag not FALSE);
+   LOG_FAILURE(buf, len, clipped flag not FALSE);
}
else
-   snprintf(buf, len, clipped not set after widget_init);
+   LOG_FAILURE(buf, len, clipped not set after widget_init);
 
return ret;
 }
@@ -420,9 +420,9 @@
found = ewl_widget_data_get(w, key);
 
if (!found)
-   snprintf(buf, len, could not find set data);
+   LOG_FAILURE(buf, len, could not find set data);
else if (found != value)
-   snprintf(buf, len, found value does not match set data);
+   LOG_FAILURE(buf, len, found value does not match set data);
else
ret = 1;
 
@@ -449,11 +449,11 @@
found = ewl_widget_data_del(w, key);
 
if (!found)
-   snprintf(buf, len, could not find set data);
+   LOG_FAILURE(buf, len, could not find set data);
else if (found != value)
-   snprintf(buf, len, removed value does not match set data);
+   LOG_FAILURE(buf, len, removed value does not match set data);
else if (ewl_widget_data_get(w, key))
-   snprintf(buf, len, data value present after remove);
+   LOG_FAILURE(buf, len, data value present after remove);
else
ret = 1;
 
@@ -471,7 +471,7 @@
 
w = ewl_widget_new();
if (!w)
-   snprintf(buf, len, Failed to create widget);
+   LOG_FAILURE(buf, len, Failed to create widget);
else
{
ewl_widget_destroy(w);
@@ -493,11 +493,11 @@
 
w = ewl_widget_new();
if (VISIBLE(w))
-   snprintf(buf, len, Widget VISIBLE after _init);
+   LOG_FAILURE(buf, len, Widget VISIBLE after _init);
else if (REALIZED(w))
-   snprintf(buf, len, Widget REALIZED after _init);
+   LOG_FAILURE(buf, len, Widget REALIZED after _init);
else if (REVEALED(w))
-   

E CVS: libs/ewl ningerso

2007-12-08 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/lib


Modified Files:
ewl_widget.c 


Log Message:
Modified realize to not automatically trigger a show. This breaks from the
convention that GTK+ established, but provides a more predictable API.
Updated associated unit tests to correspond to the updated methods.
Fixed a bug in reveal associated with the realize phase.

===
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_widget.c,v
retrieving revision 1.153
retrieving revision 1.154
diff -u -3 -r1.153 -r1.154
--- ewl_widget.c20 Nov 2007 02:30:09 -  1.153
+++ ewl_widget.c9 Dec 2007 01:09:06 -   1.154
@@ -217,7 +217,11 @@
if (w-parent  !REALIZED(w-parent))
ewl_widget_realize(w-parent);
 
-   else if (w-parent || ewl_object_toplevel_get(EWL_OBJECT(w))) {
+   /*
+* The parent should be realized at this point, and we can handle
+* realizing ourselves.
+*/
+   if (w-parent || ewl_object_toplevel_get(EWL_OBJECT(w))) {
ewl_object_queued_add(EWL_OBJECT(w), 
EWL_FLAG_QUEUED_PROCESS_REVEAL);
ewl_callback_call(w, EWL_CALLBACK_REALIZE);
ewl_object_queued_remove(EWL_OBJECT(w),
@@ -228,8 +232,6 @@
ewl_widget_obscure(w);
}
 
-   ewl_widget_show(w);
-
DLEAVE_FUNCTION(DLEVEL_STABLE);
 }
 
@@ -284,7 +286,13 @@
DCHECK_PARAM_PTR(w);
DCHECK_TYPE(w, EWL_WIDGET_TYPE);
 
-   if (REVEALED(w))
+   /*
+* Already revealed widgets can be skipped, as can unrealized widgets,
+* unless the are already queued for reveal, ie. in the realize process.
+*/
+   if (REVEALED(w) || (!REALIZED(w)  !ewl_object_queued_has(
+   EWL_OBJECT(w),
+   EWL_FLAG_QUEUED_SCHEDULED_REVEAL)))
DRETURN(DLEVEL_STABLE);
 
ewl_object_visible_add(EWL_OBJECT(w), EWL_FLAG_VISIBLE_REVEALED);



-
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-08 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/lib


Modified Files:
ewl_filelist_model.c 


Log Message:
Fix warning by including fnmatch.h again.

===
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_filelist_model.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- ewl_filelist_model.c9 Dec 2007 06:21:43 -   1.7
+++ ewl_filelist_model.c9 Dec 2007 06:29:03 -   1.8
@@ -6,6 +6,7 @@
 #include ewl_model.h
 #include ewl_filelist.h
 #include ewl_io_manager.h
+#include fnmatch.h
 #include dirent.h
 #include fnmatch.h
 



-
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-07 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin


Modified Files:
main.c 


Log Message:
Fix option parsing in ewl_test to enable profile timing and add associated help.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/main.c,v
retrieving revision 1.91
retrieving revision 1.92
diff -u -3 -r1.91 -r1.92
--- main.c  3 Dec 2007 04:55:41 -   1.91
+++ main.c  8 Dec 2007 06:53:21 -   1.92
@@ -137,12 +137,15 @@
\t-all\tRun tests for all widgets\n
\t-help\tDisplay this help text\n
\t-list\tPrint available tests\n
+   \t-profile\tTime test results\n
\t-p\tHide passed test information\n
\t-d\tEnable all debugging output\n
\t-unit\tRun unit tests\n,
argv[0]);
exit(0);
}
+   else if (!strncmp(argv[i], -profile, 8))
+   profile_tests = 1;
else if (!strncmp(argv[i], -p, 2))
hide_passed = 1;
else if (!strncmp(argv[i], -d, 2))
@@ -154,8 +157,6 @@
unit_test = 1;
setenv(EWL_ENGINE_NAME, evas_buffer, 1);
}
-   else if (!strncmp(argv[i], -profile, 8))
-   profile_tests = 1;
}
 
/* initialize the ewl library */



-
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-07 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin


Modified Files:
ewl_test_private.h 


Log Message:
Provide a wrapper macro to give more information on failed tests.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/ewl_test_private.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- ewl_test_private.h  4 Jan 2007 05:09:39 -   1.2
+++ ewl_test_private.h  8 Dec 2007 05:09:02 -   1.3
@@ -10,4 +10,7 @@
 #define __UNUSED__
 #endif
 
+#define LOG_FAILURE(buffer, len, format, args...) \
+   snprintf(buf, len, %s:%d  format, __FILE__, __LINE__, ## args)
+
 #endif /* EWL_TEST_PRIVATE_H */



-
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-06 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/lib


Modified Files:
ewl_calendar.c 


Log Message:
Remove use of assert.

===
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_calendar.c,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -3 -r1.33 -r1.34
--- ewl_calendar.c  6 Dec 2007 03:40:45 -   1.33
+++ ewl_calendar.c  6 Dec 2007 15:19:44 -   1.34
@@ -312,7 +312,8 @@
 
DENTER_FUNCTION(DLEVEL_STABLE);
 
-   assert(year  1581);
+   /* FIXME: Properly handle leap year's prior to 1581. */
+   if (year = 1581) year = 1581;
leap = (((year % 4 == 0)  (year % 100)) || (year % 400 == 0));
 
DRETURN_INT(leap, DLEVEL_STABLE);



-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-05 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/lib


Modified Files:
ewl_button.c ewl_calendar.c ewl_callback.c ewl_icon.c 
ewl_stock.c ewl_stock.h 


Log Message:
Add const to some read-only global variables.
Move initialization of a non-zero global to ewl_callback_init.

===
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_button.c,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -3 -r1.55 -r1.56
--- ewl_button.c12 Nov 2007 22:42:21 -  1.55
+++ ewl_button.c6 Dec 2007 03:40:45 -   1.56
@@ -7,7 +7,7 @@
 #include ewl_private.h
 #include ewl_debug.h
 
-static Ewl_Stock_Funcs stock_funcs = {
+static const Ewl_Stock_Funcs const stock_funcs = {
EWL_STOCK_LABEL_SET(ewl_button_label_set),
EWL_STOCK_IMAGE_SET(ewl_button_image_set),
NULL
===
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_calendar.c,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -3 -r1.32 -r1.33
--- ewl_calendar.c  12 Nov 2007 22:42:21 -  1.32
+++ ewl_calendar.c  6 Dec 2007 03:40:45 -   1.33
@@ -24,11 +24,11 @@
 static void ewl_calendar_add_day_labels(Ewl_Calendar *ib);
 
 
-static char *months[] = {January, February, March, April, May,
-   June, July, August, September, October,
-   November, December};
+static const char * const months[] = {January, February, March, April,
+   May, June, July, August, September,
+   October, November, December};
 
-static int mdays[] = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};
+static const int mdays[] = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};
 
 /**
  * @return Returns NULL on failure, a new Ewl_Calendar on success
===
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_callback.c,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -3 -r1.37 -r1.38
--- ewl_callback.c  3 Dec 2007 05:41:11 -   1.37
+++ ewl_callback.c  6 Dec 2007 03:40:45 -   1.38
@@ -25,7 +25,7 @@
 static int ewl_callback_insert(Ewl_Widget *w, unsigned int t,
Ewl_Callback *cb, unsigned int pos);
 
-static int callback_type_count = EWL_CALLBACK_MAX + 1;;
+static int callback_type_count;
 static int callback_id = 0;
 static Ecore_Hash *cb_registration = NULL;
 
@@ -59,6 +59,7 @@
 
cb_registration = ecore_hash_new(ewl_callback_hash,
   ewl_callback_compare);
+   callback_type_count = EWL_CALLBACK_MAX + 1;
 
DRETURN_INT(TRUE, DLEVEL_STABLE);
 }
===
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_icon.c,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -3 -r1.42 -r1.43
--- ewl_icon.c  12 Nov 2007 22:42:22 -  1.42
+++ ewl_icon.c  6 Dec 2007 03:40:45 -   1.43
@@ -10,7 +10,7 @@
 #include ewl_private.h
 #include ewl_debug.h
 
-static Ewl_Stock_Funcs stock_funcs = {
+static const Ewl_Stock_Funcs const stock_funcs = {
EWL_STOCK_LABEL_SET(ewl_icon_label_set),
EWL_STOCK_IMAGE_SET(ewl_icon_image_set),
NULL
===
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_stock.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- ewl_stock.c 12 Nov 2007 22:42:22 -  1.10
+++ ewl_stock.c 6 Dec 2007 03:40:45 -   1.11
@@ -64,7 +64,7 @@
  * @brief Sets the given stock functions onto the stock widget
  */
 void
-ewl_stock_functions_set(Ewl_Stock *s, Ewl_Stock_Funcs *funcs)
+ewl_stock_functions_set(Ewl_Stock *s, const Ewl_Stock_Funcs * const funcs)
 {
DENTER_FUNCTION(DLEVEL_STABLE);
DCHECK_PARAM_PTR(s);
===
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_stock.h,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- ewl_stock.h 11 Nov 2007 06:07:46 -  1.11
+++ ewl_stock.h 6 Dec 2007 03:40:45 -   1.12
@@ -88,7 +88,7 @@
 {
Ewl_Box box;/** Inherit from the box for adding 
widgets */
Ewl_Stock_Type stock_type;  /** The stock type of the stock */
-   Ewl_Stock_Funcs *stock_funcs;   /** The stock functions */
+   const Ewl_Stock_Funcs *stock_funcs; /** The stock functions */
 };
 
 /**
@@ -105,7 +105,7 @@
 
 int ewl_stock_init(Ewl_Stock *s);
 
-voidewl_stock_functions_set(Ewl_Stock *s, Ewl_Stock_Funcs *funcs);
+voidewl_stock_functions_set(Ewl_Stock *s, const Ewl_Stock_Funcs * 
const funcs);
 
 voidewl_stock_type_set(Ewl_Stock *s, Ewl_Stock_Type stock);
 Ewl_Stock_Type  ewl_stock_type_get(Ewl_Stock *s);




E CVS: libs/ewl ningerso

2007-12-05 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/lib


Modified Files:
ewl_stock.c 


Log Message:
Add const to read-only stock icon/label data.

===
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_stock.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- ewl_stock.c 6 Dec 2007 03:40:45 -   1.11
+++ ewl_stock.c 6 Dec 2007 03:42:51 -   1.12
@@ -12,9 +12,9 @@
  */
 struct
 {
-   char *label;
-   char *image_key;
-   char *tooltip;
+   const char * const label;
+   const char * const image_key;
+   const char * const tooltip;
 } ewl_stock_items[] = {
{Apply, EWL_ICON_DIALOG_APPLY, Apply},
{/*Arrow*/Down, EWL_ICON_GO_DOWN, Down},



-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-05 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/layer


Modified Files:
ewl_layer_test.c 


Log Message:
Fix test header includes following change to embed inheritance.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/layer/ewl_layer_test.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- ewl_layer_test.c4 Dec 2007 05:28:01 -   1.1
+++ ewl_layer_test.c6 Dec 2007 06:58:10 -   1.2
@@ -1,6 +1,7 @@
 /* vim: set sw=8 ts=8 sts=8 noexpandtab: */
 #include Ewl_Test.h
 #include ewl_test_private.h
+#include ewl_overlay.h
 #include ewl_button.h
 #include ewl_spectrum.h
 



-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-05 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/histogram


Modified Files:
ewl_histogram_test.c 


Log Message:
Fix test header includes following change to embed inheritance.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/histogram/ewl_histogram_test.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- ewl_histogram_test.c4 Dec 2007 05:28:00 -   1.1
+++ ewl_histogram_test.c6 Dec 2007 06:58:10 -   1.2
@@ -1,6 +1,7 @@
 /* vim: set sw=8 ts=8 sts=8 noexpandtab: */
 #include Ewl_Test.h
 #include ewl_test_private.h
+#include ewl_overlay.h
 #include ewl_histogram.h
 #include ewl_image.h
 



-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-05 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/engines/xcb


Modified Files:
ewl_engine_xcb.c 


Log Message:
Convert the selection API to an embed rather than a window and update supporting
engines. Please test specific engines.

===
RCS file: /cvs/e/e17/libs/ewl/src/engines/xcb/ewl_engine_xcb.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- ewl_engine_xcb.c12 Nov 2007 22:42:21 -  1.2
+++ ewl_engine_xcb.c6 Dec 2007 07:07:12 -   1.3
@@ -81,7 +81,7 @@
 static void ee_keyboard_ungrab(Ewl_Window *win);
 static int ee_pointer_grab(Ewl_Window *win);
 static void ee_pointer_ungrab(Ewl_Window *win);
-static void ee_window_selection_text_set(Ewl_Window *win, const char *txt);
+static void ee_window_selection_text_set(Ewl_Embed *emb, const char *txt);
 static void ee_window_geometry_set(Ewl_Window *win, int *width, int *height);
 static void ee_dnd_aware_set(Ewl_Embed *embed);
 static void ee_desktop_size_get(Ewl_Embed *embed, int *w, int *h);
@@ -840,18 +840,18 @@
 }
 
 static void
-ee_window_selection_text_set(Ewl_Window *win, const char *txt)
+ee_window_selection_text_set(Ewl_Embed *emb, const char *txt)
 {
DENTER_FUNCTION(DLEVEL_STABLE);
-   DCHECK_PARAM_PTR(win);
+   DCHECK_PARAM_PTR(emb);
DCHECK_PARAM_PTR(txt);
-   DCHECK_TYPE(win, EWL_WINDOW_TYPE);
+   DCHECK_TYPE(emb, EWL_EMBED_TYPE);
 
ecore_x_selection_primary_prefetch();
ecore_x_selection_primary_fetch();
if (txt)
ecore_x_selection_primary_set(
-   (Ecore_X_Window)win-window,
+   (Ecore_X_Window)emb-canvas_window,
(unsigned char *)txt, strlen(txt) + 1);
else
ecore_x_selection_primary_clear();



-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-05 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/lib


Modified Files:
ewl_embed.c ewl_embed.h ewl_engines.c ewl_engines.h ewl_text.c 
ewl_window.c ewl_window.h 


Log Message:
Convert the selection API to an embed rather than a window and update supporting
engines. Please test specific engines.

===
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_embed.c,v
retrieving revision 1.132
retrieving revision 1.133
diff -u -3 -r1.132 -r1.133
--- ewl_embed.c 5 Dec 2007 16:44:53 -   1.132
+++ ewl_embed.c 6 Dec 2007 07:07:12 -   1.133
@@ -2033,6 +2033,26 @@
 }
 
 /**
+ * @param win: The window to set the selection on
+ * @param txt: The text to set into the selection
+ * @return Returns no value.
+ *
+ ' @brief This will set the given @a txt as the selection text on the window
+ * or clear the text if @a txt is NULL
+ */
+void
+ewl_embed_selection_text_set(Ewl_Embed *emb, const char *txt)
+{
+   DENTER_FUNCTION(DLEVEL_STABLE);
+   DCHECK_PARAM_PTR(emb);
+   DCHECK_TYPE(emb, EWL_EMBED_TYPE);
+
+   ewl_engine_embed_selection_text_set(emb, txt);
+
+   DLEAVE_FUNCTION(DLEVEL_STABLE);
+}
+
+/**
  * @param emb: The embed to work with
  * @return Returns no value
  * @brief This will destroy the object cache associated with the embed object
===
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_embed.h,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -3 -r1.49 -r1.50
--- ewl_embed.h 5 Dec 2007 16:48:00 -   1.49
+++ ewl_embed.h 6 Dec 2007 07:07:12 -   1.50
@@ -173,6 +173,8 @@
 voidewl_embed_dnd_aware_set(Ewl_Embed *embed);
 voidewl_embed_dnd_aware_remove(Ewl_Embed *embed);
 
+voidewl_embed_selection_text_set(Ewl_Embed *emb, const char *txt);
+
 voidewl_embed_cache_cleanup(Ewl_Embed *emb);
 
 /*
===
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_engines.c,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -3 -r1.54 -r1.55
--- ewl_engines.c   29 Nov 2007 07:34:40 -  1.54
+++ ewl_engines.c   6 Dec 2007 07:07:12 -   1.55
@@ -750,29 +750,29 @@
 }
 
 /**
- * @param win: the window to work with
+ * @param emb: the embed to work with
  * @param txt: The text to set as the selection
  * @return Returns no value
- * @brief Sets the window selection text
+ * @brief Sets the embed selection text
  */
 void
-ewl_engine_window_selection_text_set(Ewl_Window *win, const char *txt)
+ewl_engine_embed_selection_text_set(Ewl_Embed *emb, const char *txt)
 {
-   Ewl_Engine_Cb_Window_Selection_Text_Set window_selection_text_set;
+   Ewl_Engine_Cb_Window_Selection_Text_Set embed_selection_text_set;
 
DENTER_FUNCTION(DLEVEL_STABLE);
-   DCHECK_PARAM_PTR(win);
+   DCHECK_PARAM_PTR(emb);
DCHECK_PARAM_PTR(txt);
-   DCHECK_TYPE(win, EWL_WINDOW_TYPE);
+   DCHECK_TYPE(emb, EWL_EMBED_TYPE);
 
-   if (!REALIZED(win))
+   if (!REALIZED(emb))
DRETURN(DLEVEL_STABLE);
 
-   window_selection_text_set = ewl_engine_hook_get(EWL_EMBED(win),
+   embed_selection_text_set = ewl_engine_hook_get(EWL_EMBED(emb),
EWL_ENGINE_HOOK_TYPE_WINDOW,
EWL_ENGINE_WINDOW_SELECTION_TEXT_SET);
-   if (window_selection_text_set)
-   window_selection_text_set(win, txt);
+   if (embed_selection_text_set)
+   embed_selection_text_set(emb, txt);
 
DLEAVE_FUNCTION(DLEVEL_STABLE);
 }
===
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_engines.h,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -3 -r1.31 -r1.32
--- ewl_engines.h   29 Nov 2007 07:34:40 -  1.31
+++ ewl_engines.h   6 Dec 2007 07:07:12 -   1.32
@@ -191,10 +191,10 @@
 int ewl_engine_pointer_grab(Ewl_Window *win);
 voidewl_engine_pointer_ungrab(Ewl_Window *win);
 
-voidewl_engine_window_selection_text_set(Ewl_Window *win,
-   const char *txt);
 voidewl_engine_window_geometry_get(Ewl_Window *win, int root,
int *width, int *height);
+voidewl_engine_embed_selection_text_set(Ewl_Embed *emb,
+   const char *txt);
 voidewl_engine_embed_dnd_aware_set(Ewl_Embed *embed);
 voidewl_engine_embed_dnd_drag_types_set(Ewl_Embed *embed,
char **types,
@@ -260,7 +260,7 @@
ungrab */
 typedef int  (*Ewl_Engine_Cb_Pointer_Grab)(Ewl_Window *win);   

E CVS: libs/ewl ningerso

2007-12-05 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/engines/x11


Modified Files:
ewl_engine_x11.c 


Log Message:
Convert the selection API to an embed rather than a window and update supporting
engines. Please test specific engines.

===
RCS file: /cvs/e/e17/libs/ewl/src/engines/x11/ewl_engine_x11.c,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -3 -r1.55 -r1.56
--- ewl_engine_x11.c12 Nov 2007 22:42:21 -  1.55
+++ ewl_engine_x11.c6 Dec 2007 07:07:12 -   1.56
@@ -82,7 +82,7 @@
 static void ee_keyboard_ungrab(Ewl_Window *win);
 static int ee_pointer_grab(Ewl_Window *win);
 static void ee_pointer_ungrab(Ewl_Window *win);
-static void ee_window_selection_text_set(Ewl_Window *win, const char *txt);
+static void ee_window_selection_text_set(Ewl_Embed *emb, const char *txt);
 static void ee_window_geometry_set(Ewl_Window *win, int *width, int *height);
 static void ee_dnd_aware_set(Ewl_Embed *embed);
 static void ee_desktop_size_get(Ewl_Embed *embed, int *w, int *h);
@@ -837,16 +837,16 @@
 }
 
 static void
-ee_window_selection_text_set(Ewl_Window *win, const char *txt)
+ee_window_selection_text_set(Ewl_Embed *emb, const char *txt)
 {
DENTER_FUNCTION(DLEVEL_STABLE);
-   DCHECK_PARAM_PTR(win);
+   DCHECK_PARAM_PTR(emb);
DCHECK_PARAM_PTR(txt);
-   DCHECK_TYPE(win, EWL_WINDOW_TYPE);
+   DCHECK_TYPE(emb, EWL_EMBED_TYPE);
 
if (txt)
ecore_x_selection_primary_set(
-   (Ecore_X_Window)win-window,
+   (Ecore_X_Window)emb-canvas_window,
(unsigned char *)txt, strlen(txt) + 1);
else
ecore_x_selection_primary_clear();



-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-04 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl


Modified Files:
ChangeLog configure.in 


Log Message:
Release Version 0.5.2:
  - Obligatory yearly release
  - Rewrite of autotools scripts
  - Reorganization of default theme structure
  - Fixed general build of embed test support files
  - Updated doxygen theme
  - Restructuring of test application
  - Extensive addition of unit tests
  - Addition of XCB, SDL, and Windows engines
  - Refactoring header files for faster build times
  - Simplification of debugging macros to reduce code duplication
  - Improved box layout algorithm
  - A variety of bug fixes and  typo corrections
  - Rewritten combo container based on MVC framework
  - Expanded support for config value handling
  - Revamped dialog layout and API
  - Custom DND cursor support
  - Generalizing of canvas terminology
  - Abstracting engine support
  - MVC based filelist container
  - Expanded default view support
  - Convert icon and mime type handling to efreet
  - Improved menu event handling
  - Reduced number of required callbacks and expanded custom callbacks
  - External main loop support
  - Improved general MVC API and implementation
  - Better layout algorithm for paned widget
  - Popup sets better window management hints and follows parent
  - API changes for radio button selection querying
  - Range extended to handle unknown end values
  - Improved doxygen image handling
  - UTF8 fixes for the ewl_text widget
  - Abstraction and cleanup of tree2 internals
  - General widget handling performance improvements
  - Removal of deprecated DND code
  - Widget layer and stacking fixes
  - Support for additional general window management hints

===
RCS file: /cvs/e/e17/libs/ewl/ChangeLog,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -3 -r1.59 -r1.60
--- ChangeLog   15 Dec 2006 07:05:44 -  1.59
+++ ChangeLog   5 Dec 2007 05:32:16 -   1.60
@@ -1,3 +1,42 @@
+Tue Dec 4 11:03:00 2007 Nathan Ingersoll [EMAIL PROTECTED]
+   * Version 0.5.2:
+ - Obligatory yearly release
+ - Rewrite of autotools scripts
+ - Reorganization of default theme structure
+ - Fixed general build of embed test support files
+ - Updated doxygen theme
+ - Restructuring of test application
+ - Extensive addition of unit tests
+ - Addition of XCB, SDL, and Windows engines
+ - Refactoring header files for faster build times
+ - Simplification of debugging macros to reduce code duplication
+ - Improved box layout algorithm
+ - A variety of bug fixes and  typo corrections
+ - Rewritten combo container based on MVC framework
+ - Expanded support for config value handling
+ - Revamped dialog layout and API
+ - Custom DND cursor support
+ - Generalizing of canvas terminology
+ - Abstracting engine support
+ - MVC based filelist container
+ - Expanded default view support
+ - Convert icon and mime type handling to efreet
+ - Improved menu event handling
+ - Reduced number of required callbacks and expanded custom callbacks
+ - External main loop support
+ - Improved general MVC API and implementation
+ - Better layout algorithm for paned widget
+ - Popup sets better window management hints and follows parent
+ - API changes for radio button selection querying
+ - Range extended to handle unknown end values
+ - Improved doxygen image handling
+ - UTF8 fixes for the ewl_text widget
+ - Abstraction and cleanup of tree2 internals
+ - General widget handling performance improvements
+ - Removal of deprecated DND code
+ - Widget layer and stacking fixes
+ - Support for additional general window management hints
+
 Fri Dec 15 00:40:00 2006 Nathan Ingersoll [EMAIL PROTECTED]
* Version 0.5.1:
  - Addition of popup abstraction
===
RCS file: /cvs/e/e17/libs/ewl/configure.in,v
retrieving revision 1.122
retrieving revision 1.123
diff -u -3 -r1.122 -r1.123
--- configure.in20 Nov 2007 06:11:25 -  1.122
+++ configure.in5 Dec 2007 05:32:16 -   1.123
@@ -1,6 +1,6 @@
 dnl Process this file with autoconf to produce a configure script.
 
-AC_INIT(ewl, 0.5.1.011, [EMAIL PROTECTED])
+AC_INIT(ewl, 0.5.2.011, [EMAIL PROTECTED])
 AC_PREREQ(2.52)
 AC_CONFIG_SRCDIR(configure.in)
 AC_CANONICAL_BUILD




E CVS: libs/ewl ningerso

2007-12-03 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/button


Modified Files:
Makefile.am 
Added Files:
ewl_button_test.c 
Removed Files:
ewl_button.c 


Log Message:
Rename test files to include a _test prefix to avoid conflicting file names with
widget source file. This makes it easier to read backtraces.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/button/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- Makefile.am 16 Nov 2007 18:57:52 -  1.2
+++ Makefile.am 4 Dec 2007 05:27:58 -   1.3
@@ -15,13 +15,13 @@
 
 pkgdir = $(libdir)/ewl/tests
 
-pkg_LTLIBRARIES = ewl_button.la
+pkg_LTLIBRARIES = ewl_button_test.la
 
-ewl_button_la_SOURCES = ewl_button.c
-ewl_button_la_LIBADD = $(top_builddir)/src/lib/libewl.la
-ewl_button_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
+ewl_button_test_la_SOURCES = ewl_button_test.c
+ewl_button_test_la_LIBADD = $(top_builddir)/src/lib/libewl.la
+ewl_button_test_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
 
-FILES = $(ewl_button_la_SOURCES)
+FILES = $(ewl_button_test_la_SOURCES)
 
 exampledir = $(pkgdatadir)/examples/
 example_DATA = $(FILES)



-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-03 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/box


Modified Files:
Makefile.am 
Added Files:
ewl_box_test.c 
Removed Files:
ewl_box.c 


Log Message:
Rename test files to include a _test prefix to avoid conflicting file names with
widget source file. This makes it easier to read backtraces.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/box/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- Makefile.am 16 Nov 2007 18:57:51 -  1.2
+++ Makefile.am 4 Dec 2007 05:27:57 -   1.3
@@ -15,13 +15,13 @@
 
 pkgdir = $(libdir)/ewl/tests
 
-pkg_LTLIBRARIES = ewl_box.la
+pkg_LTLIBRARIES = ewl_box_test.la
 
-ewl_box_la_SOURCES = ewl_box.c
-ewl_box_la_LIBADD = $(top_builddir)/src/lib/libewl.la
-ewl_box_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
+ewl_box_test_la_SOURCES = ewl_box_test.c
+ewl_box_test_la_LIBADD = $(top_builddir)/src/lib/libewl.la
+ewl_box_test_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
 
-FILES = $(ewl_box_la_SOURCES)
+FILES = $(ewl_box_test_la_SOURCES)
 
 exampledir = $(pkgdatadir)/examples/
 example_DATA = $(FILES)



-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-03 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/border


Modified Files:
Makefile.am 
Added Files:
ewl_border_test.c 
Removed Files:
ewl_border.c 


Log Message:
Rename test files to include a _test prefix to avoid conflicting file names with
widget source file. This makes it easier to read backtraces.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/border/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- Makefile.am 16 Nov 2007 18:57:51 -  1.2
+++ Makefile.am 4 Dec 2007 05:27:57 -   1.3
@@ -15,13 +15,13 @@
 
 pkgdir = $(libdir)/ewl/tests
 
-pkg_LTLIBRARIES = ewl_border.la
+pkg_LTLIBRARIES = ewl_border_test.la
 
-ewl_border_la_SOURCES = ewl_border.c
-ewl_border_la_LIBADD = $(top_builddir)/src/lib/libewl.la
-ewl_border_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
+ewl_border_test_la_SOURCES = ewl_border_test.c
+ewl_border_test_la_LIBADD = $(top_builddir)/src/lib/libewl.la
+ewl_border_test_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
 
-FILES = $(ewl_border_la_SOURCES)
+FILES = $(ewl_border_test_la_SOURCES)
 
 exampledir = $(pkgdatadir)/examples/
 example_DATA = $(FILES)



-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-03 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/calendar


Modified Files:
Makefile.am 
Added Files:
ewl_calendar_test.c 
Removed Files:
ewl_calendar.c 


Log Message:
Rename test files to include a _test prefix to avoid conflicting file names with
widget source file. This makes it easier to read backtraces.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/calendar/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- Makefile.am 16 Nov 2007 18:57:52 -  1.2
+++ Makefile.am 4 Dec 2007 05:27:58 -   1.3
@@ -15,13 +15,13 @@
 
 pkgdir = $(libdir)/ewl/tests
 
-pkg_LTLIBRARIES = ewl_calendar.la
+pkg_LTLIBRARIES = ewl_calendar_test.la
 
-ewl_calendar_la_SOURCES = ewl_calendar.c
-ewl_calendar_la_LIBADD = $(top_builddir)/src/lib/libewl.la
-ewl_calendar_la_LDFLAGS= -module @create_shared_lib@ -avoid-version
+ewl_calendar_test_la_SOURCES = ewl_calendar_test.c
+ewl_calendar_test_la_LIBADD = $(top_builddir)/src/lib/libewl.la
+ewl_calendar_test_la_LDFLAGS   = -module @create_shared_lib@ -avoid-version
 
-FILES = $(ewl_calendar_la_SOURCES)
+FILES = $(ewl_calendar_test_la_SOURCES)
 
 exampledir = $(pkgdatadir)/examples/
 example_DATA = $(FILES)



-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-03 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/combo


Modified Files:
Makefile.am 
Added Files:
ewl_combo_test.c 
Removed Files:
ewl_combo.c 


Log Message:
Rename test files to include a _test prefix to avoid conflicting file names with
widget source file. This makes it easier to read backtraces.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/combo/Makefile.am,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- Makefile.am 16 Nov 2007 18:57:52 -  1.3
+++ Makefile.am 4 Dec 2007 05:27:58 -   1.4
@@ -16,13 +16,13 @@
 
 pkgdir = $(libdir)/ewl/tests
 
-pkg_LTLIBRARIES = ewl_combo.la
+pkg_LTLIBRARIES = ewl_combo_test.la
 
-ewl_combo_la_SOURCES = ewl_combo.c
-ewl_combo_la_LIBADD = $(top_builddir)/src/lib/libewl.la
-ewl_combo_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
+ewl_combo_test_la_SOURCES = ewl_combo_test.c
+ewl_combo_test_la_LIBADD = $(top_builddir)/src/lib/libewl.la
+ewl_combo_test_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
 
-FILES = $(ewl_combo_la_SOURCES)
+FILES = $(ewl_combo_test_la_SOURCES)
 
 exampledir = $(pkgdatadir)/examples/
 example_DATA = $(FILES)



-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-03 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/callback


Modified Files:
Makefile.am 
Added Files:
ewl_callback_test.c 
Removed Files:
ewl_callback.c 


Log Message:
Rename test files to include a _test prefix to avoid conflicting file names with
widget source file. This makes it easier to read backtraces.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/callback/Makefile.am,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- Makefile.am 20 Nov 2007 06:11:25 -  1.1
+++ Makefile.am 4 Dec 2007 05:27:58 -   1.2
@@ -15,13 +15,13 @@
 
 pkgdir = $(libdir)/ewl/tests
 
-pkg_LTLIBRARIES = ewl_callback.la
+pkg_LTLIBRARIES = ewl_callback_test.la
 
-ewl_callback_la_SOURCES = ewl_callback.c
-ewl_callback_la_LIBADD = $(top_builddir)/src/lib/libewl.la
-ewl_callback_la_LDFLAGS = -module @create_shared_lib@ -avoid-version 
+ewl_callback_test_la_SOURCES = ewl_callback_test.c
+ewl_callback_test_la_LIBADD = $(top_builddir)/src/lib/libewl.la
+ewl_callback_test_la_LDFLAGS = -module @create_shared_lib@ -avoid-version 
 
-FILES = $(ewl_callback_la_SOURCES)
+FILES = $(ewl_callback_test_la_SOURCES)
 
 exampledir = $(pkgdatadir)/examples/
 example_DATA = $(FILES)



-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-03 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/engine


Modified Files:
Makefile.am 
Added Files:
ewl_engine_test.c 
Removed Files:
ewl_engine.c 


Log Message:
Rename test files to include a _test prefix to avoid conflicting file names with
widget source file. This makes it easier to read backtraces.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/engine/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- Makefile.am 16 Nov 2007 18:57:52 -  1.2
+++ Makefile.am 4 Dec 2007 05:27:59 -   1.3
@@ -6,6 +6,7 @@
 -I$(top_builddir)/src/lib \
 -I$(top_srcdir)/src/bin \
 -I$(top_builddir)/src/bin \
+-DPACKAGE_LIB_DIR=\$(libdir)\ \
 @EDJE_CFLAGS@ \
 @ECORE_CFLAGS@ \
 @EVAS_CFLAGS@ \
@@ -15,13 +16,13 @@
 
 pkgdir = $(libdir)/ewl/tests
 
-pkg_LTLIBRARIES = ewl_engine.la
+pkg_LTLIBRARIES = ewl_engine_test.la
 
-ewl_engine_la_SOURCES = ewl_engine.c
-ewl_engine_la_LIBADD = $(top_builddir)/src/lib/libewl.la @EVAS_LIBS@
-ewl_engine_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
+ewl_engine_test_la_SOURCES = ewl_engine_test.c
+ewl_engine_test_la_LIBADD = $(top_builddir)/src/lib/libewl.la @EVAS_LIBS@
+ewl_engine_test_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
 
-FILES = $(ewl_engine_la_SOURCES)
+FILES = $(ewl_engine_test_la_SOURCES)
 
 exampledir = $(pkgdatadir)/examples/
 example_DATA = $(FILES)



-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-03 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/grid


Modified Files:
Makefile.am 
Added Files:
ewl_grid_test.c 
Removed Files:
ewl_grid.c 


Log Message:
Rename test files to include a _test prefix to avoid conflicting file names with
widget source file. This makes it easier to read backtraces.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/grid/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- Makefile.am 16 Nov 2007 18:57:53 -  1.2
+++ Makefile.am 4 Dec 2007 05:28:00 -   1.3
@@ -15,13 +15,13 @@
 
 pkgdir = $(libdir)/ewl/tests
 
-pkg_LTLIBRARIES = ewl_grid.la
+pkg_LTLIBRARIES = ewl_grid_test.la
 
-ewl_grid_la_SOURCES = ewl_grid.c
-ewl_grid_la_LIBADD = $(top_builddir)/src/lib/libewl.la
-ewl_grid_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
+ewl_grid_test_la_SOURCES = ewl_grid_test.c
+ewl_grid_test_la_LIBADD = $(top_builddir)/src/lib/libewl.la
+ewl_grid_test_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
 
-FILES = $(ewl_grid_la_SOURCES)
+FILES = $(ewl_grid_test_la_SOURCES)
 
 exampledir = $(pkgdatadir)/examples/
 example_DATA = $(FILES)



-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-03 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/entry


Modified Files:
Makefile.am 
Added Files:
ewl_entry_test.c 
Removed Files:
ewl_entry.c 


Log Message:
Rename test files to include a _test prefix to avoid conflicting file names with
widget source file. This makes it easier to read backtraces.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/entry/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- Makefile.am 16 Nov 2007 18:57:53 -  1.2
+++ Makefile.am 4 Dec 2007 05:27:59 -   1.3
@@ -15,13 +15,13 @@
 
 pkgdir = $(libdir)/ewl/tests
 
-pkg_LTLIBRARIES = ewl_entry.la
+pkg_LTLIBRARIES = ewl_entry_test.la
 
-ewl_entry_la_SOURCES = ewl_entry.c
-ewl_entry_la_LIBADD = $(top_builddir)/src/lib/libewl.la
-ewl_entry_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
+ewl_entry_test_la_SOURCES = ewl_entry_test.c
+ewl_entry_test_la_LIBADD = $(top_builddir)/src/lib/libewl.la
+ewl_entry_test_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
 
-FILES = $(ewl_entry_la_SOURCES)
+FILES = $(ewl_entry_test_la_SOURCES)
 
 exampledir =   $(pkgdatadir)/examples/
 example_DATA   =   $(FILES)



-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-03 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/dialog


Modified Files:
Makefile.am 
Added Files:
ewl_dialog_test.c 
Removed Files:
ewl_dialog.c 


Log Message:
Rename test files to include a _test prefix to avoid conflicting file names with
widget source file. This makes it easier to read backtraces.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/dialog/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- Makefile.am 16 Nov 2007 18:57:52 -  1.2
+++ Makefile.am 4 Dec 2007 05:27:59 -   1.3
@@ -15,13 +15,13 @@
 
 pkgdir = $(libdir)/ewl/tests
 
-pkg_LTLIBRARIES = ewl_dialog.la
+pkg_LTLIBRARIES = ewl_dialog_test.la
 
-ewl_dialog_la_SOURCES = ewl_dialog.c
-ewl_dialog_la_LIBADD = $(top_builddir)/src/lib/libewl.la
-ewl_dialog_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
+ewl_dialog_test_la_SOURCES = ewl_dialog_test.c
+ewl_dialog_test_la_LIBADD = $(top_builddir)/src/lib/libewl.la
+ewl_dialog_test_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
 
-FILES = $(ewl_dialog_la_SOURCES)
+FILES = $(ewl_dialog_test_la_SOURCES)
 
 exampledir = $(pkgdatadir)/examples/
 example_DATA = $(FILES)



-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-03 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/datepicker


Modified Files:
Makefile.am 
Added Files:
ewl_datepicker_test.c 
Removed Files:
ewl_datepicker.c 


Log Message:
Rename test files to include a _test prefix to avoid conflicting file names with
widget source file. This makes it easier to read backtraces.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/datepicker/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- Makefile.am 16 Nov 2007 18:57:52 -  1.2
+++ Makefile.am 4 Dec 2007 05:27:58 -   1.3
@@ -15,13 +15,13 @@
 
 pkgdir = $(libdir)/ewl/tests
 
-pkg_LTLIBRARIES = ewl_datepicker.la
+pkg_LTLIBRARIES = ewl_datepicker_test.la
 
-ewl_datepicker_la_SOURCES = ewl_datepicker.c
-ewl_datepicker_la_LIBADD = $(top_builddir)/src/lib/libewl.la
-ewl_datepicker_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
+ewl_datepicker_test_la_SOURCES = ewl_datepicker_test.c
+ewl_datepicker_test_la_LIBADD = $(top_builddir)/src/lib/libewl.la
+ewl_datepicker_test_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
 
-FILES = $(ewl_datepicker_la_SOURCES)
+FILES = $(ewl_datepicker_test_la_SOURCES)
 
 exampledir = $(pkgdatadir)/examples/
 example_DATA = $(FILES)



-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-03 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/filedialog


Modified Files:
Makefile.am 
Added Files:
ewl_filedialog_test.c 
Removed Files:
ewl_filedialog.c 


Log Message:
Rename test files to include a _test prefix to avoid conflicting file names with
widget source file. This makes it easier to read backtraces.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/filedialog/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- Makefile.am 16 Nov 2007 18:57:53 -  1.2
+++ Makefile.am 4 Dec 2007 05:27:59 -   1.3
@@ -15,13 +15,13 @@
 
 pkgdir = $(libdir)/ewl/tests
 
-pkg_LTLIBRARIES = ewl_filedialog.la
+pkg_LTLIBRARIES = ewl_filedialog_test.la
 
-ewl_filedialog_la_SOURCES = ewl_filedialog.c
-ewl_filedialog_la_LIBADD = $(top_builddir)/src/lib/libewl.la @ECORE_LIBS@
-ewl_filedialog_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
+ewl_filedialog_test_la_SOURCES = ewl_filedialog_test.c
+ewl_filedialog_test_la_LIBADD = $(top_builddir)/src/lib/libewl.la @ECORE_LIBS@
+ewl_filedialog_test_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
 
-FILES = $(ewl_filedialog_la_SOURCES)
+FILES = $(ewl_filedialog_test_la_SOURCES)
 
 exampledir = $(pkgdatadir)/examples/
 example_DATA = $(FILES)



-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-03 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/dnd_snoop


Modified Files:
Makefile.am 
Added Files:
ewl_dnd_snoop_test.c 
Removed Files:
ewl_dnd_snoop.c 


Log Message:
Rename test files to include a _test prefix to avoid conflicting file names with
widget source file. This makes it easier to read backtraces.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/dnd_snoop/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- Makefile.am 16 Nov 2007 18:57:52 -  1.2
+++ Makefile.am 4 Dec 2007 05:27:59 -   1.3
@@ -15,13 +15,13 @@
 
 pkgdir = $(libdir)/ewl/tests
 
-pkg_LTLIBRARIES = ewl_dnd_snoop.la
+pkg_LTLIBRARIES = ewl_dnd_snoop_test.la
 
-ewl_dnd_snoop_la_SOURCES = ewl_dnd_snoop.c
-ewl_dnd_snoop_la_LIBADD = $(top_builddir)/src/lib/libewl.la
-ewl_dnd_snoop_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
+ewl_dnd_snoop_test_la_SOURCES = ewl_dnd_snoop_test.c
+ewl_dnd_snoop_test_la_LIBADD = $(top_builddir)/src/lib/libewl.la
+ewl_dnd_snoop_test_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
 
-FILES = $(ewl_dnd_snoop_la_SOURCES)
+FILES = $(ewl_dnd_snoop_test_la_SOURCES)
 
 exampledir = $(pkgdatadir)/examples/
 example_DATA = $(FILES)



-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-03 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/colorpicker


Modified Files:
Makefile.am 
Added Files:
ewl_colorpicker_test.c 
Removed Files:
ewl_colorpicker.c 


Log Message:
Rename test files to include a _test prefix to avoid conflicting file names with
widget source file. This makes it easier to read backtraces.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/colorpicker/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- Makefile.am 16 Nov 2007 18:57:52 -  1.2
+++ Makefile.am 4 Dec 2007 05:27:58 -   1.3
@@ -15,13 +15,13 @@
 
 pkgdir= $(libdir)/ewl/tests
 
-pkg_LTLIBRARIES= ewl_colorpicker.la
+pkg_LTLIBRARIES= ewl_colorpicker_test.la
 
-ewl_colorpicker_la_SOURCES= ewl_colorpicker.c
-ewl_colorpicker_la_LIBADD= $(top_builddir)/src/lib/libewl.la
-ewl_colorpicker_la_LDFLAGS= -module @create_shared_lib@ -avoid-version
+ewl_colorpicker_test_la_SOURCES= ewl_colorpicker_test.c
+ewl_colorpicker_test_la_LIBADD= $(top_builddir)/src/lib/libewl.la
+ewl_colorpicker_test_la_LDFLAGS= -module @create_shared_lib@ -avoid-version
 
-FILES = $(ewl_colorpicker_la_SOURCES)
+FILES = $(ewl_colorpicker_test_la_SOURCES)
 
 exampledir = $(pkgdatadir)/examples/
 example_DATA = $(FILES)



-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-03 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/container


Modified Files:
Makefile.am 
Added Files:
ewl_container_test.c 
Removed Files:
ewl_container.c 


Log Message:
Rename test files to include a _test prefix to avoid conflicting file names with
widget source file. This makes it easier to read backtraces.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/container/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- Makefile.am 16 Nov 2007 18:57:52 -  1.2
+++ Makefile.am 4 Dec 2007 05:27:58 -   1.3
@@ -15,13 +15,13 @@
 
 pkgdir= $(libdir)/ewl/tests
 
-pkg_LTLIBRARIES= ewl_container.la
+pkg_LTLIBRARIES= ewl_container_test.la
 
-ewl_container_la_SOURCES = ewl_container.c
-ewl_container_la_LIBADD = $(top_builddir)/src/lib/libewl.la
-ewl_container_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
+ewl_container_test_la_SOURCES = ewl_container_test.c
+ewl_container_test_la_LIBADD = $(top_builddir)/src/lib/libewl.la
+ewl_container_test_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
 
-FILES = $(ewl_container_la_SOURCES)
+FILES = $(ewl_container_test_la_SOURCES)
 
 exampledir = $(pkgdatadir)/examples/
 example_DATA = $(FILES)



-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-03 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/colordialog


Modified Files:
Makefile.am 
Added Files:
ewl_colordialog_test.c 
Removed Files:
ewl_colordialog.c 


Log Message:
Rename test files to include a _test prefix to avoid conflicting file names with
widget source file. This makes it easier to read backtraces.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/colordialog/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- Makefile.am 16 Nov 2007 18:57:52 -  1.2
+++ Makefile.am 4 Dec 2007 05:27:58 -   1.3
@@ -15,13 +15,13 @@
 
 pkgdir = $(libdir)/ewl/tests
 
-pkg_LTLIBRARIES = ewl_colordialog.la
+pkg_LTLIBRARIES = ewl_colordialog_test.la
 
-ewl_colordialog_la_SOURCES = ewl_colordialog.c
-ewl_colordialog_la_LIBADD = $(top_builddir)/src/lib/libewl.la
-ewl_colordialog_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
+ewl_colordialog_test_la_SOURCES = ewl_colordialog_test.c
+ewl_colordialog_test_la_LIBADD = $(top_builddir)/src/lib/libewl.la
+ewl_colordialog_test_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
 
-FILES = $(ewl_colordialog_la_SOURCES)
+FILES = $(ewl_colordialog_test_la_SOURCES)
 
 exampledir = $(pkgdatadir)/examples/
 example_DATA = $(FILES)



-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-03 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/fullscreen


Modified Files:
Makefile.am 
Added Files:
ewl_fullscreen_test.c 
Removed Files:
ewl_fullscreen.c 


Log Message:
Rename test files to include a _test prefix to avoid conflicting file names with
widget source file. This makes it easier to read backtraces.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/fullscreen/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- Makefile.am 16 Nov 2007 18:57:53 -  1.2
+++ Makefile.am 4 Dec 2007 05:28:00 -   1.3
@@ -15,13 +15,13 @@
 
 pkgdir = $(libdir)/ewl/tests
 
-pkg_LTLIBRARIES = ewl_fullscreen.la
+pkg_LTLIBRARIES = ewl_fullscreen_test.la
 
-ewl_fullscreen_la_SOURCES = ewl_fullscreen.c
-ewl_fullscreen_la_LIBADD = $(top_builddir)/src/lib/libewl.la
-ewl_fullscreen_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
+ewl_fullscreen_test_la_SOURCES = ewl_fullscreen_test.c
+ewl_fullscreen_test_la_LIBADD = $(top_builddir)/src/lib/libewl.la
+ewl_fullscreen_test_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
 
-FILES = $(ewl_fullscreen_la_SOURCES)
+FILES = $(ewl_fullscreen_test_la_SOURCES)
 
 exampledir = $(pkgdatadir)/examples/
 example_DATA = $(FILES)



-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-03 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/histogram


Modified Files:
Makefile.am 
Added Files:
ewl_histogram_test.c 
Removed Files:
ewl_histogram.c 


Log Message:
Rename test files to include a _test prefix to avoid conflicting file names with
widget source file. This makes it easier to read backtraces.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/histogram/Makefile.am,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- Makefile.am 16 Nov 2007 18:57:54 -  1.3
+++ Makefile.am 4 Dec 2007 05:28:00 -   1.4
@@ -16,13 +16,13 @@
 
 pkgdir = $(libdir)/ewl/tests
 
-pkg_LTLIBRARIES = ewl_histogram.la
+pkg_LTLIBRARIES = ewl_histogram_test.la
 
-ewl_histogram_la_SOURCES = ewl_histogram.c
-ewl_histogram_la_LIBADD = $(top_builddir)/src/lib/libewl.la
-ewl_histogram_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
+ewl_histogram_test_la_SOURCES = ewl_histogram_test.c
+ewl_histogram_test_la_LIBADD = $(top_builddir)/src/lib/libewl.la
+ewl_histogram_test_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
 
-FILES = $(ewl_histogram_la_SOURCES)
+FILES = $(ewl_histogram_test_la_SOURCES)
 
 exampledir = $(pkgdatadir)/examples/
 example_DATA = $(FILES)



-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-03 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/freebox


Modified Files:
Makefile.am 
Added Files:
ewl_freebox_test.c 
Removed Files:
ewl_freebox.c 


Log Message:
Rename test files to include a _test prefix to avoid conflicting file names with
widget source file. This makes it easier to read backtraces.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/freebox/Makefile.am,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- Makefile.am 16 Nov 2007 18:57:53 -  1.3
+++ Makefile.am 4 Dec 2007 05:27:59 -   1.4
@@ -16,13 +16,13 @@
 
 pkgdir = $(libdir)/ewl/tests
 
-pkg_LTLIBRARIES = ewl_freebox.la
+pkg_LTLIBRARIES = ewl_freebox_test.la
 
-ewl_freebox_la_SOURCES = ewl_freebox.c
-ewl_freebox_la_LIBADD = $(top_builddir)/src/lib/libewl.la
-ewl_freebox_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
+ewl_freebox_test_la_SOURCES = ewl_freebox_test.c
+ewl_freebox_test_la_LIBADD = $(top_builddir)/src/lib/libewl.la
+ewl_freebox_test_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
 
-FILES = $(ewl_freebox_la_SOURCES)
+FILES = $(ewl_freebox_test_la_SOURCES)
 
 exampledir = $(pkgdatadir)/examples/
 example_DATA = $(FILES)



-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-03 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/layer


Modified Files:
Makefile.am 
Added Files:
ewl_layer_test.c 
Removed Files:
ewl_layer.c 


Log Message:
Rename test files to include a _test prefix to avoid conflicting file names with
widget source file. This makes it easier to read backtraces.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/layer/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- Makefile.am 16 Nov 2007 18:57:55 -  1.2
+++ Makefile.am 4 Dec 2007 05:28:01 -   1.3
@@ -15,13 +15,13 @@
 
 pkgdir = $(libdir)/ewl/tests
 
-pkg_LTLIBRARIES = ewl_layer.la
+pkg_LTLIBRARIES = ewl_layer_test.la
 
-ewl_layer_la_SOURCES = ewl_layer.c
-ewl_layer_la_LIBADD = $(top_builddir)/src/lib/libewl.la
-ewl_layer_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
+ewl_layer_test_la_SOURCES = ewl_layer_test.c
+ewl_layer_test_la_LIBADD = $(top_builddir)/src/lib/libewl.la
+ewl_layer_test_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
 
-FILES = $(ewl_layer_la_SOURCES)
+FILES = $(ewl_layer_test_la_SOURCES)
 
 exampledir = $(pkgdatadir)/examples/
 example_DATA = $(FILES)



-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-03 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/image


Modified Files:
Makefile.am 
Added Files:
ewl_image_test.c 
Removed Files:
ewl_image.c 


Log Message:
Rename test files to include a _test prefix to avoid conflicting file names with
widget source file. This makes it easier to read backtraces.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/image/Makefile.am,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- Makefile.am 16 Nov 2007 18:57:55 -  1.3
+++ Makefile.am 4 Dec 2007 05:28:00 -   1.4
@@ -17,13 +17,13 @@
 
 pkgdir = $(libdir)/ewl/tests
 
-pkg_LTLIBRARIES = ewl_image.la
+pkg_LTLIBRARIES = ewl_image_test.la
 
-ewl_image_la_SOURCES = ewl_image.c
-ewl_image_la_LIBADD = $(top_builddir)/src/lib/libewl.la @ECORE_LIBS@
-ewl_image_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
+ewl_image_test_la_SOURCES = ewl_image_test.c
+ewl_image_test_la_LIBADD = $(top_builddir)/src/lib/libewl.la @ECORE_LIBS@
+ewl_image_test_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
 
-FILES = $(ewl_image_la_SOURCES)
+FILES = $(ewl_image_test_la_SOURCES)
 
 exampledir = $(pkgdatadir)/examples/
 example_DATA = $(FILES)



-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-03 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/icon


Modified Files:
Makefile.am 
Added Files:
ewl_icon_test.c 
Removed Files:
ewl_icon.c 


Log Message:
Rename test files to include a _test prefix to avoid conflicting file names with
widget source file. This makes it easier to read backtraces.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/icon/Makefile.am,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- Makefile.am 16 Nov 2007 18:57:55 -  1.3
+++ Makefile.am 4 Dec 2007 05:28:00 -   1.4
@@ -16,13 +16,13 @@
 
 pkgdir = $(libdir)/ewl/tests
 
-pkg_LTLIBRARIES = ewl_icon.la
+pkg_LTLIBRARIES = ewl_icon_test.la
 
-ewl_icon_la_SOURCES = ewl_icon.c
-ewl_icon_la_LIBADD = $(top_builddir)/src/lib/libewl.la
-ewl_icon_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
+ewl_icon_test_la_SOURCES = ewl_icon_test.c
+ewl_icon_test_la_LIBADD = $(top_builddir)/src/lib/libewl.la
+ewl_icon_test_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
 
-FILES = $(ewl_icon_la_SOURCES)
+FILES = $(ewl_icon_test_la_SOURCES)
 
 exampledir = $(pkgdatadir)/examples/
 example_DATA = $(FILES)



-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-03 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/filepicker


Modified Files:
Makefile.am 
Added Files:
ewl_filepicker_test.c 
Removed Files:
ewl_filepicker.c 


Log Message:
Rename test files to include a _test prefix to avoid conflicting file names with
widget source file. This makes it easier to read backtraces.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/filepicker/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- Makefile.am 16 Nov 2007 18:57:53 -  1.2
+++ Makefile.am 4 Dec 2007 05:27:59 -   1.3
@@ -15,13 +15,13 @@
 
 pkgdir = $(libdir)/ewl/tests
 
-pkg_LTLIBRARIES = ewl_filepicker.la
+pkg_LTLIBRARIES = ewl_filepicker_test.la
 
-ewl_filepicker_la_SOURCES = ewl_filepicker.c
-ewl_filepicker_la_LIBADD = $(top_builddir)/src/lib/libewl.la @ECORE_LIBS@
-ewl_filepicker_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
+ewl_filepicker_test_la_SOURCES = ewl_filepicker_test.c
+ewl_filepicker_test_la_LIBADD = $(top_builddir)/src/lib/libewl.la @ECORE_LIBS@
+ewl_filepicker_test_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
 
-FILES = $(ewl_filepicker_la_SOURCES)
+FILES = $(ewl_filepicker_test_la_SOURCES)
 
 exampledir = $(pkgdatadir)/examples/
 example_DATA = $(FILES)



-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-03 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/io_manager


Modified Files:
Makefile.am 
Added Files:
ewl_io_manager_test.c 
Removed Files:
ewl_io_manager.c 


Log Message:
Rename test files to include a _test prefix to avoid conflicting file names with
widget source file. This makes it easier to read backtraces.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/io_manager/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- Makefile.am 16 Nov 2007 18:57:55 -  1.2
+++ Makefile.am 4 Dec 2007 05:28:00 -   1.3
@@ -15,13 +15,13 @@
 
 pkgdir = $(libdir)/ewl/tests
 
-pkg_LTLIBRARIES = ewl_io_manager.la
+pkg_LTLIBRARIES = ewl_io_manager_test.la
 
-ewl_io_manager_la_SOURCES = ewl_io_manager.c
-ewl_io_manager_la_LIBADD = $(top_builddir)/src/lib/libewl.la
-ewl_io_manager_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
+ewl_io_manager_test_la_SOURCES = ewl_io_manager_test.c
+ewl_io_manager_test_la_LIBADD = $(top_builddir)/src/lib/libewl.la
+ewl_io_manager_test_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
 
-FILES = $(ewl_io_manager_la_SOURCES)
+FILES = $(ewl_io_manager_test_la_SOURCES)
 
 exampledir = $(pkgdatadir)/examples/
 example_DATA = $(FILES)



-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-03 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/image_thumbnail


Modified Files:
Makefile.am 
Added Files:
ewl_image_thumbnail_test.c 
Removed Files:
ewl_image_thumbnail.c 


Log Message:
Rename test files to include a _test prefix to avoid conflicting file names with
widget source file. This makes it easier to read backtraces.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/image_thumbnail/Makefile.am,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- Makefile.am 16 Nov 2007 18:57:55 -  1.3
+++ Makefile.am 4 Dec 2007 05:28:00 -   1.4
@@ -17,13 +17,13 @@
 
 pkgdir = $(libdir)/ewl/tests
 
-pkg_LTLIBRARIES = ewl_image_thumbnail.la
+pkg_LTLIBRARIES = ewl_image_thumbnail_test.la
 
-ewl_image_thumbnail_la_SOURCES = ewl_image_thumbnail.c
-ewl_image_thumbnail_la_LIBADD = $(top_builddir)/src/lib/libewl.la @ECORE_LIBS@
-ewl_image_thumbnail_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
+ewl_image_thumbnail_test_la_SOURCES = ewl_image_thumbnail_test.c
+ewl_image_thumbnail_test_la_LIBADD = $(top_builddir)/src/lib/libewl.la 
@ECORE_LIBS@
+ewl_image_thumbnail_test_la_LDFLAGS = -module @create_shared_lib@ 
-avoid-version
 
-FILES = $(ewl_image_thumbnail_la_SOURCES)
+FILES = $(ewl_image_thumbnail_test_la_SOURCES)
 
 exampledir = $(pkgdatadir)/examples/
 example_DATA = $(FILES)



-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-03 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/media


Modified Files:
Makefile.am 
Added Files:
ewl_media_test.c 
Removed Files:
ewl_media.c 


Log Message:
Rename test files to include a _test prefix to avoid conflicting file names with
widget source file. This makes it easier to read backtraces.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/media/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- Makefile.am 16 Nov 2007 18:57:56 -  1.2
+++ Makefile.am 4 Dec 2007 05:28:02 -   1.3
@@ -15,13 +15,13 @@
 
 pkgdir = $(libdir)/ewl/tests
 
-pkg_LTLIBRARIES = ewl_media.la
+pkg_LTLIBRARIES = ewl_media_test.la
 
-ewl_media_la_SOURCES = ewl_media.c
-ewl_media_la_LIBADD = $(top_builddir)/src/lib/libewl.la
-ewl_media_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
+ewl_media_test_la_SOURCES = ewl_media_test.c
+ewl_media_test_la_LIBADD = $(top_builddir)/src/lib/libewl.la
+ewl_media_test_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
 
-FILES = $(ewl_media_la_SOURCES)
+FILES = $(ewl_media_test_la_SOURCES)
 
 exampledir = $(pkgdatadir)/examples/
 example_DATA = $(FILES)



-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-03 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/label


Modified Files:
Makefile.am 
Added Files:
ewl_label_test.c 
Removed Files:
ewl_label.c 


Log Message:
Rename test files to include a _test prefix to avoid conflicting file names with
widget source file. This makes it easier to read backtraces.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/label/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- Makefile.am 16 Nov 2007 18:57:55 -  1.2
+++ Makefile.am 4 Dec 2007 05:28:00 -   1.3
@@ -15,13 +15,13 @@
 
 pkgdir = $(libdir)/ewl/tests
 
-pkg_LTLIBRARIES = ewl_label.la
+pkg_LTLIBRARIES = ewl_label_test.la
 
-ewl_label_la_SOURCES = ewl_label.c
-ewl_label_la_LIBADD = $(top_builddir)/src/lib/libewl.la
-ewl_label_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
+ewl_label_test_la_SOURCES = ewl_label_test.c
+ewl_label_test_la_LIBADD = $(top_builddir)/src/lib/libewl.la
+ewl_label_test_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
 
-FILES = $(ewl_label_la_SOURCES)
+FILES = $(ewl_label_test_la_SOURCES)
 
 exampledir = $(pkgdatadir)/examples/
 example_DATA = $(FILES)



-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-03 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/list


Modified Files:
Makefile.am 
Added Files:
ewl_list_test.c 
Removed Files:
ewl_list.c 


Log Message:
Rename test files to include a _test prefix to avoid conflicting file names with
widget source file. This makes it easier to read backtraces.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/list/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- Makefile.am 16 Nov 2007 18:57:55 -  1.2
+++ Makefile.am 4 Dec 2007 05:28:01 -   1.3
@@ -15,13 +15,13 @@
 
 pkgdir = $(libdir)/ewl/tests
 
-pkg_LTLIBRARIES = ewl_list.la
+pkg_LTLIBRARIES = ewl_list_test.la
 
-ewl_list_la_SOURCES = ewl_list.c
-ewl_list_la_LIBADD = $(top_builddir)/src/lib/libewl.la @ECORE_LIBS@
-ewl_list_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
+ewl_list_test_la_SOURCES = ewl_list_test.c
+ewl_list_test_la_LIBADD = $(top_builddir)/src/lib/libewl.la @ECORE_LIBS@
+ewl_list_test_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
 
-FILES = $(ewl_list_la_SOURCES)
+FILES = $(ewl_list_test_la_SOURCES)
 
 exampledir = $(pkgdatadir)/examples/
 example_DATA = $(FILES)



-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-03 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/password


Modified Files:
Makefile.am 
Added Files:
ewl_password_test.c 
Removed Files:
ewl_password.c 


Log Message:
Rename test files to include a _test prefix to avoid conflicting file names with
widget source file. This makes it easier to read backtraces.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/password/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- Makefile.am 16 Nov 2007 18:57:57 -  1.2
+++ Makefile.am 4 Dec 2007 05:28:03 -   1.3
@@ -15,13 +15,13 @@
 
 pkgdir = $(libdir)/ewl/tests
 
-pkg_LTLIBRARIES = ewl_password.la
+pkg_LTLIBRARIES = ewl_password_test.la
 
-ewl_password_la_SOURCES = ewl_password.c
-ewl_password_la_LIBADD = $(top_builddir)/src/lib/libewl.la
-ewl_password_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
+ewl_password_test_la_SOURCES = ewl_password_test.c
+ewl_password_test_la_LIBADD = $(top_builddir)/src/lib/libewl.la
+ewl_password_test_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
 
-FILES = $(ewl_password_la_SOURCES)
+FILES = $(ewl_password_test_la_SOURCES)
 
 exampledir = $(pkgdatadir)/examples/
 example_DATA = $(FILES)



-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-03 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/object


Modified Files:
Makefile.am 
Added Files:
ewl_object_test.c 
Removed Files:
ewl_object.c 


Log Message:
Rename test files to include a _test prefix to avoid conflicting file names with
widget source file. This makes it easier to read backtraces.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/object/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- Makefile.am 16 Nov 2007 18:57:56 -  1.2
+++ Makefile.am 4 Dec 2007 05:28:02 -   1.3
@@ -15,13 +15,13 @@
 
 pkgdir = $(libdir)/ewl/tests
 
-pkg_LTLIBRARIES = ewl_object.la
+pkg_LTLIBRARIES = ewl_object_test.la
 
-ewl_object_la_SOURCES = ewl_object.c
-ewl_object_la_LIBADD = $(top_builddir)/src/lib/libewl.la
-ewl_object_la_LDFLAGS = -module @create_shared_lib@ -avoid-version 
+ewl_object_test_la_SOURCES = ewl_object_test.c
+ewl_object_test_la_LIBADD = $(top_builddir)/src/lib/libewl.la
+ewl_object_test_la_LDFLAGS = -module @create_shared_lib@ -avoid-version 
 
-FILES = $(ewl_object_la_SOURCES)
+FILES = $(ewl_object_test_la_SOURCES)
 
 exampledir = $(pkgdatadir)/examples/
 example_DATA = $(FILES)



-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-03 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/puzzle


Modified Files:
Makefile.am 
Added Files:
ewl_puzzle_test.c 
Removed Files:
ewl_puzzle.c 


Log Message:
Rename test files to include a _test prefix to avoid conflicting file names with
widget source file. This makes it easier to read backtraces.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/puzzle/Makefile.am,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- Makefile.am 16 Nov 2007 18:57:57 -  1.3
+++ Makefile.am 4 Dec 2007 05:28:03 -   1.4
@@ -16,13 +16,13 @@
 
 pkgdir = $(libdir)/ewl/tests
 
-pkg_LTLIBRARIES = ewl_puzzle.la
+pkg_LTLIBRARIES = ewl_puzzle_test.la
 
-ewl_puzzle_la_SOURCES = ewl_puzzle.c
-ewl_puzzle_la_LIBADD = $(top_builddir)/src/lib/libewl.la
-ewl_puzzle_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
+ewl_puzzle_test_la_SOURCES = ewl_puzzle_test.c
+ewl_puzzle_test_la_LIBADD = $(top_builddir)/src/lib/libewl.la
+ewl_puzzle_test_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
 
-FILES = $(ewl_puzzle_la_SOURCES) 
+FILES = $(ewl_puzzle_test_la_SOURCES) 
 
 exampledir = $(pkgdatadir)/examples/
 example_DATA = $(FILES)



-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-03 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/theme


Modified Files:
Makefile.am 
Added Files:
ewl_theme_test.c 
Removed Files:
ewl_theme.c 


Log Message:
Rename test files to include a _test prefix to avoid conflicting file names with
widget source file. This makes it easier to read backtraces.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/theme/Makefile.am,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- Makefile.am 16 Nov 2007 18:57:59 -  1.3
+++ Makefile.am 4 Dec 2007 05:28:04 -   1.4
@@ -16,13 +16,13 @@
 
 pkgdir = $(libdir)/ewl/tests
 
-pkg_LTLIBRARIES = ewl_theme.la
+pkg_LTLIBRARIES = ewl_theme_test.la
 
-ewl_theme_la_SOURCES = ewl_theme.c
-ewl_theme_la_LIBADD = $(top_builddir)/src/lib/libewl.la
-ewl_theme_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
+ewl_theme_test_la_SOURCES = ewl_theme_test.c
+ewl_theme_test_la_LIBADD = $(top_builddir)/src/lib/libewl.la
+ewl_theme_test_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
 
-FILES = $(ewl_theme_la_SOURCES)
+FILES = $(ewl_theme_test_la_SOURCES)
 
 exampledir = $(pkgdatadir)/examples/
 example_DATA = $(FILES)



-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-03 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/paned


Modified Files:
Makefile.am 
Added Files:
ewl_paned_test.c 
Removed Files:
ewl_paned.c 


Log Message:
Rename test files to include a _test prefix to avoid conflicting file names with
widget source file. This makes it easier to read backtraces.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/paned/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- Makefile.am 16 Nov 2007 18:57:56 -  1.2
+++ Makefile.am 4 Dec 2007 05:28:02 -   1.3
@@ -15,13 +15,13 @@
 
 pkgdir = $(libdir)/ewl/tests
 
-pkg_LTLIBRARIES = ewl_paned.la
+pkg_LTLIBRARIES = ewl_paned_test.la
 
-ewl_paned_la_SOURCES = ewl_paned.c
-ewl_paned_la_LIBADD = $(top_builddir)/src/lib/libewl.la
-ewl_paned_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
+ewl_paned_test_la_SOURCES = ewl_paned_test.c
+ewl_paned_test_la_LIBADD = $(top_builddir)/src/lib/libewl.la
+ewl_paned_test_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
 
-FILES = $(ewl_paned_la_SOURCES)
+FILES = $(ewl_paned_test_la_SOURCES)
 
 exampledir = $(pkgdatadir)/examples/
 example_DATA = $(FILES)



-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-03 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/scrollbar


Modified Files:
Makefile.am 
Added Files:
ewl_scrollbar_test.c 
Removed Files:
ewl_scrollbar.c 


Log Message:
Rename test files to include a _test prefix to avoid conflicting file names with
widget source file. This makes it easier to read backtraces.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/scrollbar/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- Makefile.am 16 Nov 2007 18:57:57 -  1.2
+++ Makefile.am 4 Dec 2007 05:28:03 -   1.3
@@ -15,13 +15,13 @@
 
 pkgdir = $(libdir)/ewl/tests
 
-pkg_LTLIBRARIES = ewl_scrollbar.la
+pkg_LTLIBRARIES = ewl_scrollbar_test.la
 
-ewl_scrollbar_la_SOURCES = ewl_scrollbar.c
-ewl_scrollbar_la_LIBADD = $(top_builddir)/src/lib/libewl.la
-ewl_scrollbar_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
+ewl_scrollbar_test_la_SOURCES = ewl_scrollbar_test.c
+ewl_scrollbar_test_la_LIBADD = $(top_builddir)/src/lib/libewl.la
+ewl_scrollbar_test_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
 
-FILES = $(ewl_scrollbar_la_SOURCES)
+FILES = $(ewl_scrollbar_test_la_SOURCES)
 
 exampledir = $(pkgdatadir)/examples/
 example_DATA = $(FILES)



-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-03 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/tooltip


Modified Files:
Makefile.am 
Added Files:
ewl_tooltip_test.c 
Removed Files:
ewl_tooltip.c 


Log Message:
Rename test files to include a _test prefix to avoid conflicting file names with
widget source file. This makes it easier to read backtraces.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/tooltip/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- Makefile.am 16 Nov 2007 18:57:59 -  1.2
+++ Makefile.am 4 Dec 2007 05:28:04 -   1.3
@@ -15,13 +15,13 @@
 
 pkgdir = $(libdir)/ewl/tests
 
-pkg_LTLIBRARIES = ewl_tooltip.la
+pkg_LTLIBRARIES = ewl_tooltip_test.la
 
-ewl_tooltip_la_SOURCES = ewl_tooltip.c
-ewl_tooltip_la_LIBADD = $(top_builddir)/src/lib/libewl.la
-ewl_tooltip_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
+ewl_tooltip_test_la_SOURCES = ewl_tooltip_test.c
+ewl_tooltip_test_la_LIBADD = $(top_builddir)/src/lib/libewl.la
+ewl_tooltip_test_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
 
-FILES = $(ewl_tooltip_la_SOURCES)
+FILES = $(ewl_tooltip_test_la_SOURCES)
 
 exampledir = $(pkgdatadir)/examples/
 example_DATA = $(FILES)



-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-03 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/text_fmt


Modified Files:
Makefile.am 
Added Files:
ewl_text_fmt_test.c 
Removed Files:
ewl_text_fmt.c 


Log Message:
Rename test files to include a _test prefix to avoid conflicting file names with
widget source file. This makes it easier to read backtraces.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/text_fmt/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- Makefile.am 16 Nov 2007 18:57:58 -  1.2
+++ Makefile.am 4 Dec 2007 05:28:04 -   1.3
@@ -15,13 +15,13 @@
 
 pkgdir = $(libdir)/ewl/tests
 
-pkg_LTLIBRARIES = ewl_text_fmt.la
+pkg_LTLIBRARIES = ewl_text_fmt_test.la
 
-ewl_text_fmt_la_SOURCES = ewl_text_fmt.c
-ewl_text_fmt_la_LIBADD = $(top_builddir)/src/lib/libewl.la @ECORE_LIBS@
-ewl_text_fmt_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
+ewl_text_fmt_test_la_SOURCES = ewl_text_fmt_test.c
+ewl_text_fmt_test_la_LIBADD = $(top_builddir)/src/lib/libewl.la @ECORE_LIBS@
+ewl_text_fmt_test_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
 
-FILES = $(ewl_text_fmt_la_SOURCES)
+FILES = $(ewl_text_fmt_test_la_SOURCES)
 
 exampledir = $(pkgdatadir)/examples/
 example_DATA = $(FILES)



-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-03 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/progressbar


Modified Files:
Makefile.am 
Added Files:
ewl_progressbar_test.c 
Removed Files:
ewl_progressbar.c 


Log Message:
Rename test files to include a _test prefix to avoid conflicting file names with
widget source file. This makes it easier to read backtraces.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/progressbar/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- Makefile.am 16 Nov 2007 18:57:57 -  1.2
+++ Makefile.am 4 Dec 2007 05:28:03 -   1.3
@@ -15,13 +15,13 @@
 
 pkgdir = $(libdir)/ewl/tests
 
-pkg_LTLIBRARIES = ewl_progressbar.la
+pkg_LTLIBRARIES = ewl_progressbar_test.la
 
-ewl_progressbar_la_SOURCES = ewl_progressbar.c
-ewl_progressbar_la_LIBADD = $(top_builddir)/src/lib/libewl.la @ECORE_LIBS@
-ewl_progressbar_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
+ewl_progressbar_test_la_SOURCES = ewl_progressbar_test.c
+ewl_progressbar_test_la_LIBADD = $(top_builddir)/src/lib/libewl.la @ECORE_LIBS@
+ewl_progressbar_test_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
 
-FILES = $(ewl_progressbar_la_SOURCES)
+FILES = $(ewl_progressbar_test_la_SOURCES)
 
 exampledir = $(pkgdatadir)/examples/
 example_DATA = $(FILES)



-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-03 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/widget


Modified Files:
Makefile.am 
Added Files:
ewl_widget_test.c 
Removed Files:
ewl_widget.c 


Log Message:
Rename test files to include a _test prefix to avoid conflicting file names with
widget source file. This makes it easier to read backtraces.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/widget/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- Makefile.am 16 Nov 2007 18:57:59 -  1.2
+++ Makefile.am 4 Dec 2007 05:28:05 -   1.3
@@ -15,13 +15,13 @@
 
 pkgdir = $(libdir)/ewl/tests
 
-pkg_LTLIBRARIES = ewl_widget.la
+pkg_LTLIBRARIES = ewl_widget_test.la
 
-ewl_widget_la_SOURCES = ewl_widget.c
-ewl_widget_la_LIBADD = $(top_builddir)/src/lib/libewl.la
-ewl_widget_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
+ewl_widget_test_la_SOURCES = ewl_widget_test.c
+ewl_widget_test_la_LIBADD = $(top_builddir)/src/lib/libewl.la
+ewl_widget_test_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
 
-FILES = $(ewl_widget_la_SOURCES)
+FILES = $(ewl_widget_test_la_SOURCES)
 
 exampledir = $(pkgdatadir)/examples/
 example_DATA = $(FILES)



-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-03 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/pointer


Modified Files:
Makefile.am 
Added Files:
ewl_pointer_test.c 
Removed Files:
ewl_pointer.c 


Log Message:
Rename test files to include a _test prefix to avoid conflicting file names with
widget source file. This makes it easier to read backtraces.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/pointer/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- Makefile.am 16 Nov 2007 18:57:57 -  1.2
+++ Makefile.am 4 Dec 2007 05:28:03 -   1.3
@@ -15,13 +15,13 @@
 
 pkgdir = $(libdir)/ewl/tests
 
-pkg_LTLIBRARIES = ewl_pointer.la
+pkg_LTLIBRARIES = ewl_pointer_test.la
 
-ewl_pointer_la_SOURCES = ewl_pointer.c
-ewl_pointer_la_LIBADD = $(top_builddir)/src/lib/libewl.la @ECORE_LIBS@
-ewl_pointer_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
+ewl_pointer_test_la_SOURCES = ewl_pointer_test.c
+ewl_pointer_test_la_LIBADD = $(top_builddir)/src/lib/libewl.la @ECORE_LIBS@
+ewl_pointer_test_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
 
-FILES = $(ewl_pointer_la_SOURCES)
+FILES = $(ewl_pointer_test_la_SOURCES)
 
 exampledir = $(pkgdatadir)/examples/
 example_DATA = $(FILES)



-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-03 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/tree


Modified Files:
Makefile.am 
Added Files:
ewl_tree_test.c 
Removed Files:
ewl_tree.c 


Log Message:
Rename test files to include a _test prefix to avoid conflicting file names with
widget source file. This makes it easier to read backtraces.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/tree/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- Makefile.am 16 Nov 2007 18:57:59 -  1.2
+++ Makefile.am 4 Dec 2007 05:28:05 -   1.3
@@ -15,13 +15,13 @@
 
 pkgdir = $(libdir)/ewl/tests
 
-pkg_LTLIBRARIES = ewl_tree.la
+pkg_LTLIBRARIES = ewl_tree_test.la
 
-ewl_tree_la_SOURCES = ewl_tree.c
-ewl_tree_la_LIBADD = $(top_builddir)/src/lib/libewl.la @ECORE_LIBS@
-ewl_tree_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
+ewl_tree_test_la_SOURCES = ewl_tree_test.c
+ewl_tree_test_la_LIBADD = $(top_builddir)/src/lib/libewl.la @ECORE_LIBS@
+ewl_tree_test_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
 
-FILES = $(ewl_tree_la_SOURCES)
+FILES = $(ewl_tree_test_la_SOURCES)
 
 exampledir = $(pkgdatadir)/examples/
 example_DATA = $(FILES)



-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-03 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/scrollpane


Modified Files:
Makefile.am 
Added Files:
ewl_scrollpane_test.c 
Removed Files:
ewl_scrollpane.c 


Log Message:
Rename test files to include a _test prefix to avoid conflicting file names with
widget source file. This makes it easier to read backtraces.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/scrollpane/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- Makefile.am 16 Nov 2007 18:57:57 -  1.2
+++ Makefile.am 4 Dec 2007 05:28:03 -   1.3
@@ -15,13 +15,13 @@
 
 pkgdir = $(libdir)/ewl/tests
 
-pkg_LTLIBRARIES = ewl_scrollpane.la
+pkg_LTLIBRARIES = ewl_scrollpane_test.la
 
-ewl_scrollpane_la_SOURCES = ewl_scrollpane.c
-ewl_scrollpane_la_LIBADD = $(top_builddir)/src/lib/libewl.la
-ewl_scrollpane_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
+ewl_scrollpane_test_la_SOURCES = ewl_scrollpane_test.c
+ewl_scrollpane_test_la_LIBADD = $(top_builddir)/src/lib/libewl.la
+ewl_scrollpane_test_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
 
-FILES = $(ewl_scrollpane_la_SOURCES)
+FILES = $(ewl_scrollpane_test_la_SOURCES)
 
 exampledir = $(pkgdatadir)/examples/
 example_DATA = $(FILES)



-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-03 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/toolbar


Modified Files:
Makefile.am 
Added Files:
ewl_toolbar_test.c 
Removed Files:
ewl_toolbar.c 


Log Message:
Rename test files to include a _test prefix to avoid conflicting file names with
widget source file. This makes it easier to read backtraces.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/toolbar/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- Makefile.am 16 Nov 2007 18:57:59 -  1.2
+++ Makefile.am 4 Dec 2007 05:28:04 -   1.3
@@ -15,13 +15,13 @@
 
 pkgdir = $(libdir)/ewl/tests
 
-pkg_LTLIBRARIES = ewl_toolbar.la
+pkg_LTLIBRARIES = ewl_toolbar_test.la
 
-ewl_toolbar_la_SOURCES = ewl_toolbar.c
-ewl_toolbar_la_LIBADD = $(top_builddir)/src/lib/libewl.la
-ewl_toolbar_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
+ewl_toolbar_test_la_SOURCES = ewl_toolbar_test.c
+ewl_toolbar_test_la_LIBADD = $(top_builddir)/src/lib/libewl.la
+ewl_toolbar_test_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
 
-FILES = $(ewl_toolbar_la_SOURCES)
+FILES = $(ewl_toolbar_test_la_SOURCES)
 
 exampledir = $(pkgdatadir)/examples/
 example_DATA = $(FILES)



-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-03 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/statusbar


Modified Files:
Makefile.am 
Added Files:
ewl_statusbar_test.c 
Removed Files:
ewl_statusbar.c 


Log Message:
Rename test files to include a _test prefix to avoid conflicting file names with
widget source file. This makes it easier to read backtraces.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/statusbar/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- Makefile.am 16 Nov 2007 18:57:58 -  1.2
+++ Makefile.am 4 Dec 2007 05:28:04 -   1.3
@@ -15,13 +15,13 @@
 
 pkgdir = $(libdir)/ewl/tests
 
-pkg_LTLIBRARIES = ewl_statusbar.la
+pkg_LTLIBRARIES = ewl_statusbar_test.la
 
-ewl_statusbar_la_SOURCES = ewl_statusbar.c
-ewl_statusbar_la_LIBADD = $(top_builddir)/src/lib/libewl.la
-ewl_statusbar_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
+ewl_statusbar_test_la_SOURCES = ewl_statusbar_test.c
+ewl_statusbar_test_la_LIBADD = $(top_builddir)/src/lib/libewl.la
+ewl_statusbar_test_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
 
-FILES = $(ewl_statusbar_la_SOURCES)
+FILES = $(ewl_statusbar_test_la_SOURCES)
 
 exampledir = $(pkgdatadir)/examples/
 example_DATA = $(FILES)



-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-03 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/seeker


Modified Files:
Makefile.am 
Added Files:
ewl_seeker_test.c 
Removed Files:
ewl_seeker.c 


Log Message:
Rename test files to include a _test prefix to avoid conflicting file names with
widget source file. This makes it easier to read backtraces.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/seeker/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- Makefile.am 16 Nov 2007 18:57:57 -  1.2
+++ Makefile.am 4 Dec 2007 05:28:03 -   1.3
@@ -15,13 +15,13 @@
 
 pkgdir = $(libdir)/ewl/tests
 
-pkg_LTLIBRARIES = ewl_seeker.la
+pkg_LTLIBRARIES = ewl_seeker_test.la
 
-ewl_seeker_la_SOURCES = ewl_seeker.c
-ewl_seeker_la_LIBADD = $(top_builddir)/src/lib/libewl.la
-ewl_seeker_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
+ewl_seeker_test_la_SOURCES = ewl_seeker_test.c
+ewl_seeker_test_la_LIBADD = $(top_builddir)/src/lib/libewl.la
+ewl_seeker_test_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
 
-FILES = $(ewl_seeker_la_SOURCES)
+FILES = $(ewl_seeker_test_la_SOURCES)
 
 exampledir = $(pkgdatadir)/examples/
 example_DATA = $(FILES)



-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-03 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/text


Modified Files:
Makefile.am 
Added Files:
ewl_text_test.c 
Removed Files:
ewl_text.c 


Log Message:
Rename test files to include a _test prefix to avoid conflicting file names with
widget source file. This makes it easier to read backtraces.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/text/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- Makefile.am 16 Nov 2007 18:57:58 -  1.2
+++ Makefile.am 4 Dec 2007 05:28:04 -   1.3
@@ -15,13 +15,13 @@
 
 pkgdir = $(libdir)/ewl/tests
 
-pkg_LTLIBRARIES = ewl_text.la
+pkg_LTLIBRARIES = ewl_text_test.la
 
-ewl_text_la_SOURCES = ewl_text.c
-ewl_text_la_LIBADD = $(top_builddir)/src/lib/libewl.la
-ewl_text_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
+ewl_text_test_la_SOURCES = ewl_text_test.c
+ewl_text_test_la_LIBADD = $(top_builddir)/src/lib/libewl.la
+ewl_text_test_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
 
-FILES = $(ewl_text_la_SOURCES)
+FILES = $(ewl_text_test_la_SOURCES)
 
 exampledir = $(pkgdatadir)/examples/
 example_DATA = $(FILES)



-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl ningerso

2007-12-03 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/src/bin/tests/text_editor


Modified Files:
Makefile.am 
Added Files:
ewl_text_editor_test.c 
Removed Files:
ewl_text_editor.c 


Log Message:
Rename test files to include a _test prefix to avoid conflicting file names with
widget source file. This makes it easier to read backtraces.

===
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/text_editor/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- Makefile.am 16 Nov 2007 18:57:58 -  1.2
+++ Makefile.am 4 Dec 2007 05:28:04 -   1.3
@@ -15,13 +15,13 @@
 
 pkgdir = $(libdir)/ewl/tests
 
-pkg_LTLIBRARIES = ewl_text_editor.la
+pkg_LTLIBRARIES = ewl_text_editor_test.la
 
-ewl_text_editor_la_SOURCES = ewl_text_editor.c
-ewl_text_editor_la_LIBADD = $(top_builddir)/src/lib/libewl.la @ECORE_LIBS@
-ewl_text_editor_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
+ewl_text_editor_test_la_SOURCES = ewl_text_editor_test.c
+ewl_text_editor_test_la_LIBADD = $(top_builddir)/src/lib/libewl.la @ECORE_LIBS@
+ewl_text_editor_test_la_LDFLAGS = -module @create_shared_lib@ -avoid-version
 
-FILES = $(ewl_text_editor_la_SOURCES)
+FILES = $(ewl_text_editor_test_la_SOURCES)
 
 exampledir = $(pkgdatadir)/examples/
 example_DATA = $(FILES)



-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


  1   2   3   4   5   6   7   8   >