platform/upstream/elementary.git
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>
7 years agoadd eclipse project filename to gitignore 87/112487/1
Minchul Lee [Wed, 1 Feb 2017 07:15:40 +0000 (16:15 +0900)]
add eclipse project filename to gitignore

Change-Id: I1be424bc88939cb8abadda6304c679ee2770e0d0
Signed-off-by: Minchul Lee <slotus.lee@samsung.com>
7 years agoentry: Add configuration for the default value of select_allow 16/111416/2
Jee-Yong Um [Fri, 20 Jan 2017 08:36:19 +0000 (17:36 +0900)]
entry: Add configuration for the default value of select_allow

Signed-Off-By: Jee-Yong Um <jc9.um@samsung.com>
Change-Id: Ibdd09df96a0a769d733a884bb17c8fac7512c5bf

7 years agogengrid : remove groupindex effect in tizen 84/112284/4
SangHyeon Lee [Tue, 11 Oct 2016 09:05:01 +0000 (18:05 +0900)]
gengrid : remove groupindex effect in tizen

@tizen_fix

Change-Id: I9161fb5defc7cf5d713355bc1ea462dc3fcde21d
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
7 years agogenlist: check parent freeze on access activate 90/112290/1
SangHyeon Lee [Tue, 31 Jan 2017 04:10:57 +0000 (13:10 +0900)]
genlist: check parent freeze on access activate

Change-Id: I7285f80031bd3a2860da9bd4e7efac72c887d786
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
7 years agogengrid: fix mirrored position calculate to apply pan width instead of object width 46/111946/1
SangHyeon Lee [Wed, 25 Jan 2017 05:33:38 +0000 (14:33 +0900)]
gengrid: fix mirrored position calculate to apply pan width instead of object width

This is port of upstream patch
bec54fc870e813ac5d091d34e2374ba01861a877

Change-Id: Ic9979a9c79facf3545047dd6d0f88c91da930336
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
7 years agoctxpopup: remove show signals emit when parent is resized 58/111658/1
JinYong Park [Mon, 23 Jan 2017 08:48:08 +0000 (17:48 +0900)]
ctxpopup: remove show signals emit when parent is resized

to avoid flickering problem when rotate device

Change-Id: I5c69609c0c60fc56c8aaf16f89ac47e995f59013
Signed-off-by: Jinyong Park <j4939.park@samsung.com>
7 years agoMake elementary compatible with Tizen 4.0 build env. 65/111365/2
MyungJoo Ham [Thu, 29 Dec 2016 02:14:03 +0000 (11:14 +0900)]
Make elementary compatible with Tizen 4.0 build env.

In Tizen 4.0 Unified Project, there will be no more
profile macro available.

However, in order to make it keep compatible with obsolete
build environment including the "GBM/private" build systems,
if profile macro is defined as tv/mobile/wearble, we will
disable the modification.

Note: this is a workaround until the correspondants refactor
this package so that Elemetnary uses "configuration" at
run/boot-time. Without this workaround, before getting such
a nice refactored code, this package will disrupt all the
other packages in Tizen 4.0 Unified build environment.
So, after refactoring, please remove what this patch does.
(or you may nudge me when it is done.)

Note2: There will be yet another workaround that removed
the need for "TIZEN_PROFILE_WEARABLE", which is the one
that abandoned some time ago. That workaround has the
same characteristic; it is to keep it compatible before
you've done with refactoring.

Change-Id: If27ffd0ed419882d533c46499d45d16cdd727a07
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
==================================================================

This patch has been modified since it was written first.
Fixes some incorrect conditional statements and handles private headers.

Signed-Off-By: Jee-Yong Um <jc9.um@samsung.com>
Change-Id: I1cc1eaf0ecbd01f52c793d37bb44b9580608c08d

7 years agobuild: exclude private headers (elm_widget_*.h) from devel package 33/111333/2
Jee-Yong Um [Fri, 20 Jan 2017 06:49:09 +0000 (15:49 +0900)]
build: exclude private headers (elm_widget_*.h) from devel package

Signed-Off-By: Jee-Yong Um <jc9.um@samsung.com>
Change-Id: I0e503d36a6a384c3e4cae650b6e2e70abafe3432

7 years agoNaviframe: if item_destructor is called before animator callback deferred function, 74/111374/1
Shilpa Singh [Tue, 27 Dec 2016 16:00:45 +0000 (21:30 +0530)]
Naviframe: if item_destructor is called before animator callback deferred function,
crash happens in _tizen_effect_enabled_get as "it" is NULL

Change-Id: I20d2a71d0fe604f108a8c9a1072fea4b302cd76c

7 years agoctxpopup: merge eo & header files for different profiles 11/110411/3
Jee-Yong Um [Mon, 16 Jan 2017 09:51:43 +0000 (18:51 +0900)]
ctxpopup: merge eo & header files for different profiles

