platform/upstream/elementary.git
7 years agohoversel: refactor a bit to avoid code duplication. 11/82711/4
Subodh Kumar [Tue, 10 Nov 2015 00:05:05 +0000 (16:05 -0800)]
hoversel: refactor a bit to avoid code duplication.

==============================================================
   hoversel: refactor a bit to avoid code duplication.

   Summary:
   Avoid code duplication

   Two dismissal signals at two different places
   created some confusion and also code is duplicated.
   Also removed some extra space.

   Test Plan: NA

   Reviewers: cedric

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

   Conflicts:
           src/lib/elc_hoversel.c
==============================================================

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

7 years agophotocam: fix late calculation when object is resized or moved 07/83607/1
WooHyun Jung [Fri, 12 Aug 2016 03:59:16 +0000 (12:59 +0900)]
photocam: fix late calculation when object is resized or moved

This commit is merged from Tizen 2.4

@tizen_fix

Change-Id: I8859d242f543d29045be8e66ca8c074b034191e6

7 years ago[elm_web] elm_web is not supported in tizen for now. so, remove all from make files 89/83589/1
WooHyun Jung [Fri, 12 Aug 2016 01:44:34 +0000 (10:44 +0900)]
[elm_web] elm_web is not supported in tizen for now. so, remove all from make files

@tizen_fix

Change-Id: Iee4b997a8cb639c0768301056209bc368458642c

7 years agopriv: centralized and safe inclusion of Ecore_Cocoa.h 37/82937/2
Jean Guyomarc'h [Wed, 14 Oct 2015 07:12:28 +0000 (09:12 +0200)]
priv: centralized and safe inclusion of Ecore_Cocoa.h

Change-Id: I6a1f4c7530734a0d4910499a698700be96f01dc6
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
7 years agocnp: cocoa support for copy and paste (text only). 36/82936/2
Jean Guyomarc'h [Fri, 9 Oct 2015 15:18:20 +0000 (17:18 +0200)]
cnp: cocoa support for copy and paste (text only).

Change-Id: Ica1794024a87d489a17e6e838e5cd60f3c190eb2
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
7 years agowin: add Cocoa support for elm_win_window_id_get() API 35/82935/2
Jean Guyomarc'h [Tue, 13 Oct 2015 14:40:49 +0000 (16:40 +0200)]
win: add Cocoa support for elm_win_window_id_get() API

Change-Id: Iaa6e73572ceec87b4c1533bdae7dd76bba8ae812
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
7 years agowin: use EINA_UNUSED instead of void casting. 34/82934/2
Jean Guyomarc'h [Tue, 13 Oct 2015 08:40:30 +0000 (10:40 +0200)]
win: use EINA_UNUSED instead of void casting.

Change-Id: I9530edfb8ec59fd10df5cc976c001f54cf660725
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
7 years agocursor: add support for Cocoa system cursors. 33/82933/2
Jean Guyomarc'h [Thu, 8 Oct 2015 10:01:38 +0000 (12:01 +0200)]
cursor: add support for Cocoa system cursors.

Change-Id: I2b4747cd2e9c202b618348c6acebcf91aec18022
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
7 years agoconform: Fix build break on X backend. 76/82976/4
Wonki Kim [Mon, 8 Aug 2016 10:45:52 +0000 (19:45 +0900)]
conform: Fix build break on X backend.

Wayland specific APIs has been added previous commit.
then the APIs break the build on X backend.
this commit fix that issue.

Change-Id: I2b7cc5968b1facfe11ff1a0068661fcef39eb2f0
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
7 years agoRevert "elm_entry: fix duplicate text set" 18/83218/2
Youngbok Shin [Tue, 9 Aug 2016 12:33:51 +0000 (21:33 +0900)]
Revert "elm_entry: fix duplicate text set"

This reverts commit e75202e86ba3bb6f73aa78185779a838aecd083c.

Change-Id: I3979664c31c9896602fa2ec6910f95213a450b53

7 years agoelm_hoversel: add "escape" key action to dismiss 84/82684/3 accepted/tizen/common/20160811.145743 accepted/tizen/ivi/20160811.002916 accepted/tizen/mobile/20160811.002858 accepted/tizen/tv/20160811.002811 accepted/tizen/wearable/20160811.003100 submit/tizen/20160810.102033
Pankaj Mittal [Fri, 5 Aug 2016 06:06:14 +0000 (11:36 +0530)]
elm_hoversel: add "escape" key action to dismiss

Summary:
To allow to dismiss hoversel expansion without selecting item
by key, "escape" key action is added.

Test Plan: elementary_test -to hoversel

Reviewers: Jee-Yong Um

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

Signed-off-by: Pankaj Mittal <m.pankaj@samsung.com>
Change-Id: Icb45fbc0a7fa7bf93e2feae3b8bfa45d78447f28

7 years agoconform: code rearrange for convention 55/83055/1
Wonki Kim [Tue, 9 Aug 2016 02:41:58 +0000 (11:41 +0900)]
conform: code rearrange for convention

minor changes applied to keep coding convention

Change-Id: I22d842c4475ffe8609fd136dedcd5a8d055a4c5c
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
7 years ago[Map] fix potential memory leak 77/82677/5
Sungtaek Hong [Fri, 5 Aug 2016 05:03:34 +0000 (14:03 +0900)]
[Map] fix potential memory leak

origin: upstream

Change-Id: Ia380aaf9e82d4d11ff88278afc7ba97db7bb6046
Signed-off-by: Sungtaek Hong <sth253.hong@samsung.com>
7 years agoconform: fix segmentation fault from dangling pointer 49/82949/3
Wonki Kim [Mon, 8 Aug 2016 08:26:44 +0000 (17:26 +0900)]
conform: fix segmentation fault from dangling pointer

Memory segmentation fault occurs on certain circumstances.
This commit make sure the pointer clear to prevent dangling
pointer error.

