704 Commits

Author SHA1 Message Date
Enrico Weigelt, metux IT consult
64f02f7e08 drop #ifdef RANDR_12_INTERFACE
All (non-ancient) Xservers have it.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-12 19:00:57 +01:00
Enrico Weigelt, metux IT consult
18341f2b48 replace obsolete "pointer" typedef by plain void*
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-05 20:07:41 +01:00
Enrico Weigelt, metux IT consult
a87dfc821f drop ifdef XF86_CRTC_VERSION
no need to support ancient Xserver API

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-02 17:36:09 +01:00
Enrico Weigelt, metux IT consult
c62a8f0807 drop using AC_USE_SYSTEM_EXTENSIONS
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-02 15:27:00 +01:00
Enrico Weigelt, metux IT consult
6473e57a67 drop obsolete compat-api.h
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-02 15:16:14 +01:00
Enrico Weigelt, metux IT consult
8f2650c739 drop obsolete compat macros
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-02 14:48:30 +01:00
Enrico Weigelt, metux IT consult
6b07c9e4bc configure.ac: drop obsolete GIT_VERSION
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-31 11:16:05 +01:00
Enrico Weigelt, metux IT consult
66fbe81f89 configure.ac: drop AC_SYS_LARGEFILE
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-30 16:08:04 +01:00
Enrico Weigelt, metux IT consult
0f103cbe9f configure.ac: drop obsolete AM_MAINTAINER_MODE
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-30 16:03:56 +01:00
Enrico Weigelt, metux IT consult
a0541f233e .github: add NetBSD build
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-29 18:18:01 +01:00
Enrico Weigelt, metux IT consult
dc71972628 .github: add freebsd and dragonfly build
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-28 16:59:36 +01:00
Enrico Weigelt, metux IT consult
df48114f4a .github: use new common driver build actions
Using the new driver build actions in X11Libre/actions-build-driver repo,
instead of having lots of duplicated pipeline and script in all the
individual driver repos.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-27 14:25:16 +01:00
Enrico Weigelt, metux IT consult
92592c9e75 configure.ac: increase minimum xserver version to 25.0.0
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-19 16:14:31 +01:00
Enrico Weigelt, metux IT consult
17049a0f19 release 25.0.0
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
xlibre-xf86-video-qxl-25.0.0
2025-12-18 19:16:59 +01:00
Enrico Weigelt, metux IT consult
cf1847a0ff drop hacks for ancient pre-libpciaccess Xservers
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-18 15:48:04 +01:00
Enrico Weigelt, metux IT consult
2c4cf1b114 drop obsolete .gitlab-ci.yml
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-18 11:54:42 +01:00
Enrico Weigelt, metux IT consult
5724ed4545 drop obsolete #ifdef HAVE_CONFIG_H
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-18 11:41:40 +01:00
Enrico Weigelt, metux IT consult
95da180c41 release 0.1.7
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
xlibre-xf86-video-qxl-0.1.7
2025-12-16 15:25:12 +01:00
Enrico Weigelt, metux IT consult
89954f16af README.md: fix URLs
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-16 12:08:58 +01:00
Alan Coopersmith
86971a9448 Strip trailing whitespace from source files
Performed with: `git ls-files | xargs perl -i -p -e 's{[ \t]+$}{}'`

