Commit Graph

162 Commits

Author SHA1 Message Date
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
Cedric BAIL 7191b9a3f6 edje: edje_cc will now only store and encore needed image.
SVN revision: 67524
2012-01-25 09:07:36 +00:00
Cedric BAIL b8e90a0539 edje: display the real name of the collection when writing it.
SVN revision: 66990
2012-01-09 10:10:58 +00:00
Sebastian Dransfeld 896c628f82 edje: don't use strlen() == 0
SVN revision: 66442
2011-12-21 20:09:23 +00:00
Cedric BAIL 206c40e59a edje: patch all group the intended way.
SVN revision: 66382
2011-12-20 10:28:30 +00:00
Cedric BAIL 92b831be2e edje: check existence of group at compile time also.
SVN revision: 66336
2011-12-19 17:25:00 +00:00
Carsten Haitzler 1aa9b4e6dd back out:
r66257 <- another small fix on the real problem
r66250 <- a small fix on the real problem
r66242 <- the real problem

jaewhan - your commit yesterday (r66242) has made edje_cc very
unstable and it will randomly segv (sometimes yes, sometimes no). as
such it's at the point i can't even compile e and elm without it
segving somewhere during build, so this gets backed out. review your
change carefully and look for issues.



SVN revision: 66265
2011-12-16 00:29:05 +00:00
Cedric BAIL 633a51f3d0 edje: use EINA_LIST_FOREACH_SAFE when removing item from a list.
Bug spotted by Michael Bouchaud.


SVN revision: 66250
2011-12-15 10:02:39 +00:00
Jaehwan Kim 052a06726f Bug fix - about type change in group inherit.
Lately, raster removed the code about the prohibition of type-change in
group inherit.
But about the "part" of different type, the data structure of the their
"description" is different.
So if the type is changed, it have to be reallocated. Current, it is not.

At first, we have to remove the lookups. If we don't, when lookup module
executes, the memory
may be broken. So I removed all lookups for reallocated description before
it is reallocated.
And I changed all description of the "part" is reallocated when the type is
changed.
The attribute of the "part" is remained. Just it reallocated the part of
**_Spec_**.


SVN revision: 66242
2011-12-15 09:15:11 +00:00
Jaehwan Kim c43b0e455c rel1.to: ""; fix build error.
Actually, if rel1.to_x is not used in the matched description of the parent group, rel1.to_x: ""; doesn't need to be used in the description of the child group.
Because its state is already default. But sometime we may want to use it explicitly. So I add this code in order to cover that case.


SVN revision: 65160
2011-11-14 11:04:37 +00:00