From ffab593752dd8fbd56f7eeb0f7fa666a938ba774 Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Sat, 14 Nov 2009 13:23:17 +0000 Subject: Bunch of improvements to the query console, including: - New connection column (been meaning to add this for a while) - Display table view column headers - Enable table view text cell line truncating - Allow table view columns to be re-ordered - The table view now respects the display table view vertical grid lines preference - Support for including the connection when saving messages to a file - Support for showing/hiding the connection column - Increase table view row height to match that of all others - Display message time stamps using the user's system wide medium time format --- Interfaces/English.lproj/Console.xib | 314 +++++++++++++++++++++------ Interfaces/English.lproj/Localizable.strings | Bin 103628 -> 107096 bytes 2 files changed, 244 insertions(+), 70 deletions(-) (limited to 'Interfaces') diff --git a/Interfaces/English.lproj/Console.xib b/Interfaces/English.lproj/Console.xib index b9ee7d4e..d84c24b5 100644 --- a/Interfaces/English.lproj/Console.xib +++ b/Interfaces/English.lproj/Console.xib @@ -12,7 +12,8 @@ YES - + + YES @@ -200,25 +201,33 @@ 256 - {575, 142} + {576, 126} YES - - + + + 256 + {576, 17} + + + + + -2147483392 {{-26, 0}, {16, 17}} + YES messageDate - 145 + 100 50 1000 75628096 2048 - + Time 3 @@ -233,7 +242,7 @@ 67239488 - 133120 + 133376 Text Cell @@ -248,19 +257,21 @@ + 3 + YES - - message - 424 - 10 - 3.4028230607370965e+38 + + messageConnection + 100 + 50 + 1000 75628096 2048 - + Connection - + 6 System headerColor @@ -268,9 +279,35 @@ + + 337772096 + 133376 + Text Cell + + + + + + 3 + YES + + + + message + 367 + 10 + 1000 + + 75628096 + 2048 + Query + + + + 67239488 - 133120 + 133376 Text Cell @@ -295,7 +332,7 @@ 16 - 440401920 + -633339904 4 @@ -305,7 +342,7 @@ 0 - {{1, 1}, {575, 142}} + {{1, 17}, {576, 126}} @@ -319,7 +356,7 @@ _doScroller: - 0.99199998378753662 + 0.9921259880065918 @@ -331,14 +368,31 @@ _doScroller: 0.57142859697341919 + + + 2304 + + YES + + + {{1, 0}, {576, 17}} + + + + + 4 + + - {{-1, 22}, {577, 144}} + {{-1, 22}, {578, 144}} 530 + + QSAAAEEgAABBkAAAQZAAAA @@ -418,7 +472,7 @@ - Show time stamps + Show Time Stamps 2147483647 1 @@ -433,9 +487,32 @@ _popUpItemAction: + + + Show Connections + + 2147483647 + 1 + + + _popUpItemAction: + + + + + YES + YES + + + 2147483647 + + + _popUpItemAction: + + - Show SELECT/SHOW statements + Show SELECT/SHOW Statements 2147483647 1 @@ -446,7 +523,7 @@ - Show HELP statements + Show HELP Statements 2147483647 1 @@ -457,7 +534,7 @@ - 1 + 4 YES 1 YES @@ -495,29 +572,29 @@ - + 268 YES - + 268 - {{10, 6}, {150, 18}} + {{10, 6}, {151, 18}} YES - + -2080244224 0 - Include time stamps + Include Connections - + 1211912703 - 130 - + 2 + NSImage NSSwitch - + NSSwitch @@ -526,8 +603,31 @@ 25 + + + 268 + {{10, 30}, {154, 18}} + + YES + + -2080244224 + 0 + Include Time Stamps + + + 1211912703 + 2 + + + + + 200 + 25 + + - {170, 30} + {178, 54} + NSView @@ -545,6 +645,10 @@ + + YES + SPConsoleShowTimestamps + YES @@ -679,22 +783,6 @@ 85 - - - showTimeStampsMenuItem - - - - 86 - - - - showSelectShowStatementsMenuItem - - - - 87 - value: values.ConsoleShowSelectsAndShows @@ -751,14 +839,6 @@ 104 - - - showHelpMenuItem - - - - 105 - value: values.ConsoleShowHelps @@ -783,6 +863,38 @@ 110 + + + includeConnectionButton + + + + 117 + + + + toggleShowConnections: + + + + 119 + + + + value: values.SPConsoleShowTimestamps + + + + + + value: values.SPConsoleShowTimestamps + value + values.SPConsoleShowTimestamps + 2 + + + 121 + @@ -826,7 +938,6 @@ YES - @@ -834,6 +945,7 @@ + @@ -845,6 +957,7 @@ + @@ -881,8 +994,9 @@ YES - + + @@ -930,6 +1044,7 @@ YES + saveLogView @@ -1022,6 +1137,8 @@ + + @@ -1064,6 +1181,49 @@ + + 111 + + + + + 112 + + + + + 113 + + + YES + + + + + + 114 + + + + + 115 + + + YES + + + + + + 116 + + + + + 118 + + + @@ -1076,6 +1236,10 @@ 103.IBPluginDependency 108.IBPluginDependency 109.IBPluginDependency + 111.IBPluginDependency + 115.IBPluginDependency + 116.IBPluginDependency + 118.IBPluginDependency 12.IBPluginDependency 13.IBPluginDependency 14.IBPluginDependency @@ -1132,13 +1296,17 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - {{341, 238}, {575, 203}} - {{341, 238}, {575, 203}} + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + {{277, 574}, {575, 203}} + {{277, 574}, {575, 203}} {575, 130} com.apple.InterfaceBuilder.CocoaPlugin - {{568, 643}, {170, 30}} + {{568, 619}, {178, 54}} com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -1159,7 +1327,7 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - {{319, 180}, {286, 83}} + {{255, 481}, {283, 118}} com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -1200,7 +1368,7 @@ - 110 + 121 @@ -1282,6 +1450,7 @@ clearConsole: copy: saveConsoleAs: + toggleShowConnections: toggleShowHelpStatements: toggleShowSelectShowStatements: toggleShowTimeStamps: @@ -1294,6 +1463,7 @@ id id id + id @@ -1303,14 +1473,12 @@ clearConsoleButton consoleSearchField consoleTableView + includeConnectionButton includeTimeStampsButton loggingDisabledTextField progressIndicator saveConsoleButton saveLogView - showHelpMenuItem - showSelectShowStatementsMenuItem - showTimeStampsMenuItem YES @@ -1318,13 +1486,11 @@ NSSearchField NSTableView NSButton + NSButton NSTextField NSProgressIndicator NSButton NSView - NSMenuItem - NSMenuItem - NSMenuItem @@ -1896,6 +2062,14 @@ AppKit.framework/Headers/NSTableColumn.h + + NSTableHeaderView + NSView + + IBFrameworkSource + AppKit.framework/Headers/NSTableHeaderView.h + + NSTableView NSControl diff --git a/Interfaces/English.lproj/Localizable.strings b/Interfaces/English.lproj/Localizable.strings index f7333112..6ff1bb17 100644 Binary files a/Interfaces/English.lproj/Localizable.strings and b/Interfaces/English.lproj/Localizable.strings differ -- cgit v1.2.3