platform/upstream/elementary.git
8 years agoMerge "popup: add popup default align config for other profiles." into tizen
WooHyun Jung [Fri, 25 Mar 2016 04:57:37 +0000 (21:57 -0700)]
Merge "popup: add popup default align config for other profiles." into tizen

8 years agoMerge "popup: Support legacy group and swallow part names" into tizen
WooHyun Jung [Fri, 25 Mar 2016 04:56:23 +0000 (21:56 -0700)]
Merge "popup: Support legacy group and swallow part names" into tizen

8 years agoresolve compile warning: return value in void function 04/63404/1 accepted/tizen/common/20160325.135006 accepted/tizen/ivi/20160324.011347 accepted/tizen/mobile/20160324.011157 accepted/tizen/tv/20160324.011230 accepted/tizen/wearable/20160324.011308 submit/tizen/20160323.135842
Minchul Lee [Wed, 23 Mar 2016 13:45:59 +0000 (22:45 +0900)]
resolve compile warning: return value in void function

Change-Id: I9554b15f3b42ac5150b7d78d41545789b9672e49
Signed-off-by: Minchul Lee <slotus.lee@samsung.com>
8 years agoresolve compile warning: return value in void function 12/63312/1 submit/tizen/20160323.132516
Jongmin Lee [Wed, 23 Mar 2016 06:49:28 +0000 (15:49 +0900)]
resolve compile warning: return value in void function

Change-Id: I429bc20852e73532800c0c35a5d03f7da143c2fd

8 years agopopup: add popup default align config for other profiles. 03/63103/2
taehyub [Mon, 7 Dec 2015 23:53:47 +0000 (15:53 -0800)]
popup: add popup default align config for other profiles.

Summary:
The alignment of popup can be different in each profiles.
So I added the align configuration of popup.
@feature

Reviewers: cedric, woohyun

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

Change-Id: I5c86f51236c2136e1a9bb88febc973e008ca505a
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agopopup: Support legacy group and swallow part names 94/62794/5
Youngbok Shin [Fri, 18 Mar 2016 09:18:54 +0000 (18:18 +0900)]
popup: Support legacy group and swallow part names

This patch is made for backward compatibility of themes.
@tizen_fix

Change-Id: Iab62f00d163a3bed966f6d1ebba3c5cc1d8a6f80

8 years agolabel: whenever text is changed, sliding related things should be checked 27/63127/1
WooHyun Jung [Tue, 22 Mar 2016 07:30:39 +0000 (16:30 +0900)]
label: whenever text is changed, sliding related things should be checked

@fix

Change-Id: Ib2c76a224cda1570b8870718ddbedf61066ca951

8 years agoelm_win: added signal 'effect,started' and 'effect,done' 47/61047/2 accepted/tizen/common/20160318.145522 accepted/tizen/ivi/20160318.113305 accepted/tizen/mobile/20160318.112954 accepted/tizen/tv/20160318.113125 accepted/tizen/wearable/20160318.113142 submit/tizen/20160317.075557
MinJeong Kim [Thu, 3 Mar 2016 12:40:53 +0000 (21:40 +0900)]
elm_win: added signal 'effect,started' and 'effect,done'

Signals 'effect,started' and 'effect,done' are added. Registered callbacks by
client for those signals are called directly by ecore-wayland events
ECORE_WL_EVENT_EFFECT_START/ECORE_WL_EVENT_EFFECT_END.

Change-Id: I67b6776ab1f6f3938c9beda8e903d6e76c15db86
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
8 years agoelm_win: added code to set wayland parent window. 30/62230/1
Doyoun Kang [Tue, 15 Mar 2016 03:02:18 +0000 (12:02 +0900)]
elm_win: added code to set wayland parent window.

there was no code to set wayland parent window when elm_win_add(parent,...) is called.
so wayland surface couldn't make relationship (such as transient_for) between the parent and child surface.

Change-Id: I8ff0f9fe25292c647fd36d64fe7d9351abead4c3

8 years agoentry: add elm_entry_select_region_get() API 81/62081/1
Youngbok Shin [Fri, 12 Feb 2016 11:18:05 +0000 (20:18 +0900)]
entry: add elm_entry_select_region_get() API

Summary:
Already, there is a way to set a selection region:
elm_entry_select_region_set()
The get() API also useful and there is needs for this
inside of elm_entry.c. Add the API and replace codes
in atspi_text_selection_get with the API.
@feature

Test Plan:
1. Run "elementary_test -to entry3"
2. Make a selection on text.
3. Press "Sel" button.

Reviewers: tasn, herdsman, cedric, woohyun, Jaehyun, Hermet

Subscribers: Hermet

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

Change-Id: I90a098226f06db3dad9559e9d61f3e3b7a30752b

8 years agocolorclass: allocate memory to fit the original size of data type 91/61891/1
Jee-Yong Um [Fri, 11 Mar 2016 05:18:19 +0000 (14:18 +0900)]
colorclass: allocate memory to fit the original size of data type

backported from upstream to solve memory safety issue

    Summary:
    The size of Colorclass is 20 bytes, but that of Elm_Color_Overlay 16 bytes.
    Currently, there is no code to access last 4 bytes, but it can cause
    seg fault by another patch.

    Reviewers: cedric, zmike

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

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

8 years ago[License] add CC-BY-SA-3.0 license which are used in theme image 22/61622/1 accepted/tizen/common/20160310.081817 accepted/tizen/ivi/20160309.124743 accepted/tizen/mobile/20160309.124651 accepted/tizen/tv/20160309.124703 accepted/tizen/wearable/20160309.124722 submit/tizen/20160309.092333
SungTaek Hong [Wed, 9 Mar 2016 08:12:39 +0000 (17:12 +0900)]
[License] add CC-BY-SA-3.0 license which are used in theme image

