Difference between revisions of "ApplicationKitCompatibility"
Jump to navigation
Jump to search
(20 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{|border="1" | {|border="1" | ||
− | + | ! Class / method | |
− | + | ! MacOS X version | |
− | | ' | + | ! Status |
− | | | + | ! Comments |
+ | |- style="background-color:orange;" | ||
+ | | <tt>CIColor</tt> Additions | ||
+ | | 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 <tt>NSPanel</tt>s. 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 | ||
+ | | | ||
+ | |- style="background-color:orange;" | ||
+ | | <tt>NSBox</tt> / <tt>boxType</tt> | ||
+ | | 10.0 | ||
+ | | Not Implemented | ||
+ | | | ||
+ | |- style="background-color:orange;" | ||
+ | | <tt>NSBox</tt> / <tt>setBoxType</tt> | ||
+ | | 10.0 | ||
+ | | Not Implemented | ||
+ | | | ||
+ | |- style="background-color:orange;" | ||
+ | | <tt>NSBox</tt> / <tt>setTitle</tt> | ||
+ | | 10.0 | ||
+ | | Not Implemented | ||
+ | | | ||
+ | |- | ||
+ | | <tt>NSBrowser</tt> / <tt>displayColumn</tt> | ||
+ | | 10.0 | ||
+ | | ? | ||
+ | | FIXME: why the following? Are we displaying now, or marking for <em>later display</em>?? Given the name, I think we are displaying <em>now</em>. | ||
+ | |- | ||
+ | | <tt>NSBrowser</tt> / <tt>titleheight</tt> | ||
+ | | 10.0 | ||
+ | | ? | ||
+ | | Nextish look requires 21 here ( hardcode ) | ||
|- | |- | ||
− | | | + | | <tt>NSBrowser</tt> / <tt>frameOfInsideOfColumn</tt> |
− | | 10. | + | | 10.0 |
− | | not | + | | ? |
+ | | xxx what does this one do? | ||
+ | |- style="background-color:orange;" | ||
+ | | <tt>NSBrowser</tt> / <tt>columnContentWidthForColumnWidth</tt> | ||
+ | | 10.3 | ||
+ | | Not Implemented | ||
+ | | | ||
+ | |- style="background-color:orange;" | ||
+ | | <tt>NSBrowser</tt> / <tt>columnWidthForColumnContentWidth</tt> | ||
+ | | 10.3 | ||
+ | | Not Implemented | ||
+ | | | ||
+ | |- style="background-color:orange;" | ||
+ | | <tt>NSBrowser</tt> / <tt>setColumnResizing</tt> | ||
+ | | 10.3 | ||
+ | | Not Implemented | ||
+ | | | ||
+ | |- style="background-color:orange;" | ||
+ | | <tt>NSBrowser</tt> / <tt>columnResizingType</tt> | ||
+ | | 10.3 | ||
+ | | Not Implemented | ||
+ | | | ||
+ | |- style="background-color:orange;" | ||
+ | | <tt>NSBrowser</tt> / <tt>setPrefersAllColumnUserResizing</tt> | ||
+ | | 10.3 | ||
+ | | Not Implemented | ||
+ | | | ||
+ | |- style="background-color:orange;" | ||
+ | | <tt>NSBrowser</tt> / <tt>prefersAllColumnUserResizing</tt> | ||
+ | | 10.3 | ||
+ | | Not Implemented | ||
+ | | | ||
+ | |- style="background-color:orange;" | ||
+ | | <tt>NSBrowser</tt> / <tt>setWidth ofColumn</tt> | ||
+ | | 10.3 | ||
+ | | Not Implemented | ||
+ | | | ||
+ | |- style="background-color:orange;" | ||
+ | | <tt>NSBrowser</tt> / <tt>widthOfColumn</tt> | ||
+ | | 10.3 | ||
+ | | Not Implemented | ||
+ | | | ||
+ | |- style="background-color:orange;" | ||
+ | | <tt>NSBrowser</tt> / <tt>setColumnsAutoSave<em>Name</em></tt> | ||
+ | | 10.3 | ||
+ | | Not Implemented | ||
+ | | I cannot find <tt>setColumnsAutoSave</tt> at [http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Classes/NSBrowser_Class/Reference/Reference.html Apple's docs], but I can find <tt>setColumnsAutoSaveName</tt>. [[User:Martin|Martin]] 06:59, 17 March 2007 (CET) | ||
+ | |- style="background-color:orange;" | ||
+ | | <tt>NSBrowser</tt> / <tt>columnAutoSaveName</tt> | ||
+ | | 10.3 | ||
+ | | Not Implemented | ||
+ | | | ||
+ | |- style="background-color:orange;" | ||
+ | | <tt>NSBrowser</tt> / <tt>removeSavedColumnsWithAutoSaveName</tt> | ||
+ | | 10.3 | ||
+ | | Not Implemented | ||
+ | | | ||
+ | |- style="background-color:orange;" | ||
+ | | <tt>NSBrowser delegate</tt> / <tt>browser shouldSizeColumn forUserResize toWidth</tt> | ||
+ | | 10.3 | ||
+ | | Not Implemented | ||
+ | | | ||
+ | |- style="background-color:orange;" | ||
+ | | <tt>NSBrowser delegate</tt> / <tt>browser sizeToFitWidthOfColumn</tt> | ||
+ | | 10.3 | ||
+ | | Not Implemented | ||
+ | | | ||
+ | |- style="background-color:orange;" | ||
+ | | <tt>NSBrowser notification</tt> / <tt>NSBrowserColumnConfigurationDidChangeNotification</tt> | ||
+ | | 10.3 | ||
+ | | Not Implemented | ||
+ | | | ||
+ | |- style="background-color:orange;" | ||
+ | | <tt>NSBrowserCell</tt> / <tt>image</tt> | ||
+ | | 10.2 | ||
+ | | Not Implemented | ||
+ | | or use NSCell/image?? | ||
+ | |- style="background-color:orange;" | ||
+ | | <tt>NSBrowserCell</tt> / <tt>setImage</tt> | ||
+ | | 10.2 | ||
+ | | Not Implemented | ||
+ | | or use NSCell/setImage?? | ||
+ | |- style="background-color:orange;" | ||
+ | | <tt>NSBundle</tt> additions / <tt>contextHelpForKey</tt> | ||
+ | | 10.0 | ||
+ | | Not Implemented | ||
+ | | [http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Classes/NSBundle_AppKitAdditions/Reference/Reference.html Apple's docs] list the changes | ||
+ | |- | ||
+ | | <tt>NSButton</tt> | ||
+ | | 10.0 | ||
+ | | Looks Good | ||
+ | | | ||
+ | |- | ||
+ | | <tt>NSButtonCell</tt> / <tt>alternateMnemonic</tt> | ||
+ | | 10.0 | ||
+ | | ? | ||
+ | | Mnemonics are not supported in Mac OS X. | ||
+ | |- | ||
+ | | <tt>NSButtonCell</tt> / <tt>alternateMnemonicLocation</tt> | ||
+ | | 10.0 | ||
+ | | ? | ||
+ | | | ||
+ | |- | ||
+ | | <tt>NSButtonCell</tt> / <tt>attributedAlternateTitle</tt> | ||
+ | | 10.0 | ||
+ | | ? | ||
+ | | | ||
+ | |- | ||
+ | | <tt>NSButtonCell</tt> / <tt>setAlternateMnemonicLocation</tt> | ||
+ | | 10.0 | ||
+ | | ? | ||
+ | | | ||
+ | |- | ||
+ | | <tt>NSButtonCell</tt> / <tt>setAlternateTitleWithMnemonic</tt> | ||
+ | | 10.0 | ||
+ | | ? | ||
+ | | TODO: We should underline this character | ||
+ | |- | ||
+ | | <tt>NSButtonCell</tt> / <tt>setAttributedAlternateTitle</tt> | ||
+ | | 10.0 | ||
+ | | ? | ||
| | | | ||
+ | |||
|} | |} | ||
+ | |||
TODO wiki [http://www.sonappart.net/gnustep/AppKit_Compat.html that] | TODO wiki [http://www.sonappart.net/gnustep/AppKit_Compat.html that] |
Latest revision as of 00:28, 30 April 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 | |
NSBox / boxType | 10.0 | Not Implemented | |
NSBox / setBoxType | 10.0 | Not Implemented | |
NSBox / setTitle | 10.0 | Not Implemented | |
NSBrowser / displayColumn | 10.0 | ? | FIXME: why the following? Are we displaying now, or marking for later display?? Given the name, I think we are displaying now. |
NSBrowser / titleheight | 10.0 | ? | Nextish look requires 21 here ( hardcode ) |
NSBrowser / frameOfInsideOfColumn | 10.0 | ? | xxx what does this one do? |
NSBrowser / columnContentWidthForColumnWidth | 10.3 | Not Implemented | |
NSBrowser / columnWidthForColumnContentWidth | 10.3 | Not Implemented | |
NSBrowser / setColumnResizing | 10.3 | Not Implemented | |
NSBrowser / columnResizingType | 10.3 | Not Implemented | |
NSBrowser / setPrefersAllColumnUserResizing | 10.3 | Not Implemented | |
NSBrowser / prefersAllColumnUserResizing | 10.3 | Not Implemented | |
NSBrowser / setWidth ofColumn | 10.3 | Not Implemented | |
NSBrowser / widthOfColumn | 10.3 | Not Implemented | |
NSBrowser / setColumnsAutoSaveName | 10.3 | Not Implemented | I cannot find setColumnsAutoSave at Apple's docs, but I can find setColumnsAutoSaveName. Martin 06:59, 17 March 2007 (CET) |
NSBrowser / columnAutoSaveName | 10.3 | Not Implemented | |
NSBrowser / removeSavedColumnsWithAutoSaveName | 10.3 | Not Implemented | |
NSBrowser delegate / browser shouldSizeColumn forUserResize toWidth | 10.3 | Not Implemented | |
NSBrowser delegate / browser sizeToFitWidthOfColumn | 10.3 | Not Implemented | |
NSBrowser notification / NSBrowserColumnConfigurationDidChangeNotification | 10.3 | Not Implemented | |
NSBrowserCell / image | 10.2 | Not Implemented | or use NSCell/image?? |
NSBrowserCell / setImage | 10.2 | Not Implemented | or use NSCell/setImage?? |
NSBundle additions / contextHelpForKey | 10.0 | Not Implemented | Apple's docs list the changes |
NSButton | 10.0 | Looks Good | |
NSButtonCell / alternateMnemonic | 10.0 | ? | Mnemonics are not supported in Mac OS X. |
NSButtonCell / alternateMnemonicLocation | 10.0 | ? | |
NSButtonCell / attributedAlternateTitle | 10.0 | ? | |
NSButtonCell / setAlternateMnemonicLocation | 10.0 | ? | |
NSButtonCell / setAlternateTitleWithMnemonic | 10.0 | ? | TODO: We should underline this character |
NSButtonCell / setAttributedAlternateTitle | 10.0 | ? |
TODO wiki that