summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-07-17eolian: add builtin binbuf and event typesDaniel Kolesa
Binbuf is like strbuf and allows not using the Eina opaque wrapper now, which will remove some ptr(). And event translates to Efl.Event because otherwise there would be no way to get rid of void_ptr.
2019-07-17vg_common_svg: Gradient stop color use premultiplied color.JunsuChoi
Summary: The parsed color is straight color. evas use premultiplied color. Test Plan: Sample SVG <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"> <defs> <linearGradient id="linearGradient1" x1="0" y1="0" x2="0.2" y2="0.2" spreadMethod="reflect"> <stop style="stop-color:#ff0000;stop-opacity:1;" offset="0"/> <stop style="stop-color:#0000ff;stop-opacity:1;" offset="1"/> </linearGradient> <radialGradient id="radialGradient222" r="0.2" cx="0.3" cy="0.3" spreadMethod="reflect"> <stop style="stop-color:#ffFF00;stop-opacity:0.1;" offset="0"/> <stop style="stop-color:#00FFff;stop-opacity:1;" offset="1"/> </radialGradient> <radialGradient id="radialGradient333" r="0.2" cx="0.3" cy="0.3" spreadMethod="reflect"> <stop style="stop-color:#00FF00;stop-opacity:0.1;" offset="0"/> <stop style="stop-color:#FF00ff;stop-opacity:1;" offset="1"/> </radialGradient> </defs> <rect x="0" y="0" width="100" height="100" fill="url(#linearGradient1)"/> <rect x="50" y="50" width="50" height="50" fill="url(#radialGradient222)"/> <rect x="0" y="0" width="50" height="50" fill="url(#radialGradient333)"/> </svg> Reviewers: Hermet, kimcinoo, smohanty Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9338
2019-07-16tests/elm: add test for elm_bubble "clicked" smart callbackMike Blumenkrantz
Summary: also verify general layout loading Depends on D9330 Reviewers: bu5hm4n Reviewed By: bu5hm4n Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9331
2019-07-16tests/elm: break out event callback functionMike Blumenkrantz
Summary: now we have a function we can reuse which verifies that it is called exactly one time Reviewers: bu5hm4n Reviewed By: bu5hm4n Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9330
2019-07-16efl_ui_slider: fix focus interactionMarcel Hollerbach
Summary: when we move the slider up or down, we might be at the minimum or maximu, if this is the case. Then we must not eat the key event, otherwise focus is stuck on this widget. Depends on D9328 Reviewers: segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9329
2019-07-16efl_ui_text: fix focus breakingMarcel Hollerbach
Summary: text should not be focusable by default. Only focusable if it is editable. This fixes mysterical focus disappearing in tests using efl.ui.text. Depends on D9327 Reviewers: segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9328
2019-07-16efl_ui_slider: change the semantical meaning of step propertyMarcel Hollerbach
Summary: before the step property was used as a relative value. The value that was added in the end was (max-min)*step. Which is quite confusing given the fact that the other APIs in in efl_ui_range_display are also taking values absolut. Other implementations also do so. fix T4834 Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T4834 Differential Revision: https://phab.enlightenment.org/D9327
2019-07-16tests/actionslider: add more actionslider unit testsMike Blumenkrantz
verify actionslider callbacks and various basic functionalities Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D9322
2019-07-16tests/elm: improve click_part() further to guess part locationsMike Blumenkrantz
non-swallow parts exist "somewhere" on a given layout, and it may be the case that they are not actually positioned and just take up the whole layout space. for these parts, if they have a direction in their name, we can try to vaguely guess where the part might be in order to (ideally) click it Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D9321
2019-07-16tests/elm: improve click_part() to handle non-swallow partsMike Blumenkrantz
swallow parts have content, other parts do not Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D9320
2019-07-16elm_actionslider: fix internal state when programmatically changing valueMike Blumenkrantz
this value is supposed to always match the current widget state and signal emission breaks if the states are not consistent @fix Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D9319
2019-07-16elm_actionslider: fix signal emission for left selectionMike Blumenkrantz
this is supposed to be a comparison, not a filter ref a65cb62853c344bcdc34af589a4199488f9025e8 Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D9318
2019-07-16efl_ui_widget_part: implement some expected methodsMike Blumenkrantz
checking part type and part geometry is pretty common, so these base implementations can fill in gaps in existing functionality Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D9317
2019-07-16docs: Enhance Efl.Ui.Clickable_Util documentationXavi Artigas
2019-07-16Evil: remove getpwuid() from Evil.Vincent Torri
Summary: getpwuid() is used only in eina_test_vpath() and is called when getpwent() is available, which is not the case on Windows Test Plan: compilation Reviewers: raster, cedric, zmike Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9326
2019-07-15Revert "Revert "efl: prevent usage of some Eina.* stub types in stable APIs""Vitor Sousa
EFL# support for slice and rw_slice was added in a previous commit. So now it is safe to undo the reversion of this commit. This reverts commit 25ef604467b083d1f5ff2c7f9a1a82e660e04443.
2019-07-15tests/ecore_wl2: Check for valid xdg_runtime_dirChristopher Michael
Seems these tests need XDG_RUNTIME_DIR to be set, and it does not get set in Travis builds, so add a small check here so that Travis builds don't fail ... thanks Marcel ;) ref T8016
2019-07-15tests/ecore_wl2: Add start of Ecore_Wl2 Window testsChristopher Michael
ref T8016
2019-07-15tests/ecore_wl2: Add test for ecore_wl2_display_inputs_getChristopher Michael
ref T8016
2019-07-15tests/ecore_wl2: Add test for ecore_wl2_display_registry_get functionChristopher Michael
ref T8016
2019-07-15tests/ecore_wl2: Add test for ecore_wl2_display_screen_size_get functionChristopher Michael
ref T8016
2019-07-15tests/ecore_wl2: Add test for ecore_wl2_display_globals_get functionChristopher Michael
ref T8016
2019-07-15tests/ecore_wl2: Add printf for compositor detectionChristopher Michael
ref T8016
2019-07-15tests/ecore_wl2: Add ecore_wl2_display_dmabuf_get testChristopher Michael
ref T8016
2019-07-15tests/ecore_wl2: Add ecore_wl2_display_shm_get testChristopher Michael
ref T8016
2019-07-15tests/ecore_wl2: Add test cases for wl2 client-side functionsChristopher Michael
This patch separates the ecore_wl2 tests to support both server-side and client-side functionality. In order to test client-side functions, these tests MUST be run under an existing Wayland Compositor (Enlightenment, Weston, etc). ref T8016
2019-07-15tests: Add tests for ecore_wl2_display_get andChristopher Michael
ecore_wl2_display_name_get ref T8016
2019-07-15tests: Add file for Ecore_Wl2 display testsChristopher Michael
Add file which can be used to add tests for ecore_wl2 display functions ref T8016
2019-07-15meson: Modify Ecore_Wl2 sub project to add testsChristopher Michael
ref T8016
2019-07-15tests: Add start of Ecore_Wl2 test suiteChristopher Michael
Small patch set to add the start of a Ecore_Wl2 test suite ref T8016
2019-07-15examples: fix function signature for edje color class exampleMike Blumenkrantz
Reviewers: devilhorns Reviewed By: devilhorns Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9303
2019-07-15evas_vg_load_svg: Support multiple gradient without <defs> partJunsuChoi
Summary: Multiple gradients can be declared. There is a problem of keeping only one gradient information when it is declared outside defs or when defs is not declared. It supports the use of multiple gradients even if no defs are declared. Test Plan: (with D9312 patch) cd src/example/edje edje_cc -beta svg.edc && gcc -o svg-test svg-test.c `pkg-config --libs --cflags evas ecore ecore-evas edje` ./svg-test Reviewers: Hermet, kimcinoo, smohanty Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9315
2019-07-15evas_vg_load_svg: Prevent duplicate operations on radial gradient variablesJunsuChoi
Summary: This solves the problem of radial gradient being displayed abnormally when the radial gradient variables are 0 to 1. Test Plan: Sample SVG <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"> <defs id="defs11"> <linearGradient id="linearGradient1" x1="0" y1="0" x2="0.2" y2="0.2" spreadMethod="reflect"> <stop style="stop-color:#ff0000;stop-opacity:1;" offset="0"/> <stop style="stop-color:#0000ff;stop-opacity:1;" offset="1"/> </linearGradient> <radialGradient id="radialGradient222" r="0.2" cx="0.3" cy="0.3" spreadMethod="reflect"> <stop style="stop-color:#ffFF00;stop-opacity:1;" offset="0"/> <stop style="stop-color:#00FFff;stop-opacity:1;" offset="1"/> </radialGradient> </defs> <rect x="0" y="0" width="100" height="100" fill="url(#linearGradient1)"/> <rect x="50" y="50" width="50" height="50" fill="url(#radialGradient222)"/> </svg> Reviewers: Hermet, kimcinoo, smohanty Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9312
2019-07-15build - update/improve meson option strings to be short and descriptiveCarsten Haitzler (Rasterman)
this should make it easier to know what an option does and not be redundant in the description.
2019-07-15config - make harfbuzz default on these daysCarsten Haitzler (Rasterman)
probably a good move given how common it is now.
2019-07-15build - let's make xinput 2.2 default these days...Carsten Haitzler (Rasterman)
about time since it's common enough by now.
2019-07-15add INSTALL file back as permanent instructions on meson buildingCarsten Haitzler (Rasterman)
2019-07-15efl.h: avoid redefinition of typedef 'Efl_Gfx_Path_Command'Boris Faure
Reviewers: zmike, bu5hm4n, cedric, raster Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9311
2019-07-15ecore_imf: remove code to use deprecated API in wayland immoduleJihoon Kim
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
2019-07-12csharp: fix some unit tests that rely on garbage collectionVitor Sousa
Summary: Fix unit tests `TestEoInherit.inherited_collected` and `TestFunctionPointers.set_callback_inherited_called_from_c`. Iterate through garbage collection and EFL main loop more times to ensure that allocated objects are really collected. Also expand the test utility method `CollectAndIterate` to receive the number of times to call the whole cleaning iteration process (not only the garbage collection). Test Plan: `meson test` Reviewers: lauromoura Reviewed By: lauromoura Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9271
2019-07-12evas: add a test for loading Android 9patch file.Cedric BAIL
Example data come from https://github.com/vindolin/ninepatch/tree/master/ninepatch/data under MIT license. Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Reviewed-by: Hermet Park <hermetpark@gmail.com> Differential Revision: https://phab.enlightenment.org/D9105
2019-07-12ecore_evas: on internal Evas canvas uncontrolled death, properly clean up ↵Cedric BAIL
Ecore_Evas. This allow evas test to work with an Ecore_Evas directly. It prevent leaking of memory in the case of half destroying Ecore_Evas. Reviewed-by: Hermet Park <hermetpark@gmail.com> Differential Revision: https://phab.enlightenment.org/D9104
2019-07-12evas: add support for .9.png file to PNG loader.Cedric BAIL
This support Android 9 patch file format. Only black is a recognized color for both the stretch area and the content area. All other color are associated with being "white". Reviewed-by: Hermet Park <hermetpark@gmail.com> Differential Revision: https://phab.enlightenment.org/D9103
2019-07-12evas: add infrastructure to feed 9 patch information from file loader to ↵Cedric BAIL
image object. This is just the plumbing that feed data provided along android 9 patch image for example into Evas object image new stretch and content region infrastructure for rendering them properly. Reviewed-by: Hermet Park <hermetpark@gmail.com> Differential Revision: https://phab.enlightenment.org/D9102
2019-07-12evas: break Image_Loader API to allow for getting property from the data ↵Cedric BAIL
field of an image. Reviewed-by: Hermet Park <hermetpark@gmail.com> Differential Revision: https://phab.enlightenment.org/D9101
2019-07-12evas: break Evas_Loader API and introduce a version numbering for Image_Loader.Cedric BAIL
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Reviewed-by: Hermet Park <hermetpark@gmail.com> Differential Revision: https://phab.enlightenment.org/D9099
2019-07-12evas: improve test to evaluate stretch region effect on content region.Cedric BAIL
Reviewed-by: Hermet Park <hermetpark@gmail.com> Differential Revision: https://phab.enlightenment.org/D9098
2019-07-12evas: take stretch region into account when content region is requested.Cedric BAIL
Reviewed-by: Hermet Park <hermetpark@gmail.com> Differential Revision: https://phab.enlightenment.org/D9097
2019-07-12evas: add support for stretchable region.Cedric BAIL
This is the first step into introducing support for Android 9 patch format (extension: .9.png). The principle is to expose a new property on image object that define a complete behavior incompatible with other border and fill logic. The reason is that 9 patch allow for any number of stretchable area inside an image, not just for each corner. The way to define this is by giving a pointer to an array of the proper type that define stretchable region relative to each other. The logic being slightly more complex than the border and fill logic, it is slightly slower. If you are just defining corner on your image for something like a button, you would still get better performance using border. I will try to make edje_cc detect those case and fallback to border when possible. Reviewed-by: Hermet Park <hermetpark@gmail.com> Differential Revision: https://phab.enlightenment.org/D9096
2019-07-12evas: add test for the new efl_gfx_image_content_region_get API.Cedric BAIL
Reviewed-by: Hermet Park <hermetpark@gmail.com> Differential Revision: https://phab.enlightenment.org/D9095