summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2022-12-03transset 1.0.3HEADtransset-1.0.3masterAlan Coopersmith1-3/+3
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-11-03gitlab CI: stop requiring Signed-off-by in commitsAlan Coopersmith1-2/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-10-29Remove unnecessary casts from malloc() and XFree() callsAlan Coopersmith2-6/+6
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-10-29dsimple.c: Correct commentsAlan Coopersmith1-3/+3
Fix typos and list correct header name Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-10-29Declare target_win staticAlan Coopersmith1-1/+1
Clears clang warning: transSet.c:43:8: warning: no previous extern declaration for non-static variable 'target_win' [-Wmissing-variable-declarations] Window target_win; ^ transSet.c:43:1: note: declare 'static' if the variable is not intended to be used outside of this translation unit Window target_win; ^ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-02-19transset.man: Update bug reporting URL from bugzilla to gitlabAlan Coopersmith1-1/+2
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>
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-33/+26
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-03-09transset 1.0.2transset-1.0.2Alan Coopersmith1-2/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2015-05-07Fix warnings about signed vs. unsigned comparisonAlan Coopersmith1-4/+2
Part of https://bugs.freedesktop.org/show_bug.cgi?id=25542 dsimple.c:262:19: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < nchildren; i++) { ~ ^ ~~~~~~~~~ dsimple.c:296:19: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < nchildren; i++) { ~ ^ ~~~~~~~~~ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2015-01-05Only use property pointer if XGetWindowProperty returns successAlan Coopersmith1-5/+4
In Xlib versions prior to 1.6, if XGetWindowProperty returns a failure, it didn't always set the property pointer to NULL, and could leave it uninitialized. Reported by Oracle Parfait 1.5.1: Error: Uninitialised memory (CWE 456) Possible access to uninitialised memory '&data' at line 298 of transSet.c in function 'main'. &data allocated at line 154. at line 299 of transSet.c in function 'main'. &data allocated at line 154. at line 300 of transSet.c in function 'main'. &data allocated at line 154. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Hans de Goede <hdegoede@redhat.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>
2013-05-17transset 1.0.1transset-1.0.1Alan Coopersmith1-2/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-02-22Add the options to the man page (they were all missing before)Alan Coopersmith1-4/+99
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-02-22Store min & max as doubles, not floatsAlan Coopersmith1-1/+1
Since atof generates doubles, and we use them to compare/limit the values of the double "d", might as well keep them in the same format instead of doing unnecessary conversions. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-02-22Typo fixes in verbose message & commentAlan Coopersmith1-2/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-02-22Use correct variable for printing current opacityAlan Coopersmith1-1/+1
Found by clang: transSet.c:303:30: warning: variable 'opacity' is uninitialized when used here [-Wuninitialized] (double) opacity / OPAQUE); ^~~~~~~ When running transset -v, it prints the current opacity of a window before changing it, but was printing garbage - after this fix, correctly prints the value set by the previous run. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-02-22Move release date from transset.c to configure.ac so we remember to update itAlan Coopersmith2-2/+5
Currently our 2012 release prints: released: 2007-09-21 when you run transset --version Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-02-22Include PACKAGE_STRING in --version outputAlan Coopersmith1-2/+6
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-02-22Combine usage message into single string/callAlan Coopersmith1-31/+17
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2012-06-07Fix program name in usage information, transset instead of transset-df.Arnaud Fontaine1-1/+1
2012-06-05transset 1.0.0transset-1.0.0Arnaud Fontaine1-1/+1
2012-06-05Rename dpy to disp in function parameter to avoid shadowing dpy global ↵Arnaud Fontaine2-30/+30
declaration.
2012-06-05Add missing const keywords on Fatal_Error() and program_name to clear GCC ↵Arnaud Fontaine2-4/+4
warnings.
2012-06-05Add _X_ATTRIBUTE_PRINTF attribute to Fatal_Error() to clear GCC warning.Arnaud Fontaine1-1/+1
2012-06-05Add _X_NORETURN to Usage() to clear GCC warning.Arnaud Fontaine1-1/+1
2012-06-05Use _X_NORETURN from xproto 7.0.17 instead of checking __GNUC__.Arnaud Fontaine2-6/+4
2012-06-05Add autogen.sh to EXTRA_DIST.Arnaud Fontaine1-0/+1
2012-06-05Clear GCC warning (-Wmaybe-uninitialized).Arnaud Fontaine1-4/+1
2012-02-15Add copyright statement and update accordingly COPYING file.Arnaud Fontaine2-29/+71
Reviewed-by: Gaetan Nadon<memsize@videotron.ca>
2012-01-23Update README.Arnaud Fontaine1-37/+32
2012-01-20config: add dependency on xprotoGaetan Nadon1-1/+1
transSet.c includes <X11/Xatom.h> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2012-01-20Remove XFree86 and IMakefile version control information in source codeGaetan Nadon2-3/+0
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2012-01-20config: upgrade, comment and fix autoconf warningsGaetan Nadon1-8/+9
In the same way other xorg modules have been. - minimum autoconf level is 2.60 - AC_CONFIG_HEADER (singular) is obsolete Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2012-01-20make: remove $(LIBOBJS) dead codeGaetan Nadon1-1/+1
Starting at Autoconf 2.53, the use of LIBOBJS is an error. http://www.gnu.org/software/autoconf/manual/autoconf.html# AC_005fLIBOBJ-vs-LIBOBJS There are no system functions to override in this module. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2012-01-20man: normalize man page header/footerGaetan Nadon1-2/+2
Do not hard coded man page section number. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2012-01-20man: use X.Org makefile which will also fix failing distcheckGaetan Nadon4-5/+21
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2012-01-20autogen.sh: use the X.Org versionGaetan Nadon1-1/+11
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2012-01-20AUTHORS: remove empty fileGaetan Nadon1-0/+0
Not required when Automake is initialized with "foreign" keyword. It can be added with proper content anytime. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-12-14Get rid of useless includes.Arnaud Fontaine3-5/+1
2011-12-14Use enum for selected method for readability sake.Arnaud Fontaine1-12/+30
2011-12-14Use Bool rather than int type for booleans.Arnaud Fontaine1-13/+13
2011-12-14Fix GCC warning (-Wuninitialized).Arnaud Fontaine1-1/+1
2011-12-14Close property the Display and fix error exit code value.Arnaud Fontaine1-2/+5
2011-12-14Remove useless malloc().Arnaud Fontaine1-2/+0
2011-12-14Free properly memory allocated by XQueryTree().Arnaud Fontaine1-1/+2
2011-12-14Fix coding style.Arnaud Fontaine3-462/+499