Re: [PATCH] Fix for bug Bug 13040 'Make the cursor option in xorg.conf useful'

2010-11-07 Thread Simon Thum
On 11/06/10 23:03, Manuel Reimer wrote: What I'm not happy about is the fact, that there are two configuration options (CURSOR and MODE). They IMHO do nearly the same. CURSOR on stylus -- absolute CURSOR on puck -- relative MODE on absolute -- absolute MODE on relative -- relative One

Re: [PATCH evdev] evdev: added property Evdev Axes Rotation. #27688

2010-11-07 Thread Simon Thum
On 11/02/10 08:45, Peter Hutterer wrote: On 2/11/10 17:41 , Peter Korsgaard wrote: PH == Peter Huttererpeter.hutte...@who-t.net writes: Hi, PH right, that's the easy part. right now the property isn't hooked up for PH relative devices, so afaict that needs to be the first step. A quick

Re: [PATCH] Fix for bug Bug 13040 'Make the cursor option in xorg.conf useful'

2010-11-07 Thread Manuel Reimer
Simon Thum wrote: In case you're set out to DTRT, may may consider making it two X devices for stylus or puck. IFAIK the wacom driver does that. Maybe, but I'm no X.org driver expert. I'm happy that I managed to get this driver to work again without crashing all the time ;-) For me, it

Smooth scrolling again

2010-11-07 Thread Max Schwarz
Hi, I finally found some time for smooth scrolling. I've got rebased patches against git versions for xserver, xf86-input-evdev, xf86-input-synaptics in my github repo at https://github.com/x-quadraht/pscroll. Would you mind checking them and telling me what needs to be done to get them merged?

Re: [RFC] merged void driver

2010-11-07 Thread Luc Verhaegen
On Sun, Nov 07, 2010 at 08:05:08AM +1000, Peter Hutterer wrote: the api for input drivers is quite limited. we have a few structs, but most importantly a few calls to initialize various bits of the device (does it have buttons, does it have axes, etc.). Over the last couple of server

[PATCH fbdev 1/3] Convert x{re,c,}alloc and xfree.

2010-11-07 Thread Cyril Brulebois
Signed-off-by: Cyril Brulebois k...@debian.org --- src/fbdev.c | 18 +- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/fbdev.c b/src/fbdev.c index c97ce1c..4cde790 100644 --- a/src/fbdev.c +++ b/src/fbdev.c @@ -212,7 +212,7 @@ FBDevFreeRec(ScrnInfoPtr pScrn)

[PATCH] Allow building without XV.

2010-11-07 Thread Cyril Brulebois
It is useful when one is trying to build an X system with a limited amount of features, like in the Debian Graphical Installer. Signed-off-by: Cyril Brulebois k...@debian.org --- configure.ac | 12 src/fbdev.c |2 ++ 2 files changed, 14 insertions(+), 0 deletions(-) diff

Some clean-up for the fbdev video driver

2010-11-07 Thread Cyril Brulebois
Hi, here's a tiny series to clean some things up. The manpage fix is a bit long-standing, sorry it wasn't pushed before. Mraw, KiBi. ___ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info:

[PATCH fbdev 3/3] Kill unused variables.

2010-11-07 Thread Cyril Brulebois
Signed-off-by: Cyril Brulebois k...@debian.org --- src/fbdev.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/src/fbdev.c b/src/fbdev.c index 4cde790..4c0fc31 100644 --- a/src/fbdev.c +++ b/src/fbdev.c @@ -284,7 +284,6 @@ FBDevProbe(DriverPtr drv, int flags)

Re: [PATCH util-macros] XORG_ENABLE_DOCS: Fix Enable building the documentation (yes: yes)

2010-11-07 Thread Dan Nicholson
On Sat, Nov 6, 2010 at 5:55 PM, Gaetan Nadon mems...@videotron.ca wrote: The quoting did not prevent the m4 defined variable default to replace the text string default in the help text. Signed-off-by: Gaetan Nadon mems...@videotron.ca ---  xorg-macros.m4.in |    8  1 files changed,

