Gwendal Roué
ac6c7f6a35
#147 : fetchAll() and fetchOne() can now throw database errors.
2016-11-26 22:38:40 +01:00
Gwendal Roué
e7378cbba0
Test that the truncate optimization does not prevent transaction observers from observing individual deletions
2016-09-22 07:45:32 +02:00
Gwendal Roué
eac0901af0
Refactor database event filtering
2016-09-10 18:28:44 +02:00
Gwendal Roué
404706a3db
Swift 3 tests
2016-08-07 13:19:53 +02:00
Gwendal Roué
2d78d04d52
Update for Xcode Version 8.0 beta 4 (8S188o)
2016-08-01 22:33:50 +02:00
Gwendal Roué
23ffef8943
Swift3: turn TableMapping.databaseTableName() into a read-only property
2016-07-20 18:38:56 +02:00
Gwendal Roué
b624874768
Merge branch 'master' of github.com:groue/GRDB.swift into Swift3bis
...
Conflicts:
GRDB.xcodeproj/project.pbxproj
GRDB/Core/Database.swift
GRDB/Core/DatabaseWriter.swift
GRDB/Core/Statement.swift
GRDB/FetchRequest/QueryInterfaceRequest.swift
GRDB/FetchRequest/SQLCollation.swift
GRDB/FetchRequest/SQLSelectQuery.swift
GRDB/Record/FetchedRecordsController.swift
README.md
Tests/Private/StatementInformationTests.swift
Tests/Public/Core/DatabaseValueConvertible/DatabaseValueConversionTests.swift
Tests/Public/Core/SQLiteStatementConvertible/SQLiteStatementConversionTests.swift
2016-06-21 09:03:02 +02:00
Gwendal Roué
e0ea5af18e
Refactor database events filtering
2016-06-20 20:38:31 +02:00
Gwendal Roué
6a466fcb12
Detailed database changes observation
2016-06-20 15:21:14 +02:00
Gwendal Roué
d478e4b1f4
Merge branch 'master' of github.com:groue/GRDB.swift into Swift3bis
2016-06-04 12:39:27 +02:00
Gwendal Roué
ac9b2e8ba4
Merge branch 'master' of github.com:groue/GRDB.swift into Swift3bis
2016-06-04 12:10:36 +02:00
Gwendal Roué
e11673d15c
Merge branch 'master' of github.com:groue/GRDB.swift into Swift3bis
...
Conflicts:
GRDB/Core/Database.swift
GRDB/FetchRequest/SQLSelectQuery.swift
GRDB/Record/FetchedRecordsController.swift
GRDB/Record/TableMapping.swift
Tests/Public/Core/Persistable/MutablePersistableTests.swift
Tests/Public/Core/Persistable/PersistableTests.swift
Tests/Public/Core/Savepoint/SavepointTests.swift
Tests/Public/Core/TransactionObserver/TransactionObserverSavepointsTests.swift
Tests/Public/Core/TransactionObserver/TransactionObserverTests.swift
2016-06-03 05:17:11 +02:00
swiftlyfalling
ab3332ed8f
Add test of removeTransactionObserver()
2016-06-02 18:07:42 -04:00
Gwendal Roué
88c284dbf1
Merge branch 'master' into Swift3bis
...
Conflicts:
GRDB/Core/Database.swift
GRDB/FetchRequest/QueryInterfaceRequest.swift
GRDB/FetchRequest/SQLCollation.swift
GRDB/FetchRequest/SQLFunction.swift
GRDB/FetchRequest/SQLOperator.swift
GRDB/FetchRequest/SQLSelectQuery.swift
README.md
2016-06-02 20:47:04 +02:00
Gwendal Roué
7c4ff7677d
swift-DEVELOPMENT-SNAPSHOT-2016-05-09-a
2016-06-02 08:38:15 +02:00
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