Commit Graph

107 Commits

Author SHA1 Message Date
Brent Simmons
9d39ae2de4 Create and use AppImages.swift for widely-referenced images. 2018-02-17 18:19:25 -08:00
Brent Simmons
c5ed540194 Use CoalescingQueue.standard instead of one created by AppDelegate. 2018-02-17 17:45:05 -08:00
Brent Simmons
c8fa1b71d9 Create and use a fetchAndMergeArticlesQueue (coalescing queue) for TimelineViewController. 2018-02-17 15:29:55 -08:00
Brent Simmons
7bcb8f7d12 Use appDelegate’s coalescing queue for reloading visible cells. 2018-02-17 15:16:30 -08:00
Brent Simmons
8e18c85b58 Remove no-longer-valid comment. 2018-02-17 12:36:18 -08:00
Brent Simmons
c048b6bea0 Delete now-unused data source methods from TimelineViewController.. 2018-02-17 12:29:57 -08:00
Brent Simmons
673686ca68 Create TimelineDataSource as part of making TimelineViewController less big. 2018-02-17 12:21:15 -08:00
Brent Simmons
21f262e953 Make mark-as-starred menu item work; make it validate; change its name as needed. 2018-02-17 12:01:14 -08:00
Brent Simmons
1603d0b3f2 Make progress on the star/unstar command and on updating its toolbar item. 2018-02-16 22:35:04 -08:00
Brent Simmons
e1a51b8acd When updating a timeline that’s already displaying, merge articles by articleID, so that updated versions replace older versions. 2018-02-16 21:21:27 -08:00
Brent Simmons
2f21dbf6be Remove extraneous get { from a bunch of read-only accessors. 2018-02-14 13:14:25 -08:00
Brent Simmons
09b8cd7811 Support the Copy command in the timeline. Fix #114. 2018-02-12 13:04:07 -08:00
Brent Simmons
1aac355418 Make all senders parameters for actions optional — Any? instead of AnyObject or Any. 2018-02-11 18:58:50 -08:00
Brent Simmons
46e0f781f8 Skip clearing undo stack when timeline view changes articles. Fix #341. 2018-02-11 17:45:02 -08:00
Brent Simmons
c8d2fac9a6 Rename MarkReadOrUnreadCommand to MarkStatusCommand and make it handle starring/unstarring and deleting/undeleting. Also: add contextual menu for smart feeds in the sidebar. 2018-02-11 12:59:35 -08:00
Brent Simmons
f5bfadfb33 Make the UnreadFeed conform to ArticleFetcher. It now displays articles in the timeline when selected. 2018-02-10 13:00:53 -08:00
Brent Simmons
d46ae4df33 Add contextual menu to timeline. 2018-02-09 23:16:12 -08:00
Brent Simmons
582fd62080 Start work on timeline contextual menus. 2018-02-08 13:24:43 -08:00
Brent Simmons
765a91dd34 Restore selection in timeline after reload due to font size change. 2018-02-07 21:48:51 -08:00
Brent Simmons
2797c607c3 Update row height in timeline when font setting changes. 2018-02-07 21:46:54 -08:00
Brent Simmons
50dcf436d9 Change Cocoa imports to AppKit imports, because we don’t need CoreData imported (which Cocoa imports). 2018-02-02 22:51:32 -08: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
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
Michael Tsai
063ed29d5d Share button now supports "EagleFiler Import" and "Add to Reading List".
List .URL before .string in the pasteboard types because otherwise the system will not propose sharing services that receive URLs but not text.
2018-01-22 11:02:29 -05:00
Brent Simmons
807ad99aad Add new articles to the timeline when a feed that affects the timeline gets new articles. Fix #166. 2018-01-20 16:54:18 -08:00
Brent Simmons
9fea9c2d12 Create and use fetchUnsortedArticles(for:), which is common code that needed to be a separate function. 2018-01-17 22:03:13 -08:00
Brent Simmons
21f1863cd0 Unbreak the build by commenting out some in-progress code. 2018-01-17 21:51:24 -08:00
Brent Simmons
6b059671f5 Make progress on reloading timeline when feed updates. 2018-01-17 17:28:09 -08:00
Brent Simmons
c3bcf82713 Make the send-to-Micro.blog command work. Need some tweaking, but it mostly does the job. 2018-01-11 22:18:46 -08:00
Brent Simmons
ccc699741d Decrease the opacity of the placeholder color for avatars in the timeline. 2018-01-09 21:33:13 -08:00
Brent Simmons
8b2f9b333a Make feed icons and favicons show up more quickly and reliably in the timeline. 2018-01-09 21:09:09 -08:00
Brent Simmons
1b0648cd18 Make feed icons show up more promptly and reliably in the timeline. 2018-01-08 21:34:39 -08:00
Brent Simmons
0a1642abdf Draw a white unread indicator in the timeline when the cell is selected and emphasized. Fix #112. 2018-01-06 14:33:16 -08:00
Brent Simmons
0d4a58e2ab Create and use an NSTableView extension method: indexesOfAvailableRowsPassingTest. 2018-01-06 12:12:31 -08:00
Brent Simmons
cfcfe2b4b5 Make reloading the timeline cells even more efficient upon avatar-download. 2018-01-06 11:56:32 -08:00
Brent Simmons
f9b4e192e0 Make updating the timeline cells more efficient after downloading an avatar. 2018-01-06 11:18:03 -08:00
Brent Simmons
45f3f49a1f Fix bug where user avatars wouldn’t always show up in the timeline view promptly. 2018-01-05 13:22:16 -08:00
Brent Simmons
665561e5eb Show avatars in the timeline at the right times. 2018-01-04 21:20:09 -08:00
Brent Simmons
867e775e69 Show feed icons and avatars in the timeline. 2017-12-31 12:10:30 -08:00
Brent Simmons
b35193b823 Make timeline cell height calculation reliable by considering all the rects, instead of assuming that one or another is the determining rect. 2017-12-31 12:08:25 -08:00
Brent Simmons
04c35dc1bf Comment out code for showing favicons in the timeline, since I don’t think we’re going to do that. But not totally sure yet. 2017-12-30 16:12:49 -08:00
Brent Simmons
befc5efc77 Show feed names and favicons in timeline when appropriate.
I don’t quite like this. Maybe avatars are better.
2017-12-30 12:45:10 -08:00
Brent Simmons
0c54e61fbc Update the showFeedNames timeline property based on what will be shown in the timeline. 2017-12-30 10:56:58 -08:00
Brent Simmons
1d2d048207 Create two UTI types for articles, one public and one internal. 2017-12-26 16:18:46 -08:00
Brent Simmons
2dbb0a4988 Validate the Mark Older Articles as Read command. 2017-12-25 12:21:44 -08:00
Brent Simmons
c38b46a29e Implement markOlderArticlesAsRead. Fix #199. 2017-12-25 10:40:06 -08:00
Brent Simmons
70000c1d31 Progress on keyboard shortcuts. Add link to Technotes in Help menu. Fix #266. 2017-12-20 21:23:48 -08:00