apps/agl-service-windowmanager.git
6 years agoRemove unnecessary new line
Kazumasa Mitsunari [Tue, 19 Jun 2018 04:27:56 +0000 (13:27 +0900)]
Remove unnecessary new line

Change-Id: If0fe0250fba8e7ec2e24cdb94b850500be8b0804
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoBug Fix : Change state when application is terminated
Kazumasa Mitsunari [Tue, 19 Jun 2018 02:41:07 +0000 (11:41 +0900)]
Bug Fix : Change state when application is terminated

When app is dead, Window Maanger has to change the state,
otherwise access violation happens

Change-Id: I3a5a7571c47cfd60751a91ba39c8c650944aa45c
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoUnify the name of request number to req_num
Kazumasa Mitsunari [Tue, 19 Jun 2018 02:40:15 +0000 (11:40 +0900)]
Unify the name of request number to req_num

Change-Id: I37eee15fd220556482cc9ad2a15b656d044cf8c9
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoTest on layers.json.split
Kazumasa Mitsunari [Tue, 19 Jun 2018 02:37:17 +0000 (11:37 +0900)]
Test on layers.json.split

Change-Id: I2d6303b82a7fa5fdbd1a1b8b28a1b276c52e0fd6
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoShow debug message when surface is removed
Kazumasa Mitsunari [Tue, 19 Jun 2018 02:36:50 +0000 (11:36 +0900)]
Show debug message when surface is removed

Change-Id: Icffbc5e1193486f7fa9825738bbc1b3798fdbc18
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoModify the description
Kazumasa Mitsunari [Tue, 19 Jun 2018 01:26:46 +0000 (10:26 +0900)]
Modify the description

Change-Id: I99a0485189580fb3df0519c5ce7308c88f85fd31
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoMerge branch 'sandbox/knimitz/lock_mv_transition_endD' into sandbox/knimitz/lock
Kazumasa Mitsunari [Mon, 18 Jun 2018 11:39:41 +0000 (20:39 +0900)]
Merge branch 'sandbox/knimitz/lock_mv_transition_endD' into sandbox/knimitz/lock

6 years agoBug Fix : sub surface is not rendered
Kazumasa Mitsunari [Mon, 18 Jun 2018 11:36:22 +0000 (20:36 +0900)]
Bug Fix : sub surface is not rendered

When transition from HomeScreen to splitted HVAC,
HVAC was still half.
Fix the bug

Change-Id: I0237b72cfe687814ec2944073a36f964084cd466
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoChange size of area
Kazumasa Mitsunari [Mon, 18 Jun 2018 11:31:14 +0000 (20:31 +0900)]
Change size of area

+1 because if the size described in layers.json is negative number,
subscribe it from ouput_size

Change-Id: I0753910b12ab18836cf97d290904e285862a5a6c
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoShow debug message when incorrect role
Kazumasa Mitsunari [Mon, 18 Jun 2018 04:40:35 +0000 (13:40 +0900)]
Show debug message when incorrect role

Change-Id: I5be6985da78314d293f8ccde2dd61ea2f3664e1c
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoBug Fix : Show split
Kazumasa Mitsunari [Mon, 18 Jun 2018 04:39:47 +0000 (13:39 +0900)]
Bug Fix : Show split

TODO:
Couldn't return to Home when tap shortcut key

Change-Id: I53399452b82c838fd034ef1c7eece1deecaa2701
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoChange debug level of getAppID from surface
Kazumasa Mitsunari [Mon, 18 Jun 2018 02:48:45 +0000 (11:48 +0900)]
Change debug level of getAppID from surface

Change-Id: Icc6eed7215bfc1ac610d063268dd75f53dd8aecd
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoFix debug message
Kazumasa Mitsunari [Mon, 18 Jun 2018 02:43:58 +0000 (11:43 +0900)]
Fix debug message

Change-Id: I4b71e4de48df269f3a5b08b07ad53768fe26960e
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoBug Fix 1 : Enable split.sub invisible when tap shortcut key
Kazumasa Mitsunari [Mon, 18 Jun 2018 02:34:16 +0000 (11:34 +0900)]
Bug Fix 1 : Enable split.sub invisible when tap shortcut key

split.sub surface is not invisible when other shortcut key is tapped

