Commit Graph

297 Commits

Author SHA1 Message Date
Brent Simmons
1368f3dace Move images-related code into Images module. 2024-04-15 22:21:17 -07:00
Brent Simmons
53215c1f80 Id -> ID renaming. 2024-04-07 16:09:23 -07:00
Brent Simmons
b3464a2aa5 Fix iOS build errors. 2024-03-21 17:25:01 -07:00
Brent Simmons
797d7ef2e0 Fix Mac build errors. 2024-03-21 17:21:50 -07:00
Brent Simmons
13871495f3 Update iOS code to handle module changes. 2024-03-20 20:54:21 -07:00
Brent Simmons
2461e937bf Replace RSCore with several local modules. Update code as needed. 2024-03-20 20:49:15 -07:00
Brent Simmons
b2d3128b2d Fix build errors. 2024-03-19 10:15:30 -07:00
Brent Simmons
0c9786f1a2 Rename FeedNode to SidebarItemNode. 2024-03-03 23:01:00 -08:00
Brent Simmons
61496e138f Restore several of Maurice’s changes, including the new three-pane split view. 2024-03-03 22:51:53 -08:00
Brent Simmons
f54fe338cd Remove WebViewProvider and PreloadedWebView. This is really Maurice’s change but I’ve changed things so much that I don’t think I can cherry-pick it. There’s going to be a lot of that coming up. 2024-02-29 20:48:04 -08:00
Brent Simmons
0929aedd46 Use sidebarItemID in place of feedID or feedIdentifier when the type is SidebarItemID. 2024-02-26 21:47:24 -08:00
Brent Simmons
fea6d03bc3 Remove Master from names. 2024-02-26 08:37:15 -08:00
Brent Simmons
4c866b7230 Rename WebFeed and webFeed to Feed and feed. 2024-02-25 23:12:21 -08:00
Brent Simmons
b705433270 Rename WebFeed to Feed. 2024-02-25 21:41:18 -08:00
Brent Simmons
b25c9eae94 Rename feedID to sidebarItemID. 2024-02-25 21:34:22 -08:00
Brent Simmons
a75e5eb52a Rename FeedIdentifier to SidebarItemIdentifier. Rename FeedIdentifiable to SidebarItemIdentifiable. 2024-02-25 21:17:00 -08:00
Brent Simmons
d5794a7b4e Rename Feed protocol to SidebarItem. 2024-02-25 21:14:10 -08:00
Brent Simmons
a8d5458f99 Fix deprecation warnings. 2024-02-25 18:56:41 -08:00
Brent Simmons
c05ef2344f Remove unused code and references to Twitter and Reddit. 2023-11-25 11:44:34 -08:00
Dimitris Apostolou
94ae4d348c
Fix typos 2022-01-05 00:25:20 +02:00
Maurice Parker
09652bff81 Remove Mark Read on Scroll code 2021-12-29 14:44:40 -08:00
Maurice Parker
1bc46f1251 Fix initial sidebar load - selected item wasn't getting reloaded correctly 2021-11-18 12:25:43 -06:00
Stuart Breckenridge
8b39dc4abb Uses SceneCoordinator
Adds a `func` to SceneCoordinator to handle dismisses vis-a-vis using notifications.
2021-11-08 09:52:12 +08:00
everhardt
8e53768033 Mark bottom items in feed as read after 2 seconds on iOS
In case markArticlesAsReadOnScroll is set
2021-10-30 11:17:59 +02:00
everhardt
3b6a3cf4e7 Do not mark articles as read on scroll when they were manually toggled 2021-10-30 10:37:10 +02:00
Maurice Parker
5f4409ca1f Remove deferrer feed and article select hack 2021-10-21 13:08:18 -05:00
Maurice Parker
f93cedfca0 Rebuild the backing stores when selecting a different feed and the read feeds filter is enabled 2021-10-21 11:55:59 -05:00
Maurice Parker
245a648293 Remove code to auto expand reactivated accounts 2021-10-21 09:44:07 -05:00
Maurice Parker
08a1e79e7d Fix handling of how sections were added and remove 2021-10-20 20:37:29 -05:00
Maurice Parker
bbc7230e76 Refactor Diffable Datasources out of the Sidebar 2021-10-20 19:03:02 -05:00
Stuart Breckenridge
c29afd2677 try? changed to try with error handling 2021-09-21 09:22:45 +08:00
Stuart Breckenridge
78e0595708 Various ThemeDownloader Updates
- `try` added where applicable to ArticleTheme inits
- `ArticleThemePlist` has fixed spelling of theme identifier and conforms to Equatable
- `ArticleTheme` now uses `ArticleThemePlist`
-  `ArticleThemeDownloader` is now a class
- `ArticleThemeDownloader` will now download themes to Application Support/NetNewsWire/Downloads on macOS and iOS.
- `ArticleThemeDownloader` will remove downloaded themes from the Download folder when the application is closed.
- macOS app delegate now observes for theme download fails
- Error display code moved from SceneDelegate to SceneCoordinator so that it can use existing presentError on rootVC.
2021-09-21 09:10:56 +08:00
Maurice Parker
42bcaf7e55 Extract Theme Import logic so that it can be reused 2021-09-18 10:28:19 -05:00
Maurice Parker
ee2e2f8fa6 Merge branch 'ios-release' 2021-09-15 05:22:18 -05:00
Maurice Parker
5299134e01 Fix regression that broke state restoration on the iPhone 2021-09-15 05:05:58 -05:00
Maurice Parker
f44308c0c5 Make state restoration work on both the iPad and the iPhone 2021-09-13 02:22:15 -05:00
Maurice Parker
5001d82355 Restore article scroll position on iOS 2021-09-13 01:11:23 -05:00
Maurice Parker
04ff96c60a Fix variable name 2021-09-12 16:35:49 -05:00
Maurice Parker
cad91d9415 Add the ability to import themes on iOS 2021-09-12 14:46:15 -05:00
Maurice Parker
8633516cc6 Merge branch 'ios-release' 2021-09-11 14:28:20 -05:00
Maurice Parker
25946f3c5a Defer the selection of the feed and article on state restoration to avoid crashes on iPad's running iOS 15 in landscape mode as they restore article selected state. Fixes #3201 2021-09-11 14:28:00 -05:00
Maurice Parker
2e7bb5b752 Remove optimization that was preventing selection changes from rebuilding the sidebar. 2021-08-24 17:56:36 -05:00
Maurice Parker
168020cba2 Always updates the tree controller when collapsing and expanding. Fixes #3040 2021-08-24 16:55:44 -05:00
Maurice Parker
b27be9c8ea Don't animate the Feeds rebuild when responding to the initial unread count initialization. Fixes #2985 2021-06-15 16:35:29 -05:00
Brent Simmons
9d2c8f000f Create and use IconImageCache. It centralizes and de-dupes logic for getting feed/article images, and it caches the results, which helps performance. 2021-05-08 12:42:44 -07:00
Duncan Babbage
bc056e4952 Mark as read just before display. Fixes #3037
Marking an article as read just before navigating to it prevents the read status from flashing unread/read on display when swiping to new unread articles, or navigating with the next article toolbar button.
2021-04-29 22:46:52 +12:00
Duncan Babbage
9092d075a0 Handle links with unencoded spaces. Fixes #3069 2021-04-28 22:49:32 +12:00
Maurice Parker
c47480614c Fix regression where marking all as unread wouldn't take you back to the sidebar 2021-04-12 21:09:34 -05:00
Maurice Parker
991297165b Add completion callbacks so that we can ensure that unreads have been marked before determining the next unread. Fixes #2993 2021-04-12 19:42:05 -05:00
Maurice Parker
1a65211f19 Change how smart feeds are shown so that they appear even if they have been filtered 2020-11-19 05:23:07 -06:00