[PATCH 2/2] ivi-shell: rewrite controller API

2014-12-14 Thread Nobuhiko Tanibata
This fixes the breakage caused by "ivi-shell: make ivi-layout.c as a part of ivi-shell.so" hmi-controller.c: A reference implementation of controller module does not use the layout functions directly. This get function pointers at controller_module_init which called by ivi-shell. ivi-layout-expor

[PATCH 1/2] ivi-shell: make ivi-layout.c as a part of ivi-shell.so

2014-12-14 Thread Nobuhiko Tanibata
ivi-layout.so is separately built and loaded by using dlopen with RTLD_GLOBAL. This was because these apis defined in ivi-layout.so shall be used by ivi-modules; e.g. hmi-controller. This shall be improved that a struct ivi_layout_api contains the whole exported API as function pointers to be expos

[PATCH] ivi-shell: several ivi-layout interfaces moved accross source.

2014-12-14 Thread Nobuhiko Tanibata
Interfaces for properties setting shall be implemented in ivi-layout. Signed-off-by: Nobuhiko Tanibata --- ivi-shell/ivi-layout-transition.c | 66 -- ivi-shell/ivi-layout.c| 67 +++ 2 files changed, 67 insertions

[PATCH] ivi-shell: reordering method in ivi_layout.c

2014-12-14 Thread Nobuhiko Tanibata
In the future, re-alignmenet of WL_EXPORT per method should be done. For that work, re-ordering is required to be used by another method. Signed-off-by: Nobuhiko Tanibata --- ivi-shell/ivi-layout.c | 171 + 1 file changed, 86 insertions(+), 85 dele

[PATCH] ivi-shell: clean up unnecesary header

2014-12-14 Thread Nobuhiko Tanibata
Signed-off-by: Nobuhiko Tanibata --- ivi-shell/ivi-layout.c | 5 - ivi-shell/ivi-shell.c | 5 - 2 files changed, 10 deletions(-) diff --git a/ivi-shell/ivi-layout.c b/ivi-shell/ivi-layout.c index 5d89eb0..67ccf6e 100644 --- a/ivi-shell/ivi-layout.c +++ b/ivi-shell/ivi-layout.c @@ -53,12

[PATCH] ivi-shell: clean-up transition animation code.

2014-12-14 Thread Nobuhiko Tanibata
ivi_layout_transition_layer_render_order is not necesary called. Remove the method and methods called by it. Signed-off-by: Nobuhiko Tanibata --- ivi-shell/hmi-controller.c| 5 - ivi-shell/ivi-layout-transition.c | 194 -- 2 files changed, 199 deleti