Commit Graph

22487 Commits

Author SHA1 Message Date
Enrico Weigelt, metux IT consult
8df3927670 Xi: use REQUEST_HEAD_STRUCT and REQUEST_FIELD_* macros
Use the new macros to make request struct parsing / field swapping
much easier.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-31 16:57:20 +01:00
Enrico Weigelt, metux IT consult
ca957541d9 composite: use REPLY_*() macros for preparing / sending replies
Use the new macros for preparing and sending replies to clients.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-31 16:57:20 +01:00
Enrico Weigelt, metux IT consult
70fa26fa85 damage: use REPLY_*() macros for preparing / sending replies
Use the new macros for preparing and sending replies to clients.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-31 16:57:20 +01:00
Enrico Weigelt, metux IT consult
50036724dd Xext: xv: use REPLY_*() macros for preparing / sending replies
Use the new macros for preparing and sending replies to clients.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-31 16:57:20 +01:00
Enrico Weigelt, metux IT consult
237ff20eb5 Xext: xv: use REQUEST_HEAD_STRUCT and REQUEST_FIELD_* macros
Use the new macros to make request struct parsing / field swapping
much easier.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-31 16:57:20 +01:00
Enrico Weigelt, metux IT consult
39d6fa6591 Xext: xtest: use REPLY_*() macros for preparing / sending replies
Use the new macros for preparing and sending replies to clients.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-31 16:57:20 +01:00
Enrico Weigelt, metux IT consult
3624d66cd0 Xext: xtest: use REQUEST_HEAD_STRUCT and REQUEST_FIELD_* macros
Use the new macros to make request struct parsing / field swapping
much easier.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-31 16:57:20 +01:00
Enrico Weigelt, metux IT consult
ce9278aca0 Xext: selinux: use REPLY_*() macros for preparing / sending replies
Use the new macros for preparing and sending replies to clients.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-31 16:57:20 +01:00
Enrico Weigelt, metux IT consult
8d6d2fcb14 Xext: xres: use REPLY_*() macros for preparing / sending replies
Use the new macros for preparing and sending replies to clients.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-31 16:57:20 +01:00
Enrico Weigelt, metux IT consult
6363f790cb Xext: xf86bigfont: use REPLY_*() macros for preparing / sending replies
Use the new macros for preparing and sending replies to clients.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-31 16:57:20 +01:00
Enrico Weigelt, metux IT consult
a2b5e96882 Xext: xcmisc: use REPLY_*() macros for preparing / sending replies
Use the new macros for preparing and sending replies to clients.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-31 16:57:20 +01:00
Enrico Weigelt, metux IT consult
a4142d80ec Xext: vidmode: use REPLY_*() macros for preparing / sending replies
Use the new macros for preparing and sending replies to clients.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-31 16:57:20 +01:00
Enrico Weigelt, metux IT consult
0b3029022b Xext: sync: use REPLY_*() macros for preparing / sending replies
Use the new macros for preparing and sending replies to clients.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-31 16:57:20 +01:00
Enrico Weigelt, metux IT consult
8cc1a18f9c Xext: security: use REPLY_*() macros for preparing / sending replies
Use the new macros for preparing and sending replies to clients.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-31 16:57:20 +01:00
Enrico Weigelt, metux IT consult
4ce9b278ad Xext: security: use REQUEST_HEAD_STRUCT and REQUEST_FIELD_* macros
Use the new macros to make request struct parsing / field swapping
much easier.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-31 16:57:20 +01:00
Enrico Weigelt, metux IT consult
398c3b204b Xext: geext: use REPLY_*() macros for preparing / sending replies
Use the new macros for preparing and sending replies to clients.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-31 16:57:20 +01:00
Enrico Weigelt, metux IT consult
086a43cbf6 Xext: shm: use REPLY_*() macros for preparing / sending replies
Use the new macros for preparing and sending replies to clients.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-31 16:57:20 +01:00
Enrico Weigelt, metux IT consult
dc049e31e7 Xext: bigreq: use REPLY_*() macros for preparing / sending replies
Use the new macros for preparing and sending replies to clients.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-31 16:57:20 +01:00
Enrico Weigelt, metux IT consult
8873f9a9c5 Xext: shape: use REPLY_*() macros for preparing / sending replies
Use the new macros for preparing and sending replies to clients.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-31 16:57:20 +01:00
Enrico Weigelt, metux IT consult
e4d8e4b498 Xext: shape: use REQUEST_HEAD_STRUCT and REQUEST_FIELD_* macros
Use the new macros to make request struct parsing / field swapping
much easier.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-31 16:57:20 +01:00
Enrico Weigelt, metux IT consult
d0159bce03 Xext: saver: use REPLY_*() macros for preparing / sending replies
Use the new macros for preparing and sending replies to clients.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-31 16:57:20 +01:00
Enrico Weigelt, metux IT consult
a2baa34c11 Xext: dpms: use REPLY_*() macros for preparing / sending replies
Use the new macros for preparing and sending replies to clients.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-31 16:57:20 +01:00
Enrico Weigelt, metux IT consult
aa697d6e7c include: dix.h: add macros for request handlers and swapping
add some macros for making request handlers easier:

    * REQUEST_HEAD_STRUCT() declares a struct and checks size (assuming
      length field already had been swapped)
    * REQUEST_FIELD_CARD16() swaps a CARD16 (word) if neccessary
    * REQUEST_FIELD_CARD32() swaps a CARD32 (dword) if neccessary

