Commit Graph

674 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
Cedric BAIL 4540fa9d0f eina: cleanup eina_file_map_lines API before release.
SVN revision: 74618
2012-07-31 07:23:16 +00:00
Cedric BAIL 4af162575d edje: try to make windows happier.
SVN revision: 74538
2012-07-28 16:22:15 +00:00
Cedric BAIL 94ba6484a9 edje: compile again on windows.
Patch half Vincent, half myself.


SVN revision: 74537
2012-07-28 15:53:15 +00:00
Carsten Haitzler d627649dc7 edje_cc shouldnt be using eina-log for almost all its err/wrn/inf
stuff as this is actual user output and done:
  file.c:242 error in blah.edc:232
is just confusing as all heck.



SVN revision: 74424
2012-07-26 08:21:56 +00:00
Daniel Juyung Seo 16335de91e edje edje_cc_handlers.c: Fixed typo pointed out by PrinceAMD-(Deon Thomas)
SVN revision: 74346
2012-07-24 07:15:22 +00:00
Cedric BAIL 379566ece7 edje: stop compilation when clipping to a non RECT part.
SVN revision: 73801
2012-07-13 09:15:17 +00:00
Cedric BAIL 7835bdd259 edje: fix a small memory leak during compilation.
NOTE: use stringshare all over the place !


SVN revision: 73796
2012-07-13 08:33:26 +00:00
Carsten Haitzler 0be560e3b8 add docs -> rect parts only for clip_to
SVN revision: 73785
2012-07-13 02:53:30 +00:00
Cedric BAIL 8f75f66c44 edje: warn at compile time about forgotten image.
NOTE: You need to enable at least Eina_Log warning level
to see them.


SVN revision: 73784
2012-07-13 02:50:58 +00:00
Daniel Juyung Seo 8fa585b3ae edje edje_cc_handlers.c: More documentation on image fill. Patch by
Anisse Astier <anisse@astier.eu>

SVN revision: 73548
2012-07-11 03:03:23 +00:00
Jerome Pinot 12d975147a edje: correct more typos in edc doc
SVN revision: 73525
2012-07-10 12:28:43 +00:00
Jerome Pinot 6602bbb182 edje: doc typo
val 2 and val 2 were on a boat, val 2 jumps out. Where is val 1?


SVN revision: 73523
2012-07-10 11:51:54 +00:00
Cedric BAIL f529ecfa32 edje: a little more doc for image set.
SVN revision: 73499
2012-07-09 10:26:56 +00:00
Daniel Juyung Seo bf4e5adf06 edje edje_cc_handlers.c: More description. Patch by Anisse Astier
<anisse@astier.eu>

On Mon, Jul 9, 2012 at 7:09 AM, Anisse Astier <anisse@astier.eu> wrote:
> Trying to make the description more explicit

SVN revision: 73478
2012-07-08 23:42:19 +00:00
Jerome Pinot ebcb3157bd edje: bad typo in example code
SVN revision: 73458
2012-07-08 06:45:00 +00:00
Carsten Haitzler 0502f5854b printf--
SVN revision: 73447
2012-07-07 08:25:09 +00:00
Carsten Haitzler a3768c8928 printf--
SVN revision: 73437
2012-07-07 03:41:38 +00:00
Carsten Haitzler 84072d0f82 edje_cc -> nothreads means we should avoid evas preload too.. grrr.
SVN revision: 73436
2012-07-07 03:25:31 +00:00
Carsten Haitzler 774dc99006 thats it. threads off in edje_cc by default. we need to focus on
stability now.



SVN revision: 73432
2012-07-07 02:12:22 +00:00
Leandro Pereira 7ee848bc33 edje: Make state index optional
This shouldn't break stuff, just make things easier.  Think of all that lost
time " 0.0".  Not anymore.  Not even in Embryo scripts.  Indexes should only
be provided when you need them (which is quite rare).

Note that if you use ``set_state("new state")'' in your Embryo scripts, the
produced .edj files will be incompatible with older versions of Edje.  This
backwards incompatibility only applies to Embryo scripts; edje_cc will
generate a ``0.0'' value if the index is omitted from state declarations and
programs.

Sachiel said this patch was OK; our benevolent release manager acked as
well. Blame them if this breaks stuff.

SVN revision: 73424
2012-07-06 18:34:50 +00:00
Stefan Schmidt 22340d46a2 edje: Pass in coverage ld flags for all programs in src/bin as well
SVN revision: 72929
2012-06-27 09:09:11 +00:00
Cedric BAIL cab9a46afc edje: forgottten @since.
SVN revision: 72768
2012-06-24 13:46:43 +00:00
Cedric BAIL b5c65a71d2 edje: implement per part limit.
SVN revision: 72767
2012-06-24 13:23:37 +00:00
Cedric BAIL 2804dcfe88 edje: Resistance is futile. The B0rk.
SVN revision: 72754
2012-06-24 06:01:12 +00:00
Michael BOUCHAUD 1f2939fef0 edje: improve use of aliases
SVN revision: 72732
2012-06-23 18:39:08 +00:00
Carsten Haitzler 4ec9749ead use bin prefix for embryo_cc in edje_cc.
SVN revision: 72580
2012-06-21 08:55:38 +00:00
Cedric BAIL 5c7cfbacb5 edje: add accessibility flags and API.
Patch by Kim Shinwoo <kimcinoo.efl@gmail.com>


