summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-05-27debugdevs/stefan/travis-distro-updatesStefan Schmidt
2020-05-27debugStefan Schmidt
2020-05-26TestingStefan Schmidt
2020-05-26ci: travis: move coverity build to Fedora 32Stefan Schmidt
This involves a workaround for newer kernels to run the binaries.
2020-05-26remove notificationStefan Schmidt
2020-05-26evas_textblock: fix doc typoAli Alzyod
Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D11845
2020-05-26build: disable leak detection in address sanitizer build for tests as wellStefan Schmidt
Summary: The same principle we use for the build stage we use here for running our tests. Leak detection has just to many problems for us on the shutdown path that it makes no sense to use here. I am also bumping the evas timeout form the default 30s to 60 as I have been running into timeouts with asan enabled on my machine. This would not change anything on a default build. Depends on D11137 Reviewers: smohanty, bu5hm4n, raster, zmike Reviewed By: zmike Subscribers: zmike, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11862
2020-05-26ecore_main_timechanges: fix includeMarcel Hollerbach
we should not prefix this with the full path. Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Reviewed-by: Vincent Torri <vincent.torri@gmail.com> Differential Revision: https://phab.enlightenment.org/D11881
2020-05-26evas - csd and wl csd - fix alpha zeroing to avoid framespace junkCarsten Haitzler (Rasterman)
i noticed some junk in framespace... this happesn when solid objects are outside the normal window content area and their solid areas are not clipped to this inner frame area thus those areas are not "zeroed out" next render. @fix
2020-05-26canvas vg: fix vector file data memory leak.Hermet Park
this file data must be freed when eet file is closed. @fix
2020-05-26evas vg: clean up dangling instancesHermet Park
unref containers when file is closed. @fix
2020-05-26Merge efreet_mime efreet_trash into efreetMarcel Hollerbach
efreet_mime and efreet_trash are now included in libefreet.so. There are compatible libs for libefreet_mime.so libefreet_trash.so, which simple drag in libefreet.so. .pc files also are in place for compatibility. efreet_init & shutdown now initializes and shutdowns trash and mime. The old init functions now simply call efreet_init, efreet_init will then init the trash or mime libs. Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D11807
2020-05-26lib: add more c_args handling for places we missed beforeStefan Schmidt
These meson files did not have the c_args handling before. Make sure we use package_c_args here as well. Reviewed-by: Vincent Torri <vincent.torri@gmail.com> Reviewed-by: João Paulo Taylor Ienczak Zanette <joao.tiz@expertisesolutions.com.br> Differential Revision: https://phab.enlightenment.org/D11860
2020-05-26build: modules: harmonize use of package_c_argsStefan Schmidt
Adding it to all missing places so we can control it from the central meson.build file. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Reviewed-by: João Paulo Taylor Ienczak Zanette <joao.tiz@expertisesolutions.com.br> Differential Revision: https://phab.enlightenment.org/D11855
2020-05-26build: lib: harmonize the use of package_c_args in all libsStefan Schmidt
Add it to subprojects which are not using it and remove and old ELEMENTARY_BUILD define we no longer use. This allows us to have a central place in the main meson.build file to set this variable. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Reviewed-by: Vincent Torri <vincent.torri@gmail.com> Reviewed-by: João Paulo Taylor Ienczak Zanette <joao.tiz@expertisesolutions.com.br> Differential Revision: https://phab.enlightenment.org/D11854
2020-05-26benchmarks: use EFL_BUILD=1 in c_argsStefan Schmidt
Original patch by Vincent Torri. Reviewed-by: Vincent Torri <vincent.torri@gmail.com> Reviewed-by: João Paulo Taylor Ienczak Zanette <joao.tiz@expertisesolutions.com.br> Differential Revision: https://phab.enlightenment.org/D11853
2020-05-26build: move EFL_BUILD to package_c_args used in all subprojectsStefan Schmidt
Original patch by Vincent Torri. Co-authored with Marcel Hollerbach. fixup Reviewed-by: Vincent Torri <vincent.torri@gmail.com> Reviewed-by: João Paulo Taylor Ienczak Zanette <joao.tiz@expertisesolutions.com.br> Differential Revision: https://phab.enlightenment.org/D11851
2020-05-26canvas vg: fix dangling vector containers.Hermet Park
These duplicated containers are not going removed since its refernece is always more than 0. We need to unref explicity when they have to @fix
2020-05-26edje: fix animation memory leak.Hermet Park
if object is destructed on canvas animation, its internal resource is leaked. Here simple fix brings stopping animation before deleting obj. @fix
2020-05-25libs: headers: ensure we include headers in the correct order for EAPIStefan Schmidt
We need to ensure this order to make sure EAPI is working correctly on windows. Original patch by Vincent Torri. Differential Revision: https://phab.enlightenment.org/D11856 Signed-off-by: Stefan Schmidt <s.schmidt@samsung.com>
2020-05-25benchmark: fix ident in meson.build fileStefan Schmidt
Use two spaces indent as in other files. Differential Revision: https://phab.enlightenment.org/D11852 Signed-off-by: Stefan Schmidt <s.schmidt@samsung.com>
2020-05-25build: set DLL_EXPORT when on a windows systemStefan Schmidt
No need to have this elementary specific, we can do this globally. Original patch by Vincent Torri. Differential Revision: https://phab.enlightenment.org/D11850 Signed-off-by: Stefan Schmidt <s.schmidt@samsung.com>
2020-05-25eina - dont use SCHED_BATCH or SCHED_IDLE unless they are definedCarsten Haitzler (Rasterman)
2020-05-25ecore_evas_wayland_common: keep the backword compatibility for wayland dnd ↵Taehyub Kim
handler Keep the backword compatibility for wayland ECORE_WL2_EVENT_DATA_SOURCE_END event handler. If we don't use this handler, the dnd is not ended when the drop item is dropped. @fix Reviewed-by: Christopher Michael <devilhorns@comcast.net> Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11846
2020-05-25elm_dnd: do not register widgets twiceMarcel Hollerbach
we have to support none widgets, but we should not register widgets twice because of that. Differential Revision: https://phab.enlightenment.org/D11877
2020-05-25evas image: reload after alpha_setShinwoo Kim
Summary: The alpha_set cancels preload, and do not try to load it again. So the image is not showing, if the alpha_set is called while preloading. [Sample] Evas_Object *image = elm_image_add(box); elm_box_pack_end(box, image); evas_object_show(image); elm_image_file_set(image, "img.png", NULL); // start preloading Evas_Object *eimg = elm_image_object_get(image); evas_object_image_alpha_set(eimg, EINA_TRUE); // cancel preloading Reviewers: Hermet, jsuya, herb Reviewed By: Hermet Subscribers: zmike, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11864
2020-05-23elm test: include evil_private.h to declare realpath() on WindowsVincent Torri
Reviewers: raster, zmike Reviewed By: raster Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11872
2020-05-23ecore_evas: fix uninitialized variable warningVincent Torri
Test Plan: compilation Reviewers: raster, zmike Reviewed By: raster Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11871
2020-05-23ecore - another systemd header - go away. don't need it now.Carsten Haitzler (Rasterman)
2020-05-23ecore evas - tick printf debugs - disabled right now so no noiseCarsten Haitzler (Rasterman)
this is here so it can be turned on and off to see what's happening with ticking and tick latency
2020-05-23ecore-x : move x vsync device back to mainloop from threadCarsten Haitzler (Rasterman)
after i noticed some jitters, it seesms one thread to listen for vsync events then to wake up the mainloop can suffer from irregular scheduling jitters. it seems to be highly depenedent on both gpu driver and cpu but it seemed the vsync thread itself was more reliably woken than the mainlooop it then signalled, so merging this back is just batter. it's configurable via an environment variable so we can try either right now and see, but default is now to be in main loop.
2020-05-23ecore thread - feedback threads should not be background threads...Carsten Haitzler (Rasterman)
if try_no_queue is used - its a thread that clearly wantt to be out of the queue to run on its own so probably wants to wake up accurately and thus not be a backgroun rpriority task but and urgent one. ensure we set up priority accordingly as we didn't before. this should fix scheduling when under load for vsync @fix
2020-05-23ecore-x expose some debug times like the exact time the vsync wokeCarsten Haitzler (Rasterman)
this is for finding and eliminating jank in the vsync scheduling etc. - as its underscore it's clearly a private api.
2020-05-23ecore - expose "hidden" internal api for debugging to get wakeup timeCarsten Haitzler (Rasterman)
get the real time at which main loop woke up for purposes of debugging and finding jank/scheduling jitter.
2020-05-22evas_vg_container: return NULL in evas_vg_container_add when the parent of ↵Taehyub Kim
container is NULL Summary: evas_vg_container should return NULL when the parent is NULL because the function does not allot NULL parent @fix Reviewers: kimcinoo, jsuya, Hermet Reviewed By: kimcinoo Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11867
2020-05-21elua: prepare for compatibility with cffi-lua (use ffi.nullptr)Daniel Kolesa
This is necessary because the LuaJIT FFI implements the null pointer to nil equality behavior, which is not possible to do in standard Lua (as equality metamethod needs identical types to trigger). So replace it with ffi.nullptr as cffi-lua implements; in luajit ffi.nullptr will just become nil and it'll work like before.
2020-05-21elua: remove old lua bindings generatorDaniel Kolesa
2020-05-21elm_genlist/elm_gengrid: fix memory leak caused by efl_wref_del.Hosang Kim
Summary: efl_wref_del makes pointer to NULL. So we should copy pointer before efl_wref_del is called. Reviewers: SanghyeonLee, cedric Reviewed By: SanghyeonLee Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11866
2020-05-20meson: Changed meson build to support address sanitizer buildSubhransu Mohanty
As we run some intermediate binary like edje_cc during efl build , and due to those binary has some memory leaks the address sanitizer build of efl fails. This Patch runs those binary with 'ASAN_OPTIONS=detect_leak=false' to disable the memory leak check for those binaries. Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D11137
2020-05-20efl_ui_layout: remove group_calcualte to respect legacy min sizeYeongjong Lee
Summary: For legacy elm_layout, the size should be calculated based on `hint_size_combined_min` instead of `hint_size_min` in the group_calculate. Also, `_efl_ui_layout_efl_canvas_group_group_calculate` is unnecessary because it is added to allow finger size policy differentiation between inherited layout and layout object (see also, 46cf288d32f06a0c82ef227c65e55062bf494672), however, it can be set by `finger_size_multiplier` proeprty in constructor. Test Plan: Check `evas_object_size_hint_min_set` is respected. layout_example.c ``` //Compile with: //edje_cc layout_example.edc && gcc -g layout_example.c -o layout_example `pkg-config --cflags --libs elementary` #include <Elementary.h> EAPI_MAIN int elm_main(int argc EINA_UNUSED, char **argv EINA_UNUSED) { Evas_Object *win, *layout, *box; elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED); win = elm_win_util_standard_add("layout", "Layout"); elm_win_autodel_set(win, EINA_TRUE); box = elm_box_add(win); evas_object_size_hint_weight_set(box, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); evas_object_size_hint_align_set(box, EVAS_HINT_FILL, EVAS_HINT_FILL); evas_object_show(box); elm_win_resize_object_add(win, box); layout = elm_layout_add(box); evas_object_size_hint_min_set(layout, 300, 200); elm_layout_file_set(layout, "./layout_example.edj", "mylayout"); evas_object_show(layout); elm_box_pack_end(box, layout); evas_object_resize(win, 300, 300); evas_object_show(win); elm_run(); return 0; } ELM_MAIN() ``` layout_example.edc ``` collections { group { name: "mylayout"; parts { part { name: "bg"; type: RECT; description { state: "default" 0.0; color: 100 190 100 255; } } part { name: "mytext1"; type: TEXT; description { state: "default" 0.0; text { size: 30; text: "my text1"; min: 1 0; } color: 0 255 0 255; rel1.relative: 0.0 0.0; rel2.relative: 1.0 0.3; } } } parts { part { name: "mytext2"; type: TEXT; description { state: "default" 0.0; text { size: 30; text: "my text2"; min: 1 0; } color: 0 255 255 255; rel1.relative: 0.0 0.3; rel2.relative: 1.0 0.6; } } } } } ``` Reviewers: zmike, Jaehyun_Cho, woohyun Reviewed By: Jaehyun_Cho Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11858
2020-05-19ecore-x - ensure we fully look at all xkb events and refresh all bindsCarsten Haitzler (Rasterman)
this ensures for sure that we rebind known key/mouse grabs too for xkb mapping changes and force a get of the keymaps too @fix
2020-05-19evas: gesture_manager: fix usage of long on WindowsVincent Torri
On Windows 64bits, long is a 4 bytes type. Declare count as being a intptr_t instead of long Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D11836
2020-05-19tests: eina: fix usage of long on WindowsVincent Torri
On Windows 64bits, long is a 4 bytes type. Declare i as being a uintptr_t instead of unsigned long Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Reviewed-by: Felipe Magno de Almeida <felipe@expertisesolutions.com.br> Differential Revision: https://phab.enlightenment.org/D11837
2020-05-19ecore_con: Fix unused argument warningVincent Torri
Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D11849
2020-05-19evas: do not call evas_object_change in reneder_postShinwoo Kim
Summary: evas_render_updates_internal > eina_array_remove is calling pending_change pending_change > render_post could call evas_object_change > evas_render_object_recalc. The eina_array is removing its item from pending_objects, while the evas_object_change that is calling evas_render_object_recalc is adding item to pending_objects. As a result, the pending_objects.count is incorrect, and it breaks render. Reviewers: Hermet, jsuya, herb Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11835
2020-05-19ecore_anim: rework bezier curve functionWonki Kim
Summary: current cubic bezier function isn't accurate at sometime. to make it more accurate, this patch rework bezier curve by using a cardano's algorithm. (refer to https://pomax.github.io/bezierinfo/) Reviewers: Hermet, bu5hm4n Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11819
2020-05-19png: handle file name .9.pngShinwoo Kim
Summary: .9.png is not 9 patch file, but a png file which name is .9 Test Plan: evas_object_image_file_set(image, "./.9.png", NULL); Reviewers: Hermet, jsuya, herb Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11848
2020-05-18elput: Rmove empty pub_eo_file_target in meson.buildChristopher Michael
2020-05-18elput: Fix formattingChristopher Michael
NB: No functional changes
2020-05-18ecore-evas-drm: Remove duplicate config set in meson.build fileChristopher Michael