platform/core/appfw/screen-connector.git
7 years agoSet license using %license 17/120417/1
Hyunho Kang [Thu, 23 Mar 2017 01:45:19 +0000 (10:45 +0900)]
Set license using %license

Change-Id: I3345dce2d17af2758e37f790532eb448dfd9485f
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoAdd tbm buffer destroy logic 70/119170/1
Hyunho Kang [Thu, 16 Mar 2017 01:56:31 +0000 (10:56 +0900)]
Add tbm buffer destroy logic

tbm buffer should be handled by viewer side.
If not, tbm_surface fd will be remained after widget is deleted.

Change-Id: Ia6abc17c53af08c24d7d080378c121879e1a291d
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoRelease version 1.1.7 71/118671/1 accepted/tizen/common/20170314.173041 accepted/tizen/ivi/20170314.075401 accepted/tizen/mobile/20170314.075258 accepted/tizen/tv/20170314.075321 accepted/tizen/unified/20170314.075419 accepted/tizen/wearable/20170314.075339 submit/tizen/20170314.023754
Hyunho Kang [Mon, 13 Mar 2017 13:27:56 +0000 (22:27 +0900)]
Release version 1.1.7

Changes:
- Fix destroy handle bug

Change-Id: I8719c0c7cb98b8e3d45f3bd2d302bb69bc99af78
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoFix destroy handle bug 69/118669/1 accepted/tizen/common/20170313.162603 accepted/tizen/ivi/20170313.225641 accepted/tizen/mobile/20170313.225556 accepted/tizen/tv/20170313.225609 accepted/tizen/unified/20170314.015025 accepted/tizen/wearable/20170313.225625 submit/tizen/20170313.132655
Hyunho Kang [Mon, 13 Mar 2017 13:19:24 +0000 (22:19 +0900)]
Fix destroy handle bug

Change-Id: Ifc796724e8db62557fab4c80e6e912dbe022f169
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoRelease version 1.1.6 09/118309/1 accepted/tizen/common/20170310.122308 accepted/tizen/ivi/20170310.102720 accepted/tizen/mobile/20170310.102617 accepted/tizen/tv/20170310.102645 accepted/tizen/unified/20170310.104654 accepted/tizen/wearable/20170310.102702 submit/tizen/20170310.035738 submit/tizen_unified/20170310.103454
Hyunho Kang [Fri, 10 Mar 2017 03:48:50 +0000 (12:48 +0900)]
Release version 1.1.6

Changes:
   - Refactor screen-connector

Change-Id: I756b2e1288992cdd7b3de31c3d1a645768904089
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoRefactor screen-connector 00/115600/13
Hyunho Kang [Mon, 20 Feb 2017 13:22:45 +0000 (22:22 +0900)]
Refactor screen-connector

Old version screen connecotor handle UI app and widget
exactly same way. So viewer have to know running app list
to watch other app screen. It's not a good design and make
problems like timing issue. Old design also make troubles
with widgets because it is watching app with appid so,
in multi instance senario sometimes timing issue was occured.

To solve those problems we divide screen connector into two
API sets. For watching UI apps, we provide
screen_connector_watcher* API set.
For widget/watch apps, we provide
screen_connector_toolkit* API set.

Change-Id: Ifdff15e80d36945747fcc37b90a760fc2e5df561
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoRelease version 1.1.5 13/117913/2 accepted/tizen/common/20170309.175159 accepted/tizen/ivi/20170308.121344 accepted/tizen/mobile/20170308.121301 accepted/tizen/tv/20170308.121322 accepted/tizen/unified/20170310.075746 accepted/tizen/wearable/20170308.121333 submit/tizen/20170308.052132 submit/tizen_unified/20170310.011401
Hyunho Kang [Wed, 8 Mar 2017 04:29:31 +0000 (13:29 +0900)]
Release version 1.1.5

Changes:
   - Add an exception handling about destroying the watcher handle
   - Remove handle from watcher list when watcher destroyed

Change-Id: Ic4644c0a21ee0f95356f5bef953f37a6d43faecd
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoRemove handle from watcher list when watcher destroyed 63/117063/1
Hyunho Kang [Thu, 2 Mar 2017 12:28:24 +0000 (21:28 +0900)]
Remove handle from watcher list when watcher destroyed

If viewer try to remove handle without removing evas object,
handle remain in watcher list.

