edje: support legacy Textblock calculation logic for 1.18 edje file
authorYoungbok Shin <youngb.shin@samsung.com>
Tue, 4 Jul 2017 04:53:59 +0000 (13:53 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Tue, 4 Jul 2017 05:13:13 +0000 (14:13 +0900)
commit0735f6aa612476a9f126747269cb3761b9e9aeba
tree148d1e1010341010fcd531bc3418c4a5e1b052c8
parenta4b79fdbe16e1495c187dc4f9da99924cf51e539
edje: support legacy Textblock calculation logic for 1.18 edje file

Summary:
From EFL 1.19, Edje Textblock calculation logic was fixed according to
Edje documents. But, it broke old edje files which ignored text.min
option for minimum width. Even if the old edje files were wrong,
we need to support them as discussed from T5548.

Also, this patch will change default efl_version to 1.18 from 1.19.
So, without efl_version property, edje file will run on the legacy logic.

Fixes T5548

Test Plan: Turn on/off presentation mode in Enlightenment.

Reviewers: herdsman, cedric, jpeg, zmike, raster

Subscribers: stefan_schmidt

Maniphest Tasks: T5548

Differential Revision: https://phab.enlightenment.org/D4967

Adjusted by @jpeg
src/bin/edje/edje_cc.c
src/bin/edje/edje_cc_handlers.c
src/bin/edje/edje_cc_out.c
src/lib/edje/edje_cache.c
src/lib/edje/edje_calc.c
src/lib/edje/edje_private.h
src/lib/edje/edje_util.c