Enlightenment CVS committal Author : dj2 Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/lib Modified Files: ewl_config.h ewl_datepicker.c ewl_embed.c ewl_events.c ewl_image.c ewl_menu.c ewl_object.c ewl_private.h ewl_spinner.c ewl_text.c ewl_tree2.c ewl_widget.c ewl_window.c Log Message: - move ewl_config and ewl_config_cache into ewl_private.h as user apps never need to touch these =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_config.h,v retrieving revision 1.17 retrieving revision 1.18 diff -u -3 -r1.17 -r1.18 --- ewl_config.h 1 Oct 2006 07:27:11 -0000 1.17 +++ ewl_config.h 2 Oct 2006 05:19:24 -0000 1.18 @@ -27,30 +27,6 @@ } data; }; -/** - * The Ewl_Config_Cache structure - */ -typedef struct Ewl_Config_Cache Ewl_Config_Cache; - -/** - * The Ewl_Config_Cache struct holds cached configuration data - */ -struct Ewl_Config_Cache -{ - int level; /**< Debug level */ - unsigned char enable:1; /**< Enable debugging */ - unsigned char segv:1; /**< Segv on D* messages */ - unsigned char backtrace:1; /**< Print backtrace on D* messages */ - unsigned char evas_render:1; /**< Debug evas render calls */ - unsigned char gc_reap:1; /**< Debug garbage collection */ - - unsigned char print_signals:1; /**< Print theme signals */ - unsigned char print_keys:1; /**< Print theem keys */ -}; - -extern Ewl_Config *ewl_config; /**< The system configuration data */ -extern Ewl_Config_Cache ewl_config_cache; /**< system debug data */ - int ewl_config_init(void); void ewl_config_shutdown(void); void ewl_config_cache_init(void); =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_datepicker.c,v retrieving revision 1.14 retrieving revision 1.15 diff -u -3 -r1.14 -r1.15 --- ewl_datepicker.c 30 Sep 2006 18:41:01 -0000 1.14 +++ ewl_datepicker.c 2 Oct 2006 05:19:24 -0000 1.15 @@ -1,5 +1,5 @@ -#include "ewl_private.h" #include <Ewl.h> +#include "ewl_private.h" #include "ewl_debug.h" #include "ewl_macros.h" =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_embed.c,v retrieving revision 1.86 retrieving revision 1.87 diff -u -3 -r1.86 -r1.87 --- ewl_embed.c 30 Sep 2006 22:31:36 -0000 1.86 +++ ewl_embed.c 2 Oct 2006 05:19:24 -0000 1.87 @@ -1,5 +1,5 @@ -#include "ewl_private.h" #include <Ewl.h> +#include "ewl_private.h" #include "ewl_debug.h" #include "ewl_macros.h" =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_events.c,v retrieving revision 1.28 retrieving revision 1.29 diff -u -3 -r1.28 -r1.29 --- ewl_events.c 9 Jun 2006 19:33:14 -0000 1.28 +++ ewl_events.c 2 Oct 2006 05:19:24 -0000 1.29 @@ -1,5 +1,5 @@ -#include "ewl_private.h" #include <Ewl.h> +#include "ewl_private.h" #include "ewl_debug.h" #include "ewl_macros.h" =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_image.c,v retrieving revision 1.46 retrieving revision 1.47 diff -u -3 -r1.46 -r1.47 --- ewl_image.c 30 Sep 2006 20:11:21 -0000 1.46 +++ ewl_image.c 2 Oct 2006 05:19:24 -0000 1.47 @@ -1,5 +1,5 @@ -#include "ewl_private.h" #include <Ewl.h> +#include "ewl_private.h" #include "ewl_debug.h" #include "ewl_macros.h" =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_menu.c,v retrieving revision 1.33 retrieving revision 1.34 diff -u -3 -r1.33 -r1.34 --- ewl_menu.c 30 Sep 2006 18:41:01 -0000 1.33 +++ ewl_menu.c 2 Oct 2006 05:19:24 -0000 1.34 @@ -1,5 +1,5 @@ -#include "ewl_private.h" #include <Ewl.h> +#include "ewl_private.h" #include "ewl_debug.h" #include "ewl_macros.h" =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_object.c,v retrieving revision 1.14 retrieving revision 1.15 diff -u -3 -r1.14 -r1.15 --- ewl_object.c 24 May 2006 02:55:15 -0000 1.14 +++ ewl_object.c 2 Oct 2006 05:19:24 -0000 1.15 @@ -1,5 +1,5 @@ -#include "ewl_private.h" #include <Ewl.h> +#include "ewl_private.h" #include "ewl_debug.h" #include "ewl_macros.h" =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_private.h,v retrieving revision 1.8 retrieving revision 1.9 diff -u -3 -r1.8 -r1.9 --- ewl_private.h 30 Sep 2006 22:31:36 -0000 1.8 +++ ewl_private.h 2 Oct 2006 05:19:24 -0000 1.9 @@ -76,4 +76,29 @@ #define EWL_CONFIG_THEME_COLOR_CLASSES_OVERRIDE "/ewl/theme/color/classes/override" #define EWL_CONFIG_THEME_COLOR_CLASSES_COUNT "/ewl/theme/color/classes/count" +/** + * The Ewl_Config_Cache structure + */ +typedef struct Ewl_Config_Cache Ewl_Config_Cache; + +/** + * The Ewl_Config_Cache struct holds cached configuration data + */ +struct Ewl_Config_Cache +{ + int level; /**< Debug level */ + unsigned char enable:1; /**< Enable debugging */ + unsigned char segv:1; /**< Segv on D* messages */ + unsigned char backtrace:1; /**< Print backtrace on D* messages */ + unsigned char evas_render:1; /**< Debug evas render calls */ + unsigned char gc_reap:1; /**< Debug garbage collection */ + + unsigned char print_signals:1; /**< Print theme signals */ + unsigned char print_keys:1; /**< Print theem keys */ +}; + +extern Ewl_Config *ewl_config; /**< The system configuration data */ +extern Ewl_Config_Cache ewl_config_cache; /**< system debug data */ + #endif + =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_spinner.c,v retrieving revision 1.23 retrieving revision 1.24 diff -u -3 -r1.23 -r1.24 --- ewl_spinner.c 30 Sep 2006 18:41:01 -0000 1.23 +++ ewl_spinner.c 2 Oct 2006 05:19:24 -0000 1.24 @@ -1,5 +1,5 @@ -#include "ewl_private.h" #include <Ewl.h> +#include "ewl_private.h" #include "ewl_debug.h" #include "ewl_macros.h" =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_text.c,v retrieving revision 1.129 retrieving revision 1.130 diff -u -3 -r1.129 -r1.130 --- ewl_text.c 24 Sep 2006 13:28:47 -0000 1.129 +++ ewl_text.c 2 Oct 2006 05:19:24 -0000 1.130 @@ -1,5 +1,5 @@ -#include "ewl_private.h" #include <Ewl.h> +#include "ewl_private.h" #include "ewl_debug.h" #include "ewl_macros.h" @@ -2509,7 +2509,7 @@ DENTER_FUNCTION(DLEVEL_STABLE); DCHECK_PARAM_PTR_RET("c", c, FALSE); - t = c; + t = (unsigned const char *)c; if (!t) DRETURN_INT(FALSE, DLEVEL_STABLE); if (t[0] < 0x80) =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_tree2.c,v retrieving revision 1.32 retrieving revision 1.33 diff -u -3 -r1.32 -r1.33 --- ewl_tree2.c 24 Sep 2006 20:26:50 -0000 1.32 +++ ewl_tree2.c 2 Oct 2006 05:19:24 -0000 1.33 @@ -1,5 +1,5 @@ -#include "ewl_private.h" #include <Ewl.h> +#include "ewl_private.h" #include "ewl_debug.h" #include "ewl_macros.h" =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_widget.c,v retrieving revision 1.103 retrieving revision 1.104 diff -u -3 -r1.103 -r1.104 --- ewl_widget.c 30 Sep 2006 22:31:36 -0000 1.103 +++ ewl_widget.c 2 Oct 2006 05:19:24 -0000 1.104 @@ -1,5 +1,5 @@ -#include "ewl_private.h" #include <Ewl.h> +#include "ewl_private.h" #include "ewl_debug.h" #include "ewl_macros.h" =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_window.c,v retrieving revision 1.62 retrieving revision 1.63 diff -u -3 -r1.62 -r1.63 --- ewl_window.c 30 Sep 2006 22:31:36 -0000 1.62 +++ ewl_window.c 2 Oct 2006 05:19:24 -0000 1.63 @@ -1,5 +1,5 @@ -#include "ewl_private.h" #include <Ewl.h> +#include "ewl_private.h" #include "ewl_debug.h" #include "ewl_macros.h" ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs