summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Revert "ci: travis: stop osx builds until build failures are solved on Travis"devs/stefan/osx-fixStefan Schmidt2020-03-091-0/+1
| | | | | | | This was actually a problem we could solve on our side. Marcel has done so in commit: 32597e7e7784049927291e6d8ad131a2b8227d0e This reverts commit b554b25c4cfd5b49d7ea8b9daf9c52977a68805e.
* readme - adapt for removal of xine/vlc supportCarsten Haitzler (Rasterman)2020-03-081-9/+5
|
* remove vlc, gst-0.10, xine deps, modules as they are brokenCarsten Haitzler (Rasterman)2020-03-0820-7303/+14
| | | | | they dont work. easier to remove than fix, so... remove :) only gst 1.x supported now.
* ecore_evas_x: honor forign dnd implementationsMarcel Hollerbach2020-03-081-1/+3
| | | | | | enlightenment does not use the elm dnd operation implementations. Therefore we have to ensure that we only handle these operations here, when ecore_evas dnd API is used.
* evas gl: clip rect with proper size.Hermet Park2020-03-081-1/+1
| | | | | | | | | gc width/height indicates the main output size, if the target surface(fbo) is larger than this, rect won't be drawn. We should clip this with current context size. @fix
* ecore_evas: Use EFL naming convention in cnp & dnd methodsXavi Artigas2020-03-088-30/+29
| | | | | | | | Some methods were missing the "Drag" or "Selection" namespaces or the _Cb suffix. Depends on D11219 Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11426
* mono-tests: Fix build after DnD changesXavi Artigas2020-03-081-9/+8
| | | | | | | | The test struct used to check mono bindings struct pack/unpack is no longer available. Used a different one, and checked the same things. Reviewed-by: João Paulo Taylor Ienczak Zanette <joao.tiz@expertisesolutions.com.br> Differential Revision: https://phab.enlightenment.org/D11219
* docs: Strengthen docs for Copy&Paste and Drag&DropXavi Artigas2020-03-087-99/+163
| | | | | | | | | Including Eina.Content And a typo/bugfix in ecore_evas_x. Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11204
* port cnp on WindowsMarcel Hollerbach2020-03-084-248/+449
| | | | | | | | | | | | Test Plan: Ctrl-c and Ctrl-Vworking Reviewers: raster, zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11439
* ecore_evas: Introduce cnp support for cocoaMarcel Hollerbach2020-03-081-1/+136
| | | | | | | | | with this commit you can do limited cnp for cocoa. You still cannot copy and paste pictures or markup arround, only text is supported so far. However, text on its own works quite stable and good. Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11351
* ecore_cocoa: change clipboard APIMarcel Hollerbach2020-03-082-57/+40
| | | | | | | | the new API works with mimetypes, so we can remove the cnp types from Ecore_Cocoa.h and just forward the types from ecore_evas directly Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11350
* rewrite efl cnp and dnd handlingMarcel Hollerbach2020-03-0824-7317/+1754
| | | | | | | | | | | | | | | | | | | | | | | | | | | the previous commits introduced a abstraction for drag in drop which can be now used for this here. With this commit all the direct protocol handling in efl.ui is removed, and only the ecore evas API is used. Additionally, this lead to a giant refactor of how APIs do work. All Efl.Ui. interfaces have been removed except Efl.Ui.Selection and Efl.Ui.Dnd, these two have been restructored. A small list of what is new: - In general no function pointers are used anymore. They feel very uncompftable in bindings and in C. For us its a lot easier to just listen to a event when a drop enters or leaves, there is no need to register custom functions for that. - Asynchronous data transphere is handled via futures, which proved to be more error safe. - Formats and actions are handled as mime types / strings. - 0 is the default seat if you do not know what else to take. - Content is in general passes as a content container from eina, this also allows applications to pass custom types The legacy dnd and cnp API is implemented based on that. All cnp related things are in elm_cnp.c the dnd parts are in elm_dnd.c Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11190
* ecore_evas: introduce wayland support for cnp & dndMarcel Hollerbach2020-03-082-5/+482
| | | | | | | | | | | | | | | | | This adds cnp support, actions are right now only mapped to "ask", further support can be added there, and synchronization can be added to register more available actions. However, i did not find *any* wayland implementation in gtk qt nor chromiumos that even use the action to indicate anything. This here also has a slightly different behaviour to X11 in terms of coordinates for motion,leave,enter. They can contain negative coordinates (which is due to the fact that wl is CSD and X11 is SSD. However, I did not want to fix this in any regard, as you might want to use that, and it would be a none trivial amount of code to fix that. Reviewed-by: Chris Michael <cp.michael@samsung.com> Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11329
* ecore_evas: introduce initial selection & dnd support for x.Marcel Hollerbach2020-03-081-3/+753
| | | | | | | | | Seats are not implemented, if there is a type mismatch promises are going to be rejected. Most of this code is copied over from selection_manager. Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11195
* ecore_x_selection: do not skip any any atomsMarcel Hollerbach2020-03-081-4/+4
| | | | | | | | | | i dont know why we skipped the first two atoms, but right now, if a application is only providing one single target, we would crash. With this we might copy a few atoms more. However, these atoms do not matter, as we skip those, that we cannot understand Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11194
* ecore_x: add API to request selection changed events for diff. winsMarcel Hollerbach2020-03-082-0/+29
| | | | | | | | | | we need that in order to get seleciton per window events, which is required to get a nice mapping onto the ecore_evas object. Reviewed-by: Carsten Haitzler (Rasterman) <rasterman.com> Reviewed-by: Chris Michael <cp.michael@samsung.com> Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11193
* ecore_evas: Introduce cnp / dnd API for ecore evasMarcel Hollerbach2020-03-0817-47/+1120
| | | | | | | | | | | | | | | | | | | | The idea of copy and paste here is: - The user specifies the content he wants to have in the selection buffer with a Eina_Content, these content pointer ownerships are passed to the called. Internally ecore_evas code will memorieze the pointer, and pass on function callbacks to the modules, which then do not have to deal with the ownership. - In case the module does not specify these APIs, the callback implementation will be called, which only works for cnp *not* dnd. - Action and mime types are handled as strings, which allows way better custom organisations. (The docs needs improvement) Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11192
* eina: introduce Eina_Abstract_ContentMarcel Hollerbach2020-03-0810-2/+854
| | | | | | | | A little abstraction to have abstract data content bound to a type. Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Differential Revision: https://phab.enlightenment.org/D11018
* evas_pbject_intercept: add missing parenthesisDaniel Kolesa2020-03-061-1/+1
| | | | | | Broken in 7c99e0a444d81cc545181682f1a4ae00f76d0873. *spanks*
* efl_ui_win: Fix dereference before NULL checkChristopher Michael2020-03-061-3/+6
| | | | | | | | | This patch fixes an issue detected by Coverity in that 'sdp' is already being dereferenced before we check it. ELM_WIN_DATA_GET can return NULL, so we should check it's return Before trying to use the variable. Fixes CID1419871
* evas_object_intercept: Add check for NULL 'obj' variable inside macrosChristopher Michael2020-03-061-2/+2
| | | | | | | | This patch adds a small check for a valid 'obj' variable inside the object_intercept macros, which fixes several Coverity reported issues of NULL pointer dereference. Fixes CID1420239 through CID1420258
* efl-wl: properly send surface enter event in smart showMike Blumenkrantz2020-03-061-1/+1
| | | | | | | | | | | | | | | | Summary: confusing... Depends on D11452 Reviewers: segfaultxavi, bu5hm4n, devilhorns Reviewed By: devilhorns Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11453
* elm: undef EAPI_WEAK in header before definingMike Blumenkrantz2020-03-061-0/+3
| | | | | | | | | | | | | | Summary: avoid double define warnings Reviewers: devilhorns Reviewed By: devilhorns Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11452
* evas_gl_drm: Fix incorrect define statement.Christopher Michael2020-03-061-1/+1
| | | | | This actually should be #ifndef so that if it's not defined in the system, then we can still compile properly.
* canvas grid: fix inifinite loop dead.Hermet Park2020-03-061-2/+5
| | | | | | Here parent smart del() call occurs inifinite loop for member deletion, Maybe we need a better clean and neat solution here.
* ci: make ci work againMarcel Hollerbach2020-03-061-0/+2
| | | | | | | | | because of some reasons, python now hides in a different PATH, which is not *always* added to the PATH env variable. Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11461
* efl_canvas_layout_part: remove debugging content set / get implMarcel Hollerbach2020-03-061-21/+0
| | | | | | | this is now handled when eo is erroring. Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11464
* efl_canvas_layout_part: add part name, type and group name to debug infoMarcel Hollerbach2020-03-062-0/+9
| | | | | | | | this is usefull, as we now know which type of part we have, if a API call does not succeed. Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11463
* eo: print debug information when a call cannot be resolvedMarcel Hollerbach2020-03-062-5/+5
| | | | | | | that is usefull esp. on parts. Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11462
* tests/evas: verify loading and mmap values for efl.file are correct with ↵Mike Blumenkrantz2020-03-061-0/+3
| | | | | | | | | skip_head ensure that these functions are still usable with async load Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11424
* evas/image: implement efl.file loading and mmap getters to correctly handle ↵Mike Blumenkrantz2020-03-064-0/+40
| | | | | | | | | | | | skip_head when this property is set, the mixin implementation of efl_file_load() is never called, which means the internal loaded flag (and related data) is not set, and so the values for these properties must instead be returned directly from the image data Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11423
* evas: set mmap data to image data after preload with skip_head enabledMike Blumenkrantz2020-03-063-1/+16
| | | | | | | | | this is a bit ugly, but in the case where skip_head is used it's important to propagate the resulting Eina_File back up to the image object's data for use in other api functions Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11422
* efl_ui/widget: add inheritance for efl.gfx.entity to widget partMike Blumenkrantz2020-03-062-3/+7
| | | | | | | most of these are empty Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11448
* evas_object_intercept: Use efl_data_scope_safe_getChristopher Michael2020-03-061-2/+2
| | | | | | | | | | As per mailing list discussion, This macro is apparently a forward facing API so we should be using efl_data_scope_safe_get in the event that the API receives an object of the wrong type (which would have caused a crash previously). Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11450
* evas_object_intercept: Reduce calls to efl_data_scope_getChristopher Michael2020-03-061-11/+6
| | | | | | | | | | | | Small patch to reduce the number of calls to efl_data_scope_get as per mailing list discussion. Since the EVAS_OBJECT_INTERCEPT_CALLBACK_DEFINE macro already retrieves the protected data via efl_data_scope_get, we can just pass that protected data directly to evas_object_intercept_init/deinit functions without the need to refetch it. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11449
* elm_label: add EFL_ACCESS_WIDGET_ACTION_MIXINMarcel Hollerbach2020-03-061-1/+1
| | | | | | | we implement the API from it, so we should have that as a type here. Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11447
* elm_code_syntax: Add c-sharp syntax highlighting.Alastair Poole2020-03-061-0/+24
|
* ci: travis: stop osx builds until build failures are solved on TravisStefan Schmidt2020-03-061-1/+0
| | | | | This looks like problems on the TravisCI side, but this is going on for to long. Stop osx builds to have our on CI in a sane state again.
* elc_naviframe: fix to delete item once by elm_object_item_del in pop_cbJaehyun Cho2020-03-062-6/+41
| | | | | | | | | | | | If elm_object_item_del is called in pop_cb and pop_cb returns EINA_FALSE, then the given item is destructed by _item_noref when efl_unref is called after pop_cb. After the above destruction, efl_del is called after the above efl_unref and it deletes the item again. Not to delete item after the item is destructed, efl_del after pop_cb is removed.
* elm_code: Avoid moving to non-existent line.Alastair Poole2020-03-061-1/+4
| | | | Check for line existence before moving cursor.
* evas: Fix dereferenceing null pointerChristopher Michael2020-03-041-2/+6
| | | | | | | Coverity reports a forward null here. If we do not get obj from efl_data_scope_get then we should return. Also fixes some formatting Fixes CID1420216
* evas: Fix mouse event info for legacy events.Hosang Kim2020-03-041-3/+6
| | | | | | | | | | | | | | | | | | | | Summary: Legacy event info have canvas and output coordinates. Output coordinates have information of original position. Canvas coordinates have information of transformed position. So keep backward compatibility, fix filling legacy information. This reverts commit 7f724f6c5db1127a6dd5786791f495b58910e9a9 Reviewers: Hermet, zmike Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11445
* elm_code: Improve efficiency of the widget.Alastair Poole2020-03-042-24/+51
| | | | | | | | | For now, only create textgrids when needed. Also improve other regions of the widget. This will improve large file support and also some rendering of the widget. This improves performance 1-2 times. However, there must be a reasonable redesign regarding the current use of textgrids.
* avahi - let's disable by default as there doesn't seem to be a useCarsten Haitzler (Rasterman)2020-03-031-1/+1
| | | | | | i asked why we should have it by default etc. and what it's needed for. i cant't find any... and no answer soc off by default to trim efl down.
* efl-wl: add toplevel_added event for adding a new toplevel surfaceMike Blumenkrantz2020-03-032-0/+2
| | | | | | | | | | | | | | Summary: Depends on D11443 Reviewers: devilhorns Reviewed By: devilhorns Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11444
* efl-wl: ensure that child_added event is called only when a parent is setMike Blumenkrantz2020-03-031-1/+2
| | | | | | | | | | | | Reviewers: devilhorns Reviewed By: devilhorns Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11443
* doxygen docs: Fix several group problemsXavi Artigas2020-03-033-89/+73
| | | | @ingroup before @addgroup, circular group dependencies...
* doxygen docs: fix insufficiently namespaced group namesXavi Artigas2020-03-033-3/+3
| | | | These led to clashes, since group names must be globally unique.
* doxygen docs: fix multiple defined @section'sXavi Artigas2020-03-033-27/+27
| | | | | | Section names must be globally unique. We rarely reference sections so we don't actually need to use @section and a simple header suffices.
* efl-wl: add function to get pid of a surfaceMike Blumenkrantz2020-03-032-0/+23
| | | | | | | | | | | | | | Summary: this is useful for tracking surfaces of specific clients Reviewers: bu5hm4n, devilhorns Reviewed By: devilhorns Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11438