Commit Graph

171 Commits

Author SHA1 Message Date
Cedric BAIL 165ba39b2c edje: unbork amalgamation.
SVN revision: 80405
2012-12-07 02:04:44 +00:00
Youness Alaoui dde5848ab1 edje: Fix segfault when deleted part stays in the hash table
SVN revision: 79616
2012-11-23 23:15:48 +00:00
Cedric BAIL a6ab9bddd2 edje: don't generate annotate file when edje_cc fail.
SVN revision: 76746
2012-09-17 09:34:29 +00:00
Cedric BAIL e683bab25e edje: less test is better, thanks Jack.
SVN revision: 76510
2012-09-12 09:08:24 +00:00
Cedric BAIL 90f9d623fe edje: don't strcmp ith NULL.
SVN revision: 76449
2012-09-11 08:15:33 +00:00
Cedric BAIL b757565407 edje: silent compiler warning.
SVN revision: 76440
2012-09-11 06:57:50 +00:00
Cedric BAIL b683dbec0b edje: oops typo.
SVN revision: 76439
2012-09-11 06:53:32 +00:00
Cedric BAIL b3739ac5d6 edje: another O(1) lookup, but for alias of group.
This give a small 10% benefit on Tizen theme.


SVN revision: 76428
2012-09-11 04:10:13 +00:00
Cedric BAIL 2127cab57d edje: O(1) lookup for all access to Part_Lookup structure in edje_cc.
This will give a major boost of performance for all insanely huge theme
you try to compile. Get down from 13s to 4s. Still some room for improvement.


SVN revision: 76427
2012-09-11 03:39:27 +00:00
Cedric BAIL 8ad4e0c02e edje: report type of file when listing files used by an edc.
SVN revision: 76095
2012-09-04 02:13:05 +00:00
Cedric BAIL 3da32a51aa edje: check the number of parameter for edc.
SVN revision: 75876
2012-08-30 11:28:07 +00:00
Vincent Torri 335f089be6 whitespace--
SVN revision: 75601
2012-08-23 07:54:58 +00:00
Carsten Haitzler 01dd698ac9 fix possible use of uninit buffer in edje_cc error output.
SVN revision: 75449
2012-08-20 07:46:51 +00:00
Michael BOUCHAUD bd45f13f66 edje: don't compile if we have a group without a name
SVN revision: 75035
2012-08-09 08:57:35 +00:00
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 4af162575d edje: try to make windows happier.
SVN revision: 74538
2012-07-28 16:22:15 +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
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
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
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
Mike Blumenkrantz 2788917365 unused--
SVN revision: 71781
2012-06-07 07:59:18 +00:00
Cedric BAIL f328aabf7b edje: major oopsie !
SVN revision: 71561
2012-05-30 12:51:21 +00:00
Cedric BAIL f3ab10d461 edje: remove the work around.
SVN revision: 71556
2012-05-30 12:16:50 +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
Cedric BAIL 2aab151919 edje: reduce memcpy in edje_cc by using Eina_File.
SVN revision: 71242
2012-05-20 07:06:57 +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
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
Carsten Haitzler efca59d04f optimize edje_cc - now betwene 3.5 x and 4x as fast. new options
(-fastcomp and -fastdecomp) -fastcomp makes for faster decompressing
AND faster compressing of edj files, -fastdecomp is a bit slower on
compression but also as fast as -fastcomp in decompression. note that
edje files built with these optiosn will not work on older edje
installations, thus they are options.



SVN revision: 71112
2012-05-15 12:29:22 +00:00
Rajeev Ranjan f146ce307a From: Rajeev Ranjan <rajeev.r@samsung.com>
Subject: [E-devel] [PATCH][EDJE] Patch to remove the alpha from image
header while saving if the alpha is set to 1 but the image is fully
opaque

Attached to the mail is a patch to set the alpha information for an
image header to 0 with alpha present but all the texels being opaque.
Continuing to our discussion, as suggested by many people in the
community it has been implemented at edje_cc level.

Change description:
    While compiling the edc file, image data for image files is
scanned to find out whether the alpha value in header is set to 1 and
is not being used in the image.
  If this is the case, while writing to eet the alpha is set to 0 to
avoid blending for such images in the graphics pipeline when used by
evas.



SVN revision: 70954
2012-05-13 04:24:28 +00:00
Cedric BAIL dd9c491c5b edje: add edje_watch.
edje_watch call edje_cc and monitor all the source file (edc, font
image, sound). If any of them change, it call edje_cc, update its
watching list and so on. edje_watch as the same command line as
edje_cc.
   Still a little bit rought, but it's the beginning of an interesting
experiment.


SVN revision: 70872
2012-05-08 10:35:57 +00:00
Daniel Juyung Seo ae800b358e edje edje_cc_out.c: Fixed formatting.
SVN revision: 70318
2012-04-19 08:41:47 +00:00
Carsten Haitzler 1bc29757ab small improvement - allow part names of "-" to mean "remove part name
itd and reset back to -1 - ie none". useful for to/to_x/to_y etc.



SVN revision: 70315
2012-04-19 03:35:29 +00:00
Iván Briano 5cfb0b0c34 Build again, please.
SVN revision: 68580
2012-03-01 16:42:03 +00:00
David Walter Seikel 89b472066f If an edje file has a Lua group, don't strip any images. No telling how Lua might concoct it's image names, but it expects to find them in it's own file.
SVN revision: 68578
2012-03-01 15:46:33 +00:00
Vincent Torri f9b759a654 Edje: revert ugly commit, as Evil takes care of the problem, now
SVN revision: 68118
2012-02-18 18:12:19 +00:00
Vincent Torri 62f4f8f2f8 Edje: ugly commit to make edje compiling on Windows
I was obliged to do that because almost all the headers are
included in edje_private.h... That way to include headers is
fine on unix, but when doing also compilation on Windows,
it's just a nightmare


SVN revision: 68111
2012-02-18 14:48:31 +00:00
Vincent Torri e9f9802c48 Edje: update declaration of alloca
SVN revision: 68107
2012-02-18 14:25:45 +00:00
Cedric BAIL 1ed79260ee edje: don't forget to reference child image in set.
SVN revision: 67542
2012-01-25 18:37:10 +00:00
Cedric BAIL 664e6939fb edje: fix use of inherit, overridding and alias.
SVN revision: 67537
2012-01-25 16:47:38 +00:00