Commit Graph
60 Commits
Author SHA1 Message Date
Gwendal Roué b60892be3e Renamed "Bindings" to "QueryArguments". 2015-07-17 09:05:18 +02:00
Gwendal Roué 281dd51c22 Minor 2015-07-16 13:56:10 +02:00
Gwendal Roué 6b5d853f4a Rename CustomDatabaseValueConvertibleTests.swift to DBDateTests.swift 2015-07-16 12:10:43 +02:00
Gwendal Roué 231996f6ee Reintegrate DataMapper as a private sub-type of RowModel 2015-07-15 13:40:51 +02:00
Gwendal Roué 2e17c812b3 Extract DataMapper from RowModel. Make sure DataMapper has read-only access to RowModel. 2015-07-13 12:07:44 +02:00
Gwendal Roué c9e4bf9a51 Split tests into public tests and private tests (which use @testable) 2015-07-13 08:29:19 +02:00
Gwendal Roué 554ed9fcd5 Change RowModel.save(db) so that it inserts when no database row could be updated. 2015-07-12 13:20:58 +02:00
Gwendal Roué 4003c9c2d7 Row.value(atIndex:) and Row.value(named:) crash when asked for out of bound index or unknown column name. 2015-07-12 08:48:13 +02:00
Gwendal Roué 6ec750bf57 "isDirty" -> "isEdited" 2015-07-10 12:17:48 +02:00
Gwendal Roué 82141f7701 RowModel.copyDatabaseValuesFrom(_:) 2015-07-10 08:48:37 +02:00
Gwendal Roué 8f8ab97733 Project organization 2015-07-10 08:07:12 +02:00
Gwendal Roué 4887eaabb8 RowModel.isDirty experimentation 2015-07-10 07:42:47 +02:00
Gwendal Roué 50ce41bc89 v0.1.0 2015-07-09 06:28:11 +02:00
Gwendal Roué b6b8492747 Make Playground run 2015-07-09 05:51:20 +02:00
Gwendal Roué 7cd52d7ee8 Add missing files to iOS target 2015-07-09 05:06:09 +02:00
Gwendal Roué 19b5492c66 SWIFT_WHOLE_MODULE_OPTIMIZATION: YES 2015-07-09 05:04:00 +02:00
Gwendal Roué ff6e25937e Rename SQLiteXXX types DatabaseXXX 2015-07-08 19:34:17 +02:00
Gwendal Roué 10df5120d2 Carthage WIP 2015-07-08 17:30:37 +02:00
Gwendal Roué 6d41093e9c Shared schemes for Carthage 2015-07-08 13:50:09 +02:00
Gwendal Roué b34c4bf833 Two targets, one for OS X, one for iOS. 2015-07-08 13:45:39 +02:00
Gwendal Roué b39eae5f0b SQLiteError tests 2015-07-06 20:32:20 +02:00
Gwendal Roué c1db46e18d Make sure RowModel.init(row: Row) can be overridden independently from init(). 2015-07-06 17:51:26 +02:00
Gwendal Roué 1982c7764a Enable code coverage 2015-07-06 08:11:25 +02:00
Gwendal Roué de0d858ec9 Xcode, you are drunk 2015-07-05 23:14:10 +02:00
Gwendal Roué 0a85de066e RowModel adopts CustomStringConvertible 2015-07-05 19:07:14 +02:00
Gwendal Roué 0fbaf1d78e Rename PrimaryKey.SQLiteRowID to PrimaryKey.RowID 2015-07-05 16:41:18 +02:00
Gwendal Roué 7269326b5b Test that all sequences can be iterated several times 2015-07-05 16:05:51 +02:00
Gwendal Roué faf588c845 Support both Int and String enums 2015-07-05 14:25:28 +02:00
Gwendal Roué e782b3e88e Experiment with enum support 2015-07-05 14:02:51 +02:00
Gwendal Roué 8d829195c7 RowTests 2015-07-04 19:50:19 +02:00
Gwendal Roué 631f071589 Come on, Xcode, pull yourself together 2015-07-04 18:52:30 +02:00
Gwendal Roué c831a0a4b3 Rename DatabaseConfiguration to Configuration, add Configuration.readonly, and replace Configuration.verbose flag with customizable Configuration.trace function. 2015-07-04 18:42:21 +02:00
Gwendal Roué 449042d62e Rename GRDBTests -> GRDBTestCase 2015-07-04 18:09:27 +02:00
Gwendal Roué 013eef02c8 GRDB.xcworkspace + Playground.playground 2015-07-04 17:59:47 +02:00
Gwendal Roué 933a472da7 SelectStatement.fetch(RowModel, bindings:) 2015-07-04 16:57:01 +02:00
Gwendal Roué c8bad5db25 Rename DatabaseValueType to SQLiteValueConvertible 2015-07-04 16:28:07 +02:00
Gwendal Roué 188d542906 Tests for all (Swift Type) -> (Sqlite Affinity) -> (Swift Type) paths 2015-07-04 14:08:18 +02:00
Gwendal Roué e9bf3c2eac Remove useless support for enums 2015-07-03 21:36:32 +02:00
Gwendal Roué 8b6a2eda1d Support for enums via DatabaseEnum 2015-07-03 21:15:01 +02:00
Gwendal Roué 35a50d610d Rename DatabaseValue to DatabaseValueType 2015-07-03 19:36:22 +02:00
Gwendal Roué 75e77d509a Statement tests 2015-07-03 12:31:00 +02:00
Gwendal Roué b225dff251 Organize RowModel tests 2015-07-03 09:32:30 +02:00
Gwendal Roué efbf468b89 Clean up fucked up file hierarchy 2015-07-03 09:13:37 +02:00
Gwendal Roué e26fdbf589 Make RowModel.insert(db) overridable 2015-07-03 06:50:15 +02:00
Gwendal Roué b3cebea0f6 CustomDatabaseValueTests 2015-07-03 00:03:29 +02:00
Gwendal Roué 8621d9e2af Bindings 2015-07-02 11:15:17 +02:00
Gwendal Roué 4d4712cd02 Rename DatabaseCell SQLiteValue 2015-07-02 10:28:48 +02:00
Gwendal Roué 963a3055c2 RowModel WIP 2015-07-02 08:40:45 +02:00
Gwendal Roué 2199dfb636 DatabaseMigratorTests 2015-07-01 19:48:37 +02:00
Gwendal Roué 5951079ecc Rename Error to SQLiteError 2015-07-01 19:21:06 +02:00