Re: [PATCH] xf86xv: Fix off-by-one in viewport clipping

2009-12-15 Thread Keith Packard
bit tricky and I'd have to worry about leaving corner cases in any rewritten code. Reviewed-by: Keith Packard -- keith.pack...@intel.com pgpdUiBqksDv7.pgp Description: PGP signature ___ xorg-devel mailing list xorg-devel@lists.x.org http://lis

Re: [PATCH 2/3] os: Don't limit MaxClients to MAXCLIENTS

2009-12-15 Thread Keith Packard
On Tue, 15 Dec 2009 09:32:58 -0500, Adam Jackson wrote: > Well, not devices, at least not for silken-enabled servers. But yes. > And right now, it does; MaxClientFd ends up being getdtablesize()-1, > which is all the file descriptors you can pass to select. I was just thinking that 'MaxClientFd

Re: [PATCH 1/2] os: Don't limit MaxClients to MAXCLIENTS

2009-12-15 Thread Keith Packard
; open below MAXCLIENTS that are not clients (input devices, mostly), > which means you end up losing client slots. > > Rename MaxClients to MaxFd, to reflect its true nature, and don't clamp it > to MAXCLIENTS. > > Signed-off-by: Adam Jackson Reviewed-by: Keith Pa

Re: [PATCH 1/3] os: Reshuffle the connection translation ifdefs

2009-12-15 Thread Keith Packard
#else clause. Otherwise, it looks good to me. Reviewed-by: Keith Packard > > Signed-off-by: Adam Jackson > --- > os/WaitFor.c|3 +-- > os/connection.c | 44 > os/io.c |2 +- > os/osdep.h |6 +-

Re: [PATCH 3/3] os: Reduce smart scheduler setup calls

2009-12-15 Thread Keith Packard
On Mon, 14 Dec 2009 15:19:49 -0500, Adam Jackson wrote: > We can return from WaitForSomething with no clients ready for any number > of reasons. There's no reason to set up the scheduler timer when this > happens. Looks like a fine plan. Reviewed-by: Keith Packard

Re: [PATCH] Convert checks for PC98 support from platform #ifdefs to configure flag

2009-12-17 Thread Keith Packard
Bcc: kei...@keithp.comOn Thu, 17 Dec 2009 18:24:37 -0800, Alan Coopersmith wrote: > Default remains the same - on for most OS'es on i386 (except Solaris), > off for everyone else. Can be manually toggled via --enable-pc98 or > --disable-pc98. This seems quite sensible. A

Re: [PATCH] Add platform compatibility defines for Sun Studio compilers

2009-12-17 Thread Keith Packard
Bcc: kei...@keithp.comOn Thu, 17 Dec 2009 18:24:38 -0800, Alan Coopersmith wrote: I thought these were already (effectively) reviewed? -- keith.pack...@intel.com pgpezjEk32hDe.pgp Description: PGP signature ___ xorg-devel mailing list xorg-devel@li

Re: [PATCH] Change sysconfdir brackets to avoid some shells trying to run it as a command

2009-12-17 Thread Keith Packard
Bcc: kei...@keithp.comOn Thu, 17 Dec 2009 18:24:39 -0800, Alan Coopersmith wrote: > - [DEFAULT_FONT_PATH='catalogue:$(sysconfdir)/X11/fontpath.d'], > + [DEFAULT_FONT_PATH='catalogue:${sysconfdir}/X11/fontpath.d'], A classic confusion between make and shell s

Re: [PATCH 3/3] Add type name argument to CreateNewResourceType

2009-12-18 Thread Keith Packard
On Fri, 11 Dec 2009 08:21:21 -0800, Alan Coopersmith wrote: > Convert all calls of CreateNewResourceType to pass name argument I think all three of these patches are ready to be merged. Reviewed-by: Keith Packard -- keith.pack...@intel.com pgpPMovLCjQ8z.pgp Description: PGP signat

Re: [PATCH] Convert checks for PC98 support from platform #ifdefs to configure flag

2009-12-18 Thread Keith Packard
On Fri, 18 Dec 2009 15:16:27 -0800, Alan Coopersmith wrote: > That would require me to know, but I'm in the disinformed bunch. I > vaguely remember it being a standard used in Japanese PC's that never > caught on in the rest of the world - which of the choices in Wikipedia > makes it sound mor

Re: [PATCH 3/3] Add type name argument to CreateNewResourceType

2009-12-18 Thread Keith Packard
On Fri, 18 Dec 2009 13:32:36 -0800, Aaron Plattner wrote: > This still seems like a silly reason to break the ABI to me, but > whatev'. This will make sure that existing and new code follow the rules; I always appreciate it when the language provides mechanisms that let me know about errors. >

Re: [PULL] ResourceType creation error checks and naming

2009-12-18 Thread Keith Packard
On Fri, 18 Dec 2009 16:54:35 -0800, Alan Coopersmith wrote: > Alan Coopersmith (3): > Check for failures from CreateNewResourceType > Ensure all resource types created have names registered > Add type name argument to CreateNewResourceType I also added an ABI bump to the video

Re: [PATCH] xfree86: reword InputDevice man sections, deprecate CorePointer/CoreKeyboard

2009-12-20 Thread Keith Packard
o document this. > > Signed-off-by: Peter Hutterer Acked-by: Keith Packard -- keith.pack...@intel.com pgpYhUrLCM47p.pgp Description: PGP signature ___ xorg-devel mailing list xorg-devel@lists.x.org http://lists.x.org/mailman/listinfo/xorg-devel

