Gwendal Roué
|
0372c1dd63
|
Complete #747: export the underlying SQLite library
|
2020-04-12 07:27:50 +02:00 |
|
Gwendal Roué
|
56f332122d
|
The observed region is always recorded
|
2020-03-24 22:59:07 +01:00 |
|
Gwendal Roué
|
9aa67f9db9
|
SE-0255: Implicit returns from single-expression functions
|
2020-03-08 23:12:46 +01:00 |
|
Gwendal Roué
|
00b0dc2a04
|
Remove availability checks for macOS 10.10 (forgotten in #719)
|
2020-03-08 19:08:15 +01:00 |
|
Gwendal Roué
|
130e510f8c
|
Remove deprecated passphrase methods
|
2020-03-08 16:00:19 +01:00 |
|
Gwendal Roué
|
9578f984ec
|
Remove useless #if compiler/swift checks
|
2020-03-08 13:42:44 +01:00 |
|
Gwendal Roué
|
ce0df653f4
|
Expose Database.erase()
|
2020-02-29 17:19:08 +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é
|
5e75f0e0aa
|
[skip travis] remove outdated documentation
|
2019-12-14 19:45:33 +01:00 |
|
Gwendal Roué
|
4bf5724543
|
Can't issue ROLLBACK on suspension
This is because this would allow a database modification to run in an aborted transaction
|
2019-12-13 08:14:49 +01:00 |
|
Gwendal Roué
|
19ba7d67e8
|
Suspension is fully experimental
|
2019-12-12 19:26:08 +01:00 |
|
Gwendal Roué
|
6656f72782
|
Rename "lock prevention" to "suspension"
|
2019-12-12 08:47:49 +01:00 |
|
Gwendal Roué
|
7b4dc14485
|
[breaking] disable double-quoted string literals by default
|
2019-12-07 13:32:33 +01:00 |
|
Gwendal Roué
|
831ded3ec2
|
beginReadOnly only increments _readOnlyDepth if it succeeds
|
2019-12-03 19:18:05 +01:00 |
|
Gwendal Roué
|
12106387d1
|
Cleanup
|
2019-12-03 08:51:10 +01:00 |
|
Gwendal Roué
|
17864d3dcc
|
Documentation
|
2019-12-03 08:15:57 +01:00 |
|
Gwendal Roué
|
4e26e8e744
|
Lock prevention: better error message
|
2019-12-03 08:13:19 +01:00 |
|
Gwendal Roué
|
7f66c85e67
|
Cleanup
|
2019-12-03 08:11:14 +01:00 |
|
Gwendal Roué
|
9efd5965ea
|
Cleanup
|
2019-12-02 20:56:06 +01:00 |
|
Gwendal Roué
|
16025356bf
|
Adapt lock prevention to the journal mode
|
2019-12-02 20:27:39 +01:00 |
|
Gwendal Roué
|
98dc5df039
|
Avoid race condition in assertExclusiveLockPrevention
|
2019-12-01 18:44:23 +01:00 |
|
Gwendal Roué
|
d85a7883bb
|
Database.assertExclusiveLockPrevention mirrors assertNotInsideAbortedTransactionBlock
|
2019-12-01 18:34:51 +01:00 |
|
Gwendal Roué
|
b54a8f7fe8
|
DatabaseWriter.startPreventingExclusiveLock()
|
2019-12-01 17:59:49 +01:00 |
|
Gwendal Roué
|
9cdebc45c0
|
Better assertNotInsideAbortedTransactionBlock
|
2019-12-01 17:59:49 +01:00 |
|
Gwendal Roué
|
62ef81c5fb
|
Remove useless code
|
2019-11-30 21:16:48 +01:00 |
|
Gwendal Roué
|
fa1abdff2b
|
Fix Swiftlint warnings
|
2019-11-30 19:56:26 +01:00 |
|
Gwendal Roué
|
f3e9c29f82
|
Monitor aborted transactions
|
2019-11-30 19:51:55 +01:00 |
|
Gwendal Roué
|
0a83848cfc
|
DatabaseReader.interrupt()
|
2019-11-30 15:35:11 +01:00 |
|
Gwendal Roué
|
b3e1bf6f05
|
Database.checkpoint
|
2019-10-10 13:45:01 +02:00 |
|
Gwendal Roué
|
fc57a69672
|
Rename beginSnapshotTransaction to beginSnapshotTransaction
|
2019-10-10 13:43:10 +02:00 |
|
Gwendal Roué
|
483728bfbf
|
Fix typo
|
2019-09-09 08:43:29 +02:00 |
|
Gwendal Roué
|
7b3275ce45
|
Make lastErrorCode and lastErrorMessage public
|
2019-09-04 08:54:06 +02:00 |
|
Gwendal Roué
|
b9e2f35728
|
Deprecate change(passphrase:), and provide an alternative solution
|
2019-09-02 09:05:37 +02:00 |
|
Gwendal Roué
|
9f26777cc3
|
prepareDatabase did not need to be deprecated, after all
|
2019-09-02 08:38:15 +02:00 |
|
Gwendal Roué
|
0b9fe9ae92
|
Documentation
|
2019-09-02 08:38:15 +02:00 |
|
Gwendal Roué
|
1ba4e8c771
|
Fix failing test for change(passphrase:)
|
2019-09-02 08:38:15 +02:00 |
|
Gwendal Roué
|
d644f01557
|
Deprecate Configuration.passphrase, introduce Database.usePassphrase(_:)
|
2019-09-02 08:38:15 +02:00 |
|
Gwendal Roué
|
d8b0b95842
|
DatabaseConfiguration.onConnect
|
2019-09-02 08:37:28 +02:00 |
|
Kevin Wooten
|
4d3f0bd88b
|
Add support for tvOS
## Xcode Project
- [x] tvOS Target
- [x] tvOS Unit Test Target
- [x] tvOS Scheme
## Makefile
- [x] tvOS Target Min/Max
- [x] tvOS Actions (copies iOS)
## CI
- [x] tvOS Travis stages
## Packaging
- [x] CocoaPods - Podfile Updated
- [x] ~SwiftPM - Not Changes Required~
## Documentation
- [x] Readme Updated
|
2019-08-22 13:15:31 -07:00 |
|
Gwendal Roué
|
a5c8f23ba4
|
Support for variable observed region of ValueObservation based on actual selection
|
2019-08-03 16:32:33 +02:00 |
|
Gwendal Roué
|
870d22fd95
|
Explain why we call sqlite3_set_authorizer once per database connection
|
2019-08-02 16:06:19 +02:00 |
|
Gwendal Roué
|
c6cb92d757
|
Cleanup
|
2019-08-02 15:40:19 +02:00 |
|
Gwendal Roué
|
e351b79526
|
Database only exposes its current authorizer with the withAuthorizer(_:_:) wrapper method.
|
2019-08-02 15:16:48 +02:00 |
|
Gwendal Roué
|
a59f4ef096
|
Fix #583 by keeping a single authorizer active for the whole lifetime of a database connection
SQLite invalidates statements when authorizer changes, which can lead to undesired behaviors. This is why we now call sqlite3_set_authorizer only once. See http://sqlite.1065341.n5.nabble.com/Issue-report-sqlite3-set-authorizer-triggers-error-4-516-SQLITE-ABORT-ROLLBACK-during-statement-itern-td107972.html
|
2019-08-02 14:17:48 +02:00 |
|
Gwendal Roué
|
35ceeebb3d
|
Style tweaks
|
2019-07-26 20:56:33 +02:00 |
|
Gwendal Roué
|
df6bb8761c
|
Swiftlint + whitespace
|
2019-07-01 08:57:53 +02:00 |
|
Gwendal Roué
|
caa624f56b
|
Readonly: avoid hitting the db if unnecessary
|
2019-06-19 04:16:07 +02:00 |
|
Gwendal Roué
|
335850c5fe
|
Fix #554
|
2019-06-18 20:40:49 +02:00 |
|
Gwendal Roué
|
50c9792eb2
|
Merge pull request #546 from openbitapp/master
fix errors for Xcode 11 beta
|
2019-06-09 11:57:59 +02:00 |
|