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é
aed22fe0bc
Support for temporary virtual tables.
2025-02-23 13:45:46 +01:00
Gwendal Roué
32c9ba24ba
Replace sqlite3_libversion_number() with Database.sqliteLibVersionNumber
...
and remove SQLite imports that are no longer necessary.
2025-02-01 12:19:11 +01:00
Gwendal Roué
79cb862478
[BREAKING] watchOS 7+
...
Rationale: https://github.com/groue/GRDB.swift/issues/1472#issuecomment-1960696836
2024-08-24 15:45:38 +02:00
Gwendal Roué
89899432ba
Failing test for #1390
2023-06-11 13:15:55 +02:00
Gwendal Roué
d3c289a320
Availability checks cleanup
2023-01-22 12:37:40 +01:00
baegteun
a9feac1339
♻️ :: OSX -> macOS in Availability Check
2023-01-17 13:58:37 +09:00
Gwendal Roué
f5ebf0de4d
Use primary key definitions with NOT NULL constraint by default
2022-11-27 12:35:47 +01:00
Gwendal Roué
9b505bb34b
Fix quoting of FTS5 tokenizer arguments
...
Tokenizer arguments only need to be quoted ("foo" -> "'foo'") when we generate SQL for a tokenizer. They must not be quoted when we instantiate a tokenizer with the fts5_tokenizer.xCreate function.
This commit fixes tokenizer instantiation by not quoting arguments when we call the fts5_tokenizer.xCreate function.
Before this fix, the FTS5Tokenizer.tokenize(query:) method would return incorrect tokens.
2022-10-29 14:21:33 +02:00
Gwendal Roué
1aeb10439f
synchronize: failing test for FTS5 ifNotExists support
2021-06-17 19:30:24 +02:00
Gwendal Roué
e2816905bb
OSX 11 is OSX 10.16
2020-07-22 20:22:03 +02:00
Gwendal Roué
1823e11090
Expose remove_diacritics=2 option of unicode61 FTS5 tokenizer
...
This is because iOS 14 runs SQLite 3.31.1
2020-07-22 20:07:27 +02:00
Bunny Wong
838a03c0ef
Added tests for ascii tokenizer.
2020-07-12 19:43:23 +08:00
Gwendal Roué
b95d7cb647
More Tests for Database.trace(options:_:)
2020-05-31 20:13:45 +02:00
Gwendal Roué
d60fe3c22f
Replace import GRDBCustomSQLite with import GRDB
2020-04-04 16:44:01 +02:00
Gwendal Roué
1c1ee4e92a
GRDBCipher is no longer. Long live GRDB.swift/SQLCipher.
2019-04-19 13:11:55 +02:00
Gwendal Roué
27156fd215
Support for remove_diacritics=2 in FTS5
2019-02-24 17:38:04 +01:00
Gwendal Roué
db67d3840b
Principle of least astonishment: rrename argument label rawSQL to sql
2019-02-17 13:28:41 +01:00
Gwendal Roué
c546c578ce
fetchCursor/All/One(_:rawSQL:arguments:adapter:)
2019-02-17 13:28:40 +01:00
Gwendal Roué
59162d93de
Rename Database.execute(_:String) to Database.execute(rawSQL:String)
2019-02-17 13:27:54 +01:00
Gwendal Roué
b4887b661c
Tests for Database.dropFTS4SynchronizationTriggers & Database.dropFTS5SynchronizationTriggers
2017-12-01 13:14:24 +01:00
Gwendal Roué
3d06841eba
Remove Xcode9.1 warnings about deprecated string.characters
2017-11-01 07:33:03 +01:00
Gwendal Roué
55e4abd534
Rename USING_SQLCIPHER to GRDBCIPHER and USING_CUSTOMSQLITE to GRDBCUSTOMSQLITE
2017-05-22 19:15:10 +02:00
Gwendal Roué
e54cec9123
Move tests to Swift Package Manager test target
2017-04-23 15:47:16 +02:00