Re: [PATCH] xfree86: remove HistorySize from the xorg.conf man page.

2009-12-20 Thread Keith Packard
On Mon, 21 Dec 2009 11:12:56 +1000, Peter Hutterer wrote: > This option isn't parsed by anything anymore. > > Signed-off-by: Peter Hutterer Reviewed-by: Keith Packard -- keith.pack...@intel.com pgpTsO3ollfWU.pgp Description:

Re: [PATCH] [1.7] fb: backport fb changes from master for src window operations.

2009-12-20 Thread Keith Packard
On Mon, 21 Dec 2009 12:26:26 +1000, Dave Airlie wrote: > This rolls up the following commits and also keeps the image_from_pict > API compatiblity. It introduces a new image_from_pict_18 API that is > used by the server leaving the old API alone. > > I've rolled this up as I don't want to introdu

Re: [PATCH] xfree86: Add Option AutoServerLayout for input devices.

2009-12-20 Thread Keith Packard
On Mon, 21 Dec 2009 15:56:35 +1000, Peter Hutterer wrote: > Any input device with this option will be automatically added to whichever > server layout is selected at startup. > Signed-off-by: Peter Hutterer Reviewed-by: Keith Packard -- keith.pack...@intel.com pgpmmmAE

Re: [PATCH v2 4/4] Coverity: mi/mispans.c: leaked_storage: Variable "newpoints" and "newwidths" goes out of scope

2009-12-28 Thread Keith Packard
On Mon, 28 Dec 2009 12:32:28 +0200, Oliver McFadden wrote: > > Signed-off-by: Oliver McFadden Reviewed-by: Keith Packard This is an allocation failure path; one or both of these will have failed to be allocated. -- keith.pack...@intel.com pgpgVp3pklacr.pgp Description: PGP sig

Re: [PATCH 1/4] Coverity: dix/resource.c: leaked_storage: Variable "funcs" goes out of scope

2009-12-28 Thread Keith Packard
-- a/dix/resource.c > +++ b/dix/resource.c > @@ -209,7 +209,10 @@ CreateNewResourceType(DeleteType deleteFunc, char *name) > if (!funcs) > return 0; > if (!dixRegisterPrivateOffset(next, -1)) > +{ > + xfree (funcs); > return 0; > +} Re

Re: [PATCH 2/4] Coverity: dix/window.c: double_free: Double free of pointer "srcbits" and "mskbits" in call to "Xfree"

2009-12-29 Thread Keith Packard
On Mon, 28 Dec 2009 12:02:56 +0200, Oliver McFadden wrote: > freed_arg: Pointer "srcbits" and "mskbits" freed by function > "AllocARGBCursor" This one looks wrong to me. -- keith.pack...@intel.com pgpv4GTW2eSF5.pgp Description: PGP signature ___ xo

Re: [PATCH] Revert "Make sys.c use unaligned access functions provided in compiler."

2009-12-29 Thread Keith Packard
On Mon, 28 Dec 2009 14:02:02 -0500, Matt Turner wrote: > The fix here isn't to add back in a bunch of duplicated Alpha > assembly. Correct, the right fix is to solve the problem. However, I'd like to see that solution come in a single patch instead of two separated by weeks of time. Reverting th

Re: [PATCH 0/9] Another round of kdrive cleanups

2010-01-02 Thread Keith Packard
On Sat, 2 Jan 2010 20:32:50 +0600, Mikhail Gusarov wrote: > More janitorial stuf, plus substantial changes: Can you get a Reviewed-by: before Cc:'ing me? Whitespace changes are one thing, but actual code changes need external review before I'm comfortable applying them. -- keith.pack...@inte

Re: [PATCH] Update lastDeviceEventTime in XResetScreenSaver

2010-01-02 Thread Keith Packard
On Sat, 2 Jan 2010 11:58:40 +, Julien Cristau wrote: > --- a/dix/dispatch.c > +++ b/dix/dispatch.c > @@ -3517,6 +3517,11 @@ int ProcForceScreenSaver(ClientPtr client) > rc = dixSaveScreens(client, SCREEN_SAVER_FORCER, (int)stuff->mode); > if (rc != Success) > return rc; > +

Re: [PATCH 1/4] [kdrive] Remove trailing whitespace

2010-01-03 Thread Keith Packard
On Mon, 4 Jan 2010 09:26:06 +1000, Peter Hutterer wrote: > any particular reason this patch is needed? It touches a lot of files but > doesn't actually improve the code. I checked with git diff -b and saw that it changed nothing; as it just eliminates a pile of trailing white space. Makes it ea

Re: [PATCH] Remove mibank wrapper