Change-Id: Ib3fb3c4cc73af7c3ef232ba3d1cc33a49536c117
Signed-off-by: SungTaek Hong <sth253.hong@samsung.com>
8 years agoGLView : add GL_Helpers header in devel package 60/61560/1 accepted/tizen/common/20160310.072534 accepted/tizen/ivi/20160309.124406 accepted/tizen/mobile/20160309.124312 accepted/tizen/tv/20160309.124331 accepted/tizen/wearable/20160309.124348 submit/tizen/20160309.015803
DaeKwang Ryu [Wed, 9 Mar 2016 01:47:48 +0000 (10:47 +0900)]
GLView : add GL_Helpers header in devel package

Change-Id: I6d05bff4ac0629ead042168581d1f4e7237d07f5

8 years agoMerge "Add API for improving launching performance of 3rd party applications" into... accepted/tizen/common/20160303.110421 accepted/tizen/ivi/20160304.140319 accepted/tizen/mobile/20160304.140106 accepted/tizen/tv/20160304.140149 accepted/tizen/wearable/20160304.140253 submit/tizen/20160303.054603
Hosang Kim [Fri, 26 Feb 2016 04:56:24 +0000 (20:56 -0800)]
Merge "Add API for improving launching performance of 3rd party applications" into tizen

8 years agoAdd API for improving launching performance of 3rd party applications 88/59688/3
Hosang Kim [Wed, 17 Feb 2016 10:46:00 +0000 (19:46 +0900)]
Add API for improving launching performance of 3rd party applications

Change-Id: I4e04de13def191cc0e7cc21dce0703ba6ced0869

8 years agoelm win: fix window redraw if norender is enabled on withdrawn windows 62/59862/2
Carsten Haitzler (Rasterman) [Thu, 18 Feb 2016 09:15:00 +0000 (18:15 +0900)]
elm win: fix window redraw if norender is enabled on withdrawn windows

we dont set this config by default so we dont see this - but a window
starts as withdrawn then becomes normal. this means the window starts
not rendering and may take 0.5 seconds to START because the eval is
deferred by 0.5 sec to avoid rapid switch to/from norender and other
states.

@fix

Change-Id: I7342bd9e6d489268108a0d28eaba262d82b1973e

8 years agoelm_win: fix potentially crash when accessing wl_surface before show for elm_win. 36/59836/1
Seunghun Lee [Fri, 19 Feb 2016 02:36:12 +0000 (11:36 +0900)]
elm_win: fix potentially crash when accessing wl_surface before show for elm_win.

since wl_surface is only valid after make elm_win to show,
if calling ecore_wl_window API befor show will be failed,
and will cause crash by accessing null wl_surface.

Change-Id: I668ce9e1cbcb27c3571950f78e37369c60c3be8d

8 years agoelm_win: do deferred resize job first when hints of size are updated 12/59512/3 accepted/tizen/mobile/20160217.011204 accepted/tizen/tv/20160217.011227 accepted/tizen/wearable/20160217.011258 submit/tizen/20160216.120030 submit/tizen_common/20160218.142243
MinJeong Kim [Tue, 16 Feb 2016 07:05:09 +0000 (16:05 +0900)]
elm_win: do deferred resize job first when hints of size are updated

Change-Id: I65dbd99786486e1ab12c267fc5a4cc7656939e25
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
8 years agoelm_win_input_rect_set/add/subtract added 13/58513/2
Junghwan Choi [Mon, 1 Feb 2016 14:15:44 +0000 (23:15 +0900)]
elm_win_input_rect_set/add/subtract added

Change-Id: I0ff5ae24eb30b3d824da7fd020db96fe41eac6cc
Signed-off-by: Junghwan Choi <jhhh.choi@samsung.com>
8 years agowin: fix a possible crash in elm_win_add 15/59115/1
Youngbok Shin [Fri, 5 Feb 2016 07:15:29 +0000 (08:15 +0100)]
win: fix a possible crash in elm_win_add

Summary:
The enginelist[0] can be NULL in some very rare cases.
Then enginelist[0] will be used for strcmp and it make a crash.
@fix

Test Plan: N/A

Reviewers: raster, cedric, woohyun, jypark, jaehwan

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

Change-Id: I72c33e30d52ea4e77d550a06fb4c7e1b7329e819
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agogenlist: remove unnecessary group item controls 34/58834/1 submit/tizen/20160204.044614 submit/tizen/20160204.094728
SangHyeon Lee [Thu, 4 Feb 2016 01:01:48 +0000 (10:01 +0900)]
genlist: remove unnecessary group item controls

tizen UI didn't support group item moving in scroll.
this feature is not tizen UX, so remove unnecessary group
move calculation and fix reorder group issue in
TSAM-956(Jira)

@tizen_fix

Change-Id: I669cf995ef0401d9ba6a6cd8d58a1aacc673575a

8 years agoelm wl cnp - fix paste to not crash anymore 89/58689/1 accepted/tizen/ivi/20160218.024734 accepted/tizen/mobile/20160203.052039 accepted/tizen/tv/20160203.052057 accepted/tizen/wearable/20160203.052113 submit/tizen/20160203.010016 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000005
Carsten Haitzler (Rasterman) [Mon, 4 Jan 2016 09:44:58 +0000 (18:44 +0900)]
elm wl cnp - fix paste to not crash anymore

this used the wrong widget - it should have used requestwidget. this
fixes that.

@fix

Change-Id: Ief411503fc2f0cbf545a558ca7048acea5472130

