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é
|
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é
|
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é
|
1f50b4fefe
|
Integrate SQLCipher as a CocoaPod
|
2019-04-19 08:33:19 +02:00 |
|
Matthew Chen
|
325b376f4c
|
Fix notification name.
|
2019-04-04 18:01:12 -04:00 |
|
Gwendal Roué
|
7183457217
|
Rename Future to DatabaseFuture
|
2019-03-14 06:43:40 +01:00 |
|
Gwendal Roué
|
db67d3840b
|
Principle of least astonishment: rrename argument label rawSQL to sql
|
2019-02-17 13:28:41 +01:00 |
|
Gwendal Roué
|
c546c578ce
|
fetchCursor/All/One(_:rawSQL:arguments:adapter:)
|
2019-02-17 13:28:40 +01:00 |
|
Gwendal Roué
|
59162d93de
|
Rename Database.execute(_:String) to Database.execute(rawSQL:String)
|
2019-02-17 13:27:54 +01:00 |
|
Gwendal Roué
|
5ee3b9c878
|
SE-0235 Add Result to the Standard Library
|
2019-02-09 12:54:30 +01:00 |
|
Gwendal Roué
|
4489106bd6
|
Remove deprecated DatabaseWriter.readFromCurrentState
|
2019-02-08 10:16:17 +01:00 |
|
Gwendal Roué
|
3eb36768c6
|
Simplify iOS memory management, assuming swift(>=4.2)
|
2019-02-07 08:25:31 +01:00 |
|
Gwendal Roué
|
56d49dd385
|
Cleanup
|
2018-12-02 10:12:21 +01:00 |
|
Gwendal Roué
|
f07eee3ca7
|
DispatchQueue creation cleanup
|
2018-12-01 16:22:05 +01:00 |
|
Gwendal Roué
|
59175a6b4d
|
DatabasePool: block reader until concurrent fetch has been executed
|
2018-11-18 17:18:29 +01:00 |
|
Gwendal Roué
|
cbc3467e2d
|
Database.beginSnapshotIsolation()
|
2018-11-18 16:49:51 +01:00 |
|
Gwendal Roué
|
65cc0bb2b3
|
Cache frequently used statements
|
2018-11-18 16:49:14 +01:00 |
|
Gwendal Roué
|
de227bdce1
|
Bake uniquing right into ValueObservation: introduce ValueReducer
|
2018-10-27 16:12:42 +02:00 |
|
Gwendal Roué
|
a5a8b2ac40
|
Fix failing test for custom FTS5 tokenizer in DatabasePool
Tokenizer are now added to new reader connections.
|
2018-09-22 13:00:34 +02:00 |
|
Gwendal Roué
|
b9a878bb20
|
Cleanup
|
2018-09-11 08:56:29 +02:00 |
|
Gwendal Roué
|
106812c02c
|
Fix SPM
|
2018-09-09 13:42:35 +02:00 |
|
Gwendal Roué
|
9bfe893908
|
DatabaseWriter.concurrentRead replaces readFromCurrentState
|
2018-09-09 13:12:35 +02:00 |
|
Gwendal Roué
|
ff595eeaef
|
Compile with both Swift 4.1 and Swift 4.2
|
2018-08-30 16:34:30 +02:00 |
|
Gwendal Roué
|
220ce379e1
|
Test conversion error messages
|
2018-08-09 14:00:33 +02:00 |
|
Gwendal Roué
|
38b1e41aab
|
Final tweaks to dispatch queue labels
|
2018-06-14 21:10:56 +02:00 |
|
Gwendal Roué
|
342dcc5094
|
Confiiguration.label is used to name dispatch queues
|
2018-06-14 20:26:34 +02:00 |
|
Gwendal Roué
|
2e80db8aed
|
Database dispatch queues now have labels
|
2018-06-14 13:36:42 +02:00 |
|
Gwendal Roué
|
cacc3e8456
|
Fix DatabasePool.makeSnapshot() documentation
|
2018-05-21 08:21:36 +02:00 |
|
Gwendal Roué
|
1bf7f67008
|
Update inline documentation with singular table names
|
2018-05-01 20:32:18 +02:00 |
|
Gwendal Roué
|
a46505e907
|
Cleanup
|
2018-04-15 14:30:12 +02:00 |
|
Gwendal Roué
|
bd2f17ee10
|
Fixes needed by DatabasePool/Writer.writeWithoutTransaction
|
2018-04-12 07:58:01 +02:00 |
|
Gwendal Roué
|
563a4d5c71
|
Introduce DatabaseWriter.writeWithoutTransaction
|
2018-04-11 20:03:18 +02:00 |
|
Gwendal Roué
|
78e6241d16
|
DatabaseWriter.write now guarantees that eventual concurrent readers don't see any changes until all changes are executed. DatabasePool.write thus wraps changes in a transaction.
|
2018-04-11 20:03:18 +02:00 |
|
Gwendal Roué
|
2dfbe8e5f2
|
Prevent snapshot creation from within a transaction
|
2018-03-31 15:56:42 +02:00 |
|
Gwendal Roué
|
76561a567f
|
Introduce DatabaseSnapshot
|
2018-02-24 07:37:26 +01:00 |
|
Gwendal Roué
|
7dc008db8b
|
Expose Database.beginTransaction(), commit(), rollback(). New Configuration.allowsUnsafeTransactions flag. New fatal error when a database access block ends with a transaction left opened.
|
2018-02-23 14:14:05 +01:00 |
|
Gwendal Roué
|
94715130fc
|
DatabaseWriter.readFromCurrentState(_:) now fails with a fatal error if a transaction is currently opened
|
2018-01-06 09:19:26 +01:00 |
|
Gwendal Roué
|
631a914acd
|
Fix failing test for schema cache shared between DatabasePool reader and writer (stop sharing cache)
|
2018-01-02 13:08:41 +01:00 |
|
Gwendal Roué
|
caf051f19d
|
Improve jazzy documentation layout
|
2017-10-31 13:37:48 +01:00 |
|
Gwendal Roué
|
8a213af2ab
|
Cleanup & whitespace
|
2017-10-30 12:25:12 +01:00 |
|
Gwendal Roué
|
8ccc23333d
|
Replace DatabaseCursor with new concrete cursors RowCursor, StatementColumnCursor, NullableStatementColumnCursor, and StatementCursor.
|
2017-08-23 08:16:30 +02:00 |
|
Gwendal Roué
|
c5da564fb3
|
Use built-in SQLite3 module when available
|
2017-08-19 15:21:44 +02:00 |
|
Gwendal Roué
|
210939d2c1
|
SE-0169
|
2017-08-18 14:20:35 +02:00 |
|