2010-01-04 Thread Keith Packard
On Mon, 4 Jan 2010 15:32:49 -0500, Adam Jackson wrote: > +static int > +miScanLineWidth( Is there any driver still using this function? I'd rather see it disappear than live on without having any users. Also, if it does need to survive, the copyright messages from mibank.c will need to get mer

Re: [PATCH] Remove mibank wrapper

2010-01-04 Thread Keith Packard
On Mon, 04 Jan 2010 17:21:49 -0500, Adam Jackson wrote: > No driver uses it. But xf86ValidateModes (alone, hence static) does, > which is why I moved it to xf86Mode.c. And does so in more than one > place, so the factorization still makes sense. Sigh. And we still have drivers using xf86Valdia

Re: [PATCH] xrandr: add more information about the transform option in the manpage

2010-01-04 Thread Keith Packard
On Sun, 03 Jan 2010 17:37:48 +0100, Bernard Siaud alias Troumad wrote: > 3) I don(t know what is keystone shaping ! It's not easy for me to > translate it in french ! Here's the English wikipedia article on the subject; I'm afraid the only other language linked from that page is German though.

Re: [PATCH] dix: don't update the slave coordinates from the VCK.

2010-01-04 Thread Keith Packard
On Tue, 5 Jan 2010 13:46:07 +1000, Peter Hutterer wrote: > @@ -630,9 +630,12 @@ updateFromMaster(EventListPtr events, DeviceIntPtr dev, > int type, int *num_event > if (master && master->last.slave != dev) > { > CreateClassesChangedEvent(events, master, dev, type); > -

Re: [PATCH v2] dix: don't update the slave coordinates from the VCK.

2010-01-05 Thread Keith Packard
On Tue, 5 Jan 2010 16:15:20 +1000, Peter Hutterer wrote: > yes, you're right, thanks. This one addresses this, moves the last.slave out > of the condition. The numValuators assignment is not needed afaict, in fact > it doesn't seem to be used anywhere anyway. If it isn't used, can we eliminate

Re: [PATCH] modes: Remove the ClockRanges type

2010-01-05 Thread Keith Packard
On Tue, 05 Jan 2010 14:20:31 -0500, Adam Jackson wrote: > Two months is long enough to wait for objections, I think. Keith, > please merge? Thanks for the ping. -- keith.pack...@intel.com pgphCvqlAH8jA.pgp Description: PGP signature ___ xorg-devel

Re: [PATCH v2] dix: don't update the slave coordinates from the VCK.

2010-01-05 Thread Keith Packard
On Wed, 6 Jan 2010 07:41:41 +1000, Peter Hutterer wrote: > I think so though I have to check my notes again to be sure. since the > DeviceIntRec is exported ABI, I'll do that in a separate patch though. Sure. ABI isn't an issue for 1.8 as we're already bumping all of the module ABI versions. Bu

Re: [REVIEW] DMX2 DIX merge

2010-01-06 Thread Keith Packard
On Wed, 06 Jan 2010 16:12:15 -0500, Adam Jackson wrote: > a) Enabling support for the Composite stack in Xinerama mode Sure. Just bug fixes for fixes/render/composite. From my brief glance, these all look like reasonable patches. > b) Exposing animated cursors to the DDX for acceleration Agree

Re: [REVIEW] DMX2 DIX merge

2010-01-06 Thread Keith Packard
On Wed, 06 Jan 2010 17:39:15 -0500, Adam Jackson wrote: > I described this wrong. It corrects the RANDR geometry to account for > the Xin muxer's idea of the root window size, but XRRGetScreenResources > still only gives you the RANDR objects on screen 0. Not useful > enough. Right, RandR gets

Re: [REVIEW] DMX2 DIX merge

2010-01-07 Thread Keith Packard
On Thu, 07 Jan 2010 10:04:45 -0500, Adam Jackson wrote: > It doesn't _have_ to work that way, but that's what it looks like DMX2 > does. Ok, so just something we should work on fixing then. > If we consider a non-transformative, non-GL compositor, then I think > it's pretty straightforward. Pi

Re: Proposal: 1.8 release and development process changes

2010-01-07 Thread Keith Packard
On Sun, 27 Sep 2009 01:08:42 +1000, Peter Hutterer wrote: >I think 3 + 2 + 1 months should be approporiate for the various stages. Following Peter's proposed schedule, we're now in the 'bugfix' phase for server version 1.8. Any major feature changes not incorporated in the server at this po

Re: [PATCH xserver] macros: use PKG_CONFIG variable rather than executable name

2010-01-07 Thread Keith Packard
On Thu, 07 Jan 2010 23:29:22 +0100, Rémi Cardona wrote: > I think you have enough Acked-bys and Reviewed-bys here. Maybe you > should put those in a branch and ask Keith to pull all three of them? I'm good with either [PATCH] or [PULL] requests, although I'm trying to encourage people to flag th

Re: [PATCH] Re-enable the RECORD extension. (#20500)

2010-01-07 Thread Keith Packard
On Fri, 8 Jan 2010 15:27:27 +1000, Peter Hutterer wrote: > Eventually the callbacks should be updated to work with InternalEvents (only > RECORD actually uses the callbacks). Currently, WriteEventsToClient deals > with wire events and changing it to keep the InternalEvent constitutes an > ABI br

Re: [PATCH v2] dix: EventToCore needs to copy the root window too.

2010-01-07 Thread Keith Packard
On Fri, 8 Jan 2010 15:18:41 +1000, Peter Hutterer wrote: > This value isn't actually set for normal events but it saves us some work > for the record extension support. > > Signed-off-by: Peter Hutterer Reviewed-by: Keith Packard -- keith.pack...@intel.com pgpw85Xte2m2

Re: [PATCH 2/2] fb: Adjust transform or composite coordinates for pixman operations

2010-01-08 Thread Keith Packard
On Fri, 8 Jan 2010 12:31:35 -0800, Jeremy Huddleston wrote: > > fbGetDrawablePixmap (pict->pDrawable, pixmap, *xoff, *yoff); fbGetDrawablePixmap is a macro which stores through *xoff and *yoff. -- keith.pack...@intel.com pgpyTi1iWTvm6.pgp Description: PGP signature _

Re: [PATCH xserver] configure: use backticks rather than $() for commands

2010-01-08 Thread Keith Packard
On Fri, 08 Jan 2010 19:14:16 -0500, Gaetan Nadon wrote: > Using git send-email, the CC to "Keith Packard " did > not work. I used the same command to send a patch to the list and CC > Alan and it did work. Maybe someone had this problem before. Hrm. I got the patch and pus

Re: [PATCH xserver] dmx-doc: remove from git the linuxdoc generated files

2010-01-10 Thread Keith Packard
On Sun, 10 Jan 2010 16:06:51 -0500, Gaetan Nadon wrote: > The dmx and scaled text files are generated from sgml files. > The linuxdoc program is used to generated them. We've generally been distributing the .txt files with the .tar.gz package so that people don't have to figure out how to get li

Re: [PATCH xserver] dmx-doc: remove from git the linuxdoc generated files

2010-01-11 Thread Keith Packard
On Mon, 11 Jan 2010 11:40:53 -0500, Gaetan Nadon wrote: > That will help distcheck but not dist and only if you have doxygen > installed (some platforms don't). I first propose to solve the root > cause of the problem, and if that's not feasible, then patch some of the > symptoms. I'd be fine wi

Re: [PULL] XACE and SELinux updates for master

2010-01-12 Thread Keith Packard
On Tue, 12 Jan 2010 14:53:42 -0500, Eamon Walsh wrote: > Ping? Sorry, I didn't see this before; might well have been spamassassin before I got the 20XX bug fixed. They'll need a bit of review before merging; I'll try to get that done tomorrow. -- keith.pack...@intel.com pgpxn60nUMyrz.pgp De

Re: [PATCH] DRI2: Allow multiple driver names.

2010-01-13 Thread Keith Packard
d drivers in > DRI2ScreenInit. > > Signed-off-by: Aaron Plattner This looks good to me, but I'd like krh to also take a look, then I'll merge it in. Reviewed-by: Keith Packard -- keith.pack...@intel.com pgpoF2RjQIBgT.pgp Description: PGP signature ___

Re: [PATCH] Delete unused devPrivate field from GCFuncs and GCOps.

2010-06-14 Thread Keith Packard
On Mon, 14 Jun 2010 18:00:23 +0300, Tiago Vignatti wrote: > FYI, we have also the privates implementation in Xorg DDX (privates field of > ScrnInfoRec). I don't see any particular reason to have another privates > mechanism inside Xorg given we have already the one in dix, so we might want > to

Re: [PATCH 2/2] xfree86: configure: remove vendor and card name matching rules

2010-06-18 Thread Keith Packard
On Thu, 17 Jun 2010 15:22:41 +0300, Tiago Vignatti wrote: > - DevToConfig[i].GDev.vendor = (char *)VendorName; > - DevToConfig[i].GDev.board = (char *)CardName; > - You're removing the assignment here > -/*ptr->dev_identifier = DevToConfig[screennum].GDev.identifier;*/ > ptr-

Re: [PATCH] Addition to XFixes for cursor constraint

2010-06-18 Thread Keith Packard
On Thu, 17 Jun 2010 22:19:04 -0400, Adam Goode wrote: > https://bugs.freedesktop.org/show_bug.cgi?id=20334 Disjoint areas have always been the issue with this bug; not sure this solves it? -- keith.pack...@intel.com pgpnfXWFdOKB3.pgp Description: PGP signature ___

Re: [PATCH] Addition to XFixes for cursor constraint

2010-06-18 Thread Keith Packard
On Fri, 18 Jun 2010 11:03:49 -0400, Adam Goode wrote: > On 06/18/2010 03:08 AM, Keith Packard wrote: > > On Thu, 17 Jun 2010 22:19:04 -0400, Adam Goode wrote: > > > >> https://bugs.freedesktop.org/show_bug.cgi?id=20334 > > > > Disjoint areas have always be

Re: [PATCH] xv: Don't send port notify when SetPortAttribute fails

2010-06-18 Thread Keith Packard
On Tue, 15 Jun 2010 23:25:34 +0300, ville.syrj...@nokia.com wrote: > Fix the problem by sending port notifications only when > SetPortAttribute succeeds. Reviewed-by: Keith Packard -- keith.pack...@intel.com pgpnxjjENkWg2.pgp Description: PGP sig

Post-RC1 merging criteria (was Re: [PULL] cleanups)

2010-06-18 Thread Keith Packard
On Mon, 14 Jun 2010 10:44:38 -0700, Jamey Sharp wrote: > These cleanups and warning fixes have been reviewed and don't, as far as > I can tell, affect API or ABI. Can they be merged to master? I don't know. We're past RC1 and are supposed to be working on regressions and other bug fixing. What

Re: [PATCH 1/2] list.h: Fix list_for_each_entry_safe()

2010-06-18 Thread Keith Packard
On Mon, 14 Jun 2010 09:25:22 -0400, Kristian Høgsberg wrote: > - pos = next, next = __container_of(next->member.next, next, member)) > + pos = tmp, tmp = __container_of(pos->member.next, tmp, member)) Any reason this uses a ',' instead of a ';'?

Re: Post-RC1 merging criteria (was Re: [PULL] cleanups)

2010-06-19 Thread Keith Packard
On Sat, 19 Jun 2010 15:22:50 -0700, Jamey Sharp wrote: > Three months does feel like a > long time to stall development on master, though, given how > attention-starved this code already is. I'd prefer a three-month total > release cycle, assuming a willing release manager. Note that 1.9 is curr

Re: Post-RC1 merging criteria (was Re: [PULL] cleanups)

2010-06-21 Thread Keith Packard
On Mon, 21 Jun 2010 14:56:45 +0100, Daniel Stone wrote: > As I said before, I'm pretty concerned about this. We have enough > trouble supporting our stable releases as it is (though Peter's doing a > fairly heroic job single-handedly holding up 1.8.x), and changing to > three months just makes t

