AgeCommit message (Collapse)Author
2020-05-08doxygen docs: Complete docs for Eina CPU functionsXavi Artigas
2020-05-08doxygen docs: Complete docs for Eina_RectangleXavi Artigas
2020-05-08evas: use SEQUENTIAL for decoding png fileShinwoo Kim
Summary: There was a mistake caused by "2a0eeba evas: fix png regression issue". The flag is_for_data was close_file before this commit. _evas_image_load_file_internal_head_png closes file if it is called only for header. So the close_file does not mean is_for_data. This patch is changing is_for_data to is_for_head, and make _evas_image_load_file_internal_head_png use EINA_FILE_SEQUENTIAL for data decoding. Reviewers: Hermet, jsuya, herb, raster Reviewed By: raster Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision:
2020-05-08tests/elm: add callback testing to image memfile testMike Blumenkrantz
Summary: verify that ready is called (preload done) and error is not called ref D11758 Reviewers: Hermet, jsuya, kimcinoo Reviewed By: Hermet Subscribers: stefan_schmidt, cedric, #reviewers, #committers Tags: #efl Differential Revision:
2020-05-07ci: travis: update Debian to 10.3 and Ubuntu to 20.04Stefan Schmidt
Now that the ecore_con tes suite failure are fixed with a renewed ssl certificate we can update these two distros as well.
2020-05-07tests: ecore_con: renew test ssl certificate which expired in 2016Stefan Schmidt
For our unit testing of ecore_con we have a sself-signed certificate for localhost to do some of the tests. It expired in 2016 and this was not really a problem so far. Starting from Debian 10 and Ubuntu 20.04 this resulted in failures thought. Either the newer openssl version is more strict or the config for Debian and Ubuntu is. Anyway, time to generate a new one. Its valied until Sep 23 12:33:13 2024 GMT and I used the follwoing commands to generate the cert/key and the second command to rmeove the key passphrase. openssl req -x509 -newkey rsa:4096 -keyout server.key -out server.pem -days 1600 -subj '/CN=' openssl rsa -in server.key -out server2.key Someone has to do this again in 4 years. if we stillhave this code around.
2020-05-07Use __func__ C99 identifier instead of __FUNCTION__ compiler extensionVincent Torri
Summary: see section page 52 Test Plan: compilation Reviewers: raster, devilhorns Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision:
2020-05-07cxx: Initialize _list and _node with nullptrJoão Paulo Taylor Ienczak Zanette
Fixes CID 1409576 pointing that _node was unitialized. Reviewed-by: Stefan Schmidt <> Reviewed-by: Felipe Magno de Almeida <> Differential Revision:
2020-05-07evas: fix png regression issueShinwoo Kim
Summary: Accidentally commit "382c580 evas: add support for .9.png file to PNG loader." adding the 9 patch feature with small code refactoring made use of setjmp incorrectly. [Problem] evas_image_load_file_data_png calls _evas_image_load_file_internal_head_png, and _evas_image_load_file_internal_head_png calls setjmp and returns without problem. And png_read_row calls longjmp. This causes jumping into a function which was exited. Problematic png file will be attached. [Solution] Save calling environment i.e. call setjmp, after returning from _evas_image_load_file_internal_head_png. Test Plan: Problematic png file {F3876983} And example code. {F3876986} Reviewers: Hermet, jsuya, herb Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision:
2020-05-07canvas map: draw direct image as possible.Hermet Park
Since we moved to floating calculation for msaa, this comparsion is not working for direct image drawing though it's doable. To resolve this, we can compare floatings regardless of msaa enable.
2020-05-06ecore-evas-drm: Remove useless check for visibilityChristopher Michael
This is already checked above so having a second check here is just silliness
2020-05-06remove arguments of LOGFN in ecore_wayland modules as the are always the sameVincent Torri
Reviewers: raster, devilhorns Reviewed By: devilhorns Subscribers: devilhorns, cedric, #reviewers, #committers Tags: #efl Differential Revision:
2020-05-06ci: travis: switch coverity build back to Fedora 31 imageStefan Schmidt
While it builds there is a problem to pick up the analyzing units for the scanner. My best guess is that gcc10 is to new and we need to wait for the next cov-tools release before we can bump this.
2020-05-06travis: update asan build to Fedora 32Stefan Schmidt
With the updated gcc to version 10 the AddressSanitizer plugin seems to have switched the OneDefionitionRule to 2, which includes reports for definitions with the same size. In our case that breaks heavily due to our usage in eina_module: ==147526==ERROR: AddressSanitizer: odr-violation (0x7fca71b29300): [1] size=8 '__eina_module_shutdown' ../src/modules/ecore_imf/xim/ecore_imf_xim.c:821:1 [2] size=8 '__eina_module_shutdown' ../src/modules/evas/engines/buffer/evas_engine.c:185:1 Disabeling it for our runs.
2020-05-06edje_textblock: content_fit size_range updateAli Alzyod
Summary: update size range will skip empty font_sizes Reviewers: woohyun, bowonryu Reviewed By: woohyun Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision:
2020-05-06edje_textblock: optimize priority handling for content_fit optionsAli
Summary: this patch will reduce amount of unnessesary calculations, if user set both font_size_array and size_range for content fit. Reviewers: woohyun, bowonryu Reviewed By: woohyun Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision:
2020-05-06evas_textblock: clear paragraphs during markup_setAli Alzyod
Summary: Clear paragraph during markup set, instead of waiting until next text layout to happen, this will release unused memory right away Reviewers: woohyun, zmike, bu5hm4n, raster Subscribers: raster, cedric, #reviewers, #committers Tags: #efl Differential Revision:
2020-05-05ci: travis: update more jobs to Fedora32 imageStefan Schmidt
With the edje test suite problems resolved almost all jobs can be moved. Mingw, exactness and asan need more testing and debugging.
2020-05-05tests: edje: Fedora32 system fail resolveAli Alzyod
This test seems to fail on Fedora32, we increase font size margin to prevent it from happening Reviewed-by: Stefan Schmidt <> Differential Revision:
2020-05-05ci: travis: update first few jobs to Fedora32Stefan Schmidt
The rest stays on 31 right now until we worked out some remaining problems in test suites, asan, etc.
2020-05-05ecore_drm: ensure we have the symbol available at the right place.Stefan Schmidt
Summary: Linking under Fedora32 toolchain got more picky. Ecore_drm_device.c needs the symbol so make sure we have it there. Reviewers: devilhorns, raster Reviewed By: raster Subscribers: raster, cedric, #reviewers, #committers Tags: #efl Differential Revision:
2020-05-05exactness_player: do not test for delay_msMarcel Hollerbach
that is a unsigned int, if its 0 the timer is called as fast as possible. Not doing that breaks exactness. @fix Reviewed-by: Stefan Schmidt <> Differential Revision:
2020-05-04evas_textblock: optimize calculate main format once in layout setup stageAli Alzyod
Summary: This change based on discussion on D9533 , where @smohanty example shows that unnecessary calculation happened on textblock related to lay-outing Where now _layout_setup will not calculate main format using (_format_fill) unless style has been changed. expedite commit: src/bin/textblock_text_fill_format.c Test Plan: ``` #define EFL_EO_API_SUPPORT 1 #define EFL_BETA_API_SUPPORT 1 #include <Eina.h> #include <Efl.h> #include <Elementary.h> EAPI_MAIN int elm_main(int argc, char **argv) { Evas_Object *win, *textblock; elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED); win = elm_win_util_standard_add("Main", "App"); elm_win_autodel_set(win, EINA_TRUE); int l, r, t, b; textblock = evas_object_textblock_add(evas_object_evas_get(win)); Evas_Textblock_Style *st = evas_textblock_style_new(); evas_textblock_style_set (st, "DEFAULT='font=Sans font_size=10 color=#000000 wrap=word align=left outline_color=#000 shadow_color=#fff8 shadow_color=#0002 glow2_color=#fe87 glow_color=#f214 underline_color=#00f linesize=40'"); evas_object_textblock_style_set(textblock, st); int sizes[] = {600, 700}; evas_object_textblock_text_markup_set(textblock, "This test resize text block and keep style (style parsed only once)"); clock_t start, end; start = clock(); for (int i = 0; i < 10000; i++) { evas_object_resize(textblock, sizes[i % 2], sizes[i % 2]); evas_object_textblock_style_insets_get(textblock, &l, &r, &t, &b); } end = clock(); double total_Time1 = ((double)(end - start)) / CLOCKS_PER_SEC; printf("total time = %f\n", total_Time1); evas_object_size_hint_weight_set(textblock, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); evas_object_size_hint_align_set(textblock, EVAS_HINT_FILL, EVAS_HINT_FILL); evas_object_show(textblock); evas_object_move(textblock, 0, 0); evas_object_resize(textblock, 640, 800); evas_object_resize(win, 640, 800); evas_object_show(win); elm_run(); return 0; } ELM_MAIN() ``` **Old Code output : total time = 0.096900 New Code output : total time = 0.045580** Reviewers: smohanty, woohyun, Hermet, bowonryu, cedric, bu5hm4n, zmike Reviewed By: zmike Subscribers: zmike, segfaultxavi, bu5hm4n, smohanty, cedric, #reviewers, #committers Tags: #efl Differential Revision:
2020-05-04remove arguments of LOGFN in ecre_x and ecore_wayland as the are always the sameVincent Torri
Reviewers: raster Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision:
2020-05-04examples: cxx: remove forced warning on unfinished APIsStefan Schmidt
Personally I find it quite annoying to have these in every build. Especially if they have not been attempted to get fixed even after we started to stabilize some part of the unified API. Reviewed-by: Felipe Magno de Almeida <> Differential Revision:
2020-05-03ecore_evas_x - fix maximize/unmaximize request corner caseCarsten Haitzler (Rasterman)
state was not managed well.. this will fix that. also a test in elementary for it to you can test it out. @fix
2020-05-02ecore-buffer: Fix formattingChristopher Michael
NB: No functional changes
2020-05-01ecore-drm2: Add support for using page_flip_handler2Christopher Michael
In our current Ecore_Drm2_Context structure, we are missing support for using page_flip_handler2. This patch adds that ability. This could prove useful when working with ecore_drm2 as it allows page_flip_handler callbacks to setup a handler for page_flip_handler2, which when the callback gets received, passes back the crtc_id which the pageflip occured on. @feature
2020-05-01edje - don't set font sizes less than 1Carsten Haitzler (Rasterman)
this makes evas unhappy and results in noise. @fix
2020-05-01build - remove useless header checks for uv.hCarsten Haitzler (Rasterman)
we check for uv.h - but never do anything with it. this is configure noise that just confuses people into thinking we might do something. we still have dead libuv support but it's enabled with HAVE_LIBUV and we'd need to link to libuv too... which we don't do and we don't enable this. removing libuv supporrt entirely is a totally different question to raise. this here is just removing noise.
2020-04-30exactness: remove no longer needed _evas_new()Stefan Schmidt
This has been unused since the move to a preloaded lib and now makes trouble durign compilation on Fedora32. @fix Reviewed-by: Marcel Hollerbach <> Differential Revision:
2020-04-30ecore_evas: only define these eina errors onceMarcel Hollerbach
Summary: they are not needed multiple times, infact this is creating multiple definition errors. @fix Reviewers: stefan_schmidt, zmike Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision:
2020-04-29elm_fileselector: support expandable itemsMarcel Hollerbach
Summary: the fileselector can store exactly 1 model and monitor that for changes, which works normally just well. However, when we expand a items, another model comes into play, which is not monitored, and no additional reference is taken. Which means, _process_last will simply delete it, and elements that did not come into play at the _populate call are never displayed. With this commit, we check that we do not have a parent item, and explictly wait for the model to publish all its items, before we call _process_last. Additionally, that showed that the tracking of the list/grid item is ultimatly buggy, as there is no assertion that the parent model is really the parent directoy. Hence we need to hand pass the parent item here, as a fallback option to set the correct parent item. fixes T8689 Reviewers: zmike Reviewed By: zmike Subscribers: zmike, cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8689 Differential Revision:
2020-04-29doxygen docs: Add missing group bracesXavi Artigas
Without them, these Evil docs had no group and therefore didn't appear anywhere.
2020-04-29doxygen docs: Add tests folder to EXAMPLE_PATHXavi Artigas
One Emotion example is located in src/tests instead of src/examples so look for examples in that folder too.
2020-04-29doxygen docs: add missing example referencesXavi Artigas
2020-04-29doxygen docs: Fix reference to Elm_StartXavi Artigas
2020-04-29doxygen docs: Replace broken URL with doxygen refXavi Artigas
2020-04-29doxygen docs: Fix missing links in Ecore_DrmXavi Artigas
Ecore_Drm_Input had SOME docs, so a group for them is created. Ecore_Drm_Sprite had NO DOCS at all, so the link is just removed. This is a deprecated library anyway.
2020-04-29doxygen docs: Fix broken links in main pageXavi Artigas
2020-04-29edje: efl: add new EFL_VERSION_1_25 define for new cycleStefan Schmidt
Allow things to be marked for the upcoming 1.25 release version while we develop it.
2020-04-29build: release freeeze overStefan Schmidt
Going back to normal development mode. Have fun!
2020-04-29release: Update NEWS and bump version for 1.24.0 releasev1.24.0Stefan Schmidt
2020-04-29doxygen docs: Add @since tags to EE selection APIXavi Artigas
This is the first time Ecore_Evas selection API is released so it has earned some @since 1.24 tags. Also, put these methods in their own group.
2020-04-29doxygen docs: Move CnP API out of the Remove Canvas groupXavi Artigas
The new CnP API had been wrongly added to the Remote Canvases group.
2020-04-29canvas vg: Correct order of data free.Hermet Park
vfd data is firstly initialized and must be freed in the last.
2020-04-28eolian_gen: mark empty setter value params as unusedDaniel Kolesa
2020-04-28eolian_gen: hack around function pointers generating unused paramsDaniel Kolesa
2020-04-28ecore-drm2: Change _output_crtc_find to accept an intChristopher Michael
There is no reason to be passing the whole device structure here just to get the fd
2020-04-28ecore-evas: Fix formattingChristopher Michael
NB: No functional changes