platform/core/appfw/screen-connector.git
7 years agoprovider: clean up screen_connector_provider_init()
YoungJun Cho [Tue, 10 Oct 2017 08:43:47 +0000 (17:43 +0900)]
provider: clean up screen_connector_provider_init()

Change-Id: Iead44d5286bc4dc16041761400f389339ce87c3d
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
7 years agowatcher: trs: clean up screen_connector_trs_init()
YoungJun Cho [Tue, 10 Oct 2017 08:56:29 +0000 (17:56 +0900)]
watcher: trs: clean up screen_connector_trs_init()

Change-Id: I3673fe5ab1f6044f01a2474356e2f067f1a0d738
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
7 years agoFixed wrong type usage for provider's visibility
SinJae Lee [Wed, 18 Oct 2017 02:23:49 +0000 (11:23 +0900)]
Fixed wrong type usage for provider's visibility

Change-Id: Icc94cd5d850ecb5a624c2df2017d562a1d8475c1

7 years agoFix tbm_surface memory leak 62/154462/3
Junghoon Park [Tue, 10 Oct 2017 08:46:45 +0000 (17:46 +0900)]
Fix tbm_surface memory leak

- When changed buff event comes in bind mode, it needs to unref tbm_surface from updated wl_buffer

Change-Id: Id6d42e0aeb76f858d5a7cc5fb3c03d736d549c97
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
7 years agoRelease version 1.2.11 17/156017/1 accepted/tizen/4.0/unified/20171018.060549 accepted/tizen/unified/20171017.204705 submit/tizen/20171017.043831 submit/tizen_4.0/20171017.042721 tizen_4.0.m2_release
Hyunho Kang [Tue, 17 Oct 2017 03:16:00 +0000 (12:16 +0900)]
Release version 1.2.11

Changes:
 - Do not send duplicate mouse cancel event
 - Fix wrong log format

Change-Id: Id5ec693122bd5c0b4515759f718ead5c20da961a
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoFix wrong log format
Hyunho Kang [Mon, 16 Oct 2017 08:05:25 +0000 (17:05 +0900)]
Fix wrong log format

Change-Id: Id11f3fd30d06e5c064ca5c45b408f95cc79dd9b5
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoDo not send duplicate mouse cancel event
Hyunho Kang [Fri, 25 Aug 2017 10:25:39 +0000 (19:25 +0900)]
Do not send duplicate mouse cancel event

Change-Id: I2a9d98ea5e27276a7bc1dde57d80073c768acc93
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoRelease version 1.2.10 60/155060/1 accepted/tizen/4.0/unified/20171012.191405 accepted/tizen/unified/20171012.191735 submit/tizen/20171012.050649 submit/tizen_4.0/20171012.051056 tizen_4.0.IoT.p1_release
Hyunho Kang [Thu, 12 Oct 2017 04:36:48 +0000 (13:36 +0900)]
Release version 1.2.10

Changes:
 - Handling mouse in/out event

Change-Id: Ia243dfa79c85b446de5610d4ccf432b098a25428
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoHandling mouse in/out event 61/154761/6
Hyunho Kang [Wed, 11 Oct 2017 08:48:24 +0000 (17:48 +0900)]
Handling mouse in/out event

Change-Id: If7ec3852d7f7e557d0eb241eb921d2166d3c0b69
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoRelease version 1.2.9 49/152049/1 accepted/tizen/4.0/unified/20170925.151101 accepted/tizen/unified/20170926.165602 submit/tizen/20170925.023149 submit/tizen/20170925.045801 submit/tizen/20170925.085118 submit/tizen/20170926.011445 submit/tizen_4.0/20170925.023320 submit/tizen_4.0/20170925.050600
Hwankyu Jhun [Mon, 25 Sep 2017 02:16:48 +0000 (11:16 +0900)]
Release version 1.2.9

Changes:
 - Add an exception handling
 - Fix memory leaks
 - Add error return logic to watcher_evas_get_pid
 - Fix screen_connector_watcher_evas_add_by_rid bug
 - Apply tizen remote surface v4, add event filter
 - Fix screen_connector_watcher_remove API bug
 - Add an exception handling about destroying the watcher handle
 - Remove handle from watcher list when watcher destroyed
 - Refactor screen-connector
 - Fix callback disapeared bug
 - Fix destroy handle bug
 - Add tbm buffer destroy logic
 - Fix memory leak
 - Fix memory leak
 - Make widget work.
 - Add bind surface APIs
 - Fix toolkit_table destroy bug
 - Delay resuming time
 - Add APIs to control visibility
 - Add object visible check API
 - Add buffer changed event filter
 - Fix add by rid bug
 - Add APIs for binding and unbinding window
 - Remove evas callback from destroyed surface tbm
 - Clear tbm when surface destroyed
 - Do not destroy buffer when receive same buffer
 - Check multi viewer window visibility
 - Do not unref tbm_surface when receive same buffer
 - Add id exist check logic for toolkit add api
 - Add missing code to find type handle
 - Send move event before mouse up event
 - Modify log level
 - Cancel mouse event when the widget is invisible
 - Fix mouse up crash
 - Add api to get auto visibility
 - Clear buffer reference when toolkit removed
 - Cancel touch event when the screen is binding
 - Unref buffer before bind surface
 - Send multi-down/up events to Display Server
 - Fix viewer list handling bug
 - Fix deref after null
 - Do not use delayed resume for watch
 - Manage toolkit handles in consistent way
 - Add filter feature for screen_connector_toolkit
 - Remove duplicate declaration
 - Calculate flick down/up event
 - Release buffer before setting filter
 - Keep toolkit_table before callback removed_cb
 - Merge branch 'tizen_3.0' into devel/tizen

