[PATCH xinit] xcb port of xinit. Unsure of correctness in removing error handling in shutdown

2011-03-10 Thread Demur Rumed
Signed-off-by: Demur Rumed --- configure.ac |6 ++-- xinit.c | 95 +++--- 2 files changed, 47 insertions(+), 54 deletions(-) diff --git a/configure.ac b/configure.ac index 67214cb..2a9d5da 100644 --- a/configure.ac +++ b/configure.ac

Re: [PATCH inputproto xi 2.1] Updates for pointer emulation and more touch device modes

2011-03-10 Thread Peter Hutterer
On Thu, Mar 10, 2011 at 03:39:18PM -0500, Chase Douglas wrote: > I'll be sending an update to the protocol soon. I've picked out just a > few comments here to reply to. The rest should be covered by the updated > protocol. > > On 03/08/2011 11:59 PM, Peter Hutterer wrote: > > On Tue, Mar 08, 2011

Re: [PATCH util-macros 2/3] XORG_WITH_GLIB: check for the GLib package

2011-03-10 Thread Peter Hutterer
On Thu, Mar 10, 2011 at 06:02:22PM -0500, Gaetan Nadon wrote: > On Thu, 2011-03-10 at 09:04 -0800, Dan Nicholson wrote: > > > This should probably say "for tests" or something so that builders > > don't think they're gaining some extra functionality with glib. > > > > So the odds of using GLib f

Re: [PATCH] xfree86: Fix rotation block handler in secondary server generations

2011-03-10 Thread Keith Packard
On Thu, 10 Mar 2011 13:23:12 -0800, Adam Cheney wrote: > +config->BlockHandler = NULL; > + Reviewing the xf86CrtcConfigRec, I think we should also set the xf86_crtc_notify hook to NULL at this point as well. Anyone find anything else in this structure that needs to be reset to zero on serve

Re: The following changes since commit 628d16a92a7fa556fbb70bf4a4adf57ec05c190b:

2011-03-10 Thread Keith Packard
On Fri, 11 Mar 2011 08:50:47 +1000, Dave Airlie wrote: > I did cc Keith on the evenlope apparantly git send-email did put it in > the headers. Yeah, not a problem -- just got side-tracked at a conference today before I got this merged. Linus wanted a kernel patch reviewed before he left for the

Re: [PATCH util-macros 2/3] XORG_WITH_GLIB: check for the GLib package

2011-03-10 Thread Gaetan Nadon
On Thu, 2011-03-10 at 09:04 -0800, Dan Nicholson wrote: > This should probably say "for tests" or something so that builders > don't think they're gaining some extra functionality with glib. > So the odds of using GLib for purposes other than unit testing are pretty slim then. I wrote the macro

Re: [PATCH] glx: Add texbuffer2 support to swrast

2011-03-10 Thread Julien Cristau
On Thu, Mar 10, 2011 at 17:39:35 -0500, Adam Jackson wrote: > Signed-off-by: Adam Jackson > --- > glx/glxdriswrast.c |8 > 1 files changed, 8 insertions(+), 0 deletions(-) > Reviewed-by: Julien Cristau Cheers, Julien ___ xorg-devel@list

Re: The following changes since commit 628d16a92a7fa556fbb70bf4a4adf57ec05c190b:

2011-03-10 Thread Julien Cristau
On Fri, Mar 11, 2011 at 08:50:47 +1000, Dave Airlie wrote: > On Fri, Mar 11, 2011 at 8:44 AM, Peter Hutterer > wrote: > > If that is a pull request, you might want to CC keith and add PULL in the > > subject line. Not sure he notices it otherwise. > > > I did cc Keith on the evenlope apparantly g

[PATCH v2 util-macros 3/3] XORG_LD_WRAP: check if linker supports -wrap

2011-03-10 Thread Gaetan Nadon
Used mainly by test cases using a wrapper function. Signed-off-by: Gaetan Nadon --- xorg-macros.m4.in | 95 + 1 files changed, 95 insertions(+), 0 deletions(-) diff --git a/xorg-macros.m4.in b/xorg-macros.m4.in index 98c96cd..76462b5 100644