How to use them:

    1. move swapping of lengths field into the SProc*Dispatch() and drop it
       from the individual SProc*()'s
    2. put REQUEST_HEAD_STRUCT() ontop of each Proc*()
    3. add REQUEST_FIELD_*() below, for all fields to be swapped and
       drop their swapping from the SProc*()'s
    4. clean up unnecessary wrappers (SProc*()'s just be just call the
       corresponding Proc*() by now)
    5. let demux SProc just swap length field and call the normal Proc*Dispatch()

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-31 16:57:20 +01:00
Enrico Weigelt, metux IT consult
2c96a0a013 Xi: use REQUEST_HEAD_STRUCT and REQUEST_FIELD_* macros
Use the new macros to make request struct parsing / field swapping
much easier.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-31 16:57:20 +01:00
Enrico Weigelt, metux IT consult
620f5d1531 WIP Xext: panoramiX: use REQUEST_HEAD_STRUCT and REQUEST_FIELD_* macros
Use the new macros to make request struct parsing / field swapping
much easier.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-31 16:57:20 +01:00
Enrico Weigelt, metux IT consult
f319885746 [PR #1526] Xext: shape: use REQUEST_HEAD_STRUCT and REQUEST_FIELD_* macros
PR: https://github.com/X11Libre/xserver/pull/1526
2026-01-31 16:57:20 +01:00
Enrico Weigelt, metux IT consult
f90247594b [PR #1531] Xext: sync: use REQUEST_HEAD_STRUCT and REQUEST_FIELD_* macros
PR: https://github.com/X11Libre/xserver/pull/1531
2026-01-31 16:57:20 +01:00
Enrico Weigelt, metux IT consult
2877d2749e [PR #1532] Xext: vidmode: use REQUEST_HEAD_STRUCT and REQUEST_FIELD_* macros
PR: https://github.com/X11Libre/xserver/pull/1532
2026-01-31 16:57:20 +01:00
Enrico Weigelt, metux IT consult
b7688176ae [PR #1533] Xext: xcmisc: use REQUEST_HEAD_STRUCT and REQUEST_FIELD_* macros
PR: https://github.com/X11Libre/xserver/pull/1533
2026-01-31 16:57:20 +01:00
Enrico Weigelt, metux IT consult
b3ff411462 [PR #1534] Xext: xf86bigfont: use REQUEST_HEAD_STRUCT and REQUEST_FIELD_* macros
PR: https://github.com/X11Libre/xserver/pull/1534
2026-01-31 16:57:20 +01:00
Enrico Weigelt, metux IT consult
b9affb4db9 [PR #1538] Xext: xv: use REQUEST_HEAD_STRUCT and REQUEST_FIELD_* macros
PR: https://github.com/X11Libre/xserver/pull/1538
2026-01-31 16:57:20 +01:00
Enrico Weigelt, metux IT consult
766e5ba8ae [PR #1544] xkb: use REQUEST_HEAD_STRUCT and REQUEST_FIELD_* macros
PR: https://github.com/X11Libre/xserver/pull/1544
2026-01-31 16:57:20 +01:00
Enrico Weigelt, metux IT consult
ad8d73dd52 [PR #1545] dbe: use REQUEST_HEAD_STRUCT and REQUEST_FIELD_* macros
PR: https://github.com/X11Libre/xserver/pull/1545
2026-01-31 16:57:19 +01:00
Enrico Weigelt, metux IT consult
3e4bb9a0d9 xfree86: exa: drop ifdef HAVE_XORG_CONFIG_H
Not really needed, because <xorg-config.h> is always present anyways.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-30 17:54:30 +01:00
Enrico Weigelt, metux IT consult
eb499ff4d5 xfree86: dri: drop ifdef HAVE_XORG_CONFIG_H
Not really needed, because <xorg-config.h> is always present anyways.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-30 17:54:30 +01:00
Enrico Weigelt, metux IT consult
0c3a471c4c xfree86: drivers: drop ifdef HAVE_XORG_CONFIG_H
Not really needed, because <xorg-config.h> is always present anyways.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-30 17:54:30 +01:00
Enrico Weigelt, metux IT consult
8ffab59ad2 xfree86: loader: drop ifdef HAVE_XORG_CONFIG_H
Not really needed, because <xorg-config.h> is always present anyways.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-30 17:54:30 +01:00
Enrico Weigelt, metux IT consult
f5eb6b6c57 xfree86: dixmods: drop ifdef HAVE_XORG_CONFIG_H
Not really needed, because <xorg-config.h> is always present anyways.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-30 17:54:30 +01:00
Enrico Weigelt, metux IT consult
f949ddea88 xfree86: i2c: drop ifdef HAVE_XORG_CONFIG_H
Not really needed, because <xorg-config.h> is always present anyways.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-30 17:54:30 +01:00
Enrico Weigelt, metux IT consult
2f2ecad0b5 xfree86: int10: drop ifdef HAVE_XORG_CONFIG_H
Not really needed, because <xorg-config.h> is always present anyways.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-30 17:54:30 +01:00
Enrico Weigelt, metux IT consult
e1111ead5c xfree86: modes: drop ifdef HAVE_XORG_CONFIG_H
Not really needed, because <xorg-config.h> is always present anyways.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-30 17:54:30 +01:00
Enrico Weigelt, metux IT consult
0111a3cc9e xfree86: ddc: drop ifdef HAVE_XORG_CONFIG_H
Not really needed, because <xorg-config.h> is always present anyways.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-30 17:54:30 +01:00
Enrico Weigelt, metux IT consult
73dd3a470f xfree86: common: drop ifdef HAVE_XORG_CONFIG_H
Not really needed, because <xorg-config.h> is always present anyways.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-30 17:54:30 +01:00
Enrico Weigelt, metux IT consult
f7e5867927 xfree86: os-support: drop ifdef HAVE_XORG_CONFIG_H
Not really needed, because <xorg-config.h> is always present anyways.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-30 17:54:30 +01:00
Enrico Weigelt, metux IT consult
8b8c9b9200 xfree86: move pci_device_is_boot_display to priv header and document it
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-30 17:35:40 +01:00
Enrico Weigelt, metux IT consult
705a3a9978 xfree86: drop obsolete xf86PciInfo.h
Nobody's using this file anymore, so no need to keep it any longer.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-30 17:34:29 +01:00
Enrico Weigelt, metux IT consult
431082ba9f .github: update xf86-video-v4l to 25.0.1
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-30 17:12:24 +01:00
Enrico Weigelt, metux IT consult
05d2b20e20 xfree86: move xf86_platform_device_odev_attributes() into private header
Not used by external drivers, and not part of ABI (just an inline),
so no need to keep it it public SDK header.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-30 12:49:00 +01:00
Enrico Weigelt, metux IT consult
b9c5787ca5 xfree86: ddc: interpret_edid.c: minor whitespace fixes
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-29 19:00:23 +01:00
Enrico Weigelt, metux IT consult
55d317dd50 xfree86: ddc: move some defines into private header
Those aren't used by any external driver, so no need to keep them public.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-29 17:32:21 +01:00