Commit Graph

9713 Commits

Author SHA1 Message Date
Enrico Weigelt, metux IT consult 5d2e135b40 xf86.h: unexport fbSlotClaimed field 2025-05-22 17:35:13 +02:00
Enrico Weigelt, metux IT consult d4a492b0be xf86.h: unexport xf86ProbeIgnorePrimary field 2025-05-22 17:35:13 +02:00
Enrico Weigelt, metux IT consult 38d0f08774 xf86: unexport xf86DoConfigurePass1 field 2025-05-22 17:35:13 +02:00
Enrico Weigelt, metux IT consult ff39a3ea54 xf86.h: unpexport xf86DoConfigure 2025-05-22 17:35:13 +02:00
Enrico Weigelt, metux IT consult a0d5858639 xf86: xf86ShowClockRanges() static 2025-05-22 17:35:13 +02:00
Enrico Weigelt, metux IT consult db9497dbf3 xf86.h: xf86AddPixFormat static 2025-05-22 17:35:13 +02:00
Enrico Weigelt, metux IT consult 142ffcc3ed xf86.h: make xf86DisableInputDeviceForVTSwitch() static 2025-05-22 17:35:13 +02:00
Enrico Weigelt, metux IT consult e0080d10db xf86.h: xf86EnableGeneralHandler static 2025-05-22 17:35:12 +02:00
Enrico Weigelt, metux IT consult 6529cf91d9 xf86.h: make xf86DisableGeneralHandler() static 2025-05-22 17:35:12 +02:00
Enrico Weigelt, metux IT consult 6f9cc0c121 xf86: make xf86EnableInputHandler() static 2025-05-22 17:35:12 +02:00
Enrico Weigelt, metux IT consult 64a11f754f xfree86: xf86.h: make xf86DisableInputHandler() static
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-22 17:35:12 +02:00
Enrico Weigelt, metux IT consult b2c28625dd xfree86: xf86.h: make xf86DoShowOptions field static
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-22 17:35:12 +02:00
Enrico Weigelt, metux IT consult 51f19fef75 xfree86: xf86.h: drop unused xf86UpdateDesktopDimensions()
Not used anywhere, so no need to keep it around anymore.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-22 17:35:12 +02:00
Enrico Weigelt, metux IT consult 6b53ff6f42 xfree86: xf86.h: drop unused xf86RandRSetNewVirtualAndDimensions()
Not used anywhere, so no need to keep it around anymore.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-22 17:35:12 +02:00
Enrico Weigelt, metux IT consult 7f736a28cd xf86.h: drop unused xf86GetRotation()
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-22 17:35:12 +02:00
Enrico Weigelt, metux IT consult a1b7b019c6 xf86.h: drop unused xf86IsScreenPrimary() 2025-05-22 17:35:12 +02:00
Enrico Weigelt, metux IT consult 2b97da23f3 xf86.h: drop unused xf86FindXvOptions() 2025-05-22 17:35:12 +02:00
Enrico Weigelt, metux IT consult 3ff0ca9dd5 xf86.h: drop unused xf86GetModInDevEnabled() 2025-05-22 17:35:12 +02:00
Enrico Weigelt, metux IT consult c6ceacc549 xf86: drop unused xf86GetModInDevAllowNonLocal() 2025-05-22 17:35:12 +02:00
Enrico Weigelt, metux IT consult 67ff8e5873 xf86.h: drop unused xf86ServerIsResetting() 2025-05-22 17:35:12 +02:00
Enrico Weigelt, metux IT consult 320e060ca8 xf86: drop unused xf86GetWeight() 2025-05-22 17:35:12 +02:00
Enrico Weigelt, metux IT consult ed64dca5dc xf86.h: drop unused xf86GetDepth() 2025-05-22 17:35:12 +02:00
Enrico Weigelt, metux IT consult 047c04927f xf86.h: xf86PrintBacktrace 2025-05-22 17:35:12 +02:00
Enrico Weigelt, metux IT consult f7bd1172ed xf86.h: drop xf86RemoveInputHandler 2025-05-22 17:35:12 +02:00
Enrico Weigelt, metux IT consult 9f8d6a7d4f xf86.h: drop xf86AddInputHandler 2025-05-22 17:35:12 +02:00
Enrico Weigelt, metux IT consult 2e4597860c xf86.h: drop unused xf86GetFbInfoForScreen() 2025-05-22 17:35:12 +02:00
Enrico Weigelt, metux IT consult 6f70cbf0e7 xf86.h: drop BOOLTOSTRING 2025-05-22 17:35:12 +02:00
Enrico Weigelt, metux IT consult c10cbbd2a4 xf86.h: drop XF86FLIP_PIXELS 2025-05-22 17:35:12 +02:00
Enrico Weigelt, metux IT consult 4a39efdbe2 xfree86: xf86Config: drop unused xf86DRI2Enabled()
Not used anywhere, so no need to keep it around any longer.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-22 17:35:12 +02:00
Enrico Weigelt, metux IT consult 540448bc83 xfree86: xf86Config: consolidate xf86configptr declarations
Instead of having several separate exern declarations in various
source files, using one central one xf86Config.h

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-22 17:35:12 +02:00
Enrico Weigelt, metux IT consult 8fb5e2e589 xfree86: xf86Config: unexport xf86configptr
Not used by any external drivers, and this header isn't even installed
in the SDK, so no need to keep this field exported.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-22 17:35:12 +02:00
Enrico Weigelt, metux IT consult b94952f3b3 randr: replace RRPropertyValueRec by PropertyValueRec
Use the new PropertyValueRec instead of RRPropertyValueRec. The old name
is aliased to the new one, so external drivers still compile.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-22 17:35:11 +02:00
Enrico Weigelt, metux IT consult 967c5baa0c dix: split off PropertyRec's data field to separate record
Doing it the same way several extensions (eg. XI and randr) do it,
so we can consolidate things here.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-22 17:35:11 +02:00
Enrico Weigelt, metux IT consult 3fb47e6e9e xnest 2025-05-22 17:35:11 +02:00
Enrico Weigelt, metux IT consult 91932206b0 xwin: fix NULL parameter in printf arguments
> ../hw/xwin/winprefs.c:625:9: warning: ‘%s’ directive argument is null [-Wformat-overflow=]
>  625 |         ErrorF("LoadPreferences: %s not found\n", path);
>      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-22 17:35:11 +02:00
Enrico Weigelt, metux IT consult 715ad7c7f5 xnest: add pixmap depths to global depth list
Right now, we're only registering the depths of our visuals, which are
mirroring upstream's visuals. But forgotten to register the pixmap depths
that don't have an assiocated visual.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-22 17:35:11 +02:00
Enrico Weigelt, metux IT consult 8aff1ee685 (!1854) Xi: unexport AssignTypeAndName()
Not used by any external drivers, so no need to keep it exported.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-22 17:35:11 +02:00
Enrico Weigelt, metux IT consult 6d9bcc20be (!1688) xfree86: man: add -syslogverbse flag
Document the newly added -syslogverbose command line flag.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-22 17:35:10 +02:00
Enrico Weigelt, metux IT consult 8b91208266 (!1688) os: log: add syslog support
Add support for logging to syslog.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-22 17:35:10 +02:00
Enrico Weigelt, metux IT consult 29d47e1fef (!1688) meson.build: move writing conf_data into tail of main meson file
This allows us to do further probing in the included meson files:
Individual subdirectories (eg. DDXes, extensions, OS layer, ...)
can now probe things that are only relevant to them - no need to fill
the already too fat includes/meson.build with even more things.

