profile/ivi/wayland-ivi-extension.git
10 years agotest: Throw exception if wl_display_roundtrip returns error.
Nobuhiko Tanibata [Tue, 27 May 2014 09:19:37 +0000 (18:19 +0900)]
test: Throw exception if wl_display_roundtrip returns error.

Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
10 years agotest: Fix a lock issue when the API tests is running.
Nobuhiko Tanibata [Tue, 27 May 2014 05:14:38 +0000 (22:14 -0700)]
test: Fix a lock issue when the API tests is running.

Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
10 years agoweston-ivi-shell: Fix memory access violations.
Nobuhiko Tanibata [Tue, 27 May 2014 10:05:17 +0000 (19:05 +0900)]
weston-ivi-shell: Fix memory access violations.

Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
10 years agoweston-ivi-shell: support weston 1.4.91 later.
Nobuhiko Tanibata [Tue, 29 Apr 2014 13:34:44 +0000 (22:34 +0900)]
weston-ivi-shell: support weston 1.4.91 later.

Due to the change of folder structure, previous source can not be built with 1.4.91 later.

Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
10 years agoremoved compiler warnings in unit tests
Timo Lotterbach [Wed, 30 Apr 2014 06:58:38 +0000 (08:58 +0200)]
removed compiler warnings in unit tests

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
10 years agofixed unit test crash, if compositor service is not running
Timo Lotterbach [Fri, 30 May 2014 06:40:33 +0000 (08:40 +0200)]
fixed unit test crash, if compositor service is not running

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
10 years agofixed layer order returned in ilm_getLayerIDsOnScreen
Timo Lotterbach [Thu, 17 Apr 2014 08:15:27 +0000 (10:15 +0200)]
fixed layer order returned in ilm_getLayerIDsOnScreen

layer ids are reported in opposite order than expected by ILM API.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
10 years agotests: expected behaviour of "*_Invalid*" tests
Lukasz Juszkiewicz [Wed, 30 Apr 2014 16:15:34 +0000 (18:15 +0200)]
tests: expected behaviour of "*_Invalid*" tests

Signed-off-by: Lukasz Juszkiewicz <lukasz.juszkiewicz@bmw-carit.de>
10 years agotests: memory leak in IlmCommandTest::TearDown()
Lukasz Juszkiewicz [Wed, 30 Apr 2014 16:15:33 +0000 (18:15 +0200)]
tests: memory leak in IlmCommandTest::TearDown()

Signed-off-by: Lukasz Juszkiewicz <lukasz.juszkiewicz@bmw-carit.de>
10 years agotests: number of hardware layers
Lukasz Juszkiewicz [Wed, 30 Apr 2014 16:15:32 +0000 (18:15 +0200)]
tests: number of hardware layers

Signed-off-by: Lukasz Juszkiewicz <lukasz.juszkiewicz@bmw-carit.de>
10 years agotests: surface pixelformat
Lukasz Juszkiewicz [Wed, 30 Apr 2014 16:15:31 +0000 (18:15 +0200)]
tests: surface pixelformat

Signed-off-by: Lukasz Juszkiewicz <lukasz.juszkiewicz@bmw-carit.de>
10 years agotests: take screenshot
Lukasz Juszkiewicz [Wed, 30 Apr 2014 16:15:30 +0000 (18:15 +0200)]
tests: take screenshot

Signed-off-by: Lukasz Juszkiewicz <lukasz.juszkiewicz@bmw-carit.de>
10 years agotests: surface properites
Lukasz Juszkiewicz [Wed, 30 Apr 2014 16:15:29 +0000 (18:15 +0200)]
tests: surface properites

Signed-off-by: Lukasz Juszkiewicz <lukasz.juszkiewicz@bmw-carit.de>
10 years agotests: surface IDs on layer
Lukasz Juszkiewicz [Wed, 30 Apr 2014 16:15:28 +0000 (18:15 +0200)]
tests: surface IDs on layer

Signed-off-by: Lukasz Juszkiewicz <lukasz.juszkiewicz@bmw-carit.de>
10 years agotests: layer capabilities
Lukasz Juszkiewicz [Wed, 30 Apr 2014 16:15:27 +0000 (18:15 +0200)]
tests: layer capabilities

