summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* efl_ui_clickable: testdevs/jaehyun/efl_clickable_testJaehyun Cho2019-06-192-2/+13
|
* efl_mono: support multilevel inheritance of NativeClassYeongjong Lee2019-06-191-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* efl_ui_stack: remove!Marcel Hollerbach2019-06-1914-1239/+474
| | | | | | | 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
* evas filter: make curve work for everyShinwoo Kim2019-06-191-30/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* efl_ui_spec: Support running with CK_FORK=noMarcel Hollerbach2019-06-182-1/+9
| | | | | | | | | | | | | | 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
* define HAVE_REALPATH in evil_stdlib.hVincent Torri2019-06-183-0/+11
| | | | | | | | | | | | 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
* Ecore net dialer Windows example: fix undeclared symbolsVincent Torri2019-06-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | 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
* ecore_x - restore move event skipper that was removed long agoCarsten Haitzler (Rasterman)2019-06-181-55/+74
| | | | | | | | | | | | | | | | | | | | | | 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
* autotools: REMOVAL!Marcel Hollerbach2019-06-18136-27171/+0
| | | | | | | | | | | 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
* Revert "autotools: REMOVAL!"Marcel Hollerbach2019-06-18136-0/+27171
| | | | | | This reverts commit e8c69667b01e2795c1e4ead0536652f935ffa674. git push on a wrong branch, sorry. This will land today, but not now.
* autotools: REMOVAL!Marcel Hollerbach2019-06-18136-27171/+0
| | | | | | | Get your seatbelt fastend! It is happening! AUTOTOOLS IS GONE NOW! All praise to meson! Differential Revision: https://phab.enlightenment.org/D9027
* example - use LC_ALL not LC_MESSAGES for windows examples to buildCarsten Haitzler (Rasterman)2019-06-171-1/+1
| | | | | so they don't need evil anymore. should help vtorri + windows port/support.
* example - use putenev, not sentenv to be more portableCarsten Haitzler (Rasterman)2019-06-171-2/+17
| | | | yes - it's much more code too. that's life with putenv().
* evas optimization - fix the "start in list middle" caseCarsten Haitzler (Rasterman)2019-06-151-12/+17
| | | | | | 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
* optimize - avoid eina_inlist_last where not neededCarsten Haitzler (Rasterman)2019-06-152-2/+6
| | | | really minor places.
* evas - pointer in get - dont On walk inlist but O1 jump to lastCarsten Haitzler (Rasterman)2019-06-151-1/+1
| | | | | | | | | | 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...
* edje messages - use trash to keep message structs around for a short timeCarsten Haitzler (Rasterman)2019-06-151-5/+40
| | | | | | | 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.
* edje messages - on del use the per edje message list not globalCarsten Haitzler (Rasterman)2019-06-151-24/+10
| | | | | this massively cuts the walk to remove messages to only what's needed on teardown ... so yay! speedup.
* edje messages - avoid nasty On2 walk of message lists with skippingCarsten Haitzler (Rasterman)2019-06-152-37/+16
| | | | | | | | | | | | | 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.
* edje messages - track all messages for an edge obj in the edjeCarsten Haitzler (Rasterman)2019-06-152-0/+10
| | | | | this is the basis for some future speedups to avoid full message queue walks - get this right first.
* edje messages - make it use inlist to fragment ram lessCarsten Haitzler (Rasterman)2019-06-152-52/+65
| | | | | | | | 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.
* Efl.Ui.Slider: Rename event delay,changed to steadyXavi Artigas2019-06-145-10/+16
| | | | | | | | | | | | | | | | | | | 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
* efl_ui_check: make it undependend of nstateMarcel Hollerbach2019-06-1317-128/+178
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* efl_canvas_vg_container: Initialize alpha colorJunsuChoi2019-06-131-0/+2
| | | | | | | | | | | | | | | | | | | 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
* ci: travis: switch to newer distro releasesStefan Schmidt2019-06-121-7/+13
| | | | | | | | | | | | | | | | | | | | 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
* tests/efl_ui: remove unnecessary shutdown fixture codeMike Blumenkrantz2019-06-127-76/+6
| | | | | | | | | | | | | | 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
* docfx: Only add media files in use to the final docsXavi Artigas2019-06-111-2/+4
| | | | | | 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.
* efl sel manager - flush wl conenction in cnp to avoid hangs...Carsten Haitzler (Rasterman)2019-06-111-0/+3
| | | | | | | | | | | | 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
* ecore-wl2: Add TODO notes for missing doxygenChristopher Michael2019-06-111-0/+2
| | | | | | | 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
* ecore-wl2: Add doxygen for ecore_wl2_input_seat_getChristopher Michael2019-06-111-2/+10
| | | | ref T8014
* ecore-wl2: Add missing doxygen for ecore_wl2_window_display_getChristopher Michael2019-06-111-1/+10
| | | | ref T8014
* elm/interface_scrollable: check parameters before using themJongmin Lee2019-06-111-2/+2
| | | | | | | | | | | | | | | | 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
* efl_ui_win: Added more gesture config values for gesture manager.Woochanlee2019-06-111-3/+31
| | | | | | | | | | | | | | | | | | | | | 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
* tests/efl_ui: reset active view counter structs between testsMike Blumenkrantz2019-06-101-37/+40
| | | | | | | | | | | | | | 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
* efl-wl: add missing docs for efl_wl_global_add()Mike Blumenkrantz2019-06-101-0/+7
| | | | | | | | | | | | Reviewers: devilhorns Reviewed By: devilhorns Subscribers: devilhorns, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8900
* meson: fix cmake generationMarcel Hollerbach2019-06-101-13/+18
| | | | | | | | | | | | | | | | 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
* theme: fix fileselector search button layoutMike Blumenkrantz2019-06-101-0/+2
| | | | | | | | | | | | | | | | | | | | | | 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
* edje_cc: protect array lookupMarcel Hollerbach2019-06-091-0/+8
| | | | | | | | 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
* edje_cc_out: Exit instead of segfault on OpenBSD.Alastair Poole2019-06-091-0/+6
| | | | | | | | | 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
* efl_ui_active_view: fix view_manager_scrollMarcel Hollerbach2019-06-071-3/+10
| | | | | | | | | | | | | | 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
* efl_ui_active_view: fix plain view_managerMarcel Hollerbach2019-06-071-1/+3
| | | | | | | | | | | 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
* efreetd - timeout in 2 not 10sec to have fewer hangs on shutdown/exitCarsten Haitzler (Rasterman)2019-06-061-2/+2
|
* eio: fix Efl.Io.Model properties iterator.Cedric BAIL2019-06-051-1/+57
| | | | | | | | | | | | 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
* efl_gesture_manager: Delete type property.Woochanlee2019-06-054-12/+7
| | | | | | | | | | | | | | | | | | | | 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
* ecore_evas wl - make ERR's into WRNS as they really are just thatCarsten Haitzler (Rasterman)2019-06-041-3/+3
|
* efl_canvas_animation: fix final_state_keep logicJaehyun Cho2019-06-041-7/+41
| | | | | | | | | 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.
* efl_canvas_animation: fix numerical error on map effect calculationJaehyun Cho2019-06-045-76/+29
| | | | | | | | | | | 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.
* efl_ui_layout_orientation: fix the bitwise condition logicTaehyub Kim2019-06-041-1/+1
| | | | | | | | | | | | | | 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
* efl proc/exe envrion work again - after a break earlier on freebsdCarsten Haitzler (Rasterman)2019-06-042-2/+32
| | | | | | | 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.
* elm - tests - generator - be python2 explicit so we build on freebsdCarsten Haitzler (Rasterman)2019-06-041-1/+1
| | | | | no python bonary there (no symplink) but need to be explicit about python2 or 3 - so do so and we now build on freebsd...