platform/upstream/elementary.git
7 years agoslider: fix memory corruption issue 31/125731/1
Hosang Kim [Tue, 18 Apr 2017 08:23:07 +0000 (17:23 +0900)]
slider: fix memory corruption issue

It caused crash issues when tizen_vector tries to delete
uninitialized addresses.

@tizen_fix

Change-Id: I801471d387f84fc80cc28a67af58a93434872dc7
(cherry picked from commit 47dce7be68344698397dc61ffa4816111464ec42)

7 years agoctxpopup: add color_class parent-child relationship 16/125316/5
JinYong Park [Mon, 17 Apr 2017 01:01:08 +0000 (10:01 +0900)]
ctxpopup: add color_class parent-child relationship

Change-Id: I610e066db811d261843ac9802d746b70b89c160b
Signed-off-by: Jinyong Park <j4939.park@samsung.com>
7 years agoctxpopup: fix size calc problem when base part size same with list 99/124999/2
JinYong Park [Thu, 13 Apr 2017 09:14:37 +0000 (18:14 +0900)]
ctxpopup: fix size calc problem when base part size same with list

Change-Id: I3f0bff89ebb5b464fba218bd7c3b267b7bcec181
Signed-off-by: Jinyong Park <j4939.park@samsung.com>
7 years agoatspi: Make atspi,(un)highlighted callback work on widget item. 21/125521/2 accepted/tizen/unified/20170419.163227 submit/tizen/20170418.072937 submit/tizen/20170418.085103
Shinwoo Kim [Wed, 12 Apr 2017 11:03:05 +0000 (20:03 +0900)]
atspi: Make atspi,(un)highlighted callback work on widget item.

The atspi,(un)highlighted callback works only on the widget so far.

Change-Id: Id09aa5be251eb93e145483b8473ad6e12b3dcacc

7 years agoentry: init eldbus before using eldbus 23/125523/2
Shinwoo Kim [Mon, 17 Apr 2017 10:21:24 +0000 (19:21 +0900)]
entry: init eldbus before using eldbus

It is possilbe to make dbus connection without eldbus_init.
In this case it is possilbe to make UNWANTED eldbus_shutdown work.
If a connection remains while eldbus_shutdown, then the eldbus complains with
CRItical message causing abort.

Change-Id: I11c341e896242074c00290dee25ffc32a0c6dc6b

7 years agoatspi: Expose API for both Mobile and Wearable 22/125522/2
Shinwoo Kim [Mon, 17 Apr 2017 02:35:13 +0000 (11:35 +0900)]
atspi: Expose API for both Mobile and Wearable

The exposed API could be used both profile Mobile and Wearable.

Change-Id: I6e61daf3c67a37239681ba6c36ccecad0ee54a6e

7 years agoatspi: Add and expose API 15/125515/1
Shinwoo Kim [Fri, 14 Apr 2017 04:14:15 +0000 (13:14 +0900)]
atspi: Add and expose API

[add]
- elm_object_part_access_register

[expose]
- elm_object_part_access_object_get
- elm_access_object_register
- elm_access_object_unregister
- elm_access_object_get
- elm_atspi_bridge_utils_say
- elm_atspi_accessible_name_cb_set
- elm_atspi_accessible_description_cb_set
- elm_atspi_accessible_attribute_append
- elm_atspi_accessible_reading_info_type_set
- elm_atspi_accessible_reading_info_type_get
- elm_atspi_accessible_gesture_cb_set
- elm_atspi_accessible_can_highlight_set
- elm_atspi_accessible_can_highlight_get
- elm_atspi_component_highlight_grab
- elm_atspi_component_highlight_clear

Change-Id: Id9cf551a18cb2362081cd4058950c2adf6152424

7 years agomain: Handle exception calling elm_shutdown without elm_exit 14/125514/1
Shinwoo Kim [Thu, 13 Apr 2017 11:50:51 +0000 (20:50 +0900)]
main: Handle exception calling elm_shutdown without elm_exit

elm_shutdown could be called without elm_exit.
In this case, the dbus connection created in elm_run is not disconnected.
Then eldbus complains with CRItical log message.

Change-Id: I20fdd1730a764301d297470de7cfa32173f8504c

7 years agoatspi: Add Elm_Atspi_Reading_Info_Type_Mask 13/125513/1
Shinwoo Kim [Thu, 6 Apr 2017 05:21:30 +0000 (14:21 +0900)]
atspi: Add Elm_Atspi_Reading_Info_Type_Mask

The elm_atspi_accessible_reading_info_type_set could get result value of bitwise
operation. If the elm_atspi_accessible_reading_info_type_set allows only enum
Elm_Accessible_Reading_Info_type, then g++ complains with following error:

invalid conversion from 'int' to 'Elm_Accessible_Reading_Info_Type' [-fpermissive]

So the elm_atspi_accessible_reading_info_type_set should change its parameter
from Elm_Accessible_Reading_Info_Type to Elm_Atspi_Reading_Info_Type_Mask.
The Elm_Atspi_Reading_Info_Type_Mask is unsigned int type.

Change-Id: I21cee619919e071a66d15840632f972b1e89c58e

7 years agoaccess: call "access,activated" smart callback 12/125512/1
Shinwoo Kim [Wed, 5 Apr 2017 10:30:15 +0000 (19:30 +0900)]
access: call "access,activated" smart callback

The "access,activated" smart callback is called when "Activate the selected item"
gesture occurs.

Application could do the activation action using elm_access_action_cb_set.
But we recommend not to use elm_access_action_cb_set for this purpose on atspi
environment. And this would be usual widget behavior as elm_button does.
Moreover we had provided this before Tizen 2.4.

Change-Id: I7371a9c0718079d30fb287f6936e95e745e7eda6

7 years agoatspi: add gesture method to accessible interface 10/125510/1
Shinwoo Kim [Tue, 7 Feb 2017 12:21:11 +0000 (21:21 +0900)]
atspi: add gesture method to accessible interface

Screen reader asks application first if application want to consume gesture event.
If application returns FALSE, it means that application does NOT want to consume gesture event.
This works with https://review.tizen.org/gerrit/#/c/113438/

Change-Id: I8a03c68b2d727820a1fd12dabbad6df1c3b9a6d3

7 years agoctxpopup: add focus set to fix ctxpopup couldn't get focus 87/124687/3
JinYong Park [Wed, 12 Apr 2017 06:19:43 +0000 (15:19 +0900)]
ctxpopup: add focus set to fix ctxpopup couldn't get focus

Change-Id: I365b6a9f38d78750b425cbc253e1988e6082d33f
Signed-off-by: Jinyong Park <j4939.park@samsung.com>
7 years agoRevert "[atspi] add check to highlighted object when called highlight_grab" 50/125250/1
junsu choi [Fri, 14 Apr 2017 08:19:03 +0000 (01:19 -0700)]
Revert "[atspi] add check to highlighted object when called highlight_grab"