Change-Id: I88f04d69ad56aa6b380e430d94b733c86d07f2f2
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoAdd an exception handling about destroying the watcher handle 13/116613/1
Hwankyu Jhun [Mon, 27 Feb 2017 08:29:33 +0000 (17:29 +0900)]
Add an exception handling about destroying the watcher handle

We should check whether the surface handle is NULL or NOT.

Change-Id: Idca2b162a2e08a68f913118206f655f6336555b7
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRelease version 1.1.4 84/115284/1 accepted/tizen/common/20170217.161553 accepted/tizen/ivi/20170217.094905 accepted/tizen/mobile/20170217.094817 accepted/tizen/tv/20170217.094834 accepted/tizen/unified/20170309.032755 accepted/tizen/wearable/20170217.094851 submit/tizen/20170217.075038 submit/tizen_unified/20170308.100406
Hyunho Kang [Fri, 17 Feb 2017 07:44:53 +0000 (16:44 +0900)]
Release version 1.1.4

Changes:
 - Fix screen_connector_watcher_remove API bug

Change-Id: Ia379f2e971331ab1156f58d1feb35200339ec7d8
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoFix screen_connector_watcher_remove API bug 73/115273/5
Hyunho Kang [Fri, 17 Feb 2017 06:26:32 +0000 (15:26 +0900)]
Fix screen_connector_watcher_remove API bug

Widget app died after screen watcher handle freed,
viewer crashed because of freed data.

Change-Id: I7aef5e6b6b2dcf09cb2bdd04c7d38d016dedc936
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoRelease version 1.1.3 46/114546/1 accepted/tizen/common/20170214.173713 accepted/tizen/ivi/20170214.230303 accepted/tizen/mobile/20170214.230141 accepted/tizen/tv/20170214.230210 accepted/tizen/wearable/20170214.230236 submit/tizen/20170214.042718
Hyunho Kang [Tue, 14 Feb 2017 04:05:44 +0000 (13:05 +0900)]
Release version 1.1.3

Changes:
 - Apply tizen remote surface v4, add event filter

Change-Id: Iec6c9d3b384a753f166a69f04fa4fac91c9def02
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoApply tizen remote surface v4, add event filter 44/110244/2
Daehyeon Jung [Fri, 13 Jan 2017 10:22:37 +0000 (19:22 +0900)]
Apply tizen remote surface v4, add event filter

 - Some remote surface enabled applications are need to ignore some
 input events.
 - When provider applications set some input event filter, the value
 will be passed to the watcher application. In this case, watcher
 applications should  check input event filter before send the input
 events.

Change-Id: I2b104211cc8bcd03514472c1762882df85319277
Signed-off-by: Daehyeon Jung <darrenh.jung@samsung.com>
7 years agoRelease version 1.1.2 07/113707/3 submit/tizen/20170213.012027
Hyunho Kang [Wed, 8 Feb 2017 11:04:12 +0000 (20:04 +0900)]
Release version 1.1.2

Changes:
- Fix screen_connector_watcher_evas_get_rid bug
- Add error return logic to watcher_evas_get_pid
- Fix screen_connector_watcher_evas_add_by_rid bug
- Fix memory leaks
- Add an exception handling

Change-Id: I69a037eb18c4e021d52b9b7554479b859b6d4d9d
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoAdd error return logic to watcher_evas_get_pid 27/114127/3
Hyunho Kang [Fri, 10 Feb 2017 05:47:53 +0000 (14:47 +0900)]
Add error return logic to watcher_evas_get_pid

Sub viewer should not get pid using screen image object.

Change-Id: I4f12cb2c1f8f96575a81f1e8a5665ff7f52fba09
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoFix screen_connector_watcher_evas_add_by_rid bug 20/114120/6
Hyunho Kang [Fri, 10 Feb 2017 05:18:28 +0000 (14:18 +0900)]
Fix screen_connector_watcher_evas_add_by_rid bug

This API was designed for other viewer but implementation
was for main viewer

Change-Id: I1292fb070d5a1c298e0bc8750ae864ee9407cda5
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoFix memory leaks 29/113729/4
Hyunho Kang [Wed, 8 Feb 2017 12:36:51 +0000 (21:36 +0900)]
Fix memory leaks

Change-Id: Idb56464495739c44b1735fea75d56a1901718d13
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoAdd an exception handling 51/114051/1
Hwankyu Jhun [Thu, 9 Feb 2017 23:46:28 +0000 (08:46 +0900)]
Add an exception handling

