Commit Graph

12974 Commits

Author SHA1 Message Date
Carsten Haitzler 8b06ca97a6 e sys main - fix minor leaking iterator - unused code now 2024-04-23 09:39:56 +01:00
Ross Vandegrift 9c4b442335 attempt to dlopen libddcutil.so.5 first
The backwards-incompatible changes in libddcutil.so.5 are documented at
https://www.ddcutil.com/c_api_200/ - a quick grep says that the only affected
symbol appearing in E is ddca_set_global_sleep_multiplier (which is already
optional).

This change does not make any of the changes suggested in the "Library
Initialization" section of the above doc.
2024-04-03 22:03:54 -07:00
Carsten Haitzler ed64f9e0b8 desklock - fix kbd layout set for desklock so it works
e just didn't store the kbd layout - set it up if it is not on desklock
based on layout name stored.

@fix
2024-02-24 20:43:03 +00:00
maxerba 6c5358f4cd Copyright notice update 2024-01-23 21:10:11 +01:00
Carsten Haitzler cc4df8d320 paranoia for silly people - check efl version aty runtime via eina
enlightenment_start checks the efl version and complains if it's too
old. this shoulpd at runtime give some sensible output for shen
someone did somthing very silly. it'll write this to stderr AND to
~/.e-log.log
2024-01-17 18:37:31 +00:00
Carsten Haitzler 98e9c79246 make xrandr command use an actual option 2023-12-14 07:40:05 +00:00
Carsten Haitzler b775f51c82 Add option to set hidden state or not 2023-06-17 11:56:57 +01:00
Carsten Haitzler 81d7fb15ab exec - store out incremented sutartup id to avoid clashes - fix
@fix
2023-04-17 12:27:33 +01:00
Ross Vandegrift c18c52f36a Avoid using "mips" as a variable
Summary:
"mips" is a gcc system-specific predefined macro on mipsel & mips64el.  This
fixes compilation on those platforms.

References:
- https://gcc.gnu.org/onlinedocs/cpp/System-specific-Predefined-Macros.html
- https://gcc.gnu.org/pipermail/gcc-help/2020-August/139241.html

Fixes T8781

Test Plan: built on a debian mipsel porterbox

Reviewers: raster, devilhorns

Subscribers: cedric, zmike

Tags: #enlightenment-git

Maniphest Tasks: T8781

Differential Revision: https://phab.enlightenment.org/D12096
2023-04-08 21:42:02 -07:00
Nekobit 766360359b xinput: Fix typo, add config check 2023-03-18 01:37:00 -07:00
Nekobit 78470d03d9 xinput: Adjust style 2023-03-18 01:37:00 -07:00
Nekobit 98a9609f8c xinput: Add support for flat mouse acceleration and Hi-Res scrolling
Flat mouse accel is fairly obvious.
Hi-Res scrolling is an option that is useful on certain mice that technically support 'pixel-perfect' scrolling, but still 'click' like regular mice would when you scroll. Some mice are designed to use pixel-perfect scrolling, so keeping it optional is useful.
2023-03-18 01:37:00 -07:00
Carsten Haitzler 1cb02d3480 dpms - fix cases where screensavwr was off but dpms still on
@fix
2023-02-16 22:48:43 +00:00
Carsten Haitzler a6038af68f icon theme - set elm icon theme to same theme as e one ... sync them 2023-02-16 08:28:47 +00:00
Carsten Haitzler 13454ff0bb randr - add some more debug info to log 2023-02-16 08:28:47 +00:00
Carsten Haitzler 72d639d1a6 desklock - fix compile warn after last change (no real bug) 2023-02-12 20:23:56 +00:00
Carsten Haitzler cb2bc1d1c1 desklock - use immediate show for lock on suspend etc.
makes lock more correct and not fade in on lock on suspend

@feat
2023-02-10 22:21:54 +00:00
Carsten Haitzler fd3e4a645d e state - add simple string glob listener callbacks 2023-02-10 08:48:23 +00:00
kikadf e5e3750ce1 Use default way to locale listing on OpenBSD
Listing /usr/share/locale doesn't work, and
already OpenBSD has support for locale.
2023-02-10 00:47:27 -08:00
kikadf 1b6d81a352 Fix hibernate command on OpenBSD 2023-02-10 00:46:40 -08:00
Carsten Haitzler 42eedd5fe8 randr - fix xrandr output off/on/config gen to not miss outputs 2023-01-23 21:13:58 +00:00
Carsten Haitzler 882261d8e2 odd to miss void for no params - be clear its no params 2023-01-20 14:47:45 +00:00
Carsten Haitzler 21ac62127c state system - add start of it
Why this? A way to have a shared store of "variables" or states that
any part of e or modules can store some simple things in and thus also
broadcast changes to state, listen to changes in state and react.

I am thinking of things like advertising:

  "/power/ac"               = [ true | false ]
  "/power/battery/low"      = [ true | false ]
  "/power/battery/charging" = [ true | false ]
  "/power/state"            = [ "on" | "sleep" ]
  "/screen"                 = [ "on" | "dim" | "blank" ]
  "/screen/locked"          = [ true | false ]
  "/network/online"         = [ true | false ]
  "/network/location"       = "name of network detected"
