182 Commits

Author SHA1 Message Date
Brent Simmons
e990b7aab1 Get the app delegate the old-fashioned way. 2024-06-30 18:06:49 -07:00
Brent Simmons
9a26df89d1 Fix bug where sidebar unread count view would flicker as the timeline view controller unreadCount would be briefly 0 when it’s updating its unread count. 2024-06-21 18:09:28 -07:00
Brent Simmons
308a91cf4f Go back to CoalescingQueue because it was simpler to use than PostponingBlock. 2024-06-12 20:55:13 -07:00
Brent Simmons
c1f6026495 Rename Account.type to Account.accountType. 2024-06-09 22:53:19 -07:00
Brent Simmons
e74c81518e Remove no-longer-needed Unicode support for URL (since it’s part of iOS and macOS now). 2024-06-09 10:58:07 -07:00
Brent Simmons
fe49f3bbe4 Remove numerous superfluous MainActor annotations. 2024-06-08 11:58:30 -07:00
Brent Simmons
e275367664 Provide hash(into:) functions where the default implementation might be doing too much work. 2024-05-26 11:53:36 -07:00
Brent Simmons
401050465e Rename isNotifyAboutNewArticles to shouldSendUserNotificationForNewArticles 2024-05-25 23:05:38 -07:00
Brent Simmons
399703c2fe Rename completion to callback, since it wasn’t a completion handler. 2024-05-05 16:51:43 -07:00
Brent Simmons
c96a3c7e5c Rename completion to callback, since it wasn’t a completion handler. 2024-05-05 16:51:09 -07:00
Brent Simmons
1368f3dace Move images-related code into Images module. 2024-04-15 22:21:17 -07:00
Brent Simmons
d1dc4cceec Fix numerous concurrency warnings. 2024-04-07 21:32:47 -07:00
Brent Simmons
6db1d40597 Replace forEach for for-in. 2024-04-07 17:06:39 -07:00
Brent Simmons
0949aefa93 Fix concurrency warnings by marking things as MainActor. 2024-04-02 22:26:16 -07:00
Brent Simmons
8fa2d9bda4 Convert createFeed to async await. 2024-04-02 20:46:28 -07:00
Brent Simmons
323d0404f2 Convert moveFeed to async await. 2024-04-02 20:17:03 -07:00
Brent Simmons
e56b1513b6 Move RSWeb from remote to local project; rename as Web. 2024-04-01 19:31:57 -07:00
Brent Simmons
c5441bddc3 Convert addFeed to async await. 2024-03-28 08:24:35 -07:00
Brent Simmons
6ad90583a4 Convert renameFeed and renameFolder to async await. 2024-03-27 17:49:09 -07:00
Brent Simmons
c68738bf64 Convert createFolder to async await. 2024-03-26 22:18:48 -07:00
Brent Simmons
27d27cbf1a Mark many things as MainActor and deal with the fallout. 2024-03-25 21:10:37 -07:00
Brent Simmons
8ad09228db Mark several classes as final. 2024-03-24 21:24:31 -07:00
Brent Simmons
797d7ef2e0 Fix Mac build errors. 2024-03-21 17:21:50 -07:00
Brent Simmons
ce2b2112d1 Make UnreadCountView.Appearance MainActor. 2024-03-21 17:17:24 -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
d0760f3d12 Continue fixing concurrency warnings. 2024-03-19 23:05:30 -07:00
Brent Simmons
e58f8ada42 Fix many build errors. 2024-03-18 21:08:37 -07:00
Ethan Wong
711eeddecc Do not make the sidebar first responder when it’s collapsed. 2024-02-27 22:16:38 -08:00
Brent Simmons
9129cd382c Remove some no-longer-needed #available checks. 2024-02-27 20:02:31 -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
fb51185c05 Remove references to isFeedProvider. 2023-06-25 16:15:21 -07:00
Brent Simmons
06910b1e58 Avoid force-unwrapping, which was causing a crash. Add an assertionFailure so we can catch this issue in the act — we need to know why an item would not be a Node. Fix https://github.com/Ranchero-Software/NetNewsWire/issues/3824 2023-01-22 14:57:56 -08:00
Maurice Parker
f9af3c786b Merge branch 'ios-candidate' 2021-05-25 20:12:50 -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
Stuart Breckenridge
5af2643479
standardised naming 2021-04-19 11:21:00 +08:00
Stuart Breckenridge
d4130e7c65
Corrects naming convention
[iOS]
Twitter: Notify about new tweets
Reddit: Notify about new posts
Default: Notify about new articles
+ Fixes alignment issues in the inspector view

[macOS]
Twitter: Show notifications for new tweets
Reddit: Show notifications for new posts
Default: Show notifications for new articles
2021-04-19 11:10:57 +08:00
Stuart Breckenridge
4e517a6db4
Disable Reader View
This commit:
- adds a `isFeedProvider: Bool` property to `WebFeed`
- if `isFeedProvider` is `true`, the article extractor is disabled on the inspector, hidden from the context menu, and the toolbar button is disabled. Additionally, if `isFeedProvider` is `true`, `isArticleExtractorAlwaysOn` returns `false` and cannot be set to `true`.
2021-04-09 07:47:14 +08:00
Maurice Parker
ab5421f533 Merge branch 'mac-release' into main 2021-03-27 17:21:49 -05:00
Maurice Parker
52f11ff538 Add validateFeed parameter to createWebFeed 2021-03-15 18:01:12 -05:00
Maurice Parker
f1e4d70481 Simplify the folder copy logic 2021-03-15 17:47:53 -05:00
Maurice Parker
d57cb7b21f Delete obsolete code 2021-03-15 17:35:23 -05:00
Maurice Parker
7e4e7091e2 Delete obsolete code 2021-03-15 17:33:12 -05:00
Maurice Parker
bf76cb810d Change to always copy between accounts. Fixes #2871 2021-03-11 19:43:05 -06:00
Maurice Parker
74298e7cde Add hidden GruberFeedDoubleClickMarkAsRead preference 2021-02-26 17:38:26 -06:00
Maurice Parker
1f159a5bff Change drag-n-drop behavior to default to copy when dragging between accounts 2021-02-22 18:50:29 -06:00
Maurice Parker
afd9a47abd Change so that we only show one error dialog when folder moves/copies can't find one or more feeds. 2021-02-22 17:50:30 -06:00