Change-Id: I0287dc7f21c765b62b2d65f5bdfe0eb8a80c94d0
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
7 years agoelm_interface_scrollable: fix bug about scroll smart callback. 45/82845/3
Hosang Kim [Mon, 8 Aug 2016 06:26:34 +0000 (15:26 +0900)]
elm_interface_scrollable: fix bug about scroll smart callback.

when application uses region show func,
"elm,action,scroll,*" smart callback is not called.

Signed-off-by: Hosang Kim <hosang12.kim@samsung.com>
Change-Id: If0be59e985a2cbfc3c6a6679e439e3b91a807df9

7 years agoelm_map: fix wrong check of source search 57/82857/2
Sungtaek Hong [Mon, 8 Aug 2016 07:25:30 +0000 (16:25 +0900)]
elm_map: fix wrong check of source search

origin: upstream
Change-Id: I008f272c1d140a4d2b35744619f987edc0c656c6
Signed-off-by: Sungtaek Hong <sth253.hong@samsung.com>
7 years agoelm_progressbar: show status when unit_format_func is set 25/82825/1
Sungtaek Hong [Mon, 8 Aug 2016 02:43:20 +0000 (11:43 +0900)]
elm_progressbar: show status when unit_format_func is set

origin: upstream

Change-Id: I0c566a31997cb4faa26fbad68d88c00578eaff97
Signed-off-by: Sungtaek Hong <sth253.hong@samsung.com>
7 years agoatspi: do not handle events if window is not activated. 33/82233/2
Shinwoo Kim [Tue, 2 Aug 2016 06:40:57 +0000 (15:40 +0900)]
atspi: do not handle events if window is not activated.

An activated window and the stater process could call "NotifyListenersSync" method, which makes atspi_register_keystroke_listener be called twice.

Change-Id: Ic22366604b4d3755d7fefc76c9b31d31d747d46c

7 years agoatspi: toolbar - fix cannot call select callback 98/81798/2
Shinwoo Kim [Thu, 28 Jul 2016 11:00:58 +0000 (20:00 +0900)]
atspi: toolbar - fix cannot call select callback
There is a line to check select_mode in _item_select function.
The item selected(clicked) callback is called when the select_mode is ELM_OBJECT_SELECT_MODE_NONE.
The checking select_mode should be handled at one place.

Change-Id: Ic0063cf2c6dc3fe8547c5c7ee075d49404bb55f8

7 years agoatspi: provide highlight legacy API 60/80960/4
Shinwoo Kim [Thu, 21 Jul 2016 06:12:02 +0000 (15:12 +0900)]
atspi: provide highlight legacy API

Change-Id: Idd035aeecc65b9a97aa6db881b0f435c9466ae18

7 years agogenlist: do not emit AT-SPI "children-changed" events 31/79631/4
Lukasz Stanislawski [Wed, 8 Jul 2015 12:50:21 +0000 (14:50 +0200)]
genlist: do not emit AT-SPI "children-changed" events

@tizen_feature

Conflicts:
src/lib/elm_atspi_bridge.c
src/lib/elm_genlist.c

Change-Id: I0a996f144dbea4d4e26155e1fbb901683b9a2a41

7 years agoelm_access: support elm_access used for embedded toolkit 47/79147/3
Shinwoo Kim [Fri, 8 Jul 2016 10:41:12 +0000 (19:41 +0900)]
elm_access: support elm_access used for embedded toolkit

Change-Id: I7c59080c9cdf3747fcd32a7af8c9a4573e61003b

7 years agoelm_access: override elm_interface_atspi_widget_action_elm_actions_get 77/78877/3
Shinwoo Kim [Thu, 7 Jul 2016 08:05:15 +0000 (17:05 +0900)]
elm_access: override elm_interface_atspi_widget_action_elm_actions_get

Change-Id: Ic23428f794b1fca8612cd13d6e9e6d56439a7e4f

7 years ago[atspi] enable atspi_proxy to work 39/78239/5
Shinwoo Kim [Tue, 5 Jul 2016 00:22:42 +0000 (09:22 +0900)]
[atspi] enable atspi_proxy to work

Change-Id: I57863e2a5e1087e537b6e09f0c6c448d2c440a27

7 years agoatspi: set _accessibility_currently_highlighted_obj to NULL in object delete callback 70/81770/3
Shinwoo Kim [Thu, 28 Jul 2016 08:33:39 +0000 (17:33 +0900)]
atspi: set _accessibility_currently_highlighted_obj to NULL in object delete callback

Change-Id: If19a0a6fc08a4d42d48efca24de6d3f3488f56d2

7 years agoatspi: add API elm_atspi_accessible_can_focus_set/get 18/81618/3
Shinwoo Kim [Wed, 27 Jul 2016 08:41:22 +0000 (17:41 +0900)]
atspi: add API elm_atspi_accessible_can_focus_set/get

Change-Id: Ib5f3d71370c8d3153e533416d0a801f034f4d6a9

7 years ago[Doc] fix colorselector_mode description 64/82564/4
Sungtaek Hong [Thu, 4 Aug 2016 07:07:12 +0000 (16:07 +0900)]
[Doc] fix colorselector_mode description

Change-Id: I8383c9fe2d7d424566bf09d460fcd8d39c2b69ba
Signed-off-by: Sungtaek Hong <sth253.hong@samsung.com>
7 years agoelm_colorselector: selected item is updated when color is changed. 71/82271/3
Sungtaek Hong [Tue, 2 Aug 2016 09:39:58 +0000 (18:39 +0900)]
elm_colorselector: selected item is updated when color is changed.

 - Previously, mode change, color change updated sd->selected,
   but did not send signals to edje of the item.
 - Also, mode change in colorselector set sd->selected to the
   first item even when palette is visible in previous mode.
 - Now, when mode is changed, sd->selected is set NULL and send
   unselected signal if palette is invisible, and keep sd->selected
   if palette is visible.
 - sd->selected is set NULL when color is changed in picker and
   color bars because previous selected item is not current
   color of colorselector

