Commit Graph

623 Commits

Author SHA1 Message Date
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 3c383ba958 edje: destroy the temporary file when leaving.
SVN revision: 70929
2012-05-11 10:50:47 +00:00
Vincent Torri 806d74d25f Edje: do not fail if eio is not available (edje_watch is compiled only if eio is available)
SVN revision: 70912
2012-05-10 17:49:53 +00:00
Cedric BAIL b786fe1ced edje: automatically emit ['edje,change,file', 'edje'] when the file change on disk.
For the moment only edje_player use it. This means that when used with
edje_watch, you don't need any more to type any kind of command line
when you are testing value in your theme. As a side effect, this means
that their is a real use case to make edje_cc faster !



SVN revision: 70890
2012-05-09 09:16:52 +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
Carsten Haitzler ad14b287bc add version define to epp.
SVN revision: 70205
2012-04-16 05:39:21 +00:00
Vincent Torri 1ee506ccf7 Edje : Small fixes for edje doxygen doc
Patch by Jérôme Pinot


SVN revision: 69815
2012-03-31 07:53:47 +00:00
Cedric BAIL 6b3d9da609 edje: add automatic hints update to edje object and min: SOURCE to GROUP part.
NOTE: turning this feature on is costly. Do that only when you require it, really !


SVN revision: 69254
2012-03-12 15:28:58 +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 b0a4783e22 Edje: remove ugly FMT_* compatibility strings as Evil has now POSIX printf family functions
SVN revision: 68110
2012-02-18 14:45:21 +00:00
Vincent Torri e9f9802c48 Edje: update declaration of alloca
SVN revision: 68107
2012-02-18 14:25:45 +00:00
Cedric BAIL 70c734ebdd edje: add broadcast_signal: bool.
This make it possible to completly disable signal broadcasting as this
new behaviour broke Edje 1.0 file. It's also now possible to use the
same group in different part in the same parent group without any issue.

I am tempted to backport this patch to 1.1 branch as it would make it
play nicely with file coming from Edje 1.0.

Another issue that this patch fix is that I did increment the minor version
as we really have add a lot of addition since Edje 1.1 and Edje file build
with trunk may not play well anymore on Edje 1.1.


SVN revision: 67936
2012-02-14 14:07:39 +00:00
Mike Blumenkrantz 252f6a04b3 fix breakage from r67537 with alias inheriting or somesuch
SVN revision: 67833
2012-02-10 20:34:18 +00:00
Cedric BAIL a4c58712c3 edje: add min: SOURCE, max: SOURCE.
SVN revision: 67555
2012-01-26 18:24:00 +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 762126ef49 edje: rename variable to have a more miningfull name.
SVN revision: 67528
2012-01-25 10:11:02 +00:00
Cedric BAIL 0379b5c2da edje: cast the right type.
SVN revision: 67527
2012-01-25 09:53:38 +00:00
Cedric BAIL f968d16b55 edje: do it in the right order.
SVN revision: 67526
2012-01-25 09:36:08 +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 a296c7b30a edje: fix all id including the current directory entry.
SVN revision: 67477
2012-01-23 16:34:34 +00:00
Cedric BAIL a5b728d53d edje: detect when we try to inherit from ourself.
SVN revision: 67472
2012-01-23 15:45:12 +00:00
Tom Hacohen 61134f1e6b Edje: Fixed a lot of warnings.
SVN revision: 67324
2012-01-19 08:17:12 +00:00
Tom Hacohen 2eaaa462da Edje cc: Remove unused parameters cpp_token_line/file.
SVN revision: 67323
2012-01-19 08:17:07 +00:00
Tom Hacohen 544dfc53b3 Edje: Fixed a couple of warnings that really don't indicate issues.
Global shadow warnings are annoying and thus will be ignored at the moment,
There are other issues as well though, for example, not using cpp_token_file.
I don't know if that's intended or not, so I won't just suppress the warning.

SVN revision: 67242
2012-01-16 12:34:13 +00:00
Mike Blumenkrantz 0bbf39f83d this change brought to you by: the french
SVN revision: 67208
2012-01-14 04:15:04 +00:00
Carsten Haitzler 2264bfe0b7 wo... this turned out to be much more of a pain. minmul now works -
allows us to multiple a minimim size explicitly for min size calc so
we can do things like have content slide open/closed properly.



SVN revision: 67197
2012-01-14 02:29:13 +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
Daniel Juyung Seo 9c0457b31e edje: Fixed documentation typo.
SVN revision: 66981
2012-01-09 04:50:42 +00:00
Cedric BAIL 11af9a20e5 edje: try to fix doc.
SVN revision: 66943
2012-01-06 15:06:52 +00:00
Cedric BAIL deb0057d7f edje: add EDJE_ASPECT_PREFER_SOURCE.
NOTE: this is a prototype, play with and report any issue to me.


SVN revision: 66937
2012-01-06 11:28:38 +00:00
Mike Blumenkrantz 4a1c04491e fix annoying log spam
SVN revision: 66907
2012-01-06 00:59:35 +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
Carsten Haitzler 94c73aee09 lets not use uninitialized vars shall we?
SVN revision: 66257
2011-12-15 14:01:17 +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
Cedric BAIL cc6552c22b edje: declare limits as an object for the parser.
SVN revision: 66245
2011-12-15 09:37:50 +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
Cedric BAIL 09970b59a8 edje: improve doc a little bit.
SVN revision: 66212
2011-12-14 16:37:06 +00:00
Carsten Haitzler 5419196236 add multisense back in post 1.1
SVN revision: 65864
2011-12-04 03:18:49 +00:00
Cedric BAIL 41fe1bcc43 edje: fix documentation for limits.
SVN revision: 65639
2011-11-28 09:28:42 +00:00
Carsten Haitzler ca2f7a8f77 lookup duplicate targets and skip new target if already in list.
SVN revision: 65535
2011-11-23 10:42:58 +00:00
Carsten Haitzler f3c5abf999 aaah allow type to be set on group inherit or part inherit... you just
really shouldnt set it to a different type as its not very sensible.



SVN revision: 65534
2011-11-23 10:38:43 +00:00