Re: Closing the xserver 1.9 merge window

2010-06-21 Thread Keith Packard
On Mon, 21 Jun 2010 07:53:30 -0700, Alan Coopersmith wrote: > Keith Packard wrote: > > Beyond that, I'd like for people to consider the tree closed to > > large-scale changes as we prepare for the 1.9 release. There are a > > couple of additional cleanup patch seque

Re: [PATCH] rotation: fix cursor and overlap of one pixel.

2010-06-21 Thread Keith Packard
me as our coordinate system has integers in the upper left corner of each pixel, so to get from one upper left location to another, you need to get to the middle of the pixel *before* the transform instead of afterwards. Reviewed-by: Keith Packard -- keith.pack...@intel.com pgpxkDRK3snKh.pgp Descrip

Re: [PATCH] include: Update stale comment after bzero removal

2010-06-21 Thread Keith Packard
On Sun, 20 Jun 2010 20:39:59 -0400, Matt Turner wrote: > Really, the headers need a massive clean-up. It would be good to start with some idea of how things 'should' work. Afaict, there's no rhyme or reason to how and where various system include files are referenced from our current sources. -

Re: [PATCH] dri2: avoid crash with old dri drivers.

2010-06-21 Thread Keith Packard
On Mon, 21 Jun 2010 14:08:50 +1000, Dave Airlie wrote: > I built latest server and copied over a mesa 7.8 dri2 driver to use with it, > and it crashed in here starting compiz. Looks like we need to validate the > flush extension is registered before calling invalidate. This is the only place scr

