macosx/coredialogs: fix compilation by removing virtually all the legacy code
authorFelix Paul Kühne <fkuehne@videolan.org>
Thu, 4 Feb 2016 17:43:47 +0000 (18:43 +0100)
committerFelix Paul Kühne <fkuehne@videolan.org>
Thu, 4 Feb 2016 17:43:47 +0000 (18:43 +0100)
Makefile.am
extras/package/macosx/Resources/English.lproj/CoreDialogs.xib
extras/package/macosx/Resources/English.lproj/ErrorPanel.xib [deleted file]
extras/package/macosx/Resources/English.lproj/MainMenu.xib
extras/package/macosx/vlc.xcodeproj/project.pbxproj
modules/gui/macosx/MainMenu.h
modules/gui/macosx/MainMenu.m
modules/gui/macosx/coredialogs.h
modules/gui/macosx/coredialogs.m

index e0be675..ec1e0db 100644 (file)
@@ -141,7 +141,6 @@ EXTRA_DIST += \
        extras/package/macosx/Resources/English.lproj/CoreDialogs.xib \
        extras/package/macosx/Resources/English.lproj/DebugMessageVisualizer.xib \
        extras/package/macosx/Resources/English.lproj/DetachedVideoWindow.xib \
-       extras/package/macosx/Resources/English.lproj/ErrorPanel.xib \
        extras/package/macosx/Resources/English.lproj/FSPanel.xib \
        extras/package/macosx/Resources/English.lproj/InfoPlist.strings.in \
        extras/package/macosx/Resources/English.lproj/Help.xib \
