Commit Graph

7911 Commits

Author SHA1 Message Date
Brent Simmons
c01e2d1682 Fix numerous concurrency warnings. 2024-03-24 12:37:55 -07:00
Brent Simmons
0f639085d6 Fix remaining concurrency warnings in AppDelegate (Mac). 2024-03-24 12:20:20 -07:00
Brent Simmons
b94935998b Use async versions of UNUserNotificationCenterDelegate functions. 2024-03-24 12:18:50 -07:00
Brent Simmons
55d67c3277 Fix concurrency warnings in RSAppMovementMonitor. 2024-03-24 12:14:32 -07:00
Brent Simmons
ae4dcc0b27 Make MainThreadOperationQueue MainActor. 2024-03-24 12:05:39 -07:00
Brent Simmons
e867487031 Make BatchUpdate MainActor. 2024-03-23 16:26:10 -07:00
Brent Simmons
177d660cff Fix numerous concurrency warnings. 2024-03-23 12:20:32 -07:00
Brent Simmons
acd86c9e2a Fix unreadCount-related concurrency issues. 2024-03-23 11:57:38 -07:00
Brent Simmons
101cf02fec Fix deprecation warning by removing reference to .activateIgnoringOtherApps. 2024-03-23 11:47:58 -07:00
Brent Simmons
0ecd219bae Move maxScreenScale to RSImage-Extensions. Mark IconScalerQueue as @unchecked Sendable (because it is). 2024-03-23 11:45:16 -07:00
Brent Simmons
d2d86fc782 Mark ImageResultBlock as Sendable. 2024-03-23 11:44:34 -07:00
Brent Simmons
ca89214903
Merge pull request #4246 from heckj/some-concurrency-warning-fixes
a suite of small concurrency warning fixes
2024-03-22 13:42:50 -07:00
Joe Heck
d28b36d15a updating based on PR feedback 2024-03-22 11:35:04 -07:00
Joe Heck
91ea6f28ee a suite of small concurrency warning fixes 2024-03-22 10:11:40 -07:00
Brent Simmons
b3464a2aa5 Fix iOS build errors. 2024-03-21 17:25:01 -07:00
Brent Simmons
797d7ef2e0 Fix Mac build errors. 2024-03-21 17:21:50 -07:00
Brent Simmons
9759d7dcd5 Make RSTree a local package. Fix concurrency warnings in the package. 2024-03-21 17:18:01 -07:00
Brent Simmons
ce2b2112d1 Make UnreadCountView.Appearance MainActor. 2024-03-21 17:17:24 -07:00
Brent Simmons
fb0479f324 Fix numerous concurrency warnings. 2024-03-21 09:46:40 -07:00
Brent Simmons
5bf5a067ab Turn off asset catalog symbols generation — because everything it generates triggers a concurrency warning. 2024-03-21 09:46:21 -07:00
Brent Simmons
1bdcc730c5 Turn off strict concurrency for CloudKitExtras. 2024-03-21 09:45:49 -07:00
Brent Simmons
69ca22aa51 Add Core scheme. 2024-03-20 22:14:52 -07:00
Brent Simmons
0d5021b25f Remove unused code from Core module. 2024-03-20 22:06:43 -07:00
Brent Simmons
f0b8b10b2d Remove unused code from UIKitExtras. 2024-03-20 22:00:02 -07:00
Brent Simmons
c911a3b257 Remove unused code in AppKitExtras. 2024-03-20 21:51:20 -07:00
Brent Simmons
21ca4fe0aa Remove unused code from FoundationExtras. 2024-03-20 21:37:53 -07:00
Brent Simmons
13871495f3 Update iOS code to handle module changes. 2024-03-20 20:54:21 -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
6ab10e871c Fix numerous concurrency warnings. 2024-03-19 20:33:54 -07:00
Brent Simmons
186deebf9b Turn on strict concurrency. Fix some issues. 2024-03-19 19:55:55 -07:00
Brent Simmons
b2d3128b2d Fix build errors. 2024-03-19 10:15:30 -07:00
Brent Simmons
5c6e5807d9 Change markAndFetchNew to just mark and get rid of the return value
which wasn’t used anywhere.
2024-03-18 21:39:13 -07:00
Brent Simmons
e58f8ada42 Fix many build errors. 2024-03-18 21:08:37 -07:00
Brent Simmons
2a44e1ccf1 Mark Article as Sendable. 2024-03-17 15:57:33 -07:00
Brent Simmons
2061adf595 Make ArticleStatus thread-safe and mark it as @unchecked Sendable. 2024-03-17 15:57:19 -07:00
Brent Simmons
f613340f2f Mark Author as Sendable. 2024-03-17 15:56:39 -07:00
Brent Simmons
c2aa49803f Fix numerous build errors. 2024-03-13 21:50:22 -07:00
Brent Simmons
ace9f8ea30 Fix numerous build errors. 2024-03-13 21:14:39 -07:00
Brent Simmons
6725bedc64 Fix several build errors. 2024-03-13 21:03:52 -07:00
Brent Simmons
5b4ffdafba Make Database module adhere to strict Swift concurrency. 2024-03-13 20:46:02 -07:00
Brent Simmons
3e6759c29a Make Articles module adhere to strict Swift concurrency. 2024-03-13 20:44:25 -07:00
Brent Simmons
1ddbe76653 Make SyncDatabase an actor and SyncStatusTable a struct. This matches the structure in ArticlesDatabase — and it makes sense, because the resource to be protected is the database, not the table. 2024-03-13 20:33:48 -07:00
Brent Simmons
123e72ba41 Add SyncDatabase scheme. 2024-03-13 20:19:26 -07:00
Brent Simmons
9906fbc295 Add ArticlesDatabase scheme. 2024-03-13 20:18:08 -07:00
Brent Simmons
2737091151 Simplify Package.swift. 2024-03-13 20:16:09 -07:00
Brent Simmons
248eb7d28f Rename databaseFilePath to just databasePath. Add a missing try?. 2024-03-13 20:13:59 -07:00
Brent Simmons
9b1aa8fc7f Make ArticlesDatabase an actor. No serial dispatch queue. 2024-03-12 23:01:35 -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
13403df8f1 Create new FMDatabase+Extras.swift and FMResultSet+Extras.swift. Rename DatabaseError.isSuspended to DatabaseError.suspended. 2024-03-10 18:42:54 -07:00