edje: Fix a major issue with recalc loop
authorJean-Philippe Andre <jp.andre@samsung.com>
Tue, 21 Feb 2017 08:49:44 +0000 (17:49 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Tue, 21 Feb 2017 08:56:31 +0000 (17:56 +0900)
commit882ad6fbf5df6bbfe4a224fafc98992b37dbc668
tree18394dd3af2499ca1da84016f266feb6bbdc0cd7
parent81fbd54c17e84514d3f74a795b2a6db189df9533
edje: Fix a major issue with recalc loop

With the new Efl.Ui.Clock widget, which implements Datetime,
most parts are relative to each other, and trigger a near-inifinite
recalc of all the parts. Indeed edje was recalculating a part even
if it had already calculated it (flag is set).

This seemingly simple patch fixes Datetime and probably a lot
of other edje widgets.

Fixes T4909

@fix
src/lib/edje/edje_calc.c