Commit Graph

20662 Commits

Author SHA1 Message Date
Enrico Weigelt, metux IT consult 1cd1170599 dix: unexport MakeWindowOptional()
Really internal, should not be used by drivers.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-05 16:06:56 +02:00
Enrico Weigelt, metux IT consult 47b9e71ab3 dix: registry: add LookupDixAccessName()
Helper for converting Xace access masks to human-readable text.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-05 16:06:56 +02:00
Enrico Weigelt, metux IT consult 7dda656db7 dix: add callback for post root window init
Allow extensions to catch in right after a screen's root window has
been finally initialized

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-05 16:06:56 +02:00
Enrico Weigelt, metux IT consult 709b2d005a mi: mark miWindowExposures() and miExpandDirectColors() exported
These are used by the in-tree libwfb.so module. As long as this an shared
object, instead of being directly linked into the executable, these symbols
need to be in the executable's symbol table. Nevertheless, they're not making
them part of the public SDK/module ABI, unless there's a really hard reason.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-05 16:06:50 +02:00
Enrico Weigelt, metux IT consult 65034050f6 meson_options: disable Xwayland by default
Xwayland is a separate project/team and has it's own releases, so it's better
trying to to intefer with them and disable it by default.

It still can be easily enabled via meson arguments, and it's still enabled
in the CI. Let distros and operators decide on their own whether they want it.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-05 15:36:09 +02:00
Enrico Weigelt, metux IT consult 018703ce07 randr: re-export RRTransformSetFilter() for Nvidia legacy
NVidia's proprietary driver does it's own randr implementation (why ?)
and needs this function for this.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-05 15:36:04 +02:00
Enrico Weigelt, metux IT consult 71242d24bc randr: re-export RRClientKnowsRates() for Nvidia legacy
NVidia's proprietary driver does it's own randr implementation (why ?)
and needs this function for this.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-05 15:36:00 +02:00
Enrico Weigelt, metux IT consult bebc7c0f8e randr: re-export RRProviderSetCapabilities() for Nvidia legacy
NVidia's proprietary driver does it's own randr implementation (why ?)
and needs this function for this.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-05 15:35:55 +02:00
Enrico Weigelt, metux IT consult 0523adf6d0 randr: re-export RRProviderCreate() for Nvidia legacy
NVidia's proprietary driver does it's own randr implementation (why ?)
and needs this function for this.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-05 15:35:50 +02:00
Enrico Weigelt, metux IT consult 358853f35d randr: re-export RRCrtcDetachScanoutPixmap() for Nvidia legacy
NVidia's proprietary driver does it's own randr implementation (why ?)
and needs this function for this.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-05 15:35:45 +02:00
Enrico Weigelt, metux IT consult 8141970be4 randr: re-export RRCrtcGetTransform() for Nvidia legacy
NVidia's proprietary driver does it's own randr implementation (why ?)
and needs this function for this.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-05 15:35:41 +02:00
Enrico Weigelt, metux IT consult 30e59a9f4f xfree86: add per major-version driver/module subdirectories
Modules are now placed into a sub-directory by major Xserver release,
so we have less hassle with trying to load drivers w/ incompatible ABI.

The legacy directories are still searched (after the versioned ones)
for backwards compat with badly maintained proprietary drivers (Nvidia).

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-04 20:08:14 +02:00
Enrico Weigelt, metux IT consult c4b0a77713 Revert "(!1991) xfree86: xf86Option: unexport xf86MarkOptionUsedByName()"
Reverting commit 63c8a689c3 on request by Nvidia
(proprietary driver)

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-04 20:08:14 +02:00
Enrico Weigelt, metux IT consult ae632dac9b randr: re-export RRCrtcGetScanoutSize() for Nvidia legacy
NVidia's proprietary driver does it's own randr implementation (why ?)
and needs this function for this.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-04 20:08:14 +02:00
Enrico Weigelt, metux IT consult 15716c7a9b randr: re-export RROutputSetNonDesktop() for Nvidia legacy
NVidia's proprietary driver does it's own randr implementation (why ?)
and needs this function for this.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-04 20:08:14 +02:00
Enrico Weigelt, metux IT consult 683691ff85 randr: re-export some resource type fields for NVidia legacy
NVidia's proprietary driver does it's own randr implementation (why ?)
and needs those fields for this.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-04 20:08:14 +02:00
Enrico Weigelt, metux IT consult 085ca43c0c xfree86: compat: re-export MarkClientException() for horryibly maintained Nvidia
NVidia yet again doing crazy shit in their proprietary drivers:

This is an DIX-*internal* function for triggering client teardown when
connection broke or somehow lack of resources to accept new connections.
Video drivers have no business with that whatsoever - having them messing
with client client connections is just insane.

But still trying to be kind with Nvidia victims, thus adding a little wrapper
function under the old name. It spills out a log warning calling users to file
bug reports their driver vendor.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-04 20:08:14 +02:00
Enrico Weigelt, metux IT consult 76c976eda6 dix: rename MarkClientException() to dixMarkClientException()
DIX functions should have proper naming.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-04 20:08:14 +02:00
Enrico Weigelt, metux IT consult 96fa99d3b0 xfree86: increase ABI versions
Since *a lot* has changed since last Xserver release, need to increase
the ABI version.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-04 20:08:14 +02:00
Enrico Weigelt, metux IT consult 21b980a617 dix: fix guards in dix/window_priv.h
Renaming the guard define to _XSERVER_DIX_WINDOW_PRIV_H

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-04 20:08:14 +02:00
Enrico Weigelt, metux IT consult 847fd0eccc README.md: add upgrade notice
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-04 20:08:12 +02:00
Enrico Weigelt, metux IT consult 668ee9b2b4 xfree86: compat: re-add xf86Msg() for badly maintained drivers.
NVidia yet again lagging behind a year with trivial cleanups,
even though they're informed about this function being deprecated
and dropped.

It spills out a log warning calling users to file bug reports their
driver vendor.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-04 14:02:47 +02:00
Enrico Weigelt, metux IT consult c4da97eb69 Revert "(!1987) glamor: unexport GLAMOR_CREATE_PIXMAP_* defines"
This reverts commit 85267d38ac.

These are needed by the RDP module (www.xrdp.org).

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-04 14:02:35 +02:00
Enrico Weigelt, metux IT consult 1e4faee4e5 xfree86: fix possible buffer overflow in xf86PrintBanner()
There's chance of buffer overflow happending due lack of zero-termination
of printed string. Making sure the buffer is always propertly terminated.