This reverts commit 70e5f45194e82668c4cff0c4d20d7decb6371cc1.

Change-Id: I85bb8ccbbe4d126dbdcad72edabfcdccc8388f7e

7 years ago[atspi] add check to highlighted object when called highlight_grab 29/125229/2
JunsuChoi [Fri, 14 Apr 2017 07:40:27 +0000 (16:40 +0900)]
[atspi] add check to highlighted object when called highlight_grab

   When the application calls highlight_grab, highlight_clear
   callback of highlighted object is not called.
   So check highlighted object and call highlight_clear function.

Change-Id: I32e287b673174a56882b46999959d06127c90a57

7 years ago[atspi][popup] Add text of elm.text to accessible_name_get. 54/125154/1 submit/tizen/20170414.060354
JunsuChoi [Fri, 14 Apr 2017 04:30:27 +0000 (13:30 +0900)]
[atspi][popup] Add text of elm.text to accessible_name_get.

   Add text of elm.text to accessible_name_get
   Because to support styles such as toast using elm.text

Change-Id: I6f6edf5e218f3d81aeb64aef5e540ce679c1a2f9

7 years agogenlist: add elm_win_auto_focus_enable check in focus highlight signal emit 53/124653/2 submit/tizen/20170413.080524
SangHyeon Lee [Wed, 12 Apr 2017 05:14:15 +0000 (14:14 +0900)]
genlist: add elm_win_auto_focus_enable check in focus highlight signal emit

Change-Id: Idcf3786e9f30e33bc66dbeef971c05f335a1d9e6
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
7 years agotizen_util: support for runtime tizen profile configurability 53/124253/4
Jongmin Lee [Tue, 11 Apr 2017 03:23:06 +0000 (12:23 +0900)]
tizen_util: support for runtime tizen profile configurability

Change-Id: I32c2fa22ae86286a2af1223291d334c150eeb54f

7 years agobuild: Change policy for elementary-mobile from replacement to add-on 64/123364/3
Jeeyong Um [Wed, 5 Apr 2017 09:03:40 +0000 (18:03 +0900)]
build: Change policy for elementary-mobile from replacement to add-on

Signed-Off-By: Jeeyong Um <jc9.um@samsung.com>
Change-Id: Id60028fc796f3a7b746ff4da24433adc313c6b3f

7 years ago[atspi][elm_popup] Ignore text from elm_object_text_set in accessible_name_get 88/123888/3
JunsuChoi [Tue, 10 Jan 2017 05:10:08 +0000 (14:10 +0900)]
[atspi][elm_popup] Ignore text from elm_object_text_set in accessible_name_get

   Because of screen-reader need to read title
   when object have dialog role(popup), but object_text_get gets
   the body text. So, if user do not set accessible name in the popup,
   elc_popup should return title.

   @tizen_only

Change-Id: Iec9ce0d78203aeba5fdd0fd2e0f15891cc242730

7 years ago[elm_popup][atspi] expose part-text as at-spi object 87/123887/2
JunsuChoi [Tue, 14 Mar 2017 09:13:43 +0000 (18:13 +0900)]
[elm_popup][atspi] expose part-text as at-spi object

   Create an access object for the popup's elm.text. by default.
   Because Application user can not access the edje object in elm.text.
   Therefore, they can not create an access object for elm.text part.

Change-Id: Ie79cc9ee9e3a96529f3760159856563ca5216dca

7 years agonotify: prevent hide or dismiss call during hididing 81/124481/2
JinYong Park [Tue, 11 Apr 2017 10:33:46 +0000 (19:33 +0900)]
notify: prevent hide or dismiss call during hididing

+ for duplicated hide event, if dismiss is called, remove timer

Change-Id: I5d749e63744cb5f96869428c576e131dfbee6df1
Signed-off-by: Jinyong Park <j4939.park@samsung.com>
7 years agoctxpopup: add two flags set value for show again after dismiss 47/124147/2
JinYong Park [Mon, 10 Apr 2017 09:51:22 +0000 (18:51 +0900)]
ctxpopup: add two flags set value for show again after dismiss

In case of first show, there flag value is initialized,
so show_signals_emit could be called normally.
But dismiss ctxpopup and show again, that two value is set other value
by dismiss function, so show_signals_emit is blocked

Change-Id: I734c17fc9168a3f584513b47ea596fa38aacc70b
Signed-off-by: Jinyong Park <j4939.park@samsung.com>
7 years agogenlist: fix atspi action get return proper return types 74/124274/2
SangHyeon Lee [Tue, 11 Apr 2017 04:35:05 +0000 (13:35 +0900)]
genlist: fix atspi action get return proper return types

Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
Change-Id: Ie17722374236241ec4cb21713f05c681c73cf634

