Gwendal Roué
|
d8b0b95842
|
DatabaseConfiguration.onConnect
|
2019-09-02 08:37:28 +02:00 |
|
Gwendal Roué
|
8f66114042
|
Deprecate Configuration.prepareDatabase
|
2019-09-02 08:37:28 +02:00 |
|
Gwendal Roué
|
c7e4492846
|
Fix DatabasePool.change(passphrase:)
|
2019-09-01 19:33:03 +02:00 |
|
Gwendal Roué
|
8580023eda
|
DatabasePool.barrierWriteWithoutTransaction
|
2019-09-01 16:46:17 +02:00 |
|
Gwendal Roué
|
e495df0114
|
Pool.barrier
|
2019-09-01 16:32:18 +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é
|
ea43468a6f
|
Documentation
|
2019-08-05 07:52:32 +02:00 |
|
Gwendal Roué
|
0f2c5cd8a0
|
Fix failling test for rowid optimization in Database.recordingSelectedRegion
|
2019-08-04 14:37:40 +02: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é
|
af0ac156aa
|
More explicit observation initializers
|
2019-08-03 14:21:46 +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é
|
bd9104d29f
|
Cleanup
|
2019-08-02 15:34:25 +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é
|
7802eb356d
|
Fix failing test for #561
|
2019-06-28 19:02:21 +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é
|
2730f8f806
|
Fix DatabasePool.concurrentRead for Swift < 5
|
2019-06-18 08:37:21 +02:00 |
|
Gwendal Roué
|
dc2871d5eb
|
DatabaseWriter.spawnConcurrentRead (experimental method)
|
2019-06-18 08:21:55 +02:00 |
|
Gwendal Roué
|
173c8af3ef
|
asyncConcurrentRead documentation
|
2019-06-17 19:48:25 +02:00 |
|
Gwendal Roué
|
3cea3db2b4
|
DatabasePool.asyncConcurrentRead
|
2019-06-17 19:35:11 +02:00 |
|
Gwendal Roué
|
02e1793cc9
|
Move configuration requirement to DatabaseReader
|
2019-06-15 04:32:14 +02:00 |
|
Gwendal Roué
|
e40e37bd04
|
FetchRequest.makePreparedRequest
|
2019-06-15 04:24:29 +02:00 |
|
Gwendal Roué
|
65de31a335
|
Polishing
|
2019-06-14 22:01:57 +02:00 |
|
Gwendal Roué
|
f03fd276f1
|
asyncWrite's completion handler accepts a database connection
This guarantees that the asyncWrite method provides exclusive write access for the whole duration of (transaction + result handling).
|
2019-06-14 08:03:13 +02:00 |
|
Gwendal Roué
|
f7946834f1
|
Fix compiler checks for async methods
|
2019-06-13 14:14:35 +02:00 |
|
Gwendal Roué
|
0ad819902d
|
Tests for asyncRead, asyncWrite, asyncWriteWithoutTransaction
|
2019-06-13 13:42:31 +02:00 |
|
Gwendal Roué
|
b715ca5eb8
|
DatabaseWriter.asyncWrite
|
2019-06-13 13:20:59 +02:00 |
|
Gwendal Roué
|
bc7c3e5eb1
|
DatabaseReader.asyncRead
|
2019-06-13 08:45:49 +02:00 |
|
Gwendal Roué
|
f120632e36
|
Rename unsafeAsyncWrite to asyncWriteWithoutTransaction
Hold on: a more complete set of async APIs will come eventually.
|
2019-06-13 05:25:56 +02:00 |
|
Gwendal Roué
|
44138c433f
|
Refactor ValueObservation scheduling
|
2019-06-11 21:45:27 +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 |
|
Roberto Casula
|
b6f988194c
|
fix errors for Xcode 11 beta
|
2019-06-08 15:46:48 +02:00 |
|
Gwendal Roué
|
da042eaae9
|
Clean up ValueObservation fetching system
|
2019-06-06 19:56:41 +02:00 |
|
Gwendal Roué
|
ac85ffff84
|
Database.readOnly is reentrant
|
2019-06-06 18:58:44 +02:00 |
|
Gwendal Roué
|
91ff9ce0b8
|
Documentation
|
2019-06-01 17:16:04 +02:00 |
|
Gwendal Roué
|
92c13c3ea8
|
Documentation
|
2019-06-01 17:01:42 +02:00 |
|
Gwendal Roué
|
872f394339
|
Move eager loading of hasMany associations to FetchRequest
|
2019-06-01 16:08:05 +02:00 |
|
Gwendal Roué
|
ab000d7a4f
|
Remove useless expression parenthesis from SQL
|
2019-05-26 20:08:13 +02:00 |
|
Gwendal Roué
|
a3c86e343b
|
Less @inlinable methods
|
2019-05-23 13:27:23 +02:00 |
|
Gwendal Roué
|
82ccc121dd
|
Cleanup
|
2019-05-22 22:25:24 +02:00 |
|
Gwendal Roué
|
b1c953c536
|
Better error reporting for missing scopes or prefetched rows
|
2019-05-21 19:56:55 +02:00 |
|
Gwendal Roué
|
4f17444a7e
|
Cleanup
|
2019-05-19 17:38:15 +02:00 |
|
Gwendal Roué
|
87b77768ec
|
Documentation
|
2019-05-19 17:18:37 +02:00 |
|
Gwendal Roué
|
1a368d30b0
|
Cleanup
|
2019-05-18 15:03:17 +02:00 |
|
Gwendal Roué
|
ebd393f52a
|
Cleanuo
|
2019-05-18 14:18:35 +02:00 |
|
Gwendal Roué
|
c5ac0ea941
|
Cleanup
|
2019-05-17 18:13:32 +02:00 |
|