Re: [PATCH 0/2 RFC] Fixes version 6

2011-12-02 Thread Daniel Stone
Hi, On 1 December 2011 20:53, Adam Jackson a...@redhat.com wrote: Two minor additions.  The atomic query requests I think I've proposed before but got distracted by the XI2 interaction.  The latter moves PropertyNotify filtering into the server, to avoid waking up every client uselessly just

Re: [PATCH 1/2] Atomic query requests

2011-12-02 Thread Keith Packard
On Thu, 1 Dec 2011 15:53:40 -0500, Adam Jackson a...@redhat.com wrote: + If the pointer argument is None, information for the core pointer is + returned. Otherwise, if the server supports the X Input Extension + version 2 or greater, the pointer argument may name any pointer +

[PATCH v2 00/42] Death to extmod

2011-12-02 Thread Daniel Stone
Hi, A little while later (cough), I've finally finished cleaning up and rebasing my extmod changes, based on the review comments I got the first time around. I'm running this now, and it seems fine -- including having the Composite visual created in GLX too. Anything with 'v2' in the subject is

[PATCH v2 01/42] Xorg: Link XKB DDX library after core server libs

2011-12-02 Thread Daniel Stone
libxorgxkb.a contains a number of libraries which are used by XKB action code to call back into the DDX, e.g. for VT switching, termination, grab breaking, et al. Make sure libxkb.a comes first in the link order, so it can mark XkbDDX* as used in order for the linker to not discard them.

[PATCH 02/42] Add a common ARRAY_SIZE macro to dix.h

2011-12-02 Thread Daniel Stone
Does what it says on the box, replacing those from Xi/ and glx/. Signed-off-by: Daniel Stone dan...@fooishbar.org Reviewed-by: Cyril Brulebois k...@debian.org Reviewed-by: Jamey Sharp ja...@minilop.net Reviewed-by: Peter Hutterer peter.hutte...@who-t.net Signed-off-by: Peter Hutterer

[PATCH 04/42] Xinerama: Fix ExtensionInit prototype

2011-12-02 Thread Daniel Stone
Huh, so I guess INITARGS used to be int argc, char *argv then. Either way, it's now void, so fix that ... Signed-off-by: Daniel Stone dan...@fooishbar.org Reviewed-by: Cyril Brulebois k...@debian.org Reviewed-by: Jamey Sharp ja...@minilop.net Reviewed-by: Peter Hutterer peter.hutte...@who-t.net

[PATCH 03/42] Make extension.h self-contained, remove C++ externs

2011-12-02 Thread Daniel Stone
externsion.h required bits from Xfuncproto.h and dixstruct.h, but included neither; fix that. It also had _XFUNCPROTOBEGIN and _XFUNCPROTOEND wrappers, which is a bit pointless for a server-only library, as it's only needed for C++. Signed-off-by: Daniel Stone dan...@fooishbar.org Reviewed-by:

[PATCH 09/42] Loader: Drop EXTERN_MODULE flag

2011-12-02 Thread Daniel Stone
EXTERN_MODULE was used to specify that we shouldn't worry about modules lacking a ModuleData object. It was also completely unused. *shrug* Signed-off-by: Daniel Stone dan...@fooishbar.org Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- hw/xfree86/common/xf86Module.h |3 ---

[PATCH 07/42] Reorder extension initialisation for non-Xorg

2011-12-02 Thread Daniel Stone
Reorder static extension initialisation in miinitext for non-Xorg servers to match Xorg's order. Tested with Xephyr; checked that the extension list was identical before and after. Signed-off-by: Daniel Stone dan...@fooishbar.org Signed-off-by: Peter Hutterer peter.hutte...@who-t.net ---

[PATCH 11/42] Move DBE from an external module to built-in

2011-12-02 Thread Daniel Stone
From: Tomas Carnecky t...@dbservice.com If DBE support is compiled in the server, just man up and build it into the server, rather than having it as an external module. Signed-off-by: Tomas Carnecky t...@dbservice.com Reviewed-by: Daniel Stone dan...@fooishbar.org Reviewed-by: Jamey Sharp

