Skip to content

Commit

Permalink
Merge branch 'sveinbjornt:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
cooljeanius authored Nov 24, 2023
2 parents 16341c9 + 4572645 commit 7bccdcb
Show file tree
Hide file tree
Showing 15 changed files with 220 additions and 82 deletions.
5 changes: 5 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# CHANGELOG

## XX/11/2023 - Version 3.3

* Added path bar control which is shown when item is selected. Can be disabled.
* Now defaults to killing w. SIGTERM. The old behaviour of sending SIGKILL can be set in Prefs.

### 30/01/2022 - Version 3.2

* Various minor bug fixes and interface refinements
Expand Down
8 changes: 8 additions & 0 deletions Sloth.entitlements
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.automation.apple-events</key>
<true/>
</dict>
</plist>
13 changes: 9 additions & 4 deletions Sloth.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@
F4A8B5CD222DB5280049FA51 /* Makefile */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.make; path = Makefile; sourceTree = "<group>"; };
F4A9D5EE206A68BC0069B2B6 /* LICENSE.txt */ = {isa = PBXFileReference; lastKnownFileType = text; path = LICENSE.txt; sourceTree = "<group>"; };
F4B977AF1F8EBBEB0099971E /* sloth_screenshot1.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = sloth_screenshot1.jpg; sourceTree = "<group>"; };
F4E41CF12B06990D00F2897D /* Sloth.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Sloth.entitlements; sourceTree = "<group>"; };
F4ED53C21C789A0A0024540F /* Security.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Security.framework; path = /System/Library/Frameworks/Security.framework; sourceTree = "<absolute>"; };
F4F1D8A01C7623AF00945D3E /* README.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = "<group>"; };
F4F1D9111C7CB95700945D3E /* dsa_priv.pem */ = {isa = PBXFileReference; lastKnownFileType = text; path = dsa_priv.pem; sourceTree = "<group>"; };
Expand Down Expand Up @@ -136,6 +137,7 @@
29B97314FDCFA39411CA2CEA /* Sloth */ = {
isa = PBXGroup;
children = (
F4E41CF12B06990D00F2897D /* Sloth.entitlements */,
F44FC67225AD5EA200BC72F5 /* macos.yml */,
F4A8B5CD222DB5280049FA51 /* Makefile */,
F4F1D8A01C7623AF00945D3E /* README.md */,
Expand Down Expand Up @@ -387,13 +389,14 @@
isa = XCBuildConfiguration;
buildSettings = {
CLANG_ENABLE_OBJC_ARC = YES;
CODE_SIGN_ENTITLEMENTS = "";
CODE_SIGN_ENTITLEMENTS = Sloth.entitlements;
CODE_SIGN_IDENTITY = "Developer ID Application";
CODE_SIGN_STYLE = Manual;
COPY_PHASE_STRIP = NO;
DEPLOYMENT_POSTPROCESSING = YES;
DEVELOPMENT_TEAM = 5WX26Y89JP;
ENABLE_HARDENED_RUNTIME = YES;
ENABLE_TESTABILITY = YES;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/sparkle",
Expand All @@ -402,12 +405,13 @@
GCC_OPTIMIZATION_LEVEL = 0;
GCC_VERSION = "";
GENERATE_PKGINFO_FILE = NO;
GENERATE_PROFILING_CODE = YES;
INFOPLIST_EXPAND_BUILD_SETTINGS = YES;
INFOPLIST_FILE = resources/Info.plist;
INFOPLIST_KEY_CFBundleDisplayName = Sloth;
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.utilities";
INSTALL_PATH = "";
MACOSX_DEPLOYMENT_TARGET = 10.11;
MACOSX_DEPLOYMENT_TARGET = 10.13;
MARKETING_VERSION = 3.3;
OTHER_LDFLAGS = "-Wl,-rpath,@loader_path/../Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = org.sveinbjorn.Sloth;
Expand All @@ -423,13 +427,14 @@
isa = XCBuildConfiguration;
buildSettings = {
CLANG_ENABLE_OBJC_ARC = YES;
CODE_SIGN_ENTITLEMENTS = "";
CODE_SIGN_ENTITLEMENTS = Sloth.entitlements;
CODE_SIGN_IDENTITY = "Developer ID Application";
CODE_SIGN_STYLE = Manual;
COPY_PHASE_STRIP = YES;
DEPLOYMENT_POSTPROCESSING = YES;
DEVELOPMENT_TEAM = 5WX26Y89JP;
ENABLE_HARDENED_RUNTIME = YES;
ENABLE_TESTABILITY = YES;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/sparkle",
Expand All @@ -442,7 +447,7 @@
INFOPLIST_KEY_CFBundleDisplayName = Sloth;
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.utilities";
INSTALL_PATH = "";
MACOSX_DEPLOYMENT_TARGET = 10.11;
MACOSX_DEPLOYMENT_TARGET = 10.13;
MARKETING_VERSION = 3.3;
OTHER_LDFLAGS = "-Wl,-rpath,@loader_path/../Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = org.sveinbjorn.Sloth;
Expand Down
8 changes: 5 additions & 3 deletions TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,14 @@
* 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
* Preserve expanded items between refreshes
* Upgrade Sparkle version (latest supports 10.13+)

# TODO for Sloth 3.3

* "Copy" on app/process should copy filesystem representation if possible
* Preserve expanded items between refreshes
* Update antiquated screenshots in README
* Show Path Control w. selected path at bottom of table view when item selected
* Upgrade Sparkle version
* Get contextual menu working properly in path bar (like in KatSearch)
DONE * Always (re)select "General" tab when Preferences are shown
DONE Show Path Control w. selected path at bottom of table view when item selected
DONE * SIGTERM vs. SIGKILL
4 changes: 4 additions & 0 deletions resources/Defaults.plist
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,9 @@
<integer>0</integer>
<key>accessMode</key>
<string>Any</string>
<key>showPathBar</key>
<true/>
<key>alwaysUseSigkill</key>
<false/>
</dict>
</plist>
2 changes: 1 addition & 1 deletion resources/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<key>LSApplicationCategoryType</key>
<string>public.app-category.utilities</string>
<key>LSMinimumSystemVersion</key>
<string>10.11</string>
<string>10.13</string>
<key>NSHumanReadableCopyright</key>
<string>© 2004-2023 Sveinbjorn Thordarson.</string>
<key>NSMainNibFile</key>
Expand Down
Loading

0 comments on commit 7bccdcb

Please sign in to comment.