Commit Graph
595 Commits
Author SHA1 Message Date
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
Gwendal Roué 385c1cea7a Row.value(atIndex:), Row.value(named:) 2015-07-01 13:49:53 +02:00
Gwendal Roué 2c17214e78 SelectStatement.fetchRows() now returns a sequence of rows which can be consumed well after sqlite3_step() and sqlite3_finalize() are called. Use SelectStatement.fetchRows(unsafe: true) to get a sequence of unsafe rows. 2015-07-01 11:18:59 +02:00
Gwendal Roué 1e023dbf7c DatabaseMigrator 2015-07-01 09:12:31 +02:00
Gwendal Roué baa609360c DatabaseConfiguration 2015-07-01 08:31:29 +02:00
Gwendal Roué 3d8bfc04b0 DatabaseQueue 2015-07-01 08:22:10 +02:00
Gwendal Roué 73e9d79e1a Minor API tweaks 2015-06-30 19:02:46 +02:00
Gwendal Roué e82453a266 Bind values 2015-06-30 17:49:48 +02:00
Gwendal Roué 8670f1832d Update queries and row sequences 2015-06-30 16:51:32 +02:00
Gwendal Roué 0ac4dce2ef Open a database 2015-06-30 14:24:20 +02:00
Gwendal Roué 7a6675386b Initial commit: sqlite access from Xcode 6.3.2 2015-06-30 13:16:30 +02:00