Commit Graph

20836 Commits

Author SHA1 Message Date
Carsten Haitzler 0bf06c5e1e x input dev config - go direct to drivers not button mappings
unless. its an old evdev only etc. system - synaptics and libnput can
do thison their own. it's a bit of a mess, but it works.
2020-11-15 16:19:08 +00:00
jf_simon (Simon Tischer) bfffe15d8c ibar - fix badly understood menu item labels
"Don't add items on launch" -> "Don't show active windows"
"Menu on mouse over" -> "Miniview on mouse over"
2020-11-14 20:48:14 +00:00
Carsten Haitzler 05b0ff59a8 x - add xinput device watching and beginnings of configuring them 2020-11-14 20:48:09 +00:00
Carsten Haitzler e5bf0d66eb powersave - document som things and add screen blank override for pwrsv
add a screen power save mode than overrides regular powersave (bug is
subordinat to forced power save).
2020-11-12 15:28:54 +00:00
Brian 'morlenxus' Miculcy b386d7b911 e mixer - unmute on wheel volume change up/down on gadget
@feat
2020-11-11 15:45:34 +00:00
Brian 'morlenxus' Miculcy 0e4b8509dd tasks - add options to show windows form all desks/screens
@feat
2020-11-11 13:43:45 +00:00
Carsten Haitzler d2b860702e efm - delete scroll animator when efm view is deleted
i think this was not being deleted... on free of sd view. this should
fix that...

@fix
2020-11-11 00:31:39 +00:00
Carsten Haitzler e8ca66527a e wl - fix randr fully to not even init if managed
@fix
2020-11-10 11:37:09 +00:00
Carsten Haitzler a9a877feca wl x11 - if managed stop randr from doing its thing as it conflicts
randr goes and resizes the e window to mach screen setup - wrong if
managed., so if managed call the new stop which shuts down randr

@fix
2020-11-10 11:17:59 +00:00
Carsten Haitzler 6ff9b5545f e wl - fix init checking to see if its managed or not properly...
check if ecore_x_window_prop_window_get == 1 to know if its managed...
and u have to check the window it points to and check it has a
property on it too that has itself as the win id...

@fix
2020-11-10 10:53:27 +00:00
Christopher Michael c82f6e81d1 wl_x11: Fix wrong return value on function that does not return bool....
Read the API. Returns INT ...

Also, you're already getting root so create randr canvas_new with that
first.,.. then check that Root is 'managed'...
2020-11-09 21:28:32 -05:00
Carsten Haitzler 445b42b876 winlist - dont show anything at all if no windows in the winlist 2020-11-09 10:51:16 +00:00
Carsten Haitzler 98d13ff7fe winlist - add enum for mode to be clear its large mode 2020-11-09 10:51:16 +00:00
Alastair Poole 9b366ce88a ibox: Live preview. Use the improved API for ibox.
This is MUCH prettier.
2020-11-07 02:49:41 +00:00
Carsten Haitzler 6ed8873a48 cpufreq - add support for older pre-pstate but post-freqs cpus
@fix
2020-11-06 15:42:51 +00:00
Carsten Haitzler f984d60f66 music-control - add squeezebox slimpris2 support 2020-11-05 22:40:45 +00:00
Carsten Haitzler dfc83aeb79 winlist - handle size and border/shadow chages on the fly while visible 2020-11-05 19:43:56 +00:00
Carsten Haitzler 1ef5c65b23 winlist large - handle sizing logic hole to size properly 2020-11-04 14:17:37 +00:00
Carsten Haitzler b36fa0a95c comp obj - fix frame mirror resize handling
i ooopsed and used the wrong obj and didnt del the cb when not needed
anymore. led to errors and slowness later.
2020-11-04 10:09:10 +00:00
Carsten Haitzler 23872e244a winlist - handle todo's like zone del, move/resize, client resize
dot some i's, cross t's
2020-11-03 23:12:29 +00:00
Carsten Haitzler 7f2ea7af8b e winlist - add large mode and deprecate some old condig like geom
this adds a live exposé style set of windows in large mode and 2d
navigation, allows it to stay up so you can bind to a single key or
mouse button to bring up and keep thre unbtil dismissed etc. ... this
requires theme changes and for now these changes have only been added
to the flat theme branch in efl - they will become default in the
future, so dont use this and expect it to work unless you also try the
flat theme default from the flat branch in efl. see
https://phab.enlightenment.org/T6726 for details on that.

this is not complete. it has some TODO items at the top with XXX: but
.. it's good enough now to share.

