Commit Graph

23652 Commits

Author SHA1 Message Date
Carsten Haitzler 64ffda59ec e sys - if decklock on suspend is set and systemd says we suspend, lock
if systemd suspended and we hand't triggered it, and desklock on
suspend is enabled, then lock there and then because we need to. of
course you need systemd/logind... but hey... i guess without you live
with less... :) fixes logic hole

@fix
2019-08-08 09:56:04 +01:00
Carsten Haitzler 7ab9466f77 everything - fix string index mishandle that causes segv's
also ensure we nuke time rhandles too - spotted that. this is a real
issue asan found and yomi first pointed at. reproduced, found, fixed.

@fix
2019-08-08 09:24:10 +01:00
Carsten Haitzler fd26c7b224 evry - handle invalid chars in filters nicely and stop string walking
possible issue lurking if a utf8 char sequence has invalid content ...
avoid it.
2019-08-07 21:16:12 +01:00
Carsten Haitzler 8884f27975 e wl - fix borders to keep cutouts working
in soem cases a client has no csd and then border l/r/t/b/ are all 0
so artifically keep 1 at 1... to keep cutouts working.

still need to solve blending still being on though.
2019-08-07 21:15:00 +01:00
Carsten Haitzler d4340cb168 e wl pixmap - use id not xwin
copy & paste failure here. fix. found by asan.
@fix
2019-08-07 16:51:41 +01:00
Carsten Haitzler cbd507fb13 appmenu gadget - size items properly so they can be seen 2019-08-07 00:49:26 +01:00
Carsten Haitzler df0a64dc7a e dbusmenu - fix cross referencing from e menus created from debus menu
this stops crashes when e menu si still up when the dbus menu backing
it has changed/gone away... by referencing the dbusmenu to hang about
like a bad smell while the e gui menu is up until it's dismissed. this
fixes a real segv i saw with steam.

@fix
2019-08-07 00:43:47 +01:00
Carsten Haitzler 2b0735da58 connman - set var to defined value - less warnings 2019-08-06 21:01:26 +01:00
Carsten Haitzler f1b0e638f1 systray - dont prunt null name which is usless
fixes warning and removes always null string.
2019-08-06 20:58:57 +01:00
Carsten Haitzler 3c3e5f3b88 randr - use ints for mode info w/h as we want signed ints for a diff
fixes warning too.
2019-08-06 20:55:54 +01:00
Carsten Haitzler d0dc774673 efm - fix missing format strings in error reporting
fix CID 1403934
fix CID 1403923
2019-08-06 20:03:06 +01:00
Carsten Haitzler c1f73110ac wl input - use eina mkstemp to handle umask right
fix CID 1403927
2019-08-06 19:58:26 +01:00
Carsten Haitzler 78102717ae connman agent - handle theoretical missing requirement and name strings
fix CID 1076319
2019-08-06 19:29:46 +01:00
Carsten Haitzler 52dde8d541 wl - handle null parent safely for subsurfs
fix CID 1403920
2019-08-06 19:23:25 +01:00
Carsten Haitzler e96cff8503 xwayland dnd - handle names not being allocated
fix CID 1403921
2019-08-06 19:20:03 +01:00
Carsten Haitzler 8c76ff3e32 gadget runner - check ptr return before deref
fix CID 1403925
2019-08-06 19:13:50 +01:00
Carsten Haitzler c9356a3f8c wl drag start - check source ptr consistently
fix CID 1403926
2019-08-06 19:11:24 +01:00
Carsten Haitzler 3a581f888d xwayland - handle negative return failure for abs socket create
fix CID 1403929
2019-08-06 19:05:36 +01:00
Carsten Haitzler 96ae312d6e mixer pulse - handle alloc failure better and dont access null
fix CID 1403930
2019-08-06 19:00:46 +01:00
Carsten Haitzler e41d5e11bb e sys l2ping - report errors on fcntl failure
fix CID 1403933
2019-08-06 18:55:28 +01:00
Carsten Haitzler dccf124ff3 mixer backend - fix null checks to cover all uses
fix CID 1403937
2019-08-06 18:53:30 +01:00
Carsten Haitzler b30daea12c e client - check picmap type to be one of the only 2 valid ones
fix CID 1403938
2019-08-06 18:51:08 +01:00
Carsten Haitzler 490e532aa3 comp wl - fix check of source mime types
we dont always assume it's there.

fix CID 1403939
2019-08-06 18:45:58 +01:00
Carsten Haitzler 33ef4bc881 e comp wl - remove dead code
listener might maybe be null, but offer - never.

