Commit Graph
219 Commits
Author SHA1 Message Date
Gwendal Roué 5f15a0f555 Improve test coverage 2016-10-08 16:30:08 +02:00
Gwendal Roué c46238301a Improve test coverage 2016-10-08 16:04:30 +02:00
Gwendal Roué 7c282d28df Improve test coverage 2016-10-08 15:44:11 +02:00
Gwendal Roué 12dbafd0c9 Improve test coverage 2016-10-08 14:56:17 +02:00
Gwendal Roué 3c822399b1 Restore DatabaseValue.description into its previous behavior, and test that \n or \t are described as "\\n" and "\\t" (avoid multi-line DatabaseValue description) 2016-10-08 14:38:30 +02:00
Gwendal Roué 7968c1dcd2 Fix warnings 2016-10-08 12:59:34 +02:00
Gwendal Roué b9180798ca Tests for delete(db) return value 2016-10-08 12:53:35 +02:00
Gwendal Roué 0da1a293e6 Update tests for error descriptions that include argument literals, since DatabaseValue.description now returns the SQL literal representation of the value 2016-10-08 12:17:49 +02:00
Gwendal Roué b8ab30fc22 DatabaseValue.description now returns the SQL literal representation of the value 2016-10-08 11:51:10 +02:00
Gwendal Roué 41935d8b48 Code cleanup 2016-10-05 14:13:57 +02:00
Gwendal Roué 5ba06a74a0 Remove support for text encodings 2016-09-28 07:14:22 +02:00
Gwendal Roué 5a572b25a0 Refactor the query interface types to enhance extensibility 2016-09-27 23:11:21 +02:00
Gwendal Roué e7378cbba0 Test that the truncate optimization does not prevent transaction observers from observing individual deletions 2016-09-22 07:45:32 +02:00
Gwendal Roué dc58ff19d4 Clarification the behavior of the REPLACE conflict handling regarding transaction observers 2016-09-22 07:44:43 +02:00
Gwendal Roué 7bce331eb1 Clarification the behavior of the REPLACE conflict handling regarding transaction observers 2016-09-22 06:48:18 +02:00
Gwendal Roué 0c525a8e52 Only the IGNORE conflict policy invalidates the last inserted rowID (#118) 2016-09-16 19:37:14 +02:00
Gwendal Roué 4ac562a55a Fixes #118 2016-09-16 13:52:43 +02:00
Gwendal Roué f573046107 Merge branch 'Swift2.3' of github.com:groue/GRDB.swift
Conflicts:
	CHANGELOG.md
	GRDB.swift.podspec
	GRDB/Core/DatabaseValue.swift
	GRDB/Core/Row.swift
	GRDB/Core/RowAdapter.swift
	GRDB/Record/Record.swift
	README.md
	Support/Info.plist
	Tests/Public/Core/DatabaseValue/DatabaseValueTests.swift
	Tests/Public/Record/MinimalPrimaryKeyRowIDTests.swift
	Tests/Public/Record/MinimalPrimaryKeySingleTests.swift
	Tests/Public/Record/PrimaryKeyMultipleTests.swift
	Tests/Public/Record/PrimaryKeyRowIDTests.swift
	Tests/Public/Record/PrimaryKeySingleTests.swift
	Tests/Public/Record/PrimaryKeySingleWithReplaceConflictResolutionTests.swift
2016-09-16 06:46:42 +02:00
Gwendal Roué f5cb34f506 DatabaseValue no longer adopts StatementColumnConvertible; DatabaseValue.fromDatabaseValue() no longer returns nil for NULL (fixes #119) 2016-09-16 05:48:09 +02:00
Gwendal Roué f825f43528 Upgrade custom SQLite builds to v3.14.1, and restore support for SQLite pre-update hooks 2016-09-15 09:05:09 +02:00
Gwendal Roué eac0901af0 Refactor database event filtering 2016-09-10 18:28:44 +02:00
Gwendal Roué 79f3f69827 Revert "Tests for numeric overflows depend on architecture"
This reverts commit 88cc17b530.
2016-09-10 17:55:46 +02:00
Gwendal Roué 7c0ca54249 Swift 3: move some types declarations inside the Database class 2016-09-10 17:52:15 +02:00
Gwendal Roué 88cc17b530 Tests for numeric overflows depend on architecture 2016-09-10 16:15:35 +02:00
Gwendal Roué a8b067885f Merge branch 'master' of github.com:groue/GRDB.swift into Swift3
Conflicts:
	DemoApps/GRDBDemoiOS/GRDBDemoiOS.xcodeproj/project.pbxproj
	GRDB/Core/Database.swift
	README.md
	TODO.md
2016-09-08 08:37:58 +02:00
Gwendal Roué 72ab62b21b Merge branch 'WatchOS' of github.com:groue/GRDB.swift 2016-09-07 22:17:08 +02:00
Gwendal Roué 0620fc9f17 Failing test for Database.tableExists() and temporary table 2016-09-07 13:29:06 +02:00
Gwendal Roué cb2a6cd3b5 TODO 2016-08-17 12:59:55 +02:00
Gwendal Roué 81c0e73751 Merge branch 'master' of github.com:groue/GRDB.swift into Swift3
Conflicts:
	GRDB/Core/Row.swift
	GRDB/QueryInterface/SQLTableBuilder.swift
	README.md
2016-08-17 12:58:41 +02:00
Gwendal Roué 5a296b1238 Fix #102 2016-08-17 07:54:13 +02:00
Gwendal Roué 249456c916 Add failing test for #102 (DatabasePool can't open a non-WAL database and then read, with error 14) 2016-08-17 07:20:25 +02:00
Gwendal Roué 854c070b82 Xcode Version 8.0 beta 6 (8S201h) 2016-08-16 17:47:57 +02:00
Gwendal Roué af990fb666 Merge branch 'master' of github.com:groue/GRDB.swift into Swift3 2016-08-11 08:12:29 +02:00
Gwendal Roué c0b2669c46 Tests for generated UPDATE queries allow some variation 2016-08-11 08:11:48 +02:00
Gwendal Roué edc615f487 Tests for generated UPDATE queries allow some variation 2016-08-11 08:07:58 +02:00
Gwendal Roué 34ef36544e Merge branch 'master' of github.com:groue/GRDB.swift into Swift3
Conflicts:
	GRDB/Record/Persistable.swift
	README.md
	Tests/Public/Core/Persistable/MutablePersistableTests.swift
	Tests/Public/Core/Persistable/PersistableTests.swift
2016-08-10 21:29:30 +02:00
Gwendal Roué ab035a3887 Failing tests for partial update case insensitivity 2016-08-10 21:14:26 +02:00
Gwendal Roué c92f0f3edf Merge branch 'master' of github.com:groue/GRDB.swift into Swift3
Conflicts:
	GRDB/QueryInterface/SQLTableBuilder.swift
	GRDB/Record/Persistable.swift
	GRDB/Record/Record.swift
	README.md
	TODO.md
	Tests/Public/Core/Persistable/MutablePersistableTests.swift
	Tests/Public/SQLTableBuilder/SQLTableBuilderTests.swift
2016-08-10 20:43:24 +02:00
Gwendal Roué 60e0a731ad Partial updates now requires updated columns to be present in the persistentDictionary. 2016-08-10 18:54:32 +02:00
Gwendal Roué b5bb92459d WatchOS framework (adresses #96) 2016-08-10 06:27:50 +02:00
Gwendal Roué 404706a3db Swift 3 tests 2016-08-07 13:19:53 +02:00
Gwendal Roué 00a1eebf60 Swift 3 Grand Renaming: SQLColumn -> Column 2016-08-07 10:38:24 +02:00
Gwendal Roué bcd6e6767a Merge branch 'master' of github.com:groue/GRDB.swift into Swift3
Conflicts:
	GRDB.xcodeproj/project.pbxproj
	GRDB/Core/Database.swift
	GRDB/Core/DatabaseSchemaCache.swift
	GRDB/QueryInterface/SQLCollation.swift
	README.md
	TODO.md
	Tests/Public/Core/DatabaseValueConvertible/DatabaseValueConversionTests.swift
	Tests/Public/Core/StatementColumnConvertible/StatementColumnConvertibleTests.swift
	Tests/Public/QueryInterfaceRequest/QueryInterfaceRequestTests.swift
2016-08-07 10:11:31 +02:00
Gwendal Roué 29d4396956 SQLTableBuilder: tests for unicode default strings 2016-08-05 23:35:56 +02:00
Gwendal Roué 2d78d04d52 Update for Xcode Version 8.0 beta 4 (8S188o) 2016-08-01 22:33:50 +02:00
Gwendal Roué ebe147ee34 Merge branch 'master' of github.com:groue/GRDB.swift into Swift3bis
Conflicts:
	GRDB.xcodeproj/project.pbxproj
	GRDB/Core/Row.swift
	README.md
	TODO.md
2016-08-01 18:47:42 +02:00
Gwendal Roué 0fb1eec3cd Row adopts DictionaryLiteralConvertible 2016-07-31 06:18:16 +02:00
Gwendal Roué 7404c642e3 Merge branch 'master' of github.com:groue/GRDB.swift into Swift3bis
Conflicts:
	GRDB.xcodeproj/project.pbxproj
	GRDB/Core/Database.swift
	GRDB/Core/DatabaseSchemaCache.swift
	GRDB/Record/Persistable.swift
	GRDB/Record/Record.swift
	README.md
	Tests/Private/DatabasePoolSchemaCacheTests.swift
	Tests/Public/Core/Persistable/MutablePersistableTests.swift
	Tests/Public/Core/Persistable/PersistableTests.swift
	Tests/Public/Record/RecordSubClassTests.swift
2016-07-30 12:58:10 +02:00
Gwendal Roué b16656bd23 Partial update WIP: cache & column case insensitivity 2016-07-28 19:28:46 +02:00
Gwendal Roué 176a23fe97 Partial update WIP: tests 2016-07-28 08:53:17 +02:00