Change-Id: I1a8dd5f34dd7a727b7abf084d6169886b4088095
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoMerge branch 'tizen_3.0' into devel/tizen 35/150535/4 devel/tizen
Hwankyu Jhun [Mon, 18 Sep 2017 00:43:19 +0000 (09:43 +0900)]
Merge branch 'tizen_3.0' into devel/tizen

Change-Id: Ia7fb9598eaac1524b06f7fd3fcebf38f1dfab254
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRelease version 1.2.8 68/148468/1 accepted/tizen/4.0/unified/20170913.003433 accepted/tizen/unified/20170911.155729 submit/tizen/20170908.031412 submit/tizen/20170910.063640 submit/tizen_4.0/20170908.031457 submit/tizen_4.0/20170910.063949
Hyunho Kang [Fri, 8 Sep 2017 02:59:55 +0000 (11:59 +0900)]
Release version 1.2.8

Changes:
 - Fix dereference NULL

Change-Id: If1e478c4babf4d30661c84b770835003c40d9f2a
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoFix dereference NULL 39/147939/1
Hyunho Kang [Wed, 6 Sep 2017 06:06:02 +0000 (15:06 +0900)]
Fix dereference NULL

Change-Id: I29ee2cf5f1a6b0363ea75498a822a83674330c7b
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoKeep toolkit_table before callback removed_cb 69/147269/2
Semun Lee [Sun, 3 Sep 2017 11:00:58 +0000 (20:00 +0900)]
Keep toolkit_table before callback removed_cb

toolkit_evas_h can be freed in removed_cb

Change-Id: Id28a1661441b3e327216ca6a37175e4000caf034
Signed-off-by: Semun Lee <semun.lee@samsung.com>
7 years agoRelease buffer before setting filter 56/146456/4
Junghoon Park [Tue, 29 Aug 2017 02:03:18 +0000 (11:03 +0900)]
Release buffer before setting filter

Change-Id: I3ab0c15def108efae9418dabf1728619b713d185
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
Signed-off-by: Semun Lee <semun.lee@samsung.com>
7 years agoCalculate flick down/up event 02/147002/2
Junghoon Park [Thu, 31 Aug 2017 12:18:27 +0000 (21:18 +0900)]
Calculate flick down/up event

- The speed can be calculated by position y, because each move event will be
  sent after every 10ms
- Once flick down/up event happen, move event can be ignored to support lagacy
  apps

Change-Id: I71e8f839ca9544a9667d6abadd980eb525368a1a
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
7 years agoRelease version 1.2.7 86/146286/1 accepted/tizen/4.0/unified/20170904.234827 accepted/tizen/unified/20170828.164144 submit/tizen/20170828.002855 submit/tizen_4.0/20170830.222938 submit/tizen_4.0/20170901.004643
Hwankyu Jhun [Mon, 28 Aug 2017 00:16:00 +0000 (09:16 +0900)]
Release version 1.2.7

Changes:
 - Fix invalid log format

Change-Id: Id0479eab6faff8107c358253ad0d5ed20553e4c1
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix invalid log format 83/146283/1
Hwankyu Jhun [Sun, 27 Aug 2017 23:00:54 +0000 (08:00 +0900)]
Fix invalid log format

Change-Id: I45445ec2241f8166f6444529e96d4a742a957534
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRemove duplicate declaration 42/145742/6
Hyunho Kang [Wed, 23 Aug 2017 12:15:46 +0000 (21:15 +0900)]
Remove duplicate declaration

Change-Id: Ia2bacc382d6e7b5614eb11d2aa985926ad684bec
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoAdd filter feature for screen_connector_toolkit 73/145273/3
Hyunho Kang [Tue, 22 Aug 2017 02:44:59 +0000 (11:44 +0900)]
Add filter feature for screen_connector_toolkit

Change-Id: I7aceb0ab0c9e1f6ac55532b69f1a23d68b267210
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoManage toolkit handles in consistent way 92/145192/6 accepted/tizen/3.0/common/20170824.151032 accepted/tizen/3.0/mobile/20170823.221603 accepted/tizen/3.0/tv/20170823.221634 accepted/tizen/3.0/wearable/20170823.221639 submit/tizen_3.0/20170822.050833
Semun Lee [Mon, 21 Aug 2017 13:44:21 +0000 (22:44 +0900)]
Manage toolkit handles in consistent way

- upper layer is responsible for managing toolkits of lower layer

Change-Id: I685035f8cade2e089392e0a01b44bf630f0a03d6
Signed-off-by: Semun Lee <semun.lee@samsung.com>
7 years agoDo not use delayed resume for watch 62/145162/1
Hyunho Kang [Mon, 21 Aug 2017 11:43:15 +0000 (20:43 +0900)]
Do not use delayed resume for watch

Change-Id: I4d3019fa937c25f58efaced3fc13376782e1e995
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoFix deref after null 69/144669/1 accepted/tizen_3.0_ivi accepted/tizen/3.0/common/20170818.112446 accepted/tizen/3.0/ivi/20170818.001551 accepted/tizen/3.0/mobile/20170818.001539 accepted/tizen/3.0/tv/20170818.001542 accepted/tizen/3.0/wearable/20170818.001547 submit/tizen_3.0/20170817.105437
Hyunho Kang [Thu, 17 Aug 2017 10:48:13 +0000 (19:48 +0900)]
Fix deref after null

