Commit Graph

24163 Commits

Author SHA1 Message Date
Carsten Haitzler 27dcd2d755 release 0.24.2 2020-07-26 17:39:00 +01:00
Carsten Haitzler 59dba6192a exit codes - clean up and handle consistently
also x io error - exit as we must.
2020-07-26 17:31:42 +01:00
Marcel Hollerbach caaff77b42 e_shelf: only reset autohide timer if we are not hidden
otherwise we might hide shelfs even if the calendar is shown, without
the possibility of reshowing them again.
2020-07-26 17:28:25 +01:00
Marcel Hollerbach d42adad715 tiling: prevent potential recursive apply calls
additionally, this ensures that clients that cannot be layouted are
definitly outside the tree. Without applying the window tree again.

With all this tiling can be used quite normally. If you want to know
exactly what is going on, set notify level to info, then tiling tells
you what cannot be tiled.
2020-07-26 17:27:50 +01:00
Marcel Hollerbach 6a3648a5fd Revert "tiling - avoid infinite loop of not fit - toggle float, not fit, toggle"
This reverts commit 265c306874.

This is somehow the wrong way of doing that. Next commit will bring
protection against multiple recursive window_tree_apply calls.
Additionally, we should prepare to *not* accidently tile a  window that
has been previously untiled.
2020-07-26 17:27:32 +01:00
Carsten Haitzler d311403947 e polkit - fix password to de-escape to utf8
like askpass was broken - this was too. fix.

@fix
2020-07-15 14:53:55 +01:00
Carsten Haitzler b45d7b9ba3 e askpass - convert text to plain utf8 proeprly for passwd output
@fix
2020-07-15 14:40:57 +01:00
Carsten Haitzler 5242f90ea1 e system - isolate stdio of commands we run so they dont pollute 2020-07-14 14:00:16 +01:00
Carsten Haitzler 5d69d2be2e e start - handle exit code for restart AND exit choices because of lib
so library somewhere is causing an exit(1) sometimes... this means i
lose my entire desktop. this is not e doing it... so it's some
dependency bug and this shouldn't happen - but it does and it causes
the entire login session to be losst, so treat an exit code ofr 0 as a
clean exit, and anything else as a bug to be handled like segfaults
etc. and restart e.
2020-07-14 14:00:09 +01:00
Alastair Poole 1e3fcd263e cpufreq: FreeBSD et al.
Fix CPU frequency setting on FreeBSD/DragonFlyBSD. Also fix the
display of the dial so it behaves identically to the Linux
gadget.
2020-07-14 13:59:58 +01:00
Alastair Poole 782c09bf7f battery: OpenBSD use proper constants.
Not a workaround, we can be AMP or WATT hour.
2020-07-14 13:59:50 +01:00
Carsten Haitzler 3068e261e0 shot - dont allow image in virtual cnavs to resize 2020-07-14 13:59:37 +01:00
Carsten Haitzler 74ba5e1604 e exec - if an invalid exe is found - null it out 2020-07-14 13:59:22 +01:00
Carsten Haitzler 84d7e796a2 comp wl - blanking fix saver timeout if 0 - dont set it as its off at 0 2020-07-14 13:58:58 +01:00
Christopher Michael 099d42c02f e_comp_wl: Fix possible typo with function name 2020-07-14 13:58:51 +01:00
Carsten Haitzler 3b377bac00 only call notidle if wl compiled in and wl on... 2020-07-14 13:58:44 +01:00
Carsten Haitzler 9cfdc04f12 e comp x - ensure animator works before fading in backlight 2020-07-14 13:58:32 +01:00
Carsten Haitzler a0d4d2cf0a e wl screen dimming.blanking/timeouts/lock handling redo/fixup
so there was a fair bit of stick-tape and chewing gum in putting the
wl screensaving in e_Screensaver.c ... it thus was very different to
the x stuff. it SHOULd have had e_comp_wl handle idle timeout like the
xserver did and then glue in the same way the x code did to be
conistsent. instead of trying to fix the chewing gum ball there in
e_Screensver.c to find the logic holes ... i made it work like the
code as indicated above. this now makes it work reliably. dim
reliably. lock reliably. it even doesnt exit on ctrl+alt+backspace
once desklock is up now to allow locks to really lock... (dont use
locks during dev then if you need ctl+alt+backspace).

at least now all this dpms/screensavwr/brightness/backlight/lock goop
is consistent between wl and x11 and wl seems reliabkle now (to me).

knock this off as an annoyance fixed.

@fix
2020-07-14 13:58:24 +01:00
Carsten Haitzler f1fe06edbb e init - stop listening to zone changes once init has been hidden 2020-06-22 08:17:33 +01:00
Carsten Haitzler 84bf7fc2fa fix preload of e icon when already loaded to show new icon
didn't stack right always. had if (x) not if (!x) ...
2020-06-21 23:55:33 +01:00
Carsten Haitzler d100938c07 e xsettings - do not use long for 32bit types... it's WRONG
long varies by architecture... whoever decided C32 should be long...
was totally wrong. it varies between 32 and 64bit (on unixen).

