28 Commits

Author SHA1 Message Date
Christopher Lloyd
a14ef3693f - Rolf Jansen's NSLocale improvements 2008-02-08 03:51:09 +00:00
Christopher Lloyd
c365e20d59 - Fixed problem with -[NSWindow setMenu:] causing window display prior to awakeFromNib
- Changed some of the build install permissions from a-w to og-w as u-w was causing problems
2008-02-03 06:10:46 +00:00
Christopher Lloyd
c4a43051a7 - New 'Debug' configurations in AppKit/Foundation/objc provided by Rolf Jansen. 'Deployment' configuration renamed 'Release' in all projects 2008-01-31 15:26:21 +00:00
Christopher Lloyd
cd258cbd9b - Removed the gcc 4.0.3 specific project targets. 2008-01-19 19:02:10 +00:00
Christopher Lloyd
c7970562d8 - Large number (~400) of unimplemented/simple methods added. NSMutableURLRequest, NSCachedURLResponse classes added. Some conversion from int/unsigned to NSInteger/NSUInteger started.
- CGWindow changed so that KGContext's are used instead of KGLayer/KGRenderingContext and KGContext is generally retained instead of being recreated from the KGRenderingContext each time it is needed.
- converted font panel and color panel to binary plist format
2008-01-02 03:31:21 +00:00
Christopher Lloyd
ac8c6a74cd - Issue #50, Binary bplist reader from Mike Ash and Jens Ayton
- Issue #55, Rolf Jansen's NSEvent deltaZ to deltaY fix
- Issue #56, Rolf Jansen's Recent Documents fix
- thinkertons NSRangeFromString implementation added
- Small amount of NSUTF16BigEndianStringEncoding added to support bplist reader
2007-12-19 15:51:38 +00:00
Christopher Lloyd
e5c2e1c5b5 - Issue 47 fix by Rolf Jansen, %f formatting bug fixes
- NSApplication*ActiveNotification's behavior implemented
- gcc 4.2.1 compiler warnings reduced
- First pass at PDF output, -[NSView dataWithPDFInsideRect:], and underlying NSPrintOperation, KGPDFContext and KGPDF* code functional but not complete (text, images and shadings not functional)
- Cleanup of KGContext,KGGraphicsState to be more general/abstract, moved KGRendering/DeviceContext into Win32
- NSCachedImageRep changed to use NSWindow instead of CGLayer
2007-10-15 18:08:57 +00:00
Christopher Lloyd
7cdf921e91 - Issue 34, Matteo Ceruti's Jul 15, 2007 Darwin_ppc patch added.
- Issue 37 fixed
2007-07-31 04:56:44 +00:00
Christopher Lloyd
b5a5dd53ec - C++ compatibility patch from Johannes Fortmann
- category method list patch from Johannes Fortmann
- Issue 36 fix by Johannes Fortmann
- new Windows targets for gcc 4.2.1
2007-07-30 13:30:20 +00:00
Christopher Lloyd
8412c6fa15 - moved glyph metric information into KGFont so that KG can track the baseline between shows, made KGFont functional and used by NSFont
-[NSDocument readFromURL:ofType:error:] implemented
-[NSDocument readFromFileWrapper:ofType:error:] implemented
-[NSDocument readFromData:ofType:error:] implemented
-[NSDocument loadFileWrapperRepresentation:ofType:] implemented
- radial shader improvements, adjusting for scaling and optimizations
- NSImageRep, NSPDFImageRep, NSBitmapImageRep fixes for file extension registration
- simple NSURL support for files
- NSToolbar fix so that it defaults to visible and appears when added to a window
2007-07-07 03:23:36 +00:00
Christopher Lloyd
a286b26947 - Added Darwin-i386 and Darwin-ppc targets to Foundation and objc
- Added platform_darwin and appropriate classes
- Reduced compiler warnings for the Linux, Solaris, Darwin targets.
2007-07-05 19:06:44 +00:00
Christopher Lloyd
4c3a9a4a70 - Issue #28 fix by Rolf Jansen
- Issue #33 fix
- Dirk Theisen's NSIndexPath implementation added
- Dirk Theisen's NSThread and [NSColor colorWithAlphaComponent:] changes
-[NSObject methodForSelector:] and +[NSObject instanceMethodForSelector:] now return objc_msgForward instead of NULL if selector not present per behavior of Apple's Foundation but not documented (thanks to Mike Ash)
2007-06-18 16:22:20 +00:00
Christopher Lloyd
16961c2973 - Added Dirk Theisen's -[NSArray initWithContentsOfFile:]
- Roughed in NSTextAttachmentCell, NSTextList, NSPropertyListSerialization, NSHelpManager, NSViewAnimation, NSAnimation, more NSLayoutManager methods
- First pass at NSTextAttachment, NSGlyphGenerator
- NSParagraphStyle, NSMutableParagraphStyle, added all documented setters/getters
- Split NSTypesetter into NSTypesetter and NSTypesetter_concrete, roughed in NSTypesetter, updated NSTypesetter_concrete a littles
+[NSAttributedString attributedStringWithAttachment:] implemented
2007-05-29 04:00:51 +00:00
Christopher Lloyd
7122f8c401 - NSValueTransformer implementation 2007-05-23 03:52:57 +00:00
Christopher Lloyd
4303498e18 + Johannes Fortmann's bindings patch:
- deep KVO is routed through public addObserver: function now, which
means that observing values on an array now throws the exception as it
should.
- NSArrayController now returns _NSObservableArray class, which allows
observing values on array objects. Observing operators is supported,
but will fire change notifications even though no change (i.e.
@max.value fires everytime a value changes, not only in case the
maximum changes)
- binding options are respected for a few values
- defaults for binding options can be specified on a per-class basis
through a plist
- multi-value bindings work (in an extremely limited way)
- binding a table column against an array not provided by the table's
NSArrayController works
- column bindings create suitable sort descriptor prototypes
- clicking a column header changes the table view's sort descriptors
2007-05-19 03:47:03 +00:00
Christopher Lloyd
bedc7810fe - Fixed issue #29, indexGreaterThanIndex: not working.
- Implemented sel_isMapped()
2007-05-09 00:22:51 +00:00
Christopher Lloyd
35d4c5b24f - Added Dirk Theisen's NSAssertionHandler.h
- First pass at functional NSIndexSet, NSMutableIndexSet
- Added hex identifiers in NSPredicate parser

