summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
7 daysuse XNFcallocarray() instead of xnfcalloc macroHEADmasterEnrico Weigelt, metux IT consult2-4/+4
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-neomagic/-/merge_requests/7>
8 daysuse XNFalloc() instead of xnfallocEnrico Weigelt, metux IT consult3-3/+3
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> Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-neomagic/-/merge_requests/7>
2024-01-17Quiet -Wredundant-decls from xorg/os.h fallbacks for new libc functionsAlan Coopersmith1-0/+5
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-08Fix warning: declaration of ‘ret’ shadows a previous local [-Wshadow]Alan Coopersmith1-7/+8
neo_driver.c: In function ‘NEOScreenInit’: neo_driver.c:1638:14: warning: declaration of ‘ret’ shadows a previous local [-Wshadow] 1638 | Bool ret = FALSE; | ^~~ neo_driver.c:1460:9: note: shadowed declaration is here 1460 | int ret; | ^~~ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-08Add X.Org's standard C warning flags to AM_CFLAGSAlan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-08configure: Use LT_INIT from libtool 2 instead of deprecated AC_PROG_LIBTOOLAlan Coopersmith1-2/+1
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:3465: AC_PROG_LIBTOOL is expanded from... configure.ac:44: the top level Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-10-05gitlab CI: ensure libtool is installed in build containerAlan Coopersmith1-3/+3
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-04-09xf86-video-neomagic 1.3.1xf86-video-neomagic-1.3.1Alan Coopersmith1-2/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-12-08NEOPreInit: Handle -Wimplicit-fallthrough warningAlan Coopersmith1-0/+1
neo_driver.c: In function ‘NEOPreInit’: neo_driver.c:892:9: warning: this statement may fall through [-Wimplicit-fallthrough=] if (nPtr->NeoChipset != NM2070) ^ neo_driver.c:894:2: note: here default: ^~~~~~~ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-12-08NEOGetRec: Fix -Wmisleading-indentation warningAlan Coopersmith1-0/+1
neo_driver.c: In function ‘NEOGetRec’: neo_driver.c:464:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] if (pScrn->driverPrivate == NULL) ^~ neo_driver.c:466:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ return TRUE; ^~~~~~ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-12-08gitlab CI: stop requiring Signed-off-by in commitsAlan Coopersmith1-2/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-22gitlab CI: add a basic build testAlan Coopersmith1-0/+98
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-22Fix spelling/wording issuesAlan Coopersmith5-7/+7
Found by using: codespell --builtin clear,rare,usage,informal,code,names Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-22Build xz tarballs instead of bzip2Alan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2019-02-14Use fabs() instead of abs() on double value.Matthieu Herrb1-1/+1
Silences clang warnings. Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> Reviewed-by: Walter Harms <wharms@bfs.de>
2018-12-24Version bumped to 1.3.0xf86-video-neomagic-1.3.0Kevin Brace1-1/+1
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2018-12-22Suppress unused function compilation warningKevin Brace1-0/+2
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2018-12-22Eliminate unused variable compilation warningKevin Brace1-1/+0
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2018-11-25Update configure.ac bug URL for gitlab migrationAlan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2017-01-26autogen: add default patch prefixMihail Konev1-0/+3
Signed-off-by: Mihail Konev <k.mvc@ya.ru>
2017-01-26autogen.sh: use quoted string variablesEmil Velikov1-4/+4
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-26autogen.sh: use exec instead of waiting for configure to finishPeter Hutterer1-1/+1
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-26autogen.sh: Honor NOCONFIGURE=1Alan Coopersmith1-2/+3
See http://people.gnome.org/~walters/docs/build-api.txt Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2017-01-26configure: Drop AM_MAINTAINER_MODEAlan Coopersmith2-2/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2015-05-08Bump to 1.2.9xf86-video-neomagic-1.2.9Julien Cristau1-1/+1
Signed-off-by: Julien Cristau <jcristau@debian.org>
2015-05-08Fix compiler warning with recent X serversJulien Cristau1-1/+1
xf86GetOptValString was changed to return const char *. Signed-off-by: Julien Cristau <jcristau@debian.org>
2014-09-21neomagic: fix build against master X server.Dave Airlie1-0/+4
Signed-off-by: Dave Airlie <airlied@redhat.com>
2014-05-21Use own thunk functions instead of vgaHW*WeakAdam Jackson1-2/+14
I plan to remove the Weak functions from a future server Signed-off-by: Adam Jackson <ajax@redhat.com>
2013-08-16xf86-video-neomagic 1.2.8xf86-video-neomagic-1.2.8Matt Turner1-1/+1
Signed-off-by: Matt Turner <mattst88@gmail.com>
2013-08-16Unbreak shadowfb initialization with modern X servers.Matthieu Herrb2-1/+40
Bugzilla: https://bugs.gentoo.org/show_bug.cgi?id=434468 Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr> Signed-off-by: Matt Turner <mattst88@gmail.com>
2012-09-25Remove mibstore.hAdam Jackson1-4/+0
Signed-off-by: Adam Jackson <ajax@redhat.com>
2012-09-11Don't check for unneeded proto headersMatt Turner1-8/+0
DGA unneeded since b6633ee7, others probably never needed. Signed-off-by: Matt Turner <mattst88@gmail.com>
2012-09-11Remove uses of xf86PciInfo.hMatt Turner6-7/+11
Signed-off-by: Matt Turner <mattst88@gmail.com>
2012-09-11Add &component=Driver/Neomagic to Bugzilla linkMatt Turner1-1/+1
Signed-off-by: Matt Turner <mattst88@gmail.com>
2012-09-11Don't call NEO_Sync with no XAAMatt Turner1-5/+2
The commit that makes XAA optional left a use of NEO_Sync while putting the body inside an #ifdef HAVE_XAA_H block, which caused undefined symbol errors when loading the driver. NEO_Sync doesn't do anything without XAA, so don't bother calling it without XAA. Bugzilla: https://bugs.gentoo.org/show_bug.cgi?id=434468 Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
2012-07-17xf86-video-neomagic: bump to version 1.2.7xf86-video-neomagic-1.2.7Dave Airlie1-1/+1
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-07-16neomagic: fix build when XAA is unavailable.Dave Airlie9-16/+71
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-06-06neomagic: port to new compat API.Dave Airlie12-67/+168
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-04-18Use DamageRegion for shadow damageAdam Jackson1-1/+1
The 'damage' member is an ancient compatibility hack I want to destroy. Signed-off-by: Adam Jackson <ajax@redhat.com>
2012-03-23xf86-video-neomagic 1.2.6xf86-video-neomagic-1.2.6Alan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-12-19Fix for new vgahw ABIAdam Jackson1-0/+1
Signed-off-by: Adam Jackson <ajax@redhat.com>
2011-12-19Fall back to shadowfb when XAA is unavailableAdam Jackson1-9/+12
Signed-off-by: Adam Jackson <ajax@redhat.com>
2011-10-11Include <stdlib.h> for abs()Jeremy Huddleston1-0/+1
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-10-11Use malloc/calloc/realloc/free directlyJeremy Huddleston3-24/+24
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2010-10-06Purge cvs tags.Jesse Adkins1-1/+0
Signed-off-by: Jesse Adkins <jesserayadkins@gmail.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-07-22config: add comments for main statementsGaetan Nadon1-5/+6
2010-07-21config: replace deprecated use of AC_OUTPUT with AC_CONFIG_FILESGaetan Nadon1-4/+5
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-07-21config: replace deprecated AC_HELP_STRING with AS_HELP_STRINGGaetan Nadon1-1/+1
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-07-21config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERSGaetan Nadon1-1/+1
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-07-21config: complete AC_INIT m4 quotingGaetan Nadon1-2/+2
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>