Commit Graph
39 Commits
Author SHA1 Message Date
Gwendal Roué 023d757964 Attempt to fix CocoaPods 2016-04-05 08:53:02 +02:00
Gwendal Roué 3e0fcc4b87 New GRDBCipherOSX target + tests 2016-04-03 11:40:34 +02:00
Gwendal Roué 644ec3caec DatabaseValue.value() raises a fatal error when conversion of a non-NULL value fails. 2016-03-25 20:17:31 +01:00
Gwendal Roué 5ed3b39219 Rename DatabaseValue.unsafeValue() to failableValue() 2016-03-25 18:46:24 +01:00
Gwendal Roué ee55afe8c0 Row.value() no longer turns non-NULL values to nil, should the conversion fail. 2016-03-25 18:28:42 +01:00
Gwendal Roué 6bfab3d04a DatabaseValue.value() no longer turns non-NULL values to nil, should the conversion fail. The new method DatabaseValue.unsafeValue() has the old, information-discarding, behavior. 2016-03-25 13:56:38 +01:00
Gwendal Roué c6f96906ca Avoid build errors by using ad-hoc Swift modules that import the right sqlite3 header depending on the platform (MacOSX, iPhoneOS, iPhoneSimulator). 2016-03-17 08:54:09 +01:00
Gwendal Roué 94e4fa42bf DatabaseValue adopts StatementColumnConvertible. Stronger tests for DatabaseValue adoption of StatementColumnConvertible and DatabaseValueConvertible. 2016-02-07 12:44:09 +01:00
Gwendal Roué 0ae37db4ec Typo 2016-02-07 12:13:33 +01:00
Gwendal Roué 8237ec8a2a Minor 2016-02-07 12:13:02 +01:00
Gwendal Roué db73bf9295 Documentation 2016-01-19 20:03:25 +01:00
Gwendal Roué f8b2fa0cc8 Cleanup 2016-01-19 14:25:25 +01:00
Gwendal Roué f7874bd745 Fix DatabaseValue.hashValue 2016-01-17 14:28:29 +01:00
Gwendal Roué a384051942 Remove all DatabaseValue initializers, but the low-level ones 2016-01-14 19:58:19 +01:00
Gwendal Roué ddf0b5de70 Update CrashTests.swift, and add GRDBOSXCrashTests target which runs crash tests only. 2016-01-07 14:11:30 +01:00
Gwendal Roué 3deedffb77 Rename databaseEdited to hasPersistentChangedValues 2015-12-16 13:37:02 +01:00
Gwendal Roué 6dc96d71ee DatabaseValue initializers from Int64, Double, String and NSData now have an unlabelled argument. 2015-12-16 12:26:55 +01:00
Gwendal Roué bf48bd6ac2 Remove a bunch of self. 2015-12-01 09:07:55 +01:00
Gwendal Roué 195dbf518f Restore DatabaseValue and Row value() methods that return nil, Int64, Double, String or NSData. 2015-11-20 08:48:28 +01:00
Gwendal Roué cc1d6a300f Documentation 2015-11-20 08:41:59 +01:00
Gwendal Roué 4c8c9f8432 DatabaseValue exposes its SQLite storage, and adopts Hashable. 2015-11-20 08:34:22 +01:00
Gwendal Roué ce42192334 Documentation 2015-11-19 08:20:28 +01:00
Gwendal Roué 865431c58a Functions 2015-11-18 18:18:31 +01:00
Gwendal Roué 32b9971cfa minor 2015-11-17 08:28:25 +01:00
Gwendal Roué 0ada90777a minor 2015-11-15 13:25:58 +01:00
Gwendal Roué 561ae52422 Turn initializers of DatabaseValue, Row, RowConvertible and StatementArguments from AnyObject, NSArray and NSDictionary to failable initializers. 2015-11-13 10:04:08 +01:00
Gwendal Roué 18306fcd64 Use /// for documentation comments, since Xcode 7 has weird behavior with /** 2015-10-27 08:30:24 +01:00
Gwendal Roué 5c1e320d97 NSData is now the type responsible for SQLite blobs. 2015-10-13 19:52:40 +02:00
Gwendal Roué 990c34e1d9 Assume NSData WIP 2015-10-13 09:06:36 +02:00
Gwendal Roué 1a640c2f10 Improve value conversion error reporting 2015-10-01 08:51:55 +02:00
Gwendal Roué 4f5ebc1605 DatabaseValue documentation 2015-09-24 08:02:48 +02:00
Gwendal Roué 48e4cb9a0c Remove from DatabaseValue support for metal access, since it does not improve performance. 2015-09-23 19:09:23 +02:00
Gwendal Roué 9126c01a40 Refactor DatabaseValue so that it can improve extraction of MetalType. Add a performance test for Record. 2015-09-23 14:25:19 +02:00
Gwendal Roué 5789c93ad8 Simplify Blob 2015-09-23 08:51:15 +02:00
Gwendal Roué 1254f0e91a Non-optional Value extraction + identical Row and MetalRow look more and more similar 2015-09-16 19:55:07 +02:00
Gwendal Roué 110a8e28a8 Documentation 2015-09-08 22:33:28 +02:00
Gwendal Roué 8f26c44837 Documentation 2015-09-06 18:42:18 +02:00
Gwendal Roué 862ac11d94 Extract Foundation 2015-09-06 16:55:38 +02:00
Gwendal Roué 6c4794f02c DatabaseValueConvertible redesign, and project reorganization 2015-09-06 15:23:02 +02:00