Gwendal Roué
46e15616a7
[BREAKING] macOS 10.15+
2024-09-21 14:28:24 +02:00
Gwendal Roué
9e1ff42249
[BREAKING] Rename CSQLite to GRDBSQLite
...
Fix #1528
2024-08-24 18:15:57 +02:00
Gwendal Roué
9cd1d849cc
[BREAKING] Stop exporting SQLite
2024-08-24 17:25:35 +02: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é
29eb04c39a
[BREAKING] iOS 12+
2024-08-24 15:45:38 +02:00
Gwendal Roué
43ced9b2f0
Trivial Sendable conformances
...
Either added, either made explicitly unavailable.
2024-03-17 18:25:04 +01:00
Gwendal Roué
9ff58c32e7
Use CChar instead of Int8 when we deal with C strings
2023-07-29 11:13:41 +02:00
Gwendal Roué
ebb2f7346d
Cleanup FTS5 documentation
2023-04-29 16:50:15 +02:00
Gwendal Roué
cc567f2555
Expose the fts5_api structure
2023-03-01 08:23:36 +01:00
Gwendal Roué
3b0cf1fb0b
FTS5 DocC
2023-02-19 17:38:19 +01:00
Gwendal Roué
aff924a72b
Upgrade Swiftlint and fix warnings
2023-02-04 11:23:14 +01:00
Gwendal Roué
ac214e6760
SE-0345: if let shorthand for shadowing an existing optional variable
2023-01-30 08:00:47 +01: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é
13c804d1cc
DocC
2022-11-06 16:02:36 +01:00
Gwendal Roué
1818534513
DocC
2022-11-06 16:02:36 +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
Jon
76b05369ff
Add support for passing in categories to the unicode61 tokenizer
2022-10-21 16:21:07 -04:00
Gwendal Roué
e0786537db
BREAKING: replace Int32 with CInt everywhere it is possible
2022-08-21 21:22:34 +02:00
Gwendal Roué
11a6d53d8a
SE-0326: closure result type inference
...
https://github.com/apple/swift-evolution/blob/main/proposals/0326-extending-multi-statement-closure-inference.md
2022-08-21 21:22:34 +02:00
Gwendal Roué
a9fcf1b9c1
SE-0335, SE-0341, SE-0346, SE-0352, SE-0358: some, any, primary associated types
2022-08-21 21:22:34 +02:00
Gwendal Roué
dd55175978
SE-0345: if let x { }
...
https://github.com/apple/swift-evolution/blob/main/proposals/0345-if-let-shorthand.md
2022-08-21 21:22:34 +02:00
Gwendal Roué
458e1e2675
BREAKING: throwing DatabaseQueue() initializer
...
As a consequence, FTS3.tokenize(_:) is a throwing method as well.
2022-08-21 21:22:33 +02:00
Gwendal Roué
fe225fe452
BREAKING: Remove deprecated methods
2022-08-21 19:21:57 +02:00
Gwendal Roué
c0d70f9ef0
Refactor FTS5 tokenization in order to support custom tokenizers
2021-09-21 19:34:06 +02:00
Gwendal Roué
dfe519ea9b
Build FTS patterns from prefixes
2021-09-20 17:35:47 +02:00
Gwendal Roué
b0b8872798
Expose FTS tokenization methods
2021-09-20 17:14:07 +02:00
Gwendal Roué
bf601e6810
Merge SelectStatement and UpdateStatement
...
Addresses #1015
2021-07-29 20:20:15 +02:00
Zev Eisenberg
8b060e6b09
Add angle brackets to URLs to make them clickable in Xcode's rendered documentation.
2021-07-20 20:53:58 -04:00
Gwendal Roué
1a2de126ce
Fix #988
2021-06-17 19:30:03 +02:00
Gwendal Roué
cb2405a8b9
RowDecodingError
2021-02-21 14:21:04 +01:00
Gwendal Roué
befeb07234
Clarify FTS5Pattern(matchingPrefixPhrase:) behavior
2021-01-20 07:51:00 +01:00
wuyueyang
c86d2d654f
Fix failed to create unicode61 tokenizer as a wrapped tokenizer
2021-01-01 02:13:11 +08:00
Gwendal Roué
836efb120f
Xcode 12.3 formatting
2020-12-23 12:13:05 +01:00
Gwendal Roué
3c38aa1996
Functions, Collations, and tokenizers are no longer available on DatabaseQueue, Pool, and Snapshot
2020-09-06 13:18:58 +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
Gwendal Roué
294ed772c1
Expose remove_diacritics=2 option of unicode61 FTS tokenizer
...
This is because iOS 14 runs SQLite 3.31.1
2020-07-22 20:07:27 +02:00
Gwendal Roué
08d235bdc3
Documentation
2020-07-14 09:34:19 +02:00
Bunny Wong
838a03c0ef
Added tests for ascii tokenizer.
2020-07-12 19:43:23 +08:00
Bunny Wong
4565c1fff9
Add tokenchars support for ascii tokenizer in FTS5.
2020-07-12 19:43:23 +08:00
Gwendal Roué
61d7740767
Fix FTS5
2020-05-01 11:27:08 +02:00
Gwendal Roué
69641ff7d6
Undo undesired change
2020-04-29 22:29:53 +02:00
Gwendal Roué
a15233eff1
SQLGenerationContext no longer needs to be mutated
2020-04-29 21:59:04 +02:00
Gwendal Roué
84ca69d27c
Value quoting can now require a database connection
2020-04-29 11:03:51 +02:00
Gwendal Roué
0372c1dd63
Complete #747 : export the underlying SQLite library
2020-04-12 07:27:50 +02:00
Gwendal Roué
27120643b9
SE-0255: Implicit returns from single-expression functions
2020-04-09 17:16:23 +02:00
Gwendal Roué
9aa67f9db9
SE-0255: Implicit returns from single-expression functions
2020-03-08 23:12:46 +01:00
Gwendal Roué
7865b0a2ee
SE-0249: Key Path Expressions as Functions
2020-03-08 19:58:51 +01:00
Gwendal Roué
00b0dc2a04
Remove availability checks for macOS 10.10 (forgotten in #719 )
2020-03-08 19:08:15 +01:00