Change-Id: I7ee8a408ea2c083fc29530aaf79c2c24161ac74f
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoFix viewer list handling bug 12/144412/5 accepted/tizen/3.0/common/20170818.112421 accepted/tizen/3.0/ivi/20170818.001406 accepted/tizen/3.0/mobile/20170818.001332 accepted/tizen/3.0/tv/20170818.001318 accepted/tizen/3.0/wearable/20170818.001351 submit/tizen_3.0/20170817.090741
Hyunho Kang [Wed, 16 Aug 2017 13:34:27 +0000 (22:34 +0900)]
Fix viewer list handling bug

Change-Id: Id3ab579548e6dd5a7e7b4bb3f353f90415d275ba
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoSend multi-down/up events to Display Server 13/144313/1
Junghoon Park [Wed, 16 Aug 2017 08:06:46 +0000 (17:06 +0900)]
Send multi-down/up events to Display Server

- The events for multi-touch were not considered

Change-Id: Iabe2d27f719fb8e2064caf7cfb4473309c07e7f4
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
7 years agoUnref buffer before bind surface 27/144227/1 accepted/tizen/3.0/common/20170816.145251 accepted/tizen/3.0/ivi/20170816.131303 accepted/tizen/3.0/mobile/20170816.131242 accepted/tizen/3.0/tv/20170816.131315 accepted/tizen/3.0/wearable/20170816.131327 submit/tizen_3.0/20170816.055230
Hyunho Kang [Wed, 16 Aug 2017 03:04:34 +0000 (12:04 +0900)]
Unref buffer before bind surface

Buffer should be released before bind, if not watch window can not use one
buffer which referenced by watch application

Change-Id: I780e709776366e8a40a083c3c7fd08451cb4983e
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoCancel touch event when the screen is binding 42/143542/1 accepted/tizen/3.0/common/20170811.132436 accepted/tizen/3.0/ivi/20170811.095452 accepted/tizen/3.0/mobile/20170811.095403 accepted/tizen/3.0/tv/20170811.095431 accepted/tizen/3.0/wearable/20170811.095526 submit/tizen_3.0/20170810.125114 submit/tizen_3.0/20170811.024642 submit/tizen_3.0/20170811.051720
Junghoon Park [Thu, 10 Aug 2017 09:17:17 +0000 (18:17 +0900)]
Cancel touch event when the screen is binding

Change-Id: Iafdc141469730d9963ee0625a0d115716329899d
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
7 years agoClear buffer reference when toolkit removed 95/143395/1
Hyunho Kang [Wed, 9 Aug 2017 13:21:58 +0000 (22:21 +0900)]
Clear buffer reference when toolkit removed

When provider died referenced remote surface buffer should be released

Change-Id: I8f7dd1542b2596b9f4afc11b99d5f5c327476ebe
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoAdd api to get auto visibility 30/142930/2
Hyunho Kang [Tue, 8 Aug 2017 02:12:14 +0000 (11:12 +0900)]
Add api to get auto visibility

- screen_connector_toolkit_evas_auto_visibility

Change-Id: I7896c097d45573f06cea2a2d8e81e53831027389
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoFix mouse up crash 41/142341/3 accepted/tizen/3.0/common/20170808.133304 accepted/tizen/3.0/ivi/20170808.070422 accepted/tizen/3.0/mobile/20170808.070348 accepted/tizen/3.0/tv/20170808.070400 accepted/tizen/3.0/wearable/20170808.070412 submit/tizen_3.0/20170804.031922
Hyunho Kang [Thu, 3 Aug 2017 11:51:03 +0000 (20:51 +0900)]
Fix mouse up crash

If DESC value do not copied, tizen_remote_surface_transfer_mouse_event
will send trash value.

Change-Id: I4690a1d76671f7ce4394c7c9b36e2a78795b23b3
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoCancel mouse event when the widget is invisible 79/142279/2
Junghoon Park [Thu, 3 Aug 2017 08:19:09 +0000 (17:19 +0900)]
Cancel mouse event when the widget is invisible

- After wdiget is paused, the event for mouse events may be ignored
- If mouse-up event is missed, a button will not be enabled again
- To cover this issue, mouse-cancel event should be sent when the widget
  is paused

Change-Id: Ife9eec5971dab78a949ab0826f91a902740365bc
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
7 years agoRelease version 1.2.6 81/141881/1 accepted/tizen/4.0/unified/20170816.013859 accepted/tizen/4.0/unified/20170816.020244 accepted/tizen/4.0/unified/20170828.224009 accepted/tizen/unified/20170802.151703 submit/tizen/20170802.020241 submit/tizen/20170802.062632 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170814.115522 submit/tizen_4.0/20170828.100002 submit/tizen_4.0_unified/20170814.115522
Hwankyu Jhun [Wed, 2 Aug 2017 01:43:31 +0000 (10:43 +0900)]
Release version 1.2.6

Changes:
 - Fix typo
 - Add id exist check logic for toolkit add api
 - Add an exception handling about out of memory

Change-Id: I7f7c19c824947a67eb362de14d006e4dfc94142a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix typo 83/141483/3
Hwankyu Jhun [Mon, 31 Jul 2017 23:08:29 +0000 (08:08 +0900)]
Fix typo

