From 90002d731b137988e4462374e35220db86731086 Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Thu, 25 Mar 2010 22:16:56 +0000 Subject: Bunch of improvements to the server process list viewer, including: - It is now a separate window like the console to enable monitoring. - It now uses the same window style as the console. - The ability to show or hide the process ID, column. This could possibly be enabled for some of the other columns as well, suggestions? - The ability to enable or disable the use of SHOW FULL PROCESSLIST or just SHOW PROCESSLIST. This implements most of the enhancements requested in issue #607, with the exception of the option to enable auto-refresh, which is still being worked on. --- Interfaces/English.lproj/DatabaseProcessList.xib | 787 +++++++++++++++-------- 1 file changed, 513 insertions(+), 274 deletions(-) (limited to 'Interfaces') diff --git a/Interfaces/English.lproj/DatabaseProcessList.xib b/Interfaces/English.lproj/DatabaseProcessList.xib index 370da418..74bb98b4 100644 --- a/Interfaces/English.lproj/DatabaseProcessList.xib +++ b/Interfaces/English.lproj/DatabaseProcessList.xib @@ -7,25 +7,15 @@ 1038.25 458.00 - YES - - YES - com.apple.InterfaceBuilder.CocoaPlugin - com.brandonwalkin.BWToolkit - - - YES - 740 - 1.2.1 - + com.apple.InterfaceBuilder.CocoaPlugin + 740 YES - + YES - com.brandonwalkin.BWToolkit com.apple.InterfaceBuilder.CocoaPlugin @@ -51,7 +41,7 @@ 15 2 - {{386, 500}, {586, 349}} + {{386, 573}, {575, 203}} 1886912512 Processes NSWindow @@ -78,7 +68,7 @@ 256 - {575, 251} + {575, 130} YES @@ -90,7 +80,7 @@ - 256 + -2147483392 {{576, 0}, {12, 17}} @@ -354,26 +344,25 @@ 16 - 1514176512 + 1514143744 - 1 + 4 15 0 YES 0 - {{1, 17}, {575, 251}} + {{1, 17}, {575, 130}} - 4 - 256 + -2147483392 {{576, 17}, {11, 251}} 256 @@ -400,17 +389,15 @@ {{1, 0}, {575, 17}} - 4 - {{-1, 47}, {588, 269}} + {{-1, 22}, {577, 148}} - - 18 + 530 @@ -418,80 +405,10 @@ QSAAAEEgAABBkAAAQZAAAA - - - 289 - {{477, 13}, {94, 28}} - - YES - - 67239424 - 138018816 - Close - - - -2038284033 - 1 - - Helvetica - 11 - 16 - - - DQ - 200 - 25 - - - - - 260 - {{15, 13}, {111, 28}} - - YES - - -2080244224 - 134348800 - Save As... - - - -2038284033 - 129 - - - 200 - 25 - - - - - 268 - {{9, 324}, {117, 14}} - - YES - - 68288064 - 272761856 - Database Processes - - LucidaGrande-Bold - 11 - 16 - - - - 6 - System - controlColor - - - - - - 265 - {{367, 322}, {208, 19}} + 266 + {{10, 176}, {530, 19}} YES @@ -556,53 +473,192 @@ CAAAAA - + + + -2147482356 + + {{559, 178}, {16, 16}} + + 20746 + 100 + + - -2147483382 - {{128, 324}, {234, 14}} + 290 + + YES + + YES + Apple PDF pasteboard type + Apple PICT pasteboard type + Apple PNG pasteboard type + NSFilenamesPboardType + NeXT Encapsulated PostScript v1.2 pasteboard type + NeXT TIFF v4.0 pasteboard type + + + {{62, 0}, {513, 23}} YES - - 68288064 - 71439360 - 0 of 0 - - - - + + 130560 + 33554432 + + NSImage + button_bar_spacer + + 0 + 1 + 0 + YES + YES - + 289 - {{385, 13}, {94, 28}} + {{446, 2}, {118, 17}} YES - + -2080244224 134348800 - Refresh + Save As... - + -2038284033 - 268435585 + 164 - r + 200 25 - + - -2147482356 - - {{366, 20}, {16, 16}} + 292 + {{30, -1}, {32, 25}} - 20746 - 100 + YES + + -2080244224 + 134217728 + Clear + + LucidaGrande + 13 + 1044 + + + -2042347265 + 163 + + NSImage + button_refresh + + + + 400 + 75 + + + + + 292 + {{-10, 0}, {46, 25}} + + YES + + -2076049856 + 134219776 + + + -2042609409 + 35 + + + 400 + 75 + + + YES + + + 1048576 + 2147483647 + + NSImage + button_action + + _popUpItemAction: + + + YES + + OtherViews + + YES + + + + Show Process ID + + 2147483647 + 1 + + NSImage + NSMenuCheckmark + + + NSImage + NSMenuMixedState + + _popUpItemAction: + + + + + Show FULL Process List + + 2147483647 + 1 + + + _popUpItemAction: + + + + + 2 + YES + 1 + YES + YES + + + + + -2147483358 + {{67, 4}, {374, 14}} + + YES + + 68288064 + 272761856 + 0 of 0 + + + + 6 + System + controlColor + + + + - {586, 349} + {575, 203} {{0, 0}, {1680, 1028}} @@ -618,14 +674,8 @@ Copy 2147483647 - - NSImage - NSMenuCheckmark - - - NSImage - NSMenuMixedState - + + @@ -634,27 +684,35 @@ 2147483647 - - + + Kill Query 2147483647 - - + + Kill Connection 2147483647 - - + + + + + YES + ProcessListShowProcessID + ProcessListShowFullProcessList + + YES + @@ -667,14 +725,6 @@ 40 - - - closeSheet: - - - - 41 - delegate @@ -707,14 +757,6 @@ 45 - - - refreshProcessList: - - - - 48 - killProcessQuery: @@ -757,59 +799,115 @@ - saveProcessesButton + filterProcessesSearchField - + - 65 + 68 - refreshProcessesButton + refreshProgressIndicator - + - 66 + 70 - - closeProcessListButton + + saveServerProcesses: + + + + 89 + + + + refreshProcessList: - + - 67 + 90 - filterProcessesSearchField + refreshProcessesButton - + - 68 + 91 - refreshProgressIndicator + saveProcessesButton - + - 70 + 92 processesCountTextField - + - 71 + 95 + + + + value: values.ProcessListShowProcessID + + + + + + value: values.ProcessListShowProcessID + value + values.ProcessListShowProcessID + + NSConditionallySetsEnabled + + + 2 + + + 99 - saveServerProcesses: + toggleShowProcessID: - + - 73 + 100 + + + + toggeleShowFullProcessList: + + + + 101 + + + + value: values.ProcessListShowFullProcessList + + + + + + value: values.ProcessListShowFullProcessList + value + values.ProcessListShowFullProcessList + + NSConditionallySetsEnabled + + + 2 + + + 104 @@ -854,26 +952,17 @@ YES - - - - - + + + + + - - 5 - - - YES - - - - 6 @@ -895,48 +984,6 @@ - - 8 - - - YES - - - - - - 9 - - - YES - - - - - - 10 - - - YES - - - - - - 11 - - - - - 12 - - - - - 13 - - - 14 @@ -1001,11 +1048,6 @@ - - 23 - - - 28 @@ -1090,20 +1132,6 @@ - - 46 - - - YES - - - - - - 47 - - - 51 @@ -1142,6 +1170,111 @@ + + 74 + + + YES + + + + + + 75 + + + YES + + + + + + 76 + + + YES + + + + + + 77 + + + YES + + + + + + 78 + + + YES + + + + + + + + 79 + + + + + 82 + + + + + 84 + + + + + 85 + + + + + 86 + + + + + 87 + + + YES + + + + + + 88 + + + + + 93 + + + YES + + + + + + 94 + + + + + 96 + + + @@ -1149,11 +1282,6 @@ YES -3.IBPluginDependency - 10.IBPluginDependency - 10.ImportedFromIB2 - 11.IBPluginDependency - 12.IBPluginDependency - 13.IBPluginDependency 14.IBPluginDependency 14.IBShouldRemoveOnLegacySave 15.IBPluginDependency @@ -1171,7 +1299,6 @@ 21.IBPluginDependency 21.IBShouldRemoveOnLegacySave 22.IBPluginDependency - 23.IBPluginDependency 28.IBPluginDependency 29.IBPluginDependency 3.IBEditorWindowLastContentRect @@ -1195,9 +1322,6 @@ 39.IBPluginDependency 4.IBPluginDependency 4.ImportedFromIB2 - 46.IBPluginDependency - 47.IBPluginDependency - 5.IBPluginDependency 51.IBEditorWindowLastContentRect 51.IBPluginDependency 55.IBPluginDependency @@ -1208,8 +1332,21 @@ 69.IBPluginDependency 7.IBPluginDependency 7.ImportedFromIB2 - 8.IBPluginDependency - 9.IBPluginDependency + 75.IBAttributePlaceholdersKey + 75.IBPluginDependency + 76.IBPluginDependency + 77.IBPluginDependency + 78.IBEditorWindowLastContentRect + 78.IBPluginDependency + 79.IBPluginDependency + 82.IBPluginDependency + 84.IBAttributePlaceholdersKey + 84.IBPluginDependency + 85.IBPluginDependency + 87.IBPluginDependency + 88.IBPluginDependency + 93.IBPluginDependency + 94.IBPluginDependency YES @@ -1217,11 +1354,6 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.brandonwalkin.BWToolkit - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -1238,10 +1370,9 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin + {{541, 371}, {575, 203}} com.apple.InterfaceBuilder.CocoaPlugin - {{402, 386}, {586, 349}} - com.apple.InterfaceBuilder.CocoaPlugin - {{402, 386}, {586, 349}} + {{541, 371}, {575, 203}} {{321, 508}, {411, 341}} @@ -1260,20 +1391,44 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin + {{523, 251}, {155, 73}} + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - {{523, 251}, {155, 73}} com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin + + + ToolTip + + ToolTip + + Clear Console + + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + {{458, 293}, {223, 68}} + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + ToolTip + + ToolTip + + Duplicate the selected table + + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - - com.brandonwalkin.BWToolkit com.apple.InterfaceBuilder.CocoaPlugin @@ -1293,7 +1448,7 @@ - 73 + 104 @@ -1333,6 +1488,13 @@ Source/SPContentFilterManager.h + + NSObject + + IBProjectSource + Source/SPMainThreadTrampoline.h + + NSObject @@ -1372,12 +1534,13 @@ YES YES - closeSheet: copy: killProcessConnection: killProcessQuery: refreshProcessList: saveServerProcesses: + toggeleShowFullProcessList: + toggleShowProcessID: YES @@ -1387,13 +1550,13 @@ id id id + id YES YES - closeProcessListButton filterProcessesSearchField processListTableView processesCountTextField @@ -1403,7 +1566,6 @@ YES - NSButton NSSearchField NSTableView NSTextField @@ -1471,6 +1633,13 @@ AppKit.framework/Headers/NSUserInterfaceItemSearching.h + + NSApplication + + IBFrameworkSource + BWToolkitFramework.framework/Headers/NSApplication+BWAdditions.h + + NSButton NSControl @@ -1503,6 +1672,14 @@ AppKit.framework/Headers/NSControl.h + + NSController + NSObject + + IBFrameworkSource + AppKit.framework/Headers/NSController.h + + NSFormatter NSObject @@ -1511,6 +1688,22 @@ Foundation.framework/Headers/NSFormatter.h + + NSImageCell + NSCell + + IBFrameworkSource + AppKit.framework/Headers/NSImageCell.h + + + + NSImageView + NSControl + + IBFrameworkSource + AppKit.framework/Headers/NSImageView.h + + NSMenu NSObject @@ -1527,6 +1720,14 @@ AppKit.framework/Headers/NSMenuItem.h + + NSMenuItemCell + NSButtonCell + + IBFrameworkSource + AppKit.framework/Headers/NSMenuItemCell.h + + NSObject @@ -1862,6 +2063,22 @@ WebKit.framework/Headers/WebUIDelegate.h + + NSPopUpButton + NSButton + + IBFrameworkSource + AppKit.framework/Headers/NSPopUpButton.h + + + + NSPopUpButtonCell + NSMenuItemCell + + IBFrameworkSource + AppKit.framework/Headers/NSPopUpButtonCell.h + + NSProgressIndicator NSView @@ -1954,6 +2171,14 @@ AppKit.framework/Headers/NSTextFieldCell.h + + NSUserDefaultsController + NSController + + IBFrameworkSource + AppKit.framework/Headers/NSUserDefaultsController.h + + NSView @@ -1977,6 +2202,13 @@ NSResponder + + NSView + + IBFrameworkSource + BWToolkitFramework.framework/Headers/NSView+BWAdditions.h + + NSWindow @@ -1999,6 +2231,13 @@ AppKit.framework/Headers/NSWindowScripting.h + + NSWindow + + IBFrameworkSource + BWToolkitFramework.framework/Headers/NSWindow+BWAdditions.h + + NSWindowController NSResponder -- cgit v1.2.3