Commit Graph

196 Commits

Author SHA1 Message Date
Brent Simmons
eb84862379 Create and use UnreadCountFormatter. Fix #3892. 2024-10-26 21:57:58 -07:00
Brent Simmons
b8218c0b87 Remove unused delegates. 2024-10-14 23:01:24 -07:00
Brent Simmons
ce2a45503b Adopt updated DownloadWithCacheManager. 2024-10-14 20:56:53 -07:00
Brent Simmons
2ae6eaba9f Flatten AppAsset — the inner structs were too cute. 2024-09-30 22:16:54 -07:00
Brent Simmons
4b646e42c2 Write first version of Swift-based SAXParser. 2024-08-18 17:25:29 -07:00
Brent Simmons
030d101634 Continue moving from AppAssets to AppAsset. 2024-07-09 21:08:34 -07:00
Brent Simmons
89a967106d Create importFeedsIfNeeded shared AppDelegate method. 2024-07-07 16:59:54 -07:00
Brent Simmons
c784569040 Make AccountManager init itself, and use AccountManager.shared in AppDelegate. 2024-07-07 16:23:47 -07:00
Brent Simmons
aa807249b9 Make ArticleExtractor reference SecretKey instead of passing in secrets. Remove unused imports of Secrets. 2024-07-07 15:48:56 -07:00
Brent Simmons
445306ef2a Get rid of SecretsProvider protocol. Stop passing secretsProvider around — just use SecretKey.whatever static properties. 2024-07-07 15:38:45 -07:00
Brent Simmons
85d977f4f8 Fix build errors related to ArticleThemesManager changes. 2024-07-06 20:37:30 -07:00
Brent Simmons
7beb818c67 Make ArticleThemesManager specify its folder itself. 2024-07-06 20:32:49 -07:00
Brent Simmons
09cadf7f52 Create handleUnreadCountDidChange as shared AppDelegate code. 2024-07-02 21:43:52 -07:00
Brent Simmons
ada9818541 Create and use shared initializeDownloaders AppDelegate function. 2024-06-30 18:14:01 -07:00
Brent Simmons
788cdc6ddc Remove global appDelegate variable from Mac. 2024-06-30 18:06:16 -07:00
Brent Simmons
a3ff92ec18 Delete code that is now in AppLocations. 2024-06-26 23:21:27 -07:00
Brent Simmons
83edb628ae Drop local properties and folder calculations for image downloaders. 2024-06-26 23:15:13 -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
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