Find a file
Nobuhiko Tanibata ee8e5830be ivi-shell: rewrite controller API
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-export.h:
Definition of interfaces in a struction: ivi_controller_interface.
function pointers are set at ivi-layout.c.

ivi-layout-private.h:
Definition of some interfaces are remove bucause it is implemented in
ivi-layout.c and set it as function pointer. Several interfaces are kept
here because they are implemented in ivi-layout.c/transition.c but used
in other files.

ivi-layout-transition.c:
remove WL_EXPORT because export is not needed anymore.
remove unnesesary unsed method.

ivi-shell.c:
call controller_module_init of hmi-controller to init it and set
function pointers. If the interface_version is equal or
greater than what hmi_controller was built with, things are pass.
If the interface_version is smaller than what the controller expects,
it has to fail because it cannot work. This is followed the manner,

- never remove a function pointer
- never modify an existing function signature
- additions are allowed at the end of struct ivi_controller_interface
- all function pointers must always be populated and working in
  ivi-shell.so (ivi-layout.c etc.)

Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp>
Acked-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
2014-12-15 16:50:48 +02:00
clients window: use roundtrip instead of dispatch after get_registry 2014-12-12 13:57:05 +02:00
data data: add reference image files for weston-ivi-shell-user-interface 2014-12-04 17:24:54 +02:00
desktop-shell compositor: Implement JSON-timeline logging 2014-12-08 15:02:56 +02:00
fullscreen-shell compositor: Refactor weston_output_mode_switch() 2014-11-05 13:15:13 +02:00
ivi-shell ivi-shell: rewrite controller API 2014-12-15 16:50:48 +02:00
m4 weston-build: Fix aclocal error during autogen.sh 2014-06-21 10:33:21 -07:00
man man: explain idle-time=0 in weston.ini 2014-11-21 16:11:44 +02:00
protocol protocol: ivi hmi controller protocol to set up IVI style UI 2014-12-04 17:13:41 +02:00
shared cairo-util: fix shadows for small clients 2014-11-19 15:46:30 +02:00
src compositor: Propagate errors from module_init 2014-12-15 16:10:09 +02:00
tests tests: Fix minor typo 2014-12-10 18:33:47 -08:00
wcap wcap: Check for mmap and malloc return value in wcap decode module 2014-05-06 15:21:27 -07:00
xwayland xwm: fix a crash in handle_state 2014-12-11 17:21:06 +02:00
.gitignore clients: a reference implementation of UI client how to use ivi-hmi-controller. 2014-12-04 17:13:42 +02:00
autogen.sh Update autotools configuration 2010-11-06 21:04:03 -04:00
configure.ac ivi-shell: add IVI layout APIs 2014-12-04 17:13:41 +02:00
COPYING Add COPYING 2012-04-25 10:17:42 -04:00
Makefile.am ivi-shell: make ivi-layout.c as a part of ivi-shell.so 2014-12-15 16:43:55 +02:00
notes.txt Add informal notes file 2012-10-25 15:00:42 -04:00
README README: Fix typo; add link to testing docs 2014-02-05 17:20:24 -08:00
releasing.txt releasing: update web host name 2014-10-08 12:12:41 +01:00
weston.ini.in libinput: Add tap configuration to weston.ini 2014-08-15 15:33:55 +03:00

Weston

Weston is the reference implementation of a Wayland compositor, and a
useful compositor in its own right.  Weston has various backends that
lets it run on Linux kernel modesetting and evdev input as well as
under X11.  Weston ships with a few example clients, from simple
clients that demonstrate certain aspects of the protocol to more
complete clients and a simplistic toolkit.  There is also a quite
capable terminal emulator (weston-terminal) and an toy/example desktop
shell.  Finally, weston also provides integration with the Xorg server
and can pull X clients into the Wayland desktop and act as a X window
manager.

Refer to http://wayland.freedesktop.org/building.html for building
weston and its dependencies.

The test suite can be invoked via `make check`; see
http://wayland.freedesktop.org/testing.html for additional details.