[PATCH weston v3 06/15] ivi-layout: introduced surface create and configure

2018-04-10 Thread Michael Teyfel
Introduced surface create and configure function for xdg-apps. Signed-off-by: Michael Teyfel --- ivi-shell/ivi-layout-shell.h | 8 + ivi-shell/ivi-layout.c | 74 ++-- 2 files changed, 59 insertions(+), 23 deletions(-) diff --git a/ivi-shell

[PATCH weston v3 07/15] ivi-shell: linked libweston-desktop and added structs

2018-04-10 Thread Michael Teyfel
Signed-off-by: Michael Teyfel --- Makefile.am| 1 + ivi-shell/ivi-layout-private.h | 2 ++ ivi-shell/ivi-shell.c | 4 +++- ivi-shell/ivi-shell.h | 2 ++ 4 files changed, 8 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 69ca6cb

[PATCH weston v3 05/15] ivi-layout: introduced configure_desktop_changed

2018-04-10 Thread Michael Teyfel
Introduced signal configure_desktop_changed with interface. This signal should be sent, when a desktop-surface is configured. Signed-off-by: Michael Teyfel --- ivi-shell/ivi-layout-export.h | 10 ++ ivi-shell/ivi-layout-private.h | 1 + ivi-shell/ivi-layout.c | 17

[PATCH weston v3 15/15] window client: remove ivi-application support

2018-04-10 Thread Michael Teyfel
Signed-off-by: Michael Teyfel --- Makefile.am | 2 -- clients/window.c | 44 +--- 2 files changed, 1 insertion(+), 45 deletions(-) diff --git a/Makefile.am b/Makefile.am index 099b3c3..87a380c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -657,8

[PATCH weston v3 14/15] simple-shm: remove ivi-application support

2018-04-10 Thread Michael Teyfel
Signed-off-by: Michael Teyfel --- Makefile.am | 4 +--- clients/simple-shm.c | 40 2 files changed, 1 insertion(+), 43 deletions(-) diff --git a/Makefile.am b/Makefile.am index 2279d6a..099b3c3 100644 --- a/Makefile.am +++ b/Makefile.am

[PATCH weston v3 13/15] simple-egl: remove ivi-application support

2018-04-10 Thread Michael Teyfel
Signed-off-by: Michael Teyfel --- Makefile.am | 4 +-- clients/simple-egl.c | 86 2 files changed, 13 insertions(+), 77 deletions(-) diff --git a/Makefile.am b/Makefile.am index 75bd02c..2279d6a 100644 --- a/Makefile.am +++ b

[PATCH weston v3 03/15] ivi-shell: introduction of IVI_INVALID_ID

2018-04-10 Thread Michael Teyfel
Introduction of IVI_INVALID_ID for xdg-shell applications. Signed-off-by: Michael Teyfel --- ivi-shell/ivi-layout-export.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ivi-shell/ivi-layout-export.h b/ivi-shell/ivi-layout-export.h index 016d8b5..02bfb2c 100644 --- a/ivi-shell/ivi-layout

[PATCH weston v3 04/15] layout-interface: added interface to change surface id

2018-04-10 Thread Michael Teyfel
This interface enables an id-agent to change the surface ids of an ivi-layout-surface once. Signed-off-by: Michael Teyfel --- ivi-shell/ivi-layout-export.h | 6 ++ ivi-shell/ivi-layout.c| 39 +++ 2 files changed, 45 insertions(+) diff --git a

[PATCH weston v3 01/15] ivi-shell: rework goto labels to avoid memory leaks

2018-04-10 Thread Michael Teyfel
Signed-off-by: Michael Teyfel --- ivi-shell/ivi-shell.c | 18 +++--- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/ivi-shell/ivi-shell.c b/ivi-shell/ivi-shell.c index 51e13a0..6497376 100644 --- a/ivi-shell/ivi-shell.c +++ b/ivi-shell/ivi-shell.c @@ -469,7 +469,6

[PATCH weston v3 00/15] Desktop Protocol Support for IVI-Shell (Weston 4.0)

2018-04-10 Thread Michael Teyfel
iewed-by: Emre Ucan [/changes version 3] Michael Teyfel (15): ivi-shell: rework goto labels to avoid memory leaks ivi-shell: removed assert ivi-shell: introduction of IVI_INVALID_ID layout-interface: added interface to change surface id ivi-layout: introduced configure_desktop_ch

