[PATCH 00/10] xwayland ABI compat

2013-10-17 Thread Adam Jackson
This series is mostly a subset of the xwayland branch, aimed just at getting the necessary ABI changes for xwayland into master. #6 is a squash of three related patches from that branch, and #10 is split out from the corresponding patch to just add the token not change any behaviour. This series

[PATCH 02/10] xkb: Add struct XkbCompContext

2013-10-17 Thread Adam Jackson
From: Kristian Høgsberg k...@bitplanet.net This commit adds a struct that contains most of the context for starting, running and cleaning up after xkbcomp. Reviewed-by: Daniel Stone dan...@fooishbar.org Reviewed-by: Adam Jackson a...@redhat.com --- xkb/ddxLoad.c | 76

[PATCH 01/10] dbe: Cleanup in CloseScreen hook not ext CloseDown

2013-10-17 Thread Adam Jackson
From: Robert Bragg rob...@linux.intel.com Instead of registering an extension CloseDownProc when adding the dbe extension this patch hooks into pScreen-CloseScreen so that the chain of pScreen-DestroyWindow hooks remains valid until all windows have been destroyed. Previously it was possible for

[PATCH 03/10] xkb: Split out code to start and finish xkbcomp

2013-10-17 Thread Adam Jackson
From: Kristian Høgsberg k...@bitplanet.net Using the context struct from previous commit, we can now split out code to start xkbcomp and to finish and clean up after it. Reviewed-by: Daniel Stone dan...@fooishbar.org Reviewed-by: Adam Jackson a...@redhat.com --- xkb/ddxLoad.c | 39

[PATCH 04/10] xkb: Add XkbCompileKeymapFromString()

2013-10-17 Thread Adam Jackson
From: Kristian Høgsberg k...@bitplanet.net This new function compiles a keymap from an in-memory string. We use it to add a new keyooard device init function, InitKeyboardDeviceStructFromString(), which inits a keyboard device with a keymap specified as a string instead of a rmlvo set.

[PATCH 05/10] configure: Track updated version of libxtrans

2013-10-17 Thread Adam Jackson
From: Tiago Vignatti tiago.vigna...@intel.com XWayland fails to initialize in some systems complaining about realloc problems on libxtrans (when ListenOnOpenFD() is called). It got fixed in libxtrans version 1.2.7, more specifically: commit 6086f6c1d0e0a1c9e590879acb2319dea0eb6e96

[PATCH 07/10] Export xf86NewInputDevice and xf86AllocateInput

2013-10-17 Thread Adam Jackson
From: Kristian Høgsberg k...@bitplanet.net Reviewed-by: Adam Jackson a...@redhat.com --- hw/xfree86/common/xf86Xinput.c | 2 +- hw/xfree86/common/xf86Xinput.h | 7 +++ 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/hw/xfree86/common/xf86Xinput.c

[PATCH 06/10] os: Add a function to create a client for an fd

2013-10-17 Thread Adam Jackson
From: Kristian Høgsberg k...@bitplanet.net Reviewed-by: Adam Jackson a...@redhat.com --- include/opaque.h | 1 + include/os.h | 6 +++--- os/connection.c | 30 ++ os/utils.c | 6 +- 4 files changed, 35 insertions(+), 8 deletions(-) diff --git

[PATCH 08/10] Add redirect window for input device feature

2013-10-17 Thread Adam Jackson
From: Kristian Høgsberg k...@bitplanet.net Reviewed-by: Adam Jackson a...@redhat.com --- Xi/exevents.c | 13 + dix/events.c | 11 ++- include/exevents.h | 4 include/inputstr.h | 2 ++ 4 files changed, 29 insertions(+), 1 deletion(-) diff --git

[PATCH 10/10] xwayland: Add HW_WAYLAND driver flag

2013-10-17 Thread Adam Jackson
From: Kristian Høgsberg k...@bitplanet.net Reviewed-by: Adam Jackson a...@redhat.com --- hw/xfree86/common/xf86str.h | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/xfree86/common/xf86str.h b/hw/xfree86/common/xf86str.h index 4c2d147..976fa30 100644 --- a/hw/xfree86/common/xf86str.h +++