Signed-Off-By: Jee-Yong Um <jc9.um@samsung.com>
Change-Id: I0c22e3668b4a307e1591206d14c13ec0b2a84544

7 years agoelm_multibuttonentry: Merge Upstream patch to fix bug. 50/110750/3
Woochan Lee [Wed, 18 Jan 2017 00:43:26 +0000 (09:43 +0900)]
elm_multibuttonentry: Merge Upstream patch to fix bug.

elm_multibuttonentry: Fix MBE got a wrong state.

Summary:
Even User set a MBE state as "shrink" when MBE created.
MBE has been changed the state as "none" during added items.

This patch will be fixed that bug state.

@fix

Test Plan:
Add below line after create mbe.

'elm_multibuttonentry_expanded_set(mbe, EINA_FALSE)'

Then Add items using item_append API.

See the result. mbe is not on shrink mode.

Reviewers: Hermet, jpeg, cedric

Subscribers: cedric, jpeg

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

Change-Id: I385552f0636aefa36d2025dd1e888e0205b49fb7

7 years agoelm_entry: Don't do anything if text is empty 87/110587/1 accepted/tizen/common/20170119.171629 accepted/tizen/ivi/20170118.223354 accepted/tizen/mobile/20170118.223315 accepted/tizen/tv/20170118.223328 accepted/tizen/wearable/20170118.223341 submit/tizen/20170118.061840
Jiwon Kim [Mon, 16 Jan 2017 11:09:31 +0000 (20:09 +0900)]
elm_entry: Don't do anything if text is empty

In the double clicked callback, selection & copy paste UI is not needed.

test plan:
elm_entry_context_menu_disabled_set(entry, EINA_TRUE)
-> double click empty entry
-> cursor is disappeared (This commit fix to be shown)

@tizen_only

Change-Id: Ide70085a3deebc403259b5e3b967a32e23beef91
Signed-off-by: Jiwon Kim <jiwon177.kim@samsung.com>
(cherry picked from commit 917a717f057f51dad57445cb24550b5b2431d7ec)

7 years agogenlist: fix build error caused by merging lib and mobile_lib 22/110422/1
Jee-Yong Um [Mon, 16 Jan 2017 10:20:01 +0000 (19:20 +0900)]
genlist: fix build error caused by merging lib and mobile_lib

Signed-Off-By: Jee-Yong Um <jc9.um@samsung.com>
Change-Id: I714fdade78ac66c175ac640676ada534dcf69113

7 years agogenlist: merge lib and mobile lib genlist eo and header library 02/109902/4 submit/tizen/20170116.034202
SangHyeon Lee [Wed, 11 Jan 2017 05:30:31 +0000 (14:30 +0900)]
genlist: merge lib and mobile lib genlist eo and header library

Change-Id: I54a552dc74057401a21c10aaf9d54603b5ebd737

7 years agogenlist : generate eo functions about genlist APIs 01/109901/2
SangHyeon Lee [Wed, 11 Jan 2017 03:38:01 +0000 (12:38 +0900)]
genlist : generate eo functions about genlist APIs

Change-Id: I2fd0a7e2363d4ac18f4ac9101f95eb0006f9eb41

7 years agogenlist : add realize check in highlight/unhlight, select functions 80/110080/1
SangHyeon Lee [Wed, 11 Jan 2017 10:45:59 +0000 (19:45 +0900)]
genlist : add realize check in highlight/unhlight, select functions

Change-Id: I1c7c5b5c5e7c4cf8f21a4d9a5c74e3064f3e4441
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
(cherry picked from commit b7dd4be5ff14f09cdced98ba4ac88ccabbeea065)

7 years agogenlist: add reorder fallback in scrolling case 78/110078/2
SangHyeon Lee [Thu, 12 Jan 2017 05:00:55 +0000 (14:00 +0900)]
genlist: add reorder fallback in scrolling case

Change-Id: I786b6c8e14499c74def8b40c0fa517ba2f558982
(cherry picked from commit d492b7bdf6fa8b405d8d56c14cadaf07d9450fa8)

7 years agogenlist: add EVAS_EVENT_ON_HOLD flag in mouse up 34/109634/2
SangHyeon Lee [Mon, 9 Jan 2017 01:05:21 +0000 (10:05 +0900)]
genlist: add EVAS_EVENT_ON_HOLD flag in mouse up

Change-Id: Ibb6b9371717971b825c50173eeae1339356ba57f
(cherry picked from commit 6727edaed012290f39f4a7f43ba21730b34a94fa)

7 years agoelm_entry: Show cursor handler on resize. 55/109855/1
SubodhKumar [Wed, 11 Jan 2017 13:19:56 +0000 (18:49 +0530)]
elm_entry: Show cursor handler on resize.

@tizen_fix

Change-Id: I2c2899ce434e13056d278d1b6b8f2ff9f29c1df8
(cherry picked from commit 88852ed331aa04eb09c74dd0dce2f9bda3f6ca67)

