Commit Graph

20465 Commits

Author SHA1 Message Date
Enrico Weigelt, metux IT consult 64a11f754f xfree86: xf86.h: make xf86DisableInputHandler() static
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-22 17:35:12 +02:00
Enrico Weigelt, metux IT consult b2c28625dd xfree86: xf86.h: make xf86DoShowOptions field static
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-22 17:35:12 +02:00
Enrico Weigelt, metux IT consult 51f19fef75 xfree86: xf86.h: drop unused xf86UpdateDesktopDimensions()
Not used anywhere, so no need to keep it around anymore.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-22 17:35:12 +02:00
Enrico Weigelt, metux IT consult 6b53ff6f42 xfree86: xf86.h: drop unused xf86RandRSetNewVirtualAndDimensions()
Not used anywhere, so no need to keep it around anymore.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-22 17:35:12 +02:00
Enrico Weigelt, metux IT consult 7f736a28cd xf86.h: drop unused xf86GetRotation()
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-22 17:35:12 +02:00
Enrico Weigelt, metux IT consult a1b7b019c6 xf86.h: drop unused xf86IsScreenPrimary() 2025-05-22 17:35:12 +02:00
Enrico Weigelt, metux IT consult 2b97da23f3 xf86.h: drop unused xf86FindXvOptions() 2025-05-22 17:35:12 +02:00
Enrico Weigelt, metux IT consult 3ff0ca9dd5 xf86.h: drop unused xf86GetModInDevEnabled() 2025-05-22 17:35:12 +02:00
Enrico Weigelt, metux IT consult c6ceacc549 xf86: drop unused xf86GetModInDevAllowNonLocal() 2025-05-22 17:35:12 +02:00
Enrico Weigelt, metux IT consult 67ff8e5873 xf86.h: drop unused xf86ServerIsResetting() 2025-05-22 17:35:12 +02:00
Enrico Weigelt, metux IT consult 320e060ca8 xf86: drop unused xf86GetWeight() 2025-05-22 17:35:12 +02:00
Enrico Weigelt, metux IT consult ed64dca5dc xf86.h: drop unused xf86GetDepth() 2025-05-22 17:35:12 +02:00
Enrico Weigelt, metux IT consult 047c04927f xf86.h: xf86PrintBacktrace 2025-05-22 17:35:12 +02:00
Enrico Weigelt, metux IT consult f7bd1172ed xf86.h: drop xf86RemoveInputHandler 2025-05-22 17:35:12 +02:00
Enrico Weigelt, metux IT consult 9f8d6a7d4f xf86.h: drop xf86AddInputHandler 2025-05-22 17:35:12 +02:00
Enrico Weigelt, metux IT consult 2e4597860c xf86.h: drop unused xf86GetFbInfoForScreen() 2025-05-22 17:35:12 +02:00
Enrico Weigelt, metux IT consult 6f70cbf0e7 xf86.h: drop BOOLTOSTRING 2025-05-22 17:35:12 +02:00
Enrico Weigelt, metux IT consult c10cbbd2a4 xf86.h: drop XF86FLIP_PIXELS 2025-05-22 17:35:12 +02:00
Enrico Weigelt, metux IT consult 4a39efdbe2 xfree86: xf86Config: drop unused xf86DRI2Enabled()
Not used anywhere, so no need to keep it around any longer.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-22 17:35:12 +02:00
Enrico Weigelt, metux IT consult 540448bc83 xfree86: xf86Config: consolidate xf86configptr declarations
Instead of having several separate exern declarations in various
source files, using one central one xf86Config.h

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-22 17:35:12 +02:00
Enrico Weigelt, metux IT consult 8fb5e2e589 xfree86: xf86Config: unexport xf86configptr
Not used by any external drivers, and this header isn't even installed
in the SDK, so no need to keep this field exported.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-22 17:35:12 +02:00
Enrico Weigelt, metux IT consult b94952f3b3 randr: replace RRPropertyValueRec by PropertyValueRec
Use the new PropertyValueRec instead of RRPropertyValueRec. The old name
is aliased to the new one, so external drivers still compile.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-22 17:35:11 +02:00
Enrico Weigelt, metux IT consult 21bde5a1f0 Xi: replace XIPropertyValueRec by PropertyValueRec
Use the new PropertyValueRec instead of XIPropertyValueRec. The old name
is aliased to the new one, so external drivers still compile.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-22 17:35:11 +02:00
Enrico Weigelt, metux IT consult 9a0071a4c7 dix: add deletable field to PropertyRec
Preparational step for later using this struct for XI.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-22 17:35:11 +02:00
Enrico Weigelt, metux IT consult 967c5baa0c dix: split off PropertyRec's data field to separate record
Doing it the same way several extensions (eg. XI and randr) do it,
so we can consolidate things here.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-22 17:35:11 +02:00
Enrico Weigelt, metux IT consult 264254d9f3 dix: add dixPropertyUnlinkPtr()
This function shall be used for unlinking (but not destroying) property
from a property list.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-22 17:35:11 +02:00
Enrico Weigelt, metux IT consult 0a7d5a4fd1 dix: add dixPropertyCreate()
This function shall be used for creating an entirely new property
structure from given data.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-22 17:35:11 +02:00
Enrico Weigelt, metux IT consult 602d521be4 dix: add dixPropertyFree()
This function should be used for free'ing an individual Property
structure, along with associated data.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-22 17:35:11 +02:00
Enrico Weigelt, metux IT consult 3fb47e6e9e xnest 2025-05-22 17:35:11 +02:00
Enrico Weigelt, metux IT consult 402c4a97e8 hack: meson.build: enable analyzer 2025-05-22 17:35:11 +02:00
Enrico Weigelt, metux IT consult 69f97750ce .github: workflow for building Xservers and some drivers
Add a github workflow that builds the Xservers on Linux and also
runs build-test of several common drivers against xorg sdk.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-22 17:35:11 +02:00
Enrico Weigelt, metux IT consult 91932206b0 xwin: fix NULL parameter in printf arguments
> ../hw/xwin/winprefs.c:625:9: warning: ‘%s’ directive argument is null [-Wformat-overflow=]
>  625 |         ErrorF("LoadPreferences: %s not found\n", path);
>      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-22 17:35:11 +02:00
Enrico Weigelt, metux IT consult b11c4c7608 it's time to add a CoC (code of conduct)
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-22 17:35:11 +02:00
Enrico Weigelt, metux IT consult ec59a9b272 WIP: fix driver builds 2025-05-22 17:35:11 +02:00
Enrico Weigelt, metux IT consult 67b19a5cac WIP 2025-05-22 17:35:11 +02:00
Enrico Weigelt, metux IT consult e3d7f5e272 xkb: unexport XkbRF_VarDefsRec struct
No used outside of xkb, so no need to keep it in public API header.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-22 17:35:11 +02:00
Enrico Weigelt, metux IT consult 51e824aa69 (nomerge) mark includes that have been scanned for obsolete exports
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-22 17:35:11 +02:00
Enrico Weigelt, metux IT consult bb21913cfd HACK: keep ming32 build artifacts 2025-05-22 17:35:11 +02:00
Enrico Weigelt, metux IT consult b4b4ed05da (nomerge) use incubator branch of xf86-video-intel
This queue still depends on some fixes in intel driver that haven't
been merged yet.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-22 17:35:11 +02:00
Enrico Weigelt, metux IT consult b10c327468 mi: miInitVisuals: clean up variable declarations
The code is easier to understand when variables are declared where they're
used for the first time, scoped to where they're needed and not reused
for separate things.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-22 17:35:11 +02:00
Enrico Weigelt, metux IT consult 715ad7c7f5 xnest: add pixmap depths to global depth list
Right now, we're only registering the depths of our visuals, which are
mirroring upstream's visuals. But forgotten to register the pixmap depths
that don't have an assiocated visual.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-22 17:35:11 +02:00
Enrico Weigelt, metux IT consult 247c3321f9 (nomerge) ci: always build with drivers 2025-05-22 17:35:11 +02:00
Enrico Weigelt, metux IT consult a1e2f9db3f ci: freebsd: fix missing xcb-aux and xcb-util-wm
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-22 17:35:11 +02:00
Enrico Weigelt, metux IT consult 7014941181 (!1675) ci: enable xv and xvmc
Needed for the xf86-video-intel driver, so we should build-test it.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-22 17:35:11 +02:00
Enrico Weigelt, metux IT consult caaf5c65d9 (!1696) ci: build more drivers
Increase driver build test coverage by adding more drivers.
Only left out those which won't compile on Linux (yet).

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-22 17:35:11 +02:00
Enrico Weigelt, metux IT consult 981186f6fd ci: update driver versions
Lots of drivers have received changes that might also be API related.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-22 17:35:11 +02:00
Enrico Weigelt, metux IT consult ead885b6e6 ci: upgrade libdrm to 2.4.121
Needed for newer version of amdgpu driver.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-22 17:35:11 +02:00
Enrico Weigelt, metux IT consult df1bf789ac (!1853) dix: unexport ResizeVisualArray()
Not used by any drivers, and shouldn't be used by them.
Needs to _X_EXPORT'ed, as long as glx is a separate module.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-22 17:35:11 +02:00
Enrico Weigelt, metux IT consult 8aff1ee685 (!1854) Xi: unexport AssignTypeAndName()
Not used by any external drivers, so no need to keep it exported.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-22 17:35:11 +02:00
Enrico Weigelt, metux IT consult c57f362b8c (!1792) os: drop own implementation of strcasecmp() and strncasecmp()
These are POSIX standard since 2001, so shouldn't be needed anymore.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-22 17:35:11 +02:00