Signed-off-by: Lukasz Juszkiewicz <lukasz.juszkiewicz@bmw-carit.de>
10 years agotests: layer type
Lukasz Juszkiewicz [Wed, 30 Apr 2014 16:15:26 +0000 (18:15 +0200)]
tests: layer type

Signed-off-by: Lukasz Juszkiewicz <lukasz.juszkiewicz@bmw-carit.de>
10 years agotests: layer remove
Lukasz Juszkiewicz [Wed, 30 Apr 2014 16:15:25 +0000 (18:15 +0200)]
tests: layer remove

Signed-off-by: Lukasz Juszkiewicz <lukasz.juszkiewicz@bmw-carit.de>
10 years agotests: surface source rectangle
Lukasz Juszkiewicz [Wed, 30 Apr 2014 16:15:24 +0000 (18:15 +0200)]
tests: surface source rectangle

Signed-off-by: Lukasz Juszkiewicz <lukasz.juszkiewicz@bmw-carit.de>
10 years agotests: layer/surface visibility
Lukasz Juszkiewicz [Wed, 30 Apr 2014 16:15:23 +0000 (18:15 +0200)]
tests: layer/surface visibility

Signed-off-by: Lukasz Juszkiewicz <lukasz.juszkiewicz@bmw-carit.de>
10 years agotests: layer/surface opacity
Lukasz Juszkiewicz [Wed, 30 Apr 2014 16:15:22 +0000 (18:15 +0200)]
tests: layer/surface opacity

Signed-off-by: Lukasz Juszkiewicz <lukasz.juszkiewicz@bmw-carit.de>
10 years agotests: layer/surface position
Lukasz Juszkiewicz [Wed, 30 Apr 2014 16:15:21 +0000 (18:15 +0200)]
tests: layer/surface position

Signed-off-by: Lukasz Juszkiewicz <lukasz.juszkiewicz@bmw-carit.de>
10 years agotests: layer/surface dimensions
Lukasz Juszkiewicz [Wed, 30 Apr 2014 16:15:20 +0000 (18:15 +0200)]
tests: layer/surface dimensions

Signed-off-by: Lukasz Juszkiewicz <lukasz.juszkiewicz@bmw-carit.de>
10 years agotests: screen resolution
Lukasz Juszkiewicz [Wed, 30 Apr 2014 16:15:19 +0000 (18:15 +0200)]
tests: screen resolution

Signed-off-by: Lukasz Juszkiewicz <lukasz.juszkiewicz@bmw-carit.de>
10 years agotests: code and resources handling cleanup
Lukasz Juszkiewicz [Wed, 30 Apr 2014 16:15:18 +0000 (18:15 +0200)]
tests: code and resources handling cleanup

Signed-off-by: Lukasz Juszkiewicz <lukasz.juszkiewicz@bmw-carit.de>
10 years agoenabled all ilm_control unit tests, results in compositor crash 1.2.0_rc5
Timo Lotterbach [Thu, 17 Apr 2014 07:26:02 +0000 (09:26 +0200)]
enabled all ilm_control unit tests, results in compositor crash

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
10 years agofixed ilm_control_notification unit tests setup
Timo Lotterbach [Thu, 17 Apr 2014 07:32:23 +0000 (09:32 +0200)]
fixed ilm_control_notification unit tests setup

providing NULL as native surface is prohibited by design for IVI Extension,
unit test now use a wl_surface created in TestBase base class.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
10 years agoupdated .gitignore
Timo Lotterbach [Thu, 17 Apr 2014 07:24:32 +0000 (09:24 +0200)]
updated .gitignore

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
10 years agoilmClient : Add null check of nativehandle to ilm_surfaceCreate
Nobuhiko Tanibata [Mon, 14 Apr 2014 09:30:38 +0000 (18:30 +0900)]
ilmClient : Add null check of nativehandle to ilm_surfaceCreate

Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp>
10 years agoBug fix TIVI 3029. Add destroy surface for main_ctx
Nobuhiko Tanibata [Fri, 11 Apr 2014 11:45:12 +0000 (20:45 +0900)]
Bug fix TIVI 3029. Add destroy surface for main_ctx

Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp>
10 years agoBug fix: weston crash due to missing destruction of surface.
Nobuhiko Tanibata [Fri, 11 Apr 2014 01:40:44 +0000 (10:40 +0900)]
Bug fix: weston crash due to missing destruction of surface.

