Daniel Kolesa
43e2349203
eolian/generator: public api func name deduplication, spank tasn if it breaks
2014-06-20 17:09:03 +01:00
Tom Hacohen
0fc3279db9
Efl: Update code to use the new class names generated by eolian.
2014-06-03 11:28:01 +01:00
Mike Blumenkrantz
91bd7fa913
edje should only match swallow visibility if it's actually a group part
...
fixes visibility of actual swallow parts
2014-05-26 12:25:27 -04:00
Mike Blumenkrantz
ceb13556b1
Revert "Revert "recursively hide edje group objects on edje hide""
...
This reverts commit b8ca758658
.
2014-05-26 12:25:07 -04:00
Carsten Haitzler
b8ca758658
Revert "recursively hide edje group objects on edje hide"
...
Unless you like your desktop to look something like:
http://www.enlightenment.org/ss/e-53834e0c0cb3c1.87889787.png
then this commit really needs reverting.
This reverts commit 385326b8e4
.
2014-05-26 23:17:33 +09:00
zmike
385326b8e4
recursively hide edje group objects on edje hide
...
this massively improves edje performance when using groups, which previously would continue calculating their parts even when their parent object was hidden
CPU usage in my test case went from 20-30% to 1%.
@fix
2014-05-26 08:48:00 -04:00
Stefan Schmidt
9cfb050022
edje_calc: Document some intended fall through cases in switch-case
...
We share code here for different types. Make a note and also marked them as
false positive in coverity.
CID 1039377, CID 1039376
2014-05-16 15:00:10 +02:00
Jean-Philippe Andre
7bbdb68811
edje_calc: Fix invalid parameters during first calc
...
In particular, ellipsis is -1 by default in Evas, but at this
point (first layout calc), the parameters used for recalc are
incomplete and ellipsis would then be 0 by default (calloc).
As a consequence, Edje will call ellipsis_set(0) enabling
ellipsis even on objects that force "ellipsis: -1".
Solution: set all the parameters before entering text/tb calc.
I believe the other changes are only color and image padding
and should not affect recalc_single.
2014-05-15 16:07:00 +09:00
Jean-Philippe Andre
5bf1f0c918
edje_calc: Don't add padding twice to text objects
...
Text objects declared in Edje will see their padding added twice,
as the Evas_Object_Text itself contains the padding already.
This WILL break some EDC files. It's a bug nonetheless.
Should this be backported?
2014-05-14 14:44:47 +09:00
Jean-Philippe Andre
5b28726e0a
edje_calc: Update some disabled code so it can compile
...
Yup, that's basically a no-op but allows other devs to test
the old behaviour of that function as it's still there:
_edje_part_recalc_single_text
2014-05-14 14:44:47 +09:00
Mike Blumenkrantz
894c36ff11
de-elipsis edje
...
the word is "ellipsis". it's bad enough that we have released misspelled api, but we can at least spell things correctly internally.
2014-05-13 16:20:41 -04:00
Mike Blumenkrantz
5f376fde36
edje now correctly supports text.source and text.text_source for swallowed parts
...
fix T1186
2014-04-25 10:52:15 -04:00
Yossi Kantor
2be615916a
Eolian: Integration of Edje and Edje Edit
2014-03-24 08:14:30 +02:00
perepelits.m
f9fe869d23
Edje_Edit: Add NULL-check
...
Summary:
Add NULL-check in:
edje_edit_state_add
_edje_edit_real_part_add
_edje_part_recalc (edje_calc.c)
Reviewers: cedric, seoz, raster
Reviewed By: raster
CC: reutskiy.v.v, cedric
Differential Revision: https://phab.enlightenment.org/D567
2014-02-19 12:18:42 +09:00
Vyacheslav Reutskiy
793a1a5c1c
edje: edje_calc - fix deffect by find the part description when 'approximate' is EINA_FALSE
...
Reviewers: cedric, raster, seoz
Reviewed By: cedric
CC: cedric
Differential Revision: https://phab.enlightenment.org/D495
Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
2014-02-07 12:16:21 +09:00
Vyacheslav Reutskiy
641d823cbb
edje: edje_calc - update _edje_part_description_find
...
Add to fuction prototype new param: Eina_Bool approximation.
If need exact matching state name and value set EINA_FALSE to
'approximate'. In other cases used EINA_TRUE.
Reviewers: cedric, raster, seoz
CC: cedric
Differential Revision: https://phab.enlightenment.org/D400
Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
2013-12-23 10:47:32 +09:00
Carsten Haitzler
c6119802d1
edje - lib - remove useless memset as later memcpy overwrites
...
this removes a useless memset that does nothing usefule as a later
memcpy (not far down from it) will overwrite it anyway.
2013-12-13 21:26:05 +09:00
Otavio Pontes
afd8a238d1
Adding the cubic-bezier curve to edje transitions
...
Summary: Adding an option to use a cubic-bezier curve in edje transitions.
Reviewers: Sachiel, cedric, raster
Reviewed By: raster
CC: raster
Differential Revision: https://phab.enlightenment.org/D319
2013-12-02 15:02:40 +09:00
ChunEon Park
58368ea636
edje - fix the side effect introduced by 12aba0db5a
...
Now do recalc parts correctly when edje is moved.
2013-11-22 14:06:47 +09:00
ChunEon Park
eea338764a
edje - actually we don't need extra variable.
2013-11-21 13:50:19 +09:00
ChunEon Park
12aba0db5a
edje - Fix to update map enabled part when edje object is moved.
2013-11-21 13:26:37 +09:00
ChunEon Park
035d573571
edje - cleaning the code.
...
keep our code convention.
2013-11-21 13:12:34 +09:00
ChunEon Park
c28f08a477
edje - use Eina_Bool.
2013-11-21 13:00:55 +09:00
ChunEon Park
21b8212902
edje - removed unused function.
2013-11-20 18:52:41 +09:00
Cedric Bail
7e3286b4ed
edje: update use of eina_cow_free to latest change.
2013-11-04 12:47:34 +09:00
ChunEon Park
0daa2d02c7
Edje - Fixed memory leak in the edje map color transition.
...
Some cases, It doesn't free the interpolated colors.
Now it has guaranteed to free them always.
2013-10-15 15:00:13 +09:00
Cedric Bail
797ad7528f
edje: add border linked to Image sets.
...
It is quite common that in an image sets each image has different border size.
This patch permit to define the border value on a per image basis in the set.
2013-09-06 16:47:36 +09:00
Cedric Bail
b13db5ab8d
edje: forth recalc for text part that got adjusted during a calc_only.
2013-08-12 16:47:46 +09:00
Cedric Bail
7c6b3b1d4a
edje: fix off-by-one when x or y where negative.
2013-08-08 09:47:45 +09:00
Cedric Bail
442dda08c4
edje: make min: source work correctly with GROUP part.
...
This close task T54.
2013-08-07 16:04:52 +09:00
Cedric Bail
1927bcea91
edje: do not move object until all positionning information is known.
2013-08-05 17:46:37 +09:00
Cedric Bail
1a2b5d90c2
edje: fix rounding fill issue to take the information after adjusting it not before.
2013-07-24 15:50:09 +09:00
José Roberto de Souza
e6db48531d
edje: Fix typo in 397e0b90a2
2013-07-19 16:56:48 -03:00
Cedric Bail
cf9b0180d6
edje: add threshold to draggable part.
2013-07-19 15:40:11 +09:00
ChunEon Park
42549d43ab
edje - removed unncessary casting
2013-07-18 20:58:56 +09:00
Cedric Bail
b343874300
edje: fix typo and deep apology to asdfuser.
2013-07-18 20:19:09 +09:00
ChunEon Park
8cec34d1d4
edje/map - changed data structure from list to array to improve color data memory access
2013-07-18 20:09:54 +09:00
Cedric Bail
397e0b90a2
edje: improve accuracy of math logic in part positioning.
2013-07-18 16:20:32 +09:00
Cedric Bail
1043bb0f47
edje: leak is gone, so use it again.
2013-06-25 11:45:42 +09:00
Sebastian Dransfeld
336f6ec328
efl: formatting
2013-06-20 13:28:18 +02:00
Carsten Haitzler
eac7636a1e
disable cedric leakage causes in edje mmap file set. :)
2013-06-12 08:34:24 +09:00
ChunEon Park
ffe67b8043
edje - refactoring.
...
edje_part_calc() is too heavy. split map calcutation from edje_part_calc()
2013-06-06 18:36:40 +09:00
ChunEon Park
b98b7d5e04
edje - go away unnecesary code
2013-06-06 18:22:26 +09:00
ChunEon Park
8476e20ffe
edje - support map color set
2013-06-06 18:18:36 +09:00
ChunEon Park
d3e1cb055a
edje - use Eina_Bool
2013-06-04 14:42:52 +09:00
Carsten Haitzler
98efd5ad86
fix edje parts of type GROUP on size min calc to calc the child groups too
2013-06-03 17:18:25 +09:00
ChunEon Park
f55092ab93
edje - support edc proxy.source_clip
2013-05-31 20:08:59 +09:00
ChunEon Park
80e1353807
edje - support edc source_visible
2013-05-31 17:35:30 +09:00
Mike Blumenkrantz
979e8e17b7
TEMPORARY EDJE FIX
...
edje proxy parts seem to break (crash) when animating a state change from custom->default on an animator. adding a null check here avoids that and seems to work fine, but I am not an edje_calc expert
2013-05-09 11:27:50 +01:00
Cedric Bail
56180a7ff4
Revert "Revert 2 commits from cedric:"
...
This reverts commit 71c0eb6dc6
.
2013-05-09 09:37:55 +09:00