2004-03-03  Ryan Lortie <desrt@desrt.ca>
	* os/utils.c:
	Make VerifyDisplayName only accept numeric server numbers.

	* mi/mieq.c:
	Correct code to ensure out-of-order events are not enqueued (the
	'last event time' variable was never being updated)

2004-02-28  Jaymz Julian  <jaymz@artificial-stupidity.net>
	* configure.ac:
	* hw/kdrive/Makefile.am:
	* hw/kdrive/sdl/Makefile.am:
	* hw/kdrive/sdl/sdl.c:
	A simple SDL based X server for running X on X.  Not for
	production use, of course. --enable-xsdlserver in ./configure
	should make it happen.

2004-02-26  Keith Packard  <keithp@keithp.com>

	* miext/damage/damage.c: (damageDamageRegion):
	Fix offsets for pixmap damage so that damage to a backing pixmap
	gets reported with the right coordinates to a window damage monitor

2004-02-23  Jaymz Julian  <jaymz@artificial-stupidity.net>
	* ChangeLog:
	Fix Formatting in Changelog to be correct
	* fb/fbcompose.c:
	Disable the unaligned 24bit read code for now - it worked under all
	circumstances except for one rare case, where an overread by one byte
	would cause a segfault (think reading the last pixel of a 24bpp plane
	with an odd number of pixels).  It should be possible to easily work
	this and still have the performance boost it offered, so I've just
	commented the code for now, but that's a job for another day.

2004-02-22  Warren Turkal <wt@midsouth.rr.com>
	* Doxyfile:
	add Doxygen config file

2004-02-17  Warren Turkal <wt@midsouth.rr.com>
	completely get rid of NeedNestedPrototypes
	completely get rid of NeedVarargsPrototypes
	remove a lot of NeedFunctionPrototypes
	ansify many function declarations

2004-02-09  Jaymz Julian  <jaymz@artificial-stupidity.net>
	* configure.ac:
	Make --enable-res agree with it's help option (help said
	--enable-res, but configure accepted --enable-xres.  Changed help to
	match the command, to avoid breaking people's existing configurations,
	contrary to Glenn McGrath's patch - but thanks :)

2004-02-05  Jaymz Julian  <jaymz@artificial-stupidity.net>
	* hw/kdrive/src/kdrive.h:
	* hw/kdrive/src/kinput.c:
	* hw/kdrive/itsy/itsy.c:
	* hw/kdrive/linux/linux.c:
	* hw/kdrive/vxworks/vxworks.c:
	Support in kdrive's OS layer for polled input devices as well as
	file based devices

2004-02-04  Jim Gettys  <jg@freedesktop.org>

	* AUTHORS:
	A bit more explaining about drives, or the lack thereof, in
	this package.

2004-02-05  Jaymz Julian  <jaymz@artificial-stupidity.net>
	* hw/kdrive/src/kdrive.c:
	More NULL checks.  These ones are more useful than the last (which
	just made debugging a bunch of problems easier), since you can
	implement less in the basic simplest case driver now (not that i'm
	lazy, mind :-p)

2004-02-05  Jaymz Julian  <jaymz@artificial-stupidity.net>
	* dix/main.c:
	* mi/mipointer.c:
	* mi/midispcur.c:
	I like cows.  And NULL checks :).

2004-02-04  Jaymz Julian  <jaymz@artificial-stupidity.net>
	* hw/xnest/Args.c:
	* hw/xnest/Color.c:
	* hw/xnest/Cursor.c:
	* hw/xnest/Display.c:
	* hw/xnest/Events.c:
	* hw/xnest/Font.c: 
	* hw/xnest/GC.c:
	* hw/xnest/GCOps.c:
	* hw/xnest/GetTime.c:
	* hw/xnest/Handlers.c: 
	* hw/xnest/Init.c:
	* hw/xnest/Keyboard.c 
	* hw/xnest/Pixmap.c:
	* hw/xnest/Pointer.c:
	* hw/xnest/Screen.c:
	* hw/xnest/TestExt.c:
	* hw/xnest/Visual.c:
	* hw/xnest/Window.c:
	* hw/xnest/os2Stub.c:
	Make the xnest server honour config.h if it's available, making it not
	segv on startup when built using autoconf (doesn't, unfortantly, make
	it not completly useless :)