Change-Id: I8c9887865d73a516e076676d5ef52ae9ab1e5da2
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoDump visible task
Kazumasa Mitsunari [Mon, 18 Jun 2018 00:59:59 +0000 (09:59 +0900)]
Dump visible task

It is useful to dump visible task for debug

Change-Id: Ie736e50e1047c6b05d42d45fd32bbeedf0247b6e
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoFix : debug message is wrong
Kazumasa Mitsunari [Mon, 18 Jun 2018 00:50:56 +0000 (09:50 +0900)]
Fix : debug message is wrong

Change-Id: I7936d13c96a791fa8b17f1f78c4074c7a3483ce3
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoAdd debug message
Kazumasa Mitsunari [Mon, 18 Jun 2018 00:44:57 +0000 (09:44 +0900)]
Add debug message

To notice the request area is changed, add debug message

Change-Id: I89c7a8bdf73dd88f50eef07f0e094c55123b9d70
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoUse instead enum of bool visible
Kazumasa Mitsunari [Mon, 18 Jun 2018 00:16:23 +0000 (09:16 +0900)]
Use instead enum of bool visible

To improve readability, use enum TaskVisible instead of visible

Change-Id: I40f15635a62177443e32725fe90a4d6d3f253f8a
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoAdd changeCurrentStatus function
Kazumasa Mitsunari [Sun, 17 Jun 2018 14:09:09 +0000 (23:09 +0900)]
Add changeCurrentStatus function

To set state in endDraw, Add change status function

Change-Id: I547e382d108ce11371bbb07325fcefe97215775c
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoEnable to get area size from area name
Kazumasa Mitsunari [Sun, 17 Jun 2018 09:23:32 +0000 (18:23 +0900)]
Enable to get area size from area name

Change-Id: I79b45c5abd4d0ef9bf74d03fb99536108ea3ea40
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoRemove comment out
Kazumasa Mitsunari [Sun, 17 Jun 2018 07:34:43 +0000 (16:34 +0900)]
Remove comment out

Change-Id: I4f707b7c8095e298c610ecb5ba74ae77636dd98c
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoRemove try_layout
Kazumasa Mitsunari [Fri, 15 Jun 2018 11:23:52 +0000 (20:23 +0900)]
Remove try_layout

Unnecessary function

Change-Id: If72bba2805f556af0dd442a03e8bb1ec206e14fd
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoSet deactivate task
Kazumasa Mitsunari [Fri, 15 Jun 2018 11:14:18 +0000 (20:14 +0900)]
Set deactivate task

But doesn't set deactivateSurface pattern

Change-Id: I052a54c9d58b224619a182e2815567811d12b3c5
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoCompile success
Kazumasa Mitsunari [Fri, 15 Jun 2018 08:11:44 +0000 (17:11 +0900)]
Compile success

Change-Id: I950ec6359e95c76eaed6894d489c58ad0d2cde25
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoOn the way to move process to endDraw
Kazumasa Mitsunari [Thu, 14 Jun 2018 23:30:01 +0000 (08:30 +0900)]
On the way to move process to endDraw

Change-Id: I728afc6d2b1c93ee676fa2990e060c911edf8296
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoAdd description to the applist
Kazumasa Mitsunari [Thu, 14 Jun 2018 00:40:31 +0000 (09:40 +0900)]
Add description to the applist

Change-Id: I9742f87211128bba83fecc317b949df601ef0fc5
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoUse camel case
Kazumasa Mitsunari [Wed, 13 Jun 2018 13:00:58 +0000 (22:00 +0900)]
Use camel case

Change-Id: I4f4e714d2aeea4b7cca95495293aab88b97fc2ca
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoAdd set_request
Kazumasa Mitsunari [Wed, 13 Jun 2018 12:53:15 +0000 (21:53 +0900)]
Add set_request

Change-Id: Ieb0ac4e8f71c698782effab8e2fe13f30fa381ac
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoactivate/deactivate surface only set transtion state
Kazumasa Mitsunari [Wed, 13 Jun 2018 12:25:32 +0000 (21:25 +0900)]
activate/deactivate surface only set transtion state

Change-Id: If16e9ff1c584ee609aaac7db22400db92c1a6a93
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoAdd new error enumulation
Kazumasa Mitsunari [Wed, 13 Jun 2018 12:25:01 +0000 (21:25 +0900)]
Add new error enumulation

