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
Alan Coopersmith
03d8241e33
Update README for gitlab migration
...
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com >
2018-11-18 16:13:36 -08:00
Mihail Konev
81542ee8ef
autogen: add default patch prefix
...
Signed-off-by: Mihail Konev <k.mvc@ya.ru >
2017-01-26 14:00:22 +10:00
Emil Velikov
f35fe04a59
autogen.sh: use quoted string variables
...
Place quotes around the $srcdir, $ORIGDIR and $0 variables to prevent
fall-outs, when they contain space.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com >
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net >
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net >
2017-01-26 11:26:28 +10:00
Peter Hutterer
803b043ed7
autogen.sh: use exec instead of waiting for configure to finish
...
Syncs the invocation of configure with the one from the server.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net >
Reviewed-by: Emil Velikov <emil.velikov@collabora.com >
2017-01-26 11:23:46 +10:00
Alan Coopersmith
df98ecd2b5
autogen.sh: Honor NOCONFIGURE=1
...
See http://people.gnome.org/~walters/docs/build-api.txt
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com >
2017-01-26 11:16:37 +10:00
Alan Coopersmith
c91e9061fd
configure: Drop AM_MAINTAINER_MODE
...
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com >
2017-01-26 11:16:37 +10:00
Thomas Klausner
47f4369464
Add cast to remove a warning on 32-bit machines.
...
PCI_REGION_BASE returns a 64-bit value, which needs to be converted
down to 32-bit before it can be put into a 32-bit pointer.
2015-10-20 12:23:43 -04:00
Nick Hudson
9c8a08c9c7
Increase BIOS_BSIZE.
...
libpciaccess expects a much bigger buffer when reading ROM.
Bump it to the (normal) IO space size.
Signed-off-by: Thomas Klausner <wiz@NetBSD.org >
2015-10-20 12:13:40 -04:00
Matt Turner
8a54ff31e6
xf86-video-s3virge 0.10.7
...
Signed-off-by: Matt Turner <mattst88@gmail.com >
xf86-video-s3virge-1.10.7
2015-09-26 09:31:04 -07:00
Adam Jackson
211e2831dc
Remove call to miInitializeBackingStore
...
Signed-off-by: Adam Jackson <ajax@redhat.com >
2014-09-30 10:27:13 -04:00
Adam Jackson
69b9adea70
Fix build against xserver 1.17
...
Signed-off-by: Adam Jackson <ajax@redhat.com >
2014-09-30 10:26:17 -04:00
Adam Jackson
d74238ca2f
Use own thunk function instead of vgaHW*Weak
...
I plan to remove the Weak functions from a future server.
Signed-off-by: Adam Jackson <ajax@redhat.com >
2014-05-21 14:10:11 -04:00
Dave Airlie
e7524461f8
xf86-video-s3virge: bump to version 1.10.6
...
Signed-off-by: Dave Airlie <airlied@redhat.com >
xf86-video-s3virge-1.10.6
2012-07-17 16:05:09 +10:00
Dave Airlie
d930bc4864
s3virge: port to new X server compat API.
...
Signed-off-by: Dave Airlie <airlied@redhat.com >
2012-07-17 14:49:26 +10:00
Dave Airlie
fffd73884a
s3v: adjust to removal of XAA from server.
...
Signed-off-by: Dave Airlie <airlied@redhat.com >
2012-07-17 14:38:38 +10:00
Julien Cristau
28f8c5f5f9
xf86-video-s3virge 1.10.5
...
Signed-off-by: Julien Cristau <jcristau@debian.org >
xf86-video-s3virge-1.10.5
2012-05-13 10:43:13 +02:00
Julien Cristau
410e715e0b
Fix distcheck
...
Signed-off-by: Julien Cristau <jcristau@debian.org >
2012-05-13 10:38:44 +02:00
Julien Cristau
9bbacb9465
Avoid compiler warning for deprecated PCITAG
...
It's only used in non-pciaccess builds.
Signed-off-by: Julien Cristau <jcristau@debian.org >
2012-05-13 10:34:12 +02:00
Tormod Volden
1a17d10a41
Do not use deprecated xf86PciInfo.h
...
Signed-off-by: Tormod Volden <debian.tormod@gmail.com >
Reviewed-by: Cyril Brulebois <kibi@debian.org >
2012-03-24 18:55:58 +01:00
Tormod Volden
5f0d2a32a8
Replace deprecated x(c/re)alloc/xfree with m/c/realloc/free
...
sed -i 's/xalloc/malloc/g; s/xcalloc/calloc/g; s/xrealloc/realloc/g;
s/xfree(/free(/g'
Also added a missing unistd.h include for usleep().
Signed-off-by: Tormod Volden <debian.tormod@gmail.com >
Reviewed-by: Alex Deucher <alexdeucher@gmail.com >
Reviewed-by: Daniel Stone <daniel@fooishbar.org >
2011-12-30 11:24:11 +00:00
Tormod Volden
c6282487c4
Add missing VERBLEV argument to xf86DrvMsgVerb()
...
Signed-off-by: Tormod Volden <debian.tormod@gmail.com >
Reviewed-by: Daniel Stone <daniel@fooishbar.org >
2011-12-29 18:06:25 +00:00
Adam Jackson
6085552878
Fix for new vgahw ABI
...
Signed-off-by: Adam Jackson <ajax@redhat.com >
2011-12-19 17:20:00 -05:00
Adam Jackson
6a26a16af1
Fall back to shadowfb if XAA is unavailable
...
Signed-off-by: Adam Jackson <ajax@redhat.com >
2011-12-19 17:19:07 -05:00
Adam Jackson
729e379f27
Check ABI major not encoded ABI
...
Signed-off-by: Adam Jackson <ajax@redhat.com >
2011-11-17 15:53:28 -05:00