Commit Graph

8004 Commits

Author SHA1 Message Date
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
Brent Simmons
40abf257a6 Make RSParser a local module and rename it to Parser. 2024-04-02 21:43:06 -07:00
Brent Simmons
3859b8ff45 Convert createRSSFeed to async await. 2024-04-02 21:25:55 -07:00
Brent Simmons
c45c6eff0e Convert Account.update(feed, parsedFeed) to async await. 2024-04-02 21:25:41 -07:00
Brent Simmons
69fd496576 Add async version of InitialFeedDownloader.download. 2024-04-02 21:25:05 -07:00
Brent Simmons
f99e6b425c Add async version of FeedFinder.find. 2024-04-02 21:24:46 -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
3e37388604 Fix concurrency warning in IconImage. Make RSImage.appIconImage let instead of var. 2024-04-01 23:11:30 -07:00
Brent Simmons
9d6d15bd93 Fix a couple concurrency warnings. 2024-04-01 22:50:03 -07:00
Brent Simmons
6e8eecb6a9 Make ArticleExtractor MainActor; make it forget about SecretsProvider and the Secrets module. 2024-04-01 22:40:27 -07:00
Brent Simmons
1c9452a1c5 Make DownloadProgress and CombinedRefreshProgress MainActor. 2024-04-01 22:12:05 -07:00
Brent Simmons
83a067bda7 Make FeedlyCollectionProviding.collections MainActor. 2024-04-01 22:11:42 -07:00
Brent Simmons
b85b17c6cb Add Web scheme. 2024-04-01 22:11:24 -07:00