From 20c46135604cfd3a38c55647438264e5360c80a4 Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Thu, 16 Apr 2009 01:39:54 +0000 Subject: - Amend the connection sheet to add an "Add to favorites" button, remove the + and - buttons, and re-enable double-click to connect. This addresses the majority of Issue #232, although the "Edit" button is not yet functioning. - Fix a bug where if an autoconnection failed, connection was automatically reattempted - Add a name field to the connection sheet, and display the name in the window title in place of user@host if set --- Interfaces/English.lproj/DBView.xib | 360 ++++++++++++++++++++++++------------ 1 file changed, 240 insertions(+), 120 deletions(-) (limited to 'Interfaces') diff --git a/Interfaces/English.lproj/DBView.xib b/Interfaces/English.lproj/DBView.xib index 6ed622de..60a03b6a 100644 --- a/Interfaces/English.lproj/DBView.xib +++ b/Interfaces/English.lproj/DBView.xib @@ -8,6 +8,7 @@ 353.00 YES + YES @@ -370,7 +371,7 @@ -2042609409 35 - + NSImage button_action @@ -385,7 +386,10 @@ 1048576 2147483647 - + + NSImage + button_action + _popUpItemAction: @@ -2927,10 +2931,7 @@ -2042609409 35 - - NSImage - button_action - + 400 @@ -2942,7 +2943,7 @@ 1048576 2147483647 - + _popUpItemAction: @@ -3685,7 +3686,7 @@ 1 2 - {{469, 447}, {519, 335}} + {{469, 435}, {519, 347}} 1886914560 connectSheet NSWindow @@ -3695,7 +3696,7 @@ {3.40282e+38, 3.40282e+38} {256, 191} - + 256 YES @@ -3757,7 +3758,7 @@ 268 - {{71, 290}, {97, 21}} + {{71, 302}, {97, 21}} YES @@ -3789,7 +3790,7 @@ NeXT TIFF v4.0 pasteboard type - {{15, 275}, {48, 48}} + {{15, 287}, {48, 48}} YES @@ -3855,7 +3856,7 @@ 256 - {{320, 166}, {185, 18}} + {{320, 150}, {185, 18}} YES @@ -3872,7 +3873,7 @@ 256 - {{287, 34}, {29, 17}} + {{287, 18}, {29, 17}} YES @@ -3888,7 +3889,7 @@ 256 - {{284, 164}, {33, 17}} + {{284, 148}, {33, 17}} YES @@ -3904,7 +3905,7 @@ 256 - {{320, 36}, {185, 18}} + {{320, 20}, {185, 18}} YES @@ -3922,7 +3923,7 @@ 256 - {{259, 86}, {57, 17}} + {{259, 70}, {57, 17}} YES @@ -3938,7 +3939,7 @@ 256 - {{285, 141}, {32, 17}} + {{285, 122}, {32, 17}} YES @@ -3954,7 +3955,7 @@ 256 - {{320, 114}, {185, 18}} + {{320, 98}, {185, 18}} YES @@ -3971,7 +3972,7 @@ 256 - {{320, 88}, {185, 18}} + {{320, 72}, {185, 18}} YES @@ -3989,7 +3990,7 @@ 256 - {{320, 140}, {185, 18}} + {{320, 124}, {185, 18}} YES @@ -4006,7 +4007,7 @@ 256 - {{320, 62}, {185, 18}} + {{320, 46}, {185, 18}} YES @@ -4024,7 +4025,7 @@ 256 - {{273, 60}, {43, 17}} + {{273, 44}, {43, 17}} YES @@ -4050,7 +4051,7 @@ 4352 - {213, 157} + {213, 167} YES @@ -4095,7 +4096,6 @@ 3 YES - YES @@ -4111,8 +4111,9 @@ YES - {{1, 17}, {213, 157}} + {{1, 17}, {213, 167}} + 4 @@ -4145,14 +4146,16 @@ {{1, 0}, {213, 17}} + 4 - {{12, 34}, {215, 175}} + {{12, 34}, {215, 185}} + 562 @@ -4164,7 +4167,7 @@ 256 - {{259, 112}, {58, 17}} + {{259, 96}, {58, 17}} YES @@ -4180,7 +4183,7 @@ 268 - {{269, 192}, {236, 17}} + {{269, 202}, {236, 17}} YES @@ -4200,77 +4203,83 @@ 268 - {{12, 13}, {28, 23}} + {{12, 13}, {46, 23}} YES -2080244224 - 134217728 - - + 134348800 + Edit... + -2033434369 162 - - NSImage - NSAddTemplate - 400 75 - + 268 - {{39, 13}, {28, 23}} + {{57, 13}, {170, 23}} YES - + -2080244224 134217728 - - -2033434369 + + 147603711 162 - - NSImage - NSRemoveTemplate - 400 75 - + - 268 - {{66, 13}, {161, 23}} + 256 + {{320, 176}, {185, 18}} YES - - -2080244224 - 134217728 + + -1804468671 + 4326400 - - - 147603711 - 162 - - - 400 - 75 + + optional + + YES + + + + + + + 256 + {{237, 173}, {80, 18}} + + YES + + 67239424 + 71303168 + Name: + + + + - {{1, 1}, {523, 220}} + {{1, 1}, {523, 230}} - {{-3, 42}, {525, 222}} + {{-3, 44}, {525, 232}} {0, 0} @@ -4290,8 +4299,29 @@ 0 NO + + + 289 + {{184, 12}, {143, 32}} + + YES + + 67239424 + 134217728 + Add to Favorites + + + -2038284033 + 129 + + + 200 + 25 + + - {519, 335} + {519, 347} + {{0, 0}, {1440, 878}} {256, 213} @@ -4450,7 +4480,7 @@ 2322 - {588, 0} + {588, 72} @@ -6826,7 +6856,10 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 -2033434369 162 - + + NSImage + NSAddTemplate + 400 @@ -6847,7 +6880,10 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 -2033434369 162 - + + NSImage + NSRemoveTemplate + 400 @@ -9908,10 +9944,6 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 NSView - - YES - favorites - YES @@ -11386,14 +11418,6 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 4000 - - - nextKeyView - - - - 4001 - nextKeyView @@ -11506,14 +11530,6 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 4505 - - - connectSheetAddToFavorites: - - - - 4517 - initialFirstResponder @@ -11734,14 +11750,6 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 4674 - - - removeFavorite: - - - - 4675 - filterTable: @@ -12526,6 +12534,74 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 5388 + + + editFavorites: + + + + 5389 + + + + enabled: canRemove + + + + + + enabled: canRemove + enabled + canRemove + + NSValueTransformerName + NSNegateBoolean + + 2 + + + 5397 + + + + connectSheetAddToFavorites: + + + + 5398 + + + + delegate + + + + 5403 + + + + nextKeyView + + + + 5404 + + + + nameField + + + + 5405 + + + + nextKeyView + + + + 5406 + @@ -12598,6 +12674,7 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 + @@ -12665,6 +12742,10 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 YES + + + + @@ -12676,12 +12757,9 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 - - - - - + + @@ -14841,20 +14919,6 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 - - 4513 - - - YES - - - - - - 4514 - - - 4515 @@ -17762,6 +17826,48 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 SPExportController + + 5390 + + + YES + + + + + + 5391 + + + + + 5401 + + + YES + + + + + + 5402 + + + + + 5407 + + + YES + + + + + + 5408 + + + @@ -18497,8 +18603,6 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 4504.IBPluginDependency 4511.IBPluginDependency 4512.IBPluginDependency - 4513.IBPluginDependency - 4514.IBPluginDependency 4515.IBPluginDependency 4516.IBPluginDependency 4521.IBPluginDependency @@ -18876,6 +18980,14 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 5361.IBPluginDependency 5369.IBPluginDependency 5377.IBPluginDependency + 5390.IBPluginDependency + 5391.IBPluginDependency + 5401.IBPluginDependency + 5401.ImportedFromIB2 + 5402.IBPluginDependency + 5407.IBPluginDependency + 5407.ImportedFromIB2 + 5408.IBPluginDependency 557.IBPluginDependency 557.ImportedFromIB2 565.IBEditorWindowLastContentRect @@ -19754,8 +19866,8 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - {{397, 484}, {519, 335}} - {{397, 484}, {519, 335}} + {{397, 472}, {519, 347}} + {{397, 472}, {519, 347}} {{136, 447}, {519, 335}} @@ -19966,8 +20078,6 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin {{408, 721}, {417, 135}} com.apple.InterfaceBuilder.CocoaPlugin @@ -20489,6 +20599,14 @@ aGUgYWN0aXZlIHNlbGVjdGlvbiAo4oyl4oyYUik com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin {{456, 426}, {292, 112}} {{456, 426}, {292, 112}} @@ -20759,7 +20877,7 @@ Y2hhbmdlIHRoZSBvcmRlcg - 5388 + 5408 @@ -21288,6 +21406,7 @@ Y2hhbmdlIHRoZSBvcmRlcg connectSheetAddToFavorites: connectToDB: copyCreateTableSyntax: + editFavorites: export: exportMultipleTables: exportTable: @@ -21296,7 +21415,6 @@ Y2hhbmdlIHRoZSBvcmRlcg import: optimizeTable: removeDatabase: - removeFavorite: repairTable: setDatabases: showCreateTableSyntax: @@ -21364,6 +21482,7 @@ Y2hhbmdlIHRoZSBvcmRlcg favoritesController hostField keyChainInstance + nameField passwordField portField queryProgressBar @@ -21417,6 +21536,7 @@ Y2hhbmdlIHRoZSBvcmRlcg id id id + id NSTabView id id -- cgit v1.2.3