summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-11-12evas_cache_vg : Implements sector_get/set internal APIsJunsuChoi
Summary: These APIs to get and set frames for a specific section in vg animation. get API looks for a sector by name in the markerlist of VG_File_Data. Then return start and end frames. Depends on D10504 Test Plan: N/A Reviewers: Hermet, smohanty, kimcinoo Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10505
2019-11-12vg_loader: Get markers information form json data.JunsuChoi
Summary: If json data has marker information, it is stored in vg file data. Test Plan: N/A Reviewers: Hermet, smohanty, kimcinoo Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10504
2019-11-12evas_filter: remove shader compile errorShinwoo Kim
Summary: When grayscale fillter works there is a compile error: implicit cast from "float" to "vec3" Test Plan: 1. Create filter_example with following . efl_gfx_filter_program_set(image, "grayscale ()", "grayscale"); 2. Run. ELM_ACCEL=gl ./filter_example Reviewers: Hermet, jsuya Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10595
2019-11-11ci: fix ccache segfault during setup on CI in release-ready buildStefan Schmidt
Hopefully this is the last place we need to apply this. It has been bugging the cron daily CI builds a while now. Differential Revision: https://phab.enlightenment.org/D10643 Signed-off-by: Stefan Schmidt <s.schmidt@samsung.com>
2019-11-11elm: apply the same fix we needed in entry to other scrollable widgetsMarcel Hollerbach
this here is the same effect as in my previous commit: When re retheme a object, we need to reset the signals, otherwise there would be wrongly displayed scrollbars. This fixes wrong scrollbars in enlightenment. Differential Revision: https://phab.enlightenment.org/D10628
2019-11-11efl_canvas_animation: correctly handle double signnessMarcel Hollerbach
Summary: start_delay and duration both have to be > 0.0 otherwise there should be an error. This also adds the neccessary checks, to ensure that. For now this is only added to the normal evas test suite, maybe we eed to refactor these efl_* API tests into theire own test suite. However, not for now. Reviewers: segfaultxavi Reviewed By: segfaultxavi Subscribers: segfaultxavi, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10617
2019-11-07csharp: Localization strings with CultureInfo.Bruno da Silva Belo
Summary: ref T8404 Reviewers: lauromoura, felipealmeida, YOhoho Reviewed By: lauromoura Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8404 Differential Revision: https://phab.enlightenment.org/D10608
2019-11-07csharp: Fix running headless tests in dotnetLauro Moura
Summary: CoreCLR, the runtime of dotnet, has some issues regarding storing environment variables (see dotnet/coreclr issue #15812), keeping them in a local cache instead of flushing to the native `setenv`. This commit replaces the usage of `System.Environment.SetEnvironmentVariable` with a `setenv` wrapper. Test Plan: Run without DISPLAY set and with dotnet. Reviewers: felipealmeida, brunobelo, segfaultxavi, YOhoho Reviewed By: brunobelo Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10619
2019-11-07elm_entry: fix wrong displayed scrollbarsMarcel Hollerbach
the scrolbars have been displayed wrongly before. Reason for this is that the theme displays the bars per default, the code however works with hidden by default. This was worked arround before with the fact that we are explicitly hiding the vbar/hbar before. The reason this previous code was not working proberly is that entry decided to retheme a object that was already set to the interface scrollable object. Which means, it was not detected by the code. With the newly introduced reset function you can tell the interface, that you have changed the group, signals will be emitted accordingly. Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D10622
2019-11-07elementary: watch event on the model Efl.Ui.CollectionView use directly.Cedric BAIL
Efl.Model can be nested and Efl.Ui.CollectionView use this ability. Listening on the nested model instead of the nester model can lead to event being triggered that shouldn't. Better listen on the top model. Differential Revision: https://phab.enlightenment.org/D10621
2019-11-07eo: make sure to return the right value for efl_event_callback_call.Cedric BAIL
EINA_FALSE is to be returned only if one of the callback did call efl_event_callback_stop not if their was no callback called. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D10620
2019-11-07elementary: properly handle in flight request in Efl.Ui.CollectionView.Cedric BAIL
This fix adding item not always showing up in the CollectionView right away. The main issue comes down to the fact we can not chain a new request when one is already resolved partially. The code now make sure to properly do this. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D10614
2019-11-07elementary: cleanup Eina_Future properly by relying on efl_future_then ↵Cedric BAIL
proper lifecycle. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D10613
2019-11-07csharp: Make GetPart public.Lauro Moura
Summary: `efl_part_get` is protected in C due to the presence of `efl_part`, which does automatic refcount management in single method calls. The C# binding has no limitation on this as it already handles the lifetime for all objects. Fixes T8462 Reviewers: brunobelo, segfaultxavi, SanghyeonLee Reviewed By: SanghyeonLee Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8462 Differential Revision: https://phab.enlightenment.org/D10594
2019-11-07csharp: Removing a never used class.Bruno da Silva Belo
Summary: ref T8417 Reviewers: lauromoura, felipealmeida, YOhoho, segfaultxavi Reviewed By: segfaultxavi Subscribers: segfaultxavi, cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8417 Differential Revision: https://phab.enlightenment.org/D10611
2019-11-07Revert "evas_textblock: content fit feature"Carsten Haitzler (Rasterman)
This reverts commit 2f676a6591c117e15d65f263ebd267866963b627. This causes segv's in edje_cc - i suspect the eet changes (or in combo to how they are used in edje): AddressSanitizer:DEADLYSIGNAL ================================================================= ==8991==ERROR: AddressSanitizer: SEGV on unknown address 0x000001010000 (pc 0xffff9f002604 bp 0xfffffa747700 sp 0xfffffa747700 T0) ==8991==The signal is caused by a READ memory access. #0 0xffff9f002600 in _eet_hash_gen ../src/lib/eet/eet_utils.c:25 #1 0xffff9efdd024 in eet_dictionary_string_add ../src/lib/eet/eet_dictionary.c:103 #2 0xffff9efbe324 in eet_data_put_string ../src/lib/eet/eet_data.c:849 #3 0xffff9efc1c4c in eet_data_put_type ../src/lib/eet/eet_data.c:1427 #4 0xffff9efd9128 in eet_data_put_unknown ../src/lib/eet/eet_data.c:4730 #5 0xffff9efdb320 in _eet_data_descriptor_encode ../src/lib/eet/eet_data.c:5108 #6 0xffff9efd5958 in eet_data_put_variant ../src/lib/eet/eet_data.c:4309 #7 0xffff9efdb320 in _eet_data_descriptor_encode ../src/lib/eet/eet_data.c:5108 #8 0xffff9efd9270 in eet_data_put_unknown ../src/lib/eet/eet_data.c:4739 #9 0xffff9efdb320 in _eet_data_descriptor_encode ../src/lib/eet/eet_data.c:5108 #10 0xffff9efd8ca0 in eet_data_put_array ../src/lib/eet/eet_data.c:4692 #11 0xffff9efdb320 in _eet_data_descriptor_encode ../src/lib/eet/eet_data.c:5108 #12 0xffff9efc7768 in eet_data_write_cipher ../src/lib/eet/eet_data.c:2403 #13 0xffff9efc78a4 in eet_data_write ../src/lib/eet/eet_data.c:2420 #14 0xaaaabb151dcc in data_thread_group ../src/bin/edje/edje_cc_out.c:2045 #15 0xaaaabb152130 in data_write_groups ../src/bin/edje/edje_cc_out.c:2086 #16 0xaaaabb157734 in data_write ../src/bin/edje/edje_cc_out.c:2866 #17 0xaaaabb14122c in main ../src/bin/edje/edje_cc.c:456 #18 0xffff9dbd92a0 in __libc_start_main (/usr/lib/aarch64-linux-gnu/libc.so.6+0x242a0) #19 0xaaaabb13ea00 (/home/raster/C/git/efl/build/src/bin/edje/edje_cc+0x38a00) AddressSanitizer can not provide additional info. SUMMARY: AddressSanitizer: SEGV ../src/lib/eet/eet_utils.c:25 in _eet_hash_gen ==8991==ABORTING Aborted (core dumped) When compiling breaks... it's certainly time to revert ASAP :(
2019-11-07efl_ui_alert_popup: add title part in parts blockTaehyub Kim
Summary: add title part in parts block Reviewers: Jaehyun_Cho, woohyun, zmike, segfaultxavi Reviewed By: Jaehyun_Cho Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10596
2019-11-06csharp: Fix test build dependencyLauro Moura
Summary: Make dotnet target also depend on the manual test files. Test Plan: Modify one of the manual files and run the tests again. The test target should be rebuilt. Reviewers: bu5hm4n, segfaultxavi, brunobelo, felipealmeida Reviewed By: brunobelo Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10609
2019-11-06efl: Make stable single-valued getters consistent.Lauro Moura
Summary: Instead of a getter with an explicit return type, change it to be a single-valued property. The eolian C generator takes care of making this single value the actual return value of the C function. This also makes these properties able to be reflected on. The stack properties returns just a pointer and not a new ref, so no @move needed. Beta properties will be handled in a future commit. Depends on D10601 Reviewers: segfaultxavi, bu5hm4n, q66, cedric Reviewed By: segfaultxavi Subscribers: #reviewers, #committers, brunobelo, felipealmeida Tags: #efl Differential Revision: https://phab.enlightenment.org/D10602
2019-11-06csharp:comma have whitespace after and none beforeBruno da Silva Belo
Reviewers: felipealmeida, lauromoura, YOhoho Reviewed By: lauromoura Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10575
2019-11-06elm_config: replace ecore_file_cp with ecore_file_mvWonki Kim
ecore_file_cp can cause config data(eet file) invalid, once multiple processes are trying to call elm_config_save. this patch replaces it with ecore_file_mv to prevent the problem. Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D10578
2019-11-06edje_calc: UNLIKELY changed to LIKELY.Woochanlee
It should takes true almost all times when it checks. Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D10606
2019-11-06elementary: fix end of fast scroll not showing up during ↵Cedric BAIL
Efl.Ui.CollectionView scroll. efl_ui_position_manager_entity_entities_ready is expecting the end offset and not the length of how many items have been updated. Sending the correct number fixes the problem. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Reviewed-by: SangHyeon Jade Lee <sh10233.lee@samsung.com> Differential Revision: https://phab.enlightenment.org/D10590
2019-11-06Efl.Interpolator*: More sensible API names and docsXavi Artigas
Summary: OK, so, ALL interpolator parameters were called "factor" and the docs literally said "First factor, Second factor, ..." After diving into the actual implementation, proper names (and types) for the parameters were found and proper docs written. I am afraid I could not make any sense of the Divisor interpolator code. Those docs still need writing. Test Plan: Everything still builds and passes tests. No functional changes. Reviewers: zmike, cedric, bu5hm4n, Jaehyun_Cho Reviewed By: bu5hm4n Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10603
2019-11-06csharp: Revamp dotnet supportLauro Moura
Summary: Instead of building with a patched meson version, make use of custom targets and generated csproj files so we can used upstream meson normally. This avoids digging into "non official" dotnet stuff like calling the CSC.dll directly that the patched meson tried to do. To enable, run meson with `-Ddotnet=true`. Regarding source file dependencies, Meson has a limitation[1] about generated artifacts being placed in subdirectories. In order to correctly track these generated artifacts for dotnet, we generated them in the same folder as the csproj file through `dotnet build -o`. Instead of installing the dll like we do for mono, a nupkg is generated and installed in the same folder as the dll would be (<prefix>/lib/x86_64-linux-gnu/efl-mono-1) To avoid messing around with Nupkg caches, we reference the source project for the library directly instead of the nupkg when building the test suite. [1] https://github.com/mesonbuild/meson/issues/2320 Fixes T8168 Reviewers: bu5hm4n, woohyun, Jaehyun_Cho Reviewed By: Jaehyun_Cho Subscribers: cedric, brunobelo, felipealmeida, segfaultxavi Tags: #efl, #do_not_merge Maniphest Tasks: T8168 Differential Revision: https://phab.enlightenment.org/D9717
2019-11-06docs: Add caveat details to Efl.Canvas.AnimationXavi Artigas
Summary: Regarding object properties not matching actual rendered values when animations are running. Depends on D10560 Reviewers: bu5hm4n, cedric, zmike, Jaehyun_Cho Reviewed By: bu5hm4n Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10566
2019-11-06check: reset flags that used for legacy 'changed' cbWonki Kim
Summary: in case of setting a state of check by calling a API, the flags that used for changed cb aren't changed. which causes that the callback not invoked when it should be. this patch resets the flags to make it work properly. Reviewers: bu5hm4n Subscribers: cedric, #reviewers, #committers Tags: #efl Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D10591
2019-11-05eolian: Imply @no_unused if @move in return.Lauro Moura
Summary: This makes sure the user is warned if it ignores a return value that could potentially be a memory leak. This also makes possible to use `value {}` blocks with `@move` instead of value-less properties with `@no_unused`. Also removed the `@move` from canvas_text_async_layout as it is ignored in the only place it is used. Reviewers: q66 Reviewed By: q66 Subscribers: #reviewers, #committers, bu5hm4n, felipealmeida, cedric, segfaultxavi Tags: #efl Differential Revision: https://phab.enlightenment.org/D10601
2019-11-05docs: Efl.Gfx.ViewXavi Artigas
2019-11-05travis: update Ubuntu image to the 19.10 releaseStefan Schmidt
We keep the 18.04 LTS until a new LTS comes along. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D10600
2019-11-05ci: work around ccache segafult during setupStefan Schmidt
This is the same fix we applied for the macOS. Somehow ccache segfaults during the init. This only shows on the Ubuntu 19.10 update. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D10599
2019-11-05travis/ci: update Fedora CI images to 31Stefan Schmidt
Also disable the gstreamer 0.10 module since this version is no longer shipped with Fedora 31. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D10597
2019-11-05tests/spec: allow for a longer timeout of the spec suite for dist buildStefan Schmidt
During our ninja dist builds on the CI we run into timeouts for the spec test suite taking longer than the default 30s. We can't pass any multiplier into the ninja dist command as we are doing on the other unit test runs. Allow th default value for this suite to also cover the CI case. It does no harm on sutuations where it finishes faster. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D10593
2019-11-05tests/ecore-wl2: Remove surface testChristopher Michael
This test is not necessary anymore as the ecore_wl2_surface function it was testing is now an internal function ref T8016
2019-11-05evas-wayland-common: Move boolean fields to bottom of structureChristopher Michael
2019-11-05evas-wayland-common: Fix variable typeChristopher Michael
The 'resizing' variable here does not need to be an 'int' as it's either true or false, so change to be Eina_Bool.
2019-11-05evas-wayland-common: Add include for ecore_wl2 internal functionsChristopher Michael
2019-11-05ecore-wl2: Remove dead commentChristopher Michael
Now that the (mostly unused) functions have been moved to be internal, we don't need a comment in here about documenting them
2019-11-05ecore-wl2: Move ecore_wl2_surface_alpha_get function to be internalChristopher Michael
As this function is only used in 1 place and will likely never be used outside of the modular dmabuf engine, we can move it to be internal only. ref T8013
2019-11-05ecore-wl2: Move ecore_wl2_surface_window_get function to be internalChristopher Michael
As this function is only used in 1 place and will likely never be used outside of the modular dmabuf engine, we can move it to be internal only. ref T8013
2019-11-05ecore-wl2: Move ecore_wl2_surface_manager_del function to be internalChristopher Michael
As this function is only used in 1 place and will likely never be used outside of the modular dmabuf engine, we can move it to be internal only. ref T8013
2019-11-05ecore-wl2: Move ecore_wl2_surface_manager_add function to be internalChristopher Michael
As this function is only used in 1 place and will likely never be used outside of the modular dmabuf engine, we can move it to be internal only. ref T8013
2019-11-05ecore-wl2: Move ecore_wl2_surface_buffer_create function to be internalChristopher Michael
As this function is only used in 1 place and will likely never be used outside of the modular dmabuf engine, we can move it to be internal only. ref T8013
2019-11-05ecore-wl2: Move ecore_wl2_window_surface_flush function to be internalChristopher Michael
As this function is only used in 1 place and will likely never be used outside of the modular dmabuf engine, we can move it to be internal only. ref T8013
2019-11-05ecore-wl2: Move ecore_wl2_surface_flush function to be internalChristopher Michael
As this function is only used in 1 place and will likely never be used outside of the modular dmabuf engine, we can move it to be internal only. ref T8013
2019-11-05ecore-wl2: Move ecore_wl2_surface_post function to be internalChristopher Michael
As this function is only used in 1 place and will likely never be used outside of the modular dmabuf engine, we can move it to be internal only. ref T8013
2019-11-05ecore-wl2: Move ecore_wl2_surface_assign function to be internalChristopher Michael
As this function is only used in 1 place and will likely never be used outside of the modular dmabuf engine, we can move it to be internal only. ref T8013
2019-11-05ecore-wl2: Move ecore_wl2_surface_data_get function to be internalChristopher Michael
As this function is only used in 1 place and will likely never be used outside of the modular dmabuf engine, we can move it to be internal only. ref T8013
2019-11-05ecore-wl2: Move ecore_wl2_surface_reconfigure function to be internalChristopher Michael
As this function is only used in 1 place and will likely never be used outside of the modular dmabuf engine, we can move it to be internal only. ref T8013
2019-11-05ecore-wl2: Move ecore_wl2_surface_destroy function to be internalChristopher Michael
As this function is only used in 1 place and will likely never be used outside of the modular dmabuf engine, we can move it to be internal only. ref T8013