Change-Id: Iac92afcbf3be80317eed5b6a2b0d6b0c8c12bd46
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoAdd id exist check logic for toolkit add api 36/141736/3
Hyunho Kang [Mon, 24 Jul 2017 11:08:40 +0000 (20:08 +0900)]
Add id exist check logic for toolkit add api

ID should be unique.

Change-Id: I154e9abf832a8415d71d452636c804a581292882
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoAdd an exception handling about out of memory 49/141849/2
Hwankyu Jhun [Tue, 1 Aug 2017 22:49:28 +0000 (07:49 +0900)]
Add an exception handling about out of memory

Change-Id: I9838c04a7808675b1f46ca98bdc1b1fee29a5611
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoModify log level 33/141733/1
Hyunho Kang [Tue, 1 Aug 2017 08:44:29 +0000 (17:44 +0900)]
Modify log level

Change-Id: Idb42508475d29b5afadf2dcc7ddb16886f447cf3
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoSend move event before mouse up event 94/139694/4 accepted/tizen/3.0/common/20170803.140133 accepted/tizen/3.0/ivi/20170803.010717 accepted/tizen/3.0/mobile/20170803.010704 accepted/tizen/3.0/tv/20170803.010708 accepted/tizen/3.0/wearable/20170803.010713 submit/tizen_3.0/20170731.115724
Hyunho Kang [Thu, 20 Jul 2017 06:53:27 +0000 (15:53 +0900)]
Send move event before mouse up event

For consistency with old version of widget framework

Change-Id: Ib4d3dd9282f69f580a371dc79d901a9100ffd326
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoAdd missing code to find type handle 68/140668/2 accepted/tizen/3.0/common/20170728.153313 accepted/tizen/3.0/common/20170728.153435 accepted/tizen/3.0/ivi/20170728.004838 accepted/tizen/3.0/ivi/20170728.005003 accepted/tizen/3.0/mobile/20170728.004753 accepted/tizen/3.0/mobile/20170728.004930 accepted/tizen/3.0/tv/20170728.004808 accepted/tizen/3.0/tv/20170728.004941 accepted/tizen/3.0/wearable/20170728.004825 accepted/tizen/3.0/wearable/20170728.004953 submit/tizen_3.0/20170726.030918 submit/tizen_3.0/20170727.001251
Hwankyu Jhun [Wed, 26 Jul 2017 03:03:23 +0000 (12:03 +0900)]
Add missing code to find type handle

The screen_connector_toolkit_init() MUST be called before
calling screen_connector_toolkit_add().

Change-Id: I1e6692dab3293b0947889d6a7156effa5b59edd8
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoAdd id exist check logic for toolkit add api 09/140309/2 submit/tizen_3.0/20170725.224529
Hyunho Kang [Mon, 24 Jul 2017 11:08:40 +0000 (20:08 +0900)]
Add id exist check logic for toolkit add api

ID should be unique.

Change-Id: I3d4a5e58cce59d03a32a0cf78c0f006783aafe67
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoDo not unref tbm_surface when receive same buffer 98/139398/5
Hyunho Kang [Wed, 19 Jul 2017 00:41:19 +0000 (09:41 +0900)]
Do not unref tbm_surface when receive same buffer

Change-Id: I09f3e6f72bd1944a19866977a6f9586a7b236b09
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoCheck multi viewer window visibility 28/139328/2
Hyunho Kang [Tue, 18 Jul 2017 10:30:21 +0000 (19:30 +0900)]
Check multi viewer window visibility

Viewer's visibility has to be decided based on
every viewer window include bind target window.

Change-Id: I1ec9299ab2ff23429cb6b214b39ecc422c747fc1
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoDo not destroy buffer when receive same buffer 20/138820/1 accepted/tizen/3.0/common/20170717.110951 accepted/tizen/3.0/ivi/20170717.085544 accepted/tizen/3.0/mobile/20170717.085540 accepted/tizen/3.0/tv/20170717.085615 accepted/tizen/3.0/wearable/20170717.085618 submit/tizen_3.0/20170714.025147
Hyunho Kang [Fri, 14 Jul 2017 02:20:02 +0000 (11:20 +0900)]
Do not destroy buffer when receive same buffer

Change-Id: Ie5a3560a1a745534e950359e4949007d64c7fca4
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoRelease version 1.2.5 22/136322/1 accepted/tizen/unified/20170703.064145 submit/tizen/20170629.060633
Hyunho Kang [Thu, 29 Jun 2017 05:40:34 +0000 (14:40 +0900)]
Release version 1.2.5

Changes:
 - Revert "Revert "Add buffer changed event filter""
 - Fix add by rid bug
 - Remove evas callback from destroyed surface tbm

Change-Id: Iea04fae18eee5558dbf42f8ad4bdccb441e34e07
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoClear tbm when surface destroyed 98/135198/1 accepted/tizen/3.0/common/20170630.144709 accepted/tizen/3.0/common/20170705.074720 accepted/tizen/3.0/ivi/20170630.081303 accepted/tizen/3.0/ivi/20170630.083945 accepted/tizen/3.0/ivi/20170703.082342 accepted/tizen/3.0/ivi/20170704.221334 accepted/tizen/3.0/mobile/20170630.081153 accepted/tizen/3.0/mobile/20170630.083849 accepted/tizen/3.0/mobile/20170703.082240 accepted/tizen/3.0/mobile/20170704.221309 accepted/tizen/3.0/tv/20170630.081210 accepted/tizen/3.0/tv/20170630.083907 accepted/tizen/3.0/tv/20170703.082301 accepted/tizen/3.0/tv/20170704.221322 accepted/tizen/3.0/wearable/20170630.081248 accepted/tizen/3.0/wearable/20170630.083925 accepted/tizen/3.0/wearable/20170703.082322 accepted/tizen/3.0/wearable/20170704.221347 submit/tizen_3.0/20170621.082024 submit/tizen_3.0/20170630.012339 submit/tizen_3.0/20170702.230413
Hyunho Kang [Wed, 21 Jun 2017 07:13:25 +0000 (16:13 +0900)]
Clear tbm when surface destroyed

