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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
50 matches
Mail list logo