summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-08-07chaosdevs/bu5hm4n/focus_optimizeMarcel Hollerbach
2019-08-07efl_ui_focus_manager_calc: optimize item deletionMarcel Hollerbach
if there is high frequency adding and deleting of items, the deletion here can be quite heavy, this makes freeing a little bit faster.
2019-08-07efl_ui_focus_layer: we should cleanup on invalidateMarcel Hollerbach
otherwise there will be errors. Lets pray this did not break anything else. Differential Revision: https://phab.enlightenment.org/D9521
2019-08-07efl_ui_selectable: add spec test suite for thisMarcel Hollerbach
this brings a spec test suite for Efl.Ui.Selectable Differential Revision: https://phab.enlightenment.org/D9518
2019-08-07efl_ui_item: fix event emissionMarcel Hollerbach
with this commit events are emitted correctly, even if the container is already on the way to deletion. Additionally, the codepath that is triggered when the item is selected via clickable is now also going through the selected property. ref 7905 Reviewed-by: SangHyeon Jade Lee <sh10233.lee@samsung.com> Differential Revision: https://phab.enlightenment.org/D9517
2019-08-07introduce efl_ui_multi_selectable and efl_ui_single_selectableMarcel Hollerbach
right now they are just thin wrappers from what have been in efl_ui_collection. This is just a first effort, the interfaces have to be equipped with more and better API, more events, and tests. ref T8057 Reviewed-by: SangHyeon Jade Lee <sh10233.lee@samsung.com> Differential Revision: https://phab.enlightenment.org/D9515
2019-08-07efl_ui: use unified size hints api and be explicit about which hint is changedMike Blumenkrantz
unified widgets should use unified api internally and also be more explicit about which min size hint (restricted or user) is being set in order to improve readability of code when unified widgets also implement legacy wrappers, legacy api should be used for the legacy objects no functional changes Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D9495
2019-08-07tests/popup: add sizing test for scroll_alert popupMike Blumenkrantz
Differential Revision: https://phab.enlightenment.org/D9516
2019-08-07evas_text: backward compatibility for setting text sizeAli Alzyod
Summary: This is for backward compatibility for TIZEN Test cases for legacy Reviewers: woohyun Reviewed By: woohyun Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9519
2019-08-07emile - use newer lz4 api instead of deprecated oneCarsten Haitzler (Rasterman)
2019-08-07lz4 - update to 1.9.1 for static lib in src treeCarsten Haitzler (Rasterman)
this updates our static zlib to 1.9.1 releases april 23, 2019. fixes T7983
2019-08-07efl_ui_selectable: this should be betaMarcel Hollerbach
sorry, i forgot that ... :(
2019-08-06remove outdated readmeMarcel Hollerbach
the docs hsould be covered in INSTALL. (Fast! merge this before the docs guy comes back from vacation)
2019-08-06tests/popup: add unit tests for alert_popupMike Blumenkrantz
this covers all cases from the elm_test example Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D9512
2019-08-06efl_ui_check: migrate from own property to Efl.Ui.SelectableMarcel Hollerbach
this is the basic work for getting radio group as a single_selection interface, which can be a part of mutli_selection. Which will come both later on. ref T8057 Differential Revision: https://phab.enlightenment.org/D9504
2019-08-06ci: disable rsvg loader on windowsMarcel Hollerbach
Summary: deps are missing for that one Reviewers: stefan_schmidt, zmike, cedric Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9514
2019-08-06efl_input_clickable: int -> uintMarcel Hollerbach
Summary: the ids of the structs here are never negative ref T7976 Reviewers: zmike, segfaultxavi, cedric Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Maniphest Tasks: T7976 Differential Revision: https://phab.enlightenment.org/D9497
2019-08-06efl_ui_focus_manager_root_focus: perform focus switch delayedMarcel Hollerbach
Summary: Delaying the unregistering here ensures that there is not focus set call while a object is beeing registered in the focus manager. ref T8081 Reviewers: zmike, cedric Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Maniphest Tasks: T8081 Differential Revision: https://phab.enlightenment.org/D9513
2019-08-06efl_ui_collection: implement initial focus behaviourMarcel Hollerbach
Summary: the behaviour here is that the next item according to the direction is getting focused. This sounds easy but is quite complex given the fact that the items might be hidden. This is the first draft for this, to see how good it performes. Reviewers: zmike, stefan_schmidt, cedric Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9496
2019-08-06ecore_wl2: Move ecore_wl2_buffer_fit function to be internalChristopher Michael
The ecore_wl2_buffer_fit function is only used internally in EFL so move it out of the public API header. ref T8013
2019-08-06ecore_wl2: Move ecore_wl2_window_false_commit to be internalChristopher Michael
The ecore_wl2_window_false_commit function is only used internally inside efl so there is no need for it to be a public API. ref T8013
2019-08-06ecore_wl2: Move ecore_wl2_window_rotation_change functions to beChristopher Michael
internal These functions are not used in efl wayland clients nor are they used in Enlightenment. As such, there is no reason that they need to be public API so this commit moves them to be Internal and updates Ecore_Evas engine code to include the internal header. ref T8013
2019-08-06build: Seprate same svg extension loaders between image and vector.Hermet Park
Currently, vector and image support svg format via different rountine. Our vector loader implemenst on its own drawing mechanism for svg, but in case of image loader, it depends on rsvg library. By Comparing both, our vector svg is winner at performance wise. we can remove rsvg routine later. For now, these two loader names are conflicted, we should separate their names with svg and rsvg.
2019-08-06efl_input_hold: replace hold property name with input_holdYeongjong Lee
Sorry to touch stable eo classes. there is name conflict issue between class and property when binding language is generated from eo. for example in C#, compiler error occurs. ``` src/bindings/mono/efl_input_hold.eo.cs(166,17): error CS0542: `Efl.Input.Hold.Hold': member names cannot be the same as their enclosing type ``` This patch changes Efl.Input.Hold.GetHold/SetHold to Efl.Input.Hold.GetInputHold/SetInputHold and generates Efl.Input.Hold.InputHold property. Note that CAPI is not changed. ref T8093 Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Reviewed-by: Lauro Neto <lauromauro_> Differential Revision: https://phab.enlightenment.org/D9484
2019-08-06docs: Improve Efl.Input.Key docsLauro Moura
People without X11 background would have a hard time understanding the difference between key, key_name, key_code, etc. Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Reviewed-by: YeongJong Lee <yj34.lee@samsung.com> Differential Revision: https://phab.enlightenment.org/D9487
2019-08-06meson: remove one more header checkMarcel Hollerbach
this header check is useless, it will never succeed.
2019-08-06remove useless definition of the macro HAVE_MMAN_HVincent Torri
use HAVE_SYS_MMAN_H when including sys/mman.h and HAVE_MMAP when using mmap() Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D9494
2019-08-06tests/efl_ui_popup: add tests for this widgetMike Blumenkrantz
these tests cover all the cases in the elm_test efl.ui.popup example Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D9509
2019-08-06efl_ui/popup_backwall: implement efl.file file and key get methodsMike Blumenkrantz
these need to be proxied to the internal image object to return correct values Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D9508
2019-08-06efl_ui: add popup headers to Efl_Ui.hMike Blumenkrantz
Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D9507
2019-08-06tests/elm: add helper callback for automatically quitting main loop when ↵Mike Blumenkrantz
triggered Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D9506
2019-08-06tests/elm: add helper function for clicking at specified coordsMike Blumenkrantz
Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D9505
2019-08-06efl_ui/text: handle disabled textMike Blumenkrantz
no idea what's going on here with new styling but this makes it look like it should ref T6649 Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D9502
2019-08-06efl_ui/clock: remove unused functionsMike Blumenkrantz
these were used for clock module functionality that has since been removed Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D9501
2019-08-06efl_ui/clock: remove legacy api/widget use internallyMike Blumenkrantz
new widgets should use unified api internally Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D9500
2019-08-06efl_ui/clock: remove module interfaceMike Blumenkrantz
this was overly complex and never actually used ref T7868 Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D9499
2019-08-05csharp: fix ownership of value types in arrays and listsVitor Sousa
Summary: `eolian_mono` now considers the implicit ownership of value types in arrays and lists when generating ownership flags. Also, update manual bindings for arrays and lists to no longer free elements in the `Dispose` method when the container has ownership of the elements but C# itself does not have ownership of the container; the elements will be freed by whoever owns the container. Modifying and removing elements will still free them though. Re-enabled unit tests that required ownership of value type elements. Reviewers: felipealmeida, q66, vitor.sousa Reviewed By: felipealmeida Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9457
2019-08-05csharp: re-enable binbuf tests with -Dmono-beta=falseVitor Sousa
Summary: Since the introduction of the `binbuf` keyword in eolian, `Eina_Binbuf` is no longer a beta only type. Hence, we enable EFL# binbuf unit tests in non-beta compilation too. Reviewers: lauromoura, felipealmeida Reviewed By: lauromoura Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9467
2019-08-05evas image - eina file - be paranoud about double closesCarsten Haitzler (Rasterman)
tracking some seemingly not so good asan hits on the eina file where we're accessing an eina file already closed... so be extra paranoid about it and set things to null after free/close...
2019-08-05gif loader - dup eina file as we keep our own copy of it in the loaderCarsten Haitzler (Rasterman)
we didnt dup the eina file handle since we kee our own handle. we need ot do that. asan found this.
2019-08-05introduce a new interface efl_ui_selectableMarcel Hollerbach
this is meant to be implemented by entities that *can* be selectabled (not to be confused with containers that can have selected contents)! ref T8057 Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D9503
2019-08-05efl_ui_selectable: split this upMarcel Hollerbach
i dont know why, but something got badly mixed up, the selection APIs for text and item ended up in the same interface, which seems ... weird ? This commit splits that up into container_selectable and text_selectable, there is no future plan on my list for text_selection. The rest of this series is working towards removing container_selectable, replacing it with a new interface. However, the interface will stay until list_view is replaced. The changes in the legacy code are removing the efl.ui.selection interface from it, item emission is not depending on the inherited interfaces, additionally, this interface does not provide any API, so this should not be an issue. ref T7766 Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D9498
2019-08-05efl_ui_action_connector: rename clickable_util to action_connectorWooHyun Jung
efl_ui_clickable_util was only for efl_input_clickable interface, but there can be more cases which want to connect object event to specific action interfaces (such as scrolling) in the future. For that extension, efl_ui_action_connector seems better. ref: T7847 Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D9486
2019-08-05edje cc - fix coverity warning for uninit local varCarsten Haitzler (Rasterman)
fix CID 1382208
2019-08-05efl-mono: Add Model manual implementation to C# and MVVM factoriesLauro Moura
Summary: Depends on D9273, D9270 Test Plan: Run added testcases. Reviewers: cedric, bu5hm4n, zmike, SanghyeonLee, felipealmeida, segfaultxavi Reviewed By: cedric Subscribers: cedric Tags: #expertise_solutions, #efl_language_bindings Differential Revision: https://phab.enlightenment.org/D8080
2019-08-05ethumb - fix error free of static string as stringshareCarsten Haitzler (Rasterman)
in one case we try stringshare_del a static string, not stringshared, so fix by always making it a stringshare fix CID 1402614
2019-08-05epp - fix tchnical leak for coverityCarsten Haitzler (Rasterman)
its technically a leak.. but epp will give up a nd error out anyway here so... didn't matter. fix CID 1402655
2019-08-05ecore drm legacy - fix dbus leaks of reply handleCarsten Haitzler (Rasterman)
fix CID 1402664
2019-08-05eolian: fix use after free in eolian_databaseDaniel Kolesa
'toscan' is actually a view to 'mpath' memory, so freeing it first would result in use-after-free. This is obviously only in the error branch so it usually does not happen, but fix anyway. CID1403022
2019-08-05eolian: fix false positive use-after-free in parserDaniel Kolesa
The catch here is that check_match results in a long jump under that condition. The static analyzer doesn't know this, so declare intent. CID1402703