Gwendal Roué
|
6fd3a7b225
|
Merge branch 'development' into GRDB5
# Conflicts:
# CHANGELOG.md
# README.md
|
2020-04-25 13:21:20 +02:00 |
|
Matt Tancock
|
62c6187ad4
|
Remove Format's Codable conformance. Use a singleValueContainer
|
2020-04-20 14:42:02 +01:00 |
|
Matt Tancock
|
18154f29be
|
Simplify encoding format and add tests
|
2020-04-20 13:36:23 +01:00 |
|
Matt Tancock
|
bffe4d32f5
|
Add Codable support to DatabaseDateComponents
|
2020-04-17 16:16:34 +01:00 |
|
Gwendal Roué
|
2319572552
|
Remove unused file
|
2020-04-12 13:04:45 +02:00 |
|
Gwendal Roué
|
1ea5d1713a
|
Cleanup
|
2020-04-12 10:04:09 +02:00 |
|
Gwendal Roué
|
0372c1dd63
|
Complete #747: export the underlying SQLite library
|
2020-04-12 07:27:50 +02:00 |
|
Gwendal Roué
|
c052b44999
|
Cleanup
|
2020-04-11 20:56:36 +02:00 |
|
Gwendal Roué
|
f27d6b07c0
|
Cleanup
|
2020-04-11 20:45:00 +02:00 |
|
Gwendal Roué
|
474310e00b
|
More inspiration from CocoaError
|
2020-04-10 09:30:34 +02:00 |
|
Gwendal Roué
|
7a475ad476
|
Cleanup
|
2020-04-10 08:58:29 +02:00 |
|
Gwendal Roué
|
ccacbc9706
|
ResultCode match errors
|
2020-04-09 19:52:39 +02:00 |
|
Gwendal Roué
|
37aa7feee9
|
Rename KeyPathRefining to Refinable
|
2020-04-09 18:50:36 +02:00 |
|
Gwendal Roué
|
8ef4c9b241
|
Remove convenience Result.tryMap
|
2020-04-09 17:45:12 +02:00 |
|
Gwendal Roué
|
27120643b9
|
SE-0255: Implicit returns from single-expression functions
|
2020-04-09 17:16:23 +02:00 |
|
Gwendal Roué
|
d988be49a6
|
Revert #748
|
2020-04-09 13:42:37 +02:00 |
|
Gwendal Roué
|
7ce6a8a094
|
Rename QueryInterfaceRequest to Request
|
2020-04-04 20:12:03 +02:00 |
|
Gwendal Roué
|
65c009a018
|
Rename GRDBCustomSQLite module to GRDB
|
2020-04-04 17:42:00 +02:00 |
|
Gwendal Roué
|
5727163966
|
SPM: export CSQLite package
|
2020-04-04 14:20:07 +02:00 |
|
Gwendal Roué
|
d72000c6a3
|
Use scheduling paramater name for consistency with GRDBCombine and RxGRDB
|
2020-03-31 20:25:36 +02:00 |
|
Gwendal Roué
|
66dc482b02
|
Don't pretend database deallocation is a cancel event
|
2020-03-29 16:30:29 +02:00 |
|
Gwendal Roué
|
1bffc4f628
|
ValueObservation is cancellable
|
2020-03-29 16:06:24 +02:00 |
|
Gwendal Roué
|
87b54f5da2
|
Protect ValueObserver state behind a lock
|
2020-03-29 10:28:37 +02:00 |
|
Gwendal Roué
|
90d5316781
|
Hide ValueObservationScheduler implementation
|
2020-03-28 19:53:18 +01:00 |
|
Gwendal Roué
|
303a0cc150
|
immediateInitialValue is a better name
|
2020-03-28 19:49:07 +01:00 |
|
Gwendal Roué
|
5d196c449d
|
Value Observation does no longer retain DatabaseWriter
|
2020-03-28 17:11:57 +01:00 |
|
Gwendal Roué
|
88ddce5fac
|
Make sure the observer is cancelled on error
|
2020-03-28 11:42:53 +01:00 |
|
Gwendal Roué
|
23d428290b
|
Assume that error ends the observation, and have database pool always perform a concurrent initial fetch
|
2020-03-28 10:30:36 +01:00 |
|
Gwendal Roué
|
ff104686f6
|
Read-only observation: support for cancellation
|
2020-03-28 07:45:55 +01:00 |
|
Gwendal Roué
|
97d06a0fae
|
Fix typo
|
2020-03-27 20:36:29 +01:00 |
|
Gwendal Roué
|
469814985e
|
Decrease nesting
|
2020-03-27 19:55:36 +01:00 |
|
Gwendal Roué
|
f16105ad03
|
Add missing cancellation checks
|
2020-03-27 19:53:01 +01:00 |
|
Gwendal Roué
|
4309eaba64
|
Scheduling of fresh values is no longer an attribute of ValueObservation
|
2020-03-27 19:49:11 +01:00 |
|
Gwendal Roué
|
b4b5d9b602
|
Simplify ValueObservation scheduling
|
2020-03-27 08:27:30 +01:00 |
|
Gwendal Roué
|
e68bd077ee
|
Remove all observationForCount/All/First methods
|
2020-03-25 21:44:10 +01:00 |
|
Gwendal Roué
|
56f332122d
|
The observed region is always recorded
|
2020-03-24 22:59:07 +01:00 |
|
Gwendal Roué
|
dfd5dd2478
|
Add missing import for SPM
|
2020-03-24 22:55:18 +01:00 |
|
Gwendal Roué
|
3ee231afd3
|
Cleanup _OptionalProtocol
|
2020-03-21 14:36:48 +01:00 |
|
Gwendal Roué
|
2bb894108c
|
Use the prependingConcurrentFetch flag
|
2020-03-21 14:36:48 +01:00 |
|
Gwendal Roué
|
2b78a646ed
|
Mor preparation for initiial concurrent fetch of ValueObservation in a DatabasePool
|
2020-03-21 14:36:48 +01:00 |
|
Gwendal Roué
|
1c59278115
|
Prefer dbResult argument name for async read closures
|
2020-03-21 14:36:48 +01:00 |
|
Gwendal Roué
|
2824636650
|
Prepare for initiial concurrent fetch of ValueObservation in a DatabasePool
|
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é
|
dfa40ea18f
|
Rename ValueObservation.fetchFirst to fetchValue
"First", in Swift, hints that the result is optional. But the result of this function is no longer optional.
|
2020-03-12 07:34:43 +01:00 |
|
Gwendal Roué
|
936c92eba6
|
All value reducers must emit an initial value
This disqualifies compactMap as a valid ValueObservation transformation: it has been removed.
This simplifies implementation as well.
|
2020-03-12 07:18:40 +01:00 |
|
Gwendal Roué
|
5e0535d511
|
ValueReducer creation does not need database access
|
2020-03-11 22:00:07 +01:00 |
|
Gwendal Roué
|
f80c5ce348
|
Make the ValueReducer protocol unavailable
# Conflicts:
# GRDB/ValueObservation/ValueReducer/ValueReducer.swift
|
2020-03-11 21:38:20 +01:00 |
|
Gwendal Roué
|
2f4187b084
|
DatabaseWriter.remove(transactionObserver:) can run from the writer queue
|
2020-03-10 22:06:08 +01:00 |
|
Gwendal Roué
|
d66f2c8cfd
|
Simplify ValueObservation starting process
|
2020-03-10 20:50:06 +01:00 |
|
Gwendal Roué
|
6f239a5ad3
|
All ValueObservationScheduling cases now trigger an initial fetch
|
2020-03-10 19:42:58 +01:00 |
|