- Roughed in NSSegmented*, NSSearchField*, NSLevelIndicatorCell*, NSAnimation, NSViewAnimation, NSTokenField*, NSTextTable*, NSTextBlock*

Implemented:
-[NSArray sortedArrayUsingDescriptors:]
-[NSMutableArray  replaceObjectsInRange:withObjectsFromArray:range:]
-[NSTask_win32 processIdentifier]
-[NSTextView firstRectForCharacterRange:]
-[NSView addSubview:positioned:relativeTo:]
2007-05-08 18:00:25 +00:00
Christopher Lloyd
edddfd8e94 - Issue #27, integrated cacaodev's NSComparisonPredicate changes (regex comparisons not added as we have no regex yet)
- NSPredicate scanner/parser completed
- Another pass at the NSExpression* and NS*Predicate classes

- added template for NSGlyphInfo, NSGlyphGenerator
- setters/getters in NSDatePicker, NSDatePickerCell implemented
- setters/getting for NSAlert implemented
-[NSString compare:options:range:] implemented
2007-04-29 13:45:20 +00:00
Christopher Lloyd
ab72409ef1 - Fixed issue #24, NSImage now retains self for NSCopying
- Fixed issue #25, %C should work now in NSString format strings
- Initial pass at issue #26, partial implementation of NSKeyedArchiver

- Initial pass at recursive descent parser for NSPredicate format strings.
- A few CoreFoundation headers added to Foundation
- NSConditionLock template added.
-[NSBundle objectForInfoDictionaryKey:] implemented
-[NSCharacterSet isSupersetOfSet:] implemented (poorly)
-[NSMutableData replaceBytesInRange:withBytes:length:] implemented
-[NSData dataWithBytesNoCopy:length:freeWhenDone:] implemented
-[NSString UTF8String] implemented
-[NSString stringByStandardizingPath] added by not implemented correctly
-[NSError localizedDescription] implemented
+[NSSet setWithObjects:count:] implemented
- AppKit/binders renamed AppKit/NSKeyValueBinding
- Initial pass at NSFontDescriptor added
-[NSView convertSize:to/fromView:] implemented
-[NSFont getAdvancements:forGlyphs:count:] implemented
-A few NSAnimation/NSViewAnimation definitions added
2007-04-22 18:58:47 +00:00
Christopher Lloyd
1e6d2bb42a - Added Rolf Jansen's NSCell, NSButtonCell, NSButton patches for more button types and mixed state
- Implemented NSDisclosureBezelStyle in NSButtonCell in default theme

- Improved layout and more drawing with UxTheme

- Added Johannes Fortmann's KVO fixes from April 5th

- Fixed Linux/Unix header, linking and runtime problems reported by Anthony Beurivé
2007-04-06 01:43:26 +00:00
Christopher Lloyd
64055fe034 - Added Johannes Fortmann's KVC fixes and KVO implementation
- Cleaned up objc runtime/headers so that the differences between the KVO implementation for Cocotron vs. Apple runtime are a much smaller.

- Fixed issue 20 for pointer and non-retained object NSValue's.

- Fixed issue 19, NSSelectorFromString so that it registers unknown selectors

- Added Dirk Theisen's concrete NSDirectoryEnumerator and NSClassDescription implementation