Change-Id: I272f64c095b201b217bf6920d654c538917d0fa9
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoRevert "Revert "Add buffer changed event filter"" 44/134544/3
Hyunho Kang [Thu, 25 May 2017 10:36:43 +0000 (19:36 +0900)]
Revert "Revert "Add buffer changed event filter""

This reverts commit ccbbd8ee1c6b87fe36907ca4b4d6f3fd56c62ace.

Change-Id: I7d9b4d2143bae2a17d0e28ffb51f24514294b2bf
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoFix add by rid bug 71/132571/3
Hyunho Kang [Fri, 2 Jun 2017 07:34:04 +0000 (16:34 +0900)]
Fix add by rid bug

- Only main viewer should remove prev tbm buffer.
- Resources which generated by add_by_rid should be managed

Change-Id: Icf2dfdc47b131e2efd86b82aabdb1ff683d30203
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoRemove evas callback from destroyed surface tbm 83/134383/1
Hyunho Kang [Fri, 16 Jun 2017 06:54:05 +0000 (15:54 +0900)]
Remove evas callback from destroyed surface tbm

Destroyed surface's tbm buffer can be remained in viewer application so
we need to remove every callback from destroyed surface's tbm buffer.

Change-Id: I0487f697ae506079790c333875cc8f7885452087
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoRemove evas callback from destroyed surface tbm 73/134373/1 submit/tizen_3.0/20170620.015924
Hyunho Kang [Fri, 16 Jun 2017 06:54:05 +0000 (15:54 +0900)]
Remove evas callback from destroyed surface tbm

Destroyed surface's tbm buffer can be remained in viewer application so
we need to remove every callback from destroyed surface's tbm buffer.

Change-Id: I0487f697ae506079790c333875cc8f7885452087
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoAdd APIs for binding and unbinding window 92/133392/1 submit/tizen_3.0/20170612.051238 submit/tizen_3.0/20170612.080946 submit/tizen_3.0/20170615.015225
Junghoon Park [Thu, 11 May 2017 05:09:39 +0000 (14:09 +0900)]
Add APIs for binding and unbinding window

Change-Id: I0ae4e1aaff04896400047ed9867fd5c75f823cb6
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoFix add by rid bug 15/132315/10
Hyunho Kang [Fri, 2 Jun 2017 07:34:04 +0000 (16:34 +0900)]
Fix add by rid bug

- Only main viewer should remove prev tbm buffer.
- Resources which generated by add_by_rid should be managed

Change-Id: Icf2dfdc47b131e2efd86b82aabdb1ff683d30203
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoRelease version 1.2.4 00/133100/1 accepted/tizen/unified/20170609.203938 submit/tizen/20170609.022657
Hyunho Kang [Fri, 9 Jun 2017 02:17:24 +0000 (11:17 +0900)]
Release version 1.2.4

Changes:
  - Add null check logic for object is visible API
  - Replace wl_display_roundtrip with wl_display_roundtrip_queue
  - Add object visible check API
  - Move unversioned so file to devel package

Change-Id: I8126a6ee728134e56a65fe388590c1be4022359e
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoAdd null check logic for object is visible API 72/132572/2
Hyunho Kang [Wed, 7 Jun 2017 03:38:58 +0000 (12:38 +0900)]
Add null check logic for object is visible API

Change-Id: I708b780f892b6ac1142794a731d7a76beaf1ba12
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoAdd buffer changed event filter 26/131126/6 accepted/tizen/3.0/common/20170612.121607 accepted/tizen/3.0/ivi/20170612.050112 accepted/tizen/3.0/mobile/20170612.050047 accepted/tizen/3.0/tv/20170612.050053 accepted/tizen/3.0/wearable/20170612.050106 submit/tizen_3.0/20170609.043109
Hyunho Kang [Thu, 25 May 2017 10:36:43 +0000 (19:36 +0900)]
Add buffer changed event filter

Some watcher application like task-manager want to receive only file
type update event. Using these APIs developer can filter update event.

- screen_connector_watcher_set_changed_event_filter
- screen_connector_watcher_evas_set_changed_event_filter

Change-Id: I773f6817d3ab6c2ac58941b1948940daaed90976
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoReplace wl_display_roundtrip with wl_display_roundtrip_queue 83/132583/6
Hyunho Kang [Wed, 7 Jun 2017 04:33:54 +0000 (13:33 +0900)]
Replace wl_display_roundtrip with wl_display_roundtrip_queue

wl_display_roundtrip API depend on ecore main loop.
To support multi-thread senario we should use wl_display_roundtrip_queue

Change-Id: I35e1e141f9a2304e94dba479f2b2352ec3896c06
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoAdd object visible check API 73/132273/2
Hyunho Kang [Wed, 31 May 2017 10:26:00 +0000 (19:26 +0900)]
Add object visible check API

- screen_connector_toolkit_evas_is_visible

