Commit Graph
3061 Commits
Author SHA1 Message Date
Gwendal Roué 992c63480d DatabasePool uses PRAGMA synchronous = NORMAL
As advised by https://www.sqlite.org/pragma.html#pragma_synchronous
2016-04-15 06:24:18 +02:00
Gwendal Roué bf7fdd68f2 Typo 2016-04-13 09:09:54 +02:00
Gwendal Roué 1136d367c7 Code organization 2016-04-13 08:59:32 +02:00
Gwendal Roué 30f4744199 Remove dead code 2016-04-08 13:13:21 +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é 023d757964 Attempt to fix CocoaPods 2016-04-05 08:53:02 +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é 9f6c5ccccb Fix availability attributes of localizedCapitalizedString, etc. Restore iOS7 compatibility. 2016-04-03 22:22:06 +02:00
Gwendal Roué 41fab091d0 GRDBCipheriOS 2016-04-03 22:16:30 +02:00
Gwendal Roué eabacfafb2 Encryption tests 2016-04-03 20:39:20 +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é 0473d232ed Tests for GRDBOSX, GRDBiOS, and GRDBCipherOSX (without encryption) 2016-04-03 14:04:04 +02:00
Gwendal Roué 3e0fcc4b87 New GRDBCipherOSX target + tests 2016-04-03 11:40:34 +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é 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é 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é 7b5088b921 DatabaseWriter documentation 2016-03-29 13:10:11 +02:00
Gwendal Roué d53c7f5d2d DatabaseWriter documentation 2016-03-29 09:08: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é 4b479ad327 Merge branch 'master' into FetchedRecordsController
Conflicts:
	CHANGELOG.md
	DemoApps/GRDBDemoiOS/GRDBDemoiOS/Assets.xcassets/AppIcon.appiconset/Contents.json
	DemoApps/GRDBDemoiOS/GRDBDemoiOS/Database.swift
	TODO.md
2016-03-28 18:54:59 +02:00
Gwendal Roué 9a18ab44a6 Default unicode-aware collations 2016-03-28 18:12:29 +02:00
Gwendal Roué a97530bde8 The Query interface no longer use non-unicode aware UPPER and LOWER functions 2016-03-28 16:35:20 +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é 36a35ef303 [Swift bug] Prevent a memory leak 2016-03-27 15:48:07 +02:00
Gwendal Roué d170b0d0e1 DatabaseEvent: make it lazy 2016-03-27 14:39:12 +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
Gwendal Roué 4592566748 FetchedRecordsController documentation 2016-03-26 13:41:00 +01:00
Gwendal Roué 22851dd9e8 FetchedRecordsController: fix indexPathForRecord 2016-03-26 13:37:56 +01:00
Gwendal Roué 87bab96097 FetchedRecordsController only tracks changes when it has a delegate. 2016-03-26 13:35:00 +01:00
Gwendal Roué 81ed566467 FetchedRecordsController TODO 2016-03-26 12:17:52 +01:00