[PATCH v2 util-macros 2/3] XORG_WITH_GLIB: check for the GLib package

2011-03-10 Thread Gaetan Nadon
XORG_WITH_GLIB([MIN-VERSION], [DEFAULT]) Minimum version: 1.13.0 GLib is a library which provides advanced data structures and functions. This macro enables a module to test for the presence of Glib. When used in conjunction with XORG_ENABLE_UNIT_TEST

[PATCH v2 util-macros 1/3] XORG_ENABLE_UNIT_TESTS: add support for unit testing

2011-03-10 Thread Gaetan Nadon
This macro enables a builder to enable/disable unit testing It makes no assumption about the test cases implementation Test cases may or may not use Automake "Support for test suites" They may or may not use the software utility library GLib Reviewed-by: Dan Nicholson Signed-off-by: Gaetan Nadon

Re: The following changes since commit 628d16a92a7fa556fbb70bf4a4adf57ec05c190b:

2011-03-10 Thread Dave Airlie
On Fri, Mar 11, 2011 at 8:44 AM, Peter Hutterer wrote: > On Thu, Mar 10, 2011 at 11:16:55AM +1000, Dave Airlie wrote: >>   loader: Don't distribute sdksyms.c and make it depend on the config >> (2011-03-03 21:54:25 -0800) >> >> are available in the git repository at: >>   git://people.freedesktop

Re: The following changes since commit 628d16a92a7fa556fbb70bf4a4adf57ec05c190b:

2011-03-10 Thread Peter Hutterer
On Thu, Mar 10, 2011 at 11:16:55AM +1000, Dave Airlie wrote: > loader: Don't distribute sdksyms.c and make it depend on the config > (2011-03-03 21:54:25 -0800) > > are available in the git repository at: > git://people.freedesktop.org/~airlied/xserver xinerama-cleanup > > Dave Airlie (4): >

[PATCH] glx: Add texbuffer2 support to swrast

