Commit Graph

18 Commits

Author SHA1 Message Date
TheBrokenRail
b6548a202d Fix Continuation Indent 2020-05-12 17:04:16 -04:00
TheBrokenRail
55c7b99e5d Proper Braces 2020-05-12 17:04:16 -04:00
TheBrokenRail
cda40d9947 Code Formatting Using Patched ClangFormat 2020-05-12 17:04:15 -04:00
Sergey Bugaev
e3bb5c9196 CGFloat/O2Float-ization
See darlinghq/darling#418
2018-09-12 09:25:27 +03:00
Andrew Hyatt
1c81808e25 Create include directories 2017-08-07 23:33:12 -07:00
Christopher Lloyd
631462795d Reformat entire project using newer style 2015-05-23 20:15:45 -04:00
Christian Beer
c8e295c89f Empty implementation of NSAnimationContext - added missing import 2010-12-08 19:24:27 +01:00
Christian Beer
c146c9eb52 Empty implementation of NSAnimationContext 2010-12-08 19:20:38 +01:00
Mike Shields
291abf7bd2 Fix over-release crash when animation is stopped from the didEnd delgate method 2010-10-28 02:31:39 -04:00
Christopher Lloyd
b1098898b4 NSAnimation, NSViewAnimation fixes 2010-10-21 17:29:06 -04:00
Christopher Lloyd
98eb99c63a - some POSIX pthread functions
- some CFByteOrder implementation
- CFHost implementation with asynchronous resolver
- CFPreferences skeletons
- CIImage category in NSCIImageRep
- NSTabView resizes item view even if autoresizing is off
- NSCustomObject -description
- NSNibLoading use of autorelease pool to reduce memory pressure
- NSNib use of autorelease pool to reduce memory pressure
- NSIBObjectData warning if it can't create  custom instance instead of NSArray exception (adding nil)
- changed NSBox to non-opaque, doesn't fill with background color
- NSTableHeaderView use of setControlView:
- NSMatrix use of setControlView:
- NSAnimation/NSViewAnimation fixes to behave properly with timer
- NSSheetContext check for nil
- NSGraphicsStyle_uxtheme fix for menu separators
- NSEvent -userData method added
- minor cleanup of NSInvocation
- NSDateFormatter fixes and update
- NSArray+KVC.m fix for nil values
2010-03-08 19:43:05 +00:00
Christopher Lloyd
cbeae71792 (fixes issue #499) constant NSString fixes by Sven Weidauer, NSPathCell/Control import fixes 2010-03-02 16:33:55 +00:00
Christopher Lloyd
fc3216eca8 Added blank files for missing classes, moved NSWindow undo:/redo:/validateMenuItem: to NSWindow-Private.h 2009-08-08 02:14:58 +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
fcda3ab7d9 - Large number of missing AppKit constant/methods added, most of the simpler ones implemented. Cleanup and instance size changes.
- Some existing implementation updated for new methods, primarily NSDocument
- Removed legacy keyed encoding/decoding functionality in AppKit
2007-11-08 15:58:54 +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