Gwendal Roué
|
b4ff52fb7d
|
DatabaseRegionObservation is Sendable
|
2024-07-28 13:59:38 +02:00 |
|
Gwendal Roué
|
ce63cdfa60
|
AsyncValueObservation is Sendable
|
2024-07-28 13:59:38 +02:00 |
|
Gwendal Roué
|
48ad10aea8
|
AssociationAggregate is Sendable
|
2024-07-28 13:59:38 +02:00 |
|
Gwendal Roué
|
b60da6b8c7
|
Delete obsolete Xcode/SPM file
It refers to CSQLite, and I could not have Xcode refresh it after I renamed CSQLite to GRDBSQLite: this file is obsolete.
|
2024-07-28 13:59:38 +02:00 |
|
Gwendal Roué
|
bf211e9ae3
|
Rename CSQLite to GRDBSQLite
Fix #1528
|
2024-07-28 13:59:38 +02:00 |
|
Gwendal Roué
|
94127bdca2
|
Disable Swiftlint rule non_optional_string_data_conversion, too many false positives
|
2024-07-28 13:59:38 +02:00 |
|
Gwendal Roué
|
19c3de96dd
|
Fix Swiftlint warnings
|
2024-07-28 13:59:38 +02:00 |
|
Gwendal Roué
|
8df18fb82b
|
Document that async methods can throw CancellationError
|
2024-07-28 13:59:38 +02:00 |
|
Gwendal Roué
|
5fad4fe028
|
Fix DocC warnings
|
2024-07-28 13:59:38 +02:00 |
|
Gwendal Roué
|
dcdcbf39e0
|
TODO
|
2024-07-28 13:59:38 +02:00 |
|
Gwendal Roué
|
3f1e37e3a6
|
Fix Xcode 15.4 compilation error
|
2024-07-28 13:59:38 +02:00 |
|
Gwendal Roué
|
0d989fa96e
|
TODO
|
2024-07-28 13:59:38 +02:00 |
|
Gwendal Roué
|
10c9d31149
|
DatabaseReader async methods support Task cancellation
|
2024-07-28 13:59:38 +02:00 |
|
Gwendal Roué
|
a52265016a
|
DatabaseWriter async methods support Task cancellation
|
2024-07-28 13:59:38 +02:00 |
|
Gwendal Roué
|
737cb14996
|
SerializedDatabase support for async db access with support for Task cancellation
|
2024-07-28 13:59:38 +02:00 |
|
Gwendal Roué
|
4ddf4bca5f
|
Database support for cancellation
|
2024-07-27 16:37:34 +02:00 |
|
Gwendal Roué
|
fa92ba6cd5
|
Vendor AsyncSemaphore
Source: https://github.com/groue/Semaphore/blob/0.0.8/Sources/Semaphore/AsyncSemaphore.swift
|
2024-07-27 16:37:34 +02:00 |
|
Gwendal Roué
|
9692c4458d
|
TODO
|
2024-07-27 16:37:34 +02:00 |
|
Gwendal Roué
|
43d163abe5
|
[BREAKING] Reorganize ValueObservation schedulers
# Conflicts:
# GRDB/ValueObservation/ValueObservationScheduler.swift
|
2024-07-27 16:37:33 +02:00 |
|
Gwendal Roué
|
08733108b4
|
ValueObservation a ValueReducer, not a _ValueReducer
|
2024-07-27 16:37:33 +02:00 |
|
Gwendal Roué
|
668cbc2281
|
Swiftlint: disable the colon rule that can't deal properly with the ternary operator
|
2024-07-27 16:37:33 +02:00 |
|
Gwendal Roué
|
5701bef497
|
Enable SE-0418 in demo apps
|
2024-07-27 16:37:33 +02:00 |
|
Gwendal Roué
|
db6da72bec
|
Xcode 15.4 recommended settings, fix ENABLE_MODULE_VERIFIER errors
|
2024-07-27 16:37:33 +02:00 |
|
Gwendal Roué
|
c508729dde
|
TODO
|
2024-07-27 16:37:33 +02:00 |
|
Gwendal Roué
|
e950955b25
|
StrictConcurrency/tests: upgrade demo apps for strict concurrency
|
2024-07-27 16:37:33 +02:00 |
|
Gwendal Roué
|
f4d9c97478
|
StrictConcurrency/tests: enable strict concurrency checks in other test projects
|
2024-07-27 16:37:33 +02:00 |
|
Gwendal Roué
|
0e18dae266
|
StrictConcurrency/tests: enable strict concurrency checks in SQLCipher tests
|
2024-07-27 16:37:33 +02:00 |
|
Gwendal Roué
|
7e2d096dca
|
StrictConcurrency: enable strict concurrency checks in demo apps
|
2024-07-27 16:37:33 +02:00 |
|
Gwendal Roué
|
c1de146a57
|
StrictConcurrency/tests: avoid warning about non-Sendable DispatchSpecificKey 🙄
|
2024-07-27 16:37:33 +02:00 |
|
Gwendal Roué
|
a12211bc28
|
StrictConcurrency/tests: fix ValueObservationRecorder warnings
|
2024-07-27 16:37:33 +02:00 |
|
Gwendal Roué
|
a45ba5a6e0
|
StrictConcurrency/tests: refactor busy handler tests
|
2024-07-27 16:37:33 +02:00 |
|
Gwendal Roué
|
3e57ce9e98
|
StrictConcurrency/tests: capture values instead of non-Sendable self
|
2024-07-27 16:37:33 +02:00 |
|
Gwendal Roué
|
2e10969634
|
StrictConcurrency/tests: introduce TestDatabaseBuilder that can connect from Sendable closures
|
2024-07-27 16:37:33 +02:00 |
|
Gwendal Roué
|
afcac0102f
|
⚠️ EXPERIMENTAL - SE-0430 sending parameter and result values
|
2024-07-27 16:37:33 +02:00 |
|
Gwendal Roué
|
bbb1a73672
|
StrictConcurrency/tests: use a single and Sendable test TextOutputStream
|
2024-07-27 16:37:33 +02:00 |
|
Gwendal Roué
|
5f8b39b7e6
|
StrictConcurrency: ValueObservation.print cautiously uses its stream argument
|
2024-07-27 16:37:33 +02:00 |
|
Gwendal Roué
|
2947b3d78b
|
StrictConcurrency/tests: ValueObservationRecorder is Sendable
|
2024-07-27 16:37:33 +02:00 |
|
Gwendal Roué
|
c3dab1c2da
|
StrictConcurrency: databaseDecodingUserInfo and databaseEncodingUserInfo must be declared as a computed property
|
2024-07-27 16:37:33 +02:00 |
|
Gwendal Roué
|
1544bd1158
|
StrictConcurrency: FetchableRecord.databaseDecodingUserInfo must be declared as a computed property
|
2024-07-27 16:37:33 +02:00 |
|
Gwendal Roué
|
c4dfa3d2ab
|
StrictConcurrency/tests: fix warning about mutable state
|
2024-07-27 16:37:33 +02:00 |
|
Gwendal Roué
|
b06aaee438
|
Association is Sendable
|
2024-07-27 16:37:33 +02:00 |
|
Gwendal Roué
|
09182b2ad7
|
StrictConcurrency/tests: fix warnings about concurrently-executed functions
|
2024-07-27 16:37:33 +02:00 |
|
Gwendal Roué
|
24d232aafd
|
StrictConcurrency: TableRecord.databaseSelection must be declared as a computed property
An alternative would have been to make SQLSelectable conform to Sendable. But this makes it harder for users to provide SQLSelectable types.
|
2024-07-27 16:37:33 +02:00 |
|
Gwendal Roué
|
1291bd7dea
|
StrictConcurrency/tests: fix warnings about mutable state
|
2024-07-27 16:37:33 +02:00 |
|
Gwendal Roué
|
cd73fdc7c3
|
⚠️ Enable SE-0418
TODO: Check if this works with Xcode 15.4?
|
2024-07-27 16:37:33 +02:00 |
|
Gwendal Roué
|
f175e3f384
|
StrictConcurrency/tests: Use a mutex for tracing allocations and deallocations
|
2024-07-27 16:37:33 +02:00 |
|
Gwendal Roué
|
45fd17028c
|
StrictConcurrency/tests: DispatchQueue.concurrentPerform wants Sendable closures
|
2024-07-27 16:37:33 +02:00 |
|
Gwendal Roué
|
e28558334f
|
StrictConcurrency/tests: XCTestCase.waitForExpectations is main-actor isolated
|
2024-07-27 16:37:33 +02:00 |
|
Gwendal Roué
|
75f67949ea
|
StrictConcurrency/tests: cleanup test SQL traces
|
2024-07-27 16:37:33 +02:00 |
|
Gwendal Roué
|
9e3e4158ff
|
StrictConcurrency/tests: fix warning in CombineExpectations
|
2024-07-27 16:37:33 +02:00 |
|