Gwendal Roué
2833da3b2d
README.md
2016-06-07 09:09:42 +02:00
Gwendal Roué
8058a79ed0
README.md
2016-06-07 09:07:42 +02:00
Gwendal Roué
93755a62aa
Typo
2016-06-07 09:01:27 +02:00
Gwendal Roué
d4c7e00a19
README.md
2016-06-07 07:58:55 +02:00
Gwendal Roué
70deb7b388
Merge pull request #70 from schveiguy/patch-1
...
Add description of rollback without throwing error
2016-06-06 21:18:01 +02:00
Steven Schveighoffer
c229439dec
Add description of rollback without throwing error
2016-06-06 15:13:42 -04:00
Gwendal Roué
cb2dda8421
README.md
2016-06-06 07:47:07 +02:00
Gwendal Roué
4558321ef7
v0.71.0
v0.71.0
2016-06-05 16:45:34 +02:00
Gwendal Roué
9376f048be
TODO.md
2016-06-05 16:45:27 +02:00
Gwendal Roué
d038227941
#62 : Don’t share GRDBCustomSQLite schemes (avoid messing with Carthage)
2016-06-05 16:43:00 +02:00
Gwendal Roué
2c885cb347
Document when it is safe to use unowned references in a FetchedRecordsController's callbacks
2016-06-05 16:03:40 +02:00
Gwendal Roué
01bf13189c
Documentation
2016-06-05 15:59:41 +02:00
Gwendal Roué
f92d433a3e
Test for FetchedRecordsController.trackChanges(fetchAlongside:)
2016-06-05 15:35:05 +02:00
Gwendal Roué
25476f2973
Drop the unmaintained GRDBDemoiOS7 app
2016-06-05 15:06:51 +02:00
Gwendal Roué
1d4bff1add
#68 : conversion error messages contain the "database" word.
2016-06-05 14:57:07 +02:00
Gwendal Roué
30864a16a2
#68 : numeric overflow error messages contain the faulty value
2016-06-05 14:02:28 +02:00
Gwendal Roué
7b492fe7ed
CHANGELOG.md
2016-06-05 13:52:46 +02:00
Gwendal Roué
7186c9a3a0
#68 : take care of Int, Int32 and Int64 overflow when converting from database values
2016-06-05 13:49:47 +02:00
Gwendal Roué
a5760a7462
#68 : NSNumber.databaseValue raises explicit fatal error when value doesn’t fit Int64
2016-06-05 12:16:37 +02:00
Gwendal Roué
aa5c6283a7
#68 : document NSNumber limits
2016-06-04 19:09:51 +02:00
Gwendal Roué
280955801c
CHANGELOG.md
2016-06-04 18:41:11 +02:00
Gwendal Roué
adc3f6d184
TODO.md
2016-06-04 18:41:07 +02:00
Gwendal Roué
c9ebb6da00
FetchedRecordsController:
...
- make unowned references in the callbacks safe, as long as the unowned object is deallocated in the fetched records controller’s queue (usually the main queue).
- FetchedRecordsController.trackChanges(fetchAlong: { db in … }, …) allows the user to fetch values that are consistent with the fetched records.
2016-06-04 18:24:49 +02:00
Gwendal Roué
a8f04a1ba5
GRDBDemoiOS: stress fetched records controller longer, so that we can check what happens when one leaves the table view controller as transactions are still running. Answer: we crash due to [unowned self] references being used after table view controller has been deallocated.
2016-06-04 18:22:18 +02:00
Gwendal Roué
770ee6aaec
Merge pull request #69 from swiftlyfalling/fix-preupdate-hook-uninstall
...
Added missing call to uninstall the preupdate hook
2016-06-03 18:59:07 +02:00
swiftlyfalling
003a6ef4d2
Added missing call to uninstall the preupdate hook
2016-06-03 12:45:28 -04:00
Gwendal Roué
f9e43fae29
Merge pull request #66 from swiftlyfalling/test-coverage-improvements
...
Test coverage improvements
2016-06-03 14:47:25 +02:00
swiftlyfalling
7e1eb5a970
Increase test coverage of DatabaseQueue
2016-06-03 08:36:25 -04:00
swiftlyfalling
f231218a69
Increase test coverage of DatabaseValue.swift
2016-06-03 08:35:56 -04:00
swiftlyfalling
e21c9cb8f0
Revert "Increase test coverage of DatabaseValue.swift"
...
This reverts commit 58084c6a65 .
2016-06-03 08:35:04 -04:00
swiftlyfalling
8597808a61
Revert "Increase test coverage of DatabaseQueue"
...
This reverts commit 5ffac12f5b .
2016-06-03 08:34:41 -04:00
Gwendal Roué
1871eed0ab
TODO.md
2016-06-03 10:49:38 +02:00
Gwendal Roué
cd85b54dd7
#63 follow-up: let DatabaseEventType dispatch events to the correct TransactionObserver method so that we avoid runtime checks on events type
2016-06-03 08:37:53 +02:00
Gwendal Roué
6dd04142b3
#63 follow-up: remove DatabaseEventType from public API
2016-06-03 08:31:17 +02:00
Gwendal Roué
0618054968
Thank @swiftlyfalling
2016-06-03 08:24:47 +02:00
swiftlyfalling
066a4de15f
Added tests
...
For:
- NSNull.swift
- NSNumber.swift
- NSString.swift
- NSURL.swift
- DatabaseValue+Foundation.swift
2016-06-02 19:25:42 -04:00
swiftlyfalling
5ffac12f5b
Increase test coverage of DatabaseQueue
2016-06-02 18:20:08 -04:00
swiftlyfalling
b24631345b
Increase test coverage of NSData.swift
2016-06-02 18:08:28 -04:00
swiftlyfalling
ab3332ed8f
Add test of removeTransactionObserver()
2016-06-02 18:07:42 -04:00
swiftlyfalling
58084c6a65
Increase test coverage of DatabaseValue.swift
2016-06-02 18:06:35 -04:00
swiftlyfalling
6664733650
Increase test coverage of FetchRequest.swift
...
Existing DatabaseValueConvertible tests were only testing the
`extension DatabaseValueConvertible where Self:
StatementColumnConvertible` cases.
Added tests to explicitly cover the cases where something conforms to
`DatabaseValueConvertible` but *not* `StatementColumnConvertible`, and
renamed the old tests.
2016-06-02 18:05:31 -04:00
swiftlyfalling
f7a537ab91
Increase test coverage of DatabaseCoder.swift
...
Test failure cases.
2016-06-02 18:02:08 -04:00
swiftlyfalling
0506d47a4f
Increase test coverage of DatabaseDateComponents.swift
...
Test init from nil NSDateComponents case.
2016-06-02 18:01:31 -04:00
swiftlyfalling
e06bcab62b
Increase test coverage of Row+Foundation.swift
...
Add missing test to verify initialization failure if NSDictionary has
invalid (non-String) keys.
2016-06-02 18:01:13 -04:00
swiftlyfalling
90061a4b25
Increase test coverage of StatementArguments+Foundation.swift
...
Test initializing failure from invalid NSArray, NSDictionary.
2016-06-02 17:59:47 -04:00
Gwendal Roué
5a17fa53cd
More TODO
2016-06-02 20:48:57 +02:00
Gwendal Roué
7fa4346cd1
Merge pull request #65 from swiftlyfalling/patch-1
...
Add language, platform, and license badges to README.md
2016-06-02 15:30:49 +02:00
swiftlyfalling
d286041e04
Add language, platform, and license badges to README.md
2016-06-02 09:05:13 -04:00
Gwendal Roué
bf0f9e1fa2
Merge pull request #63 from swiftlyfalling/preupdate-hooks
...
Add support for SQLite Pre-Update Hooks (+ tests)
2016-06-02 13:29:26 +02:00
Gwendal Roué
d4c0dd824b
Merge pull request #64 from swiftlyfalling/fix-slow-compile
...
Slow compilation fixes
2016-06-02 13:05:26 +02:00