[PATCH xts] Add XInput sections to all

2013-05-29 Thread Peter Harris
Signed-off-by: Peter Harris phar...@opentext.com --- xts5/tet_scen |4 1 file changed, 4 insertions(+) diff --git a/xts5/tet_scen b/xts5/tet_scen index fa13bca..6c32f0a 100644 --- a/xts5/tet_scen +++ b/xts5/tet_scen @@ -186,6 +186,10 @@ all :include:/scenarios/XtE_scen

Re: [RFC][PATCH] Make GetXIDRange O(1) instead of O(N^2)

2013-05-29 Thread Roberto Ragusa
On 05/28/2013 08:58 PM, Keith Packard wrote: Roberto Ragusa m...@robertoragusa.it writes: This patch, in addition to raising the max hash size from 2^11 to 2^16 (2^11 was decided in 1994, or maybe even 1987), adds explicit tracking of free ids. The data structure I've chosen is an rb-tree

Re: [PATCH] libXvMC: avoid overflowing by making nameLen and busIDLen addition overflow

2013-05-29 Thread Dave Airlie
On Tue, May 28, 2013 at 1:26 AM, Julien Cristau jcris...@debian.org wrote: On Mon, May 27, 2013 at 09:45:06 +1000, Dave Airlie wrote: From: Dave Airlie airl...@redhat.com Al Viro pointed this out on lwn, and I think this patch should fix it, but making sure we don't do the addition as 32-bit

[PATCH evdev 2/3] Drop cached name and led_bitmask - nothing reads this

2013-05-29 Thread Peter Hutterer
Both fields are write-only as of xf86-input-evdev-2.5.99.902-1-g1ced7ec Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- src/evdev.c | 18 -- src/evdev.h | 2 -- 2 files changed, 20 deletions(-) diff --git a/src/evdev.c b/src/evdev.c index 86af151..34cd3a1 100644 ---

[PATCH evdev 3/3] Use EvdevBitIsSet, not the server's BitIsOn

2013-05-29 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 34cd3a1..ba2a98c 100644 --- a/src/evdev.c +++ b/src/evdev.c @@ -1267,7 +1267,7 @@ EvdevAddAbsValuatorClass(DeviceIntPtr

Re: [PATCH libXi 1/3] Fix potential corruption in mask_len handling

2013-05-29 Thread Peter Hutterer
On Tue, May 28, 2013 at 09:22:11AM +0200, walter harms wrote: Am 28.05.2013 07:52, schrieb Peter Hutterer: First: check for allocation failure on the mask. XI2 requires that the mask is zeroed, so we can't just Data() the mask provided by the client (it will pad) - we need a tmp buffer.