- added more NSURL* methods.

- moved some control drawing into a new class NSGraphicsStyle which is responsible for control drawing in the current theme. NSGraphicsStyle implements the default theme and subclasses draw whatever look they want.

- preliminary support for the XP and above UxTheme API in the class NSGraphicsStyle_uxtheme, some controls will do native themed drawing now. Layout/highlighting is not perfect.
2007-04-02 14:40:36 +00:00
Christopher Lloyd
b83f6593fc - Dirk Theisen added NSFileType key to attributes dictionary returned by -[NSFileManager_win32 fileAttributesAtPath:traverseLink:]
- Added axial shaders via CGShading/CGFunction interface

- Added clipping to path

- Added ApplicationServices project for header compatibility if you use CoreGraphics

- Fixed problem with nib connections which do not have : at end

- Fixed problem with system images not appearing in check boxes loaded from nib
2007-03-23 21:20:59 +00:00
Christopher Lloyd
9d9ccbe544 - Renamed&Moved the NSXML* classes into NSPropertyList/NSOldXML*. These are being replaced by classes that adhere to the API documentation but are still needed to read plists while the new classes are being worked on.
- Added method starting points for NSXML*, NSOpenGL*, NSSegmented*, NSNib, NSURLRequest,NSURLResponse,NSURLConnection,NSURLAuthenticationChallenge,NSHTTPURLResponse,NSShadow,NSClassDescription

- Added blank starting points for NSIndexPath,NSValueTransformer,NSNetService*,NSDistributed*,NSDatePicker*,NSSortDescriptor,NSMetadata*,NSDecimal*

- Moved NSAffineTransform into Foundation/

- Changed KGImage_context into KGLayer
2007-03-19 02:52:21 +00:00
Christopher Lloyd
291d859a1e - Fixed case sensitivity on ObjC* #import's for case sensitive file systems submitted by halfactivist.
- CGWindow, NSCustomView, NSDrawer, NSWindow, NSWindowController, Win32Window fixes from Issues 10-17 submitted by Rolf Jansen.

- NSFileWrapper implementation submitted by Dirk Theisen.

- Added stubs to NSAssertionHandler, NSDirectoryEnumerator, NSFileManager for methods needed by NSFileWrapper addition.

- Added FlateDecode filter derived from a public domain implementation (not zlib) by Sean Barrett to the PDF system.

- Added ImageIO directory and starting point files.

- Added more starting point code in KoreGraphics and clean up in KG and Win32. Added KG(Mutable)Path.

- First pass at NSPDFImageRep hooks into underlying KG classes.
2007-03-11 19:28:02 +00:00
Christopher Lloyd
333c7fba83 NSFileWrapper - Dirk Theisen has contributed an initial NSFileWrapper implementation. Thanks Dirk!
NSAssertionHandler - header added for NSFileWrapper

The various NSStream concrete classes have a first pass implementation: NSInputStream_socket, NSOutputStream_socket, NSInputStream_data, NSOutputStream_data , NSOutputStream_buffer, NSInputStream_file, NSOutputStream_file

The socket monitor/callback system has been overhauled to fix known problems going forward with socket based streams and distributed objects. This consists mainly of decoupling the select() management from the callback management allowing for accurate select() status across run loop mode changes and multiple callback monitors per socket. The major platform differences (windows vs. unix) were separated into their own files instead of the previous #ifdef mess. The NSInputSource system in the run loop was cleaned up to accommodate the new socket system and future additions.

These classes were deleted: NSSocketSet, NSSocketMonitorSet, NSSocketDescriptor, NSSocketMonitor, NSSocketMonitorSet_Windows, NSSocketInputSource_windows, NSSocketMonitorSet_Unix

And were replaced with: NSSocket, NSSocket_windows, NSSocket_bsd, NSSelectSet, NSSelectSet_windows, NSSelectSet_bsd , NSSelectInputSourceSet, NSSelectInputSource

NSTask and NSFileHandle on Linux/Solaris are affected by this as they were using the old socket monitoring system to look for background events and have been upgraded to the new one.

NSHandleMonitorSet_win32 upgraded with NSInputSource upgrade.

NSError - first pass implemented to assist with NSStream implementation.

-[NSMutableSet setSet:] - implemented

Cleared up some of the Linux/Solaris compiler warnings
2007-01-17 04:23:24 +00:00
Christopher Lloyd
d971345b27 First pass at key value coding from issues 6 and 7, addition of objc framework 2007-01-02 17:52:07 +00:00
Christopher Lloyd
578873e3cf Added templates for many missing classes, updated copyright for 2007, +[NSValue valueWithRange:],-[NSObject className] 2007-01-01 21:11:21 +00:00
Christopher Lloyd
30916ff6e5 Original 2006-12-22 04:41:44 +00:00