Commit Graph

74 Commits

Author SHA1 Message Date
Cedric BAIL 018a9dad66 * edje: Use Eina_Log.
Patch from Mathieu Taillefumier.


SVN revision: 44655
2009-12-22 13:46:00 +00:00
Cedric BAIL 0209236d41 * edje_cc: Generate valid edje file when fixed point is enable.
SVN revision: 44332
2009-12-10 13:19:54 +00:00
Cedric BAIL b32c9a3eae * edje: Add Fixed Point Math support to Edje.
You can try it by passing --enable-fixed-point to the configure. It
	will produce an ABI/API compatible Edje library that use internally
	Eina_F32p32 instead of double. It will load Eina_F32p32 instead of
	double from eet file (thanks to eet ability to convert them on the
	fly), so edje file are compatible between fixed point and floating
	point version.

	This patch touch almost all internal calc of Edje, I did test it with
	elementary_test, enlightenment and all my test apps, but it could
	certainly break some of your preferred Edje file. If you see any
	unexpected behaviour please report them to me as soon as possible.

	Note: For devs, I put few macros in edje_private.h that should now
	be used when doing calc in Edje, please use them so that Fixed Point
	doesn't break in the futur.


SVN revision: 44323
2009-12-09 15:44:54 +00:00
Cedric BAIL 7df190d264 * edje_calc: Major cleanup.
- Edje_Real_Part use less memory.
		- Edje_Real_Part and Edje_Real_Part_State now use a mempool.
		- When both param1 and param2 are the same, only recalc param1.
		- Don't compute Edje_Real_Part more than one time per edje_recalc_do.



SVN revision: 41771
2009-08-14 17:19:42 +00:00
Cedric BAIL 7f9a41a824 * edje: Add a cache for _edje_part_recalc_single.
WARNING: THIS CAN CAUSE RENDERING GLITCH AND OTHER WEIRD BEHAVIOUR WITH
	YOUR EDJE FILE. PLEASE REPORT ANY ALIEN STUFF.

	Note: This patch cache the result of _edje_part_recalc_single, until
	any relative part are moved, the object is resized or some property
	are changed (like during text set or color class set).

	Note: Be carefull when you call edje_object_size_min_restricted_calc,
	it's really an inderect heavy user of _edje_part_recalc_single and
	I wasn't able to bring it down.

	Note: This patch use more RAM, around 480 bytes per Edje state, so I
	don't recommand using it on a Desktop with a lot of CPU power.


SVN revision: 41663
2009-08-10 15:16:51 +00:00
Gustavo Sverzut Barbieri 15a2b2aaf2 force recalc after set_tween_state().
SVN revision: 38258
2008-12-21 02:17:31 +00:00
Davide Andreoli ed830d3fe7 * typo
SVN revision: 37822
2008-11-27 09:43:00 +00:00
Vincent Torri 0d8b00fdeb * move standard header files to source files
* remove gendoc


SVN revision: 37158
2008-10-26 17:18:19 +00:00
Cedric BAIL fa66dbf40a Remove Evas list from Edje and use Eina instead.
SVN revision: 36961
2008-10-22 11:34:42 +00:00
Cedric BAIL b489e1936b Switch evas_stringshare to eina_stringshare.
SVN revision: 36672
2008-10-15 14:11:11 +00:00
doursse c5623c01b3 reorganize header files inclusion. Fix some problems when compiling on Windows
SVN revision: 34768
2008-06-07 10:06:14 +00:00
Carsten Haitzler 15cd1238db start some serious work on script_only edje objects - for efficiency sake i'm
having an almost parallel codepath for script_only objects - they dont get to
use the older edje api calls for part defined objects. they will have a new
set of calls specifically for them. it's partly done - very little available
now, but will expand. lots of fixme's.


SVN revision: 34699
2008-05-30 11:20:49 +00:00
Carsten Haitzler 0d624dcb94 lars get button mask call for edje embryo added
SVN revision: 34611
2008-05-19 04:38:40 +00:00
Carsten Haitzler e92406d330 patch from rafael to hook in funcs to embryo
SVN revision: 34603
2008-05-19 02:50:38 +00:00
Carsten Haitzler 0afa61a56a santiago's embryo swallow patchs.
SVN revision: 34249
2008-04-11 23:36:35 +00:00
Carsten Haitzler b65d63440f add cedrics dict check patch
SVN revision: 33946
2008-03-06 17:52:59 +00:00
Carsten Haitzler 92e084f9ca asparagus! also pass distcheck and have common autofoo init that is
consistent for package, version etc.


SVN revision: 33602
2008-01-25 03:35:49 +00:00
doursse c63454baea remove trailingspaces
SVN revision: 31656
2007-09-08 18:25:43 +00:00
Stafford Mitchell Horne 61bda22a70 Add negative font size handling in text_classes
* negative size is a multiplier for the origianl size
 i.e. : -100 = 1.0x;  -120 = 1.2x


