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é
58293befc9
BREAKING: Optional is a database value like others
2022-08-21 21:22:34 +02:00
Gwendal Roué
df0ae43c5f
Swift 5.7 required: Sendable
2022-08-21 19:21:26 +02:00
Gwendal Roué
209192d3a5
Require Swift 5.6 Compiler for Concurrency Support
2022-04-13 23:07:33 +02:00
Gwendal Roué
6ab3fea8fb
Refactor ValueObservation
2022-03-17 18:44:30 +01:00
Gwendal Roué
1b62e06c4a
Expose Sendable conformance to Swift 5.5
...
But async apis are still only exposed to Swift 5.5.2.
Sendable conformances are helpful for users of Xcode < 13.2.
2021-12-10 08:08:47 +01:00
Gwendal Roué
61b0df8017
Enable async APIs on Xcode 13.2+ only
...
Xcode 13.1 won't have access to async apis. This simplifies our availability checks.
The techniques were inspired from:
- https://github.com/swift-server/guides/blob/main/docs/concurrency-adoption-guidelines.md#api-design
- https://github.com/swift-server/guides/blob/main/docs/concurrency-adoption-guidelines.md#backwards-compatibility-of-declarations-and-checked-swift-concurrency
2021-12-08 11:17:40 +01:00
Gwendal Roué
ae60de399e
Inline GRDBPrecondition
2021-08-28 14:54:51 +02:00
Gwendal Roué
151a457251
Inline StatementColumnConvertible decoding
2021-08-28 14:53:54 +02:00
Gwendal Roué
665770c50c
Remove all ABI annotations
2021-08-21 13:14:54 +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é
89521a7288
Improve statement binding performance
2021-04-03 14:52:22 +02:00
Gwendal Roué
cb2405a8b9
RowDecodingError
2021-02-21 14:21:04 +01:00
Gwendal Roué
836efb120f
Xcode 12.3 formatting
2020-12-23 12:13:05 +01:00
Gwendal Roué
90f2642ec6
Make good use of the visitor pattern
2020-07-05 15:07:52 +02:00
Gwendal Roué
2a640823c7
Backport https://github.com/groue/GRDBCombine/pull/42
2020-06-28 22:50:37 +02:00
Gwendal Roué
a0ce362197
Combine publishers
2020-06-25 19:25:29 +02:00
Gwendal Roué
5c4b282e27
Refactor ValueObservation events handling
2020-06-21 09:17:12 +02:00
Gwendal Roué
dd76cdffec
ValueObservation.handleEvents
2020-06-20 19:57:51 +02:00
Gwendal Roué
078aa83e3b
Rename count(where:) to countElements(where:)
2020-04-09 17:47:07 +02:00
Gwendal Roué
8ef4c9b241
Remove convenience Result.tryMap
2020-04-09 17:45:12 +02:00
Gwendal Roué
3ee231afd3
Cleanup _OptionalProtocol
2020-03-21 14:36:48 +01:00
Gwendal Roué
5a884ad93d
Common ValueObservation code for all read-only database accessors
2020-03-21 14:36:48 +01:00
Gwendal Roué
4fe201f8aa
Merge branch 'development' into GRDB5
2020-03-10 19:05:29 +01:00
Gwendal Roué
3973b66ab3
Fix and test throwingFirstError
2020-03-10 09:16:24 +01:00
Gwendal Roué
435f5ff559
TODO: fix throwingFirstError
2020-03-10 07:41:15 +01:00
Gwendal Roué
9aa67f9db9
SE-0255: Implicit returns from single-expression functions
2020-03-08 23:12:46 +01:00
Gwendal Roué
9578f984ec
Remove useless #if compiler/swift checks
2020-03-08 13:42:44 +01:00
Gwendal Roué
fd7783c39d
Fix uses of throwingFirstError(execute:finally:)
2020-01-06 08:12:49 +01:00
Gwendal Roué
e5726f3993
throwingFirstError(execute:finally:)
2020-01-05 13:30:12 +01:00
Gwendal Roué
df6bb8761c
Swiftlint + whitespace
2019-07-01 08:57:53 +02:00
Gwendal Roué
b29b5215b9
Character.uppercased() and lowercased() come with the Swiift 5 compiller
2019-05-20 06:12:51 +02:00
Gwendal Roué
900134729a
Where has count(where:) gone?
2019-03-16 15:31:00 +01:00
Gwendal Roué
61ae460525
Persistence methods specialization, PersistenceContainer optimizations
2019-02-24 06:26:08 +01:00
Gwendal Roué
944b3ac07d
@inlinable RowCursor, and Row subscript returning StatementColumnConvertible
2019-02-23 15:27:12 +01:00
Gwendal Roué
a0c85f093c
Remove all @inline(__always)
2019-02-23 13:37:00 +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é
59162d93de
Rename Database.execute(_:String) to Database.execute(rawSQL:String)
2019-02-17 13:27:54 +01:00
Gwendal Roué
249484a21f
SE-0204 Add last(where:) and lastIndex(where:) Methods
2019-02-08 08:47:45 +01:00
Gwendal Roué
3029949731
Add () to forward @autoclosure parameters
2019-02-08 05:30:57 +01:00
Gwendal Roué
326ef19fe9
ValueObservation combination
2018-11-24 11:38:47 +01:00
Gwendal Roué
d3a9667f10
Cleanup
2018-08-22 13:04:24 +02:00
Gwendal Roué
ef10e2e8ed
General cleanup:
...
- rename ValueConversionDebuggingInfo to ValueConversionContext
- allow missing value conversion context (when decoding a raw DatabaseValue)
- rename ColumnCursor to FastDatabaseValueCursor
- rename NullableColumnCursor to FastNullableDatabaseValueCursor
2018-08-11 19:45:58 +02:00
Gwendal Roué
79c7dd03a5
[Whitespace]
2018-04-11 13:10:15 +02:00
Gwendal Roué
2289ed9d95
Cleanup Jazzy documentation from most redundant definitions and experimental APIs
2018-01-21 16:57:43 +01:00
Gwendal Roué
279faa13e9
Less TODO
2017-09-08 13:23:20 +02:00
Gwendal Roué
c5da564fb3
Use built-in SQLite3 module when available
2017-08-19 15:21:44 +02:00
Gwendal Roué
f72ffcbb43
SE-0165
2017-08-18 14:20:35 +02:00
Gwendal Roué
7f64abe820
Identify experimental features in the inline documentation
2017-06-20 07:54:19 +02:00