From 46d1cf4f9dc0c5040cacd3118aa575bbe31faf07 Mon Sep 17 00:00:00 2001 From: Patrick Wardle Date: Tue, 4 Aug 2015 18:34:42 -0700 Subject: [PATCH] v1.0.0 commit code cleanup unset first responder --- AppDelegate.m | 4 ++ ItemView.m | 19 -------- TaskExplorer-Info.plist | 4 +- .../xcshareddata/TaskExplorer.xccheckout | 4 +- .../xcdebugger/Breakpoints_v2.xcbkptlist | 44 +++++++++---------- en.lproj/MainMenu.xib | 12 ++--- 6 files changed, 36 insertions(+), 51 deletions(-) diff --git a/AppDelegate.m b/AppDelegate.m index 2cc04b1..761e859 100755 --- a/AppDelegate.m +++ b/AppDelegate.m @@ -22,6 +22,7 @@ //TODO: filter out dup'd networks (airportd 0:0..) -not sure want to do this //TODO: 'flagged' items button? //TODO: add 'am i on main thread' guard and test +//TODO: filter dylibs, no first responder! @implementation AppDelegate @@ -85,6 +86,9 @@ //init filter obj filterObj = [[Filter alloc] init]; + //no need to have a first responder + [self.window makeFirstResponder:nil]; + //check that OS is supported if(YES != isSupportedOS()) { diff --git a/ItemView.m b/ItemView.m index 83385c5..31497ed 100644 --- a/ItemView.m +++ b/ItemView.m @@ -138,9 +138,6 @@ NSTableCellView* createTaskView(NSTableView* tableView, id owner, Task* task) //task's name frame CGRect nameFrame = {0}; - //task's path frame - CGRect pathFrame = {0}; - //sanity check if(nil == task.binary) { @@ -204,22 +201,6 @@ NSTableCellView* createTaskView(NSTableView* tableView, id owner, Task* task) // ->immediately follows name [((NSTextField*)[taskCell viewWithTag:TABLE_ROW_PID_LABEL]) setStringValue:[NSString stringWithFormat:@"(%@)", task.pid]]; - /* - //outline view has indentations - // ->adjust path width to account for this - if(YES == [tableView isKindOfClass:[NSOutlineView class]]) - { - //get path frame - pathFrame = ((NSTextField*)[tableView viewWithTag:TABLE_ROW_SUB_TEXT_TAG]).frame; - - //subtract indendtation for level - pathFrame.size.width -= [(NSOutlineView*) tableView levelForItem:task]; - - //set path frame - ((NSTextField*)[tableView viewWithTag:TABLE_ROW_SUB_TEXT_TAG]).frame = pathFrame; - } - */ - //set path [[taskCell viewWithTag:TABLE_ROW_SUB_TEXT_TAG] setStringValue:task.binary.path]; diff --git a/TaskExplorer-Info.plist b/TaskExplorer-Info.plist index 73ed46b..3ed331a 100755 --- a/TaskExplorer-Info.plist +++ b/TaskExplorer-Info.plist @@ -17,11 +17,11 @@ CFBundlePackageType APPL CFBundleShortVersionString - 0.9.1 + 1.0.0 CFBundleSignature ???? CFBundleVersion - 0.9.1 + 1.0.0 LSMinimumSystemVersion ${MACOSX_DEPLOYMENT_TARGET} NSHumanReadableCopyright diff --git a/TaskExplorer.xcodeproj/project.xcworkspace/xcshareddata/TaskExplorer.xccheckout b/TaskExplorer.xcodeproj/project.xcworkspace/xcshareddata/TaskExplorer.xccheckout index df18232..c0c67db 100644 --- a/TaskExplorer.xcodeproj/project.xcworkspace/xcshareddata/TaskExplorer.xccheckout +++ b/TaskExplorer.xcodeproj/project.xcworkspace/xcshareddata/TaskExplorer.xccheckout @@ -7,14 +7,14 @@ IDESourceControlProjectIdentifier FE4103FE-6F26-4639-8C9F-D8D32C76D6A9 IDESourceControlProjectName - TaskExplorer + project IDESourceControlProjectOriginsDictionary 61F07AFB33748EF0C810BEEF6126283DAC63A899 https://bitbucket.org/objective-see/taskexplorer.git IDESourceControlProjectPath - TaskExplorer.xcodeproj + TaskExplorer.xcodeproj/project.xcworkspace IDESourceControlProjectRelativeInstallPathDictionary 61F07AFB33748EF0C810BEEF6126283DAC63A899 diff --git a/TaskExplorer.xcodeproj/xcuserdata/patrick.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist b/TaskExplorer.xcodeproj/xcuserdata/patrick.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist index 66c9651..8a85ee7 100644 --- a/TaskExplorer.xcodeproj/xcuserdata/patrick.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist +++ b/TaskExplorer.xcodeproj/xcuserdata/patrick.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist @@ -13,22 +13,6 @@ stopOnStyle = "0"> - - - - @@ -270,11 +254,11 @@ ignoreCount = "0" continueAfterRunningActions = "No" filePath = "AppDelegate.m" - timestampString = "460249848.18895" + timestampString = "460362206.963852" startingColumnNumber = "9223372036854775807" endingColumnNumber = "9223372036854775807" - startingLineNumber = "802" - endingLineNumber = "802" + startingLineNumber = "806" + endingLineNumber = "806" landmarkName = "-reloadTaskTable" landmarkType = "5"> @@ -343,5 +327,21 @@ landmarkType = "5"> + + + + diff --git a/en.lproj/MainMenu.xib b/en.lproj/MainMenu.xib index 66e5f38..502add9 100755 --- a/en.lproj/MainMenu.xib +++ b/en.lproj/MainMenu.xib @@ -46,12 +46,12 @@ - + - +