Gwendal Roué
e129df15db
Fix tests for Xcode 14.0
2022-11-14 19:29:17 +01:00
Gwendal Roué
c4c0b1ce90
Test and fix unsafe and async DatabaseSnapshotPool
2022-11-14 19:10:52 +01:00
Gwendal Roué
9ac8c0703d
Remove dead code
2022-11-14 19:02:10 +01:00
Gwendal Roué
433ed36a4b
More documentation about transactions
2022-11-14 18:51:39 +01:00
Gwendal Roué
c23b93d71b
Document that reentrant database accesses use the current database connection when possible
2022-11-14 18:38:33 +01:00
Gwendal Roué
b8bc8273a9
Turn snapshot tokens into a proper reader: DatabaseSnapshotPool
2022-11-14 18:22:13 +01:00
Gwendal Roué
bcb70855d5
Enhance WALSnapshotToken documentation
2022-11-14 10:42:09 +01:00
Gwendal Roué
eaf8dc239a
Simplify WALSnapshotToken creation
2022-11-14 10:39:48 +01:00
Gwendal Roué
6864e6b2fb
Enhance registerAccess(to:) documentation
2022-11-14 08:47:58 +01:00
Gwendal Roué
4b21704258
CHANGELOG
2022-11-13 18:35:59 +01:00
Gwendal Roué
a71eb3d662
Introduce WALSnapshotToken
2022-11-13 18:28:54 +01:00
Gwendal Roué
dffe56f8a9
Simplify ValueReducer definition
2022-11-13 18:09:06 +01:00
Gwendal Roué
4871304c60
Enable WALSnapshot on macOS (Xcode 14.1+)
2022-11-13 15:29:44 +01:00
Gwendal Roué
a6f9b1c4b7
CHANGELOG
2022-11-13 10:55:31 +01:00
Gwendal Roué
cbac0e7286
Enhance Configuration.threadingMode documentation
2022-11-13 10:54:40 +01:00
Gwendal Roué
997d6cb677
DatabaseSnapshot does not require the WAL mode
...
One can create a snapshot from a read-only pool on a non-WAL database, and that's OK. The snaphost still sees an unchanging database content (but other connections can't write).
2022-11-13 10:54:40 +01:00
Gwendal Roué
51230834c8
Configuration.maximumReaderCount can be queried
...
This is useful for tools that adapt their own inner scheduling to the actual capacity for concurrent reads.
2022-11-13 10:54:40 +01:00
Gwendal Roué
638e586dbc
Expose Database.registerAccess(to:)
...
This helps tools that intend to declare an observed region without directly accessing it. This will be necessary for (future) snapshot-based observations that postpone actual database access.
2022-11-13 10:54:40 +01:00
Gwendal Roué
6dc4d50e00
Expose Configuration.readQoS and writeQoS
...
This helps tools that perform their own asynchronous jobs that depend on database scheduling. By using the same QoS as the database, they won't create priority inversion or similar scheduling misuses.
2022-11-12 11:55:37 +01:00
Gwendal Roué
5d50e396c1
Enhance Configuration documentation
2022-11-12 11:55:37 +01:00
Gwendal Roué
981d42aed6
Execute SPM tests in parallel
2022-11-12 11:55:37 +01:00
Gwendal Roué
8ffceb49c8
Document SPI_BUILDER
2022-11-11 15:14:59 +01:00
Gwendal Roué
b14ef2112c
Fix documentation typo
2022-11-11 12:55:35 +01:00
Gwendal Roué
2d31ed4618
Merge branch 'development'
v6.3.1
2022-11-11 11:34:48 +01:00
Gwendal Roué
5e7b604ecd
v6.3.1
2022-11-11 11:34:02 +01:00
Gwendal Roué
90ec3c188b
Host documentation on SPI
2022-11-11 11:34:02 +01:00
Gwendal Roué
1625bc83f8
Documentation organization
2022-11-11 11:34:02 +01:00
Gwendal Roué
be9740b5f6
Discourage usage of reentrant by linking to the related doc
2022-11-10 08:50:41 +01:00
Gwendal Roué
f914fe73ff
DocC Concurrency Resources
2022-11-10 08:34:54 +01:00
Gwendal Roué
57b07515c7
Rename GRDB_DOCC_PLUGIN to SPI_BUILDER
...
This addresses https://github.com/SwiftPackageIndex/SwiftPackageIndex-Server/issues/2122#issuecomment-1305649066
2022-11-09 21:56:19 +01:00
Gwendal Roué
9d03c1ae61
DocC: Single-Row Tables
2022-11-09 21:54:17 +01:00
Gwendal Roué
3014ddb00a
Enhance Documentation
2022-11-09 21:52:22 +01:00
Gwendal Roué
85b2e113b2
Relocate DatabaseSnapshot documentation
2022-11-09 17:16:03 +01:00
Gwendal Roué
c5a0598cea
DocC: Concurrency Guides
2022-11-09 13:22:53 +01:00
Gwendal Roué
5242fe10f6
Enhance Documentation
2022-11-09 13:22:53 +01:00
Gwendal Roué
71880a9b8e
Enhance Documentation
2022-11-09 13:20:08 +01:00
Gwendal Roué
14fb1945be
Fix documentation
2022-11-08 22:57:48 +01:00
Gwendal Roué
33cdf6f270
Extract <doc:DatabaseSchema>
2022-11-08 19:28:13 +01:00
Gwendal Roué
ca079cab17
TODO
2022-11-08 19:28:09 +01:00
Gwendal Roué
0873474a17
DocC: SQL
2022-11-08 18:22:03 +01:00
Gwendal Roué
bfe2450da5
Fix typo
2022-11-08 08:53:59 +01:00
Gwendal Roué
19b0b6af3e
http -> https
2022-11-08 08:45:37 +01:00
Gwendal Roué
cdf480ef1f
Migrations guide cleanup
2022-11-08 08:41:10 +01:00
Gwendal Roué
da3059f0a8
fix typos and wordings
2022-11-08 05:43:09 +01:00
Gwendal Roué
754ced7b5e
Enhance DocC output for ForeignKeyViolation
2022-11-07 22:50:50 +01:00
Gwendal Roué
fb81ec6792
Migrations Guide in now a DocC article
2022-11-07 22:44:37 +01:00
Gwendal Roué
1be868c4b0
Fix documentation typo
2022-11-07 09:16:50 +01:00
Gwendal Roué
4dda8d7650
Host DocC on Github pages
...
SPI will be up soon, but we have to fix the dead links currently published on the master branch
https://github.com/SwiftPackageIndex/SwiftPackageIndex-Server/discussions/2120
2022-11-07 08:14:39 +01:00
Gwendal Roué
16fe4331f2
make doc generates DocC for hosting on Github pages
...
Example: http://groue.github.io/GRDB.swift/docs/6.3/documentation/grdb
2022-11-07 08:14:39 +01:00
Gwendal Roué
5ff2ad9e71
Merge branch 'development'
v6.3.0
2022-11-06 20:47:53 +01:00