Enrico Weigelt, metux IT consult
9c760a5bce
WIP
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-12-03 10:55:24 +01:00
Enrico Weigelt, metux IT consult
5511112ddf
include: misc.h: unexport various bit/byte counting inline functions
...
Those aren't used by any external drivers, so no need to keep
them in public header.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-12-03 10:55:24 +01:00
Enrico Weigelt, metux IT consult
f58fbda10f
dix: dixfonts: unexport functions not used by drivers
...
No need to keep functions exported that aren't needed by external drivers.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-12-03 10:55:24 +01:00
Enrico Weigelt, metux IT consult
e6288921ec
os: unexport SeatId and move it to dix settings
...
Not used by any external module/driver, so no need to keep it
public. Also move it to the new dix settings code and rename it.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-12-03 10:55:24 +01:00
Enrico Weigelt, metux IT consult
cfaf02414f
[PR #1063 ] dix: use xorg_list saveSet list
...
PR: https://github.com/X11Libre/xserver/pull/1063
2025-12-03 10:55:24 +01:00
Enrico Weigelt, metux IT consult
d4da946b79
[PR #1358 ] dix: unexport defaultFontPath
...
PR: https://github.com/X11Libre/xserver/pull/1358
2025-12-03 10:55:24 +01:00
Enrico Weigelt, metux IT consult
384059ee1f
[PR #1383 ] dix: unexport several extension related functions
...
PR: https://github.com/X11Libre/xserver/pull/1383
2025-12-03 10:55:24 +01:00
Enrico Weigelt, metux IT consult
2593d76c62
[PR #1387 ] dix: unexport DontPropagateMask and wDontPropagateMask() macro
...
PR: https://github.com/X11Libre/xserver/pull/1387
2025-12-03 10:55:24 +01:00
Enrico Weigelt, metux IT consult
b96d0ddb00
[PR #1388 ] dix: unexport lastResourceType and TypeMask
...
PR: https://github.com/X11Libre/xserver/pull/1388
2025-12-03 10:55:24 +01:00
Enrico Weigelt, metux IT consult
2d103fe2c3
[PR #1389 ] dix: unexport internal region helper functions
...
PR: https://github.com/X11Libre/xserver/pull/1389
2025-12-03 10:55:24 +01:00
Enrico Weigelt, metux IT consult
0421794a30
[PR #1467 ] dix: unexport defaultColorVisualClass
...
PR: https://github.com/X11Libre/xserver/pull/1467
2025-12-03 10:55:24 +01:00
Enrico Weigelt, metux IT consult
98e6a0f536
[PR #1481 ] os: unexport LogHdrMessageVerb()
...
PR: https://github.com/X11Libre/xserver/pull/1481
2025-12-03 10:55:24 +01:00
Enrico Weigelt, metux IT consult
f99103a1aa
[PR #1487 ] dix: unexport functions from pixmap.h
...
PR: https://github.com/X11Libre/xserver/pull/1487
2025-12-03 10:55:24 +01:00
Enrico Weigelt, metux IT consult
e14d352661
dix: move GCAllBits define into private header
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-27 20:05:59 +01:00
Enrico Weigelt, metux IT consult
e0ddc62bd0
os: add header for math related functions (possibly OS optimized)
...
Adding a new header for math related functions, beginning with new
MIN/MAX macros, which will be used by subsequent commits.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-27 19:58:33 +01:00
Enrico Weigelt, metux IT consult
33729b1361
include: windowstr.h: unexport w*() macros
...
These aren't used by any drivers, so no need to keep them public.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-27 19:54:42 +01:00
Enrico Weigelt, metux IT consult
ff8d26df21
include: windowstr.h: unexport SameBackground() and SamBorder() macros
...
Not used by any drivers, so no need to keep them public.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-27 19:49:14 +01:00
Enrico Weigelt, metux IT consult
9b8d7d1eb9
treewide: don't include <region.h> anymore
...
Nothing in there that we need, include <regionstr.h> instead.
But keeping the file in place, until all external consumer have
been migrated.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-27 19:27:27 +01:00
Enrico Weigelt, metux IT consult
fe7e99f58c
include: globals.h: drop unnecessary includes
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-27 12:06:53 +01:00
Enrico Weigelt, metux IT consult
92a015504e
dix: make BITMAP_SCANLINE_UNIT private
...
Not used by any external drivers, so no need to keep it public.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-27 12:05:55 +01:00
Enrico Weigelt, metux IT consult
c696329b93
include: misc: drop unused sign() macro
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-27 12:05:29 +01:00
Enrico Weigelt, metux IT consult
f2a0a94a1f
include: misc.h: drop unused xReqPtr typedef
...
not used anywhere, so no need to keep it around any longer.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-27 12:04:01 +01:00
Enrico Weigelt, metux IT consult
fda3695872
os: move MILLI_PER_MIN and MILLI_PER_SECOND to osdep.h
...
Not needed in public SDK, so move them into a private header.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-27 11:58:45 +01:00
Enrico Weigelt, metux IT consult
5501c60f1b
include: drop unused dix-config-apple-verbatim.h
...
Not included anywhere, so no need to keep it around anymore.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-27 10:43:24 +01:00
Enrico Weigelt, metux IT consult
8039c2cbf1
dix: unexport SwapLongs()
...
Not used by any external drivers, so no need to keep it in public SDK.
Since it's used by internal modules, still needs to be _X_EXPORT'ed.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-25 18:26:02 +01:00
Mike Gelfand
e47ef3c2bf
include: move include guards up to wrap the whole file
...
See: https://gcc.gnu.org/onlinedocs/cppinternals/Guard-Macros.html
Signed-off-by: Mike Gelfand <mikedld@mikedld.com >
2025-11-21 15:20:11 +01:00
Enrico Weigelt, metux IT consult
d66dea68af
dix: dixfonts: drop unused GetFontPath()
...
Not used anywhere, neither in Xserver nor in drivers, so no need
to keep it around any longer.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-20 19:26:32 +01:00
Enrico Weigelt, metux IT consult
95499a9525
dix: unexport enableIndirectGLX
...
Still needs to be _X_EXPORT'ed for internal modules, but
not supposed to be visible to external drivers.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-20 19:25:41 +01:00
Enrico Weigelt, metux IT consult
845642e23e
include: move PropertyPtr from property.h to window.h
...
The property.h file is deprecated and going to be removed, so move
over the typedef to window.h -- also drivers needing it already including
window.h one way or another.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-20 19:23:05 +01:00
Enrico Weigelt, metux IT consult
6a1bdcedd3
dix: unexport DeleteProperty()
...
Not used by any external driver, so no need to keep it public.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-20 19:22:35 +01:00
Enrico Weigelt, metux IT consult
40acb2d83e
dix: unexport PrintPassiveGrabs() and PrintWindowTree()
...
These are only for internal debug output, not needed for drivers.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-20 19:22:18 +01:00
Enrico Weigelt, metux IT consult
8059c260c2
dix: unexport XIUnregisterPropertyHandler() and XIDeleteAllDeviceProperties()
...
Not used by any external drivers, so no need to keep the exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-20 19:21:37 +01:00
Enrico Weigelt, metux IT consult
93dd3049e9
include: dixfont.h: drop unused NullDIXFontProp and DIXFontPropPtr
...
Not used anywhere, so no need to keep them around any longer.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-20 19:21:03 +01:00
Enrico Weigelt, metux IT consult
416f69eb88
include: misc.h: unexport lowbit() macro
...
Not used by any drivers.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-20 19:20:07 +01:00
Enrico Weigelt, metux IT consult
44077ee11c
dix: unexport screenIsSaved and HasSaverWindow()
...
These aren't used by any external drivers, so no need to keep them public.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-20 17:52:23 +01:00
Enrico Weigelt, metux IT consult
b0ac921156
dix: unexport GrabInProgress
...
Only internally within OS layer and screen saver logic,
so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-20 17:42:29 +01:00
Enrico Weigelt, metux IT consult
805dec1661
include: drop obsolete hotplug.h
...
Nobody's including it anymore, so no need to keep it around any longer.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-20 16:37:03 +01:00
Enrico Weigelt, metux IT consult
1749a8bdfd
config: unexport config_init() and config_fini()
...
Those aren't used by any drivers, so no need to keep them public.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-20 14:11:27 +01:00
Enrico Weigelt, metux IT consult
1ae9646936
pseudoramiX: unexport noPseudoramiXExtension
...
Not used by any driver (not even by xf86 at all), so no need to
keep it exported. Also disposing the now empty nonsdk_extinit.h,
which also isn't used by any drivers.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-19 13:32:31 +01:00
Enrico Weigelt, metux IT consult
25d99353ee
xkb: unexport XkbGetCoreMap() and XkbSetRepeatKeys()
...
Not needed by external drivers, so no need to keep them public.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-19 13:32:12 +01:00
Enrico Weigelt, metux IT consult
c06805b93a
include: move ScreenSaverStuffPtr into scrnintstr.h
...
ScreenSaverStuffRec is defined in scrnintstr.h, and users of
ScreenSaverStuffPtr already including it, so let's move also this
typedef there.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-19 13:30:48 +01:00
Enrico Weigelt, metux IT consult
40f0a4237c
include: regionstr.h: drop unused legacy macros
...
Those aren't used by any drivers anymore (and shouldn't be).
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-12 15:39:50 +01:00
Enrico Weigelt, metux IT consult
ec3232e36e
dix: move ReplyNotSwappd() out of public header
...
Internal, non-publich function - should not be in public header.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-11 10:43:11 +01:00
Enrico Weigelt, metux IT consult
932f4be393
include: windowstr.h: drop unused Guarantee* defines
...
They aren't used anymore since about two decades, so no need to
keep them around any longer.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-11 10:42:54 +01:00
Enrico Weigelt, metux IT consult
f813cb569f
dix: move swaprep.h and swapreq.h into dix
...
These aren't public includes, so they're better placed in dix.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-11 10:42:40 +01:00
Enrico Weigelt, metux IT consult
445ee2da93
include: mark XNFasprintf() as deprecated
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-10 11:07:42 +01:00
Enrico Weigelt, metux IT consult
037a2e5675
include: unexport CURSOR_BITS_SIZE() and CURSOR_REC_SIZE() macros
...
Not used by any drivers, so no need to keep them public.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-08 10:45:43 +01:00
Enrico Weigelt, metux IT consult
1c706efc2b
include: dixfontstr.h: drop unused PADGLYPHWIDTHBYTES defines
...
Not used anywhere anymore, so no need to keep them around.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-07 09:32:40 +01:00
Enrico Weigelt, metux IT consult
94f7925f01
dix: move IMAGE_BUFSIZE define out of public header
...
It's just a tuning parameter (that nobody touched for aeons) for
DoGetImage(), inside dix/dispatch.c
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-07 09:32:17 +01:00
Enrico Weigelt, metux IT consult
b3a5b5b61c
os: drop unused Xscnprintf() and Xvscnprintf()
...
Not used anywhere (not even in drivers), so no need to keep them anymore.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-11-07 09:31:48 +01:00