Commit Graph

7899 Commits

Author SHA1 Message Date
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
Brent Simmons
b14127e4fa Remove some duplicate frameworks. 2024-03-10 18:32:13 -07:00
Brent Simmons
f2fea32111 Add swiftSettings for strict concurrency but comment it out for now. 2024-03-10 18:24:14 -07:00
Brent Simmons
917d433deb Fix several build issues. 2024-03-10 18:17:04 -07:00
Brent Simmons
64dc45ef38 Remove .dynamic from Articles and Secrets packages. 2024-03-10 16:45:24 -07:00
Brent Simmons
7f7aebc3a9 Add some missing import FMDB. 2024-03-10 16:44:16 -07:00
Brent Simmons
b662ad8ad3 Make local Database and FMDB modules. Stop using RSDatabase. 2024-03-10 16:39:38 -07:00
Brent Simmons
ee58096a48 Make SyncStatusTable an actor instead of using a serial dispatchQueue. 2024-03-10 16:35:55 -07:00
Brent Simmons
1a14d369bc Use Swift 5.10. 2024-03-06 21:22:03 -08:00
Brent Simmons
06ed7ac4be Fix ForEach warnings. 2024-03-06 21:21:50 -08:00
Brent Simmons
1b4e7501a5 Pull back on full strict concurrency. 2024-03-06 21:21:35 -08:00
Brent Simmons
384e21ffce Fix some missed class renames. 2024-03-05 21:19:06 -08:00
Brent Simmons
ebddf37f47 Create ArticleIconSchemeHandlerDelegate, so ArticleIconSchemeHandler doesn’t have to know about SceneCoordinator. 2024-03-05 21:18:46 -08:00