Re: [PATCH] composite: fix freeing of old pixmap until after move/resize/cbw

2010-06-21 Thread Keith Packard
ys hit one of the freeing > paths or else its a bug in the DIX. This looks right to me -- pulling the piece of the old MoveWindow/ResizeWindow/ChangeBorderWidth functions into this new compFreeOldPixmap function. I'd say using these hooks is fine; ConfigureWindow will always call one of t

Re: [PATCH] Don't crash when asked if a client that has disconnected was local

2010-06-21 Thread Keith Packard
On Mon, 21 Jun 2010 17:38:07 +0100, Simon Farnsworth wrote: > > +if (!((OsCommPtr)client->osPrivate)->trans_conn) > +return FALSE; > + This looks almost right to me -- I reviewed the os code to see when _XSERVTransClose is called (which is what frees the trans_conn data) and found

Re: Post-RC1 merging criteria (was Re: [PULL] cleanups)

2010-06-21 Thread Keith Packard
On Mon, 21 Jun 2010 16:04:51 +0300, Tiago Vignatti wrote: > Yes, we have significant work happening right now: clean-up. It's a feature as > desirable as any other. I'm not saying there isn't significant and useful work going on, but that we aren't seeing long-term development and testing happe

Re: [PATCH v2] Don't crash when asked if a client that has disconnected was local

2010-06-22 Thread Keith Packard
On Tue, 22 Jun 2010 10:13:30 +0100, Simon Farnsworth wrote: > Keith, does this look better to you? Yup, seems fine now. Reviewed-by: Keith Packard > +if (!client->osPrivate) > +return FALSE; > +if (!((OsCommPtr)client->osPrivate)->trans_conn) &g

Re: [PATCH] record: Prevent a crash on recording client disconnect.

2010-06-22 Thread Keith Packard
ching any invalid pointers. Krh may yet convince me that the generic list functions might well be a good plan for things like this :-) Reviewed-by: Keith Packard -- keith.pack...@intel.com pgpdpeAw4iXh7.pgp Description: PGP signature ___ xorg-deve

Re: [PATCH v2] xfree86: configure: remove vendor and card name matching rules

2010-06-22 Thread Keith Packard
On Sat, 19 Jun 2010 13:05:22 +0300, Tiago Vignatti wrote: > Although vendor and board naming are used to create the configure file, the > server doesn't actually use it when fetching such file and probing devices. > > Reported-by: Richard Barnette > Signed-off-by: Tiago Vignatti > --- > from v

Re: [PATCH v3 1/2] dix: use one single function to register fpe fonts

2010-06-22 Thread Keith Packard
On Sat, 19 Jun 2010 14:02:02 +0300, "Vignatti Tiago (Nokia-D/Helsinki)" wrote: > ping? Yeah, this all seems reasonable. But, as I'm trying to get release candidates made frequently, and those can't depend on unreleased modules. It doesn't look like libXfont 1.4.2 has been released yet; there's