Change-Id: I8a034f1be014be2fa980d3c84ec96db1ef703350
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoAdd getAppID
Kazumasa Mitsunari [Wed, 13 Jun 2018 10:22:34 +0000 (19:22 +0900)]
Add getAppID

Change-Id: I88b20106ea40067b99e6aefed9bcd4187b9664b6
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoBug Fix : role in WMClientContext is not set
Kazumasa Mitsunari [Wed, 13 Jun 2018 04:19:23 +0000 (13:19 +0900)]
Bug Fix : role in WMClientContext is not set

Change-Id: I7c61195ce63c2c868db80145cbe8afdbb7627eac
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoA
Kazumasa Mitsunari [Wed, 13 Jun 2018 03:06:30 +0000 (12:06 +0900)]
A

Change-Id: I097b1ba466962b17c3e9083b54ef2df006505900
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoAdd description
Kazumasa Mitsunari [Wed, 13 Jun 2018 02:41:05 +0000 (11:41 +0900)]
Add description

Change-Id: I48162088e865aa4ade9e7ca09c0ea01e43addea1
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoReserve the size for container
Kazumasa Mitsunari [Wed, 13 Jun 2018 00:36:58 +0000 (09:36 +0900)]
Reserve the size for container

Change-Id: I6b7cbd5e450273695055e11ec4bdc6e6caeba7de
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoAdd mutex lock
Kazumasa Mitsunari [Wed, 13 Jun 2018 00:26:17 +0000 (09:26 +0900)]
Add mutex lock

Change-Id: Id7449b8ccbad67a958efd3dccf7c5d4a0dd41d97
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoChange function according to 1476fb
Kazumasa Mitsunari [Sun, 10 Jun 2018 14:48:46 +0000 (23:48 +0900)]
Change function according to 1476fb

Change-Id: I372040dded0fd38139b3d8b2ebd0d8988d12e8f1
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoChange API in applist
Kazumasa Mitsunari [Sun, 10 Jun 2018 14:46:49 +0000 (23:46 +0900)]
Change API in applist

* getActions
* getRequest

This is because these functions doesn't check the elements is in or not.
So if there is no element, second parameter bool should be used to check.

Change-Id: I0aab79d3317a15d82ca21a40a65f29a2aed07fb3
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoRename files to use "_" instead of "-"
Kazumasa Mitsunari [Sun, 10 Jun 2018 10:12:32 +0000 (19:12 +0900)]
Rename files to use "_" instead of "-"

Change-Id: I24b7be71af682946a4abde928e8bb46bf5104041
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoRename the arguments
Kazumasa Mitsunari [Fri, 8 Jun 2018 09:28:42 +0000 (18:28 +0900)]
Rename the arguments

Not use "ID"

Change-Id: Ic36f5c649ba7f36cc254b5d159940f345cb4d571
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoChange struct name wmClientCtxt to WMClientCtxt
Kazumasa Mitsunari [Fri, 8 Jun 2018 04:38:26 +0000 (13:38 +0900)]
Change struct name wmClientCtxt to WMClientCtxt

Change-Id: Iac27465a9a0d737209973d25397fd400572d872d
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoRemove unnecessary code
Kazumasa Mitsunari [Fri, 8 Jun 2018 04:20:09 +0000 (13:20 +0900)]
Remove unnecessary code

Change-Id: Ic2c6534cb2f69d5be7e64ce557e5653d38af17f8
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoMerge branch 'sandbox/knimitz/format_code' into sandbox/knimitz/lock
Kazumasa Mitsunari [Fri, 8 Jun 2018 03:49:57 +0000 (12:49 +0900)]
Merge branch 'sandbox/knimitz/format_code' into sandbox/knimitz/lock

Change-Id: Ifbd46e0156ab5baf93fbb785f4fdfda963ed2af4
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoInsert hack code
Kazumasa Mitsunari [Fri, 8 Jun 2018 02:54:01 +0000 (11:54 +0900)]
Insert hack code

drawing_name is vanished by some reason, so reallocate it for hack for split.

Change-Id: I2a36d32cb083c66722dfbc766a4704afb637b413
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoAdd const to get functions
Kazumasa Mitsunari [Thu, 7 Jun 2018 15:53:53 +0000 (00:53 +0900)]
Add const to get functions

Change-Id: Ibb6976639018f4f45132577f77d57096e2512997
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoChange names. Not use sequence number but request number
Kazumasa Mitsunari [Thu, 7 Jun 2018 15:23:01 +0000 (00:23 +0900)]
Change names. Not use sequence number but request number

 * AppList API
 * Member variable(Not use sequence)

