Enrico Weigelt, metux IT consult
446fbe761d
Xext: xvmc: 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
a2dbf4a53c
Xext: xvmc: 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
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
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
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
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
stefan11111
2ba1b0b06f
Revert 5d3490d135
...
We can't free driverNames[i], because it's part of abi,
and other drivers might give us statically-allocated strings.
Fixes : #1848
Signed-off-by: stefan11111 <stefan11111@shitposting.expert >
2026-01-27 19:15:50 +01:00
stefan11111
fa5db91243
Xext/xvdisp.c: Add missing padding to ProcXvQueryEncodings
...
Signed-off-by: stefan11111 <stefan11111@shitposting.expert >
2026-01-27 19:15:27 +01:00
Enrico Weigelt, metux IT consult
080413fe1f
Xext: damage: DamageExtSetCritical() replace Bool by bool
...
Prefer C standard stdbool over Xlib's own type.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2026-01-22 08:58:36 +01:00
Aggelos Tselios
2683973d51
Xext: namespace: Allow using tabs as delimeters
...
Allow the parseLine() function to use tabs alongside spaces to separate
tokens. Without this patch, using tabs in the config file actually
confuses the parser and makes it think that the tab is part of the
option's name.
Signed-off-by: Aggelos Tselios <aggelostselios777@gmail.com >
2026-01-22 08:57:15 +01:00
Aggelos Tselios
f9ddcbd9ae
Xext: namespace: Properly document parseLine() function
...
The previous comment made no sense. Add a proper comment to document the
function instead.
Signed-off-by: Aggelos Tselios <aggelostselios777@gmail.com >
2026-01-22 08:57:15 +01:00
squishypinkelephant
02f1efe2bc
Xext: shape: replace ShapeEventType resource by devPrivate
...
Instead of abusing resource types, use the standard devPrivate
mechanism for assigning auxillary data to windows.
Signed-off-by: squishypinkelephant <squishypinkelephant@gmail.com >
2026-01-12 10:11:55 +01:00
stefan11111
5d3490d135
Xext/dri2: Fix small memory leak.
...
Fixes: https://github.com/X11Libre/xserver/pull/1414
Fixes: https://github.com/X11Libre/xserver/issues/1413
(Fixes the small leak that was mentioned there,
not sure if there isn't a bigger one somewhere else)
Signed-off-by: stefan11111 <stefan11111@shitposting.expert >
2026-01-12 09:13:24 +01:00
stefan11111
65d4e5e081
Xext/dri2: Fix message logging
...
Signed-off-by: stefan11111 <stefan11111@shitposting.expert >
2026-01-06 19:23:34 +01:00
stefan11111
dc39eda42b
treewide: Move the dri2 extension to Xext and use it for all X servers
...
This is needed to get proton working in Xfbdev, but is probably useful in other places too.
Xephyr has some unrelated issues regaring Xinput, so steam doesn't work there.
Signed-off-by: stefan11111 <stefan11111@shitposting.expert >
2026-01-02 17:51:43 +01:00
Enrico Weigelt, metux IT consult
05fe0b519f
Xext: selinux: 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-01 13:23:22 +01:00
Enrico Weigelt, metux IT consult
8ff401cde1
Xext: xres: 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-01 13:23:22 +01:00
Enrico Weigelt, metux IT consult
a0cd40d5af
Xext: xvmc: 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-01 13:23:22 +01:00
Enrico Weigelt, metux IT consult
f122e2bb86
Xext: shm: 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-01 13:23:22 +01:00
Enrico Weigelt, metux IT consult
dcb9329b37
Xext: saver: 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-01 13:23:22 +01:00
Enrico Weigelt, metux IT consult
2a6b886563
Xext: dpms: 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-01 13:23:22 +01:00
b-aaz
8368df64d1
Xext: xf86bigfont: Include osdep.h for OsSignal.
...
osdep.h holds the definition for OsSignal, and it was not included in
xf86bigfont which used it. This lead to build errors on Cygwin.
Signed-off-by: b-aaz <b-aazbsd@proton.me >
2025-12-21 12:59:03 +01:00
b-aaz
7f7efe8195
Revert 9a82f5c, bring back Cygwin support.
...
Brought back the code removed in that commit so that we can bring back
Cygwin support.
Small changes are done in the process of resolving conflicts against the
current head.
Some checks have not been reverted, because they were not necessary
anymore.
Signed-off-by: b-aaz <b-aazbsd@proton.me >
2025-12-21 12:59:03 +01:00
Enrico Weigelt, metux IT consult
9bd66fc97d
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 >
2025-12-21 12:04:33 +01:00
Enrico Weigelt, metux IT consult
e85db86ced
Xext: damage: 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 >
2025-12-21 12:01:33 +01:00
Enrico Weigelt, metux IT consult
ec973853c9
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 >
2025-12-21 11:57:12 +01:00
Enrico Weigelt, metux IT consult
6f7aa46c51
Xext: geext: 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 >
2025-12-21 11:54:29 +01:00
Enrico Weigelt, metux IT consult
2e6a9a1fbc
Xext: bigreq: 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 >
2025-12-21 11:54:12 +01:00
Enrico Weigelt, metux IT consult
7b15c8a9b4
xext: xvdisp: fix printf format
...
> ../Xext/xvdisp.c: In function ‘ProcXvListImageFormats’:
> ../Xext/xvdisp.c:1017:81: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=]
> 1017 | LogMessage(X_WARNING, "ProcXvListImageFormats() payload_len mismatch: %ld but shoud be %d\n",
> | ~~^
> | |
> | long int
> | %d
> 1018 | rpcbuf.wpos, (pPort->pAdaptor->nImages*sz_xvImageFormatInfo));
> | ~~~~~~~~~~~
> | |
> | size_t {aka unsigned int}
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-12-11 10:28:49 +01:00