summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* ci: travis: ensure we update brew as well to avoid a problem on Travisdevs/stefan/ci-macos-fixStefan Schmidt2020-02-211-1/+2
| | | | | | | | | | | | | | We normally did not use update as it could take up a few minutes for every macos build and the packages have been recent enough. Since a few hours we see build problems now on Travis: Error: Unknown command: bundle A way to get them fixed (until Travis updates their images for macos) is to use the update command. https://travis-ci.community/t/macos-build-fails-because-of-homebrew-bundle-unknown-command/7296/9 Also moving to a newer osx image here to avoid falling further behind on the dependencies.
* efl_ui_image: unload file before memfile_setShinwoo Kim2020-02-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: If memfile_set does not remove prev file information, it is not possilbe to load image using the same file information after memefile_set. It means that below line 3 does not work because the same file information remains for Efl.Ui.Image_Legacy. 1 | elm_image_file_set(obj, "1.jpg", NULL) 2 | elm_image_memfile_set(obj, img, size, "jpg", NULL) 3 | elm_image_file_set(obj, "1.jpg", NULL) This patch removes line calling _efl_ui_image_file_set_do becasue it is called in efl_file_unload > _efl_ui_image_efl_file_unload. Test Plan: [Sample Code] {F3848315} [Reproduce Step] 1. File2 2. Memfile 3. File2 Reviewers: Hermet, jsuya Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11392
* efl_ui_exact_model: use eina APIs to get the nth dataYeongjong Lee2020-02-201-18/+3
| | | | | | | | | | | | | | | | | | | | Summary: Also, fixes a compiler warning ``` ../src/lib/elementary/efl_ui_exact_model.c:60:17: warning: variable 'tbuf' set but not used [-Wunused-but-set-variable] ``` Test Plan: ninja Reviewers: cedric, zmike, bu5hm4n Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11380
* canvas proxy: fix broken proxy source clipping function.Hermet Park2020-02-201-4/+3
| | | | | | | | | The issue is proxy source clipping is not applied properly, Obviously that is a regression bug by the code refactoring. Found out this condition is insane, looks like a wrongly introduced. @fix
* edje: guarantee the theme abi compatility.Hermet Park2020-02-201-0/+1
| | | | | | | if old edj doesn't include "zoom_center" properly, the initial value will be set with zero, We can overwrite it in that case since zoom_center initial value is -1.
* Efl.Ui.Spotlight: Fix indicator initializationXavi Artigas2020-02-201-1/+1
| | | | This caused incorrectly-centered indicator icons in the homescreen example.
* edje: modify to respect user set fixed propertyWonki Kim2020-02-194-2/+10
| | | | | | | | | | | | | | | | | | | 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
* docs: A bit more info and formatting for Eina_Process_CbXavi Artigas2020-02-192-2/+6
| | | | | Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11063
* eina: introduce eina_iterator_processMarcel Hollerbach2020-02-194-0/+133
| | | | | | | | this brings a functional-map function to the iterator implementations. https://en.wikipedia.org/wiki/Map_(higher-order_function) Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D11062
* efl_ui_draggable: move these events back to legacyMarcel Hollerbach2020-02-194-46/+32
| | | | | | | | they are not used yet in efl.ui. namespace, and they are needed for different events. Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11196
* Adding "elm,calendar,ch_%d,weekend" and "elm,calendar,ch_%d,weekday" signals ↵rafspiny2020-02-191-1/+12
| | | | | | | | | | | from "elm". The calendar object in elementary needs to know which days are weekdays and which are weekend days in order to properly change the state of the header's labels. This code add a signal emission from e_calendar.c when setting the header. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11375
* elementary: use array instead of list for subchildrenMarcel Hollerbach2020-02-1913-142/+158
| | | | | | | | | | | | | | | | | this safes in the runtime of elm_test round about 9kb (*). Additionally, using a array here is jumping way fewer times arround in memory, as we do not need to jump from node to node in a list. Additionally, this commit replaces a few abort disabler macros with a error checking macro. (which cleans the log). *: explanation: we have round about 600 widgets in elm_test, every widget is normally refered once, every list node has 4 pointer, makes round about 9600 bytes or rougly 9 KB. So the messured savings are more or less explaining the reality. Reviewed-by: Carsten Haitzler (Rasterman) <rasterman.com> Differential Revision: https://phab.enlightenment.org/D11374
* eina_array: interpret the count of a NULL array as 0Marcel Hollerbach2020-02-191-0/+1
| | | | | | | this makes the usage way more convinient. Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Differential Revision: https://phab.enlightenment.org/D11373
* ecore_con: fix to check a return value of functionsWonki Kim2020-02-191-6/+12
| | | | | | | this path fixes to check a return value of functions. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11371
* efl_con: add a default condition to switch statementWonki Kim2020-02-191-4/+2
| | | | | | | | this patch modifies conditions to extract range conditions out of switch statement Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11370
* ecore: fix a memory leakWonki Kim2020-02-191-0/+6
| | | | | | | this patch fixes a memory leaking Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11369
* emile: remove a improper free logicWonki Kim2020-02-191-1/+0
| | | | | | | | BIO *b has freed improperly. this patch removes the logic. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11367
* elm_spinner: Fixed to apply the %d format.Woochanlee2020-02-192-6/+97
| | | | | | | | | | | | | | | | | | | Summary: The part object does not apply the logic in efl_ui_format, so it does not work correctly when you format it with %d. This is the commit that gets the necessary part of the logic of efl_ui_format. Test Plan: elementary_test Reviewers: Jaehyun_Cho Reviewed By: Jaehyun_Cho Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11378
* C#: Add error checking for Eina.Success_Flag return typeFelipe Magno de Almeida2020-02-188-62/+250
| | | | | | | | | | 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
* csharp: Add IntPtr to/from IEnumerable conversion for "accessor" typesJoão Paulo Taylor Ienczak Zanette2020-02-185-3/+80
| | | | | | | | | | 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
* eolian-mono: Make Get/Set internal for generated propertiesFelipe Magno de Almeida2020-02-1818-287/+1200
| | | | | | | | 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
* Revert "canvas mask: fix incorrect render surface size."Hermet Park2020-02-181-1/+1
| | | | | | This reverts commit e3af5eb27f70edf531d5d8de3e3f2c940536d396. Seems previous is correct. My misunderstanding.
* canvas mask: fix incorrect render surface size.Hermet Park2020-02-181-1/+1
| | | | | | | This render context works on a mask surface, Size should be mask's own, not canvas output size. @fix
* Efl.Gfx.Path: Fix condition of for loop in current searchJunsuChoi2020-02-181-1/+1
| | | | | END enum is 0. Fixed due to 064690d46e7ed67becf9710588e7c37a31ab807f @fix
* elm_transit: remove unnecessary image preload invocationShinwoo Kim2020-02-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: If user uses image object with following step, then unnecessary preloading related line is invocated in elm_image_file_set. elm_image_file_set(obj, file, NULL) elm_icon_preload_disabled_set(obj, EINA_TRUE) The following is the preloading related line triggered by elm_image_file_set. (#0) _image_preload_internal (#1) _evas_image_load_async_start (#2) evas_object_image_preload (#3) _efl_ui_image_smart_internal_file_set (#4) _efl_ui_image_efl_file_load (#5) efl_file_load (#6) efl_file_simple_load (#7) elm_image_file_set Moreover there is a flickering issue caused by the unnecessary preloading. A test code is attached. Test Plan: Use following test code. The flickering issue occurs with `ELM_SCALE=10 ELM_ACCEL=gl ./test_transit` {F3847288} Reviewers: Hermet, jsuya Reviewed By: Hermet, jsuya Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11364
* mono: Add "out" as a reserved wordXavi Artigas2020-02-171-0/+1
| | | | | 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.
* edje: Disable the json vector animation feature with a flag.JunsuChoi2020-02-175-9/+34
| | | | | | | | | | | | | | | | | | | | | 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
* edje: add json file support featureYoungBok Shin2020-02-178-21/+371
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* efl_ui_selection_manager: fix a compiler warning for Wayland supportYeongjong Lee2020-02-171-0/+2
| | | | | | | | | | | | | | | | Summary: `_sel_manager_seat_selection_get` is used only for x11. Test Plan: meson build -Dx11=false -Dwl=true Reviewers: Hermet, zmike Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11363
* efl_ui_selection_manager: remove unnecessary variableYeongjong Lee2020-02-171-3/+1
| | | | | | | | | | | | | | | | Summary: No logical changes. Test Plan: meson build Reviewers: Hermet, zmike Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11362
* els_cursor: Fix a compiler warning for Wayland supportYeongjong Lee2020-02-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | Summary: `_curosors` is not used when Elementary is compiled for Wayland. It Fixes a compiler warning. ``` ../src/lib/elementary/els_cursor.c:46:26: warning: ‘_cursors’ defined but not used [-Wunused-variable] static struct _Cursor_Id _cursors[] = ``` Test Plan: meson build -Dx11=false -Dwl=true Reviewers: zmike, Hermet, Jaehyun_Cho Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11360
* edje_multisense: fix a compiler warning for pulseaudio disable modeYeongjong Lee2020-02-171-0/+2
| | | | | | | | | | | | | | | | Summary: `_out_fail` is not used when edje is compiled without pulseaudio. Test Plan: meson build -Dpulseaudio=false Reviewers: zmike, Hermet, Jaehyun_Cho Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11361
* elm - scroller wheel accel - limit to avoid over/underflowCarsten Haitzler (Rasterman)2020-02-151-7/+18
| | | | | | limit wheell accel multiplier to 100,000 ... this way sane values of wheel_event->z will not overflow. also up intermediate coors to long longs and clamp to be sure.
* edje player - make it more useful with padding optionCarsten Haitzler (Rasterman)2020-02-151-99/+75
| | | | | | 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... :)
* ecore con - also be paranoid with same nul byte checks in path strCarsten Haitzler (Rasterman)2020-02-151-9/+10
| | | | | | this won't affect the target system which doesn't do abstract sockets anyway, and it's just unlink "" ... but check if first byte is nul for an asbtract socket and dont do lock files or unlinking in this case
* ecore_con - on bsd if we get flock unlink old socket by forceCarsten Haitzler (Rasterman)2020-02-151-0/+1
| | | | | | | trying to address other parts of the bsd socket hanging on bind() etc. ... unlink socket if we get the file lock as we should now have an exclusive lock on the socket anyway - clear out the old one by force once we have the lock.
* eina file - close on exec - doesnt exist on windows - vtorriCarsten Haitzler (Rasterman)2020-02-151-1/+3
|
* evas: stop handdefining eo typesMarcel Hollerbach2020-02-142-230/+1
| | | | | | | that is just technical dept carrying arround. Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11356
* efl_ui_spotlight_fade_manager: fix wrong typedefMarcel Hollerbach2020-02-141-1/+1
| | | | | | | the typedef used here is not really existing anymore. Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11355
* elm_main: remove unreachable conditionYeongjong Lee2020-02-141-1/+0
| | | | | | | | | | | | | | Summary: The condition `!*p` is always false because of line 1336. Reviewers: zmike, Hermet, bu5hm4n Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11349
* tests/evas: add simple test for skip_head propertyMike Blumenkrantz2020-02-141-0/+41
| | | | | | | | | | | | | | | | | | | | | | | Summary: when using this property, there should be no mmap loaded after a call to evas_object_image_file_set, and we want to make sure the image is eventually loaded ref T8378 Depends on D11340 Reviewers: raster Reviewed By: raster Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8378 Differential Revision: https://phab.enlightenment.org/D11341
* evas: restore codepath for loading images from files with skip_head setMike Blumenkrantz2020-02-143-10/+21
| | | | | | | | | | | | | | | | | | | | | Summary: this was never handled during refactoring because it had already been removed from the tree by that point fix T8378 Depends on D11339 Reviewers: raster Reviewed By: raster Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8378 Differential Revision: https://phab.enlightenment.org/D11340
* Revert "evas: Compile out unused functions"Mike Blumenkrantz2020-02-141-2/+0
| | | | | | | | | | | | | | Summary: This reverts commit 7d36ef88bcea82bfdc0146245e13d9e74572fa8f. Depends on D11338 Reviewers: raster Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11339
* Revert "evas: remove image_load from the engine."Mike Blumenkrantz2020-02-143-0/+40
| | | | | | | | | | | | | | Summary: This reverts commit 867d826395f988b9a9cbc3b5f93bf57ce031885d. Depends on D11337 Reviewers: raster Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11338
* Revert "evas: remove unused fonction evas_gl_common_image_load."Mike Blumenkrantz2020-02-142-0/+32
| | | | | | | | | | | | | | Summary: This reverts commit fc7e244e99bbcaa8303e0e11a533d0d96b7525bd. Depends on D11336 Reviewers: raster Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11337
* Revert "evas: remove unused function evas_common_load_image_from_file."Mike Blumenkrantz2020-02-142-0/+13
| | | | | | | | | | | | | | Summary: This reverts commit 7672d1050ea9e1050c27ce2eda68718ea054b638. Depends on D11335 Reviewers: raster Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11336
* Revert "evas: remove unused function evas_cache_engine_image_request."Mike Blumenkrantz2020-02-142-0/+70
| | | | | | | | | | | | | | Summary: This reverts commit 90e1ca715402371575104814162bcddd3664a8ba. Depends on D11334 Reviewers: raster Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11335
* Revert "evas: remove unused function evas_cache_image_request."Mike Blumenkrantz2020-02-142-0/+165
| | | | | | | | | | | | Summary: This reverts commit ee3f4e052956ceb49486efae72ece1eccd982b68. Reviewers: raster Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11334
* eina_rbtree: avoid defererencing null pointerYeongjong Lee2020-02-141-3/+7
| | | | | | | | | | | | | | Summary: Pointer 'it->stack' is dereferenced at `_eina_rbtree_iterator_free`. Reviewers: Hermet, zmike Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11346
* ecore x - fix debug printf format to print timeCarsten Haitzler (Rasterman)2020-02-141-1/+1
|