@fix
2020-06-17 13:24:18 +01:00
Carsten Haitzler 70a70658cd fix null edid more - found hole missed in last fix
adds more fix on top 80f92ee486
2020-06-14 14:03:41 +01:00
Carsten Haitzler 26309766b5 e - increase timeout for efreetd responding to 20 sec
it seems some peole suffer from an unusually long scan time so account
for that.
2020-06-14 12:11:24 +01:00
Carsten Haitzler ddefdc1c45 init - handle zone changes during startup/init 2020-06-14 12:11:16 +01:00
Carsten Haitzler 653a456a02 pager+thumb - speed up thumb generation and pager aspect
pager didnt reset aspect after setting min size. fixed. also improve
thumb generation by having no artifical delays. use idle enterer + job
wakeups instead. now thumbs appear almost instantly.

also remove initial pager popup on starup that is just not needed.

fixes T8314
@fix
2020-06-13 16:22:58 +01:00
q66 a175903a21 meson: fix fnmatch dependency lookup
The previous version didn't really make sense whatsoever, also
it was unused.
2020-06-11 15:52:49 +02:00
q66 fde49a2f6b try linking against execinfo when execinfo.h is present
This should fix build on systems where execinfo.h is present
but the APIs are implemented in a separate library - commonly
a case on the BSDs as well as on non-glibc libcs and so on.
2020-06-11 15:52:38 +02:00
q66 3bd64d19a2 e_util_suid: need signal.h on some libcs 2020-06-11 15:52:26 +02:00
Carsten Haitzler 29c736e327 debug printf-- 2020-06-10 13:36:36 +01:00
Carsten Haitzler d17d6151d5 e backlight - fix initial restore of backlight after previous fix
no edid fix broke initial restore. fix it.
2020-06-10 13:36:21 +01:00
Carsten Haitzler 29ade56c20 e backlight - handle screens with no edid
this fixes backlight support on my pinephone...

@fix
2020-06-10 13:36:15 +01:00
Carsten Haitzler e898224672 exec - dont run null exec commands
fixes T7133

@fix
2020-06-09 22:12:29 +01:00
Carsten Haitzler 9efb53b80d release 0.24.1 2020-05-31 19:20:19 +01:00
Carsten Haitzler 2d811cc994 e sys - also force e to exit on halt or reboot after a timeout.
also log more on what is going on...
2020-05-30 19:22:55 +01:00
Carsten Haitzler adb376b23b Revert "po - update nl.po"
This reverts commit 3a5c671ddd.

e no longer builds using updated nl.po, so revert.
2020-05-30 17:42:03 +01:00
Carsten Haitzler e86c457f97 suspend/hibernate - add a small delay before doing the deed
allow any pending frames to pop out of the pipeline before we
sleep
2020-05-30 17:41:03 +01:00
Carsten Haitzler 3a5c671ddd po - update nl.po 2020-05-30 16:08:24 +01:00
Carsten Haitzler 3326b7e579 sys - fix non-systemd code patch for suspend/resume handling/tracking
so in the non-systemd case there was a current e sys action stored and
never cleared. e keeps thinking it is in the midddle of an action as
it was not cleared. the systemd code path was different and didn't
suffer from this. this fixes that so the non-systemd path works too.

@fix
2020-05-28 23:12:51 +01:00
Carsten Haitzler 3cdcc10c18 e randr x - move pointer to a visible screen coord if outside screens
on reconfigure if we find the pointer outside the screen region bounds
it can get caught there until a warp forces it in. this is due to the
barriers i added i think. this fixes that

@fix
2020-05-27 14:21:11 +01:00
Carsten Haitzler 3dfead6653 e ckpasse - also back out another change i made to fix up pk 2020-05-27 09:25:13 +01:00
Carsten Haitzler 9fc2b13c69 back out undo of pk fix - back to bu5hm4ns version 2020-05-27 09:16:45 +01:00
Carsten Haitzler 68dc80f25a polkit - fix user id we're authing to and be explicit which one it is
@fix
2020-05-25 13:47:58 +01:00
Carsten Haitzler 8a641727da e auth - fix missing stderr output logs i missed last commit 2020-05-25 13:47:58 +01:00
Marcel Hollerbach 67bdd4d071 e_ckpasswd_main: fix polkit to auth root
there were the wrong pids passed.
This fixes calls like "systemctl start docker".
2020-05-25 13:47:58 +01:00
Carsten Haitzler 4fd99de9fa e auth - nicely prefix logs and clean up error reports and report more 2020-05-25 13:47:58 +01:00
Carsten Haitzler 964fa5c921 e polkit - improve ui to disable widgets while doing auth plus padding 2020-05-25 13:47:58 +01:00
Carsten Haitzler 61ebfffcd6 e wl - fix frame req timestamp to be the same as others
no others subtrace the base... weston doesnt.. no input events cb's
do... this is a mistake with what is a wrong timeline as a result. fix
and use the same timeline as everyone else

@fix
2020-05-21 21:12:28 +01:00
Carsten Haitzler 7c7527da2b xkb - optimize handling of keymaps to only change them a few times
also listen to all xkb events properly..

@fix
2020-05-19 18:51:21 +01:00
Carsten Haitzler 5ad58920a6 release DR 0.24.0 2020-05-17 20:39:11 +01:00
Carsten Haitzler 60cea009dc wl desktop shell - fix symbols to explicily be extern as they should
missing externs - compiler fixed it up for us... -fno-common will stop
that... and this fixes that.

@fix
2020-05-16 00:25:19 +01:00