Change-Id: I199307cf58e76985b8ed698764eb7bd28a484012
origin: upstream
Signed-off-by: Sungtaek Hong <sth253.hong@samsung.com>
7 years agoaccessibility: Added mechanism for handling the reading stopped/cancelled events... 88/72988/8
Lukasz Oleksak [Fri, 3 Jun 2016 10:51:45 +0000 (12:51 +0200)]
accessibility: Added mechanism for handling the reading stopped/cancelled events for all widgets and widget_items
* fixes from review
* support for smart callbacks added for backward compatibility

Change-Id: I30cee98112079b3d557439e8e44281be647a4662

7 years agoelementary widget: fix a wrong disabled behavior. 09/82309/3
Hermet Park [Thu, 4 Aug 2016 07:56:11 +0000 (16:56 +0900)]
elementary widget: fix a wrong disabled behavior.

This is a corner case bug I spontaneously found.

* Scenario.

A. Disable A widget.
B. Add a child B widget to A.
C. Now B Widget theme will be followed to A that is performed by
   elm_widget_theme_apply()
D. This elm_widget_theme_apply() calls elm_widget_disabled_set() (originally.)
E. Now B widget will be logically disabled.
D. Let's enable A widget again.
E. After going through widget disabled sequence, elm_widget_disabled_eval()
   will be called in the last
F. In this function, A widget tries to enable its children. But B widget won't
   be enabled because its logically disabled!

Acutally, nowhere widget change children's disabled states logically,
but it propagates its state to children within volatile way so that
A widget perfectly keeps the disabled/enabled state with its children and
recover the children's enable/disable state once their relationship is cut off.

@fix

http://git.enlightenment.org/core/efl.git/commit/?id=ea2b5e40485a49b5c5aadae98ed379f1c3cf5f71

Change-Id: Ibaf3d58e0059857e3bf5dede127ce5484fd0eacc

7 years agoelm_entry: Add voice input panel layout 71/82471/5
InHong Han [Wed, 3 Aug 2016 11:35:53 +0000 (20:35 +0900)]
elm_entry: Add voice input panel layout

Change-Id: I584ec6e2750cd042e0109b7cad10f22e0d618afb

7 years agoelm_win: handle aux_message 79/81479/7 accepted/tizen/common/20160804.174446 accepted/tizen/ivi/20160804.081445 accepted/tizen/mobile/20160804.081527 accepted/tizen/tv/20160804.081401 accepted/tizen/wearable/20160804.081221 submit/tizen/20160803.115336
MinJeong Kim [Tue, 26 Jul 2016 11:18:51 +0000 (20:18 +0900)]
elm_win: handle aux_message

@tizen_feature

Change-Id: Ide5255d6024a79273eedd149a54fc4015eec3410
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
7 years agoconform: indicator opacity mode implementation 11/81711/5
Wonki Kim [Thu, 28 Jul 2016 02:36:31 +0000 (11:36 +0900)]
conform: indicator opacity mode implementation

behaviors of the indicator based on opacity mode
have been implementated.

@tizen_feature

Change-Id: I33d805b52d966fd93a2f57005c0e2422265fcd3d
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
7 years agoelm_focus: keep all focused states to be consistent when win loses and gets focus 57/80157/2
WooHyun Jung [Fri, 15 Jul 2016 04:00:59 +0000 (13:00 +0900)]
elm_focus: keep all focused states to be consistent when win loses and gets focus

Since focus_clear removed all the focused traces, focus was not reverted well
whenever win lost and got focus repeatedly.
For instance,
1. set focus to button1
2. set focus to button2
3. win focus out and in
4. remove button2
5. focus is on win not on button1

So, focus logic changes to not clear focused states when win loses focus.

@fix

Change-Id: I06a6c42cd851f72d11501c1ccfdcca52e022d926

7 years agoelementary/elm_prefs: preserve compatibility. 45/82245/1
Hermet Park [Tue, 2 Aug 2016 07:53:57 +0000 (16:53 +0900)]
elementary/elm_prefs: preserve compatibility.

C++ doens't allow empty size structure, empty structure looks harmful.

I've thought about the solution and this patch is my conclusion.

Because I'm not a big fan of elm_prefs,
if you have any better idea then please fix it on your way.

commit df96735657af7c2c5d787ab4eeb15d599647616a
Author: Hermet Park <hermet@hermet.pe.kr>
Date:   Thu Apr 28 14:12:16 2016 +0900

Change-Id: I9065f93d623a3ce608b9a9c0cee9421536e73a40

7 years ago[CONFIG] call elm_rescale() only when scale value is changed 23/82123/2
Jonghee Choi [Mon, 1 Aug 2016 00:22:02 +0000 (09:22 +0900)]
[CONFIG] call elm_rescale() only when scale value is changed

Summary: it doesn't need to call elm_rescale() in _config_flush_get() when the scale value is not changed.

Reviewers: jaehwan, cedric, raster

Subscribers: minkyu

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

Change-Id: I82a299dc84f750a518b3549b13a31b0b94121cc1
Signed-off-by: Jonghee Choi <joi.choi@samsung.com>
7 years ago[Atspi_interface]: Reading_information API added, attributes_add API added. 07/81507/9
Shilpa Singh [Tue, 26 Jul 2016 14:15:18 +0000 (19:45 +0530)]
[Atspi_interface]: Reading_information API added, attributes_add API added.
style, type attributes added in addition to reading information if set.

Change-Id: I9dafd74273dd94c7cd0062c3aebb4c931082fa33
Signed-off-by: Shilpa Singh <shilpa.singh@samsung.com>
7 years agoelm_panel : add a toggled event triggered when panel toggled in any way. 05/81305/2
JEONGHYUN YUN [Mon, 25 Jul 2016 10:43:55 +0000 (19:43 +0900)]
elm_panel : add a toggled event triggered when panel toggled in any way.

There are 2 ways to toogle the panel, by using elm_panel_toggle API and by interaction such as flick or click on panel.
This toggled event can help us to know the time when the panel toggled by all case.
This patch will be merged into opensource 1.19 version.
@tizen_fix

