Commit Graph

141 Commits

Author SHA1 Message Date
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
Mike Blumenkrantz d06a1d21a7 don't need to strlen here
SVN revision: 64856
2011-11-07 06:10:06 +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
Jaehwan Kim bda33541cf From: Jaehwan Kim <jae.hwan.kim@samsung.com>
Subject: [E-devel] [Patch] change rel1.to to default when using group
inherit

When using group inherit, if rel1.to is set in parent group, we cannot change the part name 
of rel1.to to default (the default is that dont have the part name) in child group.
So I changed edje_cc_out.c. After patching, we can change rel1.to to
default by using "". (ex > rel1.to: "";)



SVN revision: 64171
2011-10-19 09:41:17 +00:00
Mike McCormack 74c07498f9 edje: Add a --no-save option to edje_cc
Some people don't want to reveal their edc files...

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 63937
2011-10-10 02:49:50 +00:00
Cedric BAIL db4c82bc46 edje: add group inheritance.
Patch by Jaehwan Kim <jae.hwan.kim@samsung.com>


SVN revision: 63648
2011-09-29 01:29:21 +00:00
Vincent Torri 36b21249d9 From: Vincent Torri <vtorri@univ-evry.fr>
Subject: [E-devel] Edje: using fdopen instead of fopen in edje_cc

On windows, using open() followed by fopen() does not work. Hence, in 
edje_cc, where mkstemp (which uses open) is followed by fopen, edje_cc 
fails.

Instead of fopen, we can use fdopen. I pasted a  patch below. Can you 
comment it (like, instead of keeping the filename in the function that
i  modified, why not using it for the fd?

(changes - closefd) removed from data_write_scripts() as fclose()
handles that)




SVN revision: 60299
2011-06-14 07:02:14 +00:00
Raoul HECKY 1594c4d07e Fix embryo code creation. Add newline after each function. It avoid lines to be too long for embryo_cc.
SVN revision: 59448
2011-05-16 12:16:54 +00:00
Carsten Haitzler 51b25f8c52 use new eina prefix finder.
SVN revision: 58850
2011-04-24 07:36:15 +00:00
Iván Briano 3f6ada804f Make edje_cc store script source snippets (only embryo now) in the generated file.
Yeah... yeah... we are on a freeze and we aren't supposed to be doing things like this, but it's not change anything other than allow edje_edit to know about scripts in order to not screw them up when modifying a file.


SVN revision: 55088
2010-11-30 15:37:20 +00:00
Leandro Pereira fcfaebe1e3 edje_cc: Bail out on descriptions without a state.
Also, don't dereference a NULL pointer on badly-formed .edj files.


SVN revision: 52931
2010-09-30 21:31:00 +00:00
Lucas De Marchi 3bec660090 Fix common misspellings
Following misspellings were fixed:

ammount->amount
arbitary->arbitrary
begining->beginning
carefull->careful
choosen->chosen
commited->committed
endig->ending
existance->existence
existant->existent
isnt->isn't
occured->occurred
postion->position
rougly->roughly
runing->running
shouldnt->shouldn't
soem->some
succesfully->successfully
succesful->successful
sucessful->successful
tranformed->transformed
usefull->useful
wehn->when
wich->which



SVN revision: 51988
2010-09-08 11:50:05 +00:00
Iván Briano b61db77029 Put fonts into the .edj file again.
SVN revision: 51684
2010-08-27 18:52:41 +00:00
Carsten Haitzler 5e36f9979b nuke old obsolete lua stuff - except edje_lua.c. let it dangle with
the actual lua code in it entirely not being compiled just as reference until
it's killed off.



SVN revision: 51622
2010-08-25 01:09:44 +00:00
Cedric BAIL b10e598f52 * edje: add back anonymous script.
SVN revision: 51617
2010-08-24 16:39:51 +00:00
Cedric BAIL 1d1a36047b * edje: remove edje_convert use in edje_cc.
SVN revision: 51134
2010-08-15 18:14:33 +00:00
Cedric BAIL c1436aac91 * edje: fix memory leak.
SVN revision: 51046
2010-08-12 15:05:56 +00:00
Cedric BAIL f3894fdd27 * edje: add some error detection.
SVN revision: 50939
2010-08-09 18:22:48 +00:00
Cedric BAIL 9ecc1354c6 * edje: new file format.
WARNING ! WARNING ! WARNING ! WARNING !
	Old file format is not readable by edje directly. If you have old edje
	file that you want to convert, use edje_convert. Their is no way back.

	Recompile your file as soon as possible. Please report any issue you
	spot as this is a huge and needed change.



SVN revision: 50936
2010-08-09 17:34:03 +00:00
Lucas De Marchi 0a4617ae38 FORMATTING
* Remove vim modelines:
 find . -name '*.[chx]' -exec sed -i '/\/\*$/ {N;N;/ \* vim:ts/d}' \{\} \;
 find . -name '*.[chx]' -exec sed -i '/\/[\*\/] *vim:/d' \{\} \;

* Remove leading blank lines:
 find . -name '*.[cxh]' -exec sed -i '/./,$!d'

If you use vim, use this in your .vimrc:
set ts=8 sw=3 sts=8 expandtab cino=>5n-3f0^-2{2(0W1st0



SVN revision: 50816
2010-08-04 16:57:32 +00:00
Cedric BAIL e773bc9246 * edje: change memory layout that will become the new file format.
NOTE: I tried this change with all the apps and theme I had, but maybe
	i missed some bug. Please report any strange behaviour.


SVN revision: 50641
2010-07-29 12:02:36 +00:00
Cedric BAIL 30d35eb1ba * edje: start to split structure content.
SVN revision: 50279
2010-07-16 11:37:58 +00:00