Commit Graph

22271 Commits

Author SHA1 Message Date
Enrico Weigelt, metux IT consult
b4dd69f5e2 .github: compile-drivers.sh: add xf86-video-fbdev driver
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-16 16:19:54 +01:00
Enrico Weigelt, metux IT consult
4db8a55335 .github: compile-drivers.sh: add xf86-video-suncg3 driver
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-16 16:19:43 +01:00
Enrico Weigelt, metux IT consult
224a2f9d9d .github: compile-drivers.sh: add xf86-video-xgi driver
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-16 16:02:02 +01:00
stefan11111
63f2422475 glx: include: meson_options.txt: Allow disabling DRI glx backends
This allows building the X server with glx and without mesa.
This also makes the X server optionally no longer be a loader for dri drivers.

Fixes: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1638
Fixes: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1819

Signed-off-by: stefan11111 <stefan11111@shitposting.expert>
2025-12-16 15:56:04 +01:00
Enrico Weigelt, metux IT consult
972d57d5da .github: compile-drivers.sh: add xf86-video-cirrus driver
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-16 15:48:39 +01:00
Enrico Weigelt, metux IT consult
e08b62dfd1 .github: compile-drivers.sh: add xf86-video-suncg14 driver
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-16 15:47:49 +01:00
Enrico Weigelt, metux IT consult
f8bedcfcf4 .github: compile-drivers.sh: add xf86-video-chips driver
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-16 15:23:59 +01:00
Enrico Weigelt, metux IT consult
95cbd454a3 .github: compile-drivers.sh: add xf86-video-sisusb driver
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-16 15:23:48 +01:00
Enrico Weigelt, metux IT consult
a3324f0489 .github: compile-drivers.sh: add xf86-video-sis driver
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-16 15:00:18 +01:00
Enrico Weigelt, metux IT consult
736a2996af .github: compile-drivers.sh: add xf86-video-siliconmotion driver
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-16 14:36:39 +01:00
Enrico Weigelt, metux IT consult
5e7b2262c0 .github: compile-drivers.sh: add xf86-video-savage driver
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-16 14:19:09 +01:00
Enrico Weigelt, metux IT consult
ce234d6c83 .github: compile-drivers.sh: add xf86-video-s3virge driver
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-16 13:35:24 +01:00
Enrico Weigelt, metux IT consult
6c5eb9531b .github: compile-drivers.sh: add xf86-video-rendition driver
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-16 13:08:31 +01:00
Enrico Weigelt, metux IT consult
0652139616 .github: compile-drivers.sh: add xf86-video-nv driver
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-16 12:36:09 +01:00
Enrico Weigelt, metux IT consult
6da23165f0 .github: compile-drivers.sh: add xf86-video-nested driver
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-16 12:13:34 +01:00
Enrico Weigelt, metux IT consult
5c16c95b1e .github: compile-drivers.sh: add xf86-video-neomagic driver
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-16 10:57:00 +01:00
Enrico Weigelt, metux IT consult
bf419810be .github: compile-drivers.sh: add xf86-video-mga driver
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-16 10:19:06 +01:00
b-aaz
b71e2a9a23 arm_video.c: Fixed xf86_os_support.h's #include.
The 'h' in the file suffixed was mistakenly removed, fixed it.

Signed-off-by: b-aaz <b-aazbsd@proton.me>
2025-12-15 19:43:54 +01:00
Enrico Weigelt, metux IT consult
60bd133f3c .github: compile-drivers.sh: add xf86-video-mach driver
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-15 19:24:18 +01:00
Enrico Weigelt, metux IT consult
da25ef3fd1 .github: compile-drivers.sh: add xf86-video-i740 driver
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-15 19:07:25 +01:00
Enrico Weigelt, metux IT consult
74bc20c405 .github: compile-drivers.sh: add xf86-video-i128 driver
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-15 18:42:53 +01:00
Enrico Weigelt, metux IT consult
86cb54da18 .github: compile-drivers.sh: add xf86-video-ast driver
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-15 17:23:46 +01:00
Enrico Weigelt, metux IT consult
b32023cc83 .gitlab: compile-drivers.sh: add xf86-video-ark driver
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-15 17:02:13 +01:00
Enrico Weigelt, metux IT consult
c7cf6352ba .github: compile-drivers: compile the xf86-input-wacom driver
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-15 16:16:40 +01:00
Enrico Weigelt, metux IT consult
b59d974790 .github: build xf86-input-void driver
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-15 15:29:12 +01:00
Enrico Weigelt, metux IT consult
13af228c6b .github: compile xf86-input-vmmouse driver
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-15 14:39:36 +01:00
Aggelos Tselios
729f471b9e dix: move alwaysCheckForInput declaration to first use
Move the declaration of alwaysCheckForInput closer to where it is first
used and initialize it at declaration rather than assigning it later.

