Gwendal Roué
b9a878bb20
Cleanup
2018-09-11 08:56:29 +02:00
Gwendal Roué
8c479a863a
Documentation
2018-09-09 20:00:03 +02:00
Gwendal Roué
58a48b73ae
concurrentRead documentation
2018-09-09 19:55:07 +02:00
Gwendal Roué
41629ec9aa
Future.wait() must be called only once
2018-09-09 16:00:01 +02:00
Gwendal Roué
106812c02c
Fix SPM
2018-09-09 13:42:35 +02:00
Gwendal Roué
da58e228c0
Document Future
2018-09-09 13:18:15 +02:00
Gwendal Roué
9bfe893908
DatabaseWriter.concurrentRead replaces readFromCurrentState
2018-09-09 13:12:35 +02:00
Gwendal Roué
03a781075e
Cleanup
2018-09-06 08:50:56 +02:00
Gwendal Roué
60afc9ee06
Tweak existence checks for tables, views and triggers
2018-09-06 08:31:27 +02:00
Gwendal Roué
22165984c3
Cursor.isEmpty()
2018-09-06 08:29:57 +02:00
Gwendal Roué
e5cd3a8994
SE-0206
2018-08-30 16:34:30 +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é
566f42e8d0
Remove useless conversion contexts
2018-08-26 14:07:36 +02:00
Gwendal Roué
f159927724
SE-0075
2018-08-26 12:07:19 +02:00
Gwendal Roué
ae66563654
Documentation + test for mixed arguments
2018-08-23 14:52:59 +02:00
Gwendal Roué
d3a9667f10
Cleanup
2018-08-22 13:04:24 +02:00
Gwendal Roué
adf5695c20
Move StatementCache to Database+Statements.swift
2018-08-22 12:56:12 +02:00
Gwendal Roué
aa8cb60fad
SQLCipher has learned SQLITE_PREPARE_PERSISTENT
2018-08-22 12:52:13 +02:00
Gwendal Roué
65d99879a8
SQLCipher has learned SQLITE_PREPARE_PERSISTENT
2018-08-22 12:50:07 +02:00
Gwendal Roué
b14f1b9fdc
SQLCipher has learned sqlite3_prepare_v3
2018-08-22 08:53:01 +02:00
Gwendal Roué
46511e507e
Avoid code duplication in Database.setupTrace
...
Also, use sqlite3_trace_v2 with SQLCipher
2018-08-22 08:35:54 +02:00
Gwendal Roué
8f5eee0130
Avoid code duplication in Database.closeConnection
2018-08-22 08:01:26 +02:00
Gwendal Roué
209b3d0d37
Fix SPM and -O builds
2018-08-20 23:32:38 +02:00
Gwendal Roué
13f3e5ec0d
Remove useless conversions from Int to Int32
2018-08-20 21:14:32 +02:00
Gwendal Roué
fb209d8805
Decode UUID and NSUUID from both blobs and strings
2018-08-20 21:13:58 +02:00
Gwendal Roué
7be6386689
Fix DatabaseQueue.write and unsafeReentrantRead throws/rethrows qualifier.
2018-08-16 08:27:05 +02:00
Gwendal Roué
659db4fdd9
Safer default implementation for RowImpl.copiedRow(_:)
2018-08-15 17:33:05 +02:00
Gwendal Roué
eba21d3371
Oh men of little faith!
2018-08-15 16:55:12 +02:00
Gwendal Roué
b47f5864ac
Even better feedback for conversion errors from StatementColumnConvertible
2018-08-15 16:49:07 +02:00
Gwendal Roué
0b77d0d745
Better feedback for conversion errors from StatementColumnConvertible
2018-08-15 16:10:51 +02:00
Gwendal Roué
1c66ad4aad
Restore GRDB/Core/Support/Foundation/Data.swift
...
because Data belongs to Foundation, not to the Standard Library.
Remove `import Foundation` from StandardLibrary.swift
2018-08-15 12:05:16 +02:00
Gwendal Roué
4b7f17dbfa
Merge remote-tracking branch 'origin/development' into rotacloud
2018-08-15 05:12:28 +02:00
Vlad Alexa
76f5adf944
moved the extension to Swift.Data to follow the extension to Swift.String in the StandardLibrary.swift,
...
added case .blob(let data): return String(data: data, encoding: .utf8) to String.fromDatabaseValue
fixed tests
2018-08-14 15:04:07 +01:00
Angus Muller
8c06e7bff5
Detached rows string to data and tests
2018-08-14 11:16:47 +01:00
Gwendal Roué
d9dd293d7f
A really difficult cleanup process
2018-08-14 08:33:06 +02:00
Gwendal Roué
e49e2db571
Optimize decoding of StatementColumnConvertible values in Decodable records
...
This is the real final touch for #384 , after all
2018-08-13 21:17:52 +02:00
Gwendal Roué
9bc68cd10e
The final touch
2018-08-12 15:12:46 +02:00
Gwendal Roué
66541922a4
More cleanup
2018-08-12 12:27:47 +02:00
Gwendal Roué
80fe7f87b1
More cleanup
2018-08-12 11:39:48 +02:00
Gwendal Roué
bf5420de26
More cleanup
2018-08-12 10:20:10 +02:00
Gwendal Roué
ef10e2e8ed
General cleanup:
...
- rename ValueConversionDebuggingInfo to ValueConversionContext
- allow missing value conversion context (when decoding a raw DatabaseValue)
- rename ColumnCursor to FastDatabaseValueCursor
- rename NullableColumnCursor to FastNullableDatabaseValueCursor
2018-08-11 19:45:58 +02:00
Gwendal Roué
1dcb42c540
wip: debug info for no such column errors
2018-08-11 13:03:11 +02:00
Gwendal Roué
897fd32725
Cleanup
2018-08-11 12:58:04 +02:00
Gwendal Roué
e46902c845
wip: debug info for no such column errors
2018-08-11 07:16:55 +02:00
Gwendal Roué
d836fffd08
wpi: debug info for no such column errors
2018-08-10 08:52:32 +02:00
Gwendal Roué
9f2058f6d9
Fix DatabaseValueConvertible implementation for Decodable types that need a single-value container
2018-08-10 05:01:30 +02:00
Gwendal Roué
7d4ebce70a
TODO conversion error message for adapted rows
2018-08-10 04:52:59 +02:00
Gwendal Roué
cbda1f9211
Fix DatabaseValueConvertible implementation for Decodable types that need a single-value container
...
They used to crash on decoding errors
2018-08-10 04:52:23 +02:00
Gwendal Roué
220ce379e1
Test conversion error messages
2018-08-09 14:00:33 +02:00
Gwendal Roué
bcc45dc076
no more throwing conversion methods, and refactor ValueConversionDebuggingInfo
2018-08-09 08:51:50 +02:00