See: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1821

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-03 19:26:12 +02:00
Enrico Weigelt, metux IT consult d10204372b xfree86: xf86Priv.h: unexport xf86HasTTYs()
Not used by any external drivers.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-03 17:34:10 +02:00
Enrico Weigelt, metux IT consult 25744d6646 xfree86: xf86Priv.h: unexport xf86CallDriverProbe()
Not used by any external drivers.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-03 17:34:10 +02:00
Enrico Weigelt, metux IT consult d421a618be xfree86: xf86Priv.h: unexport xf86LoadModules()
Not used by any external drivers.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-03 17:34:10 +02:00
Enrico Weigelt, metux IT consult 266792630b xfree86: xf86Priv.h: unexport xf86CloseLog()
Not used by any external drivers.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-03 17:34:10 +02:00
Enrico Weigelt, metux IT consult fd654c2967 xfree86: xf86Priv.h: unexport xf86LogInit()
Not used by any external drivers.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-03 17:34:10 +02:00
Enrico Weigelt, metux IT consult 29a5ddd295 xfree86: xf86Priv.h: unexport xf86PMConfirmEventToOs field
Not used by any external drivers.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-03 17:34:10 +02:00
Enrico Weigelt, metux IT consult ddb8441012 xfree86: xf86Priv.h: unexport xf86PMGetEventFromOs field
Not used by any external drivers.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-03 17:34:09 +02:00
Enrico Weigelt, metux IT consult b5878c8f22 xfree86: xf86Priv.h: unexport xf86HandlePMEvents()
Not used by any external drivers.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-03 17:34:09 +02:00
Enrico Weigelt, metux IT consult 6e2d8285cb xfree86: xf86Priv.h: unexport xf86Wakeup()
Not used by any external drivers.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-03 17:34:09 +02:00
Enrico Weigelt, metux IT consult 47a6466355 xfree86: xf86Priv.h: unexport DoShowOptions()
Not used by any external drivers.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-03 17:34:09 +02:00
Enrico Weigelt, metux IT consult c9527a0732 xfree86: xf86Priv.h: unexport DoConfigure()
Not used by any external drivers.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-03 17:34:09 +02:00
Enrico Weigelt, metux IT consult 377761bebd xfree86: xf86Priv.h: unexport xf86PathIsSafe()
Not used by any external drivers.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-03 17:34:09 +02:00
Enrico Weigelt, metux IT consult 469ba47fa0 xfree86: xf86Priv.h: unexport xf86RemoveDevFromEntity()
Not used by any external drivers.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-03 17:34:09 +02:00
Enrico Weigelt, metux IT consult 9759c400d4 xfree86: xf86Priv.h: unexport xf86ClearEntityListForScreen()
Not used by any external drivers.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-03 17:34:09 +02:00
Enrico Weigelt, metux IT consult 191123be66 xfree86: xf86Priv.h: unexport xf86PostProbe()
Not used by any external drivers.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-03 17:34:09 +02:00
Enrico Weigelt, metux IT consult e13e3f53fb xfree86: xf86Priv.h: unexport xf86BusConfig()
Not used by any external drivers.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-03 17:34:09 +02:00
Enrico Weigelt, metux IT consult 1e6dd800e7 xfree86: xf86Priv.h: unexport xf86DefaultModes field
Not used by any external drivers.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-03 17:34:09 +02:00
Enrico Weigelt, metux IT consult 0fbfe338a1 xfree86: xf86Priv.h: drop DEFAULT_VERBOSE and DEFAULT_LOG_VERBOSE defines
Not used by any external drivers, so we can use their values directly.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-03 17:34:09 +02:00
Enrico Weigelt, metux IT consult 25b26d3a5d xfree86: xf86Priv.h: unexport xf86LogVerbose field
Not used by any external drivers.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-03 17:34:09 +02:00
Enrico Weigelt, metux IT consult d0b446e2af xfree86: xf86Priv.h: unexport xf86Verbose field
Not used by any external drivers.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-03 17:34:09 +02:00
Enrico Weigelt, metux IT consult a6f335d337 xfree86: xf86Priv.h: unexport xf86VisualNames field
Not used by any external drivers.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-03 17:34:09 +02:00
Enrico Weigelt, metux IT consult 396e52a324 xfree86: xf86Priv.h: unexport xf86Initialising field
Not used by any external drivers.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-03 17:34:09 +02:00
Enrico Weigelt, metux IT consult ee5f9aa670 xfree86: xf86Priv.h: unexport xf86Resetting field
Not used by any external drivers.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-03 17:34:09 +02:00
Enrico Weigelt, metux IT consult 329cd977cf xfree86: xf86Priv.h: unexport xf86NumDrivers field
Not used by any external drivers.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-03 17:34:09 +02:00
Enrico Weigelt, metux IT consult 9d911f3e99 xfree86: xf86Priv.h: xf86LogFileWasOpened fields
Not used by any external drivers.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-03 17:34:09 +02:00
Enrico Weigelt, metux IT consult 1d86f70389 xfree86: xf86Priv.h: xf86LogFileFrom field
Not used by any external drivers.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-03 17:34:09 +02:00