Gwendal Roué
2a72d08334
Restore Database.logError
2019-04-21 12:59:12 +02:00
Gwendal Roué
1f50b4fefe
Integrate SQLCipher as a CocoaPod
2019-04-19 08:33:19 +02:00
Gwendal Roué
2711b9bb04
Merge branch 'GRDB-4.0' into feature/fetchOne-limit-1
2019-04-18 07:01:03 +02:00
Alex Robinson
7070dedf1a
Replace FetchRequestHint with a boolean for single results
...
Fixes previous test failure
2019-04-16 10:20:36 +10:00
Alex Robinson
072fa2583a
Add hints for use in request preparation
...
Hints are ignored by SQLRequest. When you write raw SQL you probably don't want GRDB to modify your query.
2019-04-11 13:14:41 +10:00
Gwendal Roué
3ca7647110
Merge branch 'GRDB-4.0' into mkirk/GRDB-4.0-sqlcipher-cipher_compatibility
...
# Conflicts:
# CHANGELOG.md
2019-04-09 20:25:22 +02:00
Gwendal Roué
2c4a449c5b
Fix prepareDatabase sample code and markdown layout
2019-04-09 20:23:08 +02:00
Gwendal Roué
49d92dc6ce
Three slashes for documentation comment
2019-04-09 20:21:34 +02:00
Gwendal Roué
b67a53e645
whitespace
2019-04-09 19:57:22 +02:00
Gwendal Roué
a0f37c6e85
Simplify Database.validateFormat()
2019-04-09 19:56:01 +02:00
Gwendal Roué
82dc51c554
Document prepareDatabase call site
...
Because it willl be easy to forget the context of #508 when we read this code in the future
2019-04-09 19:55:45 +02:00
Gwendal Roué
6115078e95
Simplify Database.validateSQLCipher()
2019-04-09 19:46:58 +02:00
Gwendal Roué
8d35330e12
whitespace
2019-04-09 19:40:27 +02:00
Gwendal Roué
212290bbf9
Make DatabaseRegion documentation less detailed
2019-04-09 19:23:50 +02:00
Matthew Chen
0561b7de5d
Respond to CR.
2019-04-05 09:50:07 -04:00
Matthew Chen
9f41277bd4
Make more DatabaseRegion initializers public; elaborate docs.
2019-04-05 09:47:08 -04:00
Matthew Chen
9f4cad4134
Make DatabaseRegion initializer public to enable observation of tables.
2019-04-05 09:47:08 -04:00
Michael Kirk
747a6352d6
example docs
2019-04-04 16:03:30 -06:00
Matthew Chen
325b376f4c
Fix notification name.
2019-04-04 18:01:12 -04:00
Michael Kirk
29c1c5481c
inline setupConnection, re-order method calls to call validateFormat later, convert static->instance methods where possible
2019-04-04 15:55:53 -06:00
Michael Kirk
ebc7a9d8e0
fix #if scope
2019-04-04 15:42:19 -06:00
Michael Kirk
99065a4faf
prepareDB block
2019-04-02 10:47:31 -06:00
Gwendal Roué
d888423676
Fix outdated documentation
2019-03-16 14:32:10 +01:00
Gwendal Roué
7183457217
Rename Future to DatabaseFuture
2019-03-14 06:43:40 +01:00
Gwendal Roué
9500a74744
Merge branch 'development' into GRDB-4.0
...
# Conflicts:
# .travis.yml
# CHANGELOG.md
# GRDB/QueryInterface/SQLSelectQueryGenerator.swift
# GRDB/Utils/OrderedDictionary.swift
# README.md
2019-03-10 12:16:08 +01:00
Gwendal Roué
211ac7aada
Make Configuration.cipherPageSize an Int
...
As said in https://github.com/groue/GRDB.swift/issues/498#issuecomment-471156347
2019-03-09 13:38:28 +01:00
Gwendal Roué
d60b68ab8a
Document the BusyMode.timeout unit ( #498 )
2019-03-09 12:45:11 +01:00
Marcel Ball
6543d75f6d
Updated based upon feedback from @groue
...
- Renamed `KDFIternations` to `kdfIterations` to better fit naming conventions
- In case of errors setting values return the sqlite error code and message instead of .SQLITE_MISUSE and a generic message
- Fixed formatting/typos in documentation
2019-03-07 17:51:16 -04:00
Marcel Ball
47f9b0f4a9
Added inline comments for new configuration options.
2019-03-06 21:21:43 -04:00
Marcel Ball
8415e8c2a0
Rename parameter to better align with the SQLCipher PRAGMA
2019-03-06 20:58:55 -04:00
Marcel Ball
d4eb7ba27b
Added configuration options to GRDBcipher for kdf_iterations
2019-03-06 20:41:38 -04:00
Marcel Ball
090eea9923
Update naming for the enumeration to be clearer
2019-03-06 20:41:01 -04:00
Marcel Ball
cf128ac800
Added configuration option to set cipher_page_size on connection
...
* Defaults to 1024 - which is the default in SQLCipher
2019-03-06 16:50:55 -04:00
Gwendal Roué
403c4a894f
Apply lovely advice from @glessard
2019-03-06 18:18:15 +01:00
Gwendal Roué
e966544aeb
Remove ValueObservation.extent
2019-03-01 13:17:48 +01:00
Gwendal Roué
4935c6f258
Rename ValueScheduling.onQueue(_:startImmediately:) to .async(onQueue:startImmediately:)
2019-03-01 08:24:00 +01:00
Gwendal Roué
03fafa437c
Cleanup
2019-03-01 08:05:46 +01:00
Gwendal Roué
0fe7db2694
Assume NSUUID.fromDatabaseValue no longer needs special care in Release configuration, since we target Xcode 10+ now
2019-02-28 13:28:06 +01:00
Gwendal Roué
5ffc35a955
Remove SR-6067 workaround
2019-02-28 08:35:16 +01:00
Gwendal Roué
1084fe0425
Cleanup
2019-02-26 20:45:58 +01:00
Gwendal Roué
8d867320b0
Remove DatabaseValue.losslessConvert methods
...
They were used by RxGRDB until 0.13.0.
2019-02-26 20:40:13 +01:00
Gwendal Roué
caaf2365e0
Fix compiler warning: make SQLiteValue @usableFromInline
2019-02-23 20:31:56 +01:00
Gwendal Roué
bed9164bcd
Allow specialization of fetching methods
2019-02-23 18:34:42 +01:00
Gwendal Roué
f3621da329
@inlinable remaining Row subscripts
2019-02-23 17:37:04 +01:00
Gwendal Roué
aa4f7c3d78
@inlinable StatementCursor
2019-02-23 17:19:56 +01:00
Gwendal Roué
9906cf799c
@inlinable DatabaseValueCursor and NullableDatabaseValueCursor
2019-02-23 17:04:32 +01:00
Gwendal Roué
eb1672dec3
Revert wrong Xcode refactoring
2019-02-23 15:41:38 +01:00
Gwendal Roué
dd0926ebfb
ValueConversionContext does not need to be @usableFromInline
2019-02-23 15:35:23 +01:00
Gwendal Roué
e80f3639af
Revert wrong Xcode refactoring
2019-02-23 15:34:25 +01:00
Gwendal Roué
944b3ac07d
@inlinable RowCursor, and Row subscript returning StatementColumnConvertible
2019-02-23 15:27:12 +01:00