efl/legacy/edje/src
Gustavo Sverzut Barbieri f1e077844e fix edje error reporting for once and for all.
edje error was a mess. First someone (maybe myself) added eina log,
then people changed it to be a mix with printf()... then they replaced
eina_log with printf() + colors so it would be less verbose.

It's fixed now! Using eina log infrastructure.

If all that is wanted is specific messages for edje_cc domain, do it
with a specific log print function (eina_log_print_cb_set()). I made
it produce messages in the format:

    <levelcolor><progname>: <levelprefix><message>

Where:
 - levelcolor is defined by eina_log (I hacked the win32 version,
   since no public api to resolve level to color).
 - levelprefix is "Error. " or "Warning. " to cope with traditional
   output.

If it does not look as you wanted, let me know before stuffing some
printf() again.

Bonus point: reduced 2 global variables (progname and verbose),
removed lots of code.



SVN revision: 74701
2012-07-31 22:42:03 +00:00
..
bin fix edje error reporting for once and for all. 2012-07-31 22:42:03 +00:00
examples eina,evas,edje,elementary: add missing files from tarballs. 2012-04-30 01:55:06 +00:00
lib edje: Reduce potential reentrant issue when using edje_object_signal_emit. 2012-07-28 16:33:37 +00:00
modules edje: automatically emit ['edje,change,file', 'edje'] when the file change on disk. 2012-05-09 09:16:52 +00:00
tests add tests and coverage support 2011-09-14 19:02:07 +00:00
Makefile.am From: Prince Kumar Dubey <prince.dubey@samsung.com> 2011-11-04 12:18:13 +00:00