Gwendal Roué
|
28faa97a37
|
Database.afterNextTransaction callbacks are Sendable
|
2024-09-08 16:17:45 +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é
|
43ced9b2f0
|
Trivial Sendable conformances
Either added, either made explicitly unavailable.
|
2024-03-17 18:25:04 +01:00 |
|
Gwendal Roué
|
e29c52d7e5
|
Update obsolete documentation of stopObservingDatabaseChangesUntilNextTransaction
|
2023-11-27 10:00:41 +01:00 |
|
Gwendal Roué
|
93462cfd2c
|
Documentation
|
2023-11-26 10:33:00 +01:00 |
|
Gwendal Roué
|
079c0c7f26
|
The unit of change notification is the event kind, not the region
|
2023-11-25 16:44:18 +01:00 |
|
Gwendal Roué
|
3e52e265ce
|
Fix failing test for stopObservingDatabaseChangesUntilNextTransaction() from databaseDidChange()
|
2023-11-25 15:32:35 +01:00 |
|
Gwendal Roué
|
918afbd33e
|
Fix failing tests for Database.notifyChanges(in:) and regular tables
|
2023-11-25 14:39:13 +01:00 |
|
Gwendal Roué
|
1a16bdeac8
|
TransactionObserver.databaseDidChange()
|
2023-11-25 13:30:23 +01:00 |
|
Gwendal Roué
|
e22bf8fe0a
|
DocC organization
|
2023-10-08 20:05:22 +02:00 |
|
Gwendal Roué
|
97c04a7f26
|
Shorten line length
|
2023-07-29 11:42:02 +02: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é
|
0b2b26fd11
|
A statement can delete even if it's not a DELETE statement (through triggers)
|
2023-07-29 11:08:55 +02:00 |
|
Gwendal Roué
|
59c41c97af
|
Clarify the prevention of database access from TransactionObserver callbacks
|
2023-07-02 10:58:09 +02:00 |
|
Gwendal Roué
|
4c0cc84c2d
|
Improve DatabaseEventPredicate usage with SQLITE_ENABLE_PREUPDATE_HOOK
|
2023-03-31 08:02:04 +02:00 |
|
Gwendal Roué
|
018ae03f8e
|
Improve DatabaseEventPredicate usage
|
2023-03-22 08:30:21 +01:00 |
|
Gwendal Roué
|
378c6785ea
|
Clarification on the truncate optimization
|
2023-03-16 18:44:46 +01:00 |
|
Gwendal Roué
|
3f876978a1
|
Move TransactionObserver documentation in an extension file
|
2023-03-15 16:51:46 +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 |
|
baegteun
|
a9feac1339
|
♻️ :: OSX -> macOS in Availability Check
|
2023-01-17 13:58:37 +09:00 |
|
Gwendal Roué
|
409bd3bb26
|
Move Database Observation documentation to DocC
|
2022-11-28 08:27:12 +01:00 |
|
Gwendal Roué
|
e3cc15707a
|
Move ValueObservation documentation to DocC
|
2022-11-27 18:27:26 +01:00 |
|
Gwendal Roué
|
1625bc83f8
|
Documentation organization
|
2022-11-11 11:34:02 +01:00 |
|
Gwendal Roué
|
71880a9b8e
|
Enhance Documentation
|
2022-11-09 13:20:08 +01: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é
|
a89dad2554
|
Fix Swiftlint warnings
|
2022-10-29 14:21:33 +02:00 |
|
Gwendal Roué
|
e79b6a5622
|
Fix typo
|
2022-10-21 08:50:01 +02:00 |
|
Gwendal Roué
|
422e0ae85a
|
BREAKING: Handles both commits and rollbacks
Replace afterNextTransactionCommit(_:) with afterNextTransaction(onCommit:onRollback:)
|
2022-08-21 21:22:34 +02:00 |
|
Gwendal Roué
|
5243db7fbc
|
Spelling
|
2022-08-21 21:22:34 +02:00 |
|
Gwendal Roué
|
4ced8c78e7
|
Less "iff" (some people think this is a typo)
iff = if and only if
|
2022-08-21 21:22:34 +02:00 |
|
Gwendal Roué
|
e0786537db
|
BREAKING: replace Int32 with CInt everywhere it is possible
|
2022-08-21 21:22:34 +02:00 |
|
Gwendal Roué
|
fb6ea57d74
|
Don’t setup database observation in read-only connections.
Observation of read-only connections has turned useless since read-only transactions are no longer reported to TransactionObserver, in #1213
|
2022-08-21 21:22:34 +02:00 |
|
Gwendal Roué
|
0879311646
|
Make TransactionObserver.swift easier to read
Add some documentation, and rename some types and variables.
|
2022-08-21 21:22:34 +02:00 |
|
Gwendal Roué
|
36892fee55
|
BREAKING: Bump minimum SQLite version to 3.19.3
|
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é
|
fe225fe452
|
BREAKING: Remove deprecated methods
|
2022-08-21 19:21:57 +02:00 |
|
Gwendal Roué
|
5082207bb0
|
Don't notify read-only transactions
|
2022-04-30 15:27:20 +02:00 |
|
Gwendal Roué
|
3d0b34590f
|
Fix typo
|
2022-01-30 14:49:31 +01:00 |
|
Gwendal Roué
|
4e65425c00
|
Cleanup
|
2022-01-30 14:41:29 +01:00 |
|
Gwendal Roué
|
b8c0e9d2c2
|
Fix failing test for cached statement which does not prevent the truncate optimization
|
2022-01-30 14:24:28 +01:00 |
|
Gwendal Roué
|
c60b8cfc53
|
Refactor prevention of truncate optimization
We now always use the same authorizer, which is always ready to prevent truncate optimization depending on the current transaction observers.
|
2022-01-30 14:07:43 +01:00 |
|
Gwendal Roué
|
effc991de1
|
Deprecate DatabaseRegion.init(table:)
This commit reverts #510
|
2021-12-12 12:36:27 +01:00 |
|
Gwendal Roué
|
59c4d42076
|
Remove test warnings with BUILD_LIBRARY_FOR_DISTRIBUTION
|
2021-08-21 14:08:46 +02:00 |
|
Gwendal Roué
|
eb6895207e
|
Remove Swiftlint warnings
|
2021-07-30 16:14:03 +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 |
|