ApplicationKitCompatibility

From GNUstepWiki

(Difference between revisions)
Revision as of 05:45, 17 March 2007
Martin (Talk | contribs)

← Previous diff
Current revision
Martin (Talk | contribs)

Line 93: Line 93:
| 10.0 | 10.0
| Behaves Differently | 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.+| 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;" |- style="background-color:orange;"
| <tt>NSApplication</tt> / <tt>cancelUserAttentionRequest</tt> | <tt>NSApplication</tt> / <tt>cancelUserAttentionRequest</tt>
Line 223: Line 223:
| 10.3 | 10.3
| Not Implemented | 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
 +| ?
| |

Current revision

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