Commit Graph

8017 Commits

Author SHA1 Message Date
Brent Simmons 057d35030b Fix some build errors. 2024-04-06 22:24:15 -07:00
Brent Simmons d132dd7cee Fix concurrency warnings in MacWebBrowser. 2024-04-06 22:21:29 -07:00
Brent Simmons db1b27a98f Turn strict concurrency on. 2024-04-06 22:21:17 -07:00
Brent Simmons 35f7798532 Fix some deprecation warnings in MacWebBrowser. 2024-04-06 22:13:50 -07:00
Brent Simmons bd077687c1 Fix some build errors. 2024-04-06 22:09:17 -07:00
Brent Simmons 7311c25d35 Delete more unused code from Reachability. 2024-04-06 19:13:42 -07:00
Brent Simmons 3b59ffc446 Use new Reachability.internetIsReachable. 2024-04-06 19:02:11 -07:00
Brent Simmons 46645f700a Fix concurrency warnings in Transport. 2024-04-06 19:01:27 -07:00
Brent Simmons 6053c58334 Mark DownloadWithCacheManager as MainActor. 2024-04-06 19:01:13 -07:00
Brent Simmons 504ebc7b45 Delete unused code in Reachability and add internetIsReachable var. 2024-04-06 19:00:59 -07:00
Brent Simmons c666028f0b Fix concurrency warnings in DownloadSession. 2024-04-06 18:36:34 -07:00
Brent Simmons 5f82750679 Make UTS46 code concurrency-safe. 2024-04-06 18:35:46 -07:00
Brent Simmons ced40d5e8a Fix deprecation warning. 2024-04-06 18:21:03 -07:00
Brent Simmons feb1e77424 Mark delegate methods as nonisolated to fix concurrency warning. Use MainActor.assumeIsolated because we did specify the main queue for these methods. 2024-04-06 18:20:48 -07:00
Brent Simmons 2c91765896 Disable (temporarily) strict concurrency for the Web module. 2024-04-06 17:49:01 -07:00
Brent Simmons 2eb14ada1f Create CommonErrors module. 2024-04-06 17:46:17 -07:00
Brent Simmons fbc0c72cd5 Make various tweaks, mostly formatting and Id -> ID changes, to ReaderAPI. 2024-04-06 13:14:03 -07:00
Brent Simmons 5555ae5adc Create ReaderAPI module. 2024-04-06 13:06:24 -07:00
Brent Simmons 552753abd2 Remove unused trys. 2024-04-06 12:10:01 -07:00
Brent Simmons 547fc4a676 Convert ReaderAPI code to async await. 2024-04-06 12:06:17 -07:00
Brent Simmons e7abe3fa7a Add async methods to Transport. 2024-04-06 12:06:06 -07:00
Brent Simmons cee961cfa5 Mark Transport as Sendable. 2024-04-06 12:05:53 -07:00
Brent Simmons 61af38fabf Convert validateCredentials to async await. 2024-04-05 21:29:19 -07:00
Brent Simmons 1ad010d4f8 Mark Credentials types Sendable. 2024-04-05 21:28:54 -07:00
Brent Simmons 0f80c932a1 Add async cover methods to Transport. 2024-04-05 18:29:23 -07:00
Brent Simmons ad151b5fa4 Convert the last completion-based API in Account to async await. 2024-04-05 18:16:52 -07:00
Brent Simmons cf855466b3 Delete ArticlesDatabaseCompatibility.swift 2024-04-05 18:04:38 -07:00
Brent Simmons 851296144e Convert various status-marking methods to async await. 2024-04-05 18:03:03 -07:00
Brent Simmons cc276dad2a Mark RetentionStyle as Sendable. 2024-04-04 22:06:56 -07:00
Brent Simmons 9f67b3f498 Convert account.update to async await. 2024-04-04 22:05:46 -07:00
Brent Simmons a88d57952e Convert update methods to async await. 2024-04-04 21:15:13 -07:00
Brent Simmons 3f2db0ef12 Make .mark functions async await. 2024-04-04 20:47:13 -07:00
Brent Simmons 26de8d8b9c Mark ArticleStatus.Key as Sendable. Put the locks in the right places. 2024-04-04 20:44:40 -07:00
Brent Simmons 7f71223387 Delete completion version of fetchArticleIDsForStatusesWithoutArticlesNewerThanCutoffDate. 2024-04-04 18:45:12 -07:00
Brent Simmons 2b6bb5c615 Convert fetchArticleIDsForStatusesWithoutArticlesNewerThanCutoffDate to async await. 2024-04-04 18:44:18 -07:00
Brent Simmons e523e06efe Convert createStatusesIfNeeded to async await. 2024-04-04 17:37:13 -07:00
Brent Simmons 1824c15ddc Delete fetchStarredArticleIDsAsync. 2024-04-03 22:42:32 -07:00
Brent Simmons 3c59a04e98 Convert fetchStarredArticleIDs to async await. 2024-04-03 22:32:22 -07:00
Brent Simmons 186b9fbfba Delete fetchUnreadArticleIDsAsync. 2024-04-03 22:24:36 -07:00
Brent Simmons ba5fc89cbc Convert fetchUnreadArticleIDs to async await. 2024-04-03 22:23:38 -07:00
Brent Simmons 0607b55258 Convert completion-based delete method to async await. 2024-04-03 22:06:08 -07:00
Brent Simmons f0634d7ab0 Delete no-longer-used fetchStarredAndUnreadCount completion block version. 2024-04-03 21:53:11 -07:00
Brent Simmons 2eeb0050e2 Remove some no-longer-used completion-based API. 2024-04-03 21:49:52 -07:00
Brent Simmons aa4ed5bdda Remove some no-longer-used completion-based API. 2024-04-03 21:41:27 -07:00
Brent Simmons 394fd918a7 Fetch articles via async await. 2024-04-03 21:31:20 -07:00
Brent Simmons 591601d87e Convert validateCredentials to async await. 2024-04-03 21:15:13 -07:00
Brent Simmons 1745edae14 Mark TodayFeedDelegate as MainActor. 2024-04-03 20:11:09 -07:00
Brent Simmons d401378dca Drop the completion block from unread-count-fetching. 2024-04-02 22:44:33 -07:00
Brent Simmons 0949aefa93 Fix concurrency warnings by marking things as MainActor. 2024-04-02 22:26:16 -07:00
Brent Simmons 3fea0f0758 Fix numerous concurrency warnings by marking things as Sendable or as MainActor. 2024-04-02 22:07:19 -07:00