This is also reported in Tizen IVI JIRA, TIVI-3029

Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp>
10 years agoremove ivi_controller_surface on content_removed event 1.2.0_rc4
Timo Lotterbach [Mon, 7 Apr 2014 14:11:43 +0000 (16:11 +0200)]
remove ivi_controller_surface on content_removed event

in ILM API, surfaceDestroy(x) will remove all references to this surface
from scene. To achieve same behavior, ivi controllers must release their
corresponding ivi_controller_surfaces on content_removed event.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
10 years agoremove ivi_surface from internal state on ilm_surfaceRemove()
Timo Lotterbach [Mon, 7 Apr 2014 14:08:52 +0000 (16:08 +0200)]
remove ivi_surface from internal state on ilm_surfaceRemove()

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
10 years agofixed small error logging issue
Timo Lotterbach [Mon, 7 Apr 2014 13:00:22 +0000 (15:00 +0200)]
fixed small error logging issue

several functions logged error 'Invalid ... in
controller_surface_listener_destroyed' and not their real name.
This patch uses __FUNCTION__ to generate function names for logging.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
10 years agofixed wrong order of layers in ilm_getLayerIDs
Timo Lotterbach [Mon, 7 Apr 2014 10:19:07 +0000 (12:19 +0200)]
fixed wrong order of layers in ilm_getLayerIDs

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
10 years agocontroller destroys mutex on shutdown
Timo Lotterbach [Mon, 7 Apr 2014 10:18:33 +0000 (12:18 +0200)]
controller destroys mutex on shutdown

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
10 years agostop control thread during shutdown to prevent crashes 1.2.0_rc3
Timo Lotterbach [Mon, 7 Apr 2014 08:59:45 +0000 (10:59 +0200)]
stop control thread during shutdown to prevent crashes

unit tests do fast init/destroy cycles, which resulted in control
thread still using resources (e.g. display) that were already destroyed.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
10 years agofixed return value in ilm_surfaceCreate
Timo Lotterbach [Mon, 7 Apr 2014 08:23:55 +0000 (10:23 +0200)]
fixed return value in ilm_surfaceCreate

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
10 years agorefactored unit tests, check all return values
Timo Lotterbach [Fri, 4 Apr 2014 07:49:53 +0000 (09:49 +0200)]
refactored unit tests, check all return values

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
10 years agoremoved obsolete code
Timo Lotterbach [Mon, 7 Apr 2014 07:57:58 +0000 (09:57 +0200)]
removed obsolete code

most of this code was specific to IVI LayerManagement (ILM) implementation
and is not used in other implementations of ILM API.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
10 years agoCorrected XML file modes: 0755->0644. 1.2.0_rc2
Nobuhiko Tanibata [Tue, 1 Apr 2014 02:26:05 +0000 (11:26 +0900)]
Corrected XML file modes: 0755->0644.

Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp>
10 years agoRemove wl_list_init of layer_list which will be used by ivi_shell
Nobuhiko Tanibata [Tue, 1 Apr 2014 02:21:07 +0000 (11:21 +0900)]
Remove wl_list_init of layer_list which will be used by ivi_shell

To avoid clearing not related ivi_controller.so layer. E.g.
cursor and software keyboard.

Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp>
10 years agoModify thread's control in ilm_control.
Nobuhiko Tanibata [Tue, 1 Apr 2014 02:07:25 +0000 (11:07 +0900)]
Modify thread's control in ilm_control.

- create sub thread to receive surface notification event only.
- wl_display of sub thread is accessed by sub thread only.
- sub thread uses wl_display_dispatch() instead of
  wl_display_roundtrip() in order to avoid occupying cpu.
- remove lock and unlock macros.

This is reported in TIZEN IVI.
TIVI-2880 and TIVI-2883

Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp>
10 years agoModify initialize process to use application's native display in each ilm library...
Nobuhiko Tanibata [Tue, 1 Apr 2014 02:04:59 +0000 (11:04 +0900)]
Modify initialize process to use application's native display in each ilm library to avoid deak lock to use the same display connection inter application in ilm library.

