167 Commits

Author SHA1 Message Date
Enrico Weigelt, metux IT consult
3be5906fda replace obsolete "pointer" typedef plain void*
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-05 20:21:44 +01:00
Enrico Weigelt, metux IT consult
00e853957f .github: add NetBSD build
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-29 18:18:42 +01:00
Enrico Weigelt, metux IT consult
4a709cb0b7 .github: add freebsd and dragonfly build
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-28 16:57:47 +01:00
Enrico Weigelt, metux IT consult
0555b10f1b .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:35:29 +01:00
Enrico Weigelt, metux IT consult
5a228da4cf 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:16:19 +01:00
Enrico Weigelt, metux IT consult
d38de11bbd release 25.0.0
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
xlibre-xf86-video-s3virge-25.0.0
2025-12-18 19:18:16 +01:00
Enrico Weigelt, metux IT consult
beaea42250 configure.ac: tiny formatting cleanup
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-18 17:36:53 +01:00
Enrico Weigelt, metux IT consult
c8f015e619 drop hacks for ancient pre-libpciaccess Xservers
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-18 15:56:37 +01:00
Enrico Weigelt, metux IT consult
21b0e6438f drop obsolete #ifdef XFree86LOADER
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-18 13:47:17 +01:00
Enrico Weigelt, metux IT consult
818b55e82c configure.ac: replace DRIVER_NAME symbol by actual name
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-18 13:27:54 +01:00
Enrico Weigelt, metux IT consult
4c65f8a3cb configure.ac: drop obsolete checks for libc functions
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-18 12:21:49 +01:00
Enrico Weigelt, metux IT consult
128ee6b7d8 drop support for ancient pre-7.1 xextproto
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-18 12:06:24 +01:00
Enrico Weigelt, metux IT consult
912bd5273c drop obsolete .gitlab-ci.yml
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-18 11:54:57 +01:00
Enrico Weigelt, metux IT consult
ba106ea09a drop obsolete #ifdef HAVE_CONFIG_H
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-18 11:03:26 +01:00
Enrico Weigelt, metux IT consult
ec26bd827c release 1.11.2
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
xlibre-xf86-video-s3virge-1.11.2
2025-12-16 15:27:15 +01:00
Enrico Weigelt, metux IT consult
5ba6be4c9f man: replace Xorg by XLibre
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-16 14:29:20 +01:00
Enrico Weigelt, metux IT consult
54d63d8589 README: fix URLs
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-16 14:28:31 +01:00
Alan Coopersmith
a1b56e25ae 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-s3virge/-/merge_requests/11>
2025-12-16 10:33:28 +01:00
Enrico Weigelt, metux IT consult
a03f4b1428 configure.ac: fix package name and issue tracker URL
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-15 19:13:06 +01:00
Enrico Weigelt, metux IT consult
4064c1a1c7 drop unncessary including of servermd.h
Don't need anything from that header, so no need to include it.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-11-06 15:13:46 +01:00
b-aaz
3b4a11c79c 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: b-aaz <b-aazbsd.proton.me>
xlibre-xf86-video-s3virge-1.11.1.2
2025-07-29 18:45:19 +02:00
Enrico Weigelt, metux IT consult
43bde4178b .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:34:13 +02:00
callmetango
8abb3b7137 .github: Add issue forms
Add the following forms for issue creation:

* Bug report
* Feature request
* Code change
* Documentation update
* Organizational task

* add issue type selection page on "New Issue" call
* mention Github Discussions and the mailing list where appropriate

Part-of: X11Libre/misc#156
Signed-off-by: callmetango <callmetango@users.noreply.github.com>
2025-07-07 17:04:33 +02:00
Alan Coopersmith
619c815d7b Remove last traces of UseFB option
Fixes: 784547b ("Nuke the useless UseFB option.")
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-s3virge/-/merge_requests/10>
xlibre-xf86-video-s3virge-1.11.1.1
2025-06-08 13:07:52 -07:00
Alan Coopersmith
65321f0c59 Improve man page formatting
More closely follow common style as described on
https://man7.org/linux/man-pages/man7/man-pages.7.html
and fix warnings raised by `mandoc -T lint` and `groff -rCHECKSTYLE=10`

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-s3virge/-/merge_requests/10>
2025-06-08 13:07:15 -07:00
Enrico Weigelt, metux IT consult
8834f10011 drop obsolete compat macros
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-s3virge/-/merge_requests/9>
2024-06-10 12:22:18 +02:00
Enrico Weigelt, metux IT consult
ef2d35a9ac drop support for ancient xserver versions
We're relying on at least 1.18.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-s3virge/-/merge_requests/9>
2024-05-23 20:26:18 +02:00
Alan Coopersmith
35de6b919e Raise minimum supported Xserver version to 1.18 (ABI_VIDEODRV_VERSION 20.0)
Already effectively required by use of XNFcallocarray() introduced in
xorg/xserver@b96dc999 - xserver-1.18.0, released in Nov. 2015.

