Gwendal Roué
56f6984f9d
Introduce Database.checkpoint(_🔛 )
2020-06-07 17:07:31 +02:00
Gwendal Roué
91ed7d762b
Setup busy handler as soon as possible
2020-06-07 17:07:30 +02:00
Gwendal Roué
d2b1853b7b
Database.debugDescription
2020-06-04 18:15:48 +02:00
Gwendal Roué
780ba744f1
Database.description
2020-06-03 19:37:24 +02:00
Gwendal Roué
b47680638d
Trace statements by default
2020-06-01 07:16:48 +02:00
Gwendal Roué
30f619ca2c
Refactor database tracing
...
- Make it possible to log the database label along with the executed SQL
- Make it possible to avoid arguments expansion
- Make it possible to profile statements
2020-05-31 19:08:08 +02:00
Gwendal Roué
9ee3fd38b5
Remove mentions of unsupported iOS versions
2020-05-31 13:54:02 +02:00
Gwendal Roué
289394c7ac
Turn LockedBox and ReadWriteBox into property wrappers.
...
Also fix an old concurrency bug in tests, regarding query recording
2020-05-30 13:52:39 +02:00
Gwendal Roué
6a98a46c85
Speed up slow tests
2020-05-01 20:11:02 +02:00
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