[PATCH xorg-docs] Implement the --disable-docs option

2010-11-07 Thread Gaetan Nadon
The XORG_ENABLE_DOCS macro provide a configure option to disable the generation of general documentation. The makefiles need to use the Automake conditional ENABLE_DOCS Signed-off-by: Gaetan Nadon mems...@videotron.ca --- I am aware this could have been done in the /general makefile alone, but

Re: Smooth scrolling again

2010-11-07 Thread Simon Thum
On 11/07/10 14:56, Max Schwarz wrote: Hi, I finally found some time for smooth scrolling. Great news, thanks for your efforts! I've got rebased patches against git versions for xserver, xf86-input-evdev, xf86-input-synaptics in my github repo at https://github.com/x-quadraht/pscroll.

Re: [RFC] merged void driver

2010-11-07 Thread Daniel Stone
On Sun, Nov 07, 2010 at 04:01:18PM +0100, Luc Verhaegen wrote: I believe that differences in driver APIs should be a build-time thing, for all currently used versions of X. I personally find compatibility up to debian stable a very commendable and defendable goal. Yes, and that's OK.

Re: [RFC] merged void driver

2010-11-07 Thread Luc Verhaegen
On Sun, Nov 07, 2010 at 11:13:09AM -0500, Daniel Stone wrote: On Sun, Nov 07, 2010 at 04:01:18PM +0100, Luc Verhaegen wrote: I believe that differences in driver APIs should be a build-time thing, for all currently used versions of X. I personally find compatibility up to debian stable a

Re: [RFC] Multi-Touch (MT) support - arbitration or not

2010-11-07 Thread Daniel Stone
Hi, On Fri, Nov 05, 2010 at 11:47:28AM -0700, Ping Cheng wrote: Recent changes and discussion about MT support at LKML, UDS, and xorg-devel encouraged me to migrate Wacom MT devices to the slot-based MT protocol (introduced in kernel 2.6.36). Nice! My goal is to understand how X server

Re: Smooth scrolling again

2010-11-07 Thread Daniel Stone
Hi, On Sun, Nov 07, 2010 at 02:56:22PM +0100, Max Schwarz wrote: I finally found some time for smooth scrolling. I've got rebased patches against git versions for xserver, xf86-input-evdev, xf86-input-synaptics in my github repo at https://github.com/x-quadraht/pscroll. Would you mind

Re: Smooth scrolling again

2010-11-07 Thread Max Schwarz
Hi Simon, A thing I'm missing is how you're establishing the relationship of smooth and button scrolling? It might just be me since I'm only looking at the diffs. It's certainly subtle ;-) Look at EvdevProcessRelativeMotionEvent(). In case of a change on REL_(H)WHEEL the clicks are queued and

Re: [RFC] merged void driver

2010-11-07 Thread Daniel Stone
On Sun, Nov 07, 2010 at 05:17:31PM +0100, Luc Verhaegen wrote: On Sun, Nov 07, 2010 at 11:13:09AM -0500, Daniel Stone wrote: On Sun, Nov 07, 2010 at 04:01:18PM +0100, Luc Verhaegen wrote: I believe that differences in driver APIs should be a build-time thing, for all currently used

Re: [RFC] merged void driver

2010-11-07 Thread Luc Verhaegen
On Sun, Nov 07, 2010 at 12:07:10PM -0500, Daniel Stone wrote: On Sun, Nov 07, 2010 at 05:17:31PM +0100, Luc Verhaegen wrote: Ignoring the rest of the email, and just singling out this one statement, which is mostly about describing the position from which i am looking at this

Re: Smooth scrolling again

2010-11-07 Thread Max Schwarz
Hi Daniel, Nice! Thanks ;-) I think the NoIntegration stuff is entirely unnecessary though - if you've set your axis range appropriately, then you won't need this hack at all. If you can come up with a patchset that doesn't require this, I'd be more than happy to test it with Synaptics.