8 years agoentry: freeze cursor movements when the theme of entry is applied. 17/58217/2
Youngbok Shin [Thu, 16 Jul 2015 05:08:16 +0000 (14:08 +0900)]
entry: freeze cursor movements when the theme of entry is applied.

@tizen_fix

Change-Id: I6ac77cc7077075a4a3e63ca9d4c855927b2a1997

8 years agoMerge "deprecated: add Elm_Access_Sound_Type" into tizen
Shinwoo Kim [Thu, 28 Jan 2016 10:48:49 +0000 (02:48 -0800)]
Merge "deprecated: add Elm_Access_Sound_Type" into tizen

8 years agoelm_ctxpopup: add EINA_DEPRECATED for deprecated elm_ctxpopup_direction_available_get 20/58220/2
taehyub [Thu, 28 Jan 2016 10:20:42 +0000 (19:20 +0900)]
elm_ctxpopup: add EINA_DEPRECATED for deprecated elm_ctxpopup_direction_available_get

Change-Id: Ie09e61d1fcfb6a3a37054864622354b4159fa25b

8 years agodeprecated: add Elm_Access_Sound_Type 11/58211/1
Shinwoo Kim [Thu, 28 Jan 2016 09:44:02 +0000 (18:44 +0900)]
deprecated: add Elm_Access_Sound_Type

Change-Id: I9622bf33787ff73cad4641bbfaf07c2278602e93

8 years agoelm_win: add EINA_DEPRECATED for deprecated elm_win_profiles_set 25/58025/1 accepted/tizen/common/20160203.160804 submit/tizen_common/20160127.225316
WooHyun Jung [Wed, 27 Jan 2016 00:19:20 +0000 (09:19 +0900)]
elm_win: add EINA_DEPRECATED for deprecated elm_win_profiles_set

Change-Id: I957337a5c0f9e7094b634d9468b9acb9b940fce5

8 years agoadded elm_win_profiles_set API 59/57959/1
Doyoun Kang [Tue, 26 Jan 2016 10:10:58 +0000 (19:10 +0900)]
added elm_win_profiles_set API

Change-Id: Ia06fcfa5b9227f446536afff21b812893c1bcc1a

8 years agogengrid : add item all contents unset function for tizen only 34/57834/2 accepted/tizen/mobile/20160127.002552 accepted/tizen/tv/20160127.002608 accepted/tizen/wearable/20160127.002627 submit/tizen/20160126.062515 submit/tizen_common/20160126.110240
SangHyeon Lee [Mon, 25 Jan 2016 06:47:22 +0000 (15:47 +0900)]
gengrid : add item all contents unset function for tizen only

Change-Id: I7bd78d4f84ab5166125adf9ed85ca3577b4b8e2e

8 years agoMerge "popup: add popup dismiss function for hide effect" into tizen
Jaehwan Kim [Tue, 26 Jan 2016 02:17:19 +0000 (18:17 -0800)]
Merge "popup: add popup dismiss function for hide effect" into tizen

8 years agoctxpopup: add elm_ctxpopup_direction_available_get function 08/57908/1
taehyub [Tue, 26 Jan 2016 02:13:38 +0000 (11:13 +0900)]
ctxpopup: add elm_ctxpopup_direction_available_get function

Change-Id: I7ab4644fd6febe1c3442a34e79cc75e61877c07a

8 years agopopup: add popup dismiss function for hide effect 06/57906/1
taehyub [Thu, 31 Dec 2015 04:08:28 +0000 (13:08 +0900)]
popup: add popup dismiss function for hide effect

Summary: add popup dismiss function for hide effect

Test Plan:
 1. applied this patch
 2. launch elementary_test
 3. run "popup" -> "popup-center-title + text + 1 button + hide effect"
 4. click the "close" button and check the hide effect

Reviewers: Hermet, woohyun, kimcinoo, raster

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

@feature

Conflicts:
src/lib/elm_notify.c

Change-Id: Ibabb48c30ad3e78bd7dc1ace5cd7f0bf12c69a2d

8 years agoelm_win: handle changes of visibility state 37/57437/2 accepted/tizen/mobile/20160122.034118 accepted/tizen/tv/20160122.034135 accepted/tizen/wearable/20160122.034155 submit/tizen/20160121.075859
MinJeong Kim [Wed, 20 Jan 2016 06:52:52 +0000 (15:52 +0900)]
elm_win: handle changes of visibility state

Change-Id: I65f91da1abc6c0de1fea74925389cc3c625f6563

8 years agoMerge "toolbar: Revert a theme change for shrink mode signals." into tizen accepted/tizen/mobile/20160108.120056 accepted/tizen/tv/20160108.113656 accepted/tizen/wearable/20160108.113842 submit/tizen/20160108.094846
Jaehwan Kim [Fri, 8 Jan 2016 09:45:36 +0000 (01:45 -0800)]
Merge "toolbar: Revert a theme change for shrink mode signals." into tizen

8 years agoMerge "index: Add tizen only feature to support mobile UX." into tizen
Jaehwan Kim [Fri, 8 Jan 2016 09:45:28 +0000 (01:45 -0800)]
Merge "index: Add tizen only feature to support mobile UX." into tizen

8 years agoindex: Add tizen only feature to support mobile UX. 37/56137/2
woochan lee [Tue, 5 Jan 2016 00:48:19 +0000 (09:48 +0900)]
index: Add tizen only feature to support mobile UX.

@tizen_feature

Change-Id: I0010bb09abf13845bd8da86f93ad979f213054de

8 years agotoolbar: Revert a theme change for shrink mode signals. 59/56359/1
Youngbok Shin [Wed, 6 Jan 2016 10:38:05 +0000 (19:38 +0900)]
toolbar: Revert a theme change for shrink mode signals.

