swiftlyfalling
901b7a0f12
Add support for SQLite Pre-Update Hooks (+ tests)
...
If SQLITE_ENABLE_PREUPDATE_HOOK is defined, and GRDB is built with a
custom SQLite library with the functionality (see: GRDBCustomSQLite),
enable support for SQLite Pre-Update Hooks and the new
`willChangeWithEvent` callback on TransactionObservers.
2016-06-01 20:42:21 -04:00
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é
bc757016af
Issue #61 : Database.inSavepoint(named:)
2016-05-28 18:46:12 +02:00
Gwendal Roué
32cd559379
Issue #61 : fix failing test for TransactionObserver and savepoints
2016-05-28 15:57:32 +02:00
Gwendal Roué
ad8551b746
Issue #61 : fix failing test for TransactionObserver and savepoints
2016-05-28 15:54:26 +02:00
Gwendal Roué
a26bef8813
Issue #61 : failing test for TransactionObserver with several identically named savepoints
2016-05-28 15:09:56 +02:00
Gwendal Roué
34dad07393
Issue #61 : failing test for Database.isInsideTransaction after a SAVEPOINT statement
2016-05-28 15:03:02 +02:00
Gwendal Roué
5453aec1d0
Issue #61 : fix failing test for TransactionObserver and savepoints
2016-05-28 15:00:26 +02:00
Gwendal Roué
92431f20d7
Issue #61 : DatabaseEvent.copy() returns an event that can outlive a transaction observer’s databaseDidChangeWithEvent callback.
2016-05-28 14:27:25 +02:00
Gwendal Roué
9b6b66d22d
Issue #61 : fix failing test for TransactionObserver and savepoints
2016-05-28 14:25:39 +02:00
Gwendal Roué
83477c67d7
Issue #61 : failing tests for TransactionObserver and savepoints
2016-05-28 13:59:15 +02:00
Gwendal Roué
ac31392b90
Issue #61 : test TransactionObserver with a simple savepoint
2016-05-28 13:42:48 +02:00
Gwendal Roué
484d5a5968
Framework for GRDB+SQLCipher is named GRDBCipher
2016-04-03 21:30:22 +02:00
Gwendal Roué
7e3563f64b
Refactor tests so that DatabaseQueue can be configured at the target level. We are preparing tests for encrypted databases.
2016-04-03 16:20:45 +02:00
Gwendal Roué
d170b0d0e1
DatabaseEvent: make it lazy
2016-03-27 14:39:12 +02:00
Gwendal Roué
a308ffebeb
Merge branch 'master' of github.com:groue/GRDB.swift into Swift2.2
2016-03-17 08:02:06 +01:00
Gwendal Roué
eb513e87d2
Transaction observers are now added to database queues and pools
2016-03-11 17:08:31 +01:00
Gwendal Roué
d74cf435ed
Swift2.2
2016-02-10 19:09:28 +01:00
Gwendal Roué
1db2d6f5d0
Database holds weak references to its transaction observers
2016-02-09 21:02:09 +01:00
Gwendal Roué
f44ae2848f
Project organization
...
Project organization
README.md
WIP QueryBuilder documentation
README.md
WIP QueryBuilder documentation
WIP QueryBuilder documentation
TODO.md
2016-01-28 08:43:25 +01:00