Enlightenment CVS committal
Author : dj2
Project : e17
Module : libs/ewl
Dir : e17/libs/ewl/src/lib
Modified Files:
ewl_debug.h ewl_config.c ewl_container.c ewl_embed.c
ewl_engines.c ewl_freebox.c ewl_grid.c ewl_iconbox.c
ewl_io_manager.c ewl_list.c ewl_notebook.c ewl_widget.c
ewl_tree2_view_scrolled.c ewl_tree2.c
Log Message:
- auto-append a \n to the DWARNING message
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_debug.h,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -3 -r1.23 -r1.24
--- ewl_debug.h 2 Oct 2006 20:46:27 -0000 1.23
+++ ewl_debug.h 6 Nov 2006 16:12:20 -0000 1.24
@@ -128,6 +128,7 @@
fprintf(stderr, "\tIn function:\n\n" \
"\t%s();\n\n", __func__); \
fprintf(stderr, fmt, ## args); \
+ fprintf(stderr, "\n"); \
ewl_backtrace(); \
ewl_segv(); \
}
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_config.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -3 -r1.22 -r1.23
--- ewl_config.c 26 Oct 2006 05:35:58 -0000 1.22
+++ ewl_config.c 6 Nov 2006 16:12:20 -0000 1.23
@@ -457,7 +457,7 @@
key = dirname(path);
if (!ecore_file_exists(key) && !ecore_file_mkpath(key))
{
- DWARNING("Unable to create %s directory path.\n", key);
+ DWARNING("Unable to create %s directory path.", key);
DRETURN_INT(FALSE, DLEVEL_STABLE);
}
FREE(path);
@@ -470,7 +470,7 @@
S_IRWXU | S_IRGRP | S_IROTH);
if (fd == -1)
{
- DWARNING("Unable to open cfg file %s\n", file);
+ DWARNING("Unable to open cfg file %s.", file);
DRETURN_INT(FALSE, DLEVEL_STABLE);
}
@@ -481,7 +481,7 @@
if (fcntl(fd, F_SETLKW, &fl) == -1)
{
- DWARNING("Unable to lock %s for write\n", file);
+ DWARNING("Unable to lock %s for write.", file);
close(fd);
DRETURN_INT(FALSE, DLEVEL_STABLE);
@@ -749,7 +749,7 @@
fd = open(file, O_RDONLY, S_IRUSR);
if (fd == -1)
{
- DWARNING("Unable to open cfg file %s\n", file);
+ DWARNING("Unable to open cfg file %s.", file);
DRETURN_INT(FALSE, DLEVEL_STABLE);
}
@@ -760,7 +760,7 @@
if (fcntl(fd, F_SETLKW, &fl) == -1)
{
- DWARNING("Unable to lock %s for read\n", file);
+ DWARNING("Unable to lock %s for read.", file);
close(fd);
DRETURN_INT(FALSE, DLEVEL_STABLE);
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_container.c,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -3 -r1.50 -r1.51
--- ewl_container.c 4 Nov 2006 16:58:05 -0000 1.50
+++ ewl_container.c 6 Nov 2006 16:12:20 -0000 1.51
@@ -188,7 +188,7 @@
DRETURN(DLEVEL_STABLE);
if (ewl_widget_parent_of(child, EWL_WIDGET(pc))) {
- DWARNING("Attempting to make a child a parent of itself");
+ DWARNING("Attempting to make a child a parent of itself.");
DRETURN(DLEVEL_STABLE);
}
@@ -223,7 +223,7 @@
DRETURN(DLEVEL_STABLE);
if (ewl_widget_parent_of(child, EWL_WIDGET(pc))) {
- DWARNING("Attempting to make a child a parent of itself");
+ DWARNING("Attempting to make a child a parent of itself.");
DRETURN(DLEVEL_STABLE);
}
@@ -255,7 +255,7 @@
DRETURN(DLEVEL_STABLE);
if (ewl_widget_parent_of(child, EWL_WIDGET(pc))) {
- DWARNING("Attempting to make a child a parent of itself");
+ DWARNING("Attempting to make a child a parent of itself.");
DRETURN(DLEVEL_STABLE);
}
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_embed.c,v
retrieving revision 1.92
retrieving revision 1.93
diff -u -3 -r1.92 -r1.93
--- ewl_embed.c 4 Nov 2006 16:58:05 -0000 1.92
+++ ewl_embed.c 6 Nov 2006 16:12:20 -0000 1.93
@@ -913,7 +913,7 @@
*pw = CURRENT_W(widget);
*ph = CURRENT_H(widget);
} else {
- DWARNING("Could not find widget for dnd position event");
+ DWARNING("Could not find widget for dnd position event.");
}
DRETURN_PTR(result, DLEVEL_STABLE);
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_engines.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -3 -r1.21 -r1.22
--- ewl_engines.c 4 Nov 2006 16:58:05 -0000 1.21
+++ ewl_engines.c 6 Nov 2006 16:12:20 -0000 1.22
@@ -130,14 +130,14 @@
EWL_ENGINE_DIR, name);
if (!ecore_file_exists(filename))
{
- DWARNING("Given engine name dosen't exist.\n");
+ DWARNING("Given engine name dosen't exist.");
DRETURN_PTR(NULL, DLEVEL_STABLE);
}
handle = dlopen(filename, RTLD_LAZY | RTLD_GLOBAL);
if (!handle)
{
- DWARNING("Unable to dlopen engine file.\n");
+ DWARNING("Unable to dlopen engine file.");
DRETURN_PTR(NULL, DLEVEL_STABLE);
}
@@ -145,7 +145,7 @@
if (!dependancies)
{
DWARNING("Unable to find ewl_engine_dependancies in "
- "engine file.\n");
+ "engine file.");
DRETURN_PTR(NULL, DLEVEL_STABLE);
}
@@ -173,7 +173,7 @@
create_engine = dlsym(handle, "ewl_engine_create");
if (!create_engine)
{
- DWARNING("Unable to find ewl_engine_create in engine file.\n");
+ DWARNING("Unable to find ewl_engine_create in engine file.");
DRETURN_PTR(NULL, DLEVEL_STABLE);
}
@@ -1305,7 +1305,7 @@
break;
default:
- DWARNING("Unknown hook type\n");
+ DWARNING("Unknown hook type.");
DRETURN_PTR(NULL, DLEVEL_STABLE);
}
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_freebox.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -3 -r1.13 -r1.14
--- ewl_freebox.c 2 Jun 2006 15:25:58 -0000 1.13
+++ ewl_freebox.c 6 Nov 2006 16:12:20 -0000 1.14
@@ -444,7 +444,7 @@
{
DWARNING("No comparator set and using "
"EWL_FREEBOX_LAYOUT_COMPARATOR. "
- "Bad programmer, bad.\n");
+ "Bad programmer, bad.");
DRETURN(DLEVEL_STABLE);
}
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_grid.c,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -3 -r1.32 -r1.33
--- ewl_grid.c 20 Oct 2006 04:37:34 -0000 1.32
+++ ewl_grid.c 6 Nov 2006 16:12:20 -0000 1.33
@@ -355,7 +355,7 @@
* check bounds
*/
if (start_col < 0) {
- DWARNING("start_col out of bounds. min is 0\n");
+ DWARNING("start_col out of bounds. min is 0.");
DLEAVE_FUNCTION(DLEVEL_STABLE);
}
@@ -365,7 +365,7 @@
new_cols = g->cols;
if (start_row < 0) {
- DWARNING("start_row out of bounds. min is 0\n");
+ DWARNING("start_row out of bounds. min is 0.");
DLEAVE_FUNCTION(DLEVEL_STABLE);
}
@@ -528,7 +528,7 @@
* check bounds
*/
if (col < 0) {
- DWARNING("parameter 'col' is out of bounds\n");
+ DWARNING("parameter 'col' is out of bounds.");
DLEAVE_FUNCTION(DLEVEL_STABLE);
}
else if (col >= g->cols) {
@@ -583,7 +583,7 @@
* check bounds
*/
if (col < 0) {
- DWARNING("parameter 'col' is out of bounds\n");
+ DWARNING("parameter 'col' is out of bounds.");
DLEAVE_FUNCTION(DLEVEL_STABLE);
}
else if (col >= g->cols) {
@@ -637,7 +637,7 @@
* check bounds
*/
if (col < 0) {
- DWARNING("parameter 'col' is out of bounds\n");
+ DWARNING("parameter 'col' is out of bounds.");
DLEAVE_FUNCTION(DLEVEL_STABLE);
}
else if (col >= g->cols) {
@@ -670,7 +670,7 @@
* check bounds
*/
if (col < 0) {
- DWARNING("parameter 'col' is out of bounds\n");
+ DWARNING("parameter 'col' is out of bounds.");
DLEAVE_FUNCTION(DLEVEL_STABLE);
}
else if (col >= g->cols) {
@@ -725,7 +725,7 @@
* check bounds
*/
if (row < 0) {
- DWARNING("parameter 'row' is out of bounds\n");
+ DWARNING("parameter 'row' is out of bounds.");
DLEAVE_FUNCTION(DLEVEL_STABLE);
}
else if (row >= g->rows) {
@@ -780,7 +780,7 @@
* check bounds
*/
if (row < 0) {
- DWARNING("parameter 'row' is out of bounds\n");
+ DWARNING("parameter 'row' is out of bounds.");
DLEAVE_FUNCTION(DLEVEL_STABLE);
}
else if (row >= g->rows) {
@@ -834,7 +834,7 @@
* check bounds
*/
if (row < 0) {
- DWARNING("parameter 'row' is out of bounds\n");
+ DWARNING("parameter 'row' is out of bounds.");
DLEAVE_FUNCTION(DLEVEL_STABLE);
}
else if (row >= g->rows) {
@@ -867,7 +867,7 @@
* check bounds
*/
if (row < 0) {
- DWARNING("parameter 'row' is out of bounds\n");
+ DWARNING("parameter 'row' is out of bounds.");
DLEAVE_FUNCTION(DLEVEL_STABLE);
}
else if (row >= g->rows) {
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_iconbox.c,v
retrieving revision 1.120
retrieving revision 1.121
diff -u -3 -r1.120 -r1.121
--- ewl_iconbox.c 13 Oct 2006 01:50:44 -0000 1.120
+++ ewl_iconbox.c 6 Nov 2006 16:12:20 -0000 1.121
@@ -130,7 +130,7 @@
}
if (!ewl_iconbox_init(ib)) {
- DWARNING("Failed iconbox init...\n");
+ DWARNING("Failed iconbox init.");
FREE(ib);
ib = NULL;
}
@@ -151,12 +151,12 @@
icon = NEW(Ewl_Iconbox_Icon, 1);
if (!icon) {
- DWARNING("Failed to init icon..\n");
+ DWARNING("Failed to init icon.");
DRETURN_PTR(NULL, DLEVEL_STABLE);
}
if (!ewl_iconbox_icon_init(icon)) {
- DWARNING("Failed iconbox init...\n");
+ DWARNING("Failed iconbox init.");
FREE(icon);
icon = NULL;
}
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_io_manager.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- ewl_io_manager.c 26 Oct 2006 16:11:56 -0000 1.5
+++ ewl_io_manager.c 6 Nov 2006 16:12:20 -0000 1.6
@@ -125,7 +125,7 @@
DENTER_FUNCTION(DLEVEL_STABLE);
DCHECK_PARAM_PTR_RET("mime", mime, NULL);
- DWARNING("NOT WRITTEN\n");
+ DWARNING("NOT WRITTEN");
DRETURN_PTR(NULL, DLEVEL_STABLE);
}
@@ -196,14 +196,14 @@
mime = ewl_io_manager_uri_mime_type_get(uri);
if (!mime)
{
- DWARNING("Unable to determine mime type for %s\n", uri);
+ DWARNING("Unable to determine mime type for %s.", uri);
DRETURN_PTR(NULL, DLEVEL_STABLE);
}
plugin = ewl_io_manager_plugin_get(mime);
if (!plugin)
{
- DWARNING("No plugin available to read mime type: %s.\n", mime);
+ DWARNING("No plugin available to read mime type: %s.", mime);
DRETURN_PTR(NULL, DLEVEL_STABLE);
}
@@ -231,7 +231,7 @@
plugin = ewl_io_manager_plugin_get(mime);
if (!plugin)
{
- DWARNING("No plugin available to read mime type: %s\n", mime);
+ DWARNING("No plugin available to read mime type: %s.", mime);
DRETURN_PTR(NULL, DLEVEL_STABLE);
}
@@ -263,7 +263,7 @@
plugin = ewl_io_manager_plugin_get(mime);
if (!plugin)
{
- DWARNING("No plugin available to write mime type: %s.\n", mime);
+ DWARNING("No plugin available to write mime type: %s.", mime);
DRETURN_INT(FALSE, DLEVEL_STABLE);
}
@@ -294,7 +294,7 @@
plugin = ewl_io_manager_plugin_get(mime);
if (!plugin)
{
- DWARNING("No plugin available to write mime type: %s.\n", mime);
+ DWARNING("No plugin available to write mime type: %s.", mime);
DRETURN_INT(FALSE, DLEVEL_STABLE);
}
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_list.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- ewl_list.c 20 Oct 2006 04:37:34 -0000 1.11
+++ ewl_list.c 6 Nov 2006 16:12:20 -0000 1.12
@@ -159,7 +159,7 @@
{
if (!ewl_widget_type_is(w, EWL_HIGHLIGHT_TYPE))
{
- DWARNING("Unknown widget clicked for container.\n");
+ DWARNING("Unknown widget clicked for container.");
DRETURN(DLEVEL_STABLE);
}
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_notebook.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -3 -r1.17 -r1.18
--- ewl_notebook.c 11 Oct 2006 17:42:25 -0000 1.17
+++ ewl_notebook.c 6 Nov 2006 16:12:20 -0000 1.18
@@ -418,7 +418,7 @@
t = ewl_attach_widget_association_get(page);
if (!t)
{
- DWARNING("We have a notebook page with no tab, bad, very
bad.\n");
+ DWARNING("We have a notebook page with no tab, bad, very bad.");
DRETURN_PTR(NULL, DLEVEL_STABLE);
}
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_widget.c,v
retrieving revision 1.104
retrieving revision 1.105
diff -u -3 -r1.104 -r1.105
--- ewl_widget.c 2 Oct 2006 05:19:24 -0000 1.104
+++ ewl_widget.c 6 Nov 2006 16:12:20 -0000 1.105
@@ -772,7 +772,7 @@
tmp = p;
while (tmp) {
if (tmp == w) {
- DWARNING("ERROR: Recursivly nested widgets.\n");
+ DWARNING("ERROR: Recursivly nested widgets.");
DRETURN(DLEVEL_STABLE);
}
tmp = tmp->parent;
@@ -1969,14 +1969,14 @@
Evas_Object *above;
if (!(above = ewl_widget_layer_neighbor_find_above(w)))
- DWARNING("Have not found an object above");
+ DWARNING("Have not found an object above.");
evas_object_stack_above(w->smart_object, above);
}
else {
Evas_Object *below;
if (!(below = ewl_widget_layer_neighbor_find_below(w)))
- DWARNING("Have not found an object below");
+ DWARNING("Have not found an object below.");
evas_object_stack_below(w->smart_object, below);
}
@@ -2266,7 +2266,7 @@
evas_object_repeat_events_set(w->theme_object, 1);
if (!edje_object_file_set(w->theme_object, w->bit_path,
w->bit_group))
- DWARNING("Error setting edje object %s, %s\n",
+ DWARNING("Error setting edje object %s, %s.",
w->bit_path,
w->bit_group);
/*
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_tree2_view_scrolled.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- ewl_tree2_view_scrolled.c 20 Oct 2006 18:21:53 -0000 1.2
+++ ewl_tree2_view_scrolled.c 6 Nov 2006 16:12:20 -0000 1.3
@@ -95,7 +95,7 @@
if (!view->parent)
{
- DWARNING("Need parent tree before setting headers scrolled\n");
+ DWARNING("Need parent tree before setting headers scrolled.");
DRETURN(DLEVEL_STABLE);
}
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_tree2.c,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -3 -r1.37 -r1.38
--- ewl_tree2.c 20 Oct 2006 04:37:35 -0000 1.37
+++ ewl_tree2.c 6 Nov 2006 16:12:20 -0000 1.38
@@ -114,7 +114,7 @@
c = ewl_tree2_column_new();
if (!c)
{
- DWARNING("Unable to create new tree column.\n");
+ DWARNING("Unable to create new tree column.");
DRETURN(DLEVEL_STABLE);
}
@@ -149,7 +149,7 @@
c = ewl_tree2_column_new();
if (!c)
{
- DWARNING("Unable to create new tree column.\n");
+ DWARNING("Unable to create new tree column.");
DRETURN(DLEVEL_STABLE);
}
@@ -186,7 +186,7 @@
c = ewl_tree2_column_new();
if (!c)
{
- DWARNING("Unable to create new tree column.\n");
+ DWARNING("Unable to create new tree column.");
DRETURN(DLEVEL_STABLE);
}
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs