Commit Graph

5 Commits

Author SHA1 Message Date
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
Tom Hacohen 61134f1e6b Edje: Fixed a lot of warnings.
SVN revision: 67324
2012-01-19 08:17:12 +00:00
Carsten Haitzler 5bf58d3ef6 and be explicit.. unsigned.. INT!
SVN revision: 64754
2011-11-05 11:25:42 +00:00
Carsten Haitzler 86504a24d1 fix a few warnings i get on 64bit than didnt pop up on 32, revert edje
module load api break -back to eina_bool return. add some @sinces even
if there are no docs.



SVN revision: 64751
2011-11-04 23:19:14 +00:00
Prince Kumar Dubey 3cc8139906 From: Prince Kumar Dubey <prince.dubey@samsung.com>
From: Govindaraju S M <govi.sm@samsung.com>
Subject: edje multisense patch for sound sample, tone and haptic play

... This is the beginning of sound (and haptic) support in Edje - it
works, but only at certain basic sample playback levels. more will come.



SVN revision: 64731
2011-11-04 12:18:13 +00:00