This is reported in TIZEN IVI as bugs.
TIVI-2880 and TIVI-2883

Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp>
10 years agoBugfix: dead lock issue in ilm library. This happens when several client uses ilm...
Nobuhiko Tanibata [Mon, 31 Mar 2014 08:28:30 +0000 (17:28 +0900)]
Bugfix: dead lock issue in ilm library. This happens when several client uses ilm library in parallel because the same display connect is used wihin them.

This is also reported in TIZEN IVI.
TIVI-2880 and TIVI-2883

Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp>
10 years agoUpdated IVI-Application protocol 1.2.0_rc1 protocol-v1
Timo Lotterbach [Fri, 21 Mar 2014 17:57:44 +0000 (18:57 +0100)]
Updated IVI-Application protocol

This update updates the ivi application protocol to include
the changes request by wayland community during upstream
integration of IVI-Shell.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
10 years agoAdded Unit Test Suite for IVI LayerManagement API
Timo Lotterbach [Tue, 11 Mar 2014 14:12:08 +0000 (15:12 +0100)]
Added Unit Test Suite for IVI LayerManagement API

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
10 years agoRemove dependency on IpcModuleLoader.h
Nobuhiko Tanibata [Tue, 4 Mar 2014 05:58:20 +0000 (14:58 +0900)]
Remove dependency on IpcModuleLoader.h

Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
10 years agoSuppoting only ivi-application to get ivi_surface, not supporting wl_shell.
Nobuhiko Tanibata [Tue, 4 Mar 2014 05:27:37 +0000 (14:27 +0900)]
Suppoting only ivi-application to get ivi_surface, not supporting wl_shell.

-The ivi-application protocol is sufficient for ivi style shell.
-Removing layer creation. This means creating a Layer and add surface of
MockNavigation to the layer by e.g. LayerManagerControl to visible it.

Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
10 years agoFix the bug which EGLWLMockNavigation freezes on drm
Nobuhiko Tanibata [Thu, 27 Feb 2014 07:34:22 +0000 (16:34 +0900)]
Fix the bug which EGLWLMockNavigation freezes on drm

Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
10 years agoprotocol: added PDF specification generation
Timo Lotterbach [Mon, 20 Jan 2014 12:44:00 +0000 (13:44 +0100)]
protocol: added PDF specification generation

Use "make doc" to generate specification documents.
A separate document is generated for
- IVI Application API
- IVI Controller API
- ILM Client API
- ILM Controller API

This requires: doxygen, latex, bash

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
10 years agoAdd link_directories to find wayland-client library.
Nobuhiko Tanibata [Thu, 6 Feb 2014 00:45:01 +0000 (09:45 +0900)]
Add link_directories to find wayland-client library.

Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
10 years agoUpdate link_directories and add_dependencies to link libweston-layout.so to control...
Nobuhiko Tanibata [Thu, 6 Feb 2014 05:27:47 +0000 (14:27 +0900)]
Update link_directories and add_dependencies to link libweston-layout.so to control surfaces by ivi-controller.

Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
10 years agofixed pkg_config integration in cmake build system
Timo Lotterbach [Wed, 5 Feb 2014 15:06:03 +0000 (16:06 +0100)]
fixed pkg_config integration in cmake build system

- library directories were missing
- include paths were not always correct

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
10 years agoadded ivi-extension-protocol library
Timo Lotterbach [Fri, 31 Jan 2014 14:59:02 +0000 (15:59 +0100)]
added ivi-extension-protocol library

this library takes care to generate header and source files
from XML files.
All generated files are now stored in the build directory.

ilmCommon and weston-ivi-shell now just use the new library and
don't care about code generation any more.
In addition, a lot of duplicated code compilation is removed, resulting
in faster builds.

This patch also fixes an issue, that file generation was done every
time a build was started. This resulted in full rebuilds all the time.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
10 years agorefactored generation of Wayland & IVI extension API
Timo Lotterbach [Fri, 31 Jan 2014 13:33:31 +0000 (14:33 +0100)]
refactored generation of Wayland & IVI extension API