`git diff -w` & `git diff -b` show no diffs from this change

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-qxl/-/merge_requests/25>
2025-12-16 10:30:33 +01:00
Enrico Weigelt, metux IT consult
97140d5d5a configure.ac: fix package name and issue tracker URL
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-15 19:11:35 +01:00
Enrico Weigelt, metux IT consult
3745903a61 .github: fix issue forms
repo link was pointing to wrong driver

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-08 17:07:42 +01:00
Enrico Weigelt, metux IT consult
496a452216 dont crash Xserver on malloc() fail (XNFasprintf)
Replace XNFasprintf() by standard libc asprintf()

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
xlibre-xf86-video-qxl-0.1.6.3
2025-11-18 13:09:53 +01:00
Enrico Weigelt, metux IT consult
c4c1f2bff1 uxa: drop unused prototype of exaDDXDriverInit()
Neither is this one ever here, nor should it be defined locally (instead
of using Xserver SDK headers).

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-10-24 14:07:58 +02:00
callmetango
37f26b563c configure: Automatically detect the default xorg-module-dir.
The module directory has changed to a per ABI folder in the xlibre-xserver.
Now the default value of `xorg-module-dir` will be detected from the `moduledir` variable in xorg-server.pc.

Signed-off-by: callmetango <callmetango@users.noreply.github.com>
xlibre-xf86-video-qxl-0.1.6.2
2025-08-25 12:08:48 -04:00
Enrico Weigelt, metux IT consult
cdd7ecc506 .github: add CI pipeline
This pipeline builds the driver against the latest Xserver stable
release as well as current master.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-07-28 20:31:44 +02:00
Enrico Weigelt, metux IT consult
5b860a6bdd drop unused check for _MSC_VER
This driver obviously doesn't work under Windows.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
xlibre-xf86-video-qxl-0.1.6.1
2025-06-20 17:56:04 +02:00
Enrico Weigelt, metux IT consult
dfda61c244 drop support for ancient xserver versions
We're relying on at least 1.18 now.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-20 17:56:02 +02:00
Enrico Weigelt, metux IT consult
7880db9df6 bump minimal xorg version to 1.18
1.18 was released a decade ago, so it seems reasonable stop supporting
older ones.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-20 17:55:59 +02:00
Enrico Weigelt, metux IT consult
512a60c34f fix FTBS on name clash between linux/input.h and xf86str.h
Since we don't need those, it's best to just #undef them, after
including xf86str.h.

> In file included from /usr/include/xorg/os.h:53:
> /usr/include/string.h:149:10: note: previous declaration of 'timingsafe_memcmp' with type 'int(const void *, const void *, size_t)' {aka 'int(const void *, const void *, long unsigned int)'}
>   149 | int      timingsafe_memcmp(const void *, const void *, size_t);
>       |          ^~~~~~~~~~~~~~~~~
> In file included from ../../../src/spiceqxl_uinput.c:12:
> /usr/include/xorg/xf86str.h:263:5: error: expected identifier before numeric constant
>   263 |     BUS_PCI,
>       |     ^~~~~~~

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-20 17:55:54 +02:00
Enrico Weigelt, metux IT consult
da5bb0fb97 fix FTBS on name clash between stdbool.h and xf86str.h
In some Xserver versions, xf86str.h uses "bool" as parameter name,
clashing the define/typedef from stdbool.h

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-20 17:55:52 +02:00
Enrico Weigelt, metux IT consult
5b96598c3f use XNFstrdup() instead of xnfstrdup
xnfstrdup is just an alias for XNFstrdup() that doesn't seem to serve
any practical purpose, so it can go away once all drivers stopped using it.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-20 17:55:49 +02:00
Enrico Weigelt, metux IT consult
460a6d9550 use XNFcallocarray() instead of xnfcalloc macro
xnfcalloc is just an alias for XNFcallocarray() that doesn't seem to serve
any practical purpose, so it can go away once all drivers stopped using it.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-20 17:55:47 +02:00
Enrico Weigelt, metux IT consult
a61c6b1034 use XNFalloc() instead of xnfalloc
xnfalloc is just an alias for XNFalloc() that doesn't seem to serve
any practical purpose, so it can go away once all drivers stopped using it.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-20 17:55:41 +02:00
Enrico Weigelt, metux IT consult
9cb6418547 use AC_USE_SYSTEM_EXTENSIONS instead of hard coding _GNU_SOURCE
Instead of just enabling linux specific libc extension, do it
generically on all platforms.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-04-14 11:15:02 +02:00
Enrico Weigelt, metux IT consult
9d1598b98c fix FTBS on missing asprintf() prototype on GNU/Linux
On GNU/Linux we have to define _GNU_SOURCE before including stdio.h,
in order to get the prototype for asprintf().

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-04-08 18:52:20 +02:00
Enrico Weigelt, metux IT consult
e0bd955e18 uxa: use dixDestroyPixmap() instead calling ScreenRec->DestroyPixmap() directly
Direct calls to ScreenRec->DestroyPixmap() blocks cleaning up the wrapping
jungle, so use the proper dix function instead.

