Re: [PATCH joystick] Remove old input ABI leftovers from jstkCoreUnInit

2011-03-22 Thread Peter Hutterer
On Fri, Mar 18, 2011 at 07:13:38PM +0200, Timo Aaltonen wrote: From: Timo Aaltonen timo.aalto...@canonical.com Fixes crashes on device unplug: https://bugs.freedesktop.org/show_bug.cgi?id=35391 Signed-off-by: Timo Aaltonen timo.aalto...@canonical.com --- src/jstk.c |7 --- 1

Re: [PATCH joystick] Remove old input ABI leftovers from jstkCoreUnInit

2011-03-22 Thread TImo Aaltonen
On 22.03.2011 08:42, Peter Hutterer wrote: On Fri, Mar 18, 2011 at 07:13:38PM +0200, Timo Aaltonen wrote: From: Timo Aaltonen timo.aalto...@canonical.com Fixes crashes on device unplug: https://bugs.freedesktop.org/show_bug.cgi?id=35391 Signed-off-by: Timo Aaltonen

[PATCH joystick] Fix crashes on unplug due to double-free with ABI 12.

2011-03-22 Thread Timo Aaltonen
From: Timo Aaltonen timo.aalto...@canonical.com With ABI 12 and newer the server removes devices hotplugged through the driver. And pInfo-private is shared between the keyboard device and actual one, so these combined mean there's a double-free which would result in a server crash on unplug.

Re: [PATCH] Only build tests when unit tests are enabled.

2011-03-22 Thread Dan Nicholson
On Mon, Mar 21, 2011 at 6:56 PM, Peter Hutterer peter.hutte...@who-t.net wrote: Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- I'll squash this in with the other patch, no need to have two separate ones.  test/Makefile.am |    2 +-  1 files changed, 1 insertions(+), 1

Re: [PATCH] Only build tests when unit tests are enabled.

2011-03-22 Thread Gaetan Nadon
On Tue, 2011-03-22 at 05:39 -0700, Dan Nicholson wrote: Not that it matters too much, but you just need to wrap the *_PROGRAMS declaration to get automake to not output the toplevel rules. I do notice here the TESTS = $(noinst_PROGRAMS) line. If check_PROGRAMS is used instead, then the

[PATCH xorg-docs 0/2] Add DocBook external references support

2011-03-22 Thread Gaetan Nadon
The docbook.am is the new reusable makefile which replaces xmlrules.in. It will be checked-in unmodified in all modules where user docs or specs is used. For devel docs, a different makefile will be used. The README in xorg-sgml-doctools gives all the essentials. Other required patches: New

[PATCH xorg-docs 1/2] Documentation: add Docbook external references support

2011-03-22 Thread Gaetan Nadon
When writing technical documentation, it is often necessary to cross reference to other information. When that other information is not in the current document, additional support is needed, namely olink. A new feature with version 1.7 of xorg-sgml-doctools adds references to other documents

[PATCH xorg-docs 2/2] Replace XMLTO with XSLTPROC, XMLLINT and W3M tools

2011-03-22 Thread Gaetan Nadon
Xmlto is a script that selects the appropriate back-end based on options and tools availability. Xmlto uses an xsl fragment which is not compatible with the standard use of xsl stylesheets. The customization for xhtml and fo cannot be used with xsltproc in that context. It makes adoption of

[PATCH sgml-doctools 1/2] DocBook/XML: add support for docbook external references

2011-03-22 Thread Gaetan Nadon
Documents external references - A new feature with version 1.7 is references to documents in other packages. For example a protocol specifications may refer to another one or to a library implementing it. Due to the modular nature of the X window System and the

[PATCH sgml-doctools 2/2] Using xsltproc rather than xmlto enables using correct stylesheets

2011-03-22 Thread Gaetan Nadon
As explained in xorg-docs: Xmlto is a script that selects the appropriate back-end based on options and tools availability. Xmlto uses an xsl fragment which is not compatible with the standard use of xsl stylesheets. The customization for xhtml and fo cannot be used with

[PATCH intel-gpu-tools] intel_bios_dumper: handle rom_size == 0

