JengHyun Kang [Tue, 16 Jan 2018 04:12:57 +0000 (13:12 +0900)]
ecore: support a Ecore_Device
Change-Id: I63ad58b537f804867acb77f9a530b7e02005dce2
SangHyeon Lee [Tue, 23 Jan 2018 04:52:27 +0000 (13:52 +0900)]
genlist: fix genlist unshown bug
Change-Id: Id2a0b7d1a3b5ca4c9aa7edde6de3e17d6ff7387f
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
SangHyeon Lee [Mon, 22 Jan 2018 13:34:16 +0000 (22:34 +0900)]
genlist: fix changed function exception handling
Change-Id: If1abca7ddb35e97cbd7bd459216e1ea4785e4419
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
Shinwoo Kim [Mon, 22 Jan 2018 13:14:26 +0000 (22:14 +0900)]
elm: Fix typo checking ecore_evas for efl_access_component_extents
Change-Id: I17a41fab0e93aeadba5fefefda156c04e05dc70c
Myoungwoon Roy, Kim [Mon, 22 Jan 2018 09:50:26 +0000 (18:50 +0900)]
ecore_main: Check for null ptr deref
This patch fixes a tentative crash owing to dereference of fd_handler.
Change-Id: I136473869f4babfec95039609609306a2feb4692
Youngbok Shin [Mon, 22 Jan 2018 11:51:18 +0000 (20:51 +0900)]
elementary config: Fix to use ELEMENTARY_BASE_DIR for configure path
I think it is a mistake from upstream authors.
A hard coded path, ".elementary", must be replcaed with ELEMENTARY_BASE_DIR macro.
I uploaded an upstream patch.
https://phab.enlightenment.org/D5755
@tizen_fix
JunsuChoi [Fri, 19 Jan 2018 08:02:10 +0000 (17:02 +0900)]
efl_ui_multibuttonentry : role changed ROLE_PANEL to ROLE_FILLER
Change-Id: I6adfdd066917b8a4880c4ddba4902e7599fd02f2
JunsuChoi [Thu, 18 Jan 2018 06:22:13 +0000 (15:22 +0900)]
atspi : remove warning and support HIGHLIGHTED state.
Change-Id: I193349d5909955a219f610b65e9d80c8505229f6
Jaehyun Cho [Mon, 22 Jan 2018 11:12:02 +0000 (20:12 +0900)]
ecore_evas: Fix typo
Fix typo of
ba2914b44b64c928fd3abf10b8604d5d4b136e2f
Change-Id: I5b92b15e65fb5f42d8998993a02efb06b3fa8fe0
SangHyeon Lee [Tue, 16 Jan 2018 07:45:00 +0000 (16:45 +0900)]
genlist & scrl_ifce : apply tizen only feature - pan_pos_adjust and align
@tizen_fix
Change-Id: Ib3f0ef814edc3f0c7c061c4db5b52ffc7aa0e113
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
SangHyeon Lee [Mon, 22 Jan 2018 09:59:45 +0000 (18:59 +0900)]
genlist: fix genlist extra ops
Change-Id: I12ae6ffd82cd3bf8a3932d75332d980b28fcd37a
SangHyeon Lee [Mon, 15 Jan 2018 06:25:34 +0000 (15:25 +0900)]
gengrid & scroll_ifce : update tizen only feature - custom_pan_pos, wanted_region
@tizen_fix
Change-Id: Ic51bfae912f1bcf34a285b23cee1c4e003a292b6
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
Myoungwoon Roy, Kim [Mon, 22 Jan 2018 05:44:09 +0000 (14:44 +0900)]
ecore_evas: Check for null ptr deref
This patch fixes a tentative crash owing to ptr deference.
Unlike ecore_evas_object_cursor_set and ecore_evas_object_cursor_device_set,
ecore_evas_cursor_set uses Ecore_Evas *ee before calling internal function which
internally checks null ptr dereference of Ecore_Evas *ee.
Change-Id: I555fc1e5c4c1c0ff3e6418996b7e144eb42f0b7f
Myoungwoon Roy, Kim [Mon, 22 Jan 2018 04:16:24 +0000 (13:16 +0900)]
ecore_anim: Check for null ptr deref
This patch fixes a tentative crash owing to null ptr dereference.
Change-Id: I2c7e618e319aff5323247d332b33738398875257
Woochan Lee [Mon, 22 Jan 2018 08:03:57 +0000 (17:03 +0900)]
elementary: Add missed type for legacy.
Summary:
We've been missed type of class name.
Add legacy class name to maintain compatibility.
Reviewers: jpeg, woohyun, Jaehyun_Cho
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D5749
Change-Id: I27cec817c0032fa068904213ae45c4f3fb0d490f
Wonki Kim [Mon, 22 Jan 2018 06:56:05 +0000 (15:56 +0900)]
Revert "[EXTN_GL] Add gl-backend in ecore_evas_extn"
This reverts commit
f755812ca929c0cd71dfa4071f9e8c4f9bdd2ab6.
JinYong Park [Mon, 22 Jan 2018 06:37:38 +0000 (15:37 +0900)]
ctxpopup: fix build warning
@tizen_fix
Change-Id: I2c6f67b25cf07e2a01208683cea7154a54413bae
Signed-off-by: JinYong Park <j4939.park@samsung.com>
Thiep Ha [Mon, 22 Jan 2018 07:20:19 +0000 (16:20 +0900)]
selection: remove elm_cnp.c
elm_cnp.c had been removed in upstream, but it is not removed in tizen.
It is a bug in migration.
Change-Id: I63cde8d1efa0b2b68c9366a615ab1c3321f2c12d
Youngbok Shin [Mon, 22 Jan 2018 06:29:35 +0000 (15:29 +0900)]
elementary: replace all HAVE_ELEMENTARY_WAYLAND to HAVE_ELEMENTARY_WL2
The WAYLAND macro was replaced with WL2 from upstream EFL.
The WAYLAND macro was used in Tizen only code. It should be replcaed with WL2, too.
@tizen_fix
Youngbok Shin [Mon, 22 Jan 2018 04:49:45 +0000 (13:49 +0900)]
edje, elementary: fix warning messages from Tizen only code
It fixes warning messages from the following widgets of elemenatry.
- elc_ctxpopup
- elc_popup
- elm_atspi_bridge
- elm_conform
- elm_widget
The authors who wrote the Tizen only code must revisit the widgets
to fix additional warning messages.
For next Tizen migration (6.0 or next?),
It must be considered as sepereated patches by seperated authors.
@tizen_fix
WooHyun Jung [Mon, 22 Jan 2018 01:53:20 +0000 (10:53 +0900)]
Revert "elementary: Add missed type for legacy."
This reverts commit
2e71f63b2e28ff6282454e71f971116a67156aa8.
Change-Id: I0cff4d48d409a95ac68d8f524ca51dee81529e8f
Jongmin Lee [Sun, 21 Jan 2018 23:14:23 +0000 (08:14 +0900)]
update Makefile.am of elementary-tizen for the consistency with elementary
Change-Id: Ib74b1d0ebb003a88b38ca93f24eedbeb49b24782
Wonki Kim [Mon, 27 Feb 2017 10:27:08 +0000 (19:27 +0900)]
interface_scrollable: Remove redundant code block
wanted-updates logics is paired working with wanted-set logic.
but there are coordinates mirroring logics on the both side.
It is useless to reverse value which is reversed.
@tizen_fix
Change-Id: If3909559def5280677116b2a00036875b54cbbd7
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
Wonki Kim [Wed, 8 Feb 2017 09:31:06 +0000 (18:31 +0900)]
interface_scrollable: update pan position once pan size is changed
Becase bar is closely related with pan and content,
we have to update bar position and size on some event
such as position or size of pan is changed or size of content is
changed.
However bar related things are not updated,
even if pan changed callback is invoked by pan related changing.
This behavior makes invalid drag value and wrong drag value makes
scroller had a bad position.
@tizen_fix
Change-Id: I7f013fd9a05a7f139548c4e05dd1dfc088af8b4e
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
Wonki Kim [Tue, 18 Jul 2017 11:15:21 +0000 (20:15 +0900)]
interface_scrollable: Add "content,resize" callback to keep backward compat
There was a "content,resize" callback before tizen 3.0.
Even if it was a tizen only code block, there could be a backward compat issue
without the callback.
This commit emits the callback after whole procedure for content resizing.finished.
@tizen_feature
Change-Id: I0eccf8ebc8c704e1403056c0078bd6625d612265
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
Wonki Kim [Thu, 18 Jan 2018 14:24:48 +0000 (23:24 +0900)]
interface_scrollable: Fix scroller to keep its page when changing lang
When mirrored mode is changed, scroller goes to the logical current page
by reverting the current wanted x position
However, that reverting logic doesn't take place when lang changed from rtl to ltr
This commit modifies mirrored_set api to keep its current page even if lang changed
@tizen_fix
Change-Id: I1fc75c796bac8644d1325b88b293ce09809e3025
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
Wonki Kim [Thu, 17 Nov 2016 06:05:57 +0000 (15:05 +0900)]
interface_scrollable: Modify logics to make scroller stable on tizen
This patch is for a tizen feature that makes scoller stable on tizen
@tizen_feature
Change-Id: I672ecf5f39c61facd1445a174d5061ddece96d16
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
Hosang Kim [Mon, 25 Apr 2016 09:34:02 +0000 (18:34 +0900)]
[genlist] enable item align feature for wearable profile
Change-Id: I76fc335ea8c33391f91190cbeadf9ee29de2ec96
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
Wonki Kim [Thu, 18 Jan 2018 08:20:34 +0000 (17:20 +0900)]
Add overscroll effect
Change-Id: I064f44166ee0ebcf8c7cd06a0fa389946f41531e
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
Wonki Kim [Wed, 17 Jan 2018 11:13:48 +0000 (20:13 +0900)]
elm_plug: Add plug message feature
Change-Id: I453905c5b46311c38eb8ab0972f654ac820c5671
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
Woochan Lee [Fri, 19 Jan 2018 07:51:59 +0000 (16:51 +0900)]
elementary: Add missed type for legacy.
Summary:
We've been missed type of class name.
Add legacy class name to maintain compatibility.
Reviewers: jpeg, woohyun, Jaehyun_Cho
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D5749
Change-Id: I69146f9427b55fd7dd91b30bee4017cb13fd36c2
JunsuChoi [Fri, 19 Jan 2018 05:12:44 +0000 (14:12 +0900)]
elm_genlist : Synchronize accessibility code(2)
add children_get function to get contents of item.
+
------------------------------------------------------
[ATSPI][elm_genlist] Remove ", header" from the atspi name.
Remove the code to add ", header" to name when genlist's item is group type.
"header" read out screen reader side.
------------------------------------------------------
Change-Id: I6669c72a49a3967831796e39142ce03fd25cd9cb
JunsuChoi [Fri, 19 Jan 2018 03:43:09 +0000 (12:43 +0900)]
Revert "elm_genlist : Synchronize accessibility code"
This reverts commit
90f49b488631efd317c6f8981b1163a836f5bfe2.
Change-Id: I8c664efdb4849855329f9b7ca046041ab5c5dd7f
sunghyun kim [Wed, 17 Jan 2018 10:07:30 +0000 (19:07 +0900)]
[EXTN_GL] Add gl-backend in ecore_evas_extn
- it is base on tizen-remote-surface
- it can be enabled using environment value
(ex) ECORE_EVAS_EXTN_SOCKET_ENGINE=wayland_egl
Change-Id: I621dd669025061973a77e9685e2b1c86bf4ddffa
Daekwang Ryu [Thu, 18 Jan 2018 02:44:19 +0000 (11:44 +0900)]
efl_ui_win: add window configuring feature on WL
Change-Id: Ifb354a0f3b31fa748fbac9ef08395108e6106963
JunsuChoi [Thu, 18 Jan 2018 12:08:58 +0000 (21:08 +0900)]
elm_genlist : Synchronize accessibility code
Remove code related to name_get for old ux
and add children_get function to get contents of item.
Change-Id: I109efb44f781c9ebd6171eb666daa49590387f1f
Myoungwoon Roy, Kim [Wed, 17 Jan 2018 23:53:25 +0000 (08:53 +0900)]
mark deprecated APIs with EINA_DEPRECATED
========================================================
mark deprecated APIs with EINA_DEPRECATED
Signed-Off-By: Jee-Yong Um <jc9.um@samsung.com>
Change-Id: I1a68481e9fcfaaa361ffc71a127aef477c318020
Original commit:
46a5b2ef0eaa665ae6ea1deb25c29d9f15428dc8
=========================================================
Change-Id: Ie303613f29122518175641049aceb8b1edafbcd2
Myoungwoon Roy, Kim [Wed, 17 Jan 2018 06:47:54 +0000 (15:47 +0900)]
slider: fix slider for tizen 3.0 GUI guide, elm_prefs: add @internal
=====================================================
slider: fix slider for tizen 3.0 GUI guide.
- deleted unnecessary vector objects.
- change slider indicator initial value.
Signed-off-by: Hosang Kim <hosang12.kim@samsung.com>
Change-Id: Ib05f483e2d3f362294bed5ab280327bd27022d76
Original commit:
07fb895f70cc65d4ec3681fdc12fe9f739cf76f5
=========================================================
elm_prefs: add @internal to defgroup not to show in document
Signed-Off-By: Jee-Yong Um <jc9.um@samsung.com>
Change-Id: Id68f0880657284cfbc8a80ccfafd7793690dabf0
Original commit:
c616c666a14f326cdb193b3ec6a3cab2fcc27382
=========================================================
Change-Id: I8fd1e776ee3305d4c67e856b362e177ead714470
Youngbok Shin [Thu, 18 Jan 2018 11:55:04 +0000 (20:55 +0900)]
elementary_tizen genlist: apply Tizen's color_class feature
@tizen_feature
Youngbok Shin [Thu, 18 Jan 2018 10:02:56 +0000 (19:02 +0900)]
elementary entry: Do not send anchor clicked when long pressed
@tizen_fix
Myoungwoon Roy, Kim [Wed, 17 Jan 2018 05:30:21 +0000 (14:30 +0900)]
elm_win: fix precreated window logic.
=====================================================================
elm_win: fix precreated window logic.
Even though window's type is different, window precreation should be
supported.
@tizen_fix
Signed-off-by: Hosang Kim <hosang12.kim@samsung.com>
Change-Id: I9b020971f3ce9885540dfd02e5b03165186b59e8
=====================================================================
Original commit:
6c0c2d78a8e514536884008ba74f767d1c8ea1ea
Change-Id: I3c5f2810a03b77d74f0282ee8328e6e5e61cf3be
Thiep Ha [Thu, 18 Jan 2018 06:44:23 +0000 (15:44 +0900)]
copypaste: add copypasteUI module to elementary
This migrates the copypasteUI.
Change-Id: Ic85b221e76595136d411b18e59a6a17c06319518
Woochan Lee [Thu, 18 Jan 2018 07:22:12 +0000 (16:22 +0900)]
efl_ui_clock: Disabled Mirroring.
This is following tizen UX.
Change-Id: Iee0033605ad2f28d3442b5d39690424e7830dbc7
Woochan Lee [Thu, 18 Jan 2018 07:34:31 +0000 (16:34 +0900)]
index: Add tizen only feature to support mobile UX.
@tizen_feature
Change-Id: I0010bb09abf13845bd8da86f93ad979f213054de
Woochan Lee [Thu, 18 Jan 2018 06:34:27 +0000 (15:34 +0900)]
calendar: Disabled Mirror feature.
This is not tizen UX.
Change-Id: I38ff97002e129dc6dbf240cfba761bb1136e4b0e
Woochan Lee [Thu, 18 Jan 2018 06:44:32 +0000 (15:44 +0900)]
Datetime: Prevent null pointer reference.
When _elm_datetime_items_get() calling with only time format after datetime creation.
The location has been swapped. so some of sorted_field index address gets a invalid
address. then it makes a crash.
@tizen_fix
Change-Id: I8e073237793d6af46a726be6cd51827f14c15661
Youngbok Shin [Thu, 18 Jan 2018 07:42:06 +0000 (16:42 +0900)]
elementary entry/widget: Fix entry size/cursor/region calculation for Tizen UX
@tizen_fix
Youngbok Shin [Thu, 18 Jan 2018 06:42:27 +0000 (15:42 +0900)]
entry: Fix elm_entry_entry_get to return utf8 plain text when password mode is enabled
It was Tizen Only feature in Tizen 2.3.
@tizen_fix
Youngbok Shin [Thu, 18 Jan 2018 06:26:55 +0000 (15:26 +0900)]
entry: Show/Hide guide text immediately
@tizen_fix
Woochan Lee [Tue, 16 Jan 2018 07:54:09 +0000 (16:54 +0900)]
elm_calendar: Add Tizen Only features.
Using ICU, Add focused UI
Change-Id: I5de70fe4b7625eb792abaa9b96ac52070121cd94
Woochan Lee [Wed, 17 Jan 2018 04:36:30 +0000 (13:36 +0900)]
efl_ui_multibuttonentry: Add tizen only features.
Change-Id: Ie21710f46f2c5faff3cb8d0306eb404f5f26f3db
Woochan Lee [Tue, 16 Jan 2018 10:26:52 +0000 (19:26 +0900)]
efl_ui_clock(elm_datetime): Add tizen only features.
Change-Id: Ia989437f9ec17dbc48671aa5d251c0685b0ed42f
Woochan Lee [Mon, 15 Jan 2018 12:23:49 +0000 (21:23 +0900)]
elm_spinner: Add Tizen_Only features.
It's for supporting Tizen UX, and compatibility.
Change-Id: Ide9913926b6204c944618a791d032d40ca702734
Youngbok Shin [Thu, 18 Jan 2018 05:44:43 +0000 (14:44 +0900)]
elementary label: add missing code for style user push/pop/peek patch
@tizen_fix
Youngbok Shin [Thu, 18 Jan 2018 05:38:51 +0000 (14:38 +0900)]
elementary layout: add internal APIs for handling a part's alignment
It is added for C# requirements.
@tizen_feature
Youngbok Shin [Thu, 18 Jan 2018 05:32:37 +0000 (14:32 +0900)]
elementary: Apply paragraph direction according to locale
It checks the direction of current system locale by
getting internally predefined keyword "default:LTR" and "default:RTL".
@tizen_feature
Youngbok Shin [Thu, 18 Jan 2018 05:10:24 +0000 (14:10 +0900)]
elementary: fix EFL_UI_WIDGET_EXTRA_OPS redefined issue caused by color class patches
@tizen_fix
JunsuChoi [Thu, 18 Jan 2018 04:14:51 +0000 (13:14 +0900)]
atspi: remove build warning for efl_access interface
Change-Id: Ie3ba859053d0bfe42e7327ce9c014cd720512622
Youngbok Shin [Thu, 18 Jan 2018 05:00:58 +0000 (14:00 +0900)]
elementary: Override Paragraph Direction APIs
@tizen_feature
Myoungwoon Roy, Kim [Wed, 17 Jan 2018 02:47:18 +0000 (11:47 +0900)]
Default theme: remove wrong targets from program.
Some of styles contain STATE_SET programs, that try to switch part into
non existents description. For desctop application, such as Enventor and
Eflete this make launch and work slow.
This commit fix this situation by removing wrong targets or add missed
states into target parts.
Change-Id: Ia9f51afaa096cadff363d7ea28d40059b5be04a2
Signed-off-by: Mykyta Biliavskyi <m.biliavskyi@samsung.com>
Original commit:
c214b769d8d83bd222447f39e150fdcbed5fac11
Change-Id: I2971c3c80c51b7949f69622601a427d3a6d8d1ab
JinYong Park [Thu, 18 Jan 2018 02:20:45 +0000 (11:20 +0900)]
ctxpopup: fix unintentional item style change
When ctxpopup set style, show, set horizontal, change item's text,
item change style to smae with ctxpopup although it has its own style.
@tizen_fix
original patch : https://review.tizen.org/gerrit/#/c/166589/
Change-Id: I8bdafd1adf34ca3b621925065144dbfb921b01a7
Signed-off-by: JinYong Park <j4939.park@samsung.com>
JinYong Park [Thu, 18 Jan 2018 02:12:00 +0000 (11:12 +0900)]
ctxpopup: add animation signal emit after sizing eval.
In some case, sizing eval calculate new ctxpopup direction,
but animation signal doesn't be emitted.
For example, move ctxpopup after show is called.
@tizen_fix
original patch : https://review.tizen.org/gerrit/#/c/166635/
Change-Id: I6b65a035ab8be6b84e70cd013ee20d2d360ff932
Signed-off-by: JinYong Park <j4939.park@samsung.com>
JinYong Park [Wed, 17 Jan 2018 07:33:17 +0000 (16:33 +0900)]
ctxpopup: remove deleted api, change old api to new api
deleted api like focus_cycle produce error, so wrap it in comments
old api like eo_add, atspi produce error too, so it change to new api
Change-Id: I7d20c107e10ab65b09b95037dfac1a95cfff32c5
Signed-off-by: JinYong Park <j4939.park@samsung.com>
Sungtaek Hong [Wed, 17 Jan 2018 04:39:52 +0000 (13:39 +0900)]
elm_tooltip: set theme group to NULL
Summary:
Even though elm_tooltip does not support EO API, for now,
Efl.Ui.Widget will support elm_tooltip-like feature.
This change group name compatible with new group name policy.
Reviewers: jpeg, woohyun, herdsman, zmike
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D5739
Sungtaek Hong [Wed, 17 Jan 2018 04:39:33 +0000 (13:39 +0900)]
elm_datetime: use legacy elm_button
Summary:
elm_datetime and Efl.Ui.Clock uses same module: clock_input_ctxpopup.
The module creates internal field object.
Use legay button for field object until Efl.Clock and datetime module
policy is fixed.
Reviewers: jpeg, CHAN, woohyun
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D5725
Jean-Philippe Andre [Tue, 16 Jan 2018 13:36:04 +0000 (22:36 +0900)]
panes: Expose parts in EO file
YeongJong Lee [Wed, 17 Jan 2018 03:51:31 +0000 (12:51 +0900)]
efl_animation: fix typo
Test Plan: make
Reviewers: Jaehyun_Cho
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D5746
Thiep Ha [Wed, 17 Jan 2018 00:22:13 +0000 (09:22 +0900)]
selection: delete callbacks when the manager is deleted
If the selection manager is deleted before the drop objects
are deleted, we need to remove callbacks in its destructor.
Thank @herdsman for reporting this.
Marcel Hollerbach [Tue, 16 Jan 2018 22:12:04 +0000 (23:12 +0100)]
efl_ui_focus_manager: fix infinit loop in enlightenment wizard
we unsetted and setted focus_manager once too often, so we ended up in a
infinite loop. This should be fixed now. Sorry Derek!
Yeongjong Lee [Tue, 16 Jan 2018 20:17:11 +0000 (21:17 +0100)]
efl_ui_focus: merge efl_ui_focus_user and efl_ui_focus_object into one mixin
Summary:
focus_user and focus_object are similar classes. by merging them into
one mixin, we can maintain consistency.
Test Plan: make check
Reviewers: bu5hm4n
Subscribers: cedric, Jaehyun_Cho, woohyun, jpeg
Differential Revision: https://phab.enlightenment.org/D5734
Dave Andreoli [Tue, 16 Jan 2018 19:53:20 +0000 (20:53 +0100)]
Pyolian: fix and tests for recent changes
q66: please leave the pyolian updating work to me,
it's harder for me to fix wrong stuff instead of just
implement myself ;)
Cedric BAIL [Tue, 16 Jan 2018 17:35:43 +0000 (09:35 -0800)]
eina: make updating rectangle cache thread safe.
Daniel Kolesa [Tue, 16 Jan 2018 15:36:45 +0000 (16:36 +0100)]
eolian: do not require unit when stringifying types
As it is no longer necessary to pass unit when evaluating exprs,
it is not necessary to pass it here either. Convert all the APIs
to the new style and update all instances in our tree.
Daniel Kolesa [Tue, 16 Jan 2018 15:10:43 +0000 (16:10 +0100)]
eolian: do not require unit for expr eval APIs
The necessary information is now stored directly in the expr
during database validation.
Also enable expr validation for params.
Daniel Kolesa [Tue, 16 Jan 2018 14:50:58 +0000 (15:50 +0100)]
eolian: cache enum expr in the database
Daniel Kolesa [Tue, 16 Jan 2018 14:30:58 +0000 (15:30 +0100)]
eolian: expose _eval_type to internals
Jean-Philippe Andre [Tue, 16 Jan 2018 13:04:21 +0000 (22:04 +0900)]
examples: Show off usage of "background" part
See bg_cxx_example_01
Jean-Philippe Andre [Tue, 16 Jan 2018 13:04:10 +0000 (22:04 +0900)]
widget: Expose "background" part (for bindings)
Jean-Philippe Andre [Tue, 16 Jan 2018 13:03:49 +0000 (22:03 +0900)]
cxx: Remove elm_widget.h from Elementary.hh
It's internal.
Jean-Philippe Andre [Tue, 16 Jan 2018 11:36:11 +0000 (20:36 +0900)]
selection: Fix two remaining warnings
Jean-Philippe Andre [Tue, 16 Jan 2018 11:34:48 +0000 (20:34 +0900)]
animation: Fix some warnings including a real one
Real issue here:
.../efl_animation_group.c:120:40: warning: for loop has empty body [-Wempty-body]
EINA_LIST_FREE(pd->animations, anim);
Sungtaek Hong [Tue, 16 Jan 2018 11:31:15 +0000 (20:31 +0900)]
efl_playable: split Efl.Player interface to Efl.Playable interface
Summary:
Efl.Player interface simply provides play functions,
but another interface which indicates Efl.Player will play is also
needed.
Test Plan: Run elementary_test->Efl.Animation tests
Reviewers: woohyun, conr2d, Jaehyun_Cho, jpeg, cedric
Differential Revision: https://phab.enlightenment.org/D5662
Amitesh Singh [Tue, 16 Jan 2018 11:35:28 +0000 (20:35 +0900)]
Efl.Ui.Progressbar: Add Efl.Ui.Translatable/Markable too.
it was missed in previous patch.
Amitesh Singh [Tue, 16 Jan 2018 11:09:54 +0000 (20:09 +0900)]
Efl.Ui.Progressbar: Add missing Efl.Text/Content
Jean-Philippe Andre [Tue, 16 Jan 2018 10:48:49 +0000 (19:48 +0900)]
eo: Fix make check
The cache had a generation count, removing this check breaks eo suite.
EO is designed to tolerate init/shutdown cycles (as long as
dlopen/dlclose isn't involved).
Note: the ugly goto are useless as GCC -O2 understands EINA_(UN)LIKELY
and deals with it as expected (just look at the asm produced).
See
34d9f2070696027199a56cb621c0526ea1430e8f
Jean-Philippe Andre [Tue, 16 Jan 2018 09:32:15 +0000 (18:32 +0900)]
eo: Remove unused goto label
Jean-Philippe Andre [Tue, 16 Jan 2018 09:21:48 +0000 (18:21 +0900)]
edje: Add beta event when an invalid part is used
This can be used for debugging, by listening to
EFL_LAYOUT_EVENT_PART_INVALID
Or just use
EINA_LOG_LEVELS=edje:2
if you just need the logs.
Jean-Philippe Andre [Tue, 16 Jan 2018 09:10:30 +0000 (18:10 +0900)]
panes: Fix invalid part name in layout recalc
Jean-Philippe Andre [Tue, 16 Jan 2018 09:10:00 +0000 (18:10 +0900)]
code widget: Fix order of operations
super functions, when creating stuff, should be called first.
Jean-Philippe Andre [Tue, 16 Jan 2018 07:02:33 +0000 (16:02 +0900)]
edje: add invalid part handler
Jean-Philippe Andre [Tue, 16 Jan 2018 06:12:49 +0000 (15:12 +0900)]
ecore/edje/elm: Fix a few WRN from calls to NULL
This fixes some of the warnings generated by calling functions on NULL
objects. One of the main remaining points is to avoid unwanted warnings
on non-existing parts.
Ref T6326
Jean-Philippe Andre [Tue, 16 Jan 2018 06:11:44 +0000 (15:11 +0900)]
eo: Warn on calls to NULL object
This makes eo print a WRN message in case a function is called on NULL.
efl_del is an exception to this rule (implemented in a hackish way, I
admit). I don't know any language or object model where using a null
object doesn't result in an exception or crash, except EO. In any case,
calls to null are invalid.
The next commits will resolve most warnings for EFL.
Ref T6326
Jean-Philippe Andre [Mon, 15 Jan 2018 11:16:22 +0000 (20:16 +0900)]
evas: Remove stupid warning
Jean-Philippe Andre [Mon, 15 Jan 2018 08:27:10 +0000 (17:27 +0900)]
edje: Add property "part_exist"
This allows to safely verify if a part exists, without triggering any
potential call to NULL object, or even requiring the efl_part() handle
to be created.
This is perfectly equivalent to edje_object_part_exists(), but
implemented by both edje object and elm layout.
Jean-Philippe Andre [Tue, 16 Jan 2018 03:26:28 +0000 (12:26 +0900)]
selection: Disable debug logs
selection's namespacing still requires some love
Carsten Haitzler (Rasterman) [Tue, 16 Jan 2018 08:48:16 +0000 (17:48 +0900)]
elm genlist test - don't overflow test time nanoseconds if system slow
with a long enough test or slow enough machine these do overflow so
force everything to unsigned long long's for genlist test performance
measuring.
Jean Guyomarc'h [Tue, 16 Jan 2018 05:58:38 +0000 (14:58 +0900)]
eina: remove usless newline
Summary:
ecore_evas: remove debug
eina: unregister log level when done with
Fixes a constant memory leak.
eina: introduce EINA_HOT and EINA_COLD
These attributes respectivelly expand to __attribute__ ((hot)) and
__attribute__ ((cold)) when available. They allow to mark functions are
being hot/cold (frequently used or not) as well as to qualify labels
within a function (likely/unlikely branches).
eo: speed-up generated calls by removing call cache
The call cache needed to by thread-local, to avoid concurrency issues.
Problem with TLS is that is adds an extra overhead, which appears to be
greater than the optimization the cache provides.
Op is naturally atomic, because it is an unsigned integer. As such, it
cannot be tempered with while another thread is reading it. When
entering the generated function, the first operation done is reading
'op'. If we have concurrency, we will have access sequences returning
either EFL_NOOP or a VALID op, because 'op' is not set until the very
end of the function, when everything has been computed. As such, we now
use the 'op' atomic integer to instore a lock-free/wait-free mechanism,
which allows to drop the TLS nature of the cache, speeding up the access
to the cache, and therefore making functions execute faster.
We don't test anymore the generation count. This can be put as a
limitation. If means that if you call efl_object_shutdown() and
re-initialize it later with different data, opcodes will be invalid.
I am not sure there is any usecase for this to ever happen.
We could move all the caches in a dedicated section, that can be
overwritten after a call to efl_object_shutdown(), but I am not sure it
will be very portable.
Benchmark: mean over 3 executions of
ELM_TEST_AUTOBOUNCE=100 time elementary_test -to genlist
```
BEFORE AFTER
------------------------------------------------------------
time (ns)
11114111647.0
9147676220.0
frames 2872.
3333333333335 2904.
6666666666665
time per frame (ns) 3869364.
6666666665 3149535.
3333333335
user time (s) 11.
096666666666666 9.22
cpu (%) 22.
666666666666668 18.
333333333333332
```
Ref T6580
Reviewers: raster, cedric
Subscribers: cedric, jpeg
Maniphest Tasks: T6580
Differential Revision: https://phab.enlightenment.org/D5738
Thiep Ha [Tue, 16 Jan 2018 07:33:30 +0000 (16:33 +0900)]
selection_dnd: fix warnings in clang
Fix warnings about type convert and vars init in clang and remove comments.
Jaeun Choi [Tue, 16 Jan 2018 05:57:38 +0000 (14:57 +0900)]
elm_panel: add exception handling in _drawer_close()
this fixes a bug with scrollable panel not being blocked
when it is closed. scroll is blocked in _anim_stop_cb()
which is called after elm_interface_scrollable_region_bring_in().
but if panel content is already at the target position, _anim_stop_cb()
is not called. so there is a need to check content's position and
handle the exceptional case.
Jaeun Choi [Tue, 16 Jan 2018 05:48:11 +0000 (14:48 +0900)]
Revert "elm_panel: add exception handling in _drawer_close()"
This reverts commit
2acfc3e381dc4fc87e3249b0f63f1ba5e0d1c2de.