Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from sveinbjornt:master #13

Open
wants to merge 65 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
0e94670
Added Show All option to Filters menu, UI fixes in Prefs Filters view
sveinbjornt Feb 5, 2021
cde48ff
Fixed authentication canceled bug
sveinbjornt Mar 17, 2021
0c24dad
Update timer now working (#13)
sveinbjornt Mar 17, 2021
aa2af78
Tweaks in Prefs interface
sveinbjornt Mar 17, 2021
451225e
Prefs filters working (#12)
sveinbjornt Mar 17, 2021
c3fb0f3
Fixed volume filtering for 10.15+ (popup now shows all mount points +…
sveinbjornt Mar 17, 2021
0402cf3
Fixed issues in prefs filtering, excluding /dev from volumes filter +…
sveinbjornt Mar 18, 2021
3cd5730
Updated project settings, sanity check in showPackageContents util fu…
sveinbjornt Mar 18, 2021
a3f3b8a
Updated sparkle version, documentation + more for version 3.1 release
sveinbjornt Mar 18, 2021
58b074a
Disabled code signing + added build status badge to README
sveinbjornt Mar 19, 2021
bf70e14
Code signing fixes + more
sveinbjornt Mar 19, 2021
f64505f
Updated to latest STPrivilegedTask
sveinbjornt Mar 23, 2021
d371962
Updated docs
sveinbjornt Apr 7, 2021
1e7db73
Better fallback icon when lsof delivers "unkown file type" in root mode
sveinbjornt Apr 7, 2021
d26693d
Changed build settings
sveinbjornt Apr 27, 2021
98c4b05
Create FUNDING.yml
sveinbjornt May 18, 2021
14fea9f
Update macos.yml
sveinbjornt Jun 24, 2021
992d1de
Minor formatting, rm unneded code
sveinbjornt Sep 12, 2021
4f6a5da
Merge branch 'master' of https://github.com/sveinbjornt/Sloth
sveinbjornt Sep 12, 2021
df0c17e
Refactoring, rm unused code
sveinbjornt Sep 12, 2021
1d710d5
Bumped to version 3.2, code formatting fixes
sveinbjornt Oct 4, 2021
6e1f75f
Fixed column width issue in outline view + updated project settings
sveinbjornt Dec 17, 2021
5dbd208
Added cog icon (used for character devices)
sveinbjornt Jan 30, 2022
d54b18e
Added QuestionMark icon for unknown file type + updated README
sveinbjornt Jan 30, 2022
24e3d0e
Added dollar and github icons f. application and help menu items
sveinbjornt Jan 30, 2022
cbec2d4
Updated copyright header to 2022, rm trailing periods for some menu i…
sveinbjornt Jan 30, 2022
b0fd5ee
Added update interval "Every 3 seconds"
sveinbjornt Jan 30, 2022
6229d56
Prep for 3.2 release
sveinbjornt Jan 30, 2022
3dd55be
Updated README
sveinbjornt Jan 31, 2022
883c364
Updated project to latest Xcode version
sveinbjornt May 18, 2022
b706769
Added release version badge to README
sveinbjornt Oct 22, 2022
9ca60b3
Fixed build system
sveinbjornt Oct 22, 2022
0cf6b1b
Bumped deployment target to 10.11, bumped version to 3.3, now using n…
sveinbjornt Dec 11, 2022
918668d
Bumped copyright header to 2023
sveinbjornt Dec 11, 2022
e3059ef
Changed signing config to Automatic, updated TODO
sveinbjornt Dec 11, 2022
00c244f
Allow readers to use copy top clipboard button
enc Feb 17, 2023
a14b2c7
Updated comments, TODO.txt -> TODO.md + more
sveinbjornt Feb 18, 2023
8507aac
Moved change log from README to CHANGELOG.md
sveinbjornt Feb 18, 2023
9d105e1
Fixed minor bug when copying + upd. TODO + minor src header changes
sveinbjornt Feb 24, 2023
84aef7a
Updated signing config + FSUtils now supports more filesystems and st…
sveinbjornt Feb 24, 2023
c65e29e
Updated TODO + impr. comments
sveinbjornt May 20, 2023
4b32634
Updated email link in README and formatting
sveinbjornt May 20, 2023
ac6304a
Merge pull request #23 from enc/patch-1
sveinbjornt Aug 28, 2023
671ccdb
fix some typos
geekvest Sep 13, 2023
ccc3e15
Merge pull request #29 from geekvest/master
sveinbjornt Sep 13, 2023
5f2f57a
Updated TODO w. fix for crash bug in macOS 13
sveinbjornt Sep 19, 2023
bb64d78
Merge branch 'master' of https://github.com/sveinbjornt/Sloth
sveinbjornt Sep 19, 2023
9f74d34
Fixed potential crash bug in [FSUtils mountedFileSystems] (stack over…
sveinbjornt Sep 19, 2023
c532b5b
Enabled hardened runtime, bumped min macOS version to 10.11, showing …
sveinbjornt Sep 19, 2023
fc7ad67
Updated TODO with some new ideas
sveinbjornt Sep 29, 2023
18c410e
Updated application icon
sveinbjornt Sep 30, 2023
87165b6
Improved mountedFileSystems method in FSUtils
sveinbjornt Oct 13, 2023
1c9be32
Minor refactoring + cleanup
sveinbjornt Nov 14, 2023
5582002
Added path bar
sveinbjornt Nov 18, 2023
e5707f9
Improvement in path bar logic
sveinbjornt Nov 19, 2023
d9c4e8b
Improvements in path control + changed default kill signal to SIGTERM…
sveinbjornt Nov 19, 2023
ffa18d4
Updated documentation
sveinbjornt Nov 19, 2023
4572645
Bumped deployment target to 10.13 (2017), silenced or refactored depr…
sveinbjornt Nov 19, 2023
077c311
Keyboard shortcuts to toggle between compact and normal interface modes
sveinbjornt Mar 1, 2024
5c951de
Bumped copyright header to 2024
sveinbjornt Apr 24, 2024
260c592
CI improvements
sveinbjornt Apr 24, 2024
c9da6ed
Updated proj settings, version docs + headers
sveinbjornt Apr 24, 2024
2caefa4
Tweaked build_unsigned target in Makefile
sveinbjornt Apr 24, 2024
bb9a4e2
Bumped version to 3.3
sveinbjornt Apr 25, 2024
8ac0946
Updated project + docs
sveinbjornt Apr 26, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# These are supported funding model platforms

custom: ["https://paypal.me/sveinbjornt", sveinbjorn.org/donations]
8 changes: 5 additions & 3 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: macOS workflow
name: build

on:
push:
Expand All @@ -13,5 +13,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
- run: make build_unsigned
uses: actions/checkout@v4
- run: gem install xcpretty
- name: Build app
run: make build_unsigned | xcpretty -c && exit ${PIPESTATUS[0]}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ xcuserdata
*.xcworkspace
dsa_priv.pem
.xcbkptlist
sparkle/update_appcast.sh
199 changes: 199 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,199 @@
# CHANGELOG

## Sloth version history

### 25/04/2024 - Version 3.3

* Added optional path bar which is shown when a file system item is selected
* Now defaults to killing w. SIGTERM. The old behaviour of sending SIGKILL can be set in Prefs
* Minor bug fixes and improvements

### 30/01/2022 - Version 3.2

* Various minor bug fixes and interface refinements

### 18/03/2021 - Version 3.1

* Configurable refresh interval
* Default (regex) filters can be set in Preferences
* Fixed filtering by volume on Catalina and Big Sur
* Various minor bug fixes and interface improvements

### 26/11/2020 - Version 3.0.1

* Fixed crash bug on macOS Big Sur

### 24/11/2020 - Version 3.0

* Universal binary supporting Apple's arm64 architecture
* New square icon for Big Sur
* Info Panel now shows volume name and mount point for file system items
* New "Show Package Contents" contextual menu item for bundles
* Various minor fixes and performance improvements
* Now requires macOS 10.9 or later

### 27/02/2020 - Version 2.9

* Sort by process type, bundle identifier or Carbon Process Serial Number
* Better handling of errors in lsof output

### 30/03/2019 - Version 2.8.1

* Fixed potential crash bug introduced in version 2.8.

### 27/03/2019 - Version 2.8

* New Dark Mode friendly template icons for Mojave
* Multiple items can now be selected and copied
* Info Panel now shows which processes are connected to each other via unix pipes & domain sockets
* Info Panel now also shows file system info such as device name & inode
* Cmd-L menu action to show selected item
* Minor performance improvements
* Sparkle update framework now has Mojave Dark Mode-compatible appearance
* No longer shows hidden volumes in Volumes filter
* Fixed issue with mangled process names
* Fixed issue with pipe icon on non-retina displays
* Fixed minor memory leak
* More graceful error handling when file descriptor lookup fails in lsof

### 10/02/2019 - Version 2.7

* Info Panel now shows file Uniform Type Identifier
* Fixed crash bug on macOS 10.9 and earlier
* Various minor bug fixes and interface improvements

### 26/09/2018 - Version 2.6

* New and improved contextual menu
* Fixed quirks with macOS Mojave's "Dark Mode"
* Various user interface improvements

### 02/06/2018 - Version 2.5

* Fixed critical lsof output parsing bug introduced in 2.4
* New "Authenticate on launch" option in Preferences
* Various minor interface refinements

### 10/05/2018 - Version 2.4

* Now defaults to showing Mac-friendly process names (e.g. "Safari Web Content" instead of "com.apple.WebKit.WebContent")
* Unix process names no longer truncated to 32 characters
* Search filter can now be used to filter by IP protocol (e.g. TCP or UDP) or IP version (e.g. IPv4 or IPv6)
* Now shows TCP socket state (e.g. LISTEN, ESTABLISHED) in list and Info Panel
* Info Panel now shows file descriptor integer
* Info Panel now shows additional info for character devices
* Info Panel now shows Carbon Process Serial Number (PSN) for processes, if available
* Much improved IPv6 socket handling
* DNS to IP and port name resolution in Info Panel when DNS/port lookup enabled in Prefs
* Minor user interface enhancements

### 16/04/2018 - Version 2.3

* Now supports access mode filtering (e.g. read, write, read/write)
* Search filter now also filters by PID
* DNS and port name lookup for IP Sockets in Info Panel
* Info Panel now identifies standard I/O stream character devices
* New Search Filter menu with case sensitivity and regex options
* New application icon
* Fixed bug where Volumes filter wouldn't work
* Minor interface improvements

### 07/03/2018 - Version 2.2

* Now defaults to excluding process binaries, shared libraries and current working directories in listing
* DNS and port name lookup now disabled by default for faster execution (can be enabled in Preferences)
* Info Panel now displays file access mode and process owner
* New sort option: User ID
* Info Panel now shows IP socket protocol and version
* New Preferences window
* New high-resolution pipe and socket icons
* Fixed bug where sort settings were not respected on launch

### 12/02/2018 - Version 2.1

* Copying a file path now creates a file representation in clipboard in addition to text
* File paths are now red in colour if selected file does not exist at path
* Uniform Type Identifier now used to identify app bundles instead of .app suffix
* Fixed issue with Info Window's handling of moved or non-existent files
* Minor interface refinements

### 01/10/2017 - Version 2.0

* New Volumes filter
* New "Sort By" submenu under View in main menu
* Sorting by PID now correctly does numerical sort instead of alphabetic

### 07/06/2017- Version 1.9

* Files can now be dragged and dropped
* Cmd-F now focuses on filter field
* File representations can now be copied to the clipboard
* Cmd-double-click now reveals file in Finder
* Fixed various minor user interface bugs
* Fixed collapse all bug with Info Panel open
* New compact interface size option
* Fixed broken permissions display for non-bundle processes in Info Panel

### 03/05/2017 - Version 1.8

* Sloth is now code-signed
* QuickLook now works from the Info panel
* Minor user interface improvements

### 17/06/2016 - Version 1.7

* New Info Panel for items
* Minor UI changes

### 24/02/2016 - Version 1.6

* Asynchronous refresh
* Much improved performance
* UI improvements
* New filtering options
* Smarter regex filtering
* Load results as root without relaunching application
* Expanded sorting options
* Migrated project to ARC, modern Objective-C and Xcode 7
* Now requires OS X 10.8 or later

### 08/07/2010 - Version 1.5

* Column sorting, column rearrangement
* Several bug fixes
* Copy/drag and drop selected items

### 29/05/2009 - Version 1.4

* Regular expressions in search filter
* New "Relaunch as root" option
* Fixed bug in Mac OS X 10.5
* Now built for Mac OS X 10.4 or later

### 28/07/2006 - Version 1.3.1

* Released as a Universal Binary

### 05/03/2004 - Version 1.3

* Live update for search filter
* Sorting by column now works
* Performance improvements
* Lots of code replaced by Cocoa bindings thanks to Bill Bumgarner

### 27/02/2004 - Version 1.2

* Filter search field now tries to match all fields when filtering
* Added auto-refresh timer option
* lsof binary and kill signal type can now be set in Preferences
* New application icon
* Added Icelandic and Japanese localizations

### 22/02/2004 - Version 1.1

* Added search filter.
* New Action menu with menu items and shortcuts for button actions

### 21/02/2004 - Version 1.0

* Initial release
2 changes: 1 addition & 1 deletion License.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
BSD 3-Clause License

Copyright (c) 2004-2021, Sveinbjorn Thordarson <[email protected]>
Copyright (c) 2004-2024, Sveinbjorn Thordarson <[email protected]>
All rights reserved.

Redistribution and use in source and binary forms, with or without
Expand Down
12 changes: 8 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,20 @@ release: clean build_signed archives size

build_unsigned:
mkdir -p $(BUILD_DIR)
xattr -w com.apple.xcode.CreatedByBuildSystem true $(BUILD_DIR)
xcodebuild -parallelizeTargets \
-project "$(XCODE_PROJ)" \
-target "$(APP_NAME)" \
-configuration "Debug" \
-configuration "Release" \
CONFIGURATION_BUILD_DIR="$(BUILD_DIR)" \
CODE_SIGN_IDENTITY="" \
CODE_SIGNING_REQUIRED=NO \
CODE_SIGNING_ALLOWED=NO \
clean build

build_signed:
mkdir -p $(BUILD_DIR)
xattr -w com.apple.xcode.CreatedByBuildSystem true $(BUILD_DIR)
xcodebuild -parallelizeTargets \
-project "$(XCODE_PROJ)" \
-target "$(APP_NAME)" \
Expand All @@ -38,10 +41,10 @@ build_signed:

archives:
@echo "Creating application archive ${APP_ZIP_NAME}..."
@cd $(BUILD_DIR); zip -q --symlinks $(APP_ZIP_NAME) -r $(APP_BUNDLE_NAME)
@cd $(BUILD_DIR); zip -qy --symlinks $(APP_ZIP_NAME) -r $(APP_BUNDLE_NAME)

@echo "Creating source archive ${APP_SRC_ZIP_NAME}..."
@cd $(BUILD_DIR); zip -q --symlinks -r "${APP_SRC_ZIP_NAME}" ".." -x \*.git\* -x \*.zip\* -x \*.DS_Store\* -x \*dsa_priv.pem\* -x \*Sparkle/dsa_priv.pem\* -x \*products/\* -x \*build/\* -x \*xcuserdata\*
@cd $(BUILD_DIR); zip -qy --symlinks -r "${APP_SRC_ZIP_NAME}" ".." -x \*.git\* -x \*.zip\* -x \*.DS_Store\* -x \*dsa_priv.pem\* -x \*Sparkle/dsa_priv.pem\* -x \*products/\* -x \*build/\* -x \*xcuserdata\*

@echo "Generating Sparkle DSA signature"
@cd $(BUILD_DIR); ruby ../sparkle/sign_update.rb $(APP_ZIP_NAME) "../sparkle/dsa_priv.pem"
Expand All @@ -59,5 +62,6 @@ size:
@cd $(BUILD_DIR); du -hs $(APP_SRC_ZIP_NAME)

clean:
xattr -w com.apple.xcode.CreatedByBuildSystem true $(BUILD_DIR)
xcodebuild -project "$(XCODE_PROJ)" clean
rm -rf products/* 2> /dev/null
rm -rf $(BUILD_DIR)/* 2> /dev/null
Loading