[PATCH weston v3 02/15] ivi-shell: removed assert

2018-04-10 Thread Michael Teyfel
Removed assert, that checks if ivi-surface is not available, since this can now happen with xdg-shell support. Signed-off-by: Michael Teyfel --- ivi-shell/ivi-shell.c | 1 - 1 file changed, 1 deletion(-) diff --git a/ivi-shell/ivi-shell.c b/ivi-shell/ivi-shell.c index 6497376..f34a927 100644

[PATCH weston v3 12/15] hmi-controller: register for desktop_surface_configured

2018-04-10 Thread Michael Teyfel
Since ivi-shell now supports xdg-protocol, the surface_created listener can be removed and the desktop_surface_configured listener is needed. ivi-layout: libweston-desktop api is used to send configure event to application. Signed-off-by: Michael Teyfel --- ivi-shell/hmi-controller.c | 70

[PATCH weston v3 10/15] ivi-shell: remove surface_destroy_listener

2018-04-10 Thread Michael Teyfel
Since the surface_destroy_listener is only registered for ivi-shell applications, it should only be removed for ivi-shell applications. Signed-off-by: Michael Teyfel --- ivi-shell/ivi-shell.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ivi-shell/ivi-shell.c b/ivi

[PATCH weston v3 09/15] ivi-shell: added libweston-desktop-api implementation

2018-04-10 Thread Michael Teyfel
Signed-off-by: Michael Teyfel --- ivi-shell/ivi-shell.c | 156 ++ 1 file changed, 156 insertions(+) diff --git a/ivi-shell/ivi-shell.c b/ivi-shell/ivi-shell.c index 173bc91..5c011d9 100644 --- a/ivi-shell/ivi-shell.c +++ b/ivi-shell/ivi-shell.c

[PATCH weston v3 11/15] ivi-shell: create weston_desktop in wet_shell_init

2018-04-10 Thread Michael Teyfel
Signed-off-by: Michael Teyfel --- ivi-shell/ivi-shell.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/ivi-shell/ivi-shell.c b/ivi-shell/ivi-shell.c index 160c41c..55283a9 100644 --- a/ivi-shell/ivi-shell.c +++ b/ivi-shell/ivi-shell.c @@ -644,16 +644,23

[PATCH weston v3 08/15] ivi-layout: use libweston-desktop api for views

2018-04-10 Thread Michael Teyfel
Signed-off-by: Michael Teyfel --- ivi-shell/ivi-layout.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/ivi-shell/ivi-layout.c b/ivi-shell/ivi-layout.c index d8fb42e..b06bf30 100644 --- a/ivi-shell/ivi-layout.c +++ b/ivi-shell/ivi-layout.c @@ -153,7 +153,10

[PATCH weston v2 15/15] window client: remove ivi-application support

2017-11-06 Thread Michael Teyfel
Signed-off-by: Michael Teyfel --- Makefile.am | 2 -- clients/window.c | 44 +--- 2 files changed, 1 insertion(+), 45 deletions(-) diff --git a/Makefile.am b/Makefile.am index c37cd00b..f30ddbe9 100644 --- a/Makefile.am +++ b/Makefile.am @@ -665,8

[PATCH weston v2 14/15] simple-shm: remove ivi-application support

2017-11-06 Thread Michael Teyfel
Signed-off-by: Michael Teyfel --- Makefile.am | 4 +--- clients/simple-shm.c | 40 2 files changed, 1 insertion(+), 43 deletions(-) diff --git a/Makefile.am b/Makefile.am index f9c8010b..c37cd00b 100644 --- a/Makefile.am +++ b/Makefile.am

[PATCH weston v2 11/15] ivi-shell: create weston_desktop in wet_shell_init

2017-11-06 Thread Michael Teyfel
Signed-off-by: Michael Teyfel --- ivi-shell/ivi-shell.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/ivi-shell/ivi-shell.c b/ivi-shell/ivi-shell.c index 5f64e72d..dc8e6f1d 100644 --- a/ivi-shell/ivi-shell.c +++ b/ivi-shell/ivi-shell.c @@ -677,10 +677,14

[PATCH weston v2 12/15] hmi-controller: register for desktop_surface_configured

2017-11-06 Thread Michael Teyfel
Since ivi-shell now supports xdg-protocol, the surface_created listener can be removed and the desktop_surface_configured listener is needed. ivi-layout: libweston-desktop api is used to send configure event to application. Signed-off-by: Michael Teyfel --- ivi-shell/hmi-controller.c | 70

