Gwendal Roué
c37ccb6448
Test for PRAGMA cipher_compatibility
2019-04-21 13:46:05 +02:00
Gwendal Roué
a336cf6ca4
Drop obsolete documentation
2019-04-21 13:04:07 +02:00
Gwendal Roué
801e8bb23c
Remove remaining references to Carthage
2019-04-21 13:03:28 +02:00
Gwendal Roué
235ce0aba2
Remove remaining references to GRDBCipher
2019-04-21 13:01:54 +02:00
Gwendal Roué
2a72d08334
Restore Database.logError
2019-04-21 12:59:12 +02:00
Gwendal Roué
1b9a1d3e30
SQLCipher tests: don't sign code
2019-04-20 22:03:48 +02:00
Gwendal Roué
5730dd5414
Refactor Makefile and .travis.yml for new SQLCipher tests
2019-04-20 20:44:52 +02:00
Gwendal Roué
c0c2a40c22
SQLCipher3 tests
2019-04-20 20:15:45 +02:00
Gwendal Roué
7d50825bff
SQLCipher4 tests
2019-04-20 20:10:50 +02:00
Gwendal Roué
6b3f2e844c
Fix make test_install_GRDBCipher_CocoaPods
2019-04-20 16:06:25 +02:00
Gwendal Roué
95274c57dd
SQLCipher 4: adapt tests for past-error Cursor.next()
2019-04-20 15:32:01 +02:00
Gwendal Roué
e55a5bd1d0
SQLCipher can't backup encrypted databases
2019-04-20 15:29:43 +02:00
Gwendal Roué
97173dea60
Fix Xcode 10.2.1 warnings
2019-04-20 14:49:43 +02:00
Gwendal Roué
1c1ee4e92a
GRDBCipher is no longer. Long live GRDB.swift/SQLCipher.
2019-04-19 13:11:55 +02:00
Gwendal Roué
1f50b4fefe
Integrate SQLCipher as a CocoaPod
2019-04-19 08:33:19 +02:00
Gwendal Roué
2711b9bb04
Merge branch 'GRDB-4.0' into feature/fetchOne-limit-1
2019-04-18 07:01:03 +02:00
Gwendal Roué
3f8047fc0e
Tests for the singleResult hint and SQLRequest.init(_:request:)
2019-04-17 21:32:47 +02:00
Gwendal Roué
a12830050b
Tests for the singleResult hint and databaseRegion
2019-04-17 21:32:13 +02:00
Gwendal Roué
21c0175a71
Tests for the singleResult hint and fetchCount
2019-04-17 21:31:53 +02:00
Gwendal Roué
65fe2bb50c
Tests for the singleResult hint and fetching methods
2019-04-17 21:31:30 +02:00
Gwendal Roué
e3a0935914
Add SQL tests for all record testFetchOne…() methods
...
We usually update all those tests together
2019-04-17 14:01:16 +02:00
Gwendal Roué
693e6da773
Do not test that fetchOne does not add LIMIT 1 to raw SQL requests
...
We do not add LIMIT 1 to raw SQL requests because it is difficult. But it would not be wrong to do so.
2019-04-17 13:08:51 +02:00
Alex Robinson
235a612ce0
Remove LIMIT 1 from expected SQL when filtering by key
...
Tests now fail
2019-04-16 10:29:40 +10:00
Alex Robinson
7070dedf1a
Replace FetchRequestHint with a boolean for single results
...
Fixes previous test failure
2019-04-16 10:20:36 +10:00
Alex Robinson
20aecd5328
Add failing test for fetchOne with a non-zero offset
2019-04-16 10:20:36 +10:00
Gwendal Roué
9b24671043
Disable #514 failing tests
2019-04-11 08:14:04 +02:00
Alex Robinson
dd139b6268
Fix testing lastSQLQuery when a cursor hasn't retrieved a record
...
This problem was masked by the fact all queries in the test expected the same SQL query.
2019-04-11 13:19:04 +10:00
Alex Robinson
072fa2583a
Add hints for use in request preparation
...
Hints are ignored by SQLRequest. When you write raw SQL you probably don't want GRDB to modify your query.
2019-04-11 13:14:41 +10:00
Alex Robinson
af1fd6b90c
More tests for presence of LIMIT 1
2019-04-11 13:08:29 +10:00
Alex Robinson
f9868bd8b5
Update tests to expect "LIMIT 1" where appropriate
...
Tests currently fail
2019-04-11 11:51:16 +10:00
Gwendal Roué
00ae2de14e
Another failing test for #514
2019-04-10 19:54:44 +02:00
Gwendal Roué
a6cbd242e6
Add a failing test forr #514
2019-04-10 19:29:50 +02:00
Gwendal Roué
db34d9537b
Remove more useless failing tests
2019-04-10 07:49:06 +02:00
Gwendal Roué
94316540de
Remove useless failing tests
...
They were failing because database initialization now uses high level methods which throw detailed errors.
2019-04-09 20:01:22 +02:00
Gwendal Roué
a0f37c6e85
Simplify Database.validateFormat()
2019-04-09 19:56:01 +02:00
Michael Kirk
99065a4faf
prepareDB block
2019-04-02 10:47:31 -06:00
Gwendal Roué
53e513f1f8
Merge branch 'GRDB-4.0' into feature/aggregate-ifnull
...
# Conflicts:
# CHANGELOG.md
2019-03-15 07:58:42 +01:00
Gwendal Roué
39800b1257
IFNULL support for aggregates
2019-03-14 07:21:09 +01:00
Gwendal Roué
7183457217
Rename Future to DatabaseFuture
2019-03-14 06:43:40 +01:00
Gwendal Roué
4bae8e9ac5
More request(for:association) tests
2019-03-13 08:33:14 +01:00
Gwendal Roué
4ae1fb11cc
Extract EncodableRecord from MutablePersistableRecord
...
This fixes issue #426
2019-03-10 14:00:01 +01:00
Gwendal Roué
9500a74744
Merge branch 'development' into GRDB-4.0
...
# Conflicts:
# .travis.yml
# CHANGELOG.md
# GRDB/QueryInterface/SQLSelectQueryGenerator.swift
# GRDB/Utils/OrderedDictionary.swift
# README.md
2019-03-10 12:16:08 +01:00
Gwendal Roué
211ac7aada
Make Configuration.cipherPageSize an Int
...
As said in https://github.com/groue/GRDB.swift/issues/498#issuecomment-471156347
2019-03-09 13:38:28 +01:00
Gwendal Roué
bad862ba16
Remove all mentions of GRDBPlus
2019-03-08 12:40:00 +01:00
Gwendal Roué
adc4aa7c41
Merge pull request #497 from Marus/sqlcipher_config_options
...
Add additional SQLCipher configuration options
2019-03-08 08:40:39 +01:00
Marcel Ball
6543d75f6d
Updated based upon feedback from @groue
...
- Renamed `KDFIternations` to `kdfIterations` to better fit naming conventions
- In case of errors setting values return the sqlite error code and message instead of .SQLITE_MISUSE and a generic message
- Fixed formatting/typos in documentation
2019-03-07 17:51:16 -04:00
Gwendal Roué
32f6a45e8f
SE-0209: support both swift 4.2 and 5
2019-03-07 20:54:42 +01:00
Gwendal Roué
519fa9a41a
Don't codesign GRDBCipherMacOS test app
2019-03-07 18:34:19 +01:00
Gwendal Roué
7d0b5cf03c
Don't codesign GRDBFTS5MacOS test app
2019-03-07 18:32:30 +01:00
Marcel Ball
8ca9839433
Cleanup of some things leftover from debugging/testing
2019-03-06 21:31:37 -04:00