index f0665eb..35deab0 100644 (file)
-<?xml version="1.0" encoding="UTF-8"?>
-<archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="8.00">
-       <data>
-               <int key="IBDocument.SystemTarget">1060</int>
-               <string key="IBDocument.SystemVersion">14F27</string>
-               <string key="IBDocument.InterfaceBuilderVersion">7706</string>
-               <string key="IBDocument.AppKitVersion">1348.17</string>
-               <string key="IBDocument.HIToolboxVersion">758.70</string>
-               <object class="NSMutableDictionary" key="IBDocument.PluginVersions">
-                       <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaPlugin</string>
-                       <string key="NS.object.0">7706</string>
-               </object>
-               <array key="IBDocument.IntegratedClassDependencies">
-                       <string>NSButton</string>
-                       <string>NSButtonCell</string>
-                       <string>NSCustomObject</string>
-                       <string>NSImageCell</string>
-                       <string>NSImageView</string>
-                       <string>NSProgressIndicator</string>
-                       <string>NSTextField</string>
-                       <string>NSTextFieldCell</string>
-                       <string>NSView</string>
-                       <string>NSWindowTemplate</string>
-               </array>
-               <array key="IBDocument.PluginDependencies">
-                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
-               </array>
-               <object class="NSMutableDictionary" key="IBDocument.Metadata">
-                       <string key="NS.key.0">PluginDependencyRecalculationVersion</string>
-                       <integer value="1" key="NS.object.0"/>
-               </object>
-               <array class="NSMutableArray" key="IBDocument.RootObjects" id="893187804">
-                       <object class="NSCustomObject" id="802493260">
-                               <string key="NSClassName">VLCCoreDialogProvider</string>
-                       </object>
-                       <object class="NSCustomObject" id="559966113">
-                               <string key="NSClassName">FirstResponder</string>
-                       </object>
-                       <object class="NSCustomObject" id="308829720">
-                               <string key="NSClassName">NSApplication</string>
-                       </object>
-                       <object class="NSWindowTemplate" id="404989243">
-                               <int key="NSWindowStyleMask">1</int>
-                               <int key="NSWindowBacking">2</int>
-                               <string key="NSWindowRect">{{332, 446}, {505, 278}}</string>
-                               <int key="NSWTFlags">1886912512</int>
-                               <string key="NSWindowTitle">Authentication</string>
-                               <string key="NSWindowClass">NSPanel</string>
-                               <object class="NSMutableString" key="NSViewClass">
-                                       <characters key="NS.bytes">View</characters>
-                               </object>
-                               <nil key="NSUserInterfaceItemIdentifier"/>
-                               <string key="NSWindowContentMinSize">{213, 107}</string>
-                               <object class="NSView" key="NSWindowView" id="784460927">
-                                       <reference key="NSNextResponder"/>
-                                       <int key="NSvFlags">256</int>
-                                       <array class="NSMutableArray" key="NSSubviews">
-                                               <object class="NSTextField" id="848717079">
-                                                       <reference key="NSNextResponder" ref="784460927"/>
-                                                       <int key="NSvFlags">256</int>
-                                                       <string key="NSFrame">{{94, 241}, {316, 17}}</string>
-                                                       <reference key="NSSuperview" ref="784460927"/>
-                                                       <reference key="NSWindow"/>
-                                                       <reference key="NSNextKeyView" ref="895216305"/>
-                                                       <bool key="NSEnabled">YES</bool>
-                                                       <object class="NSTextFieldCell" key="NSCell" id="576900989">
-                                                               <int key="NSCellFlags">69206017</int>
-                                                               <int key="NSCellFlags2">272629760</int>
-                                                               <string key="NSContents">System Font Text</string>
-                                                               <object class="NSFont" key="NSSupport" id="25251317">
-                                                                       <bool key="IBIsSystemFont">YES</bool>
-                                                                       <double key="NSSize">13</double>
-                                                                       <int key="NSfFlags">2072</int>
-                                                               </object>
-                                                               <reference key="NSControlView" ref="848717079"/>
-                                                               <object class="NSColor" key="NSBackgroundColor" id="827775475">
-                                                                       <int key="NSColorSpace">6</int>
-                                                                       <string key="NSCatalogName">System</string>
-                                                                       <string key="NSColorName">controlColor</string>
-                                                                       <object class="NSColor" key="NSColor">
-                                                                               <int key="NSColorSpace">3</int>
-                                                                               <bytes key="NSWhite">MC42NjY2NjY2NjY3AA</bytes>
-                                                                       </object>
-                                                               </object>
-                                                               <object class="NSColor" key="NSTextColor" id="609769628">
-                                                                       <int key="NSColorSpace">6</int>
-                                                                       <string key="NSCatalogName">System</string>
-                                                                       <string key="NSColorName">controlTextColor</string>
-                                                                       <object class="NSColor" key="NSColor" id="621191676">
-                                                                               <int key="NSColorSpace">3</int>
-                                                                               <bytes key="NSWhite">MAA</bytes>
-                                                                       </object>
-                                                               </object>
-                                                       </object>
-                                                       <bool key="NSAllowsLogicalLayoutDirection">NO</bool>
-                                                       <int key="NSTextFieldAlignmentRectInsetsVersion">1</int>
-                                               </object>
-                                               <object class="NSTextField" id="895216305">
-                                                       <reference key="NSNextResponder" ref="784460927"/>
-                                                       <int key="NSvFlags">256</int>
-                                                       <string key="NSFrame">{{94, 189}, {394, 44}}</string>
-                                                       <reference key="NSSuperview" ref="784460927"/>
-                                                       <reference key="NSWindow"/>
-                                                       <reference key="NSNextKeyView" ref="463407669"/>
-                                                       <bool key="NSEnabled">YES</bool>
-                                                       <object class="NSTextFieldCell" key="NSCell" id="683480755">
-                                                               <int key="NSCellFlags">69206017</int>
-                                                               <int key="NSCellFlags2">272629760</int>
-                                                               <string key="NSContents">Small System Font Text Small System Font Text Small System Font Text Small System Font Text Small System Font Text Small System Font Text Small System Text System Font Text Small System</string>
-                                                               <object class="NSFont" key="NSSupport" id="26">
-                                                                       <bool key="IBIsSystemFont">YES</bool>
-                                                                       <double key="NSSize">11</double>
-                                                                       <int key="NSfFlags">3100</int>
-                                                               </object>
-                                                               <reference key="NSControlView" ref="895216305"/>
-                                                               <reference key="NSBackgroundColor" ref="827775475"/>
-                                                               <reference key="NSTextColor" ref="609769628"/>
-                                                       </object>
-                                                       <bool key="NSAllowsLogicalLayoutDirection">NO</bool>
-                                                       <int key="NSTextFieldAlignmentRectInsetsVersion">1</int>
-                                               </object>
-                                               <object class="NSTextField" id="763771318">
-                                                       <reference key="NSNextResponder" ref="784460927"/>
-                                                       <int key="NSvFlags">256</int>
-                                                       <string key="NSFrame">{{97, 126}, {310, 22}}</string>
-                                                       <reference key="NSSuperview" ref="784460927"/>
-                                                       <reference key="NSWindow"/>
-                                                       <reference key="NSNextKeyView" ref="377707840"/>
-                                                       <bool key="NSEnabled">YES</bool>
-                                                       <object class="NSTextFieldCell" key="NSCell" id="577466516">
-                                                               <int key="NSCellFlags">-1804599231</int>
-                                                               <int key="NSCellFlags2">272630784</int>
-                                                               <string key="NSContents"/>
-                                                               <object class="NSFont" key="NSSupport" id="612013666">
-                                                                       <bool key="IBIsSystemFont">YES</bool>
-                                                                       <double key="NSSize">13</double>
-                                                                       <int key="NSfFlags">1044</int>
-                                                               </object>
-                                                               <reference key="NSControlView" ref="763771318"/>
-                                                               <bool key="NSDrawsBackground">YES</bool>
-                                                               <object class="NSColor" key="NSBackgroundColor" id="986741706">
-                                                                       <int key="NSColorSpace">6</int>
-                                                                       <string key="NSCatalogName">System</string>
-                                                                       <string key="NSColorName">textBackgroundColor</string>
-                                                                       <object class="NSColor" key="NSColor">
-                                                                               <int key="NSColorSpace">3</int>
-                                                                               <bytes key="NSWhite">MQA</bytes>
-                                                                       </object>
-                                                               </object>
-                                                               <object class="NSColor" key="NSTextColor" id="700489451">
-                                                                       <int key="NSColorSpace">6</int>
-                                                                       <string key="NSCatalogName">System</string>
-                                                                       <string key="NSColorName">textColor</string>
-                                                                       <reference key="NSColor" ref="621191676"/>
-                                                               </object>
-                                                       </object>
-                                                       <bool key="NSAllowsLogicalLayoutDirection">NO</bool>
-                                                       <int key="NSTextFieldAlignmentRectInsetsVersion">1</int>
-                                               </object>
-                                               <object class="NSTextField" id="463407669">
-                                                       <reference key="NSNextResponder" ref="784460927"/>
-                                                       <int key="NSvFlags">256</int>
-                                                       <string key="NSFrame">{{94, 156}, {129, 14}}</string>
-                                                       <reference key="NSSuperview" ref="784460927"/>
-                                                       <reference key="NSWindow"/>
-                                                       <reference key="NSNextKeyView" ref="763771318"/>
-                                                       <bool key="NSEnabled">YES</bool>
-                                                       <object class="NSTextFieldCell" key="NSCell" id="979127236">
-                                                               <int key="NSCellFlags">67108864</int>
-                                                               <int key="NSCellFlags2">272629760</int>
-                                                               <string key="NSContents">User name</string>
-                                                               <reference key="NSSupport" ref="26"/>
-                                                               <reference key="NSControlView" ref="463407669"/>
-                                                               <reference key="NSBackgroundColor" ref="827775475"/>
-                                                               <reference key="NSTextColor" ref="609769628"/>
-                                                       </object>
-                                                       <bool key="NSAllowsLogicalLayoutDirection">NO</bool>
-                                                       <int key="NSTextFieldAlignmentRectInsetsVersion">1</int>
-                                               </object>
-                                               <object class="NSTextField" id="50035503">
-                                                       <reference key="NSNextResponder" ref="784460927"/>
-                                                       <int key="NSvFlags">256</int>
-                                                       <string key="NSFrame">{{97, 72}, {310, 22}}</string>
-                                                       <reference key="NSSuperview" ref="784460927"/>
-                                                       <reference key="NSWindow"/>
-                                                       <reference key="NSNextKeyView" ref="648696081"/>
-                                                       <bool key="NSEnabled">YES</bool>
-                                                       <object class="NSTextFieldCell" key="NSCell" id="113494320">
-                                                               <int key="NSCellFlags">-1804599231</int>
-                                                               <int key="NSCellFlags2">272630784</int>
-                                                               <string key="NSContents"/>
-                                                               <reference key="NSSupport" ref="612013666"/>
-                                                               <reference key="NSControlView" ref="50035503"/>
-                                                               <bool key="NSDrawsBackground">YES</bool>
-                                                               <reference key="NSBackgroundColor" ref="986741706"/>
-                                                               <reference key="NSTextColor" ref="700489451"/>
-                                                       </object>
-                                                       <bool key="NSAllowsLogicalLayoutDirection">NO</bool>
-                                                       <int key="NSTextFieldAlignmentRectInsetsVersion">1</int>
-                                               </object>
-                                               <object class="NSTextField" id="377707840">
-                                                       <reference key="NSNextResponder" ref="784460927"/>
-                                                       <int key="NSvFlags">256</int>
-                                                       <string key="NSFrame">{{94, 102}, {129, 14}}</string>
-                                                       <reference key="NSSuperview" ref="784460927"/>
-                                                       <reference key="NSWindow"/>
-                                                       <reference key="NSNextKeyView" ref="50035503"/>
-                                                       <bool key="NSEnabled">YES</bool>
-                                                       <object class="NSTextFieldCell" key="NSCell" id="381438595">
-                                                               <int key="NSCellFlags">67108864</int>
-                                                               <int key="NSCellFlags2">272760832</int>
-                                                               <string key="NSContents">Password</string>
-                                                               <reference key="NSSupport" ref="26"/>
-                                                               <reference key="NSControlView" ref="377707840"/>
-                                                               <reference key="NSBackgroundColor" ref="827775475"/>
-                                                               <reference key="NSTextColor" ref="609769628"/>
-                                                       </object>
-                                                       <bool key="NSAllowsLogicalLayoutDirection">NO</bool>
-                                                       <int key="NSTextFieldAlignmentRectInsetsVersion">1</int>
-                                               </object>
-                                               <object class="NSButton" id="353086939">
-                                                       <reference key="NSNextResponder" ref="784460927"/>
-                                                       <int key="NSvFlags">256</int>
-                                                       <string key="NSFrame">{{383, 12}, {108, 32}}</string>
-                                                       <reference key="NSSuperview" ref="784460927"/>
-                                                       <reference key="NSWindow"/>
-                                                       <reference key="NSNextKeyView"/>
-                                                       <bool key="NSEnabled">YES</bool>
-                                                       <object class="NSButtonCell" key="NSCell" id="357938558">
-                                                               <int key="NSCellFlags">67108864</int>
-                                                               <int key="NSCellFlags2">134217728</int>
-                                                               <string key="NSContents">OK</string>
-                                                               <reference key="NSSupport" ref="612013666"/>
-                                                               <reference key="NSControlView" ref="353086939"/>
-                                                               <int key="NSButtonFlags">-2038284288</int>
-                                                               <int key="NSButtonFlags2">1</int>
-                                                               <reference key="NSAlternateImage" ref="612013666"/>
-                                                               <string key="NSAlternateContents"/>
-                                                               <string type="base64-UTF8" key="NSKeyEquivalent">DQ</string>
-                                                               <int key="NSPeriodicDelay">200</int>
-                                                               <int key="NSPeriodicInterval">25</int>
-                                                       </object>
-                                                       <bool key="NSAllowsLogicalLayoutDirection">NO</bool>
-                                               </object>
-                                               <object class="NSButton" id="648696081">
-                                                       <reference key="NSNextResponder" ref="784460927"/>
-                                                       <int key="NSvFlags">256</int>
-                                                       <string key="NSFrame">{{275, 12}, {108, 32}}</string>
-                                                       <reference key="NSSuperview" ref="784460927"/>
-                                                       <reference key="NSWindow"/>
-                                                       <reference key="NSNextKeyView" ref="353086939"/>
-                                                       <bool key="NSEnabled">YES</bool>
-                                                       <object class="NSButtonCell" key="NSCell" id="71468088">
-                                                               <int key="NSCellFlags">67108864</int>
-                                                               <int key="NSCellFlags2">134217728</int>
-                                                               <string key="NSContents">Cancel</string>
-                                                               <reference key="NSSupport" ref="612013666"/>
-                                                               <reference key="NSControlView" ref="648696081"/>
-                                                               <int key="NSButtonFlags">-2038284288</int>
-                                                               <int key="NSButtonFlags2">1</int>
-                                                               <reference key="NSAlternateImage" ref="612013666"/>
-                                                               <string key="NSAlternateContents"/>
-                                                               <string type="base64-UTF8" key="NSKeyEquivalent">Gw</string>
-                                                               <int key="NSPeriodicDelay">200</int>
-                                                               <int key="NSPeriodicInterval">25</int>
-                                                       </object>
-                                                       <bool key="NSAllowsLogicalLayoutDirection">NO</bool>
-                                               </object>
-                                               <object class="NSImageView" id="603904908">
-                                                       <reference key="NSNextResponder" ref="784460927"/>
-                                                       <int key="NSvFlags">256</int>
-                                                       <set class="NSMutableSet" key="NSDragTypes">
-                                                               <string>Apple PDF pasteboard type</string>
-                                                               <string>Apple PICT pasteboard type</string>
-                                                               <string>Apple PNG pasteboard type</string>
-                                                               <string>NSFilenamesPboardType</string>
-                                                               <string>NeXT Encapsulated PostScript v1.2 pasteboard type</string>
-                                                               <string>NeXT TIFF v4.0 pasteboard type</string>
-                                                       </set>
-                                                       <string key="NSFrame">{{20, 194}, {64, 64}}</string>
-                                                       <reference key="NSSuperview" ref="784460927"/>
-                                                       <reference key="NSWindow"/>
-                                                       <reference key="NSNextKeyView" ref="848717079"/>
-                                                       <bool key="NSEnabled">YES</bool>
-                                                       <object class="NSImageCell" key="NSCell" id="1029161739">
-                                                               <int key="NSCellFlags">134217728</int>
-                                                               <int key="NSCellFlags2">33554432</int>
-                                                               <object class="NSCustomResource" key="NSContents" id="946669267">
-                                                                       <string key="NSClassName">NSImage</string>
-                                                                       <string key="NSResourceName">NSApplicationIcon</string>
-                                                               </object>
-                                                               <int key="NSAlign">2</int>
-                                                               <int key="NSScale">0</int>
-                                                               <int key="NSStyle">0</int>
-                                                               <bool key="NSAnimates">NO</bool>
-                                                       </object>
-                                                       <bool key="NSAllowsLogicalLayoutDirection">NO</bool>
-                                                       <bool key="NSEditable">YES</bool>
-                                               </object>
-                                       </array>
-                                       <string key="NSFrameSize">{505, 278}</string>
-                                       <reference key="NSSuperview"/>
-                                       <reference key="NSWindow"/>
-                                       <reference key="NSNextKeyView" ref="603904908"/>
-                               </object>
-                               <string key="NSScreenRect">{{0, 0}, {1280, 777}}</string>
-                               <string key="NSMinSize">{213, 129}</string>
-                               <string key="NSMaxSize">{10000000000000, 10000000000000}</string>
-                               <bool key="NSWindowIsRestorable">YES</bool>
-                       </object>
-                       <object class="NSWindowTemplate" id="181099034">
-                               <int key="NSWindowStyleMask">1</int>
-                               <int key="NSWindowBacking">2</int>
-                               <string key="NSWindowRect">{{319, 460}, {520, 182}}</string>
-                               <int key="NSWTFlags">1886912512</int>
-                               <string key="NSWindowTitle">Progress</string>
-                               <object class="NSMutableString" key="NSWindowClass">
-                                       <characters key="NS.bytes">NSWindow</characters>
-                               </object>
-                               <object class="NSMutableString" key="NSViewClass">
-                                       <characters key="NS.bytes">View</characters>
-                               </object>
-                               <nil key="NSUserInterfaceItemIdentifier"/>
-                               <string key="NSWindowContentMinSize">{213, 107}</string>
-                               <object class="NSView" key="NSWindowView" id="755575325">
-                                       <reference key="NSNextResponder"/>
-                                       <int key="NSvFlags">256</int>
-                                       <array class="NSMutableArray" key="NSSubviews">
-                                               <object class="NSTextField" id="787145765">
-                                                       <reference key="NSNextResponder" ref="755575325"/>
-                                                       <int key="NSvFlags">256</int>
-                                                       <string key="NSFrame">{{89, 145}, {414, 17}}</string>
-                                                       <reference key="NSSuperview" ref="755575325"/>
-                                                       <reference key="NSWindow"/>
-                                                       <reference key="NSNextKeyView" ref="565300589"/>
-                                                       <bool key="NSEnabled">YES</bool>
-                                                       <object class="NSTextFieldCell" key="NSCell" id="310226383">
-                                                               <int key="NSCellFlags">67108864</int>
-                                                               <int key="NSCellFlags2">272629760</int>
-                                                               <string key="NSContents">System Font Text</string>
-                                                               <reference key="NSSupport" ref="25251317"/>
-                                                               <reference key="NSControlView" ref="787145765"/>
-                                                               <reference key="NSBackgroundColor" ref="827775475"/>
-                                                               <reference key="NSTextColor" ref="609769628"/>
-                                                       </object>
-                                                       <bool key="NSAllowsLogicalLayoutDirection">NO</bool>
-                                                       <int key="NSTextFieldAlignmentRectInsetsVersion">1</int>
-                                               </object>
-                                               <object class="NSTextField" id="565300589">
-                                                       <reference key="NSNextResponder" ref="755575325"/>
-                                                       <int key="NSvFlags">256</int>
-                                                       <string key="NSFrame">{{89, 95}, {414, 42}}</string>
-                                                       <reference key="NSSuperview" ref="755575325"/>
-                                                       <reference key="NSWindow"/>
-                                                       <reference key="NSNextKeyView" ref="396289858"/>
-                                                       <bool key="NSEnabled">YES</bool>
-                                                       <object class="NSTextFieldCell" key="NSCell" id="333125757">
-                                                               <int key="NSCellFlags">67108864</int>
-                                                               <int key="NSCellFlags2">272629760</int>
-                                                               <string key="NSContents">Small System Font Text Small System Font Text Small System Font Text Small System Font Text Small System Font Text Small System Font Text Small System Text System Font Text Small System Font</string>
-                                                               <reference key="NSSupport" ref="26"/>
-                                                               <reference key="NSControlView" ref="565300589"/>
-                                                               <reference key="NSBackgroundColor" ref="827775475"/>
-                                                               <reference key="NSTextColor" ref="609769628"/>
-                                                       </object>
-                                                       <bool key="NSAllowsLogicalLayoutDirection">NO</bool>
-                                                       <int key="NSTextFieldAlignmentRectInsetsVersion">1</int>
-                                               </object>
-                                               <object class="NSProgressIndicator" id="396289858">
-                                                       <reference key="NSNextResponder" ref="755575325"/>
-                                                       <int key="NSvFlags">1280</int>
-                                                       <string key="NSFrame">{{90, 56}, {412, 20}}</string>
-                                                       <reference key="NSSuperview" ref="755575325"/>
-                                                       <reference key="NSWindow"/>
-                                                       <reference key="NSNextKeyView" ref="663300827"/>
-                                                       <int key="NSpiFlags">16396</int>
-                                                       <double key="NSMaxValue">1000</double>
-                                               </object>
-                                               <object class="NSButton" id="663300827">
-                                                       <reference key="NSNextResponder" ref="755575325"/>
-                                                       <int key="NSvFlags">256</int>
-                                                       <string key="NSFrame">{{398, 12}, {108, 32}}</string>
-                                                       <reference key="NSSuperview" ref="755575325"/>
-                                                       <reference key="NSWindow"/>
-                                                       <reference key="NSNextKeyView"/>
-                                                       <bool key="NSEnabled">YES</bool>
-                                                       <object class="NSButtonCell" key="NSCell" id="842982813">
-                                                               <int key="NSCellFlags">67108864</int>
-                                                               <int key="NSCellFlags2">134217728</int>
-                                                               <string key="NSContents">Cancel</string>
-                                                               <reference key="NSSupport" ref="612013666"/>
-                                                               <reference key="NSControlView" ref="663300827"/>
-                                                               <int key="NSButtonFlags">-2038284288</int>
-                                                               <int key="NSButtonFlags2">1</int>
-                                                               <reference key="NSAlternateImage" ref="612013666"/>
-                                                               <string key="NSAlternateContents"/>
-                                                               <string type="base64-UTF8" key="NSKeyEquivalent">Gw</string>
-                                                               <int key="NSPeriodicDelay">200</int>
-                                                               <int key="NSPeriodicInterval">25</int>
-                                                       </object>
-                                                       <bool key="NSAllowsLogicalLayoutDirection">NO</bool>
-                                               </object>
-                                               <object class="NSImageView" id="489898872">
-                                                       <reference key="NSNextResponder" ref="755575325"/>
-                                                       <int key="NSvFlags">256</int>
-                                                       <set class="NSMutableSet" key="NSDragTypes">
-                                                               <string>Apple PDF pasteboard type</string>
-                                                               <string>Apple PICT pasteboard type</string>
-                                                               <string>Apple PNG pasteboard type</string>
-                                                               <string>NSFilenamesPboardType</string>
-                                                               <string>NeXT Encapsulated PostScript v1.2 pasteboard type</string>
-                                                               <string>NeXT TIFF v4.0 pasteboard type</string>
-                                                       </set>
-                                                       <string key="NSFrame">{{20, 98}, {64, 64}}</string>
-                                                       <reference key="NSSuperview" ref="755575325"/>
-                                                       <reference key="NSWindow"/>
-                                                       <reference key="NSNextKeyView" ref="787145765"/>
-                                                       <bool key="NSEnabled">YES</bool>
-                                                       <object class="NSImageCell" key="NSCell" id="958921464">
-                                                               <int key="NSCellFlags">134217728</int>
-                                                               <int key="NSCellFlags2">33554432</int>
-                                                               <reference key="NSContents" ref="946669267"/>
-                                                               <int key="NSAlign">2</int>
-                                                               <int key="NSScale">0</int>
-                                                               <int key="NSStyle">0</int>
-                                                               <bool key="NSAnimates">NO</bool>
-                                                       </object>
-                                                       <bool key="NSAllowsLogicalLayoutDirection">NO</bool>
-                                                       <bool key="NSEditable">YES</bool>
-                                               </object>
-                                       </array>
-                                       <string key="NSFrameSize">{520, 182}</string>
-                                       <reference key="NSSuperview"/>
-                                       <reference key="NSWindow"/>
-                                       <reference key="NSNextKeyView" ref="489898872"/>
-                               </object>
-                               <string key="NSScreenRect">{{0, 0}, {1280, 777}}</string>
-                               <string key="NSMinSize">{213, 129}</string>
-                               <string key="NSMaxSize">{10000000000000, 10000000000000}</string>
-                               <bool key="NSWindowIsRestorable">YES</bool>
-                       </object>
-               </array>
-               <object class="IBObjectContainer" key="IBDocument.Objects">
-                       <array key="connectionRecords">
-                               <object class="IBConnectionRecord">
-                                       <object class="IBOutletConnection" key="connection">
-                                               <string key="label">o_auth_win</string>
-                                               <reference key="source" ref="802493260"/>
-                                               <reference key="destination" ref="404989243"/>
-                                       </object>
-                                       <int key="connectionID">330</int>
-                               </object>
-                               <object class="IBConnectionRecord">
-                                       <object class="IBOutletConnection" key="connection">
-                                               <string key="label">o_auth_title_txt</string>
-                                               <reference key="source" ref="802493260"/>
-                                               <reference key="destination" ref="848717079"/>
-                                       </object>
-                                       <int key="connectionID">331</int>
-                               </object>
-                               <object class="IBConnectionRecord">
-                                       <object class="IBOutletConnection" key="connection">
-                                               <string key="label">o_auth_description_txt</string>
-                                               <reference key="source" ref="802493260"/>
-                                               <reference key="destination" ref="895216305"/>
-                                       </object>
-                                       <int key="connectionID">332</int>
-                               </object>
-                               <object class="IBConnectionRecord">
-                                       <object class="IBOutletConnection" key="connection">
-                                               <string key="label">o_auth_login_txt</string>
-                                               <reference key="source" ref="802493260"/>
-                                               <reference key="destination" ref="463407669"/>
-                                       </object>
-                                       <int key="connectionID">333</int>
-                               </object>
-                               <object class="IBConnectionRecord">
-                                       <object class="IBOutletConnection" key="connection">
-                                               <string key="label">o_auth_login_fld</string>
-                                               <reference key="source" ref="802493260"/>
-                                               <reference key="destination" ref="763771318"/>
-                                       </object>
-                                       <int key="connectionID">334</int>
-                               </object>
-                               <object class="IBConnectionRecord">
-                                       <object class="IBOutletConnection" key="connection">
-                                               <string key="label">o_auth_pw_txt</string>
-                                               <reference key="source" ref="802493260"/>
-                                               <reference key="destination" ref="377707840"/>
-                                       </object>
-                                       <int key="connectionID">335</int>
-                               </object>
-                               <object class="IBConnectionRecord">
-                                       <object class="IBOutletConnection" key="connection">
-                                               <string key="label">o_auth_pw_fld</string>
-                                               <reference key="source" ref="802493260"/>
-                                               <reference key="destination" ref="50035503"/>
-                                       </object>
-                                       <int key="connectionID">336</int>
-                               </object>
-                               <object class="IBConnectionRecord">
-                                       <object class="IBActionConnection" key="connection">
-                                               <string key="label">loginDialogAction:</string>
-                                               <reference key="source" ref="802493260"/>
-                                               <reference key="destination" ref="648696081"/>
-                                       </object>
-                                       <int key="connectionID">338</int>
-                               </object>
-                               <object class="IBConnectionRecord">
-                                       <object class="IBActionConnection" key="connection">
-                                               <string key="label">loginDialogAction:</string>
-                                               <reference key="source" ref="802493260"/>
-                                               <reference key="destination" ref="353086939"/>
-                                       </object>
-                                       <int key="connectionID">339</int>
-                               </object>
-                               <object class="IBConnectionRecord">
-                                       <object class="IBOutletConnection" key="connection">
-                                               <string key="label">o_auth_ok_btn</string>
-                                               <reference key="source" ref="802493260"/>
-                                               <reference key="destination" ref="353086939"/>
-                                       </object>
-                                       <int key="connectionID">340</int>
-                               </object>
-                               <object class="IBConnectionRecord">
-                                       <object class="IBOutletConnection" key="connection">
-                                               <string key="label">o_prog_win</string>
-                                               <reference key="source" ref="802493260"/>
-                                               <reference key="destination" ref="181099034"/>
-                                       </object>
-                                       <int key="connectionID">341</int>
-                               </object>
-                               <object class="IBConnectionRecord">
-                                       <object class="IBOutletConnection" key="connection">
-                                               <string key="label">o_prog_title_txt</string>
-                                               <reference key="source" ref="802493260"/>
-                                               <reference key="destination" ref="787145765"/>
-                                       </object>
-                                       <int key="connectionID">342</int>
-                               </object>
-                               <object class="IBConnectionRecord">
-                                       <object class="IBOutletConnection" key="connection">
-                                               <string key="label">o_prog_description_txt</string>
-                                               <reference key="source" ref="802493260"/>
-                                               <reference key="destination" ref="565300589"/>
-                                       </object>
-                                       <int key="connectionID">343</int>
-                               </object>
-                               <object class="IBConnectionRecord">
-                                       <object class="IBOutletConnection" key="connection">
-                                               <string key="label">o_prog_bar</string>
-                                               <reference key="source" ref="802493260"/>
-                                               <reference key="destination" ref="396289858"/>
-                                       </object>
-                                       <int key="connectionID">344</int>
-                               </object>
-                               <object class="IBConnectionRecord">
-                                       <object class="IBOutletConnection" key="connection">
-                                               <string key="label">o_prog_cancel_btn</string>
-                                               <reference key="source" ref="802493260"/>
-                                               <reference key="destination" ref="663300827"/>
-                                       </object>
-                                       <int key="connectionID">345</int>
-                               </object>
-                               <object class="IBConnectionRecord">
-                                       <object class="IBActionConnection" key="connection">
-                                               <string key="label">progDialogAction:</string>
-                                               <reference key="source" ref="802493260"/>
-                                               <reference key="destination" ref="663300827"/>
-                                       </object>
-                                       <int key="connectionID">346</int>
-                               </object>
-                       </array>
-                       <object class="IBMutableOrderedSet" key="objectRecords">
-                               <array key="orderedObjects">
-                                       <object class="IBObjectRecord">
-                                               <int key="objectID">0</int>
-                                               <array key="object" id="0"/>
-                                               <reference key="children" ref="893187804"/>
-                                               <nil key="parent"/>
-                                       </object>
-                                       <object class="IBObjectRecord">
-                                               <int key="objectID">-2</int>
-                                               <reference key="object" ref="802493260"/>
-                                               <reference key="parent" ref="0"/>
-                                               <string key="objectName">File's Owner</string>
-                                       </object>
-                                       <object class="IBObjectRecord">
-                                               <int key="objectID">-1</int>
-                                               <reference key="object" ref="559966113"/>
-                                               <reference key="parent" ref="0"/>
-                                               <string key="objectName">First Responder</string>
-                                       </object>
-                                       <object class="IBObjectRecord">
-                                               <int key="objectID">248</int>
-                                               <reference key="object" ref="404989243"/>
-                                               <array class="NSMutableArray" key="children">
-                                                       <reference ref="784460927"/>
-                                               </array>
-                                               <reference key="parent" ref="0"/>
-                                               <string key="objectName">Authentication</string>
-                                       </object>
-                                       <object class="IBObjectRecord">
-                                               <int key="objectID">249</int>
-                                               <reference key="object" ref="784460927"/>
-                                               <array class="NSMutableArray" key="children">
-                                                       <reference ref="763771318"/>
-                                                       <reference ref="377707840"/>
-                                                       <reference ref="353086939"/>
-                                                       <reference ref="50035503"/>
-                                                       <reference ref="648696081"/>
-                                                       <reference ref="463407669"/>
-                                                       <reference ref="848717079"/>
-                                                       <reference ref="895216305"/>
-                                                       <reference ref="603904908"/>
-                                               </array>
-                                               <reference key="parent" ref="404989243"/>
-                                       </object>
-                                       <object class="IBObjectRecord">
-                                               <int key="objectID">250</int>
-                                               <reference key="object" ref="763771318"/>
-                                               <array class="NSMutableArray" key="children">
-                                                       <reference ref="577466516"/>
-                                               </array>
-                                               <reference key="parent" ref="784460927"/>
-                                       </object>
-                                       <object class="IBObjectRecord">
-                                               <int key="objectID">251</int>
-                                               <reference key="object" ref="377707840"/>
-                                               <array class="NSMutableArray" key="children">
-                                                       <reference ref="381438595"/>
-                                               </array>
-                                               <reference key="parent" ref="784460927"/>
-                                       </object>
-                                       <object class="IBObjectRecord">
-                                               <int key="objectID">252</int>
-                                               <reference key="object" ref="353086939"/>
-                                               <array class="NSMutableArray" key="children">
-                                                       <reference ref="357938558"/>
-                                               </array>
-                                               <reference key="parent" ref="784460927"/>
-                                       </object>
-                                       <object class="IBObjectRecord">
-                                               <int key="objectID">253</int>
-                                               <reference key="object" ref="50035503"/>
-                                               <array class="NSMutableArray" key="children">
-                                                       <reference ref="113494320"/>
-                                               </array>
-                                               <reference key="parent" ref="784460927"/>
-                                       </object>
-                                       <object class="IBObjectRecord">
-                                               <int key="objectID">254</int>
-                                               <reference key="object" ref="648696081"/>
-                                               <array class="NSMutableArray" key="children">
-                                                       <reference ref="71468088"/>
-                                               </array>
-                                               <reference key="parent" ref="784460927"/>
-                                       </object>
-                                       <object class="IBObjectRecord">
-                                               <int key="objectID">255</int>
-                                               <reference key="object" ref="463407669"/>
-                                               <array class="NSMutableArray" key="children">
-                                                       <reference ref="979127236"/>
-                                               </array>
-                                               <reference key="parent" ref="784460927"/>
-                                       </object>
-                                       <object class="IBObjectRecord">
-                                               <int key="objectID">256</int>
-                                               <reference key="object" ref="848717079"/>
-                                               <array class="NSMutableArray" key="children">
-                                                       <reference ref="576900989"/>
-                                               </array>
-                                               <reference key="parent" ref="784460927"/>
-                                       </object>
-                                       <object class="IBObjectRecord">
-                                               <int key="objectID">257</int>
-                                               <reference key="object" ref="895216305"/>
-                                               <array class="NSMutableArray" key="children">
-                                                       <reference ref="683480755"/>
-                                               </array>
-                                               <reference key="parent" ref="784460927"/>
-                                       </object>
-                                       <object class="IBObjectRecord">
-                                               <int key="objectID">314</int>
-                                               <reference key="object" ref="603904908"/>
-                                               <array class="NSMutableArray" key="children">
-                                                       <reference ref="1029161739"/>
-                                               </array>
-                                               <reference key="parent" ref="784460927"/>
-                                       </object>
-                                       <object class="IBObjectRecord">
-                                               <int key="objectID">301</int>
-                                               <reference key="object" ref="181099034"/>
-                                               <array class="NSMutableArray" key="children">
-                                                       <reference ref="755575325"/>
-                                               </array>
-                                               <reference key="parent" ref="0"/>
-                                               <string key="objectName">Progress</string>
-                                       </object>
-                                       <object class="IBObjectRecord">
-                                               <int key="objectID">302</int>
-                                               <reference key="object" ref="755575325"/>
-                                               <array class="NSMutableArray" key="children">
-                                                       <reference ref="787145765"/>
-                                                       <reference ref="565300589"/>
-                                                       <reference ref="663300827"/>
-                                                       <reference ref="396289858"/>
-                                                       <reference ref="489898872"/>
-                                               </array>
-                                               <reference key="parent" ref="181099034"/>
-                                       </object>
-                                       <object class="IBObjectRecord">
-                                               <int key="objectID">304</int>
-                                               <reference key="object" ref="787145765"/>
-                                               <array class="NSMutableArray" key="children">
-                                                       <reference ref="310226383"/>
-                                               </array>
-                                               <reference key="parent" ref="755575325"/>
-                                       </object>
-                                       <object class="IBObjectRecord">
-                                               <int key="objectID">305</int>
-                                               <reference key="object" ref="565300589"/>
-                                               <array class="NSMutableArray" key="children">
-                                                       <reference ref="333125757"/>
-                                               </array>
-                                               <reference key="parent" ref="755575325"/>
-                                       </object>
-                                       <object class="IBObjectRecord">
-                                               <int key="objectID">306</int>
-                                               <reference key="object" ref="663300827"/>
-                                               <array class="NSMutableArray" key="children">
-                                                       <reference ref="842982813"/>
-                                               </array>
-                                               <reference key="parent" ref="755575325"/>
-                                       </object>
-                                       <object class="IBObjectRecord">
-                                               <int key="objectID">307</int>
-                                               <reference key="object" ref="396289858"/>
-                                               <reference key="parent" ref="755575325"/>
-                                       </object>
-                                       <object class="IBObjectRecord">
-                                               <int key="objectID">315</int>
-                                               <reference key="object" ref="489898872"/>
-                                               <array class="NSMutableArray" key="children">
-                                                       <reference ref="958921464"/>
-                                               </array>
-                                               <reference key="parent" ref="755575325"/>
-                                       </object>
-                                       <object class="IBObjectRecord">
-                                               <int key="objectID">317</int>
-                                               <reference key="object" ref="577466516"/>
-                                               <reference key="parent" ref="763771318"/>
-                                       </object>
-                                       <object class="IBObjectRecord">
-                                               <int key="objectID">318</int>
-                                               <reference key="object" ref="381438595"/>
-                                               <reference key="parent" ref="377707840"/>
-                                       </object>
-                                       <object class="IBObjectRecord">
-                                               <int key="objectID">319</int>
-                                               <reference key="object" ref="357938558"/>
-                                               <reference key="parent" ref="353086939"/>
-                                       </object>
-                                       <object class="IBObjectRecord">
-                                               <int key="objectID">320</int>
-                                               <reference key="object" ref="113494320"/>
-                                               <reference key="parent" ref="50035503"/>
-                                       </object>
-                                       <object class="IBObjectRecord">
-                                               <int key="objectID">321</int>
-                                               <reference key="object" ref="71468088"/>
-                                               <reference key="parent" ref="648696081"/>
-                                       </object>
-                                       <object class="IBObjectRecord">
-                                               <int key="objectID">322</int>
-                                               <reference key="object" ref="979127236"/>
-                                               <reference key="parent" ref="463407669"/>
-                                       </object>
-                                       <object class="IBObjectRecord">
-                                               <int key="objectID">323</int>
-                                               <reference key="object" ref="576900989"/>
-                                               <reference key="parent" ref="848717079"/>
-                                       </object>
-                                       <object class="IBObjectRecord">
-                                               <int key="objectID">324</int>
-                                               <reference key="object" ref="683480755"/>
-                                               <reference key="parent" ref="895216305"/>
-                                       </object>
-                                       <object class="IBObjectRecord">
-                                               <int key="objectID">325</int>
-                                               <reference key="object" ref="1029161739"/>
-                                               <reference key="parent" ref="603904908"/>
-                                       </object>
-                                       <object class="IBObjectRecord">
-                                               <int key="objectID">326</int>
-                                               <reference key="object" ref="310226383"/>
-                                               <reference key="parent" ref="787145765"/>
-                                       </object>
-                                       <object class="IBObjectRecord">
-                                               <int key="objectID">327</int>
-                                               <reference key="object" ref="333125757"/>
-                                               <reference key="parent" ref="565300589"/>
-                                       </object>
-                                       <object class="IBObjectRecord">
-                                               <int key="objectID">328</int>
-                                               <reference key="object" ref="842982813"/>
-                                               <reference key="parent" ref="663300827"/>
-                                       </object>
-                                       <object class="IBObjectRecord">
-                                               <int key="objectID">329</int>
-                                               <reference key="object" ref="958921464"/>
-                                               <reference key="parent" ref="489898872"/>
-                                       </object>
-                                       <object class="IBObjectRecord">
-                                               <int key="objectID">-3</int>
-                                               <reference key="object" ref="308829720"/>
-                                               <reference key="parent" ref="0"/>
-                                               <string key="objectName">Application</string>
-                                       </object>
-                               </array>
-                       </object>
-                       <dictionary class="NSMutableDictionary" key="flattenedProperties">
-                               <string key="-1.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
-                               <string key="-2.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
-                               <string key="-3.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
-                               <string key="248.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
-                               <string key="248.IBWindowTemplateEditedContentRect">{{427, 192}, {505, 278}}</string>
-                               <string key="249.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
-                               <string key="250.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
-                               <string key="251.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
-                               <string key="252.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
-                               <string key="253.CustomClassName">NSSecureTextField</string>
-                               <string key="253.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
-                               <string key="254.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
-                               <string key="255.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
-                               <string key="256.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
-                               <string key="257.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
-                               <string key="301.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
-                               <string key="301.IBWindowTemplateEditedContentRect">{{412, 311}, {520, 182}}</string>
-                               <string key="302.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
-                               <string key="304.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
-                               <string key="305.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
-                               <string key="306.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
-                               <string key="307.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
-                               <string key="314.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
-                               <string key="315.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
-                               <string key="317.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
-                               <string key="318.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
-                               <string key="319.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
-                               <string key="320.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
-                               <string key="321.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
-                               <string key="322.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
-                               <string key="323.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
-                               <string key="324.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
-                               <string key="325.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
-                               <string key="326.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
-                               <string key="327.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
-                               <string key="328.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
-                               <string key="329.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
-                       </dictionary>
-                       <dictionary class="NSMutableDictionary" key="unlocalizedProperties"/>
-                       <nil key="activeLocalization"/>
-                       <dictionary class="NSMutableDictionary" key="localizations"/>
-                       <nil key="sourceID"/>
-                       <int key="maxID">346</int>
-               </object>
-               <object class="IBClassDescriber" key="IBDocument.Classes">
-                       <array class="NSMutableArray" key="referencedPartialClassDescriptions">
-                               <object class="IBPartialClassDescription">
-                                       <string key="className">VLCCoreDialogProvider</string>
-                                       <string key="superclassName">NSObject</string>
-                                       <dictionary class="NSMutableDictionary" key="actions">
-                                               <string key="loginDialogAction:">id</string>
-                                               <string key="progDialogAction:">id</string>
-                                       </dictionary>
-                                       <dictionary class="NSMutableDictionary" key="actionInfosByName">
-                                               <object class="IBActionInfo" key="loginDialogAction:">
-                                                       <string key="name">loginDialogAction:</string>
-                                                       <string key="candidateClassName">id</string>
-                                               </object>
-                                               <object class="IBActionInfo" key="progDialogAction:">
-                                                       <string key="name">progDialogAction:</string>
-                                                       <string key="candidateClassName">id</string>
-                                               </object>
-                                       </dictionary>
-                                       <dictionary class="NSMutableDictionary" key="outlets">
-                                               <string key="o_auth_cancel_btn">id</string>
-                                               <string key="o_auth_description_txt">id</string>
-                                               <string key="o_auth_login_fld">id</string>
-                                               <string key="o_auth_login_txt">id</string>
-                                               <string key="o_auth_ok_btn">id</string>
-                                               <string key="o_auth_pw_fld">id</string>
-                                               <string key="o_auth_pw_txt">id</string>
-                                               <string key="o_auth_title_txt">id</string>
-                                               <string key="o_auth_win">id</string>
-                                               <string key="o_prog_bar">NSProgressIndicator</string>
-                                               <string key="o_prog_cancel_btn">id</string>
-                                               <string key="o_prog_description_txt">id</string>
-                                               <string key="o_prog_title_txt">id</string>
-                                               <string key="o_prog_win">id</string>
-                                       </dictionary>
-                                       <dictionary class="NSMutableDictionary" key="toOneOutletInfosByName">
-                                               <object class="IBToOneOutletInfo" key="o_auth_cancel_btn">
-                                                       <string key="name">o_auth_cancel_btn</string>
-                                                       <string key="candidateClassName">id</string>
-                                               </object>
-                                               <object class="IBToOneOutletInfo" key="o_auth_description_txt">
-                                                       <string key="name">o_auth_description_txt</string>
-                                                       <string key="candidateClassName">id</string>
-                                               </object>
-                                               <object class="IBToOneOutletInfo" key="o_auth_login_fld">
-                                                       <string key="name">o_auth_login_fld</string>
-                                                       <string key="candidateClassName">id</string>
-                                               </object>
-                                               <object class="IBToOneOutletInfo" key="o_auth_login_txt">
-                                                       <string key="name">o_auth_login_txt</string>
-                                                       <string key="candidateClassName">id</string>
-                                               </object>
-                                               <object class="IBToOneOutletInfo" key="o_auth_ok_btn">
-                                                       <string key="name">o_auth_ok_btn</string>
-                                                       <string key="candidateClassName">id</string>
-                                               </object>
-                                               <object class="IBToOneOutletInfo" key="o_auth_pw_fld">
-                                                       <string key="name">o_auth_pw_fld</string>
-                                                       <string key="candidateClassName">id</string>
-                                               </object>
-                                               <object class="IBToOneOutletInfo" key="o_auth_pw_txt">
-                                                       <string key="name">o_auth_pw_txt</string>
-                                                       <string key="candidateClassName">id</string>
-                                               </object>
-                                               <object class="IBToOneOutletInfo" key="o_auth_title_txt">
-                                                       <string key="name">o_auth_title_txt</string>
-                                                       <string key="candidateClassName">id</string>
-                                               </object>
-                                               <object class="IBToOneOutletInfo" key="o_auth_win">
-                                                       <string key="name">o_auth_win</string>
-                                                       <string key="candidateClassName">id</string>
-                                               </object>
-                                               <object class="IBToOneOutletInfo" key="o_prog_bar">
-                                                       <string key="name">o_prog_bar</string>
-                                                       <string key="candidateClassName">NSProgressIndicator</string>
-                                               </object>
-                                               <object class="IBToOneOutletInfo" key="o_prog_cancel_btn">
-                                                       <string key="name">o_prog_cancel_btn</string>
-                                                       <string key="candidateClassName">id</string>
-                                               </object>
-                                               <object class="IBToOneOutletInfo" key="o_prog_description_txt">
-                                                       <string key="name">o_prog_description_txt</string>
-                                                       <string key="candidateClassName">id</string>
-                                               </object>
-                                               <object class="IBToOneOutletInfo" key="o_prog_title_txt">
-                                                       <string key="name">o_prog_title_txt</string>
-                                                       <string key="candidateClassName">id</string>
-                                               </object>
-                                               <object class="IBToOneOutletInfo" key="o_prog_win">
-                                                       <string key="name">o_prog_win</string>
-                                                       <string key="candidateClassName">id</string>
-                                               </object>
-                                       </dictionary>
-                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
-                                               <string key="majorKey">IBProjectSource</string>
-                                               <string key="minorKey">../../../../modules/gui/macosx/coredialogs.h</string>
-                                       </object>
-                               </object>
-                               <object class="IBPartialClassDescription">
-                                       <string key="className">VLCCoreDialogProvider</string>
-                                       <dictionary class="NSMutableDictionary" key="actions">
-                                               <string key="loginDialogAction:">id</string>
-                                               <string key="progDialogAction:">id</string>
-                                       </dictionary>
-                                       <dictionary class="NSMutableDictionary" key="actionInfosByName">
-                                               <object class="IBActionInfo" key="loginDialogAction:">
-                                                       <string key="name">loginDialogAction:</string>
-                                                       <string key="candidateClassName">id</string>
-                                               </object>
-                                               <object class="IBActionInfo" key="progDialogAction:">
-                                                       <string key="name">progDialogAction:</string>
-                                                       <string key="candidateClassName">id</string>
-                                               </object>
-                                       </dictionary>
-                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
-                                               <string key="majorKey">IBProjectSource</string>
-                                               <string key="minorKey">../../../../modules/gui/macosx/coredialogs.m</string>
-                                       </object>
-                               </object>
-                       </array>
-                       <array class="NSMutableArray" key="referencedPartialClassDescriptionsV3.2+">
-                               <object class="IBPartialClassDescription">
-                                       <string key="className">NSActionCell</string>
-                                       <string key="superclassName">NSCell</string>
-                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
-                                               <string key="majorKey">IBFrameworkSource</string>
-                                               <string key="minorKey">AppKit.framework/Headers/NSActionCell.h</string>
-                                       </object>
-                               </object>
-                               <object class="IBPartialClassDescription">
-                                       <string key="className">NSApplication</string>
-                                       <string key="superclassName">NSResponder</string>
-                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
-                                               <string key="majorKey">IBFrameworkSource</string>
-                                               <string key="minorKey">AppKit.framework/Headers/NSApplication.h</string>
-                                       </object>
-                               </object>
-                               <object class="IBPartialClassDescription">
-                                       <string key="className">NSButton</string>
-                                       <string key="superclassName">NSControl</string>
-                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
-                                               <string key="majorKey">IBFrameworkSource</string>
-                                               <string key="minorKey">AppKit.framework/Headers/NSButton.h</string>
-                                       </object>
-                               </object>
-                               <object class="IBPartialClassDescription">
-                                       <string key="className">NSButtonCell</string>
-                                       <string key="superclassName">NSActionCell</string>
-                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
-                                               <string key="majorKey">IBFrameworkSource</string>
-                                               <string key="minorKey">AppKit.framework/Headers/NSButtonCell.h</string>
-                                       </object>
-                               </object>
-                               <object class="IBPartialClassDescription">
-                                       <string key="className">NSCell</string>
-                                       <string key="superclassName">NSObject</string>
-                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
-                                               <string key="majorKey">IBFrameworkSource</string>
-                                               <string key="minorKey">AppKit.framework/Headers/NSCell.h</string>
-                                       </object>
-                               </object>
-                               <object class="IBPartialClassDescription">
-                                       <string key="className">NSControl</string>
-                                       <string key="superclassName">NSView</string>
-                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
-                                               <string key="majorKey">IBFrameworkSource</string>
-                                               <string key="minorKey">AppKit.framework/Headers/NSControl.h</string>
-                                       </object>
-                               </object>
-                               <object class="IBPartialClassDescription">
-                                       <string key="className">NSFormatter</string>
-                                       <string key="superclassName">NSObject</string>
-                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
-                                               <string key="majorKey">IBFrameworkSource</string>
-                                               <string key="minorKey">Foundation.framework/Headers/NSFormatter.h</string>
-                                       </object>
-                               </object>
-                               <object class="IBPartialClassDescription">
-                                       <string key="className">NSImageCell</string>
-                                       <string key="superclassName">NSCell</string>
-                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
-                                               <string key="majorKey">IBFrameworkSource</string>
-                                               <string key="minorKey">AppKit.framework/Headers/NSImageCell.h</string>
-                                       </object>
-                               </object>
-                               <object class="IBPartialClassDescription">
-                                       <string key="className">NSImageView</string>
-                                       <string key="superclassName">NSControl</string>
-                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
-                                               <string key="majorKey">IBFrameworkSource</string>
-                                               <string key="minorKey">AppKit.framework/Headers/NSImageView.h</string>
-                                       </object>
-                               </object>
-                               <object class="IBPartialClassDescription">
-                                       <string key="className">NSMenu</string>
-                                       <string key="superclassName">NSObject</string>
-                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
-                                               <string key="majorKey">IBFrameworkSource</string>
-                                               <string key="minorKey">AppKit.framework/Headers/NSMenu.h</string>
-                                       </object>
-                               </object>
-                               <object class="IBPartialClassDescription">
-                                       <string key="className">NSPanel</string>
-                                       <string key="superclassName">NSWindow</string>
-                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
-                                               <string key="majorKey">IBFrameworkSource</string>
-                                               <string key="minorKey">AppKit.framework/Headers/NSPanel.h</string>
-                                       </object>
-                               </object>
-                               <object class="IBPartialClassDescription">
-                                       <string key="className">NSProgressIndicator</string>
-                                       <string key="superclassName">NSView</string>
-                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
-                                               <string key="majorKey">IBFrameworkSource</string>
-                                               <string key="minorKey">AppKit.framework/Headers/NSProgressIndicator.h</string>
-                                       </object>
-                               </object>
-                               <object class="IBPartialClassDescription">
-                                       <string key="className">NSResponder</string>
-                                       <string key="superclassName">NSObject</string>
-                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
-                                               <string key="majorKey">IBFrameworkSource</string>
-                                               <string key="minorKey">AppKit.framework/Headers/NSResponder.h</string>
-                                       </object>
-                               </object>
-                               <object class="IBPartialClassDescription">
-                                       <string key="className">NSSecureTextField</string>
-                                       <string key="superclassName">NSTextField</string>
-                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
-                                               <string key="majorKey">IBFrameworkSource</string>
-                                               <string key="minorKey">AppKit.framework/Headers/NSSecureTextField.h</string>
-                                       </object>
-                               </object>
-                               <object class="IBPartialClassDescription">
-                                       <string key="className">NSTextField</string>
-                                       <string key="superclassName">NSControl</string>
-                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
-                                               <string key="majorKey">IBFrameworkSource</string>
-                                               <string key="minorKey">AppKit.framework/Headers/NSTextField.h</string>
-                                       </object>
-                               </object>
-                               <object class="IBPartialClassDescription">
-                                       <string key="className">NSTextFieldCell</string>
-                                       <string key="superclassName">NSActionCell</string>
-                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
-                                               <string key="majorKey">IBFrameworkSource</string>
-                                               <string key="minorKey">AppKit.framework/Headers/NSTextFieldCell.h</string>
-                                       </object>
-                               </object>
-                               <object class="IBPartialClassDescription">
-                                       <string key="className">NSView</string>
-                                       <string key="superclassName">NSResponder</string>
-                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
-                                               <string key="majorKey">IBFrameworkSource</string>
-                                               <string key="minorKey">AppKit.framework/Headers/NSView.h</string>
-                                       </object>
-                               </object>
-                               <object class="IBPartialClassDescription">
-                                       <string key="className">NSWindow</string>
-                                       <string key="superclassName">NSResponder</string>
-                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
-                                               <string key="majorKey">IBFrameworkSource</string>
-                                               <string key="minorKey">AppKit.framework/Headers/NSWindow.h</string>
-                                       </object>
-                               </object>
-                       </array>
-               </object>
-               <int key="IBDocument.localizationMode">0</int>
-               <string key="IBDocument.TargetRuntimeIdentifier">IBCocoaFramework</string>
-               <bool key="IBDocument.previouslyAttemptedUpgradeToXcode5">NO</bool>
-               <object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDependencies">
-                       <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaPlugin.macosx</string>
-                       <integer value="1060" key="NS.object.0"/>
-               </object>
-               <object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDevelopmentDependencies">
-                       <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3</string>
-                       <integer value="4600" key="NS.object.0"/>
-               </object>
-               <bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
-               <int key="IBDocument.defaultPropertyAccessControl">3</int>
-               <object class="NSMutableDictionary" key="IBDocument.LastKnownImageSizes">
-                       <string key="NS.key.0">NSApplicationIcon</string>
-                       <string key="NS.object.0">{128, 128}</string>
-               </object>
-       </data>
-</archive>
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="10102" systemVersion="15D21" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none">
+    <dependencies>
+        <deployment version="1060" identifier="macosx"/>
+        <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="10102"/>
+    </dependencies>
+    <objects>
+        <customObject id="-2" userLabel="File's Owner" customClass="VLCCoreDialogProvider">
+            <connections>
+                <outlet property="authenticationCancelButton" destination="254" id="3kf-Sd-qIl"/>
+                <outlet property="authenticationDescriptionLabel" destination="257" id="fK0-Kf-aDy"/>
+                <outlet property="authenticationLoginLabel" destination="255" id="t32-bo-RrR"/>
+                <outlet property="authenticationLoginTextField" destination="250" id="p4g-it-egq"/>
+                <outlet property="authenticationOkButton" destination="252" id="BgQ-UX-t3S"/>
+                <outlet property="authenticationPasswordLabel" destination="251" id="mgJ-w8-OSO"/>
+                <outlet property="authenticationPasswordTextField" destination="253" id="kg1-Mw-Xxc"/>
+                <outlet property="authenticationTitleLabel" destination="256" id="w85-xG-Aix"/>
+                <outlet property="authenticationWindow" destination="248" id="KUc-xR-bpJ"/>
+                <outlet property="progressCancelButton" destination="306" id="yX8-ag-f4a"/>
+                <outlet property="progressDescriptionLabel" destination="305" id="AfM-cq-dQv"/>
+                <outlet property="progressIndicator" destination="307" id="dmK-h6-H0N"/>
+                <outlet property="progressTitleLabel" destination="304" id="7Y7-WD-AjD"/>
+                <outlet property="progressWindow" destination="302" id="HHe-ZW-AXA"/>
+            </connections>
+        </customObject>
+        <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
+        <customObject id="-3" userLabel="Application"/>
+        <window title="Authentication" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" releasedWhenClosed="NO" visibleAtLaunch="NO" animationBehavior="default" id="248" userLabel="Authentication" customClass="NSPanel">
+            <windowStyleMask key="styleMask" titled="YES"/>
+            <windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
+            <rect key="contentRect" x="332" y="446" width="505" height="278"/>
+            <rect key="screenRect" x="0.0" y="0.0" width="1280" height="777"/>
+            <value key="minSize" type="size" width="213" height="107"/>
+            <view key="contentView" id="249">
+                <rect key="frame" x="0.0" y="0.0" width="505" height="278"/>
+                <autoresizingMask key="autoresizingMask"/>
+                <subviews>
+                    <textField verticalHuggingPriority="750" id="256">
+                        <rect key="frame" x="94" y="241" width="316" height="17"/>
+                        <autoresizingMask key="autoresizingMask"/>
+                        <textFieldCell key="cell" selectable="YES" sendsActionOnEndEditing="YES" title="System Font Text" id="323">
+                            <font key="font" metaFont="systemBold"/>
+                            <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
+                            <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
+                        </textFieldCell>
+                    </textField>
+                    <textField verticalHuggingPriority="750" id="257">
+                        <rect key="frame" x="94" y="189" width="394" height="44"/>
+                        <autoresizingMask key="autoresizingMask"/>
+                        <textFieldCell key="cell" selectable="YES" sendsActionOnEndEditing="YES" id="324">
+                            <font key="font" metaFont="smallSystem"/>
+                            <string key="title">Small System Font Text Small System Font Text Small System Font Text Small System Font Text Small System Font Text Small System Font Text Small System Text System Font Text Small System</string>
+                            <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
+                            <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
+                        </textFieldCell>
+                    </textField>
+                    <textField verticalHuggingPriority="750" id="250">
+                        <rect key="frame" x="97" y="126" width="310" height="22"/>
+                        <autoresizingMask key="autoresizingMask"/>
+                        <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" drawsBackground="YES" id="317">
+                            <font key="font" metaFont="system"/>
+                            <color key="textColor" name="textColor" catalog="System" colorSpace="catalog"/>
+                            <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
+                        </textFieldCell>
+                    </textField>
+                    <textField verticalHuggingPriority="750" id="255">
+                        <rect key="frame" x="94" y="156" width="129" height="14"/>
+                        <autoresizingMask key="autoresizingMask"/>
+                        <textFieldCell key="cell" sendsActionOnEndEditing="YES" title="User name" id="322">
+                            <font key="font" metaFont="smallSystem"/>
+                            <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
+                            <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
+                        </textFieldCell>
+                    </textField>
+                    <textField verticalHuggingPriority="750" id="253" customClass="NSSecureTextField">
+                        <rect key="frame" x="97" y="72" width="310" height="22"/>
+                        <autoresizingMask key="autoresizingMask"/>
+                        <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" drawsBackground="YES" id="320">
+                            <font key="font" metaFont="system"/>
+                            <color key="textColor" name="textColor" catalog="System" colorSpace="catalog"/>
+                            <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
+                        </textFieldCell>
+                    </textField>
+                    <textField verticalHuggingPriority="750" id="251">
+                        <rect key="frame" x="94" y="102" width="129" height="14"/>
+                        <autoresizingMask key="autoresizingMask"/>
+                        <textFieldCell key="cell" controlSize="small" sendsActionOnEndEditing="YES" title="Password" id="318">
+                            <font key="font" metaFont="smallSystem"/>
+                            <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
+                            <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
+                        </textFieldCell>
+                    </textField>
+                    <button verticalHuggingPriority="750" id="252">
+                        <rect key="frame" x="383" y="12" width="108" height="32"/>
+                        <autoresizingMask key="autoresizingMask"/>
+                        <buttonCell key="cell" type="push" title="OK" bezelStyle="rounded" alignment="center" borderStyle="border" inset="2" id="319">
+                            <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
+                            <font key="font" metaFont="system"/>
+                            <string key="keyEquivalent" base64-UTF8="YES">
+DQ
+</string>
+                        </buttonCell>
+                        <connections>
+                            <action selector="authenticationDialogAction:" target="-2" id="RRa-6Q-1e8"/>
+                        </connections>
+                    </button>
+                    <button verticalHuggingPriority="750" id="254">
+                        <rect key="frame" x="275" y="12" width="108" height="32"/>
+                        <autoresizingMask key="autoresizingMask"/>
+                        <buttonCell key="cell" type="push" title="Cancel" bezelStyle="rounded" alignment="center" borderStyle="border" inset="2" id="321">
+                            <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
+                            <font key="font" metaFont="system"/>
+                            <string key="keyEquivalent" base64-UTF8="YES">
+Gw
+</string>
+                        </buttonCell>
+                        <connections>
+                            <action selector="authenticationDialogAction:" target="-2" id="ux1-Do-HYY"/>
+                        </connections>
+                    </button>
+                    <imageView id="314">
+                        <rect key="frame" x="20" y="194" width="64" height="64"/>
+                        <autoresizingMask key="autoresizingMask"/>
+                        <imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageAlignment="topLeft" imageScaling="proportionallyDown" image="NSApplicationIcon" id="325"/>
+                    </imageView>
+                </subviews>
+            </view>
+        </window>
+        <window title="Progress" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" releasedWhenClosed="NO" visibleAtLaunch="NO" animationBehavior="default" id="301" userLabel="Progress">
+            <windowStyleMask key="styleMask" titled="YES"/>
+            <windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
+            <rect key="contentRect" x="319" y="460" width="520" height="182"/>
+            <rect key="screenRect" x="0.0" y="0.0" width="1280" height="777"/>
+            <value key="minSize" type="size" width="213" height="107"/>
+            <view key="contentView" id="302">
+                <rect key="frame" x="0.0" y="0.0" width="520" height="182"/>
+                <autoresizingMask key="autoresizingMask"/>
+                <subviews>
+                    <textField verticalHuggingPriority="750" id="304">
+                        <rect key="frame" x="89" y="145" width="414" height="17"/>
+                        <autoresizingMask key="autoresizingMask"/>
+                        <textFieldCell key="cell" sendsActionOnEndEditing="YES" title="System Font Text" id="326">
+                            <font key="font" metaFont="systemBold"/>
+                            <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
+                            <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
+                        </textFieldCell>
+                    </textField>
+                    <textField verticalHuggingPriority="750" id="305">
+                        <rect key="frame" x="89" y="95" width="414" height="42"/>
+                        <autoresizingMask key="autoresizingMask"/>
+                        <textFieldCell key="cell" sendsActionOnEndEditing="YES" id="327">
+                            <font key="font" metaFont="smallSystem"/>
+                            <string key="title">Small System Font Text Small System Font Text Small System Font Text Small System Font Text Small System Font Text Small System Font Text Small System Text System Font Text Small System Font</string>
+                            <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
+                            <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
+                        </textFieldCell>
+                    </textField>
+                    <progressIndicator verticalHuggingPriority="750" maxValue="1000" bezeled="NO" style="bar" id="307">
+                        <rect key="frame" x="90" y="56" width="412" height="20"/>
+                        <autoresizingMask key="autoresizingMask"/>
+                    </progressIndicator>
+                    <button verticalHuggingPriority="750" id="306">
+                        <rect key="frame" x="398" y="12" width="108" height="32"/>
+                        <autoresizingMask key="autoresizingMask"/>
+                        <buttonCell key="cell" type="push" title="Cancel" bezelStyle="rounded" alignment="center" borderStyle="border" inset="2" id="328">
+                            <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
+                            <font key="font" metaFont="system"/>
+                            <string key="keyEquivalent" base64-UTF8="YES">
+Gw
+</string>
+                        </buttonCell>
+                        <connections>
+                            <action selector="progressDialogAction:" target="-2" id="KpC-df-1TM"/>
+                        </connections>
+                    </button>
+                    <imageView id="315">
+                        <rect key="frame" x="20" y="98" width="64" height="64"/>
+                        <autoresizingMask key="autoresizingMask"/>
+                        <imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageAlignment="topLeft" imageScaling="proportionallyDown" image="NSApplicationIcon" id="329"/>
+                    </imageView>
+                </subviews>
+            </view>
+        </window>
+    </objects>
+    <resources>
+        <image name="NSApplicationIcon" width="128" height="128"/>
+    </resources>
+</document>
diff --git a/extras/package/macosx/Resources/English.lproj/ErrorPanel.xib b/extras/package/macosx/Resources/English.lproj/ErrorPanel.xib
deleted file mode 100644 (file)
index bb1d7b8..0000000
+++ /dev/null
@@ -1,718 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="8.00">
-       <data>
-               <int key="IBDocument.SystemTarget">1060</int>
-               <string key="IBDocument.SystemVersion">14D136</string>
-               <string key="IBDocument.InterfaceBuilderVersion">7702</string>
-               <string key="IBDocument.AppKitVersion">1347.57</string>
-               <string key="IBDocument.HIToolboxVersion">758.70</string>
-               <object class="NSMutableDictionary" key="IBDocument.PluginVersions">
-                       <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaPlugin</string>
-                       <string key="NS.object.0">7702</string>
-               </object>
-               <array key="IBDocument.IntegratedClassDependencies">
-                       <string>NSButton</string>
-                       <string>NSButtonCell</string>
-                       <string>NSCustomObject</string>
-                       <string>NSImageCell</string>
-                       <string>NSScrollView</string>
-                       <string>NSScroller</string>
-                       <string>NSTableColumn</string>
-                       <string>NSTableView</string>
-                       <string>NSTextFieldCell</string>
-                       <string>NSView</string>
-                       <string>NSWindowTemplate</string>
-               </array>
-               <array key="IBDocument.PluginDependencies">
-                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
-               </array>
-               <object class="NSMutableDictionary" key="IBDocument.Metadata">
-                       <string key="NS.key.0">PluginDependencyRecalculationVersion</string>
-                       <integer value="1" key="NS.object.0"/>
-               </object>
-               <array class="NSMutableArray" key="IBDocument.RootObjects" id="638050510">
-                       <object class="NSCustomObject" id="923016430">
-                               <string key="NSClassName">ErrorWindowController</string>
-                       </object>
-                       <object class="NSCustomObject" id="159526500">
-                               <string key="NSClassName">FirstResponder</string>
-                       </object>
-                       <object class="NSCustomObject" id="604394034">
-                               <string key="NSClassName">NSApplication</string>
-                       </object>
-                       <object class="NSWindowTemplate" id="883469087">
-                               <int key="NSWindowStyleMask">31</int>
-                               <int key="NSWindowBacking">2</int>
-                               <string key="NSWindowRect">{{304, 373}, {397, 209}}</string>
-                               <int key="NSWTFlags">-260571136</int>
-                               <string key="NSWindowTitle">Errors and Warnings</string>
-                               <object class="NSMutableString" key="NSWindowClass">
-                                       <characters key="NS.bytes">NSPanel</characters>
-                               </object>
-                               <object class="NSMutableString" key="NSViewClass">
-                                       <characters key="NS.bytes">View</characters>
-                               </object>
-                               <nil key="NSUserInterfaceItemIdentifier"/>
-                               <string key="NSWindowContentMinSize">{260, 120}</string>
-                               <object class="NSView" key="NSWindowView" id="927381863">
-                                       <reference key="NSNextResponder"/>
-                                       <int key="NSvFlags">256</int>
-                                       <array class="NSMutableArray" key="NSSubviews">
-                                               <object class="NSScrollView" id="921986171">
-                                                       <reference key="NSNextResponder" ref="927381863"/>
-                                                       <int key="NSvFlags">274</int>
-                                                       <array class="NSMutableArray" key="NSSubviews">
-                                                               <object class="NSClipView" id="502587650">
-                                                                       <reference key="NSNextResponder" ref="921986171"/>
-                                                                       <int key="NSvFlags">2322</int>
-                                                                       <array class="NSMutableArray" key="NSSubviews">
-                                                                               <object class="NSTableView" id="523335037">
-                                                                                       <reference key="NSNextResponder" ref="502587650"/>
-                                                                                       <int key="NSvFlags">256</int>
-                                                                                       <string key="NSFrameSize">{396, 168}</string>
-                                                                                       <reference key="NSSuperview" ref="502587650"/>
-                                                                                       <reference key="NSWindow"/>
-                                                                                       <reference key="NSNextKeyView" ref="106880244"/>
-                                                                                       <bool key="NSEnabled">YES</bool>
-                                                                                       <bool key="NSAllowsLogicalLayoutDirection">NO</bool>
-                                                                                       <bool key="NSControlAllowsExpansionToolTips">YES</bool>
-                                                                                       <object class="_NSCornerView" key="NSCornerView">
-                                                                                               <nil key="NSNextResponder"/>
-                                                                                               <int key="NSvFlags">-2147483392</int>
-                                                                                               <string key="NSFrame">{{-26, 0}, {16, 17}}</string>
-                                                                                       </object>
-                                                                                       <array class="NSMutableArray" key="NSTableColumns">
-                                                                                               <object class="NSTableColumn" id="903607660">
-                                                                                                       <string key="NSIdentifier">icon</string>
-                                                                                                       <double key="NSWidth">45</double>
-                                                                                                       <double key="NSMinWidth">32</double>
-                                                                                                       <double key="NSMaxWidth">1000</double>
-                                                                                                       <object class="NSTableHeaderCell" key="NSHeaderCell">
-                                                                                                               <int key="NSCellFlags">75497536</int>
-                                                                                                               <int key="NSCellFlags2">134219776</int>
-                                                                                                               <string key="NSContents">icons</string>
-                                                                                                               <object class="NSFont" key="NSSupport" id="26">
-                                                                                                                       <bool key="IBIsSystemFont">YES</bool>
-                                                                                                                       <double key="NSSize">11</double>
-                                                                                                                       <int key="NSfFlags">3100</int>
-                                                                                                               </object>
-                                                                                                               <object class="NSColor" key="NSBackgroundColor" id="88476785">
-                                                                                                                       <int key="NSColorSpace">3</int>
-                                                                                                                       <bytes key="NSWhite">MC4zMzMzMzI5OQA</bytes>
-                                                                                                               </object>
-                                                                                                               <object class="NSColor" key="NSTextColor" id="327673337">
-                                                                                                                       <int key="NSColorSpace">6</int>
-                                                                                                                       <string key="NSCatalogName">System</string>
-                                                                                                                       <string key="NSColorName">headerTextColor</string>
-                                                                                                                       <object class="NSColor" key="NSColor" id="440089055">
-                                                                                                                               <int key="NSColorSpace">3</int>
-                                                                                                                               <bytes key="NSWhite">MAA</bytes>
-                                                                                                                       </object>
-                                                                                                               </object>
-                                                                                                       </object>
-                                                                                                       <object class="NSImageCell" key="NSDataCell" id="300340057">
-                                                                                                               <int key="NSCellFlags">134217728</int>
-                                                                                                               <int key="NSCellFlags2">33554432</int>
-                                                                                                               <int key="NSAlign">0</int>
-                                                                                                               <int key="NSScale">0</int>
-                                                                                                               <int key="NSStyle">0</int>
-                                                                                                               <bool key="NSAnimates">YES</bool>
-                                                                                                       </object>
-                                                                                                       <int key="NSResizingMask">3</int>
-                                                                                                       <bool key="NSIsResizeable">YES</bool>
-                                                                                                       <reference key="NSTableView" ref="523335037"/>
-                                                                                               </object>
-                                                                                               <object class="NSTableColumn" id="532063799">
-                                                                                                       <string key="NSIdentifier">error_msg</string>
-                                                                                                       <double key="NSWidth">344.99560000000002</double>
-                                                                                                       <double key="NSMinWidth">39.995609999999999</double>
-                                                                                                       <double key="NSMaxWidth">1000</double>
-                                                                                                       <object class="NSTableHeaderCell" key="NSHeaderCell">
-                                                                                                               <int key="NSCellFlags">75497536</int>
-                                                                                                               <int key="NSCellFlags2">2048</int>
-                                                                                                               <string key="NSContents">errors</string>
-                                                                                                               <reference key="NSSupport" ref="26"/>
-                                                                                                               <reference key="NSBackgroundColor" ref="88476785"/>
-                                                                                                               <reference key="NSTextColor" ref="327673337"/>
-                                                                                                       </object>
-                                                                                                       <object class="NSTextFieldCell" key="NSDataCell" id="761678192">
-                                                                                                               <int key="NSCellFlags">337641472</int>
-                                                                                                               <int key="NSCellFlags2">0</int>
-                                                                                                               <reference key="NSSupport" ref="26"/>
-                                                                                                               <reference key="NSControlView" ref="523335037"/>
-                                                                                                               <object class="NSColor" key="NSBackgroundColor">
-                                                                                                                       <int key="NSColorSpace">6</int>
-                                                                                                                       <string key="NSCatalogName">System</string>
-                                                                                                                       <string key="NSColorName">textBackgroundColor</string>
-                                                                                                                       <object class="NSColor" key="NSColor">
-                                                                                                                               <int key="NSColorSpace">3</int>
-                                                                                                                               <bytes key="NSWhite">MQA</bytes>
-                                                                                                                       </object>
-                                                                                                               </object>
-                                                                                                               <object class="NSColor" key="NSTextColor">
-                                                                                                                       <int key="NSColorSpace">6</int>
-                                                                                                                       <string key="NSCatalogName">System</string>
-                                                                                                                       <string key="NSColorName">controlTextColor</string>
-                                                                                                                       <reference key="NSColor" ref="440089055"/>
-                                                                                                               </object>
-                                                                                                       </object>
-                                                                                                       <int key="NSResizingMask">3</int>
-                                                                                                       <bool key="NSIsResizeable">YES</bool>
-                                                                                                       <bool key="NSIsEditable">YES</bool>
-                                                                                                       <reference key="NSTableView" ref="523335037"/>
-                                                                                               </object>
-                                                                                       </array>
-                                                                                       <double key="NSIntercellSpacingWidth">3</double>
-                                                                                       <double key="NSIntercellSpacingHeight">2</double>
-                                                                                       <object class="NSColor" key="NSBackgroundColor" id="50310571">
-                                                                                               <int key="NSColorSpace">6</int>
-                                                                                               <string key="NSCatalogName">System</string>
-                                                                                               <string key="NSColorName">controlBackgroundColor</string>
-                                                                                               <object class="NSColor" key="NSColor">
-                                                                                                       <int key="NSColorSpace">3</int>
-                                                                                                       <bytes key="NSWhite">MC42NjY2NjY2NjY3AA</bytes>
-                                                                                               </object>
-                                                                                       </object>
-                                                                                       <object class="NSColor" key="NSGridColor">
-                                                                                               <int key="NSColorSpace">6</int>
-                                                                                               <string key="NSCatalogName">System</string>
-                                                                                               <string key="NSColorName">gridColor</string>
-                                                                                               <object class="NSColor" key="NSColor">
-                                                                                                       <int key="NSColorSpace">3</int>
-                                                                                                       <bytes key="NSWhite">MC41AA</bytes>
-                                                                                               </object>
-                                                                                       </object>
-                                                                                       <double key="NSRowHeight">45</double>
-                                                                                       <int key="NSTvFlags">1388314624</int>
-                                                                                       <reference key="NSDelegate"/>
-                                                                                       <reference key="NSDataSource"/>
-                                                                                       <int key="NSColumnAutoresizingStyle">4</int>
-                                                                                       <int key="NSDraggingSourceMaskForLocal">15</int>
-                                                                                       <int key="NSDraggingSourceMaskForNonLocal">0</int>
-                                                                                       <bool key="NSAllowsTypeSelect">YES</bool>
-                                                                                       <int key="NSTableViewDraggingDestinationStyle">0</int>
-                                                                                       <int key="NSTableViewGroupRowStyle">1</int>
-                                                                               </object>
-                                                                       </array>
-                                                                       <string key="NSFrame">{{1, 1}, {396, 168}}</string>
-                                                                       <reference key="NSSuperview" ref="921986171"/>
-                                                                       <reference key="NSWindow"/>
-                                                                       <reference key="NSNextKeyView" ref="523335037"/>
-                                                                       <reference key="NSDocView" ref="523335037"/>
-                                                                       <reference key="NSBGColor" ref="50310571"/>
-                                                                       <int key="NScvFlags">4</int>
-                                                                       <bool key="NSAutomaticallyAdjustsContentInsets">YES</bool>
-                                                               </object>
-                                                               <object class="NSScroller" id="671740945">
-                                                                       <reference key="NSNextResponder" ref="921986171"/>
-                                                                       <int key="NSvFlags">-2147483392</int>
-                                                                       <string key="NSFrame">{{-30, 1}, {15, 168}}</string>
-                                                                       <reference key="NSSuperview" ref="921986171"/>
-                                                                       <reference key="NSWindow"/>
-                                                                       <reference key="NSNextKeyView" ref="502587650"/>
-                                                                       <bool key="NSAllowsLogicalLayoutDirection">NO</bool>
-                                                                       <string key="NSControlAction">_doScroller:</string>
-                                                                       <reference key="NSControlTarget" ref="921986171"/>
-                                                                       <reference key="NSTarget" ref="921986171"/>
-                                                                       <string key="NSAction">_doScroller:</string>
-                                                                       <double key="NSPercent">0.35744680000000001</double>
-                                                               </object>
-                                                               <object class="NSScroller" id="584787219">
-                                                                       <reference key="NSNextResponder" ref="921986171"/>
-                                                                       <int key="NSvFlags">-2147483392</int>
-                                                                       <string key="NSFrame">{{1, -30}, {381, 15}}</string>
-                                                                       <reference key="NSSuperview" ref="921986171"/>
-                                                                       <reference key="NSWindow"/>
-                                                                       <reference key="NSNextKeyView" ref="671740945"/>
-                                                                       <bool key="NSAllowsLogicalLayoutDirection">NO</bool>
-                                                                       <string key="NSControlAction">_doScroller:</string>
-                                                                       <reference key="NSControlTarget" ref="921986171"/>
-                                                                       <int key="NSsFlags">1</int>
-                                                                       <reference key="NSTarget" ref="921986171"/>
-                                                                       <string key="NSAction">_doScroller:</string>
-                                                                       <double key="NSPercent">0.96212120000000001</double>
-                                                               </object>
-                                                       </array>
-                                                       <string key="NSFrame">{{0, 39}, {398, 170}}</string>
-                                                       <reference key="NSSuperview" ref="927381863"/>
-                                                       <reference key="NSWindow"/>
-                                                       <reference key="NSNextKeyView" ref="584787219"/>
-                                                       <int key="NSsFlags">133682</int>
-                                                       <reference key="NSVScroller" ref="671740945"/>
-                                                       <reference key="NSHScroller" ref="584787219"/>
-                                                       <reference key="NSContentView" ref="502587650"/>
-                                                       <bytes key="NSScrollAmts">QSAAAEEgAABCPAAAQjwAAA</bytes>
-                                                       <double key="NSMinMagnification">0.25</double>
-                                                       <double key="NSMaxMagnification">4</double>
-                                                       <double key="NSMagnification">1</double>
-                                               </object>
-                                               <object class="NSButton" id="106880244">
-                                                       <reference key="NSNextResponder" ref="927381863"/>
-                                                       <int key="NSvFlags">292</int>
-                                                       <string key="NSFrame">{{15, 7}, {94, 28}}</string>
-                                                       <reference key="NSSuperview" ref="927381863"/>
-                                                       <reference key="NSWindow"/>
-                                                       <reference key="NSNextKeyView"/>
-                                                       <bool key="NSEnabled">YES</bool>
-                                                       <object class="NSButtonCell" key="NSCell" id="488199561">
-                                                               <int key="NSCellFlags">67108864</int>
-                                                               <int key="NSCellFlags2">134348800</int>
-                                                               <string key="NSContents">Clean up</string>
-                                                               <reference key="NSSupport" ref="26"/>
-                                                               <reference key="NSControlView" ref="106880244"/>
-                                                               <int key="NSButtonFlags">-2038284288</int>
-                                                               <int key="NSButtonFlags2">1</int>
-                                                               <reference key="NSAlternateImage" ref="26"/>
-                                                               <string key="NSAlternateContents"/>
-                                                               <object class="NSMutableString" key="NSKeyEquivalent">
-                                                                       <characters key="NS.bytes"/>
-                                                               </object>
-                                                               <int key="NSPeriodicDelay">200</int>
-                                                               <int key="NSPeriodicInterval">25</int>
-                                                       </object>
-                                                       <bool key="NSAllowsLogicalLayoutDirection">NO</bool>
-                                               </object>
-                                       </array>
-                                       <string key="NSFrameSize">{397, 209}</string>
-                                       <reference key="NSSuperview"/>
-                                       <reference key="NSWindow"/>
-                                       <reference key="NSNextKeyView" ref="921986171"/>
-                               </object>
-                               <string key="NSScreenRect">{{0, 0}, {1680, 1027}}</string>
-                               <string key="NSMinSize">{213, 129}</string>
-                               <string key="NSMaxSize">{10000000000000, 10000000000000}</string>
-                               <string key="NSFrameAutosaveName">ErrorsAndWarnings</string>
-                               <bool key="NSWindowIsRestorable">YES</bool>
-                       </object>
-               </array>
-               <object class="IBObjectContainer" key="IBDocument.Objects">
-                       <array key="connectionRecords">
-                               <object class="IBConnectionRecord">
-                                       <object class="IBOutletConnection" key="connection">
-                                               <string key="label">o_error_table</string>
-                                               <reference key="source" ref="923016430"/>
-                                               <reference key="destination" ref="523335037"/>
-                                       </object>
-                                       <int key="connectionID">12</int>
-                               </object>
-                               <object class="IBConnectionRecord">
-                                       <object class="IBOutletConnection" key="connection">
-                                               <string key="label">o_cleanup_button</string>
-                                               <reference key="source" ref="923016430"/>
-                                               <reference key="destination" ref="106880244"/>
-                                       </object>
-                                       <int key="connectionID">13</int>
-                               </object>
-                               <object class="IBConnectionRecord">
-                                       <object class="IBActionConnection" key="connection">
-                                               <string key="label">cleanupTable:</string>
-                                               <reference key="source" ref="923016430"/>
-                                               <reference key="destination" ref="106880244"/>
-                                       </object>
-                                       <int key="connectionID">15</int>
-                               </object>
-                               <object class="IBConnectionRecord">
-                                       <object class="IBOutletConnection" key="connection">
-                                               <string key="label">window</string>
-                                               <reference key="source" ref="923016430"/>
-                                               <reference key="destination" ref="883469087"/>
-                                       </object>
-                                       <int key="connectionID">75</int>
-                               </object>
-                               <object class="IBConnectionRecord">
-                                       <object class="IBOutletConnection" key="connection">
-                                               <string key="label">dataSource</string>
-                                               <reference key="source" ref="523335037"/>
-                                               <reference key="destination" ref="923016430"/>
-                                       </object>
-                                       <int key="connectionID">16</int>
-                               </object>
-                               <object class="IBConnectionRecord">
-                                       <object class="IBOutletConnection" key="connection">
-                                               <string key="label">delegate</string>
-                                               <reference key="source" ref="523335037"/>
-                                               <reference key="destination" ref="923016430"/>
-                                       </object>
-                                       <int key="connectionID">17</int>
-                               </object>
-                       </array>
-                       <object class="IBMutableOrderedSet" key="objectRecords">
-                               <array key="orderedObjects">
-                                       <object class="IBObjectRecord">
-                                               <int key="objectID">0</int>
-                                               <array key="object" id="0"/>
-                                               <reference key="children" ref="638050510"/>
-                                               <nil key="parent"/>
-                                       </object>
-                                       <object class="IBObjectRecord">
-                                               <int key="objectID">-2</int>
-                                               <reference key="object" ref="923016430"/>
-                                               <reference key="parent" ref="0"/>
-                                               <string key="objectName">File's Owner</string>
-                                       </object>
-                                       <object class="IBObjectRecord">
-                                               <int key="objectID">-1</int>
-                                               <reference key="object" ref="159526500"/>
-                                               <reference key="parent" ref="0"/>
-                                               <string key="objectName">First Responder</string>
-                                       </object>
-                                       <object class="IBObjectRecord">
-                                               <int key="objectID">-3</int>
-                                               <reference key="object" ref="604394034"/>
-                                               <reference key="parent" ref="0"/>
-                                               <string key="objectName">Application</string>
-                                       </object>
-                                       <object class="IBObjectRecord">
-                                               <int key="objectID">5</int>
-                                               <reference key="object" ref="883469087"/>
-                                               <array class="NSMutableArray" key="children">
-                                                       <reference ref="927381863"/>
-                                               </array>
-                                               <reference key="parent" ref="0"/>
-                                               <string key="objectName">Non-Blocking errors</string>
-                                       </object>
-                                       <object class="IBObjectRecord">
-                                               <int key="objectID">6</int>
-                                               <reference key="object" ref="927381863"/>
-                                               <array class="NSMutableArray" key="children">
-                                                       <reference ref="921986171"/>
-                                                       <reference ref="106880244"/>
-                                               </array>
-                                               <reference key="parent" ref="883469087"/>
-                                       </object>
-                                       <object class="IBObjectRecord">
-                                               <int key="objectID">7</int>
-                                               <reference key="object" ref="921986171"/>
-                                               <array class="NSMutableArray" key="children">
-                                                       <reference ref="523335037"/>
-                                                       <reference ref="671740945"/>
-                                                       <reference ref="584787219"/>
-                                               </array>
-                                               <reference key="parent" ref="927381863"/>
-                                       </object>
-                                       <object class="IBObjectRecord">
-                                               <int key="objectID">8</int>
-                                               <reference key="object" ref="523335037"/>
-                                               <array class="NSMutableArray" key="children">
-                                                       <reference ref="903607660"/>
-                                                       <reference ref="532063799"/>
-                                               </array>
-                                               <reference key="parent" ref="921986171"/>
-                                       </object>
-                                       <object class="IBObjectRecord">
-                                               <int key="objectID">9</int>
-                                               <reference key="object" ref="903607660"/>
-                                               <array class="NSMutableArray" key="children">
-                                                       <reference ref="300340057"/>
-                                               </array>
-                                               <reference key="parent" ref="523335037"/>
-                                       </object>
-                                       <object class="IBObjectRecord">
-                                               <int key="objectID">18</int>
-                                               <reference key="object" ref="300340057"/>
-                                               <reference key="parent" ref="903607660"/>
-                                       </object>
-                                       <object class="IBObjectRecord">
-                                               <int key="objectID">10</int>
-                                               <reference key="object" ref="532063799"/>
-                                               <array class="NSMutableArray" key="children">
-                                                       <reference ref="761678192"/>
-                                               </array>
-                                               <reference key="parent" ref="523335037"/>
-                                       </object>
-                                       <object class="IBObjectRecord">
-                                               <int key="objectID">23</int>
-                                               <reference key="object" ref="761678192"/>
-                                               <reference key="parent" ref="532063799"/>
-                                       </object>
-                                       <object class="IBObjectRecord">
-                                               <int key="objectID">11</int>
-                                               <reference key="object" ref="106880244"/>
-                                               <array class="NSMutableArray" key="children">
-                                                       <reference ref="488199561"/>
-                                               </array>
-                                               <reference key="parent" ref="927381863"/>
-                                       </object>
-                                       <object class="IBObjectRecord">
-                                               <int key="objectID">71</int>
-                                               <reference key="object" ref="488199561"/>
-                                               <reference key="parent" ref="106880244"/>
-                                       </object>
-                                       <object class="IBObjectRecord">
-                                               <int key="objectID">73</int>
-                                               <reference key="object" ref="671740945"/>
-                                               <reference key="parent" ref="921986171"/>
-                                       </object>
-                                       <object class="IBObjectRecord">
-                                               <int key="objectID">74</int>
-                                               <reference key="object" ref="584787219"/>
-                                               <reference key="parent" ref="921986171"/>
-                                       </object>
-                               </array>
-                       </object>
-                       <dictionary class="NSMutableDictionary" key="flattenedProperties">
-                               <string key="-1.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
-                               <string key="-2.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
-                               <string key="-3.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
-                               <string key="10.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
-                               <string key="11.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
-                               <string key="18.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
-                               <string key="23.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
-                               <string key="5.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
-                               <string key="5.IBWindowTemplateEditedContentRect">{{96, 455}, {397, 209}}</string>
-                               <string key="6.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
-                               <string key="7.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
-                               <string key="71.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
-                               <string key="73.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
-                               <boolean value="YES" key="73.IBShouldRemoveOnLegacySave"/>
-                               <string key="74.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
-                               <boolean value="YES" key="74.IBShouldRemoveOnLegacySave"/>
-                               <string key="8.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
-                               <string key="9.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
-                       </dictionary>
-                       <dictionary class="NSMutableDictionary" key="unlocalizedProperties"/>
-                       <nil key="activeLocalization"/>
-                       <dictionary class="NSMutableDictionary" key="localizations"/>
-                       <nil key="sourceID"/>
-                       <int key="maxID">75</int>
-               </object>
-               <object class="IBClassDescriber" key="IBDocument.Classes">
-                       <array class="NSMutableArray" key="referencedPartialClassDescriptions">
-                               <object class="IBPartialClassDescription">
-                                       <string key="className">ErrorWindowController</string>
-                                       <string key="superclassName">NSWindowController</string>
-                                       <object class="NSMutableDictionary" key="actions">
-                                               <string key="NS.key.0">cleanupTable:</string>
-                                               <string key="NS.object.0">id</string>
-                                       </object>
-                                       <object class="NSMutableDictionary" key="actionInfosByName">
-                                               <string key="NS.key.0">cleanupTable:</string>
-                                               <object class="IBActionInfo" key="NS.object.0">
-                                                       <string key="name">cleanupTable:</string>
-                                                       <string key="candidateClassName">id</string>
-                                               </object>
-                                       </object>
-                                       <dictionary class="NSMutableDictionary" key="outlets">
-                                               <string key="o_cleanup_button">id</string>
-                                               <string key="o_error_table">id</string>
-                                               <string key="o_window">id</string>
-                                       </dictionary>
-                                       <dictionary class="NSMutableDictionary" key="toOneOutletInfosByName">
-                                               <object class="IBToOneOutletInfo" key="o_cleanup_button">
-                                                       <string key="name">o_cleanup_button</string>
-                                                       <string key="candidateClassName">id</string>
-                                               </object>
-                                               <object class="IBToOneOutletInfo" key="o_error_table">
-                                                       <string key="name">o_error_table</string>
-                                                       <string key="candidateClassName">id</string>
-                                               </object>
-                                               <object class="IBToOneOutletInfo" key="o_window">
-                                                       <string key="name">o_window</string>
-                                                       <string key="candidateClassName">id</string>
-                                               </object>
-                                       </dictionary>
-                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
-                                               <string key="majorKey">IBProjectSource</string>
-                                               <string key="minorKey">../../../../modules/gui/macosx/coredialogs.h</string>
-                                       </object>
-                               </object>
-                               <object class="IBPartialClassDescription">
-                                       <string key="className">ErrorWindowController</string>
-                                       <object class="NSMutableDictionary" key="actions">
-                                               <string key="NS.key.0">cleanupTable:</string>
-                                               <string key="NS.object.0">id</string>
-                                       </object>
-                                       <object class="NSMutableDictionary" key="actionInfosByName">
-                                               <string key="NS.key.0">cleanupTable:</string>
-                                               <object class="IBActionInfo" key="NS.object.0">
-                                                       <string key="name">cleanupTable:</string>
-                                                       <string key="candidateClassName">id</string>
-                                               </object>
-                                       </object>
-                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
-                                               <string key="majorKey">IBProjectSource</string>
-                                               <string key="minorKey">../../../../modules/gui/macosx/coredialogs.m</string>
-                                       </object>
-                               </object>
-                       </array>
-                       <array class="NSMutableArray" key="referencedPartialClassDescriptionsV3.2+">
-                               <object class="IBPartialClassDescription">
-                                       <string key="className">NSActionCell</string>
-                                       <string key="superclassName">NSCell</string>
-                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
-                                               <string key="majorKey">IBFrameworkSource</string>
-                                               <string key="minorKey">AppKit.framework/Headers/NSActionCell.h</string>
-                                       </object>
-                               </object>
-                               <object class="IBPartialClassDescription">
-                                       <string key="className">NSApplication</string>
-                                       <string key="superclassName">NSResponder</string>
-                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
-                                               <string key="majorKey">IBFrameworkSource</string>
-                                               <string key="minorKey">AppKit.framework/Headers/NSApplication.h</string>
-                                       </object>
-                               </object>
-                               <object class="IBPartialClassDescription">
-                                       <string key="className">NSButton</string>
-                                       <string key="superclassName">NSControl</string>
-                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
-                                               <string key="majorKey">IBFrameworkSource</string>
-                                               <string key="minorKey">AppKit.framework/Headers/NSButton.h</string>
-                                       </object>
-                               </object>
-                               <object class="IBPartialClassDescription">
-                                       <string key="className">NSButtonCell</string>
-                                       <string key="superclassName">NSActionCell</string>
-                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
-                                               <string key="majorKey">IBFrameworkSource</string>
-                                               <string key="minorKey">AppKit.framework/Headers/NSButtonCell.h</string>
-                                       </object>
-                               </object>
-                               <object class="IBPartialClassDescription">
-                                       <string key="className">NSCell</string>
-                                       <string key="superclassName">NSObject</string>
-                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
-                                               <string key="majorKey">IBFrameworkSource</string>
-                                               <string key="minorKey">AppKit.framework/Headers/NSCell.h</string>
-                                       </object>
-                               </object>
-                               <object class="IBPartialClassDescription">
-                                       <string key="className">NSControl</string>
-                                       <string key="superclassName">NSView</string>
-                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
-                                               <string key="majorKey">IBFrameworkSource</string>
-                                               <string key="minorKey">AppKit.framework/Headers/NSControl.h</string>
-                                       </object>
-                               </object>
-                               <object class="IBPartialClassDescription">
-                                       <string key="className">NSFormatter</string>
-                                       <string key="superclassName">NSObject</string>
-                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
-                                               <string key="majorKey">IBFrameworkSource</string>
-                                               <string key="minorKey">Foundation.framework/Headers/NSFormatter.h</string>
-                                       </object>
-                               </object>
-                               <object class="IBPartialClassDescription">
-                                       <string key="className">NSImageCell</string>
-                                       <string key="superclassName">NSCell</string>
-                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
-                                               <string key="majorKey">IBFrameworkSource</string>
-                                               <string key="minorKey">AppKit.framework/Headers/NSImageCell.h</string>
-                                       </object>
-                               </object>
-                               <object class="IBPartialClassDescription">
-                                       <string key="className">NSMenu</string>
-                                       <string key="superclassName">NSObject</string>
-                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
-                                               <string key="majorKey">IBFrameworkSource</string>
-                                               <string key="minorKey">AppKit.framework/Headers/NSMenu.h</string>
-                                       </object>
-                               </object>
-                               <object class="IBPartialClassDescription">
-                                       <string key="className">NSPanel</string>
-                                       <string key="superclassName">NSWindow</string>
-                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
-                                               <string key="majorKey">IBFrameworkSource</string>
-                                               <string key="minorKey">AppKit.framework/Headers/NSPanel.h</string>
-                                       </object>
-                               </object>
-                               <object class="IBPartialClassDescription">
-                                       <string key="className">NSResponder</string>
-                                       <string key="superclassName">NSObject</string>
-                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
-                                               <string key="majorKey">IBFrameworkSource</string>
-                                               <string key="minorKey">AppKit.framework/Headers/NSResponder.h</string>
-                                       </object>
-                               </object>
-                               <object class="IBPartialClassDescription">
-                                       <string key="className">NSScrollView</string>
-                                       <string key="superclassName">NSView</string>
-                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
-                                               <string key="majorKey">IBFrameworkSource</string>
-                                               <string key="minorKey">AppKit.framework/Headers/NSScrollView.h</string>
-                                       </object>
-                               </object>
-                               <object class="IBPartialClassDescription">
-                                       <string key="className">NSScroller</string>
-                                       <string key="superclassName">NSControl</string>
-                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
-                                               <string key="majorKey">IBFrameworkSource</string>
-                                               <string key="minorKey">AppKit.framework/Headers/NSScroller.h</string>
-                                       </object>
-                               </object>
-                               <object class="IBPartialClassDescription">
-                                       <string key="className">NSTableColumn</string>
-                                       <string key="superclassName">NSObject</string>
-                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
-                                               <string key="majorKey">IBFrameworkSource</string>
-                                               <string key="minorKey">AppKit.framework/Headers/NSTableColumn.h</string>
-                                       </object>
-                               </object>
-                               <object class="IBPartialClassDescription">
-                                       <string key="className">NSTableView</string>
-                                       <string key="superclassName">NSControl</string>
-                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
-                                               <string key="majorKey">IBFrameworkSource</string>
-                                               <string key="minorKey">AppKit.framework/Headers/NSTableView.h</string>
-                                       </object>
-                               </object>
-                               <object class="IBPartialClassDescription">
-                                       <string key="className">NSTextFieldCell</string>
-                                       <string key="superclassName">NSActionCell</string>
-                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
-                                               <string key="majorKey">IBFrameworkSource</string>
-                                               <string key="minorKey">AppKit.framework/Headers/NSTextFieldCell.h</string>
-                                       </object>
-                               </object>
-                               <object class="IBPartialClassDescription">
-                                       <string key="className">NSView</string>
-                                       <string key="superclassName">NSResponder</string>
-                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
-                                               <string key="majorKey">IBFrameworkSource</string>
-                                               <string key="minorKey">AppKit.framework/Headers/NSView.h</string>
-                                       </object>
-                               </object>
-                               <object class="IBPartialClassDescription">
-                                       <string key="className">NSWindow</string>
-                                       <string key="superclassName">NSResponder</string>
-                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
-                                               <string key="majorKey">IBFrameworkSource</string>
-                                               <string key="minorKey">AppKit.framework/Headers/NSWindow.h</string>
-                                       </object>
-                               </object>
-                               <object class="IBPartialClassDescription">
-                                       <string key="className">NSWindowController</string>
-                                       <string key="superclassName">NSResponder</string>
-                                       <object class="NSMutableDictionary" key="actions">
-                                               <string key="NS.key.0">showWindow:</string>
-                                               <string key="NS.object.0">id</string>
-                                       </object>
-                                       <object class="NSMutableDictionary" key="actionInfosByName">
-                                               <string key="NS.key.0">showWindow:</string>
-                                               <object class="IBActionInfo" key="NS.object.0">
-                                                       <string key="name">showWindow:</string>
-                                                       <string key="candidateClassName">id</string>
-                                               </object>
-                                       </object>
-                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
-                                               <string key="majorKey">IBFrameworkSource</string>
-                                               <string key="minorKey">AppKit.framework/Headers/NSWindowController.h</string>
-                                       </object>
-                               </object>
-                       </array>
-               </object>
-               <int key="IBDocument.localizationMode">0</int>
-               <string key="IBDocument.TargetRuntimeIdentifier">IBCocoaFramework</string>
-               <bool key="IBDocument.previouslyAttemptedUpgradeToXcode5">NO</bool>
-               <object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDependencies">
-                       <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaPlugin.macosx</string>
-                       <integer value="1060" key="NS.object.0"/>
-               </object>
-               <object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDevelopmentDependencies">
-                       <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3</string>
-                       <integer value="4600" key="NS.object.0"/>
-               </object>
-               <bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
-               <int key="IBDocument.defaultPropertyAccessControl">3</int>
-       </data>
-</archive>
index 03770a6..27b56ad 100644 (file)
@@ -1,9 +1,9 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="9531" systemVersion="15C50" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none">
+<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="10102" systemVersion="15D21" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none">
     <dependencies>
         <deployment version="1070" identifier="macosx"/>
         <development version="5100" identifier="xcode"/>