[PATCH weston v2 10/15] ivi-shell: remove surface_destroy_listener

2017-11-06 Thread Michael Teyfel
Since the surface_destroy_listener is only registered for ivi-shell applications, it should only be removed for ivi-shell applications. Signed-off-by: Michael Teyfel --- ivi-shell/ivi-shell.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ivi-shell/ivi-shell.c b/ivi

[PATCH weston v2 13/15] simple-egl: remove ivi-application support

2017-11-06 Thread Michael Teyfel
Signed-off-by: Michael Teyfel --- Makefile.am | 4 +-- clients/simple-egl.c | 86 2 files changed, 13 insertions(+), 77 deletions(-) diff --git a/Makefile.am b/Makefile.am index 23f79dfe..f9c8010b 100644 --- a/Makefile.am +++ b

[PATCH weston v2 05/15] ivi-layout: introduced configure_desktop_changed

2017-11-06 Thread Michael Teyfel
Introduced signal configure_desktop_changed with interface. This signal should be sent, when a desktop-surface is configured. Signed-off-by: Michael Teyfel --- ivi-shell/ivi-layout-export.h | 10 ++ ivi-shell/ivi-layout-private.h | 1 + ivi-shell/ivi-layout.c | 17

[PATCH weston v2 06/15] ivi-layout: introduced surface create and configure

2017-11-06 Thread Michael Teyfel
Introduced surface create and configure function for xdg-apps. Signed-off-by: Michael Teyfel --- ivi-shell/ivi-layout-shell.h | 8 + ivi-shell/ivi-layout.c | 74 ++-- 2 files changed, 59 insertions(+), 23 deletions(-) diff --git a/ivi-shell

[PATCH weston v2 07/15] ivi-shell: linked libweston-desktop and added structs

2017-11-06 Thread Michael Teyfel
Signed-off-by: Michael Teyfel --- Makefile.am| 1 + ivi-shell/ivi-layout-private.h | 2 ++ ivi-shell/ivi-shell.c | 4 +++- ivi-shell/ivi-shell.h | 2 ++ 4 files changed, 8 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index e9679e68

[PATCH weston v2 08/15] ivi-layout: use libweston-desktop api for views

2017-11-06 Thread Michael Teyfel
Signed-off-by: Michael Teyfel --- ivi-shell/ivi-layout.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/ivi-shell/ivi-layout.c b/ivi-shell/ivi-layout.c index 086d0fd2..6b854503 100644 --- a/ivi-shell/ivi-layout.c +++ b/ivi-shell/ivi-layout.c @@ -153,7 +153,10

[PATCH weston v2 09/15] ivi-shell: added libweston-desktop-api implementation

2017-11-06 Thread Michael Teyfel
Signed-off-by: Michael Teyfel --- ivi-shell/ivi-shell.c | 156 ++ 1 file changed, 156 insertions(+) diff --git a/ivi-shell/ivi-shell.c b/ivi-shell/ivi-shell.c index 84db2c97..e797e4f9 100644 --- a/ivi-shell/ivi-shell.c +++ b/ivi-shell/ivi-shell.c

[PATCH weston v2 03/15] ivi-shell: introduction of IVI_INVALID_ID

2017-11-06 Thread Michael Teyfel
Introduction of IVI_INVALID_ID for xdg-shell applications. Signed-off-by: Michael Teyfel --- ivi-shell/ivi-layout-export.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ivi-shell/ivi-layout-export.h b/ivi-shell/ivi-layout-export.h index 2317d6e9..e1e897ed 100644 --- a/ivi-shell/ivi

[PATCH weston v2 04/15] layout-interface: added interface to change surface id

2017-11-06 Thread Michael Teyfel
This interface enables an id-agent to change the surface ids of an ivi-layout-surface once. Signed-off-by: Michael Teyfel --- ivi-shell/ivi-layout-export.h | 6 ++ ivi-shell/ivi-layout.c| 39 +++ 2 files changed, 45 insertions(+) diff --git a

[PATCH weston v2 02/15] ivi-shell: removed assert

2017-11-06 Thread Michael Teyfel
Removed assert, that checks if ivi-surface is not available, since this can now happen with xdg-shell support. Signed-off-by: Michael Teyfel --- ivi-shell/ivi-shell.c | 1 - 1 file changed, 1 deletion(-) diff --git a/ivi-shell/ivi-shell.c b/ivi-shell/ivi-shell.c index e9ddf9a4..f3156d35 100644