2011-03-22 Thread Forest Bond
Some versions of libpciaccess on Linux set rom_size to 0 for VGA devices. While this behavior may change, intel_bios_dumper should handle this situation to be compatible with current versions of the library. This fixes segmentation faults on affected systems. Signed-off-by: Forest Bond

[PATCH libpciaccess] linux_sysfs: use rom_size = 0x1000 for VGA devices

2011-03-22 Thread Forest Bond
This patch brings the linux_sysfs backend in parity with other backends, which assume that VGA devices have fixed rom_size of 0x1000. On my machines, the previous behavior invariably gives rom_size = 0. Signed-off-by: Forest Bond forest.b...@rapidrollout.com --- src/linux_sysfs.c | 23

Re: [PATCH intel-gpu-tools] intel_bios_dumper: handle rom_size == 0

2011-03-22 Thread Chris Wilson
On Tue, 22 Mar 2011 10:31:43 -0400, Forest Bond for...@alittletooquiet.net wrote: Some versions of libpciaccess on Linux set rom_size to 0 for VGA devices. While this behavior may change, intel_bios_dumper should handle this situation to be compatible with current versions of the library.

Re: [PATCH libpciaccess] linux_sysfs: use rom_size = 0x1000 for VGA devices

2011-03-22 Thread Adam Jackson
On Tue, 2011-03-22 at 10:31 -0400, Forest Bond wrote: This patch brings the linux_sysfs backend in parity with other backends, which assume that VGA devices have fixed rom_size of 0x1000. On my machines, the previous behavior invariably gives rom_size = 0. So cards with ROMs bigger than 64k

Re: [PATCH libpciaccess] linux_sysfs: use rom_size = 0x1000 for VGA devices

2011-03-22 Thread Forest Bond
Hi, On Tue, Mar 22, 2011 at 11:15:27AM -0400, Adam Jackson wrote: On Tue, 2011-03-22 at 10:31 -0400, Forest Bond wrote: This patch brings the linux_sysfs backend in parity with other backends, which assume that VGA devices have fixed rom_size of 0x1000. On my machines, the previous

Re: [PATCH libpciaccess] linux_sysfs: use rom_size = 0x1000 for VGA devices

2011-03-22 Thread Alex Deucher
On Tue, Mar 22, 2011 at 11:49 AM, Forest Bond for...@alittletooquiet.net wrote: Hi, On Tue, Mar 22, 2011 at 11:15:27AM -0400, Adam Jackson wrote: On Tue, 2011-03-22 at 10:31 -0400, Forest Bond wrote: This patch brings the linux_sysfs backend in parity with other backends, which assume that

Re: [PATCH sgml-doctools 1/2] DocBook/XML: add support for docbook external references

2011-03-22 Thread Matt Dew
Gaetan, There's a couple trailing whitespace errors in the patch, nothing big though. Applying: DocBook/XML: add support for docbook external references /opt/xorg/test_xorg_build/doc/xorg-sgml-doctools/.git/rebase-apply/patch:60: trailing whitespace. The X Window System is composed of

[PATCH xorg-docs v2 2/2] Replace XMLTO with XSLTPROC, XMLLINT and W3M tools

2011-03-22 Thread Gaetan Nadon
Xmlto is a script that selects the appropriate back-end based on options and tools availability. Xmlto uses an xsl fragment which is not compatible with the standard use of xsl stylesheets. The customization for xhtml and fo cannot be used with xsltproc in that context. It makes adoption of

Re: [PATCH libpciaccess] linux_sysfs: use rom_size = 0x1000 for VGA devices

2011-03-22 Thread Michael
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, On Mar 22, 2011, at 11:59 AM, Alex Deucher wrote: On Tue, Mar 22, 2011 at 11:49 AM, Forest Bond for...@alittletooquiet.net wrote: Hi, On Tue, Mar 22, 2011 at 11:15:27AM -0400, Adam Jackson wrote: On Tue, 2011-03-22 at 10:31 -0400, Forest

Re: internal screen concept

2011-03-22 Thread Jesse Barnes
On Tue, 22 Mar 2011 10:27:13 +1000 Dave Airlie airl...@gmail.com wrote: So I've been trying to work out how to add GPU offload support to the X server in some sort of useful fashion. Currently the prototype, just creates two screens, one for each GPU, and does some DRI2 magic to make the

