Commit Graph

179 Commits

Author SHA1 Message Date
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
a91fd53100 Reorder arguments to PostponingBlock.init. 2024-06-12 17:48:51 -07:00
Brent Simmons
57399838dc Add queueUpdateDockBadge. Use PostponingBlock instead of CoalescingQueue. 2024-06-12 17:40:16 -07:00
Brent Simmons
5d066e5d5c Add name parameter to PostponingBlock. Add notification appUnreadCountDidChange for when unread count changes for entire app. 2024-06-09 22:27:17 -07:00
Brent Simmons
447aa7a448 Empty more caches — reclaim more memory — on app resigning active. 2024-06-08 12:12:43 -07:00
Brent Simmons
cdc62c22ec Remove superfluous MainActor annotations. 2024-06-08 11:42:15 -07:00
Brent Simmons
fba8c52b67 Convert several methods to async await. 2024-05-05 17:08:30 -07:00
Brent Simmons
4b381daa92 Convert restoreWindow to async await. 2024-05-05 16:49:49 -07:00
Brent Simmons
1368f3dace Move images-related code into Images module. 2024-04-15 22:21:17 -07:00
Brent Simmons
6db1d40597 Replace forEach for for-in. 2024-04-07 17:06:39 -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
402ee970cc Convert markArticles to async await. 2024-03-26 18:48:44 -07:00
Brent Simmons
b2da353e8a Convert refreshAll to async/await. 2024-03-25 23:36:27 -07:00
Brent Simmons
455f60a224 Convert sendArticleStatusAll to async/await. 2024-03-25 23:11:39 -07:00
Brent Simmons
4990a99ba8 Fix some build warnings. 2024-03-24 22:42:48 -07:00
Brent Simmons
cda4c9eb29 Make ArticleThemeDownloader a struct with static funcs, which fixes the concurrency warning about the static shared property (which got removed). 2024-03-24 21:25:11 -07:00
Brent Simmons
b94935998b Use async versions of UNUserNotificationCenterDelegate functions. 2024-03-24 12:18:50 -07:00
Brent Simmons
797d7ef2e0 Fix Mac build errors. 2024-03-21 17:21:50 -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
b2d3128b2d Fix build errors. 2024-03-19 10:15:30 -07:00
Brent Simmons
e58f8ada42 Fix many build errors. 2024-03-18 21:08:37 -07:00
Brent Simmons
78047fcaf7 Get rid of SecretsManager. It wasn’t thread-safe, and it existed only for tests (and it wasn’t thread-safe for tests either). Pass SecretsProvider parameter where it’s needed. 2024-03-10 22:22:41 -07: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
25776ce0c3 Make AppDelegate a final class. 2024-02-23 21:40:41 -08:00
Brent Simmons
071d029818 Fix deprecation warning. 2023-12-13 20:07:58 -08:00
Brent Simmons
c05ef2344f Remove unused code and references to Twitter and Reddit. 2023-11-25 11:44:34 -08:00
Brent Simmons
7f295797ee Remove last references to isFeedProvider. Fix a couple warnings. 2023-06-25 16:19:20 -07:00
Brent Simmons
85704acd9c Remove FeedProviderManager and Feed Provider and remove references to them. 2023-06-25 16:11:55 -07:00
Brent Simmons
d232cf43c7 Remove showAddRedditFeedWindow function and all references to it. 2023-06-25 15:26:37 -07:00
Brent Simmons
4dd3d60c78 Create and use API to determine if there are any feeds that require the Reddit API. 2023-06-25 15:01:53 -07:00
Brent Simmons
e6a25f374a Show Reddit deprecation alert if needed. 2023-06-18 15:53:37 -07:00
Brent Simmons
0ba9a06b92 Update Twitter notice to not specify any dates. Bump version and build. 2023-03-13 21:44:32 -07:00
Brent Simmons
fda56b4423 Update the Twitter removal warning to say “later in February” instead of “February 9,” since Twitter postponed the removal date to the 13th, and might do so again. 2023-02-09 21:51:58 -08:00
Brent Simmons
e7ae7887e3 Add and use anyLocalOriCloudAccountHasAtLeastOneTwitterFeed in AccountManager. Simplify date comparison code. 2023-02-05 20:17:31 -08:00
Stuart Breckenridge
b83345a47f
Adds account type check for Twitter deprecation alert 2023-02-05 21:30:44 +08:00
Stuart Breckenridge
da91548875
Shows Twitter deprecation alert on macOS 2023-02-05 09:40:41 +08:00
Maurice Parker
6c1e1ea1c6 Remove Twitter integration. Fixes #3842 2023-02-03 19:00:13 -08:00
Maurice Parker
ea6e5b8434 Change to no longer copy app distributed themes to the Themes folder. Fixes #3447 2022-02-07 16:23:08 -08:00
Maurice Parker
0e641b4575 Correct label 2022-02-04 10:55:07 -08:00
Maurice Parker
ea7a101ca5 Change to point to the 6.1 documentation 2022-01-23 13:21:45 -08:00
Nate Weaver
604aa9e3f8 Fix compiler error with Xcode 12.4/Swift 5.3 2021-10-08 22:32:56 -05:00
Stuart Breckenridge
25f9896832 Localized strings for errors 2021-09-24 09:28:32 +08:00
Stuart Breckenridge
bd6095517b is missing instead of not found 2021-09-23 20:19:41 +08:00
Stuart Breckenridge
e9b84d9219 Theme Import/Opening Changes
Mac:
- Better error messages
- The alert displayed contains an additional button to open the theme's folder (when clicked it will not dismiss the alert).
2021-09-23 20:12:35 +08:00
Stuart Breckenridge
82a62712ce
Better error messages for decoding issues 2021-09-21 10:43:12 +08: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