Re: [PATCH 1/2] Report logical button state in ProcXIQueryPointer

2012-04-26 Thread Peter Hutterer
On Fri, Apr 20, 2012 at 11:07:17AM -0700, Chase Douglas wrote: Physical button state is usually meaningless to an X client. Signed-off-by: Chase Douglas chase.doug...@canonical.com --- Xi/xiquerypointer.c | 12 1 files changed, 4 insertions(+), 8 deletions(-) diff --git

Re: [PATCH] TouchListenerAcceptReject: Warn and return early on bad listener index

2012-04-26 Thread Peter Hutterer
On Fri, Apr 20, 2012 at 11:08:15AM -0700, Chase Douglas wrote: Signed-off-by: Chase Douglas chase.doug...@canonical.com merged, thanks. Cheers, Peter --- dix/touch.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/dix/touch.c b/dix/touch.c index

Re: [PATCH 0/4] Configure fixes for Windows MinGW target

2012-04-26 Thread Ryan Pavlik
On Wed, Apr 25, 2012 at 8:41 AM, Michal Suchanek hramr...@gmail.com wrote: Hello, what else needs to be patched to build on mingw? I could test this if it was a full patchset but have no opinion whasoever configure changes for platform I don't know. Thanks Michal I was testing by

Re: [PATCH synaptics 1/2] Don't unconditionally divide by scroll_dist_vert (#46617)

2012-04-26 Thread Peter Hutterer
On Wed, Apr 25, 2012 at 10:34:48PM -0700, Chase Douglas wrote: On 04/25/2012 08:00 PM, Peter Hutterer wrote: Regression introduced in cddab79c408db3b13905a2be72aff4f7bf1406f8. If an event has a delta of less than scroll_dist_vert, the delta is unconditionally divided by the distance,

[PATCH] os: Add CryptoAPI as a choice of SHA1 implementation

2012-04-26 Thread Yaakov (Cygwin/X)
From: Yaakov Selkowitz yselkow...@users.sourceforge.net Both Cygwin and MinGW can use Windows' native CryptoAPI for SHA1, saving a dependency on libgcrypt or OpenSSL. The necessary functions are in ADVAPI32.DLL, which is among the default lib flags and is already used in hw/xwin for accessing

Re: [PATCH] os: Add CryptoAPI as a choice of SHA1 implementation

2012-04-26 Thread Mikhail Gusarov
Twas brillig at 02:11:28 26.04.2012 UTC-05 when yselkow...@users.sourceforge.net did gyre and gimble: Y Both Cygwin and MinGW can use Windows' native CryptoAPI for SHA1, Y saving a dependency on libgcrypt or OpenSSL. The necessary functions Y are in ADVAPI32.DLL, which is among the default

Re: [PATCH libXau] Free XauFileName() static buffer at exit

2012-04-26 Thread walter harms
Am 20.04.2012 23:18, schrieb Chase Douglas: XauFileName() may allocate and return a static buffer. The only way to ensure it is freed is to deallocate it when the program exits. Signed-off-by: Chase Douglas chase.doug...@canonical.com --- AuFileName.c | 17 - 1 files

Re: [PATCH] Include strings.h on Solaris for bzero definition

2012-04-26 Thread Daniel Stone
Hi, On 25 April 2012 04:45, Alan Coopersmith alan.coopersm...@oracle.com wrote: On 02/25/12 10:30 AM, Daniel Stone wrote: Acked-by: Daniel Stone dan...@fooishbar.org I'll push this on Monday too. Looks like it's still not in there - should I just push myself? Sorry, got lost in a rebase I

Re: [PATCH] dmx: Annotate dmxlog.c with _X_ATTRIBUTE_PRINTF

2012-04-26 Thread Michal Suchanek
On 26 April 2012 07:20, Peter Hutterer peter.hutte...@who-t.net wrote: On Mon, Apr 23, 2012 at 07:02:29PM +0200, Michal Suchanek wrote: From c3b73397fce271cefac7a72d5be498aed516dc59 Mon Sep 17 00:00:00 2001 From: Michal Suchanek hramr...@gmail.com Date: Mon, 23 Apr 2012 15:28:07 +0200