SVN revision: 72521
2012-06-20 07:29:47 +00:00
PRINCE KUMAR DUBEY e3c44bee13 From: PRINCE KUMAR DUBEY <prince.dubey@samsung.com>
Subject: [E-devel] [Patch] [Edje] Fix for seg fault during edje
decompilation

Fix decompile of sound samples to use sound source file, not name
Fix decompile of sound samples not double-free
Fix alsa configure option to be alsa, not flac.



SVN revision: 72117
2012-06-14 09:45:48 +00:00
Cedric BAIL 0fe4412879 edje: rename VIRTUAL into SPACER and also fix Edje_Edit and inspector.
SVN revision: 72058
2012-06-13 03:21:31 +00:00
Mike Blumenkrantz 2788917365 unused--
SVN revision: 71781
2012-06-07 07:59:18 +00:00
Cedric BAIL b0e087b6bf edje: morning speed of edje. Theme can now be a little bit lighter and faster.
NOTE: VIRTUAL part are almost like rectangle except they don't create any object
on the canvas. This part can't be visible, nor have any color, nor be used as a
clip, nor receive any event.


SVN revision: 71674
2012-06-04 02:57:15 +00:00
Cedric BAIL 86a431e96a edje: we should at least always add the file_in to the list of used file.
SVN revision: 71572
2012-05-31 06:50:09 +00:00
Cedric BAIL f328aabf7b edje: major oopsie !
SVN revision: 71561
2012-05-30 12:51:21 +00:00
Cedric BAIL aa84f35c5b edje: time to play with fire ! edje_cc will now use thread by default.
You can turn it off with -nothreads. Please report any issue you face.


SVN revision: 71558
2012-05-30 12:25:53 +00:00
Cedric BAIL f3ab10d461 edje: remove the work around.
SVN revision: 71556
2012-05-30 12:16:50 +00:00
Cedric BAIL b5e054507a edje: turn on trouble and speed by default.
SVN revision: 71546
2012-05-30 08:56:57 +00:00
Christopher Michael 9d9b182ad9 Edje: Cleanup compiler warnings if NEWPARTLOOKUP is not defined.
SVN revision: 71436
2012-05-26 08:41:49 +00:00
Carsten Haitzler b5f6905670 fix async embryo_cc stuff. it was losing all the embyro compiles!
SVN revision: 71387
2012-05-24 05:37:36 +00:00
Carsten Haitzler faf062a939 add a -threads mode and make non-threaded compile the default... no
pending threads then. we can change this later for more testing.
trying to narrow down issues anyway.



SVN revision: 71378
2012-05-24 03:59:02 +00:00
Carsten Haitzler 9a3e561f69 add brackets.. to if...
SVN revision: 71344
2012-05-23 04:22:41 +00:00
Carsten Haitzler 2d425e48db found scrollbar bug in e17 theme... something to do with my making
part lookups faster (O(1)). disable new part lookup code until i've
figured it out.



SVN revision: 71341
2012-05-23 03:12:25 +00:00
Carsten Haitzler 1d11f7a879 dont eet_close on error/abort as it can cause segv's now due to threads.
SVN revision: 71309
2012-05-22 09:09:52 +00:00
Daniel Juyung Seo 1174b27e52 edje edje_cc_handlers.c: Fixed formatting while reading the code.
SVN revision: 71285
2012-05-21 13:23:11 +00:00
Cedric BAIL 2aab151919 edje: reduce memcpy in edje_cc by using Eina_File.
SVN revision: 71242
2012-05-20 07:06:57 +00:00
Hyoyoung Chang a8bd686bfb edje: add sample and tone of multisense to edje inheritance
SVN revision: 71229
2012-05-18 08:33:40 +00:00
Carsten Haitzler cf46d0d388 work around the workaround so it works until ecore thread goop fixed.
SVN revision: 71155
2012-05-16 11:04:40 +00:00
Cedric BAIL 0f490ba1dc edje: fix text and table with fixed point and clamp image tween.
SVN revision: 71152
2012-05-16 10:37:44 +00:00
Carsten Haitzler 047104fa55 work around race condition bug in ecore for now so edje_cc is reliable
again. CEDRIIIIIIIIIIIIIIIIIIIC!



SVN revision: 71144
2012-05-16 07:43:14 +00:00
Carsten Haitzler cbfa14edfb and clean up some of the work on parallelized edje_cc. code less ugly
now.



SVN revision: 71138
2012-05-16 02:15:45 +00:00