Commit Graph
11428 Commits
Author SHA1 Message Date
Gwendal Roué aa6097dff8 swift-DEVELOPMENT-SNAPSHOT-2016-05-31-a 2016-06-02 19:58:58 +02:00
Gwendal Roué 7fa4346cd1 Merge pull request #65 from swiftlyfalling/patch-1
Add language, platform, and license badges to README.md
2016-06-02 15:30:49 +02:00
swiftlyfalling d286041e04 Add language, platform, and license badges to README.md 2016-06-02 09:05:13 -04:00
Gwendal Roué bf0f9e1fa2 Merge pull request #63 from swiftlyfalling/preupdate-hooks
Add support for SQLite Pre-Update Hooks (+ tests)
2016-06-02 13:29:26 +02:00
Gwendal Roué d4c0dd824b Merge pull request #64 from swiftlyfalling/fix-slow-compile
Slow compilation fixes
2016-06-02 13:05:26 +02:00
Gwendal Roué 528ce8c9de README.md 2016-06-02 08:38:55 +02:00
Gwendal Roué 7c4ff7677d swift-DEVELOPMENT-SNAPSHOT-2016-05-09-a 2016-06-02 08:38:15 +02:00
Gwendal Roué cb36991cb2 Cleanup Query Interface protocols 2016-06-02 08:09:44 +02:00
swiftlyfalling f15a4df79e Slow compilation fixes
Implemented a workaround for the cause of the two slowest-to-compile
methods.
2016-06-01 21:12:33 -04:00
swiftlyfalling 901b7a0f12 Add support for SQLite Pre-Update Hooks (+ tests)
If SQLITE_ENABLE_PREUPDATE_HOOK is defined, and GRDB is built with a
custom SQLite library with the functionality (see: GRDBCustomSQLite),
enable support for SQLite Pre-Update Hooks and the new
`willChangeWithEvent` callback on TransactionObservers.
2016-06-01 20:42:21 -04:00
Gwendal Roué 687bcc3469 Merge pull request #62 from swiftlyfalling/Custom-SQLite
Add GRDBCustomSQLite to permit easily building GRDB with a custom, embedded SQLite library
2016-06-01 12:21:38 +02:00
Gwendal Roué a239e435a6 More transaction/savepoints documentation 2016-06-01 09:31:41 +02:00
Gwendal Roué 75728418af More savepoints documentation 2016-06-01 09:28:57 +02:00
swiftlyfalling 893714c968 Update README 2016-05-31 20:42:35 -04:00
swiftlyfalling 5cb4044408 Merge remote-tracking branch 'groue/master' into Custom-SQLite 2016-05-31 17:33:59 -04:00
swiftlyfalling 4966ce447f Add missing Target Dependency for GRDBCustomSQLite frameworks. 2016-05-31 17:33:04 -04:00
swiftlyfalling 8213bf5b6d Update to point to SQLiteLib-USER.xcconfig, and new SQLiteLib 2016-05-31 17:32:09 -04:00
swiftlyfalling 280d90cdc4 More tweaks to GRDBCustomSQLite run script phase 2016-05-31 09:39:42 -04:00
Gwendal Roué df5a327da4 Top-level Database.inSavepoint opens a transaction if the default transaction kind is not DEFERRED 2016-05-31 13:09:33 +02:00
Gwendal Roué e736923312 Typo 2016-05-31 12:14:49 +02:00
Gwendal Roué fe4f932be4 README.md 2016-05-31 09:08:25 +02:00
Gwendal Roué fe7e39776b Documentation 2016-05-31 06:49:35 +02:00
Gwendal Roué da33e480c3 Improve Database.execute() detection of white-space string endings 2016-05-31 06:47:44 +02:00
swiftlyfalling 19a0a7098d Add GRDBCustomSQLite USER configuration files to .gitignore 2016-05-30 21:56:04 -04:00
swiftlyfalling 74d46f201a Tweaks to GRDBCustomSQLite run script build phase 2016-05-30 21:54:07 -04:00
swiftlyfalling 0eec061d01 Improve first-time build of GRDBCustomSQLite
Define CUSTOM_OTHER_SWIFT_FLAGS in GRDB.xcconfig prior to including the
"GRDBCustomSQLite-USER.xcconfig" file.
2016-05-30 21:52:55 -04:00
swiftlyfalling 7c1ad9abab Updated .example files 2016-05-30 21:51:42 -04:00
swiftlyfalling 3ad99011f2 Remove User xcconfig from branch. 2016-05-30 21:17:37 -04:00
swiftlyfalling cb8331f213 Renamed customizable files to <file>-USER, added .example files, preserve user customizations.
Added .example files.
Added build phase script to copy .example files if user configuration
files are not already present.
2016-05-30 21:16:36 -04:00
swiftlyfalling ffa2858d82 Update SQLiteLib subproject commit 2016-05-30 19:56:05 -04:00
swiftlyfalling 1cf20da416 Add README for GRDBCustomSQLite 2016-05-30 19:39:11 -04:00
swiftlyfalling 30bc7e4f6c Replace most uses of #if SQLITE_HAS_CODEC with the appropriate USING_BUILTIN_SQLITE or USING_SQLCIPHER defines.
This enables easier compilation of a custom version of SQLite that
itself uses the SQLITE_HAS_CODEC define. (ex. If building SQLite with
the SQLite Encryption Extension.)
The SQLITE_HAS_CODEC define is now only used to guard use of the SQLite
encryption APIs.
GRDBCipher builds define USING_BUILTIN_SQLITE and USING_SQLCIPHER.
2016-05-30 18:19:45 -04:00
swiftlyfalling 9f406c6725 Add GRDBCustomSQLite targets and schemes.
To support building GRDB with a built-in custom SQLite build/version.
2016-05-30 18:16:04 -04:00
swiftlyfalling b1ff790e43 Add SQLiteLib submodule 2016-05-30 16:05:53 -04:00
Gwendal Roué 90f304a881 Typo 2016-05-30 12:33:42 +02:00
Gwendal Roué 99cbfa13cb v0.70.1 v0.70.1 2016-05-30 12:27:42 +02:00
Gwendal Roué ce7736a4b8 Failed statements can not be reused: remove them from the statement cache. 2016-05-30 12:21:20 +02:00
Gwendal Roué c36ed7b660 Add failing test for Persistable.insert() after a previous failed insert. 2016-05-30 12:20:42 +02:00
Gwendal Roué d6c4705626 Fix documentation 2016-05-30 08:34:27 +02:00
Gwendal Roué 9df4455f07 Minor 2016-05-30 08:22:00 +02:00
Gwendal Roué 5e4923b5bc More tests and documentation for DatabaseScheduler 2016-05-30 08:10:39 +02:00
Gwendal Roué 9d00189ac0 Inner Documentation 2016-05-30 07:46:40 +02:00
Gwendal Roué 3af2d7c0df Inner Documentation 2016-05-29 20:03:33 +02:00
Gwendal Roué 521222ad19 Typo 2016-05-29 16:30:38 +02:00
Gwendal Roué e0f5a1c1a1 FetchedRecordsController: document that callbacks are invoked asynchronously 2016-05-29 15:45:35 +02:00
Gwendal Roué fa393a53b2 FetchedRecordsController: document that callbacks are invoked asynchronously 2016-05-29 15:44:21 +02:00
Gwendal Roué 43e81781a3 FetchedRecordsController documentation 2016-05-29 15:32:30 +02:00
Gwendal Roué b03e9922a4 FetchedRecordsController: document record identity where it is needed, for table view updates. 2016-05-29 15:29:45 +02:00
Gwendal Roué 7206e46377 Relax FetchedRecordsController compareRecordsByPrimaryKey initializer argument by only requiring TableMapping protocol 2016-05-29 15:28:50 +02:00
Gwendal Roué 554b9a03b5 FetchedRecordsController: avoid instantiate records when building table view updates 2016-05-29 15:20:17 +02:00