7 years agoelm_entry: Do not fire anchor clicked event when long pressed. 27/109827/1
Minchul Lee [Wed, 11 Jan 2017 11:19:05 +0000 (20:19 +0900)]
elm_entry: Do not fire anchor clicked event when long pressed.

@tizen_fix

Issue Scenario:
1.When anchor is there and on click callback app launches new view
2.When long pressed over anchor, clicked should not be triggered, selection should happen, in issue scene selection and clicked both are happening

Change-Id: If8943ebb97f3debed6e0e8b67a3393cd7843b6f3
Signed-off-by: Minchul Lee <slotus.lee@samsung.com>
7 years agoentry: hide ctxpopup during long press and drag 20/109820/1
Minchul Lee [Thu, 12 Jan 2017 01:41:59 +0000 (10:41 +0900)]
entry: hide ctxpopup during long press and drag

Sometimes, ctxpopup was not hidden when drag.
When select new word on drag, ctxpopup should be hidden.

Change-Id: Ic206d3d086b20cfa37eb3fea5c1fd48e58b86139
Signed-off-by: Minchul Lee <slotus.lee@samsung.com>
7 years agoelm_calendar: add APIs for minimum and maximum values for the date 82/109482/1 accepted/tizen/common/20170112.174137 accepted/tizen/ivi/20170111.221558 accepted/tizen/mobile/20170111.221509 accepted/tizen/tv/20170111.221524 accepted/tizen/wearable/20170111.221546 submit/tizen/20170110.235747
JEONGHYUN YUN [Tue, 10 Jan 2017 07:22:29 +0000 (16:22 +0900)]
elm_calendar: add APIs for minimum and maximum values for the date

elm_calendar already have minimum and maximum year set/get APIs.
I've added new APIs that exapanded from the year to the date.
These APIs help us not only set min/max month but also set min/max day.
If you set the minimum date, changing the displayed month or year if needed.
Displayed day also to be disabled if it is smaller than minimum date.

Reviewers: woohyun, Hermet, jpeg, CHAN, cedric

Reviewed By: CHAN, cedric

Subscribers: CHAN, cedric, jpeg

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

Change-Id: If93e888eb76e1f84b2601a87b12b8b67f2d4820c
Signed-off-by: JEONGHYUN YUN <jh0506.yun@samsung.com>
7 years agoelm_panel: scrollable panel content size ratio refactoring (for 2.4 UX) 48/108648/4 accepted/tizen/common/20170110.154939 accepted/tizen/ivi/20170110.081011 accepted/tizen/mobile/20170110.080855 accepted/tizen/tv/20170110.080919 accepted/tizen/wearable/20170110.080945 submit/tizen/20170110.035404
JEONGHYUN YUN [Thu, 5 Jan 2017 09:33:33 +0000 (18:33 +0900)]
elm_panel: scrollable panel content size ratio refactoring (for 2.4 UX)

scrollable panel content size ratio refactoring (for 2.4 UX)

@tizen_fix

Change-Id: I19f3866cb269ed88a26052e0e6ae078755b49330
Signed-off-by: JEONGHYUN YUN <jh0506.yun@samsung.com>
7 years agoelm_plug/elm_conform: add plug message feature. 55/108955/1
Hosang Kim [Wed, 4 Jan 2017 07:48:23 +0000 (16:48 +0900)]
elm_plug/elm_conform: add plug message feature.

@tizen_only

Change-Id: I719ec85ae511938ccf9290dfffba3c3d7039292c
(cherry picked from commit b4e31bb79cdbdceb1317738532988d8b32cf63db)

7 years agoelm_panel: Add _scrollable_layout_resize internal funcion for refactoring 27/108627/1
JEONGHYUN YUN [Thu, 5 Jan 2017 08:32:35 +0000 (17:32 +0900)]
elm_panel: Add _scrollable_layout_resize internal funcion for refactoring

Summary:
Remove duplicated code in _elm_panel_efl_gfx_size_set
and _elm_panel_scrollable_content_size_set.

Reviewers: jpeg, woohyun, eunue, jypark

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

Change-Id: I51196afc9519f93a16d10da479be87e5fec39de8
Signed-off-by: JEONGHYUN YUN <jh0506.yun@samsung.com>
7 years agoelm_panel: Add get function in scrollable_content_size property 66/108566/4
JEONGHYUN YUN [Thu, 5 Jan 2017 05:54:08 +0000 (14:54 +0900)]
elm_panel: Add get function in scrollable_content_size property

Summary:
1.Added get function for getting the size of the scrollable panel.
Additionally, added some exception handling code in scrollable_content_size_set

Reviewed By: jpeg

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

Change-Id: I14df2301872773d3f4e0604f3d66505233bc6676
Signed-off-by: JEONGHYUN YUN <jh0506.yun@samsung.com>
7 years agoelm_entry: Do not set the cursor to next char if the end of line encounter 63/108563/1
SubodhKumar [Wed, 4 Jan 2017 09:59:57 +0000 (15:29 +0530)]
elm_entry: Do not set the cursor to next char if the end of line encounter
it captures newline char also in some scenario