Signed-off-by: JEONGHYUN YUN <jh0506.yun@samsung.com>
Change-Id: I8f2a0c332e839524aa135305dbca56437e0ad8a5

7 years agoaccess: add API elm_object_part_access_object_get 03/81403/3
Shinwoo Kim [Tue, 26 Jul 2016 04:53:28 +0000 (13:53 +0900)]
access: add API elm_object_part_access_object_get

Change-Id: Id11030341b2d3037a6e3077e18c89243cc4f32df

7 years agoelm_widget: remove child from accessible children, if its height is 0 81/81281/3
Shinwoo Kim [Mon, 25 Jul 2016 08:00:44 +0000 (17:00 +0900)]
elm_widget: remove child from accessible children, if its height is 0

Change-Id: I109da1ab6f90eaeee16180de3b6f2a4c62a7aa40

7 years ago[atspi] Made changes for genlist as per latest UX and removed redundant code 28/81228/2
Prasoon Singh [Sat, 23 Jul 2016 15:20:20 +0000 (20:50 +0530)]
[atspi] Made changes for genlist as per latest UX and removed redundant code

Change-Id: Ieeb59364e3e6db9755f80429cabaea6a0e650c18

7 years agoelc_popup: read 'Alert' here temporary 27/81227/1 accepted/tizen/common/20160725.153451 accepted/tizen/ivi/20160724.043101 accepted/tizen/mobile/20160724.043013 accepted/tizen/tv/20160724.043026 accepted/tizen/wearable/20160724.043044 submit/tizen/20160723.130304
Shinwoo Kim [Sat, 23 Jul 2016 12:19:23 +0000 (21:19 +0900)]
elc_popup: read 'Alert' here temporary

Change-Id: Ide0adb02c38e993443d0c0b324fc9e8f573abf58

7 years ago[atspi] enable atspi bridge on background apps 05/81005/3
Prasoon Singh [Thu, 21 Jul 2016 08:52:21 +0000 (14:22 +0530)]
[atspi] enable atspi bridge on background apps

Change-Id: I6d94b28289c4758e39dab0b97d81d449e607bcdc

7 years ago[atspi][genlist] Changed reading from group index to header and bring changes 26/81226/2
Prasoon Singh [Sat, 23 Jul 2016 10:36:55 +0000 (16:06 +0530)]
[atspi][genlist] Changed reading from group index to header and bring changes
made for group item atspi support

Change-Id: Ib4e7ce4cf8b835b2c29d6eb8910820198e1a66ec

7 years ago[elc_popup]: Read %s, title 24/81224/1
Shilpa Singh [Sat, 23 Jul 2016 10:00:20 +0000 (15:30 +0530)]
[elc_popup]: Read %s, title

Change-Id: I6eacdd3140e6d27c9a1514668ad3aa97ec2aa14b

7 years ago[atspi] Made changes as per latest UX for index and entry 97/81197/5
Prasoon Singh [Fri, 22 Jul 2016 14:35:44 +0000 (20:05 +0530)]
[atspi] Made changes as per latest UX for index and entry

Change-Id: I4af7d6a8cbdd2fb2222f697acd3f0fe3eb1a81ed

8 years agoentry_cnp: disable the primary selection type from entry 98/81198/1
Thiep Ha [Fri, 22 Jul 2016 14:40:53 +0000 (23:40 +0900)]
entry_cnp: disable the primary selection type from entry

Since the wayland protocol does not support multiple
selection types, many issues related to the multiple
selection types happens.
We disable the primary selection type to fix related
bugs of clipboard copy paste.
When the wayland protocol supports multiple selection
types, we should enable all types in entry.
TC: copy text to entry, add new text, select all text,
paste -> selection remained, text is not pasted.
@tizen_fix

Change-Id: Ide30aafaeca5ce0d59d653770eca4253cb772681
Signed-off-by: Thiep Ha <thiep.ha@samsung.com>
8 years agocolorselector: change default mode to enhance performance. 71/81071/3
Wonki Kim [Fri, 22 Jul 2016 01:12:07 +0000 (10:12 +0900)]
colorselector: change default mode to enhance performance.

This commit change default mode to ELM_COLORSELECTOR_PALETTE
to prevent running unnecessary logics in elm_colorselector_mode_set.

@tizen_fix

Change-Id: I4acd4b65740347194064fd2241f4f0235611a688
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
8 years agoelm_win: modified code for elm_win_type_set 73/80773/2 accepted/tizen/common/20160721.180026 accepted/tizen/ivi/20160721.091527 accepted/tizen/mobile/20160721.091653 accepted/tizen/tv/20160721.091507 accepted/tizen/wearable/20160721.091435 submit/tizen/20160721.024714
Doyoun Kang [Wed, 20 Jul 2016 06:27:42 +0000 (15:27 +0900)]
elm_win: modified code for elm_win_type_set

we changed code to allow changing window type after initializing elm_win

Change-Id: I404322b0dd1e3dff4c9b8e858d1124778972e48f

8 years ago[elm_calendar]Exposing calendar's month name in accessibility tree 04/80804/2
Prasoon Singh [Wed, 20 Jul 2016 09:23:16 +0000 (14:53 +0530)]
[elm_calendar]Exposing calendar's month name in accessibility tree

Change-Id: Ie87eae7c9a1f171a461279a086d61e9a22d712b5

8 years ago[Conformant] set conformant as data for callbacks 63/80763/2 accepted/tizen/common/20160721.175023 accepted/tizen/ivi/20160721.002554 accepted/tizen/mobile/20160721.002253 accepted/tizen/tv/20160721.002456 accepted/tizen/wearable/20160721.002419 submit/tizen/20160720.122528
Sungtaek Hong [Wed, 20 Jul 2016 05:04:25 +0000 (14:04 +0900)]
[Conformant] set conformant as data for callbacks