[PATCH 09/10] dri2: Introduce a third version of the AuthMagic function

2013-10-17 Thread Adam Jackson
From: Tiago Vignatti tiago.vigna...@intel.com This most recent version takes a client pointer to allow xwayland to asynchronously authenticate a client. Reviewed-by: Adam Jackson a...@redhat.com --- hw/xfree86/dri2/dri2.c| 12 hw/xfree86/dri2/dri2.h| 7 +++

Re: [PATCH xf86-video-tdfx 0/7] Code cleanup and more chips support

2013-10-17 Thread Adam Jackson
On Mon, 2013-10-07 at 21:11 +0200, Guillem Jover wrote: Hi! These fix several deprecation warnings, do some code cleanups and add support for more chips. Adam, are you still interested in maintaining this? Not especially, no, but these all look fine. For the series: Reviewed-by: Adam

Re: [PATCH 1/7] sync: compress two if statements

2013-10-17 Thread Adam Jackson
On Thu, 2013-10-17 at 13:58 +1000, Peter Hutterer wrote: No functional changes, just merges a and == condition into a = condition. Signed-off-by: Peter Hutterer peter.hutte...@who-t.net Series is: Reviewed-by: Adam Jackson a...@redhat.com Would be nice to see tests of this code someday,

[PATCH 2/7] fb: Make rootless-agnostic