Re: [PATCH] Addition to XFixes for cursor constraint

2010-06-22 Thread Keith Packard
On Sat, 19 Jun 2010 12:58:45 -0400, James Willcox wrote: > Ok, is there anything about these patches that you don't like? What can I > do to get this in to $XORG_NEXT? We're already past 1.9 RC1, so we'd be looking to X server 1.10 in any case. If you want a constraint rectangle, then I'd sugg

Re: [PATCH v3 3/3] xfree86: remove board and vendor identifier strings from the configuration path

2010-06-23 Thread Keith Packard
On Wed, 23 Jun 2010 16:24:29 +0300, Tiago Vignatti wrote: > ABI break. Doesn't this also break anhy config files that include vendorname or boardname elements? -- keith.pack...@intel.com pgp8bG6SYgdb1.pgp Description: PGP signature ___ xorg-devel@

Re: [PATCH] Revert "dix: use the event mask of the grab for TryClientEvents."

2010-06-24 Thread Keith Packard
itionally. > XTS test results for XGrabButton are identical with and without this > patch. Sure would be nice to have a test case which checks this behaviour... > This reverts commit 48585bd1e3e98db0f3df1ecc68022510216e00cc. > > Conflicts: > > dix/events.c > >

Re: [PATCH] Revert "dix: use the event mask of the grab for TryClientEvents."

2010-06-24 Thread Keith Packard
On Fri, 25 Jun 2010 10:37:47 +1000, Peter Hutterer wrote: > fwiw, with this patch, XGrabButton test 5/39 now PASSes instead of FAIL. > Of course, you have to run all 39 manually, one-by-one to notice, because > earlier tests don't always reset the modifier state and later tests then > fail when

Re: [PATCH v3 3/3] xfree86: remove board and vendor identifier strings from the configuration path

2010-06-28 Thread Keith Packard
On Mon, 28 Jun 2010 14:52:21 +0300, "Vignatti Tiago (Nokia-D/Helsinki)" wrote: > On Thu, Jun 24, 2010 at 08:07:07AM +0200, ext Keith Packard wrote: > > On Wed, 23 Jun 2010 16:24:29 +0300, Tiago Vignatti > > wrote: > > > > > ABI break. > > >

Re: [PATCH 1/2] OS support: fix writeable client vs IgnoreClient behavior

2010-06-28 Thread Keith Packard
On Mon, 28 Jun 2010 15:58:46 -0700, Jesse Barnes wrote: > When ResetCurrentRequest is called, or IgnoreClient is called when a > client has input pending, IgnoredClientsWithInput will be set. However, > a subsequent IgnoreClient request will clear the client fd from that fd > set, potentially c

Re: [PATCH 1/2] OS support: fix writeable client vs IgnoreClient behavior

2010-06-28 Thread Keith Packard
On Mon, 28 Jun 2010 16:59:03 -0700, Jesse Barnes wrote: > On Mon, 28 Jun 2010 16:55:30 -0700 > Keith Packard wrote: > > > On Mon, 28 Jun 2010 15:58:46 -0700, Jesse Barnes > > wrote: > > > > > When ResetCurrentRequest is called, or IgnoreClient is called w

Re: IgnoreClient question

2010-06-28 Thread Keith Packard
On Tue, 29 Jun 2010 02:18:31 +0200, Mario Kleiner wrote: > What i assume but didn't check is that xlib doesn't have a problem > with getting replies out of sequence The X protocol is purely sequential -- you can't execute requests out of order (and queuing replies is part of the request execu

Re: [PATCH 1/2] OS support: fix writeable client vs IgnoreClient behavior

2010-06-28 Thread Keith Packard
hat the count starts out at zero? Reviewed-by: Keith Packard -- keith.pack...@intel.com pgpDZK7cQXEjL.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/listinfo/xorg-devel

Re: [PATCH 1/2] OS support: fix writeable client vs IgnoreClient behavior

2010-06-28 Thread Keith Packard
On Mon, 28 Jun 2010 19:14:41 -0700, Jesse Barnes wrote: > Thanks. Do you want to apply it with that change or shall I send an > update? Update with Rb line attached would be most excellent. We may want to see if others have comments before I apply it to master. -- keith.pack...@intel.com p

Re: [PATCH] xkb: merge lockedPtrButtons state from all attached SDs.

