Re: [PATCH synaptics] Add synaptics orientation support

2011-03-21 Thread Aapo Rantalainen
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 inline. fwiw, patches to synatics should go to the xorg-devel list first

[PATCH] libX11: Add #define XK_SINHALA

2011-03-21 Thread Harshula Jayasuriya
Add #define XK_SINHALA so that the Sinhala keysyms can be used by the lk xkb keymap. Signed-off-by: Harshula Jayasuriya harsh...@gmail.com --- src/KeyBind.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/KeyBind.c b/src/KeyBind.c index ac25ce2..221cedd 100644 ---

Re: [PATCH] man: list the drivers that are ignored when hotplugging (#35209)

2011-03-21 Thread Dan Nicholson
On Wed, Mar 16, 2011 at 5:14 PM, Peter Hutterer peter.hutte...@who-t.net wrote: On Wed, Mar 16, 2011 at 05:24:08AM -0700, Dan Nicholson wrote: On Tue, Mar 15, 2011 at 3:11 PM, Peter Hutterer peter.hutte...@who-t.net wrote: On Tue, Mar 15, 2011 at 02:49:29PM +0100, Vincent Lefevre wrote: On

Re: [PATCH] libX11: Add #define XK_SINHALA

2011-03-21 Thread Daniel Stone
On Mon, Mar 21, 2011 at 02:19:45PM +1100, Harshula Jayasuriya wrote: Add #define XK_SINHALA so that the Sinhala keysyms can be used by the lk xkb keymap. Pushed to master, thanks. Cheers, Daniel signature.asc Description: Digital signature ___

Re: [PATCH xorg-server] adds nouveau as standard driver for linux systems

2011-03-21 Thread Adam Jackson
On 3/19/11 1:58 PM, Thomas Schneider wrote: The abi only breaks when the distribution uses to old nouveau code. Normally the ABI does not break and many distributions already use nouveau as default without any problems. This, sir, is false. I believe what you mean to say here is many

Nominations for 1.10.1 RC1 on Friday

2011-03-21 Thread Jeremy Huddleston
1.10.1 RC1 (that's a lot of 1s) is planned for release this Friday. Currently, we don't have much on the server-1.10-branch, so please send me nomination requests. I'll be going over recent master commits to cherry-pick in what I feel is prudent, but if you feel strongly about a change

Re: [PATCH synaptics] Add synaptics orientation support

2011-03-21 Thread Simon Thum
Hi Aapo, On 03/21/2011 12:51 PM, Aapo Rantalainen wrote: What is then common for wacom/synaptics/others? Is there a point to tune this synaptics-patch or is this doable on server level? (Or some other better way?) definitively. You could implement matrix rotation for relative devices. The

Re: [PATCH 0/6] GLX cleanup, round three

2011-03-21 Thread Adam Jackson
On 3/20/11 10:04 PM, Dave Airlie wrote: I'll push a mesa patch to remove glapi.c, glapitemp.h glapi.h from the files that get copied into the X server. Reviewed-by: Dave Airlieairl...@redhat.com for the series. I know patch 1 is just a workaround, it would be nice to know the actual fix is in

[ATCH 0/5] GLX context tag reimplementation

2011-03-21 Thread Adam Jackson
GLX, apparently as some sort of elaborate prank, has both context IDs and context tags. These are _almost_ identical; the functional difference is that you're allowed to continue to mention the tag of a deleted context as long as it's still your current context. The sample implementation of tags

[PATCH 1/5] glx: Reimplement context tags

2011-03-21 Thread Adam Jackson
This would let you do a constant-time context lookup, but if that's your performance problem you have two problems. Just use the context's XID as the tag value instead. In order to do this, we have to defer destroying a context until it actually goes unreferenced, as you're allowed to mention a

[PATCH 2/5] glx: Remove -forceCurrent from the context vtable

2011-03-21 Thread Adam Jackson
All the implementations of makeCurrent and forceCurrent are identical, so just use makeCurrent everywhere. Signed-off-by: Adam Jackson a...@redhat.com --- glx/glxcontext.h |2 -- glx/glxdri.c | 14 -- glx/glxdri2.c| 14 --

[PATCH 3/5] glx: Remove some obfuscatory macros

2011-03-21 Thread Adam Jackson
Signed-off-by: Adam Jackson a...@redhat.com --- glx/glxcmds.c | 14 +++--- glx/glxserver.h |8 glx/single2.c |8 glx/single2swap.c |8 glx/singlepix.c |2 +- glx/singlepixswap.c

[PATCH 4/5] glx: dead variable removal

2011-03-21 Thread Adam Jackson
Signed-off-by: Adam Jackson a...@redhat.com --- glx/glxext.c|8 glx/glxserver.h |2 -- 2 files changed, 0 insertions(+), 10 deletions(-) diff --git a/glx/glxext.c b/glx/glxext.c index e083c6c..db767f7 100644 --- a/glx/glxext.c +++ b/glx/glxext.c @@ -50,7 +50,6 @@ ** from

[PATCH 5/5] glx: minor cast cleanup

2011-03-21 Thread Adam Jackson
Signed-off-by: Adam Jackson a...@redhat.com --- glx/glxext.c |7 +++ 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/glx/glxext.c b/glx/glxext.c index db767f7..3f3dd79 100644 --- a/glx/glxext.c +++ b/glx/glxext.c @@ -385,7 +385,7 @@ __GLXcontext

Re: [PATCH synaptics 14/17] Require macros 1.13 for unit testing

2011-03-21 Thread Gaetan Nadon
On Mon, 2011-03-21 at 12:08 +1000, Peter Hutterer wrote: 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 95c64de..fd2d0c3 100644 --- a/configure.ac +++

[PATCH v2 synaptics 14/17] Require macros 1.13 for unit testing

2011-03-21 Thread Peter Hutterer
Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- how embarrassing... configure.ac |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 95c64de..9a7ba59 100644 --- a/configure.ac +++ b/configure.ac @@ -38,10 +38,10 @@

Re: [PATCH synaptics 15/17] Add basic framework for unit-testing.

2011-03-21 Thread Gaetan Nadon
On Mon, 2011-03-21 at 12:08 +1000, Peter Hutterer wrote: Also adds a bunch of fake symbols so we can link. Note that any of these symbols will return false, 0 or whatever the zero value for the symbol is. Care must be taken when writing test that this doesn't screw up the test. Tests are

Re: [PATCH v2 synaptics 14/17] Require macros 1.13 for unit testing

2011-03-21 Thread Gaetan Nadon
On Tue, 2011-03-22 at 07:53 +1000, Peter Hutterer wrote: Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- how embarrassing... configure.ac |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 95c64de..9a7ba59 100644

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

2011-03-21 Thread Gaetan Nadon
This tool is used under the cover by XMLTO to convert DocBook/XML to text. This macro allows to use it explicitly with the same facilities provided with other documentation tools. Signed-off-by: Gaetan Nadon mems...@videotron.ca --- xorg-macros.m4.in | 56

[PATCH util-macros 2/2] Add XORG_WITH_XMLLINT to validate XML documents

2011-03-21 Thread Gaetan Nadon
Used when generating the documentation. Signed-off-by: Gaetan Nadon mems...@videotron.ca --- xorg-macros.m4.in | 57 + 1 files changed, 57 insertions(+), 0 deletions(-) diff --git a/xorg-macros.m4.in b/xorg-macros.m4.in index

Re: [PATCH synaptics 15/17] Add basic framework for unit-testing.

2011-03-21 Thread Peter Hutterer
On Mon, Mar 21, 2011 at 05:58:37PM -0400, Gaetan Nadon wrote: On Mon, 2011-03-21 at 12:08 +1000, Peter Hutterer wrote: Also adds a bunch of fake symbols so we can link. Note that any of these symbols will return false, 0 or whatever the zero value for the symbol is.. Care must be taken

[PATCH v2 15/17] Add basic framework for unit-testing.

2011-03-21 Thread Peter Hutterer
Also adds a bunch of fake symbols so we can link. Note that any of these symbols will return false, 0 or whatever the zero value for the symbol is. Care must be taken when writing test that this doesn't screw up the test. Tests are always built but only run on make check. Signed-off-by: Peter

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

2011-03-21 Thread Alan Coopersmith
Isn't w3m just one of the choices XMLTO might be using? I'm not sure we want to try to replicate all the XMLTO configure options in every one of our modules. -alan- On 03/21/11 04:53 PM, Gaetan Nadon wrote: This tool is used under the cover by XMLTO to convert DocBook/XML to text.

Re: [PATCH] man: list the drivers that are ignored when hotplugging (#35209)

2011-03-21 Thread Peter Hutterer
On Mon, Mar 21, 2011 at 05:59:47AM -0700, Dan Nicholson wrote: On Wed, Mar 16, 2011 at 5:14 PM, Peter Hutterer peter.hutte...@who-t.net wrote: On Wed, Mar 16, 2011 at 05:24:08AM -0700, Dan Nicholson wrote: On Tue, Mar 15, 2011 at 3:11 PM, Peter Hutterer peter.hutte...@who-t.net wrote:

internal screen concept

2011-03-21 Thread Dave Airlie
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 front buffer shared. However this leads to a lot of uglies on the protocol end,

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

2011-03-21 Thread Gaetan Nadon
On Mon, 2011-03-21 at 16:59 -0700, Alan Coopersmith wrote: Isn't w3m just one of the choices XMLTO might be using? I'm not sure we want to try to replicate all the XMLTO configure options in every one of our modules. There is also links and lynx. I checked that all platforms have w3m. As

Re: [PATCH] man: list the drivers that are ignored when hotplugging (#35209)

2011-03-21 Thread Dan Nicholson
On Mon, Mar 21, 2011 at 5:01 PM, Peter Hutterer peter.hutte...@who-t.net wrote: On Mon, Mar 21, 2011 at 05:59:47AM -0700, Dan Nicholson wrote: On Wed, Mar 16, 2011 at 5:14 PM, Peter Hutterer peter.hutte...@who-t.net wrote: On Wed, Mar 16, 2011 at 05:24:08AM -0700, Dan Nicholson wrote: On

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

2011-03-21 Thread Alan Coopersmith
On 03/21/11 05:39 PM, Gaetan Nadon wrote: On Mon, 2011-03-21 at 16:59 -0700, Alan Coopersmith wrote: Isn't w3m just one of the choices XMLTO might be using? I'm not sure we want to try to replicate all the XMLTO configure options in every one of our modules. There is also links and

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

2011-03-21 Thread Dan Nicholson
On Mon, Mar 21, 2011 at 5:39 PM, Gaetan Nadon mems...@videotron.ca wrote: On Mon, 2011-03-21 at 16:59 -0700, Alan Coopersmith wrote: Isn't w3m just one of the choices XMLTO might be using?   I'm not sure we want to try to replicate all the XMLTO configure options in every one of our modules.

Re: [PATCH synaptics 15/17] Add basic framework for unit-testing.

2011-03-21 Thread Gaetan Nadon
On Tue, 2011-03-22 at 09:54 +1000, Peter Hutterer wrote: IIRC, the main reason we have disable-unit-tests is because we chose glib as testing suite and that wasn't available on all platforms. One thing we get in the server now is commits that fix build issues in the tests because few

Re: [PATCH synaptics 15/17] Add basic framework for unit-testing.

2011-03-21 Thread Peter Hutterer
On Mon, Mar 21, 2011 at 09:03:35PM -0400, Gaetan Nadon wrote: On Tue, 2011-03-22 at 09:54 +1000, Peter Hutterer wrote: IIRC, the main reason we have disable-unit-tests is because we chose glib as testing suite and that wasn't available on all platforms. One thing we get in the server

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

2011-03-21 Thread Peter Hutterer
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 deletions(-) diff --git a/test/Makefile.am b/test/Makefile.am index 16502ee..0b45a2d 100644 ---

Re: [PATCH synaptics 15/17] Add basic framework for unit-testing.

2011-03-21 Thread Gaetan Nadon
On Tue, 2011-03-22 at 11:51 +1000, Peter Hutterer wrote: i think we're mixing terms here. in the server, building the tests only happens on make check, not on a normal make. this is the situation i want to avoid. I had not noticed this subtlety in the server. having said that, I'm fine

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

2011-03-21 Thread Gaetan Nadon
On Mon, 2011-03-21 at 17:45 -0700, Alan Coopersmith wrote: Will it do anything if you don't modify all the Makefile.am's to add #if HAVE_W3M ? If you don't want text documentation generated, we should give a flag for that instead of guessing which utility xmlto might call to generate it.

Re: [PATCH inputproto] Add minimal asciidoc syntax

2011-03-21 Thread Matt Dew
On 03/20/2011 05:14 PM, Peter Hutterer wrote: On Fri, Mar 18, 2011 at 11:45:17AM -0400, Gaetan Nadon wrote: On Fri, 2011-03-18 at 10:07 +1000, Peter Hutterer wrote: I don't disagree and I certainly haven't use asciidoc in anything more complex than a man page. just one comment that I found