Commit Graph

8338 Commits

Author SHA1 Message Date
Brent Simmons 9b9d33f6ed Make FeedMetadataFile use DataFile. 2024-06-12 22:10:19 -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 7dc0d6cb23 Use queueMakeToolbarValidate. 2024-06-12 19:48:48 -07:00
Brent Simmons 57ac2d6b02 Use weak self in postponingBlock. 2024-06-12 17:55:24 -07:00
Brent Simmons d9f2607922 Capture self weakly in PostponingBlock. 2024-06-12 17:51:32 -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 950995688c Make block a MainActor block. 2024-06-12 17:39:54 -07:00
Brent Simmons 0c923a90db Fix bug fetching unread count for single feed. 2024-06-12 17:18:49 -07:00
Brent Simmons 9317874478 Fix performance issue on launch — ignore structure changes while loading from OPML until after loading. 2024-06-10 22:47:22 -07:00
Brent Simmons 7fe5f94262 Remove unused AddFeedType. 2024-06-10 22:18:49 -07:00
Brent Simmons c1f6026495 Rename Account.type to Account.accountType. 2024-06-09 22:53:19 -07:00
Brent Simmons 96fefbc800 Add logging to PostponingBlock. 2024-06-09 22:39:36 -07:00
Brent Simmons a8f952b710 Use Logger with OPMLFile. 2024-06-09 22:39:23 -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 3e53dfbfc6 Make SmartFeed MainActor. 2024-06-09 22:13:47 -07:00
Brent Simmons 74a42c6f3e Create and use PostponingBlock. 2024-06-09 22:10:20 -07:00
Brent Simmons 0d36face00 Remove unused saveQueue. 2024-06-09 13:13:35 -07:00
Brent Simmons 9c23b1351d Create and use DataFile class. Start getting away from CoalescingQueue, since it’s very objc. 2024-06-09 13:09:31 -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 447aa7a448 Empty more caches — reclaim more memory — on app resigning active. 2024-06-08 12:12:43 -07:00
Brent Simmons 4ec5990d8b Check if suspended in a couple additional places. 2024-06-08 12:02:18 -07:00
Brent Simmons fe49f3bbe4 Remove numerous superfluous MainActor annotations. 2024-06-08 11:58:30 -07:00
Brent Simmons f872f8aa86 Turn on strict concurrency. 2024-06-08 11:42:24 -07:00
Brent Simmons cdc62c22ec Remove superfluous MainActor annotations. 2024-06-08 11:42:15 -07:00
Brent Simmons 971f49a67e Delete no longer needed Scanner+Extensions. 2024-06-07 22:32:58 -07:00
Brent Simmons 3a992d4340 Convert downloader to async await. Convert FeedFinder to async await. 2024-06-07 22:28:24 -07:00
Brent Simmons 3df22da7d9 Move NewsBlur internal to NewsBlurAccountDelegate, so that each account type now has exactly one AccountDelegate file. 2024-06-04 20:38:41 -07:00
Brent Simmons ee8fa01d20 Move FeedlyOAuthAccountAuthorizationOperation into FeedlyAccountDelegate. 2024-06-04 20:27:31 -07:00
Brent Simmons 994098589b Create Account > AccountDelegates folder and put all the AccountDelegates there. 2024-06-04 20:25:38 -07:00
Brent Simmons ea661fbccd Remove some unused code. 2024-06-04 20:20:27 -07:00
Brent Simmons ef43773b07 Remove no-longer-used support for dependencies in MainThreadOperation. 2024-06-02 22:13:19 -07:00
Brent Simmons f7201ee73d Move CloudKitArticlesZoneDelegate to CloudKitSync module. 2024-06-02 21:04:40 -07:00
Brent Simmons 08a80cdfe9 Create ArticleSupport struct for CloudKitArticlesZoneDelegate to use instead of it having access to Account. (This is so it can be moved from the Account module to the CloudKitSync module.) 2024-06-02 21:02:13 -07:00
Brent Simmons 58ba14cd78 Add logging to FeedFinder. 2024-05-27 19:22:04 -07:00
Brent Simmons 9d747a99c9 Make add-feed work again. 2024-05-27 11:34:14 -07:00
Brent Simmons 545ed4ad56 Make find-feed window regular instead of HUD. 2024-05-26 23:05:56 -07:00
Brent Simmons 9864bd576c Call downloadProgress.clear(). 2024-05-26 23:05:35 -07:00
Brent Simmons ede43bb368 Fix a few bugs. 2024-05-26 22:18:06 -07:00
Brent Simmons 0ab4eac333 Remove code that sets User-Agent header — because it’s already set for the URLSession. 2024-05-26 21:12:35 -07:00
Brent Simmons 83840bd889 Add User-Agent header. 2024-05-26 20:59:14 -07:00
Brent Simmons b0263c4ff3 Add some logging to LocalAccountDelegate. 2024-05-26 12:33:10 -07:00
Brent Simmons b5d132717d Use a Set rather than an O(n) thing to unique DatabaseObjects. 2024-05-26 12:13:01 -07:00
Brent Simmons 666f1d9f4a Remove unused code in Keyboard.swift. Make the String extension private, since it’s used only in that file. 2024-05-26 11:56:37 -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 33215ba9e3 Update LocalAccountDelegate to use new FeedDownloader package. Temporarily comment-out feed refreshing in CloudKitAccountDelegate. 2024-05-25 22:48:50 -07:00
Brent Simmons ea3a78b841 Create FeedDownloader local package. 2024-05-25 22:48:17 -07:00
Brent Simmons fb5a1b28d0 Make DownloadSession use String identifier instead of AnyObject. 2024-05-25 22:47:55 -07:00
Brent Simmons 391408f00c Make DownloadSession use String identifier instead of AnyObject. 2024-05-25 22:47:19 -07:00