Summary:
It was changed for testing shrink mode signals.
But, it was unnecessary change for default theme.

Test Plan: N/A

Reviewers: zmike, jaehwan

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

Change-Id: Ied6c65deca5eeeae21f4a0aac8a3302231414be2

8 years agogenlist : add size_calc forcely about content when elm_layout. 53/56353/1 accepted/tizen/mobile/20160108.065000 accepted/tizen/tv/20160108.065024 accepted/tizen/wearable/20160108.065047 submit/tizen/20160108.022804
SangHyeon Lee [Mon, 4 Jan 2016 09:02:11 +0000 (18:02 +0900)]
genlist : add size_calc forcely about content when elm_layout.

Summary:
If the content object of genlist item is 'elm_layout' class,
minimum size cannot get directly becuase layout do the delay calculating.
So to make proper genlist size calc, before the swallowing,
forcely do the size calc about layout class contents in genlist.

@fix

Test Plan: N/A

Reviewers: raster, cedric, singh.amitesh, Hermet

Reviewed By: Hermet

Subscribers: seoz, conr2d, eagleeye

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

Change-Id: I1678cdb0e288db356cb2631f54bc37c8c6492294

8 years agoMerge "toolbar: Send a signal when shrink mode is changed." into tizen accepted/tizen/mobile/20160106.003533 accepted/tizen/tv/20160106.003429 accepted/tizen/wearable/20160106.003458 submit/tizen/20160105.103232
Youngbok Shin [Tue, 5 Jan 2016 06:54:05 +0000 (22:54 -0800)]
Merge "toolbar: Send a signal when shrink mode is changed." into tizen

8 years agogengrid: fix gengrid default align value for tizen 95/56095/1
SangHyeon Lee [Mon, 4 Jan 2016 08:31:54 +0000 (17:31 +0900)]
gengrid: fix gengrid default align value for tizen

upstream gengrid have middle(0.5) align basement,
but in tizen, generally expect item aligned in top basement,
so this patch change align basement to 0.0 for tizen only

@tizen_fix

Change-Id: I835909b924587e94e454bbb2e8ad2b44555b873b

8 years agotoolbar: Send a signal when shrink mode is changed. 90/56090/1
Youngbok Shin [Mon, 4 Jan 2016 00:31:29 +0000 (09:31 +0900)]
toolbar: Send a signal when shrink mode is changed.

Summary:
It is useful for changing item's state according to shrink mode.
@feature

Test Plan:
It includes a use case for the patch in toolbar default theme.
Run "elementary_test -to toolbar2".

Reviewers: jaehwan, woohyun, cedric, raster

Subscribers: eagleeye

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

Change-Id: I10bc02a92e2a2efe587c0110cca33d14c51f7647

8 years agoelm_photocam: make elm_photocam_image_orient_set work 18/56018/1 accepted/tizen/mobile/20160103.230448 accepted/tizen/tv/20160103.230504 accepted/tizen/wearable/20160103.230523 submit/tizen/20151231.081635
Jaeun Choi [Thu, 10 Dec 2015 07:31:42 +0000 (16:31 +0900)]
elm_photocam: make elm_photocam_image_orient_set work

this commit is temporary.
it will be reverted after code refactoring.

Change-Id: I32dd6c952d7536d1b7fe1e12af34906745bd1db3

8 years agoElm spinner: Fix potential null deref in decimal get function. 15/55615/1 accepted/tizen/mobile/20151228.232912 accepted/tizen/tv/20151228.231930 accepted/tizen/wearable/20151228.231235 submit/tizen/20151228.084145
Tom Hacohen [Tue, 8 Dec 2015 12:03:09 +0000 (12:03 +0000)]
Elm spinner: Fix potential null deref in decimal get function.

This whole code reeks. This generating and parsing strings as a value
store is hacky and could use an overhaul.

This just fixes the more obvious possible errors (that are maybe not
        even possible, just look possible).

CID1339828
CID1339829

Change-Id: I17a0acd970955509958c0f164363ea4f605257b7

8 years agoMerge "conform: retry connect to indicator when confrom fails connect." into tizen
Jaehwan Kim [Thu, 24 Dec 2015 01:17:31 +0000 (17:17 -0800)]
Merge "conform: retry connect to indicator when confrom fails connect." into tizen

8 years agoMerge "datetime: Add tizen only features to support mobile UX." into tizen
woochan lee [Thu, 24 Dec 2015 01:14:40 +0000 (17:14 -0800)]
Merge "datetime: Add tizen only features to support mobile UX." into tizen

8 years agoMerge "[Progressbar] send pulse start signal even when pulse is not set" into tizen
Jaehwan Kim [Thu, 24 Dec 2015 01:04:31 +0000 (17:04 -0800)]
Merge "[Progressbar] send pulse start signal even when pulse is not set" into tizen

8 years agodatetime: Add tizen only features to support mobile UX. 34/54834/4
woochan lee [Fri, 18 Dec 2015 06:15:17 +0000 (15:15 +0900)]
datetime: Add tizen only features to support mobile UX.

@tizen_feature

Change-Id: Ic46585abcf99ec5dd73f5418675b5e1dfdc0ae12

8 years agocalendar: Apply elm_button widgets instead of manually implemented spinner buttons. 85/55285/1
Youngbok Shin [Tue, 22 Dec 2015 09:48:16 +0000 (18:48 +0900)]
calendar: Apply elm_button widgets instead of manually implemented spinner buttons.

Summary:
The spinner buttons in elm_calendar widget can be replaced by elm_buttons.
Then, using elm_button widgets makes it much easier to maintain.
And the buttons has to be focusable with "tab" key just like elm_spinner widget.
The lagacy callbacks for signals from edje is not removed for backward compatibility.
@feature

