Commit Graph

24239 Commits

Author SHA1 Message Date
Carsten Haitzler 12311e63de bluez5 - batteyr percent is signed - explicitly.
arm has char as unisnged. make this signed explicitly as we used < 0
to mean no battery.
2020-09-04 19:05:00 +01:00
Carsten Haitzler da1f9bc5f6 e config - move config saving to threads to avoid stutters/io blocks
so our writes sometimes would get stuck because kernel io buffers are
full and writes are slow. on specific machines with super slow write
media and small amounts of ram this was bad.

this moves writing totally to threads. the eet file is opened in a
thread and closed in the same thread. only the eet_write/eet_data_write are
done in the mainloop. this is a 'walk struct, serialise it and compress
it" which compared to blocking for possibly multiple seconds in a
write/close/rename backup cfg files doing real io to kernel 9even
though kernle should buffer these)... is a hell of a lot better.

so sure. we block lock enough to walk the structures/lists, encode the
blob and put it through a fast lz4 compress cycle and drop into memory.
the actual write happens in the thread when the file is closed and
that is a vast improvement if you hit these cases.
2020-09-04 13:58:14 +01:00
Marcel Hollerbach 423e26cb8e music-player: also support constant play and constant pause
this is usefull if you have the buttons for it.
2020-09-02 16:08:55 +02:00
Marcel Hollerbach 124113ad64 e_acpi: add support for bluetooth remote controls
bluetooth remote controls are for example bt headsets with play / pause
/ next / prev interactions.
2020-09-02 15:39:01 +02:00
Marcel Hollerbach 0e0cf36a32 music-control: do not crash if params is NULL
should not happen normally, but it might happen due to a buggy config
screen.
2020-09-02 15:38:59 +02:00
Marcel Hollerbach 703f42e099 acpi-bindings: also set params
this seems to have been forgotten, up to this point, you could not add
params to the config.
2020-09-02 15:36:06 +02:00
Alastair Poole 16bb8e7bd7 battery: Add Rudimentary Popup.
Add a popup for battery. It will update if left visible. The popup
avoids polling by using a slightly delayed copy of the battery
state stored in config struct.
2020-08-29 16:20:54 +01:00
Carsten Haitzler b4264801d0 randr - more debug to tell us decision reasons to change setup or not 2020-08-27 11:57:27 +01:00
Carsten Haitzler e767419dca xxx 2020-08-27 11:57:27 +01:00
Carsten Haitzler 2ff06deacc bluez5 mod - support battery properties/iface for bt popup list 2020-08-27 11:57:27 +01:00
Alastair Poole caa18034ab pager: ensure this works with legacy themes. 2020-08-26 13:08:35 +01:00
Alastair Poole d4d784e56e pager: Fix pager sizing/resizing when on the desktop.
Adding a pager to the background/desktop caused some issues for
users. This resolves the issue, whilst trying to remain readable.

@fix
2020-08-26 12:22:12 +01:00
Alastair Poole 728a04274b tasks: make sure popup goes away.
Playing around with steam/optimus/linux/multiple heads the popup
stuck around when i did something very unusual, so make sure it
goes...trust me i'm a professional....
2020-08-25 17:40:02 +01:00
Christopher Michael a8eb8821f8 e_bindings: Remove unused variable 2020-08-22 14:41:07 -04:00
Alastair Poole e7c4016a69 tasks: fallthrough popup location.
This behaviour can be more intelligent, but for now it covers most
cases. Yet to see tasks in use in the wild outside a shelf, though
it can happen so should be giving something reasonable for this
choice.
2020-08-21 10:31:44 +01:00
Carsten Haitzler beb6041646 temp - bring back temp sesor select and nuke leaks on init 2020-08-20 15:20:46 +01:00
Alastair Poole ffbb8464f2 tasks/ibar: Use correct struct members for geom.
Oops :)
2020-08-19 11:53:16 +01:00
Alastair Poole 9be3d2ad58 tasks: Too much padding.
No need to pad that so much...it looked bogus.
2020-08-18 22:48:12 +01:00
Carsten Haitzler b1897a3667 e fps debug - have more details like wake+sleep, rend+rend flush etc.
more mini pixels to tell you a story of debug.
2020-08-18 22:02:38 +01:00
Alastair Poole 088b1b26c9 tasks: Add a Live Preview.
If it breaks, revert the patch. Try again with another batch...

