Commit Graph
8949 Commits
Author SHA1 Message Date
Gwendal Roué 07a1d4d1b8 Database.rollback: add missing dispatch queue check 2018-04-11 13:21:56 +02:00
Gwendal Roué 9c6b48980c Database.isInsideTransaction: add missing dispatch queue check 2018-04-11 13:18:34 +02:00
Gwendal Roué 79c7dd03a5 [Whitespace] 2018-04-11 13:10:15 +02:00
Gwendal Roué b252c689df Merge pull request #330 from groue/GRDB3-RemovePATs
Expressions are no longer PATs
2018-04-11 13:08:46 +02:00
Gwendal Roué c34380cf5c SQLExpression and SQLSelectable are no longer PATs 2018-04-11 08:19:15 +02:00
Gwendal Roué 75ab9d615c Merge pull request #329 from groue/GRDB3-RequestDerivation
Introduce request derivation protocols
2018-04-11 08:04:30 +02:00
Gwendal Roué b9333fab34 Update a few tests that have been broken by 64899e5a39.
(Some expressions which were not safely wrapped inside parenthesis now are wrapped inside parenthesis)
2018-04-10 13:45:31 +02:00
Gwendal Roué 64899e5a39 Introduce SelectionRequest, FilteredRequest, AggregatingRequest, and OrderedRequest.
Those request protocols allow types that are not QueryInterfaceRequest to expose the same derivation API. This is a necessary step towards associations.
2018-04-10 13:44:23 +02:00
Gwendal Roué 80889dc9d2 Merge pull request #328 from groue/GRDB3-DatabaseRequest
Allow observation of complex fetching strategies
2018-04-10 12:50:37 +02:00
Gwendal Roué b7239c4b6f Document request protocols 2018-04-08 13:18:02 +02:00
Gwendal Roué 67ae1d4cf0 Document request protocols 2018-04-08 13:09:24 +02:00
Gwendal Roué 03f5a83cbf Introduce and DatabaseRequest and SelectStatementRequest on top of FetchRequest 2018-04-08 12:08:51 +02:00
Gwendal Roué 77bb2ecc82 Merge branch 'SQLite-3.22.0' of github.com:groue/GRDB.swift into GRDB3 2018-04-08 11:51:56 +02:00
Gwendal Roué 3160b65172 Upgrade SQLiteCustom to 3.22.0 2018-04-04 13:23:46 +02:00
Gwendal Roué 65b3ba1d12 TODO 2018-04-04 09:49:38 +02:00
Gwendal Roué ce919f0411 GRDB3 TODO 2018-03-31 16:00:34 +02:00
Gwendal Roué 2dfbe8e5f2 Prevent snapshot creation from within a transaction 2018-03-31 15:56:42 +02:00
Gwendal Roué e9d45b5435 GRDB3 TODO 2018-03-31 15:07:19 +02:00
Gwendal Roué c3f9c75b3c Rename databaseEqual to databaseEquals 2018-03-31 14:53:22 +02:00
Gwendal Roué d24f79ee4d Merge branch 'master' into GRDB3 2018-03-31 14:36:43 +02:00
Gwendal Roué 2992bd544e GRDB3 TODO 2018-03-30 10:49:43 +02:00
Gwendal Roué 31ed3ce277 GRDB3 TODO 2018-03-30 09:12:35 +02:00
Gwendal Roué 91b574e153 v2.10.0 v2.10.0 2018-03-30 08:32:18 +02:00
Gwendal Roué 7966b43daf Merge pull request #295 from groue/Swift4.1
Xcode 9.3 & Swift 4.1
2018-03-30 08:31:30 +02:00
Gwendal Roué 17dfb0db9d CHANGELOG 2018-03-30 08:19:46 +02:00
Gwendal Roué 2c3a62abbc Update performance tests for Swift 4.1 2018-03-30 08:12:24 +02:00
Gwendal Roué f9a806d9aa Xcode 9.3 artifact: IDEWorkspaceChecks.plist 2018-03-30 07:51:34 +02:00
Gwendal Roué afd2d25e5e Makefile: add support for Xcode 9.3 2018-03-30 07:21:49 +02:00
Gwendal Roué 4ee9580d31 Remove redundant conformance of DatabaseValue to SQLExpressible 2018-03-29 15:31:22 +02:00
Gwendal Roué b35cf4afdc Record.save(_:) documents that is can't be overridden 2018-03-15 20:46:03 +01:00
Gwendal Roué 930246592a Cleanup TODO 2018-03-15 20:32:04 +01:00
Gwendal Roué 727be0a8ab Merge pull request #321 from groue/GRDB3-Testability
Improve testability
2018-03-15 20:25:18 +01:00
Gwendal Roué ebe1d93c3a Polish 2018-03-15 20:22:39 +01:00
Gwendal Roué c7ad3ef4a9 DatabaseMigrator.appliedMigrations(in:) doc & changelog 2018-03-15 20:15:23 +01:00
Gwendal Roué fa8ed89eae DatabaseMigrator.appliedMigrations(_:) 2018-03-15 20:10:59 +01:00
Gwendal Roué 0d7f392bcd Database.isGRDBInternalTable(_:) 2018-03-15 20:04:50 +01:00
Gwendal Roué d61551cedb Database.isSQLiteInternalTable(_:) doc 2018-03-15 19:57:03 +01:00
Gwendal Roué 07b944039c Database.isSQLiteInternalTable(_:) 2018-03-15 19:52:44 +01:00
Gwendal Roué 95933e93dd Fix SQLRequest inline documentation 2018-03-12 23:03:46 +01:00
Gwendal Roué 1cbe60a13f Better checks for Swift < 4.1 (thanks @hartbit!) 2018-03-12 18:33:06 +01:00
Gwendal Roué 9505ba1606 Replace flatMap with compactMap in README.md 2018-03-12 18:20:10 +01:00
Gwendal Roué bca1fe0d9b SE-0184: backport UnsafeMutablePointer.deallocate() 2018-03-12 18:20:10 +01:00
Gwendal Roué 1d28ca1fca TODO Swift 4.1 2018-03-12 18:20:10 +01:00
Gwendal Roué a75e519294 SE-0185: let Swift 4.1 generate as much Equatable and Hashable conformance as possible 2018-03-12 18:20:10 +01:00
Gwendal Roué 75d5c2a39f SE-0187: deprecate Cursor.flatMap in favor of Cursor.compactMap 2018-03-12 18:20:10 +01:00
Gwendal Roué 85d3c584ef Swift 4.1 compatibility (SE-0184 , SE-0187) 2018-03-12 18:20:10 +01:00
Gwendal Roué ad0f6de809 Fix Xcode9.3 warnings 2018-03-12 18:20:10 +01:00
Gwendal Roué 5defb058d3 TODO 2018-03-05 14:22:58 +01:00
Gwendal Roué f202ad5e3f TODO 2018-03-05 10:18:44 +01:00
Gwendal Roué 1cd8467b8f TODO 2018-03-05 09:59:01 +01:00