fix CID 1403945
2019-08-06 18:39:48 +01:00
Carsten Haitzler 1c893b064f wl dnd - check socketpair and fcntl return values
fix CID 1403951
2019-08-06 18:30:30 +01:00
Carsten Haitzler a536c8a6a2 e sys l2ping - check connect return for failures
fix CID 1403952
2019-08-06 18:21:29 +01:00
Carsten Haitzler 0a4f035fb6 wl dnd - fix more use after free
restructure code a bit to not fall into this trap as easily and remove
the falling into the trap where we use buf after freeing it.

fixes CID 1403924
2019-08-06 17:54:40 +01:00
Carsten Haitzler 3c7d93059b wl text input - handle out of mem and free half done struct
stgruct we alloced is not freed if a child element setup fails...
fixes a technical leak. coverity found it.

fix CID 1403931
2019-08-06 17:42:42 +01:00
Carsten Haitzler b03c0739db wireless mod - fix out of bound type array accesses
coverity pointed this out. certainly 1403948 is definitely possible if
no geometry matches succeed.

fix CID 1403948
fix CID 1403944
fix CID 1403928
2019-08-06 17:00:38 +01:00
Carsten Haitzler 031e868b65 efm min - copy in nul byte terminator so be sure
coverity was not happy with this but it's harmless to copy that extra
nul byte... so do it

fix CID 1403950
2019-08-06 14:53:59 +01:00
Carsten Haitzler ccd0da5f02 e sys l2ping - close socket fd on error to be clean
fix CID 1403954
2019-08-06 12:54:28 +01:00
Carsten Haitzler bb390716f5 ibox - make coverity happy by reordering free then list remove
fix CID 1403955
2019-08-06 12:40:08 +01:00
Carsten Haitzler 554026cfe6 ibox - make coverity happy by reordering free then list remove
fix CID 1403956
2019-08-06 12:36:22 +01:00
Carsten Haitzler 1fa7d4a07b wl dnd - fix theoretical buf leak coverity found
fix CID 1403957
2019-08-06 12:35:11 +01:00
Carsten Haitzler fa0608b50f tiling - use a tiling specific border if it exists in theme and cfg
if you set cfg not ot use nomral borders then use "tiling" if it
exists instead of "pixel" as thats probably the right thing to do...
2019-08-01 13:47:30 +01:00
Carsten Haitzler f3af041f95 e todo - add menu object cache to todo. 2019-08-01 10:40:14 +01:00
Carsten Haitzler 5b5b3005f6 e menu - remove excessive events and eo calls from menu init
so dropping a bit of overhead/latency for e menus here - this isn't to
the extent of a cache for menu objects/items... but it's just nuking
useless calls to do things not used or that can be done in fewer calls
as well as ordering things to we don't emit events and handle them
multiple times or calc min size multiple times etc. etc. -
adds a test case we can enable for perf testing too.
2019-08-01 10:39:29 +01:00
Carsten Haitzler 1967257dc7 e menu - fix grab and ungrab and forced hide all with desklock
found a valgrind issue and an input issue all in one... this fixes
that with no more valgrind complaints and input works if e menu is up
whilst desklock kicks in.

@fix
2019-07-31 13:38:50 +01:00
Carsten Haitzler b88138cacb every - ensure all structs are zeroed out
valgrind spotted this, so fix.
2019-07-31 13:38:46 +01:00
Carsten Haitzler 1fbcfb2d93 todo - edge bindings 2019-07-30 17:21:04 +01:00
Carsten Haitzler e1a528ac2d wiz - turn off taskbar by default due to ibar doing this already 2019-07-30 11:46:10 +01:00
Carsten Haitzler da4db1a29c e - support new statgen feature and turn it on for e
use the env var as this is "soft" and will do nothing if efl doesn't
have this... but it's worth it if it does.
2019-07-28 10:26:46 +01:00
Carsten Haitzler e9f00dacd1 e deskmirror - fix apply location to avoid access-after-free
this fixes T8082
@fix
2019-07-28 08:57:00 +01:00
maxerba ca0ef48a16 Updating spanish translation 2019-07-27 12:48:37 +02:00
Carsten Haitzler ffa2407107 todo - add a bunch more that was on my mind 2019-07-23 18:28:44 +01:00
Carsten Haitzler 48a83c733c bluez5 - track rfkill sysaction exe to tell user if something went wrong
IF we don't do this, the error will be "silent" and the user never
know. The user should know if things are configured incorrectly.
2019-07-23 00:20:58 +01:00
Carsten Haitzler ed924301b3 config - make bluez id in profile correct 2019-07-19 11:59:39 +01:00
Carsten Haitzler 646fde45de module errors - also report to stderr immediately to aid in debug
delaying the module error may mean you never see it, so display
immediately on stderr
2019-07-19 10:55:30 +01:00
Carsten Haitzler 9df606dff4 todo - add more detailson efm cache 2019-07-15 17:38:25 +01:00
Carsten Haitzler 316c29bc56 e wl drm - restore rotation input max coords by accounting for rotation 2019-07-15 10:03:15 +01:00