Commit Graph
595 Commits
Author SHA1 Message Date
Gwendal Roué e486437865 Split Database.swift 2017-10-29 10:43:22 +01:00
Gwendal Roué 4995b5bb8c Group truncate optimization tests together 2017-10-07 06:51:13 +02:00
Gwendal Roué 9c6879bd97 Xcode 9 sometimes performs gratuitous changes to shared schemes 2017-10-05 13:56:38 +02:00
Gwendal Roué 973af107da More performance tests, upgrade SQLite.swift submodule 2017-09-16 18:25:24 +02:00
Gwendal Roué a91da59448 Database.primaryKey(_:) no longer returns an Optional. PrimaryKeyInfo.isRowID tells whether the primary key is the rowed. 2017-09-15 09:00:56 +02:00
Gwendal Roué 9815f44134 Remove sqlite3.h from the distribution 2017-09-14 20:34:22 +02:00
Gwendal Roué 3f8969b88f PerformanceComparisonTests: update Realm to 2.10.0, SQLite.swift to latest swift-4 branch 2017-09-13 08:11:31 +02:00
Gwendal Roué eee80b421a Hide StatementCursor from public interface 2017-09-03 08:48:31 +02:00
Gwendal Roué 2beddcf77b Cleanup 2017-09-02 12:42:07 +02:00
Gwendal Roué 30ee538dbd StatementArguments(), tests, changeling 2017-08-30 20:07:34 +02:00
Gwendal Roué 5594b33933 Performance tests: distinguish fetching records with change tracking from simple record structs 2017-08-25 17:43:15 +02:00
Gwendal Roué 28cf457853 Add a performance test target that doesn't depend on Core Data, FMDB, Realm, and SQLite.swift. 2017-08-23 08:17:47 +02:00
Gwendal Roué ef23ba55a1 sqlite3.h is a private header when the SQLite3 module is used 2017-08-21 08:47:31 +02:00
Gwendal Roué c5da564fb3 Use built-in SQLite3 module when available 2017-08-19 15:21:44 +02:00
Gwendal Roué c700f5fc68 Move TableMapping deletion methods to MutablePersistable (prevent TableMapping from being able to modify the database) 2017-08-18 17:15:10 +02:00
Gwendal Roué 376d295853 Replace TableMapping.selectsRowID with TableMapping.databaseSelection 2017-08-18 16:27:24 +02:00
Gwendal Roué 4ec3e0f7d8 Drop deprecated TableMapping.primaryKeyRowComparator(_:) 2017-08-18 14:30:28 +02:00
Gwendal Roué dc75ca4caf SE-0166 2017-08-18 14:22:14 +02:00
Gwendal Roué 06a6c982aa SE-0148 2017-08-18 14:22:14 +02:00
Gwendal Roué 895cda4de7 Xcode 9 beta 3 project updates 2017-08-18 14:20:35 +02:00
Gwendal Roué 111970fda9 Tests for public protocols and open classes
The goal of those tests is to prevent breaking changes as the one that happened in v1.2, where the DatabaseReader protocol was added a new method without any default implementation.
2017-07-13 16:53:01 +02:00
Gwendal Roué bd919e5209 DatabaseAggregate (fixes #236) 2017-07-01 11:39:52 +02:00
Gwendal Roué 9609e2ac4c Database.foreignKeys(on:) 2017-06-20 07:54:19 +02:00
Gwendal Roué 31aea350cb Rename Database.afterCommit(_:) to Database.afterNextTransactionCommit(_:) 2017-06-20 07:54:19 +02:00
Gwendal Roué a3ad726111 Cleanup 2017-06-20 07:54:19 +02:00
Gwendal Roué bf3b6577d5 Deployment target of performance tests is macOS 10.12 2017-06-20 07:54:19 +02:00
Gwendal Roué 2f79d5f805 Database.afterCommit(_:) 2017-06-20 07:54:19 +02:00
Gwendal Roué 60e6c7d250 Remove DatabaseCoder 2017-06-20 07:54:19 +02:00
Gwendal Roué 1438934aa6 Extract deployment targets in dedicated xcconfig files. 2017-05-25 17:13:45 +02:00
Gwendal Roué 55e4abd534 Rename USING_SQLCIPHER to GRDBCIPHER and USING_CUSTOMSQLITE to GRDBCUSTOMSQLITE 2017-05-22 19:15:10 +02:00
Gwendal Roué cd107711a9 Rename Request.bound(to:) to Request.fetching(_:) 2017-05-22 18:37:46 +02:00
Gwendal Roué f606e633da Drop RowConvertible.awakeFromFetch 2017-05-05 13:20:37 +02:00
Gwendal Roué 44df1aa0bd Update GRDBOSXPerformanceTests for Swift 3.1 2017-05-05 08:16:06 +02:00
Gwendal Roué 4938568ea7 Refactor statement cache, allow SQLRequest to use cached statements 2017-05-04 20:11:45 +02:00
Gwendal Roué a475cfa340 Tests organization 2017-04-23 16:37:59 +02:00
Gwendal Roué e54cec9123 Move tests to Swift Package Manager test target 2017-04-23 15:47:16 +02:00
Gwendal Roué 4f14fb0ccd Support for SQLITE_CONFIG_LOG via Database.logErrorFunction 2017-04-22 15:11:01 +02:00
Gwendal Roué dae4ae1c6b Reduce internal coupling 2017-04-22 11:12:43 +02:00
Gwendal Roué 17a49b5d8c New public property: DatabaseWriter.availableDatabaseConnection. This new API opens the door to reentrant uses of the database, a much needed tool for RxGRDB. 2017-04-06 11:02:49 +02:00
Gwendal Roué 04654a5c85 Functional GRDBDemoWatchOS 2017-04-03 13:37:36 +02:00
Gwendal Roué 4d79b35c47 Share GRDBOSXPerformanceTests scheme 2017-04-03 13:10:08 +02:00
Gwendal Roué 26aeb7dcbd New public function: TableMapping.primaryKeyRowComparator. This new API exposes record comparison abilities that were reserved to FetchedRecordsController, and open a better support for GRDB reactive extensions. 2017-04-02 17:27:25 +02:00
Gwendal Roué 4f5054d792 Share more tested schemes 2017-03-31 13:27:35 +02:00
Gwendal Roué c532f40b7d CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE, CLANG_WARN_DOCUMENTATION_COMMENTS = YES 2017-03-31 06:07:29 +02:00
Gwendal Roué 42a985112a Drop watchOS demo app 2017-03-30 22:47:53 +02:00
Gwendal Roué 16a653ed9d Fix product name of test targets (and restore GRDBCipheriOS tests) 2017-03-30 21:59:33 +02:00
Gwendal Roué 61938601fd SDK-relative sqlite3.h 2017-03-26 16:04:41 +02:00
Gwendal Roué b1d93112da Embed a copy of sqlite3.h in order to work around my inability at importing <sqlite3.h> from all targeted SDKs (addresses #166, #170) 2017-03-26 15:37:31 +02:00
Gwendal Roué ba615c15cb Documentation, and remove DatabaseQueue.writeInTransaction 2017-03-24 18:39:14 +01:00
Gwendal Roué 10d0d162b5 Performance tests against Realm 2.4.3, SQLite.swift 0.11.2 2017-03-09 17:25:35 +01:00