[PATCH weston v2 00/15] Desktop Protocol Support for IVI-Shell

2017-11-06 Thread Michael Teyfel
from hmi-controller. Secondly the weston unit tests should also test the interface changes for surface_set_id and also should stop using the ivi-application protocol. Thanks for reading and questions are very welcome. Best regards Michael Teyfel Advanced Driver Information Technology

[PATCH weston v2 01/15] ivi-shell: rework goto labels to avoid memory leaks

2017-11-06 Thread Michael Teyfel
Signed-off-by: Michael Teyfel --- ivi-shell/ivi-shell.c | 27 ++- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/ivi-shell/ivi-shell.c b/ivi-shell/ivi-shell.c index 67619b8f..e9ddf9a4 100644 --- a/ivi-shell/ivi-shell.c +++ b/ivi-shell/ivi-shell.c

[PATCH weston 5/14] ivi-layout: introduced configure_desktop_changed

2017-10-17 Thread Michael Teyfel
Introduced signal configure_desktop_changed with interface. This signal should be sent, when a desktop-surface is configured. Signed-off-by: Michael Teyfel --- ivi-shell/ivi-layout-export.h | 10 ++ ivi-shell/ivi-layout-private.h | 1 + ivi-shell/ivi-layout.c | 17

[PATCH weston 03/14] ivi-shell: introduction of IVI_INVALID_ID

2017-10-17 Thread Michael Teyfel
Introduction of IVI_INVALID_ID for xdg-shell applications. Signed-off-by: Michael Teyfel --- ivi-shell/ivi-layout-export.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ivi-shell/ivi-layout-export.h b/ivi-shell/ivi-layout-export.h index 2317d6e..e1e897e 100644 --- a/ivi-shell/ivi-layout

[PATCH weston 04/14] layout-interface: added interface to change surface id

2017-10-17 Thread Michael Teyfel
This interface enables an id-agent to change the surface ids of an ivi-layout-surface once. Signed-off-by: Michael Teyfel --- ivi-shell/ivi-layout-export.h | 6 ++ ivi-shell/ivi-layout.c| 39 +++ 2 files changed, 45 insertions(+) diff --git a

[PATCH weston 00/14] Desktop Protocol Support for IVI-Shell

2017-10-17 Thread Michael Teyfel
protocol. Thanks for reading and questions are very welcome. Best regards Michael Teyfel Advanced Driver Information Technology GmbH Engineering Software Base (ADITG/ESB) Robert-Bosch-Str. 200 31139 Hildesheim Germany Tel. +49 5121 49 6932 Fax +49 5121 49 6999 mtey...@de.adit-jv.com ADIT is a

[PATCH weston 01/14] ivi-shell: rework goto labels to avoid memory leaks

2017-10-17 Thread Michael Teyfel
Signed-off-by: Michael Teyfel --- ivi-shell/ivi-shell.c | 27 ++- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/ivi-shell/ivi-shell.c b/ivi-shell/ivi-shell.c index 67619b8..e9ddf9a 100644 --- a/ivi-shell/ivi-shell.c +++ b/ivi-shell/ivi-shell.c @@ -497,44

[PATCH weston 02/14] ivi-shell: removed assert

2017-10-17 Thread Michael Teyfel
Removed assert, that checks if ivi-surface is not available, since this can now happen with xdg-shell support. Signed-off-by: Michael Teyfel --- ivi-shell/ivi-shell.c | 1 - 1 file changed, 1 deletion(-) diff --git a/ivi-shell/ivi-shell.c b/ivi-shell/ivi-shell.c index e9ddf9a..f3156d3 100644

[PATCH weston 11/14] hmi-controller: register for desktop_surface_configured

2017-10-17 Thread Michael Teyfel
Since ivi-shell now supports xdg-protocol, the surface_created listener can be removed and the desktop_surface_configured listener is needed. ivi-layout: libweston-desktop api is used to send configure event to application. Signed-off-by: Michael Teyfel --- ivi-shell/hmi-controller.c | 70

[PATCH weston 12/14] simple-egl: remove ivi-application support

2017-10-17 Thread Michael Teyfel
Signed-off-by: Michael Teyfel --- Makefile.am | 4 +-- clients/simple-egl.c | 86 2 files changed, 13 insertions(+), 77 deletions(-) diff --git a/Makefile.am b/Makefile.am index 23f79df..f9c8010 100644 --- a/Makefile.am +++ b

