Skip to content

Commit

Permalink
2.4 release
Browse files Browse the repository at this point in the history
  • Loading branch information
sveinbjornt committed May 10, 2018
1 parent adb9c95 commit e5cd32a
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 16 deletions.
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Sloth is free, open source software. If you find this program useful, please [ma

## Download

* [Download Sloth 2.3](https://sveinbjorn.org/files/software/sloth.zip) (~0.6 MB, Intel 64-bit, 10.8 or later)
* [Download Sloth 2.4](https://sveinbjorn.org/files/software/sloth.zip) (~0.6 MB, Intel 64-bit, 10.8 or later)

## Screenshots

Expand All @@ -20,6 +20,19 @@ Sloth is free, open source software. If you find this program useful, please [ma

## Version history

### 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)
Expand Down
12 changes: 2 additions & 10 deletions TODO.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@

TODO list for Sloth 2.4
DONE * Sloth now defaults to showing Mac-friendly process names (e.g. "Safari Web Content" instead of "com.apple.WebKit.WebContent"). Also, process names are no longer truncated to 32 characters.
DONE * DNS to IP and port name resolution in Info Panel when DNS/port lookup enabled in Prefs
DONE * Info Panel now shows file descriptor integer
DONE * Info Panel now shows "file" command info for character devices
DONE * Fix lsof output parsing issues (e.g. "TCP" protocol for all items)
DONE * Fix IPv6 socket handling
DONE * Info Panel now shows process icon under "Used by"
DONE * Search filter can now be used to filter by IP protocol (e.g. TCP or UDP) or IP version (e.g. IPv4 or IPv6)
DONE * Sloth now shows TCP socket state (e.g. LISTEN, ESTABLISHED)
TODO list for Sloth 2.5

2 changes: 1 addition & 1 deletion resources/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>2.3</string>
<string>2.4</string>
<key>CFBundleVersion</key>
<string>0</string>
<key>LSApplicationCategoryType</key>
Expand Down
2 changes: 1 addition & 1 deletion source/Common.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
*/

#define PROGRAM_NAME @"Sloth"
#define PROGRAM_VERSION @"2.3"
#define PROGRAM_VERSION @"2.4"
#define PROGRAM_WEBSITE @"https://sveinbjorn.org/sloth"
#define PROGRAM_GITHUB_WEBSITE @"https://github.com/sveinbjornt/Sloth"
#define PROGRAM_DONATIONS @"https://sveinbjorn.org/donations"
Expand Down
5 changes: 2 additions & 3 deletions source/InfoPanelController.m
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ - (void)loadItem:(NSDictionary *)itemDict {
if (!itemDict) {
return;
}
NSLog(@"%@", [itemDict description]);
//NSLog(@"%@", [itemDict description]);

self.fileInfoDict = itemDict;

Expand Down Expand Up @@ -189,8 +189,7 @@ - (void)loadItem:(NSDictionary *)itemDict {
[self.accessModeTextField setStringValue:access];

// The other fields
if ((!isFileOrFolder && (!isProcess || (isProcess && itemDict[@"path"] == nil))) ||
(isFileOrFolder && ![FILEMGR fileExistsAtPath:itemDict[@"name"]])) {
if (!isFileOrFolder && (!isProcess || (isProcess && itemDict[@"path"] == nil))) {
[self.filetypeTextField setStringValue:EMPTY_PLACEHOLDER];
[self.finderTypeTextField setStringValue:EMPTY_PLACEHOLDER];
[self.permissionsTextField setStringValue:EMPTY_PLACEHOLDER];
Expand Down
22 changes: 22 additions & 0 deletions sparkle/SlothAppcast.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,28 @@
<description>Most recent Sloth releases, with links to signed updates.</description>
<language>en</language>

<item>
<title>Version 2.4</title>
<pubDate>Thursday, 10 May 2018 13:27:00 +0000</pubDate>
<enclosure url="https://sveinbjorn.org/files/software/sloth/sloth-2.4.zip" sparkle:version="142" sparkle:shortVersionString="2.4" length="622212" type="application/octet-stream" sparkle:dsaSignature="MEQCIC+lfCk/Jo2lNiSR0toJLVUybInI2IZuJVuFp+byhVUsAiAljGANOLCp7/9/lhIcgySyovcUPqA/wU9Hk1SLaUdwYw=="/>
<sparkle:minimumSystemVersion>10.8.0</sparkle:minimumSystemVersion>
<description><![CDATA[
<h2>New in Sloth 2.4</h2>
<ul>
<li>Now defaults to showing Mac-friendly process names (e.g. "Safari Web Content" instead of "com.apple.WebKit.WebContent")</li>
<li>Unix process names no longer truncated to 32 characters.</li>
<li>Search filter can now be used to filter by IP protocol (e.g. TCP or UDP) or IP version (e.g. IPv4 or IPv6)</li>
<li>Now shows TCP socket state (e.g. LISTEN, ESTABLISHED) in list and Info Panel</li>
<li>Info Panel now shows file descriptor integer</li>
<li>Info Panel now shows additional info for character devices</li>
<li>Info Panel now shows Carbon Process Serial Number (PSN), if available</li>
<li>Much improved IPv6 socket handling</li>
<li>DNS to IP and port name resolution in Info Panel when DNS/port lookup enabled in Prefs</li>
<li>Minor user interface enhancements</li>
</ul>
]]></description>
</item>

<item>
<title>Version 2.3</title>
<pubDate>Monday, 16 Apr 2018 20:27:00 +0000</pubDate>
Expand Down

0 comments on commit e5cd32a

Please sign in to comment.