platform/core/appfw/screen-connector.git
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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 agoFix screen_connector_watcher_remove API bug 82/115282/1 accepted/tizen/3.0/common/20170220.125929 accepted/tizen/3.0/ivi/20170220.064759 accepted/tizen/3.0/mobile/20170220.064712 accepted/tizen/3.0/tv/20170220.064732 accepted/tizen/3.0/wearable/20170220.064746 submit/tizen_3.0/20170217.075150
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>
(cherry picked from commit 53c7ae3a7c9570341c5b22f0b65fa572422eeac4)

7 years agoApply tizen remote surface v4, add event filter 32/114532/1 accepted/tizen/3.0/common/20170214.180934 accepted/tizen/3.0/ivi/20170214.092212 accepted/tizen/3.0/mobile/20170214.091935 accepted/tizen/3.0/tv/20170214.092005 accepted/tizen/3.0/wearable/20170214.092050 submit/tizen_3.0/20170214.043331
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: Ifd065fd2bc9ee467cdcbd7e30131a5a22ab15254
Signed-off-by: Daehyeon Jung <darrenh.jung@samsung.com>
7 years agoFix screen_connector_watcher_evas_add_by_rid bug 89/114289/1 submit/tizen_3.0/20170213.011824
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>
(cherry picked from commit 7dcac60b2b98387af463681e012998be9278ef64)

7 years agoAdd error return logic to watcher_evas_get_pid 87/114287/2
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>
(cherry picked from commit 29c85c12a9d6c42860fe64abf485c5beb67b6cdc)

7 years agoFix memory leaks 86/114286/2
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>
(cherry picked from commit e262f6dbb8bb12f2a537b620a9e90a0929f833b5)

7 years agoAdd an exception handling 85/114285/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>
(cherry picked from commit d88dd0de0d418c42ed4465a2c76de2cef677401b)

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