See: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1754

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-qxl/-/merge_requests/20>
2025-02-06 22:59:41 +00:00
Enrico Weigelt, metux IT consult
65a208a79e uxa: drop unused SavedDestroyPixmap
The field is never set, only used once to "restore" the ScreenRec->DestroyPixmap
(hopefully by zero ?). Since, as an screen driver, we're at the lower end of the
chain anyways, so it doesn't really matter. Thus drop the unused field.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-qxl/-/merge_requests/20>
2025-02-06 22:59:41 +00:00
Alan Coopersmith
cd92a34e1b README.xspice: use unified xorgproto instead of obsolete {xext,x11,fonts}proto
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-qxl/-/merge_requests/19>
2024-10-04 16:50:27 -07:00
Alan Coopersmith
ca6caeddf7 Update links to use gitlab instead of anongit & git.fd.o
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-qxl/-/merge_requests/19>
2024-09-29 17:34:40 -07:00
Enrico Weigelt, metux IT consult
1e9b3ac10c uxa: use GCPtr instead of GC *
Xserver includes have explicit pointer types for quite all kind of structs
(at least those used by drivers), which are used all over the Xserver.
Thus it's much cleaner to use those everywhere.

This commit also clears the road to fix a horrible nightmare of hacks just
needed to circumvent naming clashes between Xserver and Xlib (affecting all
DDXes that are painting on another Xserver): we can simply rename Xserver's
own "GC" type to "GCRec" (the usual naming convention here) and so no trouble
with Xlib's "GC" type anymore. Once this has landed, we're free to do that
without breaking this driver.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2024-02-21 20:40:13 +01:00
Alan Coopersmith
989ff62022 gitlab CI: ensure libtool is installed in build container
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-10-05 17:29:20 -07:00
Peter Hutterer
f6f75e1b03 qxl 0.1.6
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2023-01-24 14:28:17 +10:00
Joachim Breuer
ca70ff93dd Default to one head if there is no NUM_HEADS option 2022-04-12 20:06:36 +02:00
Joachim Breuer
9d0ddb12cb Initialize pScrn->{width, height} from primary
... instead of pScrn->currentMode, the latter is not initialized
in xorg-server-21.1.3
2022-04-12 19:40:05 +02:00
Joachim Breuer
fe3acdf950 fix pScrn->modes == NULL in xf86InitViewport()
track pScrn->modes along with qxl->x_modes
2022-04-12 19:40:00 +02:00
Adam Jackson
52e975263f configure: Simplify fragile libdrm detection
libdrm 2.4.46 always installs qxl_drm.h
2022-04-06 21:50:03 +00:00
Alan Coopersmith
670992bf6e gitlab CI: stop requiring Signed-off-by in commits
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-04-06 14:41:16 -07:00
Alan Coopersmith
0a2e96d823 uxa: Convert source files from ISO-8859-1 to UTF-8
Clears errors from FlawFinder in gitlab CI:
Error: encoding error in ./src/uxa/uxa-unaccel.c
'utf-8' codec can't decode byte 0xa9 in position 19: invalid start byte

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-02-19 09:31:00 -08:00
Alan Coopersmith
92984f5a3f gitlab CI: add a basic build test
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-02-19 17:10:18 +00:00