2002-03-23  Adam Fedor  <fedor@gnu.org>

	* Version: 0.7.6

Fri Mar 22 16:36:14 2002  Nicola Pero  <n.pero@mi.flashnet.it>

	* Source/GNUmakefile.preamble (ADDITIONAL_OBJCFLAGS): Always add
	-Wall.
	(ADDITIONAL_CFLAGS): Idem.
	
2002-03-22  Adam Fedor  <fedor@gnu.org>

	* Source/XGGState.m (-_doPath::draw:)(path_clip): Create newregion
	before trying to intersect into it (Patch from
	alexander@malmberg.org)

2002-03-22  Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>

	* Source/SharedX/XGContextEvent.m 
	([XGContext -receivedEvent:type:extra:forMode:]): 
	Removed the inner loop. The code should be more robust as it does not
	rely on count being updated everytime XNextEvent is called.
	(there was a missing "count--" in the previous code, it was causing
	the "lingering-app" bug).

2002-03-21  Adam Fedor  <fedor@gnu.org>

	* Source/XGGState.m
	([-_showString:xCharAdj:yCharAdj:char:adjArray:arrType:isRelative:):
	Use deltaPoint... (suggestion by svrama_nan@yahoo.com).

2002-03-20  Richard Frith-Macdonald <rfm@gnu.org>

	* configure.in: Use info from make package, and look in GNUstep
	directories first for versions of libraries and headers to use.
	* configure: regenerate

2002-03-19  Adam Fedor  <fedor@gnu.org>

	* Source/SharedX/XGContextEvent.m ([XGContext
	-receivedEvent:type:extra:forMode:](ConfigureNotify)): For a
	resize event, pass the new frame origin back in eventLocation.
	* Source/SharedX/XGContextWindow.m ([XGContext
	-DPSplacewindow:::::]): Likewise.

2002-03-18  Adam Fedor  <fedor@gnu.org>

	* Source/SharedX/XIMInputServer.m (-initWithDelegate:display:name:):
	Use X11 version of setlocale and get only CTYPE locale (suggestion
	from Yen-Ju Chen <yjchen@ms7.url.com.tw>).

2002-03-15  Adam Fedor  <fedor@gnu.org>

	* Source/SharedX/XIMInputServer.m
	(-initWithDelegate:display:name:): Check locale for
	encoding. (patch from Yen-Ju Chen <yjchen@ms7.url.com.tw>).

	* Source/XGPrivate.h: Fix include path.

	* Documentation/news.texi: Update.

2002-03-14  Adam Fedor  <fedor@gnu.org>

	* Remove XGDrawingEngine.h, replace with XGPrivate.h

2002-03-13  Adam Fedor  <fedor@gnu.org>

	* Source/XGContext.m (+initializeBackend): Moved from XGDrawingEngine.
	(-NSReadPixel): Likewise.
	(-NSCopyBitmapFromGState:::): Likewise.
	(-NSCopyBits::): Likewise.
	(-NSDrawBitmap:::::::::::): Likewise.
	(-GSWDefineAsUserObj): Likewise.
	(-GSWSetViewIsFlipped): Likewise.
	(-GSWViewIsFlipped): Likewise.
	(GSWinitcontext): Likewise.
	* Source/SharedX/XGContextWindow.m ([XGContext
	-_destroyContextWindows]): Don't destroy root window.
	(-NSBeep): Moved from XGDrawingEngine.
	* Sources/XGDrawingEngine.m: Removed.

	* Source/XGStreamContext.m (-NSDrawBitmap:::::::::::): Implement.

2002-03-10 Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Tools/gpbs.m: Support for -NSHost added.

Sat Mar  9 11:48:15 2002  Adam Fedor  <fedor@yogi.doc.com>

	* Source/SharedX/XIMInputServer.m (-initWithDelegate:display:name:):
 	If unable to initialize XIM, just return self (not nil) so we still
	work with regular keyboard events.

2002-03-04 Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Source/SharedX/XGContextEvent.m: Hack in changes to match NSEvent
	structure.  Quick fix to restore functionality lost in recent updates.
	Button number not yet implemented.
	Delta X,Y,Z not properly working.

2002-03-02 Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Source/SharedX/XGContextEvent.m: Change 'middle' mouse to 'other'
	* Source/SharedX/XGContextWindow.m: Change 'middle' mouse to 'other'
	MacOS-X compatibility update.

2002-02-28  Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>

	* Source/SharedX/XGGeneric.h: 
	new variable in XGGeneric struct: upMouse and downMouse, used
	for mouse wheel up/down.
	* Source/SharedX/XGContextWindow.m ([XGContext -_setupMouse]): 
	support for mousewheel (buttons 4 and 5).
	* Source/SharedX/XGContextEvent.m 
	([XGContext -receivedEvent:type:extra:forMode:]): 
	support for deltaX, deltaY, deltaZ and for scrollwheel events,
	NSMouseMove and NS*MouseDragged events now use NSEvent with deltaX,
	deltaY and deltaZ

Thu Feb 28 16:09:56 2002  Nicola Pero  <nicola@brainstorm.co.uk>

	* Tools/Functions.m: Obsolete file removed.

2002-02-27  Adam Fedor  <fedor@gnu.org>

	* Source/XGContext.m ([XGContext -_initXContext]): Set
	XSynchronize here.
	* Source/XGDrawingEngine.m (+initializeBackend): Remove context
	creating (now in NSApplication).

2002-02-27  Adam Fedor  <fedor@gnu.org>

	* Deallocation cleanups. Remove some global variables that depend
	on the display, so it's more likely we will work with multiple
	displays.
	* Headers/gnustep/xgps/XGContextWindow.h: Add a var to hold
	the display the window belongs to.
	* Source/XGContext.m (-initWithContextInfo:): Don't make ourselves
	the current context.
	(-dealloc): Remove ugly autorelease hack.

	* Source/XGDrawingEngine.m (+initializeBackend): Set the context
	we created as current.
	* Source/SharedX/XGContextWindow.m ([XGContext
	-_checkWindowManager]): Convert into a method from a
	function. Save atoms in context rather than global var.
	([XGContext -_rootWindowForScreen:]): Clear the window device
	struct.
	([XGContext -_destroyContextWindows]): Removes window resources.
	([XGContext -DPStermwindow:]): Check to see resources exist before
	trying to free them.

2002-02-27  Fred Kiefer  <FredKiefer@gmx.de>

	* Tools/xpbs.m
	Additional X pasteboard for current selection. This is currently
	bound to CLIPBOARD, which is wrong but most applications expect this.

2002-02-26  Fred Kiefer  <FredKiefer@gmx.de>

	* Headers/gnustep/xgps/XGGeometry.h
	gs_floor() now returns short and clips at the end of the range for
	short. This should correct drawing problems with coordinates > 32000.
	
2002-02-18  Willem Rein Oudshoorn  <woudshoo@xs4all.nl>

	* xgps/Source/XGGeometry.m: new file
	* xgps/Source/XGGState.m
	(-_compositeGState:sourcefromRect:fromRecttoPoint:toPointop:opfraction:):
	rewritten rectangle clipping.
	(visibleRectForWindow:): method removed (functionality replaced by
	functions in XGGeometry.[hm]
	* xgps/Source/GNUmakefile (libgnustep-xgps_OBJC_FILES): added new
	.m file
	* xgps/Headers/gnustep/xgps/XGGeometry.h: added prototypes and
	XGContextWindow.h include directive.
	* xgps/Headers/gnustep/xgps/XGContextWindow.h (GET_XDRAWABLE): new
	macro

Mon Feb 25 14:36:37 2002  Nicola Pero  <nicola@brainstorm.co.uk>

	* Source/SharedX/XGContextEvent.m (process_key_event): Fixed
	processing of Shift NSFlagsChanged events - pressing Shift was
	generating a NSKeyDown rather than a NSFlagsChanged, which was
	causing multi-stroke keybindings making use of Shift not to work.
	(keysym_is_X_modifier): New functions.
	* Source/SharedX/XGGeneric.h (lastKeyFlags): ivar now unused,
	removed.
	
2002-02-25  Fred Kiefer  <FredKiefer@gmx.de>

	* Headers/gnustep/xgps/XGGState.h
	Removed ivar point. 
	* Source/XGGState.m
	The current point is no longer stored, but computed from the
	path. This makes some operations simpler and the old
	implementation was wrong for the closePath operation.

2002-02-25  Fred Kiefer  <FredKiefer@gmx.de>

	* Headers/gnustep/xgps/XGGStateOps.h
	Change parameter of [DPSimage:] from dictionary to explicit list
	of parameters.
	* Source/XGGState.m
	Adopted [DPSimage:] to explicit parameter list. New parameter
	matrix that is used to change the transformation of the image.
	* Source/XGDrawingEngine.m
	NSDrawBitmap compute transformation for given rect and use new
	[XGGState DPSimage:...:] interface.
	* Source/XGContext.m
	[DPSimage], [DPScolorimage] and [DPSalphaimage] changed to use new
	XGGState interface for [DPSimage:...:]. Now this methods should work
	for the first time. (Untested, as they are not used by gui)
	
2002-02-23  Adam Fedor  <fedor@gnu.org>

	* Source/SharedX/XGContextWindow.m (-_setupRootWindow): Remove
	borderedBordeless hack. Was fixed by change on 2002-01-22.
	* Source/SharedX/XGContextEvent.m
	(-receivedEvent:type:extra:forMode:]): Likewise..

Sat Feb 23 20:55:09 2002  Georg Fleischmann <georg@vhf.de>
	
	* Source/XGGState.m (CHECK_PATH): Retain shared path.

2002-02-07  Adam Fedor  <fedor@gnu.org>

	* Source/XGBitmap.m (_get_bit_value): New function.
	(_get_image_pixel): Likewise.
	(_create_image_row): Likewise.
	(_set_ranges): Likewise.
	(_bitmap_combine_alpha): Use new functions. do scaling, handle
	planar data, etc.
	* Source/XGGState.m ([XGGState -DPSimage:]): Visible rect fixes.
	Call bitmap code with new parameters.
	* Source/XGDrawingEngine.m ([XGContext
	-NSDrawBitmap:rect:pixelsWide:pixelsHigh:bitsPerSample:samplesPerPixel:bitsPerPixel:bytesPerRow:isPlanar:hasAlpha:colorSpaceName:data]):
	Set colorspace, extra parameters in dictionary.
	(Patch from Pete French <pete@twisted.org.uk>)

2002-02-07  Adam Fedor  <fedor@gnu.org>

	* configure.in: Enable XIM by default.
	* Source/SharedX/XIMInputServer.m
	(-initWithDelegate:display:name:): Init new data holder.
	([XIMInputServer -dealloc]): And realease it.
	([XIMInputServer -lookupStringForEvent:window:keysym:]): Lookup
	string into data object and encode it into a string using the
	proper encoding.
	* Source/SharedX/XGContextEvent.m (process_key_event): Check if
	keyCode is 0.

2002-02-01 Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Source/XGContext.m: use new GSI api from base library

2002-01-30  Adam Fedor  <fedor@gnu.org>

	* Version: 0.7.5
	* Documentation/announce.texi: Update
	* Documentation/news.texi: Likewise.
	
	* Source/GNUmakefile: Correct install of headers.

Tue Jan 29 11:00:27 2002  Nicola Pero  <nicola@brainstorm.co.uk>

	* GNUmakefile.postamble (configure): Removed rule.
	(xpgs.make, config.mak): Do not depend on configure.
	
2002-01-28  Adam Fedor  <fedor@gnu.org>

	* Source/XGGState.m (-DPSimage:): Don't reset rect origin to
	current point.

	* Source/XGContext.m (-_initXContext): If DISPLAY display is not
	0, log a warning but don't change it.

2002-01-27  Adam Fedor  <fedor@gnu.org>

	* Source/SharedX/XGDragView.m (-_handleEventDuringDragging:theEvent): 
	Handle new AppKitDefined events.

	* Source/SharedX/XGContextEvent.m (process_key_event): Rearrange
	key event processing so flags get set on key down, not key up.
	* ([XGContext -receivedEvent:type:extra:forMode:](LeaveNotify)):
	Set cWin if not set.

	* Tools/font_cacher.m ([XFontCacher -processFont:name]): Free font
	not just font info (saves memory and also more than doubles speed
	of font_cacher) (suggestion by beowulf@heorot.org).

2002-01-25  Adam Fedor  <fedor@gnu.org>

	* Source/SharedX/XGContextEvent.m ([XGContext
	-receivedEvent:type:extra:forMode:] (LeaveNotify)): Generate an
	event for this.

	* Source/XGGState.m (-DPSimage:): Use alpha buffer always if not 0.

2002-01-24  Adam Fedor  <fedor@gnu.org>

	* Source/SharedX/XGContextWindow.m ([XGContext
	-_setupRootWindow]): Check for GSDoubleParentWindows default.
	* Source/SharedX/XGContextEvent.m ([XGContext
	-receivedEvent:type:extra:forMode:] (ReparentNotify)): Only
	execute XQueryTree code if GSDoubleParentWindows default is set
	(due to unusual X errors).
	* Source/SharedX/XGGeneric.h: Add variable for default.

	* configure.in : Fix typo.
	* Documentation/announce.texi: Update.
	* Documentation/news.texi: Likewise.

2002-01-22  Adam Fedor  <fedor@gnu.org>

	* configure.in (xim): Disable XIM by default.
	* Headers/gnustep/xgps/XGContext.h: Add inputServer ivar.
	* Headers/gnustep/xgps/XGContextWindow.h: Add ic var.
	* Source/GNUmakefile: Add XIMInputServer.m
	* Source/XGContext.m (-_initXContext): Create inputServer.
	(-dealloc): Destroy inputServer.
	* Source/SharedX/XGContextEvent.m ([XGContext
	-receivedEvent:type:extra:forMode:]): Filter events if USE_XIM.
	(process_key_event): Use inputServer to lookup string.
	* Source/SharedX/XGContextWindow.m ([XGContext -DPStermwindow:]):
	Close window's ic.
	([XGContext -DPSsetinputfocus:]): Create/focus window's ic.
	* Source/SharedX/XIMInputServer.m: New file.
	(XIM support rewritten from patch by Christian Gillot
	<cgillot@neo-rousseaux.org>).

2002-01-22  Willem Rein Oudshoorn  <woudshoo@xs4all.nl>

	* xgps/Source/SharedX/XGDragView.m ([XGDragView -_handleDrag:]):
	orderOut the drag window before sending the final DnD events.
	Added a FIXME comment.

2002-01-22  Adam Fedor  <fedor@gnu.org>

	* Source/GNUmakefile.postamble: Install XGGeneric in xgps header dir.
	* Source/SharedX/XGGeneric.h: New var for parent offset.
	* Source/SharedX/XGContextEvent.m ([XGContext
	-receivedEvent:type:extra:forMode:](ConfigureNotify)): Set hints
	always.
	(ReparentNotify): Get parent offset to use for styleoffset hints.
	* Source/SharedX/XGContextWindow.m ([XGContext -DPSstyleoffsets::::]):
	Use parent offset to set offsets if available. Correct preset offsets
	for WindowMaker.
	([XGContext -DPSstylewindow::]): Update size hints.

2002-01-22 Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Source/SharedX/XGSlideView.h: Change API to make slide method
	a class method.
	* Source/SharedX/XGSlideView.m: restructure somewhat so we create
	and destory windows for each slide.
	* Source/SharedX/XGContextWindow.m: Use new XGSlideView class method
	Restructured to try to fix some reported problems with re-using a
	closed window.  Failed ... then found the problem and fixed it -
	needed an orderFrontRegardless to make sliding window visible when
	run from something other than the active application (eg the
	workspace opening many files and launching other apps to do it).

2002-01-21  Adam Fedor  <fedor@gnu.org>

	* Source/SharedX/XGContextEvent.m ([XGContext
	-receivedEvent:type:extra:forMode:](ConfigureNotify)): Compare
	proper rects, set hints when needed - avoid spurious move/resize
	events.

2002-01-21 Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Source/SharedX/XGSlideView.h: new file
	* Source/SharedX/XGSlideView.m: new file
	* Source/SharedX/XGContextWindow.m: use XGSlideView
	* Source/GNUmakefile: build XGSlideView
	Added new files by Enrico Sersale <enrico@www.imago.ro> to support
	slide-back of dragged icons across a screen.

2002-01-19  Willem Rein Oudshoorn  <woudshoo@xs4all.nl>

	* Source/SharedX/XGContextEvent.m
	(-receivedEvent:type:extra:forMode:]): check if XQueryTree calls
	succeed, and avoid XFree'ing a NULL pointer.

