# Useful things in newer versions ## Windows ### Windows Vista ### Windows 7 ### Windows 8 ### Windows 8.1 ## GTK+ TODO what ships with Ubuntu Quantal (12.10)? ### GTK+ 3.6 ships with: Ubuntu Raring (13.04) - GtkEntry and GtkTextView have input purposes and input hints for external input methods but do not change input themselves - according to Company, we connect to insert-text for that - GtkLevelBar - GtkMenuButton - **GtkSearchEntry** ### GTK+ 3.8 ships with: Ubuntu Saucy (13.10) Not many interesting new things to us here, unless you count widget-internal tickers and single-click instead of double-click to select list items (a la KDE)... and oh yeah, also widget opacity. ### GTK+ 3.10 ships with: Ubuntu Trusty (14.04 LTS) - tab character stops in GtkEntry - GtkHeaderBar - intended for titlebar overrides; GtkInfoBar is what I keep thinking GtkHeaderBar is - **GtkListBox** - GtkRevealer for smooth animations of disclosure triangles - GtkSearchBar for custom search popups - **GtkStack and GtkStackSwitcher** - titlebar overrides (seems to be the hot new thing) ### GTK+ 3.12 not yet in Ubuntu Utopic (14.10) - GtkActionBar (basically like the bottom-of-the-window toolbars in Mac programs) - gtk_get_locale_direction(), for internationalization - more control over GtkHeaderBar - **GtkPopover** - GtkPopovers on GtkMenuButtons - GtkStack signaling - **gtk_tree_path_new_from_indicesv()** (for when we add Table if we have trees too) ## Cocoa ### Mac OS X 10.7 - Foundation ([full details](https://developer.apple.com/library/mac/releasenotes/Foundation/RN-FoundationOlderNotes/#//apple_ref/doc/uid/TP40008080-TRANSLATED_CHAPTER_965-TRANSLATED_DEST_0)) - can use [ClassName class] == nil to test for feature existence at class level - NSUserDefaults is now thread-safe and respects user IDs - NSProcessInfo is now thread-safe - NSProcessInfo has automatic termination; might want to watch for this - NSLinguisticTrigger - NSCalendar changes (important for date/time pickers) - AppKit ([full details](https://developer.apple.com/library/mac/releasenotes/AppKit/RN-AppKitOlderNotes/#X10_7Notes) - Cocoa decides when to draw focus rings - lots of resolution independence stuff - window edge resize/live resize - restorable state - toolbar versioning - better scroll wheel management - multi-image dragging (TODO didn't GTK+ add this too) - built-in full screen (TODO what was fullscreen like before?) - NSTextFinder for a standard search for text bar - NSPasteboard: no longer need to invoke -[NSPasteboard types] - NSPasteboards use UTIs for type information - NOTE FROM LEOPARD: full-width cells, source lists - view-based NSTableViews and NSOutlineViews - URLs returned may not be file:// anymore! TODO note in futureplans.md - **NSPopover** - vertical text support improved - **placeholder text in NSTextField now shown when focused** - NSTextView now has an optional formatting bar ### Mac OS X 10.8 - Foundation ([full details](https://developer.apple.com/library/mac/releasenotes/Foundation/RN-FoundationOlderNotes/#//apple_ref/doc/uid/TP40008080-TRANSLATED_CHAPTER_965-TRANSLATED_DEST_999B)) - NSDateComponents supports leap months - NSNumberFormatter and NSDateFormatter default to 10.4 behavior by default (need to explicitly do this on 10.7) - **NSUserNotification and NSUserNotificationCenter for Growl-style notifications** - better linguistic triggers for Spanish and Italian - NSByteCountFormatter - AppKit ([full details](https://developer.apple.com/library/mac/releasenotes/AppKit/RN-AppKitOlderNotes/#X10_8Notes)) - view-based NSTableView/NSOutlineView have expansion tooltips - NSScrollView magnification - Quick Look events; TODO see if they conflict with keyboard handling in Area - NSPageController (maybe useful?) - not useful for package UI, but may be useful for a new library (probably not by me): NSSharingService - NSOpenPanel and NSSavePanel are now longer NSPanels or NSWindows in sandboxed applications; this may be an issue should anyone dare to enable sandboxing on a program that uses package ui - NSTextAlternatives - -[NSOpenGLContext setFullScreen] now ineffective - +[NSColor underPageBackgroundColor] ### Mac OS X 10.9 - Foundation ([full details](https://developer.apple.com/library/mac/releasenotes/Foundation/RN-Foundation/)) - system-provided progress reporting/cancellation support - NSURLComponents - **NSCalendar, NSDateFormatter, and NSNumberFormatter are now thread-safe** - various NSCalendar and NSDateComponents improvements - AppKit ([full details](https://developer.apple.com/library/mac/releasenotes/AppKit/RN-AppKit/)) - sheet handling is now block-based, queued, and in NSWindow; the delegate-based NSApplication API will still exist, except without the queue - similar changes to NSAlert - **return value changes to NSAlert** - window visibility APIs (occlusion) - NSApplicationActivationPolicyAccessory - fullscreen toolbar behavior changes - status items for multiple menu bars - better NSSharingService support - a special accelerated scrolling mode, Responsive Scrolling; won't matter for us since I plan to support the scroll wheel and it won't - NSScrollView live scrolling notifications - NSScrollView floating (anchored/non-scrolling) subviews - better multimonitor support - better key-value observing for NSOpenPanel/NSSavePanel (might want to look this up to see if we can override some other juicy details... TODO) - better accessory view key-view handling in NSOpenPanel/NSSavePanel - NSAppearance - **-[NSTableView moveRowAtIndex:toIndex:] bug regarding first responders fixed** - view-specific RTL overrides