2010-06-28 Thread Keith Packard
On Tue, 29 Jun 2010 14:05:52 +1000, Peter Hutterer wrote: > + > +/* Merge the lockedPtrButtons from all attached SDs for the given master > + * device into the MD's state. > + */ > +void > +XkbMergeLockedPtrBtns(DeviceIntPtr master) > +{ > +DeviceIntPtr d = inputInfo.devices; > +XkbSrvIn

Re: [PATCH v4 3/3] xfree86: remove board and vendor identifier strings from the configuration path

2010-06-29 Thread Keith Packard
On Tue, 29 Jun 2010 16:08:03 +0300, Tiago Vignatti wrote: > diff --git a/hw/xfree86/doc/man/xorg.conf.man.pre > b/hw/xfree86/doc/man/xorg.conf.man.pre > index 6b3636f..3443e9b 100644 > --- a/hw/xfree86/doc/man/xorg.conf.man.pre > +++ b/hw/xfree86/doc/man/xorg.conf.man.pre > @@ -1455,9 +1455,6 @

Re: [PATCH] xfree86/modes: Allow the driver to specify initial rotation

2010-06-30 Thread Keith Packard
used by software that was used prior to > starting X. This looks good to me -- initial_rotation will be set to zero when the output is created (via calloc) and isn't set otherwise in the X server. Reviewed-by: Keith Packard -- keith.pack...@intel.com pgpy2s

[PATCH] Initialize dev privates before using any

2010-06-30 Thread Keith Packard
Initializing the dev privates code after allocating the server client dev privates would cause the memory leak check to fire at server startup or reset. Signed-off-by: Keith Packard --- This eliminates the memory leak warning which prompted Tiago's change to print those only in debug b

Re: [PATCH 3/2] Xephyr: fix Xv adaptor capability tests

2010-06-30 Thread Keith Packard
On Fri, 25 Jun 2010 11:34:44 +0100, Julien Cristau wrote: > Signed-off-by: Julien Cristau Wow. What did that code do before? It looks like it was completely broken. This appears to do something sensible at least. Reviewed-by: Keith Packard -- keith.pack...@intel.com pgp4o0QJzsV8f.

Re: [PATCH] Initialize dev privates before using any

2010-07-01 Thread Keith Packard
On Wed, 30 Jun 2010 19:30:51 +0300, Tiago Vignatti wrote: > On Wed, Jun 30, 2010 at 05:39:34PM +0200, ext Keith Packard wrote: > > Initializing the dev privates code after allocating the server client > > dev privates would cause the memory leak check to fire at server >

[PATCH 1/2] Delete unused miDbe screen private private datatype

2010-07-01 Thread Keith Packard
MiDbeScreenPrivPrivRec is not used in the server. Remove it, along with the MI_DBE_SCREEN_PRIV_PRIV macro that tried to use it. Signed-off-by: Keith Packard --- dbe/midbestr.h | 16 1 files changed, 0 insertions(+), 16 deletions(-) diff --git a/dbe/midbestr.h b/dbe

Re: [PATCH] Initialize dev privates before using any

2010-07-01 Thread Keith Packard
x that, if not, here it is: From 4f3397774a48a214755740f846e1eb8995a744bb Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Fri, 30 Apr 2010 13:33:14 -0700 Subject: [PATCH] Destroy screen pixmap on screen close. This avoids a memory leak on server reset. Signed-off-by: Keith Packard --- uxa/uxa.c

[PATCH 2/2] miDbe window priv priv is pre-allocated, no need to use dixSetPrivate

2010-07-01 Thread Keith Packard
, and (in the new dixPrivate world) causes an assert failure. Signed-off-by: Keith Packard --- dbe/midbe.c |6 -- 1 files changed, 0 insertions(+), 6 deletions(-) diff --git a/dbe/midbe.c b/dbe/midbe.c index 954f46e..b43ac1b 100644 --- a/dbe/midbe.c +++ b/dbe/midbe.c @@ -202,12 +

Re: [PULL] PointerKey fixes, stuck grab fix

2010-07-01 Thread Keith Packard
On Fri, 2 Jul 2010 09:00:43 +1000, Peter Hutterer wrote: > Keith, > > please pull the fixes below into master. They fix three different cases > where a button or grab may get stuck, leading to an unresponsive > desktop. Argh. I messed up and merged some of the patches to get them into RC4. Mea

Re: [PULL] PointerKey fixes, stuck grab fix

2010-07-01 Thread Keith Packard
On Fri, 2 Jul 2010 13:38:53 +1000, Peter Hutterer wrote: > Unless I specifically tell you, simply ignore any patches that are from me > or input-related. I do try to send you pull requests, even if it's just one > or two that need to go on master. Ok, cool. Please feel free to chime in on patch

Re: [PATCH] list: fix list macro to not require variables named next.

2010-07-02 Thread Keith Packard
On Fri, 2 Jul 2010 14:51:11 +1000, Dave Airlie wrote: > From: Dave Airlie > > If you didn't call the temp variable for the macro, next, it wouldn't > actually work. This was fixed in 2c0159d21788b16607e6ebe4571b57fe78545c2a (one of the two patches in RC3). -- keith.pack...@intel.com pgpqUX

Re: [PATCH] mi: rename miPointerMoved to miPointerMoveNoEvent.

2010-07-02 Thread Keith Packard
On Fri, 2 Jul 2010 15:31:19 +1000, Peter Hutterer wrote: > Having miPointerMove and miPointerMoved is confusing, especially since both > do the same thing bar the event delivery. Also, miPointerMove calls > miPointerMoved which indicates some confusion in the temporal alignment of > cause and eff

Re: [PATCH] fb: Trim fill to drawable bounds

2010-07-02 Thread Keith Packard
On Fri, 2 Jul 2010 09:43:18 +0100, Chris Wilson wrote: > As pixman does not guard against a fill request outside of the buffer, > we must be be careful and trim oversized fills. Why isn't the clipping in fbPolyFillRect sufficient? fbFill should never be given values beyond the clip region. --

Re: [PATCH] DRI2: track drawable serial numbers

2010-07-02 Thread Keith Packard
On Fri, 2 Jul 2010 12:26:34 -0700, Jesse Barnes wrote: > If a pixmap header is modified or the drawable serial changes, some > aspects of the drawable are likely to have changed so we should > re-allocate the corresponding DRI2 drawable in that case. This is one > way of catching when the root w

Re: [PATCH] DRI2: track drawable serial numbers

2010-07-02 Thread Keith Packard
On Fri, 2 Jul 2010 12:26:34 -0700, Jesse Barnes wrote: > If a pixmap header is modified or the drawable serial changes, some > aspects of the drawable are likely to have changed so we should > re-allocate the corresponding DRI2 drawable in that case. This is one > way of catching when the root

Re: [PATCH] mi: rename miPointerMoved to miPointerMoveNoEvent.

2010-07-06 Thread Keith Packard
On Sun, 04 Jul 2010 22:16:55 +1000, Peter Hutterer wrote: > I think it's fine as it is. moving the pointer always generates an > event, the exception being miPointerMoveNoEvent, explicitly labeled > so. Sounds good to me. Reviewed-by: Keith Packard I will wait to see this in

Re: [PATCH] Initialize dev privates before using any

2010-07-06 Thread Keith Packard
On Mon, 5 Jul 2010 15:30:44 +0300, "Vignatti Tiago (Nokia-MS/Helsinki)" wrote: > I don't have time now to keep digging on it but seems that the fix should be > inside XAA, isn't? That would be ideal, but I don't think it will work -- as discussed in the thread on the intel driver patch, there m

Re: [PATCH] Increase advertised RENDER protocol minor version to 11

2010-07-06 Thread Keith Packard
On Mon, 5 Jul 2010 23:44:17 -0700, Jamey Sharp wrote: > Those changes were released in xserver 1.7, apparently. This patch > looks to me like a low-risk fix to a longstanding bug, so should it > perhaps be applied to 1.9? We may find some client bugs this way, but I think it's appropriate to hav

Re: [PATCH] mi: De-duplicate some code in mipointer.c

2010-07-06 Thread Keith Packard
On Wed, 7 Jul 2010 08:09:31 +1000, Peter Hutterer wrote: > miPointerMoved already has the same code. It's got a bit more -- it only does SIGIO-time pointer motion on the VCP. Seems sensible enough to me though. Reviewed-by: Keith Packard -- keith.pack...@intel.com pgpcRHadi

Re: [PATCH] EXA: Finish access to pixmap if it's prepared at destruction time.

2010-07-07 Thread Keith Packard
On Wed, 7 Jul 2010 12:38:10 +0200, Michel Dänzer wrote: > From: Michel Dänzer > > Previously we assumed every pixmap destroyed during a software fallback was > also created during a software fallback and had access prepared, but that's > not always true. > > Fixes a server abort reported by 邓逸

Re: [PATCH 1/2] OS support: fix writeable client vs IgnoreClient behavior

2010-07-07 Thread Keith Packard
On Wed, 7 Jul 2010 16:11:34 -0700, Aaron Plattner wrote: > Sadly, moving it to the end doesn't look like it'll be enough: > > dix.h:extern _X_EXPORT ClientPtr clients[MAXCLIENTS]; That's just an array of pointers. -- keith.pack...@intel.com pgp8FvTodHl5I.pgp Description: PGP signature __

Re: [PULL] keyboard and button bit flag handling, miPointer deduplication

2010-07-07 Thread Keith Packard
On Wed, 7 Jul 2010 12:59:39 +0300, Tiago Vignatti wrote: > So what's the idea? I think Peter is working on fixing some stuck-key issues, and that these patches are related to that work. Peter? Am I merging stuff I shouldn't be? -- keith.pack...@intel.com pgpxcIaD9LFK0.pgp Description: PGP s

Re: [PATCH libX11 2/4] XStringToKeysym: Special case for XF86 keysyms

2010-07-08 Thread Keith Packard
On Thu, 8 Jul 2010 15:00:33 +0100, Daniel Stone wrote: > +if (strncmp(s, "XF86_", 5) == 0) { > +KeySym ret; > +char *tmp = strdup(s); Please check malloc returns in Xlib... Otherwise, Reviewed-by: Keith Packard -- keith.pack...@intel.com pgp8ndxs3A

Re: [PATCH libX11 2/4] XStringToKeysym: Special case for XF86 keysyms

2010-07-08 Thread Keith Packard
On Thu, 8 Jul 2010 16:50:48 +0100, Daniel Stone wrote: > Jesus, how embarassment. Is the following OK? Yup, looks good. > @@ -159,6 +159,8 @@ XStringToKeysym(_Xconst char *s) > if (strncmp(s, "XF86_", 5) == 0) { > KeySym ret; > char *tmp = strdup(s); > +if (!tmp)

Re: [PATCH] EXA: Finish access to pixmap if it's prepared at destruction time.

2010-07-08 Thread Keith Packard
On Thu, 08 Jul 2010 08:52:42 +0200, Michel Dänzer wrote: > I considered that but decided to keep the fix minimal for now. I'd rather see the code cleaned up; it's not like someone is going to come back later to fix it, and leaving it as is risks having a bug fixed in one place at not the other t

Re: [PATCH] DRI2: use ConfigNotify to re-allocate buffers if root window changes

2010-07-08 Thread Keith Packard
On Thu, 8 Jul 2010 11:39:01 -0700, Jesse Barnes wrote: > If the root window changes size, we need to re-allocate any DRI2 > buffers that share the same pixmap so that they'll pick up the new root > pixmap (if the underlying driver ended up creating a new one). Why is this only relevant at the s

<    2   3   4   5   6   7   8   9   10   11   >