2002-01-20 Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Source/SharedX/XGDragView.m: Make memory management a little
	safer and tidy some long lines.
	
2002-01-13  Willem Rein Oudshoorn  <woudshoo@xs4all.nl>

	* Source/SharedX/XGDragView.m: changed and added comments in a few
	places.
	(SLIDE_TIME_STEP, SLIDE_NR_OF_STEPS): #define numbers controlling
	slide (back).
	([XGDragView
	-dragImage:at:offset:event:pasteboard:source:slideBack:]): use
	slideBack: argument
	([XGDragView -_handleDrag:]): renamed a local var, and use
	slideback.
	([XGDragView -_handleDrag:]): fixed bug in determining if we do a
	DnD drop SR#100253. (operator precedence was wrong).
	([XGDragView -_updateAndMoveImageToCorrectPosition]): use new
	method to display drag image.
	([XGDragView -_moveDraggedImageToNewPosition]): new method that
	will do the drawing and moving of the DnD image.
	([XGDragView -_slideDraggedImageTo:numberOfSteps:stepswaitAfterSlide:waitFlag]):
	new method that implements sliding the DnD image.
	([XGDragView -slideDraggedImageTo:point]): is implemented with the
	use of the method above

	* Source/SharedX/XGDragView.h: added instance variable, slideBack.
	changed comments, added prototypes for new methods.

2002-01-15  Adam Fedor  <fedor@gnu.org>

	* Tools/font_cacher.m ([XFontCacher -creationNameFromParts:parts]):
	Revert specifying name by pixel size.
	([XFontCacher -writeCacheTo:]): Revert cache version to 2.
	* Source/XGFontManager.m (XGXFontName): Revert to pixel size.
	(load_cache): Revert to load version 2 cache only.

	* configure.in: Add flag to dis/enable XIM support
	* config.h.in: Add flag.

2002-01-11 Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Source/XGContext.m: [_initXContext] added code to understand the
	NSHost user default and use that to determine where to display.
	If not given and NSHost, but given a DISPLAY environment variable,
	generate an NSHost default for use by the rest of the system.

2002-01-09  Adam Fedor  <fedor@gnu.org>

	* Source/SharedX/XGContextEvent.m ([XGContext -XGErrorHandler::]): 
	Raise exception on all X events when XSynchronize debug flag is set.
	* Source/SharedX/XGContextWindow.m ([XGContext -DPSwindow::::::]): 
	Set minimum window size to 2.

	* Tools/font_cacher.m ([XFontCacher -init]): Retain all ivars.

2002-01-08  Adam Fedor  <fedor@gnu.org>

	* Source/XGBitmap.m (_pixmap_combine_alpha): Add fractional alpha.
	Multiply alpha by fraction.
	* Source/XGDrawingEngine.h: Update function decl to match.
	* Source/XGGState.m
	(-_compositeGState:sourcefromRect:toPoint:op:fraction:]):
	Add fractional alpha.
	(-compositeGState:fromRect:toPoint:op:): Use it.
	(-dissolveGState:fromRect:toPoint:delta:): Use it.
	
2001-12-25  Adam Fedor  <fedor@gnu.org>

	* Source/SharedX/XGContextWindow.m (checkWindowManager): Consolidate
	window atoms into one struct, add atom for GNOME layer.
	([-DPSsetwindowlevel::]): Use them, set layer for GNOME.
	* Source/SharedX/XGGeneric.h: Add window atom struct, GNOME defines.

2001-12-24  Fred Kiefer  <FredKiefer@gmx.de>

	* Source/SharedX/XGDragView.m
	[init] create the window as non-defered and cache the X window
	structure. [_setupWindow:] don't declare our window to receive the
	drag types.

2001-12-23  Willem Rein Oudshoorn  <woudshoo@xs4all.nl>

	* Source/SharedX/XGDragView.m ([XGDragView -_handleDrag:]):
	Now only deposit drop when source and target agree.
        ([XGDragView -_handleEventDuringDragging:theEvent]): send
	draggingUpdated	event when user changes mask by pressing modifier keys.

2001-12-21  Fred Kiefer  <FredKiefer@gmx.de>

	* Source/SharedX/XGContextWindow.m
	Implemented [GSResolutionForScreen:].
	* Source/SharedX/XGDragView.m
	Moved [postDragEvent:] to this class and handle local event
	separate from external. Use the correct target window id in
	[_sendLocalEvent:...toWindow:].
	* Source/SharedX/XGDragView.h
	Declare a few more methods.

2001-12-20  Fred Kiefer  <FredKiefer@gmx.de>

	* Source/SharedX/XGDragView.m
	[draggingSourceOperationMask] take the modifiers into account.
	[_handleDrag:] check the targetmask before doing a drop.
	[XGRawWindow initWithContentRect...] removed.
	* Tools/font_cacher.m
	Extracted method [processPattern:]. [creationNameFromParts:] now
	use point size instead of pixel size. Changed cache version to 3.
	* Source/XGFontManager.m
	Adopted to changes in font cacher. Now fonts are selecteced via
	the points size, which may be a bit different for non 75x75
	resolutions. 
	* Source/XGFont.m 
	[setupAttributes] better diagnostic when loading of font fails.
	
2001-12-19  Fred Kiefer  <FredKiefer@gmx.de>

	* Source/SharedX/XGContextWindow.m
	[_setupRootWindow] set group hint on root window. 
	[DPSsetwindowlevel::] handle NSPopUpMenuWindowLevel as Menu type
	not as Dialog type.
	
