From 33a71315ca49e9b4ae9837c5e466fd30f32969cf Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Fri, 17 Apr 2009 00:43:30 +0000 Subject: - Add defaults for the SelectLastFavoriteUsed and LastFavoriteIndex keys - Add the ability to configure the maximum number of items in the query history - Added appropriate minumums (0) and maximums in prefs for max history items, LIMIT count, connection timeout value --- Interfaces/English.lproj/DBView.xib | 46 +++- Interfaces/English.lproj/Preferences.xib | 430 +++++++++++++++++++++++++++---- 2 files changed, 421 insertions(+), 55 deletions(-) (limited to 'Interfaces/English.lproj') diff --git a/Interfaces/English.lproj/DBView.xib b/Interfaces/English.lproj/DBView.xib index e318b30c..878dc4fc 100644 --- a/Interfaces/English.lproj/DBView.xib +++ b/Interfaces/English.lproj/DBView.xib @@ -366,7 +366,7 @@ -2042609409 35 - + NSImage button_action @@ -381,10 +381,7 @@ 1048576 2147483647 - - NSImage - button_action - + _popUpItemAction: @@ -2920,7 +2917,10 @@ -2042609409 35 - + + NSImage + button_action + 400 @@ -2932,7 +2932,7 @@ 1048576 2147483647 - + _popUpItemAction: @@ -3121,7 +3121,7 @@ - 13 + 6 YES 1 YES @@ -9932,6 +9932,10 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 NSView + + YES + CustomQueryMaxHistoryItems + YES @@ -12598,6 +12602,26 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 5410 + + + hidden: values.CustomQueryMaxHistoryItems + + + + + + hidden: values.CustomQueryMaxHistoryItems + hidden + values.CustomQueryMaxHistoryItems + + NSValueTransformerName + NSNegateBoolean + + 2 + + + 5415 + @@ -19374,7 +19398,7 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 ToolTip - Choose a query out of the last 20 queries + Choose a query from your recent queries com.apple.InterfaceBuilder.CocoaPlugin @@ -19402,7 +19426,7 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 com.apple.InterfaceBuilder.CocoaPlugin - {{442, 599}, {137, 20}} + {{383, 624}, {137, 20}} com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -20873,7 +20897,7 @@ Y2hhbmdlIHRoZSBvcmRlcg - 5410 + 5415 diff --git a/Interfaces/English.lproj/Preferences.xib b/Interfaces/English.lproj/Preferences.xib index 6cf682db..6649e164 100644 --- a/Interfaces/English.lproj/Preferences.xib +++ b/Interfaces/English.lproj/Preferences.xib @@ -52,15 +52,16 @@ {3.40282e+38, 3.40282e+38} - + 268 YES 268 - {{151, 58}, {254, 26}} + {{151, 105}, {254, 26}} + YES -2076049856 @@ -386,8 +387,9 @@ 268 - {{152, 105}, {209, 18}} + {{152, 152}, {209, 18}} + YES 67239424 @@ -413,8 +415,9 @@ 268 - {{40, 133}, {108, 17}} + {{40, 180}, {108, 17}} + YES 67239488 @@ -445,8 +448,9 @@ 268 - {{151, 127}, {254, 26}} + {{151, 174}, {254, 26}} + YES -2076049856 @@ -477,8 +481,9 @@ 268 - {{33, 64}, {116, 17}} + {{33, 111}, {116, 17}} + YES 67239424 @@ -493,8 +498,9 @@ 268 - {{152, 19}, {166, 18}} + {{152, 66}, {166, 18}} + YES 67239424 @@ -515,8 +521,9 @@ 12 - {{154, 93}, {326, 5}} + {{154, 140}, {326, 5}} + {0, 0} 67239424 @@ -545,8 +552,9 @@ 12 - {{154, 45}, {326, 5}} + {{154, 92}, {326, 5}} + {0, 0} 67239424 @@ -564,12 +572,150 @@ 0 NO + + + 12 + {{154, 53}, {326, 5}} + + + {0, 0} + + 67239424 + 0 + Box + + + + 3 + MCAwLjgwMDAwMDAxAA + + + 3 + 2 + 0 + NO + + + + 268 + {{38, 23}, {110, 17}} + + + YES + + 68288064 + 71304192 + Remember last: + + + + + + + + + 268 + {{153, 20}, {38, 22}} + + + YES + + -1804468671 + 138413056 + + + + + YES + + YES + allowsFloats + formatterBehavior + maximum + maximumIntegerDigits + minimum + + + YES + + + + + + + + # + # + + + + + + + + + + NaN + + YES + + YES + + + YES + + + + + + + 3 + YES + YES + YES + + . + , + NO + YES + YES + + + YES + + + 6 + System + textColor + + + + + + + 268 + {{197, 23}, {162, 17}} + + + YES + + 68288064 + 272630784 + queries + + + + + + - {500, 171} + {500, 218} + + NSView - + 268 YES @@ -578,6 +724,7 @@ 268 {{152, 166}, {123, 18}} + YES 67239424 @@ -600,6 +747,7 @@ 268 {{29, 207}, {120, 17}} + YES 67239488 @@ -616,6 +764,7 @@ 268 {{374, 67}, {38, 17}} + YES 67239488 @@ -632,6 +781,7 @@ 268 {{152, 206}, {106, 18}} + YES -2080244224 @@ -654,6 +804,7 @@ 268 {{152, 66}, {115, 18}} + YES 67239424 @@ -676,6 +827,7 @@ 268 {{152, 186}, {105, 18}} + YES -2080244224 @@ -698,6 +850,7 @@ 268 {{353, 61}, {19, 27}} + YES 917024 @@ -716,6 +869,7 @@ 268 {{273, 64}, {75, 22}} + YES -1804468672 @@ -730,6 +884,7 @@ allowsFloats formatterBehavior maximum + minimum numberStyle roundingIncrement @@ -737,9 +892,10 @@ YES - + + - + #1 @@ -754,25 +910,10 @@ NaN - - YES - - YES - - - YES - - + - - 0 - 0 - YES - NO - 1 - AAAAAAAAAAAAAAAAAAAAAA - - + + 3 YES @@ -789,12 +930,7 @@ YES - - 6 - System - textColor - - + @@ -802,6 +938,7 @@ 268 {{17, 22}, {131, 17}} + YES 68288064 @@ -818,6 +955,7 @@ 268 {{154, 20}, {75, 22}} + YES -1804468671 @@ -836,6 +974,7 @@ 268 {{152, 126}, {297, 18}} + YES 67239424 @@ -858,6 +997,7 @@ 268 {{152, 106}, {225, 18}} + YES 67239424 @@ -880,6 +1020,7 @@ 12 {{154, 152}, {326, 5}} + {0, 0} 67239424 @@ -902,6 +1043,7 @@ 12 {{154, 92}, {326, 5}} + {0, 0} 67239424 @@ -924,6 +1066,7 @@ 12 {{154, 53}, {326, 5}} + {0, 0} 67239424 @@ -943,6 +1086,8 @@ {500, 244} + + NSView @@ -1829,7 +1974,7 @@ AQAAAAA NSView - + 268 YES @@ -1838,6 +1983,7 @@ AQAAAAA 268 {{12, 56}, {137, 17}} + YES 67239488 @@ -1854,6 +2000,7 @@ AQAAAAA 268 {{152, 18}, {166, 18}} + YES -2080244224 @@ -1876,12 +2023,59 @@ AQAAAAA 268 {{154, 53}, {50, 22}} + YES -1804468671 - 272630784 + -1874852864 + + + YES + + YES + allowsFloats + formatterBehavior + maximum + minimum + + + YES + + + + + + + # + # + + + + + + + + + + NaN + + + + + + 3 + YES + YES + YES + + . + , + NO + YES + YES + 60 YES @@ -1894,6 +2088,7 @@ AQAAAAA 268 {{209, 56}, {56, 17}} + YES 67239488 @@ -1910,6 +2105,7 @@ AQAAAAA 12 {{154, 42}, {326, 5}} + {0, 0} 67239424 @@ -1929,9 +2125,15 @@ AQAAAAA {500, 93} + + NSView + + YES + CustomQueryMaxHistoryItems + YES @@ -2984,6 +3186,22 @@ AQAAAAA 782 + + + value: values.CustomQueryMaxHistoryItems + + + + + + value: values.CustomQueryMaxHistoryItems + value + values.CustomQueryMaxHistoryItems + 2 + + + 800 + @@ -3042,6 +3260,10 @@ AQAAAAA + + + + General @@ -3859,7 +4081,6 @@ AQAAAAA - @@ -3868,6 +4089,7 @@ AQAAAAA + Tables @@ -4210,6 +4432,10 @@ AQAAAAA 675 + + YES + + @@ -4231,6 +4457,67 @@ AQAAAAA + + 784 + + + + + 785 + + + YES + + + + + + 786 + + + + + 787 + + + YES + + + + + + 788 + + + YES + + + + + + 789 + + + + + 790 + + + YES + + + + + + 791 + + + + + 792 + + + @@ -4475,14 +4762,27 @@ AQAAAAA 641.IBPluginDependency 641.IBUserGuides 642.IBPluginDependency + 652.IBAttributePlaceholdersKey 652.IBPluginDependency 661.IBPluginDependency 669.IBPluginDependency + 674.IBAttributePlaceholdersKey 674.IBPluginDependency 675.IBPluginDependency 676.IBPluginDependency 677.IBPluginDependency 681.IBPluginDependency + 784.IBPluginDependency + 785.IBPluginDependency + 786.IBPluginDependency + 787.IBAttributePlaceholdersKey + 787.IBPluginDependency + 788.IBAttributePlaceholdersKey + 788.IBPluginDependency + 789.IBPluginDependency + 790.IBPluginDependency + 791.IBPluginDependency + 792.IBPluginDependency 94.IBPluginDependency 94.ImportedFromIB2 95.IBPluginDependency @@ -4512,7 +4812,7 @@ AQAAAAA com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - {{4, 984}, {500, 171}} + {{4, 638}, {500, 218}} com.apple.InterfaceBuilder.CocoaPlugin YES @@ -4701,7 +5001,7 @@ AQAAAAA com.apple.InterfaceBuilder.CocoaPlugin - {{398, 707}, {500, 244}} + {{398, 612}, {500, 244}} com.apple.InterfaceBuilder.CocoaPlugin YES @@ -4753,7 +5053,7 @@ AQAAAAA com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - {{144, 1133}, {254, 4}} + {{144, 832}, {254, 6}} com.apple.InterfaceBuilder.CocoaPlugin {{381, 612}, {175, 53}} com.apple.InterfaceBuilder.CocoaPlugin @@ -4795,9 +5095,51 @@ AQAAAAA com.apple.InterfaceBuilder.CocoaPlugin + + ToolTip + + ToolTip + + Enable to send a MySQL ping to ensure the connection is kept alive if it has not been used for a while + + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + ToolTip + + ToolTip + + Enter how long to attempt to connect or send queries for; set a value of 0 to disable the timeout + + + 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 + + ToolTip + + ToolTip + + Enter the maximum number of entries to remember in the Custom Query query history, from 0 to 99 + + + com.apple.InterfaceBuilder.CocoaPlugin + + YES + + YES + + + YES + + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -4833,7 +5175,7 @@ AQAAAAA - 782 + 800 -- cgit v1.2.3