Enrico Weigelt, metux IT consult
cc39bf7745
os: log: vpnprintf(): ignore reverse justification modifier
...
The only caller is libinput, and we don't really need it, just silencing
bug message.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-30 13:08:06 +02:00
Enrico Weigelt, metux IT consult
5d0b9f4508
os: xtrans: expand TRANS() macro to _XSERVTrans
...
Since TRANS() now will always expand the same, it's better for
maintenance, having the function names written explicitly.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-30 13:08:06 +02:00
Enrico Weigelt, metux IT consult
8b3ab3586c
os: xtrans: drop GetReopenInfo()
...
Not used anywhere, so no need to keep it around anymore.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-30 13:08:06 +02:00
Enrico Weigelt, metux IT consult
cbcb9718ef
os: xtrans: drop ifdefs on NAMEDNODENAME
...
It's always defined, so no ifdefs needed.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-30 13:08:06 +02:00
Enrico Weigelt, metux IT consult
053f43e6ae
os: xtrans: drop DEV_PTMX
...
Not used anywhere.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-30 13:08:06 +02:00
Enrico Weigelt, metux IT consult
1d57896358
os: xtrans: drop TRANS_CLIENT code pathes
...
Not needed in server-only code base.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-30 13:08:06 +02:00
Enrico Weigelt, metux IT consult
c62c0f093f
os: xtrans: drop XSERV_t and x11_t defines
...
These are always enablde (x11_t is defined when XSERV_t is defined),
so no need for the #ifdef's anymore.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-30 13:08:06 +02:00
Enrico Weigelt, metux IT consult
f6dd15f8d4
os: xtrans: drop ifdef TRANS_REOPEN
...
It's always defined, so the guards aren't necessary.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-30 13:08:06 +02:00
Enrico Weigelt, metux IT consult
13fd772406
os: xtrans: drop ifdef TRANS_SERVER
...
it's always defined, no extra guards needed.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-30 13:08:06 +02:00
Enrico Weigelt, metux IT consult
1dbc9d03ac
os: xtrans: drop NEED_UTSNAME
...
All our supported platforms have this utsname.h.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-30 13:08:06 +02:00
Enrico Weigelt, metux IT consult
00316d71a7
os: xtrans: drop _WILLWINSOCK_
...
Not used anywhere.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-30 13:08:06 +02:00
Enrico Weigelt, metux IT consult
53de959813
os: xtrans: drop own VErrorF() and ErrorF()
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-30 13:08:06 +02:00
Enrico Weigelt, metux IT consult
258057b085
os: xtrans: replace bzero by memset
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-30 13:08:06 +02:00
Enrico Weigelt, metux IT consult
baf23b30d2
os: xtrans: drop XIM_t
...
Not defined anywhere.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-30 13:08:06 +02:00
Enrico Weigelt, metux IT consult
70981fffb0
os: xtrans: drop FS_t
...
Not defined anywhere, so no need to keep it around anymore.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-30 13:08:06 +02:00
Enrico Weigelt, metux IT consult
6a2f1e7bdb
os: xtrans: drop FONT_t
...
Not used anywhere, so no need to keep it around anymore.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-30 13:08:06 +02:00
Enrico Weigelt, metux IT consult
be255fd059
os: xtrans: drop ICE_t
...
Not used anywhere.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-30 13:08:06 +02:00
Enrico Weigelt, metux IT consult
12da711d7c
os: xtrans: drop GetMyNetworkId()
...
Not used anywhere, so lets drop it.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-30 13:08:06 +02:00
Enrico Weigelt, metux IT consult
ada655a525
os: xtrans: drop unused GetPeerNetworkId()
...
Not used anywhere, so let's drop it.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-30 13:08:06 +02:00
Enrico Weigelt, metux IT consult
6f31730785
os: xtrans: drop X_NO_SYS_UN
...
Not defined anywhere, so no need to check for it.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-30 13:08:06 +02:00
Enrico Weigelt, metux IT consult
6a0c1a7d9f
os: use internal xtrans instead of external library
...
Now that we've got xtrans bundled in our source tree, use this one and
drop the external dependency.
Closes: https://gitlab.freedesktop.org/xorg/xserver/-/issues/691
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-30 13:08:06 +02:00
Enrico Weigelt, metux IT consult
6080bcf5b8
os: incorporate xtrans xtrans-1.6.0
...
Copy over from xtrans package, tag xtrans-1.6.0
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-30 13:08:06 +02:00
Enrico Weigelt, metux IT consult
d441e4783e
.github: 01-bug-report: use 25.0.0.X instead of listing all minor releases
...
Listing all patchlevels in the ticket form would quickly explode it.
Users are expected to always run the latest patchlevel (4th digit), because
they're only receiving urgent bug and security fixes, not getting anything new,
that could break other things.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-30 12:38:51 +02:00
Collin
949e4e4fa0
Update build-xserver.yml to have correct permissions to resolve CodeQL alert
...
https://github.com/HaplessIdiot/xserver/security/code-scanning/16 Adds permissions to build in read only to support ubuntu package standards.
2025-06-30 12:25:18 +02:00
notbabaisyou
7fb4ba10f2
glamor: Enable dmabuf_capable for Zink
...
This lets Zink take advantage of DRM modifiers on GPUs letting it properly handle tiled buffers.
Signed-off-by: notbabaisyou <though-went-some-simple@proton.me>
2025-06-27 19:23:43 +02:00
notbabaisyou
461411c798
modesetting: allow enabling atomic mode.
...
The Linux kernel has long had code preventing Xorg from using atomic
modesetting due to various bugs in it's implementation, some of these
issues have since been fixed but some issues remain namely with DPMS
and other smaller things, we should allow users to opt-in by setting
"Option 'Atomic' 'True'"
This shouldn't cause any issues as the feature remains disabled by default.
Co-authored-by: Daniel Abrecht <public@danielabrecht.ch>
Signed-off-by: notbabaisyou <though-went-some-simple@proton.me>
2025-06-27 19:23:31 +02:00
Bastiaan Quast
25c002c54b
CONTRIBUTION.md: "MR" / "MRs" -> pull request(s)
2025-06-27 19:22:18 +02:00
notbabaisyou
4afcb1cd7b
modesetting: Fix typo.
...
`modsetCreateScreenResources` -> `modesetCreateScreenResources`
Signed-off-by: notbabaisyou <though-went-some-simple@proton.me>
2025-06-27 17:10:33 +02:00
notbabaisyou
8f50b8cc19
Xext: Fix typo in xace.h
...
`modsetting` -> `modesetting`
Signed-off-by: notbabaisyou <though-went-some-simple@proton.me>
2025-06-27 17:10:33 +02:00
Mike Gelfand
9ab598e2b2
.github: add comments explaning the reasons behind xts patching
...
Signed-off-by: Mike Gelfand <mikedld@mikedld.com>
2025-06-27 17:07:42 +02:00
Mike Gelfand
f40afc8983
.github: .gitlab-ci: add macos (xquartz) build job
...
Signed-off-by: Mike Gelfand <mikedld@mikedld.com>
2025-06-27 17:07:42 +02:00
Mike Gelfand
4f7000f620
xquartz: add missing include for `XkbSetRulesDflts`
...
Signed-off-by: Mike Gelfand <mikedld@mikedld.com>
2025-06-27 14:30:27 +02:00
Mike Gelfand
3e89bd7409
xquartz: add missing include for `DeliverEvents`
...
Signed-off-by: Mike Gelfand <mikedld@mikedld.com>
2025-06-27 14:30:27 +02:00
Mike Gelfand
edb020e306
xquartz: depend on libXdmcp (includes osdep.h which includes X11/Xdmcp.h)
...
Signed-off-by: Mike Gelfand <mikedld@mikedld.com>
2025-06-27 14:30:27 +02:00
Mike Gelfand
d89b3596f0
xquartz: depend on libX11 (includes X11/Xlib.h)
...
Signed-off-by: Mike Gelfand <mikedld@mikedld.com>
2025-06-27 14:30:27 +02:00
Enrico Weigelt, metux IT consult
6a10d96761
rootless: fix missing include of dix/screen_hooks_priv.h
...
We're using XorgScreenWindowPositionParamRec here, so need to include
that header.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-27 13:59:13 +02:00
Mike Gelfand
26f56735c5
record: add/fix include guards where missing/broken
...
Signed-off-by: Mike Gelfand <mikedld@mikedld.com>
2025-06-27 13:58:05 +02:00
Mike Gelfand
c4ca14eff0
pseudoramix: add/fix include guards where missing/broken
...
Signed-off-by: Mike Gelfand <mikedld@mikedld.com>
2025-06-27 13:58:05 +02:00
Mike Gelfand
565309bb33
miext: add/fix include guards where missing/broken
...
Skipped headers designed for multiple or non-trivial inclusion:
* miext/shadow/shrotpack.h
* miext/shadow/shrotpackYX.h
Signed-off-by: Mike Gelfand <mikedld@mikedld.com>
2025-06-27 13:58:05 +02:00
Mike Gelfand
32b26ccf9e
mi: add/fix include guards where missing/broken
...
Signed-off-by: Mike Gelfand <mikedld@mikedld.com>
2025-06-27 13:58:05 +02:00
Mike Gelfand
f5e00916aa
include: add/fix include guards where missing/broken
...
Signed-off-by: Mike Gelfand <mikedld@mikedld.com>
2025-06-27 13:58:05 +02:00
Mike Gelfand
c06a2a3ed7
hw: add/fix include guards where missing/broken
...
Skipped headers designed for multiple or non-trivial inclusion:
* hw/xfree86/dri2/pci_ids/i810_pci_ids.h
* hw/xfree86/dri2/pci_ids/i915_pci_ids.h
* hw/xfree86/dri2/pci_ids/i965_pci_ids.h
* hw/xfree86/dri2/pci_ids/r200_pci_ids.h
* hw/xfree86/dri2/pci_ids/r300_pci_ids.h
* hw/xfree86/dri2/pci_ids/r600_pci_ids.h
* hw/xfree86/dri2/pci_ids/radeon_pci_ids.h
* hw/xfree86/dri2/pci_ids/radeonsi_pci_ids.h
* hw/xfree86/dri2/pci_ids/virtio_gpu_pci_ids.h
* hw/xfree86/dri2/pci_ids/vmwgfx_pci_ids.h
Signed-off-by: Mike Gelfand <mikedld@mikedld.com>
2025-06-27 13:58:05 +02:00
Mike Gelfand
166d1b5e6b
fb: add/fix include guards where missing/broken
...
Skipped headers designed for multiple or non-trivial inclusion:
* fb/fbbits.h
Signed-off-by: Mike Gelfand <mikedld@mikedld.com>
2025-06-27 13:58:05 +02:00
Mike Gelfand
7fbd8db7a4
config: add/fix include guards where missing/broken
...
Signed-off-by: Mike Gelfand <mikedld@mikedld.com>
2025-06-27 13:58:05 +02:00
Mike Gelfand
b5d569a884
xext: add/fix include guards where missing/broken
...
Signed-off-by: Mike Gelfand <mikedld@mikedld.com>
2025-06-27 13:58:05 +02:00
callmetango
87c8520ba3
.github: Add new issue forms
...
Add the following forms for issue creation:
* Bug report
* Feature request
* Code cleanup
* Documentation update
* Organizational task
* add issue type selection page on "New Issue" call
* mention Github Discussions and the mailing list where appropriate
Fixes #257
Signed-off-by: callmetango <callmetango@users.noreply.github.com>
2025-06-27 13:56:00 +02:00
Mike Gelfand
5ed2865bdd
.github: don't override env vars set externally
...
Helpful for CI builds where we could be setting different paths on
different runners (due to OS or something else).
Signed-off-by: Mike Gelfand <mikedld@mikedld.com>
2025-06-27 13:45:11 +02:00
Mike Gelfand
5e98d8c571
.gitlab-ci: only look for files when validating man pages
...
Build directory may sometimes contain directories ending with a period
and a digit, e.g. in my case
* ./meson-private/cmake_xshmfence/CMakeFiles/4.0.3
* ./meson-private/__CMake_compiler_info__/CMakeFiles/4.0.3
Since man pages are files, filter out the rest.
Signed-off-by: Mike Gelfand <mikedld@mikedld.com>
2025-06-27 13:35:34 +02:00
Mike Gelfand
bc8518f8f8
.github: drop sudo for prerequisites builds
...
Files aren't being installed into privileged directories as part of the
build but instead into $X11_PREFIX which resides in current user's home
directory.
Change the cache key to avoid reusing old cache entries, which would
lead to permission errors.
Signed-off-by: Mike Gelfand <mikedld@mikedld.com>
2025-06-27 13:34:40 +02:00
Mike Gelfand
705d1ce679
.github: export MACHINE the right way
...
Otherwise, paths constructed on "build xserver sdk" step aren't valid.
Signed-off-by: Mike Gelfand <mikedld@mikedld.com>
2025-06-27 13:13:54 +02:00