Change-Id: Ie0d3d0394c5e050e894b11a91aab97f5bac73f00
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoInsert hack code to compatible split mode
Kazumasa Mitsunari [Thu, 7 Jun 2018 15:08:11 +0000 (00:08 +0900)]
Insert hack code to compatible split mode

Change-Id: Iaf1769493979637f62e26c4db63b5cd205b13f7b
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoFormat source code
Kazumasa Mitsunari [Thu, 7 Jun 2018 06:40:27 +0000 (15:40 +0900)]
Format source code

Fix character case for
 * wm-client
 * wm-error
 * applist

app doesn't complete formating character

Change-Id: I7187d7be8bcf158664c4e8e2b090fe4ca7017d12
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoAdopt error code and message into Window Manager
Kazumasa Mitsunari [Mon, 4 Jun 2018 08:54:11 +0000 (17:54 +0900)]
Adopt error code and message into Window Manager

Change-Id: I942cc33350436bcdb477e7a5cda4a36e502044da
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoAdd new error code and message
Kazumasa Mitsunari [Mon, 4 Jun 2018 08:53:38 +0000 (17:53 +0900)]
Add new error code and message

Change-Id: Idb9dc7856f20493356fac24a7aac7b2678f625f8
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoChange message log
Kazumasa Mitsunari [Mon, 4 Jun 2018 07:40:09 +0000 (16:40 +0900)]
Change message log

Change-Id: Ib9f1bf73f081454009417528d3d15a506ea81381
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoAdd global error event
Kazumasa Mitsunari [Mon, 4 Jun 2018 07:34:44 +0000 (16:34 +0900)]
Add global error event

Change-Id: I285437e22fd9666eac9bb645035dcf7d134eb892
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoAdd new files manages error message
Kazumasa Mitsunari [Mon, 4 Jun 2018 07:33:07 +0000 (16:33 +0900)]
Add new files manages error message

Change-Id: I255e4a8df74b0b1b766441952a146daffd3fddee
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoAdd subscribe function in app.cpp to control from main.cpp
Kazumasa Mitsunari [Thu, 31 May 2018 15:26:03 +0000 (00:26 +0900)]
Add subscribe function in app.cpp to control from main.cpp

Change-Id: I69ef05d99dffcdbc7ffccb019821011c5bef9d46
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agosubscribe error event for app
Kazumasa Mitsunari [Thu, 31 May 2018 15:24:58 +0000 (00:24 +0900)]
subscribe error event for app

Change-Id: Ifdb55848f9039b411a9f514ef976866c8e160a54
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoModify subscribe
Kazumasa Mitsunari [Thu, 31 May 2018 15:24:18 +0000 (00:24 +0900)]
Modify subscribe

Change-Id: I383a89db82e7a3cdfb95ae4128de05c64ae8adf3
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoChange wmClientContext
Kazumasa Mitsunari [Thu, 31 May 2018 15:02:22 +0000 (00:02 +0900)]
Change wmClientContext

Change-Id: I1fca8d68a20e2bb6a6efc6d70b4ec9a762d523c9
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoAdd subscribe for client
Kazumasa Mitsunari [Thu, 31 May 2018 11:13:24 +0000 (20:13 +0900)]
Add subscribe for client

Change-Id: I9708c81275e783e4739469d069071fac11549554
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoAdd get function to wm-client
Kazumasa Mitsunari [Thu, 31 May 2018 11:06:59 +0000 (20:06 +0900)]
Add get function to wm-client

Change-Id: I4880cfc48148e0055029d4b902b445e79f9c422c
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoReserve the process
Kazumasa Mitsunari [Thu, 31 May 2018 10:35:24 +0000 (19:35 +0900)]
Reserve the process

Change-Id: I04d412cfd255306357b5b2ff0fc73b09c669b2ce
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoRename windowmanager-client
Kazumasa Mitsunari [Thu, 31 May 2018 10:26:01 +0000 (19:26 +0900)]
Rename windowmanager-client

Change-Id: I601f0b542d530b1b72198b56b8bd98322836e469
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoRemove client when the app is terminated
Kazumasa Mitsunari [Thu, 31 May 2018 10:19:44 +0000 (19:19 +0900)]
Remove client when the app is terminated