2004-02-04  Jaymz Julian  <jaymz@artificial-stupidity.net>
	* fb/fbblt.c:
	Change the fast blitter to check that src, dst, and width
	are aligned to 8 bit boundries instead of explicitly checking
	for 8, 16, 24, 32 bit, which allows some speedup in certain
	4bpp cases (and probably 1bpp, but I couldn't force my computer
	into that mode, so I don't know if that is helped or not).  
	Also, add upsidedown support to said code.

2004-02-03  Jim Gettys  <jg@freedekstop.org>

	* AUTHORS: Get a first cut at an author's file in place.  
	  Needs more work.

2004-01-24  Eric Anholt  <anholt@FreeBSD.org>

	* GL/.cvsignore:
	* GL/Makefile.am:
	* GL/glx/.cvsignore:
	* GL/glx/Makefile.am:
	* GL/mesa/.cvsignore:
	* GL/mesa/Makefile.am:
	* hw/xwin/.cvsignore:
	- Actually add GLX Makefile.ams. (oops)
	- Add some missing .cvsignores.

2004-01-24  Eric Anholt  <anholt@FreeBSD.org>

	* dri/dri.c:
	Fix a warning (prototype missing).

2004-01-24  Eric Anholt  <anholt@FreeBSD.org>

	* hw/kdrive/ati/ati_dri.c:
	Disable GLX visuals code on !GLXEXT, and remove a useless prototype.

2004-01-24  Eric Anholt  <anholt@FreeBSD.org>

	* Makefile.am:
	* configure.ac:
	* dri/Makefile.am:
	* dri/dri.c: (DRICreateDummyContext), (DRICreateContext):
	* include/Makefile.am:
	- Connect GLX files to the build after repocopy from DRI CVS.  Controlled
	  by --enable-glx switch to ./configure.  GLX won't work until an upcoming
	  commit to fb/
	- Fix up dri/ to handle building with GLX.

2004-01-24  Eric Anholt  <anholt@FreeBSD.org>

	* hw/kdrive/ati/ati.c: (ATIScreenInit), (ATILog2):
	* hw/kdrive/ati/ati.h:
	* hw/kdrive/ati/ati_dri.c: (ATIInitVisualConfigs), (ATIDRIAgpInit),
	(R128DRIKernelInit), (RadeonDRIKernelInit), (ATIDRISwapContext),
	(ATIDRIScreenInit), (ATIDRIFinishScreenInit):
	* hw/kdrive/ati/radeon_composite.c:
	- Add glx visuals code based on XFree86's Radeon driver.
	- Reserve areas for back/depth/span when USING_DRI && GLXEXT.  This
	  would be better in a TransitionTo3d, but we'd need to work with
	  the offscreen memory manager for that.
	- Misc. fixes to ati_dri.c for DRI+GLX.  Needs more work still.

2004-01-24  Eric Anholt  <anholt@FreeBSD.org>

	* configure.ac:
	DRI is off by default, so the configure option should be --enable-dri.

2004-01-24  Eric Anholt  <anholt@FreeBSD.org>

	* hw/kdrive/ati/ati_draw.h:
	Oops, turn fallback output back off.

2004-01-24  Eric Anholt  <anholt@FreeBSD.org>

	* hw/kdrive/ati/ati_dri.c: (ATIDRIInitGARTValues),
	(ATIDRIAddAndMap), (ATIDRIAgpInit), (ATIDRIPciInit),
	(ATIDRIBufInit), (ATIDRIScreenInit), (RadeonDRIFinishScreenInit):
	Whitespace cleanup.

2004-01-15  Keith Packard  <keithp@keithp.com>
	* hw/kdrive/mach64/mach64.h:
	Oops, lost a diff needed for the non-screen format pixmap
	code

2004-01-15  Keith Packard  <keithp@keithp.com>
	* hw/kdrive/vesa/vm86.c: (Vm86Setup), (Vm86Cleanup):
	Fix up some mis-used variable names

2004-01-15  Keith Packard  <keithp@keithp.com>
	* hw/kdrive/mach64/mach64draw.c: (mach64Setup):
	Accelerate non-screen format pixmaps.

2004-01-15  Keith Packard  <keithp@keithp.com>
	* fb/fbpixmap.c: (fbValidateDrawable):
	Oops -- using uninitialized variable in FB_DEBUG code.

2004-01-15  Keith Packard  <keithp@keithp.com>
	* fb/fbpict.c: (fbCompositeSolidMask_nx8x0888),
	(fbCompositeSolidMask_nx8x0565),
	(fbCompositeSolidMask_nx8888x0565),
	(fbCompositeSolidMask_nx8888x0565C), (fbCompositeSrc_8888x0565),
	(fbCompositeTrans_0565xnx0565), (fbCompositeTrans_0888xnx0888),
	(fbCompositeSrcSrc_nxn), (fbComposite), (fbPictureInit):
	* fb/fbpict.h:
	Fix up the fast-path compositing operators; those are useful
	for sources without alpha, but can't be used for sources with
	alpha.  Also, replaced fbCompositeSrcSrc_nxn with call to
	fbBlt as this function must handle 1, 4, 8, 16, 24, 32 bpp
	objects.  Would be nice to optimize fbBlt for common cases
	involving 8, 16, 24 and 32bpp.

2004-01-15  Keith Packard  <keithp@keithp.com>
	* dix/dixutils.c: (ISOLatin1ToLower), (CompareISOLatin1Lowered):
	* include/dix.h:
	Add CompareISOLatin1Lowered.
	* include/picturestr.h:
	* render/filter.c: (PictureGetFilterId), (PictureAddFilter),
	(PictureSetDefaultFilters), (SetPictureFilter):
	Change filter management to permit varargs filters.
	Use CompareISOLatin1Lowered to make filter name tests
	case-insensitive (as required by spec).
	
2004-01-15  Keith Packard  <keithp@keithp.com>
	* dix/dispatch.c: (Dispatch):
	FlushIfCriticalOutputPending in dispatch loop to flush out
	damage events quickly.

2004-01-15  Keith Packard  <keithp@keithp.com>
	* composite/compinit.c: (compAddArgbVisual):
	* dix/colormap.c:
	* fb/fbcmap.c: (fbInitVisuals):
	* include/scrnintstr.h:
	Add alphaMask to visual so that pixel allocations for ARGB
	visuals can include an opaque pixel value.

2004-01-14  Anders Carlsson  <andersca@gnome.org>

	* hw/kdrive/src/kmode.c: Add IPAQ modeline by Dennis Noordsij.

2004-01-12  Harold L Hunt II <huntharo@msu.edu>
	* configure.ac:
	* hw/Makefile.am:
	* hw/xwin/Makefile.am: Check in initial configuration file changes
	to enable building Cygwin/X (XWin Server).

2004-01-10  Eric Anholt  <anholt@FreeBSD.org>

	* hw/kdrive/ati/ati_draw.c:
	* hw/kdrive/ati/r128_blendtmp.h:
	Support 1x1 repeat sources in R128's Blend.

2004-01-09  Eric Anholt  <anholt@FreeBSD.org>

	* hw/kdrive/ati/ati.c: (ATICardInit):
	* hw/kdrive/ati/ati.h:
	* hw/kdrive/ati/ati_draw.c:
	* hw/kdrive/ati/ati_draw.h:
	* hw/kdrive/ati/ati_dri.c: (ATIDRIScreenInit), (ATIDRICloseScreen):
	Change PCI ID information field to be one of r128, r100, r200, r300.
	This is all the information we need so far.  Put that information
	into atic, and use it correctly in the code (unlike before).

2004-01-08  Eric Anholt  <anholt@FreeBSD.org>

	* hw/kdrive/src/kaapict.c: (kaaTryDriverComposite):
	Use the scratch area for Composite when one of src or dst is
	in memory.

2004-01-08  Eric Anholt  <anholt@FreeBSD.org>

	* Xext/Makefile.am:
	Add xvmcext.h to source list so distcheck succeeds.

2004-01-09  Amaury Jacquot <sxpert@esitcom.org>

	* configure.ac:
	make Xv enabled by default

2004-01-08  Eric Anholt  <anholt@FreeBSD.org>

	* configure.ac:
	Oops, --enable-composite should be --disable-composite in description now.

2004-01-08  Eric Anholt  <anholt@FreeBSD.org>

	* configure.ac:
	Enable composite extension by default.

2004-01-08  Eric Anholt  <anholt@FreeBSD.org>

	* hw/kdrive/ati/ati_draw.c:
	* hw/kdrive/ati/radeon_composite.c: (RadeonComposite):
	Compile fixes for non-DRI case and for non-C99 compiler.

2004-01-08  Eric Anholt  <anholt@FreeBSD.org>

	* hw/kdrive/ati/ati.c: (ATIScreenInit):
	* hw/kdrive/ati/ati.h:
	* hw/kdrive/ati/ati_draw.c: (ATIUploadToScreen),
	(ATIUploadToScratch), (R128GetDatatypePict), (ATIGetDatatypeBpp):
	* hw/kdrive/src/kaa.c: (kaaMoveInPixmap):
	* hw/kdrive/src/kaapict.c: (kaaTryDriverBlend):
	* hw/kdrive/src/kdrive.h:
	- Add a new UploadToScratch kaa hook for putting the data for a single
	  pixmap into temporary offscreen storage.  Subsequent UploadToScratch
	  may clobber the data of previous ones.  This allows hardware
	  acceleration of composite operations on glyphs.
	- Add a new UploadToScreen kaa hook for doing the actual moving of
	  data to framebuffer.  This would allow us to do things like hostdata
	  blits or memcpy to agp and then blit.
	- Add an UploadToScreen on ATI which is just memcpy, but which
	  will be replaced with a hostdata blit soon.
	- Add UploadToScratch on ATI and reserve 64k of scratch space.  This
	  provided a 3x speedup of rgb24text on my Radeon.

2004-01-07  Eric Anholt  <anholt@FreeBSD.org>

	* configure.ac:
	* hw/kdrive/Makefile.am:
	Disconnect the sis300 driver.  I've never managed to fix it,
	and it breaks the build on PPC.

2004-01-06  Eric Anholt  <anholt@FreeBSD.org>

	reviewed by: <delete if not using a buddy>

	* hw/kdrive/ati/radeon_composite.c: (RadeonPrepareComposite),
	(RadeonComposite):
	Speed things up slightly by removing Z values from emitted
	vertices and by emitting as a tri fan rather than a tri list.
	A rect list would save an additional vertex (out of 4) per
	rectangle, but there's no measurable speed difference and
	the tri fan may be useful when transforms come into play.

2004-01-05  Eric Anholt  <anholt@FreeBSD.org>

	* fb/fb.h:
	Fix a swapping of drawable.[xy] in #ifdef COMPOSITE

2004-01-04  Eric Anholt  <anholt@FreeBSD.org>

	* include/picture.h:
	Fix PICT_x4r4g4b4 and PICT_xb4g4r4 definitions' alpha.

2004-01-04  Eric Anholt  <anholt@FreeBSD.org>

	* hw/kdrive/src/kaapict.c: (kaaTryDriverSolidFill),
	(kaaTryDriverBlend), (kaaTryDriverComposite):
	- Don't forget to UNINIT miComputeCompositeRegion's regions
	- Fix a bit of whitespace nearby.

2004-01-04  Eric Anholt  <anholt@FreeBSD.org>

	* hw/kdrive/ati/ati_draw.c:
	* hw/kdrive/ati/radeon_composite.c: (RadeonTextureSetup):
	- Correctly set the texture coordinate set source for the
	  second texture unit.
	- Re-enable Radeon's Composite accel now that fonts work
	  again.

2004-01-03  Eric Anholt  <anholt@FreeBSD.org>

	* hw/kdrive/src/kaapict.c: (kaaPrintCompositeFallback),
	(kaaTryDriverComposite), (kaaComposite):
	- Call appropriate Done function for Composite.
	- Don't allow src transforms for Copy acceleration.
	- Minor whitespace fixes.

2004-01-03  Eric Anholt  <anholt@FreeBSD.org>

	* hw/kdrive/ati/ati_draw.c:
	* hw/kdrive/ati/radeon_composite.c: (RadeonTextureSetup),
	(RadeonPrepareComposite):
	- Add more Composite operations, including Saturate, to
	  Radeon Composite accel.  I don't 100% trust that the math
	  works for Saturate, but I can't tell from existing information.
	- Fix texture pitch fallback checks.
	- Fallback when src or mask have transforms.
	- Disable Radeon Composite accel until the offset thing is fixed.
	- Set offscreenPitch to 64 on Radeon thanks to new information
	  and a kaa fix.  Fixes acceleration at width!=1024.

2004-01-03  Eric Anholt  <anholt@FreeBSD.org>

	* hw/kdrive/src/kaapict.c: (kaaTryDriverSolidFill),
	(kaaTryDriverBlend), (kaaTryDriverComposite), (kaaComposite):
	Split the various attempts at accelerating Composite into
	separate functions.  Along with making things more readable,
	it fixes a problem where the coordinates would get messed up
	if acceleration failed due to things like pixmaps being in
	the wrong locations.

2004-01-03  Eric Anholt  <anholt@FreeBSD.org>

	* hw/kdrive/src/kdrive.h:
	* hw/kdrive/src/koffscreen.c: (KdOffscreenAlloc),
	(KdOffscreenFree):
	Actually align the offset of allocated offscreen areas.

2003-12-31  Eric Anholt  <anholt@FreeBSD.org>

	* hw/kdrive/ati/radeon_composite.c: (RadeonTextureSetup):
	Some strange \240 character snuck into the original commit of
	this file.

2003-12-30  Eric Anholt  <anholt@FreeBSD.org>

	* hw/kdrive/ati/ati_drawtmp.h:
	There's never a copy between different depths. Remove the check.

2003-12-30  Eric Anholt  <anholt@FreeBSD.org>

	* hw/kdrive/ati/Makefile.am:
	* hw/kdrive/ati/ati_draw.c: (RadeonSwitchTo2D), (RadeonSwitchTo3D):
	* hw/kdrive/ati/ati_draw.h:
	* hw/kdrive/ati/ati_drawtmp.h:
	* hw/kdrive/ati/ati_reg.h:
	* hw/kdrive/ati/radeon_composite.c: (ATILog2),
	(RadeonTextureSetup), (RadeonPrepareComposite), (RadeonComposite),
	(RadeonDoneComposite), (RadeonPrepareBlend), (RadeonBlend),
	(RadeonDoneBlend):
	* hw/kdrive/src/kaapict.c: (kaaComposite):
	* hw/kdrive/src/kdrive.h:
	- Add new Composite hook for kdrive drivers, which only ensures that
	  the pixmaps are offscreen and don't have alpha maps.  It is the
	  last case checked before going to software fallback
	- Use the new Composite hook in the ati driver to implement
	  acceleration of most Composites that get done in an xcompmgr
	  environment on r100 series cards.  It is only available when using
	  the DRM.  There are still some corruption issues, but the DRI is
	  still non-default and I need to get this into version control.

2003-12-29  Eric Anholt  <anholt@FreeBSD.org>

	* hw/kdrive/ati/Makefile.am:
	* hw/kdrive/chips/Makefile.am:
	* hw/kdrive/mga/Makefile.am:
	* hw/kdrive/nvidia/Makefile.am:
	* hw/kdrive/r128/Makefile.am:
	* hw/kdrive/sis300/Makefile.am:
	* hw/kdrive/smi/Makefile.am:
	Add dependency lines so that servers are rebuilt when server
	libraries are changed.

2003-12-28  Eric Anholt  <anholt@FreeBSD.org>

	* Makefile.am:
	* configure.ac:
	* dri/.cvsignore:
	* dri/Makefile.am:
	* dri/dri.c: (DRIDrvMsg), (DRIScreenInit), (DRIFinishScreenInit),
	(DRICloseScreen), (DRIExtensionInit), (DRIReset),
	(DRIQueryDirectRenderingCapable), (DRIOpenConnection),
	(DRIAuthConnection), (DRICloseConnection),
	(DRIGetClientDriverName), (DRICreateContextPriv),
	(DRICreateContextPrivFromHandle), (DRIDestroyContextPriv),
	(DRICreateDummyContext), (DRIDestroyDummyContext),
	(DRICreateContext), (DRIDestroyContext), (DRIContextPrivDelete),
	(DRIClipNotifyAllDrawables), (DRITransitionToSharedBuffers),
	(DRITransitionToPrivateBuffers), (DRITransitionTo3d),
	(DRITransitionTo2d), (DRICreateDrawable), (DRIDestroyDrawable),
	(DRIDrawablePrivDelete), (DRIGetDrawableInfo), (DRIGetDeviceInfo),
	(DRICreateInfoRec), (DRIDestroyInfoRec), (DRIWakeupHandler),
	(DRIBlockHandler), (DRIDoWakeupHandler), (DRIDoBlockHandler),
	(DRISwapContext), (DRIGetContextStore), (DRIWindowExposures),
	(DRITreeTraversal), (DRICopyWindow), (DRIGetSecs),
	(DRIComputeMilliSeconds), (DRISpinLockTimeout), (DRILockTree),
	(DRIValidateTree), (DRIPostValidateTree), (DRIClipNotify),
	(DRIGetDrawableIndex), (DRIGetDrawableStamp),
	(DRIPrintDrawableLock), (DRILock), (DRIUnlock),
	(DRIGetSAREAPrivate), (DRIGetContext), (DRIGetWrappedFuncs),
	(DRIQueryVersion), (_DRIAdjustFrame), (DRIAdjustFrame),
	(DRIOpenFullScreen), (_DRICloseFullScreen), (DRICloseFullScreen),
	(DRIMoveBuffersHelper):
	* dri/dri.h:
	* dri/dristruct.h:
	* dri/sarea.h:
	* dri/xf86dri.c: (XFree86DRIExtensionInit), (XF86DRIResetProc),
	(ProcXF86DRIQueryVersion),
	(ProcXF86DRIQueryDirectRenderingCapable),
	(ProcXF86DRIOpenConnection), (ProcXF86DRIAuthConnection),
	(ProcXF86DRICloseConnection), (ProcXF86DRIGetClientDriverName),
	(ProcXF86DRICreateContext), (ProcXF86DRIDestroyContext),
	(ProcXF86DRICreateDrawable), (ProcXF86DRIDestroyDrawable),
	(ProcXF86DRIGetDrawableInfo), (ProcXF86DRIGetDeviceInfo),
	(ProcXF86DRIOpenFullScreen), (ProcXF86DRICloseFullScreen),
	(ProcXF86DRIDispatch), (SProcXF86DRIQueryVersion),
	(SProcXF86DRIDispatch):
	* dri/xf86dri.h:
	* dri/xf86dristr.h:
	* drm/.cvsignore:
	* drm/Makefile.am:
	* drm/drm.h:
	* drm/drmhash.c: (HashHash), (HashCreate), (HashDestroy),
	(HashFind), (HashLookup), (HashInsert), (HashDelete), (HashNext),
	(HashFirst):
	* drm/libdrm.c: (drmMsg), (drmMalloc), (drmFree), (drmStrdup),
	(drmGetKeyFromFd), (drmGetEntry), (drmMatchBusID), (drmOpenDevice),
	(drmOpenMinor), (drmAvailable), (drmOpenByBusid), (drmOpenByName),
	(drmOpen), (drmFreeVersion), (drmFreeKernelVersion),
	(drmCopyVersion), (drmGetVersion), (drmGetLibVersion),
	(drmFreeBusid), (drmGetBusid), (drmSetBusid), (drmGetMagic),
	(drmAuthMagic), (drmAddMap), (drmRmMap), (drmAddBufs),
	(drmMarkBufs), (drmFreeBufs), (drmClose), (drmMap), (drmUnmap),
	(drmGetBufInfo), (drmMapBufs), (drmUnmapBufs), (drmDMA),
	(drmGetLock), (drmUnlock), (drmGetReservedContextList),
	(drmFreeReservedContextList), (drmCreateContext),
	(drmSwitchToContext), (drmSetContextFlags), (drmGetContextFlags),
	(drmDestroyContext), (drmCreateDrawable), (drmDestroyDrawable),
	(drmAgpAcquire), (drmAgpRelease), (drmAgpEnable), (drmAgpAlloc),
	(drmAgpFree), (drmAgpBind), (drmAgpUnbind), (drmAgpVersionMajor),
	(drmAgpVersionMinor), (drmAgpGetMode), (drmAgpBase), (drmAgpSize),
	(drmAgpMemoryUsed), (drmAgpMemoryAvail), (drmAgpVendorId),
	(drmAgpDeviceId), (drmScatterGatherAlloc), (drmScatterGatherFree),
	(drmWaitVBlank), (drmError), (drmCtlInstHandler),
	(drmCtlUninstHandler), (drmFinish), (drmGetInterruptFromBusID),
	(drmAddContextTag), (drmDelContextTag), (drmGetContextTag),
	(drmAddContextPrivateMapping), (drmGetContextPrivateMapping),
	(drmGetMap), (drmGetClient), (drmGetStats),
	(drmSetInterfaceVersion), (drmCommandNone), (drmCommandRead),
	(drmCommandWrite), (drmCommandWriteRead):
	* drm/libdrm.h:
	* hw/kdrive/ati/Makefile.am:
	* hw/kdrive/ati/ati.c: (make_busid), (ATICardInit),
	(ATIScreenInit):
	* hw/kdrive/ati/ati.h:
	* hw/kdrive/ati/ati_draw.c: (ATIWaitAvailMMIO), (RadeonWaitIdle),
	(R128WaitIdle), (ATIWaitIdle), (ATIDMAStart), (ATIDMAStop),
	(ATIDMADispatchIndirect), (ATIDMAFlushIndirect), (ATIDMAGetBuffer),
	(R128GetDatatypePict), (ATIGetDatatypeBpp), (ATIDoneSolid):
	* hw/kdrive/ati/ati_draw.h:
	* hw/kdrive/ati/ati_drawtmp.h:
	* hw/kdrive/ati/ati_dri.c: (ATILog2), (ATIDRIInitGARTValues),
	(ATIDRIAddAndMap), (ATIDRIAgpInit), (ATIDRIPciInit),
	(R128DRIKernelInit), (RadeonDRIKernelInit), (ATIDRIBufInit),
	(ATIDRIIrqInit), (ATIDRISwapContext), (ATIDRIScreenInit),
	(R128DRIFinishScreenInit), (RadeonDRIFinishScreenInit),
	(ATIDRIFinishScreenInit), (ATIDRICloseScreen):
	* hw/kdrive/ati/ati_dri.h:
	* hw/kdrive/ati/ati_dripriv.h:
	* hw/kdrive/ati/ati_reg.h:
	* hw/kdrive/ati/ati_sarea.h:
	* hw/kdrive/ati/ati_stub.c: (InitCard):
	* hw/kdrive/ati/r128_blendtmp.h:
	* hw/kdrive/ati/r128_common.h:
	* hw/kdrive/ati/r128_sarea.h:
	* hw/kdrive/ati/radeon_common.h:
	* hw/kdrive/ati/radeon_sarea.h:
	* hw/kdrive/src/Makefile.am:
	* hw/kdrive/src/kaa.c: (kaaPixmapAllocArea), (kaaMoveInPixmap),
	(kaaCreatePixmap):
	* hw/kdrive/src/kaa.h:
	* hw/kdrive/src/kaapict.c: (kaaCompositeFallbackPictDesc),
	(kaaPrintCompositeFallback), (kaaGetPixelFromRGBA),
	(kaaGetRGBAFromPixel), (kaaComposite):
	* hw/kdrive/src/kdrive.h:
	* mi/miinitext.c:
	Merge dri-0-1-branch to trunk.  Notable changes:
	- Add libdrm and libdri.  Portions of the DRI extension are stubbed
	  out.
	- Use the DRM in the ATI driver when available.  This provides a
	  minor performance improvement in x11perf, and opens the possibility
	  of using the 3d hardware for acceleration in the future.
	- Implement solid fill acceleration for Composite in KAA.
	- Implement Blend hook for Composite and use it on r128.
	- Fix a bug of mine that resulted in overuse of offscreen memory.
	- Fix many miscellaneous bugs in ATI driver and add PCI IDs.

2003-12-29  Jaymz Julian <jaymz@artificial-stupidity.net>
	* fb/fbpict.c:
	* fb/fbcompose.c:
	C++ comments -> C comments

2003-12-28  Jaymz Julian <jaymz@artificial-stupidity.net>
	* fb/fbpict.c:
	"Clean up own dogshit" aka Fix the unaligned case of 
	fbCompositeTrans_0565xnx0565 to iterate horizontally like it should,
	not just draw the left 1-2 pixels.

2003-12-18  Keith Packard  <keithp@keithp.com>
	* fb/fbblt.c:
	Move FbDeclareMergeRop back above statements to make non c++
	compilers happy.
	
2003-12-22  Jaymz Julian <jaymz@artificial-stupidity.net>
	* fb/fbblt.c:
	* fb/fbpict.c:
	Re-enable the fast simpleblit code, this time checking that bpp is a
	multiple of 8, which is a requirement for it working correctly in all
	cases.
	
2003-12-21  Jaymz Julian <jaymz@artificial-stupidity.net>
	* fb/fbpict.c: 
	Fix the fbCompositeSrcSrc_nxn() looping code to loop to zero, not 
	to xSrc.  This should fix the "my pixmap is too small" issue some 
	where experiencing.

	Updated the changelog for the stuff I forgot to add for the past few
	days.

2003-12-20  Jaymz Julian <jaymz@artifical-stupidity.net>
	* fb/fbpict.c:
	* fb/fbblt.c:
	Add a special case to the fbBlt for the very common case of just blitting
	directly (GXcopy) and not applying any ops.  Profiles show this to be
	significnatly faster, although I'd like to one day change it to be able
	to choose the fastest memcpy() for this system ala xine when it	benchmarks
	on startup (does it still do that?), but i'm reluctant to do that right now, 
	since it means that it can't be inlined, and there'd be a function call
	per line... eew!  (the correct solution is probably 5 blitters or something,
	heh)

	... which was rolled back five minutes later, due to being off by one
	when compiled with optimizations turned on.

2003-12-19  Jaymz Julian <jaymz@artificial-stupidity.net>
	* fb/fbpict.c:
	Changed fbCompositeTrans_0565xnx0565 to have an aligned path similar
	to the 24bit version of same, as well as making it do it's alpha blend 
	in a single pass for 2x16bit values rather than a seperate pass for the
	high/low 16 bits
	
	Optimize fbCompositeTrans_0888xnx0888()'s unaligned path by doing the
	unpacking on source rather than dest (which reuiqres half the amount
	of variables to do so), which also has the effect of making the code 
	look slightly less on crack (it isn't, but it looks less on crack :-p)

2003-12-18  Jaymz Julian <jaymz@artificial-stupidity.net>
	* configure.ac: 
	Check if unaligned word accesses work as you'd expect
	
	* fb/fbcomposite.c: 
	If they do, make fetch_r8g8b8() use them
	
	* fb/fbpict.h:
	* fb/fbpict.c: 
	Optimize 24bit (and 16bit colour less so) mode significantly, by 
	making all reads aligned if easily possible, and also using a 
	different composite function (see fastcombine32).

	Make fbCompositeSrcSrc_nxn() know about repeating sources, and start
	a whitelist check for functions that know this so they can be 
	incrementally implented.

2003-12-07  Eric Anholt  <anholt@FreeBSD.org>

	* configure.ac:
	* hw/kdrive/Makefile.am:
	* hw/kdrive/sis300/.cvsignore:
	* hw/kdrive/sis300/Makefile.am:
	* hw/kdrive/sis300/sis.c: (SiSCardInit), (SiSCardFini),
	(SiSScreenInit), (SiSScreenFini), (SiSMapReg), (SiSUnmapReg),
	(SiSInitScreen), (SiSFinishInitScreen), (SiSCreateResources),
	(SiSPreserve), (SiSRestore), (SiSDPMS), (SiSEnable), (SiSDisable),
	(SiSGetColors), (SiSPutColors):
	* hw/kdrive/sis300/sis.h:
	* hw/kdrive/sis300/sis_draw.c: (SiSWaitAvailMMIO), (SiSWaitIdle),
	(SiSPrepareSolid), (SiSSolid), (SiSDoneSolid), (SiSPrepareCopy),
	(SiSCopy), (SiSDoneCopy), (SiSDrawInit), (SiSDrawEnable),
	(SiSDrawDisable), (SiSDrawFini), (SiSDrawSync):
	* hw/kdrive/sis300/sis_reg.h:
	* hw/kdrive/sis300/sis_stub.c: (InitCard), (InitOutput),
	(InitInput), (ddxUseMsg), (ddxProcessArgument):
	Add initial SiS 300-series (300, 305, 540, 630, 730) driver based
	off of the ATI driver.  It suffers from hw/sw synchronization
	problems, it looks like, but may be good enough to work on Render
	acceleration experiments.  Committing it as-is so I don't lose it
	again.

2003-12-01  Keith Packard  <keithp@keithp.com>

	* miext/damage/damage.c: (damageComposite), (damageGlyphs),
	(damageFillSpans), (damageSetSpans), (damagePutImage),
	(damageCopyArea), (damageCopyPlane), (damagePolyPoint),
	(damagePolylines), (damagePolySegment), (damagePolyRectangle),
	(damagePolyArc), (damageFillPolygon), (damagePolyFillRect),
	(damagePolyFillArc), (damagePolyText8), (damagePolyText16),
	(damageImageText8), (damageImageText16), (damagePushPixels):
	Trim damage to CompositeClips for GC and Picture ops.
	
	* os/io.c: (FlushAllOutput):
	Trust SmartSchedule to run each slice long enough and make
	FlushAllOutput actually flush, even with pending requests.

2003-12-01  Keith Packard  <keithp@keithp.com>

	* composite/compinit.c: (compCloseScreen), (compScreenInit):
	* composite/compint.h:
	* composite/compwindow.c: (compPositionWindow), (compClipNotify),
	(compWindowUpdateAutomatic):
	Wrap ClipNotify to see region motions during MoveWindow.
	
	Check window reorigin in PositionWindow and bump pixmap
	serial numbers to revalidate GCs.

	Fix picture clip region origin in automatic update
	
	* damageext/damageext.c: (DamageClientCallback):
	Initialize client private 'critical' value
	
	* fb/fbpixmap.c: (fbValidateBits), (fbValidateDrawable):
	* fb/fbscreen.c: (fbFinishScreenInit):
	Clean up pixmap bounds checking code to only affect
	contents allocated by fb.
	
	* render/mipict.c: (miCompositeSourceValidate),
	(miComputeCompositeRegion):
	Oops.  Call SourceValidate for Composite operations.

	* configure.ac:
	* hw/kdrive/Makefile.am:
	* hw/kdrive/chips/.cvsignore:
	* hw/kdrive/chips/Imakefile:
	* hw/kdrive/chips/Makefile.am:
	* hw/kdrive/chips/chips.c: (chipsRandRSetConfig), (chipsRandRInit),
	(chipsFinishInitScreen), (chipsCreateResources):
	* hw/kdrive/chips/chipsdraw.c: (chipsWaitIdle),
	(chipsPrepareSolid), (chipsPrepareCopy), (chipsDrawInit),
	(chipsDrawEnable):
	Add Xchips server (vesa based)
	
2003-12-01  Anders Carlsson  <andersca@gnome.org>

	* hw/kdrive/fbdev/fbdev.c: (fbdevModeSupported),
	(fbdevConvertMonitorTiming), (fbdevScreenInitialize),
	(fbdevEnable):
	Add support for setting the video mode.
	
2003-12-01  Phil Blundell  <pb@nexus.co.uk>

	* hw/kdrive/fbdev/fbdev.c (fbdevRandRSetConfig): Call
	KdShadowUnset before fbdevSetShadow.

2003-11-30  Eric Anholt  <anholt@FreeBSD.org>

	* configure.ac:
	* hw/kdrive/Makefile.am:
	* hw/kdrive/ati/Makefile.am:
	* hw/kdrive/ati/ati.c: (ATICardInit), (ATICardFini),
	(ATIScreenInit), (ATIScreenFini), (ATIInitScreen),
	(ATIFinishInitScreen), (ATICreateResources), (ATIPreserve),
	(ATIRestore), (ATIDPMS), (ATIEnable), (ATIDisable), (ATIGetColors),
	(ATIPutColors):
	* hw/kdrive/ati/ati.h:
	* hw/kdrive/ati/ati_stub.c: (ddxUseMsg), (ddxProcessArgument):
	* hw/kdrive/fbdev/fbdev.c: (fbdevInitialize):
	* hw/kdrive/src/kdrive.h:
	- Add fbdev mode-setting backend to Xati.  It and vesa are compiled
	  in when available, with fbdev being used by default.
	- Use depth 16 by default when vesa backend is used.
	- Add MMIO defines for PowerPC (should be in a common location).

	Many thanks for Michel Daenzer for much of this code.

2003-11-30  Eric Anholt  <anholt@FreeBSD.org>

	* hw/kdrive/ati/ati.c:
	Add more RV250 PCI IDs.

2003-11-30  Eric Anholt  <anholt@FreeBSD.org>

	* hw/kdrive/ati/ati_draw.c:
	* hw/kdrive/mach64/mach64.c:
	* hw/kdrive/src/vga.c:
	Remove sys/io.h inclusion from some files that didn't need it, and
	change asm/io.h to sys/io.h in vga.c, which newer Linux complains
	about.

2003-11-25  Eric Anholt  <anholt@FreeBSD.org>

	* hw/kdrive/ati/ati.c:
	Add new Radeon 9200 PCI IDs.

2003-11-23  Eric Anholt  <anholt@FreeBSD.org>

	* hw/kdrive/ati/ati_draw.c: (ATIWaitAvail), (RadeonWaitIdle),
	(ATISetup), (ATIPrepareSolid), (ATIPrepareCopy), (ATIDrawInit):
	- Fix Radeon offscreen pixmap pitch alignment.
	- Remove usleeps from idle and waitavail code, recommended by keithp.
	- Add a workaround for apparent broken acceleration with Rage 128 and
	  offset alignment with 8-bit acceleration (24-hack and plain 8-bit).
	- Minor cleanup of setup code.

2003-11-22  Eric Anholt  <anholt@FreeBSD.org>

	* hw/kdrive/ati/ati.c:
	Add RV250 PCI IDs.

2003-11-21  Keith Packard  <keithp@keithp.com>

	From: fredrikh@gmx.net

	* composite/compinit.c: (compAddArgbVisual):
	Clean up memory leak (installedCmaps)
	
	* configure.ac:
	Fix SCREENSAVER extension selection code

2003-11-21  Keith Packard  <keithp@keithp.com>

	* composite/compwindow.c: (compCopyWindow):
	Offset for CopyWindow was wrong; resizing under twm
	demonstrated this.
	
	* miext/damage/damage.c: (damageDamageRegion):
	Clip damage to monitored drawable, not just target drawable.
	This avoids accumulating damage outside the monitored window.

	* render/mipict.c: (miClipPictureReg), (miComputeCompositeRegion):
	Clip regions for mask/src were offset wrong.
	
	* xfixes/region.c: (ProcXFixesCopyRegion), (SProcXFixesCopyRegion),
	(ProcXFixesCombineRegion), (SProcXFixesCombineRegion),
	(ProcXFixesInvertRegion), (SProcXFixesInvertRegion),
	(ProcXFixesTranslateRegion), (SProcXFixesTranslateRegion):
	* xfixes/xfixes.c: (XFixesNumberRequests):
	* xfixes/xfixesint.h:
	Eliminate offset arguments in combining operators,
	create separate CopyRegion and TranslateRegion requests.
	

2003-11-19  Eric Anholt  <anholt@FreeBSD.org>

	* hw/kdrive/ati/ati.c:
	* hw/kdrive/ati/ati.h:
	* hw/kdrive/ati/ati_draw.c: (ATISetup), (ATIPrepareSolid),
	(ATISolid), (ATIPrepareCopy), (ATICopy), (ATIDrawInit),
	(ATIDrawEnable):
	* hw/kdrive/ati/ati_reg.h:
	* hw/kdrive/src/kaa.c: (kaaPixmapAllocArea):
	- Fix a bug in pitch alignment for offscren pixmaps.
	- Add 24-bit acceleration for Xati using the 8-bit trick from mach64.
	- Add offscreen pixmap support to Xati.

2003-11-19  Keith Packard  <keithp@keithp.com>

	* composite/compalloc.c: (compFreePixmap), (compReallocPixmap):
	* composite/compext.c:
	* composite/compinit.c: (compCloseScreen), (compScreenInit):
	* composite/compint.h:
	* composite/compwindow.c: (compCheckRedirect),
	(compPositionWindow), (compMoveWindow), (compResizeWindow),
	(compChangeBorderWidth), (compCopyWindow):
	* dix/window.c:
	(Yes, these are all related changes).  Rework window manipulation
	while Composite is enabled.  The basic problem was when the
	window was resized, the offscreen pixmap would get resized and if
	that shrunk, the eventual CopyWindow call would not be able to get
	bits.  Now, all resizes are managed by allocating a new pixmap
	and hanging on to the old one until after all of the CopyWindow
	calls are done.
	A related change was to reset the borderClip back to the
	parent-limited version when removing redirection from a window
	so that the UnmapWindow operation within that uses the correct
	value

2003-11-19  Eric Anholt  <anholt@FreeBSD.org>

	* hw/kdrive/ati/ati.c:
	* hw/kdrive/ati/ati_draw.c: (ATISetup), (ATIDrawInit),
	(ATIDrawEnable):
	- Fix confusion of depth/bitsPerPixel in ati_draw.c
	- Disable acceleration with 24bpp due to apparent broken acceleration.
	  Accel at 24bpp was the cause of the crashes when people tried to use
	  any depth over 16.  XFree86 doesn't support 24 either.
	- Disable at < 8bpp, too.
	- Add the other Rage 128 PCI IDs.
	- Remove unnecessary setting of scissor registers (only default
	  scissor gets used).

2003-11-19  Eric Anholt  <anholt@FreeBSD.org>

	* configure.ac:
	* hw/kdrive/Makefile.am:
	* hw/kdrive/ati/.cvsignore:
	* hw/kdrive/ati/Makefile.am:
	* hw/kdrive/ati/ati.c: (ATICardInit), (ATICardFini),
	(ATIScreenInit), (ATIScreenFini), (ATIMapReg), (ATIUnmapReg),
	(ATISetMMIO), (ATIResetMMIO), (ATIDPMS), (ATIEnable), (ATIDisable),
	(ATIRestore):
	* hw/kdrive/ati/ati.h:
	* hw/kdrive/ati/ati_draw.c: (ATIWaitAvail), (RadeonWaitIdle),
	(R128WaitIdle), (ATIWaitIdle), (ATISetup), (ATIPrepareSolid),
	(ATISolid), (ATIDoneSolid), (ATIPrepareCopy), (ATICopy),
	(ATIDoneCopy), (ATIDrawInit), (ATIDrawEnable), (ATIDrawDisable),
	(ATIDrawFini), (ATIDrawSync):
	* hw/kdrive/ati/ati_reg.h:
	* hw/kdrive/ati/ati_stub.c: (InitCard), (InitOutput), (InitInput),
	(ddxUseMsg), (ddxProcessArgument):
	* hw/kdrive/linux/linux.c: (LinuxFindPci):
	* hw/kdrive/src/kdrive.h:
	- Add PCI information (device/vendor id, bus location) to KdCardAttr
	  to help with ati, and future DRM drivers.
	- Add new "ati" kdrive driver.  It has ancestry in the r128 driver
	  from andersca, but took a detour through being the WIP SiS 300
	  driver on the way.  It supports Radeon (tested on QD VIVO and 7500)
	  and Rage 128.  Current limitations include that it requires depth 16
	  and that the other Rage 128 PCI IDs aren't included yet.

2003-11-18  Keith Packard  <keithp@keithp.com>

	* hw/kdrive/src/koffscreen.c: (KdOffscreenFree):
	Reset available offscreen segment save function pointer.
	(Not a functional change, just cleaning up a bit)
	
	* hw/kdrive/vesa/vesa.c: (vesaEnable):
	Reset the screen->memory_base value when frame buffer is
	remapped.  This makes sure new off-screen allocations point at
	the newly mapped region rather than the old (now unmapped) region.

2003-11-18  Seth W. Klein  <sk@sethwklein.net>

	* hw/kdrive/chips/chipsstub.c: (ddxUseMsg):
	* hw/kdrive/fbdev/fbinit.c: (ddxUseMsg):
	* hw/kdrive/i810/i810stub.c: (ddxUseMsg):
	* hw/kdrive/igs/igsstub.c: (ddxUseMsg):
	* hw/kdrive/ipaq/ipaq.c: (ddxUseMsg):
	* hw/kdrive/itsy/itsy.c: (ddxUseMsg):
	* hw/kdrive/mach64/mach64stub.c: (ddxUseMsg):
	* hw/kdrive/mga/mgastub.c: (ddxUseMsg):
	* hw/kdrive/nvidia/nvidiastub.c: (ddxUseMsg):
	* hw/kdrive/pcmcia/pcmciastub.c: (ddxUseMsg):
	* hw/kdrive/r128/r128stub.c: (ddxUseMsg):
	* hw/kdrive/savage/s3stub.c: (ddxUseMsg):
	* hw/kdrive/sis530/sisstub.c: (ddxUseMsg):
	* hw/kdrive/smi/smi.h:
	* hw/kdrive/smi/smistub.c: (ddxUseMsg):
	* hw/kdrive/src/kdrive.c: (KdUseMsg):
	* hw/kdrive/src/kdrive.h:
	* hw/kdrive/trident/tridentstub.c: (ddxUseMsg):
	* hw/kdrive/trio/s3stub.c: (ddxUseMsg):
	* hw/kdrive/ts300/ts300.c: (ddxUseMsg):
	* hw/kdrive/vesa/Xvesa.man:
	* hw/kdrive/vesa/vesa.c: (vesaUseMsg):
	* hw/kdrive/vesa/vesa.h:
	* hw/kdrive/vesa/vesainit.c: (ddxUseMsg):
	* os/utils.c: (UseMsg):
	Infrastructure for driver specific usage messages.
	Vesa driver usage message.
	Vesa man page update for -force-text.

2003-11-17  Keith Packard  <keithp@keithp.com>

	* include/picturestr.h:
	* render/picture.c: (PictureCreateDefaultFormats),
	(PictureFindVisual), (PictureInitIndexedFormats),
	(PictureMatchVisual), (PictureInit):
	Switch from having a VisualPtr in an indexed picture format
	to a Visual ID.  Necessary because Composite reallocates the
	visual array which scrambles our pointers.  Only used during
	server startup, so there's no performance impact at all.

2003-11-17  Keith Packard  <keithp@keithp.com>

	* composite/compalloc.c: (compFreeClientWindow):
	Damage borderSize when switching from manual to automatic
	update.  This repaints the window.
	
	* composite/compwindow.c: (compSetRedirectBorderClip):
	Damage for exposed areas was computed backwards.

	* dix/window.c: (SetBorderSize):
	BorderSize was too large in each dimension by borderWidth

2003-11-17  Keith Packard  <keithp@keithp.com>

	* composite/compwindow.c: (compSetPixmapVisitWindow),
	(compSetPixmap):
	Recompute winSize/borderSize to fix them when changing
	redirection.  Sufficient, but not always necessary.

	* damageext/damageext.c: (ProcDamageCreate):
	Add borderClip to damage on creation so that clients
	needn't guess.

	* fb/fb.h:
	* fb/fbbits.h:
	* fb/fbpoint.c: (fbDots), (fbPolyPoint):
	Fix API to FbDots functions to make PolyPoint work
	with screen_x/screen_y offsets
	
	* fb/fbpixmap.c: (fbCheckPixmapPicturesFindRes),
	(fbCheckPixmapPictures), (fbDestroyPixmap):
	Add debugging code to make sure no pictures are left
	pointing at freed pixmaps. "Can't" happen, but it did once.

	* hw/kdrive/mach64/mach64video.c: (mach64StopVideo),
	(mach64VideoSave), (mach64PutImage):
	* hw/kdrive/src/kaa.c: (kaaPixmapSave), (kaaMoveOutPixmap),
	(kaaDestroyPixmap):
	* hw/kdrive/src/kdrive.h:
	* hw/kdrive/src/koffscreen.c: (KdOffscreenValidate),
	(KdOffscreenKickOut), (KdOffscreenAlloc), (KdOffscreenSwapOut),
	(KdOffscreenMerge), (KdOffscreenFree), (KdOffscreenInit),
	(KdOffscreenFini):
	Change KdOffscreenArea structure to eliminate separate private
	structure, eliminate the ScreenPtr, change from doubly linked to
	singly linked list.

	* miext/damage/damage.c: (damageDamageRegion), (damagePaintWindow),
	(DamageSubtract):
	Don't damage BackgroundNone windows on PW_BACKGROUND.
	Re-clip damage to borderClip in DamageSubtract.

2003-11-16  Keith Packard  <keithp@keithp.com>

	* composite/compalloc.c: (compFreeClientSubwindows):
	Clear window when Manual Subwindows redirect is destroyed

	* fb/fbfill.c: (fbFill):
	Fix Tile/Stipple origin with non-zero pixmap window origins

	* hw/kdrive/fbdev/fbdev.c: (fbdevScreenInitialize),
	(fbdevMapFramebuffer):
	Use computed depth for TrueColor visuals as fbdev doesn't
	have one.
	
2003-11-13  Keith Packard  <keithp@keithp.com>

	* hw/kdrive/src/kaa.c: (kaaImageGlyphBlt):
	Accelerated image text code drew glyphs at wrong location when
	compositing manager enabled.

2003-11-13  Keith Packard  <keithp@keithp.com>

	* composite/Makefile.am:
	* composite/compalloc.c: (compRedirectSubwindows),
	(compFreeClientSubwindows):
	* composite/compinit.c: (compAddArgbVisual):
	* composite/compint.h:
	* damageext/damageext.c: (DamageExtNotify), (DamageExtSetCritical):
	* damageext/damageextint.h:
	Have the composite extension tell the damage extension about
	clients which have redirected subwindows in manual mode.  Those
	clients are marked Critical and given a significant scheduling
	boost whenever they receive a damage notify event.  This
	dramatically improves update frequency.

	* hw/kdrive/linux/keyboard.c: (readKernelMapping):
	If the kernel reported a large number of keys, readKernelMapping
	would walk off the end of the kdKeysym array.
	
	* hw/kdrive/vesa/vesa.c:
	Fix usage of _IOWR; the 'size' argument is actually a datatype.

2003-11-11  Eric Anholt  <anholt@FreeBSD.org>

	* configure.ac:
	Enable SERVER_LOCK, which prevents multiple servers from conflicting
	on a display.

2003-11-11  Eric Anholt  <anholt@FreeBSD.org>

	* os/Makefile.am:
	Remove the _*_SOURCE defines in os/Makefile.am except for _GNU_SOURCE
	as discussed on IRC.  Some of them cause important definitions to be
	hidden on FreeBSD.  With this, the xnest server compiles out of the
	box on FreeBSD.

2003-11-11  Eric Anholt  <anholt@FreeBSD.org>

	* hw/Makefile.am:
	Fix build without kdrive server.

2003-11-11  Keith Packard  <keithp@keithp.com>

	* configure.ac:
	Add compositeext to required modules when --enable-composite

2003-11-11  Keith Packard  <keithp@keithp.com>

	* include/.cvsignore:
	* include/Makefile.am:
	Eric neglected to add the proposed include/Makefile.am file
	to the repository yesterday.

2003-11-11  Keith Packard  <keithp@keithp.com>

	* composite/compext.c: (ProcCompositeCreateRegionFromBorderClip):
	* composite/compinit.c: (compAddArgbVisual), (compScreenInit):
	* composite/compint.h:
	* composite/compwindow.c: (compImplicitRedirect),
	(compReparentWindow), (compCreateWindow),
	(compSetRedirectBorderClip), (compWindowUpdateAutomatic):
	* miext/damage/damage.c: (DamageDamageRegion):
	* render/picture.c: (PictureMatchVisual):
	Add ARGB32 visual type with automatic update as needed.
	Fix a few more issues with damage being saved in window space.
	Damage windows that are moved.
	Fix overflow problem in PicturMatchVisual.

2003-11-10  Eric Anholt  <anholt@FreeBSD.org>

	* Makefile.am:
	* Xext/Makefile.am:
	* configure.ac:
	* dix/Makefile.am:
	* fb/Makefile.am:
	* hw/kdrive/fbdev/Makefile.am:
	* hw/kdrive/linux/Makefile.am:
	* hw/kdrive/smi/Makefile.am:
	* hw/kdrive/src/Makefile.am:
	* hw/kdrive/vesa/Makefile.am:
	* hw/xnest/Makefile.am:
	* include/Makefile.am:
	* mi/Makefile.am:
	* miext/damage/Makefile.am:
	* miext/layer/Makefile.am:
	* miext/shadow/Makefile.am:
	* os/Makefile.am:
	* randr/Makefile.am:
	Fix Makefile.am's to include header files needed for distcheck.
	Remove -Werror default and add --enable-werror switch to add it back.

2003-11-10  Keith Packard  <keithp@keithp.com>

	* hw/kdrive/mach64/mach64video.c: (mach64PaintRegion),
	(mach64PutImage), (mach64ReputImage):
	* hw/kdrive/src/koffscreen.c: (KdOffscreenAlloc):
	* hw/kdrive/src/kxv.c: (KdXVRegetVideo), (KdXVReputVideo),
	(KdXVReputImage), (KdXVPutStill), (KdXVGetStill), (KdXVPutImage):
	* hw/kdrive/src/kxv.h:
	Fix KdXv interface to pass drawable down so that bits can be
	put into drawable pixmap rather than directly into the frame buffer.
	Rewrite logic in kdoffscreen to make space for new allocations,
	now deals correctly with locked areas.

2003-11-09  Keith Packard  <keithp@keithp.com>

	* hw/kdrive/src/kaa.c: (kaaComposite):
	Must offset composite parameters by drawable coordinates in
	accelerated case.

2003-11-09  Keith Packard  <keithp@keithp.com>

	* fb/fbwindow.c: (fbFillRegionTiled):
	Misrotating (in y) tiled window background to offscreen pixmaps

2003-11-09  Keith Packard  <keithp@keithp.com>

	* mi/mivaltree.c:
	Cover usage of redirectDraw by COMPOSITE

2003-11-09  Keith Packard  <keithp@keithp.com>

	* miext/damage/damage.c: (DamageSubtract):
	Variable pClip was used without always being initialized

2003-11-08  Keith Packard  <keithp@keithp.com>

	* composite/compinit.c: (compCloseScreen), (compScreenInit):
	* composite/compint.h:
	* composite/compwindow.c: (compCheckWindow),
	(compPaintWindowBackground), (compDestroyWindow):
	* damageext/damageext.c: (DamageExtNotify), (DamageExtDestroy),
	(ProcDamageSubtract), (FreeDamageExt), (FreeDamageExtWin):
	* dix/window.c: (SetBorderSize):
	* miext/damage/damage.c: (damageDamageRegion), (damageDamageBox),
	(damageDestroyPixmap), (damagePaintWindow), (damageCopyWindow),
	(damageRestoreAreas), (damageSetWindowPixmap),
	(damageDestroyWindow), (DamageSetup), (DamageCreate),
	(DamageRegister), (DamageUnregister), (DamageSubtract),
	(DamageDamageRegion):
	* miext/damage/damagestr.h:
	* render/mirect.c: (miColorRects):

	Wrap PaintWindowBackground in composite extension to
	disable painting window background in manual Subwindows mode.

	compDestroyWindow needed to refetch cw and csw because
	CompFreeClientWindow/compFreeClientSubwindows zeroed them.

	Damage must store all damage in window relative
	coordinates so that damage tracks window movement.  I doubt
	this will work "right" with bitGravity, apps are likely to
	lose in that case anyway.

	Check for clientGone before trying to write events.

	Better checking for freeing datastructures in various orders

	dix/window.c: oops.  Was setting wrong region in COMPOSITE side
	of SetBorderSize.

	Damage must be associated with windows, not just underlying pixmap
	in case that changes.  Wrap SetWindowPixmap to track changes
	to window pixmaps (and DestroyWindow as well).

	Don't smash PaintWindow/CopyWindow regions in damageDamageRegion.
	Also, translate region back for those cases.

	render/mirect.c: track subWindowMode (oops)

2003-11-08  Phil Blundell  <pb@nexus.co.uk>

	* configure.ac: Avoid ugly shell error when libXdmcp isn't
	present.

	* hw/kdrive/linux/ts.c (TsEnable, TsDisable): New functions.
	(TsInit): Register them.

2003-11-07  Keith Packard  <keithp@keithp.com>

	* hw/kdrive/src/kaa.c: (kaaGetOffscreenPixmap), (kaaFillSpans),
	(kaaCopyNtoN), (kaaPolyFillRect), (kaaSolidBoxClipped),
	(kaaCopyWindow), (kaaFillRegionSolid), (kaaComposite):
	Fix KAA to work with screen_x/screen_y hacks from COMPOSITE
	Also add kaaComposite acceleration for simple bltblt case.

2003-11-07  Keith Packard  <keithp@keithp.com>

	* composite/compalloc.c: (compReportDamage), (compRedirectWindow),
	(compFreeClientWindow), (compFreeClientSubwindows),
	(compRedirectOneSubwindow), (compUnredirectOneSubwindow),
	(compAllocPixmap), (compFreePixmap), (compReallocPixmap):
	* composite/compext.c: (CompositeExtensionInit):
	* composite/compinit.c: (compScreenInit):
	* composite/compint.h:
	* composite/compwindow.c: (compCheckRedirect),
	(compReparentWindow), (compCopyWindow), (compDestroyWindow),
	(compSetRedirectBorderClip), (compGetRedirectBorderClip),
	(compWindowUpdateAutomatic), (compWindowUpdate):
	* fb/fb.h:
	* fb/fbpixmap.c: (fbCreatePixmapBpp):
	* fb/fbwindow.c: (fbCopyWindow):
	* hw/kdrive/fbdev/fbdev.c: (fbdevInitialize), (fbdevScreenInit):
	* hw/kdrive/linux/keyboard.c: (readKernelMapping):
	* hw/kdrive/linux/linux.c: (LinuxInit), (LinuxSpecialKey),
	(LinuxFini):
	* hw/kdrive/linux/mouse.c: (MouseWaitForReadable), (MouseReadByte),
	(ps2SkipInit), (MouseRead):
	* hw/kdrive/smi/smi.c: (smiScreenInit):
	* include/pixmapstr.h:
	* mi/mi.h:
	* mi/midispcur.c:
	* mi/mivaltree.c: (miRegisterRedirectBorderClipProc),
	(miComputeClips):
	* miext/damage/damage.c: (DamageDamageRegion):
	* miext/damage/damage.h:
	* render/mipict.c: (miValidatePicture):
	Ok, Composite extension is semi-working; when no-one asks
	for redirection, the server seems to act as before.  With
	RedirectSubwindows (root, automatic), the server looks just
	like a regular X server.  Now to go rewrite the (currently lame)
	compositing manager to get some real action on the screen.
	
	Some of the fixes here are to make valgrind quiet with
	various ioctls used by kdrive/linux.

	Also fixed a bug where fbdev initialization was out of order
	in fbdev.c and smi.c

2003-11-07  Phil Blundell  <pb@nexus.co.uk>

	* hw/kdrive/linux/ts.c: Fix warnings.

2003-11-06  Keith Packard  <keithp@keithp.com>

	* composite/.cvsignore:
	* composite/compext.c: (CompositeClientCallback),
	(CompositeResetProc), (FreeCompositeClientWindow),
	(FreeCompositeClientSubwindows), (ProcCompositeQueryVersion),
	(ProcCompositeRedirectWindow), (ProcCompositeRedirectSubwindows),
	(ProcCompositeUnredirectWindow),
	(ProcCompositeUnredirectSubwindows),
	(ProcCompositeCreateRegionFromBorderClip),
	(CompositeNumberRequests), (ProcCompositeDispatch),
	(SProcCompositeQueryVersion), (SProcCompositeRedirectWindow),
	(SProcCompositeRedirectSubwindows),
	(SProcCompositeUnredirectWindow),
	(SProcCompositeUnredirectSubwindows),
	(SProcCompositeCreateRegionFromBorderClip),
	(SProcCompositeDispatch), (CompositeExtensionInit):
	Oops.  Forgot new file.

2003-11-06  Keith Packard  <keithp@keithp.com>

	* composite/Makefile.am:
	* composite/compalloc.c: (compRedirectWindow),
	(compFreeClientWindow), (compUnredirectWindow),
	(compRedirectSubwindows), (compFreeClientSubwindows),
	(compUnredirectSubwindows), (compAllocPixmap), (compFreePixmap):
	* composite/compinit.c: (compScreenInit):
	* composite/compint.h:
	* composite/compwindow.c: (compShouldBeRedirected),
	(compCheckRedirect), (compCreateWindow):
	* fb/fbwindow.c: (fbCopyWindow):
	* xfixes/region.c: (XFixesRegionCopy),
	(ProcXFixesCreateRegionFromWindow), (ProcXFixesCreateRegionFromGC),
	(ProcXFixesCreateRegionFromPicture), (ProcXFixesSetGCClipRegion),
	(ProcXFixesSetWindowShapeRegion):
	* xfixes/xfixes.h:
	Finish up preliminary Composite extension implementation.
	Export XFixesRegionCopy from xfixes for Composite.
	Use window pixmap for fbCopyWindow, not root window.

2003-11-06  Matthew Allum  <mallum@handhelds.org>

	* configure.ac,v
	* hw/kdrive/fbdev/Makefile.am,v
	* hw/kdrive/linux/tslib.c,v
	* hw/kdrive/mach64/Makefile.am,v
	* hw/kdrive/mga/Makefile.am,v
	* hw/kdrive/r128/Makefile.am,v
	* hw/kdrive/smi/Makefile.am,v
	* hw/kdrive/vesa/Makefile.am,v

	Got tslib support building again.
	Removed tslib.c warnings
	Added support for TSLIB_DEVICE env var
	Fixed configure.ac not to try and build both ipaq ts and tslib.

2003-11-04  Keith Packard  <keithp@keithp.com>

	* composite/compinit.c: (CompositeExtensionInit):
	* composite/compwindow.c: (compWindowUpdateAutomatic),
	(compWindowUpdate):
	* hw/kdrive/src/kinput.c: (KdMouseAccelerate),
	(KdEnqueueMouseEvent):
	Replace translucent compositing hacks with PictOpSrc to
	match eventual extension semantics.
	Replace mouse acceleration with quadratic.

2003-11-04  Keith Packard  <keithp@keithp.com>

	* Makefile.am:
	* composite/Makefile.am:
	* composite/compalloc.c: (compReportDamage), (compDestroyDamage),
	(compAllocPixmap), (compFreePixmap), (compReallocPixmap):
	* composite/compinit.c: (compCloseScreen), (compScreenUpdate),
	(compBlockHandler), (compScreenInit), (CompositeExtensionInit):
	* composite/compint.h:
	* composite/compwindow.c: (compCheckWindow), (compCheckTree),
	(compSetPixmapVisitWindow), (compSetPixmap),
	(compShouldBeRedirected), (compCheckRedirect),
	(compPositionWindow), (compRealizeWindow), (compUnrealizeWindow),
	(compReparentWindow), (compCopyWindow), (compCreateWindow),
	(compDestroyWindow), (compRedirectBorderClip),
	(compGetWindowVisual), (compWindowFormat),
	(compWindowUpdateAutomatic), (compWindowPaintBackground),
	(compWindowUpdate):
	* configure.ac:
	* dix/window.c: (SetWinSize), (SetBorderSize):
	* fb/fb.h:
	* fb/fbpict.c: (fbIn24), (fbCompositeTrans_0565xnx0565),
	(fbCompositeSrcSrc_nxn), (fbComposite):
	* fb/fbpict.h:
	* include/picturestr.h:
	* include/windowstr.h:
	* mi/Makefile.am:
	* mi/mi.h:
	* mi/miinitext.c:
	* mi/mivaltree.c: (miRegisterRedirectBorderClipProc),
	(miGetRedirectBorderClipProc), (miComputeClips):
	* miext/damage/damage.c: (damageDestroyPixmap):
	* render/mipict.c: (miValidatePicture):
	* render/picture.c: (SetPictureClipRects), (SetPictureClipRegion):
	* xfixes/region.c: (ProcXFixesSetPictureClipRegion):
	Initial import of Composite extension along with
	name change from Apportion.
	Added some accelerated code to fbpict to make this initial
	hack a bit faster.  "real" extension bits to follow.

2003-11-02  Keith Packard  <keithp@keithp.com>

	* os/osdep.h:
	* os/xdmauth.c: (XdmAuthenticationValidator),
	(XdmAuthenticationGenerator), (XdmAuthenticationAddAuth),
	(XdmAuthenticationInit):
	Fix warnings (prototypes and type errors)

2003-11-02  Keith Packard  <keithp@keithp.com>

	* Makefile.am:
	* Xext/Makefile.am:
	* Xext/bigreq.c: (BigReqExtensionInit):
	* Xext/mitmisc.c: (MITMiscExtensionInit):
	* Xext/saver.c: (ScreenSaverExtensionInit):
	* Xext/shape.c: (ShapeExtensionInit), (SendShapeNotify):
	* Xext/shm.c: (ShmExtensionInit), (ShmRegisterFuncs),
	(ShmSetPixmapFormat), (ShmRegisterFbFuncs), (miShmPutImage),
	(fbShmCreatePixmap):
	* Xext/shmint.h:
	* Xext/sleepuntil.c: (ClientSleepUntil):
	* Xext/sleepuntil.h:
	* Xext/sync.c: (SyncCreateSystemCounter), (SyncExtensionInit):
	* Xext/syncint.h:
	* Xext/xcmisc.c: (XCMiscExtensionInit):
	* Xext/xext.h:
	* Xext/xres.c:
	* Xext/xtest.c: (XTestExtensionInit):
	* Xext/xtest1di.c: (XTestExtension1Init):
	* Xext/xvmc.c: (XvMCFindXvImage):
	* Xext/xvmcext.h:
	* configure.ac:
	* damageext/.cvsignore:
	* damageext/Makefile.am:
	* damageext/damageext.c: (DamageExtNotify), (DamageExtReport),
	(DamageExtDestroy), (ProcDamageQueryVersion), (ProcDamageCreate),
	(ProcDamageDestroy), (ProcDamageSubtract), (XDamageNumberRequests),
	(ProcDamageDispatch), (SProcDamageQueryVersion),
	(SProcDamageCreate), (SProcDamageDestroy), (SProcDamageSubtract),
	(SProcDamageDispatch), (DamageClientCallback), (DamageResetProc),
	(FreeDamageExt), (FreeDamageExtWin), (SDamageNotifyEvent),
	(DamageExtensionInit):
	* damageext/damageext.h:
	* damageext/damageextint.h:
	* dix/Makefile.am:
	* dix/cursor.c:
	* dix/dispatch.c:
	* dix/extension.c: (CloseDownExtensions):
	* dix/property.c: (NullPropertyReply):
	* dix/window.c: (SetWinSize), (SetBorderSize):
	* dix/xpstubs.c: (XpClientIsBitmapClient), (XpClientIsPrintClient),
	(XprintOptions):
	* fb/Makefile.am:
	* fb/fbcmap.c:
	* fb/fbcopy.c: (fbCopyNtoN), (fbDoCopy), (fbCopyArea):
	* fb/fboverlay.c:
	* hw/kdrive/fbdev/Makefile.am:
	* hw/kdrive/fbdev/fbdev.c: (fbdevScreenInitialize),
	(fbdevMapFramebuffer), (fbdevSetScreenSizes),
	(fbdevUnmapFramebuffer), (fbdevSetShadow), (fbdevRandRSetConfig),
	(fbdevInitScreen), (fbdevFinishInitScreen), (fbdevCreateResources):
	* hw/kdrive/fbdev/fbdev.h:
	* hw/kdrive/fbdev/fbinit.c:
	* hw/kdrive/linux/Makefile.am:
	* hw/kdrive/linux/agp.c: (GARTInit):
	* hw/kdrive/linux/bus.c:
	* hw/kdrive/linux/keyboard.c: (readKernelMapping):
	* hw/kdrive/linux/linux.c: (LinuxInit):
	* hw/kdrive/linux/mouse.c:
	* hw/kdrive/linux/ms.c:
	* hw/kdrive/linux/ps2.c:
	* hw/kdrive/mach64/Makefile.am:
	* hw/kdrive/mach64/mach64.c: (mach64ScreenInit),
	(mach64InitScreen), (mach64CreateResources), (mach64ScreenFini),
	(mach64CardFini):
	* hw/kdrive/mach64/mach64.h:
	* hw/kdrive/mach64/mach64draw.c: (mach64Setup), (mach64DoneSolid),
	(mach64DoneCopy), (mach64DrawFini):
	* hw/kdrive/mach64/mach64video.c: (mach64InitVideo),
	(mach64FiniVideo):
	* hw/kdrive/mga/Makefile.am:
	* hw/kdrive/mga/mga.c: (mgaScreenInit), (mgaCreateResources):
	* hw/kdrive/mga/mgadraw.c: (mgaPrepareSolid), (mgaPrepareCopy):
	* hw/kdrive/nvidia/Makefile.am:
	* hw/kdrive/nvidia/nvidia.c: (nvidiaRandRSetConfig),
	(nvidiaPreserve), (nvidiaLockUnlock), (nvidiaEnable):
	* hw/kdrive/nvidia/nvidia.h:
	* hw/kdrive/nvidia/nvidiadraw.c: (nvidiaPrepareSolid),
	(nvidiaPrepareCopy), (nvidiaDrawInit), (nvidiaDrawEnable):
	* hw/kdrive/r128/Makefile.am:
	* hw/kdrive/r128/r128.c: (r128ScreenInit), (r128Preserve),
	(r128DPMS):
	* hw/kdrive/r128/r128.h:
	* hw/kdrive/r128/r128draw.c: (r128WaitAvail), (r128Setup),
	(r128PrepareSolid), (r128PrepareCopy), (r128DrawInit):
	* hw/kdrive/r128/r128stub.c: (InitCard):
	* hw/kdrive/smi/Makefile.am:
	* hw/kdrive/smi/smi.c: (smiRandRSetConfig), (smiPreserve),
	(smiDPMS), (smiRestore):
	* hw/kdrive/smi/smi.h:
	* hw/kdrive/smi/smidraw.c: (smiPrepareSolid), (smiPrepareCopy),
	(smiDrawInit):
	* hw/kdrive/smi/smistub.c:
	* hw/kdrive/src/Makefile.am:
	* hw/kdrive/src/kaa.c: (kaaDestroyPixmap), (kaaCreatePixmap),
	(kaaPixmapIsOffscreen), (kaaGetOffscreenPixmap),
	(kaaDrawableIsOffscreen), (kaaFillSpans), (kaaCopyNtoN),
	(kaaPolyFillRect), (kaaSolidBoxClipped), (kaaValidateGC),
	(kaaFillRegionSolid), (kaaDrawInit), (kaaDrawFini):
	* hw/kdrive/src/kasync.c:
	* hw/kdrive/src/kcmap.c:
	* hw/kdrive/src/kcurscol.c:
	* hw/kdrive/src/kdrive.c: (KdCreateScreenResources),
	(KdCloseScreen), (KdScreenInit):
	* hw/kdrive/src/kdrive.h:
	* hw/kdrive/src/kinput.c:
	* hw/kdrive/src/knoop.c:
	* hw/kdrive/src/koffscreen.c: (KdOffscreenValidate),
	(KdOffscreenAlloc), (KdOffscreenInit):
	* hw/kdrive/src/kshadow.c: (KdShadowFbAlloc), (KdShadowFbFree),
	(KdShadowSet), (KdShadowUnset):
	* hw/kdrive/src/vga.c:
	* hw/kdrive/src/vga.h:
	* hw/kdrive/vesa/Makefile.am:
	* hw/kdrive/vesa/vesa.c: (vesaScreenInitialize), (vesaUpdateMono),
	(vesaSetScreenSizes), (vesaSetShadow), (vesaMapFramebuffer),
	(vesaUnmapFramebuffer), (vesaRandRSetConfig), (vesaInitScreen),
	(vesaFinishInitScreen), (vesaCreateResources), (vesaScreenFini):
	* hw/kdrive/vesa/vesa.h:
	* hw/kdrive/vesa/vesainit.c:
	* hw/xnest/Color.c: (xnestCreateColormap), (xnestDestroyColormap),
	(xnestCountInstalledColormapWindows),
	(xnestGetInstalledColormapWindows),
	(xnestSameInstalledColormapWindows),
	(xnestSetInstalledColormapWindows),
	(xnestSetScreenSaverColormapWindow), (xnestDirectInstallColormaps),
	(xnestDirectUninstallColormaps), (xnestInstallColormap),
	(xnestUninstallColormap), (xnestListInstalledColormaps),
	(xnestStoreColors), (xnestResolveColor),
	(xnestCreateDefaultColormap):
	* hw/xnest/Color.h:
	* hw/xnest/Cursor.c: (xnestConstrainCursor), (xnestCursorLimits),
	(xnestDisplayCursor), (xnestRealizeCursor), (xnestUnrealizeCursor),
	(xnestRecolorCursor), (xnestSetCursorPosition):
	* hw/xnest/Display.c: (xnestOpenDisplay):
	* hw/xnest/Display.h:
	* hw/xnest/Events.c: (xnestExposurePredicate),
	(xnestNotExposurePredicate), (xnestCollectExposures),
	(xnestCollectEvents):
	* hw/xnest/Events.h:
	* hw/xnest/Font.c: (xnestRealizeFont), (xnestUnrealizeFont):
	* hw/xnest/GC.c: (xnestValidateGC), (xnestChangeGC), (xnestCopyGC),
	(xnestDestroyGC), (xnestDestroyClipHelper), (xnestChangeClip),
	(xnestDestroyClip), (xnestCopyClip), (xnestCreateGC):
	* hw/xnest/GCOps.c: (xnestFillSpans), (xnestSetSpans),
	(xnestGetSpans), (xnestQueryBestSize), (xnestPutImage),
	(xnestGetImage), (xnestBitBlitPredicate), (xnestBitBlitHelper),
	(xnestCopyArea), (xnestCopyPlane), (xnestPolyPoint),
	(xnestPolylines), (xnestPolySegment), (xnestPolyRectangle),
	(xnestPolyArc), (xnestFillPolygon), (xnestPolyFillRect),
	(xnestPolyFillArc), (xnestPolyText8), (xnestPolyText16),
	(xnestImageText8), (xnestImageText16), (xnestImageGlyphBlt),
	(xnestPolyGlyphBlt), (xnestPushPixels):
	* hw/xnest/GCOps.h:
	* hw/xnest/Handlers.c: (xnestBlockHandler), (xnestWakeupHandler):
	* hw/xnest/Handlers.h:
	* hw/xnest/Init.c: (InitOutput), (InitInput), (AbortDDX),
	(ddxGiveUp), (OsVendorInit), (OsVendorFatalError):
	* hw/xnest/Keyboard.c: (xnestBell), (xnestChangeKeyboardControl),
	(xnestKeyboardProc):
	* hw/xnest/Keyboard.h:
	* hw/xnest/Makefile.am:
	* hw/xnest/Pixmap.c: (xnestCreatePixmap), (xnestDestroyPixmap),
	(xnestPixmapToRegion):
	* hw/xnest/Pointer.c: (xnestChangePointerControl),
	(xnestPointerProc):
	* hw/xnest/Pointer.h:
	* hw/xnest/Screen.c: (xnestScreen), (offset), (xnestSaveScreen),
	(xnestCursorOffScreen), (xnestCrossScreen), (xnestOpenScreen),
	(xnestCloseScreen):
	* hw/xnest/Screen.h:
	* hw/xnest/Visual.c: (xnestVisual), (xnestVisualFromID),
	(xnestDefaultVisualColormap):
	* hw/xnest/Visual.h:
	* hw/xnest/Window.c: (xnestFindWindowMatch), (xnestWindowPtr),
	(xnestCreateWindow), (xnestDestroyWindow), (xnestPositionWindow),
	(xnestConfigureWindow), (xnestChangeWindowAttributes),
	(xnestRealizeWindow), (xnestUnrealizeWindow),
	(xnestPaintWindowBackground), (xnestPaintWindowBorder),
	(xnestCopyWindow), (xnestClipNotify),
	(xnestWindowExposurePredicate), (xnestWindowExposures),
	(xnestRegionEqual), (xnestShapeWindow):
	* hw/xnest/XNCursor.h:
	* hw/xnest/XNFont.h:
	* hw/xnest/XNGC.h:
	* hw/xnest/XNPixmap.h:
	* hw/xnest/XNWindow.h:
	* include/cursorstr.h:
	* include/extnsionst.h:
	* include/os.h:
	* include/picture.h:
	* include/window.h:
	* include/windowstr.h:
	* mi/Makefile.am:
	* mi/miinitext.c:
	* mi/miscrinit.c:
	* mi/misprite.c: (miSpriteReportDamage), (miSpriteCopyWindow):
	* mi/mispritest.h:
	* mi/mivaltree.c: (miComputeClips):
	* miext/Makefile.am:
	* miext/damage/.cvsignore:
	* miext/damage/Makefile.am:
	* miext/damage/damage.c: (GetDrawablePixmap), (damageDamageRegion),
	(damageDamageBox), (damageDamageRect), (damageCreateGC),
	(damageWrapGC), (damageUnwrapGC), (damageValidateGC),
	(damageDestroyGC), (damageChangeGC), (damageCopyGC),
	(damageChangeClip), (damageCopyClip), (damageDestroyClip),
	(damageComposite), (damageGlyphs), (damageFillSpans),
	(damageSetSpans), (damagePutImage), (damageCopyArea),
	(damageCopyPlane), (damagePolyPoint), (damagePolylines),
	(damagePolySegment), (damagePolyRectangle), (damagePolyArc),
	(damageFillPolygon), (damagePolyFillRect), (damagePolyFillArc),
	(damageDamageChars), (damageText), (damagePolyText8),
	(damagePolyText16), (damageImageText8), (damageImageText16),
	(damageImageGlyphBlt), (damagePolyGlyphBlt), (damagePushPixels),
	(damageRemoveDamage), (damageInsertDamage), (damageDestroyPixmap),
	(damagePaintWindow), (damageCopyWindow), (damageRestoreAreas),
	(damageCloseScreen), (DamageSetup), (DamageCreate),
	(DamageRegister), (DamageDrawInternal), (DamageUnregister),
	(DamageDestroy), (DamageSubtract), (DamageEmpty), (DamageRegion):
	* miext/damage/damage.h:
	* miext/damage/damagestr.h:
	* miext/layer/Makefile.am:
	* miext/layer/layerinit.c: (layerCloseScreen):
	* miext/shadow/Makefile.am:
	* miext/shadow/shadow.c: (shadowRedisplay), (shadowGetImage),
	(shadowCloseScreen), (shadowSetup), (shadowSet), (shadowUnset),
	(shadowInit):
	* miext/shadow/shadow.h:
	* miext/shadow/shpacked.c: (shadowUpdatePacked):
	* miext/shadow/shplanar.c: (shadowUpdatePlanar4):
	* miext/shadow/shplanar8.c: (shadowUpdatePlanar4x8):
	* miext/shadow/shrotate.c: (shadowUpdateRotatePacked):
	* miext/shadow/shrotpack.h:
	* os/Makefile.am:
	* os/connection.c: (ClientAuthorized):
	* os/hpsocket.c: (set_socket_option), (unset_socket_option):
	* os/xdmauth.c: (XdmCheckCookie), (XdmToID):
	* randr/Makefile.am:
	* render/Makefile.am:
	* xfixes/Makefile.am:
	* xfixes/cursor.c: (CursorDisplayCursor),
	(SProcXFixesSelectCursorInput), (SXFixesCursorNotifyEvent),
	(CopyCursorToImage), (ProcXFixesGetCursorImage),
	(SProcXFixesGetCursorImage), (ProcXFixesSetCursorName),
	(SProcXFixesSetCursorName), (ProcXFixesGetCursorName),
	(SProcXFixesGetCursorName), (ProcXFixesGetCursorImageAndName),
	(SProcXFixesGetCursorImageAndName), (ReplaceCursorLookup),
	(ReplaceCursor), (TestForCursor), (ProcXFixesChangeCursor),
	(SProcXFixesChangeCursor), (TestForCursorName),
	(ProcXFixesChangeCursorByName), (SProcXFixesChangeCursorByName):
	* xfixes/region.c: (RegionResFree), (RegionCopy),
	(XFixesRegionInit), (ProcXFixesCreateRegion),
	(SProcXFixesCreateRegion), (ProcXFixesCreateRegionFromBitmap),
	(SProcXFixesCreateRegionFromBitmap),
	(ProcXFixesCreateRegionFromWindow),
	(SProcXFixesCreateRegionFromWindow),
	(ProcXFixesCreateRegionFromGC), (SProcXFixesCreateRegionFromGC),
	(ProcXFixesCreateRegionFromPicture),
	(SProcXFixesCreateRegionFromPicture), (ProcXFixesDestroyRegion),
	(SProcXFixesDestroyRegion), (ProcXFixesSetRegion),
	(SProcXFixesSetRegion), (ProcXFixesCombineRegion),
	(SProcXFixesCombineRegion), (ProcXFixesInvertRegion),
	(SProcXFixesInvertRegion), (ProcXFixesRegionExtents),
	(SProcXFixesRegionExtents), (ProcXFixesFetchRegion),
	(SProcXFixesFetchRegion), (ProcXFixesSetGCClipRegion),
	(SProcXFixesSetGCClipRegion), (ProcXFixesSetWindowShapeRegion),
	(SProcXFixesSetWindowShapeRegion),
	(ProcXFixesSetPictureClipRegion),
	(SProcXFixesSetPictureClipRegion):
	* xfixes/xfixes.c: (ProcXFixesQueryVersion),
	(XFixesNumberRequests), (ProcXFixesDispatch),
	(SProcXFixesQueryVersion), (SProcXFixesDispatch),
	(XFixesClientCallback), (XFixesResetProc), (XFixesExtensionInit):
	* xfixes/xfixes.h:
	* xfixes/xfixesint.h:
	merge xfixes_2_branch back to HEAD

2003-11-02  Keith Packard  <keithp@keithp.com>

	* miext/damage/damage.c: (damageDamageChars):
	Window origin added to glyph damage box twice.

2003-11-02  Eric Anholt  <anholt@FreeBSD.org>

	* hw/kdrive/r128/r128.h:
	* hw/kdrive/r128/r128draw.c: (r128Setup):
	* hw/kdrive/r128/r128stub.c: (InitCard):
	Fix fill/copyarea of r128 by setting the scissor registers
	in setup, as XFree86 does on engine init.  Add another PCI
	ID to r128stub.c.

2003-10-31  Philip Blundell  <philb@gnu.org>

	* configure.ac: Conditionally define XDMCP and HASXDMAUTH.
	* os/Makefile.am (libos_a_SOURCES): Include xdmcp.c if XDMCP.
	* os/xdmcp.c, os/xdmauth.c: Tweak #include paths.

2003-10-31  Keith Packard  <keithp@keithp.com>

	* Xext/shm.c: (miShmPutImage), (fbShmCreatePixmap):
	* hw/xnest/GCOps.c: (xnestSetSpans), (xnestGetSpans),
	(xnestQueryBestSize), (xnestPutImage), (xnestGetImage),
	(xnestBitBlitHelper), (xnestCopyArea), (xnestCopyPlane),
	(xnestPolyPoint), (xnestPolylines), (xnestPolyText16),
	(xnestImageText16), (xnestImageGlyphBlt), (xnestPolyGlyphBlt),
	(xnestPushPixels):
	* hw/xnest/GCOps.h:
	* hw/xnest/Handlers.c: (xnestBlockHandler), (xnestWakeupHandler):
	* hw/xnest/Handlers.h:
	* hw/xnest/Init.c: (InitOutput), (InitInput), (AbortDDX),
	(ddxGiveUp), (OsVendorInit), (OsVendorFatalError):
	* hw/xnest/Keyboard.c: (xnestBell), (xnestChangeKeyboardControl),
	(xnestKeyboardProc):
	* hw/xnest/Keyboard.h:
	* hw/xnest/Pixmap.c: (xnestCreatePixmap), (xnestDestroyPixmap),
	(xnestPixmapToRegion):
	* hw/xnest/Pointer.c: (xnestChangePointerControl),
	(xnestPointerProc):
	* hw/xnest/Pointer.h:
	* hw/xnest/Screen.c: (offset), (xnestSaveScreen),
	(xnestCursorOffScreen), (xnestCrossScreen), (xnestOpenScreen),
	(xnestCloseScreen):
	* hw/xnest/Screen.h:
	* hw/xnest/Visual.c: (xnestDefaultVisualColormap):
	* hw/xnest/Visual.h:
	* hw/xnest/Window.c: (xnestFindWindowMatch), (xnestCreateWindow),
	(xnestDestroyWindow), (xnestPositionWindow),
	(xnestConfigureWindow), (xnestChangeWindowAttributes),
	(xnestRealizeWindow), (xnestUnrealizeWindow),
	(xnestPaintWindowBackground), (xnestPaintWindowBorder),
	(xnestCopyWindow), (xnestClipNotify),
	(xnestWindowExposurePredicate), (xnestWindowExposures),
	(xnestRegionEqual), (xnestShapeWindow):
	* hw/xnest/XNPixmap.h:
	* hw/xnest/XNWindow.h:
	* mi/miscrinit.c:
	* miext/damage/damage.c:
	* miext/shadow/shrotpack.h:
	Prototype fixes (mostly in Xnest).  Seems to build -Werror now.

2003-10-31  Keith Packard  <keithp@keithp.com>

	* Xext/shm.c: (ShmRegisterFbFuncs):
	* Xext/shmint.h:
	* dix/window.c: (SetWinSize), (SetBorderSize):
	* fb/Makefile.am:
	* fb/fbcmap.c:
	* fb/fboverlay.c:
	* include/windowstr.h:
	* mi/mivaltree.c: (miComputeClips):
	Move MIT-SHM server declarations to shmint.h
	Start APPORTION dix hooks
	Comment out fbHasVisualTypes as it appears unused

2003-10-29  Keith Packard  <keithp@keithp.com>

	* Xext/bigreq.c: (BigReqExtensionInit):
	* Xext/mitmisc.c: (MITMiscExtensionInit):
	* Xext/saver.c: (ScreenSaverExtensionInit):
	* Xext/shm.c: (ShmExtensionInit), (ShmRegisterFuncs),
	(ShmSetPixmapFormat):
	* Xext/shmint.h:
	* Xext/sleepuntil.c: (ClientSleepUntil):
	* Xext/sleepuntil.h:
	* Xext/sync.c: (SyncCreateSystemCounter), (SyncExtensionInit):
	* Xext/syncint.h:
	* Xext/xcmisc.c: (XCMiscExtensionInit):
	* Xext/xext.h:
	* Xext/xres.c:
	* Xext/xtest.c: (XTestExtensionInit):
	* Xext/xtest1di.c: (XTestExtension1Init):
	* Xext/xvmc.c: (XvMCFindXvImage):
	* Xext/xvmcext.h:
	* configure.ac:
	* dix/dispatch.c:
	* dix/extension.c: (CloseDownExtensions):
	* dix/property.c: (NullPropertyReply):
	* dix/xpstubs.c: (XpClientIsBitmapClient), (XpClientIsPrintClient),
	(XprintOptions):
	* hw/kdrive/fbdev/fbdev.c: (fbdevUnmapFramebuffer),
	(fbdevRandRSetConfig):
	* hw/kdrive/fbdev/fbdev.h:
	* hw/kdrive/linux/agp.c: (GARTInit):
	* hw/kdrive/linux/bus.c:
	* hw/kdrive/linux/keyboard.c: (readKernelMapping):
	* hw/kdrive/linux/linux.c: (LinuxInit):
	* hw/kdrive/linux/mouse.c:
	* hw/kdrive/linux/ms.c:
	* hw/kdrive/linux/ps2.c:
	* hw/kdrive/mach64/mach64.c:
	* hw/kdrive/mach64/mach64draw.c:
	* hw/kdrive/mga/mga.c:
	* hw/kdrive/mga/mgadraw.c: (mgaPrepareSolid), (mgaPrepareCopy):
	* hw/kdrive/nvidia/nvidia.c: (nvidiaLockUnlock):
	* hw/kdrive/nvidia/nvidia.h:
	* hw/kdrive/nvidia/nvidiadraw.c: (nvidiaPrepareSolid),
	(nvidiaPrepareCopy), (nvidiaDrawInit), (nvidiaDrawEnable):
	* hw/kdrive/r128/r128.c: (r128ScreenInit), (r128Preserve),
	(r128DPMS):
	* hw/kdrive/r128/r128draw.c: (r128WaitAvail), (r128Setup),
	(r128DrawInit):
	* hw/kdrive/r128/r128stub.c:
	* hw/kdrive/smi/smi.c: (smiRandRSetConfig), (smiPreserve),
	(smiDPMS), (smiRestore):
	* hw/kdrive/smi/smi.h:
	* hw/kdrive/smi/smidraw.c: (smiPrepareSolid), (smiPrepareCopy),
	(smiDrawInit):
	* hw/kdrive/smi/smistub.c:
	* hw/kdrive/src/kaa.c:
	* hw/kdrive/src/kcmap.c:
	* hw/kdrive/src/kcurscol.c:
	* hw/kdrive/src/kdrive.c: (KdCreateScreenResources):
	* hw/kdrive/src/kdrive.h:
	* hw/kdrive/src/kinput.c:
	* hw/kdrive/src/knoop.c:
	* hw/kdrive/src/vga.c:
	* hw/kdrive/src/vga.h:
	* hw/kdrive/vesa/vesa.h:
	* hw/xnest/Color.c: (xnestCreateColormap), (xnestDestroyColormap),
	(xnestCountInstalledColormapWindows),
	(xnestGetInstalledColormapWindows),
	(xnestSameInstalledColormapWindows),
	(xnestSetInstalledColormapWindows),
	(xnestSetScreenSaverColormapWindow), (xnestDirectInstallColormaps),
	(xnestDirectUninstallColormaps), (xnestInstallColormap),
	(xnestUninstallColormap), (xnestListInstalledColormaps),
	(xnestStoreColors), (xnestResolveColor),
	(xnestCreateDefaultColormap):
	* hw/xnest/Color.h:
	* hw/xnest/Cursor.c: (xnestConstrainCursor), (xnestCursorLimits),
	(xnestDisplayCursor), (xnestRealizeCursor), (xnestUnrealizeCursor),
	(xnestRecolorCursor), (xnestSetCursorPosition):
	* hw/xnest/Display.c: (xnestOpenDisplay):
	* hw/xnest/Display.h:
	* hw/xnest/Events.c: (xnestExposurePredicate),
	(xnestNotExposurePredicate), (xnestCollectExposures),
	(xnestCollectEvents):
	* hw/xnest/Events.h:
	* hw/xnest/Font.c: (xnestRealizeFont), (xnestUnrealizeFont):
	* hw/xnest/GC.c: (xnestValidateGC), (xnestChangeGC), (xnestCopyGC),
	(xnestDestroyGC), (xnestDestroyClipHelper), (xnestChangeClip),
	(xnestDestroyClip), (xnestCopyClip), (xnestCreateGC):
	* hw/xnest/GCOps.c: (xnestFillSpans), (xnestSetSpans),
	(xnestGetSpans), (xnestQueryBestSize), (xnestPutImage),
	(xnestGetImage), (xnestBitBlitPredicate), (xnestBitBlitHelper),
	(xnestCopyArea), (xnestCopyPlane), (xnestPolyPoint),
	(xnestPolylines), (xnestPolySegment), (xnestPolyRectangle),
	(xnestPolyArc), (xnestFillPolygon), (xnestPolyFillRect),
	(xnestPolyFillArc), (xnestPolyText8), (xnestPolyText16),
	(xnestImageText8), (xnestImageText16), (xnestImageGlyphBlt),
	(xnestPolyGlyphBlt), (xnestPushPixels):
	* hw/xnest/GCOps.h:
	* hw/xnest/Keyboard.h:
	* hw/xnest/Screen.c: (xnestScreen):
	* hw/xnest/Screen.h:
	* hw/xnest/Visual.c: (xnestVisual), (xnestVisualFromID):
	* hw/xnest/Visual.h:
	* hw/xnest/Window.c: (xnestWindowPtr):
	* hw/xnest/XNCursor.h:
	* hw/xnest/XNFont.h:
	* hw/xnest/XNGC.h:
	* hw/xnest/XNPixmap.h:
	* hw/xnest/XNWindow.h:
	* include/extnsionst.h:
	* mi/Makefile.am:
	* mi/miinitext.c:
	* os/Makefile.am:
	* os/connection.c: (ClientAuthorized):
	* os/hpsocket.c: (set_socket_option), (unset_socket_option):
	* os/xdmauth.c: (XdmCheckCookie), (XdmToID):
	Prototype fixes (various)
	Add GCC warnings (including -Werror.  clean up your code)
	Other warning fixes (unused variables, etc)
	Get rid of unused extension interfaces (aux screen procs)
	Make lots of functions in kdrive static
	Eliminate unused code from os library

2003-10-25  Keith Packard  <keithp@keithp.com>

	* hw/kdrive/vesa/vesa.c: (vesaSetShadow), (vesaMapFramebuffer),
	(vesaRandRSetConfig), (vesaInitScreen):
	Was using byteStride before set in computing off_screen_base
	Also a couple of unused variables removed

2003-10-24  Keith Packard  <keithp@keithp.com>

	* Makefile.am:
	* Xext/Makefile.am:
	* configure.ac:
	* damageext/Makefile.am:
	* dix/Makefile.am:
	* fb/Makefile.am:
	* hw/kdrive/fbdev/Makefile.am:
	* hw/kdrive/linux/Makefile.am:
	* hw/kdrive/mach64/Makefile.am:
	* hw/kdrive/mga/Makefile.am:
	* hw/kdrive/nvidia/Makefile.am:
	* hw/kdrive/r128/Makefile.am:
	* hw/kdrive/smi/Makefile.am:
	* hw/kdrive/src/Makefile.am:
	* hw/kdrive/vesa/Makefile.am:
	* hw/xnest/Makefile.am:
	* mi/Makefile.am:
	* miext/damage/Makefile.am:
	* miext/shadow/Makefile.am:
	* os/Makefile.am:
	* randr/Makefile.am:
	* render/Makefile.am:
	* xfixes/Makefile.am:
	Make building (almost) work with automake 1.4 or 1.7.
	The dist-bzip2 option needs help still.

2003-10-24  Keith Packard  <keithp@keithp.com>

	* hw/kdrive/mach64/mach64.c: (mach64ScreenInit):
	Function pointer initializers in wrong order (oops)
	* hw/kdrive/src/kshadow.c: (KdShadowSet):
	Missing return value
	* include/os.h:
	Not obeying autoconf HAVE_ALLOCA_H all of the time.

2003-10-24  Keith Packard  <keithp@keithp.com>

	* damageext/damageext.c: (DamageExtensionInit):
	* damageext/damageextint.h:
	Make sure miext/damage is initialized when enabling damage
	extension

2003-10-24  Keith Packard  <keithp@keithp.com>

	* hw/kdrive/fbdev/fbdev.c: (fbdevScreenInitialize),
	(fbdevMapFramebuffer), (fbdevSetScreenSizes),
	(fbdevUnmapFramebuffer), (fbdevSetShadow), (fbdevRandRSetConfig),
	(fbdevInitScreen), (fbdevFinishInitScreen), (fbdevCreateResources):
	* hw/kdrive/fbdev/fbdev.h:
	* hw/kdrive/fbdev/fbinit.c:
	* hw/kdrive/mach64/mach64.c: (mach64CreateResources):
	* hw/kdrive/mga/Makefile.am:
	* hw/kdrive/mga/mga.c: (mgaCreateResources):
	* hw/kdrive/nvidia/Makefile.am:
	* hw/kdrive/nvidia/nvidia.c:
	* hw/kdrive/r128/Makefile.am:
	* hw/kdrive/r128/r128.c:
	* hw/kdrive/r128/r128draw.c: (r128PrepareSolid), (r128PrepareCopy):
	* hw/kdrive/smi/Makefile.am:
	* hw/kdrive/smi/smi.c:
	* hw/kdrive/smi/smi.h:
	* hw/kdrive/src/kdrive.c: (KdCreateScreenResources),
	(KdScreenInit):
	* hw/kdrive/src/kdrive.h:
	* hw/kdrive/src/kshadow.c: (KdShadowFbAlloc), (KdShadowFbFree),
	(KdShadowSet), (KdShadowUnset):
	* hw/kdrive/vesa/vesa.c: (vesaSetScreenSizes), (vesaSetShadow),
	(vesaMapFramebuffer), (vesaUnmapFramebuffer), (vesaRandRSetConfig),
	(vesaInitScreen), (vesaFinishInitScreen), (vesaCreateResources),
	(vesaScreenFini):
	* hw/kdrive/vesa/vesa.h:
	* hw/kdrive/vesa/vesainit.c:
	Add function called at CreateScreenResources to get shadow set up
	on pixmap correctly.  Rework vesa and fbdev code to handle
	shadows right with the non-layer world.
	* mi/misprite.c:
	* mi/mispritest.h:
	Use GetScreenPixmap directly for damage detection of sprite.
	Avoids problems during server shutdown with windows disappearing
	before the sprite layer is closed.

2003-10-23  Keith Packard  <keithp@keithp.com>

	* Makefile.am:
	* configure.ac:
	* damageext/Makefile.am:
	* damageext/damageext.c: (DamageExtNotify), (DamageExtReport),
	(DamageExtDestroy), (ProcDamageQueryVersion), (ProcDamageCreate),
	(ProcDamageDestroy), (ProcDamageSubtract), (XDamageNumberRequests),
	(ProcDamageDispatch), (SProcDamageQueryVersion),
	(SProcDamageCreate), (SProcDamageDestroy), (SProcDamageSubtract),
	(SProcDamageDispatch), (DamageClientCallback), (DamageResetProc),
	(FreeDamageExt), (FreeDamageExtWin), (SDamageNotifyEvent),
	(DamageExtensionInit):
	* damageext/damageext.h:
	* damageext/damageextint.h:
	* hw/kdrive/fbdev/Makefile.am:
	* hw/kdrive/linux/Makefile.am:
	* hw/kdrive/mach64/Makefile.am:
	* hw/kdrive/mga/Makefile.am:
	* hw/kdrive/nvidia/Makefile.am:
	* hw/kdrive/r128/Makefile.am:
	* hw/kdrive/smi/Makefile.am:
	* hw/kdrive/src/Makefile.am:
	* hw/kdrive/vesa/Makefile.am:
	* hw/xnest/Makefile.am:
	* mi/Makefile.am:
	* mi/miinitext.c:
	* mi/misprite.c:
	* miext/damage/damage.c: (damageDamageRegion), (DamageCreate),
	(DamageDestroy):
	* miext/damage/damage.h:
	* miext/damage/damagestr.h:
	* miext/shadow/shadow.c: (shadowSetup):
	* xfixes/region.c:
	* xfixes/xfixes.h:
	* xfixes/xfixesint.h:
	Ok, so this change is way bigger than it needed to be, but I
	couldn't stand it anymore.  The "real" change here is the
	addition of the damage extension server side pieces and a
	minor change of the miext/damage interface to add a callback
	on damage destroy.  All of the configuration changes are to
	add macros for various sets of libraries so that we don't have to
	keep editing every Makefile.am whenever we add another extension
	to the library.  The xfixes changes expose VERIFY_REGION so
	that damageext can use it.

2003-10-23  Keith Packard  <keithp@keithp.com>

	* fb/fbcopy.c: (fbDoCopy):
	Always call SourceValidate, even if src and dst are the same.
	This lets the software cursor code use Damage and not have to
	wrap all copy functions to see source effects.

2003-10-22  Keith Packard  <keithp@keithp.com>

	* hw/kdrive/mach64/mach64draw.c: (mach64Setup), (mach64DoneSolid),
	(mach64DoneCopy):
	Added SYNC_ALWAYS for debugging (sync after each operation)
	* mi/misprite.c: (miSpriteReportDamage), (miSpriteCopyWindow):
	Add SPRITE_DEBUG_ENABLE to help debug cursor problems
	* miext/damage/damage.c: (damageDamageRegion), (damageDamageBox),
	(damageDamageRect), (damageValidateGC):
	Leave all GCs redirected through Damage GC ops so that adding
	damage doesn't require revalidating all GCs (that would require
	walking the window tree and resetting all serial numbers).
	Add DAMAGE_DEBUG_ENABLE to help debug damage problems

2003-10-22  Keith Packard  <keithp@keithp.com>

	* hw/kdrive/src/kaa.c: (kaaCreatePixmap):
	Don't start pixmaps differing from root format in off-screen memory

2003-10-21  Keith Packard  <keithp@keithp.com>

	* hw/kdrive/src/kaa.c: (kaaDestroyPixmap), (kaaGetOffscreenPixmap):
	oops.  Failed to set window offsets in kaaGetOffscreenPixmap
	
	* hw/kdrive/vesa/vesa.c: (vesaInitScreen), (vesaFinishInitScreen):
	Initialized shadow too early; acceleration stomped damage

2003-10-21  Keith Packard  <keithp@keithp.com>

	* configure.ac:
	Build damage infrastructure.  Don't build layer
	
	* fb/fbcopy.c: (fbCopyNtoN), (fbCopyArea):
	Move check for 24/32 copy to fbCopyNtoN so that other users will hit
	it
	
	* hw/kdrive/fbdev/Makefile.am:
	* hw/kdrive/fbdev/fbdev.c: (fbdevScreenInitialize),
	(fbdevGetPixmap), (fbdevPixmapSet), (fbdevRandRSetConfig),
	(fbdevInitScreen), (fbdevFinishInitScreen):
	* hw/kdrive/fbdev/fbdev.h:
	Eliminate miext/layer
	
	* hw/kdrive/linux/Makefile.am:
	Build damage infrastructure.  Don't build layer
	
	* hw/kdrive/mach64/Makefile.am:
	Build damage infrastructure.  Don't build layer
	
	* hw/kdrive/mach64/mach64.c: (mach64ScreenInit),
	(mach64InitScreen), (mach64ScreenFini), (mach64CardFini):
	* hw/kdrive/mach64/mach64.h:
	* hw/kdrive/mach64/mach64draw.c: (mach64DrawFini):
	* hw/kdrive/mach64/mach64video.c: (mach64InitVideo),
	(mach64FiniVideo):
	Memory leak fix of mach64c on server reset
	Memory leak fix for video on server reset.
	Eliminate layer
	
	* hw/kdrive/mga/Makefile.am:
	* hw/kdrive/mga/mga.c: (mgaScreenInit):
	Build damage infrastructure.  Don't build layer
	
	* hw/kdrive/nvidia/Makefile.am:
	* hw/kdrive/nvidia/nvidia.c: (nvidiaRandRSetConfig),
	(nvidiaPreserve), (nvidiaEnable):
	Build damage infrastructure.  Don't build layer
	
	* hw/kdrive/r128/Makefile.am:
	* hw/kdrive/smi/Makefile.am:
	Build damage infrastructure.  Don't build layer
	
	* hw/kdrive/src/Makefile.am:
	Build damage infrastructure.  Don't build layer
	
	* hw/kdrive/src/kaa.c: (kaaDestroyPixmap), (kaaCreatePixmap),
	(kaaPixmapIsOffscreen), (kaaGetOffscreenPixmap),
	(kaaDrawableIsOffscreen), (kaaFillSpans), (kaaCopyNtoN),
	(kaaPolyFillRect), (kaaSolidBoxClipped), (kaaValidateGC),
	(kaaFillRegionSolid), (kaaDrawInit), (kaaDrawFini):
	Don't assume windows are onscreen, use GetWindowPixmap
	and test devPrivate.ptr.  Make sure depth 24 pixmaps are 24bpp
	when hardware format is 24bpp.
	
	* hw/kdrive/src/kasync.c:
	Get rid of debug KdAssertSync function
	
	* hw/kdrive/src/kdrive.c: (KdCloseScreen), (KdScreenInit):
	* hw/kdrive/src/kdrive.h:
	* hw/kdrive/src/koffscreen.c: (KdOffscreenValidate),
	(KdOffscreenAlloc), (KdOffscreenInit):
	add memory_size to KdScreenInfo, eliminate off_screen_size,
	fix tests to suit.
	
	* hw/kdrive/vesa/Makefile.am:
	* hw/kdrive/vesa/vesa.c: (vesaScreenInitialize), (vesaUpdateMono),
	(vesaGetPixmap), (vesaMapFramebuffer), (vesaPixmapSet),
	(vesaRandRSetConfig), (vesaInitScreen), (vesaFinishInitScreen),
	(vesaScreenFini):
	* hw/kdrive/vesa/vesa.h:
	Build damage infrastructure.  Don't build layer
	
	* hw/xnest/Makefile.am:
	Use damage (for software cursor, I guess)

	* mi/Makefile.am:
	* mi/misprite.c: (miSpriteReportDamage), (miSpriteCopyWindow):
	* mi/mispritest.h:
	Damage is used for software cursor

	* miext/Makefile.am:
	* miext/layer/Makefile.am:
	* miext/layer/layerinit.c: (layerCloseScreen):
	Build damage infrastructure.  Don't build layer
	
	* miext/shadow/Makefile.am:
	* miext/shadow/shadow.c: (shadowRedisplay), (shadowGetImage),
	(shadowCloseScreen), (shadowSetup), (shadowSet), (shadowUnset),
	(shadowInit):
	* miext/shadow/shadow.h:
	* miext/shadow/shpacked.c: (shadowUpdatePacked):
	* miext/shadow/shplanar.c: (shadowUpdatePlanar4):
	* miext/shadow/shplanar8.c: (shadowUpdatePlanar4x8):
	* miext/shadow/shrotate.c: (shadowUpdateRotatePacked):
	* miext/shadow/shrotpack.h:
	Use damage to track changes

	* xfixes/xfixes.c: (XFixesResetProc):
	Fix memory leak

2003-10-19  Keith Packard  <keithp@keithp.com>

	* hw/kdrive/src/kaa.c: (kaaDestroyPixmap):
	* hw/kdrive/src/koffscreen.c: (KdOffscreenKickOut),
	(KdOffscreenSwapOut):
	Minor cleanups -- remove a couple of bogus KdCheckSync calls,
	restructure KdOffscreenSwapOut to avoid unneeded 'continue'

2003-10-19  Keith Packard  <keithp@keithp.com>

	* hw/kdrive/src/kaa.c: (kaaDestroyPixmap):
	* hw/kdrive/src/koffscreen.c: (KdOffscreenKickOut),
	(KdOffscreenSwapOut):
	Minor cleanups -- remove a couple of bogus KdCheckSync calls,
	restructure KdOffscreenSwapOut to avoid unneeded 'continue'

2003-10-19  Keith Packard  <keithp@keithp.com>

	* Xext/shape.c: (ShapeExtensionInit), (SendShapeNotify):
	* Xext/shapeint.h:
	* dix/cursor.c:
	* dix/window.c:
	* include/cursorstr.h:
	* include/picture.h:
	* include/window.h:
	* xfixes/Makefile.am:
	* xfixes/cursor.c: (CursorDisplayCursor),
	(SProcXFixesSelectCursorInput), (SXFixesCursorNotifyEvent),
	(CopyCursorToImage), (ProcXFixesGetCursorImage),
	(SProcXFixesGetCursorImage), (ProcXFixesSetCursorName),
	(SProcXFixesSetCursorName), (ProcXFixesGetCursorName),
	(SProcXFixesGetCursorName), (ProcXFixesGetCursorImageAndName),
	(SProcXFixesGetCursorImageAndName), (ReplaceCursorLookup),
	(ReplaceCursor), (TestForCursor), (ProcXFixesChangeCursor),
	(SProcXFixesChangeCursor), (TestForCursorName),
	(ProcXFixesChangeCursorByName), (SProcXFixesChangeCursorByName):
	* xfixes/xfixes.c: (ProcXFixesQueryVersion),
	(XFixesNumberRequests), (ProcXFixesDispatch),
	(SProcXFixesQueryVersion), (SProcXFixesDispatch),
	(XFixesClientCallback), (XFixesExtensionInit):
	* xfixes/xfixesint.h:
	Add cursor name and region requests to XFixes extension for
	version 2 support

2003-10-16  Keith Packard <keithp@keithp.com>
	* hw/kdrive/src/kdoffscreen.c: (KdOffscreenSwapOut/KdOffscreenSwapIn)
	Discard/reconstruct list of offscreen areas on VT switch so no
	allocations can occur while switched away.
	* hw/kdrive/src/kdrive.h: (KdScreenInfo)
	Set type of off_screen_areas member to actual type instead of pointer

2003-10-15  Anders Carlsson  <andersca@gnome.org>

	* hw/kdrive/mach64/mach64.c: (mach64ScreenInit):
	* hw/kdrive/mach64/mach64.h:
	* hw/kdrive/mach64/mach64draw.c: (mach64Setup):
	* hw/kdrive/mga/mga.c: (mgaScreenInit):
	* hw/kdrive/mga/mga.h:
	* hw/kdrive/mga/mgadraw.c: (mgaPrepareSolid), (mgaPrepareCopy):
	* hw/kdrive/src/kaa.c: (kaaPixmapAllocArea):
	* hw/kdrive/src/kdrive.h:
	Add a memory_base variable and use it.
	
2003-10-14  Keith Packard <keithp@keithp.com>
	* hw/kdrive/*/Makefile.am
	Libraries in local dir must not use global path or make
	doesn't build things in the right order (-j)
	* hw/kdrive/mga/mga.h, mgadraw.c
	Fix warnings

2003-10-14  Keith Packard <keithp@keithp.com>
	* hw/kdrive/src/kaa.c: various
	Split out pixmap allocation debug statements
	Fix bogus offscreen pixmap size test
	Add migration to composite function for source operands
	* hw/kdrive/vesa/vbe.c, vbe.h, vesa.c, vm86.c: VbeDPMS
	Remove extraneous call to VbeGetVib.

2003-10-14  Keith Packard <keithp@keithp.com>

	* hw/kdrive/mach64/mach64draw.c:
	Avoid attempting acceleration on non-screen formats (for now)
	* hw/kdrive/mach64/mach64video.c:
	Offscreen allocator API changes.
	

2003-10-14  Keith Packard <keithp@keithp.com>

	* miext/layer/layerpict.c:
	Use same assumptions as layergc about what layer kind
	is approprate for unwrapping pixmap operations.  This
	makes sure the accelerated code gets invoked for pixmaps
	* hw/kdrive/src/kaa.c:
	* hw/kdrive/src/kasync.c:
	* hw/kdrive/src/kdrive.c:
	* hw/kdrive/src/kdrive.h:
	* hw/kdrive/src/koffscreen.c:
	Add pixmap migration support to kaa.  Can't quite automatically
	migrate pixmaps off-screen, but soon we will.  Can kick objects
	out of video memory.
	Move per-screen linked list pointers to pixmap private.
	Wrap Composite in preparation for migrating pixmaps.
	Have kasync ignore drawable type so that pixmaps trigger sync
	Add KdOffscreenFini to cleanup on server reset.
	Switch off screen area to have only a 'save' function;
	moving objects to off screen memory is done by saving then
	freeing the area.

2003-10-13  Anders Carlsson  <andersca@gnome.org>

	* hw/kdrive/mga/mgadraw.c: (mgaPrepareSolid), (mgaPrepareCopy):
	* hw/kdrive/src/kaa.c: (kaaMoveInPixmap), (kaaGetDrawingPixmap),
	(kaaFillSpans), (kaaCopyNtoN), (kaaPolyFillRect),
	(kaaSolidBoxClipped), (kaaValidateGC), (kaaFillRegionSolid):
	* hw/kdrive/src/kdrive.h:
	Use pixmaps instead of drawables in the kaa functions. Have the
	mga server support accelerated operations on offscreen pixmaps.
	
2003-10-13  Anders Carlsson  <andersca@gnome.org>

	* hw/kdrive/mga/mgadraw.c:
	* hw/kdrive/src/kaa.c: (kaaMoveOutPixmap), (kaaMoveInPixmap),
	(kaaDestroyPixmap), (kaaCreatePixmap), (kaaDrawInit):
	* hw/kdrive/src/kdrive.h:
	* hw/kdrive/src/koffscreen.c: (KdOffscreenSwapOut):
	Add support for offscreen pixmaps. 
	
2003-10-13  Anders Carlsson  <andersca@gnome.org>

	* hw/kdrive/src/koffscreen.c: (KdOffscreenAlloc),
	(KdOffscreenSwapOut), (KdOffscreenSwapIn), (KdOffscreenInit):
	Fix a couple of bugs.
	
2003-10-13  Anders Carlsson  <andersca@gnome.org>

	* hw/kdrive/mach64/mach64draw.c:
	* hw/kdrive/mga/mga.c: (mgaScreenInit), (mgaPreserve), (mgaDPMS),
	(mgaDisable):
	* hw/kdrive/mga/mga.h:
	* hw/kdrive/mga/mgadraw.c: (mgaWaitAvail), (mgaSetup),
	(mgaPrepareSolid), (mgaSolid), (mgaPrepareCopy), (mgaCopy),
	(mgaDrawInit):
	* hw/kdrive/nvidia/nvidiadraw.c:
	* hw/kdrive/r128/r128draw.c:
	* hw/kdrive/smi/smidraw.c:
	* hw/kdrive/src/Makefile.am:
	* hw/kdrive/src/kaa.c: (kaaFillSpans), (kaaCopyNtoN),
	(kaaPolyFillRect), (kaaSolidBoxClipped), (kaaFillRegionSolid),
	(kaaDrawInit):
	* hw/kdrive/src/kdrive.c: (KdDisableScreen), (KdEnableScreen),
	(KdScreenInit), (KdInitScreen):
	* hw/kdrive/src/kdrive.h:
	* hw/kdrive/src/koffscreen.c: (KdOffscreenAlloc),
	(KdOffscreenSwapOut), (KdOffscreenSwapIn), (KdOffscreenFree),
	(KdOffscreenInit):
	Add offscreen memory manager and update the servers to reflect the name
	change for the kaa structure.
	
2003-10-12  Phil Blundell  <pb@nexus.co.uk>

	* configure.ac: Put x11 and xext in XNESTSERVER_LIBS not
	XSERVER_LIBS, to avoid linking all servers against those
	libraries.
	* hw/xnest/Makefile.am: Use XNESTSERVER_LIBS, XNESTSERVER_CFLAGS.

2003-10-12  Anders Carlsson  <andersca@gnome.org>

	* configure.ac: Add x11 and xext to the list of required modules
	since xnest uses those.

2003-10-12  Anders Carlsson  <andersca@gnome.org>

	* configure.ac: Enable warnings.

2003-10-11  Phil Blundell  <pb@nexus.co.uk>

	* configure.ac
	* hw/Makefile.am: Add Xnest server.

2003-10-09  Anders Carlsson  <andersca@gnome.org>

	* hw/kdrive/Makefile.am (SUBDIRS): Build smi after vesa.

2003-10-03  Keith Packard <keithp@keithp.com>

	* configure.ac Makefile.am os/oscolor.c Xext/saver.c
	  Xext/Makefile.am hw/kdrive/linux/ts.c hw/kdrive/src/Makefile.am
	  hw/kdrive/src/kdrive.h hw/kdrive/src/kinput.c hw/kdrive/src/kmap.c
	Autodetect VM86 (for vesa), AGPGART, APM, MTRR, tslib and
	handhelds.org touch screen.
	Add USE_RGB_BUILTIN and code for fileless RGB database.
	Add MIT-SCREEN-SAVER

2003-09-30  Matthew Allum <mallum@handhelds.org>

	* hw/kdrive/linux/tslib.c
	Fixed tslib driver to handle VT switches

2003-09-30  Matthew Allum <mallum@handhelds.org>

	* configure.ac
	* hw/kdrive/linux/Makefile.am
	* hw/kdrive/linux/fbdev/Makefile.am
	Added --enable-tslib configure switch and related 
	Makefile.am gubbins to build with tslib.

2003-09-26  Anders Carlsson  <andersca@gnome.org>

	* configure.ac (PIXPRIV): Define PIXPRIV.

2003-09-25  Anders Carlsson  <andersca@gnome.org>

	* hw/kdrive/src/koffscreen.c: Add beginnings of offscreen
	memory manager.

2003-09-23  Keith Packard    <keithp@keithp.com>

	* hw/kdrive/src/kdrive.c
	* hw/kdrive/src/kdrive.h
	Add -switchCmd option to set command that is executed
	whenever the VT is enabled or disabled.  This permits
	input device to be customized by external apps when switching
	to X.

2003-09-22  Anders Carlsson  <andersca@gnome.org>

	* hw/kdrive/mga/mga.h:
	* hw/kdrive/mga/mgadraw.c: (mgaSetup), (mgaPrepareSolid),
	(mgaPrepareCopy), (mgaCopy):
	Accelerate server.
	
2003-09-18  Anders Carlsson  <andersca@gnome.org>

	* configure.ac:
	* hw/kdrive/Makefile.am:
	Add mga server to the build.
	
2003-09-16  Anders Carlsson  <andersca@gnome.org>

	* configure.ac:
	* hw/kdrive/Makefile.am:
	* hw/kdrive/fbdev/Makefile.am:
	* hw/kdrive/vesa/Makefile.am:
	Add fbdev server to the build.