-        <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="9531"/>
+        <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="10102"/>
     </dependencies>
     <objects>
         <customObject id="-2" userLabel="File's Owner" customClass="VLCMainMenu">
@@ -50,7 +50,6 @@
                 <outlet property="donation" destination="2298" id="ZzJ-yC-jOi"/>
                 <outlet property="double_window" destination="1171" id="DIg-sW-WS6"/>
                 <outlet property="editMenu" destination="205" id="6Mt-eK-QAx"/>
-                <outlet property="errorsAndWarnings" destination="2756" id="omK-pm-N3C"/>
                 <outlet property="extensions" destination="4942" id="qSU-2W-Chy"/>
                 <outlet property="extensionsMenu" destination="4943" id="IAw-5Z-Wvo"/>
                 <outlet property="fileMenu" destination="81" id="lbA-s5-6qj"/>
                             <menuItem isSeparatorItem="YES" id="2394">
                                 <modifierMask key="keyEquivalentModifierMask" command="YES"/>
                             </menuItem>
-                            <menuItem title="Errors and Warnings..." keyEquivalent="m" id="2756">
-                                <modifierMask key="keyEquivalentModifierMask" option="YES" command="YES"/>
-                                <connections>
-                                    <action selector="showErrorsAndWarnings:" target="-2" id="ayP-Wq-8xj"/>
-                                </connections>
-                            </menuItem>
                             <menuItem title="Messages..." keyEquivalent="M" id="1003">
                                 <connections>
                                     <action selector="showMessagesPanel:" target="-2" id="Suq-dt-QZE"/>
