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:
Patrick Wardle
2015-08-02 15:38:07 -07:00
parent b41a9642a9
commit 365e078bce
9 changed files with 154 additions and 70 deletions
+20 -2
View File
@@ -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