Enrico Weigelt, metux IT consult
ceeddbd219
os: WaitForSomething(): also try to flush out older buffer content
...
Always try to flush out anything we have, even for clients that had
been stuck for a short while because we've tried to send out too
much at once. If we'd only do it when someting *new* is in the queue,
then those clients might get stuck for long time, until something else
triggers the flush by mere accident.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-26 17:05:35 +01:00
Herman Semenov
50037a450d
Xext: remove excess dobule-check pointer (IsSystemCounter already have)
2025-11-26 16:47:14 +01:00
Herman Semenov
4689dfb21f
mi: fix missing braces for expected logical condition 'if-else if'
...
Without missing braces, logical behavior 'if-else if' block works as two 'if' independent blocks.
2025-11-26 16:45:55 +01:00
stefan11111
5460be02c9
modesetting: read DRM_CAP_ATOMIC_ASYNC_PAGE_FLIP when parsing async flip capabilities
...
Signed-off-by: stefan11111 <stefan11111@shitposting.expert >
2025-11-26 10:53:36 +01:00
stefan11111
7b301ee278
modesetting: small formating changes and extra NULL checks
...
Signed-off-by: stefan11111 <stefan11111@shitposting.expert >
2025-11-26 10:51:48 +01:00
Enrico Weigelt, metux IT consult
8039c2cbf1
dix: unexport SwapLongs()
...
Not used by any external drivers, so no need to keep it in public SDK.
Since it's used by internal modules, still needs to be _X_EXPORT'ed.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-25 18:26:02 +01:00
Tautvis
e00b4b55c8
os: utils.c ignore '-reset' and '-noreset' command line arguments
...
Certain display managers (for example SDDM) starts X server with
-noreset flag and it is not user configurable. This patch add code to
ignore -noreset and -reset command line arguments to prevent X server
crash due to unknown arguments.
Signed-off-by: Tautvis <gtautvis@gmail.com >
2025-11-22 13:25:52 +01:00
Oleh Nykyforchyn
77830f2284
modesetting: make DevPrivateKeyRec struct static
...
dixRegisterPrivateKey() assumes that DevPrivateKeyRec struct passed
to it is zero-filled before the first use, otherwise assert() fails.
Therefore these structs are usually static, which assures that they
are initialized to 0. A newly introduced key in the modesetting driver
was not static, and the driver crashed. This should be corrected.
Signed-off-by: Oleh Nykyforchyn <oleh.nyk@gmail.com >
2025-11-22 13:24:44 +01:00
Enrico Weigelt, metux IT consult
4aa6d3e4fd
xfree86: loader: fix NULL warning on LogMessage() call
...
> ../hw/xfree86/loader/loadmod.c: In function ‘LoaderSetPath’:
> ../hw/xfree86/loader/loadmod.c:230:67: warning: ‘%s’ directive argument is null [-Wformat-overflow=]
> 230 | LogMessage(X_ERROR, "Failed to store module search path \"%s\" for module %s\n", path, driver);
> | ^~
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-21 15:20:27 +01:00
Mike Gelfand
0aea4cf3a7
xkb: move include guards up to wrap the whole file
...
See: https://gcc.gnu.org/onlinedocs/cppinternals/Guard-Macros.html
Signed-off-by: Mike Gelfand <mikedld@mikedld.com >
2025-11-21 15:20:11 +01:00
Mike Gelfand
fcf7fb1f42
xfixes: move include guards up to wrap the whole file
...
See: https://gcc.gnu.org/onlinedocs/cppinternals/Guard-Macros.html
Signed-off-by: Mike Gelfand <mikedld@mikedld.com >
2025-11-21 15:20:11 +01:00
Mike Gelfand
64e4ded9fb
test: move include guards up to wrap the whole file
...
See: https://gcc.gnu.org/onlinedocs/cppinternals/Guard-Macros.html
Signed-off-by: Mike Gelfand <mikedld@mikedld.com >
2025-11-21 15:20:11 +01:00
Mike Gelfand
4b0c603f3d
miext: move include guards up to wrap the whole file
...
See: https://gcc.gnu.org/onlinedocs/cppinternals/Guard-Macros.html
Signed-off-by: Mike Gelfand <mikedld@mikedld.com >
2025-11-21 15:20:11 +01:00
Mike Gelfand
770c21c947
mi: move include guards up to wrap the whole file
...
See: https://gcc.gnu.org/onlinedocs/cppinternals/Guard-Macros.html
Signed-off-by: Mike Gelfand <mikedld@mikedld.com >
2025-11-21 15:20:11 +01:00
Mike Gelfand
e47ef3c2bf
include: move include guards up to wrap the whole file
...
See: https://gcc.gnu.org/onlinedocs/cppinternals/Guard-Macros.html
Signed-off-by: Mike Gelfand <mikedld@mikedld.com >
2025-11-21 15:20:11 +01:00
Mike Gelfand
84a2fc014d
hw: move include guards up to wrap the whole file
...
See: https://gcc.gnu.org/onlinedocs/cppinternals/Guard-Macros.html
Signed-off-by: Mike Gelfand <mikedld@mikedld.com >
2025-11-21 15:20:11 +01:00
Mike Gelfand
683573df26
glamor: move include guards up to wrap the whole file
...
See: https://gcc.gnu.org/onlinedocs/cppinternals/Guard-Macros.html
Signed-off-by: Mike Gelfand <mikedld@mikedld.com >
2025-11-21 15:20:11 +01:00
Mike Gelfand
f40bfb5ca9
dix: move include guards up to wrap the whole file
...
See: https://gcc.gnu.org/onlinedocs/cppinternals/Guard-Macros.html
Signed-off-by: Mike Gelfand <mikedld@mikedld.com >
2025-11-21 15:20:11 +01:00
Mike Gelfand
c662acf4cc
composite: move include guards up to wrap the whole file
...
See: https://gcc.gnu.org/onlinedocs/cppinternals/Guard-Macros.html
Signed-off-by: Mike Gelfand <mikedld@mikedld.com >
2025-11-21 15:20:11 +01:00
Mike Gelfand
d7e0b9e5c2
xext: move include guards up to wrap the whole file
...
See: https://gcc.gnu.org/onlinedocs/cppinternals/Guard-Macros.html
Signed-off-by: Mike Gelfand <mikedld@mikedld.com >
2025-11-21 15:20:11 +01:00
alex14fr
d655cc145d
Add module ABI tag to fix "Xorg -configure" ("No output driver" message).
...
The driver directory name now includes a version tag, and the configure code has to search in the right directory.
Signed-off-by: alex14fr <alex14fr@gmail.com >
2025-11-21 14:49:11 +01:00
stefan11111
7293fc12fe
modesetting: map gbm bo's if possible
...
Signed-off-by: stefan11111 <stefan11111@shitposting.expert >
2025-11-21 10:17:51 +01:00
Oleh Nykyforchyn
9db422c1ca
xfree86: add MatchLayout entry to OutputClass
...
It is patch 2/2 of a series that provides a convenient way to specify
module search paths on a per-driver basis.
This entry proved to be useful in InputClass, so added it to OutputClass
as well. This allows to configure graphic drivers separately depending
on server layout names.
Signed-off-by: Oleh Nykyforchyn <oleh.nyk@gmail.com >
2025-11-20 19:29:51 +01:00
Oleh Nykyforchyn
9f25f5d3f1
xfree86: make search paths configurable for certain modules
...
It is patch 1/2 of a series that provides a convenient way to specify
module search paths on a per-driver basis.
This patch allows to set ModulePath for certain modules, in particular,
GPU drivers.
Signed-off-by: Oleh Nykyforchyn <oleh.nyk@gmail.com >
2025-11-20 19:29:51 +01:00
Enrico Weigelt, metux IT consult
d66dea68af
dix: dixfonts: drop unused GetFontPath()
...
Not used anywhere, neither in Xserver nor in drivers, so no need
to keep it around any longer.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-20 19:26:32 +01:00
Enrico Weigelt, metux IT consult
0bfa59e601
Xext: sleepuntil: drop obsolete support for internal server reset
...
Not used anymore.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-20 19:26:00 +01:00
callmetango
2b21b98ad1
NEWS: updated to version 25.0.0.16
...
Updated the NEWS with the shortlogs of version 25.0.0.10 up to
25.0.0.16.
Signed-off-by: callmetango <callmetango@users.noreply.github.com >
2025-11-20 19:25:50 +01:00
Enrico Weigelt, metux IT consult
95499a9525
dix: unexport enableIndirectGLX
...
Still needs to be _X_EXPORT'ed for internal modules, but
not supposed to be visible to external drivers.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-20 19:25:41 +01:00
callmetango
9d89346c27
README.md: add configuration-less Nvidia driver support
...
Starting with version 25.0.0.16, the proprietary Nvidia driver is
autodetected and handled internally without any special configuration.
Part-of: X11Libre/misc#431
Signed-off-by: callmetango <callmetango@users.noreply.github.com >
2025-11-20 19:24:04 +01:00
Enrico Weigelt, metux IT consult
864b9f154c
pseudoramiX: drop obsolete support for internal server reset
...
Not used anymore.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-20 19:23:39 +01:00
Enrico Weigelt, metux IT consult
5c592210e7
glamor: drop special internal server reset support
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-20 19:23:32 +01:00
Enrico Weigelt, metux IT consult
44620ed67c
glx: drop internal server reset support
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-20 19:23:19 +01:00
Enrico Weigelt, metux IT consult
845642e23e
include: move PropertyPtr from property.h to window.h
...
The property.h file is deprecated and going to be removed, so move
over the typedef to window.h -- also drivers needing it already including
window.h one way or another.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-20 19:23:05 +01:00
Enrico Weigelt, metux IT consult
f0347e249c
Xext: panoramiX: drop server reset support
...
Not needed anymore.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-20 19:22:55 +01:00
Enrico Weigelt, metux IT consult
0b3aaa0369
os: drop ResetWellKnownSockets() and XdmcpReset()
...
Since internal server reset is gone, those aren't needed anymore.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-20 19:22:44 +01:00
Enrico Weigelt, metux IT consult
6a1bdcedd3
dix: unexport DeleteProperty()
...
Not used by any external driver, so no need to keep it public.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-20 19:22:35 +01:00
Enrico Weigelt, metux IT consult
40acb2d83e
dix: unexport PrintPassiveGrabs() and PrintWindowTree()
...
These are only for internal debug output, not needed for drivers.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-20 19:22:18 +01:00
Enrico Weigelt, metux IT consult
8059c260c2
dix: unexport XIUnregisterPropertyHandler() and XIDeleteAllDeviceProperties()
...
Not used by any external drivers, so no need to keep the exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-20 19:21:37 +01:00
Enrico Weigelt, metux IT consult
93dd3049e9
include: dixfont.h: drop unused NullDIXFontProp and DIXFontPropPtr
...
Not used anywhere, so no need to keep them around any longer.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-20 19:21:03 +01:00
Enrico Weigelt, metux IT consult
f24822c2b5
rootless: drop obsolete support for internal server reset
...
Not used anymore.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-20 19:20:51 +01:00
Enrico Weigelt, metux IT consult
416f69eb88
include: misc.h: unexport lowbit() macro
...
Not used by any drivers.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-20 19:20:07 +01:00
Enrico Weigelt, metux IT consult
44077ee11c
dix: unexport screenIsSaved and HasSaverWindow()
...
These aren't used by any external drivers, so no need to keep them public.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-20 17:52:23 +01:00
Enrico Weigelt, metux IT consult
80f49ee703
randr: drop internal server reset support
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-20 17:44:39 +01:00
Enrico Weigelt, metux IT consult
b0ac921156
dix: unexport GrabInProgress
...
Only internally within OS layer and screen saver logic,
so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-20 17:42:29 +01:00
Enrico Weigelt, metux IT consult
805dec1661
include: drop obsolete hotplug.h
...
Nobody's including it anymore, so no need to keep it around any longer.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-20 16:37:03 +01:00
Enrico Weigelt, metux IT consult
bde7f54a40
xkb: drop special generation magic on atom initialization
...
dixAddAtom() is safe to call multiple times with same name,
always return the corresponding XID, no matter whether the
atom just been newly created or already existed.
Thus, there's no need for special server generation treatment here.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-20 16:36:29 +01:00
Enrico Weigelt, metux IT consult
f161a014f1
os: xdmcp: drop server reset support
...
Not needed anymore.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-20 16:36:04 +01:00
Enrico Weigelt, metux IT consult
062a930f3c
kdrive: drop obsolete support for internal server reset
...
Not used anymore.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-20 16:35:50 +01:00
Enrico Weigelt, metux IT consult
8c93d4e97e
.github: build the xf86-video-geode driver
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-20 16:35:06 +01:00
Enrico Weigelt, metux IT consult
26cc922cd3
.github: build the xf86-video-apm driver
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-20 16:03:40 +01:00