@feat
2020-11-03 11:20:06 +00:00
Carsten Haitzler ed6bf16b2e ervy - default config for apps plugin - use terminology + plain sudo 2020-10-21 10:32:33 +01:00
Carsten Haitzler 9c116e6bb9 backlight - adjust debug so we get timestamps on bl changes always
was using this to see if these is lagf between wakeup form suspend and
fading the screen in - i see no lag. keep debug here for others to see
and reports what they say
2020-10-19 15:28:04 +01:00
Carsten Haitzler 7561d91ba5 bluez5 - dont have timer repeat that we are just ablout to add again
we call ping_schedule anyway. we want this as timeout may vary.. then
dont return true to repeat the timer we have... saves having loooots
of timers going off.

@fix
2020-10-18 00:28:22 +01:00
Carsten Haitzler 230569da1a winlist - support window thumbnails if theme supports it 2020-10-17 22:52:11 +01:00
Carsten Haitzler 0093c9baa1 pager - try a fix for a pager segv - cant reproduce though
a bit of i dotting and t crossing as to try stop this from happening
again
2020-10-17 21:00:30 +01:00
Carsten Haitzler 029df828ea fix systray gadget segv if menu up when tray item goes away
the systray gadget code didnt deal with this case of menu up but item
vanishes. quite bad. now the menu is freed and hiddtne/popped down
when the item is removed.

fixes T8842
@fix
2020-10-15 19:50:50 +01:00
Carsten Haitzler 13a5e58e79 actions - add action to turn blanking on/off
now u can bind something to turn this on (or off). better than
presentation mode
2020-10-15 19:03:40 +01:00
Carsten Haitzler 6654560118 presentation - remove final bits in screen blanking settings 2020-10-15 18:42:38 +01:00
Carsten Haitzler 64c1be2fba e system - fix potential infinite loop with adding handlers
dell handler inside handler func then add a new one ofr the same thing
that does the same thing... infinite loop. only run hanlders after the
loop of hanlders is handled by flagging as just_added and skip those
(removing that flag after handlers list pass).

@fix
2020-10-15 18:16:57 +01:00
Carsten Haitzler 5f925b1668 bluez5 - fix infinite loop where ping cvauses device eval which loops 2020-10-15 17:53:30 +01:00
maxerba 9efbba0330 Updating french and italian translations 2020-10-11 19:12:09 +02:00
Marcel Hollerbach 8826355373 e_shelf: support state changes within the animation
the animation will get inverted now when you move your cursor within the
hide animation into the object again.

This should remove some stuttering that might be visible on your screen.
2020-10-10 15:04:22 +02:00
Carsten Haitzler afb6ea1b22 desklock - remove custom desklock command. solves comment in bug report
fixes T5978
@fix

now you can't make things weird by having an external lock command -
solves that unsolvable race... :) the other iseu i think is not relaed
to e and smellslike old garbage fb content either
xorg/kms/driver/kernel or something - i have seen junk onresume
sometimes but its a fb from like hours ago even so i smell it might be
that. this solves the other issue brought up by not making it possible
2020-10-09 12:25:26 +01:00
Carsten Haitzler 048a40414f remove offline+presentation mode - this has confused people
i've seen various people get confused as to why their screen won't
blank and never heard of anyone using offline mode. i think this can
retire and just disabkling blanking manually or as presentation/media
tools do these days... they ask to suspend screensaver anyway. yes it
also affects notifications - but that is a good question - if you want
these or not? may as well simplify.
2020-10-05 09:20:05 +01:00
Carsten Haitzler 048a658ff9 emix - mixer backend - fix string compare to compare wholes string 2020-10-04 22:17:02 +01:00
Carsten Haitzler f1a15a41db blanking - workaround unknown issue where ss resets to 1sec after resume
trying workaround to fix T8793
@fix
2020-10-04 22:11:13 +01:00
Carsten Haitzler d084520660 renmove srand calls - eina ensures it does that now 2020-10-03 21:00:43 +01:00
Carsten Haitzler 397a58137e e menus - keep parent menu items activated when browsing child items 2020-10-01 17:59:26 +01:00
Carsten Haitzler 308bab6750 e filesel - have files list expand not preview 2020-10-01 11:33:32 +01:00
Carsten Haitzler 3be43c50fe comp - settings - fix advance settings save for comp settings 2020-09-29 10:32:04 +01:00
Alastair Poole 51da79c869 e_gadcon: resolve autoscroll issue.
Autoscroll was working until the client changed dimensions. This
removes a size hint change on the same callback for size hint
changes on the same object.

Ensure container box dimensions reflect the minimum size after
a size hint change on the contained objexct.
2020-09-28 11:26:54 +01:00
Alastair Poole 8ef9a44214 e_client_volume: remove unused object 2020-09-24 00:37:51 +01:00
Alastair Poole af560c6566 procstats: window resource module.
The module sends messages which the theme displays. Thus, the
module requires a theme with an implemented edj script to be
useful.

