Enrico Weigelt, metux IT consult
d18ef33099
os: unexport OnlyListenToOneClient()
...
Not used by any drivers, so no need to export it.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1385 >
2024-04-16 18:13:11 -07:00
Enrico Weigelt, metux IT consult
be4c8444eb
os: unexport Os*() functions
...
These aren't called (and suited for being called) by drivers,
thus drop them from the public module API.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1381 >
2024-04-16 14:20:30 +02:00
Enrico Weigelt, metux IT consult
85d4bd0dba
rename remaining RT_* defines to X11_RESTYPE_*
...
Since we already had to rename some of them, in order to fix name clashes
on win32, it's now time to rename all the remaining ones.
The old ones are still present as define's to the new ones, just for
backwards compatibility.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1355 >
2024-04-15 19:00:47 -07:00
Enrico Weigelt, metux IT consult
1ca48d0a48
dix: workaround for win32 name clash on CreateWindow()
...
The problem is, ming32 headers unconditionally define CreateWindow() to
alias CreateWindowA() in winuser.h, which is included by windows.h, which
is included by *a lot* common headers. So it highly depends on the exact
include order, whether it works. (also weird things could happen, e.g.
the Xserver's CreateWindow() ending up renamed to CreateWindowA(), ...)
Until we've found a really clean solution to this problem (which might
involve fixing mingw32 first), just add a little workaround by undef'ing
CreateWindow symbol whereever necessary.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1355 >
2024-04-15 18:59:23 -07:00
Enrico Weigelt, metux IT consult
232cad9ec3
prevent name clash on Windows w/ RT_* defines
...
Windows' native headers using some our RT_* define's names for other things.
Since the naming isn't very nice anyways, introducing some new ones
(X11_RESTYPE_NONE, X11_RESTYPE_FONT, X11_RESTYPE_CURSOR) and define the old
ones as an alias to them, in case some out-of-tree code still uses them.
With thins change, we don't need to be so extremely careful about include
ordering and have explicit #undef's in order to prevent name clashes on
Win32 targets.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1355 >
2024-04-15 18:59:23 -07:00
Enrico Weigelt, metux IT consult
f789dca4e9
dix: move closestr.h into dix directory
...
It's only used by dix internally (actually just dixfonts.c - since at
least 25 years now), thus no need to keep it in global include directory.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1388 >
2024-04-16 01:42:39 +00:00
Enrico Weigelt, metux IT consult
d444cd4237
dix: unexport some lookup functions
...
These aren't used by any drivers, so no need to export them.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1380 >
2024-04-15 18:11:57 -07:00
Enrico Weigelt, metux IT consult
dfdde27990
dix: unexport InitClient()
...
Not used by any driver, so no need to export it.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1379 >
2024-04-16 00:53:28 +00:00
Enrico Weigelt, metux IT consult
b064b79132
dix: unexport DeleteWindowFromAnySaveSet()
...
Not used by any drivers, so no need to export it.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1378 >
2024-04-15 17:05:41 -07:00
Enrico Weigelt, metux IT consult
1205f5b6f9
dix: unexport GetCurrentClient()
...
Not used by any driver, so no need to export it.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1377 >
2024-04-15 23:47:47 +00:00
Enrico Weigelt, metux IT consult
ad7e7d9259
dix: unexport CompareISOLatin1Lowered() and make it static
...
This function isn't used by any drivers, so no need to export it.
Also has just one consumer, so move it there and make it static.
(and also move ISOLatin1ToLower() along with it)
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1374 >
2024-04-15 23:34:58 +00:00
Enrico Weigelt, metux IT consult
1999785fa9
os: move over osLookupColor to dix
...
This function is only used by DIX and not os-specific at all.
So move it over to DIX and give it a more fitting name.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1373 >
2024-04-15 16:19:30 -07:00
Enrico Weigelt, metux IT consult
6cb599f59c
os: unexport OsLookupColor()
...
It's an internal function, only used by DIX, not by drivers and shouldn't
have been exported in the first place.
Fixes: 49f77fff14
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1373 >
2024-04-15 16:19:06 -07:00
Enrico Weigelt, metux IT consult
2b7a2f8ed2
dix: unexport SetClipRects()
...
Not used by any driver, so no need to export it.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1365 >
2024-04-15 23:10:31 +00:00
Enrico Weigelt, metux IT consult
9a8e6c5bfd
dix: unexport VerifyRectOrder
...
Not used by any driver, so no need to export it.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1365 >
2024-04-15 23:10:31 +00:00
Enrico Weigelt, metux IT consult
407fe60483
dix: unexport SetDashes
...
Not used by any driver, so no need to export it.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1365 >
2024-04-15 23:10:31 +00:00
Enrico Weigelt, metux IT consult
30670e72c7
dix: unexport FreeDefaultStipple()
...
Not used by any driver, so no need to export it.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1365 >
2024-04-15 23:10:31 +00:00
Enrico Weigelt, metux IT consult
f6af379928
dix: unexport CreateDefaultStipple()
...
Not used by any driver, so no need to export it.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1365 >
2024-04-15 23:10:31 +00:00
Enrico Weigelt, metux IT consult
bdf8ae3fc1
dix: unexport CreateGCperDepth()
...
Not used by any driver, so no need to export it.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1365 >
2024-04-15 23:10:31 +00:00
Enrico Weigelt, metux IT consult
fc1a7363eb
dix: unexport FreeGCperDepth()
...
Not used by any driver, so no need to export it.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1365 >
2024-04-15 23:10:31 +00:00
Enrico Weigelt, metux IT consult
32512c579e
dix: unexport FreeGC()
...
Not used by any driver, so no need to export it.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1365 >
2024-04-15 23:10:31 +00:00
Enrico Weigelt, metux IT consult
7e30f2c8e1
dix: unexport CopyGC()
...
Not used by any driver, so no need to export it.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1365 >
2024-04-15 23:10:31 +00:00
Enrico Weigelt, metux IT consult
6896396456
dix: unexport CreateGC()
...
Not used by any drivers, so no need to export it.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1365 >
2024-04-15 23:10:31 +00:00
Enrico Weigelt, metux IT consult
46c0ac8c70
dix: unexport ChangeGCXIDs()
...
Move non-exported gc functions to private header
No need to clutter public headers with non-exported stuff.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1365 >
2024-04-15 23:10:31 +00:00
Enrico Weigelt, metux IT consult
3f00c1b6cf
os: unexport host control functions
...
these aren't used by modules/drivers, so no need to export them.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1344 >
2024-04-15 14:55:22 -07:00
Enrico Weigelt, metux IT consult
5a9b885118
os: unexport authorization management functions
...
Those aren't used by modules, thus no need to export them.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1344 >
2024-04-15 14:55:22 -07:00
Enrico Weigelt, metux IT consult
5f19eab1ee
os: unexport local client creds handling
...
these functions aren't used by modules, so no need to export them.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1344 >
2024-04-15 14:44:34 -07:00
Enrico Weigelt, metux IT consult
cbc9f557e5
os: unexport set_font_authorizations()
...
This function is only used by DIX, so no need to export it.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1344 >
2024-04-15 14:42:45 -07:00
Enrico Weigelt, metux IT consult
389b528203
os: unexport command line args handling functions
...
These functions shouldn't be called by drivers or extensions, thus
shouldn't be exported. Also moving it to separate header, so the
already huge ones aren't cluttered with even more things.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1334 >
2024-04-15 21:21:40 +00:00
Enrico Weigelt, metux IT consult
3843a643e0
os: unexport audit functions
...
These aren't used by any drivers, so no need to keep them around in the
public driver API.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1326 >
2024-04-15 19:54:34 +00:00
Enrico Weigelt, metux IT consult
b335a0fa20
dix: unexport CloseDownClient()
...
This function isn't used by drivers, so no need to export it.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1383 >
2024-03-13 00:47:36 +00:00
Enrico Weigelt, metux IT consult
d84fd3bf19
dix: drop now obsolete cursorScreenDevPriv
...
Since the two DDX'es which had used this key (xnest and xfree86) now using
their own ones, this global key is obsolete and can be removed.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1342 >
2024-03-12 15:24:35 +00:00
Enrico Weigelt, metux IT consult
7f13fc7d2f
dix: unexport callback manager init / teardown functions
...
Those are only needed inside DIX, thus no need to export them.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1346 >
2024-03-12 15:18:17 +00:00
Enrico Weigelt, metux IT consult
738edd3501
dix: unexport eventconvert.h functions
...
This header isn't installed, so no external modules could use the
functions declared there. Thus we can unexport it all.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1358 >
2024-03-11 12:26:44 +01:00
Enrico Weigelt, metux IT consult
2a5e754275
dix: unexport SetAccelerationProfile()
...
Not used by any module, just locally within one source file, thus
unexport and make it static
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1347 >
2024-03-09 18:01:52 +00:00
Enrico Weigelt, metux IT consult
1b983d7e82
dix: unexport FreeVelocityData()
...
Only used within one source, not used by external modules, thus unexport
and make it static.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1347 >
2024-03-09 18:01:52 +00:00
Enrico Weigelt, metux IT consult
9d3766080b
dix: unexport BasicComputeAcceleration()
...
only used locally within one source file, so unexport and make it static.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1347 >
2024-03-09 18:01:52 +00:00
Enrico Weigelt, metux IT consult
a09f2540d2
dix: unexport ProcessVelocityData2D()
...
Only used with on source file, so unexport and make it static.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1347 >
2024-03-09 18:01:52 +00:00
Enrico Weigelt, metux IT consult
b598727f1c
dix: unexport InitTrackers()
...
Not used by any modules, thus no need to export it.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1347 >
2024-03-09 18:01:52 +00:00
Enrico Weigelt, metux IT consult
4db1f3f760
dix: unexport InitVelocityData()
...
Not used by any modules, not even outside the source file, thus
no need to export it.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1347 >
2024-03-09 18:01:52 +00:00
Enrico Weigelt, metux IT consult
a3ebe4fa41
dix: move non-exported ptrveloc functions to separate header
...
unclutter ptrveloc.h by moving non-exported declarations into their own
private header file.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1347 >
2024-03-09 18:01:52 +00:00
Enrico Weigelt, metux IT consult
040e41c7e9
dix: unexport global variables
...
Those aren't used by drivers, so no need to export them.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1375 >
2024-03-09 17:23:43 +00:00
Enrico Weigelt, metux IT consult
b1ce5543f1
dix: unexport workqueue functions
...
These aren't used by drivers, so no need to export them.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1376 >
2024-03-07 22:57:53 +00:00
Enrico Weigelt, metux IT consult
53a0442b87
drop remains of DMX
...
DMX has long gone, but there's still some fallout from it's removal
yet to be cleaned up.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1362 >
2024-03-05 16:57:52 +01:00
Enrico Weigelt, metux IT consult
6999bc49d3
dix: unexport AttachOffloadGPU() and DetachOffloadGPU()
...
These aren't externally used, thus no need to export them.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1349 >
2024-03-03 23:24:29 +00:00
Enrico Weigelt, metux IT consult
1277bb7143
dix: unexport AttachOutputGPU() and DetachOutputGPU()
...
These aren't externally used, thus no need to export them.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1349 >
2024-03-03 23:24:28 +00:00
Enrico Weigelt, metux IT consult
71b81a7473
dix: unexport AttachUnboundGPU() and DetachUnboundGPU()
...
These aren't externally used, thus no need to export them.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1349 >
2024-03-03 23:24:28 +00:00
Enrico Weigelt, metux IT consult
55dc4a8bdc
dix: unexport RemoveGPUScreen()
...
This function isn't used by any modules/drivers, so no need to export it.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1349 >
2024-03-03 23:24:28 +00:00
Enrico Weigelt, metux IT consult
27b83c4cd0
dix: unexport AddScreen() and AddGPUScreen()
...
These aren't used by any drivers/modules, just DDX'es, so no need to export.
Note: tigervnc does use it, but it has it's own DDX, therefore directly
linked in, just like the in-tree DDX'es which doesn't need exporting.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1349 >
2024-03-03 23:24:28 +00:00
Enrico Weigelt, metux IT consult
dc84331f5d
include: drop obsolete registry.h
...
Now that there's no actual consumer of it left, it can be dropped.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1348 >
2024-03-03 23:20:06 +00:00