Gwendal Roué
205387d2d2
Merge pull request #1849 from marcprux/patch-1
...
Add Sendable conformance to DispatchQueueExecutor for Android and Windows
2026-02-03 11:32:13 +01:00
Marc Prud'hommeaux
c8f0328413
Add Sendable conformance to DispatchQueueExecutor for Android and Windows
2026-02-03 10:44:33 +01:00
Gwendal Roué
e784b10314
Merge pull request #1845 from R4N/sqlcipher-spm-upstream
...
SQLCipher organizational/import adjustments
2026-02-03 08:19:11 +01:00
Gwendal Roué
34fa177a47
Merge pull request #1848 from groue/bellebethcooper-typo-fix
...
Minor typo in doc comments
2026-02-03 08:13:35 +01:00
bellebethcooper
67ebcb325c
Minor typo in doc comments
2026-02-03 16:32:37 +11:00
Gwendal Roué
a3036feb48
Merge branch 'development' into sqlcipher-spm-upstream
2026-02-01 15:11:22 +01:00
Gwendal Roué
14d4c842e4
Document how to enable SQLCipher with SPM
2026-02-01 14:48:50 +01:00
Gwendal Roué
79276d7f68
Prepare support for SPM+SQLCipher
2026-02-01 14:43:24 +01:00
Gwendal Roué
14fdba1ef3
Rename CipherXxx APIs to SQLCipherXxx when possible
2026-02-01 14:43:24 +01:00
Gwendal Roué
8b5017714f
Support more SQLCipher log destinations
2026-02-01 14:43:24 +01:00
Gwendal Roué
a1a9c3aefe
Make links appear as links in DocC
2026-02-01 12:37:49 +01:00
Gwendal Roué
d664db9610
Enhance documentation formatting
2026-02-01 12:37:49 +01:00
Gwendal Roué
2c4492a098
Do not define CipherLogLevel as a frozen enum
2026-02-01 12:37:49 +01:00
Gwendal Roué
c0ef0e0f99
Use the same logic for importing SQLCipher as in other files
2026-02-01 11:19:30 +01:00
Gwendal Roué
81a699cae9
Merge branch 'grdb_linux_changes' into development
2026-02-01 11:00:35 +01:00
Micah Moore
bd954c6791
Removes GRDBSQLCipher import from SQLCipher conditional import in Database.swift to allow SQLCipher forkers versatility for defining pass-throughs to GRDB required sqlite variadic functions.
2026-01-19 13:37:41 -05:00
Micah Moore
2f94eb307a
Adds Foundation import to Database+SQLCipher
2026-01-16 14:59:25 -05:00
Gwendal Roué
51083da42d
Merge pull request #1846 from leejungyeob/fix-usage-example-typo
...
Fix typo in usage examples
2026-01-16 13:18:54 +01:00
leejungyeob
c229891b6d
Fix typo in usage examples
2026-01-16 18:20:56 +09:00
Micah Moore
c24bf5d118
SQLCipher adjustments to support forks which want to enable SQLCipher using traits/swiftSettings
...
- Adds Database+SQLCipher extension with SQLCipher operations, enabled by #if SQLITE_HAS_CODEC
- Adjusts Import Statements to import SQLCipher when SQLCipher trait is enabled (or SQLCipher swiftSetting is set)
2026-01-14 11:32:48 -05:00
Gwendal Roué
ccfe3149d7
Merge pull request #1842 from Cykelero/fix-usage-example-typos
...
Fix typos in usage examples
2026-01-09 16:30:58 +01:00
Nathan Manceaux-Panot
ce71d6c19f
Fix typos in usage examples
2026-01-09 15:44:42 +01:00
Gwendal Roué
129e53d54e
Remove obsolete TODOs
2025-12-30 13:00:56 +01:00
Gwendal Roué
bc5dd31366
Fix Swiftlint warnings
2025-12-30 10:31:13 +01:00
Gwendal Roué
aa0079aeb8
Merge branch 'development'
v7.9.0
2025-12-13 12:11:32 +01:00
Gwendal Roué
74ef238376
v7.9.0
2025-12-13 12:05:31 +01:00
Gwendal Roué
9d7a487971
Merge pull request #1839 from groue/dev/issue-1838
...
Fix cancellation of async tasks that use the FTS5 full-text engine.
2025-12-10 16:11:32 +01:00
Gwendal Roué
ac2f2e8643
Test that we recover from the FTS5 bug
2025-12-10 13:38:25 +01:00
Gwendal Roué
e281149a2d
Simplify Issue1838Tests
...
... and add it to test targets
2025-12-10 13:28:04 +01:00
Gwendal Roué
3ee256e7e8
Common API for statements that must ignore interruption errors
2025-12-09 21:39:20 +01:00
Gwendal Roué
361599aacd
Task cancellation should turn all SQLITE_INTERRUPT errors into CancellationError, including errors thrown by statement compilation
...
I did not know statement compilation could fail when database is interrupted until #1838 . A ROLLBACK statement would not even compile due to the FTS5 statement leak reported in https://sqlite.org/forum/forumpost/137c7662b389fa18
2025-12-09 21:38:15 +01:00
Gwendal Roué
64a024097d
Fix failing test for #1838 by reseting all prepared statements before retrying
2025-12-08 21:40:48 +01:00
Gwendal Roué
60ea10948b
Protect PRAGMA query_only = 0 against SQLITE_INTERRUPT
...
This should fix a race condition about cancellation that happens during a read-only access.
2025-12-08 21:22:43 +01:00
Gwendal Roué
5dba64d545
Retry a rollback in case of SQLITE_INTERRUPT error
...
This should fix a race condition about cancellation that happens during a rollback
2025-12-08 21:11:26 +01:00
Gwendal Roué
2212a17950
Failing test for #1838
2025-12-08 15:13:28 +01:00
Gwendal Roué
24fa06d646
Merge branch 'master' into development
2025-12-08 09:51:07 +01:00
Gwendal Roué
fd788900b6
Revert "Add link to our beloved sponsor Base"
...
This reverts commit 827ab62bb6 .
2025-12-08 09:50:02 +01:00
Gwendal Roué
b31be05ee3
Do not use traits, since they are not supported by Xcode
...
This pull request fixes #1826 , which broke `make test_GRDBDemo` with Xcode 26.0.1.
To reproduce the failure:
- Remove from ~/Library/Developer/Xcode/DerivedData all previous builds of GRDB and related stuff
- Run `make distclean test_GRDBDemo`
We expect a success, but it fails with error "Unable to find module dependency: 'GRDBSQLite'".
2025-10-27 13:37:21 +01:00
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