summaryrefslogtreecommitdiff
path: root/src/modules/ecore_evas/engines (unfollow)
AgeCommit message (Collapse)Author
14 daysEcore_Win32: add the API ecore_win32_window_maximized_set()Vincent Torri
Summary: ecore_evas win32 engine is updated to support it. This fixes the "maximized/unmaximized" elm "windows states" test. Test Plan: elm_test Reviewers: raster, jptiz, felipealmeida Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12177
14 daysEcore_Evas win32: fix activate() functionVincent Torri
Summary: activating the function needs un-iconified first Test Plan: elm windows status tests Reviewers: raster, jptiz, felipealmeida Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12176
2020-10-10Ecore_Evas win32 module: do not set evas viewport size to 0Vincent Torri
Summary: When a window is iconified, its size is 0x0 and is passed to evas viewport. Set the size to 1x1 in that case Test Plan: Elementary "windows states" test Reviewers: raster, jpcordovae, felipealmeida, jptiz Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12171
2020-09-30Windows: fix copy'n pasteVincent Torri
Summary: fix seat id and clean cnp data when needed Test Plan: Ctrl-c and Ctrl-V (elm-->app, app--> elm elm-->elm) Reviewers: jptiz, walac, cochisecesar, bu5hm4n, felipealmeida, raster Reviewed By: felipealmeida, raster Subscribers: netstar, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12166
2020-09-04ecore_evas_x: reply in *any* way with XdndStatusMarcel Hollerbach
otherwise Xorg stops sometimes to continue sending callbacks to us. Which results in a broken state maschine.
2020-08-25ecore evas, edje - fix use of evas seat device enumCarsten Haitzler (Rasterman)
2020-08-25ecore evas - module - use correct enumsCarsten Haitzler (Rasterman)
2020-06-29ecore-evas-wayland: Fix minor typo in error messageChristopher Michael
2020-06-28ecore evas wl - cnp - dont segv is data is nullCarsten Haitzler (Rasterman)
this is probably wrong but crashing is not nice... bettr to NOP than crash right now.
2020-06-23Get rid of trailing whitespaces (13 / 14)Elyes HAOUAS
Remove trailing whitespaces Differential Revision: https://phab.enlightenment.org/D12012
2020-06-10Use extern after EAPIVincent Torri
Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D11961
2020-05-27refactor buildMarcel Hollerbach
libraries are split into deps, external deps, and pub deps. Evas engines are refactored to use the predefined engine deps. this is preparation work for efl-one. Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D11806
2020-05-26ecore-evas-wayland: Fix unused variablesChristopher Michael
Patch 09ab8c9967512e67b7 added code to printf wl client animation ticks, however the line that actually does the printing is commented out (which is fine) but the variables used in that printf are not needed if we are not printing things out
2020-05-26build: modules: harmonize use of package_c_argsStefan Schmidt
Adding it to all missing places so we can control it from the central meson.build file. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Reviewed-by: João Paulo Taylor Ienczak Zanette <joao.tiz@expertisesolutions.com.br> Differential Revision: https://phab.enlightenment.org/D11855
2020-05-25ecore_evas_wayland_common: keep the backword compatibility for wayland dnd ↵Taehyub Kim
handler Keep the backword compatibility for wayland ECORE_WL2_EVENT_DATA_SOURCE_END event handler. If we don't use this handler, the dnd is not ended when the drop item is dropped. @fix Reviewed-by: Christopher Michael <devilhorns@comcast.net> Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11846
2020-05-23ecore evas - tick printf debugs - disabled right now so no noiseCarsten Haitzler (Rasterman)
this is here so it can be turned on and off to see what's happening with ticking and tick latency
2020-05-18ecore-evas-drm: Remove duplicate config set in meson.build fileChristopher Michael
2020-05-18ecore-evas-wayland: Fix formatting according to coding conventionsChristopher Michael
"80 column code whenever possible - Wrap longer lines where required." NB: No functional changes
2020-05-18Revert "Fix EAPI definition by defining EFL_BUILD for each built DLL"Carsten Haitzler (Rasterman)
This reverts commit 3ade45cbc82bea1772c7ad1afb7e1ba5dd67d930.
2020-05-18Fix EAPI definition by defining EFL_BUILD for each built DLLVincent Torri
Summary: EAPI must be defined to dllexport when building DLL, and to dllimport when using these DLL. To achieve this, define EFL_BUILD for each library and module, and set DLL_EXPORT unconditionally. Static library are and will be not supported Test Plan: compilation Reviewers: zmike, raster, jptiz Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11834
2020-05-12build: fix void* use in pointer mathsMike Blumenkrantz
Summary: void* is an invalid type for calculating pointer offsets, so ensure that this is always cast to something else (e.g., char*) in the few cases where it's been misused Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11816
2020-05-06ecore-evas-drm: Remove useless check for visibilityChristopher Michael
This is already checked above so having a second check here is just silliness
2020-05-06remove arguments of LOGFN in ecore_wayland modules as the are always the sameVincent Torri
Reviewers: raster, devilhorns Reviewed By: devilhorns Subscribers: devilhorns, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11777
2020-05-03ecore_evas_x - fix maximize/unmaximize request corner caseCarsten Haitzler (Rasterman)
state was not managed well.. this will fix that. also a test in elementary for it to you can test it out. @fix
2020-04-28ecore-evas-drm: Fix broken init countChristopher Michael
We should not assume that there is only ever 1 drm ecore_evas here so we need to handle init count properly @fix
2020-04-20ecore-evas-wayland: Fix formattingChristopher Michael
NB: No functional changes
2020-04-17ecore evas - wl - fix useless iff case for rotationCarsten Haitzler (Rasterman)
rotationis handled later on in the func thsi fixes CID 1419870
2020-04-14ecore_evas_x: fix typo'ed function nameMarcel Hollerbach
Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Reviewed-by: Christopher Michael <devilhorns@comcast.net> Differential Revision: https://phab.enlightenment.org/D11705
2020-04-14ecore_evas_x: add safety check for data in converterMarcel Hollerbach
Summary: since the existance of seleciton manager, the converter callbacks from ecore_x are expecting custom struct pointers. However, enlightenment never updated to use the elm dnd API for client side usages. Which results in the fact that sometimes, when a client sents Notify, and e_dnd is active, that this converter is executed with the wrong data. With this commit the data passed in is ensured to have the correct magic number. The proper solution for this would either be registering the correct converters in enlightenment, or update to elm_drag. However, since the continues cried river over the last 5 days has raised enough hydro power to add these changes. This leaves us with just one question: How was it possible to generate so many messages about a problem that can be solved in a fraction of charaters that have been written? fixes <a-issue-that-was-never-created> Depends on D11700 Reviewers: zmike, stefan_schmidt, raster Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11701
2020-04-14ecore_evas_x: reject the promise instead of returnMarcel Hollerbach
Summary: this is needed in order to tell the API user that this is not going to be completed. Depends on D11699 Reviewers: zmike, raster, stefan_schmidt Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11700
2020-04-14ecore_evas: add API for finding out if event is usedMarcel Hollerbach
Summary: ecore_x_dnd_send_status can be used to indicate if a item can be dropped on a client or not. However, we should only indicate that this can be dropped, if there is a object we signaled that a drop is in. Long story short: there is no assertion that after indicating that things can be dropped, that a notify for the data is sent. A drag implementation should always listen to a mouse up event, and abort the drag if no further operations are sent. Depends on D11698 Reviewers: zmike, stefan_schmidt, raster Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11699
2020-04-14ecore_evas_x: allow parsing of links form the link listMarcel Hollerbach
Summary: this is needed in order to return the data the same way the legacy impl did. This however has the annoying sideeffect that ecore_evas_x now depends on efreet, and we had to change the build order. Depends on D11696 Reviewers: zmike, stefan_schmidt, raster Reviewed By: zmike Subscribers: devilhorns, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11697
2020-04-12ecore-evas - x dnd/cnp - handle null data content and not segvCarsten Haitzler (Rasterman)
2020-04-07ecore_evas_cocoa: be aware of NULL dataMarcel Hollerbach
this will now result in the promise beeing rejected. Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11653
2020-04-06ecore_evas: fix leaks in macos and win32Marcel Hollerbach
memory is duplicated in eina_content_new. Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11641
2020-04-03Replace strncmp codeMarcel Hollerbach
the structure "!strcmp(X, "foo", strlen("foo"))" is equal to "eina_has_prefix(X, "foo")", and the later is nicer to read, hence this replaces it. Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11620
2020-04-03ecore-evas/cocoa: fix cnp leakMike Blumenkrantz
this pointer needs to be freed if it's being copied Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11604
2020-03-30ecore_evas_wayland: Do not pass negative parameter to close functionChristopher Michael
Coverity reports that 'fd' here is negative, and close() cannot accept a negative parameter, so add a check to make sure 'fd' is not negative before passing to close function. Fixes CID1420318
2020-03-30ecore_evas_wayland: Declare variables at top of functionChristopher Michael
2020-03-26fix segfault when there is no text in clipboardVincent Torri
Test Plan: cnp a clipboard content without text Reviewers: zmike Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11565
2020-03-22ecore evas cnp x - fix nul byte extras when text pasting to other appsCarsten Haitzler (Rasterman)
i was seeing junk bytes in pastes to chromium... it was an extra nul byte. this will special-case nuke that.
2020-03-17ecore evas x - on argb dont create unused 1 bit pixmap masksCarsten Haitzler (Rasterman)
found out we had a wasted 1 bit pixmap mask for argb windows left over from shaped window support... so don't create it. drop resources a bit. @fix
2020-03-10ecore-evas-wayland: Check for valid 'fd' before passing to write()Christopher Michael
write() cannot be passed a negative value. If ecore_main_fd_handler_fd_get returns -1, then this is an issue. Check for valid fd being returned from fd_handler_fd_get and if it is negative, then cleanup and get out. Fixes CID1420318
2020-03-10ecore-evas-wayland: Fix resource leakChristopher Michael
If we are going to be exiting this function without setting up the ecore_main_fd_handler (and thus passing forign_slice), then we should free forign_slice as it was previously calloc'd above. Fixes CID1420322
2020-03-09ecore_evas_x: fix memory leak when enter drag and drop, without a eeMarcel Hollerbach
this is something that can *never* happen otherwise we would have never got this call. But lets make coverity happy.
2020-03-09ecore_evas_x: correctly handle images in X11Marcel Hollerbach
I thought that i explicitly tested this. However, it seems i was wrong, this way now this is handled correctly, and the image is stored and coverted to a path. With this you can now copy images from chromium and firefox to elm apps. The change in elm_entry reverts parts of the rewrite of the elm handling, as initially every path came *without* "file://" in front, so we have to maintain that. fixes T8625
2020-03-08ecore_evas_x: honor forign dnd implementationsMarcel Hollerbach
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.
2020-03-08ecore_evas: Use EFL naming convention in cnp & dnd methodsXavi Artigas
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
2020-03-08docs: Strengthen docs for Copy&Paste and Drag&DropXavi Artigas
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
2020-03-08port cnp on WindowsMarcel Hollerbach
Test Plan: Ctrl-c and Ctrl-Vworking Reviewers: raster, zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11439