summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Bump version to 1.11.1 bugfix release1.11.11.11Emre Ucan2017-06-161-2/+2
| | | | | | | We fixed this release several crashes and memory corruptions in 1.11 stable release Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* Fix crash when surface already focusedFlorian Hänel2017-06-161-7/+8
| | | | | | | when the surface has touch-focus on the local screen and you touch on the remote screen for some reason it can't find the resource for the client. it will run off the endi of the list and target_resource will be an invalid pointer.
* MockNavi: fixed selection between xdg- and ivi-shellMichael Teyfel2017-06-161-3/+1
| | | | | | Before the application tried to register as xdg- and ivi-shell application Signed-off-by: Michael Teyfel <mteyfel@de.adit-jv.com>
* ilmControl: fix memory corruption at input listenerEmre Ucan2017-06-161-1/+1
| | | | | | | Allocate memory in the size of accepted_seat struct instead of size of a pointer of the struct Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* ilmControl: fix memory leak at deinitializationEmre Ucan2017-06-161-1/+1
| | | | | | | | Check ctx->wl.controller for not null. If it is null, we cannot destroy any wayland objects. The if statement is wrong. Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* Fix ivi-application lib installRonan Le Martret2017-06-161-0/+2
| | | | | | | | * libivi-application.so must be a link to libivi-application.so.X.X.XX * fix yocto package QA Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
* ivi-share: fix compilation issueEmre Ucan2017-06-163-7/+5
| | | | | | | | | | The ivi-controller.so does not compile, if ivi_share is activated. Because it includes a non existing header file. The ivi-controller-interface is renamed to ivi-layout-interface, and its contents moved to ivi-layout-export.h Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* Merge remote-tracking branch 'upstream/pull/8'1.11.0Eugen Friedrich2016-11-181-2/+2
|\ | | | | | | | | | | | | | | | | | | * upstream/pull/8 Bump version to 1.11.0 stable release Reviewed-by: Eugen Friedrich <efriedrich@de.adit-jv.com> Reviewed-by: Wataru Natsume <wataru_natsume@xddp.denso.co.jp> Acked-by: Wataru Natsume <wataru_natsume@xddp.denso.co.jp> Acked-by: Emre Ucan <eucan@de.adit-jv.com>
| * Bump version to 1.11.0 stable releaseEmre Ucan2016-11-141-2/+2
| | | | | | | | | | | | | | | | | | This release: - fixes several memory leaks - introduces touch support for subsurfaces - introduces two new subcmd to LayerManagerControl Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* | Merge remote-tracking branch 'upstream/pull/13'Eugen Friedrich2016-11-181-7/+6
|\ \ | | | | | | | | | | | | | | | | | | * upstream/pull/13 ilmControl: update comments for ilm_[un]registeNotification apis Reviewed-by: Emre Ucan <eucan@de.adit-jv.com>
| * | ilmControl: update comments for ilm_[un]registeNotification apisEugen Friedrich2016-11-041-7/+6
| |/ | | | | | | | | | | correction of the obvious copy-paste error in the comments Signed-off-by: Eugen Friedrich <efriedrich@de.adit-jv.com>
* | Merge remote-tracking branch 'upstream/pull/12'Eugen Friedrich2016-11-181-38/+4
|\ \ | | | | | | | | | | | | | | | | | | * upstream/pull/12 LayerManagerControl: remove surface create and destroy api's Reviewed-by: Emre Ucan <eucan@de.adit-jv.com>
| * | LayerManagerControl: remove surface create and destroy api'sEugen Friedrich2016-11-181-38/+4
| |/ | | | | | | | | | | | | | | | | | | | | | | api's never worked and would even cause exception in LayerManagerControl tool surface can only be created with native content and native content is wayland-surface which is only available in the client. So it does not make any sense to provide this functionality to external tool. For surface destroy it is very similar issue, we can only destroy surfaces which were created in the same client, but this is never the case by using LayerManagerControl- every call will create new connection and therefore new client Signed-off-by: Eugen Friedrich <efriedrich@de.adit-jv.com>
* | Merge remote-tracking branch 'upstream/pull/7'Eugen Friedrich2016-11-1810-121/+83
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * upstream/pull/7 EGLWLInputEventExample: disconnect wayland display at exit EGLWLInputEventExample: remove LayerManager remnants EGLWLInputEventExample: remove ilmClient dependency EGLWLMockNavigation: remove ilmClient dependency Reviewed-by: Eugen Friedrich <efriedrich@de.adit-jv.com> Tested-by: Wataru Natsume <wataru_natsume@xddp.denso.co.jp> Tested-by: Eugen Friedrich <efriedrich@de.adit-jv.com>
| * | EGLWLInputEventExample: disconnect wayland display at exitEmre Ucan2016-11-141-0/+4
| | | | | | | | | | | | | | | | | | destroy registry object and disconnect the display Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
| * | EGLWLInputEventExample: remove LayerManager remnantsEmre Ucan2016-11-142-17/+0
| | | | | | | | | | | | | | | | | | | | | | | | The old LayerManager used serverInfo protocol. Therefore, I removed serverInfo protocol related members and methods of WLContext class. Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
| * | EGLWLInputEventExample: remove ilmClient dependencyEmre Ucan2016-11-146-51/+39
| | | | | | | | | | | | | | | | | | | | | IVI Shell applications do not need to use ilmClient library to create an ivi_surface. It is better to use protocol directly. Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
| * | EGLWLMockNavigation: remove ilmClient dependencyEmre Ucan2016-11-144-53/+40
| |/ | | | | | | | | | | | | IVI Shell applications do not need to use ilmClient library to create an ivi_surface. It is better to use protocol directly. Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* | Merge remote-tracking branch 'upstream/pull/6'Eugen Friedrich2016-11-181-0/+17
|\ \ | |/ |/| | | | | | | | | | | * upstream/pull/6 ivi-application: introduce new helper library Reviewed-by: Wataru Natsume <wataru_natsume@xddp.denso.co.jp> Reviewed-by: Eugen Friedrich <efriedrich@de.adit-jv.com>
| * ivi-application: introduce new helper libraryEmre Ucan2016-11-141-0/+17
|/ | | | | | | | ivi-application is the new shared library which has the implementation of ivi-application-protocol. The clients can use the library to create ivi-surfaces. Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* Merge remote-tracking branch 'upstream/pull/3'Eugen Friedrich2016-11-031-0/+36
|\ | | | | | | | | | | | | | | * upstream/pull/3 LayerManagerControl: add two subcmd for add/remove a surface to/from a layer. Reviewed-by: Eugen Friedrich <efriedrich@de.adit-jv.com> Acked-by: Eugen Friedrich <efriedrich@de.adit-jv.com>
| * LayerManagerControl: add two subcmd for add/remove a surface to/from a layer.zeerd2016-11-011-0/+36
|/ | | | | | For more testing chance from the command line. Signed-off-by: Emneg Zeerd <emneg.zeerd@gmail.com>
* Merge remote-tracking branch 'upstream/pull/2'Eugen Friedrich2016-09-161-5/+17
|\ | | | | | | | | | | | | * upstream/pull/2 ivi-controller: Correction ilm_takeScreenshot surface. Acked-by: Eugen Friedrich <efriedrich@de.adit-jv.com>
| * ivi-controller: Correction ilm_takeScreenshot surface.Wataru Mizuno2016-09-011-5/+17
| | | | | | | | | | | | When surface width is not multiple of 4, calculate padding for 24bit bmp image. Signed-off-by: Wataru Mizuno <wmizuno@adit-jv.com>
* | Merge remote-tracking branch 'upstream/pull/1'Eugen Friedrich2016-09-161-0/+28
|\ \ | |/ |/| | | | | | | | | | | | | * upstream/pull/1 ilmControl: destroy ivi-input-controller proxy at shutdown ilmControl: free seat_contexts when wayland_context is destroyed ilmControl: free accepted_seats when a surface is destroyed Acked-by: Eugen Friedrich <efriedrich@de.adit-jv.com>
| * ilmControl: destroy ivi-input-controller proxy at shutdownEmre Ucan2016-08-251-0/+5
| | | | | | | | | | | | Otherwise it would be a memory leak Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
| * ilmControl: free seat_contexts when wayland_context is destroyedEmre Ucan2016-08-251-0/+9
| | | | | | | | | | | | The seat_contexts are allocated dynamically. We have to free the memory. Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
| * ilmControl: free accepted_seats when a surface is destroyedEmre Ucan2016-08-251-0/+14
| | | | | | | | | | | | | | The accepted_seat objects are dynamically allocated. Therefore, their memory has to be freed. Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* | ivi-input: support touch and pointer on subsurfaceWataru Mizuno2016-08-311-14/+64
|/ | | | | | | | | | | | When sends event to client, find a focused surface from subsurface list. support following events -touch_down -touch_up -touch_motion -pointer_button Signed-off-by: Wataru Mizuno <wmizuno@adit-jv.com>
* ivi-controller: simplify screen_set_render_orderEmre Ucan2016-07-061-8/+4
| | | | | | | I used get_layer_from_id API instead of get_id_of_surface. This simplified the code. Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* ivi-controller: simplify layer_set_render_orderEmre Ucan2016-07-061-10/+4
| | | | | | | I used get_surface_from_id API instead of get_id_of_surface. This simplified the code. Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
* 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>