Preparation for upcoming commits that'll make us of that.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-22 17:35:10 +02:00
Enrico Weigelt, metux IT consult 65cdce63b6 (!1688) os: directly set log file sync flag, instead of using LogSetParameter()
No need for extra call to some demuxer function for nothing but setting a
simple bool variable. Setting the sync flag really is nothing more than just
writing some value into a variable, so it's trivial to just to do that, instead
of having an unncessarily complex "universal setter" for that.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-22 17:35:10 +02:00
Enrico Weigelt, metux IT consult 65b51a8a41 (!1688) os: directly set log file verbosity level, instead of using LogSetParameter()
No need for extra call to some demuxer function for nothing but setting a
simple int variable. Setting verbosity level really is nothing more than just
writing some value into a variable, so it's trivial to just to do that, instead
of having an unncessarily complex "universal setter" for that.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-22 17:35:10 +02:00
Enrico Weigelt, metux IT consult 308ee324d3 (!1688) os: directly set console verbosity level, instead of using LogSetParameter()
No need for extra call to some demuxer function for nothing but setting a
simple int variable. Setting verbosity level really is nothing more than just
writing some value into a variable, so it's trivial to just to do that, instead
of having an unncessarily complex "universal setter" for that.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-22 17:35:10 +02:00
Enrico Weigelt, metux IT consult 0158b5fd8d (!1688) os: unexport internal logging functions
Lots of logging functions, especially init and teardown aren't called
by any drivers/modules, so no need to keep them exported.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-22 17:35:10 +02:00
Enrico Weigelt, metux IT consult adc98e879d (submit/drop-cygwin) drop remains of cygwin support
Cygwin support doesn't seem to be used anymore, so it can be dropped.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-22 17:35:10 +02:00
Enrico Weigelt, metux IT consult 725f14b2a2 (submit/unexport-ddx-callbacks) os: rename ddx.h to ddx_priv.h
Make it clear that stuff from this file really isn't supposed to be used
by dynamically loaded modules like drivers.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-22 17:35:10 +02:00
Enrico Weigelt, metux IT consult bd1e888edc (submit/unexport-ddx-callbacks) os: unexport ddx callbacks
The DDX callbacks (where core/DIX calls into DDX) aren't supposed to be
called by drivers directly, so unexport them.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-22 17:35:10 +02:00
Enrico Weigelt, metux IT consult 52516991c1 (submit/cmdline-funcs) 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>
2025-05-22 17:35:10 +02:00
Enrico Weigelt, metux IT consult dd61de3e3a (submit/move-systemd-logind.h) move systemd-logind.h to hw/xfree86/os-support/linux
systemd is linux specific and the actual implementation is under the
os-support layer of xfree86 ddx. Thus no need to keep it in global
include directory, putting it onto the linux specific os-support instead.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-22 17:35:10 +02:00
Enrico Weigelt, metux IT consult 49160b7894 (submit/xf86-parser v2) xfree86: parser: rename STRING for fixing name conflict
Resolve name conflict with Sun's <sys/kbd.h> by renaming STRING enum
value to XF86_TOKEN_STRING.

This way, don't need the special #undef hack anymore.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-05-22 17:35:10 +02:00