Commit Graph
90 Commits
Author SHA1 Message Date
Gwendal Roué caf051f19d Improve jazzy documentation layout 2017-10-31 13:37:48 +01:00
Gwendal Roué 8a213af2ab Cleanup & whitespace 2017-10-30 12:25:12 +01:00
Gwendal Roué 8ccc23333d Replace DatabaseCursor with new concrete cursors RowCursor, StatementColumnCursor, NullableStatementColumnCursor, and StatementCursor. 2017-08-23 08:16:30 +02:00
Gwendal Roué 210939d2c1 SE-0169 2017-08-18 14:20:35 +02:00
Gwendal Roué cc33b12b0d DatabaseReader.unsafeReentrantRead 2017-07-13 09:11:21 +02:00
Gwendal Roué 10e669423f Use the dbValue identifier for variables of type DatabaseValue 2017-06-01 08:35:14 +02:00
Gwendal Roué 55e4abd534 Rename USING_SQLCIPHER to GRDBCIPHER and USING_CUSTOMSQLITE to GRDBCUSTOMSQLITE 2017-05-22 19:15:10 +02:00
Gwendal Roué ce4c20b112 Replace DatabaseWriter.availableDatabaseConnection with unsafeReentrantWrite() 2017-05-22 18:10:19 +02:00
Gwendal Roué 17a49b5d8c New public property: DatabaseWriter.availableDatabaseConnection. This new API opens the door to reentrant uses of the database, a much needed tool for RxGRDB. 2017-04-06 11:02:49 +02:00
Gwendal Roué 5c7712bf6c PRAGMA query_only was added in SQLite 3.8.0 (iOS 8.2+ and OS X 10.10+) 2017-03-26 13:17:25 +02:00
Gwendal Roué ba615c15cb Documentation, and remove DatabaseQueue.writeInTransaction 2017-03-24 18:39:14 +01:00
Gwendal Roué 88f206e7f5 New DatabaseReader.read() guarantee: database modifications are prevented 2017-03-24 09:18:24 +01:00
Gwendal Roué b25648eea1 Have DatabaseQueue implementation better expose inDatabase as its fundamental method. 2017-03-17 09:05:42 +01:00
Gwendal Roué 519d4470e3 Drop Configuration.fileAttributes 2017-01-20 08:22:46 +01:00
Gwendal Roué b8d924ab6f Restore DatabasePool in a stable state 2016-12-01 19:17:19 +01:00
Gwendal Roué b58a4e90da WIP DatabaseWriter/DatabaseReader improvements 2016-12-01 18:13:00 +01:00
Gwendal Roué f781da41a4 WIP: the recent failing tests of DatabasePool.readFromCurrentState, a paramount brick of FetchedRecordsController, have led to a refactoring of the DatabaseWriter protocol, and DatabasePool.write { ... } always executing a transaction. 2016-12-01 14:12:20 +01:00
Gwendal Roué bd32afbed2 Rename DatabaseWriter.readFromWrite to readFromCurrentState 2016-12-01 08:55:47 +01:00
Gwendal Roué 6bcab179d1 Classify all try! and fatalError into TODO, Programmer Error, or GRDB bug that needs to be fixed. 2016-11-30 08:56:45 +01:00
Gwendal Roué a8e266377c Documentation 2016-11-29 12:02:29 +01:00
Gwendal Roué 7c0ca54249 Swift 3: move some types declarations inside the Database class 2016-09-10 17:52:15 +02:00
Gwendal Roué df09d0c8bb Swift 3 and SQLCipher 2016-09-10 16:03:42 +02:00
Gwendal Roué 854c070b82 Xcode Version 8.0 beta 6 (8S201h) 2016-08-16 17:47:57 +02:00
Gwendal Roué 2d78d04d52 Update for Xcode Version 8.0 beta 4 (8S188o) 2016-08-01 22:33:50 +02:00
Gwendal Roué 0c7cff5602 Update for Xcode Version 8.0 beta 2 (8S162m) 2016-07-07 05:30:43 +02:00
Gwendal Roué e785085d0d Cleanup our code thanks to DispatchQueue.sync<T>(block: @noescape () throws -> T) rethrows. 2016-06-30 18:38:16 +02:00
Gwendal Roué 0944ed331b Xcode 8 WIP 2016-06-14 14:04:04 +02:00
Gwendal Roué f45b9a3757 Xcode 8 WIP 2016-06-14 13:45:08 +02:00
Gwendal Roué 7c4ff7677d swift-DEVELOPMENT-SNAPSHOT-2016-05-09-a 2016-06-02 08:38:15 +02:00
Gwendal Roué 03debbf434 Documentation 2016-05-05 13:51:27 +02:00
Gwendal Roué bf7fdd68f2 Typo 2016-04-13 09:09:54 +02:00
Gwendal Roué 9ef1c70eb2 Encryption documentation 2016-04-05 06:55:29 +02:00
Gwendal Roué f868d3eead changePassphrase() 2016-04-05 05:51:19 +02:00
Gwendal Roué 2ec2e85679 Passing tests for encrypted databases 2016-04-03 18:42:31 +02:00
Gwendal Roué 20a16de9de DatabaseWriter.setKey() and reKey() 2016-04-03 17:58:03 +02:00
Gwendal Roué e3d8c06ad0 Refactor tests so that DatabasePool can be configured at the target level. We are preparing tests for encrypted databases. 2016-04-03 16:55:04 +02:00
Gwendal Roué 7e3563f64b Refactor tests so that DatabaseQueue can be configured at the target level. We are preparing tests for encrypted databases. 2016-04-03 16:20:45 +02:00
Gwendal Roué 2fb1d6f731 setupMemoryManagement() documentation 2016-03-31 16:37:55 +02:00
Gwendal Roué ef299acbe8 Memory management is not automatic when GRDB is built for iOS, but easier. 2016-03-31 16:26:07 +02:00
Gwendal Roué 005c4ded24 Memory management is automatic when GRDB is built for iOS 2016-03-31 14:26:59 +02:00
Gwendal Roué ab3ec443d2 Simplify SerializedDatabase 2016-03-29 08:26:07 +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é 049148305f Simplify throwing initializers since Swift 2.2 allows partial initialization 2016-03-22 08:28:55 +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é 19da676caf Configuration.fileAttributes: apply file attributes to database files 2016-03-13 14:16:17 +01:00
Gwendal Roué e3ef424a41 DatabaseReader and DatabaseWriter cleanup 2016-03-12 12:00:06 +01:00
Gwendal Roué 9e9fafcc5c Documentation 2016-03-12 08:21:17 +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é 61f944fdaa Cleanup 2016-03-11 18:12:42 +01:00