mirror of
https://github.com/objective-see/TaskExplorer.git
synced 2026-03-22 07:02:39 +00:00
v 0.9.1 (beta)
ui fixes/improvements
fixed refresh didn't re-select tree view's top row
added dead-task detection when user-selects dylib/files/etc
fixed spinner not going away! (el capitan)
fixed issue w/ initial row being selected 2x
refresh button, when clicked now resets bottom pane back to dylibs
This commit is contained in:
@@ -314,7 +314,11 @@ bail:
|
||||
//file info dictionary
|
||||
NSMutableDictionary* fileInfo = nil;
|
||||
|
||||
//files
|
||||
//just file paths
|
||||
// ->helps detect/ignore dups
|
||||
NSMutableArray* filePaths = nil;
|
||||
|
||||
//unique files
|
||||
NSMutableArray* files = nil;
|
||||
|
||||
//init task
|
||||
@@ -323,7 +327,10 @@ bail:
|
||||
//init pipe
|
||||
pipe = [NSPipe pipe];
|
||||
|
||||
//init array for files
|
||||
//init array for file paths
|
||||
filePaths = [NSMutableArray array];
|
||||
|
||||
//init array for unqiue files
|
||||
files = [NSMutableArray array];
|
||||
|
||||
//set task's stdout to pipe
|
||||
@@ -396,6 +403,13 @@ bail:
|
||||
continue;
|
||||
}
|
||||
|
||||
//also avoid duplicates
|
||||
if(YES == [filePaths containsObject:filePath])
|
||||
{
|
||||
//skip
|
||||
continue;
|
||||
}
|
||||
|
||||
//alloc info dictionary
|
||||
fileInfo = [NSMutableDictionary dictionary];
|
||||
|
||||
@@ -404,6 +418,10 @@ bail:
|
||||
|
||||
//save
|
||||
[files addObject:fileInfo];
|
||||
|
||||
//add to list of paths
|
||||
// ->prevents dups
|
||||
[filePaths addObject:filePath];
|
||||
}
|
||||
|
||||
//bail
|
||||
|
||||
Reference in New Issue
Block a user