- header/source files are only generated once, not every build
- removed pre-generated header/source files from repository

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
10 years agocreated .gitignore
Timo Lotterbach [Fri, 31 Jan 2014 12:28:19 +0000 (13:28 +0100)]
created .gitignore

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
10 years agofixed project name in build system
Timo Lotterbach [Fri, 31 Jan 2014 12:27:01 +0000 (13:27 +0100)]
fixed project name in build system

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
10 years agochanged file mode of file LICENSE
Timo Lotterbach [Fri, 31 Jan 2014 12:42:29 +0000 (13:42 +0100)]
changed file mode of file LICENSE

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
10 years agoremoved obsolete code and build scripts
Timo Lotterbach [Fri, 31 Jan 2014 12:42:10 +0000 (13:42 +0100)]
removed obsolete code and build scripts

- removed LayerSceneDescriptionExample
- removed LayerManagerUtils
- removed config project
- updated build system

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
10 years agodetecting location of wayland-scanner binary
Timo Lotterbach [Fri, 31 Jan 2014 11:33:57 +0000 (12:33 +0100)]
detecting location of wayland-scanner binary

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
10 years agoreplaced wayland/weston findmodules with pkgconfig dependency handling
Timo Lotterbach [Fri, 31 Jan 2014 11:31:00 +0000 (12:31 +0100)]
replaced wayland/weston findmodules with pkgconfig dependency handling

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
10 years agoadded library version to ILM APIs
Timo Lotterbach [Fri, 31 Jan 2014 11:24:54 +0000 (12:24 +0100)]
added library version to ILM APIs

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
10 years agoadded LICENSE file wtih Apache 2.0 license text
Timo Lotterbach [Thu, 30 Jan 2014 10:49:47 +0000 (11:49 +0100)]
added LICENSE file wtih Apache 2.0 license text

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
10 years agoweston-ivi-shell: Bug fix. ivi-controller can not recognize creating layer by ivi...
Nobuhiko Tanibata [Fri, 10 Jan 2014 04:11:52 +0000 (13:11 +0900)]
weston-ivi-shell: Bug fix. ivi-controller can not recognize creating layer by ivi-shell

Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
10 years agoweston-ivi-shell: Remove unused structures in ivi-controller
Nobuhiko Tanibata [Thu, 26 Dec 2013 05:23:21 +0000 (14:23 +0900)]
weston-ivi-shell: Remove unused structures in ivi-controller

Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
10 years agoweston-ivi-shell: Bug fix. surface info in ivi-controller is remained
Nobuhiko Tanibata [Thu, 26 Dec 2013 04:55:30 +0000 (13:55 +0900)]
weston-ivi-shell: Bug fix. surface info in ivi-controller is remained

even if ivisurface is removed by weston-layout.

Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
10 years agoweston-ivi-shell: Bug fix. can not get notification of Create/Remove layer
Nobuhiko Tanibata [Thu, 26 Dec 2013 04:45:28 +0000 (13:45 +0900)]
weston-ivi-shell: Bug fix. can not get notification of Create/Remove layer

Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
10 years agocmake: Modified weston-ivi-shell/CMakeLists.txt to build ivi-controller
Nobuhiko Tanibata [Thu, 19 Dec 2013 08:59:57 +0000 (17:59 +0900)]
cmake: Modified weston-ivi-shell/CMakeLists.txt to build ivi-controller

Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
10 years agoweston-ivi-shell: re-factoring ivi-shell implementation
Nobuhiko Tanibata [Thu, 19 Dec 2013 15:17:58 +0000 (00:17 +0900)]
weston-ivi-shell: re-factoring ivi-shell implementation

- Implementation of ivi-application-protocol is moved to ivi-shell which is provided by weston
- Implementation of ivi-controller-protocol is modified to use libweston-layout.so.

Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
10 years agoweston-ivi-shell: Renamed ivi-shell to ivi-controller
Nobuhiko Tanibata [Thu, 19 Dec 2013 09:40:03 +0000 (18:40 +0900)]
weston-ivi-shell: Renamed ivi-shell to ivi-controller

ivi-shell is provided by weston. ivi-controller is loaded to ivi-shell
as a module to support ivi-controller protocols.

Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
10 years agocmake: Modified FindWeston.cmake to use libweston-layout.so
Nobuhiko Tanibata [Thu, 19 Dec 2013 08:16:35 +0000 (17:16 +0900)]
cmake: Modified FindWeston.cmake to use libweston-layout.so

