summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2023-02-09Add -help and -version optionsHEADmasterAlan Coopersmith2-3/+31
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-02-09Print which argument was unknown before giving usage messageAlan Coopersmith1-1/+7
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-02-09gitlab CI: stop requiring Signed-off-by in commitsAlan Coopersmith1-2/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-10-15viewres 1.0.7viewres-1.0.7Alan Coopersmith1-2/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-09-10Add .git-blame-ignore-revs to hide whitespace commits from git blameAlan Coopersmith1-0/+16
To use this in your local repo clone, you will need to either run `git blame --ignore-revs-file .git-blame-ignore-revs` or set it permanently with `git config blame.ignoreRevsFile .git-blame-ignore-revs` Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-09-10set_node_labels: move dereference of node to after the NULL checkAlan Coopersmith1-1/+2
Found by cppcheck: viewres.c:815:22: warning: Either the condition '!node' is redundant or there is possible null pointer dereference: node. [nullPointerRedundantCheck] ViewresData *d = VData(node); ^ viewres.c:817:9: note: Assuming that condition '!node' is not redundant if (!node) ^ viewres.c:815:22: note: Null pointer dereference ViewresData *d = VData(node); ^ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-08-14Variable scope reductions as suggested by cppcheckAlan Coopersmith1-21/+11
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-08-14Remove obsolete casts on calloc & malloc callsAlan Coopersmith1-4/+2
Not needed in C89 and later Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-08-14Apply X.Org standard coding styleAlan Coopersmith1-592/+621
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-04-02man page: remove out-of-date COPYRIGHT sectionAlan Coopersmith1-4/+0
The information previously listed here didn't match what is present in the source code or the COPYING file, and the X(7) man page doesn't list any license information as this had claimed. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2021-12-04Build xz tarballs instead of bzip2Alan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2021-12-04gitlab CI: add a basic build testAlan Coopersmith1-0/+98
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2019-08-25viewres 1.0.6viewres-1.0.6Alan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2019-06-08Fix -Wshadow warningsAlan Coopersmith1-7/+7
viewres.c: In function ‘select_callback’: viewres.c:620:18: warning: declaration of ‘node’ shadows a previous local [-Wshadow] XmuWidgetNode *node = selected_list.elements[i]; ^~~~ viewres.c:593:20: note: shadowed declaration is here XmuWidgetNode *node; ^~~~ viewres.c:658:18: warning: declaration of ‘node’ shadows a previous local [-Wshadow] XmuWidgetNode *node = selected_list.elements[i]; ^~~~ viewres.c:593:20: note: shadowed declaration is here XmuWidgetNode *node; ^~~~ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2019-06-08Fix -Wsign-compare warningsAlan Coopersmith1-1/+1
viewres.c: In function ‘set_resource_labels’: viewres.c:313:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < node->nresources; i++, res++, wn++) { ^ viewres.c:329:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < node->nconstraints; i++, res++, wn++) { ^ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2019-06-08Pass -D_CONST_X_STRING to make libXt declare String as const char *Alan Coopersmith2-1/+2
Clears up 32 of 38 gcc -Wdiscarded-qualifiers warnings Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-11-21Update configure.ac bug URL for gitlab migrationAlan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-11-16Update README for gitlab migrationAlan Coopersmith3-26/+20
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-03-04viewres 1.0.5viewres-1.0.5Alan 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>
2014-06-02autogen.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>
2014-06-02configure: Drop AM_MAINTAINER_MODEAlan Coopersmith2-2/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-06-02config: Add missing AC_CONFIG_SRCDIRAlan Coopersmith1-2/+5
Regroup AC statements under the Autoconf initialization section. Regroup AM statements under the Automake initialization section. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-01-12viewres 1.0.4viewres-1.0.4Alan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2012-08-23Eliminate use of tab stops. Helps with structural translation to DocBook.Eric S. Raymond1-34/+35
Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
2011-01-19config: move man pages into their own directoryGaetan Nadon4-17/+17
Use services provided by XORG_MANPAGE_SECTIONS. Use standard Makefile for man pages. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-01-13man: replace hard coded man page section with substitution stringsGaetan Nadon1-1/+1
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-01-13man: remove trailing spaces and tabsGaetan Nadon1-15/+15
Using s/[ \t]*$// Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-01-12config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERSGaetan Nadon1-1/+1
This silences an Autoconf warning
2011-01-12config: replace deprecated AC_HELP_STRING with AS_HELP_STRINGGaetan Nadon1-1/+1
This silences an Automake warning. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-10-30viewres 1.0.3viewres-1.0.3Alan Coopersmith1-1/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-10-30config: Remove unnecessary calls from configure.acAlan Coopersmith1-6/+0
AC_PROG_CC & AC_PROG_INSTALL are provided by XORG_DEFAULT_OPTIONS now PKG_CONFIG_MODULES handles AC_SUBST of the CFLAGS & LIBS variables Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-10-30config: update AC_PREREQ statement to 2.60Gaetan Nadon1-1/+1
Unrelated to the previous patches, the new value simply reflects the reality that the minimum level for autoconf to configure all x.org modules is 2.60 dated June 2006. ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.60.tar.gz Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-07-01viewres calls Xmu functions directly so include it in PKG_CHECK_MODULESAlan Coopersmith1-2/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-07-01config: upgrade to util-macros 1.8 for additional man page supportAlan Coopersmith2-22/+4
Use MAN_SUBST now supplied in XORG_MANPAGE_SECTIONS The value of MAN_SUBST is the same for all X.Org packages. Use AC_PROG_SED now supplied by XORG_DEFAULT_OPTIONS The existing statement can now be removed from the configuration file. Use XORG_DEFAULT_OPTIONS provided $(SED) Use platform appropriate version of sed. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-02-11config: move CWARNFLAGS from configure.ac to Makefile.amGaetan Nadon2-2/+1
Compiler warning flags should be explicitly set in the makefile rather than being merged with other packages compiler flags. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2009-12-19configure.ac: use backticks rather than $() for cmd subsGaetan Nadon1-1/+1
Use "$PKG_CONFIG" rather than hard coded "pkg-config" Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2009-12-16viewres 1.0.2viewres-1.0.2Alan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-12-16Fill in COPYING file with notices from viewres.c & viewres.manAlan Coopersmith1-8/+18
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-12-16Silence sed substitutions in make outputAlan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-11-26Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILESGaetan Nadon1-0/+1
Now that the INSTALL file is generated. Allows running make maintainer-clean.
2009-10-28INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206Gaetan Nadon5-3/+6
Add missing INSTALL file. Use standard GNU file on building tarball README may have been updated Remove AUTHORS file as it is empty and no content available yet. Remove NEWS file as it is empty and no content available yet.
2009-10-27Deploy the new XORG_DEFAULT_OPTIONS #24242Gaetan Nadon1-7/+5
This macro aggregate a number of existing macros that sets commmon X.Org components configuration options. It shields the configuration file from future changes.
2009-10-26Makefile.am: ChangeLog not required: EXTRA_DIST or *CLEANFILES #24432Gaetan Nadon1-2/+0
ChangeLog filename is known to Automake and requires no further coding in the makefile.
2009-10-22.gitignore: use common defaults with custom section # 24239Gaetan Nadon1-12/+66
Using common defaults will reduce errors and maintenance. Only the very small or inexistent custom section need periodic maintenance when the structure of the component changes. Do not edit defaults.
2009-10-01Add README with pointers to mailing lists, bugzilla, & gitAlan Coopersmith1-0/+26
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-01-19Add a simple Viewres-color filePaulo Cesar Pereira de Andrade2-2/+26
Only grayscale values used.
2009-01-19Ansification and compile warning fixes.Paulo Cesar Pereira de Andrade4-6/+24
This also uses XORG_CHANGELOG and XORG_CWARNFLAGS, corrects make distcheck and all gcc 4.3 and sparse warnings.