Commit Graph
10943 Commits
Author SHA1 Message Date
Gwendal Roué 7ac91619cb [BREAKING] databaseDateDecodingStrategy depends on the column 2024-07-30 08:43:28 +02:00
Gwendal Roué 8a680a9719 [BREAKING] databaseDataDecodingStrategy depends on the column 2024-07-30 08:43:28 +02:00
Gwendal Roué 919dad7ac1 [BREAKING] databaseUUIDEncodingStrategy depends on the column 2024-07-30 08:43:28 +02:00
Gwendal Roué fba8f86914 [BREAKING] databaseDateEncodingStrategy depends on the column 2024-07-30 08:43:28 +02:00
Gwendal Roué 2767dd5456 [BREAKING] databaseDataEncodingStrategy depends on the column 2024-07-30 08:43:28 +02:00
Gwendal Roué 662daabc32 Redo the watchOS demo with SwiftUI 2024-07-28 13:59:38 +02:00
Gwendal Roué e3009b1555 Fix compiler warnings in demo app 2024-07-28 13:59:38 +02:00
Gwendal Roué 78c794e140 Fix compiler warnings
Workaround https://github.com/swiftlang/swift/issues/75522
2024-07-28 13:59:38 +02:00
Gwendal Roué a2aac03510 Fix compiler warnings
Workaround https://github.com/swiftlang/swift/issues/75521
2024-07-28 13:59:38 +02:00
Gwendal Roué a6e05817b6 Enable InferSendableFromCaptures in tests 2024-07-28 13:59:38 +02:00
Gwendal Roué 738da3852c Fix concurrency warnings 2024-07-28 13:59:38 +02:00
Gwendal Roué 5cf3b5d44b ValueObservation requires Sendable values
This is required for handleEvents to do whatever it wants with observed values.
2024-07-28 13:59:38 +02:00
Gwendal Roué 7b075e6b3a DispatchQueue.asyncSending 2024-07-28 13:59:38 +02:00
Gwendal Roué f900990c5a TODO 2024-07-28 13:59:38 +02:00
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