Change-Id: I06f5ef9f7cac0d73fa40980faa9ec0c0583fc41b
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoModify app
Kazumasa Mitsunari [Thu, 31 May 2018 10:18:33 +0000 (19:18 +0900)]
Modify app

* remove surface from app when surface is destroyed
* add new function for removing client

Change-Id: Iefef531ce1bc4a06ee0585ee35906ade86d452dc
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoAdd new function to applist
Kazumasa Mitsunari [Thu, 31 May 2018 10:14:48 +0000 (19:14 +0900)]
Add new function to applist

Change-Id: Ife3642fc60f7c25aeae83b1f2aad0d362cdbe6cd
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoAdd new functions to windowmanager-client
Kazumasa Mitsunari [Thu, 31 May 2018 10:13:33 +0000 (19:13 +0900)]
Add new functions to windowmanager-client

Change-Id: Ib4d69d903469ed5f1a3d39553098f6995f593c59
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoFormat source codes
Kazumasa Mitsunari [Wed, 30 May 2018 10:06:32 +0000 (19:06 +0900)]
Format source codes

Change-Id: I28e99487b814b23fe99aa6bc8ec4538af3940acf
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoSet timeout as 10sec
Kazumasa Mitsunari [Tue, 29 May 2018 11:12:21 +0000 (20:12 +0900)]
Set timeout as 10sec

It is because very heavy application takes more than 1 sec

Change-Id: Ia56d6a8d2fd0316d70ab76f53ab4b4f5941d5562
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoSet timer accuracy 1
Kazumasa Mitsunari [Tue, 29 May 2018 10:49:33 +0000 (19:49 +0900)]
Set timer accuracy 1

Change-Id: Ia67546ec68263aa2785e83493e4935dc82feda95
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoBug Fix: lookup surfaceID with appid not role
Kazumasa Mitsunari [Tue, 29 May 2018 10:23:55 +0000 (19:23 +0900)]
Bug Fix: lookup surfaceID with appid not role

Change-Id: I71c9afe697b9c5516c5645671557c0fe92dfeff6
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoMove release sequence to lm_release
Kazumasa Mitsunari [Tue, 29 May 2018 09:53:10 +0000 (18:53 +0900)]
Move release sequence to lm_release

TODO:
 lm_reease fails

Change-Id: I084c4ff7b9302d0f613c1601c0a4798502f8cb07
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoStop timer when endDraw finished
Kazumasa Mitsunari [Tue, 29 May 2018 09:00:09 +0000 (18:00 +0900)]
Stop timer when endDraw finished

Change-Id: I817dc5147e92ca463bc20c7bb54006315e4f217c
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agopull out layout manager task
Kazumasa Mitsunari [Tue, 29 May 2018 08:35:53 +0000 (17:35 +0900)]
pull out layout manager task

Change-Id: I2c256dc2095607a31306786964421442fba4ae4b
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoExpand WMAction
Kazumasa Mitsunari [Tue, 29 May 2018 07:10:40 +0000 (16:10 +0900)]
Expand WMAction

Change-Id: Ib23678aa0c10724ce722acf76ada870668052c13
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agopull out request from applist
Kazumasa Mitsunari [Tue, 29 May 2018 06:47:21 +0000 (15:47 +0900)]
pull out request from applist

Change-Id: Iea9270d9e8c0d358a0f964048167bba5d8000829
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agomove layout manager task in do_allocate_resource
Kazumasa Mitsunari [Tue, 29 May 2018 06:36:29 +0000 (15:36 +0900)]
move layout manager task in do_allocate_resource

Change-Id: I007f5150326a3e0a39afaf2d9c919c235b4aa9a8
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoAdd request for deactivate surface
Kazumasa Mitsunari [Tue, 29 May 2018 00:57:59 +0000 (09:57 +0900)]
Add request for deactivate surface

Change-Id: Ia19de946314a25fc5c71400add67c77de04d7c9d
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoAdd stop_timer and revert the function name
Kazumasa Mitsunari [Tue, 29 May 2018 00:35:39 +0000 (09:35 +0900)]
Add stop_timer and revert the function name

Change-Id: Ieb62cee04aab67f2c1d1649b91937de8c59c20d5
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoModify the private function name
Kazumasa Mitsunari [Tue, 29 May 2018 00:25:43 +0000 (09:25 +0900)]
Modify the private function name