Change-Id: I971e2ca98a9cbd0e3b8ef5e6ebec258ff34e0b33
Signed-off-by: Sungtaek Hong <sth253.hong@samsung.com>
8 years agoelm_notify : fix to show hide effect during popup hide 72/80672/2
JEONGHYUN YUN [Tue, 19 Jul 2016 10:34:39 +0000 (19:34 +0900)]
elm_notify : fix to show hide effect during popup hide
This is already modified in opensource and bring into Tizen.

Signed-off-by: JEONGHYUN YUN <jh0506.yun@samsung.com>
Change-Id: I54d92807d1ab1cfa3ad79dffdbd1339a6a346624

8 years ago[genlist] fix dangling pointer in sorted insert state 73/80673/1
SangHyeon Lee [Tue, 19 Jul 2016 10:48:27 +0000 (19:48 +0900)]
[genlist] fix dangling pointer in sorted insert state

Change-Id: I6dc391816a824321537307fe369bcdc1780ad055
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
8 years ago[genlist] fix no-cache to delete edje object properly 03/80603/1
SangHyeon Lee [Tue, 19 Jul 2016 05:28:02 +0000 (14:28 +0900)]
[genlist] fix no-cache to delete edje object properly

Change-Id: Ie560ce225dabda7d4a03d94aa2d116cd70e71ec5
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
8 years ago[genlist] fix filter loop condition and memory leak 58/80458/7
SangHyeon Lee [Mon, 18 Jul 2016 07:07:29 +0000 (16:07 +0900)]
[genlist] fix filter loop condition and memory leak

Change-Id: I52c81e018ba6f093fd77054aba5bce1dde738965
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
8 years agogenlist: fix build error 78/80578/1
Jaehwan Kim [Tue, 19 Jul 2016 02:14:29 +0000 (11:14 +0900)]
genlist: fix build error

Change-Id: If120ea8c3623cdb2db7a78bf8641b9c7d198bb62

8 years ago[elm_flipselector] Added null check for top and bottom btn before sending access... 14/80514/2
Prasoon Singh [Mon, 18 Jul 2016 11:11:36 +0000 (16:41 +0530)]
[elm_flipselector] Added null check for top and bottom btn before sending access name changed
 signal.

If object is NULL, then CRI message will ocurr.

Change-Id: I8af70c3d821bb12dd5267bcc50a7b7d9102f13ab

8 years agoelementary: fix genlist tree filters 94/80494/1
Jaehwan Kim [Mon, 18 Jul 2016 09:17:49 +0000 (18:17 +0900)]
elementary: fix genlist tree filters

Summary:
In tree mode if parent item is hidden all its subitems should
also be hidden.
This commit is made by Andrii Kroitor <an.kroitor@samsung.com>

@fix

Change-Id: I7b97bc03b5b945d3e718f4d9e68823d22411e659

8 years agocopypaste: add wayland only flag 38/80438/1
Thiep Ha [Mon, 18 Jul 2016 05:51:05 +0000 (14:51 +0900)]
copypaste: add wayland only flag

Some functions are only needed for wayland.
They should be marked as wayland only to
avoid build break on non-wayland platform.

Change-Id: I71a009b498915fd79ad4ac2642860ff13f4f92aa
Signed-off-by: Thiep Ha <thiep.ha@samsung.com>
8 years agoentry: disable copypaste UI for wearable 52/80352/1
Thiep Ha [Sun, 17 Jul 2016 07:10:13 +0000 (16:10 +0900)]
entry: disable copypaste UI for wearable

As specified by UI/GUI, there is no copypasteUI for werable,
so we disable it.
@tizen_feature

Change-Id: I738aa601a535608f9a80601c680301c9aced22c3
Signed-off-by: Thiep Ha <thiep.ha@samsung.com>
8 years agoelm_win: null out freed data on smart del 39/80339/2
Jaeun Choi [Sun, 17 Jul 2016 03:07:22 +0000 (12:07 +0900)]
elm_win: null out freed data on smart del

this fixes double-frees of strings in oddball cases where a deleted
window that is not done deleting is accessed.

Change-Id: I40e308d5b43b013134859ac5ca3a82018af5e48a
Signed-off-by: Jaeun Choi <jaeun12.choi@samsung.com>
Origin: upstream

8 years agoelm_win: changed file mode 11/80111/2 accepted/tizen/common/20160715.075942 accepted/tizen/ivi/20160715.075023 accepted/tizen/mobile/20160715.074918 accepted/tizen/tv/20160715.074950 accepted/tizen/wearable/20160715.075007 submit/tizen/20160714.142759
Doyoun Kang [Thu, 14 Jul 2016 14:28:45 +0000 (23:28 +0900)]
elm_win: changed file mode

Change-Id: If8223a432995af898abc755be1f16481f7fb1b2c

8 years agoelm_win: added launch,done signal 09/80109/1
Doyoun Kang [Thu, 14 Jul 2016 14:23:51 +0000 (23:23 +0900)]
elm_win: added launch,done signal

Change-Id: I3a7f301dc1b12d763e8ee5f9c7c4872f1233c322

8 years agofix elm_prefs_cc path. 25/79625/3
Bowon Ryu [Tue, 12 Jul 2016 05:53:53 +0000 (14:53 +0900)]
fix elm_prefs_cc path.

and hosting efl for sdk doesn't require elm_prefs_cc.

Change-Id: If3dd878093551413b51a32c9ace40b7b4779d226
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
8 years agoelm_win: resolve ABI break - ELM_WIN_FAKE should be 18, because we do not support... 92/79992/1 accepted/tizen/common/20160714.152913 accepted/tizen/ivi/20160714.054118 accepted/tizen/mobile/20160714.054137 accepted/tizen/tv/20160714.054128 accepted/tizen/wearable/20160714.054144 submit/tizen/20160714.024728
Shinwoo Kim [Thu, 14 Jul 2016 02:41:59 +0000 (11:41 +0900)]
elm_win: resolve ABI break - ELM_WIN_FAKE should be 18, because we do not support ELM_WIN_TIZEN_WIDGE.

