summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-06-19efl_ui_range_display: range_min_max -> range_limitsMike Blumenkrantz
Summary: ref T7895 Reviewers: segfaultxavi Reviewed By: segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl_api Maniphest Tasks: T7895 Differential Revision: https://phab.enlightenment.org/D9110
2019-06-19efl_mono: support multilevel inheritance of NativeClassYeongjong Lee
Summary: When it creates multilevel class of NativeClass, internal c function is not called because eo vtables aren't created Test Plan: Check "MyBox2 UpdateLayout" printed. ``` //mcs test_box.cs -out:test_box.exe `pkg-config --libs efl-mono` //mono test_box.exe using System; public class MyBox2 : MyBox { public MyBox2(Efl.Object parent, string style = null) : base(parent, style) { } public override void UpdateLayout() { Eina.Log.Error("MyBox2 UpdateLayout"); base.UpdateLayout(); } } public class MyBox : Efl.Ui.Box { public MyBox(Efl.Object parent, string style = null) : base(parent, style) { } public override void UpdateLayout() { Eina.Log.Error("MyBox UpdateLayout"); base.UpdateLayout(); } } public class Example : Efl.Csharp.Application { protected override void OnInitialize(Eina.Array<System.String> args) { Efl.Ui.Win win = new Efl.Ui.Win(Efl.App.AppMain); var box = new MyBox(win); box.SetHintSizeMin(new Eina.Size2D(360, 240)); win.SetContent(box); var box2 = new MyBox2(win); box2.SetHintSizeMin(new Eina.Size2D(360, 240)); box2.Pack(box); var button = new Efl.Ui.Button(box); button.SetText("Click"); button.ClickedEvt += (object sender, Efl.Ui.IClickableClickedEvt_Args e) => { box.CalculateGroup(); box2.CalculateGroup(); }; box.Pack(button); } public static void Main() { var example = new Example(); example.Launch(); } } ``` Reviewers: segfaultxavi, vitor.sousa, felipealmeida, lauromoura, woohyun, Jaehyun_Cho Reviewed By: Jaehyun_Cho Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9079
2019-06-19efl_ui_stack: remove!Marcel Hollerbach
this can now be done with active_view. This is done in order to reduce the LOC in elementary that basically do the same. Differential Revision: https://phab.enlightenment.org/D8920
2019-06-19evas filter: make curve work for everyShinwoo Kim
Summary: If an input buffer and an output buffer for the curve filter are same, it reads and writes to the same texture which behavior is not defined. I could not find good reference for this, but following could be a reference. https://stackoverflow.com/questions/11410292/opengl-read-and-write-to-the-same-texture The texture gets 0 color value as a result. So the curve filter does not work. This patch makes the curve filter use different input and output buffer. Test Plan: This attached file could explain what 'read and write to the same texture' is. {F3724537} Reviewers: Hermet, jpeg, jsuya Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9085
2019-06-18efl_ui_spec: Support running with CK_FORK=noMarcel Hollerbach
Summary: this was simply not tested before. But works now. Reviewers: zmike, segfaultxavi Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9109
2019-06-18define HAVE_REALPATH in evil_stdlib.hVincent Torri
Summary: instead of relying on build system, define HAVE_REALPATH in Evil header file Reviewers: zmike, raster, cedric Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9107
2019-06-18Ecore net dialer Windows example: fix undeclared symbolsVincent Torri
Summary: missing symbols : efl_net_dialer_address_dial_get efl_net_socket_address_remote_get efl_net_socket_address_local_get EFL_NET_DIALER_EVENT_DIALER_CONNECTED EFL_NET_DIALER_EVENT_DIALER_RESOLVED EFL_NET_DIALER_EVENT_DIALER_ERROR EFL_NET_DIALER_WINDOWS_CLASS Test Plan: compilation Reviewers: zmike, raster, cedric Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9106
2019-06-18ecore_x - restore move event skipper that was removed long agoCarsten Haitzler (Rasterman)
so i've been wondering what is going on for a few days... and i've figured it out finally... my mouse seems ot like to generate 1000 events per second. not your usual 100 or 200. it only happened on this one machine so i was wondering what on earth was up. this machine was different in other ways like an arm cpu, differing gpu (rx550), different distro and so on. this is creating a storm of motion events.. and this is causing all sorts of overhead in just trying to deal with them all like generate more internal events, emit signals for every one of them and so on. there is no attempt to play catch-up or anything - just build up a bigger and bigger queue of them to deal with. this is NOT GOOD. this restores our old commented out event skipper that got commented out during some xcb work actually - not on its own. it was a huge xcb patch that commented it out. this restores it and makes it a little cleaner with a bool and now the perf issues i was seeing are gone. this is such a major performance fix that this deserves a backport. @fix @optimize
2019-06-18autotools: REMOVAL!Marcel Hollerbach
Get your seatbelt fastend! It is happening! AUTOTOOLS IS GONE NOW! All praise to meson! This time the final version, ci has been adjusted, and now does not try anymore to build a removed buildsystem. However, the scripts in there need cleaning up. Differential Revision: https://phab.enlightenment.org/D9027
2019-06-18Revert "autotools: REMOVAL!"Marcel Hollerbach
This reverts commit e8c69667b01e2795c1e4ead0536652f935ffa674. git push on a wrong branch, sorry. This will land today, but not now.
2019-06-18autotools: REMOVAL!Marcel Hollerbach
Get your seatbelt fastend! It is happening! AUTOTOOLS IS GONE NOW! All praise to meson! Differential Revision: https://phab.enlightenment.org/D9027
2019-06-17example - use LC_ALL not LC_MESSAGES for windows examples to buildCarsten Haitzler (Rasterman)
so they don't need evil anymore. should help vtorri + windows port/support.
2019-06-17example - use putenev, not sentenv to be more portableCarsten Haitzler (Rasterman)
yes - it's much more code too. that's life with putenv().
2019-06-15evas optimization - fix the "start in list middle" caseCarsten Haitzler (Rasterman)
i missed 1 rare case where we start in the middle of the list and have to walk to the end. testing didnt show it up. fix. this fixes up that case in b5ed76ba9f22ea659e9e6a3daa32c68354920455
2019-06-15optimize - avoid eina_inlist_last where not neededCarsten Haitzler (Rasterman)
really minor places.
2019-06-15evas - pointer in get - dont On walk inlist but O1 jump to lastCarsten Haitzler (Rasterman)
to walk inreverse we need to jump to last first then walk backwards... what we were doing is calling eina_inlist_last() which is defined to walk rather than that using list->last ... this totally got rid of _evas_event_object_list_raw_in_get() from my perf list ... and i was wondering how it got there to start with. this is such an obvious optimization...
2019-06-15edje messages - use trash to keep message structs around for a short timeCarsten Haitzler (Rasterman)
more optimizations for edje messages to avoid excess alloc and frees if we have some trash around... since messages already have list nodes, re-use the main list node for storing trash and not eina trash as this avoids extra allocs for trash nodes.
2019-06-15edje messages - on del use the per edje message list not globalCarsten Haitzler (Rasterman)
this massively cuts the walk to remove messages to only what's needed on teardown ... so yay! speedup.
2019-06-15edje messages - avoid nasty On2 walk of message lists with skippingCarsten Haitzler (Rasterman)
so to process a single obj we added a lot of mesgs to the message queueue only then to wak most and SKIP most msgs again and again - when this adds up to 1000's of messages and 10k+ then literally moving a window in e hangs for multiple seconds and we walk such lists in On2 like complexity. this gets it down to O(1) along with some other minor optimizations of not adding to tmp list only then to add them to the nex queue/list. there is more i can optimize here as well now we track messages for an edje in th edje. that's next.
2019-06-15edje messages - track all messages for an edge obj in the edjeCarsten Haitzler (Rasterman)
this is the basis for some future speedups to avoid full message queue walks - get this right first.
2019-06-15edje messages - make it use inlist to fragment ram lessCarsten Haitzler (Rasterman)
using regular lists means we double our indirect ptr jumps and fragment ram more - this is step one in improving performance of message handling in some nasty corner cases i have found. first this so it can be identified as an issue on its own if it is one. i've tested it and it seems ok. so this si stage 1.
2019-06-14Efl.Ui.Slider: Rename event delay,changed to steadyXavi Artigas
Summary: And update the docs to explain its purpose. Related to T7893 Test Plan: Everything builds and tests pass Reviewers: zmike, bu5hm4n Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9090
2019-06-13efl_ui_check: make it undependend of nstateMarcel Hollerbach
Summary: check can only display 2 states, and is only designed to do so. Additionally, nstate inherits from button, which brings in autorepeat, which is hileriously broken on check and cannot really work. Right now there is not even support in the theme for clickable. So its a good idea to get rid of this for now IMO. ref T7865 Reviewers: stefan_schmidt, zmike, segfaultxavi, akanad, YOhoho Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T7865, T7867 Differential Revision: https://phab.enlightenment.org/D9018
2019-06-13efl_canvas_vg_container: Initialize alpha colorJunsuChoi
Summary: The vg object (container, shape, ...) follows color of VG node data. The color of node data is not initialized. it can set the required color for each object. vg container should be layer with an alpha value of 255. Test Plan: N/A Reviewers: Hermet, smohanty Reviewed By: Hermet Subscribers: cedric, #reviewers, kimcinoo, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9083
2019-06-12ci: travis: switch to newer distro releasesStefan Schmidt
Summary: We follow Debian 9.9, Ubuntu 19.04 and Fedora 30 releases. Also adding a build for Ubuntu 18.04 LTS to the cron job. Not all jobs are updated yet as some experience failures (old or new versions) which need to be understand and fixed before we move on. Reviewers: zmike Reviewed By: zmike Subscribers: zmike, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9088
2019-06-12tests/efl_ui: remove unnecessary shutdown fixture codeMike Blumenkrantz
Summary: this is automatically handled by elm_shutdown at the end of every test Reviewers: YOhoho Reviewed By: YOhoho Subscribers: YOhoho, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9087
2019-06-11docfx: Only add media files in use to the final docsXavi Artigas
The setup script copied ALL media files, but only the C# tutorials and guides. A lot of space can be saved in the generated _site folder if only the media files relevant to C# are copied.
2019-06-11efl sel manager - flush wl conenction in cnp to avoid hangs...Carsten Haitzler (Rasterman)
we don't force buffers to flush in wl... this will fix that and force them removing an ugly hang for possibly seconds in cnp from client to client or even within a client. remember: flush your mush. @fix
2019-06-11ecore-wl2: Add TODO notes for missing doxygenChristopher Michael
I have marked these as TODO (for doxygen) because we still need to determine if we are keeping these functions in the public API ref T8014
2019-06-11ecore-wl2: Add doxygen for ecore_wl2_input_seat_getChristopher Michael
ref T8014
2019-06-11ecore-wl2: Add missing doxygen for ecore_wl2_window_display_getChristopher Michael
ref T8014
2019-06-11elm/interface_scrollable: check parameters before using themJongmin Lee
Summary: it crashes when calling elm_interface_scrollable_loop_get() function with NULL parameters. Test Plan: call elm_interface_scrollable_loop_get() function with NULL parameters. Reviewers: Hermet, woohyun, kimcinoo, zmike Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9082
2019-06-11efl_ui_win: Added more gesture config values for gesture manager.Woochanlee
Summary: https://phab.enlightenment.org/T7544 This is for set config values for gesture manager. C# will use gesture manager instead of elm_gesture_layer. Those config values should import to gesture manager to recognize and handle gestures. Reviewers: segfaultxavi, stefan_schmidt, bu5hm4n, zmike, Jaehyun_Cho Reviewed By: Jaehyun_Cho Subscribers: Jaehyun_Cho, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7962
2019-06-10tests/efl_ui: reset active view counter structs between testsMike Blumenkrantz
Summary: this fixes running the tests with CK_FORK=no Reviewers: bu5hm4n Reviewed By: bu5hm4n Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9080
2019-06-10efl-wl: add missing docs for efl_wl_global_add()Mike Blumenkrantz
Reviewers: devilhorns Reviewed By: devilhorns Subscribers: devilhorns, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8900
2019-06-10meson: fix cmake generationMarcel Hollerbach
Summary: there were missing Version files. These are generated now. Tested and verified with ecrire. Reviewers: zmike, segfaultxavi Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9054
2019-06-10theme: fix fileselector search button layoutMike Blumenkrantz
Summary: to correctly (and quickly) calculate part geometry when setting a part relative to another part, align must be set on the axis that is relative to another part. also since the height on this part should not be changing, set fixed on the vertical axis to optimize geometry calcs @fix Depends on D9009 Reviewers: cedric Reviewed By: cedric Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9010
2019-06-09edje_cc: protect array lookupMarcel Hollerbach
it seems with those two actions here in the commit, do use id in a different way the other actions do. This is commit protects against this. Differential Revision: https://phab.enlightenment.org/D9078
2019-06-09edje_cc_out: Exit instead of segfault on OpenBSD.Alastair Poole
Until the cause of these issues can be found exit and print error messages to console. edje_cc is currently not reliable on OpenBSD. Until then anyone wanting to use EFL on this platform will need pre-compiled .edj files. Differential Revision: https://phab.enlightenment.org/D9077
2019-06-07efl_ui_active_view: fix view_manager_scrollMarcel Hollerbach
the problem that can be observed when clicking permanently on a view in the view_manager_scroll. You will see things jump arround uncontrolled, then when you quickly drag and drop, you will also see a lot of weird moving arround artifacts. The reason for this is, that progress was not correctly resetted, additionally, mouse_active also was not resetted correctly in one case. fix T7988 Reviewed-by: Jaehyun Cho <jae_hyun.cho@samsung.com> Differential Revision: https://phab.enlightenment.org/D9074
2019-06-07efl_ui_active_view: fix plain view_managerMarcel Hollerbach
the problem here is, when we update content. We need to unset visibility to the *old* content, and set visibility to the *new* content. This is now finally fixed. fix T8002 Reviewed-by: Jaehyun Cho <jae_hyun.cho@samsung.com> Differential Revision: https://phab.enlightenment.org/D9073
2019-06-06efreetd - timeout in 2 not 10sec to have fewer hangs on shutdown/exitCarsten Haitzler (Rasterman)
2019-06-05eio: fix Efl.Io.Model properties iterator.Cedric BAIL
It kind of worked by luck for 6 months, but really shouldn't. This is now a custom iterator that will walk the string part of the properties only. It could become a generic iterator if necessary one day, but for now, it is fine just here. T7771 Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D9075
2019-06-05efl_gesture_manager: Delete type property.Woochanlee
Summary: User already know the gesture type. And the gesture type(Efl.Event.Description) can't using after binding. T7959 Reviewers: Jaehyun_Cho Reviewed By: Jaehyun_Cho Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T7959 Differential Revision: https://phab.enlightenment.org/D9033
2019-06-04ecore_evas wl - make ERR's into WRNS as they really are just thatCarsten Haitzler (Rasterman)
2019-06-04efl_canvas_animation: fix final_state_keep logicJaehyun Cho
Previously, final_state_keep did not work correctly with animation repeat. e.g. repeat mode is restart and repeat count is 1, then final_state_keep did not work. Now, final_state_keep logic has been fixed to work correctly.
2019-06-04efl_canvas_animation: fix numerical error on map effect calculationJaehyun Cho
Previously, for a single canvas animation, map effect was applied in animator callback without resetting previously applied map effect. This increased numerical error because each time map effect factors (e.g. scale, degree) should be calculated based on the current map coordinates. To resolve this numerical error, now the previously applied map effect is reset before applying the current map effect in animator callback.
2019-06-04efl_ui_layout_orientation: fix the bitwise condition logicTaehyub Kim
Summary: fix the bitwise condition logic Reviewers: Jaehyun_Cho, zmike Reviewed By: Jaehyun_Cho Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9067
2019-06-04efl proc/exe envrion work again - after a break earlier on freebsdCarsten Haitzler (Rasterman)
efl seemingly has been broken on freebsd for a while - environ the symbol does not exist for SHARED LIBS on freebsd (discussin had been had on this already, but i gave up). use dlsym as the escape mechanism so we build on freebsd again.
2019-06-04elm - tests - generator - be python2 explicit so we build on freebsdCarsten Haitzler (Rasterman)
no python bonary there (no symplink) but need to be explicit about python2 or 3 - so do so and we now build on freebsd...