Commit Graph
150 Commits
Author SHA1 Message Date
Gwendal Roué 6bdf433e95 Issue #53: add a FAQ entry for the Generic parameter 'T' could not be inferred error 2016-05-20 08:19:39 +02:00
Gwendal Roué 7772749e88 Fix DatabaseQueueTests for GRDBCipher tests 2016-05-19 15:28:56 +02:00
Gwendal Roué a9d3dffd3c Failing test for issue #54 2016-05-19 13:57:25 +02:00
Gwendal Roué 5fac4abc07 Use FetchRequest instead of QueryInterfaceRequest where relevant 2016-05-19 13:35:45 +02:00
Gwendal Roué 5b57707b86 Rename FetchRequest to QueryInterfaceRequest 2016-05-19 13:08:36 +02:00
Gwendal Roué 49b35a9216 More failing tests for issue #53 2016-05-19 09:05:12 +02:00
Gwendal Roué a08bbbad29 Failing tests for issue #53 2016-05-19 09:02:20 +02:00
Gwendal Roué f553f2d2b0 Remove Row subscripting by column name; row.databaseValue(named:) returns an optional DatabaseValue 2016-05-18 19:03:29 +02:00
Gwendal Roué 4185de77e0 Remove DatabaseValue.failableValue() 2016-05-18 18:40:03 +02:00
Gwendal Roué c1169f0d2c Issue #51: Restore statement caching, now that the database is closed in the correct queue. 2016-05-17 20:08:55 +02:00
Gwendal Roué 37d7c178f5 DatabaseMigratorTests: accept various error messages from various SQLite versions 2016-05-17 19:43:15 +02:00
Gwendal Roué c34d64b3bb DatabaseErrorTests: accept various error messages from various SQLite versions 2016-05-17 19:43:07 +02:00
Gwendal Roué 8934596527 DatabaseErrorTests: accept various error messages from various SQLite versions 2016-05-17 19:40:47 +02:00
Gwendal Roué 09ea2dcd10 PRAGMA defer_foreign_keys is not available until iOS 8.2 and OS X 10.10 2016-05-17 19:25:04 +02:00
Gwendal Roué 1dd6707070 Support for advanced migrations is not available until iOS 8.2 and OS X 10.10 2016-05-17 19:24:39 +02:00
Gwendal Roué 0333406fbc Fix tests for 32bits systems 2016-05-17 19:02:06 +02:00
Gwendal Roué 82fa559962 Issue #51: sqlite3_close_v2() is not available until iOS 8.2 and OS X 10.10. Until then, use sqlite3_close(), and avoid caching statements. Disable the concurrency tests that check database deallocation while some statements are running. 2016-05-17 13:39:29 +02:00
Gwendal Roué eca93cb43f Fix some tests for iOS8 2016-05-17 13:00:34 +02:00
Gwendal Roué 5c065d3f8a FetchedRecordsController documentation 2016-05-12 07:54:57 +02:00
Gwendal Roué 1f30f8dcf3 FetchedRecordsController: hide all UITableView-related methods from OSX 2016-05-11 19:35:45 +02:00
Gwendal Roué fbb40e1232 FetchedRecordsController: tests that trackChanges { ... } trailing closure is invoked after records have been changed. 2016-05-11 10:45:48 +02:00
Gwendal Roué 1d5999e50b FetchedRecordsController: expose UITableView-targetted callbacks to iOS only 2016-05-11 10:36:51 +02:00
Gwendal Roué 050f432c10 FetchedRecordsController: callbacks must be set all at once. Restore optional tracking. 2016-05-11 08:32:11 +02:00
Gwendal Roué 1201f4e008 FetchedRecordsController: replace delegate with callbacks 2016-05-10 14:16:13 +02:00
Gwendal Roué fba181bfea FetchedRecordsController: notify delegate of eventual changes when the delegate is set after performFetch() has been called.
With this change, it doesn’t matter if the delegate setter is called before of after performFetch().
2016-05-10 08:17:20 +02:00
Gwendal Roué fe158d20ed Failing test that checks that a failed COMMIT is repaired with a ROLLBACK 2016-05-09 20:17:19 +02:00
Gwendal Roué db86ceca0e Tests that when Database is deallocated, there is no remaining busy update statement. 2016-05-07 13:18:50 +02:00
Gwendal Roué a54b0389ae Remove sharing of cached statements between database pool readers 2016-05-07 13:17:45 +02:00
Gwendal Roué fbb59d2d6c DatabaseReader.backup(to:) 2016-05-05 15:24:14 +02:00
Gwendal Roué 94797986a9 Expose FetchedRecordsController to OSX 2016-05-03 11:44:04 +02:00
Gwendal Roué bd67f86769 FetchedRecordsController tests WIP 2016-05-02 09:13:07 +02:00
Gwendal Roué 96a8a0f1fa FetchedRecordsController tests WIP 2016-05-01 16:56:17 +02:00
Gwendal Roué 4253a46282 FetchedRecordsController tests WIP 2016-05-01 14:06:04 +02:00
Gwendal Roué 660c255532 Drop obsolete test 2016-05-01 14:05:55 +02:00
Gwendal Roué 3956f1d183 FetchedRecordsController tests WIP 2016-05-01 14:00:00 +02:00
Gwendal Roué 234e1e6810 FetchedRecordsController tests WIP 2016-04-30 14:50:10 +02:00
Gwendal Roué 4c52d51aa2 Fix performance tests 2016-04-26 13:27:42 +02:00
Gwendal Roué 663b89a4a5 SQLite.swift 0.10.1 2016-04-26 13:13:51 +02:00
Gwendal Roué 0a4779ed8c Realm 0.99.1 2016-04-26 13:13:36 +02:00
Gwendal Roué 43e9a63210 FetchRequest.reverse() sort by descending rowID when no ordering has been specified. 2016-04-21 09:03:01 +02:00
Gwendal Roué 6550454d1e Replace DatabaseChanges with Database.lastInsertedRowID and Database.changesCount 2016-04-20 21:58:58 +02:00
Gwendal Roué 8d3796324d Update GRDBProfiling app to block-based database accesses. 2016-04-08 08:37:02 +02:00
Gwendal Roué 4bcff181c7 Back to block-based database accesses.
Rationale: https://medium.com/@gwendal.roue/four-different-ways-to-handle-sqlite-concurrency-db3bcc74d00e
2016-04-08 08:29:58 +02:00
Gwendal Roué 6ef4a6eb08 More tests for DatabasePool read that starts while a write is running. 2016-04-07 06:22:51 +02:00
Gwendal Roué 9e52513138 Explicit test for DatabasePool read that starts while a write is running. 2016-04-06 23:53:10 +02:00
Gwendal Roué e9043d1e93 Explicit test for DatabasePool read that starts while a write is running. 2016-04-06 21:29:49 +02:00
Gwendal Roué 18ba7ed086 Restore save(DatabaseQueue/Pool) 2016-04-05 18:31:06 +02:00
Gwendal Roué 4c3efab946 Test app for Carthage integration of GRDBCipher 2016-04-05 13:57:57 +02:00
Gwendal Roué 023d757964 Attempt to fix CocoaPods 2016-04-05 08:53:02 +02:00
Gwendal Roué d519a92719 testExportPlainTextDatabaseToEncryptedDatabase 2016-04-05 06:33:11 +02:00