index 224901e..e2f7235 100644 (file)
                CCD83E4513FEA143004F1652 /* AudioEffects.xib in Resources */ = {isa = PBXBuildFile; fileRef = CCD83E3013FEA143004F1652 /* AudioEffects.xib */; };
                CCD83E4613FEA143004F1652 /* Bookmarks.xib in Resources */ = {isa = PBXBuildFile; fileRef = CCD83E3213FEA143004F1652 /* Bookmarks.xib */; };
                CCD83E4713FEA143004F1652 /* CoreDialogs.xib in Resources */ = {isa = PBXBuildFile; fileRef = CCD83E3413FEA143004F1652 /* CoreDialogs.xib */; };
-               CCD83E4813FEA143004F1652 /* ErrorPanel.xib in Resources */ = {isa = PBXBuildFile; fileRef = CCD83E3613FEA143004F1652 /* ErrorPanel.xib */; };
                CCD83E4913FEA143004F1652 /* MediaInfo.xib in Resources */ = {isa = PBXBuildFile; fileRef = CCD83E3813FEA143004F1652 /* MediaInfo.xib */; };
                CCD83E4A13FEA143004F1652 /* Open.xib in Resources */ = {isa = PBXBuildFile; fileRef = CCD83E3A13FEA143004F1652 /* Open.xib */; };
                CCD83E4B13FEA143004F1652 /* Preferences.xib in Resources */ = {isa = PBXBuildFile; fileRef = CCD83E3C13FEA143004F1652 /* Preferences.xib */; };
                CCD83E3113FEA143004F1652 /* English */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = English; path = Resources/English.lproj/AudioEffects.xib; sourceTree = "<group>"; };
                CCD83E3313FEA143004F1652 /* English */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = English; path = Resources/English.lproj/Bookmarks.xib; sourceTree = "<group>"; };
                CCD83E3513FEA143004F1652 /* English */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = English; path = Resources/English.lproj/CoreDialogs.xib; sourceTree = "<group>"; };
