Re: [RFC XI 2.1 - xinput 3/3] Add experimental multitouch support from XI 2.1

2010-11-18 Thread Peter Hutterer
On Fri, Nov 12, 2010 at 05:35:17PM -0500, Chase Douglas wrote: > From: Daniel Stone > > This patch adds experimental support for listening to touch streams > (TouchBegin, TouchMotion and TouchEnd) with test-xi2, as well as showing > TouchClass information with list. > > Signed-off-by: Daniel Sto

Re: [RFC XI 2.1 - libXi] Add multitouch support from Xi 2.1

2010-11-18 Thread Peter Hutterer
On Fri, Nov 12, 2010 at 05:35:14PM -0500, Chase Douglas wrote: > Add support to libXi for all the Xi 2.1 additions to the spec: > TouchClass, TouchBegin, TouchEnd and TouchMotion, as well as touch grabs. > > Based on an initial patch by Daniel Stone. > > Signed-off-by: Daniel Stone > Signed-off-

Re: [RFC XI 2.1 - xserver 9/9] test: input - set all touch events at once

2010-11-18 Thread Peter Hutterer
On Fri, Nov 12, 2010 at 05:35:10PM -0500, Chase Douglas wrote: > From: Chase Douglas > > Clients can't select for the three touch events individually, so ensure > the test doesn't try to do so. > > Signed-off-by: Chase Douglas > > --- > test/xi2/protocol-xiselectevents.c | 48 >

Re: [RFC XI 2.1 - xf86-input-evdev 3/3] Use MTDev for multitouch devices

2010-11-18 Thread Peter Hutterer
On Fri, Nov 12, 2010 at 05:35:13PM -0500, Chase Douglas wrote: > From: Chase Douglas > > MTDev translates all multitouch devices to the slotted evdev protocol. > This provides a clean and uniform interface and reduces message handling > inside the input module and X. > > Signed-off-by: Chase Dou

Re: [RFC XI 2.1 - xf86-input-evdev 2/3] Add experimental XI 2.1 multitouch support

2010-11-18 Thread Peter Hutterer
On Fri, Nov 12, 2010 at 05:35:12PM -0500, Chase Douglas wrote: > From: Chase Douglas > > This multitouch addition only supports slotted MT evdev protocol > devices. Support must be enabled at configure time using > --enable-multitouch. It is built on the masked valuator support in > XInput ABI 12

Re: [RFC XI 2.1 - inputproto] Add touch classes and events, bump to 2.1

