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
Mike Blumenkrantz
71c0eb6dc6
Revert 2 commits from cedric:
...
"edje: open Eina_File ourself instead of delegating it to edje."
"edje: don't never corrupt an opened edje object."
This reverts commits 8727e43c1f
and 8f12f21cf0
, which caused nonstop crashes.
2013-05-08 13:17:21 +01:00
Cedric Bail
8f12f21cf0
edje: don't never corrupt an opened edje object.
2013-05-08 18:17:00 +09:00
Cedric Bail
1f56f1a3ab
edje: rename variable to match the rest of the library.
2013-04-08 12:24:44 +09:00
Cedric Bail
fb50c9b366
edje: reuse existing index instead of a direct pointer (-30KB).
...
This one does account for the fact that we always read relative
information even when only computing a part of it.
2013-04-08 12:16:22 +09:00
Cedric Bail
4437235c85
Revert "edje: reuse existing index instead of a direct pointer (-30KB)."
...
This reverts commit 6a6e6dda68
.
2013-04-08 00:14:50 +09:00
Cedric Bail
6a6e6dda68
edje: reuse existing index instead of a direct pointer (-30KB).
2013-04-07 23:50:29 +09:00
Cedric Bail
a645c8153f
edje: one less pointer per Edje_Real_Part.
2013-04-07 02:18:48 +09:00
Jonas Gastal
3afb2e2a22
Fix CURRENT for moving objects.
2013-03-22 12:12:42 -03:00
Carsten Haitzler
b71a17b9db
oh so minor buglet - interpolate border scale by a sa float (in fixed
...
point) not an integer!
2013-03-20 12:45:18 +09:00
Cedric BAIL
464391ca07
edje: fix Eina_Cow usage in edje.
2013-03-14 10:39:41 +09:00
Cedric BAIL
3e0d35bfc2
edje: protect for people who don't have Ephysics.
2013-03-13 17:38:57 +09:00
Cedric BAIL
e5f343f79a
edje: fix use of Eina_Cow in Edje, stack and memcpy issue here.
2013-03-13 16:47:53 +09:00
Cedric BAIL
c78f4d7bfa
edje: use Eina_Cow for physics and map Edje_Real_Part_State.
...
This reduce memory used per Edje_Part description by 2 on my tests.
2013-03-13 14:35:31 +09:00
Tom Hacohen
a66f1c73f7
Edje entry fit: Set the min size according to the fitting as well.
2013-02-22 14:13:35 +00:00
Tom Hacohen
9bc0260b51
Edje entry fit: Set the min/max sizes according to the fitting, not before.
2013-02-22 14:11:41 +00:00
Tom Hacohen
cc7b4a15e3
Edje entry: Fixed a fit issue with fitting even when disabled.
2013-02-19 11:46:21 +00:00
Tom Hacohen
5c233f7721
Edje entry: Fixed some fit issues - only works well with single line textblocks.
...
I figured it's better to have single line textblocks working well, rather
than nothing working at all. This should now work with ellipsis as well.
2013-02-19 11:40:00 +00:00
Tom Hacohen
91ae899232
Edje textblock: Improved textblock fit and added support for size_range.
...
It's a bit quirky at the moment as you have to set the base font size
(text.size) although this doesn't have any effect on textblocks.
2013-02-15 17:55:34 +00:00
Cedric BAIL
da4efb7b56
efl/edje: one less use of evas_object_type_get.
...
SVN revision: 83408
2013-01-29 06:01:42 +00:00
Cedric BAIL
849fcc8b88
efl: remove useless geometry get.
...
SVN revision: 82614
2013-01-11 06:57:50 +00:00
Gustavo Sverzut Barbieri
b59fba7d69
efl/edje: remove warning (PLEASE REVIEW).
...
This warning was removed but I left the _edje_real_part_state_get() in
there as this will not just get the part state, but also call
_edje_part_recalc() if needed.
Should we completely remove the block, or is _edje_part_recalc() required?
SVN revision: 82366
2013-01-07 21:34:20 +00:00
Gustavo Sverzut Barbieri
9ea2ce1041
efl: merge edje.
...
this is still in progress, mostly the multisense stuff is pending.
it seems that when we merge ecore_audio in edje the libremix and
similar are gone, at least from Edje, and will be in ecore_audio
itself (or pulseaudio).
Changes:
* __UNUSED__ to EINA_UNUSED
* binaries (epp, embryo_cc, edje_cc) now consider EFL_RUN_IN_TREE and
will assume the binaries are still not installed, running from
build tree location (needs more testing, maybe doesn't work with
srcdir != builddir, still doesn't solve cross compile builds)
SVN revision: 82139
2013-01-04 02:08:14 +00:00