summaryrefslogtreecommitdiff
path: root/src (unfollow)
AgeCommit message (Collapse)Author
33 min.fix modules/ecore_evas/engines/wayland compilationHEADmasterJérémy Zurcher
broken after introduction of EMODAPI by a33138 Differential Revision: https://phab.enlightenment.org/D1222
7 hourselm frame - add more styles (icon, border and overlay variants)Carsten Haitzler (Rasterman)
this shoulpd have been day 0, but now add new styles that add an elm.swallow.icon spot for an icon in the frame and a style that looks like a border (also with icon as borders have them) and a close button too. overlay variants are for overlaying so might be semi-transparent
12 hoursmodules: Rename EAPI macro to MODAPI for modulesFelipe 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, jptiz, woohyun, lucas, SPAM-smith78899 Reviewed By: vtorri, SPAM-smith78899 Subscribers: SPAM-smith78899, raster, SPAM-cabanacatalogs, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12228
12 hoursImplement eina_thread for native windowsWander Lairson Costa
Summary: eina: Implement Eina_Thread for native windows The implementation design respects the fact that Eina_Thread is an uintptr_t. Thus we allocate the thread struct in the heap and return a pointer to it. As such, we store the created thread structure in the target thread TLS slot. For threads that were not created through eina API, in eina_thread_self we allocate a new structure, push it to the TLS slot and mark it to be freed on thread exit. Reviewers: jptiz, vtorri, cedric, walac Reviewed By: jptiz, cedric Subscribers: raster, cedric, #reviewers, #committers, lucas Tags: #efl Differential Revision: https://phab.enlightenment.org/D12037
21 hoursFix TIFF file signature in big endianVincent Torri
Summary: see https://www.adobe.io/content/dam/udp/en/open/standards/tiff/TIFF6.pdf page 13 Reviewers: raster, bu5hm4n Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12258
2 daysevas gl - drm - native bind - handle null eglimage create on bindCarsten Haitzler (Rasterman)
this can happen if dmabuf is invalid (already destroyed) so handle this so evas knows and falls back to rendering a rect and complains to stderr so we know @fix
2 daysedje - edje_cc - add no warning for unused images and use itCarsten Haitzler (Rasterman)
a test edje has lots of unused images - it's not important so silence warnings.
2 daysedje_cc - dont try strip images that are unused at allCarsten Haitzler (Rasterman)
my previous disable didnt disable all the unused image stripping. this now does. this code is buggy especially with image sets, to remove it and let the warnings to the job for those compiling themes.
8 dayseina_promise: do not self feedback when cancelingMarcel Hollerbach
when canceling a all_promise it will cancel all futures. When that happens, and one future is containing a promise, the value is unrolled, and delivered as "Operation canceled" if this is happening to the last future in all or any in race, the promise will then free its base ctx which is already happening due to canceling. With this this is not happening anymore.
8 daysefl_io_model: initialize memoryMarcel Hollerbach
or this is causing trouble
8 daysefl_io_model: do not self reference, this is dangerousMarcel Hollerbach
what happened here is that people passed private data with a reference to the object. Which is kind of a bad idea, as in some unthought of conditions, events are forgot, which results in freeed memory beeing accessed. This way its at least a error.
8 dayselm_genlist: ensure item is not deleted while beeing processedMarcel Hollerbach
the downside of doing things like genlist is doing, is that a object can be deleted, due to the fact that the processing call does not have a eo call in its stack trace, the object is not reffed at all. Hence it simply gets deleted in the middle of beeing proceded. With this, this is at least here not happening.
8 daysfreebsd: eeze support if enabled.Alastair Poole
ifr_netmask is not available on FreeBSD. On Linux ifr_addr is same union. Peter2121 did this work.
8 daysimprove heif loader: * efl coding style * faster head callback * faster ↵Vincent Torri
copy of image data Summary: and minor fix of some values in avif loader Test Plan: entice still can read heif Reviewers: raster Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12257
9 dayselm entry - tune appending to be fasterCarsten Haitzler (Rasterman)
this is not perfect, but it tuned things to take less time overall but can be a bit more jerky given massive amounts of text like warandpeace, but it takes less time to finish an append cycle in the background for sure. (loading up war and peace goes from 42sec in the background spinning appending to 3sec in an entry on my overpowered box). on my oldest x86 box i have sitting here it goes from 95sec to 10sec.
10 daysevas_textblock: update color text parsingUpdate text color parsing for ↵ali-alzyod
rgba(r, g, b, a) for alpha to be value between 0.0 - 1.0 same as CSS. Summary: ... spam removed ... Reviewers: woohyun, bowonryu, id213sin, AbdullehGhujeh, devilhorns Subscribers: raster, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12248
13 dayselm - code - fix other colorclass query code pathCarsten Haitzler (Rasterman)
13 dayselm - code - fix color multiplies from querying color classes directlyCarsten Haitzler (Rasterman)
2021-04-04evas - gl - optimize dither shader - use integer vecs and go to 2x2Carsten Haitzler (Rasterman)
a 2x2 matrix visually here is about as good as 4x4. at least in what i see, but on low end gpu's it can halve the cost. in fact i was watching the gpu on my old i5-4200u drop down to 340-410mhz (no dithering is 320-360mhz). i got to 630-660mhz with the original 4x4 code. the 4x4 is still there ifdefed out. perhaps i can bring it back with a high-quality dither option, but 2x3 i think is good enough.
2021-04-02evas gl - add env var to disable dither because some gl's are brokenCarsten Haitzler (Rasterman)
this adds a EVAS_GL_RENDER_DISABLE_DITHER=1 env var (set it to anything) to disable dithered rendering.p this is an added cost, but normally not much at all, but it seems some gl implementations are broken, and they can't generate correct code for the dither shader, so this disables this if this env var above is set
2021-04-01elput: Fix formattingChristopher Michael
NB: No functional changes, just fixing formatting to match the rest of the library
2021-04-01tests: fix efl_ui_suiteMarcel Hollerbach
2021-04-01elput: introduce gesture passingMarcel Hollerbach
In order to have that working on Xorg, this requires the libinput group hack if you are not session leader. For now this only has swipe bindings, other gestures can follow.
2021-03-31elm theme - add overlay and blank styles for buttonsCarsten Haitzler (Rasterman)
useful for things like entice
2021-03-31Evas avif loader: fix segfault when the avif loader tries to load a non avif ↵Vincent Torri
image Test Plan: entice is not crashing Reviewers: raster Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12254
2021-03-30Evas: add raw image extensionsVincent Torri
Summary: See https://en.wikipedia.org/wiki/Raw_image_format for the list of the raw extension files Reviewers: raster Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12253
2021-03-28Avif image loader: add another check to verify that libavif has been built ↵Vincent Torri
with an AV1 decoder Summary: libavif can be built without a AV1 decoder. Check this in the image loader Test Plan: entice Reviewers: raster Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12252
2021-03-28ecore evas ews - deprecate/removeCarsten Haitzler (Rasterman)
it's broken. it doesnt render anything. input is broken. it isn't in use so it doesnt justify fixing. no one has complained it's brokne thus proof of it not in use, so proof that it's not needed, so do the right thing and nuke it to save work @feat
2021-03-27exactness - fix build due to removal of files from default themeCarsten Haitzler (Rasterman)
2021-03-26evas - gl add export for getting dmabuf formats and modifiersCarsten Haitzler (Rasterman)
we need this to do formats and modifiers properly... and this is what broke on the rpi4 - it started using interesting formats etc. ... new feature to support a bug fix in e @feat
2021-03-26evas - gl - respect yinvert now as it ... seems to work.Carsten Haitzler (Rasterman)
2021-03-23elm - efl ui tab - raise the selected tab item obj so we can do tabsCarsten Haitzler (Rasterman)
need stacking to relfect tabs if the theme wants to look like tabs... which is what i am doing with flat.
2021-03-21efl ui scroller - support signals for up/down/elft/right show/hideCarsten Haitzler (Rasterman)
2021-03-20evas - gl - stop leaking images and never freeing them from cacheCarsten Haitzler (Rasterman)
the subject says it all @fix
2021-03-18ector image: Prevents drawing images outside bufferJunsuChoi
Summary: A crash may occur when image size is set larger than buffer. So, modify boundary of the image drawing the image so that it does not go out of the buffer. Test Plan: N/A Reviewers: Hermet Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers, kimcinoo Tags: #efl Differential Revision: https://phab.enlightenment.org/D12251
2021-03-16ecore_con: add null check for safety.Hermet Park
2021-03-15eeze_scanner: do not crashMarcel Hollerbach
the free logic here was wrong. The udev_device_get_parent results get automatically unrefed when the original device is deleted. This caused random segfaults when starting e.
2021-03-14efl_ui_collection: disable desktop_entry behaviour when in api callMarcel Hollerbach
otherwise only the last item would have been selected.
2021-03-12elm - fix emitting of signals to theme for label existenceCarsten Haitzler (Rasterman)
@fix
2021-03-09evas gl - remove freed gl image from context image listCarsten Haitzler (Rasterman)
fix asan memory mis-access @fix
2021-03-04elm conffig - display icons if using elm icon themeCarsten Haitzler (Rasterman)
also use different sample icons i think work better
2021-03-03evas_object_smart: enhance logic checking clipper visibilityShinwoo 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
2021-03-02efl ui format - now dont leak and dont double freeCarsten Haitzler (Rasterman)
2021-03-02efl ui format - only sety format fun to null if format func free existsCarsten Haitzler (Rasterman)
2021-03-02elm slider - don't double-free output format.Carsten Haitzler (Rasterman)
2021-03-01ecore_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..
2021-03-01ecore-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.
2021-03-01ecore_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
2021-03-01wayland_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...
2021-02-25eeze_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