Re: [PATCH libXau] Free XauFileName() static buffer at exit

2012-04-26 Thread Alan Coopersmith
On 04/26/12 01:30 AM, walter harms wrote: Is XauFileName() a case for Xasprintf() ? No, because Xasprintf() only exists in the X server, while XauFilename is also used in client side code (libX11, xauth, etc.). -- -Alan Coopersmith- alan.coopersm...@oracle.com

Re: [PATCH] Include strings.h on Solaris for bzero definition

2012-04-26 Thread Alan Coopersmith
On 04/26/12 04:52 AM, Daniel Stone wrote: Hi, On 25 April 2012 04:45, Alan Coopersmith alan.coopersm...@oracle.com wrote: On 02/25/12 10:30 AM, Daniel Stone wrote: Acked-by: Daniel Stone dan...@fooishbar.org I'll push this on Monday too. Looks like it's still not in there - should I just

Re: [PATCH synaptics 2/2] Reset scroll delta when finger is lifted

2012-04-26 Thread Chase Douglas
On 04/25/2012 11:22 PM, Peter Hutterer wrote: On Wed, Apr 25, 2012 at 10:37:26PM -0700, Chase Douglas wrote: On 04/25/2012 08:00 PM, Peter Hutterer wrote: Provides for a more consistent scrolling experience, otherwise delta leftovers may trigger extra events even when the actual scrolling

Re: [PATCH] Include strings.h on Solaris for bzero definition

2012-04-26 Thread Daniel Stone
Hi, On 26 April 2012 16:46, Alan Coopersmith alan.coopersm...@oracle.com wrote: On 04/26/12 04:52 AM, Daniel Stone wrote: I wouldn't be too hugely concerned about porting it to Solaris though (unless you're porting Wayland too), since the amount of API we need to expose to implement the XKB

Re: [PATCH] xfree86: Font modules aren't a real thing

2012-04-26 Thread Julien Cristau
On Thu, Apr 26, 2012 at 16:42:20 -0400, Adam Jackson wrote: There are no longer any loadable font modules (not that they ever did much in the first place), so stop pretending they're a defined ABI surface. Signed-off-by: Adam Jackson a...@redhat.com --- hw/xfree86/common/xf86Module.h |

Re: [PATCH] xfree86: Font modules aren't a real thing

2012-04-26 Thread Alan Coopersmith
On 04/26/12 01:42 PM, Adam Jackson wrote: There are no longer any loadable font modules (not that they ever did much in the first place), so stop pretending they're a defined ABI surface. Are there any actual exported API's we can stop exporting? Or are we just waiting for daniels'

Re: [PATCH] dmx: Annotate dmxlog.c with _X_ATTRIBUTE_PRINTF

2012-04-26 Thread Peter Hutterer
On Thu, Apr 26, 2012 at 03:11:20PM +0200, Michal Suchanek wrote: On 26 April 2012 07:20, Peter Hutterer peter.hutte...@who-t.net wrote: On Mon, Apr 23, 2012 at 07:02:29PM +0200, Michal Suchanek wrote: From c3b73397fce271cefac7a72d5be498aed516dc59 Mon Sep 17 00:00:00 2001 From: Michal

[PATCH] os: make timers signal-safe

2012-04-26 Thread Peter Hutterer
Block signals for all list manipulations in the timers. If TimerSet() is called from a signal handler (synaptics tap handling code) may result in list corruption if we're currently inside TimerSet(). See backtrace in https://bugzilla.redhat.com/show_bug.cgi?id=814869 Signed-off-by: Peter

Re: [PULL 1.12] touch fixes for 1.12

2012-04-26 Thread Jeremy Huddleston
38e73f7..9ef48c9 server-1.12-branch - server-1.12-branch Thanks. On Apr 25, 2012, at 20:47, Peter Hutterer peter.hutte...@who-t.net wrote: Jeremy, These are a bunch of fixes for mainly the touch code. Quite a lot of them, but to be expected for a rather new feature. The following