Scenario: 1.Have an item image in entry
2.Make cursor after the item
3.Hit enter
4.Long press to select the item image
5.Observe

@tizen_fix

Change-Id: I10a574c266d04ed1db09065c62644c3c81966eda

7 years agogenlist: enable disabled content when content reused 43/108443/2
SangHyeon Lee [Tue, 3 Jan 2017 10:03:08 +0000 (19:03 +0900)]
genlist: enable disabled content when content reused

Change-Id: I6696419a65918a5486165bc0d25ba01eec97e346
(cherry picked from commit 6c0833a341216d26cf410560c9fc8dc70f1a2aba)

7 years agogenlist : fixing wrong item realize bug when block is changed 42/108442/2
SangHyeon Lee [Wed, 4 Jan 2017 05:50:55 +0000 (14:50 +0900)]
genlist : fixing wrong item realize bug when block is changed

This is port of upstream patch
7b6cd2862da1d677fdcc6fb231bb3c07e1f641cb

Change-Id: I309936b09ffa8dad208333842c68d8104945db23
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
(cherry picked from commit f43e701d69ff4f61e52c98d09ef78b9a5e4afb3e)

7 years agogengrid : enable layout sizing eval and content min limit feature in gengrid 41/108441/2
SangHyeon Lee [Tue, 3 Jan 2017 08:40:26 +0000 (17:40 +0900)]
gengrid : enable layout sizing eval and content min limit feature in gengrid

Change-Id: Id3fa2770a19b46b149168e782b2c5a87376f84b4
(cherry picked from commit 209e03d4a3612ede14f7473b90ee8f7394fc6ef6)

7 years agogenlist: fixing wrong scroll posiiton calc in SCROLLTO_IN 40/108440/3
SangHyeon Lee [Mon, 2 Jan 2017 10:20:38 +0000 (19:20 +0900)]
genlist: fixing wrong scroll posiiton calc in SCROLLTO_IN

Change-Id: I4da1d63cf0fd81fd6695668941d8f30cf326c350
(cherry picked from commit 22c2730d65c95be9f8fb92fdde1b22dae6d18c69)

7 years agoRevert "[Genlist] skip pan obj coord when height is 0" 39/108439/1
SangHyeon Lee [Mon, 2 Jan 2017 08:18:31 +0000 (17:18 +0900)]
Revert "[Genlist] skip pan obj coord when height is 0"

This reverts commit 75b7441271063672dfd477cd4e98b445234b218b.

Change-Id: Idf03c708edbb0b955e1b6bc806ae46e6851eb091
(cherry picked from commit b48374e92a045da7a9c9f7c4d186038d5802cdea)

7 years agonotify: remove redundant _sizing_eval function call 12/108312/1
Minkyu Kang [Fri, 23 Dec 2016 05:05:33 +0000 (14:05 +0900)]
notify: remove redundant _sizing_eval function call

Change-Id: I12ac0ab4a0df124b9949e8b0a610859790bab15c
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
7 years agoAdd deprecated description to deprecated APIs accepted/tizen/common/20170102.152333 accepted/tizen/ivi/20170103.051253 accepted/tizen/mobile/20170103.051013 accepted/tizen/tv/20170103.051127 accepted/tizen/wearable/20170103.051209 submit/tizen/20170102.091821 submit/tizen/20170103.012719
Jongmin Lee [Fri, 30 Dec 2016 06:14:03 +0000 (15:14 +0900)]
Add deprecated description to deprecated APIs

Change-Id: I1b48dfef86e2a8d22101416475b6c6de2224e4bb

7 years agocopypaste: Add cbhm item type get to prevent paste option to show when entry
SubodhKumar [Fri, 30 Dec 2016 09:31:38 +0000 (15:01 +0530)]
copypaste: Add cbhm item type get to prevent paste option to show when entry
mode in plain text and selection is image

Change-Id: I2499570b9a9a3f3708a676bb96788a3c82f2f523

7 years ago[Genlist] skip pan obj coord when height is 0
Sungtaek Hong [Fri, 30 Dec 2016 07:48:54 +0000 (16:48 +0900)]
[Genlist] skip pan obj coord when height is 0

 - When genlist is in popup scroller, oh, derived from
   evas_object_geometry_get(), is 0. and calculates wrong y.
   This is a hack to skip when 0 height case.

@tizen_fix

Change-Id: I873caea8f53485b85c257a7f5d72b21b6f97c4e8
Signed-off-by: Sungtaek Hong <sth253.hong@samsung.com>
7 years ago[Naviframe] resize prev item before raise
Sungtaek Hong [Thu, 29 Dec 2016 07:01:39 +0000 (16:01 +0900)]
[Naviframe] resize prev item before raise

