18 Commits

Author SHA1 Message Date
Brent Simmons
4a5cb237a0 Delete last completion-based method in SyncDatabase. 2024-03-25 22:47:43 -07:00
Brent Simmons
c50ac0c84b Delete completion-based insertStatuses function. 2024-03-25 22:14:40 -07:00
Brent Simmons
8b84ed6e2f Delete completion-based selectPendingReadStatusArticleIDs method. 2024-03-25 22:07:21 -07:00
Brent Simmons
951349ffc5 Continue deleting completion-based functions in SyncDatabase. 2024-03-25 21:44:25 -07:00
Brent Simmons
4385b2d6b7 Delete SyncDatabase.resetSelectedForProcessing. 2024-03-25 21:18:27 -07:00
Brent Simmons
27d27cbf1a Mark many things as MainActor and deal with the fallout. 2024-03-25 21:10:37 -07:00
Brent Simmons
0fb5312139 Delete the completion-based deleteSelectedForProcessing method. 2024-03-24 23:44:25 -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
c2aa49803f Fix numerous build errors. 2024-03-13 21:50:22 -07:00
Brent Simmons
6725bedc64 Fix several build errors. 2024-03-13 21:03:52 -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
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
ee58096a48 Make SyncStatusTable an actor instead of using a serial dispatchQueue. 2024-03-10 16:35:55 -07:00
Maurice Parker
2bcbe58901 Back out unnecessary commit statement. 2022-03-26 16:15:43 -05:00
Maurice Parker
bf76aae903 Add a commit to make sure the database has uncommitted data for the following query. 2022-03-26 13:36:25 -05:00
Maurice Parker
bcd4d4e076 Fix crashing bug that can happen if a CloudKit record gets into an invalid state. 2020-12-13 12:01:55 -06:00
Maurice Parker
cba900d4e4 Remove synchronous sync database status insert function. 2020-10-25 12:32:12 -05:00
Maurice Parker
fbfdbb04c7 Convert Articles, ArticlesDatabase, and SyncDatabase to Swift Packages 2020-07-30 04:54:21 -05:00