Gwendal Roué
|
836efb120f
|
Xcode 12.3 formatting
|
2020-12-23 12:13:05 +01:00 |
|
Gwendal Roué
|
3c38aa1996
|
Functions, Collations, and tokenizers are no longer available on DatabaseQueue, Pool, and Snapshot
|
2020-09-06 13:18:58 +02:00 |
|
Gwendal Roué
|
07092169bf
|
Documentation
|
2020-07-12 14:17:58 +02:00 |
|
Gwendal Roué
|
90e7449d6a
|
Documentation
|
2020-07-11 19:21:33 +02:00 |
|
Gwendal Roué
|
a0ce362197
|
Combine publishers
|
2020-06-25 19:25:29 +02:00 |
|
Gwendal Roué
|
4e8b231c42
|
Rename handleEvents arguments
|
2020-06-22 14:23:33 +02:00 |
|
Gwendal Roué
|
5c4b282e27
|
Refactor ValueObservation events handling
|
2020-06-21 09:17:12 +02:00 |
|
Gwendal Roué
|
dd76cdffec
|
ValueObservation.handleEvents
|
2020-06-20 19:57:51 +02:00 |
|
Gwendal Roué
|
780ba744f1
|
Database.description
|
2020-06-03 19:37:24 +02:00 |
|
Gwendal Roué
|
f27d6b07c0
|
Cleanup
|
2020-04-11 20:45:00 +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é
|
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é
|
56f332122d
|
The observed region is always recorded
|
2020-03-24 22:59:07 +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é
|
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 |
|
Gwendal Roué
|
9aa67f9db9
|
SE-0255: Implicit returns from single-expression functions
|
2020-03-08 23:12:46 +01:00 |
|
Gwendal Roué
|
9578f984ec
|
Remove useless #if compiler/swift checks
|
2020-03-08 13:42:44 +01:00 |
|
Gwendal Roué
|
ea421865aa
|
Improve barrierWriteWithoutTransaction documentation
|
2020-03-01 11:34:58 +01:00 |
|
Gwendal Roué
|
ce0df653f4
|
Expose Database.erase()
|
2020-02-29 17:19:08 +01:00 |
|
Gwendal Roué
|
11f8807545
|
Make barrierWriteWithoutTransaction a requirement of DatabaseWriter
|
2020-02-29 16:01:45 +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é
|
6656f72782
|
Rename "lock prevention" to "suspension"
|
2019-12-12 08:47:49 +01:00 |
|
Gwendal Roué
|
16025356bf
|
Adapt lock prevention to the journal mode
|
2019-12-02 20:27:39 +01:00 |
|
Gwendal Roué
|
1c318892c9
|
Documentation
|
2019-12-01 18:56:06 +01:00 |
|
Gwendal Roué
|
74bb9c11d7
|
Documentatioon
|
2019-12-01 18:52:51 +01:00 |
|
Gwendal Roué
|
b54a8f7fe8
|
DatabaseWriter.startPreventingExclusiveLock()
|
2019-12-01 17:59:49 +01:00 |
|
Gwendal Roué
|
64cb3091cf
|
white space
|
2019-11-30 21:12:53 +01:00 |
|
Gwendal Roué
|
0a83848cfc
|
DatabaseReader.interrupt()
|
2019-11-30 15:35:11 +01:00 |
|
Gwendal Roué
|
a5c8f23ba4
|
Support for variable observed region of ValueObservation based on actual selection
|
2019-08-03 16:32:33 +02:00 |
|