-               CCD83E3713FEA143004F1652 /* English */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = English; path = Resources/English.lproj/ErrorPanel.xib; sourceTree = "<group>"; };
                CCD83E3913FEA143004F1652 /* English */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = English; path = Resources/English.lproj/MediaInfo.xib; sourceTree = "<group>"; };
                CCD83E3B13FEA143004F1652 /* English */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = English; path = Resources/English.lproj/Open.xib; sourceTree = "<group>"; };
                CCD83E3D13FEA143004F1652 /* English */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = English; path = Resources/English.lproj/Preferences.xib; sourceTree = "<group>"; };
                                CCD83E3013FEA143004F1652 /* AudioEffects.xib */,
                                CCD83E3213FEA143004F1652 /* Bookmarks.xib */,
                                CCD83E3413FEA143004F1652 /* CoreDialogs.xib */,
-                               CCD83E3613FEA143004F1652 /* ErrorPanel.xib */,
                                CCD83E3813FEA143004F1652 /* MediaInfo.xib */,
                                CCD83E3A13FEA143004F1652 /* Open.xib */,
                                CCD83E3C13FEA143004F1652 /* Preferences.xib */,
                                CCD83E4613FEA143004F1652 /* Bookmarks.xib in Resources */,
                                CCD83E4713FEA143004F1652 /* CoreDialogs.xib in Resources */,
                                1C88BB3619DC7C7800645190 /* ys-play.png in Resources */,
