Commit Graph
128 Commits
Author SHA1 Message Date
Gwendal Roué 52b13da2b3 DatabaseTableMapping.databaseTableName() now returns a non-optional String 2015-12-10 13:23:45 +01:00
Gwendal Roué 22dd8e1c3a Introduce DatabasePersistable that grants CRUD methods to any type 2015-12-09 08:53:08 +01:00
Gwendal Roué b00d0dc083 Remove reference to non-existing plist file 2015-12-07 08:30:35 +01:00
Gwendal Roué 17001129d1 Bridging header is only needed by performance tests 2015-12-03 14:11:25 +01:00
Gwendal Roué 434ea9b9ef Shared schemes 2015-12-03 14:08:46 +01:00
Gwendal Roué 74f39fb080 Restore test target 2015-12-02 08:28:29 +01:00
Gwendal Roué 49747c58f1 Performance tests for KVC-based objects 2015-12-01 21:59:34 +01:00
Gwendal Roué 186732fb05 Collations WIP 2015-11-20 14:12:03 +01:00
Gwendal Roué a84014402b Functions 2015-11-18 20:54:18 +01:00
Gwendal Roué 865431c58a Functions 2015-11-18 18:18:31 +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é 599f6d8c89 DatabaseMigrator cleanup 2015-11-05 08:57:48 +01:00
Gwendal Roué 3e31640a25 DatabaseCoder reads and stores objects that conform to NSCoding in the database. 2015-10-31 10:40:14 +01:00
Gwendal Roué 1e8601aa3b Support for CGFloat 2015-10-28 19:44:39 +01:00
Gwendal Roué ea034a30e5 Apply Xcode recommended project settings 2015-10-27 08:51:03 +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é df2d4da51d RowConvertible.init(dictionary:) 2015-09-30 23:08:07 +02:00
Gwendal Roué 5289492ec6 Row support for NSDictionary 2015-09-30 21:39:05 +02:00
Gwendal Roué 1e8fd21e0b Gather experimental tests under a single folder 2015-09-29 17:54:48 +02:00
Gwendal Roué 23638c6833 Experimental RecordWithManagedDataTests WIP 2015-09-29 17:41:26 +02:00
Gwendal Roué e56b4e9b9d Experimental ExternalDataControllerTests WIP 2015-09-29 17:16:43 +02:00
Gwendal Roué aa1d3e89b8 Experimental ExternalDataStorageTests 2015-09-29 14:24:01 +02:00
Gwendal Roué 6f5326b38d NSURL WIP 2015-09-29 08:37:01 +02:00
Gwendal Roué 6fcc986e1a Refactor DatabaseTransactionDelegate into TransactionObserverType 2015-09-28 08:50:25 +02:00
Gwendal Roué ddada6916d Experiment with bi-directional mappings 2015-09-27 20:07:40 +02:00
Gwendal Roué 5e8e9da629 DatabaseTransactionDelegate tests 2015-09-27 16:23:58 +02:00
Gwendal Roué a6267a2acb Experimental DatabaseTransactionDelegate
Built on top of sqlite3_update_hook, sqlite3_commit_hook and sqlite3_rollback_hook.
2015-09-27 13:48:21 +02:00
Gwendal Roué 8c508ef9a9 Fetch sequences of optional or non-optional values. 2015-09-25 06:38:33 +02:00
Gwendal Roué 0235d44c43 Add performance tests for SQLite.swift 2015-09-24 14:27:05 +02:00
Gwendal Roué 7ce38901f9 Tests for memory efficiency of Blob and NSData 2015-09-24 12:48:27 +02:00
Gwendal Roué 5c13660022 Rename MetalType -> SQLiteStatementConvertible 2015-09-24 09:12:30 +02:00
Gwendal Roué 8773a3c621 More Row tests 2015-09-23 21:33:10 +02:00
Gwendal Roué d0cf6cdf8b MatelTypeTests 2015-09-23 19:56:22 +02:00
Gwendal Roué 2da093baff Pervasive metal 2015-09-17 06:29:56 +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é 7a9446fc20 Metal API performance is identical to FMDB's. 2015-09-16 13:54:44 +02:00
Gwendal Roué 018f76aafa FetchPerformanceTests helps comparing unsafe from safe fetch. 2015-09-16 08:56:46 +02:00
Gwendal Roué 2d936037f5 Improve isolation of Record tests 2015-09-15 07:19:05 +02:00
Gwendal Roué 377d0a1031 Move all crashing tests to CrashTests.swift 2015-09-12 15:25:03 +02:00
Gwendal Roué 8bc7dbe273 Tests for SQLITE_BUSY 2015-09-12 08:22:12 +02:00
Gwendal Roué 214c9d30cd Database.updateStatement() is no longer a throwing method. 2015-09-11 18:33:58 +02:00
Gwendal Roué 319fe3c643 Failing tests for Record loaded from mangled column names. 2015-09-11 10:26:44 +02:00
Gwendal Roué 5906469826 Rename RowModel to Record 2015-09-09 09:56:28 +02:00
Gwendal Roué 4e08f6ed1b Crash tests 2015-09-09 06:46:10 +02:00
Gwendal Roué 92ee419caa Xcode, you’re drunk 2015-09-06 20:57:23 +02:00
Gwendal Roué 0bb481c93e Remove UIImage experiment 2015-09-06 19:30:37 +02:00
Gwendal Roué c659849ced README.md: Update DatabaseTimestamp sample code (and add tests for it) 2015-09-06 18:42:48 +02:00
Gwendal Roué abb88ae2a8 Rename RowModel.didFetch() to awakeFromFetch() 2015-09-06 17:56:04 +02:00
Gwendal Roué b686e1fe91 NSNull, NSNumber and NSString adopt DatabaseValueConvertible. 2015-09-06 17:33:39 +02:00