Updated TODO + impr. comments

This commit is contained in:
Sveinbjorn Thordarson 2023-05-20 21:06:20 +00:00
parent 84aef7a22a
commit c65e29ee8a
3 changed files with 6 additions and 6 deletions

View File

@ -1,13 +1,14 @@
# TODO for Sloth 3.4
* Update antiquated screenshots in README
* Show full command (w/args) for process (ala ps -ef) in Info Panel
* Highlight matching part of string when filtering (option in filter field popup)
* Store authentication privileges and use them to run command line tool "/usr/bin/file"
* Show Path Control w. selected path at bottom of table view when item selected
* Store authentication privileges and use them to run command line tool "/usr/bin/file" for Info Dialog
* Add tests for lsof output parsing
* Click on connected process f. pipes to select and show info of that process
* Create visualization of pipes between processes in special view
# TODO for Sloth 3.3
* Update antiquated screenshots in README
* Always (re)select "General" tab when Preferences are shown
* Show Path Control w. selected path at bottom of table view when item selected

View File

@ -134,13 +134,12 @@
return nil;
}
// This is the method used by the macOS 'ps' tool
// This is the method used by the macOS/BSD `ps` tool
// Adapted from getproclline() in print.c in the 'ps'
// codebase, which is part of Apple's adv_cmds package
// See: https://opensource.apple.com/tarballs/adv_cmds/
// NOTE: This doesn't work for processes not owned by
// the current user. /bin/ps gets around this with suid.
+ (NSString *)fullKernelProcessNameForPID:(pid_t)pid {
int mib[3], argmax;
size_t syssize;

View File

@ -55,7 +55,7 @@
[[[NSWorkspace sharedWorkspace] notificationCenter] addObserver:self
selector: @selector(volumesChanged:)
name:NSWorkspaceDidMountNotification
object: nil];
object:nil];
[[[NSWorkspace sharedWorkspace] notificationCenter] addObserver:self
selector: @selector(volumesChanged:)
name:NSWorkspaceDidUnmountNotification