summaryrefslogtreecommitdiff
path: root/src/lib (unfollow)
AgeCommit message (Collapse)Author
2020-03-10doxygen docs: Fix tons of invalid Doxygen commandsXavi Artigas
Mostly typos
2020-03-10doxygen docs: Adapt to Doxygen syntaxXavi Artigas
I don't know where did these comments come from, but it was not Doxygen.
2020-03-10evas.image: add evas_object_image_animated_frame_getShinwoo Kim
this adds an api for getting the current frame of an animation Differential Revision: https://phab.enlightenment.org/D11455
2020-03-10evas_object_text: Fix unused parameterChristopher Michael
When we do Not build with BIDI_SUPPORT, then "const Eo *eo_obj" is never used and thus spits out an unused parameter warning during compile. This has been bugging me for quite some time now, so put in a small patch to silence this warning.
2020-03-10eina_abstract_content: Fix resource leakChristopher Michael
If we error out in this function, then we should be freeing 'content' also as it was previously calloc'd above Fixes CID1420317
2020-03-10eina_abstract_content: Fix dereference before null checkChristopher Michael
Fixes Coverity CID1420337
2020-03-10edje: Rename Json to Lottie in edj supportingJunsuChoi
Summary: The json file used by edje is for lottie output. json can be used in many ways. So the purpose is clear. Test Plan: N/A Reviewers: Hermet, kimcinoo, herb Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11478
2020-03-09ecore_evas: do not leak allocated memory in error caseMarcel Hollerbach
2020-03-09ecore_evas: only free content when content is != NULLMarcel Hollerbach
otherwise we might run into issues with that.
2020-03-09efl_ui_textbox: dont leak a array when no type is availableMarcel Hollerbach
this fixes a possible leak.
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-09elm_cnp: move free call after the last usageMarcel Hollerbach
this is however pretty much irrelevant as only the pointer is used.
2020-03-09elm_cnp: free array when going out of scopeMarcel Hollerbach
this was missing and indeed a memory leak.
2020-03-09efl_ui_win: Fix null pointer dereferenceChristopher Michael
Fixes Coverity CID1420321
2020-03-09efl_ui_win: Fix null pointer dereferenceChristopher Michael
Fixes Coverity CID1420329 and CID1420328
2020-03-09efl_ui_win: Fix horrible formattingChristopher Michael
NB: No functional changes
2020-03-09eina_content: free memory in error pathsMarcel Hollerbach
2020-03-09eina: fix define of Eina_ContentMarcel Hollerbach
there is no need to declare that const.
2020-03-09doxygen docs: remove @ender_group and organize eina vectorsXavi Artigas
Mysterious @ender_group is an invalid doxygen command and I could not find it defined anywhere. I could not infer its purpose either so... removed. Put the Eina Vector 2D and 3D groups in their proper place so they appear with the rest of the Eina basic types.
2020-03-09doxygen docs: Remove invalid commentsXavi Artigas
They contain no information whatsoever and they contain invalid doxygen commands. This was probably copied over from some other documentation format.
2020-03-09doxygen docs: Move smart object methods to proper groupXavi Artigas
Move smart object methods from @ingroup Evas_Canvas to Evas_Smart_Object_Group Also, remove lots of redundant @ingroup Evas_Smart_Object_Group
2020-03-09eina: Docs/Comments: eina_safety_checks: Correct grammar, spelling mistakes ↵Xavi Artigas
and be more clearer Summary: This just corrects the comments grammar, spelling mistakes and is a little bit clearer. Reviewers: segfaultxavi, barbieri Reviewed By: segfaultxavi Tags: #efl Differential Revision: https://phab.enlightenment.org/D11472
2020-03-09Efl.Ui.Image: Modify current frame to start at 1JunsuChoi
Summary: 3dc3deb patch was changed to start at 1 rather than 0. gif image starts at 1, not 0. Test Plan: N/A Reviewers: Hermet, kimcinoo Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11474
2020-03-09doxygen docs: Miscellaneous typosXavi Artigas
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
2020-03-08ecore_cocoa: change clipboard APIMarcel Hollerbach
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
2020-03-08rewrite efl cnp and dnd handlingMarcel Hollerbach
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
2020-03-08ecore_x_selection: do not skip any any atomsMarcel Hollerbach
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
2020-03-08ecore_x: add API to request selection changed events for diff. winsMarcel Hollerbach
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
2020-03-08ecore_evas: Introduce cnp / dnd API for ecore evasMarcel Hollerbach
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
2020-03-08eina: introduce Eina_Abstract_ContentMarcel Hollerbach
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
2020-03-06evas_pbject_intercept: add missing parenthesisDaniel Kolesa
Broken in 7c99e0a444d81cc545181682f1a4ae00f76d0873. *spanks*
2020-03-06efl_ui_win: Fix dereference before NULL checkChristopher Michael
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
2020-03-06evas_object_intercept: Add check for NULL 'obj' variable inside macrosChristopher Michael
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
2020-03-06efl-wl: properly send surface enter event in smart showMike Blumenkrantz
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
2020-03-06elm: undef EAPI_WEAK in header before definingMike Blumenkrantz
Summary: avoid double define warnings Reviewers: devilhorns Reviewed By: devilhorns Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11452
2020-03-06canvas grid: fix inifinite loop dead.Hermet Park
Here parent smart del() call occurs inifinite loop for member deletion, Maybe we need a better clean and neat solution here.
2020-03-06efl_canvas_layout_part: remove debugging content set / get implMarcel Hollerbach
this is now handled when eo is erroring. Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11464
2020-03-06efl_canvas_layout_part: add part name, type and group name to debug infoMarcel Hollerbach
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
2020-03-06eo: print debug information when a call cannot be resolvedMarcel Hollerbach
that is usefull esp. on parts. Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11462
2020-03-06evas/image: implement efl.file loading and mmap getters to correctly handle ↵Mike Blumenkrantz
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
2020-03-06evas: set mmap data to image data after preload with skip_head enabledMike Blumenkrantz
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
2020-03-06efl_ui/widget: add inheritance for efl.gfx.entity to widget partMike Blumenkrantz
most of these are empty Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11448
2020-03-06evas_object_intercept: Use efl_data_scope_safe_getChristopher Michael
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
2020-03-06evas_object_intercept: Reduce calls to efl_data_scope_getChristopher Michael
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
2020-03-06elm_label: add EFL_ACCESS_WIDGET_ACTION_MIXINMarcel Hollerbach
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
2020-03-06elm_code_syntax: Add c-sharp syntax highlighting.Alastair Poole
2020-03-06elc_naviframe: fix to delete item once by elm_object_item_del in pop_cbJaehyun Cho
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.