Commit Graph
2320 Commits
Author SHA1 Message Date
Gwendal Roué 4e2f396b4a RowAdapter refactoring 2016-05-20 21:00:50 +02:00
Gwendal Roué 4c2a53ac26 Issue #50: More MappedRowTests 2016-05-20 15:53:57 +02:00
Gwendal Roué 3fcbcb9455 Merge branch 'master' into RowAdapter
Conflicts:
	TODO.md
2016-05-20 10:56:02 +02:00
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é daba5b2102 Merge branch 'master' into RowAdapter
Conflicts:
	GRDB.xcodeproj/project.pbxproj
	GRDB/Record/FetchedRecordsController.swift
	TODO.md
2016-05-19 20:40:26 +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é 3b93cf8e28 Issue #50: More MappedRowTests 2016-05-19 08:32:34 +02:00
Gwendal Roué 75258afb6c Issue #50: Tests for FetchedRecordsController(...:adapter:) 2016-05-19 08:26:28 +02:00
Gwendal Roué fca37601dd Issue #50: Tests for RowConvertible.fetch(…:adapter:) 2016-05-19 06:37:56 +02:00
Gwendal Roué c891c3cff8 Merge branch 'master' into RowAdapter 2016-05-19 05:40:15 +02:00
Gwendal Roué 917e75050e Merge branch 'master' into RowAdapter
Conflicts:
	GRDB/Core/Row.swift
2016-05-19 05:35: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é 695279e784 Issue #50: More MappedRowTests 2016-05-18 16:28:06 +02:00
Gwendal Roué 51130c354b Issue #50: More MappedRowTests 2016-05-18 13:55:02 +02:00
Gwendal Roué 79d1845266 Issue #50: More RowAdapterTests 2016-05-18 09:16:03 +02:00
Gwendal Roué 4f1173e609 Issue #50: More RowAdapterTests 2016-05-18 09:10:48 +02:00
Gwendal Roué 23178a2727 Issue #50: More RowAdapterTests 2016-05-18 09:09:09 +02:00
Gwendal Roué 60ab73d8a4 Issue #50: AdaptedRowImpl preserves column ordering 2016-05-18 09:04:39 +02:00
Gwendal Roué 2a39120b38 Issue #50: RowAdapter mappings have mandatory matching columns in the iterated statement. 2016-05-18 08:27:52 +02:00
Gwendal Roué c5bc699c26 Merge branch 'master' into RowAdapter 2016-05-18 07:53:17 +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é 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é 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