2010-11-18 Thread Peter Hutterer
On Wed, Nov 17, 2010 at 11:59:47AM -0500, Chase Douglas wrote: > Introduce multitouch support through a new TouchClass, as well as new > TouchBegin, TouchEnd and TouchMotion events. Bump to version 2.1. > > Based on an initial patch by Daniel Stone (headers) and Peter Hutterer > (protocol documen

[PATCH] test: reduce range of byte-padding macro tests.

2010-11-18 Thread Peter Hutterer
Byte padding and conversion is interesting for the rage of 0-8 bytes, and then interesting towards the end of the valid range (INT_MAX - 7 and INT_MAX - 3). Signed-off-by: Peter Hutterer --- This significantly speeds up make check and I figured if the byte padding goes wrong somewhere at bit 1827

[PATCH] test: compare byte padding macros against the expected bytes.

2010-11-18 Thread Peter Hutterer
We calculate the expected bytes for each value, let's use it. Signed-off-by: Peter Hutterer --- test/input.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/test/input.c b/test/input.c index f8ce4b2..13a441e 100644 --- a/test/input.c +++ b/test/input.c @@ -696,6 +696,7

[PULL] misc fixes

2010-11-18 Thread Peter Hutterer
looks like my branches got out-of-sync with your pulls, so only part of the last was merged in. Please pull the 4 fixes below as well, they're prety straightforward fixes. The following changes since commit 38c46ccf796462d068d95acb9022de2acfc3a1f7: Merge remote branch 'whot/for-keith' (2010-11-

Re: [PATCH] xts5: Rename .m files to .mc

2010-11-18 Thread Dan Nicholson
On Thu, Nov 18, 2010 at 5:00 PM, Peter Hutterer wrote: > gcc insists on .m files being Objective C files and then complains about > them not complaining. There's probably an autotools hack around this, but > renaming does the same job. > > Signed-off-by: Peter Hutterer > Reviewed-by: Dan Nicholso

Re: driver/xf86-input-keyboard wants IDevPtr

2010-11-18 Thread Pat Kane
On Wed, Nov 17, 2010 at 6:29 PM, Peter Hutterer wrote: > I've got patches ready for all but the penmount driver I think, just need to > upstream them. IIRC the acecad patches are on the list waiting for some > review lovin'. I will give your patches of 'review love' after the US thanksgiving hol

[PATCH] dix: fix up valuators passed to acceleration code.

2010-11-18 Thread Peter Hutterer
From: Simon Thum Signed-off-by: Peter Hutterer --- Simon, this is essentially your patch with the extra if () addded. dix/getevents.c |9 +++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/dix/getevents.c b/dix/getevents.c index 9553728..7af9326 100644 --- a/dix/getev

Re: [PATCH xserver 8/8] doc: refactor Makefile and xmlrules.in code for reusability

2010-11-18 Thread Alan Coopersmith
Gaetan Nadon wrote: > A different approach which requires less variables setting > and internal knowledge of the reused code. > Changing from "install" to "not install" is very easy now. > > Signed-off-by: Gaetan Nadon > --- > doc/xml/Makefile.am | 11 +++ > doc/xml/dtrace/

Re: [PATCH xserver 6/8] xmlrules.in: specify the xserver entities depedencies on the target

2010-11-18 Thread Alan Coopersmith
Gaetan Nadon wrote: > The generated docs will rebuild when the xserver.ent file changes. > > Signed-off-by: Gaetan Nadon > --- > doc/xml/xmlrules.in | 11 +++ > 1 files changed, 3 insertions(+), 8 deletions(-) > > diff --git a/doc/xml/xmlrules.in b/doc/xml/xmlrules.in > index 468cfaf.

Re: [PATCH xserver 7/8] xmlrules.in: use $(top_srcdir) rather than ../../../ [...]

2010-11-18 Thread Alan Coopersmith
Gaetan Nadon wrote: > Relative paths don't always work in distcheck when srcdir not = builddir > include $(top_srcdir)/doc/xml/xmlrules.in > > Signed-off-by: Gaetan Nadon > --- > doc/xml/Makefile.am |2 +- > doc/xml/dtrace/Makefile.am |2 +- > hw/dmx/doc/Makefile.am

Re: [RFC XI 2.1 - xserver 7/9] Reorder AxisInfo elements

2010-11-18 Thread Peter Hutterer
On Thu, Nov 18, 2010 at 10:31:30AM -0500, Chase Douglas wrote: > On 11/17/2010 06:42 PM, Peter Hutterer wrote: > > fwiw, I don't really see a need to differ between major/minor ABI. It's just > > a number and we have a fair way to go before we run out of integers. And not > > having to remember whi

Re: [PATCH xserver 5/8] xmlrules.in: use pattern rules to enable dependencies

2010-11-18 Thread Alan Coopersmith
Gaetan Nadon wrote: > This will allow a dependency to be specified as done in libX11: > > %.html: %.xml $(dist_spec_DATA) > $(AM_V_GEN)$(XMLTO) $(XMLTO_FLAGS) xhtml-nochunks $< > > Signed-off-by: Gaetan Nadon > --- > doc/xml/xmlrules.in |6 +++--- > 1 files changed, 3 insertions(+), 3

Re: [PATCH xserver 4/8] xmlrules.in: no need to setup xmlto flags when configuring --without-xmlto

2010-11-18 Thread Alan Coopersmith
Gaetan Nadon wrote: > The AM conditional HAVE_XMLTO should wrap more statements. > > Signed-off-by: Gaetan Nadon > --- > doc/xml/xmlrules.in |4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/doc/xml/xmlrules.in b/doc/xml/xmlrules.in > index 265cd02..3a78569 100644

Re: [PATCH xserver 1/8] doc: HTML file generation: use the installed copy of xorg.css

2010-11-18 Thread Alan Coopersmith
Gaetan Nadon wrote: > Currenlty the xorg.css file is copied in each location s/Currenlty/Currently/ > where a DocBook/XML file resides. This produces about > 70 copies in the $(docdir) install tree for all of xorg. > > Signed-off-by: Gaetan Nadon > --- > doc/xml/.gitignore|1 - > d

Re: [PATCH xserver 2/8] xmlrules.in: remove unrequired "@rm -f $@" from doc targets

2010-11-18 Thread Alan Coopersmith
Gaetan Nadon wrote: > Unable to find a purpose for this, not used anywhere else > but in the font module. > > Signed-off-by: Gaetan Nadon > --- > doc/xml/xmlrules.in |3 --- > 1 files changed, 0 insertions(+), 3 deletions(-) > > diff --git a/doc/xml/xmlrules.in b/doc/xml/xmlrules.in > index

Re: [PATCH XTS] xts5: Rename .m files to .mc

2010-11-18 Thread Dan Nicholson
On Thu, Nov 18, 2010 at 2:19 PM, Peter Hutterer wrote: > gcc insists on .m files being Objective C files and then complains about > them not complaining. There's probably an autotools hack around this, but > renaming does the same job. > > Signed-off-by: Peter Hutterer > --- > Interesting hunk is

Re: [PATCH xserver 3/8] xmlrules.in: the searchpath only needed to locate entities

2010-11-18 Thread Alan Coopersmith
Gaetan Nadon wrote: > It can only be used if we have stylesheets, that is, > xorg-sgml-doctools package is installed. > XML_ENT_DIR = $(abs_top_builddir)/doc/xml > -XMLTO_FLAGS = --searchpath $(XML_ENT_DIR) No, those are for the entities defined in the xserver tree itself, to get the X server v

Re: [PULL hyperpen] cleanups for ABI 12

2010-11-18 Thread Peter Hutterer
On Thu, Nov 18, 2010 at 05:37:46PM +0100, Manuel Reimer wrote: > Peter Hutterer wrote: > >I had a go at the hyperpen driver, making it build against ABI 12. > >Given that this driver doesn't really see any updates, Manuel has a segfault > >fix but doesn't really plan on future patches either, I rem

Re: Smooth scrolling again

2010-11-18 Thread Simon Thum
On 11/17/10 22:26, Max Schwarz wrote: > I would propose specific methods for changing the resolution, axes ranges, > etc., and one final call to send out events. Sounds fine. Simon ___ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.

[PATCH xserver 8/8] doc: refactor Makefile and xmlrules.in code for reusability

2010-11-18 Thread Gaetan Nadon
A different approach which requires less variables setting and internal knowledge of the reused code. Changing from "install" to "not install" is very easy now. Signed-off-by: Gaetan Nadon --- doc/xml/Makefile.am | 11 +++ doc/xml/dtrace/Makefile.am | 16 +++-

[PATCH xserver 7/8] xmlrules.in: use $(top_srcdir) rather than ../../../ [...]

2010-11-18 Thread Gaetan Nadon
Relative paths don't always work in distcheck when srcdir not = builddir include $(top_srcdir)/doc/xml/xmlrules.in Signed-off-by: Gaetan Nadon --- doc/xml/Makefile.am |2 +- doc/xml/dtrace/Makefile.am |2 +- hw/dmx/doc/Makefile.am |2 +- hw/xfree86/doc/sgml/

[PATCH xserver 6/8] xmlrules.in: specify the xserver entities depedencies on the target

2010-11-18 Thread Gaetan Nadon
The generated docs will rebuild when the xserver.ent file changes. Signed-off-by: Gaetan Nadon --- doc/xml/xmlrules.in | 11 +++ 1 files changed, 3 insertions(+), 8 deletions(-) diff --git a/doc/xml/xmlrules.in b/doc/xml/xmlrules.in index 468cfaf..2817d2c 100644 --- a/doc/xml/xmlrules

[PATCH xserver 5/8] xmlrules.in: use pattern rules to enable dependencies

2010-11-18 Thread Gaetan Nadon
This will allow a dependency to be specified as done in libX11: %.html: %.xml $(dist_spec_DATA) $(AM_V_GEN)$(XMLTO) $(XMLTO_FLAGS) xhtml-nochunks $< Signed-off-by: Gaetan Nadon --- doc/xml/xmlrules.in |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/xml/

[PATCH xserver 4/8] xmlrules.in: no need to setup xmlto flags when configuring --without-xmlto

2010-11-18 Thread Gaetan Nadon
The AM conditional HAVE_XMLTO should wrap more statements. Signed-off-by: Gaetan Nadon --- doc/xml/xmlrules.in |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/xml/xmlrules.in b/doc/xml/xmlrules.in index 265cd02..3a78569 100644 --- a/doc/xml/xmlrules.in +++ b/doc/x

[PATCH xserver 3/8] xmlrules.in: the searchpath only needed to locate entities

2010-11-18 Thread Gaetan Nadon
It can only be used if we have stylesheets, that is, xorg-sgml-doctools package is installed. Signed-off-by: Gaetan Nadon --- doc/xml/xmlrules.in |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/xml/xmlrules.in b/doc/xml/xmlrules.in index c455ded..265cd02 100644 -

[PATCH xserver 2/8] xmlrules.in: remove unrequired "@rm -f $@" from doc targets

2010-11-18 Thread Gaetan Nadon
Unable to find a purpose for this, not used anywhere else but in the font module. Signed-off-by: Gaetan Nadon --- doc/xml/xmlrules.in |3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/doc/xml/xmlrules.in b/doc/xml/xmlrules.in index f828eef..c455ded 100644 --- a/doc/xml/x

[PATCH xserver 1/8] doc: HTML file generation: use the installed copy of xorg.css

2010-11-18 Thread Gaetan Nadon
Currenlty the xorg.css file is copied in each location where a DocBook/XML file resides. This produces about 70 copies in the $(docdir) install tree for all of xorg. Signed-off-by: Gaetan Nadon --- doc/xml/.gitignore|1 - doc/xml/dtrace/.gitignore |1 - doc/xml/xmlrules.in

[PATCH RESEND #2 xserver 0/8] DocBook/XML make updates and refactoring

2010-11-18 Thread Gaetan Nadon
Use the xorg.css from xorg-sgml-doctools General makefile simplification Refactoring of xmlrules reusable code Tested with the following permutations of options: --enable-builddocs --enable-docs --enable-devel-docs --with-xmlto --enable-builddocs --disable-docs --enable-devel-docs --with-xmlto --e

Re: [PULL hyperpen] cleanups for ABI 12

2010-11-18 Thread Manuel Reimer
Peter Hutterer wrote: I had a go at the hyperpen driver, making it build against ABI 12. Given that this driver doesn't really see any updates, Manuel has a segfault fix but doesn't really plan on future patches either, I removed support for pre-ABI 12 to reduce maintainance time. So you need the

Re: [RFC XI 2.1 - xserver 7/9] Reorder AxisInfo elements

2010-11-18 Thread Chase Douglas
On 11/17/2010 06:42 PM, Peter Hutterer wrote: > fwiw, I don't really see a need to differ between major/minor ABI. It's just > a number and we have a fair way to go before we run out of integers. And not > having to remember which one was major/minor in the driver ifdefs is > helpful. Except that

Re: [ANNOUNCE] xf86-video-glide 1.1.0

2010-11-18 Thread Gaetan Nadon
On Thu, 2010-11-18 at 04:42 +0100, Guillem Jover wrote: > > LT_INIT requires libtool v2 whereby xorg "lowest common denominator" > is > > v1.5. > > Oh, didn't know that. This is where the tool chain versions are specified. http://wiki.x.org/wiki/ModularDevelopersGuide#RequiredTools A few days ag

Re: [PATCH v2 5/5] DRI2: Allow DDX to validate swap_limit changes

2010-11-18 Thread Pauli Nieminen
On 12/11/10 18:06 +0100, ext Francisco Jerez wrote: > Pauli Nieminen writes: > > > On 11/11/10 18:46 +0100, ext Jesse Barnes wrote: > >> On Mon, 1 Nov 2010 16:22:01 +0200 > >> Pauli Nieminen wrote: > >> > >> > DDX can now implement validation for swap_limit changes to prevent > >> > configurat

[PATCH] shape: Report empty region correctly

2010-11-18 Thread Pauli
From: Pauli Nieminen If client calls XShapeGetRectangles when region is empty return values is NULL instead of empty rectangle. Steps to reproduce problem: XShapeCombineRectangles(ShapeSet with rectangle that has zero width or height) XShapeGetRectangles() // returns NULL Documentation claims:

[ANNOUNCE] x-jhbuild 0.2

2010-11-18 Thread Dirk Wallenstein
X-JHBuild-0.2 # X-JHBuild is a framework for building and working with X.org modules. It makes use of JHBuild and is specialized for working with modules that use Git as VCS. http://sourceforge.net/projects/x-jhbuild/ Install/Uninstall easier than ever before: ==