o/ \o/ ???
2020-08-18 21:56:28 +01:00
Carsten Haitzler ead43c40c3 ddc - add libddcutil.so.3 as supported as it is compatible for our uses 2020-08-18 12:06:43 +01:00
Carsten Haitzler d32ab7e33d comp fix other 4 corners fo fps display other than top-left 2020-08-17 18:35:04 +01:00
Carsten Haitzler f6ab93b7b0 temperature - remvoe udev support as it causes mainloop stalls
so this was the hiccups have been seeing... it was temperature +eeze+
udev stalling out. tempget backend works without stalls so that is now
the only one.
2020-08-17 18:22:12 +01:00
Carsten Haitzler 65a9a6615b icons - fix icons used in code to be better 2020-08-17 18:22:12 +01:00
Carsten Haitzler f6eb6af41a flag data - clean up images of system lang to be simpler 2020-08-17 18:22:12 +01:00
Carsten Haitzler 9abcae15f6 comp fps debug - show separate input and output fps 2020-08-17 18:22:12 +01:00
Carsten Haitzler 1f4c6b41d8 e comp - remove obsolete comp render animator and lock fps options 2020-08-17 18:22:11 +01:00
Alastair Poole 0a90a188a1 conf_randr: Let user know the mode is doublescan.
:)
2020-08-15 17:03:07 +01:00
Alastair Poole 2027734141 conf_randr: List modes using double scan correctly.
As we can detect for double scan (since randr 1.2), list the mode
as valid, and also ensure the refresh rate is displayed correctly.
Each line is rendered twice, doubles the dot clock, so divide the
settings view by 2 so that it makes "sense". Can always add
flags to settings if deemed necessary.
2020-08-15 16:54:22 +01:00
maxerba 5737eeb993 Updating french translation 2020-08-09 20:49:34 +02:00
Carsten Haitzler cb887d063f e - systemd -= as long as enabled allow to build without it
we know where service files SHOULD go... and soif systemd is not there
to tell us, put them in the known place. this is so the non0systemd
os's can buand should build with the support but its all runtime
detected/enabled already. this means that actually no one should need
tyo go disable systemd support in builds. it's all runtime.
2020-08-04 09:50:55 +01:00
Carsten Haitzler 94ad423d6e e screen restore - properly show/hide windows on current desk 2020-07-29 11:43:26 +01:00
Carsten Haitzler 73d305d2a8 client - restore to added zone if were there before
rememebr zone randr id where clients were if forced off a zone. if a
zone is added check clients with that zone id - if they have it then
restore them there. thbis will get loat if you move those clients
between zones after they are dumped on the other zone or you change
their virtual desktop etc.
2020-07-28 19:47:10 +01:00
Carsten Haitzler 02707fd2ef fullscreen handling - restore fs state if forced out by focus
much better behavior this way...
2020-07-28 19:47:10 +01:00
Marcel Hollerbach 722e563cbd gesture_recognition: display in correct zone 2020-07-28 10:03:22 +02:00
Carsten Haitzler 8c06fc454c e alert - use same exit codes as e for explicit restart/logout
be consistent.
2020-07-27 11:15:21 +01:00
maxerba 0e18714228 Updating french and italian translations 2020-07-22 18:11:47 +02:00
Alastair Poole 57aad07478 ibox: If comp mirror fails, retry (iconified E restart).
If the comp mirror fails add a timer to delay the mirror object
creation. When iconified and in-preview on an E restart the
miror object was failing. Here we try once per icon, per
iconification. This *should* only be occurring once at this point
when E restarts.
2020-07-22 15:18:23 +01:00
maxerba 99b60616cc Updating french translation 2020-07-21 22:02:08 +02:00
Marcel Hollerbach 91ff956590 gesture_recognizer: add icon
thank you very much jf_simon for this icon! :)
2020-07-21 20:52:38 +02:00
Alastair Poole 4d47c61942 confs: openbsd build helper script.
Small diversion. Make life easier for normal users until we get
another openbsd user ;)
2020-07-21 16:53:40 +01:00
Marcel Hollerbach 4678fa60c2 Introduce gesture recognition
This is currently using libinputs gesture recognition. And offers a
config screen to setup new gestures.

1. No default gesture bindings are setup

2. When libinput is not available the module is not going to be loaded,
   and nothing is recognited.+

3. Only swipe gestures are recognized yet.

4. For now, you are required to be part of the input group, otherwise we cannot
   get the libinput events. (See Todo 1)

5. The visual representation is not really good. In terms of UI, it is
   visually showing a value coming from left to right, which is
   indicating a direction, which is not always the direction of the
   gesture, which is kind of bad. More improvements needed here.

Some things that still can be done:

1. The whole libinput things should be handled by elput, either with the
   input group hack, or logind, or simply by root. The ideal idea would
   be that e_sys is creating the elput context, which also listens for new
   devices etc.. When all this is done, and it recognizes a new device, it
   can simply sent a message from e_sys to e, that there is some new
   device, with a opened fd. (However, this all needs to be locked up in a
   way that e_sys cannot be abused)
2020-07-21 15:26:34 +02:00
Marcel Hollerbach e6609541b1 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-21 15:22:50 +02:00
Marcel Hollerbach 48247416a5 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-21 15:22:50 +02:00
Marcel Hollerbach 324b2661ce 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-21 15:22:50 +02:00
Carsten Haitzler 0fcc23e06a shot - use unclipped scroller and have image underlay tools etc.
also allow window to get smaller now as we have a bit more space to
see...
2020-07-20 21:16:19 +01:00
Carsten Haitzler 9fcd087b85 exit codes - clean up and handle consistently
also x io error - exit as we must.
2020-07-20 14:21:20 +01:00
Carsten Haitzler 72bb408f48 systray - make notes of the freedekstop.org version of protocol
there is an FDO version of this. it seems it's not widely supported
but the org.kde is. at some point we probbably have to move over but
for now there isn't a need, but make note of this and have DOMAIN able
to switch in a heartbeat if we want to.
2020-07-19 17:09:28 +01:00
Alastair Poole c1a8ae187e modules. Small text fixes for modules, module.desktop 2020-07-19 12:34:47 +01:00
Alastair Poole 1c27438ecb config_modules: Show module description.
This has been collapsed for some time now. In modules settings
when selecting a module, its description will display as it did
previously.
2020-07-19 12:01:55 +01:00