summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Bump version 1.10.90 pre-release of 1.11.01.10.90Wataru Natsume2016-06-291-2/+2
| | | | | | | | | | This fixes following: - Fix license relevant code - Remove update_layer/surface_prop - Refactor send_layer/surface_add_event - Adapt to wayland 1.11 Signed-off-by: Wataru Natsume <wataru_natsume@xddp.denso.co.jp>
* ivi-input: modify pointer grab functions for weston 1.11Emre Ucan2016-06-281-54/+75
| | | | | | | | | | | | | | | | | New grab interfaces are added: - pointer_grab_axis - pointer_grab_axis_source - pointer_grab_frame New static pointer_move function is implemented, because the new interfaces of weston_pointer_move does not accept absolute coordinates. We need to move the pointer when we set pointer focus to a surface. Furthermore, pointer motion and button grab interfaces are refactored to use new weston_pointer_focus_client data struct. Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* ivi-input: modify to use v1.11 ivi_layout_interfaceEmre Ucan2016-06-281-45/+56
| | | | | | | 1. Use ivi-layout-export.h which is installed by weston. 2. Use new listener APIs. Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* ivi-controller: add ADIT copyrightEmre Ucan2016-06-281-0/+1
| | | | Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* ivi-controller: rename ivi-controller-impl.c as ivi-controller.cEmre Ucan2016-06-282-1/+1
| | | | Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* ivi-controller: delete ivi-extension and its header filesEmre Ucan2016-06-285-2044/+0
| | | | Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* cmake: don't compile ivi-extension.cEmre Ucan2016-06-281-1/+1
| | | | | | it is not used in 1.9.91 version Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* ivi-controller: modify to use v1.11 ivi_layout_interfaceEmre Ucan2016-06-281-112/+156
| | | | | | | | | 1. Use ivi_layout_interface directly without ivi-extension APIs 2. Use weston_output for IVI Screen APIs. 3. Remove content_observer because IVI Layout API is removed 4. Use new listener APIs instead of notification APIs Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* ivi-controller: copy ivishell struct from ivi-extensionEmre Ucan2016-06-281-0/+11
| | | | Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* ivi-controller: copy controller_module init to ivi-controllerEmre Ucan2016-06-281-0/+80
| | | | | | | it is copied from ivi-extension.c, because ivi-extension.c will be removed. Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* ivi-controller: don't use local copy of ivi-layout-export.hEmre Ucan2016-06-281-3/+1
| | | | Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* cmake: bump required wayland version to 1.11Emre Ucan2016-06-282-4/+4
| | | | Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* layer-add-surfaces: choose display with highest resolutionEmre Ucan2016-06-281-5/+35
| | | | | | | | | Currently, the display 0 is used in layer-add-surfaces. It is better to use the display with highest resolution than using a hard-coded ID. Because the highest display is most likely the main display. Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* EGLWLInputEventExample: convert enter event coordinates from wl_fixed to intEmre Ucan2016-06-281-1/+2
| | | | | | Otherwise the printed out values are wrong Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* ivi-controller: do refactor send_layer_add_eventWataru Natsume2016-06-211-12/+11
| | | | | | | Check logic should be improved because iviscrn is never null. Besides, do not iterate over empty list like send_surface_add_event. Signed-off-by: Wataru Natsume <wataru_natsume@xddp.denso.co.jp>
* ivi-controller: do refactor send_surface_add_eventWataru Natsume2016-06-211-12/+7
| | | | | | Check logic should be improved because ivilayer is never null. Signed-off-by: Wataru Natsume <wataru_natsume@xddp.denso.co.jp>
* ivi-controller: do not iterate over empty list in send_surface_add_eventMateusz Polrola2016-05-301-0/+4
| | | | | | | | | | | | Iterating over empty list will modify first value passed to wl_list_for_each, but that won't be valid list entry, which in case of send_surface_add_even leads to crash. V2 change: Use break instead of continue Signed-off-by: Mateusz Polrola <mateuszx.potrola@intel.com> Signed-off-by: Wataru Natsume <wataru_natsume@xddp.denso.co.jp>
* ivi-controller: remove update_layer_propEmre Ucan2016-05-301-42/+0
| | | | | | | | The update_layer_prop function only updates on_screen member of ivilayer struct. But on_screen member is never used. Therefore, I removed the function and the member. Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* ivi-controller: remove update_surface_propEmre Ucan2016-05-301-42/+0
| | | | | | | | The update_surface_prop function only updates on_layer member of ivisurf struct. But on_layer member is never used. Therefore, I removed the function and the member. Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* license: remove the license of IlmMatrix from LICENSE fileEugen Friedrich2016-04-201-18/+0
| | | | | | | | | This patch removes the IlmMatrix license, and fixes: http://bugs.genivi.org/show_bug.cgi?id=432. Signed-off-by: Emre Ucan <eucan@de.adit-jv.com> Signed-off-by: Eugen Friedrich <efriedrich@de.adit-jv.com>
* EGLWLMockNavigation: remove IlmMatrix source codeEmre Ucan2016-04-192-364/+0
| | | | | | | IlmMatrix source code is removed, because it has a different license than the license of wayland-ivi-extension (i.e Apache 2.0). Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* EGLWLMockNavigation: remove IlmMatrix dependencyEmre Ucan2016-04-1913-45/+134
| | | | | | | | | | | | | IlmMatrix dependency is removed, because it has a different license than the license of wayland-ivi-extension (i.e Apache 2.0). This license problem is reported by Jeremiah C. Foster. He also raised the ticket "BUG 432" in http://bugs.genivi.org/ I replaced the IlmMatrix implementation with my own implementation to fix the issue. Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* Bump version 1.9.1 bug fix release1.9.1Eugen Friedrich2016-04-071-2/+2
| | | | | | | | | | | | | this fixes following: - double free and memory leaks - handle removing of ilm surfaces and layers properly - destroying of ilm_layers - parallel build issues - build install directories for 64 bit(LIB_SUFFIX variable in the libraries install path) - pid of the creator of ilm object is reported in creator field not pid of the requester - fix compiler warnings Signed-off-by: Eugen Friedrich <efriedrich@de.adit-jv.com>
* ivi-controller: fix memory leak at update_surface_propEmre Ucan2016-04-071-0/+3
| | | | | | | | | | ivi_layout_get_get_layers_under_surface allocates memory. It is responsibility of the caller to free this memory, as it is stated in ivi-layout.c Therefore, the memory should be freed in the end of the function Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* ivi-controller: wait clients before freeing ivisurfEmre Ucan2016-04-071-6/+17
| | | | | | | | | We have to wait before freeing ivisurf that all clients destroy their proxies. Otherwise, a client could send an event to the ivisurf just after we destroyed it. This would cause a race condition and potentially SEGV. Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* ivi-controller: wait clients before freeing ivilayerEmre Ucan2016-04-071-10/+22
| | | | | | | | | | | | | | We have to wait before freeing ivilayer that all clients destroy their proxies. Otherwise, a client could send an event to the ivilayer just after we destroyed it. This would cause a race condition and potentially SEGV. Furthermore, the layout_layer pointer of ivilayer set to NULL after ivilayer freed in the old implementation. Therefore, old implementation writes 4 bytes to invalid location. This implementation also solves the invalid write problem by moving the free code. Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* ilmControl: destroy ivi_controller_layer proxyEmre Ucan2016-04-071-0/+3
| | | | | | | Destroy the ivi_controller_layer proxy before destroying ctx_layer data struct to avoid memory leak. Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* simple-ivi-share: fix compiler warningsEmre Ucan2016-04-071-3/+4
| | | | | | | | I fixed several compiler warnings: -Wreturn-type -Wunused-value Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* ivi-controller: fixed string copy in controller_screen_screenshotMateusz Polrola2016-03-311-2/+1
| | | | | | | | | | With earlier implementation memory for NULL byte of l->filename string was not being allocated by malloc (strlen is returning length of string without NULL terminating byte) which may result in some random characters appended in filename string. Now strdup is begin used for string copy instead of malloc/strcpy. Signed-off-by: Mateusz Polrola <mateuszx.potrola at intel.com>
* cmake: use LIB_SUFFIX variable for LIBRARY DESTINATIONEugen Friedrich2016-03-296-6/+6
| | | | | | | | | | this patch will allow to install the modules and libraries in correct library directory e.g. if we are built for 64 bit architecture libraries are installed in /lib$LIB_SUFFIX weston modules are installed in /lib$LIB_SUFFIX/weston Signed-off-by: Eugen Friedrich <efriedrich@de.adit-jv.com>
* ivi-controller: don't send content removed eventEmre Ucan2016-03-211-1/+0
| | | | | | | It is unnecessary to send content removed event to the controller. It is enough to send destroyed event. Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* ilmControl: don't free surface context twiceEmre Ucan2016-03-211-25/+9
| | | | | | | I moved the cleanup code from content listener to destroyed listener, so that we can avoid double free. Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* cmake: fix parallel make in example programs buildEugen Friedrich2016-03-212-27/+2
| | | | | | | | - This avoids redefining the generation of protocol files during build of examples - Add depedency to header and c files generated from the protocols to fix build issues Signed-off-by: Frederico Cadete <frederico.cadete@awtce.be> Reviewed-by: Eugen Friedrich <efriedrich@de.adit-jv.de>
* ivi-controller: Send process ID that created surface to client.Wataru Natsume2016-03-211-1/+9
| | | | | | createPid should be a pid of process that creates surface. Signed-off-by: Wataru Natsume <wnatsume@jp.adit-jv.com>
* ivi-controller: simplify get_layers functionEmre Ucan2016-03-041-22/+11
| | | | Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* ivi-controller: simplify get_surface functionEmre Ucan2016-03-041-19/+11
| | | | Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* ivi-input: cmake: remove unneeded include and library dirsEugen Friedrich2016-03-041-2/+0
| | | | | | | | the are two reasons to remove the directories: they are not needed preventing CMake warnings for cross compiling (path is resolved for host) Signed-off-by: Eugen Friedrich <efriedrich@de.adit-jv.com>
* Fix README for new ivi-input-controller module loadingJames Thomas2016-02-051-1/+2
| | | | Signed-off-by: James Thomas <james.thomas at codethink.co.uk>
* ivi-controller: don't send wrong layer resource to clientEmre Ucan2016-02-051-1/+5
| | | | | | | | | | | It is wrong to send surface_send_layer event with resources of every client. Instead, the event should only sent once with the layer resource of client, which owns also the surface resource. Otherwise a wayland communication error happens, because a client gets a surface_send_layer event with a resource which is owned by another client. Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* ilmControl: fix wrong order of ilm_getScreenIDs output arrayEmre Ucan2016-02-051-1/+3
| | | | | | | Compositor sends screens in opposite order. write ids from back to front to turn them around. Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* Bump version to 1.9.0 for the official release.1.9.0Nobuhiko Tanibata2015-12-251-2/+2
| | | | | | | | | This would be proposed as a version to GENIVI Compliant 10, Leviathan. Additionally, to reduce the confusion which version of Wayland-IVI-Extension shall be dependent on Wayland/Weston, the version is synchroized with Wayland/Weston version from now. Signed-off-by: Nobuhiko Tanibata <ntanibata@jp.adit-jv.com>
* ivi-layermanagement-examples: an example of ivi_share protocolNobuhiko Tanibata2015-12-233-0/+811
| | | | Signed-off-by: Nobuhiko Tanibata <ntanibata@jp.adit-jv.com>
* ivi-share: Initial implementation of ivi_share protocol.Nobuhiko Tanibata2015-12-237-0/+1065
| | | | | | It uses libgbm to handle id to share graphic buffer inter processes. Signed-off-by: Nobuhiko Tanibata <ntanibata@jp.adit-jv.com>
* protocol: Add new protocol to share ivi-surfaceNobuhiko Tanibata2015-12-231-0/+139
| | | | | | | | ivi-share.xml to share buffer from client to Host application. It also allows Host application to send transformed input event to client application. Signed-off-by: Nobuhiko Tanibata <ntanibata@jp.adit-jv.com>
* ivi-input: send touch events in surface coordinatesEmre Ucan2015-12-181-2/+14
| | | | | | | | | | | The clients should always get the touch events in surface coordinate system and not the global coordinate system. Therefore, the global positions are transformed to local positions with weston_view_from_global_fixed API. Signed-off-by: Emre Ucan <eucan@de.adit-jv.com> Signed-off-by: Nobuhiko Tanibata <ntanibata@jp.adit-jv.com>
* readme: add How to test section and remove outdated informationEmre Ucan2015-12-161-12/+20
| | | | Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* ivi-input-controller: restructure directory to build and a way to specify ↵Nobuhiko Tanibata2015-12-056-8/+48
| | | | | | | | | | | the shared library. ivi-input-controller shall work with ivi-controller.so not solely. So the patch proposes a way to specify it as a ivi-input-module in weston.ini. The shared library, ivi-input-controller.so, is loaded by ivi-controller.so. Signed-off-by: Nobuhiko Tanibata <ntanibata@jp.adit-jv.com>
* EGLWLMockNavigation: delete WaylandServerinfoProtocol source codesEmre Ucan2015-12-012-143/+0
| | | | Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* EGLWLMockNavigation: don't compile WaylandServerinfoProtocol source codeEmre Ucan2015-12-011-1/+0
| | | | Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* EGLWLInputEventExample: delete WaylandServerinfoProtocol source codesEmre Ucan2015-12-012-143/+0
| | | | Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>