Change-Id: Id8010fa0507770ea85135fcf3597032f36ca0734
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
(cherry picked from commit 5616860841370bdd65cdc322ebf735199073f751)

7 years agoAdd object visible check API 70/131970/5
Hyunho Kang [Wed, 31 May 2017 10:26:00 +0000 (19:26 +0900)]
Add object visible check API

- screen_connector_toolkit_evas_is_visible

Change-Id: Id8010fa0507770ea85135fcf3597032f36ca0734
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoRevert "Add buffer changed event filter" 37/132037/2
Hyunho Kang [Thu, 1 Jun 2017 00:56:38 +0000 (00:56 +0000)]
Revert "Add buffer changed event filter"

This reverts commit e8a3bca0355fc7bc735876529aebcb55cab78839.

Change-Id: I16e93b0a732792aafbc40fcdb1efbeac63241cc4

7 years agoMove unversioned so file to devel package 11/131211/1
Hyunho Kang [Fri, 26 May 2017 01:58:50 +0000 (10:58 +0900)]
Move unversioned so file to devel package

Unversioned so file is not needed at runtime. It is only used
at build time.

Change-Id: I9577e22b392145460c5cb36e4a155d5563561134
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoAdd buffer changed event filter 98/131098/4
Hyunho Kang [Thu, 25 May 2017 10:36:43 +0000 (19:36 +0900)]
Add buffer changed event filter

Some watcher application like task-manager want to receive only file
type update event. Using these APIs developer can filter update event.

- screen_connector_watcher_set_changed_event_filter
- screen_connector_watcher_evas_set_changed_event_filter

Change-Id: I773f6817d3ab6c2ac58941b1948940daaed90976
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoRelease version 1.2.3 41/130041/1 accepted/tizen/unified/20170519.195908 submit/tizen/20170519.015707 tizen_4.0.m1_release
Junghoon Park [Fri, 19 May 2017 02:14:42 +0000 (11:14 +0900)]
Release version 1.2.3

Changes:
- Add APIs for binding and unbinding window

Change-Id: If2734a40b1a13768e2020343a1a95623348c737b
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
7 years agoAdd APIs for binding and unbinding window 78/128678/4
Junghoon Park [Thu, 11 May 2017 05:09:39 +0000 (14:09 +0900)]
Add APIs for binding and unbinding window

Change-Id: I0ae4e1aaff04896400047ed9867fd5c75f823cb6
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
7 years agoRelease version 1.2.2 70/129870/1 accepted/tizen/unified/20170518.185650 submit/tizen/20170518.082320
Junghoon Park [Thu, 18 May 2017 08:14:45 +0000 (17:14 +0900)]
Release version 1.2.2

Changes:
 - Add APIs to control visibility

Change-Id: I4d335bf69a6087c8170492801b0209881e82e7d8
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
7 years agoAdd APIs to control visibility 29/129629/1 accepted/tizen/3.0/common/20170524.125804 accepted/tizen/3.0/ivi/20170523.234927 accepted/tizen/3.0/mobile/20170523.234915 accepted/tizen/3.0/tv/20170523.234919 accepted/tizen/3.0/wearable/20170523.234923 submit/tizen_3.0/20170519.072211
Junghoon Park [Tue, 16 May 2017 02:18:24 +0000 (11:18 +0900)]
Add APIs to control visibility

Change-Id: I901d56fce6ab6703f865388fd361157b374f82d6
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
(cherry picked from commit fcefc9d15e719d27fcc34919d2fd2eca079259fc)

7 years agoAdd APIs to control visibility 72/129272/1
Junghoon Park [Tue, 16 May 2017 02:18:24 +0000 (11:18 +0900)]
Add APIs to control visibility

Change-Id: I901d56fce6ab6703f865388fd361157b374f82d6
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
7 years agoRelease version 1.2.1 72/128872/1 accepted/tizen/unified/20170512.023907 submit/tizen/20170512.014117
Hyunho Kang [Fri, 12 May 2017 01:36:56 +0000 (10:36 +0900)]
Release version 1.2.1

Changes:
    - Delay resuming time
    - Add mouse in/out handling logic

Change-Id: Ib12d1df12113aee95136c485a4bc3167c655d4c2
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoAdd mouse in/out handling logic 67/128867/1
Hyunho Kang [Fri, 12 May 2017 00:57:35 +0000 (09:57 +0900)]
Add mouse in/out handling logic

Change-Id: I4b87825c3bfb29851b1a12430c26da22245b2159
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoDelay resuming time 12/127212/1 accepted/tizen/3.0/common/20170515.150333 accepted/tizen/3.0/ivi/20170515.064305 accepted/tizen/3.0/mobile/20170515.064257 accepted/tizen/3.0/tv/20170515.064301 accepted/tizen/3.0/wearable/20170515.064308 submit/tizen_3.0/20170515.034408
Junghoon Park [Wed, 26 Apr 2017 05:08:33 +0000 (14:08 +0900)]
Delay resuming time

- This patch allows some widgets to postpone getting resuming callback
- If widgets change the visibility repeatedly, the performance will
  not be good
- Added API will help to adjust the delayed resuming time
- By default, the delayed resuming time is 0

Change-Id: I87edb61a7706bd0abf28fe63c9289c56635d64e5
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
(cherry picked from commit acf380a217578c085f28fa13b10f8cba00f5ae53)

7 years agoDelay resuming time 59/127059/1
Junghoon Park [Wed, 26 Apr 2017 05:08:33 +0000 (14:08 +0900)]
Delay resuming time

