Re: [PATCH synaptics] Prevent button mashing on clickpads

2013-10-31 Thread Daniel Colascione
On 10/30/2013 11:39 PM, Peter Hutterer wrote: On Tue, Oct 29, 2013 at 05:08:25PM -0700, Daniel Colascione wrote: On 10/29/2013 05:04 PM, Peter Hutterer wrote: On Sun, Oct 27, 2013 at 04:24:47PM -0700, Daniel Colascione wrote: The tiny patch below disables the clickpad hardware button when

Re: [PATCH synaptics] Circular exclusion areas

2013-10-31 Thread Daniel Colascione
On 10/30/2013 11:41 PM, Peter Hutterer wrote: On Tue, Oct 29, 2013 at 05:11:10PM -0700, Daniel Colascione wrote: On 10/29/2013 05:09 PM, Peter Hutterer wrote: On Mon, Oct 28, 2013 at 12:54:58AM -0700, Daniel Colascione wrote: The attached patch adds support for defining circular dead areas

Re: [PATCH synaptics] Prevent button mashing on clickpads

2013-10-31 Thread Peter Hutterer
On Wed, Oct 30, 2013 at 11:39:58PM -0700, Daniel Colascione wrote: On 10/30/2013 11:39 PM, Peter Hutterer wrote: On Tue, Oct 29, 2013 at 05:08:25PM -0700, Daniel Colascione wrote: On 10/29/2013 05:04 PM, Peter Hutterer wrote: On Sun, Oct 27, 2013 at 04:24:47PM -0700, Daniel Colascione wrote:

Re: [PATCH synaptics] Prevent button mashing on clickpads

2013-10-31 Thread Daniel Colascione
On 10/30/2013 11:52 PM, Peter Hutterer wrote: On Wed, Oct 30, 2013 at 11:39:58PM -0700, Daniel Colascione wrote: On 10/30/2013 11:39 PM, Peter Hutterer wrote: On Tue, Oct 29, 2013 at 05:08:25PM -0700, Daniel Colascione wrote: On 10/29/2013 05:04 PM, Peter Hutterer wrote: On Sun, Oct 27, 2013

Re: [PATCH 00/10] xwayland ABI compat

2013-10-31 Thread davyaxel
Hi, the git diff between master + these ABI patches and xwayland branch, shows there are a few ABI changes remaining. This is due to recent patches on XWayland, that were pushed after these patches. They can be found here:

[PATCH] dri: Fix GLX_Y_INVERTED_EXT fbconfig attribute

2013-10-31 Thread Adam Jackson
We're Y-inverted from GL's coordinates, so this is correct. gnome-shell doesn't seem to check this - somewhat reasonable since the only server that answered the other way around was Xglx - but kwin does, and upside-down hilarity ensues. Tested-by: maelcum on #xorg-devel Signed-off-by: Adam