The tizen_remote_surface_manager_create_surface() API returns
a NULL porinter if the resource id is invalid.

Change-Id: I5d3b084db876061d4f2a02254e8905db4ff52d68
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix screen_connector_watcher_evas_get_rid bug 80/113580/2 accepted/tizen/3.0/common/20170210.071233 accepted/tizen/3.0/ivi/20170210.002015 accepted/tizen/3.0/mobile/20170210.001914 accepted/tizen/3.0/tv/20170210.001944 accepted/tizen/3.0/wearable/20170210.001955 submit/tizen_3.0/20170208.110217
Hyunho Kang [Wed, 8 Feb 2017 09:13:49 +0000 (18:13 +0900)]
Fix screen_connector_watcher_evas_get_rid bug

Change-Id: If3086b6a1984ceb6a1864a57b5fba238ad04ee81
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoRelease version 1.1.1 06/112406/1
Hyunho Kang [Wed, 1 Feb 2017 01:15:58 +0000 (10:15 +0900)]
Release version 1.1.1

Changes:
- Fix tbm buffer and file fd management logic

Change-Id: I17058cd8dc7016bcf0ae4106f489cd0f04c44965
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoFix tbm buffer and file fd management logic 82/111782/1 tizen_3.0_tv accepted/tizen/3.0/common/20170201.164602 accepted/tizen/3.0/ivi/20170201.091710 accepted/tizen/3.0/mobile/20170201.091536 accepted/tizen/3.0/tv/20170201.091608 accepted/tizen/3.0/wearable/20170201.091631 submit/tizen_3.0/20170201.003016
Hyunho Kang [Tue, 24 Jan 2017 02:59:16 +0000 (11:59 +0900)]
Fix tbm buffer and file fd management logic

Change-Id: I8bb5c15ea0a247c33e9450698d0529926a1a0f86
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoRelease version 1.1.0 16/110516/2 accepted/tizen/3.0/common/20170119.105554 accepted/tizen/3.0/ivi/20170118.225947 accepted/tizen/3.0/mobile/20170118.225901 accepted/tizen/3.0/tv/20170118.225917 accepted/tizen/3.0/wearable/20170118.225932 accepted/tizen/common/20170119.171532 accepted/tizen/common/20170125.113237 accepted/tizen/ivi/20170119.222202 accepted/tizen/mobile/20170119.221801 accepted/tizen/tv/20170119.221954 accepted/tizen/wearable/20170119.222054 submit/tizen/20170117.053142 submit/tizen/20170119.070147 submit/tizen_3.0/20170117.054147
Hyunho Kang [Tue, 17 Jan 2017 01:18:14 +0000 (10:18 +0900)]
Release version 1.1.0

Changes:
- Add tizen remote surface buffer changed callback

Change-Id: I87c2c4d15db825b050fa5545276057f6f4fced7c
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoAdd tizen remote surface buffer changed callback 11/110511/1
Hyunho Kang [Tue, 17 Jan 2017 01:00:29 +0000 (10:00 +0900)]
Add tizen remote surface buffer changed callback

tizen remote surface version up to 3.

Change-Id: I1e4b5fab125903ac7b63c8a1a97314accb576380
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoAdd Null Check logic 74/108774/1 accepted/tizen/3.0/common/20170109.200250 accepted/tizen/3.0/ivi/20170106.095107 accepted/tizen/3.0/mobile/20170106.095047 accepted/tizen/3.0/tv/20170106.095053 accepted/tizen/3.0/wearable/20170106.095059 accepted/tizen/common/20170113.184612 accepted/tizen/ivi/20170112.223126 accepted/tizen/mobile/20170112.223035 accepted/tizen/tv/20170112.223051 accepted/tizen/wearable/20170112.223109 submit/tizen/20170112.062902 submit/tizen_3.0/20170106.041843 submit/tizen_common/20170112.224201
Hyunho Kang [Thu, 5 Jan 2017 13:32:10 +0000 (22:32 +0900)]
Add Null Check logic

__watcher_tbl can be already destroyed by
screen_connector_watcher_evas_fini call

