Re: [PATCH xserver/hw/xfree86/parser/scan.c] potential buffer overflow

2011-08-31 Thread walter harms
Am 31.08.2011 07:06, schrieb v...@picaros.org: > [PATCH xserver/hw/xfree86/parser/scan.c] potential buffer overflow > > The patch below fixes a potential buffer overflow in xf86addComment(). > This occurs if curlen > 0 && eol_seen == 0 && iscomment == 0 , as > follows from the code: > > cha

Re: [PATCH xserver/hw/xfree86/parser/scan.c] potential buffer overflow

2011-08-31 Thread vdb
> Am 31.08.2011 07:06, schrieb v...@picaros.org: > > [PATCH xserver/hw/xfree86/parser/scan.c] potential buffer overflow > > > > The patch below fixes a potential buffer overflow in xf86addComment(). > > This occurs if curlen > 0 && eol_seen == 0 && iscomment == 0 , as > > follows from the code

[PULL] 2 tiny commits

2011-08-31 Thread Cyril Brulebois
Hi Keith. The following changes since commit 0caeef6146bee5fb1827ab25db191685dde9d4b4: Version bumped to 1.11 (2011-08-26 16:46:13 -0700) are available in the git repository at: git://people.freedesktop.org/~kibi/xserver master Cyril Brulebois (2): configure.ac: Fix help string for mi

Re: [PATCH xserver/hw/xfree86/modes/xf86Modes.c] print DisplayMode type bits

2011-08-31 Thread Alex Deucher
On Wed, Aug 31, 2011 at 1:29 AM, wrote: > This patch adds printing of the DisplayMode type bits to > xf86PrintModeline().  It helps to trace the modeline origin and to > understand the initial configured modeline. > >> This is rather useful if you're trying to figure out where a mode >> might hav

[PATCH] Support installing systemd unit file.

2011-08-31 Thread Michał Górny
Signed-off-by: Michał Górny Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=38339 --- .gitignore |1 + Makefile.am| 13 - configure.ac | 21 + xdm.service.in |9 + 4 files changed, 43 insertions(+), 1 deletions(-) create mode 1006

[PATCH] dri2: Initialize needInvalidate member of DRI2Drawable.

2011-08-31 Thread Rami Ylimäki
If the client is not behaving correctly and swaps buffers before getting them, Valgrind will complain about uninitialized memory being used in DRI2InvalidateDrawable. Signed-off-by: Rami Ylimäki --- This may not be a huge problem in practice but it's always nice to initialize memory fully after a

Re: [PATCH] Support installing systemd unit file.

2011-08-31 Thread Gaetan Nadon
On Wed, 2011-08-31 at 16:52 +0200, Michał Górny wrote: > Signed-off-by: Michał Górny > Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=38339 > --- > .gitignore |1 + > Makefile.am| 13 - > configure.ac | 21 + > xdm.service.in |9

[PATCH] Support installing systemd unit file.

2011-08-31 Thread Michał Górny
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=38339 Signed-off-by: Michał Górny Reviewed-by: Gaetan Nadon Tested-by: Gaetan Nadon --- .gitignore |1 + Makefile.am| 13 - configure.ac | 21 + xdm.service.in |9 + 4 files changed

Multitouch protocol and misbehaving clients

2011-08-31 Thread Carlos Garnacho
Hello, I've been following the latest changes to the XInput protocol for multitouch and doing practical experiments with the Ubuntu shipped XI2.1 on Mutter/Gnome-shell. Overall, the protocol description looks quite polished now, although I'm quite concerned about the strict dependence of the serv

[PATCH inputproto multitouch] Cater for clients failing to accept/reject ownership

2011-08-31 Thread carlosg
From: Carlos Garnacho The multitouch protocol definition largely assumed well behaved clients, and had no way to deal with misbehaved ones that wouldn't claim nor deny ownership on the sequence. So, introduce the TouchExpired flag, to be used by the server when forcing touch sequences to expire

Re: [PATCH] Support installing systemd unit file.

2011-08-31 Thread Gaetan Nadon
On Wed, 2011-08-31 at 18:02 +0200, Michał Górny wrote: > Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=38339 > Signed-off-by: Michał Górny > Reviewed-by: Gaetan Nadon > Tested-by: Gaetan Nadon > --- > .gitignore |1 + > Makefile.am| 13 - > configure.ac | 21

Re: [PATCH] Support installing systemd unit file.

2011-08-31 Thread Gaetan Nadon
On Wed, 2011-08-31 at 15:16 -0400, Gaetan Nadon wrote: > On Wed, 2011-08-31 at 18:02 +0200, Michał Górny wrote: > > > Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=38339 > > Signed-off-by: Michał Górny > > Reviewed-by: Gaetan Nadon > > Tested-by: Gaetan Nadon > > > > Sorry, I had no

Re: [PATCH] Support installing systemd unit file.

2011-08-31 Thread Michał Górny
On Wed, 31 Aug 2011 15:28:27 -0400 Gaetan Nadon wrote: > On Wed, 2011-08-31 at 15:16 -0400, Gaetan Nadon wrote: > > > On Wed, 2011-08-31 at 18:02 +0200, Michał Górny wrote: > > > > > Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=38339 > > > Signed-off-by: Michał Górny > > > Reviewed-by:

Re: [PATCH evtest v3] Add one-shot query functionality

2011-08-31 Thread Daniel Drake
On Mon, Aug 29, 2011 at 5:19 AM, Peter Hutterer wrote: > Patches pushed, thanks. >   8a10dfe..4479437  master -> master Thanks Peter. We're now ready to start using this in our software. Would it be possible to get a new release made? If you do the tarball release, I'm happy to do the Fedora pack