Change-Id: If3a9a7f90191950900e4b220a911dd4f0fb14ea1
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoBug Fix: Checking WM contains apps conversely
Kazumasa Mitsunari [Tue, 29 May 2018 00:14:08 +0000 (09:14 +0900)]
Bug Fix: Checking WM contains apps conversely

Change-Id: I9defe0ac4341b55a493793564d4294d50d35dc43
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoDump client infomation when client is added
Kazumasa Mitsunari [Mon, 28 May 2018 11:56:15 +0000 (20:56 +0900)]
Dump client infomation when client is added

Change-Id: Ie66f2ca25b3cca4dcba5d964e8df2afeba3e13c5
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agomodify test
Kazumasa Mitsunari [Fri, 25 May 2018 08:44:04 +0000 (17:44 +0900)]
modify test

Change-Id: I2423843bfbfc0f0a88791298e9a0caeb655cf10c
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoRework: Block the sequence
Kazumasa Mitsunari [Fri, 25 May 2018 08:12:19 +0000 (17:12 +0900)]
Rework: Block the sequence

Todo:
* emit error event
** decide error format
* rework release WR

Change-Id: Id96fa629aff984aa03ed68f1d3db711bb43ba77b
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoAdd unit test
Kazumasa Mitsunari [Fri, 25 May 2018 02:20:12 +0000 (11:20 +0900)]
Add unit test

Change-Id: Idb7c75c3c9d9b575cee75dc487fe6a7c0548b6ec
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years ago[Local]:5th step for blocking sequence
Kazumasa Mitsunari [Fri, 25 May 2018 02:17:55 +0000 (11:17 +0900)]
[Local]:5th step for blocking sequence

Change-Id: Ic47c59a77d3b45f62bed8ee2617dddc4ed58afbe
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years ago[Local]: Lock Sequence from activateSurface to flushDraw
Kazumasa Mitsunari [Sun, 20 May 2018 14:08:13 +0000 (23:08 +0900)]
[Local]: Lock Sequence from activateSurface to flushDraw

Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years ago[Local]:4th step for blocking sequence
Kazumasa Mitsunari [Fri, 18 May 2018 10:49:26 +0000 (19:49 +0900)]
[Local]:4th step for blocking sequence

Change-Id: If4f01a177f4947780d448aaa214f863af2124b0f
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years ago[Local]:3rd step for blocking sequence
Kazumasa Mitsunari [Thu, 17 May 2018 02:44:12 +0000 (11:44 +0900)]
[Local]:3rd step for blocking sequence

Change-Id: Ieef89545fa6f6ec1704b9c4b51f92dd5d624aff1
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoAdd new macros to output sequence number
Kazumasa Mitsunari [Thu, 17 May 2018 06:03:31 +0000 (15:03 +0900)]
Add new macros to output sequence number

Change-Id: Ifc8c19ebbda2084f004a28ae14963673251cf5ad
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years ago[Local]:2nd step for blocking sequence
Kazumasa Mitsunari [Tue, 15 May 2018 02:37:39 +0000 (11:37 +0900)]
[Local]:2nd step for blocking sequence

Change-Id: I267b9cdbc4a95b80a0b6cada688ed251e3093611
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years ago[Local]:1st step for blocking sequence
Kazumasa Mitsunari [Mon, 14 May 2018 01:07:58 +0000 (10:07 +0900)]
[Local]:1st step for blocking sequence

* add new class to allocate window resource
* add new class for list to hold clients information
* change API of request surface

Change-Id: Ic39fa8908163d49b429125639189dd89812f94e9
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoSet LOA level for some verbs
Kazumasa Mitsunari [Mon, 14 May 2018 00:03:32 +0000 (09:03 +0900)]
Set LOA level for some verbs

Window Manager client needs to get authority to call some verbs.

Change-Id: I48fe9922b35c6b1e6f59d68f1966d7f5a2c75beb
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoUpdate document
Kazumasa Mitsunari [Tue, 27 Feb 2018 01:35:08 +0000 (10:35 +0900)]
Update document

* Change version to 0.5
* Remove code generation. It is not used anymore
* Fix inconsistent spellings
* Add "Fallback" description
* Fix dependency package
* Add description of requestSurfaceXDG

Change-Id: I134c521b0d413780e496e9477c4901431eb72ae5
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoChange reply timing
Kazumasa Mitsunari [Mon, 19 Mar 2018 08:06:05 +0000 (17:06 +0900)]
Change reply timing

