clients: set title for IVI applications

Change-Id: I56aa6c1a58faf37c5571ed02373598dfa7cf2993
Signed-off-by: Janos Kovacs <jankovac503@gmail.com>
ivi-shell/layout: add get_weston_surface() function to ivi_layout_interface

Change-Id: If6c60f71ccff184a485895511d50837a04e2658c
Signed-off-by: Janos Kovacs <jankovac503@gmail.com>
ivi-shell: add get_wl_shell_info() function

	get_wl_shell_info() is meant to be used by controllers
	to access shell related data such as pid of the surface
	creator and the title of the surface.

Change-Id: I8aa9090ba9e655e87d02d07e8f6bad2792db3149
Signed-off-by: Janos Kovacs <jankovac503@gmail.com>
ivi-application protocol: adding id_surface argument to wl_shell_info event

Change-Id: I17f306884ef58b6b0fdafadb31848f1a80337de0
Signed-off-by: Janos Kovacs <jankovac503@gmail.com>
clients: support for --no-ivi-surface command line option

Change-Id: Ia1345b1366f2cc831bd5a912edbc6893cfa2ef24
Signed-off-by: Janos Kovacs <jankovac503@gmail.com>
clients: listen to wl_shell_surface events

Change-Id: I4e6908b59caa881fdf10f772996e2d88aeaefdb5
Signed-off-by: Janos Kovacs <jankovac503@gmail.com>
ivi-shell: configure the ivi surface when created

Change-Id: I39c155b5430d6da191e87f60bf7aee30cbbacb16
Signed-off-by: Janos Kovacs <jankovac503@gmail.com>
ivi-shell: fix the layout-layer clearing in commit_list_screen()

	The original implementation initialized the list-head of
	the layer's view_list and re-built the list by adding
	the views of the visible surfaces to the list. This left
	the layer_link of non-visible views to point to their
	neighbours in the previous arrangement. This was no problem
	as long as those views were not unmapped or destructed,
	eg. a non-visible surface was removed.

	The fixed version goes through on the list and initializes
	the layer_link's making view destructions and unmappings safe.

Change-Id: I93b1398064228b5189782ac9030ff9515abd5283
Signed-off-by: Janos Kovacs <jankovac503@gmail.com>
ivi-shell: start to use weston_view_unmap()

Change-Id: I777e491cca44c7bdd73da51538065f1c2dbad90e
Signed-off-by: Janos Kovacs <jankovac503@gmail.com>
ivi-shell: add background to outputs

Change-Id: I0c01533e0ac23ca5874b8da7c665c8f4e751bbd6
Signed-off-by: Janos Kovacs <jankovac503@gmail.com>
ivi-shell: make the background color configurable

        the background-color entry in the ivi-shell-section defines
        the color of the background. Example:
                [ivi-shell]
                   ...
                background-color=1.0, 1.0, 1.0
        which defines a white background.

        If the background-color entry is missing or the definition is
        not correct the background will be black.

Change-Id: I9c976d66396ddb0a2f9def401387111a3eb0e09a
Signed-off-by: Janos Kovacs <jankovac503@gmail.com>
ivi-shell: fix commiting in ivi-layer when render order changes

Change-Id: I18d4ab616f42d3f56a81d96b420fae7d422615d4
Signed-off-by: Janos Kovacs <jankovac503@gmail.com>
ivi-shell: use float consistently for opacity properties in ivi-layer

Change-Id: I238dbc25b5d042c4cad6c1fd35fd7fd2b8f32bd3
Signed-off-by: Janos Kovacs <jankovac503@gmail.com>
ivi-shell: make 'extern' the definition of ivi_layout_interface in H file

	the lack of 'extern' keyword at the definition of
	ivi_layout_interface in the H file resulted a local,
	empty duplicate of the struct whenever the H file was
	included. This duplicate shadowed the original function
	table and since it was all empty it resulted crashes whenever
	someone tried to use it.

	Modules that access the same table via dlopen/dlsym functioned
	properly however.

Change-Id: I5ffaea7be1618b62ff7416f01660aa47b3884ba6
Signed-off-by: Janos Kovacs <jankovac503@gmail.com>
ivi-layout: maintain a pointer to weston_view in 'struct ivi_layout'

Change-Id: Ic61c01615571becc16cf607342f7f5be2b5f302a
Signed-off-by: Janos Kovacs <jankovac503@gmail.com>
ivi-layout: remove premature reset of surface event_mask

The surface event mask was reset in surface_prop_changed() that is
the bridging function to deliver the property change signal. Due
to the premature reset only the first notification on the subscriber
list had the correct the event mask.

Change-Id: I68bb53c4eb5d0873ca631ea7faa5574c2cbfbe53
Signed-off-by: Janos Kovacs <jankovac503@gmail.com>
ivi-layout: extending ivi_layout_interface

the following functions added to the interface:
	surfaceFind()
	surfaceAddNotification
	surfaceRemoveNotification

Change-Id: I2fae6261e2a161183e7594a72cb9c19acf5d1b35
Signed-off-by: Janos Kovacs <jankovac503@gmail.com>
ivi-shell-ext: send geometry hints to clients

Change-Id: Iacb816def8c2f5daa20529e53b60a2faeb382b8e
Signed-off-by: Janos Kovacs <jankovac503@gmail.com>