profile/ivi/wayland-ivi-extension.git
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>
10 years agoprotocol: removed set_position from ivi_controller_surface
Timo Lotterbach [Fri, 15 Nov 2013 14:21:21 +0000 (15:21 +0100)]
protocol: removed set_position from ivi_controller_surface

this is already covered by set_destination rectangle

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
10 years agoprotocol: added event for updated surface content status
Timo Lotterbach [Mon, 18 Nov 2013 08:43:40 +0000 (09:43 +0100)]
protocol: added event for updated surface content status

ivi_controller_surface now receives event, if ivi_application registered
or removed content of a surface.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
10 years agoprotocol: added controller error event
Timo Lotterbach [Mon, 18 Nov 2013 08:25:26 +0000 (09:25 +0100)]
protocol: added controller error event

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
10 years agoprotocol: added application error event
Timo Lotterbach [Fri, 15 Nov 2013 14:48:14 +0000 (15:48 +0100)]
protocol: added application error event

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
10 years agoprotocol: renamed 'set_dimension' to "set_configuration' in ivi_controller_layer
Timo Lotterbach [Sat, 16 Nov 2013 16:30:05 +0000 (17:30 +0100)]
protocol: renamed 'set_dimension' to "set_configuration' in ivi_controller_layer

renamed 'configuration'-request and -response to better distinguish
the difference to set_destination_rectangle.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
10 years agoprotocol: renamed 'set_dimension' to 'set_configuration' in ivi_controller_surface
Timo Lotterbach [Sat, 16 Nov 2013 16:25:38 +0000 (17:25 +0100)]
protocol: renamed 'set_dimension' to 'set_configuration' in ivi_controller_surface

this should reduce confusion with set_destination_rectangle feature.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
10 years agoprotocol: removed 'controller_surface from ivi_controller.surface event
Timo Lotterbach [Thu, 14 Nov 2013 15:07:26 +0000 (16:07 +0100)]
protocol: removed 'controller_surface from ivi_controller.surface event

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
10 years agoprotocol: removed 'controller_layer' from ivi_controller.layer event
Timo Lotterbach [Thu, 14 Nov 2013 15:06:48 +0000 (16:06 +0100)]
protocol: removed 'controller_layer' from ivi_controller.layer event

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
10 years agoprotocol: converted to unix line break format
Timo Lotterbach [Fri, 15 Nov 2013 12:09:23 +0000 (13:09 +0100)]
protocol: converted to unix line break format

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
10 years agoprotocol: renamed ivi_client to ivi_application
Timo Lotterbach [Tue, 12 Nov 2013 10:47:50 +0000 (02:47 -0800)]
protocol: renamed ivi_client to ivi_application

agreed on the mailing list, because ivi_client interface name
does not work well with default header file names.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
10 years agoprotocol: moved README file to correct position
Timo Lotterbach [Mon, 11 Nov 2013 13:37:54 +0000 (05:37 -0800)]
protocol: moved README file to correct position

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
10 years agoweston-ivi-shell: added placeholder directory
Timo Lotterbach [Mon, 11 Nov 2013 12:41:05 +0000 (04:41 -0800)]
weston-ivi-shell: added placeholder directory

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
10 years agoivi-layermanagement-api: added placeholder directory
Timo Lotterbach [Mon, 11 Nov 2013 12:39:41 +0000 (04:39 -0800)]
ivi-layermanagement-api: added placeholder directory

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
10 years agoprotocol: added destroy requests to ivi_controller_layer/surface
Timo Lotterbach [Mon, 11 Nov 2013 12:21:14 +0000 (04:21 -0800)]
protocol: added destroy requests to ivi_controller_layer/surface

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
10 years agoprotocol: removed ivi_controller.nativesurface event
Timo Lotterbach [Mon, 11 Nov 2013 10:07:46 +0000 (02:07 -0800)]
protocol: removed ivi_controller.nativesurface event

currently the desired behaviour is not finally decided for this event.
The agreement for now is to skip this event and introduce it in
a later iteration of the protocol, if required.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
10 years agoprotocol: remove width/height from ivi_client.surface_create
Timo Lotterbach [Mon, 11 Nov 2013 10:05:51 +0000 (02:05 -0800)]
protocol: remove width/height from ivi_client.surface_create

width and height of content is handled by default wayland mechanics
in wl_surface and buffers.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
10 years agoprotocol: added ivi_surface.visibility events for clients
Timo Lotterbach [Mon, 11 Nov 2013 10:03:24 +0000 (02:03 -0800)]
protocol: added ivi_surface.visibility events for clients

This event is used to inform the client application, if its content
has become visible or invisible.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
10 years agoprotocol: documentation update
Timo Lotterbach [Mon, 11 Nov 2013 10:00:15 +0000 (02:00 -0800)]
protocol: documentation update

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
10 years agoprotocol: ivi_clients always have to provide wl_surface
Timo Lotterbach [Mon, 11 Nov 2013 09:59:39 +0000 (01:59 -0800)]
protocol: ivi_clients always have to provide wl_surface

the legacy option to create ivi_surfaces without content is
not required any more. Now the controller uses it's own API
to create surfaces, before clients are connected.

There's no use case left for clients havin ivi_surfaces
without wl_surfaces.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
10 years agoprotocol: ivi_controller now only uses ivi_controller/layer/surface
Timo Lotterbach [Mon, 11 Nov 2013 09:56:16 +0000 (01:56 -0800)]
protocol: ivi_controller now only uses ivi_controller/layer/surface

ivi_controller now internally uses only ivi_controller_layer and
ivi_controller_surface to control scene setup.

ivi_layer was removed.

ivi_surface is only used by client, not by controller.

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
10 years agoprotocol: split into ivi-client and ivi-controller
Timo Lotterbach [Mon, 11 Nov 2013 09:50:53 +0000 (01:50 -0800)]
protocol: split into ivi-client and ivi-controller

Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
10 years agoprotocol: initial import from LayerManagement repository
Timo Lotterbach [Mon, 11 Nov 2013 09:35:54 +0000 (01:35 -0800)]
protocol: initial import from LayerManagement repository

This import contains the latest version of IVI extension available
in IVI LayerManagement repository.

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