Test Plan: elementary_test -> calendar, calendar2, calendar3

Reviewers: seoz, Hermet, kimcinoo, cedric, woohyun

Reviewed By: woohyun

Subscribers: CHAN

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

Change-Id: Ifba0b6572ddd18a3c6f8786838087d5bbaa9e058

8 years agowayland cnp: add null check before calling loss callback sandbox/tolszaksamsung/tizen accepted/tizen/mobile/20151223.052059 accepted/tizen/tv/20151223.052118 accepted/tizen/wearable/20151223.052408 submit/tizen/20151222.235345 submit/tizen_common/20151223.095123 submit/tizen_common/20151229.142028 submit/tizen_common/20151229.144031 submit/tizen_common/20151229.154718
Thiep Ha [Mon, 21 Dec 2015 23:05:50 +0000 (08:05 +0900)]
wayland cnp: add null check before calling loss callback

For the first time when selection is set, the sel->widget can be null.
We should check it before calling loss callback for keeping selection.

@tizen_fix

Change-Id: I505535b05189515d7bf37d52f92285e3142f9365

8 years agoelm_win: Remove unnecessary layer set for elm_win. 74/54874/1 accepted/tizen/mobile/20151220.230813 accepted/tizen/tv/20151220.230828 accepted/tizen/wearable/20151220.230847 submit/tizen/20151219.084053
Jaehyun Cho [Fri, 18 Dec 2015 10:18:51 +0000 (19:18 +0900)]
elm_win: Remove unnecessary layer set for elm_win.

Change-Id: Ie459d0be6f90b3765942cc67cef798b9d9285cb2

8 years agowayland cnp: check selection owner before calling losscb 59/54759/1
Thiep Ha [Fri, 18 Dec 2015 07:46:05 +0000 (07:46 +0000)]
wayland cnp: check selection owner before calling losscb

The selection is cleared by losscb when we set it.
As result, selection is not done.
To avoid it, we should check if the new selection owner
is current selection owner or not and only call losscb
if the new selection owner is not the current one.

Test Plan:
In wayland, select text in entry (e.g double click, ctrl-a).

upstream commit: 6c13b8db9a7dbbd417caf06d9f855986d815d075
Author: Thiep Ha <thiepha@gmail.com>
Date:   Thu Dec 17 18:13:17 2015 +0000

Change-Id: I9ff64766130858f7b98613f18c4fb88a14100cc0

8 years agoEntry: add markup cnp handlers 58/54758/1
Daniel Hirt [Mon, 30 Nov 2015 13:29:06 +0000 (15:29 +0200)]
Entry: add markup cnp handlers

In Elm_Cnp, a markup data preparer was missing, which resulted
in _x11_notify_handler_targets not requesting
"application/x-elementary-markup" (requested "UTF8_STRING" instead) when
trying to paste markup text from one entry to another (or itself).

Also, there was a missing handling in the selection data callback for
ELM_SEL_FORMAT_MARKUP data format.

This fixes issues like not being able to paste "item" formats to the
entry widget.

@fix

Change-Id: Ia21165a783c0fe986547b4cf9b70c03435e8d73f

8 years agoMerge "elm_photocam: add NULL check" into tizen
Sung-Taek Hong [Thu, 17 Dec 2015 09:05:31 +0000 (01:05 -0800)]
Merge "elm_photocam: add NULL check" into tizen

8 years agogenlist : fix size hash issue when genlist layout sizing evaluated 80/54680/3 accepted/tizen/mobile/20151217.223938 accepted/tizen/tv/20151217.223953 accepted/tizen/wearable/20151217.224013 submit/tizen/20151217.084643 submit/tizen/20151217.084652
SangHyeon Lee [Thu, 17 Dec 2015 06:27:48 +0000 (15:27 +0900)]
genlist : fix size hash issue when genlist layout sizing evaluated

Summary :
When genlist compressed, size width must updated after sizing eval,
but still hash is not changed after sizing eval, so wrong width are
applied.

so when sizing eval called, free all buckets to get updated width.

genlist: remove unnecessary data creation

Summary :
after using hash, sd is not needed on block_recalc
so it must be removed.

@fix

genlist : fix genlist build errors

Change-Id: Icbaf72871134f6443724d62ec0dfd398dd8659c9

8 years agoelm_photocam: add NULL check 98/54698/1
Sung-Taek Hong [Thu, 17 Dec 2015 07:55:43 +0000 (16:55 +0900)]
elm_photocam: add NULL check

elm_photocam: add NULL check

@fix

Reviewers: woohyun, jaehwan, eunue

Change-Id: I2f95e6b60644a624da896d4f7728f11d44b1d027
Signed-off-by: Sung-Taek Hong <sth253.hong@samsung.com>
8 years agoconform: retry connect to indicator when confrom fails connect. 07/52607/2
Shinwoo Kim [Tue, 10 Nov 2015 00:00:17 +0000 (16:00 -0800)]
conform: retry connect to indicator when confrom fails connect.

Summary:
An application starts before the indicator has. In this case,
the application should try to connect again with the indicator.

Test Plan:
1. Start an application without the indicator service.
2. Start the indicator service.

Reviewers: raster, Hermet, woohyun, jaehwan, cedric

Subscribers: seoz

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

Change-Id: I692260518b75815c4710707826190d6edaad681f
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoMerge "spinner: spinner entry property set for mobile UX." into tizen accepted/tizen/mobile/20151215.230500 accepted/tizen/tv/20151215.230513 accepted/tizen/wearable/20151215.230536 submit/tizen/20151215.073504
woochan lee [Tue, 15 Dec 2015 07:33:20 +0000 (23:33 -0800)]
Merge "spinner: spinner entry property set for mobile UX." into tizen

