58 Commits

Author SHA1 Message Date
Christopher Lloyd
16d286b6de move generic OTHER_LDFLAGS for windows to xcconfig 2011-09-28 10:55:06 -04:00
Christopher Lloyd
1200b1f942 remove almost all top-level configuration build variables 2011-09-28 10:14:44 -04:00
Christopher Lloyd
5fbac7dc5c move deployment options to xcconfig 2011-09-27 10:25:49 -04:00
Christopher Lloyd
1fc511eda0 remove EXECUTABLE_SUFFIX, fix Foundation base xcconfig 2011-09-26 23:28:47 -04:00
Christopher Lloyd
028364941e move DEPLOYMENT_LOCATION to xcconfig 2011-09-26 23:19:53 -04:00
Christopher Lloyd
a9a5306e07 add framework xcconfig 2011-09-26 18:06:39 -04:00
Christopher Lloyd
fe2733fa5a move Windows INSTALL_PATH to xcconfig 2011-09-26 14:32:36 -04:00
Christopher Lloyd
2d69bdf6a3 add basic xcconfig's for current targets and update build paths to use EFFECTIVE_PLATFORM_NAME 2011-09-26 14:16:24 -04:00
Christopher Lloyd
0f1a73fd84 NSWindow/Win32Window setLevel: implemented and used in AppKit for proper window levels 2010-11-01 21:13:23 -04:00
Christopher Lloyd
7b045dfb6b - Mike Shields' NSBox custom type implementation
- Onyx2D optimizations, faster blend, image resample, axial gradient
- NSBitmapImageRep now copies original CGImage lazily, memory leaks fixed
- Debug configurations
- NSDictionary optimizations
2010-05-11 11:28:47 -04:00
Christopher Lloyd
61d3e2f55e standardize all build directories as in project directory 2010-04-01 13:01:05 -04:00
Christopher Lloyd
25f22b4c7b split Onyx2D out of CoreGraphics 2010-03-31 10:36:14 -04:00
Christopher Lloyd
c3dead2920 - add FreeBSD targets to all frameworks
- brought X11 back to current for Darwin and FreeBSD
- removed CairoCacheImage, added O2Surface_cairo
- separated TTFFont into O2FontState_cairo/O2Font_FT/TTFFont
- renamed CairoContext O2Context_cairo
- added O2Context_builtin_FT which implements Onyx2D+FreeType
- moved font queries to X11Display
- added NSPlatform_bsd.m to AppKit
- encoding change/fix(?) in NSColor.m
- moved showText: into abstract class O2Context from _gdi classes
- fix for ObjCModule.m to get executable path
2009-12-16 19:27:00 +00:00
Christopher Lloyd
0bc49c089b fix for ApplicationServices Darwin target 2009-11-13 21:14:17 +00:00
Christopher Lloyd
19090a847d - fix for NSDate -copyWithZone:
- renamed many of the KG* classes to O2*
- added shadings tests to SWRender, cleanup, fixes, optimizations
- sketched in O2Font_ttf and O2TTFDecoder, glyph test
2009-10-06 16:02:46 +00:00
Christopher Lloyd
7097fe9497 fixed SDK path in ApplicationServices project 2009-09-18 16:07:41 +00:00
Christopher Lloyd
94a39129bc Rasterizer performance improvements, renamed KGColor to O2Color 2009-08-06 20:02:33 +00:00
Christopher Lloyd
a21b4fdb37 Renamed KG(Mutable)Path to O2(Mutable)Path and converted API to C functions 2009-08-03 20:52:42 +00:00
Christopher Lloyd
3e5eba15a1 - removed dependancy of KGContext_gdi/KGContext_builtin_gdi on KTFont
- added encoding info to KGGraphicsState and KGFont
- moved CoreText stuff to its own project
2009-07-02 19:28:33 +00:00
Christopher Lloyd
0c666b973e - added more enums to NSStringEncoding
- implemented cStringUsingEncoding:NSUnicodeStringEncoding
- removed NSNullTerminatedUnicodeFromString and replaced with cStringUsingEncoding:NSUnicodeStringEncoding
- switched KGPDFContext to use KGFont instead of KTFont, added KGFont method for advances and recoding
2009-06-30 21:49:50 +00:00
Christopher Lloyd
3315187bc4 - Issue #303, fixed NSBezierPath appendBezierPathWithRoundedRect: and appendBezierPathWithArcWithCenter: enough for this issue.
- Improved KGMutablePath addArcAtPoint:...
- cleaned up some import's of KG classes
2009-06-16 18:33:38 +00:00
Christopher Lloyd
a73db3310f - split CoreGraphics out into it's own framework project. AppKit still embeds CoreGraphics but it is also built standalone on Foundation. (don't link against both)
- new experimental AppKit-MacOS-i386 target which sits on Apple's Foundation, ApplicationServices (not operational). Header&api usage fixes to clean this up.
- Redid NSBezierPath so it doesn't rely on private Cocotron CoreGraphics API.
- Change the NSRaise macros/functions to be inline so AppKit can just include it instead of depending on them in Foundation since they aren't present in OSX.
- split NSRaiseException() into it's own Foundation private header and removed use from AppKit.
- changed use of NSRangeEntries so AppKit can embed it on MacOS
- switched NSOutlineView use of NSInt*CallBacks to NSInteger*CallBacks
- added CGPDFContext and CGDataConsumer
2009-06-05 03:16:46 +00:00
Christopher Lloyd
53acf47923 - mass change of unsigned/int to NSUInteger/NSInteger in Foundation and assorted type changes for 64-bit
- Added Darwin x86_64 Foundation/objc target for 64-bit compile testing
2009-05-19 17:14:03 +00:00
Christopher Lloyd
2ab15031c0 - nil and Nil defined as 0 instead of ((Class)0) and ((id)0)
- FoundationErrors.h added
- NSFileManager string constants added
- CGColorSpaceRetain added
- NSBrowser -backgroundColor/-setBackgroundColor: added as well as 'int' changed to NSInteger. unimplemented addColumn/setLastColumn: methods added
- NSGradient initWithColors:atLocations:colorSpace: argument type fix
- NSScrollView drawsBackground/setDrawsBackground: methods added
- NSColorSpace +deviceRGBColorSpace,-initWithCGColorSpace:,-CGColorSpace implemented
- NSBezierPath.h header fix
2009-03-26 03:18:11 +00:00
Christopher Lloyd
0138291acf - NSEntityDescription fix for updated objc runtime
- Removed NSMethodSignature cache, not thread safe.
- Removed NSIndexPath cache, not thread safe.
- Moved NSPropertyListReader_vintage class caching into instance.
- Removed caching of page size in NSPageSize() for linux/solaris/darwin.
- objc cache entry initialization tweaks
- removed unused _selectorCount
- Moved NSBundle static _sharedLookInDirectoriesArray to per-instance
- Moved NSProcessInfo static _counter and _counterLock to per instance
- Uncommented NSClassDescription use of @synchronized as the compiler can handle it now.
- Remove _fontHolder from NSInterfacePartAttributedString
- declared some variables with static scope as static
2009-02-25 01:13:55 +00:00
Christopher Lloyd
4be46ae995 - Fixed Info.plist path in Darwin target in ApplicationServices.xcodeproj
- Added ApplicationServices as dependancy for Darwin AppKit target
- Added characterIndexForPoint: to NSTextInput protocol
- NSFontDescription matchingFontDescriptorsWithMandatoryKeys:, matchingFontDescriptorWithMandatoryKeys: stubs
- NSResponder.h moveRightAndModifySelection:,moveLeftAndModifySelection:,moveWordRightAndModifySelection:, moveWordLeftAndModifySelection:,moveWordRight:,moveWordLeft:,
- NSTextView dragOperationForDraggingInfo:, cleanUpAfterDragOperation stubs
- NSPropertyListReader_vintage +initialize had wrong return type
2009-01-26 02:26:32 +00:00
Christopher Lloyd
f60cc689f5 - ImageIO and in turn NSBitmapImageRep now support reading GIF without transparency
- Added host byte order constants to CGImage.h
- Fixed problem in NSBitmapImageRep with float bitmap flag
- Added NSCocoaErrorDomain constant to NSError
2009-01-09 19:18:31 +00:00
Christopher Lloyd
9e76b3cb46 -[NSBitmapImageRep initWithData:] fixes 2009-01-05 20:41:56 +00:00
Johannes Fortmann
a1ace363cb - NSBundle memory leak fix
- NSObject memory leak fix (LookupAndCache assumes cache has been checked)
- spin lock fix
- plist writing accepts NSNumbers
- KVO doesn't call out for setObservationInfo:
- TTFFont cache
- CairoContext etc. deallocs
- various X11 fixes
2009-01-02 12:04:01 +00:00
Christopher Lloyd
63a0128401 Moved -[NSDisplay menuFontNameAndSize:] to KTFont 2008-12-08 15:09:33 +00:00
Christopher Lloyd
727c659ec4 a little more KTFont/KTFont_gdi cleanup 2008-12-05 03:04:33 +00:00
Christopher Lloyd
061c62e63c - KGFontState renamed KTFont, most of the existing implementation moved to KTFont_gdi (previously KGFontState_gdi), cleaned up
- CTFont API which wraps KTFont
- NSFont largely changed to CTFont API use
- assorted KGContext * -> CGContextRef changes
2008-12-04 04:15:50 +00:00
Christopher Lloyd
3a6215ce9a more KGFontState/KGFont cleanup 2008-12-03 22:21:32 +00:00
Christopher Lloyd
98f5dfe452 - more KGFont/KGFontState cleanup 2008-12-03 21:17:06 +00:00
Christopher Lloyd
8cadfd182e - more KGFontState renaming 2008-12-02 16:13:11 +00:00
Christopher Lloyd
ac142a7470 - KGFont renamed KGFontState in preparation for KGFont/KGFontState cleanup
- NSDistributedNotificationCenter skeleton added
2008-12-02 15:08:25 +00:00
Christopher Lloyd
0670d7e3a4 - One-off on the page number fix for NSPDFImageRep
- Corrected ordering of CGPathElementType so VGPath's draw correctly.
2008-11-11 16:17:39 +00:00
Johannes Fortmann
06f7f8f2ba NSConditionLock implemented 2008-11-02 12:32:37 +00:00
Johannes Fortmann
707de95b0d Font drawing now works (no discovery yet) 2008-10-16 15:22:24 +00:00
Johannes Fortmann
d11bf8b690 build fix for Linux foundation
Linux target for ApplicationServices
Linux target for AppKit
start of implementation of X11 display:
- display via Xlib
- Graphics via Cairo
- Fonts (planned) via freetype
2008-10-15 16:47:22 +00:00
Johannes Fortmann
2e78ea50f8 - reduced @synchronized lock contention by using several locks depending on object address; no lock needed for release
- some warning fixes
- NSSegmentedControl/Cell implemented (no images yet)
2008-09-14 20:34:48 +00:00
Christopher Lloyd
b8ef1a6601 - added NSColor private method to generate a CGColorRef
- NSShadow set now does the proper CG calls instead of raise exception, but the underlying CG to draw shadows is not present
- added CGColorSpaceCreateDeviceGray(), CGColorSpaceCreateDeviceCMYK() functions
- Gaussian blur work for shadows
2008-09-05 19:17:18 +00:00
Christopher Lloyd
b8f00f074b - Added Chris B. Vetter's NSNetServices.h/.m contribution to repository, not integrated
- Fixed leaks in KGContext_builtin reported by ken at ecamm
2008-08-25 17:19:04 +00:00
Christopher Lloyd
24e0d9c8da - Fixed channel swapping problem drawing images
- Removed CGContextDrawContextInRect/-[CGContext drawContext:inRect:]
2008-08-14 13:39:41 +00:00
Christopher Lloyd
b7dda287b6 - KGImageSource_TIFF returns DPI properties and will return multiple images if requested
- NSBitmapImageRep uses DPI properties from CGImageSource if present to calculate size
- NSImageCell uses NSImage drawInRect: which in turn will scale image
- NSImage has more caching behaviour and will resize images into cached reps
- NSCachedImageRep uses the new rasterizer always
- -[NSWindow deviceDescription] returns something usable by NSImage
2008-08-12 16:16:19 +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
ea7a8a921e - Removed CGContextSetCalibrated* functions, the Windows user colors defined within their own color space and gamma adjustment of device/calibrated pushed into KGContext_gdi
- Fixed problem with NSPopUpButton cell having a blank title introduced with the NSButtonCell attributed title changes

- SWRender, AA Sample structure flattened
2008-05-19 20:30:25 +00:00
Christopher Lloyd
22bbe557d3 - Issue #115 patch by steph...@sente.ch, split -[NSColor set] into -[NSColor setFill] and -[NSColor setStroke] 2008-05-16 18:59:00 +00:00
Christopher Lloyd
51add64d47 - Added CGPDFDocument.h in ApplicationServices to repository 2008-05-01 18:52:43 +00:00
Christopher Lloyd
a570c48944 - SWRender, added PDF draw test
- PDF drawing related cleanup
2008-05-01 03:39:59 +00:00