Commit Graph

20858 Commits

Author SHA1 Message Date
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
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
Carsten Haitzler 632a7d11af e polkit - fix password to de-escape to utf8
like askpass was broken - this was too. fix.

@fix
2020-07-15 14:53:08 +01:00
Carsten Haitzler 15f049f777 e askpass - convert text to plain utf8 proeprly for passwd output
@fix
2020-07-15 14:40:17 +01:00
Carsten Haitzler a3d981fa74 desklock config - remove infinite loop - bug added in gad remove
accidentally added a widget again to the list thus causing a loop.
didnt delete the append when removing in gad remove commit
2020-07-15 01:32:00 +01:00
Carsten Haitzler 072fd2d741 e system - isolate stdio of commands we run so they dont pollute 2020-07-14 13:31:29 +01:00
Alastair Poole e278fb3cda ibox: dnd behaviour.
Summary:
* No dragging icons within an ibox (it can be perceived as
  a broken move visually).
* Show preview when dragging a preview.
* When dragging an object into the ibox, the drop icon should
be at the position of the dnd. Else mouse pointer and the
indicator are out of sync and it looks like a bug.

Reviewers: devilhorns

Subscribers: raster, cedric, zmike

Tags: #enlightenment-git

Differential Revision: https://phab.enlightenment.org/D12050
2020-07-12 09:58:06 +01:00
Carsten Haitzler e0227cf536 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-12 09:58:06 +01:00
Alastair Poole e820efd81d 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-11 22:46:00 +01:00
Alastair Poole 1fa239b404 battery: OpenBSD use proper constants.
Not a workaround, we can be AMP or WATT hour.
2020-07-09 01:11:31 +01:00
Carsten Haitzler 12ddeaa2d1 e - enum conversion warnings - fix by doing proper conversion or enum 2020-07-08 17:39:43 +01:00
Carsten Haitzler ea5967e2a6 remove warnings of unused functions and vars 2020-07-08 17:32:54 +01:00
Carsten Haitzler dcf5bc0e7e shot - dont allow image in virtual cnavs to resize 2020-07-08 14:42:34 +01:00
Carsten Haitzler 0b1c4100ef e gadgets - as per email to e-devbel - it's easier to fix old so rm new
new gadget infra--
2020-07-07 23:34:27 +01:00
Alastair Poole 3bbab5a22f ibox: Add Live Preview Optional View.
Reviewers: raster, devilhorns

Subscribers: cedric, zmike

Tags: #enlightenment-git

Differential Revision: https://phab.enlightenment.org/D12046
2020-07-07 15:59:28 +01:00
Carsten Haitzler 979a8e8953 e exec - if an invalid exe is found - null it out 2020-07-01 13:25:09 +01:00
Carsten Haitzler dabda6154b desklock - remove autolock as its pointless as we can lock on blank
alsoit was inaccurate reling on polling (a poller) and thus wakeups
all the time ... so use the "lock on blanking" in timers instead... :)
less complexity to deal with in config anyway.
2020-06-30 12:14:23 +00:00
Carsten Haitzler 4fa3ca249b comp wl - blanking fix saver timeout if 0 - dont set it as its off at 0 2020-06-30 12:14:23 +00:00
Christopher Michael bc5f4e5635 e_comp_wl: Fix possible typo with function name 2020-06-29 09:07:04 -04:00
Carsten Haitzler 5c03da91a7 only call notidle if wl compiled in and wl on... 2020-06-28 20:23:07 +01:00
Carsten Haitzler db73bcabd9 e comp x - ensure animator works before fading in backlight 2020-06-28 15:29:22 +01:00
Carsten Haitzler f6e4be1005 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-06-28 15:06:37 +01:00
Alastair Poole 8cc3bd7cdb e_start_main: Guard against malloc.h on BSD.
This fixes a build break on FreeBSD. Guarding as per other
blocks. These guards can be removed at a later stage as OpenBSD
has removed malloc.h and FreeBSD is in the process of
reintroducing it after a failed attempt to deprecate the header.
For consistency's sake keep these blocks identical within the
tree. We can nuke these later when FreeBSD make their minds up.
2020-06-24 23:45:29 +01:00
Carsten Haitzler 21200cb2f7 e init - stop listening to zone changes once init has been hidden 2020-06-22 08:16:46 +01:00
Carsten Haitzler 2c9405b92f 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:54:17 +01:00
Carsten Haitzler 949096d0c0 screen setup - put shortcut in config quick-access menu 2020-06-20 01:57:28 +01:00
Carsten Haitzler ddc9ff7280 randr - add response timeout config value 2020-06-20 01:50:03 +01:00
Carsten Haitzler e8f5794b81 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:21:13 +01:00
maxerba e64263bcc8 Didn't knew it was possible to change desktop name, maybe other users should know about it :) 2020-06-16 21:28:01 +02:00
Carsten Haitzler b55fa736ed randr - add option to ignore disconnects on specific screens...
work around kvm's that like to disconenct screens... be able to force
an ignore on disconnects on specific screens.
2020-06-15 22:27:34 +01:00
Carsten Haitzler c4ab23511e fix null edid more - found hole missed in last fix
adds more fix on top 80f92ee486
2020-06-14 14:00:48 +01:00
Carsten Haitzler 1b5d229855 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:09:43 +01:00
Carsten Haitzler ce66161874 init - handle zone changes during startup/init 2020-06-14 00:33:44 +01:00
Carsten Haitzler 3e31c9ebf8 precache - add more prints to see when thread spawns for info 2020-06-13 22:56:54 +01:00
Carsten Haitzler 18c522fb24 Revert "e randr - x - only apply/modify randr if xurrent config not the same"
This reverts commit cf0a43b844.

