swiftlyfalling
30bc7e4f6c
Replace most uses of #if SQLITE_HAS_CODEC with the appropriate USING_BUILTIN_SQLITE or USING_SQLCIPHER defines.
...
This enables easier compilation of a custom version of SQLite that
itself uses the SQLITE_HAS_CODEC define. (ex. If building SQLite with
the SQLite Encryption Extension.)
The SQLITE_HAS_CODEC define is now only used to guard use of the SQLite
encryption APIs.
GRDBCipher builds define USING_BUILTIN_SQLITE and USING_SQLCIPHER.
2016-05-30 18:19:45 -04:00
Gwendal Roué
1201f4e008
FetchedRecordsController: replace delegate with callbacks
2016-05-10 14:16:13 +02:00
Gwendal Roué
a0ecab10ac
Cleanup
2016-05-06 13:30:40 +02:00
Gwendal Roué
565f627429
Reimplement ReadWriteBox with GCD
2016-05-06 13:01:28 +02:00
Gwendal Roué
023d757964
Attempt to fix CocoaPods
2016-04-05 08:53:02 +02:00
Gwendal Roué
f868d3eead
changePassphrase()
2016-04-05 05:51:19 +02:00
Gwendal Roué
20a16de9de
DatabaseWriter.setKey() and reKey()
2016-04-03 17:58:03 +02:00
Gwendal Roué
3e0fcc4b87
New GRDBCipherOSX target + tests
2016-04-03 11:40:34 +02:00
Gwendal Roué
06095ec343
Fix #37
2016-03-31 10:27:12 +02:00
Gwendal Roué
36a35ef303
[Swift bug] Prevent a memory leak
2016-03-27 15:48:07 +02:00
Gwendal Roué
32461d221a
Merge commit '7de27389aa89f731b977e2d046c8b12ff2191e5d' into FetchedRecordsController
2016-03-22 21:06:04 +01:00
Gwendal Roué
e3ee49a868
FetchedRecordsController: properly serialize computations, require client access from main thread, fix known crashers
2016-03-21 14:08:36 +01:00
Gwendal Roué
c6f96906ca
Avoid build errors by using ad-hoc Swift modules that import the right sqlite3 header depending on the platform (MacOSX, iPhoneOS, iPhoneSimulator).
2016-03-17 08:54:09 +01:00
Gwendal Roué
4f427601d4
Dictionary(_ sequence:) renamed to Dictionary(keyValueSequence:)
2016-03-17 08:08:26 +01:00
Gwendal Roué
9c3e677e0c
Make Database.read() conform to the isolation level required by DatabaseReader.
2016-03-12 18:36:06 +01:00
Gwendal Roué
1fcc8c764f
Custom SQL functions are collations are now added to database queues and pools.
2016-03-10 13:50:47 +01:00
Gwendal Roué
5d229373e6
Memory management: clearMemory() and DatabasePool.closeReaderConnections()
2016-03-10 08:51:31 +01:00
Gwendal Roué
e0031ddc42
DatabasePool concurrency tests
2016-03-09 19:29:45 +01:00
Gwendal Roué
5ac0eda8a6
Share database schema cache between DatabasePool readers and writer
2016-03-09 17:31:24 +01:00
Gwendal Roué
fff402f2b1
Introduce DatabasePool which provides several readers and a single writer on a single database in WAL Mode
2016-03-09 08:21:36 +01:00
Gwendal Roué
8237ec8a2a
Minor
2016-02-07 12:13:02 +01:00
Gwendal Roué
49b80a4f71
Documentation formatting
2016-01-31 13:38:41 +01:00
Gwendal Roué
a4a8b5c93b
Cleanup
2016-01-20 18:08:21 +01:00
Gwendal Roué
2fae115531
Cleanup
2016-01-16 15:13:51 +01:00