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
Gwendal Roué
a715c6328d
Merge branch 'master' into GRDB5
...
# Conflicts:
# CHANGELOG.md
# GRDB/QueryInterface/Request/QueryInterfaceRequest.swift
# Makefile
# README.md
# Tests/Performance/GRDBPerformance/GRDBPerformance.xcodeproj/project.pbxproj
2020-04-18 16:36:26 +02:00
Matt Tancock
bffe4d32f5
Add Codable support to DatabaseDateComponents
2020-04-17 16:16:34 +01:00
Gwendal Roué
0569b95a5a
Operator <- was ill-advised
...
# Conflicts:
# GRDB/QueryInterface/Request/QueryInterfaceRequest.swift
2020-04-14 18:51:21 +02:00
Gwendal Roué
d35ad59f9c
Fix failing test for #758
2020-04-14 12:51:24 +02:00
Gwendal Roué
b182a26759
Fix compilation error with Xcode 10.1
2020-04-14 12:14:25 +02:00
Gwendal Roué
c62ccf1de7
Make sure Inflections.default is lazily loaded, even in optimized release builds
...
This commit addresses #755
2020-04-13 11:31:03 +02: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é
4f8b681737
Documentation
2020-04-11 18:26:42 +02:00
Gwendal Roué
1b4e26f61c
Cleanup
2020-04-10 12:35:33 +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é
078aa83e3b
Rename count(where:) to countElements(where:)
2020-04-09 17:47:07 +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é
c778e1ac0c
Add fixits
2020-04-08 18:53:08 +02:00
Gwendal Roué
e2790c863f
Remove ValueObservation combine operator
2020-04-08 18:16:05 +02:00
Gwendal Roué
2c743531d0
Operator <- was ill-advised
2020-04-05 16:25:18 +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é
381f716e4b
AnyDatabaseCancellable is public
...
This helps GRDBCombine defaulting to a default cancellable when database connection has been closed before the ValueObservation publisher has been subscribed to.
2020-03-29 20:31:02 +02:00
Gwendal Roué
eee2c65c14
Merge branch 'development' into GRDB5
...
# Conflicts:
# CHANGELOG.md
# README.md
2020-03-29 18:55:06 +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é
97a84c6470
Fix failing test for #741
2020-03-29 12:09:58 +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é
022fee8788
Remove dead code
2020-03-27 20:48:12 +01:00
Gwendal Roué
25a2bd653c
Fix compiler warning
2020-03-27 20:48:03 +01:00
Gwendal Roué
c03de9cc16
Fix documentation
2020-03-27 20:45:24 +01:00
Gwendal Roué
97d06a0fae
Fix typo
2020-03-27 20:36:29 +01:00
Gwendal Roué
c4b7e0017b
The main thread is enough
2020-03-27 20:19:44 +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