This seems to cause some issues on restore at startup.
2020-06-13 22:56:40 +01:00
Carsten Haitzler b519c44c67 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:07 +01:00
q66 fd9a798376 meson: fix fnmatch dependency lookup
The previous version didn't really make sense whatsoever, also
it was unused.
2020-06-11 02:44:55 +02:00
q66 9fc310db63 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 02:37:26 +02:00
q66 6e87988071 e_util_suid: need signal.h on some libcs 2020-06-10 21:13:41 +02:00
Carsten Haitzler 5b113e67dc debug printf-- 2020-06-10 13:35:12 +01:00
Carsten Haitzler ed1d9ea62c e backlight - fix initial restore of backlight after previous fix
no edid fix broke initial restore. fix it.
2020-06-10 12:34:21 +00:00
Carsten Haitzler 80f92ee486 e backlight - handle screens with no edid
this fixes backlight support on my pinephone...

@fix
2020-06-10 11:05:13 +00:00
Carsten Haitzler a91ba4e1a8 exec - dont run null exec commands
fixes T7133

@fix
2020-06-09 22:11:32 +01:00
Carsten Haitzler 1aad79dbe7 init splash - make it default as it no longer needs an option
it used ot be a separate process to run to hide e starting in the bg
on a slow hdd loading modules etc. but due to compisitng and other
changes its all internal now, so keep it on always as it guarantees a
better smoother experience with less complexity to maintain.
2020-06-09 15:54:58 +01:00
Carsten Haitzler cf0a43b844 e randr - x - only apply/modify randr if xurrent config not the same
so if already the same - leave it as-is.
2020-06-07 00:57:13 +01:00
Carsten Haitzler 74815ebc9b e start - save 24k of stack that gets touched then never again.
use less stack with smaller "just big enough" alloca'd string buffers.
as e_start hangs around looking after e all day, using a bit less mem
is a good thing.

@opt
2020-06-07 00:54:57 +01:00
Carsten Haitzler 71b5cb3e7c xsettings - always use decimal for format for float prints
snprintf will use locale and maybe print 10,24 instead of 10.24 ...
thus use a custom routine to specially do this always by hand without
mssing with locale.

@fix
2020-06-05 11:21:20 +01:00
Carsten Haitzler 3150546e30 bz5 - fix gadget state update if gadget was created later
e.g. shelf re-configures or adds/removes etc. cause bt gadget icon to
not show current state right. it was missing an "init the state" for
these cases.

@fix
2020-06-04 09:02:54 +01:00
Carsten Haitzler 7062c0fa4c efm - make some comment notes for exec verify 2020-05-30 21:56:29 +01:00
Carsten Haitzler 3fdd7d3118 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 21:56:29 +01:00
Carsten Haitzler eb61b825e4 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 21:56:29 +01:00
Carsten Haitzler af63443e19 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:07:56 +01:00
Carsten Haitzler 596def7806 e system - storage - improve mount/umount code to enforce simple std
all dirs owned by root - so can't be exploited. this code is not
acessible at this point so no actual issues. it still needs testing.
until other work is done it won't be tested yet.

fixes T8671 further comments on umount check.
2020-05-28 11:24:32 +01:00
Carsten Haitzler a018f8273f 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:17:07 +01:00
Carsten Haitzler 373b4c5ee1 e ckpasse - also back out another change i made to fix up pk 2020-05-27 09:24:24 +01:00
Carsten Haitzler fc89c4f78c e ckpasswd - clean some vars to be static and a fprintf status 2020-05-27 09:19:47 +01:00
Carsten Haitzler d8f1e63a75 back out undo of pk fix - back to bu5hm4ns version 2020-05-27 09:16:04 +01:00
Carsten Haitzler d2c0c1bf19 polkit - fix user id we're authing to and be explicit which one it is
@fix
2020-05-25 13:45:44 +01:00
Carsten Haitzler b16b2fac74 e auth - fix missing stderr output logs i missed last commit 2020-05-25 13:45:40 +01:00
Marcel Hollerbach 4475eb42a6 e_ckpasswd_main: fix polkit to auth root
there were the wrong pids passed.
This fixes calls like "systemctl start docker".
2020-05-25 14:39:25 +02:00
ilteroi 6ff48ca647 wizard: fix compile error in wayland-only build 2020-05-25 13:36:42 +02:00
Carsten Haitzler e84dce7806 e auth - nicely prefix logs and clean up error reports and report more 2020-05-25 12:27:49 +01:00
Carsten Haitzler f64ce3f5af e polkit - improve ui to disable widgets while doing auth plus padding 2020-05-25 11:53:33 +01:00
Carsten Haitzler ac6ad8cb96 add debug printf (commented out) for frame requests 2020-05-23 09:35:44 +01:00
Carsten Haitzler fb5bcc24af remove base time - not needed anymore 2020-05-21 21:17:37 +01:00
Carsten Haitzler c742c011ae 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:11:14 +01:00
Carsten Haitzler 048470f888 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:03 +01:00
Elyes HAOUAS f84d23ffd2 Remove duplicated includes
Remove duplicated includes

Reviewed-by: Christopher Michael <devilhorns@comcast.net>
Differential Revision: https://phab.enlightenment.org/D11857
2020-05-19 13:06:21 -04:00
Riccardo Calixte 01fd3da2a3 tree-wide: get rid of trailing whitespace
Remove trailing whitespaces

Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org>
Differential Revision: https://phab.enlightenment.org/D11841
2020-05-19 12:09:13 +02:00
Carsten Haitzler c3f809c346 env var config - fix null var value handling in gui
fix CID 1428891

back to 0 issues.
2020-05-19 01:33:51 +01:00
Christopher Michael ba685cc0e5 wl_drm: Add missing new line on error printing 2020-05-18 10:15:12 -04: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