summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-04-18elm 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
2021-04-18elm theme - add iconCarsten Haitzler (Rasterman)
2021-04-17modules: 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
2021-04-17Implement 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
2021-04-17Fix 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
2021-04-16evas 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
2021-04-16edje - 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.
2021-04-16edje_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.
2021-04-14elm theme - add orig svg icon used for e modsCarsten Haitzler (Rasterman)
2021-04-12Revert "meson - subprojects missed eeze as dep for elput"Carsten Haitzler (Rasterman)
This reverts commit 84f596c83bb9f8c8f3fbf6c404362094241bf45c. actually deps is for includes only for installed headers - so revert. as eeze is internal only to elput.
2021-04-12meson - subprojects missed eeze as dep for elputCarsten Haitzler (Rasterman)
2021-04-10elm theme - add gradient bg'sCarsten Haitzler (Rasterman)
2021-04-10elm theme - bg - add stripe and check std bg'sCarsten Haitzler (Rasterman)
2021-04-10elm theme - some more original svgs used for e modules - handy in flatCarsten Haitzler (Rasterman)
2021-04-10elm theme - redo zoom icons to work better at small sizesCarsten Haitzler (Rasterman)
2021-04-10elm theme - add sub icon in addition to addCarsten Haitzler (Rasterman)
2021-04-10elm theme - make about dialogs scale more nicely - also match buttonsCarsten Haitzler (Rasterman)
2021-04-10eina_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.
2021-04-10efl_io_model: initialize memoryMarcel Hollerbach
or this is causing trouble
2021-04-10efl_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.
2021-04-10elm_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.
2021-04-10freebsd: eeze support if enabled.Alastair Poole
ifr_netmask is not available on FreeBSD. On Linux ifr_addr is same union. Peter2121 did this work.
2021-04-09improve 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
2021-04-09elm theme - sysncon - polish scalingCarsten Haitzler (Rasterman)
2021-04-09elm 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.
2021-04-08evas_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
2021-04-07elm theme - polish theme - add util-term icon for edi elm code colsCarsten Haitzler (Rasterman)
2021-04-05elm theme - fix outdent frames and edi match colorCarsten Haitzler (Rasterman)
2021-04-05elm - code - fix other colorclass query code pathCarsten Haitzler (Rasterman)
2021-04-05elm theme - elm code - make selections semi-trans like entryCarsten Haitzler (Rasterman)
2021-04-05elm - 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-03build: enable elput per defaultMarcel Hollerbach
this is now needed by enlightenment in order to support gesture recognition, even in xorg, hence enabling it per default.
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-02elm theme - fix centering of icon only buttonsCarsten Haitzler (Rasterman)
2021-04-02elm theme - add menu icon (hamburger menu)Carsten Haitzler (Rasterman)
2021-04-02elm theme - remove color_classes - preparing to redo themCarsten Haitzler (Rasterman)
2021-04-01elm theme - icons - give them a logical min size of ICMINCarsten Haitzler (Rasterman)
2021-04-01elput: Fix formattingChristopher Michael
NB: No functional changes, just fixing formatting to match the rest of the library
2021-04-01elm theme - fix efl ui progress signal handlingCarsten Haitzler (Rasterman)
2021-04-01elm theme - fix efl ui progress iconCarsten Haitzler (Rasterman)
2021-04-01theme: only emit press onceMarcel Hollerbach
otherwise things go haywire.
2021-04-01elm theme - fix fixed warning for radioCarsten Haitzler (Rasterman)
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-04-01elm theme - fix disabled text style - missing headingCarsten Haitzler (Rasterman)
2021-03-31elm theme - fix clip of efm toolbarCarsten Haitzler (Rasterman)
2021-03-31elm theme - work on sizing of iconsCarsten Haitzler (Rasterman)
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