aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-06-04Add new files manages error messageKazumasa Mitsunari3-0/+75
Change-Id: I255e4a8df74b0b1b766441952a146daffd3fddee Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-06-01Add subscribe function in app.cpp to control from main.cppKazumasa Mitsunari2-23/+53
Change-Id: I69ef05d99dffcdbc7ffccb019821011c5bef9d46 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-06-01subscribe error event for appKazumasa Mitsunari1-0/+2
Change-Id: Ifdb55848f9039b411a9f514ef976866c8e160a54 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-06-01Modify subscribeKazumasa Mitsunari1-0/+9
Change-Id: I383a89db82e7a3cdfb95ae4128de05c64ae8adf3 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-06-01Change wmClientContextKazumasa Mitsunari1-3/+5
Change-Id: I1fca8d68a20e2bb6a6efc6d70b4ec9a762d523c9 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-05-31Add subscribe for clientKazumasa Mitsunari2-10/+55
Change-Id: I9708c81275e783e4739469d069071fac11549554 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-05-31Add get function to wm-clientKazumasa Mitsunari2-0/+14
Change-Id: I4880cfc48148e0055029d4b902b445e79f9c422c Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-05-31Reserve the processKazumasa Mitsunari1-0/+6
Change-Id: I04d412cfd255306357b5b2ff0fc73b09c669b2ce Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-05-31Rename windowmanager-clientKazumasa Mitsunari6-5/+5
Change-Id: I601f0b542d530b1b72198b56b8bd98322836e469 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-05-31Remove client when the app is terminatedKazumasa Mitsunari1-0/+1
Change-Id: I06f5ef9f7cac0d73fa40980faa9ec0c0583fc41b Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-05-31Modify appKazumasa Mitsunari2-23/+9
* 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>
2018-05-31Add new function to applistKazumasa Mitsunari2-2/+24
Change-Id: Ife3642fc60f7c25aeae83b1f2aad0d362cdbe6cd Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-05-31Add new functions to windowmanager-clientKazumasa Mitsunari2-22/+71
Change-Id: Ib4d69d903469ed5f1a3d39553098f6995f593c59 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-05-30Format source codesKazumasa Mitsunari21-1719/+2023
Change-Id: I28e99487b814b23fe99aa6bc8ec4538af3940acf Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-05-29Set timeout as 10secKazumasa Mitsunari1-1/+1
It is because very heavy application takes more than 1 sec Change-Id: Ia56d6a8d2fd0316d70ab76f53ab4b4f5941d5562 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-05-29Set timer accuracy 1Kazumasa Mitsunari1-1/+1
Change-Id: Ia67546ec68263aa2785e83493e4935dc82feda95 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-05-29Bug Fix: lookup surfaceID with appid not roleKazumasa Mitsunari1-2/+5
Change-Id: I71c9afe697b9c5516c5645671557c0fe92dfeff6 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-05-29Move release sequence to lm_releaseKazumasa Mitsunari1-96/+111
TODO: lm_reease fails Change-Id: I084c4ff7b9302d0f613c1601c0a4798502f8cb07 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-05-29Stop timer when endDraw finishedKazumasa Mitsunari1-3/+7
Change-Id: I817dc5147e92ca463bc20c7bb54006315e4f217c Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-05-29pull out layout manager taskKazumasa Mitsunari2-25/+71
Change-Id: I2c256dc2095607a31306786964421442fba4ae4b Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-05-29Expand WMActionKazumasa Mitsunari3-19/+37
Change-Id: Ib23678aa0c10724ce722acf76ada870668052c13 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-05-29pull out request from applistKazumasa Mitsunari3-34/+64
Change-Id: Iea9270d9e8c0d358a0f964048167bba5d8000829 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-05-29move layout manager task in do_allocate_resourceKazumasa Mitsunari1-28/+37
Change-Id: I007f5150326a3e0a39afaf2d9c919c235b4aa9a8 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-05-29Add request for deactivate surfaceKazumasa Mitsunari1-3/+41
Change-Id: Ia19de946314a25fc5c71400add67c77de04d7c9d Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-05-29Add stop_timer and revert the function nameKazumasa Mitsunari2-6/+16
Change-Id: Ieb62cee04aab67f2c1d1649b91937de8c59c20d5 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-05-29Modify the private function nameKazumasa Mitsunari2-3/+3
Change-Id: If3a9a7f90191950900e4b220a911dd4f0fb14ea1 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-05-29Bug Fix: Checking WM contains apps converselyKazumasa Mitsunari1-1/+1
Change-Id: I9defe0ac4341b55a493793564d4294d50d35dc43 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-05-28Dump client infomation when client is addedKazumasa Mitsunari1-0/+1
Change-Id: Ie66f2ca25b3cca4dcba5d964e8df2afeba3e13c5 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-05-25modify testKazumasa Mitsunari1-1/+11
Change-Id: I2423843bfbfc0f0a88791298e9a0caeb655cf10c Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-05-25Rework: Block the sequenceKazumasa Mitsunari5-133/+203
Todo: * emit error event ** decide error format * rework release WR Change-Id: Id96fa629aff984aa03ed68f1d3db711bb43ba77b Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-05-25Add unit testKazumasa Mitsunari8-0/+218
Change-Id: Idb7c75c3c9d9b575cee75dc487fe6a7c0548b6ec Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-05-25[Local]:5th step for blocking sequenceKazumasa Mitsunari7-98/+216
Change-Id: Ic47c59a77d3b45f62bed8ee2617dddc4ed58afbe Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-05-21[Local]: Lock Sequence from activateSurface to flushDrawKazumasa Mitsunari9-989/+1275
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-05-18[Local]:4th step for blocking sequenceKazumasa Mitsunari8-73/+147
Change-Id: If4f01a177f4947780d448aaa214f863af2124b0f Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-05-17[Local]:3rd step for blocking sequenceKazumasa Mitsunari3-48/+150
Change-Id: Ieef89545fa6f6ec1704b9c4b51f92dd5d624aff1 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-05-17Add new macros to output sequence numberKazumasa Mitsunari1-0/+28
Change-Id: Ifc8c19ebbda2084f004a28ae14963673251cf5ad Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-05-15[Local]:2nd step for blocking sequenceKazumasa Mitsunari4-6/+124
Change-Id: I267b9cdbc4a95b80a0b6cada688ed251e3093611 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-05-14[Local]:1st step for blocking sequenceKazumasa Mitsunari8-4/+162
* 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>
2018-05-14Set LOA level for some verbsKazumasa Mitsunari1-4/+4
Window Manager client needs to get authority to call some verbs. Change-Id: I48fe9922b35c6b1e6f59d68f1966d7f5a2c75beb Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-03-20Update documentKazumasa Mitsunari1-101/+67
* 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>
2018-03-19Change reply timingKazumasa Mitsunari3-49/+59
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>
2018-03-19Send visible event after commit changeKazumasa Mitsunari1-1/+1
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>
2018-03-09Enable fallback, then display applicationsflounder_5.99.1flounder/5.99.15.99.1Kazumasa Mitsunari3-5/+18
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>
2018-02-09Add APIs which can get information about the display and the surface areaYuta Doi6-22/+280
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>
2018-01-24Change the protocol from ivi-controller to ivi-wmYuta Doi14-1582/+1340
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>
2018-01-11Fix screen flickerKazumasa Mitsunari1-2/+0
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>
2017-12-27Merge "Fix build error in gcc 7.2"Jan-Simon Moeller1-1/+0
2017-12-25Enable an application re-launchKazumasa Mitsunari2-1/+56
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>
2017-12-22Fix build error in gcc 7.2Changhyeok Bae1-1/+0
error "Never include <bits/signum.h> directly; use <signal.h> instead." Bug-AGL: SPEC-1181 Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
2017-12-22Enable to show Video and WebBrowserTadao Tanikawa2-1/+3
Adding new applications (Video player and Web browser) to be managed by window manager properly. Releated introducing Video player, old name, 'MediaPlayer' for apps/mediaplayer has been renamed 'Music'. Old name,'MediaPlayer' keeps alive in layers.json for backward compatibility. Change-Id: I2b5e267f4015a4ed128ff5b55ba709faf1914b61 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>