libweston-layout.so is common layout library from ivi-shell of weston.
It supports common interface to control surfaces/layers.

Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
10 years agoivi-layermanagement-api: Add support of receiving notification of property change
Nobuhiko Tanibata [Thu, 19 Dec 2013 07:47:10 +0000 (16:47 +0900)]
ivi-layermanagement-api: Add support of receiving notification of property change

Add wl_display_dispatch after ivi_controller_layer/surface_add_listener to receive
 events of property change of layer/surface.

Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
10 years agoivi-layermanagement-examples: Add LayerManagerControl to cmake of examples
Nobuhiko Tanibata [Wed, 27 Nov 2013 12:30:16 +0000 (21:30 +0900)]
ivi-layermanagement-examples: Add LayerManagerControl to cmake of examples

Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
10 years agoivi-layermanagement-examples: Add LayerManagerControl for examples
Nobuhiko Tanibata [Wed, 27 Nov 2013 12:28:52 +0000 (21:28 +0900)]
ivi-layermanagement-examples: Add LayerManagerControl for examples

Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
10 years agoREADME: add README to how to build up and execute Weston and examples upstream/0.0.1
Nobuhiko Tanibata [Wed, 27 Nov 2013 11:44:32 +0000 (20:44 +0900)]
README: add README to how to build up and execute Weston and examples

Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
10 years agoCmake: Modification build files to compile ivi-layermanagement-examples
Nobuhiko Tanibata [Wed, 27 Nov 2013 06:01:22 +0000 (15:01 +0900)]
Cmake: Modification build files to compile ivi-layermanagement-examples

Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
10 years agoExamples: Add LayerSceneDescriptionExample as examples
Nobuhiko Tanibata [Wed, 27 Nov 2013 05:59:27 +0000 (14:59 +0900)]
Examples: Add LayerSceneDescriptionExample as examples

Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
10 years agoLayerManagerUtils: Add LayerManagerUtils as examples
Nobuhiko Tanibata [Wed, 27 Nov 2013 05:57:46 +0000 (14:57 +0900)]
LayerManagerUtils: Add LayerManagerUtils as examples

Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
10 years agoEGLWLMockNavigation: EGLWLMockNavi with ilm api which uses ivi-extension protocol.
Nobuhiko Tanibata [Wed, 27 Nov 2013 05:56:01 +0000 (14:56 +0900)]
EGLWLMockNavigation: EGLWLMockNavi with ilm api which uses ivi-extension protocol.

Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
10 years agosurface send_stats: add process_name to parameter
Nobuhiko Tanibata [Wed, 27 Nov 2013 10:32:20 +0000 (19:32 +0900)]
surface send_stats: add process_name to parameter

ilmControl: add it to parameter of controller_surface_listener_stats
ivi-shell: add it to parameter of ivi_controller_surface.send_stats

Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
10 years agoInput: add surface_focus
Nobuhiko Tanibata [Wed, 27 Nov 2013 10:37:04 +0000 (19:37 +0900)]
Input: add surface_focus

ilmControl: add controller_surface_listener_input_focus
ivi_shell: add controller_surface_set_input_focus

Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
10 years agoprotocol: correct typos in xmls
Nobuhiko Tanibata [Wed, 27 Nov 2013 09:51:54 +0000 (18:51 +0900)]
protocol: correct typos in xmls

Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
10 years agocmake: Root CMakeLists.txt for cmake
Nobuhiko Tanibata [Wed, 27 Nov 2013 02:12:45 +0000 (11:12 +0900)]
cmake: Root CMakeLists.txt for cmake

Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
10 years agoconfig: config files to cmake
Nobuhiko Tanibata [Wed, 27 Nov 2013 02:04:58 +0000 (11:04 +0900)]
config: config files to cmake

Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
10 years agocmake: Set-up of cmake to find modules
Nobuhiko Tanibata [Wed, 27 Nov 2013 01:56:29 +0000 (10:56 +0900)]
cmake: Set-up of cmake to find modules

By using cmake, find dependent modules for ivi-shell and ivi
layer management api.

Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
10 years agoivi-layermanagement-api: Set-up to build ivi layer management APIs
Nobuhiko Tanibata [Wed, 27 Nov 2013 01:51:14 +0000 (10:51 +0900)]
ivi-layermanagement-api: Set-up to build ivi layer management APIs