Some events were emitted in a function before it replies.

This patch changes
* The function checks parameter then reply error if it is incorrect.
* After checking parameters, the function continues to process.

The exeption is the syncronous functions such as requestSurface.

Change-Id: I168eba3e2b70d53615a4221bcbbba6bc6096c1db
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoSend visible event after commit change
Kazumasa Mitsunari [Mon, 19 Mar 2018 10:17:06 +0000 (19:17 +0900)]
Send visible event after commit change

Visible event was emitted before commit change of ivi-controller.
This patch changes the event emitted after commit change.

Bug-AGL: SPEC-1332

Change-Id: Ib8a6d3a513c1fe4a28111b2ad256122289fc5cc0
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoEnable fallback, then display applications 5.99.1 flounder/5.99.1 flounder_5.99.1
Kazumasa Mitsunari [Fri, 9 Mar 2018 04:45:36 +0000 (13:45 +0900)]
Enable fallback, then display applications

This patch enables the app to show if it is not registered in layers.json.
The original installed app was not shown because the role of app is not
registered in WM as default.

[Patch set2]
Add the same process into requestSurface for RunXDG

Bug-AGL : SPEC-1331

Change-Id: Ie99b971023a95a1924795b1ffc7311a630940b1d
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoAdd APIs which can get information about the display and the surface area
Yuta Doi [Fri, 22 Dec 2017 12:00:10 +0000 (21:00 +0900)]
Add APIs which can get information about the display and the surface area

getDisplayInfo() can get the display information as follows:
 - width[pixel]
 - height[pixel]
 - width[mm]
 - height[mm]

  NOTE:
    It uses wl_output::geometry() for getting physical width[mm] and height[mm] of the display,
    but the value is different with measured value.

    value from wl_output::geometry(): width:320 height:520
    measured value                  : width:193 height:343

getAreaInfo() can get the information of area drawn by the application as follows:
 - x-coordinate
 - y-coordinate
 - width
 - height

The details are described in doc/ApplicationGuide.md.

Bug-AGL: SPEC-1087

Change-Id: I9e6d64ff04e0845b83c69db374d06af17a6d6b66
Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
6 years agoChange the protocol from ivi-controller to ivi-wm
Yuta Doi [Thu, 11 Jan 2018 02:08:47 +0000 (11:08 +0900)]
Change the protocol from ivi-controller to ivi-wm

This patch is for master branch only.

For using wayland-ivi-extension version 2.x,
the wayland protocol in WindowManager is changed
from ivi-controller to ivi-wm.

NOTE:
If using this patch,
the modification for AGL/meta-agl
which described in SPEC-1244 is necessary.

Bug-AGL: SPEC-1244

Change-Id: I5489db202dfeec8f4626aee53bd1f86c145b95d9
Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
6 years agoFix screen flicker
Kazumasa Mitsunari [Mon, 8 Jan 2018 07:50:50 +0000 (16:50 +0900)]
Fix screen flicker

If the app is on background layer for CES hack such like Navigation,
when the user push "Home" shortcut botton quickly many times,
the app on background layer appears with flickering.
So fix the issue.

Bug-AGL: SPEC-1247

Change-Id: I777607a99914f0141886e817cb6a5e486f1105f0
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
6 years agoMerge "Fix build error in gcc 7.2"
Jan-Simon Moeller [Wed, 27 Dec 2017 20:24:20 +0000 (20:24 +0000)]
Merge "Fix build error in gcc 7.2"

6 years agoEnable an application re-launch
Kazumasa Mitsunari [Fri, 22 Dec 2017 03:28:21 +0000 (12:28 +0900)]
Enable an application re-launch

When an application dies after requestSurface,
the application can't be launched because
Window Manager doesn't know the application is dead and doesn't
clean up its database.

In other case, when Mixer app dies due to pulse audio crash
just before Window Manager handles surface memory,
the connection between weston and Window Manager is dead.

So add following
* Add context setting with window manager clients.
  Terminate the context and clean up WM database
  if a client application is dead.
* Add layout_commit() after add surfaces to layer.

[PatchSet 2]
* Add layout_commit() after add surfaces to layer
  in api_request_surface

Bug-AGL: SPEC-1086

Change-Id: I6ecae2606ac644e49a3383ba849390f8c235f187
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>