Change-Id: I6a8d6a6be7d122133b16616bf13dfcd9f5694548

8 years ago elm: Fix potential null point dereferences. 97/79597/2 submit/tizen/20160714.012013
Jongmin Lee [Tue, 12 Jul 2016 03:27:55 +0000 (12:27 +0900)]
   elm: Fix potential null point dereferences.

   Summary:
   If every assigning logics to enginelist is not performed some how,
   system will crash because the first parameter of strcmp is null.

   Test Plan: N/A

   Reviewers: Hermet

   Reviewed By: Hermet

   Subscribers: cedric, Hermet, raster, jpeg

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

Change-Id: I98a3d95540758740a262b2371994b51bfd0075da

8 years agoelm_conform: initialize variables for resizing conformant part. 85/79485/2 accepted/tizen/common/20160712.150750 accepted/tizen/ivi/20160712.090934 accepted/tizen/mobile/20160712.090901 accepted/tizen/tv/20160712.090923 accepted/tizen/wearable/20160712.090855 submit/tizen/20160712.030217
Hosang Kim [Mon, 11 Jul 2016 12:12:27 +0000 (21:12 +0900)]
elm_conform: initialize variables for resizing conformant part.

Signed-off-by: Hosang Kim <hosang12.kim@samsung.com>
Change-Id: I1b757a72b79c268d38a34acd994c3b9d1e368cae

8 years agoelm_win: added code to set the window title while using precreated_win_obj in elm_win_add 69/79469/2 accepted/tizen/ivi/20160712.090840 accepted/tizen/mobile/20160712.090806 accepted/tizen/tv/20160712.090829 accepted/tizen/wearable/20160712.090816 submit/tizen/20160712.025030
Doyoun Kang [Mon, 11 Jul 2016 11:30:21 +0000 (20:30 +0900)]
elm_win: added code to set the window title while using precreated_win_obj in elm_win_add

Change-Id: I58eca149f60a438c3d9744eb35b43d5ec7f70150

8 years agoelm_photocam : create 1x1 grid default 83/79583/2
JEONGHYUN YUN [Tue, 12 Jul 2016 02:29:46 +0000 (11:29 +0900)]
elm_photocam : create 1x1 grid default

@tizen_fix
Signed-off-by: JEONGHYUN YUN <jh0506.yun@samsung.com>
Change-Id: I79e06225f31f0f4243cd63bee490f75750eb5859

8 years agocopypaste: support pasting data when clicking in cbhm item 91/79391/1 accepted/tizen/common/20160712.150613 accepted/tizen/ivi/20160712.000523 accepted/tizen/mobile/20160712.000359 accepted/tizen/tv/20160712.000448 accepted/tizen/wearable/20160712.000503 submit/tizen/20160711.123427 submit/tizen/20160711.135813
Thiep Ha [Mon, 11 Jul 2016 07:27:36 +0000 (16:27 +0900)]
copypaste: support pasting data when clicking in cbhm item

When we click on cbhm item, the data should be pasted
to entry. This patch supports that.
@tizen_feature

Change-Id: I90e4175fb735b46b2e3093cb5e9ab39e1538f2d0
Signed-off-by: Thiep Ha <thiep.ha@samsung.com>
8 years agocopypaste: support eldbus to send msg to cbhm 86/79386/1
Minchul Lee [Mon, 11 Jul 2016 07:06:34 +0000 (16:06 +0900)]
copypaste: support eldbus to send msg to cbhm

Change-Id: Ic4f69fca233f6658a2490616a87212030992cee7
Signed-off-by: Minchul Lee <slotus.lee@samsung.com>
8 years agoelm_cnp: add special mime type for clipboard to distinguish clipboard selection in... 90/78890/3
Minchul Lee [Thu, 7 Jul 2016 08:33:29 +0000 (17:33 +0900)]
elm_cnp: add special mime type for clipboard to distinguish clipboard selection in cbhm

Change-Id: I6803d8e664c6e967a1ad60d04473ac135eb30c63
Signed-off-by: Minchul Lee <slotus.lee@samsung.com>
8 years ago[genlist] add highlight signal emit when realized(updated) item is aligned item 81/79281/6
SangHyeon Lee [Sun, 10 Jul 2016 11:50:09 +0000 (20:50 +0900)]
[genlist] add highlight signal emit when realized(updated) item is aligned item

Change-Id: I37c8783a20e1835d79d53f470d86ca9078fe8e3a

8 years ago[genlist] Fix genlist item class update to recreate edje 77/79277/5
SangHyeon Lee [Sun, 10 Jul 2016 11:41:44 +0000 (20:41 +0900)]
[genlist] Fix genlist item class update to recreate edje

Change-Id: I002c9de99b3bcd9b75ce9535368ce086542c70a5

8 years ago[Accessibility]: In order to read pre-edit characters as well, 12/78312/4
Shilpa Singh [Tue, 5 Jul 2016 06:00:50 +0000 (11:30 +0530)]
[Accessibility]: In order to read pre-edit characters as well,
send text to screen reader on preedit,changed as well.

Change-Id: I6125079a966feec752f71c5bd7b89253cb333bfa
Signed-off-by: Shilpa Singh <shilpa.singh@samsung.com>
8 years ago[genlist] adding filter iterator feature for support item search filter 50/77850/2
SangHyeon Lee [Fri, 1 Jul 2016 09:05:53 +0000 (18:05 +0900)]
[genlist] adding filter iterator feature for support item search filter

Change-Id: I8af8f56dd7c3e4d3bdf7026dd02d68b32dc65037
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
8 years agoremove proper timer in landscape indicator connect callback 70/78670/2
Jongmin Lee [Wed, 6 Jul 2016 11:08:34 +0000 (20:08 +0900)]
remove proper timer in landscape indicator connect callback

Change-Id: I7b6971502a8c26f06ceccf1a7ed5f567cb42da54