Setting files for cmake and related headers and source of ivi-extension
protocols for wayland client.

Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
10 years agoivi-layermanagement-api: ilmControl headers
Nobuhiko Tanibata [Wed, 27 Nov 2013 01:42:33 +0000 (10:42 +0900)]
ivi-layermanagement-api: ilmControl headers

Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
10 years agoivi-layermanagement-api: ilmControl implementation
Nobuhiko Tanibata [Wed, 27 Nov 2013 01:40:57 +0000 (10:40 +0900)]
ivi-layermanagement-api: ilmControl implementation

Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
10 years agoivi-layermanagement-api: ilmClient headers
Nobuhiko Tanibata [Wed, 27 Nov 2013 01:40:22 +0000 (10:40 +0900)]
ivi-layermanagement-api: ilmClient headers

Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
10 years agoivi-layermanagement-api: ilmClient implementation
Nobuhiko Tanibata [Wed, 27 Nov 2013 01:39:02 +0000 (10:39 +0900)]
ivi-layermanagement-api: ilmClient implementation

Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
10 years agoivi-layermanagement-api: ilmCommon headers
Nobuhiko Tanibata [Wed, 27 Nov 2013 01:38:08 +0000 (10:38 +0900)]
ivi-layermanagement-api: ilmCommon headers

Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
10 years agoivi-layermanagement-api: ilmCommon interfaces implementation
Nobuhiko Tanibata [Wed, 27 Nov 2013 01:36:44 +0000 (10:36 +0900)]
ivi-layermanagement-api: ilmCommon interfaces implementation

Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
10 years agoweston-ivi-shell: Set-up to build ivi-shell
Nobuhiko Tanibata [Wed, 27 Nov 2013 01:32:47 +0000 (10:32 +0900)]
weston-ivi-shell: Set-up to build ivi-shell

These protocol files are needed for cmake.

Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
10 years agoweston-ivi-shell: ivi-shell implementation on weston v1.3.1
Nobuhiko Tanibata [Wed, 27 Nov 2013 01:29:17 +0000 (10:29 +0900)]
weston-ivi-shell: ivi-shell implementation on weston v1.3.1

This implements protocol defined in protocol/ivi-application.xml and
ivi-controller.xml

Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
10 years agoprotocol: added basic documentation of requests and events
Timo Lotterbach [Tue, 26 Nov 2013 17:38:45 +0000 (18:38 +0100)]
protocol: added basic documentation of requests and events

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
10 years agoprotocol: renamed event ivi_controller_surface.focus to ivi_controller_surface_input_...
Timo Lotterbach [Tue, 26 Nov 2013 12:29:07 +0000 (13:29 +0100)]
protocol: renamed event ivi_controller_surface.focus to ivi_controller_surface_input_focus

this solves a naming inconsistency between request ivi_controller_surface.set_input_focus
and received event ivi_controller_surface.focus

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
10 years agoprotocol: added process_name to ivi_controller_surface.stats event
Timo Lotterbach [Tue, 26 Nov 2013 12:25:49 +0000 (13:25 +0100)]
protocol: added process_name to ivi_controller_surface.stats event

This can be used for better tooling/debugging support.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
10 years agoprotocol: added surface input focus
Timo Lotterbach [Wed, 20 Nov 2013 10:05:14 +0000 (11:05 +0100)]
protocol: added surface input focus

on platforms, that do not use touch or (mouse-)pointer input,
inputs events are not directly related to the screen content
(e.g. surface positions and sizes).
the controller has to set the input focus for surfaces, so
they will receive input events from sources like buttons or keyboard.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
10 years agoprotocol: added argument 'destroy_scene_object' to ivi_controller_layer/surface
Timo Lotterbach [Tue, 19 Nov 2013 14:02:26 +0000 (15:02 +0100)]
protocol: added argument 'destroy_scene_object' to ivi_controller_layer/surface

if destroy_to_scene is != 0, then the surface/layer in global
compositor scene will be destroyed. All clients holding a reference
to that scene object, will recive destroyed events.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
10 years agoprotocol: removed set_position from ivi_controller_layer
Timo Lotterbach [Sat, 16 Nov 2013 16:35:07 +0000 (17:35 +0100)]
protocol: removed set_position from ivi_controller_layer

this is already covered by set_destination_rectangle

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>