Commit Graph
10887 Commits
Author SHA1 Message Date
Gwendal Roué d6b91eec85 [BREAKING] DatabaseReader async methods support Task cancellation 2024-09-01 15:35:37 +02:00
Gwendal Roué fa54b74eba [BREAKING] DatabaseWriter async methods support Task cancellation 2024-09-01 15:35:37 +02:00
Gwendal Roué 5ecf9f67fb Vendor AsyncSemaphore
Semaphores allow tests to precisely schedule ordering of async jobs
2024-09-01 15:24:39 +02:00
Gwendal Roué 40140afb8c SerializedDatabase support for async db access with support for Task cancellation 2024-09-01 15:24:39 +02:00
Gwendal Roué b85121d456 Database support for cancellation 2024-08-31 12:24:19 +02:00
Gwendal Roué e9d0d381f6 Fix concurrency warning with DispatchQueue.mainKey 2024-08-31 10:48:51 +02:00
Gwendal Roué bdccd110a7 Merge pull request #1607 from groue/dev/GRDB7-Sendable
GRDB 7: Add missing Sendable conformances
2024-08-31 10:45:19 +02:00
Gwendal Roué b1424d16d5 [BREAKING] PersistenceContainer is Sendable 2024-08-31 10:08:44 +02:00
Gwendal Roué c08b1fa7d5 ValueObservationScheduler is Sendable 2024-08-31 09:58:15 +02:00
Gwendal Roué 849bba2820 Refactor ValueReducer for Swift concurrency
The fetching facet of a ValueReducer is Sendable.
2024-08-27 08:31:28 +02:00
Gwendal Roué aac8720bc7 DatabaseRegionObservation is Sendable 2024-08-27 08:05:26 +02:00
Gwendal Roué c56b52980a DatabaseCancellable is Sendable 2024-08-27 08:05:26 +02:00
Gwendal Roué 4222854f8b DatabaseRegionConvertible is Sendable 2024-08-27 08:05:26 +02:00
Gwendal Roué 47aa1f58a7 TODO 2024-08-26 08:36:46 +02:00
Gwendal Roué cc5798cf1e WALSnapshotTransaction is Sendable 2024-08-26 08:27:34 +02:00
Gwendal Roué aff662c101 SQL is Sendable 2024-08-25 18:06:29 +02:00
Gwendal Roué 30569aba27 OrderedDictionary is conditionally Sendable 2024-08-25 18:06:29 +02:00
Gwendal Roué 56e2ab85b7 SQLAssociationCondition is Sendable 2024-08-25 18:06:29 +02:00
Gwendal Roué 0fdd910b08 ⚠️ Make TableAlias Sendable even if it is not yet. 2024-08-25 18:06:29 +02:00
Gwendal Roué 1036371dff DatabasePromise is Sendable 2024-08-25 18:06:29 +02:00
Gwendal Roué b0c5725075 OnDemandFuture fulfill is Sendable 2024-08-25 17:34:54 +02:00
Gwendal Roué b587afba0e Pool is Sendable 2024-08-25 17:28:02 +02:00
Gwendal Roué e93e4c5a31 ReadWriteBox is Sendable 2024-08-25 17:21:19 +02:00
Gwendal Roué 5333dbeff1 LogErrorFunction is Sendable 2024-08-25 16:26:38 +02:00
Gwendal Roué 7aff0b97c7 RowAdapter is Sendable 2024-08-25 16:26:38 +02:00
Gwendal Roué 961f6c4176 FilterCursor can't be made Sendable 2024-08-25 16:26:38 +02:00
Gwendal Roué 55cdb4e9a9 DatabaseMigrator is Sendable 2024-08-25 16:26:38 +02:00
Gwendal Roué c1f59dfa2a [BREAKING] DatabaseCollation is no longer Hashable 2024-08-25 15:42:06 +02:00
Gwendal Roué eedd165e5b DatabaseCollation is Identifiable 2024-08-25 15:42:06 +02:00
Gwendal Roué 405312f52e DatabaseCollation is Sendable 2024-08-25 15:42:06 +02:00
Gwendal Roué a5806a0020 [BREAKING] DatabaseFunction is no longer Hashable 2024-08-25 15:42:06 +02:00
Gwendal Roué 300e5fec6b DatabaseFunction is Identifiable 2024-08-25 15:42:06 +02:00
Gwendal Roué b752229c37 DatabaseFunction is Sendable 2024-08-25 15:42:06 +02:00
Gwendal Roué 876a0870ee Coding strategies are Sendable 2024-08-25 15:14:43 +02:00
Gwendal Roué 8e860e671b Configuration is Sendable 2024-08-25 15:07:53 +02:00
Gwendal Roué 0457a6262e TransactionClock is Sendable 2024-08-25 14:56:40 +02:00
Gwendal Roué ad74526f6a BusyCallback and BusyMode are Sendable 2024-08-25 14:50:42 +02:00
Gwendal Roué a7fe896272 Merge pull request #1606 from groue/dev/GRDB7-strategies
GRDB 7: coding strategies depend on the column
2024-08-25 14:47:05 +02:00
Gwendal Roué 7747211691 [BREAKING] databaseDateDecodingStrategy depends on the column 2024-08-25 14:06:57 +02:00
Gwendal Roué 95ca9f5bf3 [BREAKING] databaseDataDecodingStrategy depends on the column 2024-08-25 14:06:50 +02:00
Gwendal Roué bcd6e03d7a [BREAKING] databaseUUIDEncodingStrategy depends on the column 2024-08-25 14:06:44 +02:00
Gwendal Roué 7a8a9a9363 [BREAKING] databaseDateEncodingStrategy depends on the column 2024-08-25 14:06:35 +02:00
Gwendal Roué 1fe4df9438 [BREAKING] databaseDataEncodingStrategy depends on the column 2024-08-25 14:00:53 +02:00
Gwendal Roué c4507c5a00 .editorconfig 2024-08-25 13:51:11 +02:00
Gwendal Roué 5025ecc314 Merge pull request #1605 from groue/dev/GRDB7-DatabaseCursor-primary-associated-type
GRDB 7: DatabaseCursor has a primary associated type
2024-08-25 13:40:41 +02:00
Gwendal Roué b2286aaaab DatabaseCursor has a primary associated type 2024-08-25 13:08:46 +02:00
Gwendal Roué 490b4e5bfe Merge pull request #1604 from groue/dev/GRDB7-Mutex
GRDB 7: Move closer to SE-0433 Mutex
2024-08-25 12:59:08 +02:00
Gwendal Roué e72a37d7d5 Rename LockedBox to Mutex 2024-08-25 12:40:28 +02:00
Gwendal Roué 5af0bc69e4 Merge pull request #1603 from groue/dev/GRDB7-remove-DatabaseFuture
GRDB 7: Remove DatabasePool.concurrentRead
2024-08-25 11:59:29 +02:00
Gwendal Roué 1de32c267b [BREAKING] Remove DatabaseFuture and concurrentRead
That's one less DispatchSemaphore. We don't need this method anymore.
2024-08-25 11:07:05 +02:00