[PATCH v2 10/42] Add xf86ExtensionInit for DDX extension configuration

2011-12-02 Thread Daniel Stone
xf86ExtensionInit is called after configuration file parsing, so it can perform the two parts of extension initialisation currently done by extmod: enabling and disabling of extensions through an 'omit' option, and SELinux configuration. Signed-off-by: Daniel Stone dan...@fooishbar.org

[PATCH 13/42] Move MIT-SCREEN-SAVER from extmod to built-in

2011-12-02 Thread Daniel Stone
From: Tomas Carnecky t...@dbservice.com If we've built MIT-SCREEN-SAVER support, then just build it into the main binary, rather than leaving it in extmod. Signed-off-by: Tomas Carnecky t...@dbservice.com Reviewed-by: Daniel Stone dan...@fooishbar.org Reviewed-by: Jamey Sharp ja...@minilop.net

[PATCH v2 17/42] XFree86: sdksyms: Remove unused -DXorgLoader

2011-12-02 Thread Daniel Stone
We no longer have anything in the tree that checks for XorgLoader. This was a fairly monumental hack: xvdi.h used to hide all its functions behind #ifndef XorgLoader, solely to avoid sdksyms.sh picking up its symbols, as it was previously a module rather than built-in. This is no longer the

[PATCH 24/42] Xext: Only build one library

2011-12-02 Thread Daniel Stone
Now that libXextmodule.la is both empty and unused, we can just build the one libXext.la for everyone, rather than having Xorg be special and unique. Signed-off-by: Daniel Stone dan...@fooishbar.org Reviewed-by: Jamey Sharp ja...@minilop.net Reviewed-by: Peter Hutterer peter.hutte...@who-t.net

[PATCH 26/42] XFree86: DRI: Don't use per-target CFLAGS

2011-12-02 Thread Daniel Stone
AM_CFLAGS will suffice, given we only have one target in this directory. Signed-off-by: Daniel Stone dan...@fooishbar.org Reviewed-by: Cyril Brulebois k...@debian.org --- hw/xfree86/dri/Makefile.am | 25 - 1 files changed, 12 insertions(+), 13 deletions(-) diff --git

[PATCH 23/42] Remove the last remnants of extmod

2011-12-02 Thread Daniel Stone
extmod was originally a big pointless module. Now it's an empty, pointless module. This commit makes it unexist. Signed-off-by: Daniel Stone dan...@fooishbar.org Reviewed-by: Peter Hutterer peter.hutte...@who-t.net Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- Xext/Makefile.am

[PATCH v2 34/42] Quartz: Move PseudoramiX initialisation to DDX

2011-12-02 Thread Daniel Stone
As PseudoramiX is a DDX-specific extension, move its loading and initialisation to hw/xquartz. This creates a QuartzExtensionInit() similar in spirit to xf86ExtensionInit. Signed-off-by: Daniel Stone dan...@fooishbar.org --- v2: New. hw/xquartz/quartz.c | 19 +++ 1 files

[PATCH 18/42] Xv: Remove excessive module-induced indirection

2011-12-02 Thread Daniel Stone
From: Tomas Carnecky t...@dbservice.com Xv used to call XvScreenInit and co. through function pointers, as XvScreenInit may have been sitting on the other side of a module boundary from xf86XvScreenInit. Why this was so is a mystery, but make it not so any more. Signed-off-by: Tomas Carnecky

[PATCH 25/42] Move DRI1 from external module to built-in

2011-12-02 Thread Daniel Stone
Rather than building the tiny amount of code required for XFree86-DRI as an external module, build it in if it's enabled at configure time. Signed-off-by: Daniel Stone dan...@fooishbar.org --- configure.ac |6 +- hw/xfree86/Makefile.am |7 ++-

[PATCH 40/42] Ignore local-only requests from remote clients

