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>

	reviewed by: <delete if not using a buddy>

	* 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>

	reviewed by: <delete if not using a buddy>

	* 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>

	reviewed by: <delete if not using a buddy>

	* 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.
