Age | Commit message (Collapse) | Author | Files | Lines |
|
warnings and package-test failure due to target
test_widget not supported by
agl-service-windowmanager cmake.
Bug-AGL: SPEC-2049
Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
Change-Id: I77c81f8e3b2e4c09a8fbd1ea0474d806d80b2cd0
|
|
The previous commit broke the normal creation
of the widget. This commit partly reverse it.
A cleaner solution should be found.
Bug-AGL: SPEC-2049
Change-Id: I9c0b6be129fe4eb453dbad4bcdbcb3f891690869
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Update autobuild script to create multiple widget target debug, coverage and all
Add config.cmake to match with cmake-app-module
Adapt CMakeLists folowing those changes
Bug-AGL: SPEC-2049
Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
Change-Id: I1e96c97df7a501a5d69f51c23b325be91af2b60d
|
|
Also fix a memory leak.
Bug-AGL: SPEC-3116
Change-Id: Id4c51770d06f8984b60b9b25f13d6dcf5616b2ad
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
|
|
Apply a heavily refactored version of the remote display changes from
the CES 2019 demo #3 source demo3/common/agl-service-windowmanager in:
https://git.automotivelinux.org/staging/new-apps
The refactoring of the extracted changes has been done with an eye to
reduce code duplication and minimize the changes to existing code.
As well, the required default policy manager changes missing in the
demo #3 tree have been added to produce a working default policy.
At present the configuration has been hard-coded to assume use of the
tbtnavi application on a Weston remoting display, but testing has
also been done with a second display on one board. The changes should
not impact operation of any other application, as only applications
with roles listed in the "Remote" layer definition can be displayed
on a configured second Weston screen.
Bug-AGL: SPEC-2914
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I29380bbbec46969b75ed4fe7e8095db772524082
|
|
Bug-AGL: SPEC-2579
Change-Id: Iee043c5b5548b903135b8f67f5ea9a29bf128b23
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
|
|
Bug-AGL: SPEC-2493
Signed-off-by: Li Xiaoming <lixm.fnst@cn.fujitsu.com>
Change-Id: I0aa9f7e706b4f97ea30e9308d77511270b50dcbf
|
|
Bug-AGL: SPEC-2291
Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
Change-Id: I4cc9a2676f0108b2def2b16e9e5fa4ca9d0721ac
|
|
Add the permission required to access the display
through the wayland socket.
Change-Id: Ia27641e46a1d027c98275f1c99bdbfb204bad456
Bug-AGL: SPEC-2357
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
- move link to relative one
Change-Id: I909b52e8f45dd90888c5fe755596d7373ea3188f
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
|
|
Fix redefine layer id.
Change-Id: I40cdde84ed03d9de4e29e14b6441586dedee996c
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
Remove ** headlines.
Bug-AGL: SPEC-2018
Change-Id: I6d991c7965491b9918aad6cf3e96374972294605
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
xdg-runcher calls "subscribe" before requestSurface,
then windowmanager reject it because WMClient object
is not created yet.
This patch changes to register WMClient
if it is not created when App calls "subscribe".
Application doesn't need to care about the order of
"requestSurface" and "subscribe".
Bug-AGL: SPEC-2218
Change-Id: Ia82ff939dfdb2bbfd377bd50fd3d4b844451cd3b
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
Update ApplicationGuide.md
* update revision to 0.8
* add two API
- getAreaList
- changeAreaSize
Bug-AGL: SPEC-2108
Change-Id: If9fc3d04473cb31f57390426f24dd1953a4ee850
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
Change-Id: I29068283053ec08f20a85ede192b1955c81e73c3
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
- Add agl autobuild script to silence build
warnings on yocto.
- Add linux autobuild script to build with
the sdk
- These scripts are based on the latest
version of the autobuild script, but they've
been customized to match the existin cmake
(the update and package-test targets have been
removed).
Change-Id: I44e054ce8f1a7970818ea487d95e97afdff482b7
Bug-AGL: SPEC-2164
Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
|
|
To look the log more clear,
modify the message of log.
Change-Id: I8c4fc34e69660afcc459ee3877e41d8d03bc31df
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
"active" state means "visible" on source code currently.
Specification in HMI-FW spec 0.9.2 says it's not visible.
https://wiki.automotivelinux.org/hmiframework
It's the right to have resources such as buffers(surface).
But from the view point of implementation of windowmanager-service,
it is difficult to control resources of application.
So this patch fixes just adding the methods to change
the state of client.
Change-Id: If445af3cdf724827ccf28f40af28cca4a2ffcbc1
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
Fix the mistake of passing std::string into %s.
Change-Id: I267feba5ed8239d146506721363f5bebcdaafa42
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
In CES2019 demo, these features are introduced in demo3.
1. changeAreaSize : change area definition on runtime
2. getAreaList : get area definition list
v2. fix merge conflict
util.hpp
util.cpp
Bug-AGL : SPEC-2077
Change-Id: I1fa3c9e3648c69e14a3916cbeeb9775ed94c833a
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
Reusing the windowmanager on the cluster demo platform requires
modifications to the layers.json, areas.json, etc. configuration files.
To allow this without breaking potential shared package feeds by
building two versions, add a mechanism to allow over-riding the
configuration files present in the widget with files in the directory
/etc/xdg/windowmanager. Affected code has been refactored to use a new
common configuration file path determination helper function to reduce
duplication.
Cherry-picked from flounder branch with rework to accommodate changes
in master branch.
Bug-AGL: SPEC-1805
Change-Id: Ib0014756fe684167950ddac534ea2363a1b6e7c3
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
|
|
Also fix typo in error messages
Change-Id: Ib023a43cdbb6b6442872abecb347940c703c5fde
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
When we set USE_HMI_DEBUG=5 in environment variable,
a lot of logs of policy manager displayed.
This patch decrease log level of DUMP macro.
If we don't need to get policy decision procedure logs or tracing on debug,
set USE_HMI_DEBUG=4.
Change-Id: Iaa2f2efc68adcece8c6aef44be6a683c7c2a0dee
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
Bug-AGL: SPEC-1988
Change-Id: I295dc08f6ba0a9a36b3d6fbcbe82365fd787a791
Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
|
|
This patch change Window Manager emits event to application
such as syncDraw not to subscribers.
Bug-AGL: SPEC-1999
Change-Id: Ie2699c1180b4f37f6333933db9f11eaa7ed8f683
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
Sometimes, ivi_wm_surface_size signal doesn't reach WM.
In that time, surface is not placed in the set place.
This patch fix the issue.
Change-Id: Id7137557d5aaae373fedbb70379179ab50205c60
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
Rarely Window Manager get the event of surface creation
after activateWindow.
In that case, Window Manager reject application request
because client doesn't have surface.
This patch makes WM does provisional registration.
Change-Id: Ib0a54a7f399f333175e0a4613364f7bcb0de9cc7
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
|
|
|
|
This patch migrates biding API of WM to v3.
Change-Id: I2f2b23a8af437a414e2a00d629d3e72d0614eb72
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
|
|
Forgot removing the function.
The function was removed in the previous commit.
Change-Id: Ieab08aa116b7b8109022ff6983582da6085039dd
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
This fixes an invalid reference to image software-stack.png in ApplicationGuide.md
Change-Id: I3362a02c00dd4524b6567ebc95b48cdfc792289b
Signed-off-by: Stéphane Desneux <stephane.desneux@iot.bzh>
|
|
Stop compatibility support.
Remove conversion table from old role.
Bug-AGL: SPEC-1947
Change-Id: Idbb0717920c2f4a0c29bfb4356e1b167ac8bce0b
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
Since it is duplicated with the name of homescreen image file,
the WM page doesn't display correctly.
So rename the image file name.
Change-Id: I6bb9fe0c779df0cc9027d44500329009404a76e9
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
Fix the file names.
Change-Id: I6adaf5fb024347222b235830bf5ff04208adc0ed
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
Window Manager expresses the application in ivi-layer.
So for, Window Manager tied the surface and role applied
by the application. This patch associates the application
with the ivi-layer, and the role and surface are the
attributes that makes up the application.
Bug-AGL: SPEC-1818, SPEC-1635
Change-Id: Ice1e398e1db037577b0721c16da6603ec5437561
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
Fix internal function name for consistency
Change-Id: Iff85e7ab246f863ff47d7312da627a2317479b56
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
Fix the conversion table
(Navigation -> map) to (Navigation -> navigation)
Use `navigation` as it is.
Change-Id: Icfb0c7839cfa1c8ae59aa3b381c07d8a2f88cdd4
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
Delete the following verbs for debug.
Use LayerManagerControl instead.
* debug_status
* debug_layers
* debug_surfaces
* list_drawing_names
Change-Id: Ifa414b769796a9007e06b5d4cc17d50bd26c86dd
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
|
|
|
|
Window Manager now uses abstract client, area for layer/surface management,
then hide wayland operation into LayerControl class.
LayerControl class uses ilmControl library instead of wayland protocol.
This patch reduces the binary size of binding by 30% than before.
Currently, the following debug methods are not available.
* debug_status
* debug_layers
* debug_surfaces
* list_drawing_names
Bug-AGL: SPEC-1817
Change-Id: I7313787f3c4a286ceee3c23783e5c0e713388dac
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
Improve ApplicationGuide
* Change chapter structure
* Add pictures for sequences and diagrams
* Update the description
Bug-AGL: SPEC-1712
Change-Id: Ic014677682c2281305b6a4c10a4a80390279db88
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
According to afb_x2_req.h,
returned value of afb_req_x2_get_application_id must be freed by the caller.
So release it when the function returned not Null.
Bug-AGL: SPEC-1819
Change-Id: I4f23eeff6262171ac55776b4e214960dbff7ff45
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
Policy Manager has to know
*who* requests *which role* with *which role*.
So for improvement of usability of WMRequest instead of appid.
Change-Id: I452b2995922e8e303732e8e79f4f06930553b3e7
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
To shorten source code, omit std::
Change-Id: I251df7f503337c71800612718504bbd31dc27071
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
afb-binding doesn't care the case of verb,
but it is better to unify it with libwindowmanager.
Change-Id: I775b26069cd49a72603715470ddc4cedcfd2f375
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
Rename layers.* to wm_layers.*
Change-Id: If472c2b8f978231816f5c21edb0c53a6ee96d629
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
Migrate hmi-debug into util for
* simplicity
* remove warnings error `-Wunused-function`
Change-Id: I7d061849429e5d50cc7d19d2051c7f5d0f0ef169
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|