-                               CCD83E4813FEA143004F1652 /* ErrorPanel.xib in Resources */,
                                1C88BCA419DC7CB300645190 /* ys-fs_skip_next.png in Resources */,
                                1C88BA7919DC7B2200645190 /* yosemite-window-zoom-graphite@2x.png in Resources */,
                                1C88BC0E19DC7C8100645190 /* ys-next-6btns-dark@2x.png in Resources */,
                        name = CoreDialogs.xib;
                        sourceTree = "<group>";
                };
-               CCD83E3613FEA143004F1652 /* ErrorPanel.xib */ = {
-                       isa = PBXVariantGroup;
-                       children = (
-                               CCD83E3713FEA143004F1652 /* English */,
-                       );
-                       name = ErrorPanel.xib;
-                       sourceTree = "<group>";
-               };
                CCD83E3813FEA143004F1652 /* MediaInfo.xib */ = {
                        isa = PBXVariantGroup;
                        children = (
index 2a37229..91f9762 100644 (file)
 - (IBAction)openWebsite:(id)sender;
 - (IBAction)openForum:(id)sender;
 - (IBAction)openDonate:(id)sender;
-- (IBAction)showErrorsAndWarnings:(id)sender;
 - (IBAction)showMessagesPanel:(id)showMessagesPanel;
 - (IBAction)showMainWindow:(id)sender;
 - (IBAction)showPlaylist:(id)sender;
index 2ebcc8d..aacc5f2 100644 (file)
@@ -35,7 +35,6 @@
 #import "VideoEffects.h"
 #import "bookmarks.h"
 #import "simple_prefs.h"
-#import "coredialogs.h"
 #import "VLCPlaylist.h"
 #import "VLCPlaylistInfo.h"
 #import "VideoView.h"
     [[NSWorkspace sharedWorkspace] openURL: url];
 }
 
-#pragma mark - Errors, warnings and messages
-
-- (IBAction)showErrorsAndWarnings:(id)sender
-{
-    [[[[VLCMain sharedInstance] coreDialogProvider] errorPanel] showWindow:self];
-}
-
 - (IBAction)showInformationPanel:(id)sender
 {
     [[[VLCMain sharedInstance] currentMediaInfoPanel] toggleWindow:sender];
index 54bb238..7d5b96c 100644 (file)
@@ -1,7 +1,7 @@
 /*****************************************************************************
  * coredialogs.h: Mac OS X Core Dialogs
  *****************************************************************************
- * Copyright (C) 2005-2012 VLC authors and VideoLAN
+ * Copyright (C) 2005-2016 VLC authors and VideoLAN
  * $Id$
  *
  * Authors: Derk-Jan Hartman <hartman at videolan dot org>
@@ -21,6 +21,7 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
+
 #import <vlc_common.h>
 #import <vlc_dialog.h>
 #import <Cocoa/Cocoa.h>
  * VLCCoreDialogProvider interface
  *****************************************************************************/
 
-@class ErrorWindowController;
-
 @interface VLCCoreDialogProvider : NSObject
 {
-    /* authentication dialogue */
-    IBOutlet id o_auth_cancel_btn;
-    IBOutlet id o_auth_description_txt;
-    IBOutlet id o_auth_login_fld;
-    IBOutlet id o_auth_login_txt;
-    IBOutlet id o_auth_ok_btn;
-    IBOutlet id o_auth_pw_fld;
-    IBOutlet id o_auth_pw_txt;
-    IBOutlet id o_auth_title_txt;
-    IBOutlet id o_auth_win;
-
-    /* progress dialogue */
-    IBOutlet NSProgressIndicator * o_prog_bar;
-    IBOutlet id o_prog_cancel_btn;
-    IBOutlet id o_prog_description_txt;
-    IBOutlet id o_prog_title_txt;
-    IBOutlet id o_prog_win;
+    /* authentication dialog */
+    IBOutlet id authenticationCancelButton;
+    IBOutlet id authenticationDescriptionLabel;
+    IBOutlet id authenticationLoginTextField;
+    IBOutlet id authenticationLoginLabel;
+    IBOutlet id authenticationOkButton;
+    IBOutlet id authenticationPasswordTextField;
+    IBOutlet id authenticationPasswordLabel;
+    IBOutlet id authenticationTitleLabel;
+    IBOutlet id authenticationWindow;
+
+    /* progress dialog */
+    IBOutlet NSProgressIndicator * progressIndicator;
+    IBOutlet id progressCancelButton;
+    IBOutlet id progressDescriptionLabel;
+    IBOutlet id progressTitleLabel;
+    IBOutlet id progressWindow;
 }
 
 @property (atomic,readwrite) BOOL progressCancelled;
 
--(void)performEventWithObject: (NSValue *)o_value ofType: (const char*)type;
-
--(void)showFatalDialog: (NSValue *)o_value;
--(void)showFatalWaitDialog: (NSValue *)o_value;
--(void)showQuestionDialog: (NSValue *)o_value;
-
--(void)showLoginDialog: (NSValue *)o_value;
--(IBAction)loginDialogAction:(id)sender;
-
--(void)showProgressDialogOnMainThread: (NSValue *)o_value;
--(void)showProgressDialog: (NSValue *)o_value;
--(IBAction)progDialogAction:(id)sender;
--(void)updateProgressPanelWithText: (NSString *)string andNumber: (double)d_number;
--(void)destroyProgressPanel;
-
--(id)errorPanel;
-
-@end
-
-
-/*****************************************************************************
- * VLCErrorPanel interface
- *****************************************************************************/
-
-@interface ErrorWindowController : NSWindowController
-{
-    IBOutlet id o_cleanup_button;
-    IBOutlet id o_error_table;
-
-    NSMutableArray *o_errors;
-    NSMutableArray *o_icons;
-}
-
-- (IBAction)cleanupTable:(id)sender;
+- (IBAction)authenticationDialogAction:(id)sender;
 
--(void)addError:(NSString *)o_error withMsg:(NSString *)o_msg;
+- (IBAction)progressDialogAction:(id)sender;
 
 @end
index ce1393b..4eea2e7 100644 (file)
@@ -1,7 +1,7 @@
 /*****************************************************************************
  * coredialogs.m: Mac OS X Core Dialogs
  *****************************************************************************
- * Copyright (C) 2005-2015 VLC authors and VideoLAN
+ * Copyright (C) 2005-2016 VLC authors and VideoLAN
  * $Id$
  *
  * Authors: Derk-Jan Hartman <hartman at videolan dot org>
 /* for the icon in our custom error panel */
 #import <ApplicationServices/ApplicationServices.h>
 
-
-void updateProgressPanel (void *data, const char *text, float value)
-{
-    @autoreleasepool {
-        VLCCoreDialogProvider *dialogProvider = (__bridge VLCCoreDialogProvider *)data;
-
-        NSString *o_txt = toNSStr(text);
-        dispatch_async(dispatch_get_main_queue(), ^{
-            [dialogProvider updateProgressPanelWithText: o_txt andNumber: (double)(value * 1000.)];
-        });
-    }
-}
-
-void destroyProgressPanel (void *data)
-{
-    @autoreleasepool {
-        VLCCoreDialogProvider *dialogProvider = (__bridge VLCCoreDialogProvider *)data;
-        if ([[NSApplication sharedApplication] isRunning])
-            [dialogProvider performSelectorOnMainThread:@selector(destroyProgressPanel) withObject:nil waitUntilDone:YES];
-    }
-}
-
-bool checkProgressPanel (void *data)
-{
-    @autoreleasepool {
-        VLCCoreDialogProvider *dialogProvider = (__bridge VLCCoreDialogProvider *)data;
-        return [dialogProvider progressCancelled];
-    }
-}
-
-static int DialogCallback(vlc_object_t *p_this, const char *type, vlc_value_t previous, vlc_value_t value, void *data)
+static void displayErrorCallback(const char *psz_title, const char *psz_text, void * p_data)
 {
     @autoreleasepool {
-        VLCCoreDialogProvider *dialogProvider = (__bridge VLCCoreDialogProvider *)data;
-        if ([toNSStr(type) isEqualToString: @"dialog-progress-bar"]) {
-            /* the progress panel needs to update itself and therefore wants special treatment within this context */
-            dialog_progress_bar_t *p_dialog = (dialog_progress_bar_t *)value.p_address;
-
-            p_dialog->pf_update = updateProgressPanel;
-            p_dialog->pf_check = checkProgressPanel;
-            p_dialog->pf_destroy = destroyProgressPanel;
-            p_dialog->p_sys = (__bridge void *)dialogProvider;
-        }
-
-        NSValue *o_value = [NSValue valueWithPointer:value.p_address];
-        [dialogProvider performEventWithObject: o_value ofType: type];
-
-        return VLC_SUCCESS;
+        VLCCoreDialogProvider *dialogProvider = (__bridge VLCCoreDialogProvider *)p_data;
+        NSAlert *alert = [NSAlert alertWithMessageText: toNSStr(psz_title) defaultButton: _NS("OK") alternateButton: nil otherButton: nil informativeTextWithFormat: @"%@", toNSStr(psz_text)];
+        [alert setAlertStyle: NSCriticalAlertStyle];
+        [alert runModal];
     }
 }
 
-@interface VLCCoreDialogProvider()
-{
-    ErrorWindowController *o_error_panel;
-}
-@end
-
 @implementation VLCCoreDialogProvider
 
 - (instancetype)init
@@ -98,17 +51,26 @@ static int DialogCallback(vlc_object_t *p_this, const char *type, vlc_value_t pr
 
         intf_thread_t *p_intf = getIntf();
         /* subscribe to various interactive dialogues */
-        var_Create(p_intf, "dialog-error", VLC_VAR_ADDRESS);
-        var_AddCallback(p_intf, "dialog-error", DialogCallback, (__bridge void *)self);
-        var_Create(p_intf, "dialog-critical", VLC_VAR_ADDRESS);
-        var_AddCallback(p_intf, "dialog-critical", DialogCallback, (__bridge void *)self);
-        var_Create(p_intf, "dialog-login", VLC_VAR_ADDRESS);
-        var_AddCallback(p_intf, "dialog-login", DialogCallback, (__bridge void *)self);
-        var_Create(p_intf, "dialog-question", VLC_VAR_ADDRESS);
-        var_AddCallback(p_intf, "dialog-question", DialogCallback, (__bridge void *)self);
-        var_Create(p_intf, "dialog-progress-bar", VLC_VAR_ADDRESS);
-        var_AddCallback(p_intf, "dialog-progress-bar", DialogCallback, (__bridge void *)self);
-        dialog_Register(p_intf);
+
+/*        const vlc_dialog_cbs cbs = {
+            displayErrorCallback,
+            displayLoginCallback,
+            displayQuestionCallback,
+            displayProgressCallback,
+            cancelCallback,
+            updateProgressCallback
+        };*/
+
+        const vlc_dialog_cbs cbs = {
+            displayErrorCallback,
+            NULL,
+            NULL,
+            NULL,
+            NULL,
+            NULL
+        };
+
+        vlc_dialog_provider_set_callbacks(p_intf, &cbs, (__bridge void *)self);
     }
 
     return self;
@@ -119,246 +81,27 @@ static int DialogCallback(vlc_object_t *p_this, const char *type, vlc_value_t pr
     msg_Dbg(getIntf(), "Deinitializing dialog provider");
 
     intf_thread_t *p_intf = getIntf();
-    var_DelCallback(p_intf, "dialog-error", DialogCallback, (__bridge void *)self);
-    var_DelCallback(p_intf, "dialog-critical", DialogCallback, (__bridge void *)self);
-    var_DelCallback(p_intf, "dialog-login", DialogCallback, (__bridge void *)self);
-    var_DelCallback(p_intf, "dialog-question", DialogCallback, (__bridge void *)self);
-    var_DelCallback(p_intf, "dialog-progress-bar", DialogCallback, (__bridge void *)self);
-    dialog_Unregister(p_intf);
+    vlc_dialog_provider_set_callbacks(p_intf, NULL, NULL);
 }
 
 -(void)awakeFromNib
 {
     _progressCancelled = NO;
-    [o_auth_login_txt setStringValue: _NS("Username")];
-    [o_auth_pw_txt setStringValue: _NS("Password")];
-    [o_auth_cancel_btn setTitle: _NS("Cancel")];
-    [o_auth_ok_btn setTitle: _NS("OK")];
-    [o_prog_cancel_btn setTitle: _NS("Cancel")];
-    [o_prog_bar setUsesThreadedAnimation: YES];
-}
+    [authenticationLoginLabel setStringValue: _NS("Username")];
+    [authenticationPasswordLabel setStringValue: _NS("Password")];
+    [authenticationCancelButton setTitle: _NS("Cancel")];
+    [authenticationOkButton setTitle: _NS("OK")];
 
--(void)performEventWithObject: (NSValue *)o_value ofType: (const char*)type
-{
-    NSString *o_type = toNSStr(type);
-
-    if ([o_type isEqualToString: @"dialog-error"])
-        [self performSelectorOnMainThread:@selector(showFatalDialog:) withObject:o_value waitUntilDone:YES];
-    else if ([o_type isEqualToString: @"dialog-critical"])
-        [self performSelectorOnMainThread:@selector(showFatalWaitDialog:) withObject:o_value waitUntilDone:YES];
-    else if ([o_type isEqualToString: @"dialog-question"])
-        [self performSelectorOnMainThread:@selector(showQuestionDialog:) withObject:o_value waitUntilDone:YES];
-    else if ([o_type isEqualToString: @"dialog-login"])
-        [self performSelectorOnMainThread:@selector(showLoginDialog:) withObject:o_value waitUntilDone:YES];
-    else if ([o_type isEqualToString: @"dialog-progress-bar"])
-        [self performSelectorOnMainThread:@selector(showProgressDialogOnMainThread:) withObject: o_value waitUntilDone:YES];
-    else
-        msg_Err(getIntf(), "unhandled dialog type: '%s'", type);
+    [progressCancelButton setTitle: _NS("Cancel")];
+    [progressIndicator setUsesThreadedAnimation: YES];
 }
 
--(void)showFatalDialog: (NSValue *)o_value
+- (IBAction)authenticationDialogAction:(id)sender
 {
-    dialog_fatal_t *p_dialog = [o_value pointerValue];
-
-    [[self errorPanel] addError: toNSStr(p_dialog->title) withMsg: toNSStr(p_dialog->message)];
-    [[self errorPanel] showWindow:self];
-}
-
--(void)showFatalWaitDialog: (NSValue *)o_value
-{
-    dialog_fatal_t *p_dialog = [o_value pointerValue];
-    NSAlert *o_alert;
-
-    o_alert = [NSAlert alertWithMessageText: toNSStr(p_dialog->title) defaultButton: _NS("OK") alternateButton: nil otherButton: nil informativeTextWithFormat: @"%@", toNSStr(p_dialog->message)];
-    [o_alert setAlertStyle: NSCriticalAlertStyle];
-    [o_alert runModal];
 }
 
--(void)showQuestionDialog: (NSValue *)o_value
+- (IBAction)progressDialogAction:(id)sender
 {
-    dialog_question_t *p_dialog = [o_value pointerValue];
-    NSAlert *o_alert;
-    NSInteger i_returnValue = 0;
-  
-    o_alert = [NSAlert alertWithMessageText: toNSStr(p_dialog->title) defaultButton: toNSStr(p_dialog->yes) alternateButton: toNSStr(p_dialog->no) otherButton: toNSStr(p_dialog->cancel) informativeTextWithFormat:@"%@", toNSStr(p_dialog->message)];
-    [o_alert setAlertStyle: NSInformationalAlertStyle];
-    i_returnValue = [o_alert runModal];
-
-    if (i_returnValue == NSAlertDefaultReturn)
-        p_dialog->answer = 1;
-    if (i_returnValue == NSAlertAlternateReturn)
-        p_dialog->answer = 2;
-    if (i_returnValue == NSAlertOtherReturn)
-        p_dialog->answer = 3;
-}
-
--(void)showLoginDialog: (NSValue *)o_value
-{
-    dialog_login_t *p_dialog = [o_value pointerValue];
-    NSInteger i_returnValue = 0;
-
-    [o_auth_title_txt setStringValue: toNSStr(p_dialog->title)];
-    [o_auth_win setTitle: toNSStr(p_dialog->title)];
-    [o_auth_description_txt setStringValue: toNSStr(p_dialog->message)];
-    [o_auth_login_fld setStringValue: @""];
-    [o_auth_pw_fld setStringValue: @""];
-
-    [o_auth_win center];
-    i_returnValue = [NSApp runModalForWindow: o_auth_win];
-    [o_auth_win close];
-    if (i_returnValue)
-    {
-        *p_dialog->username = strdup([[o_auth_login_fld stringValue] UTF8String]);
-        *p_dialog->password = strdup([[o_auth_pw_fld stringValue] UTF8String]);
-    } else
-        *p_dialog->username = *p_dialog->password = NULL;
-}
-
--(IBAction)loginDialogAction:(id)sender
-{
-    if ([[sender title] isEqualToString: _NS("OK")])
-        [NSApp stopModalWithCode: 1];
-    else
-        [NSApp stopModalWithCode: 0];
-}
-
--(void)showProgressDialogOnMainThread: (NSValue *)o_value
-{
-    /* we work-around a Cocoa limitation here, since you cannot delay an execution
-     * on the main thread within a single call */
-    [self setProgressCancelled:NO];
-
-    dialog_progress_bar_t *p_dialog = [o_value pointerValue];
-    if (!p_dialog)
-        return;
-
-    [o_prog_win setTitle: toNSStr(p_dialog->title)];
-    [o_prog_title_txt setStringValue: toNSStr(p_dialog->title)];
-
-    if (p_dialog->cancel != NULL)
-        [o_prog_cancel_btn setTitle: toNSStr(p_dialog->cancel)];
-    else
-        [o_prog_cancel_btn setTitle: _NS("Cancel")];
-
-    [o_prog_description_txt setStringValue: toNSStr(p_dialog->message)];
-
-    if (getIntf())
-        [self performSelector:@selector(showProgressDialog:) withObject: o_value afterDelay:3.00];
-}
-
--(void)showProgressDialog: (NSValue *)o_value
-{
-    dialog_progress_bar_t *p_dialog = [o_value pointerValue];
-
-    if (!p_dialog || [self progressCancelled])
-        return;
-
-    [o_prog_bar setDoubleValue: 0];
-    [o_prog_bar setIndeterminate: YES];
-    [o_prog_bar startAnimation: self];
-
-    [o_prog_win makeKeyAndOrderFront: self];
-}
-
--(void)updateProgressPanelWithText: (NSString *)string andNumber: (double)d_number
-{
-    [o_prog_description_txt setStringValue: string];
-    if (d_number > 0)
-        [o_prog_bar setIndeterminate: NO];
-    [o_prog_bar setDoubleValue: d_number];
-}
-
--(void)destroyProgressPanel
-{
-    [self setProgressCancelled:YES];
-    [o_prog_bar performSelectorOnMainThread:@selector(stopAnimation:) withObject:self waitUntilDone:YES];
-    [o_prog_win performSelectorOnMainThread:@selector(close) withObject:nil waitUntilDone:YES];
-}
-
--(IBAction)progDialogAction:(id)sender
-{
-    [self setProgressCancelled:YES];
-}
-
--(id)errorPanel
-{
-    if (!o_error_panel)
-        o_error_panel = [[ErrorWindowController alloc] init];
-
-    return o_error_panel;
-}
-
-@end
-
-/*****************************************************************************
- * VLCErrorPanel implementation
- *****************************************************************************/
-
-@implementation ErrorWindowController
-
-- (id)init
-{
-    self = [super initWithWindowNibName:@"ErrorPanel"];
-    if (self) {
-        /* init data sources */
-        o_errors = [[NSMutableArray alloc] init];
-        o_icons = [[NSMutableArray alloc] init];
-    }
-
-    return self;
-}
-
-- (void)windowDidLoad
-{
-    /* init strings */
-    [[self window] setTitle: _NS("Errors and Warnings")];
-    [o_cleanup_button setTitle: _NS("Clean up")];
-}
-
--(void)addError: (NSString *)o_error withMsg:(NSString *)o_msg
-{
-    /* format our string as desired */
-    NSMutableAttributedString * ourError;
-    ourError = [[NSMutableAttributedString alloc] initWithString:
-        [NSString stringWithFormat:@"%@\n%@", o_error, o_msg]
-        attributes:
-        [NSDictionary dictionaryWithObject: [NSFont systemFontOfSize:11] forKey: NSFontAttributeName]];
-    [ourError
-        addAttribute: NSFontAttributeName
-        value: [NSFont boldSystemFontOfSize:11]
-        range: NSMakeRange(0, [o_error length])];
-    [o_errors addObject: ourError];
-
-    [o_icons addObject: [[NSWorkspace sharedWorkspace] iconForFileType:NSFileTypeForHFSTypeCode(kAlertStopIcon)]];
-
-    [o_error_table reloadData];
-}
-
--(IBAction)cleanupTable:(id)sender
-{
-    [o_errors removeAllObjects];
-    [o_icons removeAllObjects];
-    [o_error_table reloadData];
-}
-
-/*----------------------------------------------------------------------------
- * data source methods
- *---------------------------------------------------------------------------*/
-- (NSInteger)numberOfRowsInTableView:(NSTableView *)theDataTable
-{
-    return [o_errors count];
-}
-
-- (id)tableView:(NSTableView *)theDataTable objectValueForTableColumn:
-    (NSTableColumn *)theTableColumn row: (NSInteger)row
-{
-    if ([[theTableColumn identifier] isEqualToString: @"error_msg"])
-        return [o_errors objectAtIndex:row];
-
-    if ([[theTableColumn identifier] isEqualToString: @"icon"])
-        return [o_icons objectAtIndex:row];
-
-    return @"unknown identifier";
 }
 
 @end