8 years agoMerge "spinner: add entry filter for accepted only digits and "."" into tizen
woochan lee [Tue, 15 Dec 2015 07:33:12 +0000 (23:33 -0800)]
Merge "spinner: add entry filter for accepted only digits and "."" into tizen

8 years agogenlist: supporting homogeneous mode about each item class. 11/54311/1
SangHyeon Lee [Wed, 2 Dec 2015 07:23:39 +0000 (16:23 +0900)]
genlist: supporting homogeneous mode about each item class.

Summary:
previously, homogeneous was only supported for one type of items or group items,
so if user want to use various item styles with different height,
they should set homogeneous false.

This patch is increase usability of homogeneous to make possible homogeneous for
each item class, with the assumption that every item in same class have same height.

Now the item class not only define it's style and class funcitons, also define the
shape properties of item including height and width also.

@feature

Test Plan: Already exist test case in genlist group

Reviewers: raster, cedric

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

Change-Id: I2143719a0c80a8cc251ad2c751f8ed44f91e3f05

8 years agospinner: add entry filter for accepted only digits and "." 60/54260/1
woochan lee [Tue, 10 Nov 2015 00:28:19 +0000 (16:28 -0800)]
spinner: add entry filter for accepted only digits and "."

Summary:
When spinner activated with entry, user can input any characters in entry.
It degrades the usability.

Add filter for only can input numbers and "." for case of decimal point existing.

I will add entry filter for limit size as well after this commit.
This spinner features may help for app developer and users too.

@feature

Test Plan:
Run elementary_test
Test various spinner format for check this.

Reviewers: Hermet, cedric

Subscribers: id213sin, shilpasingh

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

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

8 years agospinner: spinner entry property set for mobile UX. 59/54259/1
woochan lee [Mon, 14 Dec 2015 10:20:39 +0000 (19:20 +0900)]
spinner: spinner entry property set for mobile UX.

Number only keypad activate for mobile spinner.

@tizen_feature

Change-Id: Ib3a836299888c50908ba2272c5ba33e9610e98d4

8 years agoMerge "elm_win: Add feature to set depth/stencil/msaa bit to window surface" into... accepted/tizen/mobile/20151209.132639 accepted/tizen/tv/20151209.132658 accepted/tizen/wearable/20151209.132714 submit/tizen/20151207.075844 submit/tizen/20151209.040617
DaeKwang Ryu [Mon, 7 Dec 2015 06:15:23 +0000 (22:15 -0800)]
Merge "elm_win: Add feature to set depth/stencil/msaa bit to window surface" into tizen

8 years ago[elm_glview] Add GLView helpers. 40/53440/1
DaeKwang Ryu [Mon, 7 Dec 2015 01:28:21 +0000 (10:28 +0900)]
[elm_glview] Add GLView helpers.

Change-Id: Ie2a027f28ccac07baf30d9ad9e926269fc0a73fb

8 years agoelm_win: Add feature to set depth/stencil/msaa bit to window surface 63/52463/3
DaeKwang Ryu [Mon, 23 Nov 2015 07:55:42 +0000 (16:55 +0900)]
elm_win: Add feature to set depth/stencil/msaa bit to window surface

Add feature to set depth/stencil/msaa bit to window surface
for wayland_egl backend.

Change-Id: Ia3cd34e0b5d4003a01db017ddc0a83bee33ef530

8 years ago[Progressbar] send pulse start signal even when pulse is not set 48/53248/1
Sung-Taek Hong [Thu, 3 Dec 2015 06:27:12 +0000 (15:27 +0900)]
[Progressbar] send pulse start signal even when pulse is not set

Change-Id: Ib8ae84058ee16ce1b19535609b123df07efb75a7
Signed-off-by: Sung-Taek Hong <sth253.hong@samsung.com>
8 years ago[Check] consider scalability of off bg 48/52648/1 accepted/tizen/mobile/20151126.073225 accepted/tizen/tv/20151126.073246 accepted/tizen/wearable/20151126.073254 submit/tizen/20151126.042104
Sung-Taek Hong [Fri, 13 Nov 2015 07:30:24 +0000 (16:30 +0900)]
[Check] consider scalability of off bg

Change-Id: I29e0db091dda6e26e86cf1604ca5870a25f058eb
Signed-off-by: Sung-Taek Hong <sth253.hong@samsung.com>
8 years agoversion up to 1.16.0 accepted/tizen/mobile/20151120.070408 accepted/tizen/tv/20151120.070422 accepted/tizen/wearable/20151120.070433 submit/tizen/20151118.115124 submit/tizen/20151119.043935
Jaehwan Kim [Wed, 18 Nov 2015 11:47:27 +0000 (20:47 +0900)]
version up to 1.16.0

8 years agotizen_vector: Fix ELM_VG_SCALE_SIZE function to handle scale properly. sandbox/jaehwan/devel
Youngbok Shin [Wed, 8 Jul 2015 08:06:34 +0000 (17:06 +0900)]
tizen_vector: Fix ELM_VG_SCALE_SIZE function to handle scale properly.

All of elementary widgets shouldn't be affected by elm_app_base_scale_get().
@tizen_fix

Change-Id: I0e0dc007e64fb873f5433bc1fad04e1b24cec564

8 years agotizen_vector: updated checkbox svg data
Subhransu Mohanty [Wed, 21 Oct 2015 05:53:16 +0000 (14:53 +0900)]
tizen_vector: updated checkbox svg data

Change-Id: Id8c4616f68302f24e546f441f9240feecb7ad6ff