[PATCH sgml-doctools v2 2/2] Using xsltproc rather than xmlto enables using correct stylesheets

2011-03-22 Thread Gaetan Nadon
As explained in xorg-docs: Xmlto is a script that selects the appropriate back-end based on options and tools availability. Xmlto uses an xsl fragment which is not compatible with the standard use of xsl stylesheets. The customization for xhtml and fo cannot be used with

[PATCH sgml-doctools v3 2/2] Using xsltproc rather than xmlto enables using correct stylesheets

2011-03-22 Thread Gaetan Nadon
As explained in xorg-docs: Xmlto is a script that selects the appropriate back-end based on options and tools availability. Xmlto uses an xsl fragment which is not compatible with the standard use of xsl stylesheets. The customization for xhtml and fo cannot be used with

Re: [PATCH util-macros 1/2] Add XORG_WITH_W3M for HTML to text conversion

2011-03-22 Thread Gaetan Nadon
On Mon, 2011-03-21 at 17:46 -0700, Dan Nicholson wrote: I'm not volunteering to do it, but I always thought it would be nice if the doc macros actually tried to generate a test doc instead of just checking for tools in the path. It's fairly easy to get xmlto in your path but actually have a

Re: [PATCH xi2.1 inputproto] Many more updates to the XI 2.1 protocol

2011-03-22 Thread Chase Douglas
On 03/18/2011 02:23 AM, Peter Hutterer wrote: On Thu, Mar 10, 2011 at 03:47:41PM -0500, Chase Douglas wrote: Signed-off-by: Chase Douglas chase.doug...@canonical.com --- To see the full protocol spec as I make changes, go to: http://cgit.freedesktop.org/~cndougla/inputproto [...]

Re: internal screen concept

2011-03-22 Thread Dave Airlie
Yuck... yeah tying this into the DDX looks ugly no matter what.  Maybe you should just punt and support it under Wayland only. :) What does this look like from the app side?  How does a given app end up running on the offload GPU?  Is there a GLX or EGL extension that adds bits to the config

Re: [PATCH util-macros 1/2] Add XORG_WITH_W3M for HTML to text conversion

2011-03-22 Thread Dan Nicholson
On Tue, Mar 22, 2011 at 10:34 AM, Gaetan Nadon mems...@videotron.ca wrote: On Mon, 2011-03-21 at 17:46 -0700, Dan Nicholson wrote: I'm not volunteering to do it, but I always thought it would be nice if the doc macros actually tried to generate a test doc instead of just checking for tools in

Re: [PATCH sgml-doctools 2/2] Using xsltproc rather than xmlto enables using correct stylesheets

2011-03-22 Thread Dan Nicholson
On Tue, Mar 22, 2011 at 7:20 AM, Gaetan Nadon mems...@videotron.ca wrote: As explained in xorg-docs:    Xmlto is a script that selects the appropriate back-end    based on options and tools availability.    Xmlto uses an xsl fragment which is not compatible with    the standard use of xsl

Re: [PATCH xorg-docs 2/2] Replace XMLTO with XSLTPROC, XMLLINT and W3M tools

2011-03-22 Thread Dan Nicholson
On Tue, Mar 22, 2011 at 7:19 AM, Gaetan Nadon mems...@videotron.ca wrote: Xmlto is a script that selects the appropriate back-end based on options and tools availability. Xmlto uses an xsl fragment which is not compatible with the standard use of xsl stylesheets. The customization for xhtml

Re: [PATCH util-macros 1/2] Add XORG_WITH_W3M for HTML to text conversion

2011-03-22 Thread Gaetan Nadon
On Tue, 2011-03-22 at 13:23 -0700, Dan Nicholson wrote: On Tue, Mar 22, 2011 at 10:34 AM, Gaetan Nadon mems...@videotron.ca wrote: On Mon, 2011-03-21 at 17:46 -0700, Dan Nicholson wrote: I'm not volunteering to do it, but I always thought it would be nice if the doc macros actually tried

Re: [PATCH util-macros 1/2] Add XORG_WITH_W3M for HTML to text conversion

