Commit Graph
8949 Commits
Author SHA1 Message Date
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é c13ac87a5b Database.primaryKey(): work around an SQLite bug 2016-05-17 19:40:17 +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é d5367fc2b2 Issue #51: Perform Database.close() in the correct queue 2016-05-17 19:03:07 +02:00
Gwendal Roué 0333406fbc Fix tests for 32bits systems 2016-05-17 19:02:06 +02:00
Gwendal Roué 6f779faa05 Documentation 2016-05-17 13:45:39 +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é 04e648b3f9 More RowAdapter tests 2016-05-13 11:37:31 +02:00
Gwendal Roué 6de0debb49 More RowAdapter tests 2016-05-13 11:35:38 +02:00
Gwendal Roué 84929771be RowAdapter initial implementation 2016-05-13 11:30:44 +02:00
Gwendal Roué 3b00230580 README.md 2016-05-12 19:53:48 +02:00
Gwendal Roué 959b11d19e Fix v0.62.0 release date 2016-05-12 08:19:29 +02:00
Gwendal Roué 2ad59f1aa5 v0.62.0 v0.62.0 2016-05-12 08:18:02 +02:00
Gwendal Roué 494682c2af FetchedRecordsController iOS fixes 2016-05-12 08:15:24 +02:00
Gwendal Roué d48d0e621f FetchedRecordsController documentation 2016-05-12 07:59:38 +02:00
Gwendal Roué 1a3382aa24 CHANGELOG.md 2016-05-12 07:56:36 +02:00
Gwendal Roué 5c065d3f8a FetchedRecordsController documentation 2016-05-12 07:54:57 +02:00
Gwendal Roué 4799957d08 CHANGELOG.md 2016-05-12 07:48:36 +02:00
Gwendal Roué 307f43ce12 FetchedRecordsController documentation 2016-05-11 23:25:21 +02:00
Gwendal Roué b13fc99797 FetchedRecordsController: hide all UITableView-related methods from OSX 2016-05-11 23:24:30 +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é 04713d9652 FetchedRecordsController: use unowned self in callbacks 2016-05-11 10:04:22 +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é 5614f57f43 v0.61.0 v0.61.0 2016-05-10 09:57:03 +02:00
Gwendal Roué f9d82b8ead FetchedRecordsController cleanup 2016-05-10 09:12:27 +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é 10d20748ad SQLITE_FULL, SQLITE_IOERR, SQLITE_BUSY, and SQLITE_NOMEM errors can mean that a transaction has been automatically rollbacked: update isInsideTransaction flag accordingly. 2016-05-09 20:52:36 +02:00
Gwendal Roué 25fc832ae5 CHANGELOG.md 2016-05-09 20:19:13 +02:00
Gwendal Roué fe5ef03bc8 A failed COMMIT is repaired with a ROLLBACK 2016-05-09 20:17:30 +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é 95cb311f6c More TODO 2016-05-09 08:06:26 +02:00
Gwendal Roué e1bb98ec94 Less TODO 2016-05-08 19:49:34 +02:00
Gwendal Roué d7e0e44de0 TODO.md 2016-05-07 19:48:24 +02:00
Gwendal Roué 8a54e4cd76 TODO.md 2016-05-07 14:46:55 +02:00
Gwendal Roué b89c4f95e8 CHANGELOG.md 2016-05-07 13:29:06 +02:00
Gwendal Roué 087a1a1af5 v0.60.1 v0.60.1 2016-05-07 13:27:52 +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é 6c826b6ecf Statement: don’t store sql string, and use sqlite3_sql instead. Plus some cleanup. 2016-05-07 11:57:35 +02:00
Gwendal Roué 8e864b9df4 Use sqlite3_close_v2, and check its result 2016-05-07 11:37:33 +02:00
Gwendal Roué 6e0837325c Documentation 2016-05-07 11:34:24 +02:00
Gwendal Roué b237df4b6d Use sqlite3_close_v2 2016-05-07 11:34:18 +02:00
Gwendal Roué 96f8a57f44 minor 2016-05-07 09:50:55 +02:00