Change-Id: I77ca683676a99a2079f69b6499f9549ece845973
Signed-off-by: Sungtaek Hong <sth253.hong@samsung.com>
7 years agoatspi: check if highlighted object's parent hidden
Shinwoo Kim [Fri, 23 Dec 2016 08:40:06 +0000 (17:40 +0900)]
atspi: check if highlighted object's parent hidden

If an object is content of a layout (parent), and user calls evas_object_hide for the layout,
then the _elm_widget_evas_object_smart_hide for the object (child) is not called.
So it is not possible to know object's changed state on the AT-client side.

This patch set will check parents of highlighted object in _elm_widget_evas_object_smart_hide,
and emit state changed signal if one of parents is equal to the hiding object.

Change-Id: Ic91a06a039c6a4f254db0e4216edf7a73756c5aa

7 years agoPass correct color class to elm_object_item_color_class_del
Jee-Yong Um [Thu, 29 Dec 2016 02:54:57 +0000 (11:54 +0900)]
Pass correct color class to elm_object_item_color_class_del

Signed-Off-By: Jee-Yong Um <jc9.um@samsung.com>
Change-Id: I9476a6ea1d4fb32870e3e8f3426738e14c98f651

7 years agolabel: don't make ellipsis/slide label as expandable
Youngbok Shin [Tue, 27 Dec 2016 07:57:32 +0000 (16:57 +0900)]
label: don't make ellipsis/slide label as expandable

@tizen_fix

Change-Id: Ic85c84277ba65eb3a852ebc76f5d58a9d5990afb

7 years agogenlist: fix on focus item search logic to make include content also in current viewport
SangHyeon Lee [Mon, 26 Dec 2016 11:40:19 +0000 (20:40 +0900)]
genlist: fix on focus item search logic to make include content also in current viewport

Change-Id: Icdfd466b9a07e360a7aa6c0b1ea657b63fe0ae5b
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
7 years agoentry: return cursor geometry for show region geometry everytime
Youngbok Shin [Thu, 22 Dec 2016 12:16:42 +0000 (21:16 +0900)]
entry: return cursor geometry for show region geometry everytime

It prevents potential region show issue on mouse events.

@tizen_fix

Change-Id: I66291809c8498183cff5cfac2f54127849cfe058

7 years agowidget/entry: Update show region geometry when entry is resized
Youngbok Shin [Thu, 22 Dec 2016 04:41:14 +0000 (13:41 +0900)]
widget/entry: Update show region geometry when entry is resized

It fixes the following problems.

 - elm_widget_show_region_set() could be called from
   inside of elm_widget_show_region_set(). And the last function call
   could be ignored and given values were abandoned.
   The patch updates show region values everytime.

 - When elm_entry is resized during processing elm_widget_show_region_set(),
   it must update its show region geometry to show proper region according to
   lastest geometry.
   The patch will show proper region of elm_entry's cursor.

@tizen_fix

Change-Id: Ia92a5232cfd26aa98075cdb9e4b54d376d1c44b7

7 years agocopypaste: Do not show popup when entry is not in the viewport.
SubodhKumar [Mon, 26 Dec 2016 06:28:51 +0000 (11:58 +0530)]
copypaste: Do not show popup when entry is not in the viewport.

Change-Id: I7fd61159dc669520bd090a16b8a8738ddc0adeab

7 years agoRevert "elm_entry: show context menu when entry is longpressed without focusing"
Thiep Ha [Mon, 26 Dec 2016 03:17:07 +0000 (12:17 +0900)]
Revert "elm_entry: show context menu when entry is longpressed without focusing"

This reverts commit 5eb41281c87b4f4d8e10cec140a21bc65ffd8cdf.
The commit causes the context menu show when entry does not
have focus: http://suprem.sec.samsung.net/jira/browse/TSAM-12196

Change-Id: Ib22b0cb2b334d368fd24bb27e09b8e513342f090

7 years agopanel: decide whether a scrollable panel is open or not only when it has a size
Jaeun Choi [Fri, 23 Dec 2016 13:01:44 +0000 (22:01 +0900)]
panel: decide whether a scrollable panel is open or not only when it has a size

in _state_sync() function, scrollable content's position is used to tell
whether the panel is open or not. in case of a top panel, for example,
it is considered to be open when the content's vertical position equals to zero.
however, this logic has a defect in that the position is always zero
if the content size is zero - not resized properly yet. it caused unwanted results.
this patch added some codes to check
1. if the panel's width or height is bigger than zero
2. if the box which contains panel contents is visible (resizable)

@fix

Change-Id: I997332005033cbeb3a0ebd70238de8541b257726

7 years agogenlist: checking ON_SCROLL when mouse down to prevent wrong item highlight
SangHyeon Lee [Fri, 23 Dec 2016 07:15:52 +0000 (16:15 +0900)]
genlist: checking ON_SCROLL when mouse down to prevent wrong item highlight

