Commit Graph

20 Commits

Author SHA1 Message Date
Sergey Bugaev
348fdf7813 Fix direct isa access 2017-12-17 16:11:05 +03:00
Andrew Hyatt
a23df37eff Remove execution bit from source files of AppKit 2017-08-23 09:25:24 -07:00
Robert Grant
19fd7a5ff0 Support thread animation in the progress indicator 2012-02-01 13:28:25 -05:00
Robert Grant
b3073433a7 setUsesThreadedAnimation is complaining loudly for no good reason 2011-08-10 14:29:48 -04:00
Christopher Lloyd
dda2f03a42 variety of small fixes
-[NSWindow setViewsNeedDisplay:] will now schedule a displayIfNeeded to properly redisplay after a non-UI event.

NSFont LucidaGrande, LucidaGrande-Bold mapping

NSMenuItem NSValidatedUserInterfaceItem conformance

NSProgressIndicator tweaks for display update

NSThemeFrame fixes for toolbar layout

NSView autoresizesSubviews set to YES always when reading from nibs

Mouse deltas and scroll wheel fixes in Win32Display

NSPropertyListReader_vintage reads hex encoded NSData now.

assorted mundane fixes
2011-01-10 11:44:35 -05:00
Christopher Lloyd
9cc3d09900 NSProgressIndicator fixes for display when stopped 2010-11-03 22:32:52 -04:00
Christopher Lloyd
51039e6302 NSTableColumn headerToolTip accessors
NSButton missing setNeedsDisplay:
Win32Font use of Unicode instead of cString for font name
NSProgressIndicator better looking indeterminate circular, assorted fixes
Better NSTimer behavior for long lasting timer actions
2010-03-05 18:03:05 +00:00
Christopher Lloyd
d90b0b9bce change imports to use NSKeyedArchiver.h 2009-06-19 18:12:28 +00:00
Christopher Lloyd
3edcca086e removed now empty NSNibKeyedUnarchiver 2009-06-19 17:31:04 +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
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
e2f6f40b36 - Issue #193, Ken & Glen Aspeslagh's NSWindowTemplate autosave name fix
- Issue #194, Ken & Glen Aspeslagh's support for menu checkmark's
- Issue #195, Ken & Glen Aspeslagh's support for zero-width NSSplitView divider
- Issue #197, Ken & Glen Aspeslagh's support for "par" and "tab" in NSRichTextReader
- Issue #200, Ken & Glen Aspeslagh's -[NSFileManager subpathsAtPath:] implementation
- Issue #201, Ken & Glen Aspeslagh's [NSMutableString replaceOccurrencesOfString:withString:options:range:] implementation
- Issue #202, Ken & Glen Aspeslagh's fix for [NSString pathComponents] so it doesn't return empty path components
- Issue #203, Ken & Glen Aspeslagh's Added support for file size attribute in NSFileManager_win32 fileAttributesAtPath:traverseLinks:
- Issue #206, Ken & Glen Aspeslagh's Fix for issue with NSTableView vertical resizing
2008-10-31 18:27:58 +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
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
5aabd688f9 - Moved CG* headers to ApplicationServices and changed references in KG classes, this allows for building the KG classes on OSX from SWRender
- Cleanup of CG/KG classes, use CGGeometry instead of NSGeometry, fixed PathElement constant names
- SWRender, image resampling optimizations, added better basis for cubic curve tessellation
2008-04-17 16:59:58 +00:00
Christopher Lloyd
366538c8d8 - NSKeyUnarchiver fixed to return 0 if key not present for double/float/int/bool value (double/float were returning NaN)
- -[KGMutablePath addEllipseInRect:withTransform:] fixed, generated control points were being added wrong
- NSProgressIndicator indeterminate, determinate and spinning will display and function. Use of UxTheme for determinate. (Spinning/indeterminate not the desired look)
2008-02-17 05:18:42 +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
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