Commit Graph

1092 Commits

Author SHA1 Message Date
Daniel Jalkut e4136c2165 Sender should be Any? to reflect the fact it may be nil. This nuance seems to make the difference on Xcode 9.3/Swift 4.1 between crashing or not. Without this change, refreshing crashes every time, presumably because Swift is making assumptions about the parameter being non-nil and refreshProgressDidChange calls it explicitly with a nil parameter. 2018-01-29 11:48:09 -05:00
Daniel Jalkut 56a39042f3 Remove Garbage-Collection-specific finalize method overrides, which were flagged by new deprecated OBJC methods warning. 2018-01-29 11:20:38 -05:00
Daniel Jalkut 3507313f84 Accept Xcode 9.3 recommended build settings. 2018-01-29 11:20:30 -05:00
Daniel Jalkut 68a8437ea2 It appears that libxml/parser.h must be explicitly imported as of Xcode 9.3. 2018-01-29 11:20:24 -05:00
Daniel Jalkut d7f13ca4be Change from flatMap to new compactMap rename in Xcode 9.3. 2018-01-29 11:19:54 -05:00
Brent Simmons 2d7d903bca Create and use a SidebarGearMenuDelegate to show a menu when the gear menu in the sidebar is clicked. 2018-01-28 16:09:18 -08:00
Brent Simmons fb45ae11eb Add URLPasteboardWriter to RSCore. It takes a string and writes a URL (if possible) and a string to the pasteboard. 2018-01-28 16:08:38 -08:00
Brent Simmons 9aa1d0a166 Add note about testing; add note about importing AppKit rather than Cocoa. 2018-01-28 15:14:33 -08:00
Brent Simmons 29fe1869aa Build contextual menus in MainWindowController extension. 2018-01-28 13:28:33 -08:00
Brent Simmons 199cfcb4eb Create ContextualMenuCreator. 2018-01-28 12:13:43 -08:00
Brent Simmons 285e3971d7 Re-sort the timeline when sort direction changes. Fix #65. 2018-01-28 11:45:18 -08:00
Brent Simmons 78e8823f23 Merge branch 'master' of https://github.com/brentsimmons/Evergreen 2018-01-28 11:33:58 -08:00
Brent Simmons ffd11b91ef Register for UserDefaults.didChangeNotification instead of using KVO on NSUserDefaultsController. 2018-01-28 11:33:45 -08:00
Brent Simmons 28c4ea82e5 Consider sort direction when sorting the Article array for the timeline. 2018-01-28 11:33:04 -08:00
Brent Simmons 144bccd45e
Merge pull request #305 from michaeljtsai/master
Share button now supports "EagleFiler Import" and "Add to Reading List".
2018-01-28 10:51:45 -08:00
Brent Simmons 6e63ce5968 Set the menu item state for the sort-by menu items. 2018-01-27 15:24:33 -08:00
Brent Simmons 8968d00d6d Validate sort-by menu items. 2018-01-27 15:13:45 -08:00
Brent Simmons 7e0917cb4e Add actions for sort menu items. 2018-01-27 15:11:02 -08:00
Brent Simmons b32d45cd60 Add isOpen property to MainWindowController. 2018-01-27 15:04:45 -08:00
Brent Simmons c2afd03d8c Add pref for timeline sorting direction. 2018-01-27 14:59:46 -08:00
Brent Simmons 19a46e9b20 Add Sort By submenu to View menu. 2018-01-27 14:59:35 -08:00
Brent Simmons 3ff00b7eb0 Make Go > Today, Unread, Starred commands work. Fix #310. 2018-01-27 12:39:07 -08:00
Brent Simmons 1a53e59c3a Set the feed directory window controller class in IB. 2018-01-27 12:35:32 -08:00
Brent Simmons ef8f508ee4 Add NSOutlineView extension methods: canSelectItem and selectItemAndScrollToVisible. 2018-01-27 12:34:53 -08:00
Brent Simmons 7ba2fe72dd Add descendantNodeRepresentingObject to Node.swift. 2018-01-27 12:03:17 -08:00
Brent Simmons 5888e1b7d0 Remove Debug menu when running a Release build. 2018-01-27 11:32:59 -08:00
Brent Simmons c66269bd61 Use the generic feed image in the Feed inspector when there’s no favicon or feed image. Fix #307. 2018-01-27 11:08:16 -08:00
Brent Simmons 33f9d31728 Back out of multiple window support. It will re-appear in 2.0. Add command to Window menu to show the main window if it’s been closed. Fix #301. 2018-01-27 10:43:09 -08:00
Brent Simmons 763da44440 Remove Go > Previous Unread (slated for 2.0). 2018-01-27 10:38:35 -08:00
Brent Simmons d64764ea4d Remove the Filter (search) control from the Feed Directory — punting this feature till 2.0. 2018-01-26 22:20:48 -08:00
Brent Simmons 5e7357cd90 Switch to using TimelineViewController for the Feed Directory. 2018-01-26 21:56:16 -08:00
Brent Simmons 717e60fcf6 Download feeds as needed for the Feed Directory. 2018-01-24 22:20:22 -08:00
Brent Simmons cf0d5cdc51 Remove unwanted debugging print statement. 2018-01-24 21:48:20 -08:00
Brent Simmons 9d5f7570eb
Merge pull request #308 from olofhellman/master
Scripting support for articles and article properties
2018-01-24 21:08:45 -08:00
Olof Hellman 903dff13d2 Add tests for simple article property script, fix error in previous
OPML xctest function (wrong name for test function).
2018-01-24 00:27:56 -08:00
Olof Hellman ed9b8c1804 revert development Team changes in pbxproj 2018-01-24 00:09:37 -08:00
Olof Hellman 31bd9d918c Scripting support for articles and basic article properties
Also, added support for accessing feeds directly from the top level
container, essentially skipping account as a hierarchy level.