Change-Id: I746b1691feca6b6f8cc8f318c683f5ffff82c7c5
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
7 years agogenlist: move edje to unshown position when it cached
SangHyeon Lee [Fri, 23 Dec 2016 07:06:54 +0000 (16:06 +0900)]
genlist: move edje to unshown position when it cached

Change-Id: I5417203091e6c65c40b3472e825e7564dd875cad

7 years ago[ATSPI][popup] Support popup's atspi name interface.
JunsuChoi [Thu, 22 Dec 2016 09:02:50 +0000 (18:02 +0900)]
[ATSPI][popup] Support popup's atspi name interface.

   it can use "alert + text(name)" to set name of the popup object
   in application

Change-Id: I9c090ca22d8c026b705b3793991a847b0eeefac5

7 years agopopup: use widget style set internal function to notify
JinYong Park [Fri, 23 Dec 2016 06:53:48 +0000 (15:53 +0900)]
popup: use widget style set internal function to notify

Change-Id: I48a1f800a751c6386134916d4ec911659f3ffbc0
Signed-off-by: Jinyong Park <j4939.park@samsung.com>
7 years agoRevert "notify: block_events restore previous style when style set failed"
JinYong Park [Thu, 22 Dec 2016 11:53:13 +0000 (20:53 +0900)]
Revert "notify: block_events restore previous style when style set failed"

That patch to resolve problem which block events couldn't find correct theme.
But now, find better method, so revert that patch.

This reverts commit 000acee4c8f6fad04be243a1639f219e6d81da38.

Change-Id: I409a30a0d5658ea9588f3c43d2884ba198a90f11
Signed-off-by: Jinyong Park <j4939.park@samsung.com>
7 years agowidget: add _elm_widget_style_set_internal function to internal usage.
JinYong Park [Fri, 23 Dec 2016 06:45:50 +0000 (15:45 +0900)]
widget: add _elm_widget_style_set_internal function to internal usage.

For some composite widgets, using "elm_widget_style_set" function
check its subobject theme apply result and it cause problem which can't set theme excatly.
To avoid this problem, internal style set function don't check sub objects theme apply result.

Change-Id: I84588263aa2936c7d1696fbfc46d3d509e5d8189
Signed-off-by: Jinyong Park <j4939.park@samsung.com>
7 years agoelm_layout: Fix not to return value from void function.
Jaehyun Cho [Thu, 22 Dec 2016 11:40:59 +0000 (20:40 +0900)]
elm_layout: Fix not to return value from void function.

Change-Id: I488c83b895cc3e814130814f4141967e53563bb3

7 years agoentry: clear selection on unfocus for both editable and non-editable entries
Minchul Lee [Thu, 22 Dec 2016 07:27:34 +0000 (16:27 +0900)]
entry: clear selection on unfocus for both editable and non-editable entries

Change-Id: Ieb050330efd16cc9ba909ba664021f6a4e03bbd9
Signed-off-by: Minchul Lee <slotus.lee@samsung.com>
7 years agospinner: disable entry touch sound for uneditable mode
Minchul Lee [Thu, 22 Dec 2016 06:01:48 +0000 (15:01 +0900)]
spinner: disable entry touch sound for uneditable mode

Change-Id: Ibbb5f5ac46302b02877d47ab3bc328a8f10a2032
Signed-off-by: Minchul Lee <slotus.lee@samsung.com>
7 years agoScroller: keep contents layout rel even if rtl is set
Wonki Kim [Wed, 21 Dec 2016 10:42:11 +0000 (19:42 +0900)]
Scroller: keep contents layout rel even if rtl is set

Once rtl mode is set, elm_layout reverses its x-axis.
however, scroller uses elm_layout to contain both original content and
proxy image of it when loop mode is set.

In this situation, elm_layout should not reverse its x-axis when It is
used for container of proxy to support loop mode of scroller.

This commit will not apply rtl mode to contents layout (mirrored set)

@tizen_fix