- This patch allows some widgets to postpone getting resuming callback
- If widgets change the visibility repeatedly, the performance will
  not be good
- Added API will help to adjust the delayed resuming time
- By default, the delayed resuming time is 0

Change-Id: I87edb61a7706bd0abf28fe63c9289c56635d64e5
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
7 years agoFix toolkit_table destroy bug 42/126342/2 accepted/tizen/3.0/common/20170510.183010 accepted/tizen/3.0/ivi/20170509.223121 accepted/tizen/3.0/mobile/20170509.223110 accepted/tizen/3.0/tv/20170509.223113 accepted/tizen/3.0/wearable/20170509.223118 submit/tizen_3.0-common/20170510.074450 submit/tizen_3.0/20170421.074611 submit/tizen_3.0_common/20170510.075013
Hyunho Kang [Wed, 19 Apr 2017 05:05:53 +0000 (14:05 +0900)]
Fix toolkit_table destroy bug

screen_connector_toolkit_evas_fini is called remote surface is destroyed
but screen_connector_toolkit_evas_h will not freed, so callback which have
a screen_connector_toolkit_evas_h as a user data like __rs_cb_mouse_move
callback could cause crash when they try to send event through already
destroyed remote surface

Change-Id: Ifda77fa1cb0244186179c7ffe2dc77b536593586
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
(cherry picked from commit e5b91194895ffb1bb3b1b32a77c14dbb42963c64)

7 years agoAdd bind surface APIs 43/126343/1
Hyunho Kang [Tue, 18 Apr 2017 11:24:13 +0000 (20:24 +0900)]
Add bind surface APIs

- screen_connector_toolkit_add_with_surface
- screen_connector_toolkit_evas_add_with_win

Change-Id: I375e74a3a6b26da81befff3109987fc9b9a32234
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
(cherry picked from commit e4674c573afede712f7f0b92afefaae90dd46e73)

7 years agoRelease version 1.2.0 38/126338/1 accepted/tizen/unified/20170421.114316 submit/tizen/20170421.005321
Hyunho Kang [Fri, 21 Apr 2017 04:37:18 +0000 (13:37 +0900)]
Release version 1.2.0

Changes:
 - Add bind surface APIs
 - Fix toolkit_table destroy bug

Change-Id: I73000c68ff3fe95acee3ae3953961fdea252c47d
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoAdd bind surface APIs 92/125692/8
Hyunho Kang [Tue, 18 Apr 2017 11:24:13 +0000 (20:24 +0900)]
Add bind surface APIs

- screen_connector_toolkit_add_with_surface
- screen_connector_toolkit_evas_add_with_win

Change-Id: I375e74a3a6b26da81befff3109987fc9b9a32234
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoFix toolkit_table destroy bug 32/125832/5
Hyunho Kang [Wed, 19 Apr 2017 05:05:53 +0000 (14:05 +0900)]
Fix toolkit_table destroy bug

screen_connector_toolkit_evas_fini is called remote surface is destroyed
but screen_connector_toolkit_evas_h will not freed, so callback which have
a screen_connector_toolkit_evas_h as a user data like __rs_cb_mouse_move
callback could cause crash when they try to send event through already
destroyed remote surface

Change-Id: Ifda77fa1cb0244186179c7ffe2dc77b536593586
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoRelease version 1.1.10 64/125164/1 accepted/tizen/unified/20170414.163914 submit/tizen/20170414.043651
Hwankyu Jhun [Fri, 14 Apr 2017 04:44:25 +0000 (13:44 +0900)]
Release version 1.1.10

Changes:
 - Fix the exception handling about creating type handle
 - Make widget work
 - Fix memory leak
 - Fix memory leak

Change-Id: If1bfff9f1dde953a24ca1e3dfe5e670415a6f560
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix the exception handling about creating type handle 79/124879/2
Hwankyu Jhun [Thu, 13 Apr 2017 01:46:26 +0000 (10:46 +0900)]
Fix the exception handling about creating type handle

Change-Id: I5daaa5a488909929d77c1ece677d4dc40667bbbd
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoMake widget work. 39/124839/1
Shinwoo Kim [Wed, 12 Apr 2017 11:39:40 +0000 (20:39 +0900)]
Make widget work.

The data of '___PLUGID' key is used on accessibility environment.
A widget process window such as 'Alarm Widget' on wearable is using same data.
Becase the widget process could make more than one  window, the data should be
the instance ID, NOT the application ID to separate thoes windows.

Change-Id: I2ee38bc57128b4c6497111b1628183512ed9e0f2

7 years agoMake widget work. 24/124824/1 accepted/tizen/3.0/common/20170508.153038 accepted/tizen/3.0/ivi/20170508.045859 accepted/tizen/3.0/mobile/20170508.045759 accepted/tizen/3.0/tv/20170508.045802 accepted/tizen/3.0/wearable/20170508.045852 submit/tizen_3.0-common/20170508.080135 submit/tizen_3.0-common/20170508.081301 submit/tizen_3.0-common/20170508.091535 submit/tizen_3.0/20170413.012024 submit/tizen_3.0_common/20170508.091735
Shinwoo Kim [Wed, 12 Apr 2017 11:39:40 +0000 (20:39 +0900)]
Make widget work.

The data of '___PLUGID' key is used on accessibility environment.
A widget process window such as 'Alarm Widget' on wearable is using same data.
Becase the widget process could make more than one  window, the data should be
the instance ID, NOT the application ID to separate thoes windows.

