summaryrefslogtreecommitdiff
path: root/src (unfollow)
AgeCommit message (Collapse)Author
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-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
2019-08-05eolian: silence return checking in lexerDaniel Kolesa
Coverity CID1396970.
2019-08-05eolian: refactor "dead" codeDaniel Kolesa
This has no functional change but should stop coverity from complaining. CID1382214
2019-08-05eolian: attempt to silence coverity overlapping assignment errorsDaniel Kolesa
While the previous code was I believe correct, coverity still complains about it. Split it into two statements also to declare intent. CID 1402603..1402724
2019-08-05elm theme - fix leak in error cse in elm theme mmap setCarsten Haitzler (Rasterman)
we don't free the eina file handle on error. coverity found it. fix fix CID 1402680
2019-08-05ethumb - make coverity happy by including null charCarsten Haitzler (Rasterman)
doesnt cost us much to memcpy the nul byte too to keep coverity happy. fix CID 1402690
2019-08-05ecore evas drm - fix multi-dlopening of lib into symbol spaceCarsten Haitzler (Rasterman)
only load libglapi once... not multiple times by storing static ptr to lib handle. fix CID 1402692
2019-08-05efl_input_key: replace key property name with key_symYeongjong Lee
Summary: 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_key.eo.cs(272,26): error CS0542: `Efl.Input.Key.Key': member names cannot be the same as their enclosing type ``` This patch changes Efl.Input.Key.GetKey/SetKey method to Efl.Input.Key.GetKeySym/SetKeySym and generates Efl.Input.Key.KeySym property. Note that CAPI is not changed. ref T8093 Test Plan: meson setup -Dbindings=mono,cxx -Dmono-beta=true Reviewers: lauromoura, woohyun, zmike, segfaultxavi Reviewed By: segfaultxavi Subscribers: bu5hm4n, cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8093 Differential Revision: https://phab.enlightenment.org/D9483 zmike note: this class was not released at the point of this patch, the class was only recently marked as stable
2019-08-05evil: add mprotect() and fix a bit mmap(). Elm_test is workingVincent Torri
Test Plan: compilation aand elm_test working Reviewers: raster, cedric, zmike Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9493
2019-08-05efl_ui_spin/button: move from elm_ to efl_ prefixed functionsMarcel Hollerbach
Summary: this moves a bunch of api calls from elm_ to efl_. Those calls that are called on the entry object are still elm, as well as access APIs, they will have to be moved once efl_ui_text is usable. Depends on D9475 Reviewers: segfaultxavi, cedric, zmike Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9488
2019-08-05ecore drm - legacy - fix coverity leak complaintCarsten Haitzler (Rasterman)
is real - in error case. fix it to make coverity happy. fix CID 1402696
2019-08-05ephysics - fix stringshare double delCarsten Haitzler (Rasterman)
fix CID 1402707
2019-08-05vg json: update missing change in 16d806ff92edab6c8d2d7440794b2c535aee9d21.Hermet Park
2019-08-05vg json: up to date internal reference.Hermet Park
rlottie is not officially released, still it's unstable.
2019-08-05ector_software_rasterizer: Add default value for stroke's miter_limitJunsuChoi
Summary: Currently the default value of miter_limit is defined as 0. miter_limit should be specified to a value other than 0. becuase it is affected by width. See below for an explanation of this. https://www.freetype.org/freetype2/docs/reference/ft2-glyph_stroker.html#ft_stroker_linejoin There is no particular reason why the default value is 0x4. It only refers to the standard of web svg. https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/stroke-miterlimit Test Plan: setenv("ECTOR_BACKEND", "default", 1); elm_init(argc, argv); Evas_Object *win = elm_win_util_standard_add(NULL, "test"); evas_object_smart_callback_add(win, "delete,request", win_del, 0); elm_win_autodel_set(win, 1); Evas_Object *bg = elm_bg_add(win); elm_bg_color_set(bg, 255,255,255); evas_object_size_hint_align_set(bg, EVAS_HINT_FILL, EVAS_HINT_FILL); evas_object_size_hint_weight_set(bg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); evas_object_show(bg); Evas *evas = evas_object_evas_get(win); Evas_Object *vg = evas_object_vg_add(evas); evas_object_show(vg); Evas_Object *container = evas_vg_container_add(vg); Evas_Object *shape = evas_vg_shape_add(container); //Default is EFL_GFX_JOIN_MITER evas_vg_shape_append_rect(shape, 0, 0, 100 , 100, 0, 0); evas_vg_shape_stroke_color_set(shape, 255, 0, 0, 255); evas_vg_shape_stroke_width_set(shape, 10); evas_vg_node_origin_set(shape, 50, 150); shape = evas_vg_shape_add(container); evas_vg_shape_append_rect(shape, 0, 0, 100 , 100, 0, 0); evas_vg_shape_stroke_join_set(shape, EFL_GFX_JOIN_BEVEL); evas_vg_shape_stroke_color_set(shape, 255, 0, 0, 255); evas_vg_shape_stroke_width_set(shape, 10); evas_vg_node_origin_set(shape, 200, 150); shape = evas_vg_shape_add(container); evas_vg_shape_append_rect(shape, 0, 0, 100 , 100, 0, 0); evas_vg_shape_stroke_join_set(shape, EFL_GFX_JOIN_ROUND); evas_vg_shape_stroke_color_set(shape, 255, 0, 0, 255); evas_vg_shape_stroke_width_set(shape, 10); evas_vg_node_origin_set(shape, 350, 150); evas_object_vg_root_node_set(vg, container); elm_object_content_set(bg, vg); elm_win_resize_object_add(win, bg); evas_object_resize(win, WIDTH, HEIGHT); evas_object_show(win); elm_run(); elm_shutdown(); Reviewers: smohanty, Hermet, kimcinoo Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9492
2019-08-03efl_ui_spin: move the step implementation to spin_buttonMarcel Hollerbach
having efl_ui_spin implementing efl.ui.range_interactive does not make sense. Efl.Ui.Spin is a not interactive widget, so it should not implement that interface. ref T7897 Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Differential Revision: https://phab.enlightenment.org/D9475
2019-08-03efl_ui_spin_button: fix initial displaying of formatting stringMarcel Hollerbach
spin_button should also implement formatted_apply, the label has a different part name then spin. ref T8097 Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Differential Revision: https://phab.enlightenment.org/D9474
2019-08-03efl_ui_spin_button: stop calling only the parentMarcel Hollerbach
if the spin button is skipped the spin is called directly, the label will display the wrong value. Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Differential Revision: https://phab.enlightenment.org/D9473
2019-08-02elm toolbar - fix toolbar item separators and refactor aling/fill of itemCarsten Haitzler (Rasterman)
only set this is one place and thus get it consistent/right for separators vs other items. @fix
2019-08-02elm toolbar - fix packing options at start to avoid visual layout bugsCarsten Haitzler (Rasterman)
i spoetted open moving around and shrinking when it shouldnt - packging options (fill/align) not always set right. this fixes that. @fix
2019-08-02ecore evas x and e sync rendering - disable as it's unusedCarsten Haitzler (Rasterman)
this has been optional and unused by e for a very long time ot try sync front-buffered software rendering with the wm/compositor. we may as well remove the bloat that is here that is unused... it's been inactive for many years anyway.