summaryrefslogtreecommitdiff
path: root/src (follow)
AgeCommit message (Collapse)Author
5 hoursevas_object_smart: enhance logic checking clipper visibilityHEADmasterShinwoo Kim
Summary: If current clipper object is equal to previous clipper object, then the value of visible (or alpha) is same, because it is same object. But there is a case that current visible value is different with previous visible, when clipper object is same. I added this patch to cover above case to draw childern of map. See following flow. evas_render_mapped > if (_evas_render_has_map(obj) && !_evas_render_can_map(obj)) > if (!changed) changed = evas_object_smart_changed_get(obj); The evas_object_smart_changed_get returned FALSE, even though current visible value is different with previous one in the same clipper object. Reviewers: raster, Hermet, herb, jsuya Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12250
23 hoursefl ui format - now dont leak and dont double freeCarsten Haitzler (Rasterman)
23 hoursefl ui format - only sety format fun to null if format func free existsCarsten Haitzler (Rasterman)
24 hourselm slider - don't double-free output format.Carsten Haitzler (Rasterman)
44 hoursecore_wl2: Remove legacy teamwork stuffChristopher Michael
This patch removes the remainder of the Teamwork protocol & implementation. The module has been removed from Enlightenment for some time now so there is no need to generate a protocol or have any legacy code remaining..
45 hoursecore-evas-wayland: Remove wayland wobbly windows junkChristopher Michael
Never worked properly, is unsupported by upstream wayland, and is just general clutter so let's remove it.
45 hoursecore_wl2: Remove wayland wobbly windows stuffsChristopher Michael
This cleans up the www mess that never worked properly and is unsupported with no plans to ever be used
45 hourswayland_protocol: Remove wayland wobbly windows junkChristopher Michael
This protocol never fully worked properly, is unsupported & unused, would never be accepted in upstream wayland, and is just generally worthless so let's remove it. There are no plans to ever support it...
6 dayseeze_disk: fix potential memory leakChristopher Michael
If allocation for disk fails, then we leak memory from previously called _new_device function. This patch based on D12223 from akanad (Wonki Kim) ref D12223
6 dayseeze_disk: Remove extra blank linesChristopher Michael
NB: No functional changes
6 daysefl_loop: Fix unchecked return valueChristopher Michael
Small patch to check return value of eina_value_get reported by Coverity Fixes CID1400919
6 dayseio_test_manager: Fix unchecked return valueChristopher Michael
Small patch to check return value of eina_value_convert reported by Coverity Fixes CID1400976
6 dayseina_promise: Fix unchecked return valueChristopher Michael
Small patch to check return value of eina_value_get reported by Coverity Fixes CID1400993
6 dayselm_glview: Fix unchecked return valueChristopher Michael
Small patch to check return value of evas_gl_make_current reported by Coverity. Fixes CID1401018
6 dayseina_value: Fix unchecked return valueChristopher Michael
Small patch to check return value of eina_value_type_setup reported by Coverity Fixes CID1401023
6 dayseldbus_fake_server: Fix unchecked return valueChristopher Michael
Small patch to check return values of eldbus_message_iter_arguments_get reported by Coverity. Fixes CID1401042
6 dayselm_slider: Fix unchecked return valueChristopher Michael
Small patch to check the return value of eina_value_get reported by Coverity Fixes CID1401061
6 daysecore: Update to not use deprecated mallinfoChristopher Michael
mallinfo (the structure) and mallinfo (the function) have both been deprecated in favor of mallinfo2 which has been updated to handle allocations > 4GB. This patch updates ecore usage of deprecated mallinfo to use mallinfo2. If the system does NOT have mallinfo2, then this code will fallback to using mallinfo.
6 dayselm - efl ui format - remove leak on format infoCarsten Haitzler (Rasterman)
7 dayseina_tests: Fix argument cannot be negativeChristopher Michael
Coverity reports that 'fd' returned from 'open' here returns a negative number. Passing a negative number to the 'write' function is not allowed, so we should change the 'fail_if' checks here to make sure 'fd' is not negative. Fixes CID1400940 @fix
14 daysRevert "ecore: Update to not use deprecated mallinfo"Christopher Michael
Reverting this, for now, because some distro's are still not updated... This should probably use a malloc version check, but I don't have time this week for a proper fix... This reverts commit 17137316eeb728a30c3c14e4b3a2f1cd8765bbfc.
2021-02-17eeze: fix a potention memory leakShinwoo Kim
Summary: if udev device get parents fails, memory leaks. this patch fixes the problem. Reviewers: raster, Hermet, jsuya, herb, ali.alzyod, devilhorns Reviewed By: ali.alzyod, devilhorns Subscribers: ali.alzyod, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12249
2021-02-16ecore: Update to not use deprecated mallinfoChristopher Michael
mallinfo (the structure) and mallinfo (the function) have both been deprecated in favor of mallinfo2 which has been updated to handle allocations > 4GB. This patch updates ecore usage of deprecated mallinfo to use mallinfo2
2021-02-13gl: remove memory leak of orient_setShinwoo Kim
Summary: The tex->pt->references is descreased by evas_gl_common_texture_free -> pt_unref if tex->references is 0 And tex->pt->texture is removed by evas_gl_common_texture_free -> pt_unref -> glDeleteTextures if tex->pt->references is 0 The evas_gl_common_texture_free decreases tex->references only if tex->references is bigger than 0. There is no chance to decrease tex->pt->references at this point. So if orient_set increases both references of tex and tex->pt, then the tex->pt->reference is not decreased till tex->references is 0. So do not increase tex->pt->references in eng_orient_set. Reviewers: raster, cedric, Hermet Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12243
2021-02-06Added the heif loaderthierry1970
Summary: that supports images : *.heif, *hiec and *.avif I have disabled *.avif images, there is already a loader. Reviewers: stefan_schmidt, raster Subscribers: raster, vtorri, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12135
2021-02-06Efreet: fix file:// scheme on WindowsVincent Torri
Summary: On Windows, file:///c:/path/to/file is correct and not managed. Use a Win API for manage it correctly Test Plan: test case Reviewers: raster, cedric Reviewed By: raster Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12244
2021-02-06Efreet: do not translate standard directories on WindowsVincent Torri
Summary: The directories on hard disk are not translated on Windows Test Plan: test case Reviewers: raster, cedric Reviewed By: raster Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12246
2021-02-06evas - gl engine - look for extension in the right extension string setCarsten Haitzler (Rasterman)
this fixes slow operation on what seems to be a minority of instances that dont advertise the extension in both egl and gl strings @fix
2021-02-04edje_entry: fix a potential error of null derefJaehyun Cho
Summary: This is a patch to fix a potential error of null dereferencing. This patch is based on D12087. Reviewers: Hermet, jsuya Reviewed By: jsuya Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12241
2021-02-04eet, emile: safety++Shinwoo Kim
Summary: (1) EVP_MD_CTX_new could return NULL (2) EVP_DigestUpdate returns 0 for failure. https://www.openssl.org/docs/man1.0.2/man3/EVP_DigestUpdate.html Reviewers: raster, Hermet, cedric, devilhorns Reviewed By: devilhorns Subscribers: SPAM-roll99, devilhorns, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12237
2021-02-03ecore-x - vsync - also log the direct device timestamp if it goes backCarsten Haitzler (Rasterman)
2021-02-03ecore_x - vsync ... this handles time going backwardsCarsten Haitzler (Rasterman)
yes - time went backwards. we get time from the device driver and vsync events... this is so incredibly wrong ... it should not have ever happened... but it did and that caused all sorts of bad things to happen to animators. this guards against that and tries to get the system clock time and if that doesnt work it just takes last time + 0.901. @fix
2021-02-01evas - tga loader - ignore origin as it leads to valid tga's not loadingCarsten Haitzler (Rasterman)
@fix
2021-02-01ecore x - allow vsync animator to delay by some fraction of a frameCarsten Haitzler (Rasterman)
@feat
2021-02-01Efl.Canvas.Vg.Object: Skip render, if size of the drawing area is 0JunsuChoi
Summary: If the size of the boundary of path is 0, there is no area to draw. Therefore, it is the same as hide(). If there is no area to draw, there is no need to create a buffer or perform rendering. Test Plan: N/A Reviewers: Hermet, kimcinoo Reviewed By: Hermet Subscribers: devilhorns, cedric, #reviewers, #committers, herb Tags: #efl Differential Revision: https://phab.enlightenment.org/D12235
2021-01-31ecore_file_monitor: add kevent backend.Alastair Poole
Summary: This is a very simple kevent backend, very similar to the eio_monitor implementation. On BSD systems, some core features within in E and other applications are always using the poll engine, which is not ideal. This is better, and simpler. Reviewers: devilhorns, raster, bu5hm4n, vtorri Reviewed By: vtorri Subscribers: vtorri, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12239
2021-01-29efl_ui_textpath: mathmatical calculationsAli Alzyod
Summary: Reduce number of sqrt calls. Reviewers: cedric, raster, bu5hm4n, vtorri, woohyun, Hermet Subscribers: vtorri, bu5hm4n, raster, cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8747 Differential Revision: https://phab.enlightenment.org/D11949
2021-01-29evas_textblock: allow default font size to be set without fontnameali-alzyod
Reviewers: woohyun, bowonryu, id213sin Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12211
2021-01-27ecore-evas: Formatting fixChristopher Michael
NB: No functional changes
2021-01-27elm - test - genlist - add more callback event printfs for testingCarsten Haitzler (Rasterman)
2021-01-25eeze walk: fix a memory leakingWonki Kim
Summary: there is a memory leak in a logic for walking along child-parent relation, in case of device_get_sysattr_value failure. this patch fixes the leak. Change-Id: I95e9484b1549d1c794ec529c995af33da9b8a0ee Reviewers: bu5hm4n, zmike Subscribers: raster, SPAM-TeresaButler, vtorri, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12224
2021-01-24ethumb - fix asan complaint on mis-accessing struct after free in clientCarsten Haitzler (Rasterman)
@fix
2021-01-21elm - fix elm_config args parsing/collectingCarsten Haitzler (Rasterman)
@fix
2021-01-19slider: fix a potentional crashing problemWonki Kim
null pointer dereferencing could happen once eina_value_setup fails. this patch fixes the problem in adavnace Reviewed-by: Christopher Michael <devilhorns@comcast.net> Differential Revision: https://phab.enlightenment.org/D12173
2021-01-14evas - let's not set dynamic img hints if extns not thereCarsten Haitzler (Rasterman)
2021-01-14gl: remove invalid read and writeShinwoo Kim
Summary: There could be 2 evas_gl_image referencing 1 evas_gl_texture. evas_object_image_orient_set could make this case. In this case, when one evas_gl_image is removed(free), the evas_gl_texture is not removed because its reference count. After this point, if the other evas_gl_image is removed without drawing (see function evas_gl_common_image_draw, line "im->tex->im = im") then evas_gl_texture is reading invalid adress when it is removed. Reviewers: Hermet, jsuya, herb, devilhorns Reviewed By: devilhorns Subscribers: devilhorns, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12229
2021-01-11evas - missing EVAS_API - add.Carsten Haitzler (Rasterman)
2021-01-11emotion: emotion EAPI macro to EMOTION_API in Emotion libraryFelipe Magno de Almeida
Summary: Patch from a series of patches to rename EAPI symbols to specific library DSOs. = The Rationale = EAPI was designed to be able to pass `__attribute__ ((visibility ("default")))` for symbols with GCC, which would mean that even if -fvisibility=hidden was used when compiling the library, the needed symbols would get exported. MSVC __almost__ works like GCC (or mingw) in which you can declare everything as export and it will just work (slower, but it will work). But there's a caveat: global variables will not work the same way for MSVC, but works for mingw and GCC. For global variables (as opposed to functions), MSVC requires correct DSO visibility for MSVC: instead of declaring a symbol as export for everything, you need to declare it as import when importing from another DSO and export when defining it locally. With current EAPI definitions, we get the following example working in mingw and MSVC (observe it doesn't define any global variables as exported symbols). Example 1: dll1: ``` EAPI void foo(void); EAPI void bar() { foo(); } ``` dll2: ``` EAPI void foo() { printf ("foo\n"); } ``` This works fine with API defined as __declspec(dllexport) in both cases and for gcc defining as `__atttribute__((visibility("default")))`. However, the following: Example 2: dll1: ``` EAPI extern int foo; EAPI void foobar(void); EAPI void bar() { foo = 5; foobar(); } ``` dll2: ``` EAPI int foo = 0; EAPI void foobar() { printf ("foo %d\n", foo); } ``` This will work on mingw but will not work for MSVC. And that's why EAPI is the only solution that worked for MSVC. Co-authored-by: João Paulo Taylor Ienczak Zanette <jpaulotiz@gmail.com> Co-authored-by: Ricardo Campos <ricardo.campos@expertise.dev> Co-authored-by: Lucas Cavalcante de Sousa <lucks.sousa@gmail.com> Reviewers: vtorri, woohyun, jptiz, lucas Reviewed By: vtorri, lucas Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12227
2021-01-06evas webp loader - stop complainig its an invalid fileCarsten Haitzler (Rasterman)
when a file has no extension to guess by.. evas goes back to trying every loader until one works. this leads to noise. loaders should not printf/stder or eina log err anything if the file seems to not be valid. @fix
2021-01-03elm - genlist - fix leak if someone steals objects on unrealizeCarsten Haitzler (Rasterman)
elm_genlist_item_all_contents_unset() can steal away the item content. this is how you do a cache of your own objects... BUT this meant genlist couldnt remove its hash entires... as it lost them. this fixes that. leak fixed. (this affected evisum) @fix