Change-Id: I2ee38bc57128b4c6497111b1628183512ed9e0f2

7 years agoFix memory leak 33/122533/2 accepted/tizen/3.0/common/20170406.142248 accepted/tizen/3.0/ivi/20170406.041536 accepted/tizen/3.0/mobile/20170406.041341 accepted/tizen/3.0/tv/20170406.041450 accepted/tizen/3.0/wearable/20170406.041510 submit/tizen_3.0/20170403.015747 submit/tizen_3.0/20170405.011715
Hyunho Kang [Mon, 3 Apr 2017 01:27:59 +0000 (10:27 +0900)]
Fix memory leak

Change-Id: Ie3ff7bcbb7340b1e6336e19ad5b2e1ab667dda0e
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
(cherry picked from commit 0b07eb5a3e067f73857aae585ac369433ad8e1fa)

7 years agoFix memory leak 32/122532/1
seungha.son [Mon, 3 Apr 2017 00:39:45 +0000 (09:39 +0900)]
Fix memory leak

Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: I81669725500ecf915feca52bbb303aa8cb55bea1
(cherry picked from commit 7dc3034997783c336c8fcaab761d4cfffa93a0e9)

7 years agoFix memory leak 10/122510/3
Hyunho Kang [Mon, 3 Apr 2017 01:27:59 +0000 (10:27 +0900)]
Fix memory leak

Change-Id: Ie3ff7bcbb7340b1e6336e19ad5b2e1ab667dda0e
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoFix memory leak 08/122508/1
seungha.son [Mon, 3 Apr 2017 00:39:45 +0000 (09:39 +0900)]
Fix memory leak

Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: I81669725500ecf915feca52bbb303aa8cb55bea1

7 years agoAdd tbm buffer destroy logic 14/122114/2 accepted/tizen/3.0/common/20170331.152145 accepted/tizen/3.0/ivi/20170331.101605 accepted/tizen/3.0/mobile/20170331.101443 accepted/tizen/3.0/tv/20170331.101510 accepted/tizen/3.0/wearable/20170331.101538 submit/tizen_3.0/20170330.081512
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>
(cherry picked from commit 2d09ccf2a1b73ef116d700b1de5a0dbcbc901a89)

7 years agoFix destroy handle bug 13/122113/1
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>
(cherry picked from commit 505fb90a88d192f7a2311c49fc3693a4c2e82415)

7 years agoRelease version 1.1.9 50/120950/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170330.152100 accepted/tizen/ivi/20170330.224314 accepted/tizen/mobile/20170330.224054 accepted/tizen/tv/20170330.224145 accepted/tizen/unified/20170330.224357 accepted/tizen/wearable/20170330.224237 submit/tizen/20170330.090650
Hyunho Kang [Mon, 27 Mar 2017 01:47:15 +0000 (10:47 +0900)]
Release version 1.1.9

Changes:
 - Fix callback disapeared bug

Change-Id: I5c32d7f66a42e90a08f5b5c5cb21a6d372c8eb65
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoFix callback disapeared bug 89/120989/1 submit/tizen_3.0/20170330.025246
Hyunho Kang [Fri, 24 Mar 2017 08:39:29 +0000 (17:39 +0900)]
Fix callback disapeared bug

For locally declared callback function,
screen_connector_toolkit_add should copy and store callback functions.

Change-Id: I14ac550d5f062e03315046bedd0b69649972255f
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoFix callback disapeared bug 13/120813/4
Hyunho Kang [Fri, 24 Mar 2017 08:39:29 +0000 (17:39 +0900)]
Fix callback disapeared bug

For locally declared callback function,
screen_connector_toolkit_add should copy and store callback functions.

Change-Id: I14ac550d5f062e03315046bedd0b69649972255f
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
7 years agoRefactor screen-connector 23/120623/3
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>
(cherry picked from commit dde5ccecdbb88c1dfc7b344872b8811a2b007347)

7 years agoRelease version 1.1.8 57/120457/1 accepted/tizen/common/20170323.154511 accepted/tizen/ivi/20170323.085440 accepted/tizen/mobile/20170323.085339 accepted/tizen/tv/20170323.085357 accepted/tizen/unified/20170323.085448 accepted/tizen/wearable/20170323.085417 submit/tizen/20170323.064034
Hyunho Kang [Thu, 23 Mar 2017 04:50:01 +0000 (13:50 +0900)]
Release version 1.1.8

Changes:
 - Set license using %license
 - Add tbm buffer destroy logic

Change-Id: Idf1200bdd93101865171ec938d3b372f8c56ac65
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
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 agoRemove handle from watcher list when watcher destroyed 24/117924/1 accepted/tizen/3.0/common/20170316.121716 accepted/tizen/3.0/ivi/20170316.083343 accepted/tizen/3.0/mobile/20170316.083306 accepted/tizen/3.0/tv/20170316.083324 accepted/tizen/3.0/wearable/20170316.083332 submit/tizen_3.0/20170308.052548 submit/tizen_3.0/20170316.021307
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>
(cherry picked from commit de30a1b347eeb91c75de828647f65f6b7b89bd45)

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 15/116615/1 accepted/tizen/3.0/common/20170228.061409 accepted/tizen/3.0/ivi/20170228.001447 accepted/tizen/3.0/mobile/20170228.001152 accepted/tizen/3.0/tv/20170228.001256 accepted/tizen/3.0/wearable/20170228.001357 submit/tizen_3.0/20170227.084431
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 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>