Re: Preparing for automake 1.14

2013-01-14 Thread Jeremy Huddleston Sequoia
While it's good to prepare for 1.14, we're still not working with 1.13 yet. libX11 is failing with: nls/Makefile.am:41: error: using '$(srcdir)' in TESTS is currently broken: '$(srcdir)/compose-check.pl' (see http://tinderbox.x.org/builds/2013-01-14-0001/logs/libX11/#configure) and I'm not

Re: Preparing for automake 1.14

2013-01-14 Thread Alan Coopersmith
On 01/13/13 11:52 PM, Jeremy Huddleston Sequoia wrote: While it's good to prepare for 1.14, we're still not working with 1.13 yet. libX11 is failing with: nls/Makefile.am:41: error: using '$(srcdir)' in TESTS is currently broken: '$(srcdir)/compose-check.pl' (see

[PATCH libXI] Add missing XI_RawTouch* in XInputCopyCookie

2013-01-14 Thread Benjamin Tissoires
Looks like XI_RawTouch* events are missing in the big switch in this function. When running XIT tests for multitouch devices, several following errors appears: XInputCopyCookie: Failed to copy evtype 22 XInputCopyCookie: Failed to copy evtype 23 XInputCopyCookie: Failed to copy evtype 24

Re: [PATCH xf86-video-mga] Fix XAA support for xserver 1.13

2013-01-14 Thread Matthieu Herrb
Ping... On Mon, Dec 03, 2012 at 07:54:56AM +0100, Matthieu Herrb wrote: Use consistent preprocessor sympbol to check if XAA support should be built, and make sure it's defined when needed. Signed-off-by: Matthieu Herrb matthieu.he...@laas.fr --- configure.ac |3 +++ src/mga_dri.c

Re: [PATCH xf86-video-mga] Fix XAA support for xserver 1.13

2013-01-14 Thread Alex Deucher
On Mon, Jan 14, 2013 at 3:20 PM, Matthieu Herrb matthieu.he...@laas.fr wrote: Ping... go ahead and commit? I don't think mga is maintained any more... On Mon, Dec 03, 2012 at 07:54:56AM +0100, Matthieu Herrb wrote: Use consistent preprocessor sympbol to check if XAA support should be

Re: Preparing for automake 1.14

2013-01-14 Thread Gaetan Nadon
On 13-01-14 11:07 AM, Alan Coopersmith wrote: On 01/13/13 11:52 PM, Jeremy Huddleston Sequoia wrote: While it's good to prepare for 1.14, we're still not working with 1.13 yet. libX11 is failing with: nls/Makefile.am:41: error: using '$(srcdir)' in TESTS is currently broken:

Re: [PATCH luit] configure: define XOPEN_SOURCE to 600 on linux

2013-01-14 Thread Rémi Cardona
Le lundi 14 janvier 2013 à 09:44 +1000, Peter Hutterer a écrit : diff --git a/configure.ac b/configure.ac index c214d85..67ef2c4 100644 --- a/configure.ac +++ b/configure.ac @@ -62,7 +62,7 @@ case $host_os in linux*) AC_CHECK_HEADERS([poll.h]) AC_CHECK_FUNCS([poll])

[PATCH xorg-gtest 1/5] Run configure during autogen

2013-01-14 Thread Peter Hutterer
All other xorg projects run configure, let's make this one comply with that. Support NOCONFIGURE. Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- autogen.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/autogen.sh b/autogen.sh index a08311b..fd9c59a 100755 --- a/autogen.sh

[PATCH xorg-gtest 2/5] Add xorg-gtest-example to gitignore

2013-01-14 Thread Peter Hutterer
Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 6bceeb1..06a57c4 100644 --- a/.gitignore +++ b/.gitignore @@ -79,3 +79,4 @@ core doc/api doc/Doxyfile examples/xorg-gtest-environment-example

[PATCH xorg-gtest 3/5] test: fix spelling of a test case

2013-01-14 Thread Peter Hutterer
Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- test/device-test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/device-test.cpp b/test/device-test.cpp index ff5aaec..47ddb26 100644 --- a/test/device-test.cpp +++ b/test/device-test.cpp @@ -5,7 +5,7 @@

[PATCH xorg-gtest 4/5] test: fix device-test to include our include dir before system dirs

2013-01-14 Thread Peter Hutterer
Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- test/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/Makefile.am b/test/Makefile.am index a8ec35a..13485ab 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -63,7 +63,7 @@

[PATCH xorg-gtest 5/5] device: add HasEvent() and GetAbsData()

2013-01-14 Thread Peter Hutterer
Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- include/xorg/gtest/evemu/xorg-gtest-device.h | 25 src/device.cpp | 21 test/SynPS2-Synaptics-TouchPad.desc | 33 ++ test/device-test.cpp | 164

[PATCH evdev 2/4] Move valuator swapping into a helper function

2013-01-14 Thread Peter Hutterer
No functional changes. Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- src/evdev.c | 52 +++- 1 file changed, 31 insertions(+), 21 deletions(-) diff --git a/src/evdev.c b/src/evdev.c index dfce8c4..f061324 100644 --- a/src/evdev.c +++

[PATCH evdev 3/4] Move calibration adjustments to helper function

2013-01-14 Thread Peter Hutterer
No functional changes. Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- src/evdev.c | 69 + 1 file changed, 37 insertions(+), 32 deletions(-) diff --git a/src/evdev.c b/src/evdev.c index f061324..1581d47 100644 ---

[PATCH evdev 1/4] Localise tmp variable

2013-01-14 Thread Peter Hutterer
Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- src/evdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/evdev.c b/src/evdev.c index 5667dc1..dfce8c4 100644 --- a/src/evdev.c +++ b/src/evdev.c @@ -424,7 +424,6 @@ EvdevQueueButtonClicks(InputInfoPtr pInfo, int

[PATCH evdev 4/4] Handle axis swap, calibration, and inversion for touch events (#59340)

2013-01-14 Thread Peter Hutterer
X.Org Bug 59340 http://bugs.freedesktop.org/show_bug.cgi?id=59340 Reported-by: Bastien Nocera had...@hadess.net Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- src/evdev.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/evdev.c b/src/evdev.c index 1581d47..c689257 100644

Re: Preparing for automake 1.14

2013-01-14 Thread Jeremy Huddleston Sequoia
On Jan 14, 2013, at 1:46 PM, Gaetan Nadon mems...@videotron.ca wrote: On 13-01-14 11:07 AM, Alan Coopersmith wrote: On 01/13/13 11:52 PM, Jeremy Huddleston Sequoia wrote: While it's good to prepare for 1.14, we're still not working with 1.13 yet. libX11 is failing with:

Re: [PATCH libXI] Add missing XI_RawTouch* in XInputCopyCookie

2013-01-14 Thread Peter Hutterer
On Mon, Jan 14, 2013 at 06:32:05PM +0100, Benjamin Tissoires wrote: Looks like XI_RawTouch* events are missing in the big switch in this function. When running XIT tests for multitouch devices, several following errors appears: XInputCopyCookie: Failed to copy evtype 22 XInputCopyCookie:

[PATCH:xev 2/2] Use strncasecmp if available, instead of a tolower loop strncmp

2013-01-14 Thread Alan Coopersmith
Signed-off-by: Alan Coopersmith alan.coopersm...@oracle.com --- configure.ac |3 +++ xev.c| 12 +--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 0af7b2d..6016d62 100644 --- a/configure.ac +++ b/configure.ac @@ -26,6 +26,7

[PATCH:xev 1/2] Fix clang warnings about converting size_t to int and back again

2013-01-14 Thread Alan 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')