summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-08-08xset 1.2.3xset-1.2.3Alan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-07-19Pass buf size to on_or_off instead of just assuming it is big enoughAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-07-19Add -version flagAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-07-19Fix integer sign/size conversion warnings from clangAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-07-19Add printf attribute to usage function and fix warnings it causesAlan Coopersmith
gcc suggested it: xset.c: In function ‘usage’: xset.c:1577:2: warning: function might be possible candidate for ‘gnu_printf’ format attribute [-Wmissing-format-attribute] But adding it unveiled many complaints about extra trailing NULL args from before usage took a variable number of arguments: xset.c:186:3: warning: too many arguments for format [-Wformat-extra-args] xset.c:193:2: warning: too many arguments for format [-Wformat-extra-args] xset.c:362:3: warning: too many arguments for format [-Wformat-extra-args] xset.c:370:3: warning: too many arguments for format [-Wformat-extra-args] xset.c:376:3: warning: too many arguments for format [-Wformat-extra-args] xset.c:382:3: warning: too many arguments for format [-Wformat-extra-args] xset.c:388:3: warning: too many arguments for format [-Wformat-extra-args] xset.c:402:7: warning: too many arguments for format [-Wformat-extra-args] xset.c:425:7: warning: too many arguments for format [-Wformat-extra-args] xset.c:542:4: warning: too many arguments for format [-Wformat-extra-args] xset.c:735:3: warning: too many arguments for format [-Wformat-extra-args] so those were deleted. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-07-19Fix gcc warnings about discarded const qualifiersAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-02-20Combine error message stringsAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-02-20Combine usage message stringsAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-01-08Drop usleep fallbacks for ancient OS versionsAlan Coopersmith
Unix 98 requires usleep() so assume most supported non-Win32 platforms have it and don't need old workarounds any more. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-11-05Remove unneeded include of windows.h on WIN32Jon TURNEY
Remove unneeded include of windows.h on WIN32, along with an attempt at the needed wrapping, which is all done properly by Xwindows.h (This include was also under a DPMSExtension define, for some strange reason) Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
2011-07-28xset 1.2.2xset-1.2.2Alan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-07-18Remove direct call to Solaris nanosleep system callAlan Coopersmith
Attempted to workaround nanosleep() being only in POSIX realtime extensions library, but both usleep() & nanosleep() are in libc now, so not useful anymore, nor was it ever officially supported. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-07-18Mark error() & usage() functions as _X_NORETURNAlan Coopersmith
Requires xproto >= 7.0.17 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-07-18Give better error for "xset dpms force" without argumentAlan Coopersmith
Changes from "xset: unknown option force" to "xset: missing argument to dpms force" Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-01-28Print pixel colors in hex not decimalEitan Adler
Signed-off-by: Adam Jackson <ajax@redhat.com>
2011-01-19config: move man pages into their own directoryGaetan Nadon
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 Nadon
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-01-12config: replace deprecated AC_HELP_STRING with AS_HELP_STRINGGaetan Nadon
This silences an Automake warning. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-01-12config: remove unrequired AC_SUBST([*_LIBS])Gaetan Nadon
This macro is called by PKG_CHECK_MODULES Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-01-12config: remove unrequired AC_SUBST([*_CFLAGS])Gaetan Nadon
This macro is called by PKG_CHECK_MODULES Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-11-10xset 1.2.1xset-1.2.1Alan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-11-09Strip trailing whitespaceAlan Coopersmith
Generated via: perl -i -p -e 's{\s+$}{\n}' * Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-11-09Restore man page copyright accidentally removed in ce3f6a73c2beefAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-11-09config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERSAlan Coopersmith
Regroup AC statements under the Autoconf initialization section. Regroup AM sttaements under the Automake initialization section. Add missing AC_CONFIG_SRCDIR Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-11-09config: AC_PROG_CC & AC_PROG_INSTALL are provided by XORG_DEFAULT_OPTIONSAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-11-09config: update AC_PREREQ statement to 2.60Gaetan Nadon
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-10-06Purge cvs tags.Jesse Adkins
Signed-off-by: Jesse Adkins <jesserayadkins@gmail.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-08-12Spelling fix in help docs.Bryce Harrington
Reviewed-by: Robert Hooker <sarvatt@ubuntu.com> Signed-off-by: Bryce Harrington <bryce@canonical.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-08-09Use silent rulesYaakov Selkowitz
Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-08-09Use AC_PROG_SED and MAN_SUBSTS in macros-1.8Yaakov Selkowitz
Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-08-09Remove unused variable warning with !XF86MISCYaakov Selkowitz
xset.c: In function 'query': xset.c:1317: warning: unused variable 'dummy' Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-08-06xset 1.2.0xset-1.2.0Peter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-03-26xprint: remove conditional code regarding xprintGaetan Nadon
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-03-26config: remove xprint optionGaetan Nadon
xprint/xaw8 are obsolete and have been removed. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-02-11config: move CWARNFLAGS from configure.ac to Makefile.amGaetan Nadon
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-21Remove two unused variables.Peter Hutterer
xset.c: In function ‘query’: xset.c:1388: warning: unused variable ‘ind’ xset.c:1387: warning: unused variable ‘state’ Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
2009-12-21xset: update info about pointer accelerationSimon Thum
Also, try to avoid confusion in the description of what acceleration means. Signed-off-by: Simon Thum <simon.thum@gmx.de> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-11-26Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILESGaetan Nadon
Now that the INSTALL file is generated. Allows running make maintainer-clean.
2009-10-28INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206Gaetan Nadon
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 Nadon
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 Nadon
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 Nadon
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-21This is not a GNU project, so declare it foreign.Jeremy Huddleston
On Wed, 2009-10-21 at 13:36 +1000, Peter Hutterer wrote: > On Tue, Oct 20, 2009 at 08:23:55PM -0700, Jeremy Huddleston wrote: > > I noticed an INSTALL file in xlsclients and libXvMC today, and it > > was quite annoying to work around since 'autoreconf -fvi' replaces > > it and git wants to commit it. Should these files even be in git? > > Can I nuke them for the betterment of humanity and since they get > > created by autoreconf anyways? > > See https://bugs.freedesktop.org/show_bug.cgi?id=24206 As an interim measure, replace AM_INIT_AUTOMAKE([dist-bzip2]) with AM_INIT_AUTOMAKE([foreign dist-bzip2]). This will prevent the generation of the INSTALL file. It is also part of the 24206 solution. Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org>
2009-10-13Added --without-{xf86misc,xprint,fontcache} configure time optionsJeremy Huddleston
Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org>
2009-09-21xset 1.1.0xset-1.1.0Alan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-09-21Migrate to xorg macros 1.3 & XORG_DEFAULT_OPTIONSAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-06-16Fill in README & COPYING filesAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-06-16XKB named indicator support for led state query/setAlan Coopersmith
xset q now lists XKB named indicator states in addition to led bitmask Sample output: Keyboard Control: auto repeat: on key click percent: 0 LED mask: 0000000a XKB indicators: 00: Caps Lock: off 01: Num Lock: on 02: Scroll Lock: off 03: Compose: on 04: Shift Lock: off 05: Group 2: off 06: Mouse Keys: off [...] New options "xset led named <name>" and "xset -led named <name>" allow turning named leds/virtual indicators on & off. ('named' keyword is necessary to avoid ambiguity if an XKB indicator is given a numeric name or a name that matches an existing xkb option due to xset's horrible historic command line syntax model.) Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-05-01Avoid warning from "xset r rate" when XF86Misc extension is not presentAlan Coopersmith
- Since XF86Misc is only used if XKB is not present, don't check for XF86Misc unless XKB is not present - If we do check for XF86Misc, use QueryExtension instead of QueryVersion to avoid Xlib printing missing extension warning message when it's not found (such as in Xorg 1.6 and later). Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-04-28Fix typos in xset manpageJulien Cristau
Debian bug#525255 <http://bugs.debian.org/525255> Reported-by: "A. Costa" <agcosta@gis.net>