Allows dropping remnants of code for XAA and pre-pciaccess X servers

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-s3virge/-/merge_requests/8>
2024-05-18 13:51:30 -07:00
Enrico Weigelt, metux IT consult
635ed52cb2 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>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-s3virge/-/merge_requests/6>
2024-05-08 16:35:34 +02:00
Alan Coopersmith
d2c856ab65 Quiet -Wredundant-decls from xorg/os.h fallbacks for new libc functions
The Xorg headers provide their own versions of strlcat, strlcpy, and
timingsafe_memcmp for platforms that don't have them in libc yet, but
rely on configure to set HAVE_* defines to determine if they should be
defined in the headers.

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-17 09:33:30 -08:00
Alan Coopersmith
058fbc23b3 Fix warning: declaration of ‘tmp’ shadows a previous local [-Wshadow]
s3v_driver.c: In function ‘S3VModeInit’:
s3v_driver.c:3103:12: warning: declaration of ‘tmp’ shadows a previous local [-Wshadow]
 3103 |        int tmp = vganew->CRTC[4] + ((i&0x10)<<4) + ps3v->HorizScaleFactor;
      |            ^~~
s3v_driver.c:2577:17: note: shadowed declaration is here
 2577 |   unsigned char tmp = 0;
      |                 ^~~

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-10 17:20:07 -08:00
Alan Coopersmith
d9db1f6451 Fix -Wmisleading-indentation warnings in regs3v.h
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-10 17:20:07 -08:00
Alan Coopersmith
55c908b7e2 Fix warning: no previous prototype for ‘S3VNopAllCmdSets’
s3v_accel.c:248:1: warning: no previous prototype for ‘S3VNopAllCmdSets’ [-Wmissing-prototypes]
  248 | S3VNopAllCmdSets(ScrnInfoPtr pScrn)
      | ^~~~~~~~~~~~~~~~

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-10 17:19:34 -08:00
Alan Coopersmith
61939906fb Add X.Org's standard C warning flags to AM_CFLAGS
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-10 16:47:03 -08:00
Alan Coopersmith
ca1c2cde88 configure: Use LT_INIT from libtool 2 instead of deprecated AC_PROG_LIBTOOL
AC_PROG_LIBTOOL was replaced by LT_INIT in libtool 2 in 2008,
so it's time to rely on it.

Clears autoconf warnings:

configure.ac:44: warning: The macro 'AC_PROG_LIBTOOL' is obsolete.
configure.ac:44: You should run autoupdate.
aclocal.m4:3515: AC_PROG_LIBTOOL is expanded from...
configure.ac:44: the top level

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-10 16:44:39 -08:00
Alan Coopersmith
bbb0fbc3e7 gitlab CI: ensure libtool is installed in build container
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-10-06 15:15:16 -07:00
Alan Coopersmith
2ebb61f9f4 xf86-video-s3virge 1.11.1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
xf86-video-s3virge-1.11.1
2023-02-13 12:00:18 -08:00
Alan Coopersmith
b417da55ef S3VSetCursorColors: quiet -Wimplicit-fallthrough warnings
gcc doesn't accept the existing comments because they have
additional text after the "else fall through" magic words

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-12-08 17:21:14 -08:00
Alan Coopersmith
cad06d6891 S3VSetupImageVideoOverlay: Fix 44 -Wnull-dereference warnings from gcc
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-12-08 17:16:51 -08:00
Alan Coopersmith
d058d086c0 constify some argument declarations
Clears 16 of 17 -Wdiscarded-qualifiers warnings from gcc

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-12-08 17:05:14 -08:00
Alan Coopersmith
4b097ae06e gitlab CI: stop requiring Signed-off-by in commits
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-12-08 16:59:26 -08:00
Alan Coopersmith
6c66938ca9 Move [HV]Total checks into S3VValidMode
Needed to build against Xorg 1.20 and later due to xorg/xserver@5a945f54
Based on ajax's commit xf86-video-rendition@70dd6c22

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-30 12:22:41 -08:00
Alan Coopersmith
f34dc6c0ff gitlab CI: add a basic build test
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-27 17:39:07 -08:00
Alan Coopersmith
9bffaf731c Fix spelling/wording issues
Found by using:
    codespell --builtin clear,rare,usage,informal,code,names

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-27 17:38:03 -08:00
Alan Coopersmith
25ae66103d Build xz tarballs instead of bzip2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-27 17:36:27 -08:00
Kevin Brace
2b620c3fd4 Version bumped to 1.11.0
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
xf86-video-s3virge-1.11.0
2019-02-07 18:42:02 -08:00
Kevin Brace
824193dacb Eliminate unused function compilation warnings
It is an XAA related issue.

Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2018-12-18 18:14:44 -06:00
Kevin Brace
80d285af63 Eliminate unused variable compilation warnings
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2018-12-18 18:03:48 -06:00
Kevin Brace
5325b8f16b Use const char for xf86GetOptValString return type
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2018-12-18 17:59:11 -06:00
Alan Coopersmith
f1f616ae6b Update configure.ac bug URL for gitlab migration
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-12-07 19:07:10 -08:00