summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* ecore-x - fix fallbacks to use capital X in lib nameefl-1.23Carsten Haitzler (Rasterman)2019-12-241-2/+2
| | | | | thanks peter. fixes T8543 @fix
* eolian: fix a parse bug where composites was treated as implementsDaniel Kolesa2019-12-041-1/+5
| | | | | | | 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.
* eolian: account for entire inheritance trees when compositingDaniel Kolesa2019-12-041-1/+17
| | | | | | | | | | 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.
* fix jpeg loading which freed the wrong ptrCarsten Haitzler (Rasterman)2019-12-021-6/+8
| | | | | fixes T8497 @fix
* release: Update NEWS and bump version for 1.23.3 releasev1.23.3Mike Blumenkrantz2019-11-272-2/+39
|
* Revert "tests/genlist: add behavior testing for nearly all genlist events"devs/zmike/123citestMike Blumenkrantz2019-11-271-187/+0
| | | | | | This reverts commit 9d259115b806edcb3250f181dd47f9d5bb893092. this is incompatible with the current state of genlist
* Revert "elm/genlist: remove calc jobs"SangHyeon Jade Lee2019-11-272-26/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* eolian-cxx: Make events inherit beta info from klass.Lauro Moura2019-11-273-1/+36
| | | | | | | To mimic function behavior Reviewed-by: Felipe Magno de Almeida <felipe@expertisesolutions.com.br> Differential Revision: https://phab.enlightenment.org/D10381
* wl_egl : Prevent access to NULL pointerJunsuChoi2019-11-271-1/+1
| | | | | | | | | | | | | | 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
* eolian_mono: avoid keyword as a variable nameYeongjong Lee2019-11-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Efl.Ui.Scroll_Manager: Fix indentationXavi Artigas2019-11-271-6/+6
|
* evas_filter: remove shader compile errorShinwoo Kim2019-11-272-2/+6
| | | | | | | | | | | | | | | | | | | | | | | 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
* ci: fix ccache segfault during setup on CI in release-ready buildStefan Schmidt2019-11-271-1/+2
| | | | | | | | | 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>
* elementary: watch event on the model Efl.Ui.CollectionView use directly.Cedric BAIL2019-11-271-5/+3
| | | | | | | | 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
* elementary: properly handle in flight request in Efl.Ui.CollectionView.Cedric BAIL2019-11-271-25/+23
| | | | | | | | | 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
* elementary: cleanup Eina_Future properly by relying on efl_future_then ↵Cedric BAIL2019-11-271-12/+19
| | | | | | | proper lifecycle. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D10613
* csharp: Removing a never used class.Bruno da Silva Belo2019-11-271-4/+0
| | | | | | | | | | | | | | | | 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
* csharp:comma have whitespace after and none beforeBruno da Silva Belo2019-11-279-83/+91
| | | | | | | | | | | | Reviewers: felipealmeida, lauromoura, YOhoho Reviewed By: lauromoura Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10575
* elm_config: replace ecore_file_cp with ecore_file_mvWonki Kim2019-11-271-8/+7
| | | | | | | | | | 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
* edje_calc: UNLIKELY changed to LIKELY.Woochanlee2019-11-271-1/+1
| | | | | | | 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
* elementary: fix end of fast scroll not showing up during ↵Cedric BAIL2019-11-271-5/+4
| | | | | | | | | | | 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
* check: reset flags that used for legacy 'changed' cbWonki Kim2019-11-272-0/+71
| | | | | | | | | | | | | | | | | | 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
* docs: Efl.Gfx.ViewXavi Artigas2019-11-271-1/+4
|
* travis: update Ubuntu image to the 19.10 releaseStefan Schmidt2019-11-271-1/+1
| | | | | | | 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
* ci: work around ccache segafult during setupStefan Schmidt2019-11-271-1/+2
| | | | | | | | 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
* travis/ci: update Fedora CI images to 31Stefan Schmidt2019-11-272-8/+8
| | | | | | | | 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
* tests/spec: allow for a longer timeout of the spec suite for dist buildStefan Schmidt2019-11-271-1/+2
| | | | | | | | | | | | 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
* Revert "elm/genlist: don't process entire item queue on each item add"Carsten Haitzler (Rasterman)2019-11-261-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* mono: blacklist efl_ui_text_context_menu_item_addYeongjong Lee2019-11-262-3/+1
| | | | | | | | | | | | | | 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
* mono: remove duplicated EinaFreeCb delegateYeongjong Lee2019-11-264-6/+5
| | | | | | | | | | | | | | Summary: Use Eina.Claabacks.EinaFreeCb instead. Reviewers: lauromoura Reviewed By: lauromoura Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10577
* tests/eina: use #ifdef guard for block which can only occur inside ifdefMike Blumenkrantz2019-11-261-2/+2
| | | | | | | | | | 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
* eina: only the type need to be NULL to assume EINA_VALUE_EMPTY.Cedric Bail2019-11-261-1/+1
| | | | | | | This avoid comparison with potentially uninitialized byte. Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D10479
* ecore: remove unecessary field in data structure.Cedric Bail2019-11-263-3/+0
| | | | | Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D10476
* elementary: handle case when XFIXES is not available.Cedric Bail2019-11-261-2/+3
| | | | | | | | | | | | | | | | | | | | | 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
* release: Update NEWS and bump version for 1.23.2 releasev1.23.2Mike Blumenkrantz2019-10-312-2/+197
|
* mono: introduce friend assemblyYeongjong Lee2019-10-313-0/+28
| | | | | | | | | | | | | | | | | | | 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
* eolian-cxx: Rename fields to standard namingLauro Moura2019-10-313-12/+12
| | | | | | | | | | | | 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
* edje: improve callback count on Evas canvas.Cedric Bail2019-10-311-21/+22
| | | | | | | | | | | | | | | | | | | | | 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
* tests/spec: use wrefs to automatically unset global pointersMike Blumenkrantz2019-10-312-9/+3
| | | | | | | | | | | | | | | | | 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
* tests/spec: assert success of content_set during setupMike Blumenkrantz2019-10-311-1/+1
| | | | | | | | | | | | | | Summary: Depends on D10570 Reviewers: cedric Reviewed By: cedric Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10571
* tests/spec: store test class and reuse globally to avoid needing efl_isaMike Blumenkrantz2019-10-313-1/+4
| | | | | | | | | | | | | | Summary: Depends on D10569 Reviewers: cedric Reviewed By: cedric Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10570
* tests/spec: reduce looping of pack content testsMike Blumenkrantz2019-10-311-5/+6
| | | | | | | | | | | | | | | | | 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
* tests/spec: merge some loops in linear pack testsMike Blumenkrantz2019-10-311-58/+68
| | | | | | | | | | | | | | | | 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
* csharp: space after keywords.Bruno da Silva Belo2019-10-317-44/+44
| | | | | | | | | | | | Reviewers: felipealmeida, lauromoura, YOhoho Reviewed By: lauromoura Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10576
* tests/efl_app: add port of intensive timer recursionMike Blumenkrantz2019-10-311-0/+103
| | | | | | | 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
* tests/evas: prune directory scan in mesh loader/saver testMike Blumenkrantz2019-10-311-7/+10
| | | | | | | | | | | 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
* tests/evas: replace macro with function in mesh loader/saver testMike Blumenkrantz2019-10-311-54/+57
| | | | | | | | | this was totally impossible to debug no functional changes Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D10551
* tests/ecore: add intensive test for recursive timer usageMike Blumenkrantz2019-10-311-0/+83
| | | | | | | | | 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
* tests/ecore: do not create global test timeout timer if running unforkedMike Blumenkrantz2019-10-311-0/+3
| | | | | | | this is a pita for debugging Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D10546
* ecore/timer: correctly handle recursive deletion of legacy timersMike Blumenkrantz2019-10-311-15/+27
| | | | | | | | | | | | | 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