summaryrefslogtreecommitdiff
path: root/src/bin (follow)
AgeCommit message (Collapse)Author
2020-03-12efl-wl: start conversion to eoMike Blumenkrantz
Summary: this converts the main efl-wl object to an eo-based canvas group object Depends on D11465 Reviewers: segfaultxavi, bu5hm4n Reviewed By: bu5hm4n Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11454
2020-03-12exactness: factor out duplicated code for debug session handlingStefan Schmidt
No need to have these macros ducplicated in two file, we can just share them and reduce maintenance. Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11459
2020-03-12exactness: hamonize use of PATH_MAX as maximal path length allowedStefan Schmidt
There have been to many different defines for this in exactness. Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11457
2020-03-12exactness: factor out _printf() handling into common partStefan Schmidt
First step to do some re-factoring of the exactness binaries. We will share common parts from the different binaries in common.{c,h} to reduce the code duplication. The start makes _printf() used in various places. Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11456
2020-03-12edje_cc - provide better error info log on part id out of rangeCarsten Haitzler (Rasterman)
2020-03-10edje: Rename Json to Lottie in edj supportingJunsuChoi
Summary: The json file used by edje is for lottie output. json can be used in many ways. So the purpose is clear. Test Plan: N/A Reviewers: Hermet, kimcinoo, herb Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11478
2020-03-06elc_naviframe: fix to delete item once by elm_object_item_del in pop_cbJaehyun Cho
If elm_object_item_del is called in pop_cb and pop_cb returns EINA_FALSE, then the given item is destructed by _item_noref when efl_unref is called after pop_cb. After the above destruction, efl_del is called after the above efl_unref and it deletes the item again. Not to delete item after the item is destructed, efl_del after pop_cb is removed.
2020-03-03doxygen docs: fix multiple defined @section'sXavi Artigas
Section names must be globally unique. We rarely reference sections so we don't actually need to use @section and a simple header suffices.
2020-03-03efl/gesture: port 'rotate' gesture from elm to new gesture frameworkMike Blumenkrantz
this is a 1:1 port with minimal changes other than what's necessary to integrate into the new framework Differential Revision: https://phab.enlightenment.org/D11383
2020-03-03efl/gesture: rename long_tap -> long_pressMike Blumenkrantz
this is consistent with the rest of efl naming ref T8503 Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Differential Revision: https://phab.enlightenment.org/D11376
2020-03-02exactness: check success of mkdirStefan Schmidt
Evaluate return code of mkdir() and print error if it fails. CID: 1419844 Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11429
2020-02-27exactness: inspect: use logical OR instead bitwise XORStefan Schmidt
Coverity pointed these out as we deferences after null check. Looking into it showed these use of a bitwise operator on vars where it does not make any sense (to me). They look like wrongly done NULL checks. Switchign them over to a logical OR operator. CID: 1419876, 1419869, 1419868, 1419862, 1419854, 1419849 Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11432
2020-02-27exactness: inspect: remove unreachable codeStefan Schmidt
If dt equals EX_FONTS_DIR we would have returned already. CID: 1419879 Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11430
2020-02-27exactness: handle error cases for saving an imageStefan Schmidt
Handle the error case and propagate the error upwards. CID: 1419855 Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11428
2020-02-26exactness: use eina_strdup() to avoid extra NULL checkingStefan Schmidt
strdup() would not be happy about a NULL to copy, but we have eina_strdup in place already to handle this gracefully. CID: 1419846 Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11421
2020-02-26exactness: check return code from ecore_evas_initStefan Schmidt
Check if we can initialize correctly and return failure if not. CID: 1419872, 1419864, 1419867, 1419850 Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11420
2020-02-26exactness: avoid leak on leaving scopeStefan Schmidt
Before we leave the fucntion here we need to free our temporaray paths variable. CID: 1419860 Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11411
2020-02-26exactness: player: allow space for the terminating nullStefan Schmidt
Allocate extra space for the terminating null byte and / of the string. Switch to snprintf() as well. CID: 1419863 Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11410
2020-02-26elementary_test/ui_spotlight: Fix warnings about use to uninitialized value.JunsuChoi
Summary: remove warnings. ../src/bin/elementary/test_ui_spotlight.c:1126:9: warning: 'view' may be used uninitialized in this function [-Wmaybe-uninitialized] ... Test Plan: N/A Reviewers: YOhoho, Hermet, Jaehyun_Cho Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11418
2020-02-25exactness: injector: free local buffersStefan Schmidt
Make sure we free local resources before we break. CID: 1419845 Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11414
2020-02-25exactness: inspect: free image before leaving scopeStefan Schmidt
We need to amke sure we free this images before we return. CID: 1419848 Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11413
2020-02-25exactness: close file we openedStefan Schmidt
We only opened it read only, but this should still be closed before leaving. CID: 1419853 Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11412
2020-02-25exactness: inspect: free local allocation before leaving scopeStefan Schmidt
Before we leave the scope here this needs to get free'd up or it will leak. CID: 1419877 Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11408
2020-02-25exactness: inspect: fix memory leak of buffer in error pathStefan Schmidt
If we hit this error path we need to release the allocated buffer. CID: 1419878 Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11407
2020-02-25test_efl_gfx_vg_value_provider: expand buffer to avoid truncation by snprintfYeongjong Lee
Test Plan: compile with `-Wformat-truncation` Reviewers: raster, Hermet, segfaultxavi Reviewed By: segfaultxavi Subscribers: segfaultxavi, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11405
2020-02-19edje: modify to respect user set fixed propertyWonki Kim
Summary: this patch is related with @D11365. rather than undoing optimization edje calc, this patch introduces a user_set property which enables edje_calc to respect user set property. Reviewers: bu5hm4n, eagleeye, YOhoho, Hermet, zmike Reviewed By: zmike Subscribers: zmike, cedric, #reviewers, #committers, woohyun, eagleeye, bu5hm4n Tags: #efl Differential Revision: https://phab.enlightenment.org/D11366
2020-02-18C#: Add error checking for Eina.Success_Flag return typeFelipe Magno de Almeida
When a get and/or set from property is defined to return, explicitly, a Eina.Success_Flag, the mono generator will check the return value and generate an exception if the call fails. Resolves T8383. Reviewed-by: João Paulo Taylor Ienczak Zanette <joao.tiz@expertisesolutions.com.br> Differential Revision: https://phab.enlightenment.org/D11281
2020-02-18csharp: Add IntPtr to/from IEnumerable conversion for "accessor" typesJoão Paulo Taylor Ienczak Zanette
Adds a special case for "accessor" complex types in `implicit operator` for structs and `IntPtr`s, in which an IEnumerator must be converted to/from an IntPtr. Reviewed-by: YeongJong Lee <cleanlyj@naver.com> Reviewed-by: Felipe Magno de Almeida <felipe@expertisesolutions.com.br> Differential Revision: https://phab.enlightenment.org/D11210
2020-02-18eolian-mono: Make Get/Set internal for generated propertiesFelipe Magno de Almeida
Make Get and Set methods internal for properties that get the property syntax generated. Reviewed-by: João Paulo Taylor Ienczak Zanette <joao.tiz@expertisesolutions.com.br> Differential Revision: https://phab.enlightenment.org/D11252
2020-02-17mono: Add "out" as a reserved wordXavi Artigas
This will turn it into kw_out just like it is done for "in". Otherwise it cannot be used as a parameter name, for example.
2020-02-17edje: Disable the json vector animation feature with a flag.JunsuChoi
Summary: Json vector animation requires the json loader to be loaded. Therefore, if the loader does not load, it prints an appropriate error message and disables the feature. Depends on D11228 Test Plan: N/A Reviewers: Hermet, Jaehyun_Cho, id213sin Reviewed By: Hermet Subscribers: raster, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11230
2020-02-17edje: add json file support featureYoungBok Shin
Summary: It also starts to support following new edc properties. This is backported patch from Tizen 5.0 1. frame desc { "default" vector { frame: 0.5; // 0.0 ~ 1.0 } } 2. actions program { "vector_animation"; // VG_ANIM_PLAY, VG_ANIM_PLAY_BACK, VG_ANIM_LOOP, // VG_ANIM_STOP, VG_ANIM_PAUSE, VG_ANIM_RESUME action: VG_ANIM_PLAY; target: "your_vector_part"; } @feature Co-authored-by: Jaehyun Cho <jae_hyun.cho@samsung.com> - Fix to remove Efl.Canvas.Animation_Player on edje Test Plan: {F3840540} {F3840542} {F3840543} make and test attached file edje_cc -beta -id ./ json_edc.edc json.edj gcc -o test test_edc.c -g `pkg-config --cflags --libs evas elementary rlottie` ./test Reviewers: Hermet, Jaehyun_Cho, id213sin Reviewed By: Hermet Subscribers: segfaultxavi, raster, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11228
2020-02-15edje player - make it more useful with padding optionCarsten Haitzler (Rasterman)
so you can see the overflow outside and edje object, add padding as an option to move the obj inside the win. this means also nuking the over-engineered box stacking thing... :)
2020-02-14elementary value provider: replace sprintf() with snprintf()Hermet Park
Avoid vulerable function usage in the test code
2020-02-14elm_test: add zoom recognizer handling to gesture testMike Blumenkrantz
Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11330
2020-02-13csharp: Generating documentation for tuple-value properties.João Paulo Taylor Ienczak Zanette
Adds documentation for tuple-value properties (properties with multiple values), so the following Eo: ``` @property multi_valued_prop { [[ A multi valued property. ]] get {} set {} values { prop1: int; [[ Dummy property's first element. ]] prop2: int; [[ Dummy property's second element. ]] } } ``` Generates the following documentation: ``` /// <summary>A multi valued property.<br/> /// Since EFL *current version*.</summary> /// <value>A tuple containing the following information: /// <list type="bullet"> /// <item><description><c>prop1</c> (<c>Item0</c>): Dummy property&apos;s first element.</description></item> /// <item><description><c>prop2</c> (<c>Item1</c>): Dummy property&apos;s second element.</description></item> /// </list></value> ``` Note: This commit also adds a default separator between tag name and parameters in `generate_opening_tag`. Ref T8468. Differential Revision: https://phab.enlightenment.org/D10889
2020-02-12exactness_player: fix running of exactness player after compile fixStefan Schmidt
Summary: The last compile fix broke the execution of exactness. When replacing _POSIX_PATH_MAX with PATH_MAX here we did not catch that it would overwrite out of bounds here as the original _POSIX_PATH_MAX is limited to 256 while PATH_MAX can go up to 4096. This screws up the size of the memset. Reviewers: zmike, bu5hm4n, vtorri, ali.alzyod Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11317
2020-02-12csharp: Fix managed name when solving Get/SetType name clashJoão Paulo Taylor Ienczak Zanette
Summary: If you declare a property called "type", the generated getter method would be called "GetType", clashing with "System.Object.GetType" method. The current workaround for that is to straight-forwardly insert the respective class/abstract's Eolian name into the function name (becoming, for example "GetMy_ClassType"), sometimes getting inconsistent to not only other methods but also with documentation (leading to XML errors, since a cref doc would reference "GetMyClassType", which doesn't exists). This patch fixes that by wrapping the Eolian name with the already existing `managed_name` function. Test Plan: Run ninja tests. Reviewers: zmike, segfaultxavi Reviewed By: segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11331
2020-02-12edje_cc : remove potential NULL dereferencingWonki Kim
Summary: this patch removes potential NULL deferencing in edje_cc Reviewers: jsuya, Hermet Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11326
2020-02-11elm perf_test: fix warning of implicit conversion of floating pointYeongjong Lee
Summary: The result of integral division is converted into floating point. In order to fix this warning, it changes denominator to double from integer. Reviewers: Jaehyun_Cho, Hermet, zmike Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11313
2020-02-10exactness_player: make use of PATH_MAX define instead of posix variantStefan Schmidt
The use of _POSIX_ has lead to a compile problem on old Ubuntu (16.04) versions. We use PATH_MAX everywhere else so follow suit here. Fixes T8613 Reviewed-by: Ali Alzyod <ali198724@gmail.com> Differential Revision: https://phab.enlightenment.org/D11305
2020-02-07exactness: fix osx buildMarcel Hollerbach
edje depends on more than just edje_cc.
2020-02-07exactness: cleanup some coding style isuesStefan Schmidt
Just a few that I spotted when looking over the code. Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11290
2020-02-07exactness: fix init/shutdown handling of efl components in various binariesStefan Schmidt
The init/shutdown handling for efl libraries was a bit sloppy and unbalanced in the exactness binaries. Switching over to use ecore_eas_init/shutdown here instead of doing all libs individually. Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11289
2020-02-07exactness: remove unused codeStefan Schmidt
Either commented out, blank lines or no needed includes. Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11288
2020-02-07exactness: 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. Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11287
2020-02-07exactness: 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. Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11286
2020-02-07exactness: 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] Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11285
2020-02-07elementary: 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. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11284
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