summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* 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>
* EGLWLInputEventExample: don't compile WaylandServerinfoProtocol source codesEmre Ucan2015-12-011-2/+0
| | | | Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* EGLWLInputEventExample: remove WaylandServerinfoProtocol implementationEmre Ucan2015-12-011-27/+0
| | | | | | | | WaylandServerinfoProtocol is used for old LayerManager component. It is not required to use with weston-ivi-shell. Therefore, I removed the implementation. Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* ilmControl: don't cast used variables to voidEmre Ucan2015-12-011-4/+0
| | | | Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* multi-touch-viewer: add EGL_CFLAGS definitionsEmre Ucan2015-12-011-0/+2
| | | | | | | EGL_CFLAGS may include platform dependent definitions, which are required to successfully build the application. Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* EGLWLMockNavigation: add EGL_CFLAGS definitionsEmre Ucan2015-12-011-0/+2
| | | | | | | EGL_CFLAGS may include platform dependent definitions, which are required to successfully build the application. Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* ivi-controller: fixed screenshot function to capture current frameMitul Chokshi2015-11-041-7/+49
| | | | | | | | | | | With earlier implementation read_pixels was called without weston_output_schedule_repaint, causing screenshot to have image of previously triggered screenshot event. & first screenshot was always blank. Now we add frame listener, call weston_output_schedule_repaint and then capture the screenshot in the frame listener. Signed-off-by: Mitul Chokshi <mitul.chokshi@intel.com>
* Bump version to 1.5.0 for the official release1.5.0Nobuhiko Tanibata2015-10-011-2/+2
| | | | Signed-off-by: Nobuhiko Tanibata <nobuhiko_tanibata@xddp.denso.co.jp>
* tests: fix compiler warningsEmre Ucan2015-09-304-12/+12
| | | | Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* multi-touch-viewer: an example to receive multi touch and display them asNobuhiko Tanibata2015-09-308-0/+1802
| | | | | | | | | | points. This example provides us how to receive multi touch and handle them for own application. This shows multi touch as points with differenct color. Signed-off-by: Nobihiko Tanibata <ntanibata@jp.adit-jv.com>
* Bump version to 1.4.931.4.93Nobuhiko Tanibata2015-09-241-2/+2
| | | | Signed-off-by: Nobuhiko Tanibata <nobuhiko_tanibata@xddp.denso.co.jp>
* protocol: update required wayland/weston version to 1.9Emre Ucan2015-09-242-4/+4
| | | | | | | | | 1. weston_seat interface is changed at version 1.9 and it is not compatible with 1.8 2. Surface clipping works in version 1.9 of weston. 3. Some bugfixes are landed in version 1.9. Signed-off-by: Emre Ucan <eucan@de.adit-jv.com> Signed-off-by: Nobuhiko Tanibata <ntanibata@jp.adit-jv.com>
* ivi-input: adjust for v1.9 weston_seat interfaceEmre Ucan2015-09-241-18/+28
| | | | | | | weston_seat data structure is changed at weston v1.9, and new APIs are included. I adjusted ivi-input implementation so that it works with the weston v1.9 Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* ivi-controller: remove struct link_shell_weston_surfaceEmre Ucan2015-09-221-8/+0
| | | | | | Because it is not used. Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* ivi-controller: remove unused members of ivishell structEmre Ucan2015-09-222-27/+0
| | | | Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* ivi-controller: remove struct ivicontroller_layerEmre Ucan2015-09-222-116/+32
| | | | Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* ivi-controller: remove struct ivicontroller_screenEmre Ucan2015-09-222-100/+16
| | | | Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* ivi-controller: remove struct ivicontroller_surfaceEmre Ucan2015-09-222-127/+30
| | | | Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* ilmControl: remove failed to get surface/layer context in ilmControl error ↵Emre Ucan2015-09-221-2/+0
| | | | | | | | | | | | | | message When an ilmControl session gets the controller_listener_surface event after an application created an ivi_surface, it controls the existence of the surface with the get_surface_context internal API. It is expected that the surface does not exist. The same is true also for wayland_controller_get_layer_context API. Therefore, these error messages are redundant and confusing. Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* Bump version to 1.4.921.4.92Nobuhiko Tanibata2015-09-101-2/+2
| | | | Signed-off-by: Nobuhiko Tanibata <nobuhiko_tanibata@xddp.denso.co.jp>