Commit Graph

522 Commits

Author SHA1 Message Date
Johannes Fortmann
9f9d600bad changed install script to always update SenTestingKit
SenTestingKit no longer tries to build with gcc 3.3
2008-08-08 19:26:08 +00:00
Johannes Fortmann
7e45d05365 updated unit test build instructions 2008-08-08 15:48:07 +00:00
Johannes Fortmann
cd3e41548d - fix for issue 138
- plist failure test (currently fails because PropertyListReader_vintage throws exception)
- fix for memleak in NSTask_posix
2008-08-05 20:17:37 +00:00
Johannes Fortmann
3d8541ca5b now why did I call that thing KeyedUnarchiver? also licence corrections 2008-08-05 16:31:26 +00:00
Johannes Fortmann
bdc33b0dde New UnitTest for plist _un_archiving (this does not test the new code) 2008-08-05 16:22:57 +00:00
Johannes Fortmann
cd89e01536 Unit tests now automatically download and build BSD'ed sources
Should make testing easier
2008-08-05 15:52:14 +00:00
Christopher Lloyd
220f7613ac - KGImage bitmapinfo fixes, added BGRX/8, resampling optimizations
- Moved -[KGFont fetchSharedGlyphRangeTable] to KGFont_gdi
2008-08-02 23:37:29 +00:00
Christopher Lloyd
2c4036da3b - Changed removal of "_concrete" from class name to use of classForArchiver in NS(Keyed)Archiver 2008-07-31 16:25:33 +00:00
Johannes Fortmann
35bd7a80e2 and the project... 2008-07-30 18:01:33 +00:00
Johannes Fortmann
6d693bbaa7 - xml property list archiving patch by Pauli Ojala
- tiny NSTask fix
2008-07-30 17:52:03 +00:00
Christopher Lloyd
b9423eb45a - KGImage, KGDataProvider fixes 2008-07-22 19:27:02 +00:00
Christopher Lloyd
eea6bf491e - Fixed reference to -[KGImage bytes] in KGContext_gdi
- Change some usage of KGPath methods to CG functions in NSBezierPath
2008-07-18 19:01:20 +00:00
Christopher Lloyd
2af7a837be - Some initial work for NSURLConnection supporting http, added NSCachedURLResponse, NSURLProtocol_http,NSURLConnectionState classes.
- Changed use of KGPDFPage to CGPDFPageRef in AppKit
- Support in KGDataProvider loading from a file
- Support in KGImage for releasing underlying data if reloadable from data provider
- KGPaint_radialGradient fixups
2008-07-18 17:07:22 +00:00
Christopher Lloyd
631f6d184a - Issue #138, Cédric Luthi's KGPDFContext _pathContentFromOperator fix 2008-07-18 15:10:22 +00:00
Christopher Lloyd
8890d71158 - Issue #135 fix, use OBJCModulePathForProcess() instead of __argv[0]
- Some NSGraphicsContext work to support drawing in NSBitmapImageRep's, probably not functional
2008-07-16 15:11:16 +00:00
Christopher Lloyd
83b3c3dec1 - Enable radial shading in KGContext_builtin, not correct 2008-07-15 17:45:42 +00:00
Christopher Lloyd
4499c3564c - First pass at axial shadings in KGContext_builtin, functional but does not honor extends
- KGImage/KGSurface cleanup
2008-07-15 17:14:12 +00:00
Christopher Lloyd
ebd8caa2c3 - Issue #128 patch from Stephane at Sente, fix for NSSizeFromString, NSIntegralRect
- Issue #129 patch from Stephane at Sente, fix for KGPDFContext
- Issue #130 patch from Stephane at Sente, fix for NSTabViewItem
2008-07-12 19:26:13 +00:00
Johannes Fortmann
289c66689a - several KVC/KVO fixes for the new compiler's signatures (which include stack offsets; it's no longer a good idea to compare function call signatures with @encode signatures)
- small improvements to NSRecursiveLock and NSValue
2008-07-09 19:44:16 +00:00
Christopher Lloyd
f89b680522 - KGContext, renamed mutableBytes to pixelBytes, fixed drawImage: transform
- KGSurface allocate pixel data is an NSMutableData to allow ownership sharing
- KGImage, couple image formats added
- Moved code from KGContext_gdi to KGDeviceContext_gdi to reduce copy&pasteitis
- Fixed NSGraphicsStyle_uxtheme so it works with KGContext_builtin_gdi
2008-07-08 15:59:34 +00:00
Dr. Rolf Jansen
d1cf8b1aa2 NSTextView.m: implemented RTFFromRange: and replaceCharactersInRange:withRTF:
Note: In Cocoa the RTF and RTFD methods behave differently.
In Cocotron RTF/RTFD methods currently do the same.
2008-07-08 13:23:34 +00:00
Dr. Rolf Jansen
6021275b90 acc. Cocoa Docs., NSComboBoxCell objectValueOfSelectedItem should log a message if it is called when usesDataSource is set to YES 2008-07-08 13:11:15 +00:00
Dr. Rolf Jansen
550372950a KGPDFContext added dummy methods -deviceClipReset, and -deviceSelectFontWithName. This prevents Invalid Abstract Invocation Exceptions in KGContext when generating a PDF. 2008-07-07 18:43:53 +00:00
Dr. Rolf Jansen
e2bc4792e9 KGContext_gdi drawPathInDeviceSpace: made all stroking PS_GEOMETRIC, and set the dashes array to NULL in the case of non-dashed strokes 2008-07-07 17:57:46 +00:00
Johannes Fortmann
ca801bdde4 - NSCalenderDate patch by tob...@platen-software.de (next time, attach to bug please)
- stringByAppendingPathComponent doesn't prepend slash if empty path
- fix for alignment on Linux: embedded alignment for e.g. doubles is 4
- fix for overflow in ObjCArray
- Forwarding test tests float separately
- Test for mixed C/C++ exceptions
2008-07-07 17:41:23 +00:00
Dr. Rolf Jansen
757645dc6b corrected spelling of NSBezierPath relativeLineToPoint 2008-07-04 20:55:44 +00:00
Dr. Rolf Jansen
aa297a661e added missing blank at the end of the rtf type specifier in NSRichTextWriter writeRichText. Without the blank, RichText readers (Cocotron and Cocoa) would eat the first char of the content. 2008-07-04 18:33:34 +00:00
Christopher Lloyd
6693bf2b93 - Issue #125, Cédric Luthi's fix for NSDate timeIntervalSince1970
- Issue #126, Cédric Luthi's fix for NSNumber numberWith(Unsigned)Integer
- Fixed KGPath isRect:
- Fixed addRect: to be a clockwise rect
- Enable path bounding box clipping in KGContext_builtin
- Enable path clipping in KGContext_builtin_gdi, moved clipped code  to KGDeviceContext_gdi and fixed transforms for clip path.
2008-07-04 16:25:38 +00:00
Dr. Rolf Jansen
28cb583b7f NSComboBoxCell: implemented -(int)indexOfSelectedItem and -objectValueOfSelectedItem 2008-07-02 21:06:31 +00:00
Dr. Rolf Jansen
b83623594d NSPopUpButton: implemented -(BOOL)selectItemWithTag:(int)tag 2008-07-02 18:24:22 +00:00
Christopher Lloyd
d4de5f7d02 - KGImage/KGSurface direct read/writing of native ARGB format optimization. 2008-07-02 15:26:20 +00:00
Christopher Lloyd
fda9e90f30 - Enabled miter limit in GDI context and set default in gstate to proper value 2008-07-01 16:52:56 +00:00
Christopher Lloyd
c5674a539a - Issue #124, Cédric Luthi's fix for -[NSWindow _makeSureIsOnAScreen]
- Improved path stroking in the GDI context, line cap, line join and dashes enabled, along with improved coordinate/size transformation
- Fixed drawing cached image rep's in KGContext_builtin_gdi
2008-07-01 16:01:56 +00:00
Christopher Lloyd
d50b2f9fbf - CGAffineTransformConcat, switched multiplication to proper order, changed affected callers
- KGContext, path points transformed by CTM during construction as they should
- minor cleanup, fixes, optimizations
2008-06-30 16:18:49 +00:00
Christopher Lloyd
c2299dbf93 - Split the PDF encoding/decoding of KG objects into separate +PDF.h/.m's
- Added KGSurface_DIBSection, KGContext_builtin_gdi
2008-06-27 17:35:48 +00:00
Christopher Lloyd
a9297cfc39 - Issue #121 Cédric Luthi's KGMutablePath addArcAtPoint: fix 2008-06-25 20:30:34 +00:00
Christopher Lloyd
9d8e020688 - SWRender, private AA quality gstate ivar, fill/blend optimizations, bugfix in surface resize 2008-06-23 18:58:30 +00:00
Christopher Lloyd
f057bee1b4 - Issue #120, Cédric Luthi's -[NSBezierPath curveToPoint:controlPoint1:controlPoint2:] fix. 2008-06-20 15:17:50 +00:00
Christopher Lloyd
d0884ba052 - Fixed usage of __stdcall for Linux, related to 'func' error when compiling 2008-06-18 02:26:24 +00:00
Christopher Lloyd
388529fe06 - Dan Knapp's CoreData patch, model reading functionality 2008-06-17 16:37:08 +00:00
Dr. Rolf Jansen
4da5ed923e added the Debug configuration to the Cocoa-Windows-i386 target 2008-06-17 06:05:59 +00:00
Johannes Fortmann
f86db673c0 applied image base patch 2008-06-15 04:04:51 +00:00
Christopher Lloyd
01264c16d8 - SWRender, KGContext/KGFont uses an NSString instead of C string for font name, allow KGContext_builtin and KGSurface to be resized. cleanup
- [Win32Workspace iconForFile:] rough in, non-functional needs more graphics support
2008-06-10 17:01:59 +00:00
Christopher Lloyd
357779ec3b - SWRender, converted active edge table to linked list, variety of small optimizations in scanline fill 2008-06-06 19:45:56 +00:00
Christopher Lloyd
d3486245a5 -SWRender, changed coverage from float to int (0-256), switched from circle gaussian filter to box filter, optimization to only generate and use scanline sample buffer entries that are touched 2008-06-04 19:36:53 +00:00
Christopher Lloyd
40c4ca01e3 - -[NSApplication targetForAction:] will ask the shared document controller after the application delegate, this enabled File -> New and Open ... to enable and work in a document based app. 2008-06-02 16:12:28 +00:00
Christopher Lloyd
5d0704eb45 - Issue #87, -[NSApplication finishLaunching] NSDocumentController related fixes by Dan Knapp 2008-06-02 15:50:42 +00:00
Christopher Lloyd
0dd6b2310d - SWRender, converted scanline fill to sampling scanline buffer 2008-05-31 02:20:19 +00:00
Christopher Lloyd
ff9d04c303 - SWRender, merged KGRasterizer/KGContext_builtin, implemented a variety of blending,resampling,sampling functions for RGBA8888 color based on their RGBAffff counterparts. 2008-05-26 18:06:53 +00:00
Johannes Fortmann
eb93a400e9 - current thread now remains current during its dealloc
- guard against use of _sharedObjects ivar during dealloc of shared objects (shared objects will be nil during dealloc)
- performOnThread:withObject: now works if object is nil
- NSDate caches distantFuture/Past
- NSSavePanel & NSOpenPanel "sheets" should work now
- NSSavePanel gives proper return value
2008-05-25 19:25:43 +00:00