Commit Graph

28 Commits

Author SHA1 Message Date
Christopher Lloyd
7787dcfbae - (fixed issue 352) convertValue removed from NSPropertyListReader_vintage
- (fixed issue 360) defaults now stored using the XML property list format which preserves the type of the object
- added checking for registry entry size when retrieving defaults so there is not truncation
2009-10-12 18:08:44 +00:00
Dr. Rolf Jansen
5c3c2a13e7 Issue #325, fixed 2009-07-24 21:33:02 +00:00
Christopher Lloyd
bdeabecb96 - Decoding of NIB external name table replacement, allObjects, and NSCustomObject substantially changed to use mostly public API and be compatible with Apple's Foundation. Custom object's are instantiated only after replacement is performed and only done if present in NSIBObjectData's NSNamesKeys (tests indicate they are always in this array).
- Type fixes on -[NSCoder/NSKeyedUnarchiver decodeBytesForKey:...]
- Foundation project fix for copied Info.plist
- added NSKeyedUnarchiver delegate protocol, partial implemented. private replaceObject:withObject: method
- changed use of -[NSString _KVC_partBeforeDot:afterDot:] in AppKit to NSStringKVCFunctions.h because it is not present in Apple's Foundation
- changed NSApplication use of objc_msg_lookup to methodForSelector
- moved KGContext/NSPrintInfo imageableRect logic into Win32Display
2009-06-11 16:07:01 +00:00
Christopher Lloyd
548ca541b0 More NS(U)Integer cleanup, more stdint conversion 2009-06-01 20:04:55 +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
97a4048fb2 Updated towards Objective-C 2.0 runtime API and some decoupling of objc runtime from Foundation
- added 2.0 objc/runtime.h, message.h with most of the declarations
- added deprecated.h for deprecated declarations
- cleanup objc-class.h to use standard naming for structs
- moved FOUNDATION_EXPORT to NSObjCRuntime.h
- deleted ObjCTypes.h, ObjectiveC.h
- moved Object.h/Protocol.h to objc headers
- added method.m, ivar.m for method_ and ivar_ functions
- Changed all use of deprecated SELNAME to sel_getName
- Changed use of OBJCLog in Foundation to replacement NSCLog
- Changed most all the equivalent OBJC* names to 2.0 function names
- rename OBJCIsKindOfClass to NSObjectIsKindOfClass, move to NSObject.m
- removed empty OBJCReportStatistics, objc_lock.h
2009-04-07 00:17:26 +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
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
fdcffa1d57 - Issue #222 Ken Aspeslagh's fix for binary plist reading of doubles 2008-12-01 02:52:48 +00:00
Johannes Fortmann
436fdfa0c3 don't convert keys to NSNumbers in NSPropertyListReader_vintage
also convert objects at deeper levels
2008-10-09 07:59:16 +00:00
Johannes Fortmann
cadefa4657 reset scanner location before trying to read double in plist reader
NSProgressIndicator value binding
2008-10-04 11:47:58 +00:00
Johannes Fortmann
0406fdcb7c vintage property list reader creates NSNumbers for values parseable as double or int
NSUserDefaults sends NSUserDefaultsDidChangeNotification
NSArrayController (badly) supports bindings against contentSet
NSProgressIndicator animate binding implemented
2008-10-01 21:19:30 +00:00
Christopher Lloyd
dca3526cf5 - Issue #151, Alexei Svitkine's fix for dropping files from windows explorer
- Issue #180, Alexei Svitkine's fix for generating alpha mask from windows icon
2008-09-26 13:56:17 +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
Johannes Fortmann
30af360d48 - xml plist date parsing and exception fix by Tobias
- @synchronized fix in case app went multithreaded while in a block
- objc_msgSend_fpret
- objc_size_alignment warning fix
2008-08-30 15:37:42 +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
6d693bbaa7 - xml property list archiving patch by Pauli Ojala
- tiny NSTask fix
2008-07-30 17:52:03 +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
Christopher Lloyd
d95b4f424f - John Engelhart's patch for Darwin-ppc build errors. 2008-03-10 15:31:53 +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
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
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
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
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
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