2011-03-22 Thread Dan Nicholson
On Tue, Mar 22, 2011 at 2:27 PM, Gaetan Nadon mems...@videotron.ca wrote: On Tue, 2011-03-22 at 13:23 -0700, Dan Nicholson wrote: On Tue, Mar 22, 2011 at 10:34 AM, Gaetan Nadon mems...@videotron.ca wrote: On Mon, 2011-03-21 at 17:46 -0700, Dan Nicholson wrote: I'm not volunteering to do it,

Re: [PATCH util-macros 1/2] Add XORG_WITH_W3M for HTML to text conversion

2011-03-22 Thread Julien Cristau
On Tue, Mar 22, 2011 at 17:27:22 -0400, Gaetan Nadon wrote: The macros have to be backward compatible. In 3 years from now, no one will have 4.3 installed, so we will need to move up to 4.8. Building older versions of tarballs with older versions of docbook will not be possible. Really?

Re: [PATCH] Only build tests when unit tests are enabled.

2011-03-22 Thread Peter Hutterer
On Tue, Mar 22, 2011 at 11:26:24AM -0400, Gaetan Nadon wrote: On Tue, 2011-03-22 at 11:56 +1000, Peter Hutterer wrote: Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- I'll squash this in with the other patch, no need to have two separate ones. test/Makefile.am |2 +-

Re: [PATCH joystick] Fix crashes on unplug due to double-free with ABI 12.

2011-03-22 Thread Peter Hutterer
On Tue, Mar 22, 2011 at 10:40:52AM +0200, Timo Aaltonen wrote: From: Timo Aaltonen timo.aalto...@canonical.com With ABI 12 and newer the server removes devices hotplugged through the driver. And pInfo-private is shared between the keyboard device and actual one, so these combined mean

Re: [PATCH xorg-docs 2/2] Replace XMLTO with XSLTPROC, XMLLINT and W3M tools

2011-03-22 Thread Matt Dew
On 03/22/2011 03:25 PM, Dan Nicholson wrote: On Tue, Mar 22, 2011 at 7:19 AM, Gaetan Nadonmems...@videotron.ca wrote: Xmlto is a script that selects the appropriate back-end based on options and tools availability. Xmlto uses an xsl fragment which is not compatible with the standard use of

Re: [PATCH xorg-docs 1/2] Documentation: add Docbook external references support

2011-03-22 Thread Matt Dew
On 03/22/2011 08:19 AM, Gaetan Nadon wrote: When writing technical documentation, it is often necessary to cross reference to other information. When that other information is not in the current document, additional support is needed, namelyolink. A new feature with version 1.7 of

Re: [PATCH xorg-docs 2/2] Replace XMLTO with XSLTPROC, XMLLINT and W3M tools

2011-03-22 Thread Dan Nicholson
On Tue, Mar 22, 2011 at 4:28 PM, Matt Dew mar...@osource.org wrote: On 03/22/2011 03:25 PM, Dan Nicholson wrote: On Tue, Mar 22, 2011 at 7:19 AM, Gaetan Nadonmems...@videotron.ca  wrote: Xmlto is a script that selects the appropriate back-end based on options and tools availability. Xmlto

[PATCH] configure: actually require macros 1.13

2011-03-22 Thread Peter Hutterer
Introduced in 6a5bf15fa99cf5b2358b3b3e2f29e5044aa8724a Reported-by: Dave Airlie airl...@redhat.com Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- configure.ac |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/configure.ac b/configure.ac index b681163..a70369c

Re: [PATCH] configure: actually require macros 1.13

2011-03-22 Thread Dave Airlie
On Wed, Mar 23, 2011 at 10:33 AM, Peter Hutterer peter.hutte...@who-t.net wrote: Introduced in 6a5bf15fa99cf5b2358b3b3e2f29e5044aa8724a Reported-by: Dave Airlie airl...@redhat.com Signed-off-by: Peter Hutterer peter.hutte...@who-t.net Reviewed-by: Dave Airlie airl...@redhat.com ---  

Re: [PATCH] configure: actually require macros 1.13

