Commit Graph

204 Commits

Author SHA1 Message Date
Daniel Jalkut
c54d2f94cc Fix #547 by implementing state restoration in the sidebar and timeline view controllers. 2019-02-15 13:38:07 -05:00
Daniel Jalkut
cd695848f0 Change split view state restoration from user defaults to standard window restoration mechanism. I don't think you need to include the manual window frame autosave name stuff either because I think it's automatically handled by AppKit's default state restoration. 2019-02-15 11:16:38 -05:00
Daniel Jalkut
80cfc9c0fe Differentiate the color for code and pre blocks. 2019-02-15 09:34:12 -05:00
Brent Simmons
2dfec50261 Create and use DetailWebViewControllerDelegate. 2019-02-12 18:12:12 -08:00
Brent Simmons
9b92fcfc2c Make baseURL a private extension computed var for Article. 2019-02-11 22:43:04 -08:00
Brent Simmons
350ab27371 Start DetailWebViewController. This is part of working on the search feature. We’ll need two separate web views — one for search results, one for normal use. 2019-02-11 22:36:31 -08:00
Brent Simmons
4a8634c0e8 Import AppKit instead of Cocoa in the hopes of not getting the Swift Core Data library added (since we’re not using Core Data). 2019-02-11 22:35:42 -08:00
Brent Simmons
8de4ff4ee3 Rationalize the ArticleRenderer API. 2019-02-10 22:06:03 -08:00
Brent Simmons
9d9afea52a Simplify articles and article variables. 2019-02-10 21:46:53 -08:00
Brent Simmons
1498823c20 Simplify communication with DetailStatusBarView. 2019-02-10 21:39:11 -08:00
Brent Simmons
a74e0762e7 Simplify the view hierarchy for the detail view — remove one unneeded view. 2019-02-10 20:51:28 -08:00
Brent Simmons
c23bdc74cb Delete some commented-out code. 2019-02-10 17:47:17 -08:00
Brent Simmons
5dbf194875 Delete some commented-out text. 2019-02-10 17:16:23 -08:00
Brent Simmons
7f4634b790 Get rid of TimelineContextualMenuDelegate. 2019-02-10 16:47:46 -08:00
Brent Simmons
68af34e397 Remove some commented-out code. 2019-02-10 16:36:56 -08:00
Brent Simmons
583ca1ac01 Move the sidebar contextual menu handling into SidebarViewController. 2019-02-10 12:27:22 -08:00
Brent Simmons
b910bdbf49 Remove some unused code. 2019-02-09 22:41:21 -08:00
Brent Simmons
39d07aec2e Remove MainWindowSplitView, which was unused. 2019-02-09 22:28:33 -08:00
Brent Simmons
8cb3658a78 Remove some old instances of fileprivate. 2019-02-09 22:22:12 -08:00
Brent Simmons
2d79253be5 Remove some unused code. 2019-02-09 22:19:25 -08:00
Brent Simmons
c40efd2c89 Remove some unused code. 2019-02-09 22:09:38 -08:00
Brent Simmons
b22a965777 Update version and appcast for 5.0d15. 2019-02-09 21:29:56 -08:00
Brent Simmons
df768da253 Stop using the builtin textField and imageView in the sidebar cell — this fixes the drag image issue. Fix #532. 2019-02-09 18:54:16 -08:00
Brent Simmons
1c2759dd2b Skip reloading HTML in the detail view when the article is set and it’s the same article that was already set. 2019-02-09 12:15:05 -08:00
Brent Simmons
59c879312a Bump version to 5.0d14. 2019-02-08 21:57:33 -08:00
Brent Simmons
4d3bceda93 Skip reloadData in TimelineViewController when the articles array represents the same articles as the previous array. Just reload visible cells in that case. 2019-02-08 19:53:41 -08:00
Brent Simmons
58012a97f3 Remove unused code. 2019-02-07 22:45:19 -08:00
Brent Simmons
0e31e526e4 Remove unused code from TimelineTableView. 2019-02-07 22:27:26 -08:00
Brent Simmons
7184f8c439 Remove unused code from TimelineTableRowView. 2019-02-07 22:24:41 -08:00
Brent Simmons
2ece915ac3 Do less work in timeline table cell views, which should make scrolling imperceptibly faster. 2019-02-07 22:01:31 -08:00
Brent Simmons
6fba06425c Allow for a drop-on index when dragging a single local feed. 2019-02-07 21:27:24 -08:00
Brent Simmons
04270aaad7 Make the rows in the sidebar a little taller, to provide some breathing room. Fix #534. 2019-02-07 21:07:40 -08:00
Maurice Parker
a520cdfa4b added accessibility label for sidebar cell 2019-02-06 14:37:58 -06:00
Brent Simmons
a09e4fdd2a Bump version to 5.0d13. 2019-02-05 22:29:38 -08:00
Brent Simmons
f09de46bbb Implement dragging multiple feeds in the sidebar. Use the same code for single and multiple cases. 2019-02-05 22:28:30 -08:00
Brent Simmons
ddccbdf610 Add addFeed and addFeeds to the Container protocol. This was confusing before. Now you can add directly to a Folder or Account. 2019-02-05 21:48:32 -08:00
Brent Simmons
c07119feba Implement accepting a single local feed drag and drop in the sidebar. 2019-02-05 21:01:53 -08:00
Brent Simmons
7ce4a21194 Add rebuildTreeAndRestoreSelection method and use it where appropriate in SidebarViewController. 2019-02-05 21:00:53 -08:00
Brent Simmons
3a5741a5dd Make exportDictionary and internalDictionary private vars instead of functions in FeedPasteboardWriter. 2019-02-05 21:00:10 -08:00
Brent Simmons
c4e97c028b Use semantic markup — header and article tags — in HTML view. 2019-02-04 18:03:35 -08:00
Brent Simmons
06d1acf05d Drop “macOS” from user-agent. The idea is to keep it as simple as possible so that it’s harder for sites to do fingerprinting. 2019-02-03 12:11:47 -08:00
Brent Simmons
c37a781908 Bump version to 5.0d12. 2019-02-03 12:08:51 -08:00
Brent Simmons
cda559728c Refresh smart feeds when articles refresh. 2019-02-03 12:06:11 -08:00
Brent Simmons
057504709b Start database window (a debugging thing). 2019-02-02 21:34:57 -08:00
Brent Simmons
3f57cdf4f7 Restore the selection after rebuilding the sidebar after a name change. 2019-02-02 17:01:40 -08:00
Brent Simmons
25b6027745 Re-sort the sidebar when the display name for a feed or folder changes. 2019-02-02 12:36:07 -08:00
Brent Simmons
51ef880d4f Remove the gear menu from the bottom of the sidebar. Animate in and out the refresh-status view (a la Mail). 2019-02-01 20:53:02 -08:00
Brent Simmons
21a5a00cd1 Moving some work from my laptop to my iMac. 2019-02-01 20:26:40 -08:00
Brent Simmons
5d569154e7 Bump version to 5.0d11. 2019-01-30 22:18:36 -08:00
Brent Simmons
a936c34c53 Further tighten up the timeline. Align the top of the avatar with the top of the text. 2019-01-30 21:51:35 -08:00