8 years ago[Button] enable double promotion when calc vector size
Sung-Taek Hong [Fri, 16 Oct 2015 06:17:18 +0000 (15:17 +0900)]
[Button] enable double promotion when calc vector size

Signed-off-by: Sung-Taek Hong <sth253.hong@samsung.com>
Change-Id: I4a71857098f2ce725712b286a751f474f4e7c3d9

8 years ago[radio] apply scale factor to radio inner circle
Sung-Taek Hong [Tue, 13 Oct 2015 05:53:32 +0000 (14:53 +0900)]
[radio] apply scale factor to radio inner circle

Change-Id: I52ed388f696239df442d57be2a2e1ef01d1969d6
Signed-off-by: Sung-Taek Hong <sth253.hong@samsung.com>
8 years agotizen/vector: Fixed bg issue in default checkbox.
Subhransu Mohanty [Tue, 6 Oct 2015 05:37:39 +0000 (14:37 +0900)]
tizen/vector: Fixed bg issue in default checkbox.

Change-Id: I97a33612a05bb49ba26f502144ac700647c1d1ae

8 years agoTizen_vector: Apply NULL check at proper place for memory assigned by calloc.
Umesh Tanwar [Wed, 30 Sep 2015 12:51:24 +0000 (18:21 +0530)]
Tizen_vector: Apply NULL check at proper place for memory assigned by calloc.

CID: 123279

Change-Id: Ifbc3964d87a126e2c16983adba0720d238195d84
Signed-off-by: Umesh Tanwar <umesh.tanwar@samsung.com>
8 years ago[2.4][vector]: Prevent progressbar crash.
woochan lee [Thu, 1 Oct 2015 02:32:01 +0000 (11:32 +0900)]
[2.4][vector]: Prevent progressbar crash.

When user sets style for progressbar many times.
It makes crash, because 'vd' already freed.

Change-Id: I97a2026da6075edb035ac0899d6436cacab8a880

8 years ago[2.4][vector]: Resource clean up when progressbar delete time.
woochan lee [Sat, 26 Sep 2015 03:17:54 +0000 (12:17 +0900)]
[2.4][vector]: Resource clean up when progressbar delete time.

Change-Id: I85df613619e8995f6b32e2d9d6459ae8d53bc8d9

8 years ago[radio] render radio in one frame when state_set
Sung-Taek Hong [Thu, 24 Sep 2015 07:10:19 +0000 (16:10 +0900)]
[radio] render radio in one frame when state_set

Signed-off-by: Sung-Taek Hong <sth253.hong@samsung.com>
Change-Id: Ia93d1a0ad5cd7fc27f8dc6ebf9efe37acb81b2cd

8 years agotizen_vector: when progressbar is deleted without showing, _del_cb should call _pulse...
WooHyun Jung [Thu, 24 Sep 2015 05:15:40 +0000 (14:15 +0900)]
tizen_vector: when progressbar is deleted without showing, _del_cb should call _pulse_stop

Change-Id: Iebf627a604e931cdd792f32b126a3c2a985694c0

8 years ago[Check] modify checkbox stroke width from 1 to 1.5
Sung-Taek Hong [Fri, 18 Sep 2015 07:57:42 +0000 (16:57 +0900)]
[Check] modify checkbox stroke width from 1 to 1.5

Change-Id: Iac934b4be7e00c2d5e8bcb64ca1567a989ee46e1
Signed-off-by: Sung-Taek Hong <sth253.hong@samsung.com>
8 years agotizen/progressbar: reset pulse_job pointer ,in job handler callback
Subhransu Mohanty [Fri, 18 Sep 2015 06:40:04 +0000 (15:40 +0900)]
tizen/progressbar: reset  pulse_job pointer ,in job handler callback

Change-Id: I65e860196e9de887311a109a6c06093f93bc08e2

8 years agotizen/vector: fixed the progressbar crash issue.
Subhransu Mohanty [Fri, 18 Sep 2015 02:10:43 +0000 (11:10 +0900)]
tizen/vector: fixed the progressbar crash issue.

Change-Id: I007f36c9273068ec5f99e17e65bc63b8ac061752

8 years agotizen/vector: fixed checkbox and radio button ui issue.
Subhransu Mohanty [Wed, 16 Sep 2015 10:38:43 +0000 (19:38 +0900)]
tizen/vector: fixed checkbox and radio button ui issue.

Change-Id: Ib97ec496fae78d8b60f3da367f7afbdfd8e29c7d

8 years agotizen/vector: favorite button scalability issue fixed
Subhransu Mohanty [Tue, 15 Sep 2015 08:09:20 +0000 (17:09 +0900)]
tizen/vector: favorite button scalability issue fixed

Change-Id: Ia54c7cfdd6ffe2691cefedc98c6a8258f0fbdaf0

8 years agoslider: fix slider's handler bug
Hosang Kim [Tue, 15 Sep 2015 06:02:53 +0000 (15:02 +0900)]
slider: fix slider's handler bug

Add unfocused callback. when slider is unfocused, slider's handler is
hidden.

Change-Id: I2d3b95554ad90d0b97e4a6eb2c21a42d1b2faca0

Conflicts:
src/lib/elm_slider.c

8 years ago[Progressbar] block animation,finished signal emit when next animation is ready
Sung-Taek Hong [Tue, 15 Sep 2015 06:00:45 +0000 (15:00 +0900)]
[Progressbar] block animation,finished signal emit when next animation is ready

Signed-off-by: Sung-Taek Hong <sth253.hong@samsung.com>
Change-Id: Ie27350bc6729a44bbae537dde2384f3a77b8be63