Re: [PATCH 4/5] Support backtracing through elfutils (#70746)

2013-10-31 Thread Jan Kratochvil
On Wed, 30 Oct 2013 07:31:19 +0100, Jasper St. Pierre wrote: Whoops, I misspoke when I talked about libbacktrace. I meant libunwind all throughout, since that's what Xorg uses right now. I see now the libunwind support has been already upstreamed; I saw it before only as a Fedora-only

Re: [PATCH 4/5] Support backtracing through elfutils (#70746)

2013-10-31 Thread Jan Kratochvil
On Wed, 30 Oct 2013 03:13:28 +0100, Jasper St. Pierre wrote: This API is really bad compared to what's provided by libbacktrace, which is super simple. libbacktrace is not a real unwinder, it runs on top of libgcc backtrace() you currently use. Which is fine for xorg. libbacktrace even

Re: [PATCH 4/5] Support backtracing through elfutils (#70746)

2013-10-31 Thread Jan Kratochvil
On Wed, 30 Oct 2013 00:25:11 +0100, Peter Hutterer wrote: +static int +getmodules_callback(Dwfl_Module *module, +void **userdata, +const char *module_name, +Dwarf_Addr module_low_addr, void *arg) +{ +struct

Re: [PATCH 4/5] Support backtracing through elfutils (#70746)

2013-10-31 Thread Mark Wielaard
Hi, On Wed, 2013-10-30 at 08:58 +0100, Jan Kratochvil wrote: On Wed, 30 Oct 2013 07:31:19 +0100, Jasper St. Pierre wrote: Whoops, I misspoke when I talked about libbacktrace. I meant libunwind all throughout, since that's what Xorg uses right now. I see now the libunwind support has been

Re: [PATCH 4/5] Support backtracing through elfutils (#70746)

2013-10-31 Thread Jan Kratochvil
On Thu, 31 Oct 2013 10:55:09 +0100, Mark Wielaard wrote: On Thu, 2013-10-31 at 14:00 +1000, Peter Hutterer wrote: and yes, xorg_backtrace() is almost always called from within the signal handler. In that case, the process is crashing, possibly corrupted and inside a signal handler, I am

Re: [PATCH 4/5] Support backtracing through elfutils (#70746)

2013-10-31 Thread Jan Kratochvil
On Wed, 30 Oct 2013 08:58:00 +0100, Jan Kratochvil wrote: If you do not like the callbacks my original implementation did use iterators (like libunwind uses). Mark Wielaard has changed it to callbacks now during upstreaming to elfutils. Sorry this is off-topic for this thread, the xorg patch

Re: [PATCH 4/5] Support backtracing through elfutils (#70746)

2013-10-31 Thread Mark Wielaard
On Wed, 2013-10-30 at 12:14 +0100, Jan Kratochvil wrote: On Wed, 30 Oct 2013 11:02:25 +0100, Mark Wielaard wrote: I would love to promote elfutils for that. But you could just use backtrace () and backtrace_symbols () if the C library provides them. It is unfortunately not so easy, I wrote

Re: [PATCH 4/5] Support backtracing through elfutils (#70746)

2013-10-31 Thread Jan Kratochvil
On Wed, 30 Oct 2013 11:02:25 +0100, Mark Wielaard wrote: I would love to promote elfutils for that. But you could just use backtrace () and backtrace_symbols () if the C library provides them. It is unfortunately not so easy, I wrote there lower in the mail: On Wed, 30 Oct 2013 08:58:00

Re: [PATCH 4/5] Support backtracing through elfutils (#70746)

2013-10-31 Thread Mark Wielaard
On Thu, 2013-10-31 at 14:00 +1000, Peter Hutterer wrote: On Wed, Oct 30, 2013 at 07:50:28PM +0100, Mark Wielaard wrote: It also looks like this might be called from OsSigHandler to handle a fatal signal. In that case you really should do the minimum possible and get out quickly. Do you

[PATCH RESEND] xfree86: fix No devices detected error for non-seat0 seats (#66851)

2013-10-31 Thread Laércio de Sousa
This fixes a bug that prevents X.Org from starting properly on, e.g., NVIDIA cards with proprietary drivers, when -seat option is passed with an argument different from seat0. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=66851 Signed-off-by: Laércio de Sousa lbsous...@gmail.com ---

xf86-input-keyboard release?

2013-10-31 Thread Thomas Klausner
Hi! Now that my ~20 patches for better NetBSD support in xf86-input-keyboard are merged, I'd be interested in a release :) Can someone please make one? Thanks, Thomas ___ xorg-devel@lists.x.org: X.Org development Archives:

Re: [PATCH] dri: Fix GLX_Y_INVERTED_EXT fbconfig attribute

2013-10-31 Thread Keith Packard
Adam Jackson a...@redhat.com writes: We're Y-inverted from GL's coordinates, so this is correct. gnome-shell doesn't seem to check this - somewhat reasonable since the only server that answered the other way around was Xglx - but kwin does, and upside-down hilarity ensues. Tested-by:

[PATCH 1/1] miext/damage: Partial revert of Only wrap into the GC ops chain if there's a listener (v3)

2013-10-31 Thread Jeremy Huddleston Sequoia
Fixes regression from: 4dc2a76740d921c824a4d8193f39dd373475f02a http://lists.x.org/archives/xorg-devel/2013-May/036241.html https://trac.macports.org/ticket/38993 Signed-off-by: Jeremy Huddleston Sequoia jerem...@apple.com CC: Adam Jackson a...@redhat.com CC: Aaron Plattner aplatt...@nvidia.com

Re: [PATCH 2/5] os: use a constant for backtrace array size

2013-10-31 Thread walter harms
Am 30.10.2013 00:25, schrieb Peter Hutterer: Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- os/backtrace.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/os/backtrace.c b/os/backtrace.c index 426f9b1..3d1195b 100644 --- a/os/backtrace.c +++

Xephyr and -configure fixes

2013-10-31 Thread Søren Sandmann
The xf86AddBusDeviceToConfigure() fix doesn't have a Reviewed-by. Søren The following changes since commit 2eedf42c229e2251035d716a96b654222155cd51: dri: Fix GLX_Y_INVERTED_EXT fbconfig attribute (2013-10-31 08:13:26 -0700) are available in the git repository at:

[PULL] XQuartz trivial version bump

2013-10-31 Thread Jeremy Huddleston Sequoia
The following changes since commit 2eedf42c229e2251035d716a96b654222155cd51: dri: Fix GLX_Y_INVERTED_EXT fbconfig attribute (2013-10-31 08:13:26 -0700) are available in the git repository at: git://people.freedesktop.org/~jeremyhu/xserver master for you to fetch changes up to

[PATCH 1/2] Remove 'Readv' interface

2013-10-31 Thread Keith Packard
No-one uses this, so there's no reason for it to be in the library Signed-off-by: Keith Packard kei...@keithp.com --- Xtrans.c | 7 --- Xtrans.h | 6 -- 2 files changed, 13 deletions(-) diff --git a/Xtrans.c b/Xtrans.c index 0799f04..ac8b13d 100644 --- a/Xtrans.c +++ b/Xtrans.c @@

[PATCH 2/2] Add APIs to send file descriptors through the network

2013-10-31 Thread Keith Packard
Exposes new TRANS(SendFd)/TRANS(RecvFd) APIs. Signed-off-by: Keith Packard kei...@keithp.com --- Xtrans.c | 12 +++ Xtrans.h | 4 + Xtransint.h | 24 ++ Xtranssock.c | 233 ++- 4 files changed, 256 insertions(+), 17

[PULL] Fix Damage protocol for Xinerama

2013-10-31 Thread Adam Jackson
Same as the v5 series I sent a bit ago. 2 and 3 aren't reviewed yet, though 2 is at least trivial. Tested against the nvidia driver and against a hacked Xvfb, both root and toplevel reports appear to be sane now, and Subtracts are clipped to the (logical) root window. Sadly this does not result

Re: [PATCH 2/2] Add APIs to send file descriptors through the network

2013-10-31 Thread Adam Jackson
On Thu, 2013-10-31 at 13:10 -0700, Keith Packard wrote: Exposes new TRANS(SendFd)/TRANS(RecvFd) APIs. For the series: Reviewed-by: Adam Jackson a...@redhat.com Should probably try to push this out as xtrans 1.3.0? It's source compatible with old xserver so it'd be nice to have proper pkgconfig

Re: [PATCH 1/1] miext/damage: Partial revert of Only wrap into the GC ops chain if there's a listener (v3)

2013-10-31 Thread Adam Jackson
On Thu, 2013-10-31 at 08:57 -0700, Jeremy Huddleston Sequoia wrote: Fixes regression from: 4dc2a76740d921c824a4d8193f39dd373475f02a Tsk. I'll have to revisit this, but yeah, better correct than crashy. Reviewed-by: Adam Jackson a...@redhat.com - ajax

Re: [PATCH] Adds MIT-SHM AttachFd and CreateSegment requests

2013-10-31 Thread Adam Jackson
On Thu, 2013-10-31 at 13:12 -0700, Keith Packard wrote: Passes shared memory segments by file descriptor, AttachFd passes from client to server, CreateSegment passes from server to client. I was hoping for a patch to shmproto.txt, but there isn't one, le sigh. We should really fix the MIT-SHM

Re: [PATCH 2/2] Add APIs to send file descriptors through the network

2013-10-31 Thread Keith Packard
Adam Jackson a...@nwnk.net writes: On Thu, 2013-10-31 at 13:10 -0700, Keith Packard wrote: Exposes new TRANS(SendFd)/TRANS(RecvFd) APIs. For the series: Reviewed-by: Adam Jackson a...@redhat.com Should probably try to push this out as xtrans 1.3.0? It's source compatible with old xserver

[PATCH] glx: Lie about GLX_Y_INVERTED_EXT

2013-10-31 Thread Adam Jackson
Well, that was lame. The problem with reporting y inversion honestly is that libGL asks the driver _its_ opinion of Y inversion, which it just fabricates from whole cloth. So then when libGL goes to compare the driver's idea of fbconfigs with that of the server - a fairly dumb idea to begin with

[PATCH util-modular] release.sh: fix typo - properly check for .xz

2013-10-31 Thread Peter Hutterer
Introduced in 88feb98fee19a5f2a847d040affcc92f209967cb Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release.sh b/release.sh index 8c0006c..a4a725d 100755 --- a/release.sh +++ b/release.sh @@ -291,7

[PATCH 03/10] Add swapll to byte swap 64-bit datatypes

2013-10-31 Thread Keith Packard
Signed-off-by: Keith Packard kei...@keithp.com --- include/misc.h | 29 + 1 file changed, 29 insertions(+) diff --git a/include/misc.h b/include/misc.h index 0c67f11..17de710 100644 --- a/include/misc.h +++ b/include/misc.h @@ -305,6 +305,35 @@

[PATCH 07/10] Add interfaces to get FDs from clients over the socket

2013-10-31 Thread Keith Packard
This adds two interfaces: void SetReqFds(ClientPtr client, int req_fds) Marks the number of file descriptors expected for this request. Call this before any request processing so that any un-retrieved file descriptors will be closed automatically. int

[PATCH 08/10] Add support for MIT-SHM AttachFd request

2013-10-31 Thread Keith Packard
This passes a file descriptor from the client to the server, which is then mmap'd Signed-off-by: Keith Packard kei...@keithp.com --- Xext/shm.c| 159 -- Xext/shmint.h | 1 + include/os.h | 2 + os/io.c | 8 +++ 4 files

[PATCH 02/10] Add a RegionDuplicate function

2013-10-31 Thread Keith Packard
This allocates a new region structure and copies a source region into it in a single API rather than forcing the caller to do both steps themselves. Signed-off-by: Keith Packard kei...@keithp.com --- dix/region.c| 15 +++ include/regionstr.h | 2 ++ 2 files changed, 17

[PATCH 01/10] Clean up a couple of warnings in os/

2013-10-31 Thread Keith Packard
Signed-off-by: Keith Packard kei...@keithp.com --- os/connection.c | 2 +- os/xstrans.c| 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/os/connection.c b/os/connection.c index 6cd8bcf..162e1d9 100644 --- a/os/connection.c +++ b/os/connection.c @@ -923,7 +923,7 @@

[PATCH 06/10] misync: Don't smash custom screen sync functions

2013-10-31 Thread Keith Packard
There was a check to avoid smashing custom functions, but the sense was backwards causing it to always smash them, and also not set them otherwise. Signed-off-by: Keith Packard kei...@keithp.com --- miext/sync/misync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH 05/10] glx: glXSwapBuffers doesn't use core X error values

2013-10-31 Thread Adam Jackson
On Thu, 2013-10-31 at 15:43 -0700, Keith Packard wrote: Make sure we return only the defined GLX error values SwapBuffers doesn't, but MakeCurrent does, and __glXGetDrawable is called from both. - ajax ___ xorg-devel@lists.x.org: X.Org development

Re: [PATCH 4/5] Support backtracing through elfutils (#70746)

2013-10-31 Thread Peter Hutterer
On Thu, Oct 31, 2013 at 03:39:18PM +0100, Jan Kratochvil wrote: On Thu, 31 Oct 2013 11:28:14 +0100, Jan Kratochvil wrote: Calling backtrace() for the first time also is not signal-safe: glibc/sysdeps/x86_64/backtrace.c init() calls __libc_dlopen(). Maybe xorg could call backtrace() just

Re: Xephyr and -configure fixes

2013-10-31 Thread Adam Jackson
On Thu, 2013-10-31 at 17:44 +0100, Søren Sandmann wrote: The xf86AddBusDeviceToConfigure() fix doesn't have a Reviewed-by. For that (and the series): Reviewed-by: Adam Jackson a...@redhat.com - ajax ___ xorg-devel@lists.x.org: X.Org development

Re: [PATCH 00/10] Add MIT-SHM fd passing, DRI3 and Present extensions

2013-10-31 Thread Keith Packard
Adam Jackson a...@redhat.com writes: On Thu, 2013-10-31 at 15:43 -0700, Keith Packard wrote: The first seven are minor cleanup and API additions, along with a couple of trivial bug fixes. The last three add the new bits -- MIT-SHM fd passing support, DRI3 and Present. 5 is wrong, see

Re: [PATCH util-modular] release.sh: fix typo - properly check for .xz

2013-10-31 Thread Gaetan Nadon
On 13-10-31 06:44 PM, Peter Hutterer wrote: Introduced in 88feb98fee19a5f2a847d040affcc92f209967cb Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release.sh b/release.sh index 8c0006c..a4a725d

Re: [PATCH util-modular] release.sh: fix typo - properly check for .xz

2013-10-31 Thread Peter Hutterer
On Thu, Oct 31, 2013 at 07:54:24PM -0400, Gaetan Nadon wrote: On 13-10-31 06:44 PM, Peter Hutterer wrote: Introduced in 88feb98fee19a5f2a847d040affcc92f209967cb Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [PATCH] glx: Lie about GLX_Y_INVERTED_EXT

2013-10-31 Thread Keith Packard
Adam Jackson a...@redhat.com writes: Well, that was lame. The problem with reporting y inversion honestly is that libGL asks the driver _its_ opinion of Y inversion, which it just fabricates from whole cloth. So then when libGL goes to compare the driver's idea of fbconfigs with that of the

Re: [PATCH 00/10] Add MIT-SHM fd passing, DRI3 and Present extensions

2013-10-31 Thread Keith Packard
Adam Jackson a...@redhat.com writes: Reviewed-by: Adam Jackson a...@redhat.com Merged. 17ed7ac..e463607 master - master -- keith.pack...@intel.com pgpEIR_z1i40E.pgp Description: PGP signature ___ xorg-devel@lists.x.org: X.Org development

[git pull] 1.14 randr fixes

2013-10-31 Thread Dave Airlie
Hi, This is a bunch of patches from master that make the randr and output hotplugging stuff better on 1.14. Dave. The following changes since commit ca11bdc890f14fbe2ab4c32fb7a36ae50672b81a: Bump version from 1.14.3 to 1.14.3.901. (2013-10-26 13:51:05 -0600) are available in the git

Re: [PATCH 1/1] miext/damage: Partial revert of Only wrap into the GC ops chain if there's a listener (v3)

2013-10-31 Thread Keith Packard
Jeremy Huddleston Sequoia jerem...@apple.com writes: Fixes regression from: 4dc2a76740d921c824a4d8193f39dd373475f02a http://lists.x.org/archives/xorg-devel/2013-May/036241.html https://trac.macports.org/ticket/38993 Signed-off-by: Jeremy Huddleston Sequoia jerem...@apple.com CC: Adam

Re: [PULL] XQuartz trivial version bump

2013-10-31 Thread Keith Packard
Jeremy Huddleston Sequoia jerem...@apple.com writes: Jeremy Huddleston Sequoia (1): XQuartz: Bump bundle version to 2.7.6 Merged. abf5d5a..95bf478 master - master -- keith.pack...@intel.com pgp2EtGPvXw_p.pgp Description: PGP signature

Re: Xephyr and -configure fixes

2013-10-31 Thread Keith Packard
Søren Sandmann sandm...@cs.au.dk writes: Søren Sandmann Pedersen (3): xf86AddBusDeviceToConfigure(): Store device in DevToConfig[i].pVideo ephyr: hostx_screen_init(): Fix bits_per_pixel and bytes_per_line ephyr: Ensure stride of private framebuffer is multiple of 4 Merged

Re: [PATCH V2] DDX/DPMS: Call dixSaveScreens() also when screen is turned on

2013-10-31 Thread Keith Packard
Egbert Eich e...@freedesktop.org writes: DMPS calls dixSaveScreens() when turned off but not when turned on. In most cases this is irrelevant as DPMS is done when a key is hit in which case dixSaveScreens() will be called to unblank anyhow. This isn't the case if we use xset (or the DPMS

Re: [PATCH v2] DDX/modes: Add a sanity check when using screen sizes from EDID

2013-10-31 Thread Keith Packard
Egbert Eich e...@freedesktop.org writes: EDID sometimes lies about screen sizes. Since the screen size is used by clients to determine the DPI a wrong ration will lead to terrible looking fonts. Add a sanity check for the h/v ratio cutting off at 2.4. This would still accept the cinemascope

Re: [PATCH] DDX/Events: Distinguish between Input- and GeneralHandlers in xf86VTSwitch()

2013-10-31 Thread Keith Packard
Egbert Eich e...@freedesktop.org writes: When enabling/disabling input handlers in xf86VTSwitch() we treat Input- and GeneralHandlers equally. The result is that after a VT switch the masks for EnabledDevices and AllSockets are equal and the distiction between both types is lost.

Re: [PATCH] DDX/Randr: Avoid server crash when xrandr SetConfig is called while switched away

2013-10-31 Thread Keith Packard
Egbert Eich e...@freedesktop.org writes: A call to Xrandr SetScreenConfig (for randr 1.1) causes the Xserver to crash when xf86SetViewport() which does not check if the hardware is accessible. Wrap accesses to xf86SetViewport() with if (vtSema) { ... } to avoid that. Merged

[PATCH 1/3] xinerama: Export the screen region

2013-10-31 Thread Adam Jackson
damageext wants this so it can intersect subtract requests against the root window geometry. Signed-off-by: Adam Jackson a...@redhat.com --- Xext/panoramiX.c| 2 +- Xext/panoramiXsrv.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Xext/panoramiX.c b/Xext/panoramiX.c

[PULL] xwayland ABI

2013-10-31 Thread Adam Jackson
Previous series, plus the bits Axel mentioned in Message-id: 150983340.477090618.1383219883362.javamail.r...@zimbra26-e5.priv.proxad.net. The following changes since commit 902ff0b3497d202b86bf9a411e17db7b694d6eaa: xfree86: Bump video/input/extension ABIs for 1.15 (2013-10-30 14:02:59 -0700)

[PULL] sync corner case fix

2013-10-31 Thread Peter Hutterer
Not reviewed, but I don't expect that to happen anyway in the current stress. The other two are straightforward patches. The following changes since commit 9f4afe7e835cf9c513387ae01eaf8b7a6ba4aac9: config: replace deprecated use of AC_OUTPUT with AC_CONFIG_FILES (2013-10-30 07:41:26 +1000)

Re: [PATCH 08/10] Add support for MIT-SHM AttachFd request

2013-10-31 Thread Kristian Høgsberg
On Thu, Oct 31, 2013 at 3:43 PM, Keith Packard kei...@keithp.com wrote: This passes a file descriptor from the client to the server, which is then mmap'd A problem we recently hit in wayland, which also affects this extension is that a client can set up shared memory like this and the truncate