Change-Id: Ia334cc2beb61621f9b9e16c5463345efd8a415c2
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
7 years ago[ATSPI][elm_genlist] Remove ", header" from the atspi name.
JunsuChoi [Wed, 21 Dec 2016 07:20:05 +0000 (16:20 +0900)]
[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: I88b5fddc76e5eb7b4bcc4034b4a6dbb315b613f1

7 years ago[elm_layout][ATSPI] modify null check of obj
JunsuChoi [Wed, 21 Dec 2016 04:22:43 +0000 (13:22 +0900)]
[elm_layout][ATSPI] modify null check of obj

   modify null check of obj in _elm_layout_elm_widget_atspi function.

Change-Id: I916e186388b78fbb870e4fc94d0d51f724e72a74

7 years agocolor_class: fix errors which can occur in specific scenarios
Jee-Yong Um [Wed, 21 Dec 2016 10:22:32 +0000 (19:22 +0900)]
color_class: fix errors which can occur in specific scenarios

Signed-Off-By: Jee-Yong Um <jc9.um@samsung.com>
Change-Id: I3a0e504c7c800ae56eae7fef6d332a0dab484825

7 years agoRevert "elm_cnp: support return type for _wl_elm_cnp_selection_get()"
Taehyub Kim [Wed, 21 Dec 2016 08:43:22 +0000 (17:43 +0900)]
Revert "elm_cnp: support return type for _wl_elm_cnp_selection_get()"

This reverts commit beec73b881d004d1d8915675b71cb25fada2d405.
Change-Id: Ia66221f7d3de233e82681464604872be14073193

7 years ago[Map] remove unecessary list free
Sungtaek Hong [Tue, 20 Dec 2016 13:54:45 +0000 (22:54 +0900)]
[Map] remove unecessary list free

@tizen_fix

Change-Id: Ie81e4a537254c77e94eb414ef6cfdea9a2b701a1
Signed-off-by: Sungtaek Hong <sth253.hong@samsung.com>
7 years agoelm_scroller: focus_next needs to give itself when no focusable child
WooHyun Jung [Tue, 20 Dec 2016 10:22:57 +0000 (19:22 +0900)]
elm_scroller: focus_next needs to give itself when no focusable child

@fix

Change-Id: I2efe6534d20477c82ef66eb64c18060d24fe2a84

7 years agoelm_cnp: modify data_ret value in _wl_general_conveter() to return NULL when input...
Taehyub Kim [Mon, 19 Dec 2016 09:24:16 +0000 (18:24 +0900)]
elm_cnp: modify data_ret value in _wl_general_conveter() to return NULL when input data is empty

Change-Id: I76d302220ccebd6b897197c8465fba28d2f9d14c

7 years agoconform: Postpone indicator hiding once quickpanel is visible
Wonki Kim [Tue, 20 Dec 2016 01:18:16 +0000 (10:18 +0900)]
conform: Postpone indicator hiding once quickpanel is visible

Postpone indicator hiding when quickpanel is showing to meet ux guideline.
modify indicator to work with theme.

@tizen_feature

Change-Id: I00840736632742702640a7da0f9289e192678cc4
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
7 years agocopypaste: remove unnecessary code
Taehyub Kim [Tue, 20 Dec 2016 06:32:59 +0000 (15:32 +0900)]
copypaste: remove unnecessary code

Change-Id: I8d64fb21f4d54f029a65c3ea9aa63c0a96ea2e41

7 years agoelm_cnp: support return type for _wl_elm_cnp_selection_get()
Taehyub Kim [Tue, 20 Dec 2016 06:30:20 +0000 (15:30 +0900)]
elm_cnp: support return type for _wl_elm_cnp_selection_get()

Change-Id: I9cc82e340727a0866651aa201fc66e0d0043dd8e

7 years agoelm_cnp: support text plain mime type for _wl_elm_cnp_selection_get()
Taehyub Kim [Tue, 20 Dec 2016 06:20:27 +0000 (15:20 +0900)]
elm_cnp: support text plain mime type for _wl_elm_cnp_selection_get()

Change-Id: I7e2273bd1a74a660739a98fc31bc6fbe2e0a2ea5

7 years agomultibuttonentry: Fix dereference of null pointer issue.
Woochan Lee [Tue, 20 Dec 2016 04:52:59 +0000 (13:52 +0900)]
multibuttonentry: Fix dereference of null pointer issue.

https://phab.enlightenment.org/D4501

Change-Id: I2372ac0e65d96d0065fb9c15266827a104f54cfe

7 years agowin: bug fix - add missing NULL checking in _elm_win_translate
Jaeun Choi [Tue, 20 Dec 2016 05:55:11 +0000 (14:55 +0900)]
win: bug fix - add missing NULL checking in _elm_win_translate

_elm_config might not be initialized at the point

@tizen_fix

Change-Id: Ifd31a884f484aaf1a277434fbc5d7818c20efb3f

7 years agoconfig: add missing "TIZEN_ONLY" comments for "language_auto_mirrored"
Jaeun Choi [Tue, 20 Dec 2016 05:51:28 +0000 (14:51 +0900)]
config: add missing "TIZEN_ONLY" comments for "language_auto_mirrored"

Change-Id: I68fae4b2902eb2eade9a3ab15bb24d51a6acfe82

7 years agoctxpopup: fix dismissed callback call
JinYong Park [Tue, 13 Dec 2016 11:55:02 +0000 (20:55 +0900)]
ctxpopup: fix dismissed callback call

Change-Id: I645481bff840cd8029034fb24fcab8725875d841
Signed-off-by: Jinyong Park <j4939.park@samsung.com>
7 years agoscrollable_interface: fixed logic for calcualting position to scroll.
Hosang Kim [Mon, 19 Dec 2016 03:50:07 +0000 (12:50 +0900)]
scrollable_interface: fixed logic for calcualting position to scroll.

When width of parameter(w) is bigger than or equal to scroller's
width(pw), scrollable object must be scrolled to x position.

Change-Id: I168cd7946cd689db4fca5e170b9e2e2d86e7efc5

7 years agoelm_calendar: Fix to support NLS disabled system.
Jaehyun Cho [Mon, 19 Dec 2016 06:09:51 +0000 (15:09 +0900)]
elm_calendar: Fix to support NLS disabled system.

Change-Id: Iaf39a85048cb462f136c0473dd523c03715927f2

7 years agodatetime: Fixed field list arrange code.
Woochan Lee [Mon, 19 Dec 2016 04:46:18 +0000 (13:46 +0900)]
datetime: Fixed field list arrange code.

It was implemented in tizen_2.4.
I missed this commit before.

@tizen_fix

Change-Id: Id639c0a6024bce31448933a3806dfb44570b73f1

7 years agogenlist: add hidden signal when text and content is unset
SangHyeon Lee [Fri, 16 Dec 2016 10:32:27 +0000 (19:32 +0900)]
genlist: add hidden signal when text and content is unset

Change-Id: I6298e025735b39d0ec4d51344205ac845f7a5b4c

7 years agogengrid : cancel longpress timer when event is on hold
SangHyeon Lee [Fri, 16 Dec 2016 09:44:45 +0000 (18:44 +0900)]
gengrid : cancel longpress timer when event is on hold

Change-Id: Ia25c8ed9e225f067add8f1e9fcf4b930a27e5096
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
7 years agogengrid : enable select in longpressed
SangHyeon Lee [Fri, 16 Dec 2016 02:44:13 +0000 (11:44 +0900)]
gengrid : enable select in longpressed

This is Tizen Only patch since Tizen 2.4

@tizen_fix

Change-Id: I5b38a626f4fefac1960cb566e6584c437a187a20

7 years agogenlist: enable focus on select none and display only item
SangHyeon Lee [Fri, 16 Dec 2016 07:02:34 +0000 (16:02 +0900)]
genlist: enable focus on select none and display only item

Change-Id: Idd2f7100e0b0e6dc741c0826187ef6a6217aaf34
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
7 years agospinner: Delete code that make a value as min, max automatically.
Woochan Lee [Fri, 16 Dec 2016 07:49:43 +0000 (16:49 +0900)]
spinner: Delete code that make a value as min, max automatically.

This is not tizen UI.
Tizen UI is just ignore last input value when value is bigger, smaller than min, max.

Change-Id: I06be226b274c7c9913509cb1c193aafaa77aedea

7 years ago[atspi] slider uses max value when atspi tries to set value.
Shinwoo Kim [Wed, 14 Dec 2016 11:31:20 +0000 (20:31 +0900)]
[atspi] slider uses max value when atspi tries to set value.
Because double type value could be 1.00000000000000022204.

Change-Id: Idab1a1f4f57bae61f27511bb1b93a0fbef3aff2f

7 years ago[atspi] do not response if ecore evas is obscured
Shinwoo Kim [Tue, 13 Dec 2016 11:36:01 +0000 (20:36 +0900)]
[atspi] do not response if ecore evas is obscured

The homescreen could launch an application using 1 finger two tap.
If 1 finger tap is fired as soon as application launches,
the accessible_at_point_get works for obscured homescreen.

Change-Id: I385fc09e292350656a37a91cbc0b4cace82bb32b

7 years ago[ATSPI][elm_layout] apply screen_reader_changed callback
JunsuChoi [Tue, 13 Dec 2016 05:48:17 +0000 (14:48 +0900)]
[ATSPI][elm_layout] apply screen_reader_changed callback

   Called screen_reader_changed callback when screen reader is on/off.
   @TIZEN_ONLY

Change-Id: I396aaefd35a6ec9de75ef7b68251d2d1fc6d3e99

7 years agoelm_interface_scrollable: fix calculating position logic.
Hosang Kim [Thu, 15 Dec 2016 04:58:40 +0000 (13:58 +0900)]
elm_interface_scrollable: fix calculating position logic.

The target position should be calculated without width and
height.

Change-Id: I88b450e9e70009efc288c2b5e94957513cd08b53

7 years agoelm_widget: add logic for updating geometry after moving
Hosang Kim [Tue, 13 Dec 2016 11:19:45 +0000 (20:19 +0900)]
elm_widget: add logic for updating geometry after moving
scrollable object.

In multiple scrollable case, the target object should be updated.
Because the movement of the first object is finished. So the parent of
the first object should be target object.

Change-Id: I9f8198fb0d9f4ac5c993574e7f9d7dd2b58ad402

7 years agonaviframe: Raise previous view after item pop is finished.
Jaehyun Cho [Wed, 14 Dec 2016 10:53:49 +0000 (19:53 +0900)]
naviframe: Raise previous view after item pop is finished.

Previously, previous view was raised immediately when item pop is
started so previous view covers current view when item pop is started.
Now, previous view is raised after item pop is finished so previous view
covers current view when item pop is finished.

Change-Id: I86f343e0b49f3801d00e553755896f0eb756daa0