[PATCH weston 14/14] window client: remove ivi-application support

2017-10-17 Thread Michael Teyfel
Signed-off-by: Michael Teyfel --- Makefile.am | 2 -- clients/window.c | 44 +--- 2 files changed, 1 insertion(+), 45 deletions(-) diff --git a/Makefile.am b/Makefile.am index c37cd00..f30ddbe 100644 --- a/Makefile.am +++ b/Makefile.am @@ -665,8

[PATCH weston 13/14] simple-shm: remove ivi-application support

2017-10-17 Thread Michael Teyfel
Signed-off-by: Michael Teyfel --- Makefile.am | 4 +--- clients/simple-shm.c | 40 2 files changed, 1 insertion(+), 43 deletions(-) diff --git a/Makefile.am b/Makefile.am index f9c8010..c37cd00 100644 --- a/Makefile.am +++ b/Makefile.am

[PATCH weston 10/14] ivi-shell: create weston_desktop in wet_shell_init

2017-10-17 Thread Michael Teyfel
Signed-off-by: Michael Teyfel --- ivi-shell/ivi-shell.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/ivi-shell/ivi-shell.c b/ivi-shell/ivi-shell.c index a634ab8..74aa60a 100644 --- a/ivi-shell/ivi-shell.c +++ b/ivi-shell/ivi-shell.c @@ -693,10 +693,14

[PATCH weston 8/14] ivi-shell: added libweston-desktop-api implementation

2017-10-17 Thread Michael Teyfel
Signed-off-by: Michael Teyfel --- ivi-shell/ivi-shell.c | 172 ++ 1 file changed, 172 insertions(+) diff --git a/ivi-shell/ivi-shell.c b/ivi-shell/ivi-shell.c index 84db2c9..049aa43 100644 --- a/ivi-shell/ivi-shell.c +++ b/ivi-shell/ivi-shell.c

[PATCH weston 9/14] ivi-shell: remove surface_destroy_listener

2017-10-17 Thread Michael Teyfel
Since the surface_destroy_listener is only registered for ivi-shell applications, it should only be removed for ivi-shell applications. Signed-off-by: Michael Teyfel --- ivi-shell/ivi-shell.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ivi-shell/ivi-shell.c b/ivi

[PATCH weston 7/14] ivi-shell: linked libweston-desktop and added structs

2017-10-17 Thread Michael Teyfel
Signed-off-by: Michael Teyfel --- Makefile.am| 1 + ivi-shell/ivi-layout-private.h | 2 ++ ivi-shell/ivi-shell.c | 4 +++- ivi-shell/ivi-shell.h | 2 ++ 4 files changed, 8 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index e9679e6

[PATCH weston 6/14] ivi-layout: introduced surface create and configure

2017-10-17 Thread Michael Teyfel
Introduced surface create and configure function for xdg-apps. Signed-off-by: Michael Teyfel --- ivi-shell/ivi-layout-shell.h | 8 + ivi-shell/ivi-layout.c | 74 ++-- 2 files changed, 59 insertions(+), 23 deletions(-) diff --git a/ivi-shell

[PATCH weston] ivi-shell: Added tests for screen-remove-layer API

2017-07-26 Thread Michael Teyfel
Two cases are tested: success and fail case of the screen-remove-layer API. Signed-off-by: Michael Teyfel --- tests/ivi_layout-internal-test.c | 69 1 file changed, 69 insertions(+) diff --git a/tests/ivi_layout-internal-test.c b/tests/ivi_layout

[PATCH weston] ivi-shell: Added tests for screen-remove-layer API

2017-07-25 Thread Michael Teyfel
Two cases are tested: success and fail case of the screen-remove-layer API. Signed-off-by: Michael Teyfel --- tests/ivi_layout-internal-test.c | 62 1 file changed, 62 insertions(+) diff --git a/tests/ivi_layout-internal-test.c b/tests/ivi_layout

[PATCH] ivi-shell: Fixed broken link to wiki page in ivi-layout header file

2017-07-25 Thread Michael Teyfel
Signed-off-by: Michael Teyfel --- ivi-shell/ivi-layout-export.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ivi-shell/ivi-layout-export.h b/ivi-shell/ivi-layout-export.h index afbb110..277ac59 100644 --- a/ivi-shell/ivi-layout-export.h +++ b/ivi-shell/ivi-layout-export.h