8 years ago[Accessibility][elm_toolbar]: In navigation style, selected item not 71/79071/2
Shilpa Singh [Fri, 8 Jul 2016 05:35:25 +0000 (11:05 +0530)]
[Accessibility][elm_toolbar]: In navigation style, selected item not
read as selected issue fix.

Change-Id: I75b55220e5e29ba16f0ecd6ae9eecf19f05d90a2

8 years agoelm_panes : modified to keep panes content left size after orientation changed 32/79032/2
JEONGHYUN YUN [Fri, 8 Jul 2016 01:04:23 +0000 (10:04 +0900)]
elm_panes : modified to keep panes content left size after orientation changed

Signed-off-by: JEONGHYUN YUN <jh0506.yun@samsung.com>
Change-Id: Iae00eedc5149050d3cff3e9cf0408cb5309a535a

8 years agoelm_win: to switch application icon on runtime. 57/79057/1
Bowon Ryu [Fri, 8 Jul 2016 04:24:21 +0000 (13:24 +0900)]
elm_win: to switch application icon on runtime.
we change icon_set function for tizen windows only.

this is necessary for tizen sdk ui tools.
bug fixed.

Change-Id: Ief95c562863b40c0c2c1f026245432a032755f87
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
8 years agocolor: rename API and apply recursive search 54/78454/3
Jee-Yong Um [Tue, 5 Jul 2016 13:28:14 +0000 (22:28 +0900)]
color: rename API and apply recursive search

Change-Id: Ieea2e6780eebed72d9207bb8426f67a03b60939d
Signed-Off-By: Jee-Yong Um <jc9.um@samsung.com>
8 years agopopup: apply elm_widget_style_set() for popup's subobject 40/78840/3
Jinyong Park [Thu, 7 Jul 2016 05:31:39 +0000 (14:31 +0900)]
popup: apply elm_widget_style_set() for popup's subobject

fix to popup is able to apply both of old and new theme.

@tizen_fix

Change-Id: I8f67c7c470579bdcc89235612e11a892c72f3348
Signed-off-by: Jinyong Park <j4939.park@samsung.com>
8 years ago[elm_conformant]: if access object is NULL, do not emit BoundsChanged signal. 25/78825/2
Shilpa Singh [Thu, 7 Jul 2016 04:22:54 +0000 (09:52 +0530)]
[elm_conformant]: if access object is NULL, do not emit BoundsChanged signal.

Change-Id: Ic4ea08ab27ee77e5e03e72c9b1627bcb6f55743c
Signed-off-by: Shilpa Singh <shilpa.singh@samsung.com>
8 years agoelm_cnp : Fix build warning for unused variable 10/72710/2
JunsuChoi [Thu, 2 Jun 2016 07:08:11 +0000 (16:08 +0900)]
elm_cnp : Fix build warning for unused variable

   only unused variables are used in x11.
   add HAVE_ELEMENTARY_X macro.

Change-Id: I9ffff08f556d2bd0518f9c44d98735ef0ce81ca0

8 years agoelm_cnp: add null check for drag data 34/78834/1
Thiep Ha [Thu, 7 Jul 2016 05:24:30 +0000 (14:24 +0900)]
elm_cnp: add null check for drag data

Drag data can be null, and causes segfault.
This patch adds null check.
@tizen_fix

Change-Id: Icf407a5bb21a028e37c05a726ce5b0cfce43db29
Signed-off-by: Thiep Ha <thiep.ha@samsung.com>
8 years agoelc_popup: move the code making buttons buffer for readability 23/78823/3
Jinyong Park [Thu, 7 Jul 2016 04:10:59 +0000 (13:10 +0900)]
elc_popup: move the code making buttons buffer for readability

The code of making buttons buffer is away from related codes.
@fix