Signed-off-by: Aggelos Tselios <aggelostselios777@gmail.com>
2025-12-15 14:10:59 +01:00
Enrico Weigelt, metux IT consult
bd3e74e1b1 .github: compile-drivers: build joystick driver
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-15 14:04:09 +01:00
Enrico Weigelt, metux IT consult
a1b8aaa942 .github: scripts: compile-drivers.sh: consolidate driver list
Since all repo URLs and tags are following a common scheme, we can
reduce boilderplate by computing them by driver and and version only.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-15 13:35:14 +01:00
Enrico Weigelt, metux IT consult
ac4f691831 .github: use tags for building mouse and keyboard driver
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-15 13:18:32 +01:00
Enrico Weigelt, metux IT consult
3fece7d7a6 .gitub: add NetBSD 10.1 build
Adding NetBSD 10.1 build to our CI pipelines.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-15 12:15:12 +01:00
Enrico Weigelt, metux IT consult
a897fecfcf .github: scripts: git-smart-checkout.sh
pull submodules if existing

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-15 10:25:25 +01:00
Enrico Weigelt, metux IT consult
857e397c15 os: Xtranssock: fix (signed) char array subscript
>  In file included from /usr/include/ctype.h:100,
>                   from ../include/misc.h:154,
>                   from ../include/os.h:51,
>                   from ../os/Xtransint.h:256,
>                   from ../os/transport.c:57:
> ../os/Xtranssock.c: In function ‘is_numeric’:
> ../os/Xtranssock.c:217:19: error: array subscript has type ‘char’ [-Werror=char-subscripts]
>    217 |  if (!isdigit (str[i]))
>        |                   ^

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-14 11:27:49 +01:00
Enrico Weigelt, metux IT consult
aafd986528 glx: fix (signed) char array subscript
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-14 11:26:15 +01:00
Enrico Weigelt, metux IT consult
c95748921a xfree86: drop obsolete xf86SetTVOut() and xf86SetRGBOut()
These are only defined on NetBSD and not used anywhere, and not
functional at all (just killing the Xserver). No need to carry
them around any longer.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-14 11:24:39 +01:00
Enrico Weigelt, metux IT consult
9a54f4b908 os: enable UNIX sockets on Mingw32
Mingw32 also supports unix sockets, so no need to disable them here.

Since it's now always enabled, follow-up commits can now drop all the
extra #ifdef's on UNIXCONN and so reduce complexity.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-14 11:03:00 +01:00
Enrico Weigelt, metux IT consult
16d4d44551 os: drop symbol TCPCONN
It's been always enabled for aeons, so no practical need to
disable it.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-13 15:59:07 +01:00
Enrico Weigelt, metux IT consult
7ba4f6a2b6 os: xtrans: define trans_mkdir() when UNIXCONN is enabled
trans_mkdir() is needed for unix sockets, so the correct switch is
UNIXCONN, instead of WIN32.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-13 15:46:11 +01:00
Oleh Nykyforchyn
ee73f84c65 xfree86/common: make screenConfig take autoAddGPU into account
This patch puts configServerFlags() before configScreen()'s and
makes the latter to use xf86Info.autoAddGPU value.

Fixes: https://github.com/X11Libre/xserver/issues/1658
Signed-off-by: Oleh Nykyforchyn <oleh.nyk@gmail.com>
2025-12-13 15:27:06 +01:00
Enrico Weigelt, metux IT consult
0292d41748 .github: enable -Werror on mingw32
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-12 19:41:55 +01:00
Enrico Weigelt, metux IT consult
43c5b45f4a mingw32: fix winsock2.h include
winsock2.h needs to be included before windows.h

> /usr/share/mingw-w64/include/winsock2.h:15:2: error: #warning Please include winsock2.h before windows.h [-Werror=cpp]
>    15 | #warning Please include winsock2.h before windows.h
>       |  ^~~~~~~

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-12 19:41:55 +01:00
Enrico Weigelt, metux IT consult
3c2bf225ca xnest: silence type mismatch warning on ming32
KeySym and xcb_keysym_t should both be 32bit, but for the compiler
they're long vs int, so it's spitting out a warning here. That's
coming from xorgproto's weird way of defining those types.

Add static type size assert and hard typecast to silence it.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-12 19:41:55 +01:00
Enrico Weigelt, metux IT consult
a712daada2 exa: silence calloc() warning on mingw32
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-12 19:41:55 +01:00
Enrico Weigelt, metux IT consult
1e66e2e02d meson.build: disable suggest-attribute=format warning on mingw32
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-12 19:41:55 +01:00
Enrico Weigelt, metux IT consult
8e872d69be .github: temporary disable job purge job
It's failing too often due rate limits etc.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-12 16:31:28 +01:00
Enrico Weigelt, metux IT consult
005993d888 .github: enable -Werror on FreeBSD
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-12 15:27:14 +01:00
Enrico Weigelt, metux IT consult
777baa343b .github: enable -Werror on Dragonfly BSD
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-12 14:45:41 +01:00
Alan Coopersmith
1e5c56eb9a os: Use EVP APIs when building with OpenSSL 3
Avoids deprecation warnings for old SHA1 APIs in OpenSSL 3.0 and later

Closes: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1845
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2066>
2025-12-12 14:28:18 +01:00
Alan Coopersmith
2fe12aa2b0 test: add unit tests for x_sha1_* functions in os/xsha1.
Simple confirmation of known values, not exhaustive testing.

Tested with SHA-1 implementations from:
 - libcrypto (OpenSSL 3)
 - libgcrypt
 - libnettle
 - Solaris libmd

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2066>
2025-12-12 14:28:18 +01:00
Enrico Weigelt, metux IT consult
4609d2e5e8 dix: Dispatch() separate variable for read result
Mixing result variables for separate things is making the code hard
to understand, so add a new local variable for temporarily storing
the result of ReadRequestFromClient().

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-12 13:49:15 +01:00