8 years agotizen/vector: fixed the progressbar animation issue in process style
Subhransu Mohanty [Tue, 15 Sep 2015 06:00:53 +0000 (15:00 +0900)]
tizen/vector: fixed the progressbar animation issue in process style

Change-Id: Ib0d25e7e953495d629055e3cf1fa12b8fc4f93dc

8 years agotizen/vector: Fix progressbar transition crash issue for progress style.
Subhransu Mohanty [Mon, 14 Sep 2015 06:00:46 +0000 (15:00 +0900)]
tizen/vector: Fix progressbar transition crash issue for progress style.

Change-Id: Id85c4a4c2e34a4a17f292568262d916b24ed0642

8 years agotizen/vector: Fixed slider handle 1 pixel gap issue by drawing circle with floating...
Subhransu Mohanty [Mon, 14 Sep 2015 04:50:30 +0000 (13:50 +0900)]
tizen/vector: Fixed slider handle 1 pixel gap issue by drawing circle with floating point radius.

Change-Id: I516190c1693efa6f3516196ee6639712e61518c8

8 years agotizen/vector: update the color animation time in default checkbox for off transition.
Subhransu Mohanty [Wed, 9 Sep 2015 08:45:05 +0000 (17:45 +0900)]
tizen/vector: update the color animation time in default checkbox for off transition.

Change-Id: I6f6d91801a35db198f3d55cf13e533c718610269

8 years agotizen/vector: disable size animation in onoff checkbox during off transition.
Subhransu Mohanty [Wed, 9 Sep 2015 08:41:03 +0000 (17:41 +0900)]
tizen/vector: disable size animation in onoff checkbox during off transition.

Change-Id: Id3fb688e38014f4498a298d30426aba1d172f61c

8 years agotizen/vector: delete elm_transit object properly in progressbar.
Subhransu Mohanty [Mon, 7 Sep 2015 08:41:12 +0000 (17:41 +0900)]
tizen/vector: delete elm_transit object  properly in progressbar.

Change-Id: I6a54d8026744915af130305a7c74910620476122

8 years agotizen/vector: updated radio button according to latest ui spec.
Subhransu Mohanty [Sat, 5 Sep 2015 03:12:53 +0000 (12:12 +0900)]
tizen/vector: updated radio button according to latest ui spec.

Change-Id: Ie49768a7d6d969c50483a0cedece2d66e1f0a80c

8 years ago[Check] send signal when animation is finished
Sung-Taek Hong [Mon, 31 Aug 2015 10:30:53 +0000 (19:30 +0900)]
[Check] send signal when animation is finished

Change-Id: I7a04d765edffc10ffea9a1ed791f3c05c6d33e1d
Signed-off-by: Sung-Taek Hong <sth253.hong@samsung.com>
8 years ago[Progressbar] send signal when animation is finished
Sung-Taek Hong [Mon, 31 Aug 2015 09:43:14 +0000 (18:43 +0900)]
[Progressbar] send signal when animation is finished

Change-Id: I1ff331bf48716de9cfd669f969e30fce955e9263
Signed-off-by: Sung-Taek Hong <sth253.hong@samsung.com>
8 years ago[Progressbar] correct typo
Sung-Taek Hong [Mon, 31 Aug 2015 08:51:50 +0000 (17:51 +0900)]
[Progressbar] correct typo

Change-Id: I5734ac267433827824eae2564f99c2d902e0392b
Signed-off-by: Sung-Taek Hong <sth253.hong@samsung.com>
8 years agotizen/vector : handle "elm,radio,state,toggle" and "elm,radio,action,toggle" signal...
Subhransu Mohanty [Wed, 2 Sep 2015 04:45:13 +0000 (13:45 +0900)]
tizen/vector : handle "elm,radio,state,toggle" and "elm,radio,action,toggle" signal for animation and no animation case in radio button.

Change-Id: I9373eef41665e6f4f51c8abe243d3693afb6a2da

8 years agocheck: fixed the default check box according to ui spec.
Subhransu Mohanty [Tue, 1 Sep 2015 06:49:42 +0000 (15:49 +0900)]
check: fixed the default check box according to ui spec.

Change-Id: I291bd3a843f49338cbf5610f81fa3a0d21481bb6

8 years ago[Button] adjust center of circle button as its fixed for software vector backend.
Sung-Taek Hong [Mon, 31 Aug 2015 12:49:30 +0000 (21:49 +0900)]
[Button] adjust center of circle button as its fixed for software vector backend.

Change-Id: I88193f56f8e4ddd8d5e9552e1efa02f3bcdd5679
Signed-off-by: Sung-Taek Hong <sth253.hong@samsung.com>
8 years agoradio: remove the odd radius hack as its fixed for software vector backend.
Subhransu Mohanty [Fri, 28 Aug 2015 08:34:44 +0000 (17:34 +0900)]
radio: remove the odd radius hack as its fixed for software vector backend.

Change-Id: Id6bfb1b3a1b40fbbc925057a9e3d5f2ca99e2fe2

8 years agocheck: updated favorite check box svg path data.
Subhransu Mohanty [Fri, 28 Aug 2015 07:42:23 +0000 (16:42 +0900)]
check: updated favorite check box svg path data.

Change-Id: Ifd66e652b93cb30b96f046584fb0e90a7baaf556

8 years ago[Button] apply corner radius based on effect_spacer
Sung-Taek Hong [Thu, 27 Aug 2015 13:55:09 +0000 (22:55 +0900)]
[Button] apply corner radius based on effect_spacer

Change-Id: I0bc8010fbee1eb2788671f39ab19bddfe727c803
Signed-off-by: Sung-Taek Hong <sth253.hong@samsung.com>