Currently EFL 1.26 includes a basic text label for this...
Usage is recursive...everything under the window is included.

Rudimentary, as usual...please do something pretty...

RFC. Hopefully I didn't break the universe...again!
2020-09-23 19:57:24 +01:00
Alastair Poole 2c70e9648d xsettings: unbreak config and use standard naming.
Reviewed-by: Christopher Michael <devilhorns@comcast.net>
Differential Revision: https://phab.enlightenment.org/D12150
2020-09-18 10:59:55 -04:00
Alastair Poole 91d98c0183 xsettings: keep the logic "simple".
No need for hook. Wrong use of the API. The widget already does
this when checking various objects.

Set DPI to a default if X application settings enabled else use
the custom DPI.

GTK applications only respect the changes
if they are started when the xsettings is brought up. This is
confusing. Sorry for the noise :(
2020-09-17 19:29:36 +01:00
Alastair Poole 1183f221cc xsettings: restore DPI on X settings disable. 2020-09-17 17:45:45 +01:00
Christopher Michael 9adfc913e4 e_utils: Increase tmpbuf allocated size
Increase size of allocated tmpbuf in order to eliminate compiler
warnings in regard to truncated strings
2020-09-17 12:18:37 -04:00
Christopher Michael 43035f34f7 e_module: Increase 'body' buffer size
Increase size of body text to eliminate compiler warnings about
truncated strings
2020-09-17 12:18:37 -04:00
Christopher Michael 595babc0eb e_intl: Fix formatting
NB: No functional changes
2020-09-17 12:18:37 -04:00
Alastair Poole 9f33fbf62e xsettings: Allow for custom DPI setting.
Until a wayland/X11 solution allow setting a custom DPI in
Settings -> Application Theme -> X Application Settings
2020-09-17 16:50:24 +01:00
Christopher Michael ec1c6b42b4 temperature: Mark hdata paramater as unused
Compiler warns 'hdata' is unused, so mark it with EINA_UNUSED
2020-09-17 11:23:47 -04:00
Carsten Haitzler 695ea554f2 temp - remove unused local var 2020-09-17 10:21:12 +01:00
Alastair Poole 4ac98d41d4 tasks: Icon Size / Config Dialogue.
If "icon only" use the container's dimensions.
Fix config dialogue anomaly.
2020-09-17 00:17:02 +01:00
Carsten Haitzler 1d87379d47 temp - move entirely to hwmon based temp sensors on linux 2020-09-11 00:00:38 +01:00
Carsten Haitzler d039b53484 e sys babcklight - streamline setting bl_power 2020-09-07 20:24:57 +01:00
Alastair Poole 721380cb1e cpufreq: fix a VERY misleading comment. 2020-09-07 16:36:10 +01:00
Carsten Haitzler 100121bd64 e pointer - on lock push a default pointer and ensure it is ok after
this makes the pointer a default - so no resize animations sticking
around when locked, and on unlock we are restored to default.

@fix
2020-09-07 01:04:49 +01:00
Carsten Haitzler aaefc0cafe e intl - fix lanhuage lists to have galacian, romanian and vietnamese
we had the translations but didnt expose them in wizard or lang
dialogs .. fix that. now they get listed

@fix
2020-09-06 21:13:30 +01:00
Carsten Haitzler fbaa8984df shot - allow copy of image to selection in addition to shave and share
uses elm cnp to store the image in a selection attached to your
compositor elm win. note... some apps are fussy about what file
formats they accept... we've found through much pain that chrome (and
i assume anything based on it like electron) only accept png for cnp.
firefox accepts most sane formats (png, jpg). libreoffice too accepts
png and jpg, efl accept sjust anout anything you throw at it, so ymmv.
if paste doesnt work either the target for paste doesn't support
pasting images at all or it is fussy about formats - maybe set quality
to 100% to force png and try that as shot saves just png and jpg
(100% quality == png, evrything below is jpg).

if you want pastes of lower quality to work e.g. jpegs in chrome -
file a bug with the chrome team... :)
2020-09-05 15:51:47 +01:00
Carsten Haitzler 951bb66fa0 e wl - drm - fix dlopening of libecore_drm2
this should load .so.1 not .so ... and it shouldnt dlclose a null dl
handle. fix a crash

@fix
2020-09-05 12:05:49 +01:00
Carsten Haitzler 63bc2a8093 backlight - support backlight on non-lid panels and bl_power too
i didn't know bl_ppower existed... i found a device that exposes this
sysfs node and it seems it's a good idea to swizzle it too in addition
to brightness. so fix that and also fix e's backlight handling to find
backlight devices for non-lid panels marked to have a backlight ... i
have such a device here. this makes backlight controls work in this
case.
2020-09-05 11:34:14 +01:00
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 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
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
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