Commit Graph
3061 Commits
Author SHA1 Message Date
Gwendal Roué 29dcbaeaa3 FetchedResultsController: add optional arguments to the sql initializer (be consistent with the rest of the library) 2016-03-15 19:29:17 +01:00
Gwendal Roué 46f6e6d1ea FetchedResultsController: gather SQL and FetchRequest in a common Source enum 2016-03-15 19:27:33 +01:00
Gwendal Roué c76b7a8b77 FetchedResultsController: gather SQL and FetchRequest in a common Source enum 2016-03-15 19:21:35 +01:00
Gwendal Roué 8514513af3 FetchedResultsController: register as a transaction observer once and only once. Don’t unregister, since transaction observers are weakly referenced. 2016-03-15 19:15:12 +01:00
Gwendal Roué dc2ee92404 Up to date GRDBDemoiOS demo of FetchedResultsController 2016-03-15 19:13:27 +01:00
Gwendal Roué 7cd5b881b2 Merge branch 'master' into FetchedRecordsController 2016-03-15 19:05:20 +01:00
Gwendal Roué 63545c1f08 Documentation 2016-03-15 19:05:04 +01:00
Gwendal Roué 171862097e Merge branch 'master' into FetchedRecordsController
Conflicts:
	GRDB.xcworkspace/contents.xcworkspacedata
2016-03-15 13:48:13 +01:00
Gwendal Roué 6315aad0bc Improve performance of row copy 2016-03-15 08:43:48 +01:00
Gwendal Roué 218d7a7f15 DatabaseStore: fix a race condition that could make us miss file attributes 2016-03-14 09:59:33 +01:00
Gwendal Roué 4f5e87b1e1 Documentation 2016-03-14 09:01:33 +01:00
Gwendal Roué 8ef27ccbf6 Documentation 2016-03-14 08:55:00 +01:00
Gwendal Roué afea1c4175 Remove useless complexity 2016-03-13 19:45:54 +01:00
Gwendal Roué f00dda7f43 Improve performance by removing useless retain/release 2016-03-13 19:20:52 +01:00
Gwendal Roué 8bc52b29e7 Attempt at optimizing reference counting 2016-03-13 17:42:06 +01:00
Gwendal Roué 09a600d955 Make DatabaseReader a class protocol 2016-03-13 17:38:33 +01:00
Gwendal Roué c3316346ac Documentation 2016-03-13 14:33:06 +01:00
Gwendal Roué 19da676caf Configuration.fileAttributes: apply file attributes to database files 2016-03-13 14:16:17 +01:00
Gwendal Roué 1f1ac06c91 Documentation 2016-03-12 19:22:26 +01:00
Gwendal Roué d2f3f9d1b5 Documentation 2016-03-12 18:57:22 +01:00
Gwendal Roué 111688ff18 Typo 2016-03-12 18:53:38 +01:00
Gwendal Roué a81a29c952 Documentation 2016-03-12 18:48:57 +01:00
Gwendal Roué 9c3e677e0c Make Database.read() conform to the isolation level required by DatabaseReader. 2016-03-12 18:36:06 +01:00
Gwendal Roué 523d111ec6 Documentation 2016-03-12 18:02:21 +01:00
Gwendal Roué 84e5e488a9 DatabaseGenerator retain the database connection. Tests for various opportunities of memory leaking, and misuse of weak references. 2016-03-12 14:47:53 +01:00
Gwendal Roué 1df41fbd29 Tests for DatabaseQueue/Pool connection closing 2016-03-12 13:53:49 +01:00
Gwendal Roué e3ef424a41 DatabaseReader and DatabaseWriter cleanup 2016-03-12 12:00:06 +01:00
Gwendal Roué a14c3a2a60 Documentation 2016-03-12 08:47:33 +01:00
Gwendal Roué eecaa2a394 Documentation 2016-03-12 08:27:51 +01:00
Gwendal Roué a8dd424211 DatabaseMigrator uses DatabaseWriter 2016-03-12 08:25:50 +01:00
Gwendal Roué 9e9fafcc5c Documentation 2016-03-12 08:21:17 +01:00
Gwendal Roué ae8ffeabc9 Cleanup 2016-03-12 07:12:35 +01:00
Gwendal Roué b81f57f1c9 Documentation 2016-03-11 19:35:25 +01:00
Gwendal Roué b68f1e278e DatabasePool and DatabaseQueue adopt DatabaseWriter 2016-03-11 19:14:59 +01:00
Gwendal Roué 18b996e5bd Persistable.delete() uses DatabaseWriter instead of Database 2016-03-11 18:56:09 +01:00
Gwendal Roué 50cc857a3a Persistable.save() uses DatabaseWriter instead of Database 2016-03-11 18:51:34 +01:00
Gwendal Roué ea04588865 Persistable.update() uses DatabaseWriter instead of Database 2016-03-11 18:47:03 +01:00
Gwendal Roué 47d1202e57 Introduce DatabaseWriter 2016-03-11 18:42:02 +01:00
Gwendal Roué 61f944fdaa Cleanup 2016-03-11 18:12:42 +01:00
Gwendal Roué eb513e87d2 Transaction observers are now added to database queues and pools 2016-03-11 17:08:31 +01:00
Gwendal Roué 3e75af7c14 Make DatabaseReader a class protocol 2016-03-11 14:34:49 +01:00
Gwendal Roué f95b058b99 Read-only DatabasePool 2016-03-11 13:20:18 +01:00
Gwendal Roué 5fd2212278 DatabaseReader WIP 2016-03-11 08:13:10 +01:00
Gwendal Roué 6f4a29e6f8 DatabaseReader WIP 2016-03-11 07:34:44 +01:00
Gwendal Roué 7364d99b6b WIP 2016-03-10 18:51:08 +01:00
Gwendal Roué 1fcc8c764f Custom SQL functions are collations are now added to database queues and pools. 2016-03-10 13:50:47 +01:00
Gwendal Roué 4ff679af11 Memory management documentation 2016-03-10 10:55:23 +01:00
Gwendal Roué 5d229373e6 Memory management: clearMemory() and DatabasePool.closeReaderConnections() 2016-03-10 08:51:31 +01:00
Gwendal Roué bd5be629e8 Typo 2016-03-10 06:44:51 +01:00
Gwendal Roué 06e2f3e5f8 Update GRDBDemoiOS7 demo app 2016-03-10 06:11:20 +01:00