Tim De Jong
3dd3bbf0c5
vscode config
2025-10-12 18:03:57 +02:00
Tim De Jong
d7cf0f9e59
NSError bridging is not available, or doesn't work the same on non-Darwin platforms. Skip testNSErrorBridging on these platforms.
2025-10-12 18:03:57 +02:00
Tim De Jong
389c3e0d4a
Use #if !canImport(Combine) per test case (as done by @marcprux) and throw an XCTSkip for these test cases. This gives a better impression how many tests are skipped on Linux/non-Darwin platforms.
2025-10-12 18:03:57 +02:00
Tim De Jong
a212bf9e89
It should be canImport(Darwin) not os(Darwin)
2025-10-12 18:03:57 +02:00
Tim De Jong
65186104cc
Integrated upstream changes.
...
Some tests depend on Combine which is not available on non-Darwin platforms. Fix this.
2025-10-12 18:03:57 +02:00
Tim De Jong
2f108508fa
Fixed DatabaseSnapshotTests on non-darwin platforms
2025-10-12 18:03:57 +02:00
Tim De Jong
5513eab099
Fixed the tests in DatabaseQueueTests.swift
2025-10-12 18:03:57 +02:00
Tim De Jong
2ad2d20a89
Fixed the unit tests in DatabasePoolConcurrencyTests.
2025-10-12 18:03:57 +02:00
Tim De Jong
dd90fe6e62
Ignore ValueObservationRecorderTests.swift on non-Darwin platforms.
2025-10-12 18:03:57 +02:00
Tim De Jong
691207567a
Ignore FailureTestCase.swift entirely on non-Darwin platforms for now.
2025-10-12 18:03:57 +02:00
Tim De Jong
c7f1dd7470
Fixed import in CGFloatTests.swift to work under non-Darwin platforms.
2025-10-12 18:03:57 +02:00
Tim De Jong
8e5b9ca9bd
Fixed UUID fromDatabaseValue for non-Darwin platforms
2025-10-12 18:03:56 +02:00
Tim De Jong
dc7d47c066
Fixed databaseValue build for non-Darwin platforms.
2025-10-12 18:03:56 +02:00
Tim De Jong
14f60ad48f
Fixed fromDatabaseValue build under non-Darwin platforms
2025-10-12 18:03:56 +02:00
Tim De Jong
e758fde941
Removed #if !os(Linux) in NSString.swift, NSData.swift and Date.swift.
2025-10-12 17:43:25 +02:00
Tim De Jong
7477e1cff8
Removed the #if !os(Linux) compiler directive in the Decimal extension, as it compiles fine under swift 6
2025-10-12 17:43:15 +02:00
Tim De Jong
2d6fe172c3
Import Foundation for CGFloat on non-Darwin platforms
2025-10-12 17:43:02 +02:00
Tim De Jong
0526853dde
Fixed some linker errors caused by WAL absence on Linux.
2025-10-12 17:42:49 +02:00
Gwendal Roué
a60810f28e
Merge pull request #1819 from groue/dev/SQLCipher-cleanup
...
Accept multiple SQLCipher libraries
2025-10-12 15:46:52 +02:00
Gwendal Roué
c35095c6da
Enable more tests
2025-10-12 14:58:06 +02:00
Gwendal Roué
f878d99733
Use SQLITE_HAS_CODEC instead of GRDBCIPHER when testing for SQLCipher availability
...
GRDBCIPHER is now just a marker for importing SQLCipher with CocoaPods.
Also, enable all APIs that used to be disabled with SQLCipher, and skip tests that require a specific SQLite version.
2025-10-12 14:49:59 +02:00
Gwendal Roué
48a17ce490
Merge pull request #1826 from groue/dev/snapshot-cleanup
...
Simplify the compiler checks for the availability of SQLite snapshots
2025-10-12 14:27:06 +02:00
Gwendal Roué
361a482b1e
Enable SQLITE_ENABLE_SNAPSHOT by default and introduce SQLITE_DISABLE_SNAPSHOT
2025-10-12 14:03:09 +02:00
Gwendal Roué
8cba324d6e
Refactor the SQLite import
...
We can not use `#if Trait` because Xcode does not enable those compiler flags. Always count on Apple for delivering the best quality software.
So now we import the default SPM SQLite last, after all other cases have been excluded.
The GRDB framework (GRDB.xcodeproj and GRDB via CocoaPods) is distinct from the default SPM trait, so we detect it with GRDBFRAMEWORK.
2025-10-04 17:56:06 +02:00
Gwendal Roué
17e1683b66
Bump CI to macOS 15 and Xcode 16.4
2025-10-04 17:56:06 +02:00
Gwendal Roué
b1b83abd8b
Simplify the compiler checks for the availability of SQLite snapshots
2025-10-04 14:15:13 +02:00
Gwendal Roué
d06c9ed6b5
Enable SQLITE_ENABLE_SNAPSHOT in the Xcode GRDB framework
2025-10-04 14:15:13 +02:00
Gwendal Roué
9a98ed6292
Enable SQLITE_ENABLE_SNAPSHOT in the GRDBSQLite trait, on Darwin platforms
2025-10-04 14:15:13 +02:00
Gwendal Roué
5cc85a98f3
Only depend on GRDBSQLite when the default GRDBSQLite trait is active.
2025-10-04 13:53:38 +02:00
Gwendal Roué
edc1d646f0
[BREAKING] Bump minimum Swift version to 6.1
2025-10-04 13:53:38 +02:00
Gwendal Roué
ab09078842
Fix failing test for merged migration that merges itself
2025-10-03 09:36:22 +02:00
Gwendal Roué
267e1ea5a6
Add failing test for merged migration that merges itself
2025-10-03 09:34:26 +02:00
Gwendal Roué
18497b68fd
Merge branch 'development'
v7.8.0
2025-10-02 08:11:07 +02:00
Gwendal Roué
19e33e2e7d
v7.8.0
2025-10-02 08:10:52 +02:00
Gwendal Roué
76e0815907
Merge pull request #1818 from groue/dev/obsolete-migrations
...
Merged Migrations
2025-10-02 08:06:24 +02:00
Gwendal Roué
85ad232b0b
Support for migrations that merge previous migrations
2025-10-01 17:24:00 +02:00
Gwendal Roué
db695cf7dc
Merge branch 'development'
v7.7.1
2025-09-29 21:14:01 +02:00
Gwendal Roué
76a7be8404
v7.7.1
2025-09-29 20:29:44 +02:00
Gwendal Roué
196c33ba63
Merge pull request #1822 from groue/dev/issue-1820
...
Fix the save() method for record types with attached triggers
2025-09-29 20:26:12 +02:00
Gwendal Roué
50a74f7b03
Cleanup
2025-09-29 19:43:41 +02:00
Gwendal Roué
3f27fb9289
Fix #1820
...
The regression was introduced by c7bbebc
2025-09-29 19:35:00 +02:00
Gwendal Roué
62fdd41d75
Failing regression test for #1820
2025-09-29 19:34:15 +02:00
Gwendal Roué
c5d02eac32
Merge branch 'development'
v7.7.0
2025-09-23 20:14:27 +02:00
Gwendal Roué
d1bfce829b
v7.7.0
2025-09-23 19:30:13 +02:00
Gwendal Roué
edd292bcbd
CHANGELOG
2025-09-23 17:44:05 +02:00
Gwendal Roué
a0e101e683
Merge pull request #1810 from groue/dev/persistable-views
...
Persistable Database Views
2025-09-23 17:38:30 +02:00
Gwendal Roué
9ef5e2c8eb
Simplify error messages
2025-09-23 17:12:27 +02:00
Gwendal Roué
f5dc68fc6f
Fix typos
2025-09-23 17:12:27 +02:00
Gwendal Roué
b210ec7428
View Records guide
2025-09-23 17:12:27 +02:00
Gwendal Roué
a7e3acf409
Remove TODO warnings
2025-09-23 17:12:27 +02:00