Re: [PATCH] Support installing systemd unit file.

2011-08-31 Thread Gaetan Nadon
On Wed, 2011-08-31 at 21:36 +0200, Michał Górny wrote: > On Wed, 31 Aug 2011 15:28:27 -0400 > Gaetan Nadon wrote: > > > On Wed, 2011-08-31 at 15:16 -0400, Gaetan Nadon wrote: > > > > > On Wed, 2011-08-31 at 18:02 +0200, Michał Górny wrote: > > > > > > > Fixes: https://bugs.freedesktop.org/sho

[PATCH evtest] Add --version flag

2011-08-31 Thread Peter Hutterer
evtest versions are different enough now that it does matter what version a user uses. Add a --version flag to ease triaging of bug reports. "gcc -o evtest evtest.c" should continue to work, so add an extra ifdef for the case PACKAGE_VERSION is undefined. Signed-off-by: Peter Hutterer --- evtes

Re: [PATCH libXaw3d 5/5] Include Xaw3dP.h using #include

2011-08-31 Thread Alan Coopersmith
On 08/30/11 19:00, Gaetan Nadon wrote: > All published Xaw3d header file are included this way. > The -I directive to include/X11/Xaw3d is removed which will alert > developers not to include header files with quotes unless they are in > the /src directory. > > Signed-off-by: Gaetan Nadon > --- >

Re: [PATCH libXaw3d 4/5] Rename XAW3D_CFLAGS to XAW3D_CPPFLAGS as it contains preprocessor options only

2011-08-31 Thread Alan Coopersmith
On 08/30/11 19:00, Gaetan Nadon wrote: > This will also prevent confusion as it is not obtained from PKG_CHECK_MODULES > but follows its naming convention. > > Signed-off-by: Gaetan Nadon > --- > configure.ac| 12 ++-- > src/Makefile.am | 12 ++-- > 2 files changed, 12 in

[PATCH xserver v2] randr: Add Border property support

2011-08-31 Thread Aaron Plattner
Add helpers to RandR to allow the DDX (or rather the driver loaded by the DDX, for xfree86) to specify how many dimensions of adjustments it supports. Check for this property and adjust the CRTC raster size accordingly when computing the transformed framebuffer size read. This implements the prop

Re: [PATCH 2/2] xfree86/modes: Make cursor position transform a helper function

2011-08-31 Thread Aaron Plattner
On Thu, Aug 25, 2011 at 05:32:36PM -0700, Aaron Plattner wrote: > On Thu, Aug 25, 2011 at 04:54:41PM -0700, Keith Packard wrote: > > On Thu, 25 Aug 2011 16:35:10 -0700, Aaron Plattner > > wrote: > > > > > When the driver can handle the crtc transform in hardware, it sets > > > crtc->driverIsPerf

[PATCH libXaw3d 0/5] Fix old-style function definitions, round three

2011-08-31 Thread Yaakov (Cygwin/X)
From: Yaakov Selkowitz This completes my work in fixing all the old-style function definitions, and some other warnings which these fixes exposed. The code is *much* cleaner now; it should be a lot easier for others to help fix the remaining warnings. Yaakov Selkowitz (5): MultiSink: Fix o

[PATCH libXaw3d 1/5] MultiSink: Fix old-style function definitions

2011-08-31 Thread Yaakov (Cygwin/X)
From: Yaakov Selkowitz Signed-off-by: Yaakov Selkowitz --- src/MultiSink.c | 98 ++ 1 files changed, 33 insertions(+), 65 deletions(-) diff --git a/src/MultiSink.c b/src/MultiSink.c index 1f37d10..2e5b83b 100644 --- a/src/MultiSink.c +++ b/

[PATCH libXaw3d 2/5] MultiSrc: Fix old-style function definitions

2011-08-31 Thread Yaakov (Cygwin/X)
From: Yaakov Selkowitz Signed-off-by: Yaakov Selkowitz --- src/MultiSrc.c | 128 --- 1 files changed, 47 insertions(+), 81 deletions(-) diff --git a/src/MultiSrc.c b/src/MultiSrc.c index 5ca85cb..08e54c6 100644 --- a/src/MultiSrc.c +++ b/src

[PATCH libXaw3d 3/5] XawIm: Fix old-style function definitions

2011-08-31 Thread Yaakov (Cygwin/X)
From: Yaakov Selkowitz Signed-off-by: Yaakov Selkowitz --- src/XawIm.c | 221 --- 1 files changed, 90 insertions(+), 131 deletions(-) diff --git a/src/XawIm.c b/src/XawIm.c index 09b9bb0..45d2e3c 100644 --- a/src/XawIm.c +++ b/src/XawIm.

[PATCH libXaw3d 4/5] Fix incompatible vfunc pointer warnings

2011-08-31 Thread Yaakov (Cygwin/X)
From: Yaakov Selkowitz AsciiSink.c:132:41: warning: initialization from incompatible pointer type AsciiSink.c:135:41: warning: initialization from incompatible pointer type AsciiSink.c:137:41: warning: initialization from incompatible pointer type Vendor.c:199:24: warning: initialization from in

[PATCH libXaw3d 5/5] Label: Fix nested extern declaration warnings

2011-08-31 Thread Yaakov (Cygwin/X)
From: Yaakov Selkowitz Signed-off-by: Yaakov Selkowitz --- src/Label.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/src/Label.c b/src/Label.c index b3ecee9..d1a13c9 100644 --- a/src/Label.c +++ b/src/Label.c @@ -56,6 +56,7 @@ SOFTWARE. #include #include #inclu