2011-12-02 Thread Daniel Stone
Even though we hide local-only extensions from remote clients in the extension list, make doubly sure they can't make a local-only request. Signed-off-by: Daniel Stone dan...@fooishbar.org --- dix/dispatch.c | 14 ++ 1 files changed, 10 insertions(+), 4 deletions(-) diff --git

[PATCH 41/42] Remove LocalClient checks from local-only extensions

2011-12-02 Thread Daniel Stone
We already hide the extension from clients and deny their requests, so I doubt we'll be needing the LocalClient() check anymore. Signed-off-by: Daniel Stone dan...@fooishbar.org --- hw/kdrive/ephyr/ephyrdriext.c | 62 +- hw/xfree86/common/xf86DGA.c |5 +-

[PATCH 39/42] Hide local-only extensions from remote clients

2011-12-02 Thread Daniel Stone
If an extension is declared as being for local use only, don't show it to remote clients in the extension list. Signed-off-by: Daniel Stone dan...@fooishbar.org Reviewed-by: Jamey Sharp ja...@minilop.net --- dix/extension.c |9 ++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff

[PATCH 36/42] Unify miinitext.c

2011-12-02 Thread Daniel Stone
Rather than having a non-Xorg and an Xorg-specific path which basically just duplicated each other for no reason, we could ... just have one. Signed-off-by: Daniel Stone dan...@fooishbar.org --- hw/xfree86/dixmods/Makefile.am |2 +- mi/miinitext.c | 91

[PATCH 17/31] XFree86: Loader: _X_UNEXPORT

2011-12-02 Thread Daniel Stone
Remove _X_EXPORT tags from functions not used by any drivers. Signed-off-by: Daniel Stone dan...@fooishbar.org --- hw/xfree86/common/xf86Module.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/xfree86/common/xf86Module.h b/hw/xfree86/common/xf86Module.h index

[PATCH 00/31] _X_UNEXPORT