Change-Id: I783c4bcdea20d02ced1910a066d0d1652f0d5d9a
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoCall visibility update in show,resize callback 30/107430/1 accepted/tizen_3.0.m2_mobile accepted/tizen_3.0.m2_tv accepted/tizen_3.0.m2_wearable tizen_3.0.m2 accepted/tizen/3.0.m2/mobile/20170104.122245 accepted/tizen/3.0.m2/tv/20170104.122628 accepted/tizen/3.0.m2/wearable/20170104.122951 accepted/tizen/3.0/common/20161229.112720 accepted/tizen/3.0/ivi/20161229.054114 accepted/tizen/3.0/mobile/20161229.054027 accepted/tizen/3.0/tv/20161229.054047 accepted/tizen/3.0/wearable/20161229.054102 accepted/tizen/common/20170109.202237 accepted/tizen/ivi/20170105.223142 accepted/tizen/mobile/20170105.223032 accepted/tizen/tv/20170105.223102 accepted/tizen/wearable/20170105.223122 submit/tizen/20170105.005252 submit/tizen_3.0.m2/20170104.093749 submit/tizen_3.0/20161228.051438
Semun Lee [Wed, 28 Dec 2016 05:01:47 +0000 (14:01 +0900)]
Call visibility update in show,resize callback

We need to update initial visibility value for the
object when it is shown or resized.
If we skip it, the display server sets its own visibility
state value for the object as invisible one.

Change-Id: I75782a77f1cabadafabf560965e34e634816d702
Signed-off-by: Semun Lee <sm79.lee@samsung.com>
7 years agoFix fail to get object pid 49/106749/2 accepted/tizen/3.0/common/20161228.071553 accepted/tizen/3.0/ivi/20161226.030311 accepted/tizen/3.0/mobile/20161226.030148 accepted/tizen/3.0/tv/20161226.030216 accepted/tizen/3.0/wearable/20161226.030242 submit/tizen_3.0/20161223.043050
Hyunho Kang [Fri, 23 Dec 2016 00:21:19 +0000 (09:21 +0900)]
Fix fail to get object pid

Change-Id: I4cfff44f1628e9bd4467d437a446e3445de9c51f
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoAdjust coding style 21/105921/1
Hwankyu Jhun [Tue, 20 Dec 2016 05:01:54 +0000 (14:01 +0900)]
Adjust coding style

Change-Id: Ia8eae134aac2f04a82e8402f93b194bfbe43b932
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agotizen_remote_surface version up 87/105687/2 accepted/tizen/3.0/common/20161221.181006 accepted/tizen/3.0/ivi/20161221.010045 accepted/tizen/3.0/mobile/20161221.010230 accepted/tizen/3.0/tv/20161221.005900 accepted/tizen/3.0/wearable/20161221.005956 submit/tizen_3.0/20161220.014437
Hyunho Kang [Mon, 19 Dec 2016 07:37:05 +0000 (16:37 +0900)]
tizen_remote_surface version up

tizen_remote_surface manager version 1 has bug.
tizen_remote_surface_release protocol is added.

Change-Id: I23e4d6533451b78e2c88e0ab330d2af3485581f4
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoAdd APIs and divide Evas dependant APIs 94/104494/3 submit/tizen_3.0/20161219.021901
Hyunho Kang [Tue, 13 Dec 2016 11:03:06 +0000 (20:03 +0900)]
Add APIs and divide Evas dependant APIs

Added APIs
- _compositor_set_handler_by_rid -> screen_connector_watcher_evas_add_by_rid
- _compositor_get_rid -> screen_connector_watcher_evas_get_rid
- _compositor_get_pid -> screen_connector_watcher_evas_get_pid

Evas dependant APIs should be devided for none evas APIs like dali.

Change-Id: I5806013d68262becc1b6d69bbccdffea757cfaf0
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoFix remove callback 69/104169/2 accepted/tizen/3.0/common/20161213.164023 submit/tizen_3.0/20161212.123626
Hyunho Kang [Mon, 12 Dec 2016 12:36:56 +0000 (21:36 +0900)]
Fix remove callback

remove callback have to pass object to keep
consistancy of old version.

Change-Id: I40001484188a983092d1bcd6e10f658249c38420
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoInitial commit 97/100597/9 submit/tizen_3.0/20161212.043612
Hyunho Kang [Mon, 28 Nov 2016 12:56:24 +0000 (21:56 +0900)]
Initial commit

- screen_connector_watcher
- screen_connector_watcher_evas

Change-Id: I884dcd1139825dc67a5b3a18e7cbe18d92cc150d
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoInitial empty repository master
Jong Jeong Kim [Wed, 23 Nov 2016 02:00:07 +0000 (18:00 -0800)]
Initial empty repository