summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-01-29xev 1.2.1xev-1.2.1Aaron Plattner
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
2013-01-19Use strncasecmp instead of a tolower loop & strncmpAlan Coopersmith
v2: Since strncasecmp is in Unix98, assume it is always available, and drop fallback code for systems without it. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-01-19Fix clang warnings about converting size_t to int and back againAlan Coopersmith
xev.c:909:15: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] int len = strlen (s); ~~~ ^~~~~~~~~~ xev.c:917:34: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] if (strncmp (s, "notuseful", len) == 0) return (NotUseful); ~~~~~~~ ^~~ xev.c:918:35: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] if (strncmp (s, "whenmapped", len) == 0) return (WhenMapped); ~~~~~~~ ^~~ xev.c:919:31: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] if (strncmp (s, "always", len) == 0) return (Always); ~~~~~~~ ^~~ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-06-26Add a -event parameter to control the event maskAaron Plattner
It's annoying to have to sift through a lot of unrelated events if all you care about is one specific class of events (e.g. RandR events). Add a -event parameter that can be used to tune which events to select. When not specified, all events are selected. Signed-off-by: Aaron Plattner <aplattner@nvidia.com> Reviewed-by: Andy Ritger <aritger@nvidia.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-02-21xev 1.2.0xev-1.2.0Alan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2012-02-15Rename "mask" variable to "rr_mask" in randr setup code.Alan Coopersmith
Fixes gcc warning: xev.c: In function `main': xev.c:1129: warning: declaration of 'mask' shadows a previous local xev.c:923: warning: shadowed declaration is here Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-09-28Remove checks for NULL before XFreeAlan Coopersmith
Replaced if (.*) \(XFree (.*);\) with \1 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-09-28Remove render from PKG_CHECK_MODULES listAlan Coopersmith
No direct calls to libXrender functions or #includes of Xrender headers Fixes Solaris ld -z guidance warning: ld: guidance: removal of unused dependency recommended: libXrender.so.1 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-09-28Add const attributes to fix gcc -Wwrite-strings warningsAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-09-28Strip trailing whitespaceAlan Coopersmith
Performed with: find * -type f | xargs perl -i -p -e 's{[ \t]+$}{}' git diff -w & git diff -b show no diffs from this change Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-06-09config: Add missing AC_CONFIG_SRCDIRAlan Coopersmith
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>
2011-06-09Replace local checks for gcc with _X_NORETURN from xproto 7.0.17Alan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-03-03Show RandR eventsMichael Thayer
Signed-off-by: Michael Thayer <michael.thayer@oracle.com> Signed-off-by: Aaron Plattner <aplattner@nvidia.com> Reviewed-by: Aaron Plattner <aplattner@nvidia.com> Tested-by: Aaron Plattner <aplattner@nvidia.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-13man: remove trailing spaces and tabsGaetan Nadon
Using s/[ \t]*$// Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-01-12config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERSGaetan Nadon
This silences an Autoconf warning
2010-10-30xev 1.1.0xev-1.1.0Alan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-10-06Purge cvs tags.Jesse Adkins
Signed-off-by: Jesse Adkins <jesserayadkins@gmail.com>
2010-09-23config: Remove unnecessary calls from configure.acAlan Coopersmith
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-09-23config: upgrade to util-macros 1.8 for additional man page supportAlan Coopersmith
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 Enables use of platform appropriate version of sed. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-09-23config: 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>
2010-01-19Add -root option to specify monitoring root window events.Kim Woelders
Signed-off-by: Kim Woelders <kim@woelders.dk> Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> 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-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-12xev 1.0.4xev-1.0.4Alan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-10-12Fill in COPYING with notice from xev.cAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-10-12Migrate to xorg macros 1.3 & XORG_DEFAULT_OPTIONSAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-10-01Add README with pointers to mailing lists, bugzilla, & gitAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-07-11xev: use XORG_CHANGELOG macro to create ChangeLog. #22611Gaetan Nadon
Build break: app/xev/Makefile.am: command not found: git-log Adding the macro in configure.ac and use it in Makefile.am Refer to: https://bugs.freedesktop.org/show_bug.cgi?id=22611 Tested: running autogen.sh, make and 'make dist' Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2008-11-16Flush standard output after processing each eventBranden Robinson
When redirecting the output of xev (eg, xev > foo), the output file is truncated on exit due to libc buffering, since xev's exit(0) is unreachable code. Reported by Bill Currie. Debian bug#238638 <http://bugs.debian.org/238638>
2008-03-07xev 1.0.3xev-1.0.3Adam Jackson
2007-12-06Add missing PHONY line for automatic ChangeLog generationJames Cloos
2007-12-06Replace static ChangeLog with dist-hook to generate from git logJames Cloos
2007-12-06Handle WM_DELETE_WINDOWNoah Levitt
From bug 319ยน: Make xev exit on WM_DELETE_WINDOW. 1] https://bugs.freedesktop.org/show_bug.cgi?id=319 Signed-off-by: James Cloos <cloos@jhcloos.com>
2007-09-03Add *~ to .gitignore to skip patch/emacs droppingsJames Cloos
2007-08-23Rename .cvsignore to .gitignoreJames Cloos
2006-06-01Run XFilterEvent() on all events. (Samuel Thibault). Bump to 1.0.2.xev-1_0_2Daniel Stone
2005-12-21Update package version for X11R7 release.XORG-7_1XORG-7_0_99_901XORG-7_0Kevin E Martin
2005-12-19Stub COPYING filesAdam Jackson
2005-12-15Update package version number for final X11R7 release candidate.XORG-6_99_99_904Kevin E Martin
2005-12-06Change *man_SOURCES ==> *man_PRE to fix autotools warnings.MODULAR_COPYKevin E Martin
2005-12-03Update package version number for X11R7 RC3 release.XORG-6_99_99_903Kevin E Martin
2005-11-28Change *mandir targets to use new *_MAN_DIR variables set by xorg-macros.m4Alan Coopersmith
update to fix bug #5167 (Linux prefers *.1x man pages in man1 subdir)
2005-11-21Another pass at .cvsignores for apps.Eric Anholt
2005-11-20Add/improve .cvsignore files for apps.Eric Anholt
2005-10-19Update package version number for RC1 release.XORG-6_99_99_902XORG-6_99_99_901Kevin E Martin