2011-03-10 Thread Adam Jackson
Signed-off-by: Adam Jackson --- glx/glxdriswrast.c |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/glx/glxdriswrast.c b/glx/glxdriswrast.c index 08ea338..f88d04f 100644 --- a/glx/glxdriswrast.c +++ b/glx/glxdriswrast.c @@ -201,6 +201,14 @@ __glXDRIbindTexImage(__GL

Re: [PATCH v2:libXt] Add test framework similar to xserver and use it to test XtAsprintf

2011-03-10 Thread Alan Coopersmith
On 03/10/11 04:27 AM, Cyril Brulebois wrote: > Alan Coopersmith (09/03/2011): >> Only two simple test cases to start with: >> v2: Thanks to suggestions from many on #xorg-devel IRC, set malloc debugging >> environment variables for common platforms (only tested on Solaris >> though) > > Hitt

Re: [PATCH v2:libXt] Add test framework similar to xserver and use it to test XtAsprintf

2011-03-10 Thread Alan Coopersmith
On 03/10/11 06:19 AM, Gaetan Nadon wrote: > On Thu, 2011-03-10 at 10:47 +0100, Julien Cristau wrote: >> > On Wed, Mar 9, 2011 at 20:19:16 -0800, Alan Coopersmith wrote: >> > >> > > +# Memory checking support >> > > +case $host_os in >> > > + solaris*) >> > > +AC_CHECK_LIB([umem], [umem

[PATCH] xfree86: Fix rotation block handler in secondary server generations

2011-03-10 Thread Adam Cheney
xf86RotateBlockHandler was not included in the BlockHandler chain after the first server generation, breaking crtc rotation. During the first server generation, the pScreen->BlockHandler function pointer is wrapped with xf86RotateBlockHandler, and the previous pScreen->BlockHandler is saved into x

[PATCH xi2.1 inputproto] Many more updates to the XI 2.1 protocol

2011-03-10 Thread Chase Douglas
Signed-off-by: Chase Douglas --- To see the full protocol spec as I make changes, go to: http://cgit.freedesktop.org/~cndougla/inputproto I have taken all the feedback thus far and generated a new patch against the inputproto. There are a lot of changes, and some should be split out into separat

Re: [PATCH inputproto xi 2.1] Updates for pointer emulation and more touch device modes

2011-03-10 Thread Chase Douglas
I'll be sending an update to the protocol soon. I've picked out just a few comments here to reply to. The rest should be covered by the updated protocol. On 03/08/2011 11:59 PM, Peter Hutterer wrote: > On Tue, Mar 08, 2011 at 10:24:42AM -0500, Chase Douglas wrote: >> On 03/08/2011 12:41 AM, Peter

[PATCH] Add --output-index, to select an output with a numerical ID instead of a name or XID.

2011-03-10 Thread Arthur HUILLET
This provides a way for distribution/user scripts to refer to "the first output" independantly of their names. Additionally, given that the actual name of the output can change over the course of driver upgrades, this provides a way of not having to change one's scripts after an upgrade. Signed-

Re: [PATCH util-macros 2/3] XORG_WITH_GLIB: check for the GLib package

2011-03-10 Thread Dan Nicholson
On Thu, Mar 10, 2011 at 5:55 AM, Gaetan Nadon wrote: > XORG_WITH_GLIB([MIN-VERSION], [DEFAULT]) >   >  Minimum version: 1.13.0 > >  GLib is a library which provides advanced data structures and functions. >  This macro enables a module to test for the presen

Re: [PATCH util-macros 1/3] XORG_ENABLE_UNIT_TESTS: add support for unit testing

2011-03-10 Thread Dan Nicholson
On Thu, Mar 10, 2011 at 5:55 AM, Gaetan Nadon wrote: > This macro enables a builder to enable/disable unit testing > It makes no assumption about the test cases implementation > Test cases may or may not use Automake "Support for test suites" > They may or may not use the software utility library

Re: [PATCH util-macros 3/3] XORG_LD_WRAP: check if linker supports -wrap

2011-03-10 Thread Dan Nicholson
On Thu, Mar 10, 2011 at 5:55 AM, Gaetan Nadon wrote: > Used mainly by test cases using a wrapper function. > > Signed-off-by: Gaetan Nadon > --- >  Makefile.am              |    1 + >  ax_check_linker_flags.m4 |   77 > ++ >  xorg-macros.m4.in        |

Re: [PATCH v2:libXt] Add test framework similar to xserver and use it to test XtAsprintf

2011-03-10 Thread Daniel Stone
On Thu, Mar 10, 2011 at 09:34:39AM -0500, Gaetan Nadon wrote: > On Thu, 2011-03-10 at 10:47 +0100, Julien Cristau wrote: > > > I think this won't work for gnu/kfreebsd. Maybe use *-gnu for the > > glibc > > > case, and put it before the *bsd* one? > > > > > Make that *-gnu* so it can handle linux

Re: [PATCH v2:libXt] Add test framework similar to xserver and use it to test XtAsprintf

2011-03-10 Thread Gaetan Nadon
On Thu, 2011-03-10 at 10:47 +0100, Julien Cristau wrote: > > I think this won't work for gnu/kfreebsd. Maybe use *-gnu for the > glibc > > case, and put it before the *bsd* one? > > > Make that *-gnu* so it can handle linux-gnueabi (used on arm)... All the ones for linux I have see used in xor

Re: [PATCH v2:libXt] Add test framework similar to xserver and use it to test XtAsprintf

2011-03-10 Thread Gaetan Nadon
On Thu, 2011-03-10 at 10:47 +0100, Julien Cristau wrote: > > On Wed, Mar 9, 2011 at 20:19:16 -0800, Alan Coopersmith wrote: > > > > > +# Memory checking support > > > +case $host_os in > > > + solaris*) > > > +AC_CHECK_LIB([umem], [umem_alloc], > > > +[MALLOC_DEBUG_ENV='L

[PATCH util-macros 3/3] XORG_LD_WRAP: check if linker supports -wrap

2011-03-10 Thread Gaetan Nadon
Used mainly by test cases using a wrapper function. Signed-off-by: Gaetan Nadon --- Makefile.am |1 + ax_check_linker_flags.m4 | 77 ++ xorg-macros.m4.in| 22 + 3 files changed, 100 insertions(+), 0 deletions(-)

[PATCH util-macros 2/3] XORG_WITH_GLIB: check for the GLib package

2011-03-10 Thread Gaetan Nadon
XORG_WITH_GLIB([MIN-VERSION], [DEFAULT]) Minimum version: 1.13.0 GLib is a library which provides advanced data structures and functions. This macro enables a module to test for the presence of Glib. When used in conjunction with XORG_ENABLE_UNIT_TEST

[PATCH util-macros 1/3] XORG_ENABLE_UNIT_TESTS: add support for unit testing

2011-03-10 Thread Gaetan Nadon
This macro enables a builder to enable/disable unit testing It makes no assumption about the test cases implementation Test cases may or may not use Automake "Support for test suites" They may or may not use the software utility library GLib Signed-off-by: Gaetan Nadon --- xorg-macros.m4.in |

[PATCH util-macros 0/3] Add unit test support

2011-03-10 Thread Gaetan Nadon
A handful of modules have begun adding unit test programs. These macros will help providing a consistent interface which will help package builders and developers to manage the functionality. XORG_ENABLE_UNIT_TESTS will turn on/off unit testing, regardless of how it is implemented. The default (ye

Re: [PATCH v2:libXt] Add test framework similar to xserver and use it to test XtAsprintf

2011-03-10 Thread Cyril Brulebois
Alan Coopersmith (09/03/2011): > Only two simple test cases to start with: > v2: Thanks to suggestions from many on #xorg-devel IRC, set malloc debugging > environment variables for common platforms (only tested on Solaris though) Hitting 100/0 OK/NOK with it. Once lowered to 10, hitting 0/10

Re: [PATCH v2:libXt] Add test framework similar to xserver and use it to test XtAsprintf

2011-03-10 Thread Julien Cristau
On Thu, Mar 10, 2011 at 10:32:37 +0100, Julien Cristau wrote: > On Wed, Mar 9, 2011 at 20:19:16 -0800, Alan Coopersmith wrote: > > > +# Memory checking support > > +case $host_os in > > + solaris*) > > +AC_CHECK_LIB([umem], [umem_alloc], > > +[MALLOC_DEBUG_ENV='LD_PRELOAD

Re: [PATCH] xfree86/modes: Fixed memory leak in xf86InitialConfiguration

2011-03-10 Thread Erkki Seppala
On 10.03.2011 11:27, kei...@keithp.com wrote: Oh. You sent it to my intel email address. I'll bet exchange mangled it. I hadn't even thought to check that. kei...@keithp.com is a far better plan for useful email. Sigh. Oops. Yeah, I had actually intended to send to that address, but still som

Re: [PATCH v2:libXt] Add test framework similar to xserver and use it to test XtAsprintf

2011-03-10 Thread Julien Cristau
On Wed, Mar 9, 2011 at 20:19:16 -0800, Alan Coopersmith wrote: > +# Memory checking support > +case $host_os in > + solaris*) > +AC_CHECK_LIB([umem], [umem_alloc], > +[MALLOC_DEBUG_ENV='LD_PRELOAD=libumem.so UMEM_DEBUG=default']) > +;; > + *bsd*|darwin*) > +

Re: [PATCH] xfree86/modes: Fixed memory leak in xf86InitialConfiguration

2011-03-10 Thread keithp
On Thu, 10 Mar 2011 11:07:35 +0200, Erkki Seppala wrote: > Also, I don't think it can be a CRLF-issue, because the Internet text > message format prohibits lines with CRLF and the mail isn't encoded in > any special way. (In any case, my email agent shows that all messages > have CRLF-terminated

Re: [PATCH] xfree86/modes: Fixed memory leak in xf86InitialConfiguration

2011-03-10 Thread Erkki Seppala
On 10.03.2011 00:23, Keith Packard wrote: Please clean up the whitespace mistakes in this patch and resubmit. You aren't seriously editing code on Windows, are you? Hmm. I checked for the following factors: - Consistent use of spaces versus tabs compared to the old code: check - No trailing wh