With this change, a script like

tell app “Evergreen”
   title of every article of feed "Six Colors" where read is true
end tell

produces the expected result.
2018-01-24 00:06:34 -08:00
Olof Hellman c4542ac668 Merge remote-tracking branch 'brentsimmons/master' 2018-01-23 22:44:40 -08:00
Brent Simmons 72db8d62ae Update version and appcast. 2018-01-23 22:08:13 -08:00
Brent Simmons 8479693d4f Use updated app icons from Brad. 2018-01-23 21:51:30 -08:00
Brent Simmons f109237bfa Handle feed renames in the inspector. Handle multiple selection. Fix #137. 2018-01-23 21:49:33 -08:00
Brent Simmons aa32b09d2d Add updated nextUnread toolbar icons. 2018-01-23 21:25:30 -08:00
Brent Simmons bc1fe05e91 Move sentence about bindings to the right section. 2018-01-23 21:07:29 -08:00
Brent Simmons e780391906 Refer to Swift 4 instead of Swift 4.0. 2018-01-23 20:58:54 -08:00
Brent Simmons e613038d7c Revise one word: projects to frameworks. 2018-01-23 20:52:11 -08:00
Brent Simmons 493ea95d33 Add Technotes/CodingGuidelines 2018-01-23 20:47:09 -08:00
Brent Simmons b2d3084313 Make progress on editing names in the inspectors. 2018-01-22 22:01:25 -08:00
Brent Simmons 2cf0dbd96e Extend Notification.Name, not NSNotification.Name. 2018-01-22 22:00:01 -08:00
Brent Simmons 02ad70097e Send a Notification when a Folder’s name changes. 2018-01-22 21:59:13 -08:00
Brent Simmons 786138d6e7 Create postDisplayNameDidChangeNotification, so that a DisplayNameProvider can post a Notification when its name changes. 2018-01-22 21:58:53 -08:00