2011-12-02 Thread Daniel Stone
Hi, As the name implies, go through and remove the _X_EXPORT tag from anything in the server which was completely unused by any clients. The follow-up commits also cull any code which was completely dead and discarded by the linker, as well as a couple of fixes (e.g. Xinerama regeneration and

[PATCH 09/31] miext/damage: _X_UNEXPORT

2011-12-02 Thread Daniel Stone
Remove _X_EXPORT tags from symbols which aren't used by, and are useless to, drivers. Signed-off-by: Daniel Stone dan...@fooishbar.org --- miext/damage/damage.h | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/miext/damage/damage.h b/miext/damage/damage.h index

[PATCH 13/31] XFree86: Parser: _X_UNEXPORT

2011-12-02 Thread Daniel Stone
Remove _X_EXPORT tags from symbols which were never used by drivers. Signed-off-by: Daniel Stone dan...@fooishbar.org --- hw/xfree86/parser/configProcs.h |6 +++--- hw/xfree86/parser/xf86Optrec.h | 31 +++ hw/xfree86/parser/xf86Parser.h | 30

[PATCH 12/31] XFree86: RandR: _X_UNEXPORT

2011-12-02 Thread Daniel Stone
Remove useless _X_EXPORT tags from functions which are not supposed to be exported to drivers. Signed-off-by: Daniel Stone dan...@fooishbar.org --- hw/xfree86/modes/xf86Crtc.h| 20 ++-- hw/xfree86/modes/xf86Modes.h | 22 +++---

[PATCH 05/31] XFixes: _X_UNEXPORT

2011-12-02 Thread Daniel Stone
Remove unnecessary _X_EXPORT tags. Signed-off-by: Daniel Stone dan...@fooishbar.org --- xfixes/xfixes.h |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/xfixes/xfixes.h b/xfixes/xfixes.h index 5765e64..0793f08 100644 --- a/xfixes/xfixes.h +++ b/xfixes/xfixes.h @@

[PATCH 11/31] mi: _X_UNEXPORT

2011-12-02 Thread Daniel Stone
Remove unnecessary _X_EXPORT tags from mi headers. Signed-off-by: Daniel Stone dan...@fooishbar.org --- mi/mi.h| 44 ++-- mi/micmap.h|2 +- mi/mifpoly.h |2 +- mi/mipointer.h | 20 ++-- mi/mipoly.h| 10

[PATCH 14/31] XFree86: DRI2: _X_UNEXPORT

2011-12-02 Thread Daniel Stone
Remove unnecessary _X_EXPORT tags from functions not meant to be exported to drivers. Signed-off-by: Daniel Stone dan...@fooishbar.org --- hw/xfree86/dri2/dri2.h | 23 +++ 1 files changed, 11 insertions(+), 12 deletions(-) diff --git a/hw/xfree86/dri2/dri2.h

[PATCH 18/31] XFree86: os-support: _X_UNEXPORT

2011-12-02 Thread Daniel Stone
Remove the _X_EXPORT tag from functions unused by any drivers. Sadly, i810 still exists, so we can't bin AGP support. Signed-off-by: Daniel Stone dan...@fooishbar.org --- hw/xfree86/os-support/bus/xf86Pci.h |6 ++-- hw/xfree86/os-support/xf86_OSproc.h | 44

[PATCH 04/31] config: _X_UNEXPORT

2011-12-02 Thread Daniel Stone
Remove _X_EXPORT tags from functions which are only called in dix/main.c. Signed-off-by: Daniel Stone dan...@fooishbar.org --- include/hotplug.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/hotplug.h b/include/hotplug.h index d074df3..229913a 100644 ---

[PATCH 08/31] os: _X_UNEXPORT

2011-12-02 Thread Daniel Stone
Remove _X_EXPORT tags from symbols which aren't and shouldn't be used by drivers. Signed-off-by: Daniel Stone dan...@fooishbar.org --- include/client.h|7 +- include/dixstruct.h | 30 +- include/os.h| 162 +- 3 files

[PATCH 01/31] XKB: _X_UNEXPORT

2011-12-02 Thread Daniel Stone
Remove needless exporting of pretty much every symbol in XKB, but leave just enough so that drivers can build their own keymaps if necessary. Signed-off-by: Daniel Stone dan...@fooishbar.org --- include/xkbfile.h | 60 ++-- include/xkbrules.h | 10 ++-- include/xkbsrv.h |

[PATCH 10/31] miext/sync: _X_UNEXPORT

2011-12-02 Thread Daniel Stone
Remove _X_EXPORT tags from functions not useful to drivers. Signed-off-by: Daniel Stone dan...@fooishbar.org --- miext/sync/misync.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/miext/sync/misync.h b/miext/sync/misync.h index 1c82ea5..8479137 100644 ---

[PATCH 07/31] RandR: _X_UNEXPORT

2011-12-02 Thread Daniel Stone
Remove unnecessary _X_EXPORT tags from symbols not used by any driver. Signed-off-by: Daniel Stone dan...@fooishbar.org --- randr/randrstr.h| 186 +- randr/rrtransform.h | 12 ++-- 2 files changed, 99 insertions(+), 99 deletions(-) diff

[PATCH 03/31] Input: _X_UNEXPORT

2011-12-02 Thread Daniel Stone
Remove _X_EXPORT tag from needlessly exported symbols. Signed-off-by: Daniel Stone dan...@fooishbar.org --- include/XIstubs.h |6 +++--- include/cursor.h | 26 +- include/dix.h | 28 ++-- include/dixevents.h| 38

[PATCH 31/31] GE: Remove unused RT_GECLIENT

2011-12-02 Thread Daniel Stone
Remove remnants of an earlier experiment which had the GE extension handling event delivery directly. Nothing's used the resource since, so purge it. Signed-off-by: Daniel Stone dan...@fooishbar.org --- Xext/geext.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git

[PATCH 24/31] GLX: Remove unused noGlxVisualInit

2011-12-02 Thread Daniel Stone
No-one ever did anything with this variable except assign its default value to it. Signed-off-by: Daniel Stone dan...@fooishbar.org --- hw/kdrive/ephyr/ephyr.c | 12 hw/kdrive/ephyr/ephyrinit.c |2 -- os/utils.c |1 - 3 files changed, 0 insertions(+),

[PATCH 25/31] Xi: Remove dead Device{Enter,Leave}WindowMask

2011-12-02 Thread Daniel Stone
These were an unused remnant of earlier MPX work; their only users got cleared out in dc153271, but the mask declarations remained. Remove them, and move DevicePropertyNotify's mask up to be contiguous with the rest of the range. Signed-off-by: Daniel Stone dan...@fooishbar.org --- Xi/extinit.c

[PATCH 22/31] DIX: _X_UNEXPORT

2011-12-02 Thread Daniel Stone
Remove _X_EXPORT tags from functions not used by any drivers. Signed-off-by: Daniel Stone dan...@fooishbar.org --- dix/dispatch.c |2 +- include/callback.h |4 +- include/dix.h| 54 +- include/dixevents.h |4 +- include/dixfont.h

[PATCH 26/31] Render: Remove unused glyphDepths

2011-12-02 Thread Daniel Stone
No-one has used this since 0a71e154. Signed-off-by: Daniel Stone dan...@fooishbar.org --- render/glyph.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/render/glyph.c b/render/glyph.c index 7193d47..2f8b424 100644 --- a/render/glyph.c +++ b/render/glyph.c @@ -80,8

[PATCH 29/31] XFree86: os-support: Remove unused xf86MakeNewMapping

2011-12-02 Thread Daniel Stone
No drivers used this, so it got unexported, and now it's so unused it got culled during the link. Take the poor function out behind the shed and put it out of its misery. Signed-off-by: Daniel Stone dan...@fooishbar.org --- hw/xfree86/os-support/shared/vidmem.c | 12

[PATCH 28/31] Xinerama: Reset Composite request vector on close

2011-12-02 Thread Daniel Stone
Similar (identical) to how it interacts with Render and XFixes, also call PanoramiXCompositeReset() to restore the Composite dispatch table to how it was when it started, on reset. Signed-off-by: Daniel Stone dan...@fooishbar.org --- Xext/panoramiX.c |3 +++ 1 files changed, 3 insertions(+),

[PATCH 27/31] XvMC: Remove unused XvMCGeneration

2011-12-02 Thread Daniel Stone
I wonder if this even works across multiple generations. Signed-off-by: Daniel Stone dan...@fooishbar.org --- Xext/xvmc.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/Xext/xvmc.c b/Xext/xvmc.c index 5f6574f..a3cf67e 100644 --- a/Xext/xvmc.c +++ b/Xext/xvmc.c @@ -38,8

[PATCH 23/31] XKB: Geom: Remove unused code

2011-12-02 Thread Daniel Stone
These codepaths were never called by anyone. Shame there weren't more of them. Signed-off-by: Daniel Stone dan...@fooishbar.org --- xkb/XKBGAlloc.c | 128 --- xkb/xkbgeom.h | 17 --- 2 files changed, 0 insertions(+), 145 deletions(-)

[PATCH 20/31] XFree86: Extensions: _X_UNEXPORT

2011-12-02 Thread Daniel Stone
Remove _X_EXPORT tags from functions not used by any drivers. Signed-off-by: Daniel Stone dan...@fooishbar.org --- hw/xfree86/common/dgaproc.h | 54 ++-- hw/xfree86/common/vidmodeproc.h | 58 +++--- hw/xfree86/common/xf86.h

[PATCH 19/31] XFree86: DDC: _X_UNEXPORT

2011-12-02 Thread Daniel Stone
Remove _X_EXPORT tags from functions not used by any drivers. Signed-off-by: Daniel Stone dan...@fooishbar.org --- hw/xfree86/ddc/xf86DDC.h |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hw/xfree86/ddc/xf86DDC.h b/hw/xfree86/ddc/xf86DDC.h index 16a8641..60fc227

[PATCH 15/42] Move XRes from extmod to built-in

2011-12-02 Thread Daniel Stone
From: Tomas Carnecky t...@dbservice.com Always build XRes support into the core server, rather than letting it languish in extmod. Signed-off-by: Tomas Carnecky t...@dbservice.com Reviewed-by: Daniel Stone dan...@fooishbar.org Reviewed-by: Jamey Sharp ja...@minilop.net Signed-off-by: Peter

[PATCH 27/42] DRI2: Remove prototype for DRI2DestroyDrawable

2011-12-02 Thread Daniel Stone
DRI2DestroyDrawable() was still being _X_EXPORTed, but hasn't existed since 1da1f33f last year. Signed-off-by: Daniel Stone dan...@fooishbar.org Reviewed-by: Cyril Brulebois k...@debian.org Reviewed-by: Jamey Sharp ja...@minilop.net Reviewed-by: Ian Romanick ian.d.roman...@intel.com

[PATCH 30/31] Sync: Destroy system counters on reset

2011-12-02 Thread Daniel Stone
When resetting the extension, make sure we also destroy the system counters we created at ExtensionInit time as well. Signed-off-by: Daniel Stone dan...@fooishbar.org --- Xext/sync.c | 20 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/Xext/sync.c

[PATCH v2 29/42] Add static extensions before those in modules

2011-12-02 Thread Daniel Stone
Make sure we add static extensions before anything in a module. This is more or less a no-op at the moment, but will come in handy later when extension dependency sorting is removed. Signed-off-by: Daniel Stone dan...@fooishbar.org --- v2: New, fixes GLX vs. Composite visual creation.

Re: [PATCH 0/37] Extension handling cleanup, death to extmod

2011-12-02 Thread Daniel Stone
Hi Jamey, On Thu, Jun 30, 2011 at 04:06:02PM -0700, Jamey Sharp wrote: I sure like the results of this series. I've reviewed the patches as I found them on your personal branch. The abbreviated commit hashes that I reviewed are listed together with their commit summaries below. Thanks a heap

Re: [PATCH 00/31] _X_UNEXPORT

2011-12-02 Thread Keith Packard
On Fri, 2 Dec 2011 11:31:06 +, Daniel Stone dan...@fooishbar.org wrote: As the name implies, go through and remove the _X_EXPORT tag from anything in the server which was completely unused by any clients. The follow-up commits also cull any code which was completely dead and discarded

Re: [PATCH 00/31] _X_UNEXPORT

2011-12-02 Thread Daniel Stone
Hi, On 2 December 2011 12:19, Keith Packard kei...@keithp.com wrote: On Fri,  2 Dec 2011 11:31:06 +, Daniel Stone dan...@fooishbar.org wrote: As the name implies, go through and remove the _X_EXPORT tag from anything in the server which was completely unused by any clients.  The follow-up

Re: [PATCH 4/6] xfree86: Remove the pretense of EDID v2 support

2011-12-02 Thread Mark Kettenis
From: Adam Jackson a...@redhat.com Date: Thu, 1 Dec 2011 16:50:59 -0500 We don't do anything with EDID v2 blocks besides publish them on the root window. Worse, the check deleted by this patch would attempt to take a checksum of arbitrary memory if the rawData array isn't 256+ bytes long

Re: [PATCH 2/6] xfree86: Drop DDC1 support

2011-12-02 Thread Mark Kettenis
From: Adam Jackson a...@redhat.com Date: Thu, 1 Dec 2011 16:50:57 -0500 This was an ancient hack to try to fetch the EDID block by reusing the vertical sync pin as a serial line. It's never been very reliable, and DDC2 was introduced in 1994 which is plenty recent enough. Hmm, if

Re: [PATCH 2/6] xfree86: Drop DDC1 support

2011-12-02 Thread Adam Jackson
On 12/2/11 12:01 PM, Mark Kettenis wrote: However, rather than breaking drivers, can we just replace xf86DoEDID_DDC1() with a dummy version that prints a warning message and just returns NULL? That should keep drivers from breaking. I'm completely fine with patching the drivers to only call

Re: [PATCH 6/6] xfree86: Remove most of EDID printing

2011-12-02 Thread Adam Jackson
On 12/1/11 5:51 PM, Michal Suchanek wrote: On 1 December 2011 22:51, Adam Jacksona...@redhat.com wrote: The important part of this is the mode list, which we already print in another form. Everything else is cosmetic and better done in the session. Where is this information available if

Re: [PATCH 2/2] PropertyNotify filters

2011-12-02 Thread Adam Jackson
On 12/2/11 12:09 AM, Peter Hutterer wrote: On Thu, Dec 01, 2011 at 03:53:41PM -0500, Adam Jackson wrote: +RemovePropertyFilter + + window: WINDOW + property: LISTofATOM + + This request modifies the property filter for the named

Re: [PATCH 0/2 RFC] Fixes version 6

2011-12-02 Thread Adam Jackson
On 12/2/11 5:19 AM, Daniel Stone wrote: Sounds good to me: I don't suppose I could convince you to take a look at https://bugs.freedesktop.org/show_bug.cgi?id=41784 as well? Sure. - ajax ___ xorg-devel@lists.x.org: X.Org development Archives:

Re: [PATCH 10/31] miext/sync: _X_UNEXPORT

2011-12-02 Thread Daniel Stone
On 2 December 2011 16:13, James Jones jajo...@nvidia.com wrote: Reviewed-by: James Jones jajo...@nvidia.com Thanks. :) Cheers, Daniel ___ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info:

[PATCH 1/5] Remove unused function checks from configure.ac include/*.h.in

2011-12-02 Thread Alan Coopersmith
The code that used getisax to check for MMX support was moved to pixman and removed from the X server by commit eb2d7fe02f9cbc. The code that used HAVE_MKSTEMP was deleted by the Xprint removal in commit 1c8bd318fbaf. All alloca calls were removed by the patch series end in commit 5e363500c8,

[PATCH 4/5] LoaderOpen returns either a valid pointer or NULL, so don't check for 0

2011-12-02 Thread Alan Coopersmith
Fixes Sun cc warning that was recently elevated to error by the stricter default CFLAGS changes to xorg-macros: loadmod.c, line 914: improper pointer/integer combination: op Should have been changed when commit ab7f057ce9df4e905b12 changed the LoaderOpen return type from int to void *. Changes

[PATCH 2/5] Move to autoconf standard function name checks defines

2011-12-02 Thread Alan Coopersmith
Replace multiple methods of checking for funcs calls with AC_CHECK_FUNCS Replace multiple methods of selecting fallback funcs with AC_REPLACE_FUNCS Replace HAS_* and NEED_* #defines with autogenerated HAVE_* Signed-off-by: Alan Coopersmith alan.coopersm...@oracle.com --- configure.ac

[PATCH 0/5] Configuration cleanup and warning fixes

2011-12-02 Thread Alan Coopersmith
Started cleaning up some of our libc fallback function checks in configure and the more I cleaned the more layers of crud I found underneath. Also silences some annoying warning noise from gcc, and two warnings from the Sun compiler that the recent changes to xorg-macros had promoted to errors,

[PATCH 5/5] Add dummy return 0 to Xnest Xephyr io error handler for Sun compilers

2011-12-02 Thread Alan Coopersmith
Required in order to build with Studio cc now that xorg-macros is setting -errwarn=E_FUNC_HAS_NO_RETURN_STMT since it doesn't recognize that the noreturn attribute makes it pointless. Otherwise compiler exits with errors: Display.c, line 65: Function has no return statement : x_io_error_handler

Re: [PATCH 02/37] Make extension.h self-contained, remove C++ externs

2011-12-02 Thread Adam Jackson
On 6/28/11 3:27 PM, Daniel Stone wrote: externsion.h required bits from Xfuncproto.h and dixstruct.h, but included neither; fix that. ^ typo, s/ern/en/ - ajax ___ xorg-devel@lists.x.org: X.Org development Archives:

Re: [PATCH 26/37] Loader: Remove extension initialisation sorting

2011-12-02 Thread Adam Jackson
On 6/28/11 3:27 PM, Daniel Stone wrote: Extensions could previously declare initialisation dependencies on other extensions, which would then get nicely sorted by the loader. We only had one user for this, GLX, which had one pointless (Composite) and one possibly useful dependency (DBE). As

Re: [PATCH v2 05/42] PseudoramiX: Fix ExtensionInit prototype

2011-12-02 Thread Alan Coopersmith
On 12/02/11 03:27, Daniel Stone wrote: Similar to the fix for Xinerama, make sure PseudoramiXExtensionInit is declared as taking no arguments, since its only callers call it with no arguments ... Signed-off-by: Daniel Stonedan...@fooishbar.org Reviewed-by: Alan Coopersmith

Re: [PATCH 20/42] Move DGA from extmod to built-in

2011-12-02 Thread Paulo Zanoni
2011/12/2 Daniel Stone dan...@fooishbar.org: @@ -90,6 +104,9 @@ load_extension_config(void)         }  #endif     } + +    for (i = 0; i ARRAY_SIZE(extensionModules); i++) +       LoadExtension(extensionModules[i], TRUE);  }  void With this statement, Xorg will try to load its modules

Re: [PATCH 00/31] _X_UNEXPORT

2011-12-02 Thread Alan Coopersmith
On 12/02/11 13:05, Aaron Plattner wrote: Some of these changes could use corresponding changes to doc/Xserver-spec.xml. As well as hw/xfree86/doc/ddxDesign.xml -- -Alan Coopersmith-alan.coopersm...@oracle.com Oracle Solaris Platform Engineering: X Window System

Re: [PATCH 1/5] Remove unused function checks from configure.ac include/*.h.in

2011-12-02 Thread Gaetan Nadon
On Fri, 2011-12-02 at 10:48 -0800, Alan Coopersmith wrote: The code that used getisax to check for MMX support was moved to pixman and removed from the X server by commit eb2d7fe02f9cbc. The code that used HAVE_MKSTEMP was deleted by the Xprint removal in commit 1c8bd318fbaf. All alloca

Re: [PATCH 2/5] Move to autoconf standard function name checks defines

2011-12-02 Thread Gaetan Nadon
On Fri, 2011-12-02 at 10:48 -0800, Alan Coopersmith wrote: Replace multiple methods of checking for funcs calls with AC_CHECK_FUNCS Replace multiple methods of selecting fallback funcs with AC_REPLACE_FUNCS A feature of autoconf I had not encountered yet. AC_REPLACE_FUNCS uses AC_LIBOBJ

Re: [PATCH 2/5] Move to autoconf standard function name checks defines

2011-12-02 Thread Alan Coopersmith
On 12/02/11 18:30, Gaetan Nadon wrote: This os Makefile.am should read: libos_la_LIBADD = @SHA1_LIBS@ $(DLOPEN_LIBS) $(LTLIBOBJS) -- Use LTLIBOBJS rather than LIBOBJS I get a successful build now. It links with .lo files now: [...] -lcrypto -ldl strlcat.lo strlcpy.lo -lm-lrt Thanks

[PATCH] Add Solaris support to DetermineClientCmd

2011-12-02 Thread Alan Coopersmith
Uses /proc/pid/psinfo to read command partial arguments. Moves cmdsize argsize variables into non-Solaris #else clause to avoid unused variable warnings. Fixes format mismatch errors when building with DEBUG defined on a 64-bit platform (where Mask is defined as CARD32). Signed-off-by: Alan