Commit Graph

66535 Commits

Author SHA1 Message Date
Marcel Hollerbach 4617ba2e93 eina_promise: do not self feedback when canceling
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-10 12:15:47 +02:00
Marcel Hollerbach c88f9abb40 efl_io_model: initialize memory
or this is causing trouble
2021-04-10 11:24:42 +02:00
Marcel Hollerbach 72a5388d6e efl_io_model: do not self reference, this is dangerous
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-10 11:23:05 +02:00
Marcel Hollerbach 79442c22af elm_genlist: ensure item is not deleted while beeing processed
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-10 10:44:54 +02:00
Marcel Hollerbach 9617cf1b85 Revert "wip"
This reverts commit c3cfa64d26.
2021-04-10 10:08:04 +02:00
Marcel Hollerbach c3cfa64d26 wip 2021-04-08 21:35:39 +02:00
Ali Alzyod b2f61deb37 evas_textblock: update color text parsingUpdate text color parsing for 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-08 02:02:09 +01:00
Carsten Haitzler 69cd4b4188 elm theme - polish theme - add util-term icon for edi elm code cols 2021-04-07 11:33:43 +01:00
Carsten Haitzler bc2ddc85ee elm theme - fix outdent frames and edi match color 2021-04-05 16:28:09 +01:00
Carsten Haitzler b6028cc708 elm - code - fix other colorclass query code path 2021-04-05 13:22:06 +01:00
Carsten Haitzler 5bfae355b0 elm theme - elm code - make selections semi-trans like entry 2021-04-05 13:18:32 +01:00
Carsten Haitzler e971355d26 elm - code - fix color multiplies from querying color classes directly 2021-04-05 13:18:13 +01:00
Carsten Haitzler e65ff7e1e6 evas - gl - optimize dither shader - use integer vecs and go to 2x2
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-04 03:41:40 +01:00
Marcel Hollerbach 0c2cf7e1bf build: enable elput per default
this is now needed by enlightenment in order to support gesture
recognition, even in xorg, hence enabling it per default.
2021-04-03 17:47:52 +02:00
Carsten Haitzler bbf293240f evas gl - add env var to disable dither because some gl's are broken
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-02 23:28:38 +01:00
Carsten Haitzler a2680bb138 elm theme - fix centering of icon only buttons 2021-04-02 12:33:07 +01:00
Carsten Haitzler 0e97ae043f elm theme - add menu icon (hamburger menu) 2021-04-02 12:16:22 +01:00
Carsten Haitzler 61d816659c elm theme - remove color_classes - preparing to redo them 2021-04-02 01:53:26 +01:00
Carsten Haitzler 638b1a7c9b elm theme - icons - give them a logical min size of ICMIN 2021-04-01 20:42:19 +01:00
Christopher Michael 3d9590231e elput: Fix formatting
NB: No functional changes, just fixing formatting to match the rest of
the library
2021-04-01 14:49:35 -04:00
Carsten Haitzler c4128bd580 elm theme - fix efl ui progress signal handling 2021-04-01 16:56:22 +01:00
Carsten Haitzler 39152ab174 elm theme - fix efl ui progress icon 2021-04-01 16:56:22 +01:00
Marcel Hollerbach 8900c8048c theme: only emit press once
otherwise things go haywire.
2021-04-01 16:59:15 +02:00
Carsten Haitzler f4dc9d24de elm theme - fix fixed warning for radio 2021-04-01 14:55:51 +01:00
Marcel Hollerbach 665d62485b tests: fix efl_ui_suite 2021-04-01 15:22:57 +02:00
Marcel Hollerbach 8493a38876 elput: introduce gesture passing
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-01 15:05:51 +02:00
Carsten Haitzler 72f19cc9fa elm theme - fix disabled text style - missing heading 2021-04-01 00:41:44 +01:00
Carsten Haitzler d883a747eb elm theme - fix clip of efm toolbar 2021-03-31 19:03:21 +01:00
Carsten Haitzler 712cf6a2ce elm theme - work on sizing of icons 2021-03-31 18:47:25 +01:00
Carsten Haitzler b90a8a1819 elm theme - add overlay and blank styles for buttons
useful for things like entice
2021-03-31 11:29:33 +01:00
Vincent Torri 769066f606 Evas avif loader: fix segfault when the avif loader tries to load a non avif image
Test Plan: entice is not crashing

Reviewers: raster

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D12254
2021-03-31 10:29:50 +01:00
Vincent Torri 15078f757b Evas: add raw image extensions
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-30 21:19:17 +01:00
Carsten Haitzler a878f5f9b4 elm theme - improve mixer svg 2021-03-30 14:52:05 +01:00
Carsten Haitzler ef0df8f441 elm theme - fix hoversel button align to match items 2021-03-30 14:41:45 +01:00
Carsten Haitzler aebedcafdf elm theme - add heading tag 2021-03-30 14:41:39 +01:00
Carsten Haitzler 8dd317ffd8 elm theme - add more icons for more audio devices 2021-03-29 11:34:23 +01:00
Carsten Haitzler db6dc82a41 elm theme - add some more icons for e
speakers and headphones
2021-03-29 01:24:43 +01:00
Carsten Haitzler 6f110a80e4 elm theme - add gadgets icon 2021-03-28 22:51:53 +01:00
Carsten Haitzler ff765e8856 elm theme - add battery e icon 2021-03-28 22:30:11 +01:00
Vincent Torri e52391c585 Avif image loader: add another check to verify that libavif has been built 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-28 21:56:55 +01:00
Carsten Haitzler a2f672455c elm theme - fix svg 2021-03-28 21:56:23 +01:00
Carsten Haitzler f65377db30 elm theme - remove commented out img 2021-03-28 15:31:48 +01:00
Carsten Haitzler 7b246f19ba elm theme - remove more images 2021-03-28 15:28:49 +01:00
Carsten Haitzler d684401fd0 elm theme - remove access image - use rect 2021-03-28 15:14:50 +01:00
Carsten Haitzler f7e83e8f73 elm theme - remove more old images 2021-03-28 15:12:34 +01:00
Carsten Haitzler fe092932da elm - theme - remove more old dark images 2021-03-28 15:08:00 +01:00
Carsten Haitzler ccae27fcbe elm theme - remove more unused images 2021-03-28 14:59:27 +01:00
Carsten Haitzler b5cf6c874c elm - theme - clean up old randr theme design to nuke old images 2021-03-28 14:52:02 +01:00
Carsten Haitzler 9a37e49949 elm - theme - remove ews stuff as now gone and remove images not needed 2021-03-28 14:04:13 +01:00
Carsten Haitzler db081f9648 ecore evas ews - deprecate/remove
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-28 13:56:33 +01:00