summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-12-24ecore-x - fix fallbacks to use capital X in lib nameefl-1.23Carsten Haitzler (Rasterman)
thanks peter. fixes T8543 @fix
2019-12-04eolian: fix a parse bug where composites was treated as implementsDaniel Kolesa
In the specific case where you had "class A extends B composites C" the correct composites branch was ignored and instead the implements branch was used. This was entirely wrong/an oversight that did not appear until now. Other combinations were handled correctly.
2019-12-04eolian: account for entire inheritance trees when compositingDaniel Kolesa
When a class composites an interface, we need to ignore all of its extends (and extends of those) as well as the main interface when doing API checks, as composites essentially provides a guarantee that this *will* be implemented at runtime, which further extends to the whole inheritance tree of that interface. Fixes T8491.
2019-12-02fix jpeg loading which freed the wrong ptrCarsten Haitzler (Rasterman)
fixes T8497 @fix
2019-11-27release: Update NEWS and bump version for 1.23.3 releasev1.23.3Mike Blumenkrantz
2019-11-27Revert "tests/genlist: add behavior testing for nearly all genlist events"devs/zmike/123citestMike Blumenkrantz
This reverts commit 9d259115b806edcb3250f181dd47f9d5bb893092. this is incompatible with the current state of genlist
2019-11-27Revert "elm/genlist: remove calc jobs"SangHyeon Jade Lee
Summary: This reverts commit 712266fb9ae3e7cd2ea009189b2d94cd4ec333ab. Test Plan: run elementary_test -> genlist2 add more items by + and before/after button. if you delete selected items by click - button, issue cases, you can see item area become empty and not filled. if you click U button, so update items, issue cases, all item disappeared. the issue is caused by removing calc_job, so there is no job to performed, and loof is idled states. in Tizen, to solving this problem, we add dummy job in recalc cases. Need to see how to solve the issue more simply, but firstly raise the ticket to notify severe issue. Reviewers: zmike, cedric, bu5hm4n Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10663
2019-11-27eolian-cxx: Make events inherit beta info from klass.Lauro Moura
To mimic function behavior Reviewed-by: Felipe Magno de Almeida <felipe@expertisesolutions.com.br> Differential Revision: https://phab.enlightenment.org/D10381
2019-11-27wl_egl : Prevent access to NULL pointerJunsuChoi
Summary: The pointer s can be null. Test Plan: N/A Reviewers: Jaehyun_Cho, raster Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10654
2019-11-27eolian_mono: avoid keyword as a variable nameYeongjong Lee
Summary: ``` private static void relation_left_get(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity child, out Efl.Gfx.IEntity kw_base, out Efl.Gfx.Align relative_position) { Eina.Log.Debug("function efl_ui_relative_container_relation_left_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { base = default(Efl.Gfx.IEntity);relative_position = default(Efl.Gfx.Align); ``` Parameter name is replaced with `kw_base` but `base` is not changed in assignment expression (`base = default(Efl.Gfx.IEntity...`). This patch will fix following compiler error. ``` src/bindings/mono/efl_ui_relative_container.eo.cs(544,21): error CS1525: Unexpected symbol `=', expecting `.' or `[' ``` Test Plan: ninja with D10640 Reviewers: lauromoura Reviewed By: lauromoura Subscribers: segfaultxavi, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10639
2019-11-27Efl.Ui.Scroll_Manager: Fix indentationXavi Artigas
2019-11-27evas_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-27ci: 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-27elementary: 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-27elementary: 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-27elementary: 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-27csharp: 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-27csharp: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-27elm_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-27edje_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-27elementary: 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-27check: 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-27docs: Efl.Gfx.ViewXavi Artigas
2019-11-27travis: 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-27ci: 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-27travis/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-27tests/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-26Revert "elm/genlist: don't process entire item queue on each item add"Carsten Haitzler (Rasterman)
First - the big problem. This breaks enlightenment's bluez5 popup. it does a sortyed inert using the item data and the item data for one of the itmes to compare in _cb_insert_cmp() in e_mod_popup.c when it calls elm_object_item_data_get(0 returns a junk ptr for the item data after this patch. i haven't managed to figure out exactly why in my last 30 mins of looking. But a closer look... this disables immediate processing of: 1. the first block of items (32items) which was intended so for short/small lists you have some content by the time you go to the first frame, and at least the first block of itso you seem to have visual contnt and not a blank list until idlers can process further content. so the patch being reverted would have gotten rid of this logic that gets you content as opposed to blank: while ((sd->queue) && ((!sd->blocks) || (!sd->blocks->next))) 2. if it's a homogenous list, all items have the same size so we do have to realize the first item of each class type but ONLY that one. further items should not need realizing as we can ASSUME the height to be the same as the first item... that's the point of homogenous + compress lists - all items of the same class have the same height and width thus shortcutting further need to calculate nd realize. if we are reizing everything in a homogenous list then the issue lies with something going wrong with this above logic. we shokuld be able to handle such lists super fastif this logic was working. that's the 2nd while: while ((sd->queue) && (sd->blocks) && (sd->homogeneous) && (sd->mode == ELM_LIST_COMPRESS)) so overall, this should not have been realizing every item. either just the first block of 32, OR just the first item of any class and thus assume all further items are the same size without realizing being needed. if these broke then the solution is not commenting this out but finding out why this logic is breaking :) and not to mention... this commenting out also caused segfaults in existing applications which are doing the right thing. perhaps the sorting logic also needed updating as well if this above is commented out... but i didn't have time to chase it more than this. --- This reverts commit 0777b74f07857c86408bc0929e3391ced0e098e4.
2019-11-26mono: blacklist efl_ui_text_context_menu_item_addYeongjong Lee
Summary: Blacklist a method which has `IntPtr` parameters. Reviewers: woohyun, segfaultxavi, YOhoho, felipealmeida Reviewed By: felipealmeida Subscribers: segfaultxavi, zmike, q66, bu5hm4n, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10579
2019-11-26mono: remove duplicated EinaFreeCb delegateYeongjong Lee
Summary: Use Eina.Claabacks.EinaFreeCb instead. Reviewers: lauromoura Reviewed By: lauromoura Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10577
2019-11-26tests/eina: use #ifdef guard for block which can only occur inside ifdefMike Blumenkrantz
this value is set in the corresponding #ifdef block above, so use the same guard here to make code more readable CID 1400948 Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D10321
2019-11-26eina: only the type need to be NULL to assume EINA_VALUE_EMPTY.Cedric Bail
This avoid comparison with potentially uninitialized byte. Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D10479
2019-11-26ecore: remove unecessary field in data structure.Cedric Bail
Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D10476
2019-11-26elementary: handle case when XFIXES is not available.Cedric Bail
Summary: ECORE_X_EVENT_FIXES_SELECTION_NOTIFY is only initialized when XFIXES is available. If ecore_event_handler_add is called with type == 0, it will trigger an abort and elementary would not initialize properly. Depends on D10491 Reviewers: zmike, raster, bu5hm4n, Hermet Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Maniphest Tasks: T8321 Differential Revision: https://phab.enlightenment.org/D10492
2019-10-31release: Update NEWS and bump version for 1.23.2 releasev1.23.2Mike Blumenkrantz
2019-10-31mono: introduce friend assemblyYeongjong Lee
Summary: Friend assemblies can access efl_mono assembly's internal types and members. If `build-tests` option is true, `efl-mono-suite.exe` and `efl_mono_test.dll` will become friend assemblies. Test Plan: meson setup -Dbindings=mono,cxx -Dmono-beta=true Reviewers: lauromoura, segfaultxavi, Jaehyun_Cho Reviewed By: lauromoura Subscribers: felipealmeida, cedric, #reviewers, woohyun, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10337
2019-10-31eolian-cxx: Rename fields to standard namingLauro Moura
Summary: bool fields were missing the `is_` prefix. Reviewers: felipealmeida, brunobelo, segfaultxavi, woohyun Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10380
2019-10-31edje: improve callback count on Evas canvas.Cedric Bail
Summary: This reduce by 3 the amount of callback registered on the canvas. Another potential improvement would be to only register those callback if someone is listening for a 'seat,*' event or if the edje file define seat filters. Depends on D10484 Reviewers: zmike, raster, bu5hm4n, Hermet Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Maniphest Tasks: T8321 Differential Revision: https://phab.enlightenment.org/D10486
2019-10-31tests/spec: use wrefs to automatically unset global pointersMike Blumenkrantz
Summary: these may end up being reused in the future, so unset them only on object destruction Depends on D10571 Reviewers: cedric Reviewed By: cedric Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10572
2019-10-31tests/spec: assert success of content_set during setupMike Blumenkrantz
Summary: Depends on D10570 Reviewers: cedric Reviewed By: cedric Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10571
2019-10-31tests/spec: store test class and reuse globally to avoid needing efl_isaMike Blumenkrantz
Summary: Depends on D10569 Reviewers: cedric Reviewed By: cedric Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10570
2019-10-31tests/spec: reduce looping of pack content testsMike Blumenkrantz
Summary: this was hugely over-testing before; simply verifying one item outside the limit is sufficient here Depends on D10567 Reviewers: cedric Reviewed By: cedric Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10568
2019-10-31tests/spec: merge some loops in linear pack testsMike Blumenkrantz
Summary: these are small loops, but iterating small loops hundreds of times leads to big slowdowns Reviewers: cedric Reviewed By: cedric Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10567
2019-10-31csharp: space after keywords.Bruno da Silva Belo
Reviewers: felipealmeida, lauromoura, YOhoho Reviewed By: lauromoura Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10576
2019-10-31tests/efl_app: add port of intensive timer recursionMike Blumenkrantz
this is roughly the same as the similarly-named ecore_timer unit test Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D10556
2019-10-31tests/evas: prune directory scan in mesh loader/saver testMike Blumenkrantz
this test should use a hardcoded list of files, but until it does we can at least attempt to reduce failure rates which may occur from random garbage in the tree ref T6857 Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D10552
2019-10-31tests/evas: replace macro with function in mesh loader/saver testMike Blumenkrantz
this was totally impossible to debug no functional changes Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D10551
2019-10-31tests/ecore: add intensive test for recursive timer usageMike Blumenkrantz
this recurses the mainloop to a depth of 8, continually creating and triggering timers as it progresses and tracking the states to ensure that everything is working as expected regardless of depth Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D10547
2019-10-31tests/ecore: do not create global test timeout timer if running unforkedMike Blumenkrantz
this is a pita for debugging Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D10546
2019-10-31ecore/timer: correctly handle recursive deletion of legacy timersMike Blumenkrantz
if a legacy timer callback returns false, the timer is deleted. in the case where the legacy timer is deleted inside the callback while the same timer is ticking recursively, however, the deletion must be deferred until the outer-most frame of the timer's callstack has returned from the callback in order to avoid improperly handling the timer @fix Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D10545