2011-03-22 Thread Julien Cristau
On Wed, Mar 23, 2011 at 10:33:41 +1000, Peter Hutterer wrote: Introduced in 6a5bf15fa99cf5b2358b3b3e2f29e5044aa8724a Reported-by: Dave Airlie airl...@redhat.com Signed-off-by: Peter Hutterer peter.hutte...@who-t.net Reviewed-by: Julien Cristau jcris...@debian.org --- configure.ac |2

Re: [PATCH] configure: actually require macros 1.13

2011-03-22 Thread Alan Coopersmith
On 03/22/11 05:33 PM, Peter Hutterer wrote: Introduced in 6a5bf15fa99cf5b2358b3b3e2f29e5044aa8724a Reported-by: Dave Airlie airl...@redhat.com Signed-off-by: Peter Hutterer peter.hutte...@who-t.net Reviewed-by: Alan Coopersmith alan.coopersm...@oracle.com -- -Alan Coopersmith-

Re: [PATCH synaptics] Add synaptics orientation support

2011-03-22 Thread Peter Hutterer
On Sat, Mar 19, 2011 at 09:42:38PM -0400, zt.t...@gmail.com wrote: Why does this need to be a SYNAPTICS property, synclient does not respect XInput properties? Are they changing the same thing on the backend and using the same semantics? (On the last, no, I believe the min/max have to be

[PATCH xserver] GLX: Support TLS with better portability

2011-03-22 Thread Jeremy Huddleston
AX_TLS detects when toolchains support __thread or __declspec(thread), but existing code assumed __thread. Found-by: Tinderbox http://tinderbox.x.org/builds/2011-03-22-0007 Regression-from: 82b1eaa6cad20f39dbf15573bdb3d62acbcd91f9 Signed-off-by: Jeremy Huddleston jerem...@apple.com ---

Re: [PATCH util-macros 1/2] Add XORG_WITH_W3M for HTML to text conversion

2011-03-22 Thread Gaetan Nadon
On Wed, 2011-03-23 at 00:02 +0100, Julien Cristau wrote: On Tue, Mar 22, 2011 at 17:27:22 -0400, Gaetan Nadon wrote: The macros have to be backward compatible. In 3 years from now, no one will have 4.3 installed, so we will need to move up to 4.8. Building older versions of tarballs

Re: TLS autodetection support in the X server

2011-03-22 Thread Jeremy Huddleston
This change introduced a regression when building with clang on darwin (and possibly other configurations as well): http://tinderbox.x.org/builds/2011-03-22-0007 http://cgit.freedesktop.org/xorg/xserver/commit/?id=93393411e39fbb0f72cf6c2f79ebde177aa86932 This is because the AX_TLS macro tests

Re: [PATCH] rename valuator init functions

2011-03-22 Thread Peter Hutterer
On Sun, Mar 20, 2011 at 03:49:48PM +0100, Simon Thum wrote: Since the mode of valuators (no longer?) bears a relation to the device class actually initialized, this naming was quite misleading. Signed-off-by: Simon Thum simon.t...@gmx.de applied, thanks. Cheers, Peter --- src/evdev.c

[PATCH] test: when unit tests are enabled, build them during make

2011-03-22 Thread Peter Hutterer
Catch compiler errors that were otherwise only spotted on make check. Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- test/Makefile.am |4 ++-- test/xi2/Makefile.am |4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/Makefile.am b/test/Makefile.am

Re: [PATCH 1/6] xquartz: simplify ChangeDeviceControl

2011-03-22 Thread Peter Hutterer
On Sun, Mar 20, 2011 at 04:28:22PM +0100, Simon Thum wrote: Signed-off-by: Simon Thum simon.t...@gmx.de --- hw/xquartz/darwinXinput.c | 12 +--- 1 files changed, 1 insertions(+), 11 deletions(-) diff --git a/hw/xquartz/darwinXinput.c b/hw/xquartz/darwinXinput.c index

please pull my xinerama-cleanup branch

2011-03-22 Thread Dave Airlie
Sent this before, but all messy. The following changes since commit 628d16a92a7fa556fbb70bf4a4adf57ec05c190b: loader: Don't distribute sdksyms.c and make it depend on the config (2011-03-03 21:54:25 -0800) are available in the git repository at: git://people.freedesktop.org/~airlied/xserver

[PATCH inputproto] specs: move erroneous Errors: line to where it belongs

2011-03-22 Thread Peter Hutterer
Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- specs/XIproto.txt |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/specs/XIproto.txt b/specs/XIproto.txt index 4b6b8f1..35ab1c9 100644 --- a/specs/XIproto.txt +++ b/specs/XIproto.txt @@ -857,10 +857,11 @@

Re: [PATCH xserver] remove absolute class (resent)

2011-03-22 Thread Peter Hutterer
On Sun, Mar 20, 2011 at 04:50:55PM +0100, Simon Thum wrote: Hi all, somehow I'm out of luck with send-email and my overly spam-alert email provider. Sorry for double-posting! Here's the original mail (without greeting, which somehow got suppressed): I made an attempt to remove the

Re: please pull my xinerama-cleanup branch

2011-03-22 Thread Keith Packard
On Wed, 23 Mar 2011 13:53:29 +1000, Dave Airlie airl...@gmail.com wrote: Dave Airlie (4): panoramiX: macro checking if drawable is root (v2) panoramiX: consolidate common id assignment code. panoramiX: convert 0-panoramiXNumScreens loops to macro (v3) panoramiX: convert

Re: [PATCH xserver] GLX: Support TLS with better portability

2011-03-22 Thread tom fogal
Jeremy Huddleston jerem...@apple.com writes: AX_TLS detects when toolchains support __thread or __declspec(thread), but existing code assumed __thread. Good find. configure.ac|1 + [snip] + AC_DEFINE(__XSERVER_TLS, ${ac_cv_tls}, [Thread local storage directive] The

[RFC PATCH] Add XI_PROP_ROTATION property to the server's properties.

2011-03-22 Thread Peter Hutterer
Having rotation support has been a feature requested for a while now. Now we've had two independent implementations happen within quite a short timeframe, one in synaptics, one in evdev (and wacom has had it's own implementation for a while). So the question is now, how to do this best. We have

Re: [PATCH synaptics] Add synaptics orientation support

2011-03-22 Thread Peter Hutterer
On Mon, Mar 21, 2011 at 01:51:35PM +0200, Aapo Rantalainen wrote: On Fri, Mar 18, 2011 at 04:26:46PM +1000, Peter Hutterer wrote: Hi Aapo, I noticed this patch in the synaptics repo today. Unfortunately, it needs a bit more work, so I've reverted it for now. Please find my comments

Re: [RFC PATCH] Add XI_PROP_ROTATION property to the server's properties.

2011-03-22 Thread Daniel Stone
Hi, Thinking out loud ... On Wed, Mar 23, 2011 at 03:13:55PM +1000, Peter Hutterer wrote: Having rotation support has been a feature requested for a while now. Now we've had two independent implementations happen within quite a short timeframe, one in synaptics, one in evdev (and wacom has had

Re: [RFC PATCH] Add XI_PROP_ROTATION property to the server's properties.

2011-03-22 Thread Keith Packard
On Wed, 23 Mar 2011 15:13:55 +1000, Peter Hutterer peter.hutte...@who-t.net wrote: Having rotation support has been a feature requested for a while now. Now we've had two independent implementations happen within quite a short timeframe, one in synaptics, one in evdev (and wacom has had it's

Re: [RFC PATCH] Add XI_PROP_ROTATION property to the server's properties.

2011-03-22 Thread Peter Hutterer
On Tue, Mar 22, 2011 at 10:37:22PM -0700, Daniel Stone wrote: Hi, Thinking out loud ... On Wed, Mar 23, 2011 at 03:13:55PM +1000, Peter Hutterer wrote: Having rotation support has been a feature requested for a while now. Now we've had two independent implementations happen within quite a

Re: [RFC PATCH] Add XI_PROP_ROTATION property to the server's properties.

2011-03-22 Thread Peter Hutterer
On Wed, Mar 23, 2011 at 02:37:40PM +0900, Keith Packard wrote: On Wed, 23 Mar 2011 15:13:55 +1000, Peter Hutterer peter.hutte...@who-t.net wrote: Having rotation support has been a feature requested for a while now. Now we've had two independent implementations happen within quite a short