Commit Graph
600 Commits
Author SHA1 Message Date
Gwendal Roué afa8cfce5e Minor 2016-05-21 15:43:27 +02:00
Gwendal Roué 9794b72607 Fixes #55 2016-05-21 15:08:16 +02:00
Gwendal Roué 997a29e70b Fixes #58 2016-05-21 12:15:36 +02:00
Gwendal Roué d8b935369b RowAdapter refactoring 2016-05-20 21:57:39 +02:00
Gwendal Roué 4e2f396b4a RowAdapter refactoring 2016-05-20 21:00:50 +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é 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é fca37601dd Issue #50: Tests for RowConvertible.fetch(…:adapter:) 2016-05-19 06:37:56 +02:00
Gwendal Roué 55301efa3e Issue #50: FetchedRecordsController(…:adapter:) 2016-05-19 06:03:22 +02:00
Gwendal Roué 82052848ee Issue #50: RowConvertible.fetch(…:adapter:) 2016-05-19 05:55:42 +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é 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é 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é 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é 5c065d3f8a FetchedRecordsController documentation 2016-05-12 07:54:57 +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é 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é 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é 185c2575b6 Protect Persistable query cache with a thread-safe ReadWriteBox 2016-05-06 13:17:57 +02:00
Gwendal Roué f3bc909a02 From future import Swift 3 2016-05-05 13:23:28 +02:00
Gwendal Roué 94797986a9 Expose FetchedRecordsController to OSX 2016-05-03 11:44:04 +02:00
Gwendal Roué 9f4b03c14f Mark methods that are slow to compile (thanks to https://medium.com/swift-programming/speeding-up-slow-swift-build-times-922feeba5780) 2016-04-28 06:36:23 +02:00
Gwendal Roué 6550454d1e Replace DatabaseChanges with Database.lastInsertedRowID and Database.changesCount 2016-04-20 21:58:58 +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é 18ba7ed086 Restore save(DatabaseQueue/Pool) 2016-04-05 18:31:06 +02:00
Gwendal Roué 41fab091d0 GRDBCipheriOS 2016-04-03 22:16:30 +02:00
Gwendal Roué a355892ce5 FetchedRecordsController.setRequest(sql:arguments:) 2016-04-02 08:52:38 +02:00
Gwendal Roué 52c0f31578 FetchedRecordsController: rename writer property to databaseWriter 2016-04-02 08:46:04 +02:00
Gwendal Roué e132b54c9f FetchedRecordsController documentation 2016-04-02 08:41:19 +02:00
Gwendal Roué dc942c5734 The save() method now requires a Database connection argument, and won’t accept DatabaseQueue or DatabasePool directly. 2016-04-02 08:37:30 +02:00
Gwendal Roué 06095ec343 Fix #37 2016-03-31 10:27:12 +02:00
Gwendal Roué 669720c6dc v0.54.1 2016-03-29 19:07:32 +02:00
Gwendal Roué efdc6053ff FetchedRecordsController: fix concurrency bug 2016-03-29 08:53:55 +02:00
Gwendal Roué ab3ec443d2 Simplify SerializedDatabase 2016-03-29 08:26:07 +02:00
Gwendal Roué 50a62edbaf FetchedRecordsController documentation 2016-03-28 00:08:46 +02:00
Gwendal Roué afe2c9db2f FetchedRecordsController documentation 2016-03-28 00:05:20 +02:00
Gwendal Roué 3e3ba6e7ed FetchedRecordsController optimization for DatabasePool: release the writer dispatch queue before the end of the fetch 2016-03-27 14:22:32 +02:00
Gwendal Roué ea929a78e0 FetchedRecordsController TODO 2016-03-27 11:15:56 +02:00
Gwendal Roué c845c19477 FetchedRecordsController TODO 2016-03-27 11:15:31 +02:00
Gwendal Roué 05eb7b35f8 FetchedRecordsController can change its fetch request, and notify the delegate of changes 2016-03-26 17:41:45 +01:00
Gwendal Roué 77e245aec3 Make FetchedRecordsControllerDelegate methods optional 2016-03-26 16:26:39 +01:00
Gwendal Roué eaf8193d37 Documentation of didInsertWithRowID(rowID:forColumn:) 2016-03-26 16:26:28 +01:00
Gwendal Roué 8257b05c8f FetchedRecordsController documentation 2016-03-26 14:21:17 +01:00
Gwendal Roué 0912139fc5 FetchedRecordsController documentation 2016-03-26 14:10:40 +01:00