Difference between revisions of "ApplicationKitCompatibility"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
{|border="1" | {|border="1" | ||
− | + | ! Class / method | |
− | + | ! MacOS X version | |
− | + | ! Status | |
− | + | ! Comments | |
|- style="background-color:orange;" | |- style="background-color:orange;" | ||
− | | CIColor Additions | + | | <tt>CIColor</tt> Additions |
| 10.4 | | 10.4 | ||
− | | | + | | Not Implemented |
| | | | ||
+ | |- style="background-color:orange;" | ||
+ | | <tt>CIImage</tt> Additions | ||
+ | | 10.4 | ||
+ | | Not Implemented | ||
+ | | | ||
+ | |- | ||
+ | | <tt>NSActionCell</tt> | ||
+ | | 10.0 | ||
+ | | Looks Good | ||
+ | | | ||
+ | |- | ||
+ | | <tt>NSAffineTransform</tt> Additions | ||
+ | | 10.0 | ||
+ | | Looks Good | ||
+ | | | ||
+ | |- style="background-color:orange;" | ||
+ | | <tt>NSAlert</tt> / <tt>alertWithError</tt> | ||
+ | | 10.4 | ||
+ | | Not Implemented | ||
+ | | | ||
+ | |- style="background-color:orange;" | ||
+ | | <tt>NSAnimation</tt> | ||
+ | | 10.4 | ||
+ | | Not Implemented | ||
+ | | | ||
+ | |- style="background-color:orange;" | ||
+ | | <tt>NSAppleScript</tt> Addition | ||
+ | | 10.0 | ||
+ | | Not Implemented | ||
+ | | | ||
+ | |- style="background-color:yellow;" | ||
+ | | <tt>NSApplication</tt> / <tt>activateIgnoringOtherApps</tt> | ||
+ | | 10.0 | ||
+ | | Behaves Differently | ||
+ | | The app is always activated unconditionally | ||
+ | |- style="background-color:yellow;" | ||
+ | | <tt>NSApplication</tt> / <tt>runModalForWindow relativeToWindow</tt> | ||
+ | | 10.0 | ||
+ | | Behaves Differently | ||
+ | | Currently just centers window on the screen | ||
+ | |- style="background-color:orange;" | ||
+ | | <tt>NSApplication</tt> / <tt>beginModalSessionForWindow relativeToWindow</tt> | ||
+ | | 10.0 | ||
+ | | Not Implemented | ||
+ | | | ||
+ | |- style="background-color:yellow;" | ||
+ | | <tt>NSApplication</tt> / <tt>runModalSession</tt> | ||
+ | | 10.0 | ||
+ | | Behaves Differently | ||
+ | | Apple's docs state that, before processing the events, it makes the session window key and orders the window front. This method does not attempt to do this because: 1) we don't want to interfere with use of other apps during modal session for this app; 2) occasionally other windows are active and should be usable during modal sessions (e.g., a popup dialog from a modal window); 3) most of the time <tt>beginModalSessionForWindow</tt> will have been called in advance. If the latter is not the case, you may need to order the window front yourself in advance. | ||
+ | |- style="background-color:yellow;" | ||
+ | | <tt>NSApplication</tt> / <tt>beginSheet modalForWindow modalDelegate didEndSelector contextInfo</tt> | ||
+ | | 10.0 | ||
+ | | Behaves Differently | ||
+ | | Under GNUstep, the sheet aspect is not implemented (just centers window on the screen), but <tt>modalDelegate</tt> <tt>didEndSelector</tt> is called if both non-nil. | ||
+ | |- | ||
+ | | <tt>NSApplication</tt> / <tt>endSheet</tt> | ||
+ | | 10.0 | ||
+ | | ? | ||
+ | | | ||
+ | |- | ||
+ | | <tt>NSApplication</tt> / <tt>endSheet returnCode</tt> | ||
+ | | 10.0 | ||
+ | | ? | ||
+ | | | ||
+ | |- style="background-color:orange;" | ||
+ | | <tt>NSApplication</tt> / <tt>preventWindowOrdering</tt> | ||
+ | | 10.0 | ||
+ | | Not Implemented | ||
+ | | | ||
+ | |- style="background-color:yellow;" | ||
+ | | <tt>NSApplication</tt> / <tt>hide</tt> | ||
+ | | 10.0 | ||
+ | | Behaves Differently | ||
+ | | On OS X this activates the next app that is running, however on GNUstep this is up to the window manager | ||
+ | |- style="background-color:orange;" | ||
+ | | <tt>NSApplication</tt> / <tt>orderedDocuments</tt> | ||
+ | | 10.0 | ||
+ | | Not Implemented | ||
+ | | | ||
+ | |- style="background-color:yellow;" | ||
+ | | <tt>NSApplication</tt> / <tt>orderedWindows</tt> | ||
+ | | 10.0 | ||
+ | | Behaves Differently | ||
+ | | OS X scripting method to return windows in front-to-back on-screen order for scriptable windows. The GNUstep implementation returns all the windows excluding NSPanels. some backends may return an array in an unspecified order. | ||
+ | |- style="background-color:orange;" | ||
+ | | <tt>NSApplication</tt> / <tt>cancelUserAttentionRequest</tt> | ||
+ | | 10.1 | ||
+ | | Not Implemented | ||
+ | | | ||
+ | |- style="background-color:orange;" | ||
+ | | <tt>NSApplication</tt> / <tt>requestUserAttention</tt> | ||
+ | | 10.1 | ||
+ | | Not Implemented | ||
+ | | | ||
+ | |- style="background-color:orange;" | ||
+ | | <tt>NSApplication</tt> / <tt>replyToOpenToPrint</tt> | ||
+ | | 10.3 | ||
+ | | Not Implemented | ||
+ | | | ||
+ | |- style="background-color:orange;" | ||
+ | | <tt>NSArrayController</tt> | ||
+ | | 10.3 | ||
+ | | Not Implemented | ||
+ | | | ||
+ | |- style="background-color:orange;" | ||
+ | | <tt>NSATSTypesetter</tt> | ||
+ | | 10.3 | ||
+ | | Not Implemented | ||
+ | | | ||
+ | |- style="background-color:orange;" | ||
+ | | <tt>NSBezierPath</tt> / <tt>appendBezierPathWithPackedGlyphs</tt> | ||
+ | | 10.0 | ||
+ | | Not Implemented | ||
+ | | | ||
+ | |- | ||
+ | | <tt>NSBezierPath</tt> / <tt>getLineDash count phase</tt> | ||
+ | | 10.0 | ||
+ | | ? | ||
+ | | FIXME: How big is the pattern array? | ||
+ | |- | ||
+ | | <tt>NSBezierPath</tt> / <tt>stroke</tt> | ||
+ | | 10.0 | ||
+ | | ? | ||
+ | | FIXME: I don't see how this should work with color changes | ||
+ | |- | ||
+ | | <tt>NSBezierPath</tt> / <tt>fill</tt> | ||
+ | | 10.0 | ||
+ | | ? | ||
+ | | FIXME: I don't see how this should work with color changes | ||
+ | |- style="background-color:yellow;" | ||
+ | | <tt>NSBitmapImageRep</tt> / <tt>colorizeByMappingGray toColor blackMapping whiteMapping</tt> | ||
+ | | 10.0 | ||
+ | | Behaves Differently | ||
+ | | Does nothing | ||
+ | |- style="background-color:orange;" | ||
+ | | <tt>NSBitmapImageRep</tt> / <tt>initWithBitmapDataPlanes pixelsWide pixelsHigh bitsPerSample samplesPerPixel hasAlpha isPlanar colorSpaceName bitmapFormat bytesPerRow bitsPerPixel</tt> | ||
+ | | 10.4 | ||
+ | | Not Implemented | ||
+ | | | ||
+ | |- style="background-color:orange;" | ||
+ | | <tt>NSBitmapImageRep</tt> / <tt>initForIncrementalLoad</tt> | ||
+ | | 10.2 | ||
+ | | Not Implemented | ||
+ | | | ||
+ | |- style="background-color:orange;" | ||
+ | | <tt>NSBitmapImageRep</tt> / <tt>bitmapFormat</tt> | ||
+ | | 10.4 | ||
+ | | Not Implemented | ||
+ | | | ||
+ | |- | ||
+ | | <tt>NSBitmapImageRep</tt> / <tt>representationOfImageRepsInArray usingType properties</tt> | ||
+ | | 10.0 | ||
+ | | ? | ||
+ | | FIXME: returns only the first image in the array, and only works for <tt>NSBitmapImageRep</tt> or subclasses thereof. | ||
+ | |- style="background-color:orange;" | ||
+ | | <tt>NSBitmapImageRep</tt> / <tt>incrementalLoadFromData complete</tt> | ||
+ | | 10.2 | ||
+ | | Not Implemented | ||
+ | | | ||
+ | |- style="background-color:orange;" | ||
+ | | <tt>NSBitmapImageRep</tt> / <tt>colorAtX Y</tt> | ||
+ | | 10.4 | ||
+ | | Not Implemented | ||
+ | | | ||
+ | |- style="background-color:orange;" | ||
+ | | <tt>NSBitmapImageRep</tt> / <tt>setColorAtX Y</tt> | ||
+ | | 10.4 | ||
+ | | Not Implemented | ||
+ | | | ||
+ | |- style="background-color:orange;" | ||
+ | | <tt>NSBitmapImageRep</tt> / <tt>getPixel atX y</tt> | ||
+ | | 10.4 | ||
+ | | Not Implemented | ||
+ | | | ||
+ | |- style="background-color:orange;" | ||
+ | | <tt>NSBitmapImageRep</tt> / <tt>setPixel atX y</tt> | ||
+ | | 10.4 | ||
+ | | Not Implemented | ||
+ | | | ||
+ | |||
|} | |} | ||
+ | |||
TODO wiki [http://www.sonappart.net/gnustep/AppKit_Compat.html that] | TODO wiki [http://www.sonappart.net/gnustep/AppKit_Compat.html that] |
Revision as of 05:24, 18 January 2007
Class / method | MacOS X version | Status | Comments |
---|---|---|---|
CIColor Additions | 10.4 | Not Implemented | |
CIImage Additions | 10.4 | Not Implemented | |
NSActionCell | 10.0 | Looks Good | |
NSAffineTransform Additions | 10.0 | Looks Good | |
NSAlert / alertWithError | 10.4 | Not Implemented | |
NSAnimation | 10.4 | Not Implemented | |
NSAppleScript Addition | 10.0 | Not Implemented | |
NSApplication / activateIgnoringOtherApps | 10.0 | Behaves Differently | The app is always activated unconditionally |
NSApplication / runModalForWindow relativeToWindow | 10.0 | Behaves Differently | Currently just centers window on the screen |
NSApplication / beginModalSessionForWindow relativeToWindow | 10.0 | Not Implemented | |
NSApplication / runModalSession | 10.0 | Behaves Differently | Apple's docs state that, before processing the events, it makes the session window key and orders the window front. This method does not attempt to do this because: 1) we don't want to interfere with use of other apps during modal session for this app; 2) occasionally other windows are active and should be usable during modal sessions (e.g., a popup dialog from a modal window); 3) most of the time beginModalSessionForWindow will have been called in advance. If the latter is not the case, you may need to order the window front yourself in advance. |
NSApplication / beginSheet modalForWindow modalDelegate didEndSelector contextInfo | 10.0 | Behaves Differently | Under GNUstep, the sheet aspect is not implemented (just centers window on the screen), but modalDelegate didEndSelector is called if both non-nil. |
NSApplication / endSheet | 10.0 | ? | |
NSApplication / endSheet returnCode | 10.0 | ? | |
NSApplication / preventWindowOrdering | 10.0 | Not Implemented | |
NSApplication / hide | 10.0 | Behaves Differently | On OS X this activates the next app that is running, however on GNUstep this is up to the window manager |
NSApplication / orderedDocuments | 10.0 | Not Implemented | |
NSApplication / orderedWindows | 10.0 | Behaves Differently | OS X scripting method to return windows in front-to-back on-screen order for scriptable windows. The GNUstep implementation returns all the windows excluding NSPanels. some backends may return an array in an unspecified order. |
NSApplication / cancelUserAttentionRequest | 10.1 | Not Implemented | |
NSApplication / requestUserAttention | 10.1 | Not Implemented | |
NSApplication / replyToOpenToPrint | 10.3 | Not Implemented | |
NSArrayController | 10.3 | Not Implemented | |
NSATSTypesetter | 10.3 | Not Implemented | |
NSBezierPath / appendBezierPathWithPackedGlyphs | 10.0 | Not Implemented | |
NSBezierPath / getLineDash count phase | 10.0 | ? | FIXME: How big is the pattern array? |
NSBezierPath / stroke | 10.0 | ? | FIXME: I don't see how this should work with color changes |
NSBezierPath / fill | 10.0 | ? | FIXME: I don't see how this should work with color changes |
NSBitmapImageRep / colorizeByMappingGray toColor blackMapping whiteMapping | 10.0 | Behaves Differently | Does nothing |
NSBitmapImageRep / initWithBitmapDataPlanes pixelsWide pixelsHigh bitsPerSample samplesPerPixel hasAlpha isPlanar colorSpaceName bitmapFormat bytesPerRow bitsPerPixel | 10.4 | Not Implemented | |
NSBitmapImageRep / initForIncrementalLoad | 10.2 | Not Implemented | |
NSBitmapImageRep / bitmapFormat | 10.4 | Not Implemented | |
NSBitmapImageRep / representationOfImageRepsInArray usingType properties | 10.0 | ? | FIXME: returns only the first image in the array, and only works for NSBitmapImageRep or subclasses thereof. |
NSBitmapImageRep / incrementalLoadFromData complete | 10.2 | Not Implemented | |
NSBitmapImageRep / colorAtX Y | 10.4 | Not Implemented | |
NSBitmapImageRep / setColorAtX Y | 10.4 | Not Implemented | |
NSBitmapImageRep / getPixel atX y | 10.4 | Not Implemented | |
NSBitmapImageRep / setPixel atX y | 10.4 | Not Implemented |
TODO wiki that