(it was merged in opensource already, https://phab.enlightenment.org/D4133)

Change-Id: Ie6a7251f2a85b7c9c45d0f5b5b283b129fac405d
Signed-off-by: Jinyong Park <j4939.park@samsung.com>
8 years ago[genlist] fix scroll align item highlight/unhighlight cb 24/78824/3
SangHyeon Lee [Thu, 7 Jul 2016 04:19:44 +0000 (13:19 +0900)]
[genlist] fix scroll align item highlight/unhighlight cb

Change-Id: If7b769580b66d8b4560245d5a8a247eec7f4bbcd

8 years agoelm_calendar: remove iculib function call for MacOS 98/78798/1
Thiep Ha [Thu, 7 Jul 2016 02:12:08 +0000 (11:12 +0900)]
elm_calendar: remove iculib function call for MacOS

Calendar uses NLS function which is not supported in MacOS.
This patch disables that usage in calendar.
@tizen_fix

Change-Id: I5071fb3d361ab20d107838aa9d79c89d77d7be80
Signed-off-by: Thiep Ha <thiep.ha@samsung.com>
8 years agoelm_cnp: remove drag window when drop on non-dropable win 49/78649/2 accepted/tizen/common/20160707.171423 accepted/tizen/ivi/20160707.042801 accepted/tizen/mobile/20160707.042833 accepted/tizen/tv/20160707.042815 accepted/tizen/wearable/20160707.042822 submit/tizen/20160706.230322
Thiep Ha [Wed, 6 Jul 2016 09:30:37 +0000 (18:30 +0900)]
elm_cnp: remove drag window when drop on non-dropable win

When we do dnd between two applications and the drop application
is non-dropable application, the drag window is not removed.
This patch fixes this issue by a workaround way:
remove drag window when the object is hidden or deleted.

@tizen_fix

Change-Id: I4415f2730dbe875fe3de6510a23e9e64df1d6dd8
Signed-off-by: Thiep Ha <thiep.ha@samsung.com>
8 years ago[genlist] : add changed scroll interface callback 42/78142/2 accepted/tizen/common/20160707.171355 accepted/tizen/ivi/20160706.132911 accepted/tizen/mobile/20160706.132331 accepted/tizen/tv/20160706.132353 accepted/tizen/wearable/20160706.132457 submit/tizen/20160706.105121
SangHyeon Lee [Mon, 4 Jul 2016 10:28:15 +0000 (19:28 +0900)]
[genlist] : add changed scroll interface callback

Change-Id: Iedbc2e8f1673760c0514117a6a23388038159a58

8 years agonotify: change return value of "theme_apply" function with inner _theme_apply 33/78433/2
Jinyong Park [Tue, 5 Jul 2016 12:02:25 +0000 (21:02 +0900)]
notify: change return value of "theme_apply" function with inner _theme_apply

notify's theme_apply function return value with eo_do_super(... elm_object_widget_theme_apply)
but notify's super class is widget, widget_theme_apply return always ELM_THEME_APPLY_SUCCESS.
so, notify's theme_apply function always return ELM_THEME_APPLY_SUCCESS, if it couldn't apply style correctly.

notify apply style via _notify_theme_apply function, so that function must decide theme_apply function's return value.

(this commit is merged on opensource)

Change-Id: I1a25c385ba7d270b2aaf96160258f130e7460b11
Signed-off-by: Jinyong Park <j4939.park@samsung.com>
8 years ago[Colorselector] add plane and palette plane enums for supporting tizen 2.3 compatibility 68/78168/10
taehyub [Thu, 4 Jun 2015 07:56:02 +0000 (16:56 +0900)]
[Colorselector] add plane and palette plane enums for supporting tizen 2.3 compatibility

Conflicts:
src/lib/elm_colorselector.c
src/lib/elm_colorselector_common.h

Change-Id: Ic9b21aaa829bb74dc11f47ec6b9440780771b554

8 years ago[Index] implement style_set API for index item 69/77669/11
Sungtaek Hong [Thu, 30 Jun 2016 11:52:26 +0000 (20:52 +0900)]
[Index] implement style_set API for index item

Change-Id: Idbdfecdcbf866b56366cb47308246dc02d6905a0
Signed-off-by: Sungtaek Hong <sth253.hong@samsung.com>
8 years agoelm_index: include horizontal index to omit calculation 82/77582/5
Sungtaek Hong [Thu, 30 Jun 2016 08:24:16 +0000 (17:24 +0900)]
elm_index: include horizontal index to omit calculation

    Summary:
    - when index is set to horizontal by elm_index_horizontal_set()
      there is no logic about omit calculation. However, when
      omit is enabled/disabled by elm_index_omit_enabled_set(),
      horizontal index is ignored by
      if (sd->orientation == EFL_ORIENT_HORIZONTAL) return;
    - This can cause inconsistency when order of calling those APIs
      is changed. And also, that "horizontal index cannot be omitted" is not documented
      and does not make sense.
    - This commit enables omit for horizontal index, but further
      change is needed because current logic of getting min_w for
      dummy edje object is not accurate when text is set.

Change-Id: I26a092465e05c2008875fff16a6f30e0850e7c18
Signed-off-by: Sungtaek Hong <sth253.hong@samsung.com>
origin: upstream

8 years agocolorselector: whenever mode is changed, there should be no selected item as default 10/78510/1
WooHyun Jung [Wed, 6 Jul 2016 01:38:42 +0000 (10:38 +0900)]
colorselector: whenever mode is changed, there should be no selected item as default

Change-Id: If6112052cbc0b71f7da47d7dd31cbf236c45eebe

8 years agoelm_cnp: remove loss cb when object is deleted 72/78372/1
Thiep Ha [Tue, 5 Jul 2016 08:36:14 +0000 (17:36 +0900)]
elm_cnp: remove loss cb when object is deleted

When the object is deleted when should remove the loss cb,
so that it is not called when another object has selection.

@tizen_fix

Change-Id: I30a11343278488615b34df32067da2d1abf78dc9
Signed-off-by: Thiep Ha <thiep.ha@samsung.com>
8 years agoentry/cnpui: remove Copy-paste popup on elm_entry_select_none API call 41/78241/1 accepted/tizen/common/20160706.141723 accepted/tizen/ivi/20160705.101640 accepted/tizen/mobile/20160705.101803 accepted/tizen/tv/20160705.101650 accepted/tizen/wearable/20160705.101708 submit/tizen/20160705.081032
Thiep Ha [Tue, 5 Jul 2016 00:34:01 +0000 (09:34 +0900)]
entry/cnpui: remove Copy-paste popup on elm_entry_select_none API call

This fixes the bug where CnP popup remains after selection is cleared,
like do selection, press back key.
@tizen_only

Change-Id: Icc5a73bc179f2807ea6085164570e5ceada00947
Signed-off-by: Thiep Ha <thiep.ha@samsung.com>
8 years agopopup: add "show,finished" internal callback 61/77261/2 submit/tizen/20160704.103817 submit/tizen/20160705.032043
Jinyong Park [Wed, 29 Jun 2016 07:59:59 +0000 (16:59 +0900)]
popup: add "show,finished" internal callback

Change-Id: Ic6dd3bbd6dab1b90dad28bbd67086d146d21af43
Signed-off-by: Jinyong Park <j4939.park@samsung.com>
8 years agotheme: return enum from elm_widget_style_set instead of bool 00/75700/10
Jinyong Park [Tue, 21 Jun 2016 05:07:33 +0000 (14:07 +0900)]
theme: return enum from elm_widget_style_set instead of bool

if trying to apply incorrect theme, widget apply default theme and return TRUE.
so there is no way to check it really apply correct theme.
To resolve this problem, _elm_theme_set return three type enum

[ it is already merged in opensource ]

Change-Id: I2b81e8240c5d54d8d896b3c1f2b0b66af3e7a9ac
Signed-off-by: Jinyong Park <j4939.park@samsung.com>
8 years ago[elm_win] Added atspi window state visible change signal 02/77902/2
Prasoon Singh [Fri, 1 Jul 2016 11:38:24 +0000 (17:08 +0530)]
[elm_win] Added atspi window state visible change signal

Change-Id: I7011afbf24e0cbc873aae8e83e26383bee15a42e