Re: Xfbdev fails with "no screens found"

2011-04-13 Thread zt.t...@gmail.com
On Apr 13, 2011 10:29 PM, "Dushara Jayasinghe" < dushara.jayasin...@hydrix.com> wrote: > > Hi Thanks for the reply. > > Somehow I stuffed up the post with all the relevant info. I've pasted it here again: > > --- >8 > DISPLAY

Re: [PATCH XTS 2/2] xts5: Fix 'missing sentinel in function call' warnings by using literal NULL

2011-04-13 Thread Peter Hutterer
On Tue, Apr 12, 2011 at 05:29:07PM -0700, Aaron Plattner wrote: > Various Xlib list functions use variable-length argument lists. > While the spec is vague, the prototypes in the Xlib headers mark the > functions as taking sentinal values of NULL. > > In some cases, the sentinal value was not bein

[PATCH v2] Xi: silence valgrind warning. (#36120)

2011-04-13 Thread Peter Hutterer
Conditional jump or move depends on uninitialised value(s) at 0x4357A1: GetEventMask (events.c:454) by 0x43B9E8: DeliverEventsToWindow (events.c:2029) by 0x4E0C59: SendEventToAllWindows (exevents.c:2125) by 0x4E8301: XISendDeviceHierarchyEvent (xichangehierarchy.c:118) by 0x426F99: D

Re: [PATCH:xf86-input-synaptics] Fix egde/edge typo in manpage and comments.

2011-04-13 Thread Peter Hutterer
On Thu, Apr 14, 2011 at 05:38:25AM +0200, Cyril Brulebois wrote: > Debian bug #622663 > > Signed-off-by: Cyril Brulebois > --- > man/synaptics.man |4 ++-- > src/synapticsstr.h |2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/ma

[PULL] valuator alignment fix fix fix fix

2011-04-13 Thread Peter Hutterer
The following changes since commit 7aad7dbf409eaa16a2c80d76ba2a42dc84501919: Xext: use EXT_MASK macro instead of manual & 0x7f (2011-04-07 12:45:55 +1000) are available in the git repository at: git://people.freedesktop.org/~whot/xserver.git for-keith Alexandr Shadchin (1): Simplify au

[PATCH:xf86-input-synaptics] Fix egde/edge typo in manpage and comments.

2011-04-13 Thread Cyril Brulebois
Debian bug #622663 Signed-off-by: Cyril Brulebois --- man/synaptics.man |4 ++-- src/synapticsstr.h |2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/man/synaptics.man b/man/synaptics.man index 07327c5..cd80641 100644 --- a/man/synapti

Re: [PATCH inputproto] XI2.h: Fix off-by-one error in the XIMaskLen definition.

2011-04-13 Thread Peter Hutterer
On Tue, Apr 12, 2011 at 10:39:25PM +0200, Alexandre Julliard wrote: > The previous definition would give the wrong result for events that are > a multiple of 8. > > Signed-off-by: Alexandre Julliard > --- > XI2.h |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/XI2

Re: [PATCH] Xi: fix valuator alignment in DeepCopyDeviceClasses (#36119)

2011-04-13 Thread Peter Hutterer
On Tue, Apr 12, 2011 at 09:58:57AM +0100, Daniel Stone wrote: > Hi, > > On Tue, Apr 12, 2011 at 11:05:56AM +1000, Peter Hutterer wrote: > > +/* force alignment with double */ > > +union align_u { ValuatorClassRec valc; double d; } *align; > > Errr ... why not just allocate valc->axes sepa

Re: Xfbdev fails with "no screens found"

2011-04-13 Thread Dushara Jayasinghe
Hi Thanks for the reply. Somehow I stuffed up the post with all the relevant info. I've pasted it here again: --- >8 DISPLAY wasn't the issue. To cut a long story short... I needed to update some stuff on buildroot.

Re: [PATCH] Send events that were missing from RRSelectInput

2011-04-13 Thread Keith Packard
On Wed, 13 Apr 2011 11:51:30 -0700, Jeremy Huddleston wrote: > From 4dca9c9005ccae0a81f2e7eec3456f437d0f737d Mon Sep 17 00:00:00 2001 > From: Federico Mena Quintero > Date: Fri, 12 Jun 2009 14:46:25 -0500 > Subject: [PATCH] Send events that were missing from RRSelectInput Merged. e409fb3..b

Re: Xfbdev fails with "no screens found"

2011-04-13 Thread zt.t...@gmail.com
Hi. Could you explain in more detail what you are trying to do, include the output of fbset on your hardware and what framebuffer driver you are using? Xfbdev is not a nested server, don't see how setting DISPLAY would help. If you can, please strace Xfbdev and include that as well. I assume an I

Re: [RFC] [PATCH v3] damage: use DamageReportDamage for the initial borderClip damage report

2011-04-13 Thread Keith Packard
Merged. 274dca8..e409fb3 master -> master -- keith.pack...@intel.com pgpOkUYO3KmCw.pgp Description: PGP signature ___ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/list

Re: [PULL] Various render changes

2011-04-13 Thread Keith Packard
On Thu, 07 Apr 2011 19:41:33 +0200, Soeren Sandmann wrote: > Søren Sandmann Pedersen (8): > Track damage for fbTrapezoids() and fbTriangles(). > Add RegionInitBoxes(), and fix some buggy callers of RegionInit(). > Make RegionInit() and RegionCreate() take just a box and no size

Re: [PULL] use-after-free fixes for xserver

2011-04-13 Thread Keith Packard
On Thu, 7 Apr 2011 18:00:25 +0300, Tiago Vignatti wrote: > Tiago Vignatti (5): > xfree86: loader: use one exit code only for readability > xfree86: xv: fix double free in xf86XVFreeAdaptor > xfree86: xv: set pointers to NULL in xf86XVFreeAdaptor > os: fix use after free i

Re: [PATCH] om: Fix memory leaks on get_font_name error paths.

2011-04-13 Thread Alan Coopersmith
On 04/13/11 12:25 AM, Ander Conselvan de Oliveira wrote: > While at it, remove unneeded check for NULL before Xfree. Thanks, looks complete now. Reviewed-by: Alan Coopersmith -- -Alan Coopersmith-alan.coopersm...@oracle.com Oracle Solaris Platform Engineering: X Window

Re: Xfbdev fails with "no screens found"

2011-04-13 Thread Dushara Jayasinghe
Sorry reposting this coz I stuffed up the subject... On 13/04/2011 4:34 PM, Dushara Jayasinghe wrote: On 12/04/2011 11:06 AM, xorg-devel-requ...@lists.x.org wrote: Date: Mon, 11 Apr 2011 21:55:27 +0200 From: Abdoulaye Walsimou GAYE Subject: Re: Xfbdev fails with "no screens found" To: xorg-de

[PATCH] Send events that were missing from RRSelectInput

2011-04-13 Thread Jeremy Huddleston
This patch has been rotting in bugzilla for a year or so. Sending to xorg-devel for review at the request of the patch author. See http://bugs.freedesktop.org/21760 for additional context. --- >From 4dca9c9005ccae0a81f2e7eec3456f437d0f737d Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero

Re: [PATCH] Use memmove instead of memcpy in fbblt.c when memory regions overlap.

2011-04-13 Thread Soeren Sandmann
Adam Tkac writes: > Hello, > > attached patch fixes wrong usage of memcpy. See > https://bugs.freedesktop.org/show_bug.cgi?id=36165 for more info. > > Regards, Adam > > From b08e7198dc0141b8074d8fdff681019d86655a38 Mon Sep 17 00:00:00 2001 > From: Adam Tkac > Date: Tue, 12 Apr 2011 16:49:43 +020

Re: [PATCH sis 00/15] a bunch of cleanups, and a taste of things to come

2011-04-13 Thread TImo Aaltonen
On 06.04.2011 19:50, Timo Aaltonen wrote: > Here's a first set of patches to xf86-video-sis, hoping to narrow down > the diff against Thomas Winischofer's 'sisfree' (*) package and the > forked versions from Intel and SiS (and Mandriva). > > The first 13 are more or less self-explanatory, but the

[PATCH] Use memmove instead of memcpy in fbblt.c when memory regions overlap.

2011-04-13 Thread Adam Tkac
Hello, attached patch fixes wrong usage of memcpy. See https://bugs.freedesktop.org/show_bug.cgi?id=36165 for more info. Regards, Adam >From b08e7198dc0141b8074d8fdff681019d86655a38 Mon Sep 17 00:00:00 2001 From: Adam Tkac Date: Tue, 12 Apr 2011 16:49:43 +0200 Subject: [PATCH] Use memmove instea

[PATCH 2/2] Remove the cacheing of the last scratch PixmapRec

2011-04-13 Thread Chris Wilson
In order for the driver to be notified of when the resource backing the scratch pixmap becomes no longer accessible, it needs to be called on every FreeScratchPixmapHeader(). As we instead maybe cached the PixmapRec (to avoid the free and malloc overhead), this notification went astray, and the dri

[PATCH 1/2] xaa: Free the scratch pixmap header before freeing the contents

2011-04-13 Thread Chris Wilson
Some DDX may be sensitive to the ordering and could conceivably continue to use the memory freed before FreeScratchPixmapHeader is called. Signed-off-by: Chris Wilson --- hw/xfree86/xaa/xaaOffscreen.c |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/hw/xfree86/xaa/xaa

Re: [PATCH] om: Fix memory leaks on get_font_name error paths.

2011-04-13 Thread Ander Conselvan de Oliveira
Ops, forgot the Signed-off-by: Ander Conselvan de Oliveira On 04/13/2011 10:25 AM, Ander Conselvan de Oliveira wrote: > While at it, remove unneeded check for NULL before Xfree. > --- > modules/om/generic/omGeneric.c | 14 ++ > 1 files changed, 6 insertions(+), 8 deletions(-) >

[PATCH] om: Fix memory leaks on get_font_name error paths.

2011-04-13 Thread Ander Conselvan de Oliveira
While at it, remove unneeded check for NULL before Xfree. --- modules/om/generic/omGeneric.c | 14 ++ 1 files changed, 6 insertions(+), 8 deletions(-) diff --git a/modules/om/generic/omGeneric.c b/modules/om/generic/omGeneric.c index 8f02166..44143ac 100644 --- a/modules/om/generic/

Re: [PATCH 00/16] More static analysis fixes for Xlib

2011-04-13 Thread Ander Conselvan de Oliveira
Thanks for reviewing. See comments inline. On 04/13/2011 05:21 AM, ext Alan Coopersmith wrote: On 04/12/11 02:11 AM, conselv...@gmail.com wrote: [...] [02/16] FSWrap: fix potential leak in copy_string_list http://patchwork.freedesktop.org/patch/4760/ (Though it should only leak on p