From 44a5f9e552b3d5e1f9ef1c6d11f34e893d67e85b Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Thu, 7 Oct 2010 18:56:33 +0000 Subject: Various improvements to server capability/version checking, including: - Add a new ServerSupport class, for which an instance is created upon each new connection and is then subsequently accessible via SPDatabaseDocument. - Replace the majority of manual version checking with calls to properties in the above new class. - Improve the user manager's compatibility with MySQL 3 and 4 servers. Fixes issue #811 Other changes include: - Disable the encoding popup button when adding a new table or database to servers running pre MySQL 4.1 as it only contains one option, 'Default'. - Fix various potential memory leaks discovered during static analysis. - General tidy up and comments. --- Interfaces/English.lproj/UserManagerView.xib | 83 +++++++++++++++++++++------- 1 file changed, 64 insertions(+), 19 deletions(-) (limited to 'Interfaces/English.lproj/UserManagerView.xib') diff --git a/Interfaces/English.lproj/UserManagerView.xib b/Interfaces/English.lproj/UserManagerView.xib index c4437677..795c247c 100644 --- a/Interfaces/English.lproj/UserManagerView.xib +++ b/Interfaces/English.lproj/UserManagerView.xib @@ -3,7 +3,7 @@ 1050 10F569 - 788 + 804 1038.29 461.00 @@ -15,18 +15,18 @@ YES - 788 - 1.2.2 + 804 + 1.2.5 YES - + YES - com.apple.InterfaceBuilder.CocoaPlugin com.brandonwalkin.BWToolkit + com.apple.InterfaceBuilder.CocoaPlugin YES @@ -56,7 +56,7 @@ User Managment NSWindow - {1.79769e+308, 1.79769e+308} + {3.40282e+38, 3.40282e+38} {752, 506} @@ -148,7 +148,7 @@ controlBackgroundColor 3 - MC42NjY2NjY2NjY3AA + MC42NjY2NjY2ODY1AA @@ -1623,7 +1623,7 @@ 256 _doScroller: - 0.96969696969696972 + 0.96969699859619141 @@ -1633,7 +1633,7 @@ 257 _doScroller: - 0.99236641221374045 + 0.99236643314361572 @@ -1752,7 +1752,7 @@ 256 _doScroller: - 0.96969696969696972 + 0.96969699859619141 @@ -1762,7 +1762,7 @@ 257 _doScroller: - 0.9928057553956835 + 0.99280577898025513 @@ -1978,8 +1978,8 @@ YES YES - , - . + . + , NO YES NO @@ -2044,8 +2044,8 @@ YES YES - , - . + . + , NO YES NO @@ -2110,8 +2110,8 @@ YES YES - , - . + . + , NO YES NO @@ -2224,7 +2224,7 @@ {{0, 0}, {1680, 1028}} {752, 528} - {1.79769e+308, 1.79769e+308} + {3.40282e+38, 3.40282e+38} @@ -4121,6 +4121,30 @@ 979 + + + maxUpdatesTextField + + + + 980 + + + + maxConnectionsTextField + + + + 981 + + + + maxQuestionsTextField + + + + 982 + @@ -5789,7 +5813,7 @@ - 979 + 982 @@ -6018,6 +6042,9 @@ availableTableView grantedController grantedTableView + maxConnectionsTextField + maxQuestionsTextField + maxUpdatesTextField outlineView privsSupportedByServer removeSchemaPrivButton @@ -6035,6 +6062,9 @@ NSTableView NSArrayController NSTableView + NSTextField + NSTextField + NSTextField NSOutlineView NSMutableDictionary NSButton @@ -6055,6 +6085,9 @@ availableTableView grantedController grantedTableView + maxConnectionsTextField + maxQuestionsTextField + maxUpdatesTextField outlineView privsSupportedByServer removeSchemaPrivButton @@ -6087,6 +6120,18 @@ grantedTableView NSTableView + + maxConnectionsTextField + NSTextField + + + maxQuestionsTextField + NSTextField + + + maxUpdatesTextField + NSTextField + outlineView NSOutlineView -- cgit v1.2.3