2001-12-16  Willem Rein Oudshoorn  <woudshoo@xs4all.nl>

	* xgps/Source/SharedX/XGGeneric.h: removed currentMouseWindow
	instance variable

	* xgps/Source/SharedX/XGContextEvent.m ([XGContext
	-receivedEvent:type:extra:forMode:]): removed cursor update code
	in EnterNotify and LeaveNotify.

	* xgps/Headers/gnustep/xgps/XGContextWindow.h: removed unused
	instance variable `cursor' and added _initializeCursorForXWindow:
	declaration.

	* xgps/Source/SharedX/XGDragView.m ([XGDragView -_setCursor]):
	fixed comment
	([XGDragView -_handleEventDuringDragging:theEvent]):
	GSAppKitDraggingStatus now only updates cursor when targetMask
	changes.

	* xgps/Source/SharedX/XGContextWindow.m ([XGContext
	-_blankCursor]): new method
	([XGContext -_initializeCursorForXWindow:win]): new method
	([XGContext -_DPSsetcursor::]): rewritten
	([XGContext -DPSwindow::::::]): cursor initialization changed
	([XGContext -DPShidecursor]): refactored to use _blankCursor

2001-12-10  Adam Fedor  <fedor@gnu.org>

	* Source/SharedX/XGContextWindow.m (checkWindowManager): More robust
	check for GNOME complient WM.

2001-12-09  Fred Kiefer  <FredKiefer@gmx.de>

	* Source/SharedX/XGContextWindow.m
	checkWindowManager() added detection of EWMH complient window
	manager. [_setupRootWindow] store the client we are running on and
	for EWMH window manager also the process id. [DPSwindow::::] make
	this window part of a group. [DPSstyleoffsets::::] added some
	dummy implementation for EWMH. [DPSsetwindowlevel::] for EWMH set
	window type.
	
2001-12-07  Fred Kiefer  <FredKiefer@gmx.de>

	* Tools/font_cacher.m
	Reorganised code into new class XFontCacher, added some more help
	messages, handle some errors better and adde a filter for the font
	pattern. This can be set in the user defaults with the key GSFontMask.

2001-12-07  Adam Fedor  <fedor@gnu.org>

	* Source/XGBitmap.m (_bitmap_combine_alpha): Set the alpha buffer
	even when the image has no alpha.
	* Source/XGGState.m (-DPSimage:): Get alpha buffer into pixmap
	even when image has no alpha.

2001-12-06  Adam Fedor  <fedor@gnu.org>

	* Source/SharedX/XGContextWindow.m (checkWindowManager): Change
	NET to EWMH.
	(-_setupRootWindow): Check GSBorderedBorderlessWindows default.
	* Source/SharedX/XGContextEvent.m
	(-receivedEvent:type:extra:forMode:]): Use it on ConfigureNotify.

Wed Dec  5 10:53:38 2001  Adam Fedor  <fedor@yogi.doc.com>

        * Source/XGBitmap.m (_pixmap_combine_alpha): Mix dest alpha with
        source alpha.
        (_bitmap_combine_alpha): Likewise.
        * Source/XGGState.m ([XGGState -_alphaBuffer:]): New method. Fill
	alpha to 1 by defualt.
        (-_compositeGState:sourcefromRect:fromRecttoPoint:toPointop:op):
	Use it.
        (-DPSimage:): Likewise.
        (-DPSsetalpha:): Likewise.

Tue Dec  4 09:03:55 2001  Nicola Pero  <n.pero@mi.flashnet.it>

	* Source/GNUmakefile.postamble (./$(GNUSTEP_OBJ_DIR)/SharedX):
	Depend on ./$(GNUSTEP_OBJ_DIR).

2001-12-02  Adam Fedor  <fedor@gnu.org>

	* Source/XGGState.m: Set GraphicCompositing to YES by default.
	
	* Headers/gnustep/xgps/XGContextWindow.h: Added cursor to window
	struct.
	* Source/SharedX/XGGeneric.h: Add currentMouseWindow to struct.
	Change XGWMType to XGWMProtocols. Add more Window Manager protocols.
	* Source/SharedX/XGContextEvent.m ([XGContext
	-receivedEvent:type:extra:forMode:]): Set currentMouseWindow on
	EnterNotify and LeaveNotify. Set current cursor also.
	* Source/SharedX/XGDragView.m (-_setCursor): Save cursors in a
	dictionary to avoid creating them every time.

	* Source/SharedX/XGContextWindow.m (checkWindowManager): Rearrange,
	add check for Gnome protocols. Change XGWMType to XGWMProtocols.
	(setWindowHintsForStyle): Set borders on all windows that need them.
	Update other methods to adjust for change in XGWMType to XGWMProtocols.
	(-_DPSsetcursor): New method.
	(-DPShidecursor): Use it.
	(-DPSshowcursor): Use it.
	(-DPSsetcursorcolor: Likewise.

2001-11-30  Willem Rein Oudshoorn  <woudshoo@xs4all.nl>

	* Source/SharedX/XGDragView.m: All DnD code that used to reside in
	XGContextEvent.m
	([XGDragView +sharedDragView]): use GSEnsureDndIsInitialized
	([XGDragView
	-_sendLocalEvent:action:position:timestamp:toWindow:]): fixed
	target bug
	([XGDragView -_setupWindow:dragStart]): better, more comprehensive
	initialization
	(GSEnsureDndIsInitialized): New function
	([XGDragView -_updateOperationMask:theEvent]): new method
	([XGDragView -_handleDrag:]): put loop in own method, cleaned up
	and bug fixes
	([XGDragView -_handleEventDuringDragging:theEvent]): factored out
	from _handleDrag, mostly rewritten
	([XGDragView -_updateAndMoveImageToCorrectPosition]): facctored
	out from _handleDrag, rewritten
	([XGDragView -_xWindowAcceptingDnDDescendentOf:parent:x:y]): new
	method
	([XGDragView -_xWindowAcceptingDnDunderX:x:y]): new method,
	replacement of _findXWindow
	(_findXWindow): superseded by -[XGDragView
	_xWindowAcceptingDnDunderX:Y:]
	([XGContext -_resetDragTypesForWindow:]): use
	GSEnsureDndIsInitialized

	* Source/SharedX/XGContextEvent.m (pasteboardTypeForMimeType):
	Removed, unused and non-working function

	* Tools/xpbs.m ([XPbOwner -xSelectionNotify:]): removed unused variable
	([XPbOwner -xSelectionRequest:]): removed unused variables.

	* Tools/gpbs.m (ihandler): changed signature to avoid warning

	* Source/SharedX/XGContextWindow.m (checkWindowManager): removed
	global static BOOL windowMaker and made it local.
	(xgps_cursor_mask): got rid of floats
	(xgps_cursor_image): got rid of floats

	* Source/SharedX/XGContextEvent.m: removed emacs C++ mode
	indication, changed include file section, moved DnD code to
	XGDragView.[h|m]
	([XGContext -receivedEvent:type:extra:forMode:]): dndStatus
	handling checks if targets accepts Dnd

	* Source/SharedX/XGBitmapImageRep.m ([NSBitmapImageRep
	-xPixmapMask]): rewritten.

	* Source/XGGState.m ([XGGState
	-_compositeGState:sourcefromRect:fromRecttoPoint:toPointop:op]):
	added check for null image

	* Source/XGFont.m ([XGFontInfo -setupAttributes]): fixed forgotten
	return value.

	* Source/GNUmakefile (libgnustep-xgps_OBJC_FILES): added XGDragView.m

Sat Dec  1 10:21:48 2001  Nicola Pero  <n.pero@mi.flashnet.it>

	* GNUmakefile.postamble (after-distclean): Remove config.mak.
	(configure): New target.
	(xgps.make): New target.
	(config.mak): New target.
	
2001-11-23  Willem Rein Oudshoorn  <woudshoo@xs4all.nl>

	* xgps/Source/XGGState.m (-visibleRectForWindow:): Completely
	rewritten.

Thu Nov 22 01:04:56 2001  Nicola Pero  <n.pero@mi.flashnet.it>

	* GNUmakefile (CVS_MODULE_NAME): Define.

2001-11-17  Willem Rein Oudshoorn  <woudshoo@xs4all.nl>

	* Source/XGGState.m ([-visibleRectForWindow:]): new method
	([-_compositeGState:sourcefromRect:fromRecttoPoint:toPointop:op]):
	cleaned up, replaced lots of floats with integers, fixed bug that
	caused a call to RGetXImage with wrong parameters.
	([-DPSimage:]): cleaned up somewhat, replaced lots of floats with
	integers.

	* Source/XGDrawingEngine.h (_bitmap_combine_alpha)
	(_bitmap_combine_alpha): updated forward declaration.

	* Source/XGContext.m: Changed emacs editing mode from C++ to
	ObjectiveC

	* Source/XGBitmap.m (_pixmap_combine_alpha)
	(_bitmap_combine_alpha): Replaced floats with integers.

	* Headers/gnustep/xgps/XGGeometry.h: new file

	* Headers/gnustep/xgps/XGGState.h: Added missing
	NSGraphicsContext.h include

2001-11-19  Adam Fedor  <fedor@gnu.org>

	* Source/SharedX/XGContextEvent.m ([XGDragView -_handleDrag:]): 
	Handle nil window (which often means the root window).
	
2001-11-19  Willem Rein Oudshoorn  <woudshoo@xs4all.nl>

	* Source/SharedX/XGContextWindow.m ([XGContext
	-GSAvailableDepthsForScreen:screen_num]): Removed unused local
	variable declaration.
        (xgps_cursor_mask): Fixed memory overrun.
	(xgps_cursor_image): Idem. Fix fore/background logic.
	
2001-11-13 Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Headers/gnustep/xgps/XGContextPrivate.h: fixed typo

2001-11-12  Fred Kiefer  <FredKiefer@gmx.de>

	* Source/XGFontManager.m
	Adopted to changes in super class GSFontEnumerator. Rearranged the
	remaining code. XGXFontName now returns nil if no XLFD is defined
	for the given font.
	* Headers/gnustep/xgps/XGContextPrivate.h
	Moved the X font methods from XGFontInfo to GSFontInfo.
	* Source/XGFont.m
	* Source/XftFontInfo.m:
	Don't cache font infos, as this is already done by NSFont. Moved
	the call to XGXFontName into [setupAttributes].
	
2001-11-11  Fred Kiefer  <FredKiefer@gmx.de>

	* Headers/gnustep/xgps/XGGState.h
	* Source/XGGState.m
	Added method [xClipRegion] to allow cliping for AA fonts.
	Only draw anything, if current alpha value is not zero.
	* Source/XftFontInfo.m:
	Added clipping in [drawString:...] and [draw:...].
	
Fri Nov  9 09:44:01 2001  Nicola Pero  <nicola@brainstorm.co.uk>

	* Source/XGDrawingEngine.m ([XGContext +initializeBackend]): Use
	GSFontAntiAlias user default to determine which fontClass to use
	(Suggestion by Jeff Teunissen <deek@d2dc.net>).

2001-11-08  Adam Fedor  <fedor@gnu.org>

	* Source/XGContext.m (-initWithContextInfo:): Create a stream
	context if we are printing.
	* Source/XGDrawingEngine.m: Use HAVE_XFT not WITH_XFT
	(initializeBackend): Use new graphicsContextWithAttributes.
	* Source/XGStreamContext.m (useFont:): Remove.
	(DPSsetdash:::): Fix implementation.
	* Source/XftFontInfo.h: Redefine id around Xft include.

2001-11-07  Richard Frith-Macdonald <rfm@gnu.org>

	* Source/XftFontInfo.h: Added missing include reported by
	Ludovic Marcotte.

2001-11-07  Fred Kiefer  <FredKiefer@gmx.de>

	* Source/XftFontInfo.h:
	* Source/XftFontInfo.m:
	New files for AA font handling (still experimental)
	* GNUmakefile
	Include XftFontInfo.m in compilation.
	* Source/XGDrawingEngine.m:
	Include XftFontInfo.h conditionaly. And added commented out code
	to use the new class as the font info class.

2001-11-04  Adam Fedor  <fedor@gnu.org>

	* configure.in: Check for Xft library and headers.
	* GNUmakefile: Include XftFontInfo.m if we have it.

	* Source/XGStreamContext.m: Print floats with %g.

	* Tools/font_cacher.m: Print some semi-helpful info if
	cache dir can't be found. Also don't crash when that happens.

2001-10-29  Richard Frith-Macdonald <rfm@gnu.org>

	* Source/SharedX/XGContextEvent.m: Correct bugs in modifier key
	handling ... was referncing memory outside correct arrays.  Also
	generate new modifier flags for each event ... old version was
	failing to set correct modifiers some times.

2001-10-18  Adam Fedor  <fedor@gnu.org>

	* Headers/gnustep/xgps/XGContext.h: Add documentation.
	* Source/XGContext.m: Likewise.
	* Documentation/GNUmakefile: Generate gsdocs from classes,
	* Documentation/XGContext.gsdoc: New files.
	* Documentation/XGContext.html: Likewise.
	* Documentation/XGPSBackend.gsdoc: Likewise.
	* Documentation/XGPSBackend.html: Likewise.

2001-10-17  Adam Fedor  <fedor@gnu.org>

	* Source/linking.m: Correct include path (suggested by
	ludovic@Sophos.ca)

2001-10-16  Adam Fedor  <fedor@gnu.org>

	* Fix for static linking
	* linking.m: New file
	* externs.m (__objc_xgps_force_linking): Linking function.
	* Source/SharedX/XGContextEvent.m (__objc_xgcontextevent_linking):
	Likewise.
	* Source/SharedX/XGContextWindow.m ( __objc_xgcontextwindow_linking):
	Likewise.

2001-10-15  Adam Fedor  <fedor@gnu.org>

	* Source/XGContext.m (DPSPrintf): Implement.
	(DPSWriteData): Implement.
	* Source/XGStreamContext.m: Likewise.

	* Tools/GNUmakefile: Only include common files if building as
	a bundle.

2001-10-14  Fred Kiefer  <FredKiefer@gmx.de>

	* Source/SharedX/XGContextEvent.m
	In method [receivedEvent:type:extra:forMode:] updated the code for
	a ReparentNotify event to work for a window manager that inserts
	two level of windows, like KDE2.
	
2001-09-16  Georg Fleischmann

	* gui/Source/XGStreamContext.m
	[XGStreamContext -destroyContext:]: new, to close the stream
	[XGStreamContext -dealloc:]: closing of stream removed.

2001-09-20  Fred Kiefer  <FredKiefer@gmx.de>

	* Source/SharedX/XGContextWindow.c 
	Remove unneeded calls to [NSWindow update] in
	[DPSplacewindow:::::]. These calls are made by the front end anyway.
	
2001-09-14  Georg Fleischmann

	* xgps/Source/SharedX/XGContextEvent.m
	initialize_keyboard(): if ALT_R is not defined check for Mode_switch

2001-09-06  Adam Fedor  <fedor@gnu.org>

	* Source/XGGState.m (-DPSimage:): Check if clipregions exist
	before checking clipping of image.
	(-DPSrectclip::::): Intersect, rather than union with new clip rect.
	
2001-09-03  Adam Fedor  <fedor@gnu.org>

	* Source/XGContext.m (-DPSgrestore): Don't pop gstate if it's
	part of a save object.
	(-DPSgrestoreall): Check if gstate is part of a save object before
	popping it off the stack.

2001-09-02  Adam Fedor  <fedor@gnu.org>

	* configure.in: Check for Xext.

	* xgps/Source/XGContext.m ([-DPSrestore]): grestoreall and pop our
	gstate.
	([-DPSsave]): Push our own gstate.
	([-DPSgrestoreall]): Implement.
	([-DPScleartomark]): Fix.

	* xgps/Source/XGGState.m: Add methods for marking gstate as owned
	by a 'save' state.
	
2001-08-31  Georg Fleischmann

	* xgps/Headers/gnustep/xgps/XGContext.h
	VM_STACKSIZE, vcstack and vmstackTop added

	* xgps/Source/XGContext.m ([-DPSrestore]): new
	([-DPSsave]): new

	* xgps/Headers/gnustep/xgps/XGGState.h
	declaration of setClipMask added

	* xgps/Source/XGGState.m
	private declaration of setClipMask removed

2001-09-03  Fred Kiefer  <FredKiefer@gmx.de>

	* Source/SharedX/XGContextWindow.c 
	Added define WINDOW_WITH_TAG and use it everywhere in this file.
	New method [_setupMouse] with code moved from [_setupRootWindow],
	for more than three buttons still us button 3 as right button.
	Moved call to [_checkWindowlist] into [_setupRootWindow] and
	removed all other calls. Removed unneeded code from
	[_createBuffer:] and removed the parameter
	resize. [_updateWindowParameters:] changed parameter and moved
	some code from [_windowdevice:] to here. Removed method
	[_windowdevice:]. In [DPSwindowdevice:], [DPSwindowdeviceround:]
	and [DPSupdatewindow:] now just call [_updateWindowParameters:].
		
2001-08-01  Georg Fleischmann <georg@vhf.de>

	* xgps/Source/XGGState.m
        [XGGState _paintPath:]: more complex path handling added
        [XGGState _doComplexPath:]: new, fill complex bezier paths

2001-07-26  Georg Fleischmann <georg@vhf.de>

	* xgps/Source/XGGState.m:
	allow drawing of zero rectangles

2001-07-08  Adam Fedor  <fedor@gnu.org>

	* Merge from 0.7.0.
	* Source/XGFontManager.m (loadCache): Used rfm's change.

2001-07-07  Richard Frith-Macdonald <rfm@gnu.org>

	* Source/XGFontManager.m: loadCache()  Ensure that path used to load
	cache is initialised to some value even if the standard directories
	can't be determined.

2001-07-03  Adam Fedor  <fedor@gnu.org>

	* Version: 0.7.0
	* Documentation/news.texi: Update.

Mon Jun 25 11:28:19 2001  Nicola Pero  <nicola@brainstorm.co.uk>

	* Source/XGFontManager.m (loadCache): Fixed segmentation fault
	when ~/GNUstep/Library does not exist (bug found by Kim Shrier
	<kim@tinker.com>).  In that case, attempt to create the directory
	manually.
	
2001-06-15  Adam Fedor  <fedor@gnu.org>

        * Version: snapshot release 0.6.9
	
2001-06-10  Fred Kiefer <FredKiefer@gmx.de>

	* Tools/GNUmakefile
	Add xdnd.c for gpbs
	* Tools/GNUmakefile.postamble
	Create links to xdnd.c and xdnd.h
	* Tools/xpbs.m
	Added subclass for Drag pasteboard handling. Restructed code so
	the class specific methods get called. Use xdnd for this subclass.
	* Tools/.cvsignore
	Addded some files.

2001-06-04  Adam Fedor  <fedor@gnu.org>

	* configure.in: Set GRAPHIC_CFLAGS when chekcing for XShm.

2001-05-30  Adam Fedor  <fedor@gnu.org>

	* xgps.make.in: Remove GUI_BACKEND_LIB check since it's never set.

2001-05-21  Fred Kiefer <FredKiefer@gmx.de>

	* Headers/gnustep/xgps/XGGState.h
	* Source/XGGState.m
	* Source/XGContext.m
	Use NSFont instead of XGFontInfo. Now the font interface can be
	the same for other backends too.
	* Source/XGFont.m: Removed [set] method.

2001-05-12  Fred Kiefer <FredKiefer@gmx.de>

	* Source/XGStreamContext.m
	Implemented [setFont:] and the output of escaped strings.
	
2001-05-12  Fred Kiefer <FredKiefer@gmx.de>

	* Headers/gnustep/xgps/XGContextPrivate.h
	Removed method [XGFontInfo xFontStruct], as the internal structure
	of a fontinfo is now totally hidden.
	* Source/XGContext.m
	Removed usage of xFontStruct.
	* Source/XGGState.m
	Made the setting of a font safer, by copying the GC.
	
2001-05-08  Adam Fedor  <fedor@gnu.org>

	* configure.in: Add AC_PROG_CC. Mv -lXExt after -lX11 (on Solaris
	at least, it needs to be this way).

2001-05-08  Fred Kiefer <FredKiefer@gmx.de>

	* Headers/gnustep/xgps/XGContextPrivate.h
	* Source/XGFont.m
	New methods on XGFontInfo to size and draw a string.
	* Headers/gnustep/xgps/XGGState.h
	* Source/XGGState.m
	Use XGFontInfo instead of XFontStruct. This will allow the
	replacement of XGFontInfo by another class with the same
	protocol. As XGGState does not use any direct X calls for fonts. 
	The limitation is that still only C strings are supported.
	* Source/XGContext.m
	Adopted to font changes in XGGState.

2001-05-05  Fred Kiefer <FredKiefer@gmx.de>

	* Source/XGGState.m
	Prevent segmentation fault in [DPSsetdash:::].
	
2001-05-03  Adam Fedor  <fedor@gnu.org>

	* gnustep-xgps.spec.in: Fix source location.
	* gnustep-xgps-debug.spec.in: Likewise.

2001-05-02  Fred Kiefer <FredKiefer@gmx.de>

	* Source/XGGState.m
	Implemented dash lines. Mostly in [DPSsetdash:::] plus some xgc
	operations. 
	
2001-04-30  Fred Kiefer <FredKiefer@gmx.de>

	* Source/XGDrawingEngine.m:
	Removed the methods that are now in the super class. Simplified
	the rest.

2001-04-13  Adam Fedor  <fedor@gnu.org>

	* config.mak.in: Add libs and flags for bundle building.
	* Source/GNUmakefile.preamble: Add flags for bundle building.
	* Tools/GNUmakefile.preamble: Likewise.
	
	* Source/XGCommonFont.m: New file of common font functions.
	* Headers/gnustep/xgps/XGContextPrivate.h: Declare functions.
	* Source/XGFont.m: Remove common functions (from XGCommonFont).
	* Tools/GNUmakefile: Add XGCommonFont to font_cacher files.

	* Source/XGDrawingEngine.m: Minor formating and simplification.

	* Source/SharedX/XGContextWindow.m ([XGContext
	-_createBuffer:resize:]): SetBackgroundPixmap to avoid redundant fills.
	(suggested by "Jan Trembulak" <trembulak@ales.sk>).
	
2001-03-27  Frederic De Jaeger  <dejaeger@free.fr>

	* Source/SharedX/XGContextWindow.m (_computeDepth): move from screen.m
	([XGContext -GSWindowDepthForScreen:screen_num]): move from
	screen.m. now it is a method.
	([XGContext -GSAvailableDepthsForScreen:screen_num]): idem

	* Source/XGDrawingEngine.m (_initialize_gnustep_backend): new
	function that do the job of the old
	initialize_gnustep_backend. Moreover, it initializes all the
	pointer defined in the front end.
	definition of methods of XGContext.
		NSEraseRect
		NSHighlightRect
		NSRectClip
		NSRectClipList
		NSRectFill
		NSRectFillList
		NSRectFillListWithGrays
		NSDrawButton
		NSDrawGrayBezel
		NSDrawBezel
		NSDrawGroove
		NSDrawTiledRects
		NSDrawWhiteBezel
		NSDottedFrameRect
		NSFrameRect
		NSFrameRectWithWidth
	        NSReadPixel
	        NSCopyBitmapFromGState
	        NSCopyBits
		NSDrawBitmap
		NSBeep
		GSWDefineAsUserObj: simplify
		GSWViewIsFlipped: idem
		+initializeBackend: called by the frontend at loading.

        * Source/GNUmakefile: compile as a bundle or as a library
        depending on if BACKEND_MODULE is defined or not.

        * xgps.make.in: don't link with backend lib when BACKEND_BUNDLE is
        defined. 

	* Source/SharedX/screen.m: removed.

2001-03-26  Jonathan Gapen  <jagapen@home.com>

	* Source/XGFontManager.m: Find user library directory with
	NSSearchPathForDirectoriesInDomains() instead of env vars.
	* Tools/font_cacher.m: As above.
	* Tools/GNUmakefile.preamble: Purge libgmodel link flags.

2001-03-22  Adam Fedor  <fedor@gnu.org>

	* Version: 0.6.8

2001-03-22  Mirko Viviani  <mirko.viviani@rccr.cremona.it>

	* Source/XGDrawingEngine.m (NSDottedFrameRect): fake implementation.

Fri Mar 16 23:55:53 2001  Nicola Pero  <n.pero@mi.flashnet.it>

	* GNUmakefile.postamble (before-install): Only create 
	$GNUSTEP_MAKEFILES/Additional directory if it doesn't exist.
	* Source/GNUmakefile.postamble (before-all): Only create
	./$(GNUSTEP_OBJ_DIR)/SharedX if it doesnt exist.  (after-install):
	Only create $(GNUSTEP_HEADERS)/gnustep/xgps/SharedX if it doesnt
	exist.

2001-03-13  Adam Fedor  <fedor@gnu.org>

	* Fix check for WRASTER when compiling. 
	* configure: Subst WITH_WRASTER variable
	* config.mak.in: New file
	* Source/GNUmakefile: Include it. Check for WITH_WRASTER

2001-03-03  Adam Fedor  <fedor@gnu.org>

	* configure.in: Remove AC_PATH_X before wraster check. Define
	WITH_WRASTER only if have wraster and --x-includes not set.
	* Source/SharedX/XGBitmapImageRep.h: Include wraster code only
	if WITH_WRASTER

2001-02-28  Adam Fedor  <fedor@gnu.org>

	* configure.in: If user set --x-includes, use those instead of
	wraster definitions.

Thu Mar  1 04:24:47 2001  Nicola Pero <n.pero@mi.flashnet.it>

	* Source/XGGState.m ([-DPSarc:::::], [-DPSarcn:::::]): Convert
	radius to matrix space (patch by Georg Fleischmann
	<georg@vhf.de>).
	
2001-02-22  Adam Fedor  <fedor@gnu.org>

	* Documentation/news.texi: Update
	* Documentation/install.texi: Likewise.
	* INSTALL, NEWS, etc, regenerate.

2001-02-22  Richard Frith-Macdonald <rfm@gnu.org>

	* Source/SharedX/XGContextEvent.m: _findXWindow() added explanation
	and fixed bug ... was including unmapped windows in search.

2001-02-20  Fred Kiefer  <FredKiefer@gmx.de>

	* Source/SharedX/XGContextEvent.m:
	[_handleDrag:] send [draggedImage:beganAt:] at begin and use mask
	returned by [ignoreModifierKeysWhileDragging]. 
	GSActionForDragOperation() now handles a mask of operations.
	
2001-02-19  Richard Frith-Macdonald <rfm@gnu.org>

	* Source/SharedX/XGContextEvent.m:
	Improvement of the drag&drop code - complete rewrite of code to
	locate window under mouse, as recent changes completely broke
	dnd in Gorm.  Incidentally, the new code should work all the
	time.  Even before Freds last lot of changes, the old code
	failed occasionally.

2001-02-19  Fred Kiefer  <FredKiefer@gmx.de>

	* Source/SharedX/XGContextEvent.m:
	Further improvement of the drag&drop code.

Sun Feb 18 14:13:30 2001  Nicola Pero  <n.pero@mi.flashnet.it>

	* Tools/gpbs.m (main): Only initialize NSProcessInfo if
	GS_PASS_ARGUMENTS.  
	* Tools/GNUmakefile: Do not compile Functions.m.

Sun Feb 18 13:20:56 2001  Nicola Pero  <n.pero@mi.flashnet.it>

	* Source/XGGState.m (gs_floor): Fixed coordinate flooring for
	negative integer coordinates.

2001-02-13  Adam Fedor  <fedor@gnu.org>

	* Version: 0.6.7

2001-02-08  Fred Kiefer  <FredKiefer@gmx.de>

	* Source/SharedX/xrtools.c 
	Added conversion form CMYK to RGB (xrCMYKToPixel).
	* Source/SharedX/XGBitmapImageRep.m: 
	Added method xPixmapMask on NSImage. Changed NSBitmapImageRep not
	to cache its xPixmapMask (this was never freed) and create it only
	if alpha chanel is present in image.
	* Source/SharedX/XGGeneric.m 
	Removed file and moved only function (_findXWindow) to
	XGContextEvent.m.
	* Source/SharedX/XGGeneric.h
	Removed declaration of _findXWindow
	* Source/SharedX/XGContextEvent.m:
	Started improvement of all the drag&drop code.
	* Source/GNUmakefile: 
	Removed file XGGeneric.m 
	
2001-02-08  Richard Frith-Macdonald <rfm@gnu.org>

	* Source/SharedX/XGGeneric.h: Added new 'flags' field with one flag
	to say whether we should be using Windowmaker icons/dock.
	* Source/SharedX/XGContextEvent.m: Only hand over control of
	icon/miniwindows if the generic.flags.useWindowMakerIcons is set.
	* Source/SharedX/XGContextWindow.m: Rleave mapping of icon/miniwindows
	to WindowMaker is generic.flags.useWindowMakerIcons is set.
	Check the UseWindowMakerIcons user default ... if it is set to NO,
	or if the Window manager is not Window Maker, we clear the flag.

2001-02-07  Richard Frith-Macdonald <rfm@gnu.org>

	* Source/SharedX/XGContextWindow.m: Further fixes (by Sungjin Chun)
	to get appicon working, and changed by me to get icon miniwindows
	working.

2001-02-07  Richard Frith-Macdonald <rfm@gnu.org>

	* Headers/gnustep/xgps/XGContextWindow.h: Add counter for the number
	of protocols supported by the window.
	* Source/XGContext.m: Return root window stored in generic struct.
	* Source/SharedX/XGGeneric.h: Added fields for app root window and
	to cache the last window device used.
	* Source/SharedX/XGContextEvent.m: Use cache of last window used, and
	add some (temporarily disabled) code by Sungjin Chun for support of
	Window maker appicon.
	* Source/SharedX/XGContextWindow.m: Modified to set all window manager
	information upon mapping of window rather than creation of window
	(for window managers that re-read only on mapping).  Modified to use
	app root window rather than XDRW, as Dan Pascu says that's the correct
	way to do things.  Added some code for Window Maker appicon support.

2001-02-02  Richard Frith-Macdonald <rfm@gnu.org>

	* Source/SharedX/XGContextWindow.m: Removed obsolete code for setting
	menus to be outside the control of the window manager.

2001-01-30  Michael Hanni  <mhanni@sprintmail.com>

        * Makefile.postamble: distclean removes created file: xgps.make.

Mon Jan 29 18:42:25 2001  Nicola Pero  <nicola@brainstorm.co.uk>

	* configure.in: Filled with code coming from the gnustep make
	package.
	* configure: Regenerated.
	* xgps.make.in: New file.
	* GNUmakefile: Include local xgps.make.
	* Documentation/GNUmakefile: Idem.
	* Source/GNUmakefile: Idem.
	* Tools/GNUmakefile: Idem.
	* GNUmakefile.postamble (before-install): Install xgps.make.
	* Tools/font_cacher.m: Do not include config.h.
	* Source/GNUmakefile.postamble (after-distclean): Remove 
	GNUmakefile.local.
	* Tools/GNUmakefile.postamble: Idem.
	
2001-01-28  Fred Kiefer  <FredKiefer@gmx.de>

	* Source/XGGState.m
	Use deltaPointInMatrixSpace: not sizeInMatrixSpace: for all the
	relative drawing operations.
	
Sat Jan 27 12:52:25 2001  Nicola Pero  <n.pero@mi.flashnet.it>

	* Tools/font_cacher.m (main): Use autorelease pools to keep memory
	consumption reasonable.

2001-01-27  Richard Frith-Macdonald <rfm@gnu.org>

        * Tools/gpbs.m: Cope better with nil pasteboard owners.
	* Source/SharedX/XGContextEvent.m: When starting a drag operation
	for a non-bitmap image, reset shape of dragged object window.

2001-01-26  Fred Kiefer  <FredKiefer@gmx.de>

	* Source/XGBitmap.m 
	Moved NSDrawBitmap() to XGDrawingEngine.m
	* Source/XGDrawingEngine.m
	Added that function.
	* Source/XGContext.m
	Filled out a few more methods and moved code for
	[DPScompositerect:::::] and [DPSdissolve::::::::] to XGGState.	
        * Headers/gnustep/xgps/XGGState.h
	Added two methods.
	* Source/XGGState.m
	Added [dissolveGState:fromRect:toPoint:delta:] and
	[compositerect:op:] from XGContext.m.
	Changed all operations on the path to convert the points when
	adding. Now all the coordiantes are stored in the transformation
	that was active when they were added!
	
2001-01-26  Richard Frith-Macdonald  <rfm@gnu.org>

	* Source/SharedX/XGContextWindow.m: another focus bugfix get correct
	window from query pointer.

2001-01-25  Richard Frith-Macdonald  <rfm@gnu.org>

	* Source/SharedX/XGContextWindow.m: another focus bugfix - in the
	take focus code, don't set focus to existing key window unless it
	has actually been clicked on.

2001-01-23  Fred Kiefer  <FredKiefer@gmx.de>

	* Headers/gnustep/xgps/XGDrawObject.h
	* Source/XGDrawObject.m
	* Source/GNUstepSystemXFontList
	Removed those files.
	* Source/GNUmakefile
	Removed references to those files.
	* Source/GNUmakefile.postamble (after-install)
	Dont install GNUstepSystemXFontList.
	* Headers/gnustep/xgps/XGGState.h
	Define class NSBezierPath.
	* Source/XGGState.m
	Added arc methods. Moved definition of ctxt_object_t to here.
	* Headers/gnustep/xgps/XGContextPrivate.h
	Removed definitions of copy_string_buffer, font_t and composite_map_t.
	Moved the macros over to Source/XGContext.m.
	* Source/XGContext.m
	Rewrote all the font handling methods and added a lot more DPS
	operations. 
	
2001-01-21  Fred Kiefer  <FredKiefer@gmx.de>

	* Headers/gnustep/xgps/XGGState.h
	Make the path ivar a NSBezierPath.
	* Source/XGGState.m
	Use a NSBezierPath for all path operations.
	Implemented some more path operations and use flattening for
	curves. 
	
Sun Jan 21 18:51:00 2001  Nicola Pero  <n.pero@mi.flashnet.it>

	* Source/XGGState.m: Fixed flooring coordinates using casts.

2001-01-21  Richard Frith-Macdonald  <rfm@gnu.org>

	* Headers/gnustep/xgps/XGContextWindow.h: new method to locate a
	window with a particular parent.
	* Source/SharedX/XGContextWindow.m: new method to locate a
	window with a particular parent.
	* Source/SharedX/XGContextEvent.m: When handling a take focus
	message we look up the window that the mouse is over, and use that
	as the window to be made key.
	
2001-01-20  Fred Kiefer  <FredKiefer@gmx.de>

	* Headers/gnustep/xgps/XGContext.h
	Removed alloc ivar and moved the DragView definition into the
	file SharedX/XGContextEvent.m.
	* Headers/gnustep/xgps/XGContextPrivate.h
	Removed memory macros.
	* Source/XGContext.m
	* Source/XGStreamContext.m
	Removed the use of the alloc ivar.
	* Source/XGGState.m
	Simplified [_paintPath:] by giving the draw type as a parameter
	and replacing all relative drawing with absolute. 
	Implemented [DPSrcurveto::::::] for GSBench.
	* Source/XGDrawingEngine.m
	Removed checks for the existence of the gstate, as there always is
	one. Removed unused X helper functions.
	* Source/SharedX/XGContextEvent.m
	Moved DragView definition to here.

Fri Jan 19 17:21:25 2001  Nicola Pero  <nicola@brainstorm.co.uk>

	* GNUmakefile: Added PACKAGE_NAME, VERSION,
	RPM_DISABLE_RELOCATABLE, PACKAGE_NEEDS_CONFIGURE.
	* gnustep-xgps.spec.in, gnustep-xgps-debug.spec.in: New files.
	* gnustep-xgps.spec: Removed.

2001-01-19  Adam Fedor  <fedor@gnu.org>

	* Source/GNUmakefile.postamble (after-install): Install
	SharedX/XGGeneric.h.

2001-01-08  Fred Kiefer  <FredKiefer@gmx.de>

	* Source/SharedX/xrtools.c 
	Corrected xrHSBToPixel() to expect a h value between 0.0 and 1.0.
	* Source/XGDrawingEngine.m
	Removed function GSWSetMatrix().

2001-01-08  Fred Kiefer  <FredKiefer@gmx.de>

        * Headers/gnustep/xgps/XGGState.h
	Added method [deltaPointInMatrixSpace:]
	* Source/XGContext.m
	* Source/XGGState.m
	Improved all the uses of NSAffineTransform, now new objects of
	this class are only created when the gstate is copied or when an
	inverse matrix is needed. Also updated all calls to use the fasted
	method for NSAffineTransform. Corrected the dtransform methods to
	ignore the offset.
	* Source/XGStreamContext.m
	Small improvements.
	
2000-12-23  Fred Kiefer  <FredKiefer@gmx.de>

	* Source/SharedX/XGBitmapImageRep.m: 
	Adopted to changes in header file in GUI.
	
2000-12-05  Richard Frith-Macdonald  <rfm@gnu.org>

	* Source/GNUmakefile.postamble:
	* Source/GNUmakefile.preamble:
	Updated for flattened directory structure.

2000-11-21  Fred Kiefer  <FredKiefer@gmx.de>

	* Source/XGStreamContext.m: Added some missing methods and a hack
	to create one.

2000-11-14  Adam Fedor  <fedor@gnu.org>

	* Source/SharedX/XGBitmapImageRep.m: Moved from
	Source/XGBitmapImageRep.m so it can be shared.

2000-11-06  Adam Fedor  <fedor@gnu.org>

	* Documentation: Move tmpl.texi files to texi and update GNUmakefile

	* Source/SharedX/XGContextWindow.m (-DPScurrentwindowbounds:::::): 
	Remove check for viewable window.

Mon Nov  6 16:24:23 2000  Nicola Pero  <n.pero@mi.flashnet.it>

	* Documentation/GNUmakefile: Install the documentation files in
	the appropriate subdirs of Documentation/Developer/Xgps

2000-10-16  Adam Fedor  <fedor@gnu.org>

	* Some window focus problems fixed.
	* Source/SharedX/XGContextEvent.m (-receivedEvent:type:extra:forMode:):
	Send event for some AppKitDefined events rather than handle them
	(miniaturize, focus). Set window device map_state and visibilty, but
	don't tell NSWindow about it (NSWindow now assumes this) (MapNotify,
	UnmapNotify, VisibilityNotify).
	([XGRawWindow -orderWindow:relativeTo:]): Set redirect to false.
	([XGDragView +sharedDragView]): Make window deferred again.

	* Source/SharedX/XGContextWindow.m: Add trace debugLog messages,
	some better window checking.
	(-DPSwindow:::::): Set new visibility var.
	(-DPSsetinputfocus:): Change back to RevertToParent.
	
	* Source/XGGState.m (-_compositeGState:fromRect:toPoint:op:): Dont
	try to read image from non-visible, non-retained window.

2000-10-04  Adam Fedor  <fedor@gnu.org>

	* Tools/gpbs.m (init): Ignore empty arguments.

2000-10-05 Fred Kiefer <FredKiefer@gmx.de>

	* Tools/font_cacher.m
	Take first argument not the last as the display name, to correct
	bug reported by Georgios Rizell Dimitroglou 
	
2000-10-03  Adam Fedor  <fedor@gnu.org>

	* Source/SharedX/XGContextEvent.m ([XGDragView +sharedDragView]): 
	Make window non-deferred (temporarily, until event structure is fixed).
	[XGDragView -mouseDown:]: Get image size first and set frame.

2000-09-27  Willem Rein Oudshoorn  <woudshoo@sctcorp.com>

	* XGBitmap.m:
	Added macros to convert between RGB and X11 pixel values
	(_pixmap_combine_alpha, _bitmap_combine_alpha):
	Combined all XGDM_FAST methods in one block of code.
	Fixed some bugs in the bitmanipulations.

2000-09-28  Adam Fedor  <fedor@gnu.org>

	* Source/SharedX/XGContextEvent.m (-_addDragTypes:toWindow:): Change to
	take window object, since window number may not exist for deferred win.
	(-_removeDragTypes:fromWindow:):Likewise.
	(-_dragTypesForWindow:): Likewise.
	([XGRawWindow -orderWindow:relativeTo:]): Implement to set X attribs
	after orderFront.

2000-09-27  Adam Fedor  <fedor@gnu.org>

	* Headers/gnustep/xgps/XGContextPrivate.h (DPS_ERROR): Return
	rather than raise an exception (Drawing errors shouldn't crash the
	program).
	* Source/XGContext.m (-DPScurrentgstate:): Check for a valid gstate.
	(-DPSsetgstate:): Likewise.
	* Source/XGDrawingEngine.m: Likewise for most of the drawing 
	functions.
	* Source/XGGState.m (-setGCValues:withMask:): Check for valid GC.
	(setClipMask): Likewise.
	* Source/SharedX/XGContextEvent.m ([XGDragView -mouseDown:]): Make
	sure window is ordered front before doing X graphics.

2000-09-20 Richard Frith-Macdonald <rfm@gnu.org>

	* Source/SharedX/XGContextWindow.m: Rewrite multi-click recognition -
	clicks must occur in the same window and within a small distance of
	the initial click in order for them to be treated as a multi-click.
	* Source/SharedX/XGGeneric.h: added new generic variables for
	multi-click recognition.

2000-09-15  Adam Fedor  <fedor@gnu.org>

	* Source/XGDrawingEngine.m (GSWinitcontext): Set window number
	before setting drawable (so alpha_buffer gets updated properly).

2000-09-13 Fred Kiefer <FredKiefer@gmx.de>

	* Source/XGFont.m: Removed commented out code.
	
2000-09-06  Adam Fedor  <fedor@gnu.org>

	* Source/XGGState.m (PUSH_PATH_OBJECT): Make sure to release
	draw object. (PUSH_PATH_OBJECT_POINT): Likewise. (Pointed out
	by Jan Trembulak).

Tue Sep  5 18:56:39 2000  Nicola Pero  <nicola@brainstorm.co.uk>

	* Source/SharedX/XGContextEvent.m ([XGRawWindow
	-initWithContentRect:styleMask:backing:defer:screen:]): Updated
	for change in NSWindow's ivars.

Mon Sep  4 03:15:09 2000  Nicola Pero  <nicola@brainstorm.co.uk>

	* Source/SharedX/XGContextEvent.m (process_key_event): Corrected
	the code to process key events: now the keycode is the hardware
	code, and the unicode value of the key is reported in characters.
	(process_char): New function replacing process_key_code.  This
	function was rewritten to be simpler.
	
2000-09-03 Fred Kiefer <FredKiefer@gmx.de>

	* Source/XGFont.m: Added more font attributes and restructured code.
	* Header/gnustep/xgps/XGContextPrivate.h: Removed unnecessary font
	functions.
	
2000-09-02 Fred Kiefer <FredKiefer@gmx.de>

	* Source/XGFont.m: Don't use alloc for local vars.
	* Source/XGFontManager.m: Sort family names for display.
	
2000-09-01 Fred Kiefer <FredKiefer@gmx.de>

	* Source/XGFont.m: Use new method from superclass for encoding and
	width.  Fill in more attributes into the afm dictionary.  Use the
	encoding to convert glyphs to font format (Still rather useless as
	only a few convertions are defined).
	
Fri Sep  1 01:08:48 2000  Nicola Pero  <nicola@brainstorm.co.uk>

	* Source/SharedX/XGContextEvent.m ([XGDragView -mouseDown:]): Bug
	fix in coordinate conversion.
	
2000-08-28  Adam Fedor  <fedor@gnu.org>

	* Source/XGContext.m (-_initXContext): Get name of display
	if not specified.

2000-08-28 Fred Kiefer <FredKiefer@gmx.de>

	* Header/gnustep/xgps/XGContextPrivate.h
	Resorted font functions.
	* Source/XGFontManager.m:
	Moved X font helper functions to XGFont.
	Check version of font cache. Send display name to font cacher.
	* Source/XGFont.m:
	Moved X font helper functions to here.
	* Tools/font_cacher.m
	Added version number to cache. Sarted some clean up.

2000-08-07  Adam Fedor  <fedor@gnu.org>

	* Merge 0.6.6 branch into main.

2000-08-03 Richard Frith-Macdonald <rfm@gnu.org>

	* Source/SharedX/XGContextEvent.m: Improve mouse button handling
	* Source/SharedX/XGContextWindow.m: add support for middle button
	* Source/SharedX/XGGeneric.h: ditto

2000-08-06  Adam Fedor  <fedor@gnu.org>

	* Version 0.6.6 released.

2000-08-03 Richard Frith-Macdonald <rfm@gnu.org>

	* Source/SharedX/XGContextEvent.m: Quick hack - count any mouse button
	other than button1 as the right mouse button.

2000-08-02  Adam Fedor  <fedor@gnu.org>

	* Version: Update version number
	* Documentation/announce.tmpl.texi: Update
	* Documentation/readme.tmpl.texi: Likewise.
	* Documentation/news.tmpl.texi: Likewise.
	* Documentation/todo.tmpl.texi: Likewise.
	* ANNOUNCE, BUGS, NEWS, README: Regenerate

2000-08-01  Adam Fedor  <fedor@gnu.org>

	* Source/SharedX/XGContextEvent.m
	(-receivedEvent:type:extra:forMode:): Use DPSsetinputstate when
	reasserting status of key window on FocusIn.

2000-07-20  Adam Fedor  <fedor@gnu.org>

	* Source/SharedX/XGContextEvent.m
	(-receivedEvent:type:extra:forMode:): Activate app on FocusIn as long
	as window can become key.

2000-07-20 Richard Frith-Macdonald <rfm@gnu.org>

	* Source/SharedX/XGContextEvent.m: compress mouse movements.

Thu Jul 20 02:39:49 2000  Nicola Pero  <n.pero@mi.flashnet.it>

	* Source/SharedX/XGContextWindow.m (setWindowHintsForStyle): New
	function and related preprocessor defines implementing support for
	motif hints to generic window managers.  This implements the
	NSWindow style masks for a generic window manager.
	([XGContext -DPSstylewindow::num]): Use setWindowHintsForStyle if
	the window manager is not window maker.
	
2000-07-03 Richard Frith-Macdonald <rfm@gnu.org>

	* Tools/gpbs.m: Fix for OPENSTEP complient DO

2000-06-27  Adam Fedor  <fedor@gnu.org>

	* Source/GNUmakefile.postamble: mkdir for GNUstepSystemXFontList.

2000-06-21  Adam Fedor  <fedor@gnu.org>

	* Source/SharedX/XGContextWindow.m (-_updateWindowParameters:): 
	Hack to make sure window has been resized before doing anything 
	else (patch from Georg Fleischmann <georg@vhf.de>).

2000-06-11 Fred Kiefer <FredKiefer@gmx.de>

	* Source/XGFont.m: Added some support for glyph layout
	
Wed Jun  7 19:50:44 2000  Nicola Pero  <nicola@brainstorm.co.uk>

	* Source/SharedX/XGContextEvent.m (process_key_code): Fixed
	processing of function keys.

2000-05-22 Georg Fleischmann <georg@vhf.de>

	* xgps/Source/XGFont.m ([XGFontInfo initWithFontName:matrix:]):
	renamed fontDictionary to myFontDictionary ([XGFontInfo dealloc]):
	check font_info before unloading fonts

2000-05-05  Adam Fedor  <fedor@gnu.org>

	* Source/SharedX/XGContextWindow.m ([XGContext -DPSsetinputfocus:]): 
	Use RevertToPointerRoot to work-around an apparent bug in WindowMaker.

2000-05-04 Richard Frith-Macdonald <rfm@gnu.org>

	* SharedX/screen.m: Patch by Gregory John Casamento
	<borgheron@yahoo.com> to fix screen problems -
	mostly descriptor leak and memory allocation stuff.

2000-04-29 Richard Frith-Macdonald <rfm@gnu.org>

	* SharedX/screen.m: Attempt to fix descriptor leak due to opening
	display repeatedly and not closing it.

2000-04-25 Richard Frith-Macdonald <rfm@gnu.org>

	Patch by Gregory John Casamento <borgheron@yahoo.com> edited to
	conform to standards.  Adds improved colorspace support.
	Files modified - Source/GNUmakefile, Source/SharedX/screen.m,
	Source/XGDrawingEngine.m

2000-04-25  Adam Fedor  <fedor@gnu.org>

	* Source/XGBitmap.m (_bitmap_combine_alpha): Access image data
	according to width and height of the image, not width and height
	of the destination rect (fixes incorrect image display when 
	destination rect is smaller than image size).

2000-04-20  Adam Fedor  <fedor@gnu.org>

	* Source/SharedX/XGContextWindow.m (-DPScurrentserverdevice:)
	New method returns pointer to X display (Display**).
	(-DPScurrentwindowdevice::): New method returns pointer to X
	window (Window*) with window number 'win'.

2000-04-18  Adam Fedor  <fedor@gnu.org>

	* Source/XGBitmap.m (_bitmap_combine_alpha): Support for gray-level 
	images.

	* Use libwraster routines for reading images if available.
	* Source/XGBitmapImageRep.m (+_wrasterFileTypes): New method.
	(- _initFromWrasterFile:number:): New method.

	* Source/XGContext.m (-_findXFont:): Use XGFontInfo class to get fonts.

	* Source/XGDrawingEngine.m (XRDrawString) Remove obsolete.
	(XRDrawXImage): Likewise.
	(XRDrawLine): Likewise.
	(XRSetCurrentFont): Likewise.
	* Source/XGFont.m (-set): Set font using former XRSetCurrentFont code.

	* Source/SharedX/XGContextWindow.m (DPSimagecursor:::::::): Check
	max cursor size.
	
	* Source/GNUmakefile: Add XGGeneric.m.
	* Source/SharedX/XGGeneric.m (_findXWindow): Moved from
	XGDrawingEngine.m.

2000-04-13  Adam Fedor  <fedor@gnu.org>

	* Source/SharedX/XGContextEvent.m
	(-receivedEvent:type:extra:forMode:): Remove unnecessary
	setNeedsDisplay on map event.
	
2000-04-06 Fred Kiefer <FredKiefer@gmx.de>

        * Headers/gnustep/xgps/XGContectPrivate.h: Removed ivar tabwidth 
	from XGFontInfo.
        * Source/XGFont.m: Made ready for fonts with more than 256 characters, 
	filled some missing methods.
        * Source/XGFontManager.m Replaced hardcoded path.

2000-03-27  Adam Fedor  <fedor@gnu.org>

	* Source/XGBitmapImageRep.m: Remove obsolete code (Now in XGBitmap.m)

	* Source/XGDrawingEngine.m: Changed to set XGFontInfo and
	XGFontEnumerator as default classes for GSFontInfo/GSFontEnumerator
	* Source/XGFont.m: Changed to class XGFontInfo.
	* Source/XGFontManager.m: Changed to class XGFontEnumerator.

2000-03-22  Adam Fedor  <fedor@gnu.org>

	* Source/XGGState.m: Make sure drawingAlpha set everywhere we
	check for alpha_buffer.
	* Source/XGDrawingEngine.m (initialize_gnustep_backend): Simplify
	startup.

2000-03-22 Richard Frith-Macdonald <rfm@gnu.org>

	* SharedX/XGContextEvent.m: ([-mouseDown:]) ask NSApp to send
	window movement events for drag window.  Should keep location of
	drag window up to date.

2000-03-21  Adam Fedor  <fedor@gnu.org>

	* Tools/xpbs.m: Fix wraster.h include

2000-03-20  Adam Fedor  <fedor@gnu.org>

	* Source/XGBitmap.m (_pixmap_combine_alpha): Set alpha from dest
	correctly.
	* Source/XGGState.m (-_compositeGState:fromRect:toPoint:op:): 
	Use correct rect for source alpha. Don't create alpha buffer for
	nonretained windows.
	* Source/SharedX/XGContextWindow.m: Free alpha buffer when
	freeing backing buffer.

2000-03-17  Adam Fedor  <fedor@gnu.org>

	* Source/GNUmakefile: Add StdCmap.c.

2000-03-12  Adam Fedor  <fedor@gnu.org>

	* Source/XGContext.m: Remove RC_StandardColormap usage (not used
	anyway right now), to keep conflicts with wraster.h version down.

2000-03-11  Adam Fedor  <fedor@gnu.org>

	* Source/GNUmakefile.preamble: Include SYSTEM_DEFS which
	indicate presence of wraster library.
	* Source/GNUmakefile: Don't include various files if we
	have wraster library.

	* Headers/gnustep/xdps/XGContext.h: Add ivar.
	* Headers/gnustep/xdps/XGContextWindow.h: Change alpha_buffer
	to Drawable.
	* Headers/gnustep/xdps/XGGState.h: Add ivar.
	* Source/XGBitmapImageRep.m: Use new viewclip ivar.
	* Source/XGContext.m: Likewise.

	* Changes to get alpha and compositing working. Set the default
	GraphicCompositing to YES to activate.
	* Source/XGBitmap.m: set alpha to 255 by default, make sure it's
	written to the dest_alpha pixmap. Various bugfixes.
	* Source/XGContext.m (-DPScompositerect:::::): Call
	XGGraphicState's composite method.
	* Source/XGGState.m (-_compositeGState:fromRect:toPoint:op:): Many
	bug fixes.
	(-doPath::draw:): Draw into alpha buffer also.
	(DPSrectfill:): Likewise.
	(DPSrectstroke): Likewise.
	* Source/SharedX/XGContextWindow.m (-_createBuffer:resize:): Free
	alpha buffer, create if already exists and resizing.
	(-DPStermwindow): Free alpha buffer.
	* Source/SharedX/context.c: Update to latest version. Likewise
	for other wraster files.
	* Source/SharedX/xrtools.c: Remove obsolete colormap creation
	routines, use wraster library color allocation routines.

	* Tools/Functions.m: Remove obsolete/conflicting dummy functions.

Sat Mar 11 04:24:00 2000  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* SharedX/XGContextWindow.m: Fixed errors in minimum and maximum
	window size settings.

Thu Mar 09 06:37:00 2000  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* SharedX/XGContextEvent.m: Fixed error in  handling configure
	notification - should accept window size configuration from
	server as well as window manager.
	
Wed Mar 08 15:28:00 2000  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* SharedX/XGContextEvent.m: More focus changing fixes - more
	intelligent behavior when the window manager asks us to take focus.

Wed Mar 08 13:12:00 2000  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* SharedX/XGContextWindow.m: extensive changes to coordinate handling
	so that we should be able to position windows accurately - requires
	latest CVS version of WindowMaker for corresponding bug fixes.
	* SharedX/XGContextEvent.m: ditto.
	* SharedX/XGGeneric.h: update for new methods.

Wed Mar 08 07:42:00 2000  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Source/XGFont.m: Fixed mad implementation of ([copyWithZone:])

Tue Mar 07 09:28:00 2000  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* SharedX/XGContextWindow.m: tidied focus stuff - moved state variables
	to graphics context and use global focus.
	* SharedX/XGContextEvent.m: ditto.
	* SharedX/XGGeneric.h: added variables for focus control.

Mon Mar 06 20:12:00 2000  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* SharedX/XGContextWindow.m: Added DPSsetinputstate:: method to tell
	WindowMaker whether a window is key, main, or normal.
	* SharedX/XGGeneric.h: New ivar for client message property for
	communication with WindowMaker.

Mon Mar 06 10:40:00 2000  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* SharedX/XGContextWindow.m: Use GSWindowWithNumber() for more
	efficient window lookup.
	* SharedX/XGContextEvent.m: ditto

Thu Mar 02 10:26:00 2000  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* SharedX/XGGeneric.h: Added category declaration for generic methods.
	* SharedX/XGContextWindow.m: Added ([-_OSFrameToXFrame:for:]) and
	([-_XFrameToOSFrame:for:]) methods, to handle conversion from
	OpenStep window frames (as used by the frontend) to/from X window
	frames.

Wed Mar 01 16:17:00 2000  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Headers/gnustep/xgps/XGContext.h: removed several ivars to replace
	them with a structure for ivars common to X backends
	* Source/SharedX/XGGeneric.h: new file to contain header info that
	is common to different X backends.
	* Source/SharedX/XGContextEvent.m: restructure to use common ivars
	and added code for window miniaturisation with WindowMaker.
	* Source/SharedX/XGGeneric.h: ditto

Tue Feb 29 07:07:00 2000  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Source/XGFontManager.m: Fixes by Fred Keifer and tidyups
	* Source/XGFont.m: ditto
	* Tools/font_cacher.m: ditto

2000-02-28  Matthias Klose  <doko@cs.tu-berlin.de> 
                   
	* Tools/GNUmakefile.preamble: Use build gmodel library; remove 
          hard coded /usr/local/lib path. 

Fri Feb 28 06:14:00 2000  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Source/XGFontManager.m: Fixes to my changes by Fred Keifer
	* Source/XGFont.m: ditto

2000-02-25  Adam Fedor  <fedor@gnu.org>

	* Source/SharedX/XGContextWindow.m (xgps_cursor_mask): New function
	(xgps_cursor_image): Likewise. 
	(-DPSimagecursor:::::): Implement.

Fri Feb 25 09:52:00 2000  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Tools/font_cacher.m: tidied and updated.
	* Source/XGFontManager.m: updated to use font cache and to run
	font_cacher if necessary.

Fri Feb 25 07:09:00 2000  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Tools/font_cacher.m: New tool to cache font information. Code
	based on that Contributed by Fred Kiefer <FredKiefer@gmx.de>

Thu Feb 24 17:20:00 2000  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Source/SharedX/XGContextWindow.m: Added checkWindowManager()
	function to check for the winodw manager - still needs work.
	Should we store the window manager on a per-window basis?

Thu Feb 24 10:45:00 2000  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Source/SharedX/XGContextWindow.m: ([_setupRootWindow]) added code
	to use XSetCommand().  Also added code to set class hint for all
	windows.

Wed Feb 23 21:12:00 2000  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Source/XGFont.m: temporarily revert to previous version while
	performance issues are sorted out.
	* Source/XGFontManager.m: ditto.

Wed Feb 23 15:08:00 2000  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	Fixes to remove redundant code and make WindowMaker refrain from
	creating an app icon window.
	* Source/XGContext.m: Remove redundant window creation and use
	window from X context (RContext) as app root window.
	* Source/SharedX/XGContextWindow.m: Added _setupRootWindow
	* Headers/gnustep/xgps/XGContext.h: Removed appRootWindow.

Tue Feb 22 17:42:36 2000  Nicola Pero  <n.pero@mi.flashnet.it>

	Contributed by Fred Kiefer <FredKiefer@gmx.de>: 
	* Source/XGFontManager.m: Added lot of code to load font lists 
	and font information from X server; changed the structure.
	* Source/XGFont.m: Changings for font names, families.
	
Mon Feb 21 15:33:00 2000  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	Fixes so windows get released properly.
	* Headers/gnustep/xgps/XGContext.h: Removed windowList ivar
	* Source/XGContext.m: Remove windowList code.
	* Source/SharedX/XGContextEvent.m: Fix for window retains
	* Source/SharedX/XGContextWindow.m: ditto

2000-02-17  Adam Fedor  <fedor@gnu.org>

	* Version: 0.6.5 released.

2000-02-16  Adam Fedor  <fedor@gnu.org>

	* gnustep-xgps.spec: Newfile

2000-02-14  Adam Fedor  <fedor@gnu.org>

	* Version: Update version number
	* Documentation/announce.tmpl.texi: Update
	* Documentation/readme.tmpl.texi: Likewise.
	* Documentation/news.tmpl.texi: Likewise.
	* Documentation/todo.tmpl.texi: Likewise.
	* ANNOUNCE, BUGS, NEWS, README: Regenerate

2000-02-08  Adam Fedor  <fedor@gnu.org>

	* Source/XGGState.m ([XGGState -setGraphicContext:]): Update
	GC so it contains our settings.

2000-02-07  Adam Fedor  <fedor@gnu.org>

	* Source/SharedX/XGContextWindow.m (-DPSwindow::::::): Initialize
	alpha_buffer variable to 0.

	* Source/XGContext.m (-DPScomposite::::::::): Comment
	out call to XGGState:composite..., Doesn't work as well as I had
	hoped.
	* Source/XGGState.m (-_compositeGState:fromRect:toPoint:op:): Fix
	up conversion to Xrect. Variable name changes.

2000-01-25  Erik Martino Hansen  <martino@ling.hum.au.dk>

        * Source/SharedX/XGContextWindow.m ([XGContext -DPSwindow::::::]):
        allow creation of windows on X servers where rootwindow is of
        different depth (i.e. sgi O2 with default depth of 8)

        * Source/SharedX/xrtools.c (xrGetDefaultRGBmap): ditto

Sun Jan 23 02:13:42 2000  Nicola Pero  <n.pero@mi.flashnet.it>

	* Source/GNUstepSystemXFontList: Added Helvetica-BoldOblique,
	Helvetica-Narrow, Helvetica-Narrow-Bold.

2000-01-21  Adam Fedor  <fedor@gnu.org>

	* Headers/gnustep/gui/NSGraphicsContext.m: Change NSCompositeData...
	to NSCompositeDestination...

2000-01-18  Adam Fedor  <fedor@gnu.org>

	* Source/XGDrawingEngine.m (initialize_gnustep_backend): Make
	"ImageCompositing" on be default.

Sun Jan 16  8:45:00 2000  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Source/XGFont.m: Change fprintf to NSLog and make routine info about
	successful font loading be displayed via NSDebugLog() so it doesn't
	normally get displayed.

Fri Jan 14 12:47:00 2000  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Source/SharedX/XGContextEvent.m: Fix for DnD - don't send selection
	clear until AFTER drop, and do an XSync() to flush it through before
	another DnD session can start.

Mon Jan 10 01:52:43 2000  Nicola Pero  <n.pero@mi.flashnet.it>

	* Source/SharedX/XGContextEvent.m (XGDragView): Updated for 
	change in NSView ivar names.

Sun Jan  2 20:20:00 2000  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Source/SharedX/XGContextEvent.m: Fixes for focusm handling.
	* Source/SharedX/XGContextWindow.m: ditto

1999-12-28  Adam Fedor  <fedor@gnu.org>

	* Headers/gnustep/xgps/XGContext.h: Add XDM_FAST15
	* Source/XGContext.m: Check for 15-bit display
	* Source/XGBitmapImageRep.m: Work with 15-bit display
	* Source/XGBitmap.m: Likewise.

	* Source/XGBitmapImageRep (xPixmapMask): Move method to
	category of NSBitmapImageRep.

	* Headers/gnustep/xgps/XGContextWindow.h: Make alpha buffer a void*.
	* Headers/gnustep/xgps/XGGState.h: New ivars - Save context and 
	window we are associated with.

	* Source/XGContext.m (-DPSimage): Implement.
	(-DPScolorimage): Likewise.
	(-DPSalphaimage): Likewise.

	* Source/XGDrawingEngine.m (NSEraseRect): Don't change the current
	color when erasing a rect.
	(GSWinitcontext): Set the window number in the gstate.

	* Source/XGGState.m (-compositeGState:...): Implement
	(-DPSimage:): Likewise.
	(-DPSsetalpha:): Likewise.
	(-DPScurrentalpha:): Likewise.
	* Source/XGBitmap.m: New file.

Tue Dec 28 15:54:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Source/XGDrawingEngine.h: include wraster.h
	* Source/SharedX/XGContextEvent.h: include wraster.h where needed
	* Source/SharedX/XGContextWindow.h: include wraster.h where needed

1999-12-27  Adam Fedor  <fedor@gnu.org>

	* Headers/gnustep/xgps/XGContext.h: Don't include wraster header.

Wed Dec 22 12:02:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Source/XGBitmapImageRep.m: Drawing fix - don't check for window
	visibility - check for existence of drawable.  With check for window
	visibility, drawing into off-screen caches was failing.
	Remove user defaults flag for forcing cache - should not be needed
	now that image caching is working in the frontend.

Thu Dec 16 11:25:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Source/SharedX/XGContextWindow.m: ([DPSwindow::::::]) fix to
	generate unique window tags - was previously re-using tags in a way
	which could cause two windows to have the same tag and therefore get
	very confused!

Wed Dec  8 17:08:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	Fixes for SGI by martino@vertigo.daimi.au.dk
	* Headers/gnustep/xgps/XGContext.h: fast alpha fix.
	* Source/XGContext.m: fast alpha fix.
	* Source/XGBitmapImagerep.m: fast alpha fix.

Tue Dec  7 21:49:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Source/XGContext.m: Fixed errors in testing for color handling.

Mon Dec  6 13:32:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Source/SharedX/XGContextWindow.m: Added an implementation of
	DPSdocedited to mark window close buttons to say that the document
	in the window has (or has not) been edited.

Sat Dec  4 19:41:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Source/SharedX/XGContextWindow.m: Add dumb implementation of
	DPSstyleoffsets (to get window border details).

Thu Dec  2  6:11:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Source/XGBitmapImageRep.m: Set opacity for the image rep.

Wed Dec  1  7:32:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Source/XGDrawingEngine.m: Remove poseAs for XGImage
	* Source/GNUmakefile: Removed XGImage.m
	* Source/XGImage.m: Removed obsolete file.

Wed Dec  1  6:17:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Source/XGGState.m: Removed unused copyDrawable method.
	Changed ([-copyDrawable:fromRect:toPoint:]) to take a source gstate
	rather than a drawable as its argument.
	* Source/XGContext.m: Change compositing to pass source info as a
	gstate, so that it will work between windows of different sizes.
	* Source/SharedX/XGContextEvent.m: Hack to permit dragging with an
	NSCachedImageRep.

Tue Nov 30 20:56:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Source/XGGState.m: Added patch from enrico@imago.ro to implement
	DPScurveto

Tue Nov 30 17:09:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Source/SharedX/XGContextEvent.m: Ensure dnd is initailised when we
	drag from a window that doesn't accept drops.
	Implement code to send ([-draggedImage:endedAt:deposited:]) on drag
	completion.

Tue Nov 30 11:50:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Source/XGCachedImageRep.m: removed
	* Source/XGDrawingEngine.m: remove ref to XGCachedImageRep
	* Source/XGImage.m: Trust NSCachedImageRep to draw itsself.

Tue Nov 23 14:06:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Headers/gnustep/xgps/XGContext.h: New context ivars
	* Headers/gnustep/xgps/XGContextWindow.h: New window ivars
	* Source/SharedX/XGContextEvent.m: Rewrite focus handling.
	* Source/SharedX/XGContextWindow.m: Rewrite focus handling.

Mon Nov 22 23:46:50 1999  Nicola Pero  <n.pero@mi.flashnet.it>

	* Source/XGGState.m (XGWindowRectToX): Bug fix.  Floor is not a
	linear map, so we should apply floor to the point coordinates and
	then compute size by difference; applying floor to the original size
	does not give the same result. This bug was causing borders of gui
	objects to disappear under some circumstances.

Mon Nov 22 14:49:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Source/SharedX/XGContextEvent.m: Added ([-xSyncMap:]) method to
	wait (up to a second) for a window to become mapped.
	* Source/SharedX/XGContextWindow.m: Modifed to make sure that a
	window is mapped before attempting to set input focus to it.

Sat Nov 20 16:59:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Source/SharedX/XGContextWindow.m: Added 'OVERRIDE' to specify
	whether to override redirect for window levels greater than or
	equal to dock level.  If zero (now the default) then window levels
	will work (for menus) in windowmaker.
	If non-zero, then window-levels greater than the dock level will not
	work, but menus can be a lot faster.

Sat Nov 20 16:28:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	Changes for move/resize - I think everything pretty-much works now.
	Certainly the problem with windows drifting when the app icon is
	double-clicked has been fixed - though this is a workaround for what
	appears to be a bug in windowmaker.  The only problem I still know of
	is that window-shade in windowmaker messes up window positioning.
	All this would be much simpler if we ignored the window manager!
        * Source/SharedX/XGContextEvent.m: Changes for move/resize.
        * Source/SharedX/XGContextWindoe.m: Ditto.

Fri Nov 19  7:04:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

        * Source/SharedX/XGContextEvent.m: Changes - too many to list - to
	movement/resizing code.  Including a fix to the recently reported
	DnD problem (I hope).

Wed Nov 17 18:02:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

        * Source/SharedX/XGContextWindow.m: Minor performance improvements
	and a little tidying.  Don't set window position until mapped.
        * Source/SharedX/XGContextEvent.m: Wide-ranging changes including
	lots more debug output, and rewrite of window move/resize code.

Tue Nov 16 12:38:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Source/SharedX/XGContextWindow.m: Fixes for setting window level
	and style etc.  Keep all attributes up to date - building a union of
	settings rather than replacing previous settings with new ones.
	Also - do XSync() before changing window-level to ensure we don't get
	commands going to unmapped windows.

Mon Nov 15 21:56:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Headers/gnustep/xgps/XGContextWindow.h: Some extra constants and
	space for setting window attributes.
	* Source/SharedX/XGContextWindow.m: For borderless windows, set
	override redirect.

Fri Nov  5 20:40:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Source/SharedX/XGContextEvent.m:  fix attempt to dereference nil
	'window'  - was causing occasional crashes.
	
1999-11-01  Adam Fedor  <fedor@gnu.org>

	* Source/SharedX/XGContextEvent.m ([XGDragView -mouseDown:]): Check
	that a valid window device was found.

1999-10-29  Adam Fedor  <fedor@gnu.org>

	* Headers/gnustep/xgps/XGContext.h: Remove obsolete class info.
	* Source/XGDrawingEngine.m: Remove obsolete class posers.

	* Source/SharedX/XGContextEvent.m: Use new cursor ops.
	* Source/SharedX/XGContextWindow.m: Implement new window/cursor ops.

	* Source/SharedX/XGApplication.m: Remove.
	* Source/SharedX/XGCursor.m: Likewise.
	* Source/SharedX/XGScreen.m: Likewise.

1999-10-26  Adam Fedor  <fedor@gnu.org>

	* Source/XGContext.m (-dealloc): Ugly hack to avoid closing
	X display before other X resources have been freed.

1999-10-22  Adam Fedor  <fedor@gnu.org>

	* Source/ShraredX/XGColor.m: Remove.
	* Source/ShraredX/XGMenu.m: Likewise.

	* XGContextWindow.m (-rootWindowForScreen:) Save root window struct.
	(DPSwindow): Set window number +100 to make room for screen windows.
	(DPSsetwindowlevel:) Set save unders and override redirect if window
	level >= dock window.
	
1999-10-21  Adam Fedor  <fedor@gnu.org>

	* Rewrite to remove XGWindow and use context window ops.
	* Headers/gnustep/xgps/XGContext.h: Remove XGWindow.
	* Headers/gnustep/xgps/XGContextWindow.h: New file.
	
	* Source/XGDrawingEngine.m (GSWinitcontext): New function.
	* Source/XGBitmapImageRep.m: Change references to XGWindow.
	* Source/XGApplication.m: Likewise.
	* Source/SharedX/XGCursor.m: Likewise.
	* Source/SharedX/XGMenu.m: Likewise.
	* Source/SharedX/XGScreen.m: Likewise.

	* Source/SharedX/XGContextEvent.m: Renamed from XGContextWindow
	and change references to XGWindow. Use xColorFromColor for XColors.
	* Source/SharedX/XGContextWindow.m: New file implementing window ops.

Thu Oct 21  1999  Nicola Pero  <n.pero@mi.flashnet.it>

	* Source/SharedX/XGContextWindow.m: New keyboard modifier support,
 	independent from X's one and easily customizable from inside
 	GNUstep.  Just anything which deals with modifiers has been
 	rewritten.
		
1999-10-13  Adam Fedor  <fedor@gnu.org>

	* Source/SharedX/XGContextWindow.m ([XGContext
	-receivedEvent:type:extra:forMode:]): Make window main when we get
	a FocusIn event.

Wed Oct 13  1999  Nicola Pero  <n.pero@mi.flashnet.it>

	* Source/SharedX/XGContextWindow.m (process_key_event):
 	Implemented charactersIgnoringModifiers, by creating keysyms and
 	string again after removing the modifiers from the xEvent.

Sun Oct  10  1999  Nicola Pero  <n.pero@mi.flashnet.it>

	* Source/SharedX/XGContextWindow.m (process_key_code): Added
 	XK_Escape.

Fri Oct  8  1999  Nicola Pero  <n.pero@mi.flashnet.it>

	* Source/SharedX/XGContextWindow.m (process_key_code): Added
 	processing of the keysym XK_ISO_Left_Tab (corresponding to
 	SHIFT+TAB). (process_modifier_flags): Added LockMask
 	(to support SHIFT LOCK).

1999-09-24  Adam Fedor  <fedor@gnu.org>

	* Source/SharedX/XGApplication.m: Add defs for use with XDPS
	backend.
	* Source/SharedX/XGContextWindow.m: Likewise. Cast context to RContext.
	* Source/SharedX/XGCursor.m: Likewise.
	* Source/SharedX/XGMenu.m: Likewise.
	* Source/SharedX/XGScreen.m: Likewise.

	* Headers/gnustep/xgps/XGContext.h: Avoid including RContext info.
	* Source/XGBitmapImageRep.m: Cast context to RContext.
	* Source/XGColor.m: Likewise.
	* Source/XGContext.m: Likewise.

1999-09-21  Adam Fedor  <fedor@gnu.org>

	* Source/SharedX/XGApplication.m: Moved from Source.
	* Source/SharedX/XGMenu.m: Likewise.
	* Source/SharedX/XGCursor.m: Likewise.
	* Source/SharedX/XGScreen.m: Likewise.
	* Source/SharedX/XGContextWindow.m: Code from Source/XGContext.m
	
1999-09-20  Adam Fedor  <fedor@gnu.org>

	* Source/GNUmakefile: Change name of wraster directory to SharedX

1999-09-11  David Lazaro Saz  <khelekir@encomix.es>

       * Source/XGDrawingEngine.m: Changed parameter declaration of bordered
       rectangle drawing functions to conform with MacOS X specs (a few
       const declarators).
       Also changed drawing code for them to mimic NEXTSTEP/OPENSTEP as
       much as possible.

Wed Sep  1 11:09:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Source/XGBitmapImageRep.m: Removed DUMB_ALPHA code since it seemed
	more trouble than it was worth.  Added 'GSCacheBitmaps' user default
	to force caching of bitmap images for performance.

1999-09-07  Adam Fedor  <fedor@gnu.org>

	* Version: 0.6.0

Sat Sep  4  7:00:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

        * Source/XGBitmapImageRep.m: Fix from n.preo to avoid attempts to
        get image from outside window.

Fri Sep  3  5:53:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

        * Source/XGContext.m: Call NSWindows updste method after sending any
        resize event - so the window contents get redrawn on time.

1999-09-01  Adam Fedor  <fedor@gnu.org>

	* Source/XGGState.m ([XGGState -DPSrectviewclip::::]): Clip
	rect to window bounds to avoid X errors.

	* Source/XGWindow.m (-xSetFrameFromXFrame): set contentView size,
	remove extra setNeedsDisplay.

	* Source/wraster/xrtools.c (xrGrayToPixel): Use context->colors
	always if available. (xrRGBToPixel): Likewise.

1999-08-29  Adam Fedor  <fedor@gnu.org>

	* Source/XGContext.m (XGErrorHandler): New function.
	([XGContext -_initXContext]): Set X error handler.
	* Source/XGDrawingEngine.m (initialize_gnustep_backend): 
	Set XSynchronize when GNU-Debug=XSynchronize.	

1999-08-24  Adam Fedor  <fedor@gnu.org>

	* Source/XGWindow.m (-dealloc): Check to see if context exists
	before undefining gstate (Hack, but should not need this
	when we get windows working internally in XGContext).

1999-08-09  Daniel Pittman  <daniel@danann.net>

        * Source/XGFont.m:
        (-isFixedPitch): Implemented. This depends on the "SPACING"
        property being present for the font.
        (-boundingRectForFont): Implemented.

Mon Aug  9 14:00:47 1999  Adam Fedor  <fedor@ultra.doc.com>

	* XGContext.m ([XGDragView -mouseDown:]): switch if-else statement
	so we get AppKitDefined events. Convert dragPoint to window
	coordinates.

1999-08-08  Adam Fedor  <fedor@gnu.org>

	* XGContext.m ([XGDragView -mouseDown:]): Send local events
	directly to appropriate window.

1999-08-06  Adam Fedor  <fedor@gnu.org>

	* many files: Update FSF mailing address.
	
Fri Aug  6 15:08:26 1999  Adam Fedor  <fedor@ultra.doc.com>

	* XGContext.m: [XGDragView -mouseDown:]: Fix up coordinate
	conversion so drag window is in correct place.

1999-07-27  Michael Hanni  <mhanni@sprintmail.com>

	* Source/XGWindow.m: added patch from Pedro Ivo Andrade Tavares
	<ptavares@iname.com> to fix last window/application exit. This
	implementation mimcs OpenStep 4.1.

1999-07-29  Adam Fedor  <fedor@gnu.org>

	* Headers/gnustep/xgps/XGContext.h: Added XGDragView interface.
	* Source/XGContext.m: Rearranged dragging code a
	bit. (GSActionForDragOperation) New function.
	(receivedEvent:) Handle Xdnd events
	(-_resetDragTypes:toWindow:): New method.
	(-_addDragTypes:toWindow:): Implement.
	(-_removeDragTypes:toWindow:): Implement.
	(-_postExternalEvent:): New method.
	Added NSDraggingInfo protocol methods to XGDragView, revamped
	[XGDragView -mouseDown:].

1999-07-27  Michael Hanni  <mhanni@sprintmail.com>

	* Source/XGMenu.m: remove all code save for XGMenuWindow.
	* Source/XGPopUpButton.m: removed.
	* Source/XGMenuCell.m: removed -- finally.
	* Source/XGDrawingEngine.m: remove poseAs: for XGMenu, add poseAs:
	for XGMenuWindow. Remove poseAs: for XGPopUpButton.
	* Headers/XGPopUpButton.h: removed.
	* Headers/XGPopUpButtonCell.h: likewise.

1999-07-27  Michael Hanni  <mhanni@sprintmail.com>

	* Source/XGMenu.m: difficult to explain additions to make
	transient menus work a little better. Added _rightMouseDisplay,
	though it doesn't work great yet.

 	Open edit, tear edit off, open edit, open link, select something
	== should close proper menus. Open link in torn off menu and do
	the same, should work. It isn't perfect, but the hack is starting
	to coalesce. Once I figure it completly out I'll drop all the code
	and write it so it makes sense.

1999-07-26  Michael Hanni  <mhanni@sprintmail.com>

	* Source/XGPopUpButton.m: in (mouseDown:) call [super mouseDown:];
	* Source/XGMenu.m: first attempt at dragging multiple windows.
	Open a submenu and then drag the main menu.

Fri Jul 23 11:45:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

        * Tools/gpbs.m: In ihandler() reset signal handler.

1999-07-18  Michael Hanni  <mhanni@sprintmail.com>

	* Source/XGPopUpMenu.m: small 1 pixel movements in the line up
	code. not sure why we need it, but none-the-less.

Sun Jul 18 16:36:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

        * Source/XGPopUpMenu.m: Tidied thge mouseDown mathod somewhat.
	* Source/XGContext.m: Fixes for coordinate conversion in resize/move
	of windows.  In conjunction with NSMenuView sizeToFit fixes, this
	seems to have solved the popup menu problems.

1999-07-17  Michael Hanni  <mhanni@sprintmail.com>

	* Headers/gnustep/xgps/XGContext.h: removed @class references to
	classes no longer in backend, added references that were not there.
	* Source/XGDrawingEngine.m: removed poseAs: for
	XGPopUpButtonMatrix.
	* Source/XGMenu.m: some preliminary code for transient menus,
	though doubtful this route will work. Problems lie in correctly
	transversing transients and also knowing hwo button clicks should
	behave. Also fixed sizeToFit to resize the menu window without
	hoping NSMenuView did it.
	* Source/XGPopUpButton.m: removed XGPopUpButtonMatrix. much
	simplification of code. Added - close: that closes a popupbuttons
	window.

Tue Jul 13  6:01:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

        * Source/XGBitmapImageRep.m: Fix errors in code when DUMB_ALPHA is
	defined - wasn't overwriting those sections of the image with alpha
	component of zero or adjacent background pixels of the same color.
	* Source/XGMenu.m: Implement worksWhenModal.

Sat Jul 10 14:27:18 1999  Adam Fedor  <fedor@hyper.doc.com>

	* Source/XGContext.m (-DPSGetEventMatchingMask:...): Return event.

Sat Jul 10 14:45:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

        * Source/XGBitmapImageRep.m: When rendering bitmap, check to see if
	the windowm is visible (X window mapped) before attempting to get
	bitmap image for background.

Fri Jul  9 11:45:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Source/XGContext.m: Implement DPS event methods to drain any
	events from Xlib queue before calling super implementation.

Fri Jul  9 11:45:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Source/XGContext.m: A few hacks to try to get sync with X.

Tue Jul  6 20:45:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Source/XGApplication.m: Use orderFrontRegardless where app may not
	be active.
	* Source/XGContext.m: Implementation of window ordering code.
	* Source/XGMenu.m: Use orderFrontRegardless when app is activating.
	* Source/XGWindow.m: Remove all window ordering methods - now in
	frontend.

Tue Jul  6 13:08:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Source/XGContext.m: Generate window movement and resize event.
	* Source/XGWindow.m: No longer need ([_setFrame:])

Tue Jul  6  7:00:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Source/XGApplication.m: Fix app icon dragging.
	* Source/XGWindow.m: Removed some methods, now in frontend, and
	use new frontend ([_setFrame:]) method.
	* Source/XGContext.m: Implemented ([_setFrame:forWindow:])
	* Source/XGMenu.m: Fix menu dragging.

1999-07-03  Adam Fedor  <fedor@gnu.org>

	* Source/XGApplication (-run): Move to frontend.

1999-06-30  Michael Hanni  <mhanni@sprintmail.com>

	* Source/XGMenu.m: fixes:

7. Menus no longer disappear as they should when the application becomes
inactive - they should observe NSApplicationWillResignActiveNotification
and NSApplicationWillBecomeActiveNotification [FIXED]

1999-06-29  Michael Hanni  <mhanni@sprintmail.com>

	* Source/XGMenu.m: Much rewriting and rethinking. Now provides the
	basic backend for XGMenu and related classes. Some work is still
	required.
	* Source/XGDrawingEngine.m: changes for XGMenu.m.
	* Source/XGMenuCell.m: removed.

Sun Jun 27  8:02:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Tools/gpbs.m: Tidied headers.
	* Tools/hpbs.m: ditto.

1999-06-24  Adam Fedor  <fedor@gnu.org>

	* Source/XGContext.m: Use GSIArrays for opstack, gstack.
	* Source/XGGState.m: Likewise for path. Change XGDrawObject
	to a struct.
	* Headers/gnustep/xgps/XGContextPrivate.h: Likewise.

	* Source/XGFont.m (+fontWithName:matrix): Autorelease new font.

1999-06-20  Michael Hanni  <mhanni@sprintmail.com>

	* Testing/nstabview.m: added a few more tabs. looks nice with
	tabs, eh? Give it a swing.
	* Testing/popupbuttons.m: added a NSPopUpButton that pulls down.
	* Source/XGPopUpButtonCell.m: removed. moved into frontend.

1999-06-20  Michael Hanni  <mhanni@sprintmail.com>

	* Source/XGDrawingObject.m: poseAs XGPopUpButtonMatrix.
	* Source/XGPopUpButton.m: all event code and XGPopUpButtonMatrix.
	* Source/XGPopUpButtonCell.m: fixes.

	* Testing/nstabview.m: test program for NSTabView. Currently
	displays the very exciting view with no tabs.
	* Testing/popupbuttons.m: rewrite, shows off fully functional
	NSPopUpButtons! switches views around. Hacky but pretty.

1999-06-18  Michael Hanni  <mhanni@sprintmail.com>

	* Source/XGPopUpButton.m: changes to accomodate new cell class.
	* Source/XGPopUpButtonCell.m: new file. Cell class for above.
	* Source/XGDrawingEngine.m: removed *DrawNibble* *DrawDownArrow*.

1999-06-17  Michael Hanni  <mhanni@sprintmail.com>

	* Source/XGPopUpButton.m: new file for popup/pulldown buttons.
	* Source/XGDrawingEngine.m: NSDrawPopUpNibble/NSDrawDownArrow();
	new functions to facilitate drawing necessary items for NSPopUpButton.
	Very rough hack, will make clean.
	* Testing/popupbuttons.m: copy of buttons.m which changes a few
	buttons to popupbuttons for testing.

1999-06-17  Adam Fedor  <fedor@gnu.org>

	* Source/XGWindow.m (-dealloc): Undefine gstate.
	(- _updateGState): New method.
	(- _createBackingStore): Update gstate even when nonretained.

	* Source/XGContext.m (-DPSgstate): Copy gstate as spec'd in PS docs.
	* Source/XGGState.m (-deepen): Always copy GC.

1999-06-16  Adam Fedor  <fedor@gnu.org>

	* Source/XGContext.m (-lockFocusView:inRect:): Remove.
	(-unlockFocusView:needsFlush:): Likewise.
	(-DPSdefineuserobject): Implement (mostly for gstates).
	(-DPSexecuserobject:): Likewise.
	(-DPSundefineuserobject:): Likewise.
	* Source/XGGState.m: Remove uneccessary code, use the offset ivar
	in place of the flip ivar. Optimize a little.
	
	* Source/XGDrawingEngine.m: Implement GSWraps functions.

	* Source/XGWindow.m (-initWithContextRect:...): Create and save
	a gstate.

Fri Jun 11  6:30:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Source/XGWindow.m: ([-flushWindow]) cope with nested focus locks.

Thu Jun 10 19:51:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Source/XGContext.m: Fixed ([DPSmouselocation::]) broken by removal
	of code elsewhere.

Wed Jun  9 10:12:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Source/XGContext.m: Added ([DPSmouselocation::])
	* Source/XGWindow.m: Removed mouse location code.

1999-06-07  Adam Fedor  <fedor@gnu.org>

	* Headers/gnustep/xgps/XGGState.h: New ivar for caching font info.
	* Source/XGGState.m (-setFont:): Use it.
	(-DPSshow): Likewise.
	(-dealloc): Release ctm matrix.

	* Source/XGContext.m: Make sure NSAffineTransforms are autoreleased.

Sun Jun  6 20:40:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

        * Source/XGContext.m: Move event queue code to frontend.
        * Headers/gnustep/xgps/XGContext.h: Remove evenQueue ivar.

Sun Jun  6  9:30:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

        * Source/XGContext.m: Map Mod5 key to alt rather than control.

1999-06-03  Adam Fedor  <fedor@gnu.org>

	* Source/XGStreamContext.m: Fix up some fprintf formatting
	errors.

Wed Jun  2 19:20:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Source/XGApplication.m: Removed some obsolete methods.
	* Source/XGContext.m: Add support for dps event functions.

Fri May 28 15:35:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Source/XGMenu.m: Fix error in hide/unhide of menu.  Submenus are
	now closed correctly.

Fri May 28  5:35:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Source/XGMenu.m: ([-_processMouseEvent:level:]) bugfix from jagapen
	and reformatting.
	* Tools/GNUmakefile: new file
	* Tools/GNUmakefile.preamble: new file
	* Tools/GNUmakefile.postamble: new file
	* Tools/Functions.m: new file
	* Tools/gpbs.m: Modified version of pasteboard server from gui library.
	* Tools/xpbs.m: Extenstions to gpbs for interoperation with X clients.

1999-05-27  Adam Fedor  <fedor@gnu.org>

	* Source/XGContext.m (-DPScomposite): Check for valid gstate only
	when it is non-zero.
	(-DPScompositerect): Remove flushWindow
	* Source/XGDrawingEngine.m (NSHighlightRect): Add flushWindow.

Thu May 27  5:50:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Testing/Edit/Edit.m: Tidy menu creation code and add copy/paste

1999-05-24  Michael Hanni	<mhanni@sprintmail.com>

	* Source/XGFont.m: removed font enumeration.
	* Source/XGFont.m: new method 
 	+ (void)makeKnownFonts:(NSMutableDictionary *)knownFontsDict
	this accepts a dictionary from XGFontManager with fonts known to
	the system.

	* Source/XGFontManager.m: - (void)enumerateFontsAndFamilies
	completly rewritten. Enumerates fonts from system and user dictionaries
	and uses user preferences over system defaults.	
	NSFontManager/FontPanel will soon make use of a generalized font matrix
	that will allow us to finish the FontPanel up.

Wed May 19 10:30:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Source/PXKMenu.m: Applied patch by Jonathan Gapen to start/stop
	periodic events in the right place.

1999-05-18  Adam Fedor  <fedor@gnu.org>

	* Source/XGContext (-DPScomposite): Half-way implement.
	(-DPScompositerect): Likewise.
	* Source/XGDrawingEngine.m (NSHighlightRect): Use DPScompositerect.
	(NSCopyBits): Use DPScomposite.

	* Source/XGImageRep.m: Removed (functions now in gui).

1999-05-12  Adam Fedor  <fedor@gnu.org>

	* Source/XGDrawingEngine.m (NSDrawButton): Check for empty clip rect.
	(NSDrawGrayBezel): Likewise.
	(NSDrawGroove): Likewise.

1999-05-11  Adam Fedor  <fedor@gnu.org>

	* Source/XGFont.m (-descender): Is a negative number.

	* XGWindow.m (-flushWindow): Correct rectNeedsFlush update.

Fri May  7 16:34:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Source/XGBitmapImageRep.m: In initialisation - clear all fields
	of backend structure.

Thu May  6  7:02:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Source/XGContext.m: In event translation, fixed mouse movement to
	generate more frequent events rather than ignoring most of them.
	* Source/XGColor.m: Use 'isEqual:' rather than 'compare:' to test for
	equality of colorspace names - clearer and more efficient.

1999-05-05  Adam Fedor  <fedor@gnu.org>

	* Source/XGColor.m (xColor): Use wraster functions to get color.
	
	* Source/XGContext.m (-lockFocusView:inRect:): 
	Rename of old method and update.
	(-unlockFocus:needsFlush:): Likewise.
	* Source/XGWindow.m (flushWindow): Use stack rectsBeingDrawn.
	Hack to transform rectNeedingFLush using window frame.

1999-05-01  Adam Fedor  <fedor@gnu.org>

	* Source/XGContext.m (-lockFocusView:): Remove viewRect.
	(-unlockFocusView:): Remove code to set flush window.
	(-windowRectInDeviceSpace:): Implement.
	* Source/XGWindow.m (-flushWindow): Use context's 
	windowRectInDeviceSpace method.
	(-_windowNeedsFlushInXRect:): Remove.

Fri Apr 30 18:50:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Headers/gnustep/xgps/XGContext.h: Moved in some interface code.
	* Source/XGApplication.m: Moved much of this to XGContext.m
	* Source/XGBitmapImageRep.m: Added pixmap generation for dnd window.
	* Source/XGContext.m: Moved in stuff from XGApplication.m with
	partial changes for xdnd support.
	* Source/XGWindow.m: Some preliminaries for xdnd

1999-04-30  Adam Fedor  <fedor@gnu.org>

	* Source/XGDrawingEngine.m (XRSetNeedsFlushRect): Remove
	function. Also remove from all functions that use it.
	* Source/XGGState.m (-flushRect:): Remove.
	* Source/XGContext.m (-lockFocusView:): Save view rect.
	(-unlockFocusView:): Flush view rect.
	* Source/XGWindow.m (flushWindow): FLush view rect if we are
	called with an empty rectNeedingFlush.

1999-04-28  Adam Fedor  <fedor@gnu.org>

	* Source/XGFont.m (_openGNUstepXFontList): Remove extra releases.

1999-04-26  Michael Hanni  <mhanni@sprintmail.com>

	* Testing/.cvsignore: New file from xraw/Testing.

Mon Apr 26  6:45:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Source/XGContext.m: Read 'XGPS-Shm' user default to find out whether
	to use shared memory - default is NO.

1999-04-24  Michael Hanni  <mhanni@sprintmail.com>

	* Source/XGFont.m: modifications to allow for user and system
	specific X font assignments to PS font names.
	* Source/GNUstepSystemXFontList: new file which contains a few
	font definitions.
	* Source/GNUmakefile: modified to install GNUstepSYstemXFontList
	into Resources/. Users can copy this file into
	~/GNUstep/.GNUstepXFontList and modify for their own use.
	* Source/XGStreamContext.m: fixed NSDictionary method calls which
	were mispelled.

Sat Apr 17  5:56:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Source/Makefile.preamble: Override BACK_PROJ so we can build
	cleanly as a secondary backend.

1999-04-16  Adam Fedor  <fedor@gnu.org>

	* Source/XRDrawingEngine.m (XRDrawString): Take a NSString as argument.
	(XRCopyStringBuffer): Removed.
	* Source/XGMenuCell.m: Use new XRDrawString. Remove usage of 
	XRCopyStringBuffer.

1999-04-14  Adam Fedor  <fedor@gnu.org>

	* Source/XGScreen.m: Rewrite to support new NSScreen
	functionality. Still not up to OpenStep spec.

Tue Apr 13 15:20:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Version: Fixed version number errors - now 0.5.5

Wed Apr  7 21:30:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* acconfig.h: new file
	* configure.in: Check for X shared memory header.
	* Headers/gnustep/xgps/XGGState.h: Use wraster image stuff.
	* Source/XGMenu.m: Use wraster image stuff.
	* Source/XGMenuCell.m: Use wraster image stuff.
	* Source/XGGState.m: Use wraster image stuff.
	* Source/XGDrawingEngine.m: Use wraster image stuff and get image pos
	right.
	* Source/XGBitmapImageRep.m: Use wraster image stuff, get image pos
	right, and optimise alpha stuff a bit.

Wed Apr  7 12:08:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Source/XGApplication.m: ([-init]) Fixed to continue initialisation
	if unable to load default app icon.

Sat Apr  3 10:52:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Documentation: New directory and contents.

Sat Apr  3 06:45:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Source/NSGWindow.m: Added (inefficient) hack to ensure that windows
	are positioned correctly.  Also added fluch on orderFront and orderBack
	so that windows appear on screen immediately.

Thu Apr  1 06:45:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Source/XGDrawingEngine.m: Removed NSStringDrawing methods - now in
	the gui library.

Tue Mar 30 06:15:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Source/XGWindow.m: Call ([super - setFrame:display:]) when window
	size set by drag.

Fri Mar 26 20:26:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Source/XGApplication.m: Improved code to handle activation and
	deactivation of app when user clicks on another one.

Fri Mar 26 12:50:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Source/wraster/xrtools.c: xrGetDefaultRGBmap() if there is no
	colormap, call DefaultColormap() to get one.
	* Source/XGContext.m: Added code to check for drawing acceleration.
	* Source/XGBitmapImageRep.m: Removed code to check for acceleration.
	* Headers/gnustep/xgps/XGContext.h: Added drawing mechanism ivar.

Thu Mar 25 20:55:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Headers/gnustep/xgps/XGContext.h: Change window struct a little
	* Source/XGApplication.m: Tidy event stuff - add focus checks.
	* Source/XGMenu.m: Fix a couple of crashes - implement activation.
	* Source/XGWindow.m: Much tidying and fixups for size info.
	* Source/wraster/convert.c: Comment out useless debug message.

1999-03-24  Adam Fedor  <fedor@gnu.org>

	* Source/XGStreamContext.m (+initWithContextInfo:): Added code to
	open a stream.

	* Source/XGMenu.m: Get RContext from XGContext.
	* Source/XGMenuCell.m: Likewise.

Wed Mar 24 05:53:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Source/XGColor.m: Tidied a little.
	* Source/wraster/context.c: RCreateContext() - reinstated code to
	set up the colormap - was leaving me with a black-on-black display
	when using 16-bit color.
	* Testing/fontpanel.m: New file by Michael Hanni <mhanni@sprintmail.com>
	* Testing/GNUmakefile: Added fontpanel

1999-03-23  Adam Fedor  <fedor@gnu.org>

	* config.h.in: Remove NSDebug include (config is also used by
	C-file).

	* Get color working again.
	* Source/wraster/*: Updated from wm sources.
	* Source/wraster/wraster.h: Added some variables to RContext.
	* Source/wraster/context.c: Call xrGetDefaultColormap to create a
	standard colormap.
	* Source/wraster/xrtools.c: Renamed from xrtools.m and updated to use
	RContext instead of xr_context_t.
	* Source/XGContext.m: Update to use RContext.
	* Source/XGGState.m: Likewise.
	* Source/XGBitmapImageRep.m: Likewise.

	* Source/XGStreamContext.m: New file (not yet integrated).
	* Headers/gnustep/xgps/XGStreamContext.m: Likewise.
	
Tue Mar 23 20:37:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Source/XGApplication.m: Re-format to make code readable, added a
	window update so resizing a window takes effect immediately.
	* Source/XGWindow.m Re-format and tidy - implement methods for
	constraining window sizes.

Thu Mar 18 08:59:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Source/Makefile.postamble: Don't delete wraster on clean
	* Source/XGDrawingEngine.m: Minor fixup for coordinates of buttons
	and grooves drawn in flipped vies.

Wed Mar 17 17:34:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	Modified practically everything - incorporated many new files from
	xraw with name changes as appropriate.  The xgps library no longer
	has any dependencies on xraw - so you can build it without having
	the xraw package - and we can make changes safe in the knowledge
	that they won't mess up xraw.

Tue Mar 16 16:04:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Source/GNUmakefile: MMove to XG image files from XR files.
	* Source/XGBitmapImageRep.m: Bugfix for alpha from xraw - when image is
	not on screen, use a default background.
	* Source/XGDrawingEngine.m: Various coordinate mapping fixes.
	* Source/XGGState.m: Various coordinate mapping fixes.

Fri Mar 12 20:58:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Source/GNUmakefile: Change from XRBitmapImageRep.m to XG
	* Source/XGBitmapImageRep.m: Almost complete rewrite - support alpha.
	* Source/XGContext.m: Tidy a little.
	* Source/XGDrawingEngine.m: Update BitmapImageRep

Wed Mar 10 12:52:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Source/XGGState.m: Adjust dimensions to fill rectangles properly.

1999-03-08  Adam Fedor  <fedor@gnu.org>

	* Source/XGDrawingEngine.m: Remove some old functions.

Tue Mar  2 08:04:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Merge in 'dawn' CVS branch.

Mon Mar  1 20:10:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Source/XGGState.m: Modified to use NSAffineTransform
	* Source/XGView.m: ditto
	* Source/XGWindow.m: ditto
	* Headers/gnustep/xgps/XGGState.h: ditto

Mon Mar  1 13:30:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Headers/gnustep/xgps/XGContext.h: GSStack becomes NSMutableArray.
	* Headers/gnustep/xgps/XGContextPrivate.h: Remove GSStacks and change
	macros accordingly.  Add ctxt_push() macro to complement ctxt_pop().
	* Headers/gnustep/xgps/XGGState.h: GSStack becomes NSMutableArray.
	* Source/XGDrawingEngine.m:
	  XRFocusLock()
	    Setup ctm by copying contents of [view _matrixToWindow].
	    Set clipping rectangle using DPSrectviewclip().
	  NSDrawButton()
	    Removed erroneous coordinate conversion code and added code to
	    invert drawing if necessary.
	  NSDrawGrayBezel()
	    Removed erroneous coordinate conversion code and added code to
	    invert drawing if necessary.
	  NSDrawGroove()
	    Removed erroneous coordinate conversion code and added code to
	    invert drawing if necessary.
	  NSFrameRect()
	    Removed erroneous coordinate conversion code.
	  NSFrameRectWithWidth()
	    Removed erroneous coordinate conversion code.
	* Source/XGContext.m:  Remove GSStack in favour of NSMutableArray
	  ([-DPSclear]) - simply remove all objects from stack.
	  ([-DPScleartomark]) - reimplement for NSMutableArray.
	* Source/XGGState.m: GSStack becomes NSMutableArray.
	  ([-_paintPath]) - rewrite to minimise objc method despatch overheads
	    largely possible because of change from GSStack to NSMutableArray.
	  ([-DPSnewpath]) - imnplement by removeAllObjects.
	  ([-copyDrawable:fromRect:toPoint:]) rewrite to get coords right.
	  ([-flushRect:]) changed to get coords right.
	  ([+initialize]) Create an empty region for later use
	  ([-DPSrectclip::::]) New region is made by intersecting current
	    with empty region then union with rectangle.
	  ([-DPSrectviewclip::::]) New region is made by intersecting current
	    with empty region then union with rectangle.

Fri Feb 26 17:34:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Source/XGContext.m: Various drawing hacks
	* Source/XGGState.m: ditto

Thu Feb 25 15:15:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Headers/gnustep/xgps/XGContext.h: Update for NSGraphicsContext
	* Source/GNUmakefile: ditto
	* Source/XGContext.m: ditto
	* Source/XGDrawingEngine.m: ditto
	* Testing/TestView.m: ditto

Fri Feb 19 18:56:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Source/GNUmakefile: Fix install of header filkes a bit.
	* Source/XGGState.m: Fix memory scribblking crash and speedup somewhat.

Wed Feb 17  7:51:00 1999  Richard Frith-Macdonald <richard@brainstorm.co.uk>

	* Source/GNUmakefile.postamble: Fixes to get xraw files linked properly
	* Source/GNUmakefile.preamble: Fixes for included header directories.

