2002-08-22 02:34 Alexander Malmberg * Source/art/ARTContext.m: (-DPSrectclip::::): Fix rounding when converting to pixel coordinates. 2002-08-21 20:27 Alexander Malmberg * Source/art/ARTContext.m, Source/art/ARTWindowBuffer.h, Source/art/ARTWindowBuffer.m, Source/art/GNUmakefile: Renamed the WinImage class to ARTWindowBuffer and moved it to its own file. 2002-08-21 14:52 Alexander Malmberg * Source/art/blit.h, Source/art/blit.m, Source/art/ftfont.h, Source/art/ftfont.m: Reformat to fit coding standards better. 2002-08-21 13:50 Alexander Malmberg * Source/art/ARTContext.m: Move common code from _fill and DPSstroke to convert the current path to an ArtVpath to a new method. Update callers. (-compositerect:op:): Create alpha buffer for NSCompositeCopy if the current color isn't completely opaque. 2002-08-21 Alexander Malmberg * Source/art/ARTContext.m: ([WinImage -_exposeRect:]) Guard against invalid coordinates to (hopefully) fix the problem with windows turning all white and BadValue warnings appearing. 2002-08-20 Alexander Malmberg * Headers/art/, Source/art/: Add back-art, a backend based on libart and freetype. 2002-08-15 Adam Fedor * configure.ac: Add NetBSD header/ldflag support (Patch from Peter Cooper). Cleanup freebsd support. 2002-08-06 Adam Fedor * Source/x11/XGServerEvent.m ([XGServer -receivedEvent:type:extra:forMode:]): Add special gotShmCompletion call for libart backend. 2002-08-02 Adam Fedor * Merge from 0.8.0 into main branch. 2002-08-01 Adam Fedor * Version: 0.8.0 * configure.ac: Check for usleep. * Source/x11/XGServerWindow.m ([XGServer -windowdevice:]): Use alternate if no usleep. 2002-07-28 Adam Fedor * Source/xlib/XGBitmap.m (_pixmap_combine_alpha): Use interger arithmatic. (Patch from Jeff Teunissen) 2002-07-19 Adam Fedor * Source/xlib/XGGeometry.m (clipXRectsForCopying): Shift rect origin to account for clipping. * Source/xlib/XGGState.m (-setAlphaColor:): Correct colorspace of alpha color. 2002-07-17 Adam Fedor * Version: 0.7.9 2002-07-14 Adam Fedor * Source/x11/XIMInputServer.m (-ximCreateIC:): Don't set FocusWindow attrib. Causes a segfault at XCloseDisplay.. 2002-07-13 Adam Fedor * Source/xlib/XGBitmap.m (_pixmap_combine_alpha): Fix and cleanup alpha blending (Rescale by alpha) (_bitmap_combine_alpha): Idem. (Patch from Jeff Teunissen). 2002-06-28 Adam Fedor * Source/xlib/XGFont.m ([XGFontInfo -xCharStructForGlyph:glyph]): Fix variable typo - using wrong index to glyph (patch from stoyan@hologr.com). 2002-06-24 Adam Fedor * Source/x11/XGServerWindow.m ([XGServer -windowdevice:]): Use usleep instead of loop to wait for resize (rewritten patch from georg@vhf.de). Sat Jun 22 14:28:28 2002 Nicola Pero * Source/gsc/GSGState.m ([-DPScurrentpoint::]): Use -invert, not -inverse, to invert an affine transform. Sat Jun 22 14:24:20 2002 Nicola Pero * Source/gsc/GSContext.m ([-NSDrawBitmap:rect:pixelsWide:pixelsHigh: bitsPerSample:samplesPerPixel:bitsPerPixel:bytesPerRow: isPlanar:hasAlpha:colorSpaceName:data]): Use scaleXBy:yBy: rather than scaleBy::. * Source/gsc/GSGState.m ([-DPSscale::]): Idem. 2002-06-20 Adam Fedor * Source/x11/XGServer.m (_parse_display_name): New. ([XGServer -_initXContext]): Use it. 2002-06-15 Alexander Malmberg * configure.ac, configure: Use libart2-config and freetype-config to get libs and cflags for libart and freetype. Updated configure. * Source/gsc/GSGState.m (-DPSinitgraphics): Set alpha _before_ calling -setColor:state:. 2002-06-10 Adam Fedor * Version 0.7.8 2002-06-09 Adam Fedor * configure.ac: Set WIN32 and WINLIB only on mingw32 systems. 2002-06-08 Fred Kiefer * Headers/winlib/WIN32FontInfo.h Added ivar for font handle. * Source/winlib/WIN32FontInfo.m Implemented most of the code to support different fonts. 2002-06-08 Fred Kiefer * Source/gsc/GSGState.m Coorected [DPSrectfill::::], [DPSrectstroke::::] and [DPSrectclip::::] not to change the path. * Source/winlib/WIN32GState.m [DPSrectstroke::::] same correction. 2002-06-04 Fred Kiefer * Source/gsc/GSGState.m Added default implementation for [DPSrectfill::::], [DPSrectstroke::::] and [DPSrectclip::::]. * Header/winlib/WIN32GState.h Added ivar to store old clip region. * Source/winlib/WIN32GState.m [_paintPath:], [DPSrectclip::::], [DPSinitclip], [setStyle:] and [restoreStyle:]: Rewrote the whole clipping code. Added [deepen] and [dealloc] for consistency. Simplified [DPSrectstroke::::]. 2002-06-03 Adam Fedor * Source/win32/WIN32Server.m (-beep): Implement * Source/winlib/WIN32Context.m (-NSBeep): Remove. * Source/x11/XGServer.m (-beep): Implement. * Source/xlib/XGContext.m (-NSBeep): Remove. 2002-06-02 Fred Kiefer * Source/win32/WIN32Server.m Treat NSBackingStoreRetained the same as NSBackingStoreBuffered, just as the X backends do. * Source/winlib/WIN32GState.m Reimplemented creation of bitmaps. This should now work for all bitmaps with >16 bits per pixel. The bitmaps that are still missing are due to clipping problems, as can be seen by switching clipping off. 2002-05-12 Adam Fedor * Source/gsc/GSGState.m (-DPSsetalpha:): Call setColor:state:. Clamp value to 0 * Source/Source/xlib/XGFont.m: ([-xCharStructForGlyph:]) use newer GSGFromUnicode() API. 2002-05-09 Adam Fedor * Headers/gsc/GSGState.h: Add color and text ivars. * Headers/winlib/WIN32GState.h: Idem. * Headers/xlib/XGGState.h: Idem. * Source/gsc/GSContext.m: Implement font/text methods. * Source/gsc/GSGState.m (-setColor:state:) Implement Implement color DPS and GS ops to use it. Implement text/font ops. * Source/winlib/WIN32GState.m (-setColor:state:) Implement. Remove color ops (now in GSGState) * Source/xlib/XGGState.m (-setColor:state:) Implement. (-setAlphaColor:) New. Remove color ops (now in GSGState) 2002-05-07 Adam Fedor * Source/gsc/GSStreamContext.m (-GSSetFont:): Don't flip the font for a flipped view. 2002-05-06 Adam Fedor * configure.ac (BUILD_SERVER): Set to predefined define * Source/GSBackend.m: Use it. 2002-05-05 Adam Fedor * configure.ac: Simplify backend selection using --enable-server and --enable-graphics. Add --with-library-flags and --with-include-flags for adding additonal flags. Revert last change to XShm.h test. Add check for art libraries. * Source/GNUmakefile: Conform to new configure output * Source/GSBackend.m: Idem. * Headers/x11/wraster.h: Idem. * Source/x11/XIMInputServer.m: Correct define for HAVE_UTF8 * GNUmakefile.postamble (after-distclean): Remove config.h * Source/gsc/GSContext.m (-dealloc): Destroy gstate. * Source/x11/XGServerWindow.m([XGServer -_addExposedRectangle::]): Use current context class ([XGServer -flushwindowrect::]): Idem. (patches from alexander@malmberg.org). 2002-05-04 Adam Fedor * configure.ac: Improved check for XShm.h * Headers/x11/wraster.h: Use HAVE_X11_EXTENSIONS_XSHM_H * Source/x11/XIMInputServer.m: Fix #if for USE_XIM (patch from alexander@malmberg.org) * Source/xlib/XGContext.m: Idem for HAVE_XFT 2002-05-03 Adam Fedor * GNUmakefile.postamble: Remove '/' in $(INSTALL_ROOT_DIR)/$(GNUSTEP_MAKEFILES) so Windows won't complain. 2002-05-02 Adam Fedor * configure.ac: Updated to autoconf 2.53 from configure.in * configure, config.h.in: Regenerate. * acconfig.h: Remove 2002-05-01 Adam Fedor * config.make.in: Add newline at end - causes Solaris sed to barf. 2002-04-30 Adam Fedor * Version: 0.7.7 * Documentation/news.texi: Update * NEWS: Regenerate. 2002-04-27 Ludovic Marcotte * Source/xlib/XGFontManager.m: Added a RETAIN call to the allFontNames ivar in -enumerateFontsAndFamilies since we would reference a dealloc'ed object after this method call. 2002-04-27 Fred Kiefer * Headers/win32/WIN32Server.h * Headers/winlib/WIN32GState.h * Source/win32/WIN32Server.m * Source/winlib/WIN32GState.m Made sure only resources allocated by our code will ever be freed. 2002-04-26 Adam Fedor * acconfig.h: Define HAVE_UTF8 * config.h.in: Regen. 2002-04-24 Adam Fedor * configure.in: Don't enable wraster support if --with-wraster=none. Print error if no backend server or graphics configured. 2002-04-23 Adam Fedor * Headers/x11/XGServer.h: Rework to handle multiple screens. * Headers/xlib/XGContext.h: Simplify. * Source/win32/WIN32Server.m (-mouseLocationOnScreen:window:): Implement. * Source/x11/XGServer.m: Rework to handle multiple screens. New XScreenContext class. (-initXContext): Use it. (-_screenContextForScreen:): Implement. (-xrContextForScreen:): Idem. (-drawMechanismForScreen:): Idem. (-xDisplayRootWindowForScreen:): Idem. (-xColorFromColor:forScreen:): Idem. * Source/x11/XGServerEvent.m (-mouseLocationOnScreen:window:): Implement. * Source/x11/XGServerWindow.m (-window::::): Use screen arg. (_blankCursor): Use default screen for drawable (?). (imagecursor::::::): Idem. * Source/xlib/XGBitmapImageRep.m: Update for new server interface. * Source/xlib/XGGState.m: Idem. 2002-04-22 Georg Fleischmann * back/Source/xlib/XGGState.m [XGGState DPSsetlinewidth:]: scale line width. 2002-04-23 Fred Kiefer * Source/win32/WIN32Server.m [window::::] corrected and simplified the last change. 2002-04-22 Adam Fedor * configure.in: Check for gdi32. * Source/win32/WIN32Server.m (window::::): Update for new interface - frame is frame rect, not content rect. * Source/x11/XGServer.m (-_initXContext): Look for display attributes in server_info. * Source/x11/XGServerWindow.m (-window::::): Update for new interface. 2002-04-21 Fred Kiefer * Headers/win32 * Headers/win32/WIN32Server.h * Headers/win32/WIN32Geometry.h * Source/win32 * Source/win32/GNUmakefile * Source/win32/GNUmakefile.preamble * Source/win32/WIN32Server.m New directories and files with Display Server for MS Windows. * Headers/winlib * Headers/winlib/WIN32Context.h * Headers/winlib/WIN32GState.h * Headers/winlib/WIN32FontEnumerator.h * Headers/winlib/WIN32FontInfo.h * Source/winlib * Source/winlib/GNUmakefile * Source/winlib/GNUmakefile.preamble * Source/winlib/WIN32Context.m * Source/winlib/WIN32GState.m * Source/winlib/WIN32FontEnumerator.m * Source/winlib/WIN32FontInfo.m New directories and files for drawing on MS Windows. * configure Add library gdi32 for winlib back end. * Source/GSBackend.m Corrected to handle the winlib/win32 backend correctly. * Tools/gpbs.m Ifdefed some signals that are not defined in mingw and use spawn instead of fork on mingw. 2002-04-19 Richard Frith-Macdonald * Tools/gpbs.m: If given -NSHost specification for the current host, ignore it and use the standard name. 2002-04-15 Gregory John Casamento * configure.in: Added check to determine if libXft contains XftDrawStringUtf8 which is used to draw unicode strings. 2002-04-15 Adam Fedor * Source/x11/XGServerWindow.m ([XGServer -_addExposedRectangle::]): Use current server class ([XGServer -flushwindowrect::]): Idem. (Suggestion by alexander@malmberg.org) * Source/x11/XIMInputServer.m (-initWithDelegate:display:name:): Use defaultCStringEncoding if UTF8 doesn't work. (Patch from stoyan@on.com.ua). 2002-04-14 Adam Fedor * Headers/x11/XGServerWindow.h: Add graphics driver protocol information. * Source/x11/XGServerWindow.m (_createBuffer:): Use it. (-termwindow:): Idem. ([XGServer -windowbacking::win]): Idem. ([XGServer -windowdevice:]): Idem. ([XGServer -_addExposedRectangle::]): Idem. ([XGServer -flushwindowrect::]): Idem. * Source/xlib/XGBitmapImageRep.m: Use new GSCurrentDevice. * Source/xlib/XGContext.m: Idem. * Headers/xlib/XGGState.h: Use window device, not window number. * Source/xlib/XGGState.m: Idem. Thu Apr 11 22:24:01 2002 Nicola Pero * Source/x11/XGServerEvent.m: Added missing includes. * Source/x11/XGServerWindow.m: Idem. * Source/x11/XGDragView.m: Idem. 2 2002-04-11 Richard Frith-Macdonald * Tools/gpbs.m: Fixed bug in argument parsing ... was objecting to -NSHost! 2002-04-10 Adam Fedor * configure.in: Don't set X paths if no X found. Only set /usr/local paths for freebsd * Source/gsc/GSContext.m: Remove currentgstate, gstate * Source/x11/XGServerWindow.m (windowbacking:) Implement. 2002-04-06 Adam Fedor * configure.in: Renable XIM by default again. * Source/gsc/GSStreamContext.m (GSSetFont:): Implement. Fix up show methods and fix spaces in method names. * Source/xlib/XGContext.m (-initWithContextInfo:): Return alternate (PS) context when indicated. * Source/xlib/xrtools.c: Simplify color conversion routines. * Source/xlib/XGGState.m: Use them 2002-04-03 Adam Fedor * Source/GNUmakefile.preamble: Fix LIB_DIRS and LIBRARIES_DEPEND_UPON for compiling as a library. 2002-04-02 Adam Fedor * Source/gsc/GSContext.m (-GSDefineGState): Use new def - also creates a copy of the gstate. (-GSReplaceGState): Replace with copy of current gstate. * configure.in (--with-name): Configure the name of the backend * back.make.in: Idem. * config.make.in: Idem. * Source/GNUmakefile: Idem. * Documentation/install.texi: Document. * Source/GNUmakefile.preamble: Missing include. * Source/x11/XGServerWindow.m: Fix slideImage method name. 2002-04-01 Adam Fedor * Source/x11/XGServerWindow.m ([XGServer -_setupRootWindow]): Read GSAppOwnsMiniwindow default. ([XGServer -appOwnsMiniwindow]): Use it. ([XGServer -miniwindow:): Idem. * Source/gsc/GSContext.m (-GSSendBezierPath:): Implement (-GSRectClipList::): Likewise. (-GSRectFillList::): Likewise. (-GSCurrentCTM): Likewise. (-GSSetCTM:): Likewise. (-GSConcatCTM:): Likewise. * Source/xlib/XGGState.m ([XGGState -DPSsetmiterlimit:]): Implement to do nothing. * Source/x11/GNUmakefile: Remove unsed draw.c, gradient.c, misc.c 2002-03-31 Fred Kiefer * Source/x11/XGServerWindow.m In [window:::] set the initial hints for a window, as setWindowHintsForStyle() would otherwise never be called. 2002-03-30 Adam Fedor * Source/GNUmakefile.preamble: Add graphic includes, -Wall * Source/gsc/GNUmakefile.preamble: Likewise. * Source/x11/GNUmakefile.preamble: Likewise. * Source/xlib/GNUmakefile.preamble: Likewise. * Tools/font_cacher.m: Fix include. 2002-03-29 Adam Fedor * Source/gsc/GSGState.m (-GSSendBezierPath:): Append path in all cases. (- GSRectFillList): Implement. * Source/x11/XGServerWindow.m: ([XGServer -windowbounds:]): Don't get screen bounds. * Source/x11/*.c: Fix includes. 2002-03-27 Adam Fedor * Source/x11/GNUmakefile: Get headers from right place. * Source/xlib/GNUmakefile: Remove invalid header. * Source/x11/XGServerWindow.m (-window:::): Change method to match frontend (including setting of style). 2002-03-27 Adam Fedor * Version: Initial version (most code extracted from xgps).