2023-01-20 14:47:45 +00:00
Carsten Haitzler acb59e1c78 randr - for now don't just suspend when on battery and end up at 0 scr 2023-01-20 14:47:45 +00:00
Carsten Haitzler 5c4f26f251 power - add some debug printfs for info on what is going on 2023-01-20 14:47:45 +00:00
Carsten Haitzler e584097d45 backlight - fiddle some to try make backlight work better 2023-01-20 14:47:45 +00:00
Carsten Haitzler 239d989e59 randr - fix xrandr cmdline gen to turn screens off too 2023-01-20 14:47:45 +00:00
Carsten Haitzler 913b7d701a desklock - dont care if we suspend or not when we run lock/unlock apps
@fix
2022-12-29 12:13:27 +00:00
Carsten Haitzler 6122bf24bb client - handlie class names with a space and guess first word as dsktp
stolen idea from moksha - wrote it differently :)
@feat
2022-12-12 19:03:14 +00:00
Carsten Haitzler a6c68aaf5e blanking/screensaver/dpms - in x poll 10s and force blank settings
so some apps/clients mess with screensaver/blanking/dpms behind e's
back. work around this - every 10 sec poll and check (ugly) and if
things are nto set as they should be ... force them to be set that
way. may lead to fights over this but too many people complaining
about steam or other apps messing with this.
2022-12-09 08:44:59 +00:00
Carsten Haitzler a8f174e6c7 dbus - fix some ref/unref's for conns
@fix
2022-11-21 08:28:23 +00:00
Carsten Haitzler bcf795d47f x11 comp randr - allow/use xrandr cmdline for screen cfg
Something has changed in x where now rotated displays if you have
multiple screens don't vcome up right - an alternate for now is to run
xrandr commandline if it exsts. Not stricly a fix - a workaround.
2022-11-21 08:28:23 +00:00
Carsten Haitzler 2386831529 notification - stop allocating wrong struct type for noti actions
the structs size was bigger so it didnt cause any real problem other
than allocating too much mem. this fixes that
2022-11-19 14:27:27 +00:00
maxerba 38178d8c46 Updating portuguese and italian translations 2022-10-30 14:45:18 +01:00
maxerba 5d49dceb36 Updating french translation 2022-10-27 13:11:10 +02:00
Marcel Hollerbach 928cf22f3e fix error message 2022-09-16 01:36:53 -07:00
Marcel Hollerbach f1d43c42a3 e_pointer: try to be sane with x11 and wl
wl does not have fallback rendering, therefore we always fallback to
default. In x11 we fallback to x11 rendering the cursor.

This should logically now not result in the cursor canvas beeing
deleted.
2022-09-16 01:36:53 -07:00
Marcel Hollerbach 5cc6f31035 e_pointer: do not call x11 setup when on wl path 2022-09-16 01:36:53 -07:00
Marcel Hollerbach 9778dc9738 more output 2022-09-16 01:36:53 -07:00
Carsten Haitzler 319b307c59 enlightenment_system - harden - no sysactions.conf - deny all actions 2022-09-15 15:17:53 +01:00
Carsten Haitzler cc7faeccf7 enlightenment_sys - fix security hole CVE-2022-37706
https://github.com/MaherAzzouzi/CVE-2022-37706-LPE-exploit

fixes that.
@fix
2022-09-15 14:38:21 +01:00
Carsten Haitzler fe0945600a win - shapes - set pass events if we have shaped wins but no rects
could be an EMPTY set of input rects but shaped still... so pass
events on the comp obj.

fixes recordmydesktop

@fix
2022-09-11 15:35:54 +01:00
Carsten Haitzler 2e30f391fb notification - fix property name for suppress sound 2022-09-09 09:40:38 +01:00
Carsten Haitzler 05e150ad43 e wl - force gl for wl mode now due to kernel breaks
also make session file do this by default for wl mode.

@fix (work around kernel changes?)
2022-08-26 08:53:03 +01:00
Christopher Michael a5d004a49b e_int_client_prop: Fix ICCCM/NetWM dialog issues
Make this dialog resizable for reading longer text (window titles,
etc). Also, fix the layout silliness that was going on by aligning the
table entries properly.

This dialog looked like crap :( Let's fix that :)
2022-08-20 11:12:00 -04:00
Carsten Haitzler 2294ea9f8a update id - use longer sha1 hash for id 2022-08-20 08:51:50 +01:00
Carsten Haitzler 3c46a6796a blanking block menu - show more info like reason. 2022-08-09 09:25:10 +01:00
Carsten Haitzler 88d7e3b836 screensaver blanking dbus api - also support /ScreenSaver path 2022-08-09 09:19:19 +01:00
Carsten Haitzler 225cbac56f watchdog - fix size of ping seq buffer entries 2022-07-20 15:53:56 +01:00
Carsten Haitzler db3ea64dd3 terms - expand fallback list of term desktops 2022-07-05 13:06:21 +01:00