Ui text: port widget to new interfaces
authorDaniel Hirt <hirt.danny@gmail.com>
Thu, 13 Sep 2018 09:45:29 +0000 (12:45 +0300)
committerYeongjong Lee <yj34.lee@samsung.com>
Thu, 8 Nov 2018 06:50:38 +0000 (15:50 +0900)
commit9d60c7bcbbd2df220525a8f321b60b428e7fb294
tree30c51249ac67e9723498b86fe086d9b0f37e8598
parente99656c63596ba5c683790e4abbd8664db2125c8
Ui text: port widget to new interfaces

This is a big rewrite. In addition to implementing functionality with
the new Efl interfaces, a lot of legacy (Elm) code was removed.

A lot of work is squashed in this patch as the widget would've been
completely broken otherwise.

The major changes are:

Life-cycle:
  - Code was split to have 'finalize'
  - Item anchors (emoticons, images) were rewritten to have proper
  life-cycle

Scrolling logic:
  - Efl.Ui.Internal_Text_Scroller widget was added, and replaces the old
  Elm.Interface_Scrollable implementation. Singe-line and multi-line
  modes were fixed as well as sizing calculations. The object is now
  swallowed inside the Ui.Text widget.

Copy and paste:
  - Code was converted to Efl.Selection logic.

Modified tests:
    elementary_test -to "efl.ui.text"
    elementary_test -to "efl.ui.text label"

Added tests:
    elementary_test -to "efl.ui.text inputfield"

Removed test:
    elementary_test -to "efl.ui.text.async"
data/elementary/themes/edc/efl/text.edc
src/bin/elementary/test.c
src/bin/elementary/test_efl_ui_text.c
src/lib/elementary/efl_ui_text.c
src/lib/elementary/efl_ui_text.eo
src/lib/elementary/efl_ui_text_factory_emoticons.c
src/lib/elementary/efl_ui_text_factory_fallback.c