SVN revision: 29835
2007-05-03 23:15:09 +00:00
Sebastian Dransfeld 2bc0592a68 - Formatting.
- Remove old code.


SVN revision: 29380
2007-04-05 15:54:16 +00:00
Sebastian Dransfeld 493450761d Typo.
SVN revision: 28054
2007-01-18 23:58:40 +00:00
Carsten Haitzler 54184c2c37 add max text size for text objects - object wont get bigger than its text
contents. useful for some things.


SVN revision: 26439
2006-10-09 06:01:13 +00:00
Carsten Haitzler 5a3be0fd8c zigs patch for edje adding more embryo script power to set state vals
SVN revision: 23616
2006-06-28 18:31:56 +00:00
stffrdhrn 46a61a67b7 Edje bug fixes:
* Add some comments
 * Fixup some const char */stringshare related compile warnings
 * Fix text classes


SVN revision: 21392
2006-03-19 04:22:35 +00:00
tsauerbeck 0b74d51971 custom state: i think we should inherit the parent's text style, too
SVN revision: 20775
2006-02-25 09:57:55 +00:00
tsauerbeck 697f0a1600 the custom state code was still using strdup, but it needs to use the stringshare api
SVN revision: 20774
2006-02-25 09:56:09 +00:00
Carsten Haitzler 430b2a1901 use stringshare! :)
SVN revision: 18728
2005-11-30 09:56:15 +00:00
Carsten Haitzler 25ee716746 push/pop vm on the fly - saves a chunk of ram.
SVN revision: 18625
2005-11-24 03:23:01 +00:00
Carsten Haitzler 8c01f55114 add embryo api to get the state of a part (handy eh?) :)
SVN revision: 17345
2005-10-09 09:49:53 +00:00
tsauerbeck 13312e0779 set walking_actions to 1 while we're walking the actions list. this fixes an embryo induced segfault, horray.
SVN revision: 17167
2005-10-04 18:01:09 +00:00
tsauerbeck 00d380b617 force a recalc when set_state() has been called (Embryo)
SVN revision: 12432
2004-12-10 15:45:31 +00:00
tsauerbeck dc74c8bfcd formatting
SVN revision: 12427
2004-12-09 19:34:26 +00:00
Carsten Haitzler bec1a34a8e testing the edje message queue.. revealed.... problems... and.. now....
FIXES! :)


SVN revision: 12419
2004-12-09 05:49:34 +00:00
tsauerbeck bcfa090341 removed some unused variables
SVN revision: 12261
2004-11-25 16:30:46 +00:00
tsauerbeck f6d680ad4b added support for a few more properties for the custom state stuff
SVN revision: 12135
2004-11-02 17:31:56 +00:00
tsauerbeck 3a98a85784 typo
SVN revision: 12083
2004-10-30 12:29:07 +00:00
tsauerbeck 53596e93c3 added basic support for custom state magic. only description.align can be changed at runtime so far.
SVN revision: 12065
2004-10-29 17:56:12 +00:00
tsauerbeck 917adb5118 fixed insert_float()
SVN revision: 12057
2004-10-29 14:49:10 +00:00
tsauerbeck 015a2cde3f implemented float list ops, replace_int and replace_str
SVN revision: 12041
2004-10-27 16:20:05 +00:00
tsauerbeck 7c1508ec8c implemented string list calls. untested, beware.
SVN revision: 11964
2004-10-22 20:25:31 +00:00
tsauerbeck 63f3874903 better vim modelines for raster code
SVN revision: 11910
2004-10-19 16:50:27 +00:00
Carsten Haitzler 217846ceb3 limit embryo scritps form being able to go into finitie or waay too long loops.
SVN revision: 11906
2004-10-19 09:56:14 +00:00
tsauerbeck 5765aa4ef7 int 'list' ops
SVN revision: 11881
2004-10-14 04:29:16 +00:00
tsauerbeck 587d771f32 warning fixes
SVN revision: 11832
2004-10-11 18:12:26 +00:00
Carsten Haitzler 31da916f06 add some mroe comments for bored people who want to work on this :)
SVN revision: 11673
2004-09-20 04:09:47 +00:00
Carsten Haitzler 7948fb2fc8 edje.inc was wrong (so was the comment)
SVN revision: 11381
2004-08-26 00:44:14 +00:00
tsauerbeck 9c647255e8 i think we can get rid of the script debugging spam now
SVN revision: 11375
2004-08-25 15:42:40 +00:00
Carsten Haitzler 3c0cb05a60 containers on hold for now...
SVN revision: 11358
2004-08-25 00:53:45 +00:00
tsauerbeck 6c0e20d5e0 warning fixes
SVN revision: 11339
2004-08-24 10:06:33 +00:00
Carsten Haitzler 795fa244e1 oops got errors the wrong way
SVN revision: 11332
2004-08-24 02:11:38 +00:00