framework/uifw/edje.git
16 years agoReplace big serie of if, with a cleaner switch.
cedric [Thu, 11 Sep 2008 11:15:39 +0000 (11:15 +0000)]
Replace big serie of if, with a cleaner switch.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@35943 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoMake EDJE_PROGRAM_CACHE configurable with autotools (with small fix for make it run...
cedric [Thu, 11 Sep 2008 11:14:39 +0000 (11:14 +0000)]
Make EDJE_PROGRAM_CACHE configurable with autotools (with small fix for make it run again).

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@35942 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agook still doesnt work - FASTFREEZE shoudl work.. but dont.
raster [Wed, 10 Sep 2008 07:17:24 +0000 (07:17 +0000)]
ok still doesnt work - FASTFREEZE shoudl work.. but dont.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@35925 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agofix scaling on edje_scale - works with smnall sizes now too. problem is
raster [Wed, 10 Sep 2008 06:39:57 +0000 (06:39 +0000)]
fix scaling on edje_scale - works with smnall sizes now too. problem is
really i was chasing a freeze/thaw problem. something is up.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@35922 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoRevert edje calculate optimizations.
barbieri [Tue, 9 Sep 2008 23:41:42 +0000 (23:41 +0000)]
Revert edje calculate optimizations.

Edje is tricky, it's event processing is too weird and Cedric's
changes to make it work are not working as expected. Edje freezes
itself while processing signals, but in mouse down cb it forces
recalculate, which seems was previously ignored, but now they are not.

We should look at how to fix this and then re-apply this patch.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@35908 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agosupport an edje scaling factor. parts can selectively say "yes.. scale me!"
raster [Tue, 9 Sep 2008 14:13:34 +0000 (14:13 +0000)]
support an edje scaling factor. parts can selectively say "yes.. scale me!"
:)... this allows e etc. to adapt to massivelyt different dpi screens with
slickness that even svg can't get to... why? you scale just what NEEDS
scaling (text, button sizes, and other limiting elements). other bits like
borders, padding etc. can remain pixel-perfect and thus the look is amazing.
pixel-perfect drawing with scalable adapting.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@35895 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoAdd calculate callback to Evas_Smart_Class.
barbieri [Sun, 7 Sep 2008 01:25:49 +0000 (01:25 +0000)]
Add calculate callback to Evas_Smart_Class.

Some people is using it for some time now without problems, so I'm
adding it to SVN to get some broader use. Remember to recompile ALL
libraries that depend on Evas as it will change the
EVAS_SMART_CLASS_VERSION and old classes will fail to load.

This will also change Edje so it will postpone _edje_recalc() to
render time, calculate() callback, however some methods will force
early recalculation.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@35860 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoActually call eet_init/eet_shutdown and fix another potential memory leak.
cedric [Fri, 22 Aug 2008 14:32:25 +0000 (14:32 +0000)]
Actually call eet_init/eet_shutdown and fix another potential memory leak.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@35615 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoedje_cc_out.c: Create an error_and_abort() function and use it.
cmarcelo [Thu, 21 Aug 2008 03:58:11 +0000 (03:58 +0000)]
edje_cc_out.c: Create an error_and_abort() function and use it.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@35596 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoedje_cc_out.c: Splitting data_write_scripts() in smaller pieces.
cmarcelo [Thu, 21 Aug 2008 03:57:56 +0000 (03:57 +0000)]
edje_cc_out.c: Splitting data_write_scripts() in smaller pieces.

Now we have one function for creating the script file and another for
compiling it.  Also tried to avoid lots of nesting by checking for
error conditions early and returning (or aborting).  Avoided messing
with the code logic.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@35595 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoedje_cc_out.c: Removing unused function declaration and definition.
cmarcelo [Thu, 21 Aug 2008 03:57:39 +0000 (03:57 +0000)]
edje_cc_out.c: Removing unused function declaration and definition.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@35594 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoedje_cc_out.c: Split data_write() in a bunch of smaller functions.
cmarcelo [Thu, 21 Aug 2008 03:57:20 +0000 (03:57 +0000)]
edje_cc_out.c: Split data_write() in a bunch of smaller functions.

Just moved the code pieces from data_write(), which was huge, to
static functions.  Also made minor cleanups, initializing variables
during declaration.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@35593 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoSet svn:mime-type to image/png on *.png
barbieri [Mon, 18 Aug 2008 16:42:08 +0000 (16:42 +0000)]
Set svn:mime-type to image/png on *.png

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@35554 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoand compression was off four edje_sources in .dj files. back on!
raster [Mon, 18 Aug 2008 15:09:27 +0000 (15:09 +0000)]
and compression was off four edje_sources in .dj files. back on!

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@35547 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agook. i think most binary files are now fixed.
raster [Mon, 18 Aug 2008 00:02:26 +0000 (00:02 +0000)]
ok. i think most binary files are now fixed.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@35525 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agofix binaries
raster [Sun, 17 Aug 2008 14:29:25 +0000 (14:29 +0000)]
fix binaries

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@35507 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agomove around - flatter.
raster [Sun, 17 Aug 2008 07:44:18 +0000 (07:44 +0000)]
move around - flatter.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@35497 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33