7 years agointerface_scrollable: Fix scroller to keep its page when changing lang 21/124421/1
Wonki Kim [Sat, 4 Mar 2017 12:19:19 +0000 (21:19 +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.

Change-Id: I335a8829e93e4b0580dc172bc196d0f657773c6a
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
7 years agointerface_scrollable: modify mirror logic consistently 19/124419/1
Wonki Kim [Mon, 6 Mar 2017 03:18:38 +0000 (12:18 +0900)]
interface_scrollable: modify mirror logic consistently

Current logic inconsistently handles 'wanted coord' as both reversed or not.
That cause scroller unstable in complicated situation.

This commit modify mirror logic consistently and also
replace the same commit that is already merged but has no commit message.
(https://review.tizen.org/gerrit/#/c/104185/)

@tizen_fix

Change-Id: I1cdb6cb483d99d2f1926ac97381f4aa60c3d68ba
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
7 years agoRevert "interface_scrollable: modify position mirror logic to support mirrored ui" 17/124417/1
Wonki Kim [Mon, 6 Mar 2017 03:16:06 +0000 (12:16 +0900)]
Revert "interface_scrollable: modify position mirror logic to support mirrored ui"

This reverts commit 3a0e310ece0ab249e0db5b6e3c1612a776463c8f.

Change-Id: Ie8b4ca7e84cdd0f6a3e9ae4107106f5c5340f99b

7 years agointerface_scrollable: Compensate scroller when scroller is not stable 15/124415/1
Wonki Kim [Mon, 27 Feb 2017 10:46:13 +0000 (19:46 +0900)]
interface_scrollable: Compensate scroller when scroller is not stable

Scroller internal states could be invalid when scroller is being calculated.
However, user app code could call scroller apis in middle of calculating of the scroller,
which mean apis are excuted on the invalid states of the scroller.
In that case, scroller api couldn't make what they want to do at all.

This patch compensates the current "Scroller Logic" when getting a more
exact page infomation from scroller while the "Scroller" is calculated.

@tizen_fix

Change-Id: If14ec3dac225dcc95f0666af7e0639a2958c667c
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
7 years agoelm_conform: Remove legacy to coraborate with current indicator properly 13/124413/1
Wonki Kim [Mon, 27 Feb 2017 16:05:42 +0000 (01:05 +0900)]
elm_conform: Remove legacy to coraborate with current indicator properly

elm_conform has had two indivisual indicators for each rotation angle.
However elm_conform don't have to have two indicator as tizen 2.4 did,
because indicator server daemon structure has been changed.

And current legacy logic on conform makes problem on the indicator server.
This commit removes legacy logic to coraborate with current indicator server properly

@tizen_only

Change-Id: I1e6ed508298e8f352a50c25828439aee8c5894d9
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
7 years agointerface_scrollable: Remove redundant code block 11/124411/1
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>
7 years agointerface_scrollable: Improve gravity_set api to support pan changing 10/124410/1
Wonki Kim [Wed, 15 Feb 2017 12:01:46 +0000 (21:01 +0900)]
interface_scrollable: Improve gravity_set api to support pan changing

Summary:
When you set gravity 1 on scroller, scroller sticks to the bottom
even content is changed.
however, scroller don't work like above, if size of pan is changed.

this commit uses pan_pos_max rather than w/h of content_info
because pan_pos_max is related with both content_size and pan size.

gravity_set will work properly even if both size of content and pan are
changed simultaneously.

Test Plan:
1. Select 'scroll3' in the elementary_test
2. Append enough items so that scroll bar appears (about 30 items)
3. Go to the bottom and Set gravity 1.0
4. Check that scroller sticks to the bottom once you append another item
   (it works)
5. Check that scroller sticks to to bottom once you resize window(pan)
   (it doesn't work without this patch)

Reviewers: eagleeye, jpeg, cedric, woohyun, z-wony

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

Change-Id: I0af8e737cae4a31f9aa2082b7a89c0d01392f5f3
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
7 years agointerface_scrollable: Optimize calculations and remove redundant 09/124409/1
Wonki Kim [Mon, 20 Feb 2017 04:26:21 +0000 (13:26 +0900)]
interface_scrollable: Optimize calculations and remove redundant

Summary:
There are some redundant code blocks, unnessacery recursive logics
for interface_scrollable.

This commit removes redundant code blocks and serializes unnessacery
recursive logics

Test Plan:
 1. Run efl application
 2. Check that app works properly.
 2. Check how many pan_changed_cb calls are reduced.

Reviewers: cedric, jpeg, woohyun, herdsman

Subscribers: jsuya, eagleeye, z-wony

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

Change-Id: I70137b3ac17317404298d5abf0c9f29c742a6769
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
7 years agointerface_scrollable: remove unnecessary function call 98/124398/1
Wonki Kim [Tue, 14 Feb 2017 16:47:16 +0000 (01:47 +0900)]
interface_scrollable: remove unnecessary function call

wanted_region_set should be called only when content size is changed.
similar logic in the pan_resized_cb would be invoked in the
pan_changed_cb.
it's duplicated and also diffrence against upstream.

this commit removes unnecessary function calls.
and also it removes diffrence against upstream.

@tizen_fix

Change-Id: Ia03d2a9c642b93f56cc99f6f2d8dc3c1f8228b1c
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
7 years agointerface_scrollable: update pan position once pan size is changed 90/124390/1
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>
7 years agointerface_scrollable: fix calculation logic of gengrid/scroller. 65/124365/1
j_yong.hwang [Tue, 8 Sep 2015 11:22:03 +0000 (20:22 +0900)]
interface_scrollable: fix calculation logic of  gengrid/scroller.

this commit is ported code about gengrid/interface_scrollable from tizen_2.4.

ported commits list = (
      72c55bbadc310e39b2b929811316ef6eabaf9b6a2c2fc2d0bbbe91ad640d73a7a85fb19bd0c5b086
      8c76cca65fa841c9646ac21eec9ccd627cb962a3cdf2b41436c0bb0f17c34439e5e0f73e111d802b
      2ba6eedfd54ad9b3bbcee5dce45d35528696a69ed22885ea8ee67b8da5a7d77b8aebd9db6ce0f91d
      357cf9b9b084e96acd71db89a19bf2a85a6e792 )

when gengrid is rotating, gengrid shows wrong position because size of gengrid
content is changed. Above commits override function of interface_scrollable to set
proper position of gengrid.

@tizen_only

Change-Id: I20136971730063c6a6730e23e9acb66f6fc416dd

7 years agointerface_scrollable: Unify basis of calculation of page_get logic 64/124364/1
Wonki Kim [Tue, 10 Jan 2017 08:02:50 +0000 (17:02 +0900)]
interface_scrollable: Unify basis of calculation of page_get logic

if rtl mode is set, current_page_get api will return page number by
substracting by result of last_page_get api to reverse x axis.

but if content size is not a integer multiple of page size,
(which means there is a partial size of the page)
current_page_get api returns a little bit large value.

this commit reverse x axis before calculation logic to unify a kind of
basis of axis.

@tizen_fix

Change-Id: I8a48d52829a8dc9d2660a1a77b44f42587459711
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
7 years agoconform: Revise postpone logic of indicator 63/124363/1
Wonki Kim [Sat, 7 Jan 2017 06:54:41 +0000 (15:54 +0900)]
conform: Revise postpone logic of indicator

Refactoring name of type and variables to make sense.
Ignore main code block when coming event is duplicated.

Change-Id: Idb3797ec236812318d5b8fb0c2a28931c72b2c27
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
7 years agoUse thread safety function. 71/124271/1
Woochan Lee [Tue, 11 Apr 2017 04:41:45 +0000 (13:41 +0900)]
Use thread safety function.

WGID: 172073

Change-Id: I63f29ce4c9fb390eb2f2573bba5544f7e0a76323

7 years agoelm_calendar: type checking (including NULL checking) before getting data 01/124201/1
Jaeun Choi [Mon, 10 Apr 2017 12:57:16 +0000 (21:57 +0900)]
elm_calendar: type checking (including NULL checking) before getting data

missing NULL checking caused TC fail

Change-Id: Ibaa2bdb23fe6d29c0dc83f8c53a7be7e901883fc
Signed-off-by: Jaeun Choi <jaeun12.choi@samsung.com>
7 years agoRevert "Disabled elementary_quicklaunch." 59/124159/1
Woochan Lee [Mon, 10 Apr 2017 10:19:17 +0000 (19:19 +0900)]
Revert "Disabled elementary_quicklaunch."

TC failure can be caused.

This reverts commit 0462bc63c346e73efae1cdd1a377ccd2bc42e919.

Change-Id: Ieabd31a242f51df1354d563071a3423e544c2a63

7 years agoelm_genlist : Fix duplicated focused signal emit 27/123227/3
jinwoo.shin [Tue, 6 Dec 2016 08:19:21 +0000 (17:19 +0900)]
elm_genlist : Fix duplicated focused signal emit

Change-Id: I403562a817fe7e5cf042196b511d16f2b360e452
Signed-off-by: jinwoo.shin <jw0227.shin@samsung.com>
7 years agoelm_win: if the type of win is TOOLTIP, unset the input event area 44/123344/1 submit/tizen/20170406.055746
jiin.moon [Thu, 9 Feb 2017 07:01:05 +0000 (16:01 +0900)]
elm_win: if the type of win is TOOLTIP, unset the input event area

If the type of win is tooltip, have to send the input event to below window.
This is tizen_only because ecore_evas_input_rect_set api is exist only in tizen.

@tizen_only

Change-Id: I0a37b87adc76bd7efee04dec0f6d5d440e8fe8bf

7 years agopopup: add show signal to notify after align set 19/121819/2
JinYong Park [Wed, 29 Mar 2017 06:05:35 +0000 (15:05 +0900)]
popup: add show signal to notify after align set

do align set after show animation is finised,
notify's state is default, so notify don't be visible

Change-Id: I023b5b9a801ac14d6fe63c33dd28ea452ad23ae3
Signed-off-by: Jinyong Park <j4939.park@samsung.com>
7 years agogenlist: scroll to item when calc is done 15/117215/4
Jee-Yong Um [Thu, 23 Jun 2016 17:09:13 +0000 (10:09 -0700)]
genlist: scroll to item when calc is done

Summary:
If elm_genlist_item_bring_in() is called immediately after appending
item, genlist will not scroll to the last one but stop in the middle.
This patch blocks genlist from scrolling to not calculated item.

Test Plan:
1. Download F31560 and uncompress the file
2. make
3. ./test

Reviewers: SanghyeonLee

Subscribers: cedric, DaveMDS, jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Change-Id: I972e7f7b91ee885bf87c0338083a0449fa8510df

7 years agogenlist : Fix item shrink 88/117188/4
jinwoo.shin [Fri, 9 Dec 2016 09:26:02 +0000 (18:26 +0900)]
genlist : Fix item shrink

Item width is set as its block width.
But after item realize, item width is shrinked as item min width
and doesn't match with the block width.

@tizen_fix

Change-Id: I85c2f67ca3bbd72addb5c92bc60317fdb090b4de
Signed-off-by: jinwoo.shin <jw0227.shin@samsung.com>
7 years agoelm_genlist: Fix focus flicking issue when item is prepended 02/117202/2
jinwoo.shin [Fri, 6 Jan 2017 06:01:00 +0000 (15:01 +0900)]
elm_genlist: Fix focus flicking issue when item is prepended

Item blocks are unrealized if item is prepended.
That is not necessary, just re-position the next blocks.

@fix

Change-Id: I920311b80f7e1e2e7dae0b9d60e5de7d92a0d519
Signed-off-by: jinwoo.shin <jw0227.shin@samsung.com>
7 years agoelm_genlist : Fix issues when item is enqueued 95/117195/2
jinwoo.shin [Mon, 28 Nov 2016 10:45:11 +0000 (19:45 +0900)]
elm_genlist : Fix issues when item is enqueued

Fixed crash issue and item scroll issue when item is enqueued

@fix

Change-Id: I620e9052f57cc938a479c6de40345521d335a313
Signed-off-by: jinwoo.shin <jw0227.shin@samsung.com>
7 years agoelm_genlist: Do not autoscroll if scroll to item is exist 92/117192/2
jinwoo.shin [Mon, 12 Dec 2016 05:18:27 +0000 (14:18 +0900)]
elm_genlist: Do not autoscroll if scroll to item is exist

This patch blocks autoscroll if pending scroll to item is exist.

@fix

Change-Id: Ifcdcab72a01d10253eafbb9f8ef638696fba631a
Signed-off-by: jinwoo.shin <jw0227.shin@samsung.com>
7 years agoNot handle events if keyboard is on
Shinwoo Kim [Thu, 19 Jan 2017 01:55:30 +0000 (10:55 +0900)]
Not handle events if keyboard is on

The keyboard is using ecore_event_filter, so it is not possilbe to get events on activated application side.
So this commit ignores events if keyboard is on.

Change-Id: I1d493decb21b302f27b4500e7735025b35525c00

7 years agoelm_win: remove the code to deal with aux_hint in pending rotation 42/123042/1
Jiyoun Park [Mon, 13 Feb 2017 04:12:54 +0000 (13:12 +0900)]
elm_win: remove the code to deal with aux_hint in pending rotation

we will remove the code to deal with aux_hint because we temporarily use this hint
and not consider wm's reply

Change-Id: I80290b73b9f051d4901bb35b11d3296387cad495

7 years agoelm_win: Pend the rotation until app set the rotation. 41/123041/1
Jiyoun Park [Sun, 12 Feb 2017 07:12:21 +0000 (16:12 +0900)]
elm_win: Pend the rotation until app set the rotation.

Currently, camera use the elm_win_rotation_with_resize_set.
it rotate the canvas, and chage the win size also.
The reason why they use this api is to use the object rotation effect during the rotation.

If window server send rotation event during the rotation, or efl client deal with the rotation
during the app's rotation effect, it cause flickering.

Before, X backend , landscape rotation
1. set the available rotation set only 0
2. window server didn't send rotation effect
3. apps listen the devicd rotation callback
4. apps set elm_win_rotation_with_resize_set 90 or 270
5. efl client set the X property related with rotation
6. window server deals with the rotation by app side.

But now window server don't want to support this api , becuase client rotation causes the whole of rotation policy.
Opensource side, server need to support this situation, but we need to time to discuss.
to support compatibility, add this code until we find the final solution.

this concept is
1. app set pending rotation using aux_hint (it means app will deal with the rotation)
2. efl client doesn't deal with server's rotation
3. do the rotation job by app just like the server's rotation.

Change-Id: Ic1edecbdc729f9202be0977215bb770275f9cb74

7 years agoelm_win: fix bug that floating mode set API ignores borderless value 36/123036/1
Jiyoun Park [Mon, 9 Jan 2017 08:15:07 +0000 (17:15 +0900)]
elm_win: fix bug that floating mode set API ignores borderless value

If app calls elm_win_floating_mode_set after elm_win_borderless_set,
it doesn't work correctly.
Because, inside the floating mode set function, it create frame object again.
so only when borderless set is false, floating win can create frame object.

Change-Id: I9f166178388ae40c77d6ff4d38217bd8fbecbd38

7 years agoconfig: reinitialize fontconfig for checking newly installed font 34/122934/1
Youngbok Shin [Thu, 5 Jan 2017 04:12:44 +0000 (13:12 +0900)]
config: reinitialize fontconfig for checking newly installed font

@tizen_fix

Change-Id: I1df290f536a8f329ccd17df55448d8fb22ffd481

7 years agotoolbar: Initialize scroll region when toolbar is resized. 25/122925/1
Bowon Ryu [Mon, 3 Apr 2017 14:51:12 +0000 (23:51 +0900)]
toolbar: Initialize scroll region when toolbar is resized.

Elm_interface_scrollable_content_region_show causes problems in mirror mode.
This is to initialize the scroll region of the toolbar and supports mirroring.

Change-Id: I76bfbab5360a48d386cd97e01ef39b48d6614572
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
7 years agoelc_multibuttonentry: Null checking before reference pointer.
Woochan Lee [Fri, 31 Mar 2017 06:33:55 +0000 (15:33 +0900)]
elc_multibuttonentry: Null checking before reference pointer.

WGID: 150822, 150823

Change-Id: Ie9fae662eef2066ec76fd28276d55b120ba16072

7 years agoelm_flipselector: fixed flipselector item deletion process 97/122297/3
Jaeun Choi [Fri, 31 Mar 2017 04:21:05 +0000 (13:21 +0900)]
elm_flipselector: fixed flipselector item deletion process

flipselector item destructor had a severe drawback and this patch fixes it.
when deleting multiple items at once, the view needs to be updated only once.
however, the destructor updated the view on deletion of
every single item and it caused a severe performance issue.
the worst case happened when deleting a flipselector object -
with 10000 items, it took 10 seconds to finish deletion.

this patch has two points:
1. if a flipselector object is on deletion, item destructor doesn't update the view
2. otherwise, view update is handled in one job for multiple item deletion

origin: upstream
a4d2c51d1404c1d8563dd7ac37e64ee105aa6226
e2d1da14b8f9a8dfcce6e470a10e28635a2c641d

Change-Id: Ia46233558797fcfd208304946fb55fd881d8b11d
Signed-off-by: Jaeun Choi <jaeun12.choi@samsung.com>
7 years agobuild: Add independent "mobile" package instead of extension-mobile 95/122095/3 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170331.152656 accepted/tizen/ivi/20170331.082937 accepted/tizen/mobile/20170331.083019 accepted/tizen/tv/20170331.082842 accepted/tizen/unified/20170331.083206 accepted/tizen/wearable/20170331.082951 submit/tizen/20170331.022349
Jeeyong Um [Thu, 30 Mar 2017 07:17:34 +0000 (16:17 +0900)]
build: Add independent "mobile" package instead of extension-mobile

Signed-Off-By: Jeeyong Um <jc9.um@samsung.com>
Change-Id: I763868fdd4757647eb4e66077dcb6884bd46a281

7 years agoRevert "Elm_Main, Elc_Naviframe: Access frame is not shown on title in first page... 36/121536/2
Shinwoo Kim [Thu, 9 Mar 2017 08:59:00 +0000 (17:59 +0900)]
Revert "Elm_Main, Elc_Naviframe: Access frame is not shown on title in first page issue fix."

This reverts commit c0dfb92230d85898c106f53a8276380997e3bfc7.

Because dbus connection which is created for atspi has improper SMACK label, the _elm_atspi_bridge_init should move to elm_run.
The launchpad prepares elm_win/bg/conformant, so elm_init is called on the launchpad side, but the SMACK label is not proper at this point.
It seems that the elm_run is proper place, because elm_run is called after the SMACK label is changed.

Change-Id: I5e52564c4fcafe97646dedba0e031333ff2fb88c

7 years agoctxpopup: add visible signal for show ctxpopup after parent resizing 05/121405/2
JinYong Park [Tue, 28 Mar 2017 03:31:22 +0000 (12:31 +0900)]
ctxpopup: add visible signal for show ctxpopup after parent resizing

Change-Id: I59c512ad6841cccf8e2721cf190b9e0b1517b1bf
Signed-off-by: Jinyong Park <j4939.park@samsung.com>
7 years agoelm_entry: monitor the cbhm daemon 15/121415/1
Minchul Lee [Tue, 28 Mar 2017 03:11:12 +0000 (12:11 +0900)]
elm_entry: monitor the cbhm daemon

Change-Id: Icf01e24f07ab239ff78d73e4842b164f830d63c3
Signed-off-by: Minchul Lee <slotus.lee@samsung.com>
7 years agoelm_notify: finish the hiding forcibly if get interrupt 00/117200/2
Minkyu Kang [Sat, 7 Jan 2017 09:13:08 +0000 (18:13 +0900)]
elm_notify: finish the hiding forcibly if get interrupt

The notify was not hidden when following case
 - change the theme while hide is on going
 - show while hide is on going
 - hide finished calback is invoked hide is not on going

@tizen_fix

Change-Id: I1b194aac658fce0ea3514cc948eb2cabde23958a
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Signed-off-by: jinwoo.shin <jw0227.shin@samsung.com>
7 years agocalendar: Remove ICU dependency ICU module will load from efl-modules. 44/120344/3
Woochan Lee [Wed, 22 Mar 2017 10:12:55 +0000 (19:12 +0900)]
calendar: Remove ICU dependency ICU module will load from efl-modules.

Change-Id: I0c93c2828b88dba26effb46487f73e0149fcef60

7 years agoelm_entry: fix build on not wayland systems 19/120719/1
Vyacheslav Reutskiy [Tue, 21 Mar 2017 09:10:45 +0000 (11:10 +0200)]
elm_entry: fix build on not wayland systems

@fix

Change-Id: Ie586362707d3a94d458172d7dc8c27aade39925a
Signed-off-by: Vyacheslav Reutskiy <v.reutskiy@samsung.com>
7 years agoelm_entry: Set the type to cbhm when dbus is initiated. 13/120713/1
SubodhKumar [Sat, 18 Feb 2017 13:43:44 +0000 (19:13 +0530)]
elm_entry: Set the type to cbhm when dbus is initiated.

Issue:
By the time entry got focused, job has not initiated the dbus
causing not setting type to cbhm.

Change-Id: I25282eeb2280b7bfde642651b66b2bd6a951c834

7 years agoelm_entry: send focused entry's type to CBHM 12/120712/1
Taehyub Kim [Fri, 6 Jan 2017 08:55:09 +0000 (17:55 +0900)]
elm_entry: send focused entry's type to CBHM

Change-Id: Ib4163139e884284683d5f482a20393be6a83232a

7 years agopopup: add tizen custom signal (tizen 2.3 layout feature) 02/108302/2
JinYong Park [Tue, 6 Dec 2016 13:12:55 +0000 (22:12 +0900)]
popup: add tizen custom signal (tizen 2.3 layout feature)

for wearable circle theme compatibility

Change-Id: I7f41df17795a373e52595ec257144cc7e81cec10
Signed-off-by: Jinyong Park <j4939.park@samsung.com>
7 years agoatspi: enhance atspi accessible documentation
Shinwoo Kim [Fri, 17 Mar 2017 07:56:19 +0000 (16:56 +0900)]
atspi: enhance atspi accessible documentation

Change-Id: I2b31efa84d996f91016c6821f588100252606461

7 years agoelm_panel: set hidden property when panel is close/open 94/119294/1 accepted/tizen/common/20170317.094605 accepted/tizen/ivi/20170317.083452 accepted/tizen/mobile/20170317.083406 accepted/tizen/tv/20170317.083422 accepted/tizen/unified/20170317.083507 accepted/tizen/wearable/20170317.083436 submit/tizen/20170317.050113
JEONGHYUN YUN [Thu, 16 Mar 2017 08:38:18 +0000 (17:38 +0900)]
elm_panel: set hidden property when panel is close/open

Summary:
elm_panel has a property named hidden which stores open/close status.
This is updated when:
  1.bring_in animation is done(anim_stop_cb).
  2.mouse_up on panel.
  3.API is called. (elm_panel_toggle, elm_panel_hidden_set)
In case 3, API changes hidden, and starts bring_in animation which will call anim_stop_cb() which will update hidden again.
If bring_in animation is canceled (eg: sizing_eval), anim_stop_cb will be called and calculate hidden status
which will not guarantee updated hidden state by APIs.

Test Plan:
1.Call any APIs which will call elm_layout_sizing_eval(panel) right after calling elm_panel_toggle()/elm_panel_hidden_set().
2.Delete content of panel during "toggled" cb.

Reviewers: jpeg, eunue, cedric

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

@tizen_fix

Change-Id: I8e0a97910de8bbc0920dd0260e3b81bc1793827e
Signed-off-by: JEONGHYUN YUN <jh0506.yun@samsung.com>
7 years agoctxpopup: remove warning message 55/118955/2 accepted/tizen/common/20170315.125044 accepted/tizen/ivi/20170315.222102 accepted/tizen/mobile/20170315.221944 accepted/tizen/tv/20170315.222009 accepted/tizen/unified/20170316.015315 accepted/tizen/wearable/20170315.222035 submit/tizen/20170315.094151
Shinwoo Kim [Wed, 15 Mar 2017 01:49:19 +0000 (10:49 +0900)]
ctxpopup: remove warning message

the elm_atspi_accessible_name_get returns const char* type value.

Change-Id: I64e1d6185eda42d472a03f25db58de9efc375b95

7 years agoctxpopup: make ctxpopup work customize accessible name. 54/118954/2
Shinwoo Kim [Mon, 13 Mar 2017 04:31:30 +0000 (13:31 +0900)]
ctxpopup: make ctxpopup work customize accessible name.

The ctxpopup did not work for elm_atspi_accessible_name_cb_set.

Change-Id: I20a5098304cc490cbb1bbdc9ec1c6ef452ad14f3

7 years agoelementary tooltip: adjust arrow if tooltip was moved 01/117201/3
Minkyu Kang [Mon, 27 Feb 2017 11:13:06 +0000 (20:13 +0900)]
elementary tooltip: adjust arrow if tooltip was moved

Summary:
If orientation is TOP, BOTTOM, LEFT and RIGHT and
tooltip was moved due to located out of screen,
adjust location of arrow so that can indicate right position.

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Test Plan: elementary_test -to tooltip4

Reviewers: cedric, Hermet, jpeg

Subscribers: jpeg

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

Change-Id: I40854c2d4c0e8f435b00e5914eb23d491e02154b

7 years ago[Panel] initialize repeat_events when scrollable is set 57/118157/2
Sungtaek Hong [Thu, 9 Mar 2017 05:05:13 +0000 (14:05 +0900)]
[Panel] initialize repeat_events when scrollable is set

 - In Non-scrollable panel, repeat_events is changed
   during _panel_toggle, while scrollable panel is not.
 - elm_panel_scrollable_set() should initialize repeat_events

@tizen_fix

Change-Id: I336dbd14313859aa935d9fa7ad58ee6846127de6
Signed-off-by: Sungtaek Hong <sth253.hong@samsung.com>
7 years agomultibuttonentry : fix box indicated item correctly in item_insert_before and item_in... 15/118215/1 accepted/tizen/common/20170309.175643 accepted/tizen/ivi/20170310.031716 accepted/tizen/mobile/20170310.031417 accepted/tizen/tv/20170310.031535 accepted/tizen/unified/20170310.080545 accepted/tizen/wearable/20170310.031635 submit/tizen/20170309.095236 submit/tizen_unified/20170310.011402
JEONGHYUN YUN [Thu, 9 Mar 2017 07:46:23 +0000 (16:46 +0900)]
multibuttonentry : fix box indicated item correctly in item_insert_before and item_insert_after

Summary:
If user added item with item_insert_before and item_insert_after, item was not displayed.
For this reason, fixed box indicated item correctly from reference->button to VIEW(reference).
Additionally, remove the unused variable button in _Multibuttonentry_Item struct.

Reviewers: woohyun, CHAN, cedric, jpeg

Reviewed By: CHAN, jpeg

Subscribers: cedric, jpeg

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

Change-Id: Idbc0867bec31e25e6622fe6e7967c774513f860d
Signed-off-by: JEONGHYUN YUN <jh0506.yun@samsung.com>
7 years agonaviframe: keep unfocusable state of item before finishing item push/pop 95/117995/1
Youngbok Shin [Wed, 8 Mar 2017 05:15:56 +0000 (14:15 +0900)]
naviframe: keep unfocusable state of item before finishing item push/pop

If item pop was started without focus at a naviframe object
and the naviframe object got focus before finising item pop,
the naviframe object could give focus to its first object of prev item.
It could ruin focus orders and failed to restore previous focused
object in the item.
To keep consistency of focus policy, same logic will be applied to
item push scenario.
@fix

Change-Id: Ia74bdce3620bd59622ef32a0cedf5fbd84815400
(cherry picked from commit ac06e3cb3b6a80069944727a35e383ad11753b0f)

7 years agoFix target of signal.
Woochan Lee [Mon, 6 Mar 2017 10:27:03 +0000 (19:27 +0900)]
Fix target of signal.

the target is not obj(spinner). button is a target for this.

Change-Id: Ia5a0f49b6640df8a19afbde7188f2f70b2adb385

7 years agoelm_toolbar: reduce unnecessary search cost. 91/117791/1
Bowon Ryu [Tue, 7 Mar 2017 11:34:51 +0000 (20:34 +0900)]
elm_toolbar: reduce unnecessary search cost.

"more_menu" is not used in Tizen.

Change-Id: Ia54a4dfb7259c4ab4a7c6eb1b401fa643ef4224c
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
7 years agospinner: fix mem leak on focus next traversel 23/117123/2
Amitesh Singh [Mon, 23 Jan 2017 06:00:21 +0000 (11:30 +0530)]
spinner: fix mem leak on focus next traversel

commit 9736dc6cf0606b4559b3202348511c974d4b2d99
Author: Amitesh Singh <amitesh.sh@samsung.com>
Date:   Mon Jan 23 11:23:22 2017 +0530

    spinner: fix mem leak on focus next traversel

    this patches fixes an eina list mem leak on each
    focus next(tab/alt-tab) traversal.

    @fix

Change-Id: Iff524f28db11cf23a69dacf03c58050e41d9f10b
Signed-off-by: Amitesh Singh <amitesh.sh@samsung.com>
7 years agoElm.Entry: use proper theme_set function on edje object 03/117103/2
Amitesh Singh [Tue, 17 Jan 2017 07:01:10 +0000 (12:31 +0530)]
Elm.Entry: use proper theme_set function on edje object

This is based on below upstream patch.

commit 44569b859a78feeff890e97239c9269b7be23b2f
Author: Daniel Hirt <daniel.hirt@samsung.com>
Date:   Thu Aug 4 13:13:29 2016 +0300

    Elm.Entry: use proper theme_set function on edje object

    Shouldn't use elm_widget_theme_object_set for handlers/anchors here.

    Fixes T4091.
    @fix

Change-Id: I1cafb708b7cb041428cefe038d94f0cf4f11b769
Signed-off-by: Amitesh Singh <amitesh.sh@samsung.com>
7 years agospinner: free the longpress_timer when unfocused 18/117018/2
Minkyu Kang [Mon, 2 Jan 2017 08:13:03 +0000 (17:13 +0900)]
spinner: free the longpress_timer when unfocused

Change-Id: I89713d520a80f247569533c0f21ceb51902bbe44
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
7 years agoelm widget - stop segv during shutdown when objects become deleted 22/117022/2
Amitesh Singh [Mon, 16 Jan 2017 09:02:01 +0000 (14:32 +0530)]
elm widget - stop segv during shutdown when objects become deleted

This is based on below upstream patch.

commit 38ba68a7c76784e86a7016efd1e69af251b62381
Author: Carsten Haitzler (Rasterman) <raster@rasterman.com>
Date:   Tue Jul 5 22:55:16 2016 +0900

    elm widget - stop segv during shutdown when objects become deleted

    @fix

probably this stablizes our elm_shutdown a bit.

Change-Id: I99238e69070b77f704077cb7126d9bac335d7020
Signed-off-by: Amitesh Singh <amitesh.sh@samsung.com>
7 years agoelm scrollable: return correct values from post event callbacks 23/117023/2
Amitesh Singh [Sat, 21 Jan 2017 10:01:50 +0000 (15:31 +0530)]
elm scrollable: return correct values from post event callbacks

This fixes a small bug in my old patch 248b6beeee1e238

commit f1163107574a150cda7d1ef5e34f005e58b9680d
Author: Mike Blumenkrantz <zmike@osg.samsung.com>
Date:   Thu Nov 3 11:42:26 2016 -0400

   elm scrollable: return correct values from post event callbacks

   post event callbacks must return 0 to stop processing when an event is
   consumed, and 1 when processing should continue. this is the only place in
   all of efl which used this functionality, and it did so incorrectly.

   @fix

   ref 248b6beeee1e2387176e3abec7176e916175f12a
   ref D2393

Change-Id: I943779d2a005637e470f9fc40d9cb15782b14b20
Signed-off-by: Amitesh Singh <amitesh.sh@samsung.com>
7 years ago[elm_glview] initialize to NULL after free function 24/117024/2
Joogab Yun [Thu, 9 Feb 2017 00:55:36 +0000 (09:55 +0900)]
[elm_glview] initialize to NULL after free function

Change-Id: I58ffda7e99f59de8fe1921bc2f032e5bef29ff2a

7 years agoelementary gengrid: fix for working item reorder mode correctly 25/117025/2
Minkyu Kang [Tue, 21 Feb 2017 09:32:30 +0000 (15:02 +0530)]
elementary gengrid: fix for working item reorder mode correctly

Summary:
Change the item indexing to start 1 after reordering animation.
Change the logic of edge checking to get the row or col correctly.

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Test Plan:
elementary_test -to gengrid2
append 6 items
enable the reorder mode
check reordering is working properly (4 to 1)

@fix

Reviewers: singh.amitesh, cedric

Subscribers: jehun.lim, jpeg

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

Change-Id: If3e48d96127bb13dca8595bfc1b8bf6d8c303b08

7 years agoelm_genlist: do not check scroll if show_item is NULL 26/117026/2
Minkyu Kang [Tue, 7 Feb 2017 23:00:35 +0000 (15:00 -0800)]
elm_genlist: do not check scroll if show_item is NULL

Summary:
If show_item is NULL then does not need to check scroll.
But, sometimes show_item is NULL but check_scroll is true.
It was wrong and can makes a crash.

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Reviewers: cedric, Hermet, SanghyeonLee, raster

Subscribers: jpeg

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

Change-Id: If4ed681fc14b7b8535eb065c7ee81aea251e80eb
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
7 years agoDisabled elementary_quicklaunch. 22/116122/2
Woochan Lee [Thu, 23 Feb 2017 05:31:38 +0000 (14:31 +0900)]
Disabled elementary_quicklaunch.

Change-Id: Ide4e2b8301b4d49d0053bbef982021318c27c983

7 years agoRevert "build: exclude private headers (elm_widget_*.h) from devel package" 56/116156/1 accepted/tizen/common/20170223.182542 accepted/tizen/ivi/20170224.064547 accepted/tizen/mobile/20170224.064336 accepted/tizen/tv/20170224.064419 accepted/tizen/unified/20170309.035355 accepted/tizen/wearable/20170224.064501 submit/tizen/20170223.104121 submit/tizen_unified/20170308.100412
Jeeyong Um [Thu, 23 Feb 2017 07:21:15 +0000 (16:21 +0900)]
Revert "build: exclude private headers (elm_widget_*.h) from devel package"

This reverts commit 6df681ffd6ca931d7793eb3bb936b4717283875d.

Private headers will be removed from devel package when external
packages depending on them are merged into elementary.

Signed-Off-By: Jeeyong Um <jc9.um@samsung.com>
Change-Id: Icbca0d0dae98a239cf59a45c6160d04278a30924

7 years agogengrid: fix gengrid item's x, y index updating logic. 54/115554/3 submit/tizen/20170221.045909 submit/tizen/20170222.011740
Hosang Kim [Mon, 20 Feb 2017 08:21:19 +0000 (17:21 +0900)]
gengrid: fix gengrid item's x, y index updating logic.

when mirroring is enabled, gengrid's x, y index is updated  by wrong
value.

Change-Id: I754f675e22e0e81098a27cd6386b14b6b4db0aae

7 years agogenlist: add current x position for item bring in/show. 05/114905/2
Hosang Kim [Wed, 15 Feb 2017 11:59:04 +0000 (20:59 +0900)]
genlist: add current x position for item bring in/show.

Sometimes genlist's x position is not zero.
But genlist does not consider it.

Change-Id: I7277c077479044244e2c8849c6d670efe75b0c0f
(cherry picked from commit b96ceedbb9ecabbcf04b73b08a6184e33801874c)

7 years agowin: apply EVAS_BIDI_DIRECTION_ANY_RTL as default for RTL locale 33/115233/1
Youngbok Shin [Thu, 16 Feb 2017 05:35:22 +0000 (14:35 +0900)]
win: apply EVAS_BIDI_DIRECTION_ANY_RTL as default for RTL locale

* dependency warning
  - efl
  "evas: add EVAS_BIDI_DIRECTION_ANY_RTL for evas_object_paragraph_direction_set API"
  https://review.tizen.org/gerrit/#/c/114989/

@tizen_feature

Change-Id: Id72455ef011b602f0bf6876b3be3f8558ad0211f
(cherry picked from commit bf47379bfbbe0273142710bcf845454de2604200)

7 years agoRevert "Revert "elm_entry: show context menu when entry is longpressed without focusing"" 41/115141/1
Taehyub Kim [Thu, 16 Feb 2017 11:26:13 +0000 (20:26 +0900)]
Revert "Revert "elm_entry: show context menu when entry is longpressed without focusing""

This reverts commit 85efc0ebd9460c37068951e58b8ad590409dc488.

Change-Id: Ied9714577ecf0e110f2758e1a3e346205fbfdeaa

7 years agoelm_genlist: fix recursive call of genlist eo api 58/115058/2
Wonki Kim [Thu, 16 Feb 2017 06:35:30 +0000 (15:35 +0900)]
elm_genlist: fix recursive call of genlist eo api

when user call elm_genlist_policy_set,
It causes stack overflow because policy_set api calls itself.

this commit modifies the policy_set api to call
its parent method body rather than itself.

Change-Id: Id5b56bc351c53e5ae38a31a6b69841e763db0acb
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
7 years agoelm_index: skip level check when only 0 level is active 57/114757/3
Sungtaek Hong [Wed, 15 Feb 2017 04:00:46 +0000 (13:00 +0900)]
elm_index: skip level check when only 0 level is active

 - In mouse move callback, index tries to calculate current level.
 - This is not needed when level 1 is not active. and blocks index item
   change.

origin: upstream(8ac66d9dc09e911fe3dfe0eafca2121fb2c74a15)

Change-Id: I760cc2ea62edb5e197a9210625299e108ac042fb
Signed-off-by: Sungtaek Hong <sth253.hong@samsung.com>
7 years agoelm_panel: set scrollable panel unfocusable when closed 55/114755/2
Sungtaek Hong [Wed, 15 Feb 2017 02:23:02 +0000 (11:23 +0900)]
elm_panel: set scrollable panel unfocusable when closed

 - When scrollable panel is closed by elm_panel_hidden_set(),
   elm_panel_toggle() APIs, it shows animation with scroller bringin
   effect.
 - During this animation, panel is still focusable, and may stop closing
   when content gets focused.
 - scrollable panel is now set unfocusable when closed by APIs above, and
   set focusable when opened after bringin animation.

origin: upstream(f4d5d57e17496098eeb9427a5b196d26963d5c78)

Change-Id: I43e32a10845f81a3c146a2dbd59093b6606c6759
Signed-off-by: Sungtaek Hong <sth253.hong@samsung.com>
7 years agotoolbar: added for mirroring of navigationbar 92/114692/1
Bowon Ryu [Tue, 14 Feb 2017 11:34:57 +0000 (20:34 +0900)]
toolbar: added for mirroring of navigationbar

Change-Id: I3722977b4bf9aa66b95e028bda33b47dc3a806ef
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
7 years agomultibuttonentry: input panel should be shown whenever mbe is clicked
Woochan Lee [Mon, 13 Feb 2017 04:18:02 +0000 (13:18 +0900)]
multibuttonentry: input panel should be shown whenever mbe is clicked

Change-Id: I112eba1ee9f0e659225e7e2f4ebfe0b3f6066df9

7 years agointerface_scrollable: Fix not hold the flag on mouse down 77/113477/2
Subodh Kumar [Wed, 19 Aug 2015 15:38:04 +0000 (21:08 +0530)]
interface_scrollable: Fix not hold the flag on mouse down

when user click fast enough right after scrolling.
becuase there is animators, mouse events aren't invoked at all.

This patch is ported from tizen_2.4.
http://165.213.149.170/gerrit/#/c/75245/

@tizen_fix

Change-Id: I79b8fd201da0dbefe86da0ef43af0ff0c31ab2e8
Signed-off-by: Subodh Kumar <s7158.kumar@samsung.com>
7 years agoelm_win: Fix to check if frame_obj is created 26/113426/1
Jaehyun Cho [Tue, 7 Feb 2017 04:38:15 +0000 (13:38 +0900)]
elm_win: Fix to check if frame_obj is created

Since frame_obj is not always created, check if frame_obj is created.

Only the compositor can handle the window & pointer position, call
ecore_evas_wayland_move with (0, 0) instead of x and y position of
frame_obj part.

This patch refers ea7bbfe47dc1df5f51725be05eadf7ebce1d8361 in upstream
(win: Factorize code for move_resize).

Change-Id: Idc3cc97a28c7a8f3ab15baf24bd3e70b24914629

7 years agoRevert "Revert "ctxpopup: remove show signals emit when parent is resized"" 46/112946/1
JinYong Park [Fri, 3 Feb 2017 10:02:53 +0000 (19:02 +0900)]
Revert "Revert "ctxpopup: remove show signals emit when parent is resized""

This reverts commit 37df0a7755ce1c82e78adb37ed42bc3ac562137f.

Change-Id: I586530eba10ca689a114f821cdff383c21ff0e25
Signed-off-by: Jinyong Park <j4939.park@samsung.com>
7 years agoRevert "ctxpopup: remove show signals emit when parent is resized" 30/112930/1
JinYong Park [Fri, 3 Feb 2017 08:15:37 +0000 (17:15 +0900)]
Revert "ctxpopup: remove show signals emit when parent is resized"

This reverts commit 1dddeefd1faf9cd38fa5ab23a4aa4c748083e5f6.

Change-Id: Icfe04feceb815a2d266d3bf5e4c1fed1b3f7a1d0
Signed-off-by: Jinyong Park <j4939.park@samsung.com>
7 years agoctxpopup: add "hide,default" signal for unknown direction state 69/112469/4
JinYong Park [Wed, 1 Feb 2017 06:23:34 +0000 (15:23 +0900)]
ctxpopup: add "hide,default" signal for unknown direction state

Change-Id: I3544addbc860ad614c2a1a4bfce5d0ef26a185e2
Signed-off-by: Jinyong Park <j4939.park@samsung.com>
7 years agopopup: fix popup's max height 96/112696/1
JinYong Park [Thu, 2 Feb 2017 08:34:20 +0000 (17:34 +0900)]
popup: fix popup's max height

If popup's parent is smaller than windown,
popup's max height is smaller than which be intended

Change-Id: I2c53ef3f48ab6c05ab914cfd082b6a694e9f1cc0
Signed-off-by: Jinyong Park <j4939.park@samsung.com>