Re: [PATCH libxtrans] Remove ISCFuncs, fix SCOFuncs inclusion (bug 23324)

2010-11-07 Thread Alan Coopersmith
jesserayadk...@gmail.com wrote: From: Jesse Adkins jesserayadk...@gmail.com ISCFuncs was removed by commit 339ddc413559d4cb117a72f87b2a70dae6911c32. SCOFuncs should be for SCO only, instead of !sun. Also, remove comments that suggest ISC support. Signed-off-by: Jesse Adkins

[PATCH libXt] remove strcmp in src/ResConfig.c

2010-11-07 Thread walter harms
ake remainder check like in the rest of code and replace strcmp() Signed-off-by: walter harms wha...@bfs.de diff --git a/src/ResConfig.c b/src/ResConfig.c index 7514754..63afb18 100644 --- a/src/ResConfig.c +++ b/src/ResConfig.c @@ -746,7 +746,7 @@ _search_widget_tree ( /* *

Re: [PATCH sgml-doctools] Set stylesheet to provide XML profiling support

2010-11-07 Thread Matt Dew
On Fri, Nov 5, 2010 at 7:22 PM, Gaetan Nadon mems...@videotron.ca wrote: From: Matt Dew m...@osource.org Produces the same generated files when profiling is not used. Signed-off-by: Gaetan Nadon mems...@videotron.ca ---  Makefile.am                     |    9 +-  

Re: [RFC] Multi-Touch (MT) support - arbitration or not

2010-11-07 Thread Michal Suchanek
Hello On 7 November 2010 17:30, Daniel Stone dan...@fooishbar.org wrote: Hi, On Fri, Nov 05, 2010 at 11:47:28AM -0700, Ping Cheng wrote: The existing solution for single touch events is to arbitrate touch when pen is in prox. This is based on the assumption that we do not want to have two

Re: [PATCH fbdev 3/3] Kill unused variables.

2010-11-07 Thread Julien Cristau
On Sun, Nov 7, 2010 at 15:54:51 +0100, Cyril Brulebois wrote: Signed-off-by: Cyril Brulebois k...@debian.org --- src/fbdev.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/src/fbdev.c b/src/fbdev.c index 4cde790..4c0fc31 100644 --- a/src/fbdev.c +++

Re: [PATCH fbdev 1/3] Convert x{re,c,}alloc and xfree.

2010-11-07 Thread Julien Cristau
On Sun, Nov 7, 2010 at 15:54:49 +0100, Cyril Brulebois wrote: Signed-off-by: Cyril Brulebois k...@debian.org --- src/fbdev.c | 18 +- 1 files changed, 9 insertions(+), 9 deletions(-) Reviewed-by: Julien Cristau jcris...@debian.org Cheers, Julien signature.asc

Re: [PATCH fbdev 2/3] Fix escaping in the manpage.

2010-11-07 Thread Julien Cristau
On Sun, Nov 7, 2010 at 15:54:50 +0100, Cyril Brulebois wrote: Signed-off-by: Cyril Brulebois k...@debian.org --- man/fbdev.man |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/man/fbdev.man b/man/fbdev.man index 9c3d24a..a2ed073 100644 --- a/man/fbdev.man +++

Re: [PATCH] Allow building without XV.

2010-11-07 Thread Julien Cristau
On Sun, Nov 7, 2010 at 15:55:47 +0100, Cyril Brulebois wrote: It is useful when one is trying to build an X system with a limited amount of features, like in the Debian Graphical Installer. This should probably just add #ifdef XV around that block in src/fbdev.c, so it follows the

Re: [RFC] merged void driver

2010-11-07 Thread Peter Hutterer
On Sun, Nov 07, 2010 at 04:01:18PM +0100, Luc Verhaegen wrote: On Sun, Nov 07, 2010 at 08:05:08AM +1000, Peter Hutterer wrote: the api for input drivers is quite limited. we have a few structs, but most importantly a few calls to initialize various bits of the device (does it have

Re: [RFC] Multi-Touch (MT) support - arbitration or not

2010-11-07 Thread Ping Cheng
On Sat, Nov 6, 2010 at 8:53 AM, Michal Suchanek hramr...@centrum.cz wrote: As a tablet user, not X developer I don't think it is desirable and expected to register pen touch and finger touch together as a multitouch. That is, if I wanted to trigger a multitouch feature I would use fingers,

Re: [RFC] Multi-Touch (MT) support - arbitration or not

2010-11-07 Thread Ping Cheng
On Sun, Nov 7, 2010 at 8:30 AM, Daniel Stone dan...@fooishbar.org wrote: The existing solution for single touch events is to arbitrate touch when pen is in prox. This is based on the assumption that we do not want to have two cursors competing on the screen. What do you mean by 'arbitrate'

Re: [RFC] Multi-Touch (MT) support - arbitration or not

2010-11-07 Thread Ping Cheng
On Sun, Nov 7, 2010 at 8:30 AM, Daniel Stone dan...@fooishbar.org wrote: 1.     Arbitrate all touch data in the kernel. This is the simplest solution for device driver developers. But I do not feel it is end user and userland client friendly. [...] 3.    Report first finger touch as

[PATCH 0/3] Crasher fix for input device removal

2010-11-07 Thread Peter Hutterer
The real patch is 3/3 and can easily backported to a stable branch. My original attempt at a fix was different though, so I started with the cleanup work. Cheers, Peter ___ xorg-devel@lists.x.org: X.Org development Archives:

[PATCH 1/3] Xi: split hierarchy manipulation into static functions.

2010-11-07 Thread Peter Hutterer
No functional changes, just code cleanup to improve readability. Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- Xi/xichangehierarchy.c | 518 +--- 1 files changed, 275 insertions(+), 243 deletions(-) diff --git a/Xi/xichangehierarchy.c

[PATCH 3/3] Xi: if XTEST device creation fails, fail the master devices.

2010-11-07 Thread Peter Hutterer
When getting close to the MAXDEVICES limit, the creation of XTEST devices may fail due to device id exhaustion. In that case, fail the creation of master devices too and return an error to the client. Theoretically, we could alloc the MDs without the XTEST devices but that will get interesting

Re: [PATCH sgml-doctools] Set stylesheet to provide XML profiling support

2010-11-07 Thread Gaetan Nadon
On Sun, 2010-11-07 at 12:42 -0700, Matt Dew wrote: When docbook .xsl and .dtd files are installed locally, catalog files are also installed that point to them. In these catalog files are rewrite rules that instruct xslt processors, xsltproc in our case, how to substitute local copies of

[PATCH x11perf] Install x11perfcomp auxiliary scripts in $datadir, not $libdir.

2010-11-07 Thread Peter Hutterer
From: Adam Jackson a...@redhat.com Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- Makefile.am |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Makefile.am b/Makefile.am index c14391c..2b54eee 100644 --- a/Makefile.am +++ b/Makefile.am @@ -23,7 +23,7 @@

Re: [RFC] Multi-Touch (MT) support - arbitration or not

2010-11-07 Thread Mohamed Ikbel Boulabiar
I don't know but it seems like a decision is being made here without future possibility of change in the user land. What if someone wants to create an application which uses pen+touch input like this one ? http://goo.gl/ydkl The paper is here : http://www.billbuxton.com/manual%20deskterity.pdf

[PATCH sgml-doctools] Upgrade xorg-sgml-doctools.pc.in

2010-11-07 Thread Gaetan Nadon
Follow the autoconf directory variables structure. Currently the value of sgmlrootdir would be incorrect if the package is configure with --datadir=somewhere_else. The datarootdir was introduced in Autoconf version 2.60. Use PACKAGE_VERSION rather than the undocumented VERSION variable.

Re: [RFC] Multi-Touch (MT) support - arbitration or not

2010-11-07 Thread Peter Hutterer
On Sat, Nov 06, 2010 at 04:38:51PM -0400, Rafi Rubin wrote: On 11/06/10 11:53, Michal Suchanek wrote: On 5 November 2010 19:47, Ping Cheng pingli...@gmail.com wrote: Recent changes and discussion about MT support at LKML, UDS, and xorg-devel encouraged me to migrate Wacom MT devices to the

Re: [PATCH] shadow: Optimize shadowUpdatePacked(). (#26973)

2010-11-07 Thread Matt Turner
On Sat, Sep 11, 2010 at 5:55 PM, Matt Turner matts...@gmail.com wrote: From: Adam Jackson a...@redhat.com Signed-off-by: Matt Turner matts...@gmail.com --- I was bug triaging and came across 26973 and remembered seeing it on the ml at some point recently. Here's a patch, as suggested by ajax

Re: [PATCH xorg-docs 3/3] Add Makefile XML profiling support

2010-11-07 Thread Guillem Jover
Hi! On Fri, 2010-11-05 at 21:22:24 -0400, Gaetan Nadon wrote: Each target type (html, pdf, ps, txt) needs its own stylesheet which all use the common xorg.xsl stylesheet. Signed-off-by: Gaetan Nadon mems...@videotron.ca diff --git a/xmlrules.in b/xmlrules.in index 41abb1b..d5556a9 100644

Re: [PATCH] try the newport driver on mips

2010-11-07 Thread Matt Turner
On Sat, Mar 6, 2010 at 1:03 PM, Matt Turner matts...@gmail.com wrote: On Sat, Mar 6, 2010 at 3:23 AM, Brice Goglin brice.gog...@gmail.com wrote: *From:* Bernhard R. Link brl...@debian.org http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=566545 Attached patch should tell the autodection code

[PATCH x11proto] Add XF86XK_TouchpadOn/Off

2010-11-07 Thread Peter Hutterer
From: Bastien Nocera had...@hadess.net Those keysyms will be used to report events from the hardware. Hardware like the HP laptops emit 2 separate keycodes when the touchpad is enabled or disabled. So we can catch those in user-space and display a popup.

Re: [PATCH fbdev 2/3] Fix escaping in the manpage.

2010-11-07 Thread Alan Coopersmith
Cyril Brulebois wrote: Signed-off-by: Cyril Brulebois k...@debian.org --- man/fbdev.man |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/man/fbdev.man b/man/fbdev.man index 9c3d24a..a2ed073 100644 --- a/man/fbdev.man +++ b/man/fbdev.man @@ -37,8 +37,8 @@

Re: [PATCH sgml-doctools] Upgrade xorg-sgml-doctools.pc.in

2010-11-07 Thread Alan Coopersmith
Shouldn't you change Makefile.am to match then? sgmldir = $(prefix)/share/sgml/X11 Gaetan Nadon wrote: Follow the autoconf directory variables structure. Currently the value of sgmlrootdir would be incorrect if the package is configure with --datadir=somewhere_else. The datarootdir was

Re: [PATCH] try the newport driver on mips

2010-11-07 Thread Mark Kettenis
From: Matt Turner matts...@gmail.com Date: Sun, 7 Nov 2010 23:57:34 -0500 On Sat, Mar 6, 2010 at 1:03 PM, Matt Turner matts...@gmail.com wrote: On Sat, Mar 6, 2010 at 3:23 AM, Brice Goglin brice.gog...@gmail.com wrote: *From:* Bernhard R. Link brl...@debian.org

Re: [PATCH xorg-docs] Implement the --disable-docs option

2010-11-07 Thread Alan Coopersmith
Gaetan Nadon wrote: The XORG_ENABLE_DOCS macro provide a configure option to disable the generation of general documentation. The makefiles need to use the Automake conditional ENABLE_DOCS Signed-off-by: Gaetan Nadon mems...@videotron.ca --- I am aware this could have been done in the