summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-02-06use sudodevs/stefan/ci-exactness-merged2Stefan Schmidt
2020-02-06fixup init shutdownStefan Schmidt
2020-02-06run ldcofnig to let exactness find libsStefan Schmidt
2020-02-05should not be needed as its not a fedora systemStefan Schmidt
2020-02-05try to run it with codecovStefan Schmidt
2020-02-05updatesStefan Schmidt
2020-02-05ci:travis: add build job for exactnessStefan Schmidt
2020-02-05TO BE REVERTED. JUST FOR FASTER TESTING.Stefan Schmidt
2020-02-05exactness: cleanup some coding style isuesStefan Schmidt
Just a few that I spotted when looking over the code. Differential Revision: https://phab.enlightenment.org/D11290
2020-02-05exactness: fix shutdown handling of efl components in various binariesStefan Schmidt
The shutdown handling for efl libraries was a bit sloppy in the exactness binaries. Make sure we shutdown what we init. Differential Revision: https://phab.enlightenment.org/D11289
2020-02-05exactness: remove unused codeStefan Schmidt
Either commented out, blank lines or no needed includes. Differential Revision: https://phab.enlightenment.org/D11288
2020-02-05exactness: remove no longer needed EO and BETA API definesStefan Schmidt
This has been in place during development and not updated for recent changes and merge into efl master. Differential Revision: https://phab.enlightenment.org/D11287
2020-02-05exactness: print out statistics at the end of the runStefan Schmidt
Given a better overview after the wall of text we are seeing from starting and stopping jobs in parallel. Differential Revision: https://phab.enlightenment.org/D11286
2020-02-05exactness: import code from external repo into efl.gitDaniel Zaoui
Exactness has been developed in a separate git repo for many years. This finally moves it over into efl. Having it in tree allows us for easier testing with our current main target elementary_test and integration into our CI system (patches for this are work in progress already). We are only importing the lib and binary for test execution, not the full set of test data. This is would be over 500MB and thus it will stay in a different repo and only made available during the actual testing. [The original patch was made by Daniel Zaoui. Over the course of review and testing it got extended with build fixes for API changes and mingw compilation support from Stefan Schmidt and Michael Blumenkrantz] Differential Revision: https://phab.enlightenment.org/D11285
2020-02-05elementary: build elementary_test additionally as shared objectStefan Schmidt
For our exactness testing we are dlopen() the elementary_test executable. Until glibc 2.30 this was posible with -pie, but it changed in the glibc version. They no longer allow these executables to be dlopen()'ed. As a workaround for now we are building elementary_test also as a shared object file which we load and use in the exactness testing process. The code came from Marcel Hollerbach and I only tested it and fixed up a small detail. Differential Revision: https://phab.enlightenment.org/D11284
2020-02-05evas: prevent calling api with NULL filter imageYeongjong Lee
This fixes a bunch of warnings like that ``` ../src/lib/eo/eo.c:644 _efl_object_call_resolve() NULL passed to function xxx(). ``` Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11283
2020-02-05move stabelized items out of @betaMarcel Hollerbach
fixes T8570 fixes T8567 fixes T8566 fixes T8521 fixes T8501 fixes T8460 fixes T8455 fixes T8454 fixes T8254 fixes T7945 fixes T7944 fixes T7943 fixes T7942 fixes T7941 fixes T7940 fixes T7939 fixes T7938 fixes T7937 fixes T7936 fixes T7935 fixes T7934 fixes T7933 fixes T7858 fixes T7857 fixes T7856 fixes T7855 fixes T8599 Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Differential Revision: https://phab.enlightenment.org/D11264
2020-02-05efl_canvas_textblock: incorrect value returned for underline dashed gapabdulleh Ghujeh
the function text_underline_dashed_gap_get return underline_dash_width value instead of underline_dash_gap value. this patch return the correct value. Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Differential Revision: https://phab.enlightenment.org/D11277
2020-02-05software_evas_engine: Remove unnecessary member for ector_surface_setJunsuChoi
Summary: The clear of the Evas_Thread_Command_Ector_Surface structure is an unmanaged variable. When ector calls _draw_thread_ector_surface_set and it checks the clear value. the clear value is garbage value. This can cause the pixels to fail to initialize. This is why afterimages remain after updating shapes while using ector surfaces. Test Plan: ./build/src/examples/evas/efl-canvas-vg-simple 1 - Basic Shape test Scale up 's' or do something Reviewers: Hermet, smohanty, kimcinoo Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11278
2020-02-04efl.canvas.textblock: update style stringsAli Alzyod
Summary: Update backing -> background_type backing_color -> background_color underline_dash_color -> underline_dashed_color underline - > underline_type strikethrough - > strikethrough_type style -> (effect_type + shadow_direction) underline_dash_width -> underline_dashed_width underline_dashed_gap -> underline_dashed_gap **+prevent unified APIs from supporting legacy style tags, and prevent legacy APIs from the ability to use new unified tags** Reviewers: zmike, woohyun, segfaultxavi, bu5hm4n, cedric Reviewed By: segfaultxavi, bu5hm4n Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8523 Differential Revision: https://phab.enlightenment.org/D11188
2020-02-04efl.input.text: add underscore for enums namesali
Summary: (Efl.Input_Text.Panel_Layout_Type) phonenumber -> phone_number (Efl.Input_Text.Panel_Layout_Type) numberonly ->number_only (Efl.Input_Text.Capitalize_Type) allcharacter -> all (Efl.Input_Text.Panel_Layout_Normal_Variation_Type) filename -> file_name (Efl.Input_Text.Panel_Layout_Password_Variation_Type) numberonly-> number_only Reviewers: segfaultxavi, woohyun, bu5hm4n Reviewed By: segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8541 Differential Revision: https://phab.enlightenment.org/D11280
2020-02-04efl_text_change_info: change text change type property( bool -> enum)abdulleh Ghujeh
changed the insertion property to be an enum instead of a boolean property. this will be clearer for usage and provide the ability to add more types in the future. Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Differential Revision: https://phab.enlightenment.org/D11272
2020-02-04csharp: implement GetChildrenIndex for GenericModelYeongjong Lee
Summary: This patch will fix EFL# build error. Reviewers: felipealmeida, woohyun, Jaehyun_Cho Reviewed By: Jaehyun_Cho Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11269
2020-02-04efl.ui.textbox: add and use keyboard bindingsAli Alzyod
As other widgets, efl.ui.textbox will use keyboard bindings instead of listen to keyboard events Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11236
2020-02-04elm_config: add helper method for copying widget key bindingsMarcel Hollerbach
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11262
2020-02-04elm_config: fix wrong update codeMarcel Hollerbach
the version here was wrong, probebly a missmatch between hex. & dec and a off by one error. This is fixing that problem and does not just copy all keybindings. Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11261
2020-02-04evas proxy: make it work for load_regionShinwoo Kim
Summary: This makes a proxy object use a selective region of a source object. So far a proxy has not worked for load_region at all. This should be better solution than https://phab.enlightenment.org/D10604 introducing new interface. This is useful when the source is too big to allocate a proxy surface. This will be used by elm_scroller to solve following issue. [Issue] If size of elm_sclloer content is too big, then the proxy of elm_scroller to show loop effect does not work. Because evas_gl_common_image_surface_new does not allow bigger size surface than max_texture_size Reviewers: Hermet, jsuya Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10626
2020-02-04evas proxy: make it work for File_Save.saveShinwoo Kim
Summary: File_Save.save does not work for proxy object from following commit. c53f152 evas: Make save() work on snapshots Test Plan: 1. Add an image object and set source object. evas_object_image_source_set(obj, source); 2. Save the object as a file when you need. evas_object_image_save(obj, "./file_name.png", NULL, NULL); Reviewers: cedric, Hermet, jsuya Reviewed By: Hermet Subscribers: zmike, subodh6129, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10629
2020-02-03theme: rework a bit the tab_pager themeMarcel Hollerbach
the theme now works in a way where the current tab is in one color with the content, so its correctly assosiated. The not selected items are in a bit more gray setting so its meant to be in the background. https://pasteboard.co/IB1UV8o.png Differential Revision: https://phab.enlightenment.org/D10305
2020-02-03efl_ui_spotlight: correctly emit page sizeMarcel Hollerbach
this fixes tab pagers "on the fly" changing of the position manager. ref D10775 Differential Revision: https://phab.enlightenment.org/D10957
2020-02-03efl_ui_tab_pager: do not directly inherit from spotlight anymoreMarcel Hollerbach
spotlight moved away from layout, this could have also been solved with setting a edje object as resize object. However, this commit now contains the spotlight internally. The resons why containing it internally is better: - You now only have one way of selecting a page, marking it as selection via the selectable API - You cannot build race conditions between selecting a page and setting the active_element anymore - The tab_pager is now also just a simple single_selectable implementor, which makes this whole usage more convinient. - There is now a event you can listen to if you want to know if something has changed the selected item - push and pop would have never worked correctly in the tab_pager, as the item would have appeared always before the item was "faded" in. This possibility is not given anymore Last but not least, this makes tab_pager usable again, the tab bar is displayed again. Differential Revision: https://phab.enlightenment.org/D10775
2020-01-31efl: add test for efl_model_children_index_get.Cedric BAIL
Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11186
2020-01-31efl: add Efl.Model.Children_Index_Get.Cedric BAIL
This allow for fetching random children in a model. A simple fallback is provided by Efl.Loop_Model that will allow all model to provide this feature in a non optimized way. Later on this can be speeded up. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11185
2020-01-31ecore: refactor unpacking/packing code used in conjonction with ↵Cedric BAIL
eina_future_all*. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11184
2020-01-31eina: do not warn when calling eina_inarray_pop on empty inarray to match ↵Cedric BAIL
eina_array_pop. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11253
2020-01-31eina: add test for eina_future_all_iterator.Cedric BAIL
Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11181
2020-01-31eina: add eina_future_all_iterator and eina_promise_all_iterator.Cedric BAIL
Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11180
2020-01-31Fix build with gcc 10 (which has -fno-common enabled by default).Tom Callaway
EFL failed to build from source in Fedora Rawhide as a result of the update to GCC 10. GCC 10 enables -fno-common by default, and this found three issues in EFL: # The eina benchmark code defined int key_size in a header that was included in multiple places. # The elementary test code defines the "dt1", "dt2", "dt3" vars in two code files which are compiled together (but these variables do not appear to be used globally) # The eio test code defines the "ee" var in two code files which are compiled together (but this variable does not appear to be used globally) I've fixed these issues and confirmed locally that the code builds again in Fedora. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11259
2020-01-31edje: use EINA_UNUSED consistently after in function signatures -- part2ProhtMeyhet
Sorry, I've overlooked these as they are on a new line, or at the beginning of a function, but I think I've got them all now. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11254
2020-01-31evas_object_grid: fix leaking of pointerMarcel Hollerbach
priv->children was leaked to a freed pointer here. This is now fixed.
2020-01-31evas_object_grid: Fix memory leak.Woochanlee
_evas_object_smart_clipped_init() (in evas_object_smart.c) is called when evas_object_grid is created. And a rectangle is created in the function. But, the rectangle is not deleted even though evas_objecct_grid is deleted. This patch fixes the problem by deleting it in smart_del fucntion. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11140
2020-01-31evas filter: fix crash issueShinwoo Kim
Summary: If image object geometry is same with image size, then a crash occurs on both GL and SW engine. [Test Code] evas_object_image_size_get(img, &w, &h); evas_object_resize(img, w, h); [GL engine] eng_ector_buffer_wrap should use output instead of engine for calling evas_ector_buffer_engine_image, because it expects the output not the engine. [SW engine] eng_ector_buffer_wrap should check if im->image.data is NULL because _evas_ector_software_buffer_evas_ector_buffer_engine_image_set returns before calling evas_cache_iamge_ref if im->image.data is NULL, and it causes a segmentation fault finally with following backtrace. (#0) evas_cache_image_drop (im=0x0) (#1) _evas_ector_software_buffer_efl_object_destructor (#2) efl_destructor (#3) _efl_del_internal (#4) _efl_unref_internal (#5) _efl_add_internal_end (#6) _efl_add_end (#7) eng_ector_buffer_wrap Test Plan: {F3841366} Reviewers: Hermet, jsuya Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11258
2020-01-31docs: Remove leftover 'see also' from Efl.Ui.ImageXavi Artigas
2020-01-31Efl.Canvas.Group: make mask filter work on GL engineShinwoo Kim
Summary: The _gl_filter_mask defines value of gc->dc->clip.mask, and make_color but those are not used at all, because the evas_gl_common_Filter_blend_push calls evas_gl_common_context_image_push which doesn't care of those values. So this patch is using evas_gl_common_image_draw to use mask and mask_color. Test Plan: [Filter Program] efl_gfx_filter_program_set(text, "buffer:a(alpha); buffer:fat(alpha); buffer:rgbfat(rgba); curve (0:255-255:0, dst = a); blend (a, color = #00ca00ff); grow (1, dst = fat); blur (3, src = fat, color=#0000b9ff, ox = -2, oy = -2, dst = rgbfat); mask (a, src = rgbfat);padding_set(t=5);", "name"); [Before] {F3835430} [After] {F3835431} Reviewers: Hermet, jsuya Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11139
2020-01-31Efl.Ui.Vg_Animation: Remove @beta markJunsuChoi
Summary: Remove beta mark for Efl.Ui.Vg_Animation. .playing_sector and .value_provider_override leave a beta mark. It will be removed after more review. Depends on D10953 Ref T8476 Test Plan: meson_option.txt -> remove json in evas-loaders-disabler option elementary_test -to "Vector Graphics Animation" Reviewers: Hermet, Jaehyun_Cho, bu5hm4n, cedric, zmike Reviewed By: Hermet, cedric, zmike Subscribers: zmike, segfaultxavi, YOhoho, cedric, #reviewers, #committers, kimcinoo Tags: #efl Maniphest Tasks: T8476 Differential Revision: https://phab.enlightenment.org/D10870
2020-01-30edje: use EINA_UNUSED consistently after declaration in function signaturesProht
Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11237
2020-01-30ci: add leak ignore as a temporary bandaidStefan Schmidt
This needs some more digging where this leak comes from. I see it triggering on edje_cc during the build. Until we have this sorted out add as ignore here to keep CI working. Signed-off-by: Stefan Schmidt <s.schmidt@samsung.com> Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11234
2020-01-30ci: update Ubuntu bionic deps to cover openjp2 we now depend onStefan Schmidt
Since we switched on some loader to default we have this as a default dependency. Reflect this in our CI setup to avoid breaks. Also make sure we use sudo for the meson pip install to not break on the ARM64 infrastructure on TravisCI. Signed-off-by: Stefan Schmidt <s.schmidt@samsung.com> Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11233
2020-01-30efl/gesture: move Point_Data to eo and add methods to fetch it for recognizersMike Blumenkrantz
this lets gesture framework track two touch points in order to distinguish between successive presses and e.g., treat a simultaneous two finger tap as a single tap gesture rather than two it also simplifies some internal code and removes most hash lookups Reviewed-by: woochan lee <wc0917.lee@samsung.com> Differential Revision: https://phab.enlightenment.org/D11085
2020-01-30tests/gesture: add longpress testsMike Blumenkrantz
Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11084