2013-10-17 Thread Adam Jackson
Reviewed-by: Jasper St. Pierre jstpie...@mecheye.net Signed-off-by: Adam Jackson a...@redhat.com --- fb/fb.h | 5 - 1 file changed, 5 deletions(-) diff --git a/fb/fb.h b/fb/fb.h index 26957df..08d7e69 100644 --- a/fb/fb.h +++ b/fb/fb.h @@ -642,13 +642,8 @@ typedef struct { #define

[PATCH 5/7] rootless: Genericize the config header a bit

2013-10-17 Thread Adam Jackson
ROOTLESS_RESIZE_GRAVITY is an optimization, so let's default it to off unless the backing window system is known to support it. ROOTLESS_PROTECT_ALPHA looks like it has different values for xquartz and win32, but hilariously rootlessGC.c merely checks if it is defined, not what the value is.

[PATCH 7/7] dix: Unconditionally do -RestackWindow in MoveWindowInStack

2013-10-17 Thread Adam Jackson
Only rootless ddxes fill that slot in anyway. So just do it, and remove a #ifdef ROOTLESS in the process. Signed-off-by: Adam Jackson a...@redhat.com --- dix/window.c | 12 ++-- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/dix/window.c b/dix/window.c index

[PATCH 6/7] rootless: Build unconditionally

2013-10-17 Thread Adam Jackson
It's not a lot of code, and if you're doing things to the core that affect rootless you should be alerted early. Reviewed-by: Jasper St. Pierre jstpie...@mecheye.net Signed-off-by: Adam Jackson a...@redhat.com --- miext/Makefile.am | 9 + 1 file changed, 1 insertion(+), 8 deletions(-)

[PATCH 0/7] unifdef ROOTLESS

2013-10-17 Thread Adam Jackson
This is to make it so DIX ABI doesn't vary between rootless and non-rootless builds. Mostly a resend of a previous series, but #7 is new. - ajax ___ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info:

[PATCH 3/7] mi: Remove questionable optimization from the rootless path

2013-10-17 Thread Adam Jackson
This is effectively a revert of 7b506fdc840aebed6b5acb91437a2cb620b5bddc except the coding style reindent broke that. The code makes no sense in any case. drawable can never be null since it's the first member of WindowRec, and we're never called with a null window. Neither can it be an

[PATCH 4/7] dix: Restore PaintWindow screen hook

2013-10-17 Thread Adam Jackson
Removes the last cpp conditional on ROOTLESS from dix code. Reviewed-by: Jasper St. Pierre jstpie...@mecheye.net Signed-off-by: Adam Jackson a...@redhat.com --- composite/compwindow.c | 2 +- dix/window.c| 4 ++-- hw/xquartz/quartz.c | 4 ++--

Re: [PATCH 1/7] sync: compress two if statements

2013-10-17 Thread Keith Packard
Peter Hutterer peter.hutte...@who-t.net writes: No functional changes, just merges a and == condition into a = condition. Signed-off-by: Peter Hutterer peter.hutte...@who-t.net Reviewed-by: Keith Packard kei...@keithp.com -- keith.pack...@intel.com pgpSgtWTf35qt.pgp Description: PGP

Re: [PATCH 4/7] dix: provide accessor methods for the last device event time

2013-10-17 Thread Keith Packard
Peter Hutterer peter.hutte...@who-t.net writes: And now that we have the accessors, localize it. No functional changes, just preparing for a future change. Reviewed-by: Keith Packard kei...@keithp.com -- keith.pack...@intel.com pgpc6i_etwe42.pgp Description: PGP signature

Re: [PATCH 5/7] sync: if the idle time was reset, force alarms to trigger (#70476)

2013-10-17 Thread Keith Packard
Peter Hutterer peter.hutte...@who-t.net writes: The time between the idle reset and the IdleTimeWakeupHandler to be called is indeterminate. Clients with an PositiveTransition or NegativeTransition alarm on a low threshold may miss an alarm. Work around this by keeping a reset flag for each

Re: [PATCH 2/7] sync: always call BracketValues when recalculating upper/lower brackets

2013-10-17 Thread Keith Packard
Peter Hutterer peter.hutte...@who-t.net writes: Both ServertimeBracketValues and IdleTimeBracketValues copy the value into there SysCounter privates. Call it for a NULL set as well, so we don't end up with stale pointers and we can remove the block/wakeup handlers. Reviewed-by: Keith Packard

any xserver stable branch nominations?

2013-10-17 Thread Matt Dew
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, Today was the nominal 1.14.4-rc2 release. I've gotten no nominations, pull or cherry-pick requests since 1.14.3 was released. Can I assume 1.14.3 has been good to folks or that people are anxiously awaiting the chocolaty goodness of 1.15?

Re: any xserver stable branch nominations?

2013-10-17 Thread Alan Coopersmith
On 10/17/13 04:29 PM, Matt Dew wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, Today was the nominal 1.14.4-rc2 release. I've gotten no nominations, pull or cherry-pick requests since 1.14.3 was released. 1.14.4 should include the recent CVE fix, once keith pulls it into

Re: [PULL: xserver master] misc. bug fixes cleanups, including CVE-2013-4396

2013-10-17 Thread Alan Coopersmith
On 10/16/13 01:38 PM, Keith Packard wrote: Alan Coopersmith alan.coopersm...@oracle.com writes: Alan Coopersmith (4): Skip damage calls if DamageCreate fails in exa functions Seems like this is going to break stuff badly when this happens. Is there some way to

Re: any xserver stable branch nominations?

2013-10-17 Thread Matt Dew
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/17/2013 05:34 PM, Alan Coopersmith wrote: On 10/17/13 04:29 PM, Matt Dew wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, Today was the nominal 1.14.4-rc2 release. I've gotten no nominations, pull or cherry-pick requests since

[PATCH RESEND] xfree86: Find primary entity when bus types are nominally different

2013-10-17 Thread Connor Behan
As of server 1.13, systems with DRM and Udev will have BUS_PLATFORM as their primary bus type. However, drivers not implementing a platformProbe function will still create entities of type BUS_PCI. We need to account for this when checking for the primary entity. Signed-off-by: Connor Behan

Re: [PATCH 5/7] sync: if the idle time was reset, force alarms to trigger (#70476)

2013-10-17 Thread Peter Hutterer
On Thu, Oct 17, 2013 at 03:55:29PM -0700, Keith Packard wrote: Peter Hutterer peter.hutte...@who-t.net writes: The time between the idle reset and the IdleTimeWakeupHandler to be called is indeterminate. Clients with an PositiveTransition or NegativeTransition alarm on a low

[PULL] xsync timer fixes

2013-10-17 Thread Peter Hutterer
The following changes since commit 7cf1b595c8c8f9776a39559d2878cf90af3f2859: dix: only deliver for the current grab type (2013-10-14 11:07:38 +1000) are available in the git repository at: git://people.freedesktop.org/~whot/xserver for-keith for you to fetch changes up to