Gwendal Roué
4c2290f84b
Move Design Notes
2021-01-28 08:29:48 +01:00
Gwendal Roué
efc8e4bbf9
Fetching players
2021-01-28 08:27:41 +01:00
Gwendal Roué
5c986b142b
Saving playerrs
2021-01-28 08:10:30 +01:00
Gwendal Roué
4ec77f8d02
TODO
2021-01-28 08:10:30 +01:00
Gwendal Roué
d7dfb4c2ed
Precise documentation
2021-01-28 08:10:30 +01:00
Gwendal Roué
f4a32edbb9
TODO
2021-01-28 08:10:30 +01:00
Gwendal Roué
8bb9ef0849
Indent raw SQL versions
2021-01-28 08:10:30 +01:00
Gwendal Roué
0210144ea9
Extract Player definition
2021-01-28 08:10:30 +01:00
Gwendal Roué
2842bc92ca
Wording
2021-01-28 08:10:30 +01:00
Gwendal Roué
2ca857d895
Fix typo
2021-01-28 08:10:30 +01:00
Gwendal Roué
95ec107134
Group design notes at the end of the chapter
2021-01-28 08:10:30 +01:00
Gwendal Roué
18c65eecb6
Wording
2021-01-28 08:10:30 +01:00
Gwendal Roué
3c1ab47843
Group design notes at the end of the chapter
2021-01-28 08:10:30 +01:00
Gwendal Roué
6b706bbc85
Group design notes
2021-01-28 08:10:30 +01:00
Gwendal Roué
e6435ade96
Talk about sample code
2021-01-28 08:10:30 +01:00
Gwendal Roué
c854b5a88a
Wording
2021-01-28 08:10:30 +01:00
Gwendal Roué
f2d51d2feb
The Database Service rewrite
2021-01-28 08:10:30 +01:00
Gwendal Roué
95cd6f3c4f
Introduction
2021-01-28 08:10:30 +01:00
Gwendal Roué
4a0d8602e2
Clarify the tutorial scope
2021-01-28 08:10:30 +01:00
Gwendal Roué
a83f76be10
Remove a missing logical link
2021-01-28 08:10:30 +01:00
Gwendal Roué
10420e6426
Wording
2021-01-28 08:10:30 +01:00
Gwendal Roué
5ab90c1b6c
More achievements
2021-01-28 08:10:30 +01:00
Gwendal Roué
5c70477a04
SwiftUI use in-memory databases
2021-01-28 08:10:30 +01:00
Gwendal Roué
cb4a0f349e
Rename the tutorial
2021-01-28 08:10:30 +01:00
Gwendal Roué
9a0db52c9b
The Initial Application State
2021-01-28 08:10:30 +01:00
Gwendal Roué
7cf7300129
Fix typo and wording
2021-01-28 08:10:30 +01:00
Gwendal Roué
6fbeed1a2a
Wording
2021-01-28 08:10:30 +01:00
Gwendal Roué
1defe3aaf1
Why columns are hidden
2021-01-28 08:10:30 +01:00
Gwendal Roué
074af18152
Wording
2021-01-28 08:10:30 +01:00
Gwendal Roué
43c9aa3474
Wording
2021-01-28 08:10:30 +01:00
Gwendal Roué
d95a76a47a
Compare with ActiveRecord
2021-01-28 08:10:30 +01:00
Gwendal Roué
ae8c1f11a9
Player requests
2021-01-28 08:10:30 +01:00
Gwendal Roué
4decdd7dea
SQL Interpolation: add support for collations
2021-01-28 08:10:30 +01:00
Gwendal Roué
1d41807e25
Add link
2021-01-28 08:10:30 +01:00
Gwendal Roué
571a70e073
Organization
2021-01-28 08:10:30 +01:00
Gwendal Roué
2822c959f8
Repurpose the focus of the tutorial
2021-01-28 08:10:30 +01:00
Gwendal Roué
d8c5d85fcb
Postpone name collation until the fetch
2021-01-28 08:10:30 +01:00
Gwendal Roué
3f493fa7a8
Mention ACID robustness against errors and crashes
2021-01-28 08:10:29 +01:00
Gwendal Roué
cecc3cffdc
Emphasis
2021-01-28 08:10:29 +01:00
Gwendal Roué
5ea0cf6cdd
Introduce fetchable records
2021-01-28 08:10:29 +01:00
Gwendal Roué
3ebbddb9f3
Tip about helper methods
2021-01-28 08:10:29 +01:00
Gwendal Roué
238f01725b
SQL version of AppDatabase.refreshPlayers()
2021-01-28 08:10:29 +01:00
Gwendal Roué
51b975e872
Fix typo
2021-01-28 08:10:29 +01:00
Gwendal Roué
4b9643daf2
Modifying Players chapter
2021-01-28 08:10:29 +01:00
Gwendal Roué
6daf078fc3
Fix focus
2021-01-28 08:10:29 +01:00
Gwendal Roué
7aced9b925
Documentation
2021-01-28 08:10:29 +01:00
Gwendal Roué
16fc88ba09
Wording
2021-01-28 08:10:29 +01:00
Gwendal Roué
4ac7e3d15c
Avoid "such as" repetition
2021-01-28 08:10:29 +01:00
Gwendal Roué
48b8c1ee14
More notes about SQL injection prevention
2021-01-28 08:10:29 +01:00
Gwendal Roué
1af981255d
How to deal with missing Swift versions of SQLite functions or operators?
2021-01-28 08:10:29 +01:00
Gwendal Roué
6a07361614
Indent design notes
2021-01-28 08:10:29 +01:00
Gwendal Roué
f32f5e2d7b
Describe the tutorial audience
2021-01-28 08:10:29 +01:00
Gwendal Roué
322959f1c4
Deleting players
2021-01-28 08:10:29 +01:00
Gwendal Roué
eaca12aed1
Fix typo
2021-01-28 08:10:29 +01:00
Gwendal Roué
96a8b46214
Wording
2021-01-28 08:10:29 +01:00
Gwendal Roué
7f2f4fdfcc
Wording
2021-01-28 08:10:29 +01:00
Gwendal Roué
ceccbb38fb
Wording
2021-01-28 08:10:29 +01:00
Gwendal Roué
af21c82dd6
Better explain why id is autoincremented
2021-01-28 08:10:29 +01:00
Gwendal Roué
b2573a12bc
Explain why id is autoincremented
2021-01-28 08:10:29 +01:00
Gwendal Roué
d00de45e4f
Links & wording
2021-01-28 08:10:29 +01:00
Gwendal Roué
6512e7bf61
Fix typo
2021-01-28 08:10:29 +01:00
Gwendal Roué
1cd88114ec
Rewrite introduction to migrations
2021-01-28 08:10:29 +01:00
Gwendal Roué
86cf024a78
AppDatabase error handling suggestion
2021-01-28 08:10:29 +01:00
Gwendal Roué
afdde192cd
Rewrite the AppDatabase introduction
2021-01-28 08:10:29 +01:00
Gwendal Roué
0b321dfedf
Rewrite the introduction
2021-01-28 08:10:29 +01:00
Gwendal Roué
7617bb258d
Getting Started tutorial
2021-01-28 08:10:29 +01:00
Gwendal Roué
104466170b
Demo app feeds from a single observation
2021-01-28 08:10:29 +01:00
Gwendal Roué
4b5a1340aa
Demo apps: store the database in its own folder
...
This is a recommended good practice
2021-01-28 08:10:29 +01:00
Gwendal Roué
6ea56060a2
Merge branch 'master' into development
2021-01-27 19:46:16 +01:00
Gwendal Roué
3733648598
[skip travis] Remove all details about SPM installation ( #913 )
2021-01-27 14:05:08 +01:00
Gwendal Roué
40341d4e98
Merge branch 'master' into development
2021-01-23 17:47:04 +01:00
Gwendal Roué
5393d97033
[skip travis] Update BRAG.md
2021-01-23 17:45:54 +01:00
Gwendal Roué
8bf9e5e30f
Decouple associations from TableRecord
...
Associations is generic for type safety, not for defining the association (just as QueryInterfaceRequest)
2021-01-23 09:48:18 +01:00
Gwendal Roué
bc5ba1fda5
Merge branch 'development'
2021-01-21 08:23:18 +01:00
Gwendal Roué
034cf065c1
Merge pull request #912 from groue/dev/demo-test
...
Add tests to the demo apps
2021-01-21 08:22:47 +01:00
Gwendal Roué
d7743d0a56
Documentation
2021-01-21 08:21:48 +01:00
Gwendal Roué
5ed0a4a6ed
Test that the SwiftUI demo app feeds on immediate publishers
2021-01-21 08:17:02 +01:00
Gwendal Roué
dd2e8bb063
Documentation
2021-01-21 08:04:19 +01:00
Gwendal Roué
790b678c74
Documentation
2021-01-20 19:51:03 +01:00
Gwendal Roué
abb50a0786
Restore fileprivate Player.Columns
2021-01-20 19:47:04 +01:00
Gwendal Roué
2862edcea8
Documentation
2021-01-20 19:42:32 +01:00
Gwendal Roué
91c17aca41
GRDBCombineDemo tests
2021-01-20 19:14:27 +01:00
Gwendal Roué
fc546e25e2
GRDBDemoiOS tests
2021-01-20 19:14:02 +01:00
Gwendal Roué
a5b6a0a51f
[skip travis] Merge branch 'development'
2021-01-20 07:52:24 +01:00
Gwendal Roué
befeb07234
Clarify FTS5Pattern(matchingPrefixPhrase:) behavior
2021-01-20 07:51:00 +01:00
Gwendal Roué
8fe3d41d18
Cleanup and harmonize demo apps
2021-01-20 07:48:05 +01:00
Gwendal Roué
9628eaffb9
Documentation improvement
2021-01-09 17:55:15 +01:00
Gwendal Roué
7be7e1cade
Merge branch 'development'
2021-01-09 17:10:55 +01:00
Gwendal Roué
db54c567de
Performance tests: upgrade Realm, and set deployment target to macOS 10.15
2021-01-09 16:59:34 +01:00
Gwendal Roué
db6ea3b85e
Change demo app bundle ID
...
Xcode would no longer accept the previous one.
2021-01-09 16:33:12 +01:00
Gwendal Roué
33f3e868da
v5.3.0
2021-01-09 15:47:00 +01:00
Gwendal Roué
d4e380c35b
Update thank you notice
2021-01-09 14:44:23 +01:00
Gwendal Roué
0dd78f1580
CHANGELOG
2021-01-09 14:43:40 +01:00
Gwendal Roué
267bfb29fe
Merge pull request #892 from eburns-vmware/dev/data_passphrase
...
Provide SQLCipher passphrase as Data
2021-01-09 14:33:46 +01:00
Gwendal Roué
4e551c8c6e
Fix Swiftlint errors
2021-01-09 13:09:44 +01:00
Gwendal Roué
554a84cf28
CHANGELOG
2021-01-09 12:57:26 +01:00
Gwendal Roué
2cfd51401a
Merge pull request #903 from chrisballinger/patch-2
...
Fix SPM installation instructions
2021-01-06 09:06:06 +01:00
Chris Ballinger
948f9d3f22
Fix SPM installation instructions
2021-01-05 14:00:20 -08:00
Gwendal Roué
728efd3d67
Update the thank you notice
2021-01-01 13:59:42 +01:00
Gwendal Roué
1b0dd4ae25
CHANGELOG
2021-01-01 13:59:32 +01:00
Gwendal Roué
e1b91e0642
Makefile documentation
2021-01-01 13:57:52 +01:00
Gwendal Roué
74b71b024b
Merge pull request #901 from wuyuehyang/development
...
Fix creation of FTS5 tokenizer with arguments
2021-01-01 13:55:08 +01:00
wuyueyang
c86d2d654f
Fix failed to create unicode61 tokenizer as a wrapped tokenizer
2021-01-01 02:13:11 +08:00
wuyueyang
ff6bdc38ef
Add test case for custom tokenizer with a unicode61 tokenizer of multiple arguments wrapped
2021-01-01 00:44:00 +08:00
Gwendal Roué
ef5b284f11
Remove TODO warning
2020-12-23 12:39:57 +01:00
Gwendal Roué
836efb120f
Xcode 12.3 formatting
2020-12-23 12:13:05 +01:00
Gwendal Roué
3a76b84eae
Documentation
2020-12-23 11:16:09 +01:00
Gwendal Roué
ae17e9f893
Documentation
2020-12-23 11:11:27 +01:00
Gwendal Roué
6ea1e6aeaf
Test that pragma tables are not tracked
2020-12-23 10:41:03 +01:00
Gwendal Roué
ed32e44bc2
DRY
2020-12-23 10:31:16 +01:00
Gwendal Roué
60a9494434
Fix Swiftlint warnings
2020-12-23 10:10:10 +01:00
Gwendal Roué
51991213ef
Stop observing pragma tables
2020-12-23 10:09:00 +01:00
Gwendal Roué
dc16fae72e
Documentation
2020-12-23 10:08:30 +01:00
Gwendal Roué
b485d4d3dc
forSingleResult is no longer mandatory
2020-12-23 10:08:16 +01:00
Gwendal Roué
7634d3f950
Documentation
2020-12-23 09:23:37 +01:00
Gwendal Roué
6abbf82a89
So long, visitor pattern!
2020-12-23 09:02:17 +01:00
Ed Burns
2de9b2d9ed
Cleaned up documentation and addressed review comments.
2020-12-22 11:29:26 -06:00
Gwendal Roué
cc0611847d
Remove the CocoaPods lint job from Travis
...
It's too slow, and nearly always fails
2020-12-20 08:52:12 +01:00
Gwendal Roué
c844438dd6
Xcode 12.2 touch
2020-12-20 08:51:42 +01:00
Gwendal Roué
0d6f68646c
Turn warning into a TODO
2020-12-19 13:07:24 +01:00
Gwendal Roué
af55215356
Travis: test with Xcode 12.2
2020-12-19 13:02:24 +01:00
Gwendal Roué
f4f44c51d9
Makefile: support for Xcode 12.3
2020-12-19 11:18:46 +01:00
Ed Burns
77a1becba1
Fixed error in README. Sorry.
2020-12-17 17:17:26 -06:00
Ed Burns
5546961c8c
Test fixes and cleanup.
2020-12-17 17:10:39 -06:00
Ed Burns
d09571c0ad
Added option to specify passphrase as a Data object, added section to README.
2020-12-17 11:19:05 -06:00
Gwendal Roué
9b15011f17
Move singularity test to SQLAssociationCardinality
2020-12-13 18:29:48 +01:00
Gwendal Roué
e72007c1dd
Make SQLiteral.subquery a promise
...
This allows us to postpone CTEs definition until a db connection is available
2020-12-13 18:29:43 +01:00
Gwendal Roué
ab502baa20
CommonTableExpression.contains(_:)
2020-12-13 18:29:28 +01:00
Gwendal Roué
eb0e0d4cdd
Merge pull request #885 from groue/dev/cte+871
...
Robustness of eager loading of to-many associations based on compound foreign keys
2020-12-12 13:31:28 +01:00
Gwendal Roué
c8818c1d44
CTEs are experimental
2020-12-12 12:47:44 +01:00
Gwendal Roué
1ff825c861
CHANGELOG
2020-12-12 12:41:10 +01:00
Gwendal Roué
13946f1d8d
Remove unclear recommentation
2020-12-12 12:40:50 +01:00
Gwendal Roué
6a68e31903
Clarify handling of NULL in foreign keys
2020-12-12 12:40:50 +01:00
Gwendal Roué
618be9b5e4
Do not support null in foreign keys more than SQLite itself
2020-12-12 12:40:50 +01:00
Gwendal Roué
4a6a2c5495
Fix typo
2020-12-12 12:40:50 +01:00
Gwendal Roué
6082fc4e54
Tests for nullable compound foreign keys
2020-12-12 12:40:50 +01:00
Gwendal Roué
4e8d129162
Only use the CTE technique if foreign key columns are not null
2020-12-12 12:40:50 +01:00
Gwendal Roué
472b5bc604
Test two levels of include(all:) with compound foreign keys
2020-12-12 12:40:50 +01:00
Gwendal Roué
cad788e59e
Revert "Prefer CommonTableExpression.contains(_:)"
...
This reverts commit 87a0921586e319ccd4ee02e991ec555c6a915c13.
2020-12-12 12:40:49 +01:00
Gwendal Roué
2cb4cf51c3
TODO
2020-12-12 12:40:49 +01:00
Gwendal Roué
5eff2448bb
Documentation
2020-12-12 12:40:49 +01:00
Gwendal Roué
aabf6e6247
Prefer CommonTableExpression.contains(_:)
2020-12-12 12:40:49 +01:00
Gwendal Roué
23c93eebdf
Remove fixed caveat from documentation
2020-12-12 12:40:49 +01:00
Gwendal Roué
732ec36b67
Documentation
2020-12-12 12:40:49 +01:00
Gwendal Roué
f1196bf924
Limit availability of _SQLRowValue.isAvailable
2020-12-12 12:40:49 +01:00
Gwendal Roué
fcd6a453f0
Replace CTE request with its table name
2020-12-12 12:40:49 +01:00
Gwendal Roué
85af2deced
Document TODOs with row values
2020-12-12 12:40:49 +01:00
Gwendal Roué
b70f85d94b
Fix #871
2020-12-12 12:40:49 +01:00
Gwendal Roué
b715206502
Row values
2020-12-12 12:40:49 +01:00
Gwendal Roué
18885d4ca1
CHANGELOG
2020-12-12 12:40:32 +01:00
Gwendal Roué
555ed025bc
CHANGELOG
2020-12-12 12:30:45 +01:00
Gwendal Roué
d0e4d536d9
Merge pull request #880 from groue/dev/cte
...
Common Table Expressions
2020-12-12 11:56:01 +01:00
Gwendal Roué
8c225105c2
Documentation
2020-12-12 11:21:49 +01:00
Gwendal Roué
c36539adb3
CTEs can enter UPDATE and DELETE queries
2020-12-12 11:06:51 +01:00
Gwendal Roué
b636c391df
Fix typo
2020-12-11 08:33:13 +01:00
Gwendal Roué
659af2cd2a
Documentation
2020-12-11 08:28:44 +01:00
Gwendal Roué
f70e2b4e37
Mention that recursive CTEs require SQL
2020-12-11 08:24:05 +01:00
Gwendal Roué
b16e12cb6e
Documentation
2020-12-11 08:18:33 +01:00
Gwendal Roué
df5c62d2d9
Documentation
...
Mention the CTE blog post found by @bellebethcooper
2020-12-11 08:17:12 +01:00
Gwendal Roué
b89d11f8ec
TODO
2020-12-09 09:23:42 +01:00
Gwendal Roué
992f2a2d83
Revert "CommonTableExpression.contains(_:)"
...
This reverts commit f94cecb329 .
We can't expose a raw table name like that, because it may be used several times, and need an alias.
2020-12-08 18:36:51 +01:00
Gwendal Roué
f94cecb329
CommonTableExpression.contains(_:)
2020-12-06 19:22:30 +01:00
Gwendal Roué
89c117425e
Mention minimal SQLite version in README
2020-12-06 16:40:40 +01:00
Gwendal Roué
26c7441b49
Documentation
2020-12-06 13:16:27 +01:00
Gwendal Roué
a6d80ce208
Update Makefile for Xcode 12.2
2020-12-06 13:11:36 +01:00
Gwendal Roué
c287449258
Documentation
2020-12-05 20:50:58 +01:00
Gwendal Roué
f9c98b4a1f
Fix documentation typo
2020-12-05 20:47:59 +01:00
Gwendal Roué
86cfee4e23
Fix typo
2020-12-05 19:57:54 +01:00
Gwendal Roué
a3351513ce
Optimize inclusion of CTE association
...
In order to count the selected columns of a CTE, we do not need to have SQLite compile the whole CTE request when we have information about the selected columns.
2020-12-05 19:50:47 +01:00
Gwendal Roué
95be9b7bb6
Documentation
2020-12-05 19:17:47 +01:00
Gwendal Roué
1c2dd8617b
Fix Documentation typo
2020-12-05 19:15:20 +01:00
Gwendal Roué
7f71174159
Fix typo
2020-12-05 18:26:46 +01:00
Gwendal Roué
098ddf27ec
Documentation
2020-12-05 18:25:51 +01:00
Gwendal Roué
bbce741688
Documentation
2020-12-05 18:22:26 +01:00
Gwendal Roué
c56382f04a
Documentation
2020-12-05 18:19:01 +01:00
Gwendal Roué
71841f0a07
Documentation
2020-12-05 18:16:20 +01:00
Gwendal Roué
e43fae2a63
Fix sample code
2020-12-05 18:13:42 +01:00
Gwendal Roué
022a06b4bc
Documentation
2020-12-05 18:10:13 +01:00
Gwendal Roué
7df77aa2d0
Documentation
2020-12-05 18:05:52 +01:00
Gwendal Roué
f18bcb67e4
Documentation
2020-12-05 17:56:39 +01:00
Gwendal Roué
cc68ef5872
Caveat documentation
2020-12-05 16:13:48 +01:00
Gwendal Roué
5b3eee53c2
SQL interpolation of CTEs
2020-12-05 16:13:24 +01:00
Gwendal Roué
63255cabf8
SQL interpolation of CTEs
2020-12-05 13:40:56 +01:00
Gwendal Roué
9d1bcec132
Cleanup filtering of trivially true joining conditions
2020-12-05 12:49:31 +01:00
Gwendal Roué
b60f39e7cc
Merge branch 'development' into dev/cte
...
# Conflicts:
# GRDB/QueryInterface/Request/Association/Association.swift
# GRDB/QueryInterface/Request/QueryInterfaceRequest.swift
# GRDB/QueryInterface/SQL/SQLQuery.swift
# GRDB/QueryInterface/SQLGeneration/SQLGenerationContext.swift
# GRDB/QueryInterface/SQLGeneration/SQLQueryGenerator.swift
2020-12-05 12:31:52 +01:00
Gwendal Roué
5464d64180
Prevent an infinite loop of self-proxying TableAlias I saw once
2020-12-05 12:24:05 +01:00
Gwendal Roué
1e2d07a16f
Simplify SQLSource
...
SQLSource used to be more or less able to deal with subqueries, as in SELECT ... FROM (SELECT ...).
But we had only one use case for it, the "trivial count query": SELECT COUNT(*) FROM (SELECT ...). And many opportunities for fatal errors, because such subqueries were not generally supported.
So we simplify SQLSource, and implement the trivial count query in another way.
2020-12-05 12:21:14 +01:00
Gwendal Roué
66b23d423f
Cleanup JoinAssociation
2020-12-05 10:54:31 +01:00
Gwendal Roué
3094c274df
Enhance error message
2020-12-05 10:34:32 +01:00
Gwendal Roué
378279ee1a
Move the isRecursive flag where it belongs
2020-12-05 10:32:46 +01:00
Gwendal Roué
e509d7af65
Merge branch 'development' into dev/cte
2020-12-04 07:10:12 +01:00
Gwendal Roué
9da4bc09c3
Fix typos
2020-12-04 07:09:54 +01:00
Gwendal Roué
462461c1c9
Merge pull request #883 from professordeng/patch-1
...
Update README.md
2020-12-04 05:34:41 +01:00
peofessordeng
7ded56dfc4
Update README.md
2020-12-04 11:07:37 +08:00
Gwendal Roué
836a0a5e37
Documentation
2020-12-03 19:15:57 +01:00
Gwendal Roué
91dd13e2be
Merge cte support into AllColumns
2020-12-03 18:51:26 +01:00
Gwendal Roué
a1f0f2c9b7
TODO
2020-12-03 09:24:56 +01:00
Gwendal Roué
6f409f2140
Fix typo
2020-12-03 09:22:15 +01:00
Gwendal Roué
64776682fe
Drop USING clause until actually needed
2020-12-03 09:21:19 +01:00
Gwendal Roué
a21e6575d8
_AllCTEColumns delegates to AllColumns and _SQLQualifiedAllColumns
2020-12-03 08:37:55 +01:00
Gwendal Roué
4ee6f3293a
CTE columns are provided as strings
2020-12-03 08:34:43 +01:00
Gwendal Roué
17b884b3dc
Recursive CTEs
2020-12-03 08:28:14 +01:00
Gwendal Roué
0f6d36bfc2
Cleanup
2020-12-03 07:07:39 +01:00
Gwendal Roué
0dc9215df6
Documentation
2020-12-02 22:15:50 +01:00
Gwendal Roué
333ffc1ebe
Documentation
2020-12-02 21:55:51 +01:00
Gwendal Roué
181c930e39
Cleanup
2020-12-02 19:29:35 +01:00
Gwendal Roué
65337e74d9
Solve #856 with a CTE :-)
2020-12-02 19:14:53 +01:00
Gwendal Roué
69c116507b
Fetch straight from a CTE
2020-12-02 18:40:58 +01:00
Gwendal Roué
2b82de42d8
Merge branch 'development' into dev/cte
2020-12-02 18:30:31 +01:00
Gwendal Roué
10dfa3fba9
Merge pull request #881 from felixscheinost/patch-1
...
Fix try-catch blocks in documentation
2020-12-02 10:41:06 +01:00
Felix Scheinost
339062f01f
Fix try-catch blocks in documentation
2020-12-02 10:08:55 +01:00
Gwendal Roué
eb2346dfce
Couting requests with CTE uses trivial SQL
2020-12-02 08:26:35 +01:00
Gwendal Roué
1d0adaacf6
including(all:) accepts associations based on the .using condition
2020-12-02 08:20:50 +01:00
Gwendal Roué
5e8f95ca09
Improve CTE columns counting
2020-12-02 08:09:07 +01:00
Gwendal Roué
b085a29c8c
Cleanup
2020-12-02 08:02:42 +01:00
Gwendal Roué
992e8f3423
Remove header
2020-12-02 06:25:18 +01:00
Gwendal Roué
49e6923156
Prepare recursive CTEs
2020-12-02 06:22:55 +01:00
Gwendal Roué
a7a4858364
Refactor CommonTableExpression initializers
2020-12-02 06:12:55 +01:00
Gwendal Roué
3a38cbe87f
Create CTE without request
2020-12-02 06:00:04 +01:00
Gwendal Roué
2c42d0129c
CTE columns: WITH cte(a, b) AS ...
2020-12-02 05:36:56 +01:00
Gwendal Roué
da5ef961d6
Expose CTE creation method at a documented level
2020-12-02 05:14:26 +01:00
Gwendal Roué
d35373dcdf
Fix typo
2020-12-01 20:48:40 +01:00
Gwendal Roué
adc6ba1226
Delete dead code
2020-12-01 20:45:11 +01:00
Gwendal Roué
b1d162c14e
Filter, order, alias CTE
2020-12-01 20:38:37 +01:00
Gwendal Roué
2b6c3fb868
Remove misleading comment
2020-12-01 20:38:19 +01:00
Gwendal Roué
a70b42cbf5
Extract SQLAssociationCondition.using
2020-12-01 20:30:36 +01:00
Gwendal Roué
06000abbfd
Type-safe CTE associations, part 2
2020-12-01 20:04:35 +01:00
Gwendal Roué
67bc47c3b5
Type-safe CTE associations
2020-12-01 20:00:04 +01:00
Gwendal Roué
5c34ab19e2
API rationalization
2020-12-01 19:50:16 +01:00
Gwendal Roué
6d14f792e6
Remove dead code
2020-12-01 19:36:50 +01:00
Gwendal Roué
1238843a44
Cleanup
2020-12-01 19:33:43 +01:00
Gwendal Roué
8000332ec4
Gather CTE methods
2020-12-01 19:29:39 +01:00
Gwendal Roué
9896607dff
Test for filtered CTE
2020-12-01 19:17:47 +01:00
Gwendal Roué
1be0a6cd5c
Add JoinAssociation to GRDBCustom
2020-12-01 19:17:34 +01:00
Gwendal Roué
0191676063
Using clause for CTE associations
2020-12-01 09:17:05 +01:00
Gwendal Roué
c16da693df
More cte association api experiments
2020-12-01 08:38:39 +01:00
Gwendal Roué
f31dd0033c
Remove non-composable cte association methods
2020-12-01 08:21:04 +01:00
Gwendal Roué
b7b89c5fa9
CTE associations
2020-11-30 21:51:17 +01:00
Gwendal Roué
c776ee8d47
Association: remove TableRecord requirement
2020-11-30 21:50:18 +01:00
Gwendal Roué
c36fc2813b
Include a raw SQL CTE
2020-11-30 19:29:54 +01:00
Gwendal Roué
ec2640a459
CommonTableExpression is a table, after all
2020-11-30 19:21:46 +01:00
Gwendal Roué
755782759a
Cleanup
2020-11-30 18:14:03 +01:00
Gwendal Roué
9275d4ddf8
Need to deal with CTE subqueries
2020-11-30 18:10:21 +01:00
Gwendal Roué
96951b3d4e
Remove dead code
2020-11-30 18:10:06 +01:00
Gwendal Roué
36a8cd1352
CTE merging WIP: we need to postpone TableAlias creation
2020-11-29 19:33:46 +01:00
Gwendal Roué
2bb9f5ce0d
First joins with CommonTableExpression
2020-11-29 19:05:12 +01:00
Gwendal Roué
e1d3c1d7dc
Give CommonTableExpression a key, for joins
2020-11-29 18:23:41 +01:00
Gwendal Roué
00a7eb53e8
First successful SQL generation with CTE
2020-11-29 16:51:52 +01:00
Gwendal Roué
e7dcf25063
CTE aliases
2020-11-29 15:49:55 +01:00
Gwendal Roué
d2b7b4240a
CTE basis
2020-11-29 15:06:45 +01:00
Gwendal Roué
b6ef89c116
Prefetch cleanup
2020-11-29 11:58:15 +01:00
Gwendal Roué
2a917823ed
Merge branch 'development'
2020-11-29 06:59:23 +01:00
Gwendal Roué
2135f8e768
v5.2.0
2020-11-28 13:46:26 +01:00
Gwendal Roué
2c45ecf56c
CHANGELOG
2020-11-28 13:41:50 +01:00
Gwendal Roué
52f831936e
Document the including(all:) caveat with compound foreign keys
2020-11-28 13:26:21 +01:00
Gwendal Roué
28f6b64f67
Document the including(all:) caveat with compound foreign keys
2020-11-28 13:24:25 +01:00
Gwendal Roué
cc0365d794
Document the including(all:) caveat with compound foreign keys
2020-11-28 13:21:12 +01:00
Gwendal Roué
59ad47d640
Merge pull request #872 from groue/dev/timezone
...
Parse time zones
2020-11-14 18:33:42 +01:00
Gwendal Roué
27662f99b0
[skip travis] profile date parsing
2020-11-14 13:18:21 +01:00
Gwendal Roué
4c5c2dfb6c
[skip travis] CHANGELOG
2020-11-14 13:16:38 +01:00
Gwendal Roué
517a7b2984
Update documentation
2020-11-14 11:16:47 +01:00
Gwendal Roué
10bb596b7c
Update documentation
2020-11-14 11:15:09 +01:00
Gwendal Roué
6913f1e39b
Update documentation
2020-11-14 10:51:30 +01:00
Gwendal Roué
fe8e32586b
Parse time zones
2020-11-14 10:35:04 +01:00
Gwendal Roué
e0c91ed2ee
Merge pull request #868 from groue/dev/varying-region
...
ValueObservation optimization is opt-in
2020-11-08 11:15:41 +01:00
Gwendal Roué
428433672c
Documentation
2020-11-07 13:55:57 +01:00
Gwendal Roué
f71a2f7cd8
CHANGELOG
2020-11-07 13:39:49 +01:00
Gwendal Roué
102b037c7d
Update documentation
2020-11-07 13:02:47 +01:00
Gwendal Roué
46c3839ea0
ValueObservation tracks a varying database region by defaut
2020-11-07 13:01:51 +01:00
Gwendal Roué
2c51c04708
Merge branch 'development'
2020-11-01 13:27:29 +01:00
Gwendal Roué
d0a7a49c19
v5.1.0
2020-11-01 13:27:04 +01:00
Gwendal Roué
0024a4e654
Merge pull request #864 from groue/dev/filter-ergonomics
...
Prevent filter misuse with a deprecation warning
2020-11-01 13:18:05 +01:00
Gwendal Roué
d66a3f4ab3
Fix Swiftlint warning
2020-11-01 10:39:48 +01:00
Gwendal Roué
645aa1d67b
CHANGELOG
2020-11-01 10:34:21 +01:00
Gwendal Roué
06db4af649
Enhance warning
2020-11-01 10:33:05 +01:00
Gwendal Roué
baf1ef32d1
Document why filter(_:) prefers SQLSpecificExpressible over SQLExpressible
2020-11-01 10:29:07 +01:00
Gwendal Roué
d5638f8e53
Update tests and replace filter(value) with filter(databaseValue)
2020-11-01 09:44:13 +01:00
Gwendal Roué
c65b5b28b9
Update tests and replace filter(value) with filter { _ in value }
...
We just want to make sure that no nasty overload alters the meaning of expressions such as `2 + 2`
2020-11-01 09:43:37 +01:00
Gwendal Roué
1301e16f6e
Update tests and replace filter(false) with none()
2020-11-01 09:42:00 +01:00
Gwendal Roué
caa382f41b
Deprecate filter(value)
...
Some people use Player.filter(id) instead of Player.filter(key: id). This is what this commit prevents.
2020-11-01 09:41:16 +01:00
Gwendal Roué
24fd69a9be
[skip travis] CHANGELOG
2020-10-31 19:56:25 +01:00
Gwendal Roué
2389ec691b
Merge pull request #855 from mallman/generated_columns
...
SQLite 3.33.0 + Support for generated columns
2020-10-31 18:56:34 +01:00
Gwendal Roué
b8dd2ce2f4
Generate columns from query interface expressions
...
This allows to avoid SQL injection
2020-10-31 14:16:04 +01:00
Gwendal Roué
5114cc4d6d
Fix documentation
2020-10-31 13:56:22 +01:00
Gwendal Roué
57036c4470
Use SQLite ergonomics, and create virtual generated columns by default
2020-10-31 13:55:07 +01:00
Gwendal Roué
81166432a8
Documentation for generatedAs(sql:)
2020-10-31 13:45:58 +01:00
Gwendal Roué
5dc8502c8b
Test that update(_:) and insert(_:) throw when persisting generated columns
2020-10-31 13:23:42 +01:00
Gwendal Roué
67e10926db
Restore logic
2020-10-31 13:09:49 +01:00
Gwendal Roué
e971e210a3
Update documentation about PRAGMA table_info and table_xinfo
2020-10-31 13:09:05 +01:00
Gwendal Roué
f7e6169c23
Test that TableRecord.numberOfSelectedColumns(_:) includes generated columns
2020-10-31 13:07:58 +01:00
Gwendal Roué
6fc4e31dfb
Test that Database.columns(in:) returns generated columns
2020-10-31 12:55:56 +01:00
Gwendal Roué
dfc22bdf00
Skip tests for generated columns unless custom SQLite build
2020-10-31 12:14:52 +01:00
Gwendal Roué
54b5f47ffa
Upgrade custom SQLite builds to v3.33.0
2020-10-31 12:09:49 +01:00
Gwendal Roué
62a4251f90
Merge pull request #862 from groue/dev/fix-861
...
Improve documentation of observations of varying regions
2020-10-31 11:34:07 +01:00
Gwendal Roué
a41c12252a
Documentation
2020-10-30 09:12:47 +01:00
Gwendal Roué
e7cf816062
Documentation
2020-10-30 06:25:20 +01:00
Gwendal Roué
ff28cadd57
More tests for optimized regions
2020-10-30 06:20:50 +01:00
Gwendal Roué
9039b18b84
Documentation
2020-10-30 06:05:52 +01:00
Gwendal Roué
480381deb5
Documentation
2020-10-30 05:59:20 +01:00
Gwendal Roué
84dbace4af
Documentation
2020-10-30 05:56:58 +01:00
Gwendal Roué
44f80f4c7c
Wording
2020-10-30 05:49:42 +01:00
Gwendal Roué
1cb9e52123
Legibility
2020-10-29 19:12:29 +01:00
Gwendal Roué
4d7ddb9c26
Wording
2020-10-29 19:07:31 +01:00
Gwendal Roué
1b29d7eca3
CHANGELOG
2020-10-29 19:02:00 +01:00
Gwendal Roué
5c779b11db
Improve documentation of observations of a varying region
2020-10-29 18:47:34 +01:00
Gwendal Roué
dc344c07de
Wording
2020-10-29 18:16:37 +01:00
Gwendal Roué
b7b3c3ab32
Wording
2020-10-29 18:15:23 +01:00
Gwendal Roué
6fa20284ec
Wording
2020-10-29 18:14:14 +01:00
Gwendal Roué
978b570826
FAQ: Why is ValueObservation not publishing value changes?
2020-10-29 18:13:06 +01:00
Gwendal Roué
688e393ed1
Don't track prefetched associations when the parent is provably empty
2020-10-29 17:05:26 +01:00
Gwendal Roué
8ede868068
More tests for empty regions of empty requests
2020-10-29 16:05:35 +01:00
Gwendal Roué
667d42eeb4
[skip travis] Fix release date
2020-10-28 07:43:01 +01:00
Michael Allman
1f87d5a375
Add rudimentary tests for the generated column table definition API
2020-10-25 12:19:01 -07:00
Michael Allman
4f0a6cf9e1
Extract common filter predicate in AssociationPrefetchingSQLTests into a
...
reusable method
2020-10-25 11:55:49 -07:00
Michael Allman
3318858b80
Wrap the generatedAs column definition API with the GRDBCUSTOMSQLITE
...
Swift compiler flag
2020-10-25 11:44:09 -07:00
Michael Allman
9c6f19f55f
Condition table column info query on SQLite version
2020-10-25 11:42:43 -07:00
Gwendal Roué
48ee93c244
CHANGELOG
2020-10-25 10:38:22 +01:00
Gwendal Roué
ee4197bcc0
Merge branch 'development'
2020-10-25 10:33:57 +01:00
Gwendal Roué
079c476148
v5.0.3
2020-10-25 10:33:32 +01:00
Gwendal Roué
aa909b7635
Merge branch 'master' into development
2020-10-25 10:33:21 +01:00
Gwendal Roué
9167ebda98
Merge pull request #859 from groue/dev/deinit-change
...
Database.close() is idempotent
2020-10-25 10:15:49 +01:00
Gwendal Roué
38682c69da
CHANGELOG
2020-10-25 10:15:27 +01:00
Gwendal Roué
2a7f41c494
Database.close() is idempotent
...
This change addresses https://bugs.swift.org/browse/SR-13746
2020-10-25 10:12:42 +01:00
Michael Allman
071bbc7905
Initial commit for generated column support
2020-10-19 21:25:36 -07:00
Gwendal Roué
ca18f509e7
Merge pull request #850 from DiligentRobot/development
...
Add buildActiveScheme to playground settings so they'll build under Xcode 12
2020-10-15 17:57:34 +02:00
Matt Tancock
5e2bb1d57a
Add buildActiveScheme to playground settings so they'll build under Xcode 12
2020-10-15 15:10:28 +01:00
Gwendal Roué
dd2950e4ca
[skip travis] Merge pull request #849 from MarshalGeazipp/MarshalGeazipp-fix-grammar
...
Fix grammar mistake AssociationsBasics.md
2020-10-08 17:42:40 +02:00
Sebastian Nicklas
34f3097616
Update AssociationsBasics.md
2020-10-08 17:19:17 +02:00
Gwendal Roué
948e91126a
Merge branch 'development'
2020-10-06 19:21:43 +02:00
Gwendal Roué
85b781bf0e
v5.0.2
2020-10-06 14:10:06 +02:00
Gwendal Roué
bd853a8bc0
CHANGELOG
2020-10-06 14:08:21 +02:00
Gwendal Roué
bfc76b96f3
Fix #844
2020-10-06 14:03:41 +02:00
Gwendal Roué
99ea59ee06
Demo app builds in Debug configuration
2020-10-06 14:03:41 +02:00
Gwendal Roué
f8a0e8e4b5
Merge pull request #847 from groue/dev/remove-snapshots
...
Remove dependency on SQLITE_ENABLE_SNAPSHOT
2020-10-06 13:32:26 +02:00
Gwendal Roué
14e32a2bd1
[skip travis] CHANGELOG
2020-10-06 13:31:52 +02:00
Gwendal Roué
f84e25f929
Remove dependency on SQLITE_ENABLE_SNAPSHOT
...
Address #845 and #846
2020-10-06 08:30:41 +02:00
Gwendal Roué
6884bf10b0
Merge branch 'development'
2020-09-27 15:52:03 +02:00
Gwendal Roué
8803eafe31
v5.0.1
2020-09-27 15:20:42 +02:00
Gwendal Roué
9909ca4c96
[skip travis] CHANGELOG
2020-09-27 15:17:12 +02:00
Gwendal Roué
5d36d5735d
[skip travis] Update GRDBCombineDemo for iOS 14
...
Address both #842 and #843
2020-09-27 14:46:43 +02:00
Gwendal Roué
ef368a2bc2
Merge pull request #841 from groue/dev/840
...
Fix GRDB 5 regression with indexes on expressions
2020-09-27 12:06:02 +02:00
Gwendal Roué
8433b09650
[skip travis] CHANGELOG
2020-09-27 12:04:40 +02:00
Gwendal Roué
d2eb92d1a2
Travis: test Xcode 12
2020-09-26 15:27:49 +02:00
Gwendal Roué
ba98aab046
Fix failing test for #840
2020-09-26 14:46:39 +02:00
Gwendal Roué
00d15339b6
Failing test for #840
2020-09-26 14:45:49 +02:00
Gwendal Roué
1ea4a44bb8
Merge branch 'development'
2020-09-20 16:47:45 +02:00
Gwendal Roué
5119c065bd
v5.0.0
2020-09-20 15:54:56 +02:00
Gwendal Roué
8be6aa7358
Fix GRDBCombineDemo on the device
2020-09-20 15:35:25 +02:00
Gwendal Roué
438f99deff
GRDBCombineDemo Xcode 12 changes
2020-09-20 15:27:52 +02:00
Gwendal Roué
c556c056d8
GRDBCombineDemo: animate list changes
2020-09-20 15:27:36 +02:00
Gwendal Roué
613baf30f9
GRDBCombineDemo: fix compiler error
2020-09-20 15:27:10 +02:00
Gwendal Roué
0ac7e2d299
Xcode 12
2020-09-20 15:05:20 +02:00
Gwendal Roué
929465eb52
UIKit demo: use UITableViewDiffableDataSource
2020-09-20 15:05:07 +02:00
Gwendal Roué
13de0a5cce
Demo apps: move from unfamiliar World-based dependency injection to plain shared global
2020-09-20 14:37:01 +02:00
Gwendal Roué
c12f42b385
Fix warnings
2020-09-20 14:11:29 +02:00
Gwendal Roué
2ccd01299c
In performance report, the hardware model and Xcode version are dynamic
2020-09-20 14:05:08 +02:00
Gwendal Roué
fb2efb8df9
Upgrade Realm
2020-09-20 14:04:24 +02:00
Gwendal Roué
795daf284f
Remove performance database resources
2020-09-20 13:31:11 +02:00
Gwendal Roué
354b815835
Remove obsolete todos
2020-09-20 11:38:37 +02:00
Gwendal Roué
7d8e20685d
CHANGELOG
2020-09-20 11:19:11 +02:00
Gwendal Roué
5050c36c4e
Fix wording of root key decoding error
2020-09-19 15:52:50 +02:00
Gwendal Roué
6348c6f151
Merge branch 'dev/decodingErrorAmbiguity' into development
2020-09-19 15:50:35 +02:00
Gwendal Roué
8cb468cf05
Fix failing test for #836
2020-09-19 15:50:21 +02:00
Gwendal Roué
55c9e48a21
Failing test for #836
2020-09-19 15:50:07 +02:00
Gwendal Roué
db3ae357ea
Merge branch 'dev/indexIfNotExists' into development
2020-09-19 13:12:30 +02:00
Gwendal Roué
f62b952d70
Fix failing test for #838
2020-09-19 13:11:44 +02:00
Gwendal Roué
bf1c025612
Failing test for #838
2020-09-19 13:11:30 +02:00
Gwendal Roué
ba253dcbf2
[skip travis] fix indentation
2020-09-11 14:36:41 +02:00
Gwendal Roué
1829706faa
[skip travis] don’t talk about "misuse" when it’s all about an SQLite misfeature
2020-09-11 14:34:55 +02:00
Gwendal Roué
f9f16df065
[skip travis] don’t talk about "misuse" when it’s all about an SQLite misfeature
2020-09-11 14:33:40 +02:00
Gwendal Roué
66173b345f
[skip travis] wording
2020-09-11 14:30:25 +02:00
Gwendal Roué
ac54c808c5
[skip travis] fix documentation layout
2020-09-11 13:37:52 +02:00
Gwendal Roué
7761b137ba
Fix wording
2020-09-11 13:37:04 +02:00
Gwendal Roué
3d144b9e5d
[skip travis] FAQ about SQLite error 1 "no such column"
2020-09-11 13:27:30 +02:00
Gwendal Roué
b2f5d425b6
Merge branch 'development'
2020-09-07 13:42:58 +02:00
Gwendal Roué
64028e03dc
v5.0.0-beta.11
2020-09-07 13:36:44 +02:00
Gwendal Roué
e52047d82e
Fix #828
2020-09-07 13:29:13 +02:00
Gwendal Roué
5adbd9b3e3
Merge pull request #831 from groue/dev/more-preparation
...
Improve Configuration.prepareDatabase
2020-09-07 13:26:50 +02:00
Gwendal Roué
fd21f97007
Update migration guide
2020-09-06 18:40:15 +02:00
Gwendal Roué
d74c5264d3
Update documentation for functions, collations, and tokenizers
2020-09-06 18:28:22 +02:00
Gwendal Roué
654611c365
Fix OTHER_SWIFT_FLAGS
2020-09-06 14:38:30 +02:00
Gwendal Roué
18e09ec061
Configuration.prepareDatabase updates
2020-09-06 14:06:25 +02:00
Gwendal Roué
8e2fb1fb22
Update tests
2020-09-06 13:57:16 +02:00
Gwendal Roué
7a2c1413fe
Fix DatabaseSnapshot
2020-09-06 13:40:03 +02:00
Gwendal Roué
3c38aa1996
Functions, Collations, and tokenizers are no longer available on DatabaseQueue, Pool, and Snapshot
2020-09-06 13:18:58 +02:00
Gwendal Roué
886f75bbea
Configuration.prepareDatabase in now a method
2020-09-06 13:15:51 +02:00
Gwendal Roué
5820b30cc6
DatabaseError.description: output SQLite message before statement #820
2020-08-25 19:48:00 +02:00
Gwendal Roué
ce4bfb9df6
[skip travis] Explain that date and uuid strategies do not apply to requests ( #821 )
2020-08-23 11:07:02 +02:00
Gwendal Roué
be787d3e8a
[skip travis] Tell that demo apps are not templates. Addresses #823
2020-08-23 10:36:44 +02:00
Gwendal Roué
ededd8668a
Merge branch 'development'
2020-07-30 08:29:47 +02:00
Gwendal Roué
7b788e3988
v5.0.0-beta.10
2020-07-30 08:29:27 +02:00
Gwendal Roué
0eb854cebd
Merge pull request #817 from groue/dev/boolean-checks
...
Allow query planner to optimize some boolean tests
2020-07-30 08:24:36 +02:00
Gwendal Roué
9529939262
Documentation
2020-07-27 06:40:18 +02:00
Gwendal Roué
6ee7db48c8
Take care of indexes on expressions as well
...
sqlite> create table t(a,b);
sqlite> create index i on t(a like '%a', a, b);
sqlite> explain query plan select * from t where a like '%a';
QUERY PLAN
`--SCAN TABLE t
sqlite> explain query plan select * from t where a not like '%a';
QUERY PLAN
`--SCAN TABLE t
sqlite> explain query plan select * from t where (a like '%a') = 1;
QUERY PLAN
`--SEARCH TABLE t USING COVERING INDEX i (<expr>=?)
sqlite> explain query plan select * from t where (a like '%a') = 0;
QUERY PLAN
`--SEARCH TABLE t USING COVERING INDEX i (<expr>=?)
2020-07-26 16:04:02 +02:00
Gwendal Roué
8cc82ae2b7
Update migration guide
2020-07-26 15:16:19 +02:00
Gwendal Roué
474c2c3a76
Thank you notice
2020-07-26 15:09:43 +02:00
Gwendal Roué
843624044c
CHANGELOG
2020-07-26 15:08:21 +02:00
Gwendal Roué
454b9d5546
More tests for boolean tests
2020-07-26 14:19:46 +02:00
Gwendal Roué
c532b8709c
Refactor boolean tests ( fix #816 )
2020-07-26 14:19:31 +02:00
Gwendal Roué
bf1d6038e1
Failing tests for #816
2020-07-26 13:33:35 +02:00
Gwendal Roué
86b9616dd7
DatabasePool readers don't invalidate their database schema cache until schema is actually changed.
2020-07-25 18:20:43 +02:00
Gwendal Roué
bc993f63f5
Merge branch 'development'
2020-07-24 06:07:54 +02:00
Gwendal Roué
531d732437
Travis: bump to Xcode 11.6
2020-07-23 20:38:19 +02:00
Gwendal Roué
24f9b2c01b
Makefile: add support for Xcode 11.6
2020-07-23 20:27:05 +02:00
Gwendal Roué
c4991176f4
v5.0.0-beta.9
2020-07-23 19:04:58 +02:00
Gwendal Roué
0ea70d6bfc
CHANGELOG
2020-07-23 19:00:58 +02:00
Gwendal Roué
845ae7e0e4
Merge pull request #814 from groue/dev/views
...
Fix regression with views
2020-07-23 18:59:16 +02:00
Gwendal Roué
dc8d74b609
Merge pull request #813 from groue/dev/SQLite3.31.1
...
Expose SQLite 3.31.1 APIs to iOS, macOS, tvOS, watchOS
2020-07-23 18:58:56 +02:00
Gwendal Roué
2f54eda08a
Fix #812
2020-07-23 08:46:05 +02:00
Gwendal Roué
a526351b4c
Failing test for #812
2020-07-23 08:31:53 +02:00
Gwendal Roué
d08d3b311f
Fix for GRDB+SQLCipher
2020-07-23 07:55:34 +02:00
Gwendal Roué
25baecdc39
CHANGELOG
2020-07-22 20:36:32 +02:00
Gwendal Roué
e2816905bb
OSX 11 is OSX 10.16
2020-07-22 20:22:03 +02:00
Gwendal Roué
ee2d8eae50
Expose ascNullLast and descNullFirst
...
This is because iOS 14 runs SQLite 3.31.1
2020-07-22 20:17:52 +02:00
Gwendal Roué
1823e11090
Expose remove_diacritics=2 option of unicode61 FTS5 tokenizer
...
This is because iOS 14 runs SQLite 3.31.1
2020-07-22 20:07:27 +02:00
Gwendal Roué
294ed772c1
Expose remove_diacritics=2 option of unicode61 FTS tokenizer
...
This is because iOS 14 runs SQLite 3.31.1
2020-07-22 20:07:27 +02:00
Gwendal Roué
62f33e1d55
Dictionary(grouping:by:) with Cursor
2020-07-22 08:39:45 +02:00
Gwendal Roué
e3f1992536
[skip travis] Mention update with primary key
2020-07-19 13:42:12 +02:00
Gwendal Roué
baf3a8ec26
[skip travis] Simplify introduction to record protocols
2020-07-19 13:26:56 +02:00
Gwendal Roué
a9ca4450f8
[skip travis] Mention unadapted
2020-07-19 13:09:27 +02:00
Gwendal Roué
54ceba6dfa
[skip travis] Update observation usage
2020-07-19 13:00:29 +02:00
Gwendal Roué
fc64d868ef
[skip travis] Update observation usage
2020-07-19 12:53:48 +02:00
Gwendal Roué
45fdb50dc2
[skip travis] Mention RenameColumnAdapter in the migration guide
2020-07-19 12:27:49 +02:00
Gwendal Roué
e704ffeba1
Merge branch 'development'
2020-07-19 12:09:50 +02:00
Gwendal Roué
2fb2cee5db
v5.0.0-beta.8
2020-07-19 10:04:05 +02:00
Gwendal Roué
3fa8c15c33
Merge pull request #811 from groue/dev/RenameColumAdapter
...
Introduce RenameColumAdapter
2020-07-19 09:59:05 +02:00
Gwendal Roué
70b70a069a
Fix typo
2020-07-19 09:54:39 +02:00
Gwendal Roué
f16dcc56ae
Add SQLLiteral.isEmpty
2020-07-19 09:41:45 +02:00
Gwendal Roué
4bf21cc5ce
Introduce RenameColumAdapter
2020-07-19 09:33:13 +02:00
Gwendal Roué
b9bb514709
Merge branch 'development'
2020-07-14 20:44:11 +02:00
Gwendal Roué
67db8a0f3e
v5.0.0-beta.7
2020-07-14 20:43:38 +02:00
Gwendal Roué
606cc2cb37
Give more time to SQLCipher4 Travis tests
2020-07-14 18:25:31 +02:00
Gwendal Roué
bed1f28b30
Give more time to SQLCipher4 Travis tests
2020-07-14 16:41:05 +02:00
Gwendal Roué
5c6130fbed
More Xcode 12 adaptation
2020-07-14 14:02:24 +02:00
Gwendal Roué
c1079ac1a9
Remove xcconfig-based settings from target
2020-07-14 13:55:37 +02:00
Gwendal Roué
ef7d2e06f6
Restore FTS5 tests from GRDB.xcodeproj
2020-07-14 09:35:03 +02:00
Gwendal Roué
08d235bdc3
Documentation
2020-07-14 09:34:19 +02:00
Gwendal Roué
ac8af6bbf0
CHANGELOG
2020-07-14 09:34:05 +02:00
Gwendal Roué
1729c0b967
Merge pull request #802 from GetToSet/development
...
Add tokenchars support for ascii tokenizer in FTS5.
2020-07-14 09:24:09 +02:00
Gwendal Roué
b02b995b76
Give more time to SQLCipher4 Travis tests
2020-07-13 20:15:27 +02:00
Gwendal Roué
7f229468d2
Documentation
2020-07-12 15:12:04 +02:00
Gwendal Roué
ebae30342b
Defining custom RowAdapter types is no longer supported.
2020-07-12 14:22:53 +02:00
Gwendal Roué
07092169bf
Documentation
2020-07-12 14:17:58 +02:00
Bunny Wong
838a03c0ef
Added tests for ascii tokenizer.
2020-07-12 19:43:23 +08:00
Bunny Wong
4565c1fff9
Add tokenchars support for ascii tokenizer in FTS5.
2020-07-12 19:43:23 +08:00
Gwendal Roué
519410fc3a
Fix availability
2020-07-12 12:03:46 +02:00
Gwendal Roué
9743c89c56
Documentation
2020-07-12 11:59:01 +02:00
Gwendal Roué
94d1134ec2
fetchSet
2020-07-12 10:49:47 +02:00
Gwendal Roué
df92e350c0
Documentation
2020-07-11 20:29:47 +02:00
Gwendal Roué
065913f6ab
Remove useless makeSelectStatement(literal:)
2020-07-11 19:52:33 +02:00
Gwendal Roué
a75a7b82ce
Work around an SQLite bug which prevents rollbacking a transaction with sqlite3_commit_hook
2020-07-11 19:47:12 +02:00
Gwendal Roué
90e7449d6a
Documentation
2020-07-11 19:21:33 +02:00
Gwendal Roué
f9bd457cbd
Cleanup
2020-07-11 18:33:43 +02:00
Gwendal Roué
2f6f8f88f8
Cleanup
2020-07-11 17:43:51 +02:00
Gwendal Roué
604ac92a6d
Move PreparedRequest where it belongs
2020-07-11 17:40:22 +02:00
Gwendal Roué
4718de0f6c
CHANGELOG
2020-07-11 17:36:41 +02:00
Gwendal Roué
002287ca28
Close FetchRequest, make it visitable
2020-07-11 17:30:11 +02:00
Gwendal Roué
31e8d926a8
Remove _SQLExpressionVisitor default handling of _SQLExpressionCollate
2020-07-11 13:41:44 +02:00
Gwendal Roué
99ed742555
"row id" -> "rowid"
2020-07-11 13:21:14 +02:00
Gwendal Roué
67d3fa1e68
Document removal of query interface internals from public interface
2020-07-11 11:44:50 +02:00
Gwendal Roué
8a8518a961
Update playgrounds
2020-07-11 11:17:23 +02:00
Gwendal Roué
ae41859bbb
Cleanup
2020-07-11 10:57:24 +02:00
Gwendal Roué
813950f832
Avoid SQLITE_BUSY when opening a DatabaseSnapshot.
2020-07-09 17:45:57 +02:00
Gwendal Roué
cce8c832c7
[nil].contains(expr) now generates expr = NULL
2020-07-06 20:40:37 +02:00
Gwendal Roué
fc3e64989d
Cleanup _SQLExpressionContains
2020-07-06 20:18:21 +02:00
Gwendal Roué
d05f11293e
NULL is falsey
2020-07-06 15:14:43 +02:00
Gwendal Roué
b36a92c853
Towards increased SQLCollection.contains robustness
2020-07-06 15:13:55 +02:00
Gwendal Roué
995d90ae86
Cleanup SQLExpression.identifyingRowIDs(_:for:)
2020-07-06 12:01:18 +02:00
Gwendal Roué
229fb36074
Fix test
2020-07-05 16:23:19 +02:00
Gwendal Roué
68785d1c2d
Hide _SQLAssociation
2020-07-05 16:21:28 +02:00
Gwendal Roué
ed7faa3714
Documentation
2020-07-05 16:14:44 +02:00
Gwendal Roué
90f2642ec6
Make good use of the visitor pattern
2020-07-05 15:07:52 +02:00
Gwendal Roué
4c3029e5c1
Not a bug after all
...
But add comments, and an extra test for compound primary keys
2020-07-02 19:09:46 +02:00
Gwendal Roué
46e9e28a3f
Spot a bug in JoinMapping.joinExpression(leftRows:)
2020-07-02 08:49:55 +02:00
Gwendal Roué
effdc8df6c
Remove a debugging print()
2020-07-02 08:31:25 +02:00
Gwendal Roué
268a45a635
Prepare for different kinds of SQLAssociationCondition
2020-07-02 08:29:49 +02:00
Gwendal Roué
97cb1d595e
Improve groupByPrimaryKey()
...
Using the rowID when possible yields better performance
2020-07-01 21:25:33 +02:00
Gwendal Roué
a328faa834
Allow grouping by FastPrimaryKeyExpression
2020-07-01 21:24:27 +02:00
Gwendal Roué
2201026ce8
Introduce FastPrimaryKeyExpression, drop SQLPrimaryKeyExpression
...
Also, don't let the user access this expression, so that he does not attempt at decoding it. Its only purpose is to generate efficient SQL.
2020-07-01 20:40:11 +02:00
Gwendal Roué
bd4a76d5de
TODO
2020-06-30 19:31:03 +02:00
Gwendal Roué
63d5fb1d2b
Merge pull request #803 from groue/dev/RemoveFetchedRecordsController
...
Remove FetchedRecordsController
2020-06-29 19:15:38 +02:00
Gwendal Roué
cea8c1708f
BRAG
2020-06-29 19:15:08 +02:00
Gwendal Roué
ad7b044e20
CHANGELOG
2020-06-29 18:49:40 +02:00
Gwendal Roué
1123fdbb23
Mention that FetchedRecordsController is removed in the Migration Guide
2020-06-29 18:49:32 +02:00
Gwendal Roué
baa86102ff
Fix typo
2020-06-29 18:49:07 +02:00
Gwendal Roué
0d514b56f6
Remove more references to FetchedRecordsController
2020-06-29 18:45:58 +02:00
Gwendal Roué
138cc752a6
Remove FetchedRecordsController
2020-06-29 18:29:29 +02:00
Gwendal Roué
924a596873
Merge branch 'development'
2020-06-29 08:18:06 +02:00
Gwendal Roué
4266b1fb45
v5.0.0-beta.6
2020-06-29 08:17:17 +02:00
Gwendal Roué
f58c7f6701
Documentation tweaks
2020-06-29 08:13:00 +02:00
Gwendal Roué
a9b02a2d2e
Merge pull request #801 from groue/dev/Combine
...
Combine support
2020-06-29 08:04:47 +02:00
Gwendal Roué
74459be4f7
Delete obsolete file
2020-06-28 23:40:37 +02:00
Gwendal Roué
bcf912079b
Merge branch 'development' into dev/Combine
...
# Conflicts:
# CHANGELOG.md
2020-06-28 23:18:22 +02:00
Gwendal Roué
2a640823c7
Backport https://github.com/groue/GRDBCombine/pull/42
2020-06-28 22:50:37 +02:00
Gwendal Roué
9e77083d40
Relax profiling test
2020-06-28 21:53:34 +02:00
Gwendal Roué
e4fbeb1c81
CHANGELOG
2020-06-28 21:23:45 +02:00
Gwendal Roué
733b405f79
Combine + SwiftUI demo
2020-06-28 21:23:39 +02:00
Gwendal Roué
66f0314542
CHANGELOG
2020-06-27 16:08:01 +02:00
Gwendal Roué
039f2661b6
2x faster SQLiteDateParser
...
GRDBPerformance > DateParsingTests
testParseDateComponents
old 0.296
new 0.073
testParseDate
old 0.431
new 0.181
2020-06-27 16:04:37 +02:00
Gwendal Roué
48bc859801
Add Xcode 12 to Makefile
2020-06-27 14:38:11 +02:00
Gwendal Roué
672e10a0ff
Add missing imports for SPM
2020-06-26 06:36:22 +02:00
Gwendal Roué
0fe7b2985b
Cleanup SQLCipher test projects
2020-06-25 22:53:09 +02:00
Gwendal Roué
9b24c8213e
Skip unavailable tests
2020-06-25 22:16:51 +02:00
Gwendal Roué
a193ac1474
Documentation for Combine support
2020-06-25 21:24:17 +02:00
Gwendal Roué
7066980f7b
CHANGELOG
2020-06-25 20:11:31 +02:00
Gwendal Roué
f27a297e95
Run GRDBCombine tests
2020-06-25 20:08:11 +02:00
Gwendal Roué
11fcb4c749
Embed GRDBCombine tests
2020-06-25 19:25:30 +02:00
Gwendal Roué
22bb800f2e
Embed CombineExpectations
2020-06-25 19:25:30 +02:00
Gwendal Roué
a0ce362197
Combine publishers
2020-06-25 19:25:29 +02:00
Gwendal Roué
329b010bfa
Merge pull request #800 from groue/dev/Xcode12
...
Xcode 12 support
2020-06-25 19:24:57 +02:00
Gwendal Roué
6470141f17
CHANGELOG
2020-06-25 19:24:36 +02:00
Gwendal Roué
994893951d
Temporary disable savepoint tests
2020-06-25 18:52:15 +02:00
Gwendal Roué
4573e80e1c
#file vs. #filePath dance
2020-06-25 18:49:58 +02:00
Gwendal Roué
4cdb71bfda
Thread-safe SQLite error logging
2020-06-25 08:32:07 +02:00
Gwendal Roué
7820b59996
Fix Swift 5.3 warnings
2020-06-25 08:27:57 +02:00
Gwendal Roué
8be9acf9a6
Fix Xcode 12 project warnings
2020-06-25 08:27:05 +02:00
Gwendal Roué
3a4ab7a6aa
ValueObservation.print() tweaks
2020-06-22 19:01:29 +02:00
Gwendal Roué
115f293e26
Merge pull request #798 from groue/dev/ValueObservation-debug
...
Debugging operators for ValueObservation
2020-06-22 18:43:13 +02:00
Gwendal Roué
4e8b231c42
Rename handleEvents arguments
2020-06-22 14:23:33 +02:00
Gwendal Roué
54adc18988
Fix buggy test
2020-06-21 12:15:43 +02:00
Gwendal Roué
e7b17ea0a9
Fix typo
2020-06-21 11:38:40 +02:00
Gwendal Roué
0e12a9acba
Fix typo
2020-06-21 11:36:46 +02:00
Gwendal Roué
099d5a311e
Cleanup
2020-06-21 11:32:43 +02:00
Gwendal Roué
d199f0da83
Cleanup
2020-06-21 11:30:50 +02:00
Gwendal Roué
9e37b6b68e
CHANGELOG
2020-06-21 11:20:07 +02:00
Gwendal Roué
006492a02c
CHANGELOG
2020-06-21 11:17:34 +02:00
Gwendal Roué
07de1d0105
More ValueObservation event tests
2020-06-21 11:13:59 +02:00
Gwendal Roué
42cd8881a2
ValueObserver.observedRegion can now be private
2020-06-21 10:14:41 +02:00
Gwendal Roué
5c4b282e27
Refactor ValueObservation events handling
2020-06-21 09:17:12 +02:00
Gwendal Roué
7e7c232fc0
Tests for ValueObservation.print()
2020-06-20 22:09:28 +02:00
Gwendal Roué
2c90820f0f
ValueObservation.handleEvents and .print documentation
2020-06-20 20:15:07 +02:00
Gwendal Roué
dd76cdffec
ValueObservation.handleEvents
2020-06-20 19:57:51 +02:00
Gwendal Roué
276c6a4acf
Merge pull request #796 from Timac/setupMemoryManagementDocumentation
...
Fix inline documentation for the setupMemoryManagement() function
2020-06-20 13:17:44 +02:00
Alexandre Colucci
f97e0cc540
Fix inline documentation for the setupMemoryManagement() function. In GRDB 5.0.0 and later, the parameter 'application' has been removed.
2020-06-20 12:09:59 +02:00
Gwendal Roué
0fedc0cdbb
TODO
2020-06-16 08:59:33 +02:00
Gwendal Roué
0390c3ae93
Documentation
2020-06-16 08:56:48 +02:00
Gwendal Roué
4cdb45e012
Merge branch 'development'
2020-06-15 20:06:34 +02:00
Gwendal Roué
4e182a511f
v5.0.0-beta.5
2020-06-15 20:05:13 +02:00
Gwendal Roué
a4443b8ebb
FAQ Navigation
2020-06-15 19:57:50 +02:00
Gwendal Roué
0f55f76caa
Demo app tweaks
2020-06-15 19:45:00 +02:00
Gwendal Roué
e3e1feee2b
Demo app tweaks
2020-06-15 19:36:43 +02:00
Gwendal Roué
1a1c0cd3d1
Demo app tweaks
2020-06-15 19:23:21 +02:00
Gwendal Roué
dd63ddf7f2
CHANGELOG
2020-06-15 17:04:16 +02:00
Gwendal Roué
c4ab23761e
QueryInterfaceRequest.selectPrimaryKey(as:)
2020-06-15 17:02:00 +02:00
Gwendal Roué
86a8439473
Fix typo
2020-06-15 14:14:09 +02:00
Gwendal Roué
47cf3b0108
Update FAQ sample code with TableRecord.primaryKey, and add tests for FAQ
2020-06-15 14:09:15 +02:00
Gwendal Roué
ab97ceb784
TableRecord.primaryKey
2020-06-15 14:08:50 +02:00
Gwendal Roué
ae7cdb1f5b
Precision
2020-06-14 20:58:04 +02:00
Gwendal Roué
c0cf3c0525
Fix wording
2020-06-14 20:51:38 +02:00
Gwendal Roué
82feed42c2
Fix wording
2020-06-14 20:50:46 +02:00
Gwendal Roué
5c697659b4
Foster SQLITE_ENABLE_SNAPSHOT in the "Custom SQLite Builds" guide
2020-06-14 20:49:22 +02:00
Gwendal Roué
efc12c2ef9
CHANGELOG
2020-06-14 20:39:31 +02:00
Gwendal Roué
280c9f0155
Fix sample code
2020-06-14 20:33:49 +02:00
Gwendal Roué
9608b5edd5
Fix typo
2020-06-14 20:32:36 +02:00
Gwendal Roué
7662e53dce
Fix typo
2020-06-14 20:31:29 +02:00
Gwendal Roué
1f5cc801e1
Fix typos
2020-06-14 20:29:38 +02:00
Gwendal Roué
2c6ca91985
Fix inner links
2020-06-14 20:28:16 +02:00
Gwendal Roué
023a04aff9
Associations FAQ
2020-06-14 20:25:22 +02:00
Gwendal Roué
ffe40dbf79
Fix indentation
2020-06-14 17:10:24 +02:00
Gwendal Roué
cf9b9206bd
Fix typo
2020-06-14 17:06:36 +02:00
Gwendal Roué
0f70af7a22
Fix typo
2020-06-14 17:05:56 +02:00
Gwendal Roué
7068a4f149
Update the demo app for better alignment with "Good Practices for Designing Record Types"
2020-06-14 17:03:24 +02:00
Gwendal Roué
70714768d9
Always use snapshots apis through grdb_xxx shims
2020-06-14 15:38:16 +02:00
Gwendal Roué
ec0e8672be
Documentation, cleanup
2020-06-14 11:03:24 +02:00
Gwendal Roué
9215f88e7f
Documentation, cleanup, and checkpoint prevention
2020-06-14 10:47:27 +02:00
Gwendal Roué
510daa84a7
This is hard
2020-06-14 06:36:53 +02:00
Gwendal Roué
eacf48fef3
More snapshot-based optimization of ValueObservation with DatabasePool
...
This time, for the .immediate scheduler.
2020-06-14 06:34:08 +02:00
Gwendal Roué
0dee6425d1
Fix free function
2020-06-14 05:36:33 +02:00
Gwendal Roué
842846dbc4
Documentation
2020-06-14 05:36:12 +02:00
Gwendal Roué
8b800ecbe1
CHANGELOG
2020-06-13 20:19:00 +02:00
Gwendal Roué
f1e65fbb2c
Optimization of ValueObservation with DatabasePool thanks to SQLITE_ENABLE_SNAPSHOT
...
The difficulty is that system <sqlite3.h> does not contain the expected declarations, even when SQLite is compiled with SQLITE_ENABLE_SNAPSHOT :-(
Since snapshots are not exposed in any public API, we don't bother dealing with availability checks. We just add the missing declarations, and rely on the linker in order to spot eventual errors.
This commit is likely to break Linux builds, though.
2020-06-13 20:14:40 +02:00
Gwendal Roué
372996deb3
TODO
...
# Conflicts:
# TODO.md
2020-06-13 13:36:51 +02:00
Gwendal Roué
45f5ece534
CHANGELOG
2020-06-12 14:22:47 +02:00
Gwendal Roué
a95b3264de
Fix documentation
2020-06-12 14:20:29 +02:00
Gwendal Roué
8d44ad7256
Database.maximumStatementArgumentCount
2020-06-12 14:19:31 +02:00
Gwendal Roué
a136384c7d
Merge pull request #795 from groue/dev/more-checkpoint
...
Enhanced support for WAL Checkpoints
2020-06-12 12:46:52 +02:00
Gwendal Roué
b15999e4c9
TODO
2020-06-12 12:45:12 +02:00
Gwendal Roué
e8235f8d6a
Database.columnsForUniqueKey(_:in:) does not hit the database for empty column sequences
2020-06-11 12:49:22 +02:00
Gwendal Roué
e31f7a4763
CHANGELOG
2020-06-07 17:07:31 +02:00
Gwendal Roué
3103e6e373
Fix Swiftlint warning
2020-06-07 17:07:31 +02:00
Gwendal Roué
3a42a4bf9f
Rename checkpoint tuple members
2020-06-07 17:07:31 +02:00
Gwendal Roué
3e5a21b49b
Tests for Database.checkpoint(_🔛 )
2020-06-07 17:07:31 +02:00
Gwendal Roué
6f3ec89bcd
Update checkpointing tests
2020-06-07 17:07:31 +02:00
Gwendal Roué
56f6984f9d
Introduce Database.checkpoint(_🔛 )
2020-06-07 17:07:31 +02:00
Gwendal Roué
5f88a400d5
DatabasePool.checkpoint(_:) is unavailable
2020-06-07 17:07:31 +02:00
Gwendal Roué
91ed7d762b
Setup busy handler as soon as possible
2020-06-07 17:07:30 +02:00
Gwendal Roué
668c1d632e
f67f9ebd4b did spot an oddity
...
This is a temp fix
2020-06-07 17:07:02 +02:00
Gwendal Roué
20f693c508
Disable two SQLCipher tests until we understand what is happening
2020-06-07 16:36:55 +02:00
Gwendal Roué
f67f9ebd4b
Add a sanity transaction assertion
2020-06-07 15:57:50 +02:00
Gwendal Roué
53dade2740
Merge branch 'development'
2020-06-06 15:12:27 +02:00
Gwendal Roué
9ec9880889
v5.0.0-beta.4
2020-06-06 15:11:56 +02:00
Gwendal Roué
eb27b0cfc5
BRAG
2020-06-06 15:11:28 +02:00
Gwendal Roué
d3cc23d5a3
Harmonize GRDB, GRDBCombine, RxGRDB for next beta
2020-06-06 15:04:13 +02:00
Gwendal Roué
e129463bae
Maybe fix a broken link in the generated jazzy doc
2020-06-06 13:46:32 +02:00
Gwendal Roué
b567d64489
fix typo
2020-06-05 20:49:21 +02:00
Gwendal Roué
d94fcc398b
Date modifiers, more julianDay(), and dateTime()
2020-06-05 20:48:12 +02:00
Gwendal Roué
3c48a434f1
Tests for default SQLExpressible conformance for RawRepresentable
2020-06-05 12:27:58 +02:00
Gwendal Roué
d04dda1888
Default SQLExpressible conformance for RawRepresentable
2020-06-05 12:27:42 +02:00
Gwendal Roué
842c6ced0c
Documentation for julianDay function
2020-06-05 12:14:46 +02:00
Gwendal Roué
59c5d2e43b
test for julianDay function
2020-06-05 12:14:40 +02:00
Gwendal Roué
2aeddda77d
julianDay function
2020-06-05 12:14:34 +02:00
Gwendal Roué
9aeccce227
Makefile: support for Xcode 11.5
2020-06-05 08:33:20 +02:00
Gwendal Roué
45e5333c2c
Test optimized SQLCipher
2020-06-05 08:32:05 +02:00
Gwendal Roué
f4581b993b
Merge pull request #794 from groue/dev/Database-description
...
Name of Database Connections
2020-06-04 18:20:18 +02:00
Gwendal Roué
d2b1853b7b
Database.debugDescription
2020-06-04 18:15:48 +02:00
Gwendal Roué
800b9ffc3d
Name the temporary database used by DatabaseMigrator.eraseDatabaseOnSchemaChange
2020-06-03 20:09:22 +02:00
Gwendal Roué
a93f75a6fc
CHANGELOG
2020-06-03 20:01:59 +02:00
Gwendal Roué
04df4ba157
Documentation
2020-06-03 19:57:43 +02:00
Gwendal Roué
d55e16de3c
Database.description tests
2020-06-03 19:37:34 +02:00
Gwendal Roué
780ba744f1
Database.description
2020-06-03 19:37:24 +02:00
Gwendal Roué
8027925ae6
TODO
2020-06-03 19:07:03 +02:00
Gwendal Roué
b29695b024
Link to statement profiling FAQ from SharingADatabase.md
2020-06-03 19:06:09 +02:00
Gwendal Roué
d98904727f
Thank you
2020-06-01 21:12:53 +02:00
Gwendal Roué
4cd421ff7c
Merge branch 'development'
2020-06-01 20:21:22 +02:00
Gwendal Roué
a8b58cb7e7
v5.0.0-beta.3
2020-06-01 20:20:52 +02:00
Gwendal Roué
578fa162f1
Merge pull request #791 from groue/dev/trace
...
Extend tracing of statement execution
2020-06-01 20:14:35 +02:00
Gwendal Roué
7333b1a080
Travis: no more stages
2020-06-01 18:20:02 +02:00
Gwendal Roué
961e5e46c1
Fix SQLCipher tests
2020-06-01 14:09:22 +02:00
Gwendal Roué
a2dce4a238
Come on, Travis
2020-06-01 09:02:25 +02:00
Gwendal Roué
996c1c994f
Documentation
2020-06-01 07:41:46 +02:00
Gwendal Roué
9540df84cf
Documentation
2020-06-01 07:39:43 +02:00
Gwendal Roué
b47680638d
Trace statements by default
2020-06-01 07:16:48 +02:00
Gwendal Roué
5f7a9de8a5
Fix statement profiling test for slow setups
2020-06-01 06:28:46 +02:00
Gwendal Roué
b80814a77e
CHANGELOG
2020-05-31 20:16:00 +02:00
Gwendal Roué
b95d7cb647
More Tests for Database.trace(options:_:)
2020-05-31 20:13:45 +02:00
Gwendal Roué
3e25faabba
Update the migration guide
2020-05-31 19:16:35 +02:00
Gwendal Roué
2677cf8de8
Update documentation
2020-05-31 19:16:23 +02:00
Gwendal Roué
81213f2649
Tests for Database.trace(options:_:)
2020-05-31 19:08:42 +02:00
Gwendal Roué
30f619ca2c
Refactor database tracing
...
- Make it possible to log the database label along with the executed SQL
- Make it possible to avoid arguments expansion
- Make it possible to profile statements
2020-05-31 19:08:08 +02:00
Gwendal Roué
9552a5ce40
Merge pull request #790 from groue/dev/iOS10
...
Bump required iOS version to 10.0
2020-05-31 14:20:33 +02:00
Gwendal Roué
318564a13c
CHANGELOG
2020-05-31 14:02:18 +02:00
Gwendal Roué
9ee3fd38b5
Remove mentions of unsupported iOS versions
2020-05-31 13:54:02 +02:00
Gwendal Roué
03a66af35e
Bump iOS requirement to iOS10+
...
iOS9 simulator is no longer available with the Xcode 11.4+ requirement. https://twitter.com/xenadu02/status/1140093901438689280
2020-05-31 13:48:59 +02:00
Gwendal Roué
00c2f61535
TODO
2020-05-30 13:54:45 +02:00
Gwendal Roué
289394c7ac
Turn LockedBox and ReadWriteBox into property wrappers.
...
Also fix an old concurrency bug in tests, regarding query recording
2020-05-30 13:52:39 +02:00
Gwendal Roué
a5de2b9288
Breaking: AnyFetchRequest.asRequest(of:)
2020-05-30 10:30:07 +02:00
Gwendal Roué
e0266bdde3
Merge pull request #784 from groue/dev/fix-783
...
Fix observation of eager-loaded to-many associations
2020-05-25 18:34:30 +02:00
Gwendal Roué
e82ecfee9f
CHANGELOG
2020-05-25 13:41:41 +02:00
Gwendal Roué
80f0379d71
Remove database content unused by test
2020-05-25 13:39:35 +02:00
Gwendal Roué
449c0e37b1
Update regression tests for #783
2020-05-25 13:24:25 +02:00
Gwendal Roué
f825c52ecf
Update request region tests for both DatabaseRegionConvertible and statement region
2020-05-25 13:04:48 +02:00
Gwendal Roué
4c2042c3ce
Cleanup 2bb53026ef
2020-05-25 13:04:10 +02:00
Gwendal Roué
af0946fd21
Regression tests for #783 (WIP)
2020-05-25 09:34:35 +02:00
Gwendal Roué
2bb53026ef
Fix #783
2020-05-25 09:34:11 +02:00
Gwendal Roué
0929fe72b8
Cleanup detection of queries that return a single row
2020-05-14 12:28:52 +02:00
Gwendal Roué
e0a40776ee
Makefile update for Travis
2020-05-12 07:21:13 +02:00
Gwendal Roué
e99015bcff
Merge branch 'development'
2020-05-11 18:50:35 +02:00
Gwendal Roué
abd7ee9f17
v5.0.0-beta.2
2020-05-11 18:49:57 +02:00
Gwendal Roué
364c624a37
Update sample code for sharing databases
2020-05-11 18:44:38 +02:00
Gwendal Roué
00e10324d8
Merge pull request #775 from groue/dev/superseded-migrator
...
DatabaseMigrator can check if it has been superseded
2020-05-11 13:35:10 +02:00
Gwendal Roué
0539c41d17
CHANGELOG
2020-05-11 09:10:14 +02:00
Gwendal Roué
212a6f7e53
Documentation
2020-05-11 09:06:04 +02:00
Gwendal Roué
cff769ddd5
Documentation
2020-05-11 08:54:31 +02:00
Gwendal Roué
ed6ad9d373
Clean up DatabaseMigrator tests
2020-05-11 08:50:04 +02:00
Gwendal Roué
44772f89d7
More tests for DatabaseMigrator.hasBeenSuperseded(_:)
2020-05-11 08:46:41 +02:00
Gwendal Roué
2aa61c3403
Tests for DatabaseMigrator.hasBeenSuperseded(_:)
2020-05-11 08:28:02 +02:00
Gwendal Roué
3fea5db763
DatabaseMigrator.hasBeenSuperseded(_:)
2020-05-11 08:27:41 +02:00
Gwendal Roué
b2bc0e7941
Merge pull request #774 from groue/dev/request-as-expression-and-collection
...
All requests are usable as SQL expressions and collections
2020-05-11 08:10:45 +02:00
Gwendal Roué
c7d98e0231
CHANGELOG
2020-05-10 15:34:38 +02:00
Gwendal Roué
6fcf4f565a
Relax test for various SQLite versions
2020-05-10 15:34:38 +02:00
Gwendal Roué
8c11a751ff
TODO
2020-05-10 15:34:38 +02:00
Gwendal Roué
c0217d56ca
Remove doubt about how SQLRequest uses singleResult
2020-05-10 15:34:38 +02:00
Gwendal Roué
89ba8c3398
Remove unclear rationale
2020-05-10 15:34:38 +02:00
Gwendal Roué
d814ab216d
Documentation
2020-05-10 15:34:38 +02:00
Gwendal Roué
284ec22dd5
Documentation
2020-05-10 15:34:38 +02:00
Gwendal Roué
57e5735e9a
Documentation
2020-05-10 15:34:38 +02:00
Gwendal Roué
5786d19ff4
Documentation
2020-05-10 15:34:38 +02:00
Gwendal Roué
c73872549a
Fix typo
2020-05-10 15:34:38 +02:00
Gwendal Roué
f799d5f30c
Documentation
2020-05-10 15:34:38 +02:00
Gwendal Roué
e94be4a06e
Upgrade path for FetchRequest
2020-05-10 15:34:38 +02:00
Gwendal Roué
e9a68d82e6
Remove FetchRequest documentation from the main README
2020-05-10 15:34:38 +02:00
Gwendal Roué
b16a0da88c
Documentation
2020-05-10 15:34:37 +02:00
Gwendal Roué
a318d4cc82
Test upgrade path from GRDB4 to GRDB5
2020-05-10 15:34:37 +02:00
Gwendal Roué
4f500de04b
Expose SQLLiteral.sql(_:)
...
This is needed for custom FetchRequest types
2020-05-10 15:34:37 +02:00
Gwendal Roué
a77b195c7c
Reopen FetchRequest
2020-05-10 15:34:37 +02:00
Gwendal Roué
d2928a9929
requestSQL(_:forSingleResult:) is experimental
2020-05-10 15:34:37 +02:00
Gwendal Roué
476e72cca2
requestSQL(_:forSingleResult:) is experimental
2020-05-10 15:34:37 +02:00
Gwendal Roué
375ed0135c
PreparedRequest is still documented
2020-05-10 15:34:37 +02:00
Gwendal Roué
17e745f52b
SQLRequestProtocol, close FetchRequest
2020-05-10 15:34:37 +02:00
Gwendal Roué
a3cc5745ac
Revert "Test for the immutable flag"
...
This reverts commit 8a595be54f .
2020-05-10 15:31:56 +02:00
Gwendal Roué
8a595be54f
Test for the immutable flag
...
https://sqlite.org/uri.html#uriimmutable
2020-05-10 12:38:04 +02:00
Gwendal Roué
68203b5373
Merge pull request #773 from groue/dev/subqueries-and-aliases
...
Allow subqueries to refer to outer tables
2020-05-09 08:20:49 +02:00
Gwendal Roué
a79fc34071
CHANGELOG
2020-05-08 20:57:50 +02:00
Gwendal Roué
7f66f41026
TODO
2020-05-08 20:43:10 +02:00
Gwendal Roué
956f419b20
TODO
2020-05-08 20:41:21 +02:00
Gwendal Roué
e414aca05b
Cleanup
2020-05-08 20:41:18 +02:00
Gwendal Roué
76e0a9f6b6
AnyFetchRequest is now generic on RowDecoder
2020-05-08 16:43:02 +02:00
Gwendal Roué
94b4131ce4
TODO
2020-05-08 15:07:18 +02:00
Gwendal Roué
a26901cb80
Allow subqueries to refer to table aliases from parent query
2020-05-08 15:06:16 +02:00
Gwendal Roué
a4d7f39ad8
Merge pull request #772 from groue/dev/SQLITE_FCNTL_PERSIST_WAL
...
Update the Database Sharing Guide with mention of the persistent WAL mode
2020-05-06 19:39:53 +02:00
Gwendal Roué
6f02a90a7a
Remove link to deleted chapter
2020-05-06 19:38:24 +02:00
Gwendal Roué
ae3c06f761
Remove the obsolete "Performance" chapter
...
It contained outdated information, and removing it helps GitHub preserve Markdown rendering of our looooong README.
2020-05-06 19:37:08 +02:00
Gwendal Roué
f29a98aac3
Fix inner documentation links
2020-05-06 19:33:39 +02:00
Gwendal Roué
a641b1efd4
Documentation
2020-05-06 19:29:48 +02:00
Gwendal Roué
fc6c46e628
CHANGELOG
2020-05-06 19:25:11 +02:00
Gwendal Roué
cb8c9f5ba3
SQLITE_FCNTL_PERSIST_WAL is always recommended
2020-05-06 19:13:16 +02:00
Gwendal Roué
a8122b44f1
Wording
2020-05-06 18:52:39 +02:00
Gwendal Roué
6b86e61056
Cool URIs don't change
2020-05-06 18:38:36 +02:00
Gwendal Roué
97bbb5bced
Rename AppGroupContainers.md to SharingADatabase.md
2020-05-06 18:34:45 +02:00
Gwendal Roué
b3b155459f
Document the "persistent WAL mode" and SQLITE_FCNTL_PERSIST_WAL
2020-05-06 18:24:06 +02:00
Gwendal Roué
e4803c1e0c
Cleanup SQLITE_FCNTL_PERSIST_WAL tests
2020-05-06 13:25:59 +02:00
Gwendal Roué
db7fb96142
Tests for persistent WAL mode
...
Tests for SQLITE_FCNTL_PERSIST_WAL: https://www.sqlite.org/c3ref/c_fcntl_begin_atomic_write.html#sqlitefcntlpersistwal
2020-05-06 08:55:27 +02:00
Gwendal Roué
3eb7d57754
[skip travis] Documentation
2020-05-04 12:57:42 +02:00
Gwendal Roué
7af96a69a0
Merge pull request #753 from groue/GRDB5
...
GRDB 5
2020-05-02 18:07:54 +02:00
Gwendal Roué
00e6d4ed0e
Give *even* more time to tests
2020-05-02 16:23:31 +02:00
Gwendal Roué
f4b2c2d40a
[skip travis] Bump release date
2020-05-02 15:36:10 +02:00
Gwendal Roué
75e9056ac8
[skip travis] Fix inner links
2020-05-02 15:22:19 +02:00
Gwendal Roué
a69be48066
Give more time to tests
2020-05-02 15:13:02 +02:00
Gwendal Roué
420fb93356
Fix testErrorCompletesTheObservation
2020-05-02 12:30:54 +02:00
Gwendal Roué
425e506862
Make all ValueObservation tests deterministic (avoid inverted expectations)
...
Inverted expectations were just too flaky on Travis
2020-05-02 12:19:23 +02:00
Gwendal Roué
f09a62415d
Restore disabled Travis jobs
...
We'll need some stronger cure. All timeout-based tests are flaky on Travis :-(
2020-05-02 09:04:51 +02:00
Gwendal Roué
90028ee9f5
Give more time for Travis
2020-05-02 08:41:56 +02:00
Gwendal Roué
e37d2ae18c
[skip travis] Fix inner links
2020-05-02 05:51:14 +02:00
Gwendal Roué
0322537b63
[skip travis] Fix inner links
2020-05-02 05:42:33 +02:00
Gwendal Roué
7b6bd84ac2
Disable flaky tvOS tests
...
https://travis-ci.org/github/groue/GRDB.swift/jobs/682070292
2020-05-02 05:28:42 +02:00
Gwendal Roué
6a98a46c85
Speed up slow tests
2020-05-01 20:11:02 +02:00
Gwendal Roué
0ab974e1b7
[skip travis] Rename Travis jobs
2020-05-01 19:47:46 +02:00
Gwendal Roué
85b84f217d
Fix for Travis
2020-05-01 19:27:17 +02:00
Gwendal Roué
5e9cbf41a5
Let people find the non-beta version
2020-05-01 19:02:24 +02:00
Gwendal Roué
773db56d79
Sort the section of moved chapters
2020-05-01 18:59:28 +02:00
Gwendal Roué
f68cbb03ee
Update link to migration guide
2020-05-01 18:57:32 +02:00
Gwendal Roué
15f1e5259d
Extract the Migration guide from the main README
...
README is too big, and Github stops rendering Markdown
2020-05-01 18:56:05 +02:00
Gwendal Roué
7ede3edf0c
v5.0.0-beta
2020-05-01 18:44:13 +02:00
Gwendal Roué
14d16ffd20
My 🦋 keyboard is 💩
2020-05-01 17:34:08 +02:00
Gwendal Roué
a7df6cc7df
CHANGELOG
2020-05-01 17:30:11 +02:00
Gwendal Roué
aaa5986e33
CHANGELOG
2020-05-01 17:26:43 +02:00
Gwendal Roué
3173dd20fe
CHANGELOG
2020-05-01 17:18:14 +02:00
Gwendal Roué
a29ca8348f
CHANGELOG: documentation diff
2020-05-01 17:15:44 +02:00
Gwendal Roué
278e72ecc8
Fix typo
2020-05-01 17:15:35 +02:00
Gwendal Roué
cf738588f2
Fix typo
2020-05-01 16:30:41 +02:00
Gwendal Roué
146b06f27a
bugfix
2020-05-01 16:15:54 +02:00
Gwendal Roué
fa4a90f720
Improve SQLQueryGenerator.expectsSingleResult
2020-05-01 16:06:56 +02:00
Gwendal Roué
93f4d43ee6
Cleanup
2020-05-01 15:43:57 +02:00
Gwendal Roué
da4b96c2ca
Cleanup handling of subquery sources
2020-05-01 15:42:01 +02:00
Gwendal Roué
420a257650
Test for case insensitivity in association requests
2020-05-01 15:07:40 +02:00
Gwendal Roué
39f327fcb3
Optimize SQLAssociationCondition.filteringExpression(_:leftRows:)
...
And make sure we compute a correct database region for association requests
2020-05-01 15:06:47 +02:00
Gwendal Roué
27ffb2a418
Rename index(ofColumn:) to index(forColumn:)
2020-05-01 15:01:01 +02:00
Gwendal Roué
0dc18cdaab
CHANGELOG
2020-05-01 13:17:23 +02:00
Gwendal Roué
1ac9051384
Merge pull request #770 from groue/dev/subqueries
...
Subqueries
2020-05-01 12:36:19 +02:00
Gwendal Roué
691bb73d3e
Bump iOS version in Makefile
2020-05-01 12:07:32 +02:00
Gwendal Roué
61d7740767
Fix FTS5
2020-05-01 11:27:08 +02:00
Gwendal Roué
7f7554f601
Document support for subqueries
2020-05-01 11:12:44 +02:00
Gwendal Roué
ee68550052
Fix typo
2020-05-01 10:59:10 +02:00
Gwendal Roué
4de63ca9a2
Documentation fix
2020-05-01 10:47:23 +02:00
Gwendal Roué
ef42035fe4
Documentation
2020-05-01 10:36:36 +02:00
Gwendal Roué
eb93b25301
Fix typo
2020-05-01 10:28:19 +02:00
Gwendal Roué
2502747a7b
Update the "Joined Queries Support" chapter
2020-05-01 10:25:44 +02:00
Gwendal Roué
de5477d8f0
Documentation
2020-05-01 09:47:27 +02:00
Gwendal Roué
fae562f20d
Documentation
2020-05-01 09:43:48 +02:00
Gwendal Roué
307c3d5a13
Documentation
2020-05-01 09:01:10 +02:00
Gwendal Roué
7a1afba26e
Documentation
2020-05-01 08:59:00 +02:00
Gwendal Roué
b2370dd597
TODO
2020-05-01 08:58:52 +02:00
Gwendal Roué
513b7e9379
Tests for interpolation of TableRecord selection
2020-05-01 08:58:46 +02:00
Gwendal Roué
9392722bab
Restore and fix test for TableRecord selection interpolation
2020-04-30 19:47:35 +02:00
Gwendal Roué
321b6a3488
Fixits for renamed generic parameter
2020-04-30 19:37:02 +02:00
Gwendal Roué
443d44cc7a
Restore TableRecord.selectionSQL in the form of SQL interpolation
2020-04-30 19:33:33 +02:00
Gwendal Roué
df2cc0af36
Test for SQLCollection qualification
2020-04-30 19:01:14 +02:00
Gwendal Roué
dfcc6f99a5
SQLCollection can be qualified, now
2020-04-30 18:49:20 +02:00
Gwendal Roué
664c1ed281
Documentation
2020-04-30 18:35:05 +02:00
Gwendal Roué
057679a2ba
We don't need to prevent requests that select several columns
2020-04-30 18:22:59 +02:00
Gwendal Roué
e05b8b2b47
Unify SQLGenerationContext
2020-04-30 17:56:15 +02:00
Gwendal Roué
d67f4802d3
Documentation
2020-04-30 15:21:41 +02:00
Gwendal Roué
72e4fc620b
Remove LIMIT 1 from aggregated requests
2020-04-30 15:16:00 +02:00
Gwendal Roué
9c53ed94a7
Documentation
2020-04-30 15:13:33 +02:00
Gwendal Roué
cac605749d
Cleanup SQLExpressionBinaryReduce.truthComponents
2020-04-30 14:21:25 +02:00
Gwendal Roué
9006c701b3
Replace the expectsSingleResult hint with an analysis of the query
2020-04-30 14:14:07 +02:00
Gwendal Roué
05c001865b
Cleanup
2020-04-30 09:12:57 +02:00
Gwendal Roué
cb7a7633b1
TODO
2020-04-30 09:04:17 +02:00
Gwendal Roué
1e92b98165
TODO
2020-04-30 08:40:35 +02:00
Gwendal Roué
0bf23477f8
Less TODO
2020-04-30 08:36:10 +02:00
Gwendal Roué
359df39b7e
Make it easier to look for subquery tests
2020-04-30 08:36:04 +02:00
Gwendal Roué
cfd4141469
CHANGELOG
2020-04-30 08:32:51 +02:00
Gwendal Roué
90415fa936
Documentation
2020-04-30 08:31:59 +02:00
Gwendal Roué
1d89d184fd
Fix subqueries semantics
2020-04-30 08:19:00 +02:00
Gwendal Roué
026e5b288f
Documentation
2020-04-29 23:46:42 +02:00
Gwendal Roué
be249bc697
SQLRequestExpressible is a sub protocol of SQLSpecificExpressible
2020-04-29 23:40:37 +02:00
Gwendal Roué
69641ff7d6
Undo undesired change
2020-04-29 22:29:53 +02:00
Gwendal Roué
4245e8f09e
Cleanup
2020-04-29 22:24:58 +02:00
Gwendal Roué
94fed7965b
Cleanup
2020-04-29 22:16:19 +02:00
Gwendal Roué
a15233eff1
SQLGenerationContext no longer needs to be mutated
2020-04-29 21:59:04 +02:00
Gwendal Roué
e47a584c3e
TableRecord.selectionSQL can no longer be implemented 🤷
2020-04-29 21:51:02 +02:00
Gwendal Roué
188f51c513
Refactor handling of arguments during SQL generation
2020-04-29 21:27:14 +02:00
Gwendal Roué
e800c71cbc
Refactor SQLLiteral so that subqueries are no longer a special case
2020-04-29 20:20:13 +02:00
Gwendal Roué
3d86f45aa2
SQLRequestExpressible
...
This protocol makes it possible to write request.filter(column == subRequest)
2020-04-29 20:18:00 +02:00
Gwendal Roué
473bc3a88e
SQLQueryGenerator handles the single result optimization. Make sure a single column is selected for expression/collection requests
2020-04-29 18:30:46 +02:00
Gwendal Roué
4b9336f5c5
TODO
2020-04-29 15:21:22 +02:00
Gwendal Roué
8bcf9257f6
TODO
2020-04-29 14:32:53 +02:00
Gwendal Roué
ca59d706e9
Cleanup
2020-04-29 14:27:58 +02:00
Gwendal Roué
82ff6cb4c5
Cleanup
2020-04-29 14:24:25 +02:00
Gwendal Roué
21552d8838
SQLRequest & QueryInterfaceRequest are SQLExpression
2020-04-29 14:24:18 +02:00
Gwendal Roué
26f40efece
TODO
2020-04-29 13:54:00 +02:00
Gwendal Roué
c82dbb35ad
SQLLiteral and SQLRequest no longer have sql and arguments properties
2020-04-29 13:52:29 +02:00
Gwendal Roué
84ca69d27c
Value quoting can now require a database connection
2020-04-29 11:03:51 +02:00
Gwendal Roué
6dca9e1068
Cleanup
2020-04-29 09:49:24 +02:00
Gwendal Roué
8cb75dd814
Subqueries wip
2020-04-28 21:03:58 +02:00
Gwendal Roué
59e81f70bd
Cleanup aggregates
2020-04-28 19:49:41 +02:00
Gwendal Roué
399766fe10
Fix #739
2020-04-28 19:19:30 +02:00
Gwendal Roué
f543784241
TODO
2020-04-28 14:20:05 +02:00
Gwendal Roué
0b0f0e53da
TODO
2020-04-26 18:04:57 +02:00
Gwendal Roué
f738fdfa8e
Cleanup Decodable behavior regarding missing keys and optionals
2020-04-26 14:19:29 +02:00
Gwendal Roué
a8f7978ec4
Update documention after d0ba9e342c
2020-04-26 11:55:53 +02:00
Gwendal Roué
d1af9dbdf1
Fix documentation comment
2020-04-25 20:27:25 +02:00
Gwendal Roué
d0ba9e342c
Turn selection and having clauses into promises. Give association aggregates access to the actual primary key, for better support for WITHOUT ROW ID tables.
2020-04-25 19:51:03 +02:00
Gwendal Roué
b38ccb5f40
TODO
2020-04-25 15:15:06 +02:00
Gwendal Roué
605aad79ad
Replace use of rowid by primary key when possible. Cleanup management of association cardinality
...
This is a backport of enhancements brought by the failed pull request https://github.com/groue/GRDB.swift/pull/767
2020-04-25 15:15:01 +02:00
Gwendal Roué
6fd3a7b225
Merge branch 'development' into GRDB5
...
# Conflicts:
# CHANGELOG.md
# README.md
2020-04-25 13:21:20 +02:00
Gwendal Roué
6b1910fce7
[skip travis] fix typo in CHANGELOG
2020-04-23 09:08:27 +02:00
Gwendal Roué
5ee47c3c27
Merge branch 'development'
2020-04-23 08:56:55 +02:00
Gwendal Roué
5652a01366
v4.14.0
2020-04-23 08:55:38 +02:00
Gwendal Roué
132d01f9f7
Complete #766 : use json objects in DatabaseDateComponents tests
2020-04-22 19:33:31 +02:00
Gwendal Roué
1d760ff9ce
Extend congrats list
2020-04-22 18:45:34 +02:00
Gwendal Roué
dc4d516493
Merge pull request #766 from DiligentRobot/development
...
Add Codable support to DatabaseDateComponents
2020-04-20 19:17:07 +02:00
Matt Tancock
62c6187ad4
Remove Format's Codable conformance. Use a singleValueContainer
2020-04-20 14:42:02 +01:00
Matt Tancock
18154f29be
Simplify encoding format and add tests
2020-04-20 13:36:23 +01:00
Gwendal Roué
a715c6328d
Merge branch 'master' into GRDB5
...
# Conflicts:
# CHANGELOG.md
# GRDB/QueryInterface/Request/QueryInterfaceRequest.swift
# Makefile
# README.md
# Tests/Performance/GRDBPerformance/GRDBPerformance.xcodeproj/project.pbxproj
2020-04-18 16:36:26 +02:00
Matt Tancock
bffe4d32f5
Add Codable support to DatabaseDateComponents
2020-04-17 16:16:34 +01:00
Gwendal Roué
3fd00012d1
Update obsolete observation usage in README
2020-04-17 09:03:03 +02:00
Gwendal Roué
6d901b06e9
TODO
2020-04-16 19:27:09 +02:00
Gwendal Roué
f677310703
Merge branch 'development'
2020-04-15 08:27:35 +02:00
Gwendal Roué
0200f64e6c
v4.13.0
2020-04-14 19:14:15 +02:00
Gwendal Roué
c6b5c935bb
Merge pull request #761 from groue/dev/deprecate-assignment-operator
...
Deprecate the batch update `<-` operator
2020-04-14 19:03:43 +02:00
Gwendal Roué
2d30f06f54
Update regression test introduced after commit cherry-picked from #750
2020-04-14 19:01:42 +02:00
Gwendal Roué
a98350d206
CHANGELOG
2020-04-14 18:55:40 +02:00
Gwendal Roué
6918bda82d
CHANGELOG
2020-04-14 18:51:21 +02:00
Gwendal Roué
a065926fb1
Update documentation
2020-04-14 18:51:21 +02:00
Gwendal Roué
0569b95a5a
Operator <- was ill-advised
...
# Conflicts:
# GRDB/QueryInterface/Request/QueryInterfaceRequest.swift
2020-04-14 18:51:21 +02:00
Gwendal Roué
d17866d3fd
Update Realm path
2020-04-14 18:50:51 +02:00
Gwendal Roué
6c0f1dc389
Merge pull request #759 from groue/dev/fix-758
...
Fix batch updates of complex requests
2020-04-14 18:50:26 +02:00
Gwendal Roué
e7750e6fe0
Merge pull request #760 from andreasschmitz/development
...
README Typo Fixes
2020-04-14 17:33:01 +02:00
Andreas Schmitz
e4addc4243
Fixes typos
2020-04-14 17:18:27 +02:00
Gwendal Roué
d35ad59f9c
Fix failing test for #758
2020-04-14 12:51:24 +02:00
Gwendal Roué
07609e8a3f
Failing test for #758
2020-04-14 12:51:24 +02:00
Gwendal Roué
f4e2645e13
CHANGELOG
2020-04-14 12:47:00 +02:00
Gwendal Roué
c352ca70b2
A new kind tweet :-)
2020-04-14 12:17:38 +02:00
Gwendal Roué
b182a26759
Fix compilation error with Xcode 10.1
2020-04-14 12:14:25 +02:00
Gwendal Roué
c493b17232
Merge branch 'development'
2020-04-13 11:52:21 +02:00
Gwendal Roué
94d34a744d
v4.12.2
2020-04-13 11:51:28 +02:00
Gwendal Roué
0cda88bd28
Merge pull request #757 from groue/dev/lazy-inflections
...
Don't load association inflections unless necessary
2020-04-13 11:47:20 +02:00
Gwendal Roué
c62ccf1de7
Make sure Inflections.default is lazily loaded, even in optimized release builds
...
This commit addresses #755
2020-04-13 11:31:03 +02:00
Gwendal Roué
5760b9c0cc
Migration Guide
2020-04-12 20:10:03 +02:00
Gwendal Roué
75525bdb56
Migration Guide
2020-04-12 17:33:04 +02:00
Gwendal Roué
2fa57cdafa
Make CSQLite a system module
...
Attempt at fixing this GRDBCombine error:
$ swift build
...
'CSQLite' /.../GRDBCombine/.build/checkouts/CSQLite: error: configuration of package 'CSQLite' is invalid; the 'providers' property can only be used with a System Module Package
2020-04-12 15:07:39 +02:00
Gwendal Roué
2319572552
Remove unused file
2020-04-12 13:04:45 +02:00
Gwendal Roué
5f26a71c5b
Migration Guide
2020-04-12 10:24:44 +02:00
Gwendal Roué
d0558ee2f0
Migration Guide
2020-04-12 10:15:09 +02:00
Gwendal Roué
fc09fd6654
Merge pull request #756 from groue/dev/export-SQLite
...
Export the underlying SQLite library
2020-04-12 10:05:19 +02:00
Gwendal Roué
1ea5d1713a
Cleanup
2020-04-12 10:04:09 +02:00
Gwendal Roué
aa0ae00c56
CHANGELOG
2020-04-12 09:44:11 +02:00
Gwendal Roué
0372c1dd63
Complete #747 : export the underlying SQLite library
2020-04-12 07:27:50 +02:00
Gwendal Roué
c052b44999
Cleanup
2020-04-11 20:56:36 +02:00
Gwendal Roué
f27d6b07c0
Cleanup
2020-04-11 20:45:00 +02:00
Gwendal Roué
4f8b681737
Documentation
2020-04-11 18:26:42 +02:00
Gwendal Roué
5b9ae9371b
Documentation
2020-04-11 17:37:12 +02:00
Gwendal Roué
68f4db468a
Documentation
2020-04-11 17:25:16 +02:00
Gwendal Roué
62dbc78090
More migration guide
2020-04-11 13:57:19 +02:00
Gwendal Roué
bd7bec22a1
More migration guide
2020-04-11 13:52:36 +02:00
Gwendal Roué
722e74db6a
More migration guide
2020-04-11 13:49:26 +02:00
Gwendal Roué
e9439a1d58
Fix typo
2020-04-11 13:39:02 +02:00
Gwendal Roué
3c70814cdc
More ValueObservation migration doc
2020-04-11 13:38:01 +02:00
Gwendal Roué
fea89100d9
Improve ValueObservation.trackingVaryingRegion example
2020-04-11 13:10:15 +02:00
Gwendal Roué
2c3d0b1e17
Organize migration guide
2020-04-11 13:05:11 +02:00
Gwendal Roué
478ae7bc24
Improve migration guide
2020-04-11 12:43:28 +02:00
Gwendal Roué
da81c8b87c
Fix typo
2020-04-11 10:33:12 +02:00
Gwendal Roué
4088a477ec
Improve migration guide
2020-04-10 20:07:19 +02:00
Gwendal Roué
85dcd32c8d
Improve the description of ValueObservation change
2020-04-10 18:52:24 +02:00
Gwendal Roué
62c72c20e9
CHANGELOG
2020-04-10 18:38:16 +02:00
Gwendal Roué
1b4e26f61c
Cleanup
2020-04-10 12:35:33 +02:00
Gwendal Roué
474310e00b
More inspiration from CocoaError
2020-04-10 09:30:34 +02:00
Gwendal Roué
7a475ad476
Cleanup
2020-04-10 08:58:29 +02:00
Gwendal Roué
65ac210dfb
Merge pull request #754 from groue/dev/ResultCode-match
...
Match DatabaseError on ResultCode
2020-04-09 20:42:23 +02:00
Gwendal Roué
f19e5bf67c
CHANGELOG
2020-04-09 19:56:12 +02:00
Gwendal Roué
419bedd73b
Update documentation for DatabaseError catching
2020-04-09 19:53:21 +02:00
Gwendal Roué
8eb58926a4
Test for ResultCode error matching
2020-04-09 19:53:02 +02:00
Gwendal Roué
ccacbc9706
ResultCode match errors
2020-04-09 19:52:39 +02:00
Gwendal Roué
7db59867cb
Documentation
2020-04-09 19:08:53 +02:00
Gwendal Roué
37aa7feee9
Rename KeyPathRefining to Refinable
2020-04-09 18:50:36 +02:00
Gwendal Roué
e49800d21d
Fix build warnings
2020-04-09 17:55:49 +02:00
Gwendal Roué
078aa83e3b
Rename count(where:) to countElements(where:)
2020-04-09 17:47:07 +02:00
Gwendal Roué
8ef4c9b241
Remove convenience Result.tryMap
2020-04-09 17:45:12 +02:00
Gwendal Roué
f9157da590
TODO
2020-04-09 17:44:41 +02:00
Gwendal Roué
27120643b9
SE-0255: Implicit returns from single-expression functions
2020-04-09 17:16:23 +02:00
Gwendal Roué
306033b63b
Update Migration Guide
2020-04-09 13:43:56 +02:00
Gwendal Roué
d988be49a6
Revert #748
2020-04-09 13:42:37 +02:00
Gwendal Roué
1a5661c890
Lift resolved attention point about custom SQLite builds
2020-04-09 08:55:40 +02:00
Gwendal Roué
ccaad8d860
Restore backward compatibility for setup of custom SQLite builds
...
User only has to rename the `import` Swift statement
2020-04-09 08:50:24 +02:00
Gwendal Roué
c9d95af646
Merge pull request #752 from groue/dev/drop-observation-combination
...
Remove ValueObservation.combine
2020-04-08 19:55:18 +02:00
Gwendal Roué
3e081f0dd6
Remove GRDBPerformance project from workspace
...
This avoids painful Xcode management of SPM packages
2020-04-08 19:13:08 +02:00
Gwendal Roué
444525d748
CHANGELOG
2020-04-08 18:54:08 +02:00
Gwendal Roué
c778e1ac0c
Add fixits
2020-04-08 18:53:08 +02:00
Gwendal Roué
bfe037c61d
Update documentation
2020-04-08 18:33:56 +02:00
Gwendal Roué
e2790c863f
Remove ValueObservation combine operator
2020-04-08 18:16:05 +02:00
Gwendal Roué
3c3df9ad24
Miigration Guide WIP
2020-04-08 08:40:54 +02:00
Gwendal Roué
3c30e6d0c1
Miigration Guide WIP
2020-04-08 08:30:10 +02:00
Gwendal Roué
a5ad4dd23d
Miigration Guide WIP
2020-04-07 22:24:25 +02:00
Gwendal Roué
0505b1cef9
Miigration Guide WIP
2020-04-07 22:20:35 +02:00
Gwendal Roué
2ac6f9766a
Miigration Guide WIP
2020-04-07 22:16:44 +02:00
Gwendal Roué
10fcd1092f
Miigration Guide WIP
2020-04-07 22:08:17 +02:00
Gwendal Roué
cbcbbe9c8f
Miigration Guide WIP
2020-04-07 22:04:47 +02:00
Gwendal Roué
2b7b03846e
Miigration Guide WIP
2020-04-07 22:00:00 +02:00
Gwendal Roué
05f9854cea
Miigration Guide WIP
2020-04-07 20:59:34 +02:00
Gwendal Roué
8cb67f1c22
Miigration Guide WIP
2020-04-07 20:47:56 +02:00
Gwendal Roué
48987f39c3
Miigration Guide WIP
2020-04-07 20:17:11 +02:00
Gwendal Roué
e5f711f68c
Miigration Guide WIP
2020-04-07 20:01:55 +02:00
Gwendal Roué
ac92fc95e3
Merge branch 'development' into GRDB5
2020-04-06 20:16:53 +02:00
Gwendal Roué
ed15498871
Merge branch 'master' into development
2020-04-06 20:16:19 +02:00
Gwendal Roué
97a05b97d9
[skip travis] Fix typo
2020-04-06 19:56:32 +02:00
Gwendal Roué
0b69aa82fd
[skip travis] Add a Brag Document
2020-04-06 19:54:47 +02:00
Gwendal Roué
bf07c49171
Merge pull request #750 from groue/dev/assignment-without-operator
...
Batch updates do not need any operator
2020-04-05 17:24:09 +02:00
Gwendal Roué
c59d42dfca
CHANGELOG
2020-04-05 16:43:00 +02:00
Gwendal Roué
80b15f7f07
Ignore GRDB.xcworkspace spm stuff
2020-04-05 16:28:04 +02:00
Gwendal Roué
9647a78ed6
Update documentation
2020-04-05 16:26:29 +02:00
Gwendal Roué
2c743531d0
Operator <- was ill-advised
2020-04-05 16:25:18 +02:00
Gwendal Roué
9e967ccc93
Merge pull request #749 from groue/dev/submodules
...
Drop submodules used by performance tests
2020-04-05 14:07:49 +02:00
Gwendal Roué
86330000db
CHANGELOG
2020-04-05 13:36:41 +02:00
Gwendal Roué
af597736f6
Wait before we look into the Xcode checkouts
2020-04-05 13:14:09 +02:00
Gwendal Roué
119ce30ad1
Pin versions GRDBPerformance of dependencies
2020-04-05 12:29:03 +02:00
Gwendal Roué
85c3f12b86
Extract versions of GRDBPerformance dependencies from Xcode SPM checkouts
2020-04-05 11:57:55 +02:00
Gwendal Roué
f95e01cbd5
Remove submodule dependencies from Makefile
2020-04-05 10:34:21 +02:00
Gwendal Roué
21eb87fa49
Use SPM for GRDBPerformance dependencies
2020-04-05 10:25:54 +02:00
Gwendal Roué
4614cfda06
Removed test submodules
2020-04-05 09:58:53 +02:00
Gwendal Roué
a4bda6da96
Merge pull request #748 from groue/dev/Request
...
Rename QueryInterfaceRequest to Request
2020-04-04 20:55:18 +02:00
Gwendal Roué
2d2b8494d0
CHANGELOG
2020-04-04 20:13:50 +02:00
Gwendal Roué
7ce6a8a094
Rename QueryInterfaceRequest to Request
2020-04-04 20:12:03 +02:00
Gwendal Roué
3756c43691
Merge pull request #747 from groue/dev/fix-743
...
Rename GRDBCustomSQLite to GRDB
2020-04-04 18:52:14 +02:00
Gwendal Roué
bfc4738097
CHANGELOG
2020-04-04 18:48:35 +02:00
Gwendal Roué
afcb9183ad
Rename GRDBCustom schemes
2020-04-04 18:37:36 +02:00
Gwendal Roué
c3474471f7
Don't include <sqlite3.h> for custom SQLite builds
2020-04-04 18:03:29 +02:00
Gwendal Roué
65c009a018
Rename GRDBCustomSQLite module to GRDB
2020-04-04 17:42:00 +02:00
Gwendal Roué
d60fe3c22f
Replace import GRDBCustomSQLite with import GRDB
2020-04-04 16:44:01 +02:00
Gwendal Roué
5727163966
SPM: export CSQLite package
2020-04-04 14:20:07 +02:00
Gwendal Roué
d72000c6a3
Use scheduling paramater name for consistency with GRDBCombine and RxGRDB
2020-03-31 20:25:36 +02:00
Gwendal Roué
381f716e4b
AnyDatabaseCancellable is public
...
This helps GRDBCombine defaulting to a default cancellable when database connection has been closed before the ValueObservation publisher has been subscribed to.
2020-03-29 20:31:02 +02:00
Gwendal Roué
eee2c65c14
Merge branch 'development' into GRDB5
...
# Conflicts:
# CHANGELOG.md
# README.md
2020-03-29 18:55:06 +02:00
Gwendal Roué
c01c4d6de5
Looks like jazzy and Xcode 11.4 go well together
2020-03-29 18:49:54 +02:00
Gwendal Roué
f4c763dc31
Merge branch 'development'
2020-03-29 17:44:31 +02:00
Gwendal Roué
66989f2ff7
v4.12.1
2020-03-29 17:43:49 +02:00
Gwendal Roué
73aada9194
Merge pull request #745 from groue/dev/ValueObservation-cancellation
...
Explicit ValueObservation cancellation
2020-03-29 17:30:09 +02:00
Gwendal Roué
5665a2428a
CHANGELOG
2020-03-29 16:49:21 +02:00
Gwendal Roué
ba0c771346
Merge pull request #744 from groue/dev/fix-741
...
Fix DatabaseMigrator deadlock with serial target queues
2020-03-29 16:37:55 +02:00
Gwendal Roué
66dc482b02
Don't pretend database deallocation is a cancel event
2020-03-29 16:30:29 +02:00
Gwendal Roué
3c20adb0c6
Add test for explicit cancellation
2020-03-29 16:11:54 +02:00
Gwendal Roué
1bffc4f628
ValueObservation is cancellable
2020-03-29 16:06:24 +02:00
Gwendal Roué
97a84c6470
Fix failing test for #741
2020-03-29 12:09:58 +02:00
Gwendal Roué
70c6f3ec44
Failing test for #741
2020-03-29 12:09:24 +02:00
Gwendal Roué
ccd73bf63d
Don't parallelize SQLCipher tests
2020-03-29 11:45:52 +02:00
Gwendal Roué
d4327faf0a
Merge pull request #742 from groue/dev/ValueObservation-scheduling
...
ValueObservation scheduling is no longer an attribute of the observation
2020-03-29 11:14:48 +02:00
Gwendal Roué
87b54f5da2
Protect ValueObserver state behind a lock
2020-03-29 10:28:37 +02:00
Gwendal Roué
a28ae9a523
Stronger tests
2020-03-28 20:50:40 +01:00
Gwendal Roué
055a4882f8
Fix compilation error
2020-03-28 20:14:30 +01:00
Gwendal Roué
90d5316781
Hide ValueObservationScheduler implementation
2020-03-28 19:53:18 +01:00
Gwendal Roué
303a0cc150
immediateInitialValue is a better name
2020-03-28 19:49:07 +01:00
Gwendal Roué
08ef740002
Optimize ValueObservation tests
2020-03-28 19:31:27 +01:00
Gwendal Roué
5d196c449d
Value Observation does no longer retain DatabaseWriter
2020-03-28 17:11:57 +01:00
Gwendal Roué
fdb2f63e60
Add missing file to iOS/tvOS/watchOS compilation
2020-03-28 14:26:08 +01:00
Gwendal Roué
c83d390e60
More test rationalization
2020-03-28 14:07:36 +01:00
Gwendal Roué
a6ac69eded
Move view optimization test
2020-03-28 13:54:18 +01:00
Gwendal Roué
1914ace5f9
Test as much as possible value observations
2020-03-28 13:43:18 +01:00
Gwendal Roué
88ddce5fac
Make sure the observer is cancelled on error
2020-03-28 11:42:53 +01:00
Gwendal Roué
23d428290b
Assume that error ends the observation, and have database pool always perform a concurrent initial fetch
2020-03-28 10:30:36 +01:00
Gwendal Roué
ff104686f6
Read-only observation: support for cancellation
2020-03-28 07:45:55 +01:00
Gwendal Roué
a9ea6dd8bf
CHANGELOG
2020-03-27 21:06:13 +01:00
Gwendal Roué
9866ed1dfc
Remove useless change
2020-03-27 21:04:23 +01:00
Gwendal Roué
65a347fd98
Fix obsolete comment
2020-03-27 21:03:01 +01:00
Gwendal Roué
7e50869d39
Remove useless change
2020-03-27 21:01:34 +01:00
Gwendal Roué
703ce643b5
Remove useless change
2020-03-27 20:59:38 +01:00
Gwendal Roué
42d2891df8
Fix typo
2020-03-27 20:53:16 +01:00
Gwendal Roué
f0effaa4fa
Fix typo
2020-03-27 20:51:42 +01:00
Gwendal Roué
022fee8788
Remove dead code
2020-03-27 20:48:12 +01:00
Gwendal Roué
25a2bd653c
Fix compiler warning
2020-03-27 20:48:03 +01:00
Gwendal Roué
c03de9cc16
Fix documentation
2020-03-27 20:45:24 +01:00
Gwendal Roué
97d06a0fae
Fix typo
2020-03-27 20:36:29 +01:00
Gwendal Roué
154125d3ae
Update documentation
2020-03-27 20:19:55 +01:00
Gwendal Roué
c4b7e0017b
The main thread is enough
2020-03-27 20:19:44 +01:00
Gwendal Roué
469814985e
Decrease nesting
2020-03-27 19:55:36 +01:00
Gwendal Roué
f16105ad03
Add missing cancellation checks
2020-03-27 19:53:01 +01:00
Gwendal Roué
4309eaba64
Scheduling of fresh values is no longer an attribute of ValueObservation
2020-03-27 19:49:11 +01:00
Gwendal Roué
1580be3883
Update tests
2020-03-27 08:27:46 +01:00
Gwendal Roué
b4b5d9b602
Simplify ValueObservation scheduling
2020-03-27 08:27:30 +01:00
Gwendal Roué
27dd08f945
Merge pull request #738 from groue/dev/drop-ObservationFor
...
Remove all observationForCount/All/First methods
2020-03-25 22:53:08 +01:00
Gwendal Roué
b9c4d26731
Documentation
2020-03-25 22:36:33 +01:00
Gwendal Roué
7217f696b6
More row comparison technique
2020-03-25 22:23:12 +01:00
Gwendal Roué
880f8c8bdd
More row comparison technique
2020-03-25 22:21:52 +01:00
Gwendal Roué
6f7efa2b9a
CHANGELOG
2020-03-25 22:08:03 +01:00
Gwendal Roué
3a11d94bee
Document the row comparison technique
2020-03-25 22:07:12 +01:00
Gwendal Roué
e68bd077ee
Remove all observationForCount/All/First methods
2020-03-25 21:44:10 +01:00
Gwendal Roué
e84e984c23
Merge pull request #737 from groue/dev/ValueObservation-recording
...
Force implicit database region for ValueObservation
2020-03-25 19:41:12 +01:00
Gwendal Roué
12de05dc9b
ValueObservation.trackingVaryingRegion documentation
2020-03-25 19:19:22 +01:00
Gwendal Roué
ea8110110c
Remove obsolete documentation
2020-03-25 14:04:42 +01:00
Gwendal Roué
79d6b02a2f
Cleanup
2020-03-25 13:57:49 +01:00
Gwendal Roué
1195439226
Cleanup
2020-03-25 13:53:22 +01:00
Gwendal Roué
ff2629a31c
Cleanup
2020-03-25 13:05:39 +01:00
Gwendal Roué
61e74f9ad4
ValueObservation.trackingVaryingRegion documentation
2020-03-25 08:48:34 +01:00
Gwendal Roué
f711978145
Documentation
2020-03-25 08:25:05 +01:00
Gwendal Roué
a647e200d9
Replace Never with ValueReducers.Auto
2020-03-25 08:19:47 +01:00
Gwendal Roué
294a04e9f6
Rename tracking(value:) to tracking(_:)
2020-03-25 08:11:43 +01:00
Gwendal Roué
9792edc008
Rename trackingVolatile to trackingVaryingRegion
2020-03-25 00:13:51 +01:00
Gwendal Roué
143f3d1673
CHANGELOG
2020-03-25 00:03:09 +01:00
Gwendal Roué
121f7be847
ValueObservation is now fully based on region recording
...
And we introduce ValueObservation.trackingVolatile
2020-03-24 23:52:05 +01:00
Gwendal Roué
4af7fda4f2
Fix outdated documentation
2020-03-24 23:49:24 +01:00
Gwendal Roué
56f332122d
The observed region is always recorded
2020-03-24 22:59:07 +01:00
Gwendal Roué
d494d12293
Fix typo
2020-03-24 22:59:07 +01:00
Gwendal Roué
ce6afd680d
Merge pull request #736 from groue/dev/relax-ValueObservation
...
Relax ValueObservation Guarantees
2020-03-24 22:56:16 +01:00
Gwendal Roué
dfd5dd2478
Add missing import for SPM
2020-03-24 22:55:18 +01:00
Gwendal Roué
327f07422f
Add missing FailableTestCase.swift to custom SQLite tests
2020-03-24 22:35:32 +01:00
Gwendal Roué
6b33e656be
CHANGELOG
2020-03-24 17:01:14 +01:00
Gwendal Roué
97a7117564
Rewrite ValueObservation documentation
2020-03-24 16:58:59 +01:00
Gwendal Roué
e8fefc82a1
Drop obsolete warning against DatabaseRegionObservation
2020-03-24 16:29:56 +01:00
Gwendal Roué
0963b162e7
Rewrite ValueObservation documentation
2020-03-24 14:57:23 +01:00
Gwendal Roué
5210ae8385
Rewrite ValueObservation documentation
2020-03-24 14:36:29 +01:00
Gwendal Roué
78dc7aee15
Rewrite ValueObservation documentation
2020-03-24 14:35:43 +01:00
Gwendal Roué
cf1360701c
Rewrite ValueObservation documentation
2020-03-24 14:09:45 +01:00
Gwendal Roué
b3fb61858a
Rewrite ValueObservation documentation
2020-03-24 13:52:43 +01:00
Gwendal Roué
8d6708a12e
Rewrite ValueObservation documentation
2020-03-24 13:49:09 +01:00
Gwendal Roué
06f6b31368
Rewrite ValueObservation documentation
2020-03-24 13:04:25 +01:00
Gwendal Roué
9562e8eac4
Rewrite ValueObservation documentation
2020-03-24 13:01:58 +01:00
Gwendal Roué
1325a3a6a2
Rewrite ValueObservation documentation
2020-03-24 11:47:55 +01:00
Gwendal Roué
89058f4447
Rewrite ValueObservation documentation
2020-03-24 11:39:21 +01:00
Gwendal Roué
f6da862145
Rewrite ValueObservation documentation
2020-03-24 08:54:46 +01:00
Gwendal Roué
0c464def7f
Fix documentation
2020-03-23 18:00:45 +01:00
Gwendal Roué
e824c70e7d
Fix SQLCipher tests
2020-03-22 13:46:34 +01:00
Gwendal Roué
7a583e02e8
Refactor ValueObservation tests around a common pattern
2020-03-22 13:31:05 +01:00
Gwendal Roué
98d381ed67
Cleanup
2020-03-22 10:27:10 +01:00
Gwendal Roué
e16d29f277
More test refactoring with assertValueObservationRecordingMatch
2020-03-21 18:44:02 +01:00
Gwendal Roué
6bf322f79e
More test refactoring with assertValueObservationRecordingMatch
2020-03-21 18:16:35 +01:00
Gwendal Roué
c42aab26e3
Remove redundant test
2020-03-21 17:48:24 +01:00
Gwendal Roué
e16b320cda
More test refactoring with assertValueObservationRecordingMatch
2020-03-21 17:42:22 +01:00
Gwendal Roué
9d4bef1c9a
More test refactoring with assertValueObservationRecordingMatch
2020-03-21 17:04:18 +01:00
Gwendal Roué
b392458c1c
More test refactoring with assertValueObservationRecordingMatch
2020-03-21 16:23:41 +01:00
Gwendal Roué
031b55eca6
More test refactoring with assertValueObservationRecordingMatch
2020-03-21 15:50:36 +01:00
Gwendal Roué
3e0486743b
More test refactoring with assertValueObservationRecordingMatch
2020-03-21 15:21:24 +01:00
Gwendal Roué
7ab9a8b29a
More test refactoring with assertValueObservationRecordingMatch
2020-03-21 14:36:48 +01:00
Gwendal Roué
22086c088f
More test refactoring with assertValueObservationRecordingMatch
2020-03-21 14:36:48 +01:00
Gwendal Roué
3ee231afd3
Cleanup _OptionalProtocol
2020-03-21 14:36:48 +01:00
Gwendal Roué
4ffced0b7b
assertValueObservationRecordingMatch
2020-03-21 14:36:48 +01:00
Gwendal Roué
ed6673f2f5
ValueObservation test refactoring WIP
2020-03-21 14:36:48 +01:00
Gwendal Roué
7935168379
ValueObservation test refactoring WIP
2020-03-21 14:36:48 +01:00
Gwendal Roué
3c891b7ebd
ValueObservationRecorder cleanup
2020-03-21 14:36:48 +01:00
Gwendal Roué
8f5c7985e5
ValueObservationRecorder
2020-03-21 14:36:48 +01:00
Gwendal Roué
2150b6688a
Fix ValueObserver cancellation
2020-03-21 14:36:48 +01:00
Gwendal Roué
65b8fbb361
Remove useless print() statements
2020-03-21 14:36:48 +01:00
Gwendal Roué
2bb894108c
Use the prependingConcurrentFetch flag
2020-03-21 14:36:48 +01:00
Gwendal Roué
26d2245ae8
Asynchronouslu remove observer when it is cancelled
2020-03-21 14:36:48 +01:00
Gwendal Roué
2b78a646ed
Mor preparation for initiial concurrent fetch of ValueObservation in a DatabasePool
2020-03-21 14:36:48 +01:00
Gwendal Roué
1c59278115
Prefer dbResult argument name for async read closures
2020-03-21 14:36:48 +01:00
Gwendal Roué
2824636650
Prepare for initiial concurrent fetch of ValueObservation in a DatabasePool
2020-03-21 14:36:48 +01:00
Gwendal Roué
5a884ad93d
Common ValueObservation code for all read-only database accessors
2020-03-21 14:36:48 +01:00
Gwendal Roué
dab8e28f6d
Merge branch 'master' into GRDB5
...
# Conflicts:
# GRDB/Migration/DatabaseMigrator.swift
# GRDB/QueryInterface/Request/QueryInterfaceRequest.swift
# README.md
2020-03-21 14:35:57 +01:00
Gwendal Roué
e831c64e93
Merge branch 'development'
2020-03-21 12:54:52 +01:00
Gwendal Roué
50f64dc45d
v4.12.0
2020-03-21 12:54:30 +01:00
Gwendal Roué
24872373c4
TODO
2020-03-21 12:26:35 +01:00
Gwendal Roué
f04efea09c
CHANGELOG
2020-03-18 20:47:04 +01:00
Gwendal Roué
cda254bb2d
Update documentation for eraseDatabaseOnSchemaChange
2020-03-18 20:43:09 +01:00
Gwendal Roué
c1d1797576
Address #725
2020-03-18 20:36:56 +01:00
Gwendal Roué
a0faf6aa68
Support for nil assignment
2020-03-18 19:34:43 +01:00
Gwendal Roué
c6db8962b3
Merge pull request #732 from groue/dev/ValueObservation-mandatory-first-element
...
Remove ValueObservation.compactMap
2020-03-12 08:37:16 +01:00
Gwendal Roué
5a9085c34d
CHANGELOG
2020-03-12 07:46:04 +01:00
Gwendal Roué
c698b30c0a
Add fixits
2020-03-12 07:43:57 +01:00
Gwendal Roué
dfa40ea18f
Rename ValueObservation.fetchFirst to fetchValue
...
"First", in Swift, hints that the result is optional. But the result of this function is no longer optional.
2020-03-12 07:34:43 +01:00
Gwendal Roué
936c92eba6
All value reducers must emit an initial value
...
This disqualifies compactMap as a valid ValueObservation transformation: it has been removed.
This simplifies implementation as well.
2020-03-12 07:18:40 +01:00
Gwendal Roué
b0155b8aca
Merge branch 'development' into GRDB5
2020-03-11 22:44:20 +01:00
Gwendal Roué
84eef52cb0
Merge branch 'master' into development
2020-03-11 22:44:05 +01:00
Gwendal Roué
46fba47efb
Merge pull request #731 from groue/dev/private-ValueReducer
...
Hide ValueObservation implementation details
2020-03-11 22:43:10 +01:00
Gwendal Roué
bf3f97b64d
Fix compiler warning
2020-03-11 22:42:48 +01:00
Gwendal Roué
b605076bd0
Remove value reducers from README
2020-03-11 22:15:04 +01:00
Gwendal Roué
329b034423
CHANGELOG
2020-03-11 22:13:51 +01:00
Gwendal Roué
5e0535d511
ValueReducer creation does not need database access
2020-03-11 22:00:07 +01:00
Gwendal Roué
b96d71d937
Remove public ValueObservation factory methods that accept a _ValueReducer
2020-03-11 21:38:48 +01:00
Gwendal Roué
28c32c6af8
_ValueReducer is the only protocol accepted by ValueObservation
...
Also, we now use Never as the bottom reducer which helps us define the ValueObservation factory methods.
2020-03-11 21:38:41 +01:00
Gwendal Roué
f80c5ce348
Make the ValueReducer protocol unavailable
...
# Conflicts:
# GRDB/ValueObservation/ValueReducer/ValueReducer.swift
2020-03-11 21:38:20 +01:00
Gwendal Roué
6a582869c6
Merge pull request #730 from jackalcooper/patch-1
...
fix typo
2020-03-11 12:45:58 +01:00
Shenghang Tsai
813f28e5da
fix typo
2020-03-11 19:35:48 +08:00
Gwendal Roué
cc16a00f5a
Merge pull request #729 from groue/dev/ValueObservation-initial-value
...
ValueObservation always emits an initial value
2020-03-10 23:03:39 +01:00
Gwendal Roué
4f74997235
Restore old disabled tests for cancelled ValueObservation
2020-03-10 22:06:41 +01:00
Gwendal Roué
2f4187b084
DatabaseWriter.remove(transactionObserver:) can run from the writer queue
2020-03-10 22:06:08 +01:00
Gwendal Roué
9a6d6cf9c0
Update documentation for ValueObservation scheduling
2020-03-10 22:04:58 +01:00
Gwendal Roué
26e2db02aa
CHANGELOG
2020-03-10 21:04:38 +01:00
Gwendal Roué
d66f2c8cfd
Simplify ValueObservation starting process
2020-03-10 20:50:06 +01:00
Gwendal Roué
6f239a5ad3
All ValueObservationScheduling cases now trigger an initial fetch
2020-03-10 19:42:58 +01:00
Gwendal Roué
2224042114
Rename ValueScheduling to ValueObservationScheduling
2020-03-10 19:10:38 +01:00
Gwendal Roué
4fe201f8aa
Merge branch 'development' into GRDB5
2020-03-10 19:05:29 +01:00
Gwendal Roué
3973b66ab3
Fix and test throwingFirstError
2020-03-10 09:16:24 +01:00
Gwendal Roué
e48b654ad6
Merge pull request #728 from groue/dev/ValueObservation-error-handling
...
Make ValueObservation error handling mandatory
2020-03-10 08:26:09 +01:00
Gwendal Roué
3467376d7a
Remove unused ErrorCatcher
2020-03-10 08:19:27 +01:00
Gwendal Roué
1b6f9f9971
CHANGELOG
2020-03-10 08:12:17 +01:00
Gwendal Roué
c70b627f92
ValueObservation.start(in:onChange:) is unavailable
...
Hiding errors from user's sight was not a good idea
2020-03-10 08:09:53 +01:00
Gwendal Roué
435f5ff559
TODO: fix throwingFirstError
2020-03-10 07:41:15 +01:00
Gwendal Roué
0b34ad55b6
Merge pull request #724 from groue/dev/SE-0242
...
SE-0242: Synthesize default values for the memberwise initializer
2020-03-09 09:02:03 +01:00
Gwendal Roué
262cdc5b9a
CHANGELOG
2020-03-09 08:50:43 +01:00
Gwendal Roué
19061934ce
SE-0242: Synthesize default values for the memberwise initializer
...
...and more initializers cleanup
2020-03-09 08:49:06 +01:00
Gwendal Roué
7614f36bbd
Merge pull request #723 from groue/dev/SE-0255
...
SE-0255: Implicit returns from single-expression functions
2020-03-09 08:17:24 +01:00
Gwendal Roué
f48180549d
make smokeTest
...
For "quick" sanity checks
2020-03-09 08:03:26 +01:00
Gwendal Roué
93aa9bf3e5
Comment out debugging configuration
2020-03-09 07:56:02 +01:00
Gwendal Roué
4d60dc6cbb
Remove more redundant return keywords
2020-03-09 07:52:35 +01:00
Gwendal Roué
1698afadb9
CHANGELOG
2020-03-09 07:33:30 +01:00
Gwendal Roué
9aa67f9db9
SE-0255: Implicit returns from single-expression functions
2020-03-08 23:12:46 +01:00
Gwendal Roué
57d12e6c47
Merge pull request #722 from groue/dev/SE-0253
...
SE-0253: Callable values of user-defined nominal types
2020-03-08 20:40:17 +01:00
Gwendal Roué
cc9fbed07e
CHANGELOG
2020-03-08 20:39:54 +01:00
Gwendal Roué
8718d525d4
SE-0253: Callable values of user-defined nominal types
2020-03-08 20:36:49 +01:00
Gwendal Roué
3beba2b578
Merge pull request #721 from groue/dev/SE-0249
...
SE-0249: Key Path Expressions as Functions
2020-03-08 20:10:27 +01:00
Gwendal Roué
1b08a822ee
CHANGELOG
2020-03-08 20:09:15 +01:00
Gwendal Roué
7865b0a2ee
SE-0249: Key Path Expressions as Functions
2020-03-08 19:58:51 +01:00
Gwendal Roué
a31984724e
Merge pull request #720 from groue/dev/GRDB5-removeDeprecated
...
Turn deprecated APIs into unavailable ones
2020-03-08 19:15:41 +01:00
Gwendal Roué
a504452846
CHANGELOG
2020-03-08 19:10:48 +01:00
Gwendal Roué
00b0dc2a04
Remove availability checks for macOS 10.10 (forgotten in #719 )
2020-03-08 19:08:15 +01:00
Gwendal Roué
41e0885bce
Fix deprecation warning
2020-03-08 18:10:02 +01:00
Gwendal Roué
694adcec64
Remove other deprecated methods
2020-03-08 18:03:11 +01:00
Gwendal Roué
5dd86d2453
Remove deprecated ValueObservation methods
2020-03-08 17:53:39 +01:00
Gwendal Roué
b9d4a5215a
Remove deprecated DatabaseMigrator methods
2020-03-08 17:13:31 +01:00
Gwendal Roué
456d2aee75
Remove deprecated SQLExpressionLiteral
2020-03-08 16:57:29 +01:00
Gwendal Roué
02890a6d3a
Remove deprecated SQLLiteral.mapSQL(_:)
2020-03-08 16:28:44 +01:00
Gwendal Roué
0f503fe0db
Remove deprecated FetchRequest.prepare(_: forSingleResult:)
2020-03-08 16:18:55 +01:00
Gwendal Roué
bfdd0696da
Remove deprecated setupMemoryManagement methods
2020-03-08 16:08:12 +01:00
Gwendal Roué
130e510f8c
Remove deprecated passphrase methods
2020-03-08 16:00:19 +01:00
Gwendal Roué
512764403f
Prepare for fixits for removed deprecated methods
2020-03-08 15:39:40 +01:00
Gwendal Roué
b85eca3260
Merge pull request #719 from groue/dev/swift5.2
...
Bump required Swift version to 5.2
2020-03-08 14:59:53 +01:00
Gwendal Roué
73975e4462
CHANGELOG
2020-03-08 14:53:35 +01:00
Gwendal Roué
816887b811
Fix typo in README
2020-03-08 14:53:27 +01:00
Gwendal Roué
20baaf9a7f
Update README for the new requirements
2020-03-08 13:54:00 +01:00
Gwendal Roué
9578f984ec
Remove useless #if compiler/swift checks
2020-03-08 13:42:44 +01:00
Gwendal Roué
3b7f232aef
WIP
2020-03-08 13:01:15 +01:00
Gwendal Roué
df1ed3cf2f
Apply requirements to .travis.yml
...
osx_image xcode11.4 is not yet shipped, according to https://docs.travis-ci.com/user/reference/osx/#xcode-version
2020-03-08 12:59:33 +01:00
Gwendal Roué
59eceb9af1
Apply requirements to Makefile
2020-03-08 12:57:09 +01:00
Gwendal Roué
d7e821785d
Fix podfiles of CocoaPods tests
2020-03-08 12:35:59 +01:00
Gwendal Roué
b264087a3b
Fixes for GRDBDemoWatchOS
...
Hide WKRefreshBackgroundTask use behind an availability check
Bump IPHONEOS_DEPLOYMENT_TARGET = 13.0, so that we can use CollectionDifference
2020-03-08 12:22:09 +01:00
Gwendal Roué
759bb8cd25
Fix dependencies of GRDBtvOSTests
...
It used to depend on the iOS version of GRDB - WTF
2020-03-08 11:28:04 +01:00
Gwendal Roué
4486f73432
Apply requirements to podspec and podfiles
2020-03-08 10:55:48 +01:00
Gwendal Roué
224e0b7d58
Apply requirements to Xcode projects
...
Update:
SWIFT_VERSION
IPHONEOS_DEPLOYMENT_TARGET
MACOSX_DEPLOYMENT_TARGET
TVOS_DEPLOYMENT_TARGET
WATCHOS_DEPLOYMENT_TARGET
2020-03-08 10:55:26 +01:00
Gwendal Roué
9db86ff2d6
Apply Swift version requirement to Tests/SPM/PlainPackage
2020-03-08 10:45:40 +01:00
Gwendal Roué
f3af89cb6a
Apply requirements to Package.swift
2020-03-08 10:26:01 +01:00
Gwendal Roué
98e9cc7861
Bump required macOS version to 10.10
...
This guarantees SQLite 3.7.16+, so that all migrations can recreate tables when needed
2020-03-08 10:24:27 +01:00
Gwendal Roué
30f7b39a42
Update requirements for Swift 5.2
2020-03-08 09:54:13 +01:00
Gwendal Roué
6b9e7e7eb3
Kick off GRDB5
2020-03-08 09:50:08 +01:00
Gwendal Roué
f6e6758525
Merge branch 'master' into development
2020-03-07 15:13:33 +01:00
Gwendal Roué
039dd37759
[skip travis] Enhancements to WhyAdoptGRDB.md
2020-03-07 15:13:14 +01:00
Gwendal Roué
e9dd8b2b09
Enhance DatabaseMigrator querying methods
...
// New
dbQueue.read(migrator.hasCompletedMigrations)
dbQueue.read(migrator.completedMigrations).contains("v2")
dbQueue.read(migrator.completedMigrations).last == "v2"
dbQueue.read(migrator.appliedMigrations)
// Deprecated
migrator.hasCompletedMigrations(in: dbQueue)
migrator.hasCompletedMigrations(in: dbQueue, through: "v2")
migrator.lastCompletedMigration(in: dbQueue) == "v2"
migrator.appliedMigrations(in: dbQueue)
2020-03-07 13:59:46 +01:00
Gwendal Roué
ee64f8ff9d
Rename statement argument methods
2020-03-04 08:43:31 +01:00
Gwendal Roué
db546bf478
Merge branch 'development'
2020-03-02 08:01:55 +01:00
Gwendal Roué
5a7c6fb33f
v4.11.0
2020-03-02 07:59:48 +01:00
Gwendal Roué
fa7ae31894
TODO
2020-03-02 07:53:25 +01:00
Gwendal Roué
48097ba7e7
Update thank you notice
2020-03-01 18:42:05 +01:00
Gwendal Roué
7c684d06c1
Simplify schema cache management
...
We don't need EmptyDatabaseSchemaCache. It does not help unsafe reads to work better if concurrent writes modify the schema anyway.
2020-03-01 15:51:37 +01:00
Gwendal Roué
c8321201d8
Merge pull request #713 from groue/dev/barrierMigrations
...
Enhance DatabaseMigrator isolation
2020-03-01 15:41:27 +01:00
Gwendal Roué
ea421865aa
Improve barrierWriteWithoutTransaction documentation
2020-03-01 11:34:58 +01:00
Gwendal Roué
f5019eeb60
Merge branch 'development' into dev/barrierMigrations
...
# Conflicts:
# GRDB/Migration/DatabaseMigrator.swift
2020-03-01 09:13:45 +01:00
Gwendal Roué
62222f441d
Merge pull request #710 from groue/dev/unappliedMigrations
...
Check if all migrations have been applied
2020-03-01 09:00:20 +01:00
Gwendal Roué
0e43f1b95a
appliedIdentifiers always filters out unknown migrations
2020-03-01 08:58:50 +01:00
Gwendal Roué
50cd4418d2
CHANGELOG
2020-02-29 17:32:15 +01:00
Gwendal Roué
e1b14d4ee5
DatabaseMigrator uses barrierWriteWithoutTransaction
...
This prevents concurrent reads from reading right in between two migration transactions
2020-02-29 17:26:59 +01:00
Gwendal Roué
ce0df653f4
Expose Database.erase()
2020-02-29 17:19:08 +01:00
Gwendal Roué
11f8807545
Make barrierWriteWithoutTransaction a requirement of DatabaseWriter
2020-02-29 16:01:45 +01:00
Gwendal Roué
7af846c87f
Rename new DatabaseMigrator methods
2020-02-29 15:07:36 +01:00
Gwendal Roué
9f46f34d16
Merge branch 'development' into dev/unappliedMigrations
...
# Conflicts:
# CHANGELOG.md
2020-02-29 14:46:50 +01:00
Gwendal Roué
e62df26a53
Disable flaky testDatabasePoolReleaseMemoryClosesReaderConnections
...
See https://github.com/groue/GRDB.swift/issues/489
2020-02-29 14:45:06 +01:00
Gwendal Roué
b71de1559a
Disable flaky testCachedStatementsAreNotShared
...
See https://github.com/groue/GRDB.swift/issues/679
2020-02-29 14:43:17 +01:00
Gwendal Roué
c2c587752c
Disable flaky testBusyModeTimeoutTooShort
...
It just ruins Travis builds :-(
2020-02-29 14:41:46 +01:00
Gwendal Roué
fd029ff230
Merge pull request #712 from pakko972/automatic-ios-memory-management
...
Automatic ios memory management
2020-02-29 14:38:00 +01:00
Gwendal Roué
c534193f5c
CHANGELOG
2020-02-29 14:36:07 +01:00
Gwendal Roué
7b29156664
Fix typo and improve wording
2020-02-29 14:33:02 +01:00
Gwendal Roué
9ed8cb3eff
Fix Swiftlint warnings
2020-02-29 14:30:05 +01:00
Gwendal Roué
a7d02b90a5
Update license year
2020-02-29 14:09:29 +01:00
Gwendal Roué
522639282d
Update JSONSynchronization playground
2020-02-29 14:03:12 +01:00
Pakkito
eb98f50891
Avoid breaking changes
...
- Deprecate setupMemoryManagement(application:)
- UIApplication is not available on watchOS, so instead of checking against `#if canImport(UIKit)` we use `#if os(iOS)`
Signed-off-by: Pakkito <pe@pierlis.com >
2020-02-28 18:00:16 +01:00
Pakkito
f07735f05f
Add support for xcode 11.4
...
Signed-off-by: Pakkito <pe@pierlis.com >
2020-02-28 17:21:53 +01:00
Pakkito
32675b38f1
Automatically setup memory management when UIKit is available
...
Signed-off-by: Pakkito <pe@pierlis.com >
2020-02-28 17:21:27 +01:00
Gwendal Roué
d35d6fc2f8
Rename isMigrated(in:upTo:) to isMigrated(in:beyond:), introduce lastAppliedMigration(in:)
2020-02-28 14:27:52 +01:00
Gwendal Roué
fa26faa6fd
CHANGELOG
2020-02-28 07:42:38 +01:00
Gwendal Roué
91a3557281
Rename hasUnappliedMigrations to isMigrated
2020-02-28 07:40:19 +01:00
Gwendal Roué
f09e0b5ed2
CHANGELOG
2020-02-27 21:19:57 +01:00
Gwendal Roué
0580705b1e
Enhance App Group Container documentation with database schema check
2020-02-27 21:10:35 +01:00
Gwendal Roué
0c7e14eb9b
Documentation for DatabaseMigrator.hasUnappliedMigrations
2020-02-27 21:02:17 +01:00
Gwendal Roué
92e8ef9b87
More DatabaseMigrator tests
2020-02-27 21:01:56 +01:00
Gwendal Roué
692af926be
Tests for DatabaseMigrator.hasUnappliedMigrations
2020-02-27 20:51:44 +01:00
Gwendal Roué
a17669b082
DatabaseMigrator.hasUnappliedMigrations
2020-02-27 20:50:25 +01:00
Gwendal Roué
2ff8c66b9e
TODO
2020-02-27 19:29:21 +01:00
Gwendal Roué
be53b0d403
Merge pull request #709 from groue/dev/migration
...
Simplify DatabaseMigrator API
2020-02-27 19:28:12 +01:00
Gwendal Roué
ba02ba4237
CHANGELOG
2020-02-27 19:25:55 +01:00
Gwendal Roué
0d2ede4440
Document that migrations run with deferred foreign key checks
2020-02-27 08:43:51 +01:00
Gwendal Roué
bf89883ff5
Import SQLite C functions for SPM
2020-02-26 22:26:29 +01:00
Gwendal Roué
efcc3a3dfb
Merge branch 'development' into dev/migration
...
# Conflicts:
# CHANGELOG.md
2020-02-26 19:31:38 +01:00
Gwendal Roué
fefeb1e9e2
Merge pull request #706 from groue/dev/690-improvement
...
Enhance SQLLiteral and SQL interpolation again
2020-02-26 19:28:39 +01:00
Gwendal Roué
f12436e55b
CHANGELOG
2020-02-26 14:09:24 +01:00
Gwendal Roué
98c4356638
Cleanup
2020-02-26 14:07:38 +01:00
Gwendal Roué
e5c4fb7e30
Update DatabaseMigrator documentation
2020-02-26 13:59:04 +01:00
Gwendal Roué
4f9878a1da
Update tests for the deprecated registerMigrationWithDeferredForeignKeyCheck method
2020-02-26 13:57:49 +01:00
Gwendal Roué
8557d113a3
Deprecate registerMigrationWithDeferredForeignKeyCheck
...
This method is now equivalent to registerMigration, starting SQLite 3.7.16
2020-02-26 13:57:14 +01:00
Gwendal Roué
9400e7f5d5
Fix tests for Xcode 10.3
2020-02-26 08:17:48 +01:00
Gwendal Roué
193509db58
Merge pull request #707 from haikusw/pr_docs_typos_fixes
...
Docs: Fix a collection of typos
2020-02-26 08:05:22 +01:00
Tyler Morrison
d7ce175b8e
Documentation: Fixes for some typos
2020-02-25 14:43:39 -08:00
Gwendal Roué
0a8001a128
CHANGELOG
2020-02-25 22:25:36 +01:00
Gwendal Roué
b46a8c897a
Update SQLLiteral documentation
2020-02-25 22:21:32 +01:00
Gwendal Roué
bad8d85729
Add test for legacy literal expression function
2020-02-25 22:18:16 +01:00
Gwendal Roué
eb6f6e57ff
Fix failing test for literal expression function
2020-02-25 22:13:17 +01:00
Gwendal Roué
cc495e3fd5
Failing test for literal expression function
2020-02-25 22:11:18 +01:00
Gwendal Roué
d190a26737
More precise documentation vocabulary
2020-02-25 15:05:11 +01:00
Gwendal Roué
7ee4e269c3
Fix sample code
2020-02-25 15:02:18 +01:00
Gwendal Roué
f7465896fa
Enhance documentation for features brought by #690
2020-02-25 14:59:11 +01:00
Gwendal Roué
4c8574aa4c
Merge branch 'development'
2020-02-23 14:09:57 +01:00
Gwendal Roué
7475c25fa7
v4.10.0
2020-02-23 13:17:32 +01:00
Gwendal Roué
3379bf3b08
Merge pull request #690 from groue/dev/qualifiedSQLLiteral
...
Enhance SQLLiteral and SQL interpolation
2020-02-15 09:34:23 +01:00
Gwendal Roué
7af3f48150
TODO
2020-02-15 07:04:50 +01:00
Gwendal Roué
1b8511ab51
Documentation
2020-02-14 12:59:06 +01:00
Gwendal Roué
355ae49bc2
CHANGELOG
2020-02-14 12:46:01 +01:00
Gwendal Roué
8c3274bd3c
Cleanup
2020-02-14 12:36:36 +01:00
Gwendal Roué
591384576f
SQLOrderingLiteral (and prevent reversing of requests ordered by literal)
2020-02-14 12:31:54 +01:00
Gwendal Roué
cdda2852d3
Merge branch 'development' into dev/qualifiedSQLLiteral
2020-02-14 11:43:15 +01:00
Gwendal Roué
03992ab45c
CHANGELOG
2020-02-14 11:41:37 +01:00
Gwendal Roué
1f4b374bce
Documentation for #689
2020-02-14 11:40:17 +01:00
Gwendal Roué
a5b2757128
Merge pull request #689 from groue/rename-column
...
Add support for renaming columns within a table
2020-02-14 11:25:42 +01:00
Gwendal Roué
b961962f93
Cleanup
2020-01-25 16:29:04 +01:00
Gwendal Roué
c64b2d1032
Cleanup
2020-01-25 16:18:12 +01:00
Gwendal Roué
3ccfcb61ce
Cleanup SQLLiteral elements
2020-01-25 16:11:17 +01:00
Gwendal Roué
e4c6029e72
Cleanup internal APIs
2020-01-25 14:37:32 +01:00
Gwendal Roué
d448bd8bd5
Test SQLLiteral.mapSQL qualification
2020-01-25 14:32:13 +01:00
Gwendal Roué
e999ab5ecb
Don't deprecate SQLLiteral.mapSQL, after all
2020-01-25 13:46:00 +01:00
Gwendal Roué
db8585aa85
Test for SQLLiteral(expression)
2020-01-25 12:34:22 +01:00
Gwendal Roué
e2545b3427
Test for more complex SQLLiteral generation
2020-01-25 12:15:14 +01:00
gjeck
38a161f92b
Fix imports for SPM tests
2020-01-24 10:53:34 -08:00
gjeck
d14ac3e8d3
Resolve test issues with SQLCipher
...
Note: SQLCipher3 will have the new column rename method exposed, but it
will throw an error at runtime if used.
2020-01-24 09:22:43 -08:00
gjeck
09087bdbf9
Adjust available checks
2020-01-24 08:46:55 -08:00
gjeck
538252a4bf
Allow column rename on custom sqlite target
2020-01-24 08:46:55 -08:00
gjeck
371e8f0dbe
Add support for renaming columns within a table
...
SQLite introduced enhancements to the `ALTER TABLE` command in 3.25.0.
iOS 13.0+, macOS 10.15+, tvOS 13.0+, and watchOS 6.0+ have a SQLite
library bundled higher than 3.25.0.
For more information see https://www.sqlite.org/lang_altertable.html
2020-01-24 08:46:55 -08:00
Gwendal Roué
b8c5af5cef
Fix availability test
2020-01-24 09:03:06 +01:00
Gwendal Roué
ddd22a1dfb
Restore Swift 4.2 by default
2020-01-24 09:00:51 +01:00
Gwendal Roué
2d3a9991d4
Test documented use case
2020-01-24 08:55:55 +01:00
Gwendal Roué
7f513cbc1d
SQLLiteral cleanup
2020-01-24 08:55:55 +01:00
Gwendal Roué
812f30fb75
Remove SQLLiteral.generate()
2020-01-24 08:55:55 +01:00
Gwendal Roué
86e32cdc23
Cleanup SQLGenerationContext
2020-01-24 08:55:55 +01:00
Gwendal Roué
554cbaa307
Stop using SQLExpression.sqlLiteral
2020-01-24 08:55:55 +01:00
Gwendal Roué
6a0cc838da
Deprecate SQLLiteral.mapSQL and SQLExpression.sqlLiteral
2020-01-24 08:55:55 +01:00
Gwendal Roué
4811bc3c5b
Test SQLLiteral qualification
2020-01-24 08:55:55 +01:00
Gwendal Roué
65c94590eb
Make SQLLiteral able to be qualified with a table alias
2020-01-24 08:55:55 +01:00
Gwendal Roué
5e67ca5566
Deprecate SQLExpressionLiteral, hide SQLSelectionLiteral, introduce SQLLiteral.sqlExpression and .sqlSelectable
2020-01-24 08:55:55 +01:00
Gwendal Roué
d7ef314a15
SQLLiteral is now a promise that needs an SQLGenerationContext
2020-01-24 08:55:55 +01:00
Gwendal Roué
a3c43efb85
Fix KeyPathRefining for Xcode 10.0
2020-01-24 07:50:12 +01:00
Gwendal Roué
9dcd0b8f42
Fix KeyPathRefining for compiler(<5.1)
2020-01-24 07:45:20 +01:00
Gwendal Roué
349e34b1c1
Internal API experiment: KeyPathRefining
2020-01-21 19:37:19 +01:00
Gwendal Roué
66bce33a36
SPM installation technique: warn against #642
2020-01-19 12:27:30 +01:00
Gwendal Roué
f67232b80f
Merge branch 'development'
2020-01-17 07:41:27 +01:00
Gwendal Roué
6b32c3aeec
v4.9.0
2020-01-17 07:40:42 +01:00
Gwendal Roué
f3bc08160d
Merge pull request #683 from groue/dev/concat
...
String concatenation
2020-01-17 07:34:44 +01:00
Gwendal Roué
1cca8a2303
Merge branch 'development' into dev/concat
...
# Conflicts:
# CHANGELOG.md
2020-01-16 20:04:38 +01:00
Gwendal Roué
ac215430c2
CHANGELOG and thank you notice
2020-01-16 19:48:29 +01:00
Gwendal Roué
7f8a088306
Merge pull request #685 from gjeck/defaultDatabaseTableName
...
Add cache for TableRecord.defaultDatabaseTableName
2020-01-16 19:42:12 +01:00
gjeck
2717b52e97
Add cache for TableRecord.defaultDatabaseTableName
...
Resolves cpu/memory impact from repeated calls by cacheing the name in a
private global NSCache.
2020-01-16 09:59:18 -08:00
Gwendal Roué
25cf030498
CHANGELOG
2020-01-16 18:51:47 +01:00
Gwendal Roué
4bfab90750
Restore and deprecate SQLLogicalBinaryOperator
2020-01-16 18:50:48 +01:00
Gwendal Roué
95ddae7968
More tests for associative operators
2020-01-16 09:08:30 +01:00
Gwendal Roué
62fad30af5
Documentation associative operator joining for add and multiply operations
2020-01-16 08:57:07 +01:00
Gwendal Roué
c9373929ca
Documentation for the || string concatenation operator
2020-01-16 08:50:40 +01:00
Gwendal Roué
01b47a833a
Introduce the || string concatenation operator
2020-01-16 08:38:17 +01:00
Gwendal Roué
a398c6dc99
Flattten stricly associative operators
2020-01-16 08:17:11 +01:00
Gwendal Roué
32a40b18fd
Introduce associative binary operators
2020-01-16 08:01:48 +01:00
Gwendal Roué
c7fcde83cf
Merge branch 'development'
2020-01-12 12:53:40 +01:00
Gwendal Roué
a9cd4faff0
v4.8.1
2020-01-12 12:53:18 +01:00
Gwendal Roué
ddccbaacdb
Merge pull request #677 from groue/dev/fixAssociationFiltering
...
Fix associations altered by another association
2020-01-12 09:52:51 +01:00
Gwendal Roué
6a7ecb2c63
CHANGELOG
2020-01-11 20:43:43 +01:00
Gwendal Roué
0b07a6a696
Cleanup
2020-01-11 20:43:37 +01:00
Gwendal Roué
58a36ec509
Add including(all:) test fixed by ebdfa9e52a
2020-01-11 19:00:57 +01:00
Gwendal Roué
ebdfa9e52a
Fix failiing tests for children relations
2020-01-11 18:36:36 +01:00
Gwendal Roué
4c145b11a5
OrderedDictionary.filter(_:)
2020-01-11 18:12:30 +01:00
Gwendal Roué
c14739cb4a
Failiing tests for children relations
2020-01-11 18:11:05 +01:00
Gwendal Roué
5b841cf4cb
Cleanup
2020-01-09 08:24:00 +01:00
Gwendal Roué
8fa17c578c
Fix typo
2020-01-08 08:46:17 +01:00
Gwendal Roué
183612a4e3
Merge branch 'development'
2020-01-08 08:25:30 +01:00
Gwendal Roué
e3fbfe6541
v4.8.0
2020-01-08 07:49:12 +01:00
Gwendal Roué
69b9d04aad
Less TODO
2020-01-07 08:01:25 +01:00
Gwendal Roué
ffd1222990
Fix comment
2020-01-06 09:14:57 +01:00
Gwendal Roué
07266d0b31
Remove useless captures
2020-01-06 09:12:55 +01:00
Gwendal Roué
eb8ec327a8
Cleanup
2020-01-06 09:09:27 +01:00
Gwendal Roué
f79b60083e
Remove TODO and document why
2020-01-06 08:36:53 +01:00
Gwendal Roué
fc50302e14
Remove unwise TODO
2020-01-06 08:14:46 +01:00
Gwendal Roué
4896741706
Remove code smell
2020-01-06 08:13:32 +01:00
Gwendal Roué
fd7783c39d
Fix uses of throwingFirstError(execute:finally:)
2020-01-06 08:12:49 +01:00
Gwendal Roué
c60a945610
Fix SQL
2020-01-05 20:36:49 +01:00
Gwendal Roué
ef9bab627d
Fix markdown
2020-01-05 14:28:41 +01:00
Gwendal Roué
9ca2a2e782
Add context to the "Refining Association Requests" chapter
2020-01-05 14:27:17 +01:00
Gwendal Roué
3613b6ed45
Add missing documentation for annotated(with: expression)
2020-01-05 13:56:25 +01:00
Gwendal Roué
adc7079943
Cleanup
2020-01-05 13:55:10 +01:00
Gwendal Roué
cd8fbbe8f2
Add a test for foreign column annotation
2020-01-05 13:45:23 +01:00
Gwendal Roué
e5726f3993
throwingFirstError(execute:finally:)
2020-01-05 13:30:12 +01:00
Gwendal Roué
14c3c7865e
Move association initialization where they belong
2020-01-03 08:27:15 +01:00
Gwendal Roué
9dd5fd198b
Fix documentation bug - #672
2020-01-03 08:09:54 +01:00
Gwendal Roué
2595729c8c
Documentation
2020-01-03 08:04:22 +01:00
Gwendal Roué
6b6a422ead
Travis: only build master and development branches
2019-12-30 18:26:17 +01:00
Gwendal Roué
72a4e2073f
Update make doc so that it works with Xcode 11
2019-12-30 18:23:26 +01:00
Gwendal Roué
1fa93abb5b
Merge pull request #676 from groue/dev/moreDeleteAndUpdate
...
More batch delete and update
2019-12-30 13:37:44 +01:00
Gwendal Roué
81c763750f
CHANGELOG
2019-12-29 19:14:28 +01:00
Gwendal Roué
944f4309a8
Cleanup
2019-12-29 19:06:29 +01:00
Gwendal Roué
b302051f87
Cleanup
2019-12-29 18:46:06 +01:00
Gwendal Roué
070f85b541
More tests for batch update and delete
2019-12-29 18:26:47 +01:00
Gwendal Roué
71d97b04a5
Move code
2019-12-29 18:26:27 +01:00
Gwendal Roué
b1edf78f13
Add missing reference to updateAll
2019-12-29 18:26:05 +01:00
Gwendal Roué
fa5198354a
Fix failing tests for deleteAll and updateAll for grouped and joined queries
2019-12-29 17:50:53 +01:00
Gwendal Roué
e8803804ec
Failing tests for deleteAll and updateAll for grouped and joined queries
2019-12-29 17:50:47 +01:00
Gwendal Roué
baa9695678
SQLQueryGenerator.grouping(_:)
2019-12-29 17:18:17 +01:00
Gwendal Roué
a42a5cc2ca
SQLQualifiedRelation.selectOnly(_:)
2019-12-29 16:57:26 +01:00
Gwendal Roué
db7edd389f
rowid is a unique key
2019-12-29 16:40:57 +01:00
Gwendal Roué
985794e733
Merge pull request #670 from groue/development
...
GRDB 4.7.0
2019-12-18 08:01:17 +01:00
Gwendal Roué
5d0e37e2cc
v4.7.0
2019-12-17 18:59:12 +01:00
Gwendal Roué
e69fb4a0db
Remove unused code
2019-12-17 18:58:51 +01:00
Gwendal Roué
8512607fb6
Merge pull request #668 from groue/dev/suspend
...
Database Suspension
2019-12-15 18:18:58 +01:00
Gwendal Roué
299bfef7b5
Busy timeouts are really weird
2019-12-15 13:17:47 +01:00
Gwendal Roué
a7f99b83f9
fix busy timeout tests on macOS
2019-12-15 10:54:13 +01:00
Gwendal Roué
e7f1153c85
[skip travis] FUNDING.yml
2019-12-15 10:44:45 +01:00
Gwendal Roué
f873bb1cfb
fix busy timeout tests on Xcode 10.3
2019-12-15 10:00:57 +01:00
Gwendal Roué
aadc58d349
[skip travis] documentation tweak
2019-12-14 19:49:26 +01:00
Gwendal Roué
5e75f0e0aa
[skip travis] remove outdated documentation
2019-12-14 19:45:33 +01:00
Gwendal Roué
a450df823b
[skip travis] fix typo
2019-12-14 19:44:16 +01:00
Gwendal Roué
af305afc2a
LastUpgradeVersion 1130
2019-12-14 18:33:00 +01:00
Gwendal Roué
3d15751e44
Don't code sign performance tests
2019-12-14 18:28:28 +01:00
Gwendal Roué
a09b8522ad
Update make test_performance
2019-12-13 09:06:55 +01:00
Gwendal Roué
16186b6ac7
Extract performance tests to their own project
2019-12-13 09:02:47 +01:00
Gwendal Roué
1c2bd4134c
Upgrade performance tests for Xcode 11.3
2019-12-13 08:39:24 +01:00
Gwendal Roué
c4b6fbec76
Interrupt documentation
2019-12-13 08:24:42 +01:00
Gwendal Roué
974055b90b
Suspension is experimental
2019-12-13 08:24:27 +01:00
Gwendal Roué
4bf5724543
Can't issue ROLLBACK on suspension
...
This is because this would allow a database modification to run in an aborted transaction
2019-12-13 08:14:49 +01:00
Gwendal Roué
19ba7d67e8
Suspension is fully experimental
2019-12-12 19:26:08 +01:00
Gwendal Roué
34eff46e56
Sharing a Datatase in an App Group Container
2019-12-12 19:23:41 +01:00
Gwendal Roué
0529869617
Fix busyMode tests for encrypted databases
2019-12-12 18:57:37 +01:00
Gwendal Roué
81ce5c9134
CHANGELOG
2019-12-12 08:53:16 +01:00
Gwendal Roué
6656f72782
Rename "lock prevention" to "suspension"
2019-12-12 08:47:49 +01:00
Gwendal Roué
dfb013bf78
#664 is not quite easy to fix with optionals :-/
2019-12-09 19:54:06 +01:00
Gwendal Roué
2b37e28691
remove debugging code
2019-12-09 19:20:02 +01:00
Gwendal Roué
69fc6a0496
Test that RowDecoder won't decode several sub-records from the root row - addresses #664
2019-12-09 19:09:27 +01:00
Gwendal Roué
daba7e13fc
Merge branch 'master' into development
2019-12-09 08:08:36 +01:00
Gwendal Roué
580fa6a554
Merge pull request #662 from groue/dev/SQLite3.30.1
...
Upgrade custom SQLite builds to version 3.30.1
2019-12-09 08:06:45 +01:00
Gwendal Roué
e90ef7aa6e
Fix acceptsDoubleQuotedStringLiterals tests
2019-12-08 18:07:41 +01:00
Gwendal Roué
d1e1dcd097
Fix test for SPM
2019-12-08 08:55:05 +01:00
Gwendal Roué
16354be1c5
Merge pull request #656 from groue/dev/request-selection-inference
...
Type inference of selected columns
2019-12-07 19:36:08 +01:00
Gwendal Roué
a0fddfe7ec
Documentation
2019-12-07 13:47:00 +01:00
Gwendal Roué
d6a459ad78
CHANGELOG
2019-12-07 13:42:52 +01:00
Gwendal Roué
7b4dc14485
[breaking] disable double-quoted string literals by default
2019-12-07 13:32:33 +01:00
Gwendal Roué
7208f53176
Support for NULLS FIRST and NULLS LAST
2019-12-07 12:31:58 +01:00
Gwendal Roué
2c9bef6440
"*" is no longer a valid FTS5 pattern
2019-12-07 12:07:06 +01:00
Gwendal Roué
820772fc6d
SQlite 3.30.1
2019-12-07 12:01:51 +01:00
Gwendal Roué
710cea5437
CHANGELOG
2019-12-07 11:56:37 +01:00
Gwendal Roué
b6ede15b18
Static tests for QueryInterfaceRequest type inference
2019-12-07 10:37:02 +01:00
Gwendal Roué
aa536813d9
Add request type inference - cc @pakko972
2019-12-07 10:24:15 +01:00
Gwendal Roué
2b9932c1ee
[skip travis] demo app icon, dark mode, content category adjustment
2019-12-07 10:03:53 +01:00
Gwendal Roué
2efb4e0d7d
[skip travis] logo
2019-12-06 19:57:12 +01:00
Gwendal Roué
64935e78e3
Update TODO.md
2019-12-04 11:53:43 +01:00
Gwendal Roué
831ded3ec2
beginReadOnly only increments _readOnlyDepth if it succeeds
2019-12-03 19:18:05 +01:00
Gwendal Roué
bbf8e773f8
Remove useless code
2019-12-03 19:17:35 +01:00
Gwendal Roué
e4073cbe9a
Test for stopPreventingLock
2019-12-03 19:12:41 +01:00
Gwendal Roué
6d0bdd3a4d
CHANGELOG
2019-12-03 19:09:35 +01:00
Gwendal Roué
698dc262e0
Merge pull request #660 from groue/dev/startPreventingExclusiveLock
...
Database Lock Prevention
2019-12-03 19:08:09 +01:00
Gwendal Roué
41cd4c2140
Check for aborted transactions before checking for lock prevention
2019-12-03 09:01:03 +01:00
Gwendal Roué
12106387d1
Cleanup
2019-12-03 08:51:10 +01:00
Gwendal Roué
17864d3dcc
Documentation
2019-12-03 08:15:57 +01:00
Gwendal Roué
4e26e8e744
Lock prevention: better error message
2019-12-03 08:13:19 +01:00
Gwendal Roué
7f66c85e67
Cleanup
2019-12-03 08:11:14 +01:00
Gwendal Roué
9efd5965ea
Cleanup
2019-12-02 20:56:06 +01:00
Gwendal Roué
2b4a920732
Cleanup
2019-12-02 20:39:55 +01:00
Gwendal Roué
16025356bf
Adapt lock prevention to the journal mode
2019-12-02 20:27:39 +01:00
Gwendal Roué
7015b66636
Update TODO.md
2019-12-02 09:50:57 +01:00
Gwendal Roué
f604005b4c
Improve interrupt() documentation
2019-12-01 19:03:47 +01:00
Gwendal Roué
1c318892c9
Documentation
2019-12-01 18:56:06 +01:00
Gwendal Roué
f66cf92bba
CHANGELOG
2019-12-01 18:54:21 +01:00
Gwendal Roué
559aae0263
CHANGELOG
2019-12-01 18:54:01 +01:00
Gwendal Roué
74bb9c11d7
Documentatioon
2019-12-01 18:52:51 +01:00
Gwendal Roué
98dc5df039
Avoid race condition in assertExclusiveLockPrevention
2019-12-01 18:44:23 +01:00
Gwendal Roué
d85a7883bb
Database.assertExclusiveLockPrevention mirrors assertNotInsideAbortedTransactionBlock
2019-12-01 18:34:51 +01:00
Gwendal Roué
d1db8406f4
SQLITE_ABORT_EXCLUSIVE had no real purpose.
2019-12-01 18:26:52 +01:00
Gwendal Roué
c8bb6873be
Add SQLITE_CREATE_VTABLE to authorizer codes that invalidate schema cache
2019-12-01 17:59:49 +01:00
Gwendal Roué
b54a8f7fe8
DatabaseWriter.startPreventingExclusiveLock()
2019-12-01 17:59:49 +01:00
Gwendal Roué
9cdebc45c0
Better assertNotInsideAbortedTransactionBlock
2019-12-01 17:59:49 +01:00
Gwendal Roué
f8b6c1a285
More aborted transaction tests
2019-12-01 17:59:49 +01:00
Gwendal Roué
1fb12a2fdf
Merge pull request #659 from groue/dev/interrupt
...
Database interruption
2019-12-01 11:54:04 +01:00
Gwendal Roué
e3d25bda61
CHANGELOG
2019-12-01 05:23:19 +01:00
Gwendal Roué
eb05c9b87d
Documentation
2019-12-01 05:19:56 +01:00
Gwendal Roué
8145915d19
Fix aborted transaction tests for iOS 10.3.1
2019-12-01 04:01:03 +01:00
Gwendal Roué
62ef81c5fb
Remove useless code
2019-11-30 21:16:48 +01:00
Gwendal Roué
d4fa4c9d5e
CHANGELOG
2019-11-30 21:14:06 +01:00
Gwendal Roué
64cb3091cf
white space
2019-11-30 21:12:53 +01:00
Gwendal Roué
b5ff80e858
Documentation
2019-11-30 21:12:47 +01:00
Gwendal Roué
cae66fd5e0
Documentation
2019-11-30 20:51:24 +01:00
Gwendal Roué
79871e2d00
Documentation
2019-11-30 20:26:18 +01:00
Gwendal Roué
fa1abdff2b
Fix Swiftlint warnings
2019-11-30 19:56:26 +01:00
Gwendal Roué
af00fd0f30
Less TODO
2019-11-30 19:53:04 +01:00
Gwendal Roué
f90a408630
Tests for aborted transactions
2019-11-30 19:52:25 +01:00
Gwendal Roué
f3e9c29f82
Monitor aborted transactions
2019-11-30 19:51:55 +01:00
Gwendal Roué
3ed7174838
DatabaseReader.interrupt() tests
2019-11-30 15:35:29 +01:00
Gwendal Roué
0a83848cfc
DatabaseReader.interrupt()
2019-11-30 15:35:11 +01:00
Gwendal Roué
047ada75c7
Thank @MaxDesiatov
2019-11-29 09:02:04 +01:00
Gwendal Roué
129d2fae06
Fix documentation typo
2019-11-29 09:00:45 +01:00
Gwendal Roué
15a97f2b2b
Merge pull request #658 from MaxDesiatov/patch-1
...
Fix typo in README.md
2019-11-27 17:01:52 +01:00
Max Desiatov
975d15733f
Fix typo in README.md
...
> One want to build
2019-11-27 15:57:27 +00:00
Gwendal Roué
62f091a40b
Fix typo
2019-11-23 11:45:21 +01:00
Max Desiatov
078f259061
Fix typo in README.md
...
> `concurrenRead`
2019-11-22 18:25:36 +01:00
Gwendal Roué
a67070dd9a
Merge branch 'development'
2019-11-20 18:51:03 +01:00
Gwendal Roué
f257fb7a4e
v4.6.2
2019-11-20 18:47:28 +01:00
Gwendal Roué
3f79892fdb
Merge pull request #653 from signalapp/mkirk/empty-migrations
...
Fix: `appliedMigrations` throws error on new install
2019-11-20 09:04:35 +01:00
Michael Kirk
cd6d46e349
move fix to private
2019-11-18 11:33:35 -07:00
Michael Kirk
9ea160b116
Fix: appliedMigrations throws error on new install
...
Before setup, the grdb_migrations table doesn't exist, so calling
`appliedMigrations` would throw an error.
To avoid this, if the table to track migrations doesn't exist yet, we can be
sure no migrations have been run, and we retun the empty set.
FIXES https://github.com/groue/GRDB.swift/issues/652
2019-11-18 09:09:46 -07:00
Gwendal Roué
8f03b5c8f3
Improve Configuration.targetQueue documentation - #651
2019-11-17 17:41:55 +01:00
Gwendal Roué
3ce3f2fa71
Xcode 11.3 in the Makefile
2019-11-17 17:31:42 +01:00
Gwendal Roué
d9c26a40b4
Fix Swiftlint warning
2019-11-14 08:21:50 +01:00
Gwendal Roué
09e271de77
TODO
2019-11-13 19:25:09 +01:00
Gwendal Roué
205dea122f
Upgrade performance tests
2019-11-13 04:37:08 +01:00
Gwendal Roué
2eb10aa19a
Upgrade performance tests
2019-11-13 04:37:08 +01:00
Gwendal Roué
63fc59fd7c
Merge pull request #649 from AnthonyEgerton/patch-1
...
Fix typo in Release Notes
2019-11-13 04:34:57 +01:00
Anthony Egerton
bf6ee31491
Fix typo
2019-11-13 10:44:05 +11:00
Gwendal Roué
146151ffd7
Merge branch 'development'
2019-11-10 17:07:35 +01:00
Gwendal Roué
5b24f598a5
v4.6.1
2019-11-10 17:07:12 +01:00
Gwendal Roué
51a1c418a6
Merge pull request #647 from groue/dev/batch-update-policy
...
Honor conflict resolution for batch updates
2019-11-10 16:58:32 +01:00
Gwendal Roué
e1ff862ffc
CHANGELOG
2019-11-10 13:12:42 +01:00
Gwendal Roué
630a2c358a
Document conflict resolution for batch updates
2019-11-10 13:05:33 +01:00
Gwendal Roué
e0ea30041f
Batch update: customization of conflict resolution
2019-11-10 13:00:19 +01:00
Gwendal Roué
58263e9b60
Fix failing test for batch update policy
2019-11-10 12:42:01 +01:00
Gwendal Roué
1e80aecfbd
Failing test for batch update policy
2019-11-10 12:34:33 +01:00
Gwendal Roué
d5c6dde3d9
Merge branch 'development'
2019-11-10 08:24:32 +01:00
Gwendal Roué
7819c9026a
v4.6.0
2019-11-09 17:44:26 +01:00
Gwendal Roué
e6617c8e12
Fix typo
2019-11-09 17:24:25 +01:00
Gwendal Roué
d03a01a84a
Fix typo
2019-11-09 16:23:51 +01:00
Gwendal Roué
90735fb3a7
CHANGELOG
2019-11-09 16:22:42 +01:00
Gwendal Roué
264906221e
New Ordered vs. Unordered Associations chapter
2019-11-09 15:51:12 +01:00
Gwendal Roué
be21704633
More usage tests for ordered to-many associations: reordering
2019-11-09 15:50:14 +01:00
Gwendal Roué
b68bb00033
Simplify association to property type documentation
2019-11-09 14:52:32 +01:00
Gwendal Roué
1dd5c17bc7
Simplify Refining Association Requests chapter
2019-11-09 14:48:49 +01:00
Gwendal Roué
c8a2c68728
Typo fix
2019-11-09 14:46:59 +01:00
Gwendal Roué
f40c6511ef
Usage tests for ordered to-many associations
2019-11-09 14:01:15 +01:00
Gwendal Roué
60aa6c2bf2
Less TODO
2019-11-09 13:11:25 +01:00
Gwendal Roué
fe7446431b
More NSDecimalNumber tests
2019-11-09 13:07:47 +01:00
Gwendal Roué
abe2a62d47
Less TODO
2019-11-09 12:37:00 +01:00
Gwendal Roué
65d0f1edcc
Merge pull request #646 from groue/dev/batch-update
...
Batch updates
2019-11-09 08:49:30 +01:00
Gwendal Roué
c09615bab0
Fix bad tests
2019-11-08 20:32:54 +01:00
Gwendal Roué
218afa72c3
Test that order without limit is unused and harmless with updateAll() and deleteAll()
2019-11-08 18:09:11 +01:00
Gwendal Roué
cb77fe2ed3
Don't check for ENABLE_UPDATE_DELETE_LIMIT: let SQLite emit syntax errors
2019-11-08 18:08:27 +01:00
Gwendal Roué
7345c5f2dd
Fix Swiftlint warnings
2019-11-08 09:04:34 +01:00
Gwendal Roué
efdebf59d3
CHANGELOG
2019-11-08 09:04:34 +01:00
Gwendal Roué
35d7490092
Fix SQLCipher tests (it misses ENABLE_UPDATE_DELETE_LIMIT)
2019-11-08 09:04:34 +01:00
Gwendal Roué
dd4a2c5d9c
Better error message when ENABLE_UPDATE_DELETE_LIMIT is missing
2019-11-08 09:04:34 +01:00
Gwendal Roué
eae70f426e
URIs don't change: people change them.
2019-11-08 09:04:34 +01:00
Gwendal Roué
c7a6ca964c
Doc cleanup
2019-11-08 09:04:34 +01:00
Gwendal Roué
acb0004cea
Move Full-Text documentation in its own file
2019-11-08 09:04:34 +01:00
Gwendal Roué
995d1b851a
Rename setter to assignment
2019-11-08 09:04:34 +01:00
Gwendal Roué
beab493dd5
Batch update documentation
2019-11-08 09:04:34 +01:00
Gwendal Roué
1c76eb7e9f
Test encapsulation of batch update
2019-11-08 09:04:34 +01:00
Gwendal Roué
205398b65a
Batch update
2019-11-08 09:04:34 +01:00
Gwendal Roué
61a6c5785f
More request.deleteAll() tests
2019-11-08 09:04:34 +01:00
Gwendal Roué
d983c6407c
Update the list of extended result codes
2019-11-08 09:03:55 +01:00
Gwendal Roué
7cb78a4c86
Makefile: support for Xcode 11.2.1 GM seed
2019-11-08 09:03:47 +01:00
Gwendal Roué
733f6883d0
More TODO
2019-11-07 12:01:07 +01:00
Gwendal Roué
594874656a
TODO
2019-11-06 08:24:22 +01:00
Gwendal Roué
6142020c50
Test association aggregate + inner join
2019-11-06 08:24:16 +01:00
Gwendal Roué
6f5b18854d
TODO: enhance SQLRequest documentation - #617
2019-11-05 19:05:54 +01:00
Gwendal Roué
b39c678a3d
Remove dead code
2019-11-05 08:55:30 +01:00
Gwendal Roué
a8a85d9a1f
Disable some Travis tests
...
WTF? Travis has removed some simulators in the Xcode 11 setup?
https://travis-ci.org/groue/GRDB.swift/jobs/604303972
https://travis-ci.org/groue/GRDB.swift/jobs/604303975
2019-10-30 08:20:35 +01:00
Gwendal Roué
182b92f010
Opt in for more Swiftlint rules
2019-10-27 19:27:53 +01:00
Gwendal Roué
a78f3699eb
Help compiling GRDB with SWIFT_VERSION 5.0 and all opt-in APIs
2019-10-27 19:20:21 +01:00
Gwendal Roué
89bc509170
Merge branch 'development'
2019-10-15 18:55:25 +02:00
Gwendal Roué
cfa615444e
v4.5.0
2019-10-15 08:27:56 +02:00
Gwendal Roué
35389ed978
Fix demo app paths
2019-10-15 07:45:05 +02:00
Gwendal Roué
caacecfd83
Remove obsolete GRDBPlus.podspec
2019-10-14 08:07:19 +02:00
Gwendal Roué
924b460c7a
Move playgrounds to the Documentation folder
2019-10-14 08:05:50 +02:00
Gwendal Roué
60a9cf4942
Move the demo app to the Documentation folder
2019-10-14 08:03:54 +02:00
Gwendal Roué
f9f3080819
Merge pull request #635 from groue/dev/sunsetFetchedRecordsController
...
Sunset FetchedRecordsController
2019-10-13 19:41:19 +02:00
Gwendal Roué
02c024e819
CocoaPods test apps don't rely on demo app, which requires Swift 5.1
2019-10-13 12:53:09 +02:00
Gwendal Roué
10249675ff
CHANGELOG
2019-10-12 15:19:50 +02:00
Gwendal Roué
b6553c0b59
Demo app: replace FetchedRecordsController with ValueObservation
2019-10-12 14:49:18 +02:00
Gwendal Roué
dfd3e50b9c
Sunset FetchedRecordsController
2019-10-12 14:10:56 +02:00
Gwendal Roué
79b8f7ed1d
Merge pull request #633 from groue/dev/CocoaPodsOptions
...
SQLITE_ENABLE_PREUPDATE_HOOK support with CocoaPods
2019-10-12 13:00:22 +02:00
Gwendal Roué
f184c626e0
SQLITE_ENABLE_PREUPDATE_HOOK documentation
2019-10-12 12:56:39 +02:00
Gwendal Roué
24ba40a77e
GRDB_SQLITE_ENABLE_PREUPDATE_HOOK exposes missing SQLITE_ENABLE_PREUPDATE_HOOK declarations
2019-10-10 20:16:15 +02:00
Gwendal Roué
66326d79a2
Minor doc fix
2019-10-10 19:50:30 +02:00
Gwendal Roué
fcd6c100ee
Fix Xcode 11.1 tvOS destination in Makefile
2019-10-10 18:33:53 +02:00
Gwendal Roué
95b7879e33
CHANGELOG
2019-10-10 18:33:17 +02:00
Gwendal Roué
404532f6f0
Add LockedBox to GRDBCustom
2019-10-10 13:52:33 +02:00
Gwendal Roué
751262cdb3
Better DatabaseReader tests
2019-10-10 13:51:44 +02:00
Gwendal Roué
0ac0d31796
Better snapshot tests
2019-10-10 13:51:33 +02:00
Gwendal Roué
9d5d7f0216
Database.withSchemaCache
2019-10-10 13:51:00 +02:00
Gwendal Roué
b59521e247
ReadWriteBox(value:) initializer
2019-10-10 13:50:42 +02:00
Gwendal Roué
7dd90c4af3
Don’t return Void
2019-10-10 13:49:55 +02:00
Gwendal Roué
b06e4ad298
Make DatabaseSnapshot.reentrantRead actually reentrant
2019-10-10 13:49:39 +02:00
Gwendal Roué
ff21f86341
DatabasePool setup: handle #102 in a savepoint
2019-10-10 13:49:12 +02:00
Gwendal Roué
c89d41adbb
Rename readerConfig to readerConfiguration
2019-10-10 13:48:20 +02:00
Gwendal Roué
b3e1bf6f05
Database.checkpoint
2019-10-10 13:45:01 +02:00
Gwendal Roué
fc57a69672
Rename beginSnapshotTransaction to beginSnapshotTransaction
2019-10-10 13:43:10 +02:00
Gwendal Roué
fdbc0c8ec8
LockedBox: for when one does not need single writer/multiple readers
2019-10-10 13:41:58 +02:00
Gwendal Roué
e3edf6daec
Snapshot documentation improvements
2019-10-10 13:38:43 +02:00
Gwendal Roué
1b8f7b95f4
CHANGELOG and thank you notice
2019-10-10 08:20:32 +02:00
Gwendal Roué
f756f39772
Merge pull request #632 from runhum/bugfix/readme-typos
...
Fix Accout -> Account
2019-10-09 17:28:45 +02:00
Runar Hummelsund
836f34297d
Fix Accout -> Account
2019-10-09 17:19:44 +02:00
Gwendal Roué
cd6d2579a5
Merge pull request #631 from groue/dev/issue630
...
Fix custom SQLite builds
2019-10-07 06:31:00 +02:00
Gwendal Roué
2892424006
CHANGELOG
2019-10-06 13:51:03 +02:00
Gwendal Roué
856792d688
Travis: test custom SQLite installation
2019-10-06 13:03:43 +02:00
Gwendal Roué
00115ba60c
More explicit documentation for the Pre-action script
2019-10-06 12:57:03 +02:00
Gwendal Roué
1cdddd35c8
Fix Xcode warnings
2019-10-06 12:55:35 +02:00
Gwendal Roué
ccaf4c942f
Test installation procedure for custom SQLite
2019-10-06 12:55:21 +02:00
Gwendal Roué
9f9fcb1a8e
Address #630
2019-10-06 12:21:49 +02:00
Gwendal Roué
b6955377c9
CHANGELOG
2019-10-06 11:49:45 +02:00
Gwendal Roué
5f085f2df8
Merge pull request #627 from groue/dev/SPM
...
Swift Package Manager: define SQLite as a system library target
2019-10-04 19:01:49 +02:00
Gwendal Roué
3cc5bb7c98
Test SPM integration from Xcode
2019-10-02 18:27:40 +02:00
Gwendal Roué
3dc4567233
SPM: Replace groue/CSQLite with a systemLibrary target
2019-10-02 18:02:49 +02:00
Gwendal Roué
37477adada
Merge pull request #622 from groue/dev/620
...
Allow observation of FTS4 virtual tables
2019-09-27 06:04:03 +02:00
Gwendal Roué
a44afd79e0
Makefile: support for Xcode 11.1
2019-09-26 13:15:32 +02:00
Gwendal Roué
61088ee2e7
Makefile: use iPhone 11 simulator with Xcode 11.0
2019-09-26 13:07:47 +02:00
Gwendal Roué
a721917d95
CHANGELOG
2019-09-26 09:03:10 +02:00
Gwendal Roué
a08b078c3e
Fix a swiftlint warning
2019-09-26 08:49:57 +02:00
Gwendal Roué
aa1cfb9020
Fix testSynchronizedFTS4Observation
2019-09-26 08:49:44 +02:00
Gwendal Roué
0d961ce48e
Simplify DatabaseRegion.iisModified(by:)
...
There is no "fast path" any longer. Performance impact should be minimal since most observers call `stopObservingDatabaseChangesUntilNextTransaction` on first impactful change anyway.
2019-09-26 06:55:54 +02:00
Gwendal Roué
1b753802dd
Address #620 , but a failing test remains
2019-09-25 20:03:00 +02:00
Gwendal Roué
3f3bdde10c
#620 explorations
2019-09-25 17:08:02 +02:00
Gwendal Roué
b2ea9e51d2
Help debugging authorization issues like #620
2019-09-25 17:04:26 +02:00
Gwendal Roué
27a05028db
SQLRequest+SQLLiteral: added literal initialization tests
2019-09-17 08:54:34 +02:00
Gwendal Roué
725e16390b
Fix failing test for eraseDatabaseOnSchemaChange
2019-09-17 08:22:36 +02:00
Gwendal Roué
6b83ba3585
Failing test for eraseDatabaseOnSchemaChange
2019-09-17 08:18:45 +02:00
Gwendal Roué
62e50b1a73
Simplify eraseDatabaseOnSchemaChange implementation
2019-09-17 08:10:28 +02:00
Gwendal Roué
bf7192cef1
Siimplify Row: Swift has better ARC optimizations now
2019-09-13 19:39:45 +02:00
Gwendal Roué
18d634b171
Update performance tests for Xcode 11
2019-09-13 19:11:21 +02:00
Gwendal Roué
a5b5bccc61
Update TODO.md
2019-09-13 14:04:43 +02:00
Gwendal Roué
988852a438
Makefile/Travis: min tvOS 10.2 on Xcode 10.3
2019-09-13 04:59:51 +02:00
Gwendal Roué
2313713603
Makefile/Travis: min iOS 10.3.1 on Xcode 10.3
2019-09-13 04:56:32 +02:00
Gwendal Roué
6a5ce71c12
Makefile/Travis: Don't code sign
2019-09-12 07:09:27 +02:00
Gwendal Roué
9872e945ba
Makefile/Travis: Xcode 11 use iPhone Xs + iOS 13.0
2019-09-11 19:48:50 +02:00
Gwendal Roué
b3341cc552
Makefile/Travis: Xcode 11 min iOS is 10.3.1
2019-09-11 19:42:41 +02:00
Gwendal Roué
0a1e3afa82
Makefile/Travis: Xcode 11
2019-09-11 08:52:18 +02:00
Gwendal Roué
483728bfbf
Fix typo
2019-09-09 08:43:29 +02:00
Gwendal Roué
b459536b66
TODO
2019-09-07 15:55:07 +02:00
Gwendal Roué
d990b47814
Fix compiler warnings
2019-09-07 12:51:46 +02:00
Gwendal Roué
aa157a77d2
Merge branch 'development'
2019-09-06 08:07:49 +02:00
Gwendal Roué
254f3760b4
v4.4.0
2019-09-06 08:06:15 +02:00
Gwendal Roué
896ec284e1
Merge pull request #602 from groue/dev/passphrase-refactoring
...
Don't keep the sqlCipher passphrase in memory longer than necessary
2019-09-06 07:59:35 +02:00
Gwendal Roué
036178a55a
CHANGELOG
2019-09-06 07:52:18 +02:00
Gwendal Roué
3ff94c7607
CHANGELOG
2019-09-06 07:44:15 +02:00
Gwendal Roué
5c125fae8b
Add a "Managing the lifetime of the passphrase string" security consideration
2019-09-05 13:28:19 +02:00
Gwendal Roué
642089f41a
Suggest using Data Protection
2019-09-04 19:16:14 +02:00
Gwendal Roué
6285a59926
Fix sample code
2019-09-04 19:09:32 +02:00
Gwendal Roué
4ba199f0aa
Organization
2019-09-04 18:53:11 +02:00
Gwendal Roué
75f3540b8f
Typo
2019-09-04 18:50:16 +02:00
Gwendal Roué
bfa1689d7d
Typo
2019-09-04 18:49:47 +02:00
Gwendal Roué
a1c96f9093
Another suggestion by @michaelkirk-signal
2019-09-04 18:46:44 +02:00
Gwendal Roué
32842c22f0
Wording
2019-09-04 18:38:37 +02:00
Gwendal Roué
8e764aadd2
Fix typo
2019-09-04 18:36:53 +02:00
Gwendal Roué
ad9b32f9a2
Fix ambiguous wording
2019-09-04 18:35:52 +02:00
Gwendal Roué
cb9323480c
Fix typo
2019-09-04 18:31:32 +02:00
Gwendal Roué
cc7d19d925
Apply wording by @michaelkirk-signal
2019-09-04 18:24:25 +02:00
Gwendal Roué
c2e68d95fe
Passphrase documentation
2019-09-04 08:54:22 +02:00
Gwendal Roué
7b3275ce45
Make lastErrorCode and lastErrorMessage public
2019-09-04 08:54:06 +02:00
Gwendal Roué
9a69dbd8a1
Remove testDatabaseQueueWithPassphraseToDatabaseQueueWithWrongPassphraseAndRetry
2019-09-03 13:26:16 +02:00
Gwendal Roué
f2198f5af7
Passphrase documentation (WIP)
2019-09-03 09:11:52 +02:00
Gwendal Roué
8150dda951
Passphrase documentation (WIP)
2019-09-03 09:10:02 +02:00
Gwendal Roué
d4928eff99
Test that prepareDatabase errors are rethrown
2019-09-03 09:07:14 +02:00
Gwendal Roué
1f48405b5c
Rewrite passphrase documentation (WIP)
2019-09-03 08:56:41 +02:00
Gwendal Roué
55d4a9c029
Test for attempting several passphrases
2019-09-03 08:56:16 +02:00
Gwendal Roué
e6bc1c40fe
CHANGELOG
2019-09-03 08:55:57 +02:00
Gwendal Roué
b9e2f35728
Deprecate change(passphrase:), and provide an alternative solution
2019-09-02 09:05:37 +02:00
Gwendal Roué
6fc7794e64
Restore testDeprecatedPassphrase
2019-09-02 08:38:15 +02:00
Gwendal Roué
1d71b9f311
Update testPrepareDatabase for snapshots
2019-09-02 08:38:15 +02:00
Gwendal Roué
9f26777cc3
prepareDatabase did not need to be deprecated, after all
2019-09-02 08:38:15 +02:00
Gwendal Roué
0b9fe9ae92
Documentation
2019-09-02 08:38:15 +02:00
Gwendal Roué
1ba4e8c771
Fix failing test for change(passphrase:)
2019-09-02 08:38:15 +02:00
Gwendal Roué
aded6d206d
Failing test for change(passphrase:)
2019-09-02 08:38:15 +02:00
Gwendal Roué
d644f01557
Deprecate Configuration.passphrase, introduce Database.usePassphrase(_:)
2019-09-02 08:38:15 +02:00
Gwendal Roué
eb112c912c
Fix Xcode 11 warnings in SQLCipher test projects
2019-09-02 08:37:28 +02:00
Gwendal Roué
d8b0b95842
DatabaseConfiguration.onConnect
2019-09-02 08:37:28 +02:00
Gwendal Roué
8f66114042
Deprecate Configuration.prepareDatabase
2019-09-02 08:37:28 +02:00
Gwendal Roué
943eca10a6
TODO
2019-09-02 08:37:28 +02:00
Gwendal Roué
82f56ee596
Merge pull request #603 from groue/dev/pool-barrier
...
DatabasePool write barrier
2019-09-02 08:36:01 +02:00
Gwendal Roué
00e2c2a626
Fix testBarrierIsLockedByOneUnfinishedRead for Swift 4.2
2019-09-02 05:39:38 +02:00
Gwendal Roué
c7e4492846
Fix DatabasePool.change(passphrase:)
2019-09-01 19:33:03 +02:00
Gwendal Roué
04a6e969a5
DatabasePool.barrierWriteWithoutTransaction documentation
2019-09-01 17:30:01 +02:00
Gwendal Roué
5b4a225dc3
DatabasePool.barrierWriteWithoutTransaction tests
2019-09-01 17:19:12 +02:00
Gwendal Roué
e3efcc0d87
CHANGELOG
2019-09-01 17:03:22 +02:00
Gwendal Roué
8580023eda
DatabasePool.barrierWriteWithoutTransaction
2019-09-01 16:46:17 +02:00
Gwendal Roué
473f6ff0d8
Tests for Pool.barrier
2019-09-01 16:32:39 +02:00
Gwendal Roué
e495df0114
Pool.barrier
2019-09-01 16:32:18 +02:00
Gwendal Roué
06d6c3866b
ReadWriteBox Cleanup
2019-09-01 16:28:16 +02:00
Gwendal Roué
da459386a0
Merge branch 'development'
2019-08-28 08:25:35 +02:00
Gwendal Roué
1023f260b7
v4.3.0
2019-08-28 08:22:38 +02:00
Gwendal Roué
a6fa76a954
More TODO
2019-08-28 08:07:19 +02:00
Gwendal Roué
3e48eb703e
CHANGELOG
2019-08-24 10:57:24 +02:00
Gwendal Roué
7cf10bfb67
Merge pull request #600 from outfoxx/tvos-support
...
Add support for tvOS
2019-08-24 10:49:20 +02:00
Kevin Wooten
055e33b381
Add missing tvOS stages to Xcode 10.1
2019-08-23 10:54:58 -07:00
Kevin Wooten
7fffc2791e
Bump min tvOS to 10.0
...
tvOS 9.0 appears to have issues with running tests
2019-08-23 10:54:27 -07:00
Kevin Wooten
4d3f0bd88b
Add support for tvOS
...
## Xcode Project
- [x] tvOS Target
- [x] tvOS Unit Test Target
- [x] tvOS Scheme
## Makefile
- [x] tvOS Target Min/Max
- [x] tvOS Actions (copies iOS)
## CI
- [x] tvOS Travis stages
## Packaging
- [x] CocoaPods - Podfile Updated
- [x] ~SwiftPM - Not Changes Required~
## Documentation
- [x] Readme Updated
2019-08-22 13:15:31 -07:00
Gwendal Roué
881d4c6bfc
TODO
2019-08-22 05:34:43 +02:00
Gwendal Roué
ba02713d78
TODO
2019-08-14 07:55:49 +02:00
Gwendal Roué
6f6e382948
Merge branch 'development'
2019-08-13 07:58:27 +02:00
Gwendal Roué
b7c7892a74
v4.2.1
2019-08-13 07:56:28 +02:00
Gwendal Roué
a6112a5ca2
Merge pull request #592 from groue/dev/issue-591
...
Fix Data interpolation
2019-08-12 12:34:24 +02:00
Gwendal Roué
d219f5589e
CHANGELOG
2019-08-11 13:14:44 +02:00
Gwendal Roué
01a1a7c962
Fix typo
2019-08-11 13:04:24 +02:00
Gwendal Roué
8e38af9aae
Fix #591
2019-08-11 13:03:43 +02:00
Gwendal Roué
d28847bf3d
Failing test for https://github.com/groue/GRDB.swift/issues/591
2019-08-11 12:56:29 +02:00
Gwendal Roué
24c25dfd04
Explicit tests for DatabaseValueConvertible interpolation
2019-08-11 12:25:48 +02:00
Gwendal Roué
18e09cda11
TODO
2019-08-11 12:04:03 +02:00
Gwendal Roué
fb54c2ae45
Merge branch 'development'
2019-08-06 12:10:28 +02:00
Gwendal Roué
a08e8f0ef6
Merge pull request #587 from groue/GRDB-4.2
...
GRDB 4.2.0
2019-08-06 12:09:28 +02:00
Gwendal Roué
bd81f6e7a6
v4.2.0
2019-08-06 06:58:13 +02:00
Gwendal Roué
eea8f7b1e9
Use ValueObservation.tracking(value:) in demo app
2019-08-06 06:54:39 +02:00
Gwendal Roué
c734eba245
Upgrade performance tests
...
Upgrade Realm to v3.17.3
Upgrade FMDB to v2.7.4
Upgrade SQLite.swift to v0.12.2
2019-08-05 20:56:49 +02:00
Gwendal Roué
71bf6fdbcf
TODO
2019-08-05 20:30:29 +02:00
Gwendal Roué
226410caf8
TODO cleanup
2019-08-05 20:19:48 +02:00
Gwendal Roué
82d80d4120
Merge pull request #586 from groue/dev/value-observation-variable-region
...
Automatic region tracking for ValueObservation
2019-08-05 19:47:59 +02:00
Gwendal Roué
80baa798d6
CHANGELOG
2019-08-05 12:39:37 +02:00
Gwendal Roué
ba1142ac58
Fix typo
2019-08-05 12:34:23 +02:00
Gwendal Roué
e279d287b9
Even more fostering of ValueObservation.tracking(fetch:) in README
2019-08-05 12:32:12 +02:00
Gwendal Roué
87b474029e
Test that observations of tuples are easy to consume.
2019-08-05 12:31:39 +02:00
Gwendal Roué
8af3b58e54
Fix documentation
2019-08-05 09:04:14 +02:00
Gwendal Roué
a770d46843
Rename ValueObservation.tracking(fetch:) to ValueObservation.tracking(value:)
2019-08-05 09:03:05 +02:00
Gwendal Roué
efaa387ee2
Remove useless documentation paragraph
2019-08-05 08:38:25 +02:00
Gwendal Roué
f849c38f43
Foster ValueObservation.tracking(fetch:) in README
2019-08-05 08:34:47 +02:00
Gwendal Roué
ea43468a6f
Documentation
2019-08-05 07:52:32 +02:00
Gwendal Roué
fd18a7b75d
Fix for Xcode < 10.2
2019-08-05 07:48:34 +02:00
Gwendal Roué
fe9c4381e0
Makefile: support for Xcode 10.3, and fix test_performance target
2019-08-04 14:59:48 +02:00
Gwendal Roué
0f2c5cd8a0
Fix failling test for rowid optimization in Database.recordingSelectedRegion
2019-08-04 14:37:40 +02:00
Gwendal Roué
9c864bc768
Failling test for rowid optimization in Database.recordingSelectedRegion
2019-08-04 14:37:10 +02:00
Gwendal Roué
dc146a431c
Tests for Database.recordingSelectedRegion
2019-08-04 14:36:20 +02:00
Gwendal Roué
c718889418
Update ValueObservation documentation
2019-08-04 11:45:43 +02:00
Gwendal Roué
d61522ee5f
Update ValueObservation documentation
2019-08-04 11:42:54 +02:00
Gwendal Roué
c4481f4e79
Fix ValueObservationRegionRecordingTests for SQLite < 3.19.0
2019-08-04 10:44:08 +02:00
Gwendal Roué
731a83908d
Test automatic ValueObservation region tracking with various schedulings
2019-08-03 18:03:05 +02:00
Gwendal Roué
62a12d94ce
CHANGELOG
2019-08-03 17:41:39 +02:00
Gwendal Roué
4f025e59af
Documentation
2019-08-03 17:21:42 +02:00
Gwendal Roué
2039cd4874
Documentation
2019-08-03 17:18:47 +02:00
Gwendal Roué
1b94c38b4f
Documentation
2019-08-03 17:16:03 +02:00
Gwendal Roué
f556fc39ab
Documentation
2019-08-03 17:01:16 +02:00
Gwendal Roué
a5c8f23ba4
Support for variable observed region of ValueObservation based on actual selection
2019-08-03 16:32:33 +02:00
Gwendal Roué
af0ac156aa
More explicit observation initializers
2019-08-03 14:21:46 +02:00
Gwendal Roué
8d5cddd293
Merge pull request #585 from groue/dev/issue-583
...
Fix use of SQLite authorizers
2019-08-03 13:37:50 +02:00
Gwendal Roué
38599b007f
CHANGELOG
2019-08-03 07:15:55 +02:00
Gwendal Roué
5908c26a79
Fix Makefile so that it can checkoutt the FMDB submodule
2019-08-03 06:48:08 +02:00
Gwendal Roué
d32b5271bd
Performance tests: update paths for Xcode 10.3
2019-08-03 06:43:31 +02:00
Gwendal Roué
55803b29b0
Keep a memory of how to trigger #583 error
2019-08-02 17:56:47 +02:00
Gwendal Roué
870d22fd95
Explain why we call sqlite3_set_authorizer once per database connection
2019-08-02 16:06:19 +02:00
Gwendal Roué
c6cb92d757
Cleanup
2019-08-02 15:40:19 +02:00
Gwendal Roué
3ab8a34d58
Fix a Swiftlint warning
2019-08-02 15:34:49 +02:00
Gwendal Roué
bd9104d29f
Cleanup
2019-08-02 15:34:25 +02:00
Gwendal Roué
e351b79526
Database only exposes its current authorizer with the withAuthorizer(_:_:) wrapper method.
2019-08-02 15:16:48 +02:00
Gwendal Roué
a59f4ef096
Fix #583 by keeping a single authorizer active for the whole lifetime of a database connection
...
SQLite invalidates statements when authorizer changes, which can lead to undesired behaviors. This is why we now call sqlite3_set_authorizer only once. See http://sqlite.1065341.n5.nabble.com/Issue-report-sqlite3-set-authorizer-triggers-error-4-516-SQLITE-ABORT-ROLLBACK-during-statement-itern-td107972.html
2019-08-02 14:17:48 +02:00
Gwendal Roué
bb959fa5c3
Add failing test for #583
2019-08-02 14:14:48 +02:00
Gwendal Roué
2b3e5a06db
CONTRIBUTING: mention GRDBCombine
2019-07-31 08:07:52 +02:00
Gwendal Roué
e58b652970
CONTRIBUTING: static libray is possible since #570
2019-07-31 08:04:38 +02:00
Gwendal Roué
62f5bd1940
CONTRIBUTING: fix inner link
2019-07-31 08:03:04 +02:00
Gwendal Roué
63cb9f2ad2
CONTRIBUTING: mention #575
2019-07-31 08:01:39 +02:00
Gwendal Roué
19cf569036
Add @chrisballinger to the thank you notice
2019-07-31 07:43:16 +02:00
Gwendal Roué
e23cb4ed76
Merge pull request #570 from Rightpoint/fix-issue-360-modulemap
...
Allow Swift static library integration via CocoaPods
2019-07-31 06:59:05 +02:00
Chris Ballinger
bdf802ab34
Update CHANGELOG and README
2019-07-30 16:34:19 -07:00
Gwendal Roué
507ae0dfdc
Tests for framework & static CocoaPods integration
2019-07-30 16:33:20 -07:00
Chris Ballinger
56af3ceff6
Remove modulemap from podspec
2019-07-30 16:33:20 -07:00
Gwendal Roué
4ffb59719a
Fix #580
2019-07-30 06:57:03 +02:00
Gwendal Roué
bb0c11f7d5
TODO
2019-07-29 09:11:47 +02:00
Gwendal Roué
82c8958c44
Merge pull request #576 from groue/dev/fullltext
...
Expose table name and full-text filtering methods to DerivableRequest
2019-07-28 14:00:59 +02:00
Gwendal Roué
e8ad3871f7
Fix for Xcode 10.0, 10.1
2019-07-28 08:59:23 +02:00
Gwendal Roué
53aaca480e
Merge branch 'development' into dev/fullltext
...
# Conflicts:
# CHANGELOG.md
2019-07-27 23:11:00 +02:00
Gwendal Roué
23678ab9da
Update documentatiion for #577
2019-07-27 23:06:36 +02:00
Gwendal Roué
2996a24de9
Merge pull request #577 from groue/dev/renameAliased
...
Rename aliased(_:) methods to forKey(_:)
2019-07-27 22:59:09 +02:00
Gwendal Roué
dba8d636bb
Less TODO
2019-07-27 17:10:31 +02:00
Gwendal Roué
faa7bf7e53
Less TODO
2019-07-27 17:10:01 +02:00
Gwendal Roué
05fdf5cfdd
CHANGELOG
2019-07-27 17:08:53 +02:00
Gwendal Roué
b4ef6a3dad
CHANGELOG
2019-07-27 17:08:11 +02:00
Gwendal Roué
0c709294a0
Fix documentation
2019-07-27 16:45:06 +02:00
Gwendal Roué
d15bb190eb
Enable Code Coverage in GRDBCustomSQLiteOSX target
2019-07-27 16:36:53 +02:00
Gwendal Roué
ede4572da3
Update tests for the new forKey(_:) methods
2019-07-27 16:34:17 +02:00
Gwendal Roué
b4929bb638
Rename aliased(_:) to forKey(_:)
2019-07-27 16:29:09 +02:00
Gwendal Roué
52cd98547d
Fix DerivableRequest.matching(_:) tests so that OSX 10.0 is not required
2019-07-27 15:58:33 +02:00
Gwendal Roué
5cced46a61
API diff
2019-07-27 15:23:29 +02:00
Gwendal Roué
3f8e994501
API diff
2019-07-27 15:23:29 +02:00
Gwendal Roué
ae60bc6e18
CHANGELOG
2019-07-27 15:23:29 +02:00
Gwendal Roué
462e5eee24
Cleanup
2019-07-27 15:23:29 +02:00
Gwendal Roué
c1a0b7f9e2
Add missing Foundation imports ( https://github.com/openbitapp/GRDB.swift/commit/9669e3007f42359e4165759208c5df8455531b12 )
2019-07-27 15:23:29 +02:00
Gwendal Roué
89001f11c3
Spot that annotations are another challenge on the way to optional + required join chaining
2019-07-27 15:23:29 +02:00
Gwendal Roué
026db8f19a
Tests for TableRequest requirement on DerivableRequest, including the new support for full-text search
2019-07-27 15:23:29 +02:00
Gwendal Roué
2d1f218ec5
Force TableRecord on Association origin & destination, append TableRequest to DerivableRequest requirements
2019-07-27 15:23:29 +02:00
Gwendal Roué
4d558488c0
Expose matching(_:) on TableRequest&FilteredRequest
2019-07-27 15:23:29 +02:00
Gwendal Roué
bf73f0ded2
CHANGELOG
2019-07-27 15:22:13 +02:00
Gwendal Roué
b8cc4c30f9
TODO
2019-07-27 12:47:39 +02:00
Gwendal Roué
cf2a6763b5
Merge pull request #574 from groue/dev/swiftlint
...
SwiftLint
2019-07-27 12:46:53 +02:00
Gwendal Roué
e65e2a3bd1
CHANGELOG
2019-07-26 21:18:51 +02:00
Gwendal Roué
56d355c903
The kiss of Xcode 10.3
2019-07-26 21:09:19 +02:00
Gwendal Roué
35ceeebb3d
Style tweaks
2019-07-26 20:56:33 +02:00
Gwendal Roué
d9e1a04cc2
Fix FTS3 & FTS4 regressions
2019-07-26 19:52:34 +02:00
Gwendal Roué
d7a51c39ca
Remove Swiift 5 conversion warning
2019-07-26 19:30:59 +02:00
Gwendal Roué
756f1b9387
swiftlint: remove large_tuple, add unused_declaration
2019-07-26 19:30:52 +02:00
Gwendal Roué
df6bb8761c
Swiftlint + whitespace
2019-07-01 08:57:53 +02:00
Gwendal Roué
b3215cc471
Less TODO
2019-06-30 13:43:12 +02:00
Gwendal Roué
7defc8ea07
Merge pull request #563 from groue/dev/eager-loading-from-optional-to-one
...
More tests for eager loading of hasMany associations
2019-06-30 10:24:33 +02:00
Gwendal Roué
2b401fe745
We don't really care about useless LEFT JOINs
2019-06-29 15:32:13 +02:00
Gwendal Roué
3e4c6fd102
Add more eager loading SQL tests (and spot a possible optimization)
2019-06-29 15:21:24 +02:00
Gwendal Roué
9946880c5e
Add tests for including(optional: hasOne.including(all: hasMany))
2019-06-29 14:12:46 +02:00
Gwendal Roué
738ea4ed10
Merge pull request #562 from groue/dev/fix-561
...
Fix crash when using more than one DatabaseCollation
2019-06-29 10:31:53 +02:00
Gwendal Roué
498c65a64c
CHANGELOG
2019-06-28 19:06:49 +02:00
Gwendal Roué
fbc50dd2d1
CHANGELOG
2019-06-28 19:06:11 +02:00
Gwendal Roué
7802eb356d
Fix failing test for #561
2019-06-28 19:02:21 +02:00
Gwendal Roué
036e236dc0
Failing test for #561
2019-06-28 19:01:58 +02:00
Gwendal Roué
ff2f8bd88e
More TODO
2019-06-28 17:18:00 +02:00
Gwendal Roué
1d47fb16be
TODO: predicates
2019-06-26 09:34:50 +02:00
Gwendal Roué
5345ccd53e
Merge pull request #560 from bellebethcooper/patch-1
...
Minor typo fix
2019-06-26 09:31:29 +02:00
bellebethcooper
e1ee2afba1
Minor typo fix
2019-06-26 17:24:26 +10:00
Gwendal Roué
d290102d9c
v4.1.1
2019-06-22 09:14:48 +02:00
Gwendal Roué
de3f32b6ad
Merge pull request #552 from groue/GRDB-4.1
...
GRDB 4.1
2019-06-20 08:13:03 +02:00
Gwendal Roué
cb517dc5c9
Update release date
2019-06-20 08:08:32 +02:00
Gwendal Roué
49d098eb7b
Merge pull request #555 from groue/dev/readOnlyError
...
Avoid a crash when read-only access can't be established
2019-06-19 08:04:00 +02:00
Gwendal Roué
caa624f56b
Readonly: avoid hitting the db if unnecessary
2019-06-19 04:16:07 +02:00
Gwendal Roué
c190b1355e
CHANGELOG
2019-06-18 20:45:23 +02:00
Gwendal Roué
335850c5fe
Fix #554
2019-06-18 20:40:49 +02:00
Gwendal Roué
2730f8f806
Fix DatabasePool.concurrentRead for Swift < 5
2019-06-18 08:37:21 +02:00
Gwendal Roué
dc2871d5eb
DatabaseWriter.spawnConcurrentRead (experimental method)
2019-06-18 08:21:55 +02:00
Gwendal Roué
cdccac8c86
Documentation
2019-06-17 19:52:55 +02:00
Gwendal Roué
173c8af3ef
asyncConcurrentRead documentation
2019-06-17 19:48:25 +02:00
Gwendal Roué
3cea3db2b4
DatabasePool.asyncConcurrentRead
2019-06-17 19:35:11 +02:00
Gwendal Roué
7526276f98
Documentation
2019-06-16 14:54:42 +02:00
Gwendal Roué
b9925d1620
Avoid iPhone XS/iPhone Xs ambiguity
2019-06-15 14:16:52 +02:00
Gwendal Roué
68d4889864
Ignore various Podfile.lock
2019-06-15 14:14:45 +02:00
Gwendal Roué
c5cb8f44f3
Fix Xcode warnings and update GRDBDemoiOS to latest APIs
2019-06-15 13:29:24 +02:00
Gwendal Roué
309fa97606
Prepare 4.1.0: README.md
2019-06-15 12:44:52 +02:00
Gwendal Roué
a2ba53ab26
Prepare 4.1.0: Info.plist
2019-06-15 12:37:18 +02:00
Gwendal Roué
3a98f337bd
Prepare 4.1.0: GRDB.swift.podspec
2019-06-15 12:36:40 +02:00
Gwendal Roué
8663a1bf3f
Prepare 4.1.0: CustomSQLiteBuilds.md
2019-06-15 12:35:39 +02:00
Gwendal Roué
fc13454f29
Prepare 4.1.0: Makefile
2019-06-15 12:34:53 +02:00
Gwendal Roué
8cadb97b2f
Prepare 4.1.0: CHANGELOG
2019-06-15 12:33:13 +02:00
Gwendal Roué
278e4190db
Enhance SQLite error 10/23 FAQ with sample code
2019-06-15 04:55:53 +02:00
Gwendal Roué
d3fe40127c
Forget SR-1570
2019-06-15 04:44:16 +02:00
Gwendal Roué
3f9b94f95e
Group SQLite error FAQs together
2019-06-15 04:39:07 +02:00
Gwendal Roué
02e1793cc9
Move configuration requirement to DatabaseReader
2019-06-15 04:32:14 +02:00
Gwendal Roué
e40e37bd04
FetchRequest.makePreparedRequest
2019-06-15 04:24:29 +02:00
Gwendal Roué
65de31a335
Polishing
2019-06-14 22:01:57 +02:00
Gwendal Roué
66552ebc77
Merge pull request #550 from groue/dev/async
...
Asynchronous Database Access Methods
2019-06-14 18:58:06 +02:00
Gwendal Roué
4a79a20116
Foster asyncWrite over asyncWriteWithoutTransaction
2019-06-14 08:10:16 +02:00
Gwendal Roué
f03fd276f1
asyncWrite's completion handler accepts a database connection
...
This guarantees that the asyncWrite method provides exclusive write access for the whole duration of (transaction + result handling).
2019-06-14 08:03:13 +02:00
Gwendal Roué
0e031cd5a9
CHANGELOG
2019-06-13 22:40:51 +02:00
Gwendal Roué
cd3c84d19e
Stop fostering ValueObservation.start(in:onChange:) without error handling
2019-06-13 22:37:21 +02:00
Gwendal Roué
29cfebdec0
GRDBCombine is a companion library
2019-06-13 20:26:44 +02:00
Gwendal Roué
d0e839c2b4
Note about availability of asynchronous APIs
2019-06-13 20:13:19 +02:00
Gwendal Roué
d18c65fbe5
Documentation for asynchronous APIs
2019-06-13 20:06:58 +02:00
Gwendal Roué
07ade5ee75
Merge branch 'development' into dev/async
2019-06-13 19:20:57 +02:00
Gwendal Roué
3897e9824c
CHANGELOG
2019-06-13 19:20:46 +02:00
Gwendal Roué
0c2875a310
TODO
2019-06-13 14:39:50 +02:00
Gwendal Roué
f7946834f1
Fix compiler checks for async methods
2019-06-13 14:14:35 +02:00
Gwendal Roué
0ad819902d
Tests for asyncRead, asyncWrite, asyncWriteWithoutTransaction
2019-06-13 13:42:31 +02:00
Gwendal Roué
b715ca5eb8
DatabaseWriter.asyncWrite
2019-06-13 13:20:59 +02:00
Gwendal Roué
bc7c3e5eb1
DatabaseReader.asyncRead
2019-06-13 08:45:49 +02:00
Gwendal Roué
9650783ea4
Update code snippets for ValueObservation.start
2019-06-13 06:13:26 +02:00
Gwendal Roué
4b0e43f884
TODO
2019-06-13 05:29:05 +02:00
Gwendal Roué
f120632e36
Rename unsafeAsyncWrite to asyncWriteWithoutTransaction
...
Hold on: a more complete set of async APIs will come eventually.
2019-06-13 05:25:56 +02:00
Gwendal Roué
d42b515fb6
Documentation
2019-06-13 04:56:05 +02:00
Gwendal Roué
47b813057a
Merge pull request #549 from groue/dev/CombineSupport
...
Support for Combine
2019-06-13 04:28:09 +02:00
Gwendal Roué
1db76a9d85
Merge pull request #540 from groue/dev/SQLite-3.28.0
...
Update SQLite to 3.28.0
2019-06-13 04:24:29 +02:00
Gwendal Roué
a59546203f
CHANGELOG
2019-06-12 19:54:39 +02:00
Gwendal Roué
085f4c9597
removeDuplicates
2019-06-12 19:48:32 +02:00
Gwendal Roué
bec731d763
Rename file
2019-06-12 19:40:07 +02:00
Gwendal Roué
b0be32be71
Merge branch 'development' into dev/SQLite-3.28.0
2019-06-12 19:09:40 +02:00
Gwendal Roué
d774d353e7
Upgrade swiftlyfalling/SQLiteLib
2019-06-12 19:09:19 +02:00
Gwendal Roué
44138c433f
Refactor ValueObservation scheduling
2019-06-11 21:45:27 +02:00
Gwendal Roué
f502db40b0
combine instance method
2019-06-10 23:24:02 +02:00
Gwendal Roué
86f7ab74a7
More ValueReducers namespacing
2019-06-10 22:18:20 +02:00
Gwendal Roué
cea22f261e
observationForCount, observationForAll, observationForFirst documentation
2019-06-10 20:19:08 +02:00
Gwendal Roué
da34694663
observationForCount, observationForAll, observationForFirst
2019-06-10 20:19:00 +02:00
Gwendal Roué
085fd13ef6
CHANGELOG
2019-06-09 12:05:05 +02:00
Gwendal Roué
50c9792eb2
Merge pull request #546 from openbitapp/master
...
fix errors for Xcode 11 beta
2019-06-09 11:57:59 +02:00
Gwendal Roué
795056a3b6
Restore swift-tools-version:4.2
2019-06-09 11:47:08 +02:00
Gwendal Roué
aca4db2c96
Move reducers to the ValueReducers namespace
2019-06-09 11:43:44 +02:00
Gwendal Roué
cdec1a4318
Remove ImmediateValueReducer
2019-06-09 11:43:21 +02:00
Gwendal Roué
3971058dd8
Hide request from DatabaseValue reducers
2019-06-08 17:28:01 +02:00
Roberto Casula
b6f988194c
fix errors for Xcode 11 beta
2019-06-08 15:46:48 +02:00
Gwendal Roué
ad24bd8021
RawValueReducer is an ImmediateValueReducer
2019-06-08 14:07:29 +02:00
Gwendal Roué
096096684e
SPM requires Swift 5: don't test Xcode 10.1 and 10
2019-06-07 07:35:00 +02:00
Gwendal Roué
038a8d2d88
SPM requires Swift 5
2019-06-06 21:06:43 +02:00
Gwendal Roué
5abd21fa4a
swift-tools-version:5.0
2019-06-06 21:01:52 +02:00
Gwendal Roué
a80d6731a8
swift-tools-version:5.0
2019-06-06 20:57:08 +02:00
Gwendal Roué
e7ed67d41d
Introduce ImmediateValueReducer
2019-06-06 20:05:25 +02:00
Gwendal Roué
da042eaae9
Clean up ValueObservation fetching system
2019-06-06 19:56:41 +02:00
Gwendal Roué
416d2cae1e
Make sure ValueObservation.combine results can be splatted
2019-06-06 19:08:22 +02:00
Gwendal Roué
ac85ffff84
Database.readOnly is reentrant
2019-06-06 18:58:44 +02:00
Gwendal Roué
e3d2559b9d
Add tests for combining up to 8 ValueObservation
2019-06-05 08:58:42 +02:00
Gwendal Roué
c1a926e6dc
Combine up to 8 ValueObservation
2019-06-05 08:39:38 +02:00
Gwendal Roué
b31f46cbc0
Cleanup
2019-06-05 08:31:20 +02:00
Gwendal Roué
6b236ceb5c
Import ValueObservation combine reducers from #541
2019-06-05 08:14:36 +02:00
Gwendal Roué
30812792df
Merge branch 'development' into dev/SQLite-3.28.0
...
# Conflicts:
# CHANGELOG.md
2019-06-04 18:46:07 +02:00
Gwendal Roué
c1cbe51747
Merge pull request #542 from groue/dev/FetchRequest-cleanup
...
Move eager loading of hasMany associations to FetchRequest
2019-06-04 18:41:27 +02:00
Gwendal Roué
1416c6e179
CHANGELOG
2019-06-01 17:20:20 +02:00
Gwendal Roué
91ff9ce0b8
Documentation
2019-06-01 17:16:04 +02:00
Gwendal Roué
5099305257
Documentation
2019-06-01 17:11:09 +02:00
Gwendal Roué
92c13c3ea8
Documentation
2019-06-01 17:01:42 +02:00
Gwendal Roué
872f394339
Move eager loading of hasMany associations to FetchRequest
2019-06-01 16:08:05 +02:00
Gwendal Roué
deaf60263d
TODO
2019-05-31 08:44:54 +02:00
Gwendal Roué
7e53901544
New example of record definition
2019-05-31 08:19:25 +02:00
Gwendal Roué
ce95590b8a
New example of record definition
2019-05-31 07:59:33 +02:00
Gwendal Roué
c42cf38fc2
TODO
2019-05-30 20:32:18 +02:00
Gwendal Roué
dc4a66fe2c
Changelog
2019-05-30 14:10:47 +02:00
Gwendal Roué
c9ab5eb551
Update SQLite version in documentation
2019-05-30 14:10:40 +02:00
Gwendal Roué
4e33b06f0b
Wait for https://github.com/swiftlyfalling/SQLiteLib/pull/41 to be merged
2019-05-30 14:03:30 +02:00
Gwendal Roué
ff45864454
Merge pull request #539 from groue/dev/JoinableRequest
...
Expose joining methods of both requests and associations
2019-05-30 08:50:05 +02:00
Gwendal Roué
fb3c722724
Merge branch 'development' into dev/JoinableRequest
...
# Conflicts:
# CHANGELOG.md
2019-05-29 20:04:54 +02:00
Gwendal Roué
6c93e1509d
Merge pull request #538 from Timac/#530
...
Add FAQ to clarify "Wrong number of statement arguments" error with "like '%?%'"
2019-05-29 19:59:27 +02:00
Gwendal Roué
0680e5abd7
Thank you notice
2019-05-29 19:55:32 +02:00
Gwendal Roué
aefaa86302
CHANGELOG
2019-05-29 19:54:40 +02:00
Gwendal Roué
ed509c5349
Merge branch 'development' into #530
2019-05-29 19:50:40 +02:00
Gwendal Roué
0232c8e792
Slight rewriting: focus on what's wrong, and provide a single fix because choices are complicated
2019-05-29 19:48:33 +02:00
Gwendal Roué
cba1113a03
Wording
2019-05-29 19:27:04 +02:00
Gwendal Roué
1b4c3808d1
CHANGELOG
2019-05-29 19:23:09 +02:00
Gwendal Roué
ac583e8fdf
Fix link
2019-05-29 19:18:23 +02:00
Gwendal Roué
fff7d1c49e
Rewrite the request chapter
2019-05-29 19:17:09 +02:00
Gwendal Roué
0fe96619bf
Layout
2019-05-29 14:13:04 +02:00
Gwendal Roué
0440736f3b
The case of singletons
2019-05-29 14:08:48 +02:00
Gwendal Roué
35e1aeb7a8
The case of singletons
2019-05-29 14:07:03 +02:00
Gwendal Roué
8fe3b18121
Remove ambiguity
2019-05-29 14:00:22 +02:00
Gwendal Roué
26259ef0f9
didInsert(with:for:) is not always well understood
2019-05-29 13:58:56 +02:00
Gwendal Roué
fb9244e5bb
Foster DerivableRequest in GoodPracticesForDesigningRecordTypes.md
2019-05-29 13:48:06 +02:00
Gwendal Roué
03d9727f61
Add tests for joining methods added on DerivableRequest
2019-05-29 09:00:28 +02:00
Gwendal Roué
e7a590b82b
Extract joining methods to the JoinableRequest protocol
2019-05-29 08:36:55 +02:00
Gwendal Roué
1b5e94a050
Merge branch 'master' into development
2019-05-29 08:14:44 +02:00
Alexandre Colucci
3669fadecb
Provide one example that lets Swift build the pattern and an example with the query interface. Then provide the second approach using the || operator.
2019-05-28 22:53:33 +02:00
Alexandre Colucci
7ed4b799b7
Use an SQLite query with the correct GRDB style
2019-05-28 22:51:29 +02:00
Alexandre Colucci
bba9d42433
Remove the line "[? as a parameter]" in the "Good to Know" section
2019-05-28 22:41:28 +02:00
Gwendal Roué
6a5d3fe85b
Update the List of Record Methods
2019-05-28 20:15:09 +02:00
Gwendal Roué
957d7b4c86
Update the List of Record Methods
2019-05-28 20:11:51 +02:00
Gwendal Roué
2dd5058878
Update the List of Record Methods
2019-05-28 19:46:21 +02:00
Gwendal Roué
a02bbc5748
Update the List of Record Methods
2019-05-28 19:43:15 +02:00
Gwendal Roué
bef13a7d0e
Update the List of Record Methods
2019-05-28 19:41:51 +02:00
Gwendal Roué
b0e140d4bb
Add two safety tests for parenthesis
2019-05-28 08:03:33 +02:00
Alexandre Colucci
ca9ecd7f66
#530 : Wrong number of statement arguments with "like '%?%'"
...
- Rewrite the paragraph as an FAQ
- Explicitly mention the error "Wrong number of statement arguments" and give an example causing such issue.
- Improve the wording and add a link to the SQLite documentation
2019-05-27 21:22:55 +02:00
Gwendal Roué
4729405625
Merge branch 'master' into development
2019-05-27 18:24:03 +02:00
Gwendal Roué
7d92c665f0
Update link to migration guide
2019-05-27 18:23:37 +02:00
Gwendal Roué
4f4a5d92c7
Merge pull request #537 from groue/dev/remove-parenthesis
...
Remove useless parenthesis from generated SQL
2019-05-27 12:29:15 +02:00
Gwendal Roué
5bb54f0049
Less parenthesis in SQL interpolation
2019-05-27 07:59:11 +02:00
Gwendal Roué
543dfe9e69
CHANGELOG
2019-05-26 22:03:08 +02:00
Gwendal Roué
8b8722f376
Document that generated SQL can change without notice
2019-05-26 21:57:19 +02:00
Gwendal Roué
1d75863c9a
Also turn SQLAssociationCondition SQL expression into an array
2019-05-26 21:46:19 +02:00
Gwendal Roué
6fa452b68c
Fix joined(operator:)
2019-05-26 20:46:11 +02:00
Gwendal Roué
ab000d7a4f
Remove useless expression parenthesis from SQL
2019-05-26 20:08:13 +02:00
Gwendal Roué
680f3ad20c
Nicer WHERE, HAVING and ON output
2019-05-26 15:32:00 +02:00
Gwendal Roué
b6b1f9b3e8
Remove useless comment
2019-05-26 07:33:38 +02:00
Gwendal Roué
05a547f2df
Fix typo
2019-05-26 07:21:36 +02:00
Gwendal Roué
1602a37d08
Small improvement
2019-05-26 06:22:28 +02:00
Gwendal Roué
49a7b2091c
v4.0.1
2019-05-25 23:16:00 +02:00
Gwendal Roué
bf94fc168e
Merge pull request #534 from groue/dev/cocoapods-1.7.0
...
Support for CocoaPods 1.7.0
2019-05-25 23:09:08 +02:00
Gwendal Roué
d2aea2e3a7
Wording
2019-05-25 20:20:03 +02:00
Gwendal Roué
0159d75b38
Wording
2019-05-25 20:10:43 +02:00
Gwendal Roué
c8755a91e8
Wording
2019-05-25 20:01:25 +02:00
Gwendal Roué
b0e4f286cb
Wording
2019-05-25 19:59:58 +02:00
Gwendal Roué
f641e2fc39
A wild comparison
2019-05-25 19:39:13 +02:00
Gwendal Roué
1402100d26
Link Good Practices for Designing Record Types from Why Adopt GRDB?
2019-05-25 19:03:31 +02:00
Gwendal Roué
eda36829d0
CHANGELOG
2019-05-25 18:56:36 +02:00
Gwendal Roué
48017b2de2
Update tests for GRDB/SQLCipher
2019-05-25 18:55:09 +02:00
Gwendal Roué
862886fa0a
Use CocoaPods 1.7.0 on Travis
2019-05-25 18:55:09 +02:00
Gwendal Roué
68221af5c3
Podspec swift_versions = ['4.2', '5']
2019-05-25 18:55:09 +02:00
Gwendal Roué
b3e547a347
Merge pull request #535 from groue/dev/record-good-practices
...
Update the Good Practices for Designing Record Types
2019-05-25 18:53:39 +02:00
Gwendal Roué
498c153be1
CHANGELOG
2019-05-25 18:50:28 +02:00
Gwendal Roué
7ed8168f11
Wording
2019-05-25 18:32:23 +02:00
Gwendal Roué
547fc98358
Wording
2019-05-25 18:28:28 +02:00
Gwendal Roué
6397d5757e
Wording
2019-05-25 18:26:07 +02:00
Gwendal Roué
6d71f8b17c
Relationship between view controllers and database managers
2019-05-25 18:18:53 +02:00
Gwendal Roué
cafb329d6e
Link to conventions
2019-05-25 17:44:42 +02:00
Gwendal Roué
071fdd3711
Improve Good Practices for Designing Record Types
2019-05-25 17:15:34 +02:00
Gwendal Roué
0cca73cdfc
CHANGELOG
2019-05-25 08:41:23 +02:00
Gwendal Roué
31e59f3968
Merge pull request #533 from groue/dev/fix-has-many-through
...
Fix eager loading of HasManyThrough associations
2019-05-25 08:37:07 +02:00
Gwendal Roué
d6e0dcafcb
Fix two README typos
2019-05-25 08:35:56 +02:00
Gwendal Roué
203130da31
Test that merging of HasManyThrough happens on the pivot key
2019-05-24 19:02:15 +02:00
Gwendal Roué
af4a83115b
Ttest for parallel inclusion of hasManyThrough(_, through: hasOne, via: hasMany)
2019-05-24 18:56:54 +02:00
Gwendal Roué
0ad7d5e894
Fix failing test for parallel inclusion of hasManyThrough(_, through: belongsTo, via: hasMany)
2019-05-24 13:18:00 +02:00
Gwendal Roué
6e7a923d6e
Failing test for parallel inclusion of hasManyThrough(_, through: belongsTo, via: hasMany)
2019-05-24 13:17:47 +02:00
Gwendal Roué
d7d3f87921
Merge pull request #479 from groue/GRDB-4.0
...
GRDB 4.0
2019-05-23 19:39:32 +02:00
Gwendal Roué
3e7df8c774
Update badge name
2019-05-23 19:34:38 +02:00
Gwendal Roué
db4598d881
performance tests update
2019-05-23 19:26:30 +02:00
Gwendal Roué
60312f63d7
v4.0.0
2019-05-23 18:56:22 +02:00
Gwendal Roué
f54297d488
Make it possible to build GRDBDemo app on a (my) device
2019-05-23 14:21:59 +02:00
Gwendal Roué
4368c529fa
Realm 3.15.0
2019-05-23 13:49:01 +02:00
Gwendal Roué
bf40e77d9c
stephencelis/SQLite.swift 0.12.0
2019-05-23 13:38:25 +02:00
Gwendal Roué
4ce4b2e0d1
Performance tests: updates for Swift 5.0.1
2019-05-23 13:36:51 +02:00
Gwendal Roué
a3c86e343b
Less @inlinable methods
2019-05-23 13:27:23 +02:00
Gwendal Roué
962ab13da9
TODO
2019-05-23 13:13:26 +02:00
Gwendal Roué
4085050e96
API diff
2019-05-23 08:56:26 +02:00
Gwendal Roué
a80a2571f6
API diff
2019-05-23 08:52:34 +02:00
Gwendal Roué
2a43377079
API diff
2019-05-23 08:48:43 +02:00
Gwendal Roué
2a0bd93795
API diff
2019-05-23 08:42:31 +02:00
Gwendal Roué
05747a62ea
API diff
2019-05-23 08:29:08 +02:00
Gwendal Roué
e201dd21ac
Enhance Inflections setup APIs
2019-05-23 08:23:30 +02:00
Gwendal Roué
c04f3c7faa
API diff
2019-05-23 07:34:17 +02:00
Gwendal Roué
83409e3dec
API diff
2019-05-23 07:33:35 +02:00
Gwendal Roué
def9997698
Reduce Travis coverage
2019-05-23 07:25:43 +02:00
Gwendal Roué
bb7f4b2f86
Documentation diff
2019-05-22 23:35:26 +02:00
Gwendal Roué
ee703142ce
CHANGELOG
2019-05-22 23:16:59 +02:00
Gwendal Roué
324db50668
API diff
2019-05-22 23:04:21 +02:00
Gwendal Roué
2e84e11bfa
API diff
2019-05-22 22:59:52 +02:00
Gwendal Roué
6062beb9f4
API diff
2019-05-22 22:58:05 +02:00
Gwendal Roué
1d8c924c4e
API diff
2019-05-22 22:57:31 +02:00
Gwendal Roué
8b35343f3d
API diff
2019-05-22 22:56:22 +02:00
Gwendal Roué
35ead1d4c1
API diff
2019-05-22 22:50:23 +02:00
Gwendal Roué
2c3e639f39
API diff
2019-05-22 22:49:28 +02:00
Gwendal Roué
0f9fb9a3e0
API diff
2019-05-22 22:48:27 +02:00
Gwendal Roué
567547a205
API diff
2019-05-22 22:44:54 +02:00
Gwendal Roué
9a28c0ae03
Fix a decoding error diagnostic
2019-05-22 22:28:13 +02:00
Gwendal Roué
82ccc121dd
Cleanup
2019-05-22 22:25:24 +02:00
Gwendal Roué
472063c7c1
API diff
2019-05-22 22:25:15 +02:00
Gwendal Roué
f23e41a866
Fix wrong Columns enums
2019-05-22 20:28:07 +02:00
Gwendal Roué
faae864699
Query Interface code organization
2019-05-22 20:13:33 +02:00
Gwendal Roué
d2b9137548
Stop fostering CodingKeys that adopt ColumnExpression. Expose Column(CodingKey) initializer instead
2019-05-22 13:42:26 +02:00
Gwendal Roué
dec80ac300
Give a default name to the isEmpty aggregate
2019-05-22 13:19:47 +02:00
Gwendal Roué
b471488a83
Documentation
2019-05-22 09:08:52 +02:00
Gwendal Roué
21d2df9ade
New SQL interpolation "... \(tableOf: record) ..." (addresses #524 )
2019-05-22 08:53:50 +02:00
Gwendal Roué
7461342089
Fix doc: Record Comparison only requires EncodableRecord conformance
2019-05-22 08:40:03 +02:00
Gwendal Roué
e4498b2784
contains operator generates SQL equality test when collection contains a single element
2019-05-22 08:13:42 +02:00
Gwendal Roué
2734bd1266
Fix for Swift 4.2
2019-05-21 23:14:52 +02:00
Gwendal Roué
77a677296b
Migration guide menu
2019-05-21 20:41:39 +02:00
Gwendal Roué
c90560fda9
Documentation
2019-05-21 20:35:13 +02:00
Gwendal Roué
f5be0e176d
Fix failing test for observation of QueryInterfaceRequest with prefetched rows
2019-05-21 20:27:08 +02:00
Gwendal Roué
9691adc0bb
Failing test for observation of QueryInterfaceRequest with prefetched rows
2019-05-21 20:26:30 +02:00
Gwendal Roué
b1c953c536
Better error reporting for missing scopes or prefetched rows
2019-05-21 19:56:55 +02:00
Gwendal Roué
059ae19974
QueryInterfaceRequest unconditionnally conforms to TableRequest
2019-05-21 19:18:26 +02:00
Gwendal Roué
65c6360d0c
Fix typo and add a TODO
2019-05-21 19:02:01 +02:00
Gwendal Roué
25526472b3
Test Xcode 10.2 with Travis
2019-05-21 09:01:51 +02:00
Gwendal Roué
a4a26e01e7
SelectionRequest.annotated(with:)
2019-05-21 08:05:07 +02:00
Gwendal Roué
e163b91cf0
Merge pull request #525 from groue/feature/including-all
...
Eager Loading of HasMany associations
2019-05-21 07:35:03 +02:00
Gwendal Roué
c19b3ad305
Documentation
2019-05-20 20:19:30 +02:00
Gwendal Roué
6628c09db7
Documentation
2019-05-20 20:17:34 +02:00
Gwendal Roué
7674f2f522
Association prefetching: add support for composite foreign keys
2019-05-20 19:35:50 +02:00
Gwendal Roué
c841120d3b
Cleanup
2019-05-20 19:18:27 +02:00
Gwendal Roué
81476e58b8
Improve SQLAssociationKey documentation
2019-05-20 19:03:57 +02:00
Gwendal Roué
69baff31ef
Remove a hack: merging hasMany and hasManyThrough with include(all:) is simply not supported yet
2019-05-20 19:03:43 +02:00
Gwendal Roué
6f6a8e3c3b
Migration Guide: Associations
2019-05-20 14:31:55 +02:00
Gwendal Roué
403e5ab058
Fix SPM tests
2019-05-20 14:29:54 +02:00
Gwendal Roué
bc1e74a73e
Migration Guide: Associations
2019-05-20 14:25:56 +02:00
Gwendal Roué
1fdd0bc428
Migration Guide: fix links
2019-05-20 14:22:27 +02:00
Gwendal Roué
940e9c3871
Migration Guide: Associations
2019-05-20 14:21:29 +02:00
Gwendal Roué
844fb3ca8b
Fix iOS9 test
2019-05-20 12:15:50 +02:00
Gwendal Roué
721fd52d12
Association documentation
2019-05-20 11:56:49 +02:00
Gwendal Roué
85a86424c9
Association documentation
2019-05-20 11:54:49 +02:00
Gwendal Roué
7d4306d383
Association documentation
2019-05-20 11:53:42 +02:00
Gwendal Roué
96780419e9
Association documentation
2019-05-20 11:50:15 +02:00
Gwendal Roué
332f42bba3
English table names is recommended
2019-05-20 11:46:48 +02:00
Gwendal Roué
bab21d4c59
CHANGELOG
2019-05-20 08:14:05 +02:00
Gwendal Roué
2c7b3e7667
Association documentation
2019-05-20 07:55:59 +02:00
Gwendal Roué
30839bd19d
Association documentation
2019-05-20 07:54:36 +02:00
Gwendal Roué
304fdabd88
Association documentation
2019-05-20 07:31:27 +02:00
Gwendal Roué
fde53b13c6
Association documentation
2019-05-20 07:28:59 +02:00
Gwendal Roué
62557343a1
Restore the Convention for Database Table Names chapter
2019-05-20 07:25:43 +02:00
Gwendal Roué
4b565ae262
Association documentation
2019-05-20 06:22:07 +02:00
Gwendal Roué
64bcbde1ab
Association documentation
2019-05-20 06:17:30 +02:00
Gwendal Roué
76891a351d
Association documentation
2019-05-20 06:14:35 +02:00
Gwendal Roué
b29b5215b9
Character.uppercased() and lowercased() come with the Swiift 5 compiller
2019-05-20 06:12:51 +02:00
Gwendal Roué
507d603a4e
At last
2019-05-19 23:44:27 +02:00
Gwendal Roué
a38850ab00
Association documentation
2019-05-19 23:40:34 +02:00
Gwendal Roué
6af4b180df
Association documentation
2019-05-19 23:31:54 +02:00
Gwendal Roué
8f3036b090
Association documentation
2019-05-19 22:42:38 +02:00
Gwendal Roué
8fd4108463
Association documentation
2019-05-19 22:11:30 +02:00
Gwendal Roué
40260c2316
Association documentation
2019-05-19 20:59:16 +02:00
Gwendal Roué
7268085692
Association documentation
2019-05-19 20:54:14 +02:00
Gwendal Roué
5f3b879efd
Association documentation and tests
2019-05-19 20:27:13 +02:00
Gwendal Roué
5b15a88974
Fix HasManyThrough row scopes
2019-05-19 19:59:28 +02:00
Gwendal Roué
95c7c10f35
Association documentation
2019-05-19 19:06:37 +02:00
Gwendal Roué
d5943962b3
Documentation: associations no longer need a convention for database table names
2019-05-19 18:58:38 +02:00
Gwendal Roué
ada6002c91
Cleanup
2019-05-19 18:50:13 +02:00
Gwendal Roué
09afd2fadf
Tests for singularization of hasMany relationship
2019-05-19 18:20:55 +02:00
Gwendal Roué
4f17444a7e
Cleanup
2019-05-19 17:38:15 +02:00
Gwendal Roué
87b77768ec
Documentation
2019-05-19 17:18:37 +02:00
Gwendal Roué
fe0198f453
Cleanup
2019-05-19 16:22:39 +02:00
Gwendal Roué
ae6a224122
Documentation
2019-05-19 16:08:29 +02:00
Gwendal Roué
73773358c9
Tests for non-inflected singular
2019-05-19 16:06:36 +02:00
Gwendal Roué
8e2a8fe9d8
More Associations and inflections
2019-05-19 15:03:54 +02:00
Gwendal Roué
a1b0baaca9
leaf, foot, hero
2019-05-19 13:55:38 +02:00
Gwendal Roué
15dd4fc477
Inflections Cleanup
2019-05-19 13:36:29 +02:00
Gwendal Roué
52add837e5
More inflections
2019-05-19 13:06:56 +02:00
Gwendal Roué
637c94b265
Pluralize/Singularize last word
2019-05-19 08:38:11 +02:00
Gwendal Roué
ca76032b8b
Association name is turned into singularized or pluralized keys
2019-05-19 07:33:18 +02:00
Gwendal Roué
35027a825f
Add Rails license
2019-05-18 20:19:18 +02:00
Gwendal Roué
98a7f94248
Cleanup
2019-05-18 20:09:03 +02:00
Gwendal Roué
cdcaaa4b77
Irregularity
2019-05-18 19:49:30 +02:00
Gwendal Roué
d2c33715d0
String.pluralized, String.singularized
2019-05-18 19:48:51 +02:00
Gwendal Roué
5113d08ce3
AssociationPrefetchingSQLTests: no need for association keys
2019-05-18 16:02:00 +02:00
Gwendal Roué
cd53e0102b
Simplify PrefetchedRowsDecoder
2019-05-18 15:53:06 +02:00
Gwendal Roué
c95e9fafb1
Cleanup
2019-05-18 15:43:57 +02:00
Gwendal Roué
1a368d30b0
Cleanup
2019-05-18 15:03:17 +02:00
Gwendal Roué
ebd393f52a
Cleanuo
2019-05-18 14:18:35 +02:00
Gwendal Roué
27cbe18c51
Pass tests for database region of prefetching requests
2019-05-18 14:09:00 +02:00
Gwendal Roué
670bca00b0
Failing tests for database region of prefetching requests
2019-05-17 18:23:28 +02:00
Gwendal Roué
2a85d89364
Cleanup
2019-05-17 18:16:01 +02:00
Gwendal Roué
c5ac0ea941
Cleanup
2019-05-17 18:13:32 +02:00
Gwendal Roué
d23f4c3ac7
Prevent fetching cursor of prefetched rows with a "Not implemented" fatal error
2019-05-17 18:10:26 +02:00
Gwendal Roué
604a51bb79
Cleanup
2019-05-17 17:58:57 +02:00
Gwendal Roué
3786482368
Add unordered() to OrderedRequest
2019-05-17 17:53:25 +02:00
Gwendal Roué
f98502a136
Association: remove pivot/destination relation ambiguity
2019-05-17 17:24:02 +02:00
Gwendal Roué
7703741f25
Cleanup
2019-05-17 17:10:26 +02:00
Gwendal Roué
5f36b43441
Tests for Row.debugDescription with prefetched rows
2019-05-17 16:55:25 +02:00
Gwendal Roué
eb977e9391
Make Row.PrefetchedView order predictible
2019-05-17 16:53:43 +02:00
Gwendal Roué
ad1bdd7f01
Rename Row.prefetches to Row.prefetchedRows
2019-05-17 14:08:33 +02:00
Gwendal Roué
c1ed3aa094
Better error messages
2019-05-17 13:46:54 +02:00
Gwendal Roué
901015368c
Failing tests for copied prefetched rows
2019-05-17 13:42:58 +02:00
Gwendal Roué
ae18041861
Pass tests for prefetched rows and equality check
2019-05-17 08:58:35 +02:00
Gwendal Roué
a6d348fc57
Failing tests for prefetched rows and equality check
2019-05-17 08:58:29 +02:00
Gwendal Roué
70b948b1c8
Row subscript accepts any RangeReplaceableCollection
2019-05-16 22:30:35 +02:00
Gwendal Roué
8038a9db05
Tests for consumption of prefetched rows into sets
2019-05-16 22:21:52 +02:00
Gwendal Roué
3337e49f64
Tests for consumption of prefetched rows into FetchableRecord
2019-05-16 22:02:02 +02:00
Gwendal Roué
67ec70a117
Row prefetch subscript
2019-05-16 22:00:30 +02:00
Gwendal Roué
c4be3e527d
Split AssociationPrefetchingTests.swift
2019-05-16 20:35:03 +02:00
Gwendal Roué
f5177a5612
Cleanup
2019-05-16 19:54:00 +02:00
Gwendal Roué
d18c00231e
Remove Swift 5 migration warning
2019-05-16 19:44:56 +02:00
Gwendal Roué
644064aa08
More tests for consumption of prefetched rows into Decodable records
2019-05-16 19:44:43 +02:00
Gwendal Roué
881bb45fae
More tests for consumption of prefetched rows into Decodable records
2019-05-16 19:35:24 +02:00
Gwendal Roué
46b7618f38
More tests for consumption of prefetched rows into Decodable records
2019-05-16 19:21:12 +02:00
Alexandre Colucci
490a124cbf
#530 : Wrong number of statement arguments with "like '%?%'"
...
Add "? as a parameter" in the "Good to Know" section to explain how to build like pattern like '%?%'.
2019-05-14 08:59:41 +02:00
Gwendal Roué
a7ea0913fa
Fix SPM
2019-05-08 07:59:34 +02:00
Gwendal Roué
c0616c6a26
More tests for consumption of prefetched rows into Decodable records
2019-05-07 08:37:39 +02:00
Gwendal Roué
9fc5cda92b
Rename PrefetchesTreeView to PrefetchesView
2019-05-06 08:19:12 +02:00
Gwendal Roué
1c47f01e9a
More tests for consumption of prefetched rows into Decodable records
2019-05-05 22:47:16 +02:00
Gwendal Roué
04ffc71dbb
TODO
2019-05-05 22:35:37 +02:00
Gwendal Roué
2634a0918d
More tests for consumption of prefetched rows into Decodable records
2019-05-05 22:00:41 +02:00
Gwendal Roué
c7fed1c0b3
More tests for consumption of prefetched rows into Decodable records
2019-05-05 21:20:10 +02:00
Gwendal Roué
17e8df2d25
Tests for consumption of prefetched rows into Decodable records
2019-05-05 21:09:23 +02:00
Gwendal Roué
8786a60d31
More tests for consumption of prefetched rows
2019-05-05 20:31:56 +02:00
Gwendal Roué
acb7432610
TODO
2019-05-05 20:23:23 +02:00
Gwendal Roué
560676a4bb
More tests for consumption of prefetched rows
2019-05-05 19:54:15 +02:00
Gwendal Roué
a45065c340
Fix failing tests for consumption of prefetched rows
2019-05-05 19:31:43 +02:00
Gwendal Roué
bd0884503e
Failing tests for consumption of prefetched rows
2019-05-05 18:19:19 +02:00
Gwendal Roué
f6b2c7e9f3
More tests for consumption of prefetched rows
2019-05-05 17:46:05 +02:00
Gwendal Roué
814ed0e4f1
Fix failing tests for consumption of prefetched rows
2019-05-05 17:44:11 +02:00
Gwendal Roué
5eff7755fe
More tests for consumption of prefetched rows
2019-05-05 17:37:05 +02:00
Gwendal Roué
b1bcf637ab
Fix failing tests for consumption of prefetched rows
2019-05-05 17:25:17 +02:00
Gwendal Roué
f199dc3cbe
Rubber duck debugging
2019-05-05 16:36:56 +02:00
Gwendal Roué
40b11f9f2f
TODO: light HasManyThrough
2019-05-05 16:36:22 +02:00
Gwendal Roué
8f678c94cc
Failing tests for consumption of prefetched rows
2019-05-05 16:03:10 +02:00
Gwendal Roué
171cdcb36e
More tests for consumption of prefetched rows
2019-05-05 15:37:25 +02:00
Gwendal Roué
1dce152f95
Introduce Row.prefetchTree
2019-05-05 15:26:40 +02:00
Gwendal Roué
90dd8d19bc
More tests for consumption of prefetched rows
2019-05-05 15:10:55 +02:00
Gwendal Roué
efe89f000d
More tests for consumption of prefetched rows
2019-05-05 14:52:54 +02:00
Gwendal Roué
590f6c2b2a
More tests for consumption of prefetched rows
2019-05-05 14:23:45 +02:00
Gwendal Roué
623f2eaf43
First tests for consumption of prefetched rows
2019-05-05 13:54:55 +02:00
Gwendal Roué
8d759898d3
Cleanup
2019-05-04 23:07:45 +02:00
Gwendal Roué
5fb6c40036
Almost ready to use prefetched rows
2019-05-04 22:54:10 +02:00
Gwendal Roué
91ec3bada3
Group prefetched rows
2019-05-04 22:29:07 +02:00
Gwendal Roué
217b7eee9f
AssociationHasManyPrefetchingSQLTests cleanup
2019-05-04 22:04:22 +02:00
Gwendal Roué
f1522c09b5
AssociationHasManyPrefetchingSQLTests cleanup
2019-05-04 22:00:37 +02:00
Gwendal Roué
b00271ad80
AssociationHasManyPrefetchingSQLTests cleanup
2019-05-04 21:45:29 +02:00
Gwendal Roué
d7b4cf364d
More passing prefetch tests
2019-05-04 21:35:06 +02:00
Gwendal Roué
7ef5669710
More passing prefetch tests
2019-05-04 21:28:59 +02:00
Gwendal Roué
73d622a074
Don't prefetch when there is no row
2019-05-04 21:28:47 +02:00
Gwendal Roué
ce782cecac
More passing prefetch tests
2019-05-04 21:04:55 +02:00
Gwendal Roué
a7431403a5
AssociationHasManyPrefetchingSQLTests cleanup
2019-05-04 20:39:56 +02:00
Gwendal Roué
4b82656d3a
More passing prefetch tests
2019-05-04 17:20:56 +02:00
Gwendal Roué
2ca2f11883
First prefetch and passing tests
2019-05-04 17:02:19 +02:00
Gwendal Roué
1fbe7cfecf
Type constraint: check Row equality, not subtyping
2019-05-04 17:01:23 +02:00
Gwendal Roué
331938c647
More including(all:)
2019-05-04 15:48:58 +02:00
Gwendal Roué
995657108d
Not all relation children impact parent's count
2019-05-04 14:34:49 +02:00
Gwendal Roué
f6a5279ac9
Use "join" for actual SQL joins, and refactor SQLRelation around "children"
2019-05-04 14:15:53 +02:00
Gwendal Roué
a88f20fb50
Introduce including(all:)
2019-05-04 12:24:43 +02:00
Gwendal Roué
cfb1b2fc4d
QueryInterfaceRequest is not a FetchRequest like others: it will prefetch
2019-05-04 12:20:36 +02:00
Gwendal Roué
0e2daff329
More Association cleanup
2019-05-04 12:17:47 +02:00
Gwendal Roué
18bd025e1c
SQLAssociation clarification
2019-05-03 20:32:21 +02:00
Gwendal Roué
dd87a8d42c
SQLAssociation clarification
2019-05-03 20:16:05 +02:00
Gwendal Roué
96c10f017e
TODO
2019-05-02 20:38:24 +02:00
Gwendal Roué
95ccb511db
Fix typo
2019-05-02 20:38:15 +02:00
Gwendal Roué
820db3f07d
Refactor SQLAssociation
...
# Conflicts:
# GRDB/QueryInterface/Association/Association.swift
2019-05-02 20:34:10 +02:00
Gwendal Roué
1317dc5db0
Fix typo
2019-04-28 16:34:45 +02:00
Gwendal Roué
76971c44f6
Merge pull request #521 from groue/feature/join-condition-cleanup
...
Associations: join condition cleanup
2019-04-28 16:29:58 +02:00
Gwendal Roué
708538bcf0
Refactor join conditions
2019-04-28 14:46:20 +02:00
Gwendal Roué
1e3de49251
Rename SQLJoin.Condition to SQLJoinCondition
2019-04-28 13:25:56 +02:00
Gwendal Roué
73f4a9fb23
whitespace
2019-04-28 13:23:53 +02:00
Gwendal Roué
aec26c66be
Merge pull request #519 from Lutzifer/patch-1
2019-04-26 12:06:56 +02:00
Wolfgang Lutz
8fcabb5b73
fix typos in documentation
2019-04-26 11:50:22 +02:00
Gwendal Roué
9090c54c93
Migrating From GRDB 3 to GRDB 4
2019-04-24 13:50:49 +02:00
Gwendal Roué
425debd0db
Migrating From GRDB 3 to GRDB 4
2019-04-24 13:39:08 +02:00
Gwendal Roué
f335005efd
Migrating From GRDB 3 to GRDB 4
2019-04-24 13:30:55 +02:00
Gwendal Roué
8084e83760
Migrating From GRDB 3 to GRDB 4
2019-04-24 13:28:54 +02:00
Gwendal Roué
bdbcf682c4
Merge pull request #517 from groue/SQLCipher-4
...
Support for SQLCipher 4
2019-04-22 17:03:01 +02:00
Gwendal Roué
29188a0606
CHANGELOG
2019-04-21 14:21:21 +02:00
Gwendal Roué
fba553bbb9
Fix typo
2019-04-21 14:00:08 +02:00
Gwendal Roué
2932b72200
Update documentation for SQLCipher and raw SQLite pointers
2019-04-21 13:56:13 +02:00
Gwendal Roué
e6bbdeab2c
SQLCipher installation documentation
2019-04-21 13:51:03 +02:00
Gwendal Roué
c37ccb6448
Test for PRAGMA cipher_compatibility
2019-04-21 13:46:05 +02:00
Gwendal Roué
330005596a
Carthage: don't beat around the bush
2019-04-21 13:08:40 +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é
6b04996290
Remove remaining references to GRDBCipher
2019-04-21 12:55:24 +02:00
Gwendal Roué
d2b65d9fb8
Travis
2019-04-21 12:47:26 +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é
322039d490
Drop GRDBCipher project
2019-04-20 20:24:34 +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é
da55d09960
Travis cleanup - and disable flaky Carthage test nobody cares about
2019-04-20 16:40:33 +02:00
Gwendal Roué
f9b0af5f7b
Remove obsolete make test_CocoaPodsLint_GRDBCipher
2019-04-20 16:24:14 +02:00
Gwendal Roué
d1fa479b31
Ignore test Podfile.lock
2019-04-20 16:10:29 +02:00
Gwendal Roué
6b3f2e844c
Fix make test_install_GRDBCipher_CocoaPods
2019-04-20 16:06:25 +02:00
Gwendal Roué
9370036baf
make test_install_GRDBCipher is obsolete
2019-04-20 16:05:44 +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é
7e3e91ac99
Update Makefile for SQLCipher via CocoaPods
2019-04-20 11:08: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é
1e06ff24ec
cocoapods ~> 1.6
2019-04-19 08:49:24 +02:00
Gwendal Roué
ba91a79798
Instruct Travis to honor Gemfile
2019-04-19 08:41:11 +02:00
Gwendal Roué
3c977d7bf8
Add cocapods to the Travis gems
2019-04-19 08:36:55 +02:00
Gwendal Roué
261e9481b2
Fix share schemes
2019-04-19 08:33:19 +02:00
Gwendal Roué
1f50b4fefe
Integrate SQLCipher as a CocoaPod
2019-04-19 08:33:19 +02:00
Gwendal Roué
cbb1b27830
Delete SQLCipher/src submodule
2019-04-19 08:33:19 +02:00
Gwendal Roué
bdf8d0bcd5
Merge pull request #515 from alextrob/feature/fetchOne-limit-1
...
Add "LIMIT 1" to `fetchOne` requests
2019-04-18 07:04:56 +02:00
Gwendal Roué
5af1686677
Thank you notice
2019-04-18 07:02:42 +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é
a172473e37
CHANGELOG
2019-04-17 21:35:23 +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
Gwendal Roué
4716f91d8b
Bake the single result expectation right into filter(key:) methods
...
This better hides this flag inside SQLSelectQuery, and avoids explicit support from FetchableRecord and TableRecord
2019-04-16 08:47:50 +02:00
Gwendal Roué
46791c8f74
Remove QueryInterfaceRequest.init(query:)
2019-04-16 07:56:44 +02:00
Alex Robinson
1b3f0e8ece
Update FetchRequest protocol in README
2019-04-16 11:11:37 +10:00
Alex Robinson
e2211aca21
Exclude LIMIT 1 in more cases
...
Adds a flag to SQLSelectQuery indicating that it expects a single record (for example when querying by primary or unique key).
Ensures that this example doesn't add an unnecessary LIMIT 1 to the resulting query:
let request = Player.filter(key: 123) // or Player.filter(key: ["email": "me@example.com "])
let player = try dbQueue.read { db in try request.fetchOne(db) }
2019-04-16 11:10:43 +10: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é
1af55653d3
Fix typo
2019-04-13 17:06:41 +02:00
Gwendal Roué
9efc20fa51
Association: introduce request(for:) before using it
2019-04-13 13:55:15 +02:00
Gwendal Roué
f847be98f5
Associations: aggregates are available on HasManyThrough, too
2019-04-13 13:48:12 +02:00
Gwendal Roué
ff00dabcd1
Associations documentation
2019-04-13 13:46:28 +02:00
Gwendal Roué
72f00ccd9a
Associations: delay introduction of request(for:)
2019-04-13 13:34:34 +02:00
Gwendal Roué
5995f468e3
Associations: improve "Required Protocols" chapter
2019-04-13 06:55:28 +02:00
Gwendal Roué
023afce21b
Put #514 in TODO
2019-04-11 08:31:16 +02:00
Gwendal Roué
9b24671043
Disable #514 failing tests
2019-04-11 08:14:04 +02:00
Alex Robinson
088f6c92c7
Update inline docs
2019-04-11 13:50:57 +10:00
Alex Robinson
207b90f1b5
Update FetchRequest protocol in README
2019-04-11 13:27:32 +10: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é
be950162d0
Merge pull request #508 from michaelkirk-signal/mkirk/GRDB-4.0-sqlcipher-cipher_compatibility
...
Allow Database Connection Configuration
2019-04-10 13:47:03 +02:00
Gwendal Roué
db34d9537b
Remove more useless failing tests
2019-04-10 07:49:06 +02:00
Gwendal Roué
1682df5c4e
Thank you notice
2019-04-09 20:26:28 +02:00
Gwendal Roué
3ca7647110
Merge branch 'GRDB-4.0' into mkirk/GRDB-4.0-sqlcipher-cipher_compatibility
...
# Conflicts:
# CHANGELOG.md
2019-04-09 20:25:22 +02:00
Gwendal Roué
2c4a449c5b
Fix prepareDatabase sample code and markdown layout
2019-04-09 20:23:08 +02:00
Gwendal Roué
49d92dc6ce
Three slashes for documentation comment
2019-04-09 20:21:34 +02:00
Gwendal Roué
d52fcbe0c9
Fixits for Configuration.cipherPageSize and kdfIterations
2019-04-09 20:21:17 +02:00
Gwendal Roué
5bf54dc5c9
Update README for cipher_page_size and kdf_iter SQLCipher pragmas
2019-04-09 20:15:46 +02:00
Gwendal Roué
0a814ee1e7
CHANGELOG
2019-04-09 20:04:20 +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é
b67a53e645
whitespace
2019-04-09 19:57:22 +02:00
Gwendal Roué
a0f37c6e85
Simplify Database.validateFormat()
2019-04-09 19:56:01 +02:00
Gwendal Roué
82dc51c554
Document prepareDatabase call site
...
Because it willl be easy to forget the context of #508 when we read this code in the future
2019-04-09 19:55:45 +02:00
Gwendal Roué
6115078e95
Simplify Database.validateSQLCipher()
2019-04-09 19:46:58 +02:00
Gwendal Roué
8d35330e12
whitespace
2019-04-09 19:40:27 +02:00
Gwendal Roué
e0e07a7454
Merge pull request #510 from signalapp/charlesmchen/tableRegionVisibility
...
Expose DatabaseRegion(table:) initializer
2019-04-09 19:31:57 +02:00
Gwendal Roué
7a42bb42f5
README: make DatabaseRegion documentation less detailed
2019-04-09 19:29:38 +02:00
Gwendal Roué
212290bbf9
Make DatabaseRegion documentation less detailed
2019-04-09 19:23:50 +02:00
Gwendal Roué
6f20d8b406
CHANGELOG
2019-04-09 19:17:24 +02:00
Matthew Chen
0561b7de5d
Respond to CR.
2019-04-05 09:50:07 -04:00
Matthew Chen
9f41277bd4
Make more DatabaseRegion initializers public; elaborate docs.
2019-04-05 09:47:08 -04:00
Matthew Chen
9f4cad4134
Make DatabaseRegion initializer public to enable observation of tables.
2019-04-05 09:47:08 -04:00
Gwendal Roué
bf012614bc
CHANGELOG and thank you notice
2019-04-05 07:49:16 +02:00
Gwendal Roué
aeeb59601a
Merge pull request #511 from signalapp/charlesmchen/fixPoolNotificationName
...
Fix notification name.
2019-04-05 07:43:02 +02:00
Michael Kirk
747a6352d6
example docs
2019-04-04 16:03:30 -06:00
Matthew Chen
325b376f4c
Fix notification name.
2019-04-04 18:01:12 -04:00
Michael Kirk
dcc3db2730
Revert "update sqlcipher"
...
This reverts commit 26b8682e63 .
2019-04-04 15:57:21 -06:00
Michael Kirk
29c1c5481c
inline setupConnection, re-order method calls to call validateFormat later, convert static->instance methods where possible
2019-04-04 15:55:53 -06:00
Michael Kirk
ebc7a9d8e0
fix #if scope
2019-04-04 15:42:19 -06:00
Michael Kirk
99065a4faf
prepareDB block
2019-04-02 10:47:31 -06:00
Michael Kirk
26b8682e63
update sqlcipher
2019-03-31 14:27:46 -06:00
Gwendal Roué
d41f6b4466
Makefile: support for Xcode 10.2
2019-03-28 07:08:18 +01:00
Gwendal Roué
bfa5fbe8ce
Documentation tweaks
2019-03-20 16:50:03 +01:00
Gwendal Roué
900134729a
Where has count(where:) gone?
2019-03-16 15:31:00 +01:00
Gwendal Roué
d888423676
Fix outdated documentation
2019-03-16 14:32:10 +01:00
Gwendal Roué
eac38be34b
Fix for Swift 5
2019-03-16 14:26:06 +01:00
Gwendal Roué
f42a184401
Merge pull request #503 from groue/feature/aggregate-ifnull
...
IFNULL support for association aggregates
2019-03-15 13:06:56 +01:00
Gwendal Roué
5fbf56c373
KISS
2019-03-15 08:51:02 +01:00
Gwendal Roué
784ebcc8e9
Tighten SQLJoin
2019-03-15 08:41:57 +01:00
Gwendal Roué
df84654554
Delete unused code
2019-03-15 08:23:08 +01: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é
0074adc023
Merge pull request #502 from groue/feature/rename-future
...
Rename Future to DatabaseFuture
2019-03-15 07:56:56 +01:00
Gwendal Roué
ca8987ad98
Remove ill-advised TODOs
2019-03-14 07:57:30 +01:00
Gwendal Roué
6460f639ee
Cleanup: SQLRelation, JoinOperator, JoinCondition are no longer public
2019-03-14 07:54:45 +01:00
Gwendal Roué
41d93f546c
Document aggregate operations
2019-03-14 07:46:49 +01:00
Gwendal Roué
80a642260f
CHANGELOG
2019-03-14 07:29:47 +01:00
Gwendal Roué
39800b1257
IFNULL support for aggregates
2019-03-14 07:21:09 +01:00
Gwendal Roué
d04fc07337
CHANGELOG
2019-03-14 07:02:39 +01:00
Gwendal Roué
11fd8d6b87
Update documentation
2019-03-14 07:01:39 +01:00
Gwendal Roué
7183457217
Rename Future to DatabaseFuture
2019-03-14 06:43:40 +01:00
Gwendal Roué
cf4e512894
Documentation
2019-03-13 21:24:54 +01:00
Gwendal Roué
cf837855f2
HasManyThroughAssociation and HasOneThroughAssociation doc
2019-03-13 21:19:13 +01:00
Gwendal Roué
916d3931aa
Cleanup SQLAssociation
2019-03-13 20:47:55 +01:00
Gwendal Roué
9d9bbc5f5d
Documentation
2019-03-13 10:24:00 +01:00
Gwendal Roué
153233ace4
Documentation
2019-03-13 10:16:46 +01:00
Gwendal Roué
4bae8e9ac5
More request(for:association) tests
2019-03-13 08:33:14 +01:00
Gwendal Roué
1e617381a8
AssociationsBasics.md: remove inner link
2019-03-13 07:57:01 +01:00
Gwendal Roué
6d5215c8cb
One less contribution needed #499
2019-03-11 09:02:48 +01:00
Gwendal Roué
4ce6271f6d
Merge pull request #499 from groue/feature/EndodableRecord
...
Extract EncodableRecord from MutablePersistableRecord
2019-03-10 23:01:24 +01:00
Gwendal Roué
10c75d1e5e
CHANGELOG
2019-03-10 15:25:39 +01:00
Gwendal Roué
05258b1098
Fix SPM build
2019-03-10 15:21:39 +01:00
Gwendal Roué
1a513e8e6e
EncodableRecord documentation
2019-03-10 15:07:05 +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é
973e82b139
Fix a typo
2019-03-10 05:48:25 +01:00
Gwendal Roué
d88fb4d96f
Fix typo
2019-03-09 15:27:09 +01:00
Gwendal Roué
cd6c4a4232
CHANGELOG
2019-03-09 15:11:48 +01:00
Gwendal Roué
aeb41dc1eb
v3.7.0
2019-03-09 14:21:28 +01:00
Gwendal Roué
d2b2e12a10
Remove CHANGELOG.md requirement from PULL_REQUEST_TEMPLATE.md
2019-03-09 14:05:57 +01:00
Gwendal Roué
9040970c8d
CHANGELOG
2019-03-09 14:04:49 +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é
d60b68ab8a
Document the BusyMode.timeout unit ( #498 )
2019-03-09 12:45:11 +01:00
Gwendal Roué
82423c41f2
Disable Travis check for CocoaPods GRDBCipher until we figure out what has turned wrong
2019-03-08 12:55:05 +01:00
Gwendal Roué
2b460083af
GRDBPlus CocoaPod is deprecated
2019-03-08 12:52:17 +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
Gwendal Roué
53d2e6b895
Fix typo
2019-03-08 08:26:18 +01:00
Gwendal Roué
c46dbdd97e
Turn WARNING into a Note
2019-03-08 08:25:02 +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
Gwendal Roué
35ffe9a9fd
Merge pull request #496 from groue/feature/fix-495
...
Fix crash when trying to perform fetchCount or ValueObservation.trackCount on joined query
2019-03-07 07:54:04 +01:00
Gwendal Roué
b063870739
Too much future: firstIndex is not available on Xcode 9.4-
2019-03-07 05:06:58 +01:00
Marcel Ball
8ca9839433
Cleanup of some things leftover from debugging/testing
2019-03-06 21:31:37 -04:00
Marcel Ball
47f9b0f4a9
Added inline comments for new configuration options.
2019-03-06 21:21:43 -04:00
Marcel Ball
349ef328c7
Updated documentation to cover new configuration options
2019-03-06 21:01:08 -04:00
Marcel Ball
8415e8c2a0
Rename parameter to better align with the SQLCipher PRAGMA
2019-03-06 20:58:55 -04:00
Marcel Ball
d4eb7ba27b
Added configuration options to GRDBcipher for kdf_iterations
2019-03-06 20:41:38 -04:00
Marcel Ball
090eea9923
Update naming for the enumeration to be clearer
2019-03-06 20:41:01 -04:00
Gwendal Roué
d566838dc5
Restore missing comment
2019-03-06 22:22:35 +01:00
Gwendal Roué
5bed0ac58e
Too much future
2019-03-06 22:12:54 +01:00
Gwendal Roué
ee481b2327
Fix #495
2019-03-06 22:09:31 +01:00
Gwendal Roué
8fbc3ca875
From future import OrderedDictionary
2019-03-06 22:09:01 +01:00
Gwendal Roué
4aecad3649
Failing test for https://github.com/groue/GRDB.swift/issues/495
2019-03-06 21:58:36 +01:00
Marcel Ball
cf128ac800
Added configuration option to set cipher_page_size on connection
...
* Defaults to 1024 - which is the default in SQLCipher
2019-03-06 16:50:55 -04:00
Marcel Ball
1a51eb6b52
Merge pull request #2 from groue/development
...
Down merge changes from @groue
2019-03-06 16:41:30 -04:00
Gwendal Roué
a355b9eb03
Merge pull request #490 from groue/feature/HasOneThroughAssociation
...
Indirect Associations
2019-03-06 21:40:47 +01:00
Gwendal Roué
a3c2cb7f1c
Merge branch 'GRDB-4.0' into feature/HasOneThroughAssociation
2019-03-06 18:58:05 +01:00
Gwendal Roué
4ba16067d0
Merge branch 'development' into GRDB-4.0
2019-03-06 18:57:06 +01:00
Gwendal Roué
605b6f7593
Merge branch 'master' into development
2019-03-06 18:55:07 +01:00
Gwendal Roué
43fff32156
Thank you notice for davidkraus :-)
2019-03-06 18:51:08 +01:00
Gwendal Roué
9f776a119f
Merge pull request #494 from davidkraus/master
...
improve fts5 documentation
2019-03-06 18:49:10 +01:00
Gwendal Roué
658c9d34cb
Remove GRDBPlus from ReleaseProcess.md
2019-03-06 18:43:21 +01:00
Gwendal Roué
2f447cc237
Wording and formatting
2019-03-06 18:42:45 +01:00
Gwendal Roué
403c4a894f
Apply lovely advice from @glessard
2019-03-06 18:18:15 +01:00
David Kraus
ccf339d6ef
improve fts5 documentation
2019-03-06 14:55:11 +01:00
Gwendal Roué
7ff21981f0
Restore tests by disabling a sanity check
2019-03-06 09:08:59 +01:00
Gwendal Roué
5d9fa76754
Fix fetchCount(_:) for joined queries
2019-03-06 08:59:06 +01:00
Gwendal Roué
bd633e25ee
Aggregate tests for HasManyThroughAssociation
2019-03-06 08:17:47 +01:00
Gwendal Roué
87cd76a468
Association aggregates are defined on AssociationToMany
2019-03-06 08:17:20 +01:00
Gwendal Roué
fca6420053
Documentation
2019-03-06 06:10:18 +01:00
Gwendal Roué
ec51f4dbdf
CHANGELOG
2019-03-05 18:54:06 +01:00
Gwendal Roué
916311a851
Remove outdated information
2019-03-05 18:51:58 +01:00
Gwendal Roué
d6b6028e42
Typo fix
2019-03-05 18:49:51 +01:00
Gwendal Roué
c756d27808
Documentation
2019-03-05 18:48:03 +01:00
Gwendal Roué
13985d0553
Merge branch 'GRDB-4.0' into feature/HasOneThroughAssociation
2019-03-05 18:40:12 +01:00
Gwendal Roué
0363ca406d
Merge pull request #493 from groue/feature/SQLite-3.27.2
...
Bump SQLite to 3.27.2
2019-03-05 18:29:46 +01:00
Gwendal Roué
c20b7e5799
Bump swiftlyfalling/SQLiteLib
2019-03-05 18:29:07 +01:00
Gwendal Roué
7642eb054b
Documentation
2019-03-05 08:33:17 +01:00
Gwendal Roué
f3c68420a0
CHANGELOG
2019-03-05 08:05:39 +01:00
Gwendal Roué
223ed4c73c
Merge branch 'GRDB-4.0' into feature/SQLite-3.27.2
2019-03-05 08:00:53 +01:00
Gwendal Roué
99d010cded
SQLite 3.27.2
2019-03-05 07:58:07 +01:00
Gwendal Roué
5bf1e6f818
Association documentation: contextualize schema recommendations
2019-03-04 20:37:47 +01:00
Gwendal Roué
06f0961b13
Association documentation: avoid painful repetition
2019-03-04 20:13:12 +01:00
Gwendal Roué
addfa45d3a
hasMany(_:through:using:)
2019-03-04 08:52:07 +01:00
Gwendal Roué
6489c80846
hasOne(_:through:using:)
2019-03-04 08:49:03 +01:00
Gwendal Roué
9e8e00ff99
AssociationHasManySQLTests
2019-03-04 08:06:50 +01:00
Gwendal Roué
9ee25fdec1
Rename ToOneAssociation to AssociationToOne
2019-03-04 08:01:45 +01:00
Gwendal Roué
4d5e5e1de3
HasManyThroughAssociation
2019-03-03 18:35:05 +01:00
Gwendal Roué
1188969144
Cleanup
2019-03-03 17:34:23 +01:00
Gwendal Roué
66c72e7bd2
HasOneThroughAssociation request tests
2019-03-03 15:29:27 +01:00
Gwendal Roué
eed30c0954
AssociationHasOneThroughDecodableRecordTests
2019-03-03 09:21:49 +01:00
Gwendal Roué
8dd9f5fd40
AssociationHasOneThroughFetchableRecordTests cleanup
2019-03-03 09:21:34 +01:00
Gwendal Roué
7cab5dbf2b
Cleanup
2019-03-02 20:42:52 +01:00
Gwendal Roué
6fd14d0a70
AssociationHasOneThroughFetchableRecordTests
2019-03-02 20:41:52 +01:00
Gwendal Roué
51c0b7a2f8
Renamed AssociationHasOneThroughRowscopeTests
2019-03-02 20:26:31 +01:00
Gwendal Roué
679f989e96
More AssociationHasOneThroughSQLDerivationTests
2019-03-02 17:35:00 +01:00
Gwendal Roué
1a24f61723
HasOneThroughAssociation adopts TableRequest
2019-03-02 17:24:17 +01:00
Gwendal Roué
1ff5552d5e
AssociationHasOneThroughSQLDerivationTests
2019-03-02 17:14:58 +01:00
Gwendal Roué
4815807f09
More AssociationHasOneThroughSQLTests
2019-03-02 17:01:27 +01:00
Gwendal Roué
8fc23e1771
Complete AssociationHasOneThroughSQLTests
2019-03-02 15:48:17 +01:00
Gwendal Roué
5cf2d4920d
TODO
2019-03-02 15:37:44 +01:00
Gwendal Roué
3d6d1c89b2
HasOneThroughAssociation
2019-03-02 14:46:31 +01:00
Gwendal Roué
08451dfced
Rename AssociationImpl to SQLAssociation
2019-03-02 14:46:12 +01:00
Gwendal Roué
b506838519
ToOneAssociation
2019-03-01 19:13:46 +01:00
Gwendal Roué
1511981dc7
AssociationImpl is no longer a protocol
2019-03-01 19:13:28 +01:00
Gwendal Roué
661cca9f80
Merge pull request #488 from groue/feature/ValueObservationCleanup
...
ValueObservation Cleanup
2019-03-01 16:55:24 +01:00
Gwendal Roué
4ee2523d59
CHANGELOG
2019-03-01 13:51:22 +01:00
Gwendal Roué
997be18718
Update ValueObservation documentation
2019-03-01 13:51:15 +01:00
Gwendal Roué
e966544aeb
Remove ValueObservation.extent
2019-03-01 13:17:48 +01:00
Gwendal Roué
4935c6f258
Rename ValueScheduling.onQueue(_:startImmediately:) to .async(onQueue:startImmediately:)
2019-03-01 08:24:00 +01:00
Gwendal Roué
03fafa437c
Cleanup
2019-03-01 08:05:46 +01:00
Gwendal Roué
0fe7db2694
Assume NSUUID.fromDatabaseValue no longer needs special care in Release configuration, since we target Xcode 10+ now
2019-02-28 13:28:06 +01:00
Gwendal Roué
22edb91796
Merge pull request #487 from groue/feature/SR-6067
...
Remove SR-6067 workaround
2019-02-28 12:15:41 +01:00
Gwendal Roué
5ffc35a955
Remove SR-6067 workaround
2019-02-28 08:35:16 +01:00
Gwendal Roué
1084fe0425
Cleanup
2019-02-26 20:45:58 +01:00
Gwendal Roué
8d867320b0
Remove DatabaseValue.losslessConvert methods
...
They were used by RxGRDB until 0.13.0.
2019-02-26 20:40:13 +01:00
Gwendal Roué
34dd011e90
TODO: replace ValueObservation.extent
2019-02-26 20:23:14 +01:00
Gwendal Roué
8fce4faeea
Fix typo
2019-02-26 09:00:29 +01:00
Gwendal Roué
8faff704d5
Merge pull request #486 from groue/feature/RecordNotFound
...
Refactor PersistenceError.recordNotFound
2019-02-26 08:09:04 +01:00
Gwendal Roué
2d71679476
Cleanup
2019-02-26 08:07:13 +01:00
Gwendal Roué
715b7a7867
CHANGELOG
2019-02-25 20:48:35 +01:00
Gwendal Roué
8ef28b0683
Fix PersistenceError.description
2019-02-25 20:43:40 +01:00
Gwendal Roué
31bdb2eeaa
PersistenceError.recordNotFound documentation
2019-02-25 20:21:20 +01:00
Gwendal Roué
63192e2b75
Refactor PersistenceError.recordNotFound
2019-02-25 20:17:49 +01:00
Gwendal Roué
fcbbe17909
Documentation
2019-02-25 18:53:32 +01:00
Gwendal Roué
a1e809cbc7
Cleanup TODO
2019-02-25 17:23:02 +01:00
Gwendal Roué
93b429cca4
CHANGELOG
2019-02-24 18:02:57 +01:00
Gwendal Roué
3aaa5e74ec
Update README
2019-02-24 17:48:10 +01:00
Gwendal Roué
27156fd215
Support for remove_diacritics=2 in FTS5
2019-02-24 17:38:04 +01:00
Gwendal Roué
bcac197910
[whitespace] FTS5 files indentation
2019-02-24 17:12:10 +01:00
Gwendal Roué
336081a78a
Support for remove_diacritics=2 in FTS3/4
2019-02-24 17:06:44 +01:00
Gwendal Roué
6306bd31e3
Update SQLiiteCustom/src to branch 3.27.1 of groue/SQLiteLib
2019-02-24 16:00:17 +01:00
Gwendal Roué
690e980018
Fix double inclusion of GRDB-4.0.swift in GRDBWatchOS target
2019-02-24 15:40:15 +01:00
Gwendal Roué
f9fbd42962
CHANGELOG
2019-02-24 15:22:40 +01:00
Gwendal Roué
919f6095c6
Merge pull request #484 from groue/feature/SE-0193
...
SE-0193 Cross-module inlining and specialization
2019-02-24 15:18:49 +01:00
Gwendal Roué
83f62eed79
CHANGELOG
2019-02-24 15:18:04 +01:00
Gwendal Roué
96b971b0da
PersistenceContainer specialization
2019-02-24 14:42:00 +01:00
Gwendal Roué
05fe018fed
GRDBProfiling enhancements
2019-02-24 06:28:35 +01:00
Gwendal Roué
921c5d636a
Remove SQLite.swift dependency from GRDBOSXPerformanceTests target
2019-02-24 06:26:51 +01:00
Gwendal Roué
61ae460525
Persistence methods specialization, PersistenceContainer optimizations
2019-02-24 06:26:08 +01:00
Gwendal Roué
caaf2365e0
Fix compiler warning: make SQLiteValue @usableFromInline
2019-02-23 20:31:56 +01:00
Gwendal Roué
bed9164bcd
Allow specialization of fetching methods
2019-02-23 18:34:42 +01:00
Gwendal Roué
f3621da329
@inlinable remaining Row subscripts
2019-02-23 17:37:04 +01:00
Gwendal Roué
2c75582c22
@inlinable RecordCursor
2019-02-23 17:23:30 +01:00
Gwendal Roué
aa4f7c3d78
@inlinable StatementCursor
2019-02-23 17:19:56 +01:00
Gwendal Roué
9906cf799c
@inlinable DatabaseValueCursor and NullableDatabaseValueCursor
2019-02-23 17:04:32 +01:00
Gwendal Roué
304937161c
Performance comparison: Realm 3.13.1
2019-02-23 16:17:23 +01:00
Gwendal Roué
789497da75
FMDatabaseQueue(path:) is a failable initializer
2019-02-23 16:08:24 +01:00
Gwendal Roué
14371cd7c6
Performance comparison: update Realm location
2019-02-23 15:57:56 +01:00
Gwendal Roué
b9dbce47a2
Performance comparison: FMDB 2.7.5
2019-02-23 15:46:09 +01:00
Gwendal Roué
eb1672dec3
Revert wrong Xcode refactoring
2019-02-23 15:41:38 +01:00
Gwendal Roué
dd0926ebfb
ValueConversionContext does not need to be @usableFromInline
2019-02-23 15:35:23 +01:00
Gwendal Roué
e80f3639af
Revert wrong Xcode refactoring
2019-02-23 15:34:25 +01:00
Gwendal Roué
944b3ac07d
@inlinable RowCursor, and Row subscript returning StatementColumnConvertible
2019-02-23 15:27:12 +01:00
Gwendal Roué
746c22e950
@inlinable FastDatabaseValueCursor and FastNullableDatabaseValueCursor
2019-02-23 14:28:44 +01:00
Gwendal Roué
a0c85f093c
Remove all @inline(__always)
2019-02-23 13:37:00 +01:00
Gwendal Roué
728c3b28ed
Typo fix
2019-02-22 14:28:36 +01:00
Gwendal Roué
03b8df2fe1
Merge pull request #478 from groue/feature/SQLInterpolation2
...
Swift 5: SQL interpolation
2019-02-22 13:43:11 +01:00
Gwendal Roué
dae55e4105
Merge branch 'GRDB-4.0' into feature/SQLInterpolation2
2019-02-22 13:37:44 +01:00
Gwendal Roué
f8a1ecb644
Use query variable name when an SQLLiteral contains a full SQL query
2019-02-22 13:34:30 +01:00
Gwendal Roué
22c2cfb4ea
Test SQLRequest interpolation
2019-02-22 13:28:58 +01:00
Gwendal Roué
b15eaa826b
TODO
2019-02-22 13:07:27 +01:00
Gwendal Roué
32b8d87a64
Use sqlite3_prepare_v3 on iOS 12.0, OSX 10.14, watchOS 5.0
2019-02-22 13:06:24 +01:00
Gwendal Roué
62ba97f517
Inline documentation
2019-02-22 12:59:44 +01:00
Gwendal Roué
e81a514f29
SQLInterpolation.md
2019-02-22 09:15:05 +01:00
Gwendal Roué
e36ca9f645
Foster SQL interpolation
2019-02-21 23:23:35 +01:00
Gwendal Roué
d9dc21a073
Merge branch 'GRDB-4.0' into feature/SQLInterpolation2
2019-02-21 23:11:58 +01:00
Gwendal Roué
59cc1fef67
SQLInterpolation.md
2019-02-21 23:10:06 +01:00
Gwendal Roué
8df8129743
SQLInterpolation.appendInterpolation(SQLRequest)
2019-02-21 14:20:50 +01:00
Gwendal Roué
b6481e8a68
SQLInterpolation.md
2019-02-21 12:20:16 +01:00
Gwendal Roué
65b65f4d70
SQL Interpolation documentation
2019-02-21 08:51:01 +01:00
Gwendal Roué
870ef6bac8
CHANGELOG
2019-02-21 08:48:22 +01:00
Gwendal Roué
f7f0810c17
Documentation
2019-02-20 14:08:31 +01:00
Gwendal Roué
17c3ac1911
Link to #482
2019-02-20 08:54:35 +01:00
Gwendal Roué
d74340a317
GRDB 4 development process
2019-02-20 08:17:23 +01:00
Gwendal Roué
e54410b608
Swift 5: link to the GRDB-4.0 branch
2019-02-20 07:56:52 +01:00
Gwendal Roué
58dc1c67d6
Fix some sample code
2019-02-17 13:28:41 +01:00
Gwendal Roué
7e9e50e52d
Up to date playgrounds
2019-02-17 13:28:41 +01:00
Gwendal Roué
df05e940e8
Minor
2019-02-17 13:28:41 +01:00
Gwendal Roué
8d6a2fb4f1
Documentation, support for interpolation of empty sequences
2019-02-17 13:28:41 +01:00
Gwendal Roué
afa8360397
Restore SQLExpressionLiteral.sql and arguments
2019-02-17 13:28:41 +01:00
Gwendal Roué
50f8bcec34
Fixit for SQLExpression.literal
2019-02-17 13:28:41 +01:00
Gwendal Roué
d13968b753
Documentation
2019-02-17 13:28:41 +01:00
Gwendal Roué
086e3e918e
joined(separator:) for SQLLiteral sequences
2019-02-17 13:28:41 +01:00
Gwendal Roué
e986f0d6e5
Test for interpolation of empty sequence
2019-02-17 13:28:41 +01:00
Gwendal Roué
36ce78bd37
Explicit sql argument label when building prepared statements
2019-02-17 13:28:41 +01:00
Gwendal Roué
e2a11eeb05
Update some inline documentation
2019-02-17 13:28:41 +01:00
Gwendal Roué
2d40b86a50
Rename SQLLiteral.append(literal:) to append(_:)
2019-02-17 13:28:41 +01:00
Gwendal Roué
4f350631ff
Remove fetching methods from SQLLiteral.
2019-02-17 13:28:41 +01:00
Gwendal Roué
db67d3840b
Principle of least astonishment: rrename argument label rawSQL to sql
2019-02-17 13:28:41 +01:00
Gwendal Roué
2cd20b79f7
Fix typo
2019-02-17 13:28:40 +01:00
Gwendal Roué
b296e9824a
SQLGenerationContext.append(arguments:) cleanup
2019-02-17 13:28:40 +01:00
Gwendal Roué
b0d9c519e1
Fix SPM test
2019-02-17 13:28:40 +01:00
Gwendal Roué
6937193d28
Fix SPM compilation
2019-02-17 13:28:40 +01:00
Gwendal Roué
500a5eea28
SQLRequest(rawSQL:arguments:adapter:)
2019-02-17 13:28:40 +01:00
Gwendal Roué
9758e1783e
[whitespace]
2019-02-17 13:28:40 +01:00
Gwendal Roué
a57aa2e346
rawSQL migration complete
2019-02-17 13:28:40 +01:00
Gwendal Roué
4bd5ace2ee
Use rawSQL as parameter name for raw SQL
2019-02-17 13:28:40 +01:00
Gwendal Roué
85f618e16e
SQLLiteral.mapSQL
2019-02-17 13:28:40 +01:00
Gwendal Roué
e7995b9cd4
SQLExpressionLiteral(rawSQL:)
2019-02-17 13:28:40 +01:00
Gwendal Roué
6e80c748d2
SQLRequest(rawSQL:arguments:adapter:)
2019-02-17 13:28:40 +01:00
Gwendal Roué
c546c578ce
fetchCursor/All/One(_:rawSQL:arguments:adapter:)
2019-02-17 13:28:40 +01:00
Gwendal Roué
59162d93de
Rename Database.execute(_:String) to Database.execute(rawSQL:String)
2019-02-17 13:27:54 +01:00
Gwendal Roué
354d22d70d
Update documentation for literal interpolation
2019-02-17 13:24:38 +01:00
Gwendal Roué
f15b2e12d6
Remove support for check constraint defined with a literal
...
That's because we can't support it until SQLLiteral is able to quote values
2019-02-17 13:24:38 +01:00
Gwendal Roué
4ecef0ea11
Don't be shy on interpolation
2019-02-17 13:24:38 +01:00
Gwendal Roué
637de8b6fa
SQLiteral are passed via a literal parameter
2019-02-17 13:24:38 +01:00
Gwendal Roué
aa6f55d72f
Statement arguments are generally non optional
2019-02-17 13:24:38 +01:00
Gwendal Roué
f018c7f823
Rename SQLString to SQLLiteral
2019-02-17 13:24:38 +01:00
Gwendal Roué
98e2d009c6
SQLString tests
2019-02-17 13:24:38 +01:00
Gwendal Roué
09e85ba341
SQLString everywhere
2019-02-17 13:24:38 +01:00
Gwendal Roué
f27a1e9504
request.select(SQLString)
2019-02-17 13:24:38 +01:00
Gwendal Roué
86409687a4
TODO: Documentation
2019-02-17 13:24:38 +01:00
Gwendal Roué
ff439c2dbc
Documentation
2019-02-17 13:24:37 +01:00
Gwendal Roué
9b6c9b421a
Update CustomizedDecodingOfDatabaseRows for SQLString
2019-02-17 13:24:37 +01:00
Gwendal Roué
b5bcdd9df4
Fetch FetchableRecord from SQLString
2019-02-17 13:24:37 +01:00
Gwendal Roué
b36cf84b23
Fetch StatementColumnConvertible from SQLString
2019-02-17 13:24:37 +01:00
Gwendal Roué
fb89b540cd
Fetch DatabaseValueConvertible from SQLString
2019-02-17 13:24:37 +01:00
Gwendal Roué
86b8c35c04
Fetch rows from SQLString
2019-02-17 13:24:37 +01:00
Gwendal Roué
e7497e707e
SQLRequest.init(SQLString)
2019-02-17 13:24:37 +01:00
Gwendal Roué
b7089bb025
Database.execute(SQLString)
2019-02-17 13:24:37 +01:00
Gwendal Roué
612bd70710
Test SQLString in Swift 4.2 mode
2019-02-17 13:24:37 +01:00
Gwendal Roué
8affc8abe4
Remove dead code
2019-02-17 13:24:37 +01:00
Gwendal Roué
d9cf760a25
SQLString
2019-02-17 13:24:37 +01:00
Gwendal Roué
5b6d882d67
SQLRequest adopts ExpressibleByStringInterpolation
2019-02-17 13:24:37 +01:00
Gwendal Roué
87ee00c2c5
SQLInterpolation
2019-02-17 13:24:37 +01:00
Gwendal Roué
e100287bd8
Fixits for ValueObservation
2019-02-17 13:09:19 +01:00
Gwendal Roué
323b8de3dc
Fixits for ColumnCursor and NullableColumnCursor
2019-02-17 13:02:48 +01:00
Gwendal Roué
06ec4580be
Fixit for DatabaseWriter.readFromCurrentState
2019-02-17 12:59:32 +01:00
Gwendal Roué
efd69a628a
Add fixit for Cursor.flatMap
2019-02-17 12:50:29 +01:00
Gwendal Roué
cc80daec99
Fixit/GRDB-4.0.swift
2019-02-17 12:48:13 +01:00
Gwendal Roué
fd398aa434
Fix cocapods lint tests
2019-02-17 11:09:56 +01:00
Gwendal Roué
4b8ea08f4f
Simplify Statement preparation now that SR-2347 is solved
2019-02-10 14:20:12 +01:00
Gwendal Roué
e57cf49dc4
Remove useless check
2019-02-09 20:27:15 +01:00
Gwendal Roué
111dcbcad4
Fix warnings
2019-02-09 20:10:11 +01:00
Gwendal Roué
4174896225
Fix DataMemoryTests
2019-02-09 16:05:03 +01:00
Gwendal Roué
5738edc1bb
CHANGELOG
2019-02-09 14:25:33 +01:00
Gwendal Roué
192bd71c12
SQLRequest.arguments is no longer optional
2019-02-09 14:14:07 +01:00
Gwendal Roué
5ee3b9c878
SE-0235 Add Result to the Standard Library
2019-02-09 12:54:30 +01:00
Gwendal Roué
d3020dbd8f
Workaround SR-9893
...
https://bugs.swift.org/browse/SR-9893
2019-02-09 11:10:27 +01:00
Gwendal Roué
493575a47b
SE-0220 count(where:)
2019-02-09 10:21:34 +01:00
Gwendal Roué
fa4febfa93
GRDB 4.0 TODO
2019-02-09 10:04:24 +01:00
Gwendal Roué
8cd49082ec
SE-0205 withUnsafePointer(to:_:) and withUnsafeBytes(of:_:) for immutable values
2019-02-09 09:56:12 +01:00
Gwendal Roué
0dbfe7d9e3
GRDB 4.0 TODO
2019-02-09 09:50:32 +01:00
Gwendal Roué
bbc64e38c7
SE-0207 Add an allSatisfy algorithm to Sequence
2019-02-09 09:50:04 +01:00
Gwendal Roué
d7188f4b93
TODO: Rename Future
2019-02-08 10:19:01 +01:00
Gwendal Roué
bb045235bf
Remove tests for deprecated methods
2019-02-08 10:16:17 +01:00
Gwendal Roué
ca4879c496
Remove deprecated ValueObservation methods
2019-02-08 10:16:17 +01:00
Gwendal Roué
a466a8b253
Remove deprecated Cursor types
2019-02-08 10:16:17 +01:00
Gwendal Roué
5cd66c1be8
Remove deprecated Cursor.flatMap
2019-02-08 10:16:17 +01:00
Gwendal Roué
4489106bd6
Remove deprecated DatabaseWriter.readFromCurrentState
2019-02-08 10:16:17 +01:00
Gwendal Roué
485d42373b
GRDB 4 is the latest version for Swift 4.2
2019-02-08 09:00:34 +01:00
Gwendal Roué
249484a21f
SE-0204 Add last(where:) and lastIndex(where:) Methods
2019-02-08 08:47:45 +01:00
Gwendal Roué
fb8946254d
Swift 5: update calls to Data.withUnsafeBytes
2019-02-08 08:22:23 +01:00
Gwendal Roué
b8a2592737
TODO future support for SQLite 3.27.0
2019-02-08 07:55:07 +01:00
Gwendal Roué
3029949731
Add () to forward @autoclosure parameters
2019-02-08 05:30:57 +01:00
Gwendal Roué
91061ee669
Remove redundant public modifiers
2019-02-08 05:27:50 +01:00
Gwendal Roué
90a9aa3523
Fix SPM compilation
2019-02-07 12:57:09 +01:00
Gwendal Roué
ad04ccc094
Drop all fixits for GRDB < 3.0
2019-02-07 12:52:52 +01:00
Gwendal Roué
a230fe400d
Availability checks: assume iOS >= 9.0
2019-02-07 08:52:38 +01:00
Gwendal Roué
62ef344a6c
Simplify FTS5, assuming swift(>=4.2)
2019-02-07 08:39:06 +01:00
Gwendal Roué
3eb36768c6
Simplify iOS memory management, assuming swift(>=4.2)
2019-02-07 08:25:31 +01:00
Gwendal Roué
b6f79f176c
SE-0206 : Hashable Enhancements
2019-02-07 08:21:48 +01:00
Gwendal Roué
e2d151e748
Travis: test Xcode 10.1
2019-02-06 21:30:49 +01:00
Gwendal Roué
54ddd3e025
Set IPHONEOS_DEPLOYMENT_TARGET to 9.0
2019-02-06 20:05:53 +01:00
Gwendal Roué
2d7857f45b
Package.swift uses swift-tools-version:4.2
2019-02-06 20:04:39 +01:00
Gwendal Roué
81892491f2
Set default SWIFT_VERSION to 4.2
2019-02-06 19:53:00 +01:00
Gwendal Roué
0493a9646f
GRDB 4.0 kickoff
2019-02-06 19:45:19 +01:00
Gwendal Roué
e99823dbcc
Make DatabasePromise a proper monad
2019-02-04 19:27:18 +01:00
Gwendal Roué
a1c99425cc
SQLQualifiedSource.init(_:) bugfix, and cleanup
2019-02-04 08:18:20 +01:00
Gwendal Roué
dc6db13134
Merge pull request #476 from groue/feature/cleanup
...
SQL Generation Winter Cleaning
2019-02-04 07:41:56 +01:00
Gwendal Roué
699c63e913
Explain how SQLSelectQueryGenerator uses RowAdapter
2019-02-03 19:55:26 +01:00
Gwendal Roué
e924587236
Extract generation of SQL SELECT queries into SQLSelectQueryGenerator
2019-02-03 14:56:28 +01:00
Gwendal Roué
c776801c4a
Document "merging" and "finalization"
2019-02-03 11:58:16 +01:00
Gwendal Roué
73782d5e9d
BelongsTo, HasOne and HasMany share the same JoinAssociationImpl
2019-02-03 10:23:34 +01:00
Gwendal Roué
659171902e
Move join-related types to SQLRelation.swift
2019-02-03 10:09:34 +01:00
Gwendal Roué
4a209fcbc4
Rename SQLSource to SQLRelation.Source
2019-02-03 10:06:23 +01:00
Gwendal Roué
91b68ffa4f
Trim
2019-02-03 09:29:52 +01:00
Gwendal Roué
5ea914ce0a
YAGNI: JoinCondition.sqlExpression is not optional
2019-02-03 08:42:37 +01:00
Gwendal Roué
950fa607a1
Hide implementation details of associations
2019-02-03 08:26:58 +01:00
Gwendal Roué
c9ff5a53a1
JoinCondition: Equatable
2019-02-03 00:03:04 +01:00
Gwendal Roué
f42d5f202d
White space
2019-02-02 17:57:01 +01:00
Gwendal Roué
27c6390635
More Association trimming
2019-02-02 17:53:01 +01:00
Gwendal Roué
e62cfe086c
Documentation
2019-02-02 17:23:50 +01:00
Gwendal Roué
40f6b351ea
Rename QueryInterfaceQuery to SQLSelectQuery
2019-02-02 17:15:29 +01:00
Gwendal Roué
89dda44364
Extract and document DatabasePromise
2019-02-02 17:04:16 +01:00
Gwendal Roué
9addac6f54
Rename QueryOrdering to SQLRelation.Ordering
2019-02-02 16:43:10 +01:00
Gwendal Roué
5a942d7213
More trimming: QueryInterfaceQuery now embeds a SQLRelation
2019-02-02 16:20:43 +01:00
Gwendal Roué
bb972a351a
Refactor JoinQuery into SQLRelation
2019-02-02 15:39:18 +01:00
Gwendal Roué
5f037c7e4e
Replace JoinQuery initializer with QueryInterfaceRequest.asJoinQuery()
2019-02-02 14:54:31 +01:00
Gwendal Roué
9d391badc0
Documentation
2019-02-02 14:31:12 +01:00
Gwendal Roué
f309a0c5f3
Documentation
2019-02-02 13:30:57 +01:00
Gwendal Roué
d9530433f2
Move JoinCondition definition
2019-02-02 13:15:17 +01:00
Gwendal Roué
20d067c826
Documentation
2019-02-02 13:11:00 +01:00
Gwendal Roué
1e7840f0e4
More trimming
2019-02-02 11:38:27 +01:00
Gwendal Roué
77fd2b8411
Restore failing tests
2019-02-02 10:51:33 +01:00
Gwendal Roué
b180fc37bb
Trim associations
2019-02-02 10:38:47 +01:00
Gwendal Roué
4e4d591109
Typo fix
2019-01-30 08:46:18 +01:00
Gwendal Roué
7745e92a1f
Merge pull request #470 from timwredwards/master
...
Update README.md
2019-01-14 14:06:22 +01:00
Tim Edwards
b70de2033a
Update README.md
...
Fixed "latest release" date
2019-01-14 13:02:50 +00:00
Gwendal Roué
134bc670ef
CHANGELOG
2019-01-05 15:57:10 +01:00
Gwendal Roué
d265e2d77b
v3.6.2
2019-01-05 15:40:05 +01:00
Gwendal Roué
ac40b63262
Merge pull request #464 from groue/feature/updatesChanges
...
Make updateChanges(_:with:) available to PersistableRecord structs
2019-01-05 14:47:35 +01:00
Gwendal Roué
bac9d8e425
CHANGELOG.md
2019-01-05 14:46:38 +01:00
Gwendal Roué
bf0c9b5c27
Move non-mutating updateChanges(_:with:) from PersistableRecord to PersistableRecord & AnyObject.
2019-01-05 12:35:28 +01:00
Gwendal Roué
f70d04c76a
Failing test for updateChanges(_:with:) for PersistableRecord struct
...
The problem is that the code does not compile :'(
2019-01-05 12:30:48 +01:00
Gwendal Roué
85aa899c7b
Fix #462
2019-01-02 17:49:36 +01:00
Gwendal Roué
19fa05aecc
Update TODO.md
2018-12-13 16:46:13 +01:00
Gwendal Roué
9c4a8fb0b2
Fix typo
2018-12-09 11:35:22 +01:00
Gwendal Roué
e19f02b77e
v3.6.1
2018-12-09 11:18:41 +01:00
Gwendal Roué
b34030fc39
Merge pull request #458 from groue/feature/FixValueObserverOverRetain
...
Fix ValueObservation duration - code & doc
2018-12-09 10:37:51 +01:00
Gwendal Roué
40a5fb1195
Observer deallocation needs better tests
2018-12-09 06:17:36 +01:00
Gwendal Roué
d9dd880d6d
Fix flaky test
2018-12-09 05:45:14 +01:00
Gwendal Roué
c51b0ba862
Fix documentation about ValueObservation.extent, and add a note in remove(transactionObserver:) documentation.
2018-12-08 17:32:18 +01:00
Gwendal Roué
197f922e7e
Fix failing tests for over-retained ValueObserver
2018-12-08 17:11:53 +01:00
Gwendal Roué
25f6bd9673
Failing tests for over-retained ValueObserver
2018-12-08 17:11:30 +01:00
Gwendal Roué
909821f4e5
Add a link to Codable records
2018-12-08 14:57:20 +01:00
Gwendal Roué
b211dc55c4
Put associations in the feature list
...
... and use the "relation" keyword: people familiar with other toolkits may search for this word https://forums.swift.org/t/new-release-grdb-3-6-0/18660/4
2018-12-08 14:36:45 +01:00
Gwendal Roué
863a762eca
Wording
2018-12-08 12:23:41 +01:00
Gwendal Roué
bb01da7635
Mention ValueObservation iin WhyAdoptGRDB
2018-12-08 11:32:26 +01:00
Gwendal Roué
558cdacb5b
Fix typo
2018-12-08 07:50:41 +01:00
Gwendal Roué
eff7dbd798
CHANGELOG
2018-12-08 07:18:22 +01:00
Gwendal Roué
1d3935baaf
Merge pull request #457 from diatoming/patch-2
...
Typo in AssociationsBasics.md
2018-12-08 05:40:39 +01:00
diatoming
b40e4e58e1
Typo in AssociationsBasics.md
2018-12-08 07:08:20 +08:00
Gwendal Roué
36d3607565
http://github.com/groue/GRDBDemo is no longer
2018-12-07 20:56:04 +01:00
Gwendal Roué
d55807e2a2
Realm 3.12.0, Swift 4.2.1
2018-12-07 20:55:12 +01:00
Gwendal Roué
6447eeca17
v3.6.0
2018-12-07 18:58:30 +01:00
Gwendal Roué
1fea9c06e8
Merge branch 'development'
2018-12-07 18:30:07 +01:00
Gwendal Roué
11d3dd9538
CHANGELOG
2018-12-07 18:22:01 +01:00
Gwendal Roué
f6f236512b
Documentation
2018-12-07 18:08:53 +01:00
Gwendal Roué
343816ed7b
Documentation
2018-12-07 18:04:16 +01:00
Gwendal Roué
59a65bf81e
PULL_REQUEST_TEMPLATE
2018-12-07 17:57:50 +01:00
Gwendal Roué
a5b06b5cb0
Merge branch 'master' into development
2018-12-07 17:55:00 +01:00
Gwendal Roué
802575c505
Merge pull request #456 from diatoming/patch-1
...
fix typo in AssociationsBasics.md
2018-12-07 13:13:04 +01:00
diatoming
c433a130e5
Update AssociationsBasics.md
...
just fix typo
2018-12-07 19:56:28 +08:00
Gwendal Roué
ca4a867803
Remove picture that breaks anchor linking
2018-12-07 08:43:59 +01:00
Gwendal Roué
37ac126d26
Documentation
2018-12-07 08:42:28 +01:00
Gwendal Roué
5badd62515
Documentation
2018-12-07 08:41:17 +01:00
Gwendal Roué
37983b8581
Documentation
2018-12-07 08:36:11 +01:00
Gwendal Roué
815a3697da
Documentation
2018-12-07 08:20:18 +01:00
Gwendal Roué
32acfb2cf4
Merge pull request #455 from groue/feature/DatabaseRegionObserver
...
DatabaseRegionObservation
2018-12-07 08:07:28 +01:00
Gwendal Roué
9fd802b3ea
Documentation
2018-12-06 18:54:09 +01:00
Gwendal Roué
21d243fc33
Documentation
2018-12-06 18:51:45 +01:00
Gwendal Roué
97936c3fad
Documentation
2018-12-06 18:46:57 +01:00
Gwendal Roué
03934041c2
Fix DatabaseRegion doc layout
2018-12-06 18:41:43 +01:00
Gwendal Roué
862563fdaa
Remove obsolete test
2018-12-06 16:42:20 +01:00
Gwendal Roué
73935dfa9d
CHANGELOG
2018-12-06 14:02:10 +01:00
Gwendal Roué
9a3e6f0b97
CHANGELOG
2018-12-06 13:58:47 +01:00
Gwendal Roué
bc5899543f
Documentation
2018-12-06 13:55:08 +01:00
Gwendal Roué
fd79a53a96
Documentation
2018-12-06 13:34:02 +01:00
Gwendal Roué
194624212e
Move db observation documentations around
2018-12-06 13:33:17 +01:00
Gwendal Roué
1472385242
Documentation
2018-12-06 08:55:31 +01:00
Gwendal Roué
78bb086f69
Documentation
2018-12-06 08:43:44 +01:00
Gwendal Roué
e3681fdde5
DatabaseRegionObservationTests
2018-12-06 08:28:43 +01:00
Gwendal Roué
6ec4556c2c
DatabaseRegionObservation
2018-12-06 07:49:41 +01:00
Gwendal Roué
1e72731c07
Distinguish distinctUntilChanged from distinctUntilDatabaseChanged
2018-12-06 07:04:40 +01:00
Gwendal Roué
82329c899e
Hide DatabaseWriter.remove(transactionObserver:) from Jazzy
2018-12-05 19:27:04 +01:00
Gwendal Roué
8ab6e67f07
Hide DatabaseWriter.add(observation:onError:onChange:) from Jazzy
2018-12-05 19:23:06 +01:00
Gwendal Roué
643bbc7076
Merge pull request #454 from groue/feature/distinctUntilChanged
...
ValueObservation.distinctUntilChanged
2018-12-05 12:06:42 +01:00
Gwendal Roué
61f2544afe
Remove a breaking change introduced by #446
2018-12-05 08:47:55 +01:00
Gwendal Roué
546289bc88
CHANGELOG
2018-12-05 08:29:49 +01:00
Gwendal Roué
d3d5b1d24c
CHANGELOG
2018-12-05 08:28:08 +01:00
Gwendal Roué
dd59186887
Documentation
2018-12-05 08:24:12 +01:00
Gwendal Roué
88d7c58522
TODO: remove some magic in GRDB 4
2018-12-05 08:02:18 +01:00
Gwendal Roué
c711ca1e8f
ValueObservation.distinctUntilChanged()
2018-12-05 07:58:03 +01:00
Gwendal Roué
56d49dd385
Cleanup
2018-12-02 10:12:21 +01:00
Gwendal Roué
7b97d75a80
Merge pull request #452 from groue/feature/MapReducer
...
ValueObservation.mapReducer
2018-12-02 07:56:50 +01:00
Gwendal Roué
a8d9f2d82b
CHANGELOG
2018-12-02 01:11:58 +01:00
Gwendal Roué
c7d28de386
CHANGELOG
2018-12-02 01:10:13 +01:00
Gwendal Roué
ce61d27a9e
CHANGELOG
2018-12-02 01:02:14 +01:00
Gwendal Roué
b8e3994858
ValueObservation.mapReducer
...
and expose more precise value reducers
2018-12-02 00:01:21 +01:00
Gwendal Roué
7c6c615969
Merge pull request #451 from groue/feature/CompactMap
...
ValueObservation.compactMap
2018-12-01 21:03:34 +01:00
Gwendal Roué
8c543f5078
Fix failing tests
2018-12-01 19:07:58 +01:00
Gwendal Roué
3884141fc2
map/compactMap fail preserving ValueObservation configuration
2018-12-01 19:06:16 +01:00
Gwendal Roué
2c3776d372
Fix typo
2018-12-01 18:59:01 +01:00
Gwendal Roué
c1d8dcb105
Link to ValueObservation from GoodPracticesForDesigningRecordTypes
2018-12-01 17:17:54 +01:00
Gwendal Roué
c89540683f
README
2018-12-01 17:11:56 +01:00
Gwendal Roué
3687e11958
README
2018-12-01 17:10:17 +01:00
Gwendal Roué
90c588a9f5
README
2018-12-01 17:06:10 +01:00
Gwendal Roué
838d9204ab
CHANGELOG
2018-12-01 17:02:30 +01:00
Gwendal Roué
2488007b9c
README
2018-12-01 17:02:25 +01:00
Gwendal Roué
5b3412e9f7
ValueObservation.compactMap
2018-12-01 16:35:19 +01:00
Gwendal Roué
f07eee3ca7
DispatchQueue creation cleanup
2018-12-01 16:22:05 +01:00
Gwendal Roué
769b247da9
Merge pull request #449 from groue/feature/fixEmptyContainersJSONEncoding
...
Fix JSON encoding of empty containers
2018-11-28 12:24:14 +01:00
Gwendal Roué
ef54efcb75
Cleanup
2018-11-28 09:11:36 +01:00
Gwendal Roué
f41112c071
Documentation
2018-11-28 08:46:48 +01:00
Gwendal Roué
e8ad816de5
CHANGELOG
2018-11-28 08:41:30 +01:00
Gwendal Roué
32f1a7ae0f
Fix JSON encoding of empty arrays and dictionaries
2018-11-28 08:34:32 +01:00
Gwendal Roué
3dcae6d409
Forgot that reducer factory closure throws
2018-11-25 18:35:05 +01:00
Gwendal Roué
550c016a98
Merge pull request #446 from groue/feature/ValueReducerFactory
...
ValueObservation: delayed reducer creation
2018-11-25 18:24:35 +01:00
Gwendal Roué
e092e8b3ec
CHANGELOG
2018-11-25 15:42:34 +01:00
Gwendal Roué
1b53bf9ea2
Documentation
2018-11-25 15:27:26 +01:00
Gwendal Roué
3f001ba04d
ValueObservation now accept a reducer factory
2018-11-25 15:18:03 +01:00
Gwendal Roué
87c4775421
ValueObservation creates a reducer when its starts
2018-11-25 14:26:04 +01:00
Gwendal Roué
2e3f2f9d61
Tests for reducer queue labels
2018-11-25 09:35:17 +01:00
Gwendal Roué
798b727d7f
Reducer queue honors qos and targetQueue configuration
2018-11-25 09:35:04 +01:00
Gwendal Roué
54361617fe
Remove headers
2018-11-25 09:33:55 +01:00
Gwendal Roué
417b830b61
CHANGELOG menu
2018-11-25 07:51:08 +01:00
Gwendal Roué
b757a44a77
CHANGELOG menu
2018-11-25 07:47:57 +01:00
Gwendal Roué
6b78be51e2
CHANGELOG
2018-11-24 23:22:12 +01:00
Gwendal Roué
466140e699
Merge pull request #445 from groue/feature/qos
...
Quality of service and target dispatch queue
2018-11-24 23:18:57 +01:00
Gwendal Roué
4e1eea5743
Run run qos and targetQueue tests on Xcode 9.3, iOS 9.0
...
We lack dispatchPrecondition(condition:)
2018-11-24 21:46:50 +01:00
Gwendal Roué
267b4f958d
Remove useless availability check
2018-11-24 21:22:47 +01:00
Gwendal Roué
9c71061629
Tests for QoS
2018-11-24 21:14:35 +01:00
Gwendal Roué
40ba0a7e8f
CHANGELOG
2018-11-24 20:57:43 +01:00
Gwendal Roué
bf6a101338
dispatchPrecondition(condition:) iOS availability
2018-11-24 20:56:36 +01:00
Gwendal Roué
736db6a546
Confiiguration.qos and targetQueue
2018-11-24 20:48:17 +01:00
Gwendal Roué
6a10ad0e11
Merge pull request #444 from groue/feature/ValueObservationCombine
...
Combine Value Observations
2018-11-24 19:39:51 +01:00
Gwendal Roué
a521c89962
Documentation
2018-11-24 19:39:15 +01:00
Gwendal Roué
b155ab742a
Documentation
2018-11-24 19:38:24 +01:00
Gwendal Roué
4376e7519f
Documentation
2018-11-24 14:55:15 +01:00
Gwendal Roué
42f13a621a
Documentation
2018-11-24 14:53:23 +01:00
Gwendal Roué
8a9ccccf93
Documentation
2018-11-24 14:47:34 +01:00
Gwendal Roué
e3a8bfda6f
Documentation
2018-11-24 14:37:36 +01:00
Gwendal Roué
a5c291e7a8
CHANGELOG
2018-11-24 14:35:27 +01:00
Gwendal Roué
71b75ee265
Documentation
2018-11-24 14:27:41 +01:00
Gwendal Roué
3f1db5aa10
Cleanup
2018-11-24 14:22:04 +01:00
Gwendal Roué
5ff519afcb
Documentation
2018-11-24 13:50:36 +01:00
Gwendal Roué
41d814b540
Tests for ValueObservation combine
2018-11-24 12:57:24 +01:00
Gwendal Roué
326ef19fe9
ValueObservation combination
2018-11-24 11:38:47 +01:00
Gwendal Roué
796644edda
Fix test
...
Concurrency is hard
2018-11-23 07:41:31 +01:00
Gwendal Roué
03b51ee899
Second failed test :-(
2018-11-22 09:34:10 +01:00
Gwendal Roué
a2af4fb99a
Merge pull request #443 from groue/feature/updateChanges
...
In place record update
2018-11-22 08:16:09 +01:00
Gwendal Roué
e95119130c
Documentation tweaks
2018-11-22 08:14:00 +01:00
Gwendal Roué
9735d8b74e
Record Comparison documentation
2018-11-21 23:08:53 +01:00
Gwendal Roué
f4c0eaa912
updateChanges(_:with:) documentation
2018-11-21 23:03:30 +01:00
Gwendal Roué
d6e7d74a12
Cleanup
2018-11-21 22:27:33 +01:00
Gwendal Roué
771c85581c
Fix documentation typo
2018-11-21 22:13:07 +01:00
Gwendal Roué
1baca23500
CHANGELOG
2018-11-21 22:12:52 +01:00
Gwendal Roué
cc2a2a3545
Non-mutating version of updateChanges
2018-11-21 22:09:41 +01:00
Gwendal Roué
72a2408fce
CHANGELOG
2018-11-21 22:08:05 +01:00
Gwendal Roué
0cd1ca11ef
TODO
2018-11-21 21:48:34 +01:00
Gwendal Roué
c04e6ad86d
Tests for updateChanges(_:with:)
2018-11-21 21:48:24 +01:00
Gwendal Roué
3e67a1a021
Why use fileprivate when private is enough?
2018-11-21 20:33:21 +01:00
Gwendal Roué
a3e62d8734
Factor updateChanges
2018-11-21 20:28:22 +01:00
Gwendal Roué
f5bfb9df95
MutablePersistableRecord.updateChanges(_:with:)
2018-11-21 08:37:51 +01:00
Gwendal Roué
d45ed56b64
Fix documentation typo
2018-11-19 09:01:26 +01:00
Gwendal Roué
59175a6b4d
DatabasePool: block reader until concurrent fetch has been executed
2018-11-18 17:18:29 +01:00
Gwendal Roué
f4e77c7700
Fix Swift 4.1 "expression was too complex to be solved in reasonable time" error
2018-11-18 17:05:10 +01:00
Gwendal Roué
cbc3467e2d
Database.beginSnapshotIsolation()
2018-11-18 16:49:51 +01:00
Gwendal Roué
65cc0bb2b3
Cache frequently used statements
2018-11-18 16:49:14 +01:00
Gwendal Roué
7e548aee13
Cleanup SchemaInfo
2018-11-18 15:47:11 +01:00
Gwendal Roué
8d18b06e5d
Merge pull request #442 from groue/feature/reindex
...
Reindex
2018-11-17 22:12:34 +01:00
Gwendal Roué
55c8d350b8
CHANGELOG
2018-11-17 19:17:25 +01:00
Gwendal Roué
064f1005e5
CHANGELOG
2018-11-17 19:12:20 +01:00
Gwendal Roué
53adad16e5
Tests for Database.reindex(collation:)
2018-11-17 18:56:38 +01:00
Gwendal Roué
466a1ad4d5
Database.reindex(collation:)
2018-11-17 18:56:29 +01:00
Gwendal Roué
f80f59cc38
Tweaks to demo app
2018-11-17 18:41:46 +01:00
Gwendal Roué
ead2b13362
Optimize value observation for views that feed from a single table
...
By removing views from the observed database region, we allow the "single-table observation optimization" to kick in.
Thank you @foxware00 for revealing this opportunity in #441 :-)
2018-11-17 16:29:31 +01:00
Gwendal Roué
0ea9a1ce0d
Use SchemaInfo more
2018-11-17 15:59:09 +01:00
Gwendal Roué
3b7801efff
Cache full database schema
2018-11-17 15:38:55 +01:00
Gwendal Roué
5efbbe9f0c
Typo
2018-11-17 14:13:58 +01:00
Gwendal Roué
d868b7e1ce
Test ValueObservation with database queue and pool
2018-11-17 14:12:03 +01:00
Gwendal Roué
60358ba0c0
CHANGELOG
2018-11-17 13:43:03 +01:00
Gwendal Roué
b6eb5ab399
ValueObservation: tests for region arrays
2018-11-17 13:26:14 +01:00
Gwendal Roué
b9ab74cb1d
ValueObservation: support region arrays (address #441 )
2018-11-17 13:25:55 +01:00
Gwendal Roué
d3fd838c6c
DatabaseRegion cleanup and documentation
...
Goal: improve understanding of observation performance.
Context: https://github.com/groue/GRDB.swift/issues/441
2018-11-17 12:46:01 +01:00
Gwendal Roué
1108ba4bf2
DatabaseError gets a default message, derived from its resultCode
2018-11-16 09:07:52 +01:00
Gwendal Roué
49de0e0f49
Call sqlite3_close() even if opening failed
...
Thanks to https://github.com/feistydog/FeistyDB/commit/6859f622797480656f8897c2db5e620e6a98c858
2018-11-16 08:48:25 +01:00
Gwendal Roué
d56b62a65f
Flag ValueReducer as experimental
2018-11-10 12:31:35 +01:00
Gwendal Roué
c28a4d4061
Remove public initializers of utility value reducers
2018-11-10 12:29:31 +01:00
Gwendal Roué
3971b43894
Cleanup
2018-11-05 09:08:14 +01:00
Gwendal Roué
9fc5c2680b
Typo
2018-11-05 09:08:01 +01:00
Gwendal Roué
0f8156afed
Cleanup demo app
2018-11-04 03:50:19 +01:00
Gwendal Roué
da3f14c29a
Typo
2018-11-03 16:39:36 +01:00
Gwendal Roué
dbacf3acf0
Documentation
2018-11-02 18:04:48 +01:00
Gwendal Roué
961138b09b
v3.5.0
2018-11-02 17:01:39 +01:00
Gwendal Roué
6c6e46b8d6
Merge branch 'development'
2018-11-02 16:55:53 +01:00
Gwendal Roué
0cbf259ed1
Merge pull request #435 from groue/feature/ValueObservation
...
Improved support for values observation
2018-11-02 16:47:22 +01:00
Gwendal Roué
07bf5882fe
Adding more reactive engines is no longer hard
2018-11-02 16:28:06 +01:00
Gwendal Roué
b3c7fec676
Documentation
2018-11-02 13:56:52 +01:00
Gwendal Roué
296a1d5b12
CHANGELOG
2018-11-02 13:18:27 +01:00
Gwendal Roué
8c5e3df546
Documentation
2018-11-02 13:04:22 +01:00
Gwendal Roué
50213c925f
Documentation
2018-11-02 13:00:42 +01:00
Gwendal Roué
a1a5165bd2
Documentation
2018-11-02 12:48:48 +01:00
Gwendal Roué
7d9e87088d
Rename ValueObservation.isReadOnly to requiresWriteAccess
2018-11-02 12:31:26 +01:00
Gwendal Roué
c300cf2a38
Documentation
2018-11-02 12:15:04 +01:00
Gwendal Roué
c48d2e484a
Documentation
2018-11-02 12:10:49 +01:00
Gwendal Roué
2bc8f33249
Cleanup
2018-11-02 11:49:03 +01:00
Gwendal Roué
257fc8b66a
Cleanup
2018-11-02 08:35:16 +01:00
Gwendal Roué
bc274a603c
Documentation
2018-11-02 08:35:04 +01:00
Gwendal Roué
ab7970d470
Documentation
2018-11-01 22:58:20 +01:00
Gwendal Roué
087a899f13
Rename ValueObservation.tracking(withUniquing:fetch) to ValueObservation.tracking(_:fetchDistinct)
2018-11-01 22:18:58 +01:00
Gwendal Roué
842eaf0816
ValueObservation: perform uniquing by default
2018-11-01 21:46:59 +01:00
Gwendal Roué
f7b79e05f6
Attempt at addressing https://github.com/groue/GRDB.swift/issues/430
2018-11-01 16:59:39 +01:00
Gwendal Roué
1867ee91de
Documentation
2018-11-01 13:38:54 +01:00
Gwendal Roué
d53412d404
Documentation
2018-11-01 13:22:02 +01:00
Gwendal Roué
74ca85e52c
More links to the demo app
2018-11-01 13:16:04 +01:00
Gwendal Roué
51942046b9
Avoid the "No output has been received in the last 10m0s" error on Travis
2018-11-01 13:10:52 +01:00
Gwendal Roué
38e1cc9a27
Use ValueObservation is demo application
2018-11-01 12:58:17 +01:00
Gwendal Roué
7e8ebed7a8
Documentation
2018-10-31 19:39:44 +01:00
Gwendal Roué
eb95562b73
Documentation
2018-10-31 19:37:35 +01:00
Gwendal Roué
44af4e62a6
Documentation
2018-10-31 19:35:49 +01:00
Gwendal Roué
30363b4a5b
Tests for ValueObservation.map
2018-10-31 19:02:47 +01:00
Gwendal Roué
bb02d9d857
ValueObservation.map
2018-10-31 12:07:08 +01:00
Gwendal Roué
9babbcbcb3
README: foster ValueObservation
2018-10-31 08:59:50 +01:00
Gwendal Roué
04de6193c0
Documentation
2018-10-31 07:37:05 +01:00
Gwendal Roué
6fa72ebea1
Documentation
2018-10-30 13:44:05 +01:00
Gwendal Roué
0e51a0ff65
Documentation
2018-10-30 13:40:32 +01:00
Gwendal Roué
a276a49a26
CHANGELOG
2018-10-30 13:37:58 +01:00
Gwendal Roué
741f0b2a43
CHANGELOG
2018-10-30 13:37:05 +01:00
Gwendal Roué
3d21773496
CHANGELOG
2018-10-30 13:33:24 +01:00
Gwendal Roué
cca716e1ab
Cleanup
2018-10-30 08:49:36 +01:00
Gwendal Roué
8e13cb4e6c
Cleanup
2018-10-30 07:46:41 +01:00
Gwendal Roué
c4d328783f
Documentation
2018-10-30 07:24:27 +01:00
Gwendal Roué
22b5990669
Documentation
2018-10-29 23:04:00 +01:00
Gwendal Roué
d3838d1d73
ValueObservation error handling
2018-10-29 21:13:14 +01:00
Gwendal Roué
cdd7579104
Documentation
2018-10-29 19:40:37 +01:00
Gwendal Roué
4e3b7c14a9
Documentation
2018-10-29 19:39:44 +01:00
Gwendal Roué
b4b824c360
dbQueue.start(observation) -> observation.start(in: dbQueue)
2018-10-29 19:31:04 +01:00
Gwendal Roué
6f86cbf0c4
Documentation
2018-10-29 18:48:16 +01:00
Gwendal Roué
f68b1cd2c3
Documentation
2018-10-29 18:44:48 +01:00
Gwendal Roué
53f98a7bf6
Documentation
2018-10-29 18:42:04 +01:00
Gwendal Roué
77de519fcc
More tests for read/write observations
2018-10-29 18:40:12 +01:00
Gwendal Roué
739c325079
Documentation
2018-10-29 18:34:11 +01:00
Gwendal Roué
10650704b5
Documentation (todo: document error handling)
2018-10-29 18:32:54 +01:00
Gwendal Roué
735394669d
Documentation
2018-10-29 18:28:10 +01:00
Gwendal Roué
4e40d755f4
Documentation
2018-10-29 18:26:27 +01:00
Gwendal Roué
e5f43e341b
ValueScheduling.unsafe guarantees that initial value is notified on the dispatch queue which starts the observation
2018-10-29 18:23:38 +01:00
Gwendal Roué
72c5769e8b
ValueScheduling.unsafe
2018-10-29 13:59:02 +01:00
Gwendal Roué
669b9c4e91
Test for the ValueReducer documented in README
2018-10-29 13:31:42 +01:00
Gwendal Roué
a489959780
Typo
2018-10-29 13:10:04 +01:00
Gwendal Roué
1985b9129a
Fix SPM build
2018-10-29 13:09:56 +01:00
Gwendal Roué
f7712473aa
Move Sequence.allSatisfy where it is used: tests
2018-10-29 12:27:39 +01:00
Gwendal Roué
f582683f20
Move remove(transactionObserver:) to DatabaseReader
2018-10-29 12:26:12 +01:00
Gwendal Roué
a4b35729df
Documentation
2018-10-29 12:22:16 +01:00
Gwendal Roué
191607fc13
Documentation
2018-10-29 09:18:29 +01:00
Gwendal Roué
5a540e8850
Documentation
2018-10-29 09:16:42 +01:00
Gwendal Roué
f59dba711c
Try with "tracking"
2018-10-29 09:15:18 +01:00
Gwendal Roué
93326307fa
Documentation
2018-10-29 09:00:15 +01:00
Gwendal Roué
8d6ec6297a
Backport Sequence.allSatisfy in Swift 4.1
2018-10-29 08:52:59 +01:00
Gwendal Roué
1d47853abe
Documentation
2018-10-29 08:47:51 +01:00
Gwendal Roué
38e4027599
Documentation
2018-10-29 08:41:22 +01:00
Gwendal Roué
29b54dd37d
Documentation
2018-10-29 08:17:35 +01:00
Gwendal Roué
03d2bc43ac
Documentation
2018-10-29 08:07:28 +01:00
Gwendal Roué
22ed0fb1a1
Documentation
2018-10-29 08:00:39 +01:00
Gwendal Roué
489454b0d4
add(observation:observation) -> start(observation)
2018-10-29 07:19:36 +01:00
Gwendal Roué
840f8358b5
Documentation
2018-10-29 06:51:56 +01:00
Gwendal Roué
470e1534dc
Documentation
2018-10-28 22:29:15 +01:00
Gwendal Roué
158177364b
Documentation
2018-10-28 22:04:39 +01:00
Gwendal Roué
de2823b613
ValueObservation: StatementColumnConvertible tests
2018-10-28 19:28:19 +01:00
Gwendal Roué
0d5adfe5a9
ValueObservation: FetchableRecord & DatabaseValueConvertible tests
2018-10-28 19:16:55 +01:00
Gwendal Roué
0010be4e56
ValueObservation: row tests
2018-10-28 18:40:21 +01:00
Gwendal Roué
62f6cfe6b5
ValueObservation: count tests
2018-10-28 17:41:18 +01:00
Gwendal Roué
31e6ddeac3
ValueObservation: test scheduling
2018-10-28 17:32:31 +01:00
Gwendal Roué
f2c3c213cc
Read-only observation is enforced. When not read-only, savepoint is enforced.
2018-10-28 17:04:36 +01:00
Gwendal Roué
f303664808
Cleanup
2018-10-28 16:20:57 +01:00
Gwendal Roué
471808fa3b
More ValueObseervation tests: fetch, with and without uniquing
2018-10-28 16:13:58 +01:00
Gwendal Roué
cbe505f4a4
Cleanup
2018-10-28 16:13:34 +01:00
Gwendal Roué
087989fc89
More ValueObseervation tests: extent
2018-10-28 15:57:27 +01:00
Gwendal Roué
a519a4ab86
Documentation
2018-10-28 15:38:01 +01:00
Gwendal Roué
627e8ec969
Fix wrong documentation
2018-10-28 15:35:25 +01:00
Gwendal Roué
2b78479a5e
More ValueReducer tests: error
2018-10-28 15:32:55 +01:00
Gwendal Roué
e0a9cced4a
First tests for ValueObservation: focus on reducers
2018-10-28 13:27:43 +01:00
Gwendal Roué
26ba5768b2
whitespace
2018-10-28 13:26:40 +01:00
Gwendal Roué
09581c6ae0
ValueObservation factory requires a DatabaseRegionConvertible. Introduce AnyDatabaseRegionConvertible.
2018-10-28 11:45:49 +01:00
Gwendal Roué
fc3aca792f
Replace InitialDispatch with ValueScheduling
2018-10-28 11:28:31 +01:00
Gwendal Roué
a043c4c29e
QoS are hard
2018-10-27 23:01:24 +02:00
Gwendal Roué
ec5451ee70
Cleanup
2018-10-27 17:18:03 +02:00
Gwendal Roué
7c4462641e
ValueObservation creation is always done with a factory initializer
2018-10-27 17:16:03 +02:00
Gwendal Roué
82efe7ca23
AnyValueReducer
2018-10-27 17:06:23 +02:00
Gwendal Roué
052d2e3008
Value (string, int, etc.) observation, with uniquing
2018-10-27 16:41:42 +02:00
Gwendal Roué
de227bdce1
Bake uniquing right into ValueObservation: introduce ValueReducer
2018-10-27 16:12:42 +02:00
Gwendal Roué
697b2af61d
Wrap long lines
2018-10-27 05:11:19 +02:00
Gwendal Roué
ff4f6f3b12
Cleanup
2018-10-27 04:59:24 +02:00
Gwendal Roué
31b688d801
ValueObservationn has a QoS
2018-10-27 04:24:17 +02:00
Gwendal Roué
f694437f5b
Add missing public qualifiers
2018-10-27 04:23:45 +02:00
Gwendal Roué
69853d7901
Now that user implementations of DatabaseWriter are no longer supported...
...
...stop pretending we have to implement concurrentRead
on top of the deprecated readFromCurrentState.
And this fixes #419 :-)
2018-10-26 16:53:30 +02:00
Gwendal Roué
abe6957c85
Typo
2018-10-26 16:42:27 +02:00
Gwendal Roué
08b103f5f5
DatabaseReader and DatabaseWriter are no longer available for user types
...
- stop testing compatibility with user types
- document that they are no longer available for user types (readme, changelog)
2018-10-26 16:42:14 +02:00
Gwendal Roué
9c71356e3d
Honor ValueObservation.readonly
2018-10-26 09:10:26 +02:00
Gwendal Roué
2341523c41
API cleanup
2018-10-26 08:50:59 +02:00
Gwendal Roué
0df4815086
Move ValueObservation support to DatabaseReader
2018-10-25 20:39:04 +02:00
Gwendal Roué
fe0f238f32
Cleanup
2018-10-25 08:49:57 +02:00
Gwendal Roué
fda04a105d
ValueObservation: extract callbacks
2018-10-25 08:39:52 +02:00
Gwendal Roué
e5d97c15ad
Looking for a good API
2018-10-25 08:05:55 +02:00
Gwendal Roué
ce95ff7278
Move towards observation from reader
2018-10-24 19:17:11 +02:00
Gwendal Roué
33927e7f4d
FetchResultsObserver
2018-10-23 13:24:46 +02:00
Gwendal Roué
6a4d9fb8fc
Merge pull request #431 from KyleLeneau/codeable-json-sync-playground
...
Working on a Codable JSON sync example
2018-10-17 19:14:49 +02:00
Kyle LeNeau
cf33d78f49
Working on a Codable JSON sync example
2018-10-14 12:49:37 -07:00
Gwendal Roué
0d89aa911b
Documentation
2018-10-09 08:35:17 +02:00
Gwendal Roué
d521a99d87
Typo fix
2018-10-09 08:10:56 +02:00
Gwendal Roué
a848d864ce
Documentation
2018-10-08 21:59:04 +02:00
Gwendal Roué
759c1088a1
v3.4.0
2018-10-08 21:37:58 +02:00
Gwendal Roué
2d004a1a26
Merge branch 'development'
2018-10-08 21:22:10 +02:00
Gwendal Roué
35e1de495e
Merge pull request #428 from groue/feature/SQLite-3.25.2
...
Upgrade custom SQLite builds to version 3.25.2
2018-10-08 21:19:51 +02:00
Gwendal Roué
697709c82f
thank you note
2018-10-08 19:19:45 +02:00
Gwendal Roué
9ad476235d
CHANGELOG
2018-10-08 19:17:02 +02:00
Gwendal Roué
dadc5c3c58
Fix a test for syntax error that fails with SQLite 3.25.2
2018-10-08 19:16:54 +02:00
Gwendal Roué
3be3a51cdc
Fix a compiler warning
2018-10-08 19:13:12 +02:00
Gwendal Roué
7bdbfb77dd
Upgrade SQLite version in documentation
2018-10-08 19:11:24 +02:00
Gwendal Roué
8e0c01ef70
SQLite 3.25.2
2018-10-08 19:03:41 +02:00
Gwendal Roué
1c5cecf568
Merge pull request #423 from groue/feature/annotation
...
Association Aggregates
2018-10-08 13:59:14 +02:00
Gwendal Roué
9330468f92
Documentation
2018-10-08 09:10:48 +02:00
Gwendal Roué
fcbea047cc
Documentation
2018-10-08 09:08:37 +02:00
Gwendal Roué
619b73ea76
Documentation
2018-10-08 09:04:14 +02:00
Gwendal Roué
597d745e37
Documentation
2018-10-08 09:02:53 +02:00
Gwendal Roué
52ffb4a02c
Documentation
2018-10-08 08:59:56 +02:00
Gwendal Roué
c007c04afb
Documentation
2018-10-08 08:58:21 +02:00
Gwendal Roué
4b92968912
Documentation
2018-10-08 08:56:36 +02:00
Gwendal Roué
2938a95270
Inline documentation
2018-10-08 08:24:14 +02:00
Gwendal Roué
5b2e9cdaa5
Fix link
2018-10-07 20:01:39 +02:00
Gwendal Roué
5736cd2740
CHANGELOG
2018-10-07 19:59:35 +02:00
Gwendal Roué
6b05617d8d
Documentation
2018-10-07 19:10:37 +02:00
Gwendal Roué
58470fa959
Documentation
2018-10-07 18:50:50 +02:00
Gwendal Roué
43c04268ee
Documentation
2018-10-07 18:47:21 +02:00
Gwendal Roué
3ba8d7ae60
Documentation
2018-10-07 18:45:17 +02:00
Gwendal Roué
97c22cde40
Documentation
2018-10-07 18:26:10 +02:00
Gwendal Roué
8a983274af
Documentation
2018-10-07 18:25:33 +02:00
Gwendal Roué
445ec18d6e
Documentation
2018-10-07 18:20:22 +02:00
Gwendal Roué
a441b1d24d
Documentation
2018-10-07 18:18:51 +02:00
Gwendal Roué
23743680d2
Documentation
2018-10-07 18:11:52 +02:00
Gwendal Roué
afaabfe872
Documentation
2018-10-07 18:09:53 +02:00
Gwendal Roué
53114ea491
Documentation
2018-10-07 18:05:41 +02:00
Gwendal Roué
12745b2882
Documentation
2018-10-07 18:03:38 +02:00
Gwendal Roué
19291e2501
Documentation
2018-10-07 17:55:49 +02:00
Gwendal Roué
3890d2659f
Documentation
2018-10-07 17:51:51 +02:00
Gwendal Roué
68a8592bcd
Documentation
2018-10-07 17:42:55 +02:00
Gwendal Roué
445187c276
Documentation
2018-10-07 17:37:55 +02:00
Gwendal Roué
55707e67d4
Documentation
2018-10-07 17:31:58 +02:00
Gwendal Roué
82435db722
Documentation
2018-10-07 17:29:59 +02:00
Gwendal Roué
a47a0c9d2d
Typo
2018-10-07 17:17:41 +02:00
Gwendal Roué
5a24726cf1
Documentation
2018-10-07 17:08:24 +02:00
Gwendal Roué
7ecacaaccc
Documentation
2018-10-07 16:34:49 +02:00
Gwendal Roué
704da35576
aliased(CodingKey), annotated(with: aggregate, ...), count and isEmpty are now properties
2018-10-07 16:20:13 +02:00
Gwendal Roué
2774aaf292
aggregate alias cleanup
2018-10-07 15:40:38 +02:00
Gwendal Roué
8ffeb28b02
Tests for association aggregate operators
2018-10-07 15:20:24 +02:00
Gwendal Roué
5f92209c59
AssociationAggregates: logic, arithmetic, and comparison operators
2018-10-07 12:22:48 +02:00
Gwendal Roué
4f8e97a07c
AssociationAggregate is now generic on its anchor type only
2018-10-07 12:08:25 +02:00
Gwendal Roué
39bc140dc8
Rename Annotation to AssociationAggregate
2018-10-07 11:39:46 +02:00
Gwendal Roué
0838d5903e
Documentation
2018-10-06 15:46:47 +02:00
Gwendal Roué
a0cd603c61
Nicer SQL generation for isEmpty annotation
2018-10-06 14:50:08 +02:00
Gwendal Roué
3ef8083043
testAnnotationWithJoiningMethodAndTableAliasAndSQLSnippet
2018-10-06 14:29:48 +02:00
Gwendal Roué
35ed13c940
Test for annotations in HAVING clauses
2018-10-06 14:15:35 +02:00
Gwendal Roué
1da41c7fe5
TODO
2018-10-05 18:50:34 +02:00
Gwendal Roué
01069ee998
fix typo
2018-10-05 18:50:34 +02:00
Gwendal Roué
ebbf858da4
Documentation
2018-10-05 18:50:34 +02:00
Gwendal Roué
047a95f2c9
Improve sample code
2018-10-05 18:50:34 +02:00
Gwendal Roué
7508811e40
Fix typo
2018-10-05 18:50:34 +02:00
Gwendal Roué
2ae8e236c0
Aggregates are no longer a missing association feature :-)
2018-10-05 18:50:34 +02:00
Gwendal Roué
a13903e7a1
Documentation
2018-10-05 18:50:34 +02:00
Gwendal Roué
c25bc1d5fa
Documentation
2018-10-05 18:50:34 +02:00
Gwendal Roué
d004372b63
More cleanup
2018-10-05 18:50:34 +02:00
Gwendal Roué
789248e369
minor
2018-10-05 18:50:34 +02:00
Gwendal Roué
3404cc574b
CHANGELOG
2018-10-05 18:50:34 +02:00
Gwendal Roué
2ca049c2e4
Cleanup
2018-10-05 18:50:34 +02:00
Gwendal Roué
89054c8165
typo
2018-10-05 18:50:34 +02:00
Gwendal Roué
24e8ee2d00
Stabilize annotation aliases, and allow aggregate any expression
2018-10-05 18:50:34 +02:00
Gwendal Roué
f69c79bc1a
typo
2018-10-05 18:50:34 +02:00
Gwendal Roué
82765aba1d
typo
2018-10-05 18:50:34 +02:00
Gwendal Roué
bcc177ff7d
typo
2018-10-05 18:50:34 +02:00
Gwendal Roué
3bfef630f9
typo
2018-10-05 18:50:34 +02:00
Gwendal Roué
6a6d58da6c
typo
2018-10-05 18:50:34 +02:00
Gwendal Roué
6e7065de36
Annotation documentation
2018-10-05 18:50:34 +02:00
Gwendal Roué
f60152ed2e
Add Inflections.swift to GRDBWatchOS
2018-10-05 18:50:34 +02:00
Gwendal Roué
f6b0c0cc65
Rename test
2018-10-05 18:50:34 +02:00
Gwendal Roué
c16b2bcb57
The count annotation has to be distinct
2018-10-05 18:50:34 +02:00
Gwendal Roué
5d70ef93c8
Test that filter(key:), orderByPrimaryKey(), and groupByPrimaryKey() capture the table name
2018-10-05 18:50:34 +02:00
Gwendal Roué
68d76eca01
Annotations: avg, min, max, sum
2018-10-05 18:50:33 +02:00
Gwendal Roué
83453e1b11
Make private a test helper class
2018-10-05 18:50:33 +02:00
Gwendal Roué
903694d095
First annotation: HasManyAssociaton.count
2018-10-05 18:50:33 +02:00
Gwendal Roué
168d2850ab
Introduce groupByPrimaryKey()
2018-10-05 18:50:33 +02:00
Gwendal Roué
fc692bdb8a
Merge pull request #427 from groue/feature/cursor-reset
...
Have cursors reset SQLite statements in deinit
2018-10-05 12:23:08 +02:00
Gwendal Roué
d963e688be
CHANGELOG
2018-10-05 08:24:34 +02:00
Gwendal Roué
6157ab0583
Have cursors reset their statement when they are deinitialized
...
This is the real fix for #424 . GRDB used to keep unfinished SQLite statements around. Now cursors properly reset their statement when they are done. We no longer have to clear the statement cache before a backup.
2018-10-05 08:13:23 +02:00
Gwendal Roué
ad61c72988
Remove two invalid tests that use cursor outside of their protected dispatch queue
2018-10-05 08:04:37 +02:00
Gwendal Roué
dd4b651938
Merge pull request #425 from groue/feature/robust-backup
...
Fix "destination database is in use " error during database backup
2018-10-04 15:59:43 +02:00
Gwendal Roué
7cd50872cf
Merge branch 'master' into development
2018-10-04 13:40:43 +02:00
Gwendal Roué
fc5e92954b
SQLCipher, too, can't erase a database if there are cached prepared statements.
2018-10-04 13:34:35 +02:00
Gwendal Roué
6c7ac25fb8
Remove Carthage from suggested contributions ( #408 and #262 have helped a lot)
2018-10-04 13:20:51 +02:00
Gwendal Roué
86cff20f99
New suggested contribution: "Records: Splitting Database Encoding from Ability to Write in the Database"
2018-10-04 13:14:29 +02:00
Gwendal Roué
7a628bf23f
Add minimal failing test for #424
2018-10-04 08:35:02 +02:00
Gwendal Roué
9e8d08f579
CHANGELOG
2018-10-04 07:59:50 +02:00
Gwendal Roué
8c3606fe4b
Fix failing test for #424
2018-10-04 07:58:36 +02:00
Gwendal Roué
01c9e9e1e1
Failing test for #424
2018-10-03 13:55:55 +02:00
Gwendal Roué
ff28c02f21
Merge branch 'master' into development
2018-10-03 13:00:02 +02:00
Gwendal Roué
1426c7fd38
New suggested contribution: Custom FTS5 Auxiliary Functions
2018-10-03 12:57:21 +02:00
Gwendal Roué
366460bc62
Merge pull request #422 from groue/feature/AssociationMerge
...
Refining Association Requests
2018-09-30 16:39:33 +02:00
Gwendal Roué
16c62999fa
More merging tests (and fix a bug with ordering)
2018-09-30 15:10:54 +02:00
Gwendal Roué
2cd3a7e0c9
High-level test for association request refining
...
Here we test the sample code in AssociationBasics.md
2018-09-30 14:51:52 +02:00
Gwendal Roué
9958e7b96c
Documentation and cleanup
2018-09-30 13:57:31 +02:00
Gwendal Roué
8319c70315
CHANGELOG
2018-09-30 13:32:44 +02:00
Gwendal Roué
45ff5f2fa1
One less known issue with associations :-)
2018-09-30 13:23:35 +02:00
Gwendal Roué
df51d2887a
Documentation tweaks
2018-09-30 13:22:05 +02:00
Gwendal Roué
9c37237f7b
New "Refining Association Requests" documentation chapter
2018-09-30 13:16:57 +02:00
Gwendal Roué
6ecb7a40d0
associations are not merged when they don't have the same key
2018-09-30 06:48:20 +02:00
Gwendal Roué
52ec6c6cd2
Merge associations:
2018-09-30 06:35:15 +02:00
Gwendal Roué
ba11d7be66
Merge associations: SQL tests
2018-09-30 05:46:44 +02:00
Gwendal Roué
4c58fd5111
Merge associations: scope tests WIP
2018-09-29 20:28:28 +02:00
Gwendal Roué
4bde81db4f
Merge associations: scope tests WIP
2018-09-29 15:18:53 +02:00
Gwendal Roué
37a9999b35
Merge associations: including wins over joining
2018-09-29 14:37:53 +02:00
Gwendal Roué
33b40637a8
Merge associations
2018-09-29 14:16:56 +02:00
Gwendal Roué
e7fd075936
Early detection of association key conflict
2018-09-29 12:40:11 +02:00
Gwendal Roué
cc4a9fa2e2
Demo screenshot fixes
2018-09-23 15:48:41 +02:00
Gwendal Roué
56f3bdc390
Demo screenshot fixes
2018-09-23 15:48:08 +02:00
Gwendal Roué
ba5537692f
Demo screenshot fixes
2018-09-23 15:47:18 +02:00
Gwendal Roué
5595046341
Fix documentation
2018-09-23 12:39:21 +02:00
Gwendal Roué
ad844f6ba5
Merge branch 'development'
2018-09-23 10:41:13 +02:00
Gwendal Roué
baf8dbc881
v3.3.1
2018-09-23 10:39:55 +02:00
Gwendal Roué
ad672395de
Fix screenshot
2018-09-23 10:18:28 +02:00
Gwendal Roué
923fab769f
final tweaks
2018-09-23 09:59:29 +02:00
Gwendal Roué
4e3dc03422
inner links
2018-09-23 07:09:37 +02:00
Gwendal Roué
d96212ca59
CHANGELOG
2018-09-22 20:46:13 +02:00
Gwendal Roué
d16022a33a
README
2018-09-22 20:38:27 +02:00
Gwendal Roué
5cb22125aa
README
2018-09-22 20:35:14 +02:00
Gwendal Roué
6ee77df2dd
Layout
2018-09-22 20:31:03 +02:00
Gwendal Roué
ea54b06e28
Layout
2018-09-22 20:30:27 +02:00
Gwendal Roué
6b33c08b26
Demo app README
2018-09-22 15:01:22 +02:00
Gwendal Roué
cb16bf549f
Demo app README
2018-09-22 14:57:22 +02:00
Gwendal Roué
9a8b60a8a7
PlayerEditionViewController saves in the database
2018-09-22 14:55:32 +02:00
Gwendal Roué
dec965d610
Demo app README
2018-09-22 14:06:00 +02:00
Gwendal Roué
adf3e65971
Demo app README
2018-09-22 14:01:45 +02:00
Gwendal Roué
c437e4a2ef
Demo app README
2018-09-22 13:47:38 +02:00
Gwendal Roué
4dd9d2e1fe
Demo app README.md
2018-09-22 13:46:37 +02:00
Gwendal Roué
185c3cbbf9
Update documentation inner links
2018-09-22 13:41:46 +02:00
Gwendal Roué
ffbf4d2c87
Layout
2018-09-22 13:34:41 +02:00
Gwendal Roué
464cd0db7d
Layout
2018-09-22 13:32:53 +02:00
Gwendal Roué
e2e00f9b40
Layout
2018-09-22 13:30:16 +02:00
Gwendal Roué
2c2c75b0f4
Layout
2018-09-22 13:29:47 +02:00
Gwendal Roué
8ef7547c8e
Promote demo app in main README.md
2018-09-22 13:21:11 +02:00
Gwendal Roué
d82daaa398
CHANGELOG
2018-09-22 13:00:34 +02:00
Gwendal Roué
a5a8b2ac40
Fix failing test for custom FTS5 tokenizer in DatabasePool
...
Tokenizer are now added to new reader connections.
2018-09-22 13:00:34 +02:00
Gwendal Roué
bdcbee37f4
Failing test for custom FTS5 tokenizer in DatabasePool
2018-09-22 13:00:34 +02:00
Gwendal Roué
70508f5daa
Split long line
2018-09-22 12:59:50 +02:00
Gwendal Roué
3c44180c47
PlayerEditionViewController UI tweaks
2018-09-22 12:54:25 +02:00
Gwendal Roué
3d179acc00
Demo app code cleanup
...
- Make Player columns private
- Simplify view controllers relationships
2018-09-22 12:32:55 +02:00
Gwendal Roué
dd9ca2317c
More SQL generation ideas
2018-09-20 08:22:34 +02:00
Gwendal Roué
c71d4903a0
Merge branch 'release/v3.3.0'
2018-09-16 18:55:43 +02:00
Gwendal Roué
d118a775ac
Bump SQLCipher/src
2018-09-16 18:52:37 +02:00
Gwendal Roué
e92c0c9aed
Hide SQLSpecificExpressible from jazzy documentation
2018-09-16 13:39:11 +02:00
Gwendal Roué
b826789349
Workaround https://github.com/realm/jazzy/issues/970
2018-09-16 13:35:56 +02:00
Gwendal Roué
a09099bb02
v3.3.0
2018-09-16 12:58:36 +02:00
Gwendal Roué
914781cd7f
Thank you @KyleLeneau
2018-09-16 12:16:52 +02:00
Gwendal Roué
de84b084ec
Merge pull request #408 from KyleLeneau/fix-carthage-tests
...
Getting carthage tests to pass
2018-09-16 12:11:39 +02:00
Gwendal Roué
2b6e69404e
FetchedRecordsController in usage section
2018-09-16 12:09:47 +02:00
Kyle LeNeau
aaca651a2e
Getting Carthage tests to pass
2018-09-14 01:34:38 +09:00
Gwendal Roué
138289b646
Documentation improvement
2018-09-13 09:07:12 +02:00
Gwendal Roué
d4157db4b1
CHANGELOG
2018-09-13 09:02:14 +02:00
Gwendal Roué
3bf32564a4
Merge pull request #409 from groue/feature/concurrentRead
...
DatabaseWriter.concurrentRead
2018-09-13 08:56:38 +02:00
Gwendal Roué
7186cd98c8
(more diff algorithms)
2018-09-13 07:31:35 +02:00
Gwendal Roué
b9a878bb20
Cleanup
2018-09-11 08:56:29 +02:00
Gwendal Roué
8c479a863a
Documentation
2018-09-09 20:00:03 +02:00
Gwendal Roué
58a48b73ae
concurrentRead documentation
2018-09-09 19:55:07 +02:00
Gwendal Roué
2e6ed9d8f9
TODO
2018-09-09 16:03:00 +02:00
Gwendal Roué
df406341c1
CHANGELOG.md
2018-09-09 16:00:53 +02:00
Gwendal Roué
41629ec9aa
Future.wait() must be called only once
2018-09-09 16:00:01 +02:00
Gwendal Roué
47b42f38e3
CHANGELOG.md
2018-09-09 15:46:36 +02:00
Gwendal Roué
21209fb107
CHANGELOG.md
2018-09-09 13:46:13 +02:00
Gwendal Roué
106812c02c
Fix SPM
2018-09-09 13:42:35 +02:00
Gwendal Roué
da58e228c0
Document Future
2018-09-09 13:18:15 +02:00
Gwendal Roué
9bfe893908
DatabaseWriter.concurrentRead replaces readFromCurrentState
2018-09-09 13:12:35 +02:00
Gwendal Roué
03a781075e
Cleanup
2018-09-06 08:50:56 +02:00
Gwendal Roué
60afc9ee06
Tweak existence checks for tables, views and triggers
2018-09-06 08:31:27 +02:00
Gwendal Roué
22165984c3
Cursor.isEmpty()
2018-09-06 08:29:57 +02:00
Gwendal Roué
eebb013d06
Merge branch 'master' into development
2018-09-05 14:16:39 +02:00
Gwendal Roué
0e0ebdb2d6
Fix podspec
2018-09-05 14:09:01 +02:00
Gwendal Roué
be15f89e28
Merge tag 'v3.3.0-beta1' into development
...
v3.3.0-beta1
2018-09-05 13:55:48 +02:00
Gwendal Roué
5d2f063c93
Merge branch 'release/v3.3.0-beta1'
2018-09-05 13:55:47 +02:00
Gwendal Roué
e49c190288
Fix release date
2018-09-05 13:52:00 +02:00
Gwendal Roué
d3ddf1c1bc
Prepare merge on master
2018-09-05 13:36:31 +02:00
Gwendal Roué
04fc14d557
Compatibility: restore SWIFT_VERSION to 4.0 for embeddable projects
2018-09-05 13:09:27 +02:00
Gwendal Roué
603115c9a4
Tests/CocoaPods: use Swift 4.2
2018-09-05 13:04:47 +02:00
Gwendal Roué
6b60fbe50e
Tests/CocoaPods/GRDBiOS: use Swift 4.2
2018-09-05 13:04:47 +02:00
Gwendal Roué
2a43869e45
Prepare v3.3.0-beta1
2018-09-05 13:04:47 +02:00
Gwendal Roué
bd52dbcec0
Migrate projects to SWIFT_VERSION = 4.2
2018-09-05 13:04:47 +02:00
Gwendal Roué
c9dace3089
Spot a flacky test
2018-09-05 13:04:47 +02:00
Gwendal Roué
9184cbe324
Welcome @SD10 in the thank you notice
2018-09-04 13:16:14 +02:00
Gwendal Roué
2216573acb
Prefer pseudonyms
2018-09-04 13:15:20 +02:00
Gwendal Roué
2b331e3c03
Merge pull request #407 from SD10/development
...
Add Code of Conduct
2018-09-04 13:10:05 +02:00
Gwendal Roué
875e7779c3
More CloudKit
2018-09-04 08:54:20 +02:00
Gwendal Roué
743a56e0e4
More CloudKit
2018-09-04 08:47:20 +02:00
Gwendal Roué
6e1ef92a38
More CloudKit
2018-09-04 08:43:49 +02:00
Gwendal Roué
e3ca4e42a3
CloudKit context
2018-09-04 08:24:39 +02:00
Steven Deutsch
6db4c38c74
Fix develop -> development branch name
2018-09-01 11:12:20 -05:00
Steven Deutsch
8a16f0ba42
Add CODE_OF_CONDUCT
2018-09-01 11:03:34 -05:00
Gwendal Roué
81cd30bb38
CONTRIBUTING.md
2018-09-01 16:38:35 +02:00
Gwendal Roué
d26145e59e
CONTRIBUTING.md
2018-09-01 16:37:37 +02:00
Gwendal Roué
2b664d5485
CONTRIBUTING.md
2018-09-01 16:06:50 +02:00
Gwendal Roué
27f8103e79
CONTRIBUTING.md
2018-09-01 15:55:44 +02:00
Gwendal Roué
a5c2c618e4
CONTRIBUTING.md
2018-09-01 15:55:26 +02:00
Gwendal Roué
9d4a083193
CONTRIBUTING.md
2018-09-01 15:52:04 +02:00
Gwendal Roué
9d00f63358
CONTRIBUTING.md
2018-09-01 15:47:16 +02:00
Gwendal Roué
0ae85eed24
CONTRIBUTING.md
2018-09-01 15:43:25 +02:00
Gwendal Roué
41050094af
CONTRIBUTING.md
2018-09-01 15:41:06 +02:00
Gwendal Roué
7d339edd6e
CONTRIBUTING.md
2018-09-01 15:26:43 +02:00
Gwendal Roué
23d7d3f8ed
CONTRIBUTING.md
2018-09-01 15:17:34 +02:00
Gwendal Roué
7bd9703540
CONTRIBUTING.md
2018-09-01 15:16:37 +02:00
Gwendal Roué
8a6e7b70ef
CONTRIBUTING.md
2018-09-01 15:12:55 +02:00
Gwendal Roué
5a8c3cdafc
CONTRIBUTING.md
2018-09-01 15:09:15 +02:00
Gwendal Roué
16a1cecc57
CONTRIBUTING.md
2018-09-01 15:02:05 +02:00
Gwendal Roué
e367d55940
CONTRIBUTING.md
2018-09-01 14:46:07 +02:00
Gwendal Roué
b45b6cd0cf
CONTRIBUTING.md
2018-09-01 14:40:28 +02:00
Gwendal Roué
c2535d19e9
CONTRIBUTING.md
2018-09-01 14:37:30 +02:00
Gwendal Roué
fa4ca12903
CONTRIBUTING.md
2018-09-01 14:17:27 +02:00
Gwendal Roué
c5444fa99d
Merge pull request #396 from groue/swift4.2
...
Support for Xcode 10 and Swift 4.2
2018-08-31 08:24:53 +02:00
Gwendal Roué
468eaf8642
CHANGELOG
2018-08-31 08:17:50 +02:00
Gwendal Roué
d9d0f62f71
Travis: please test Swift 4.0, 4.2, and Xcode 9.3, 9.4, and 10.
2018-08-30 16:34:30 +02:00
Gwendal Roué
8b4eb55568
Use Cocoapods pre-release (1.6.0 beta)
2018-08-30 16:34:30 +02:00
Gwendal Roué
132ba89427
Adapt SQLCipher to the new build system
2018-08-30 16:34:30 +02:00
Gwendal Roué
1c26b7748e
SQLCipher: Define ARCHS to $ARCHS_STANDARD for all sdks
...
This prevents Xcode 10 beta from outputting errors when it meets the i386 architecture.
2018-08-30 16:34:30 +02:00
Gwendal Roué
3354b22cd0
Travis: run tests with Xcode 10
2018-08-30 16:34:30 +02:00
Gwendal Roué
e5cd3a8994
SE-0206
2018-08-30 16:34:30 +02:00
Gwendal Roué
1c09a3d31f
New MIN_SWIFT_VERSION and MAX_SWIFT_VERSION makefile variables
...
This allows us to test GRDB with Swift 4.2, but also with the Swift 4.2 compiler in 4.0 compatibility mode.
2018-08-30 16:34:30 +02:00
Gwendal Roué
83c257822b
FTS5: Swift / OS version checks extravaganza
...
With a big thank you to @hartbit for providing a ready-made solution
2018-08-30 16:34:30 +02:00
Gwendal Roué
e82c92a002
Allow experiments with OTHER_SWIFT_FLAGS
2018-08-30 16:34:30 +02:00
Gwendal Roué
d58586a18e
Enable FTS5 on iOS 12
...
Thanks to @jrose-apple for the nice tip that avoids code duplication
2018-08-30 16:34:30 +02:00
Gwendal Roué
066889e0d7
Upgrade swiftlyfalling/SQLiteLib
2018-08-30 16:34:30 +02:00
Gwendal Roué
ff595eeaef
Compile with both Swift 4.1 and Swift 4.2
2018-08-30 16:34:30 +02:00
Gwendal Roué
80956ee2c7
Makefile: support for Xcode 10.0
2018-08-30 16:34:30 +02:00
Gwendal Roué
95ef76e839
More DatabaseRegion documentation
2018-08-30 13:32:53 +02:00
Gwendal Roué
bcdf9d8c58
Internal documentation link
2018-08-30 13:03:13 +02:00
Gwendal Roué
c44a1518cc
Improve DatabaseRegion documentation
2018-08-30 13:02:17 +02:00
Gwendal Roué
8056a0e3c9
Vocabulary
2018-08-30 10:37:51 +02:00
Gwendal Roué
47275d0bf0
Internal documentation link
2018-08-30 10:35:12 +02:00
Gwendal Roué
af8e17c753
Document that observation works well with SQL triggers
2018-08-30 10:33:31 +02:00
Gwendal Roué
6b6f80b818
Internal documentation link
2018-08-30 10:27:26 +02:00
Gwendal Roué
eaf25161a5
Fic typo
2018-08-30 10:22:15 +02:00
Gwendal Roué
870d6e6966
More DatabaseRegion documentation
2018-08-30 10:21:25 +02:00
Gwendal Roué
cd2697e34b
CHANGELOG
2018-08-30 10:16:04 +02:00
Gwendal Roué
2083c3b41c
Fix typo
2018-08-30 10:14:19 +02:00
Gwendal Roué
d65d547b23
DatabaseRegion documentation
2018-08-30 10:13:01 +02:00
Gwendal Roué
0593832d10
Document interaction between DatabaseRegion and transaction observers (2)
2018-08-30 09:00:21 +02:00
Gwendal Roué
056db7ff6f
Document interaction between DatabaseRegion and transaction observers
2018-08-30 08:46:58 +02:00
Gwendal Roué
3c01f0f1c0
TODO
2018-08-27 17:30:44 +02:00
Gwendal Roué
05dc1a5bea
Fix typo
2018-08-27 15:53:33 +02:00
Gwendal Roué
2174beb396
Review DatabaseValueConversionErrorTests
2018-08-26 15:14:43 +02:00
Gwendal Roué
d9989fc442
FetchableRecord+Decodable: fix a few corner cases
2018-08-26 15:14:20 +02:00
Gwendal Roué
566f42e8d0
Remove useless conversion contexts
2018-08-26 14:07:36 +02:00
Gwendal Roué
f159927724
SE-0075
2018-08-26 12:07:19 +02:00
Gwendal Roué
21b8690e07
TODO
2018-08-26 10:42:01 +02:00
Gwendal Roué
bb91a7ca0b
Fix typo
2018-08-26 10:41:36 +02:00
Gwendal Roué
5819419f3b
Minor documentation update
2018-08-25 17:30:40 +02:00
Gwendal Roué
2c59f838aa
Fix typo
2018-08-25 17:00:56 +02:00
Gwendal Roué
cbbc12adc0
Enhance introduction to records
2018-08-25 17:00:10 +02:00
Gwendal Roué
d4d0aed3ae
Simplify jazzy documentation
2018-08-25 16:04:50 +02:00
Gwendal Roué
588d7ac4ca
Enhance Transactions documentation
2018-08-25 15:43:22 +02:00
Gwendal Roué
ab98081e7b
Don't initialize PersistenceContainer inside RecordEncoder
2018-08-25 15:32:57 +02:00
Gwendal Roué
a8a3ec8259
Enhance Swift Enums documentation
2018-08-25 15:31:59 +02:00
Gwendal Roué
4fcc1f81d5
Update "Differences between Database Queues and Pools" chapter
2018-08-25 14:17:46 +02:00
Gwendal Roué
4572e493e6
Update "Differences between Database Queues and Pools" chapter
2018-08-25 13:43:58 +02:00
Gwendal Roué
1928c84b80
Update "Differences between Database Queues and Pools" chapter
2018-08-25 13:17:01 +02:00
Gwendal Roué
b4d99dc738
Update "Differences between Database Queues and Pools" chapter
2018-08-25 13:07:33 +02:00
Gwendal Roué
8abf815045
Enhance readFromCurrentState and snapshots documentation
2018-08-25 12:22:40 +02:00
Gwendal Roué
7610eebb3f
Enhance Codable Record documentatoin
2018-08-25 12:19:16 +02:00
Gwendal Roué
c43800f40d
Enhance Date documentation
2018-08-25 12:16:16 +02:00
Gwendal Roué
a511772562
Enhance Values documentation
2018-08-25 12:11:39 +02:00
Gwendal Roué
e916f577f1
Enhance Row documentation
2018-08-25 12:10:07 +02:00
Gwendal Roué
da14fd2f87
Enhance DatabaseValue documentation
2018-08-25 11:50:07 +02:00
Gwendal Roué
052e615de0
Enhance Row documentation
2018-08-25 11:48:08 +02:00
Gwendal Roué
5a2f713775
Enhance Cursor documentation
2018-08-25 11:46:41 +02:00
Gwendal Roué
ae66563654
Documentation + test for mixed arguments
2018-08-23 14:52:59 +02:00
Gwendal Roué
26df5aa516
Documentation
2018-08-23 14:32:30 +02:00
Gwendal Roué
d3a9667f10
Cleanup
2018-08-22 13:04:24 +02:00
Gwendal Roué
adf5695c20
Move StatementCache to Database+Statements.swift
2018-08-22 12:56:12 +02:00
Gwendal Roué
aa8cb60fad
SQLCipher has learned SQLITE_PREPARE_PERSISTENT
2018-08-22 12:52:13 +02:00
Gwendal Roué
65d99879a8
SQLCipher has learned SQLITE_PREPARE_PERSISTENT
2018-08-22 12:50:07 +02:00
Gwendal Roué
b14f1b9fdc
SQLCipher has learned sqlite3_prepare_v3
2018-08-22 08:53:01 +02:00
Gwendal Roué
46511e507e
Avoid code duplication in Database.setupTrace
...
Also, use sqlite3_trace_v2 with SQLCipher
2018-08-22 08:35:54 +02:00
Gwendal Roué
8f5eee0130
Avoid code duplication in Database.closeConnection
2018-08-22 08:01:26 +02:00
Gwendal Roué
7f8d59b7b1
Merge pull request #403 from groue/feature/decoding-strategies
...
Codable records: customize date and uuid format
2018-08-21 19:40:20 +02:00
Gwendal Roué
0932e92fb4
Documentation
2018-08-21 19:39:34 +02:00
Gwendal Roué
5a8381b282
Add missing attribution
2018-08-21 14:39:46 +02:00
Gwendal Roué
8493984949
Fix Typo
2018-08-21 14:32:43 +02:00
Gwendal Roué
a386fb6580
Documentation
2018-08-21 08:17:57 +02:00
Gwendal Roué
baee699591
CHANGELOG
2018-08-21 06:58:18 +02:00
Gwendal Roué
ad11affd21
ISO8601: don't let user customize the formatter
2018-08-20 23:43:04 +02:00
Gwendal Roué
209b3d0d37
Fix SPM and -O builds
2018-08-20 23:32:38 +02:00
Gwendal Roué
edca38470e
Documentation
2018-08-20 22:24:26 +02:00
Gwendal Roué
e9b76bb196
Tests for DatabaseUUIDEncodingStrategy
2018-08-20 22:16:29 +02:00
Gwendal Roué
f70e9b3e39
Introduce DatabaseUUIDEncodingStrategy
2018-08-20 21:14:51 +02:00
Gwendal Roué
13f3e5ec0d
Remove useless conversions from Int to Int32
2018-08-20 21:14:32 +02:00
Gwendal Roué
fb209d8805
Decode UUID and NSUUID from both blobs and strings
2018-08-20 21:13:58 +02:00
Gwendal Roué
c6b1872291
Documentation
2018-08-20 19:40:23 +02:00
Gwendal Roué
8fa405452d
Documentation
2018-08-20 19:38:11 +02:00
Gwendal Roué
34c7b0b40c
Documentation
2018-08-20 19:32:59 +02:00
Gwendal Roué
f583ef0d2a
Documentation
2018-08-20 19:30:59 +02:00
Gwendal Roué
e438d580b4
Don't close doors
2018-08-20 09:02:15 +02:00
Gwendal Roué
2c9a4b6968
Enhance "Record Customization Options" chapter
2018-08-20 09:00:35 +02:00
Gwendal Roué
ba984427a4
Sort "Record Customization Options" by expected popularity
2018-08-20 08:58:17 +02:00
Gwendal Roué
1e34128213
Sort "Record Customization Options" by expected popularity
2018-08-20 08:57:35 +02:00
Gwendal Roué
319ac27b15
Extend "Record Customization Options" chapter
2018-08-20 08:56:02 +02:00
Gwendal Roué
8ea13dc5fd
Quiet
2018-08-20 08:52:51 +02:00
Gwendal Roué
ad6f1f4a37
Fix inner link
2018-08-20 08:51:48 +02:00
Gwendal Roué
063fe70766
More fostering of Codable records
2018-08-20 08:50:13 +02:00
Gwendal Roué
1c9ce6781b
Enhance "JSON Columns" chapter
2018-08-20 08:30:57 +02:00
Gwendal Roué
81e777a323
Enhance "Use CodingKeys as Columns" chapter
2018-08-20 08:14:51 +02:00
Gwendal Roué
b7273e0a7e
Documentation
2018-08-20 08:05:20 +02:00
Gwendal Roué
bb90ea0259
Improve explanation why the sortedKeys JSON option is recommended
2018-08-19 22:40:51 +02:00
Gwendal Roué
f925d7e3d4
Fix SPM
2018-08-19 22:21:03 +02:00
Gwendal Roué
bbf7eb0b73
Make tests platform-independent
2018-08-19 22:15:19 +02:00
Gwendal Roué
140c590c49
DatabaseDateEncodingStrategy tests
2018-08-19 21:54:50 +02:00
Gwendal Roué
ff306c21e2
DatabaseDateEncodingStrategy
2018-08-19 21:54:41 +02:00
Gwendal Roué
d1892c649c
Documentation
2018-08-19 21:41:47 +02:00
Gwendal Roué
f5d0e4db12
Cleanup & documentation
2018-08-19 20:28:47 +02:00
Gwendal Roué
fc914470f5
DatabaseDateDecodingStrategy tests
2018-08-19 19:51:09 +02:00
Gwendal Roué
d03b76b7e7
DatabaseDateDecodingStrategy
2018-08-19 19:50:35 +02:00
Gwendal Roué
d45afb921a
Merge pull request #401 from groue/feature/selectAs
...
Query Interface: set the selection and the fetched type in a single method call
2018-08-19 15:54:42 +02:00
Gwendal Roué
e1f80494a8
CHANGELOG.md
2018-08-19 13:52:42 +02:00
Gwendal Roué
982dee5b77
Documentation improvements
2018-08-19 13:31:48 +02:00
Gwendal Roué
9815b310b6
TODO.md
2018-08-19 13:03:00 +02:00
Gwendal Roué
7bb0718bae
Documentation for select(..., as:)
2018-08-19 13:02:45 +02:00
Gwendal Roué
da60a5004e
Tests for select(..., as:)
2018-08-19 12:30:02 +02:00
Gwendal Roué
8af33c4fc9
Introduce select(..., as:)
...
Record.select(..., as: Value.self) is equivalent to Record.select(...).asRequest(of: Value.self).
It somewhat improves the readability of some requests:
Player.select(max(Column("score")), as: Int.self)
2018-08-19 12:25:27 +02:00
Gwendal Roué
1fba575c18
Merge pull request #399 from groue/feature/codableUserInfo
...
Codable support: customize the `userInfo` context dictionary, and the format of JSON columns
2018-08-19 07:31:44 +02:00
Gwendal Roué
1e25debefc
Done
2018-08-19 07:31:09 +02:00
Gwendal Roué
97d77e871b
internal documentation
2018-08-18 20:54:40 +02:00
Gwendal Roué
7cb58cfffc
Major cleanup of FetchableRecord+Decodable
2018-08-18 20:27:07 +02:00
Gwendal Roué
950940dedf
Major cleanup of MutablePersistableRecord+Encodable
2018-08-18 19:02:16 +02:00
Gwendal Roué
c32af15fdd
Fix sample code
2018-08-18 16:10:47 +02:00
Gwendal Roué
3d285dfc81
Fix sample code
2018-08-18 16:09:44 +02:00
Gwendal Roué
76d3ac42ff
More taste of DAO
2018-08-18 16:07:52 +02:00
Gwendal Roué
e9b7a67c73
Fix JSON column tests so that they don't run when .sortedKeys option is not available
2018-08-18 15:54:01 +02:00
Gwendal Roué
ba7cd4f61d
Cleanup
2018-08-18 15:54:01 +02:00
Gwendal Roué
7a3321a5ed
Add missing Foundation import
2018-08-18 15:54:01 +02:00
Gwendal Roué
5cb9d19b1e
Cleanup README
2018-08-18 15:54:01 +02:00
Gwendal Roué
9e3da1a1a9
CHANGELOG
2018-08-18 15:54:01 +02:00
Gwendal Roué
35e202eb13
Documentation
2018-08-18 15:54:01 +02:00
Gwendal Roué
812975ee7d
Cleanup
2018-08-18 15:54:01 +02:00
Gwendal Roué
934ee8e5f4
Remove a few obsolete debugging print statements
2018-08-18 15:54:01 +02:00
Gwendal Roué
47c424cb69
PersistableRecord: customize JSON encoding per column
2018-08-18 15:54:01 +02:00
Gwendal Roué
b35fb6e315
FetchableRecord: customize JSON decoding per column
2018-08-18 15:54:01 +02:00
Gwendal Roué
fdc191bbb4
Inline documentation
2018-08-18 15:54:01 +02:00
Gwendal Roué
a8ec0530b1
Fix tests for iOS
2018-08-18 15:54:01 +02:00
Gwendal Roué
b7b8594176
Pass tests for MutablePersistableRecord userInfo customization
2018-08-18 15:54:01 +02:00
Gwendal Roué
eee433fefe
Failing tests for MutablePersistableRecord userInfo customization
2018-08-18 15:54:01 +02:00
Gwendal Roué
513a5a3fb7
More FetchableRecord userInfo customization tests
2018-08-18 15:54:01 +02:00
Gwendal Roué
1a3638c0ef
FetchableRecord can customize Decoder userInfo
2018-08-18 15:54:01 +02:00
Gwendal Roué
ef123824c3
Failing tetsts for Decodable user infos
2018-08-18 15:54:01 +02:00
Gwendal Roué
2bc56255b2
TODO
2018-08-17 09:50:20 +02:00
Gwendal Roué
a94711ad77
Fix a compiler warning introduced by 7be63866
2018-08-16 14:34:30 +02:00
Gwendal Roué
0ab84aff52
Enhance Codable Records documentation chapter
2018-08-16 14:24:07 +02:00
Gwendal Roué
e415db248a
Minor documentation tweak
2018-08-16 13:45:05 +02:00
Gwendal Roué
c3a15bc2fc
The benefits of having CodingKeys adopt ColumnExpression
2018-08-16 13:23:47 +02:00
Gwendal Roué
7a18b7c948
Test for CodingKey as ColumnExpression
2018-08-16 12:31:26 +02:00
Gwendal Roué
df1f9b92a1
TODO.md
2018-08-16 11:00:35 +02:00
Gwendal Roué
4110f890da
Minor documentation tweak
2018-08-16 09:02:05 +02:00
Gwendal Roué
44061f0d31
Improve Codable support visibility
2018-08-16 08:59:18 +02:00
Gwendal Roué
7be6386689
Fix DatabaseQueue.write and unsafeReentrantRead throws/rethrows qualifier.
2018-08-16 08:27:05 +02:00
Gwendal Roué
4d7d5e8429
Minor documentation tweak
2018-08-16 08:14:32 +02:00
Gwendal Roué
b933917f34
Minor documentation tweak
2018-08-16 08:12:41 +02:00
Gwendal Roué
d7f7a57129
Hide implementation details
2018-08-16 06:42:31 +02:00
Gwendal Roué
d5008283d4
Minor documentation tweak
2018-08-15 23:18:36 +02:00
Gwendal Roué
e51f27403d
Minor documentation tweak
2018-08-15 23:05:09 +02:00
Gwendal Roué
e5b2710151
Minor documentation tweaks
2018-08-15 22:58:49 +02:00
Gwendal Roué
bdca768900
Improve Cursor documentation
2018-08-15 22:31:43 +02:00
Gwendal Roué
b9b7ab2902
Rewrite Database queue and pool introducttions
2018-08-15 21:57:46 +02:00
Gwendal Roué
30bc15afb6
Merge pull request #397 from rotacloud/rotacloud
...
JSON encoding and decoding of codable record properties
2018-08-15 21:07:44 +02:00
Gwendal Roué
7ea15dcce2
Welcome @valexa and @gusrota to the thank you notice
2018-08-15 19:44:47 +02:00
Gwendal Roué
44b998c08f
CHANGELOG.md
2018-08-15 19:38:03 +02:00
Gwendal Roué
2b8c8389fe
Fix typo
2018-08-15 19:01:11 +02:00
Gwendal Roué
dfb9421bd7
Documentation for JSON support
2018-08-15 18:53:10 +02:00
Gwendal Roué
02db2a8dc6
Tests for JSON data strategy
2018-08-15 18:40:24 +02:00
Gwendal Roué
9bb4ff86f1
Tests for JSON date strategy
2018-08-15 18:35:06 +02:00
Gwendal Roué
2eb0955420
JSON encoding: choose strategies
...
Data: .base64
Date: .millisecondsSince1970
NonConformingFloat: .throw
2018-08-15 18:34:47 +02:00
Gwendal Roué
659db4fdd9
Safer default implementation for RowImpl.copiedRow(_:)
2018-08-15 17:33:05 +02:00
Gwendal Roué
d00421abe0
Restore SPM: add missing Foundation import
2018-08-15 17:17:08 +02:00
Gwendal Roué
4d343e893e
More tests for Data -> String conversion: play with JPEG :-)
2018-08-15 17:09:15 +02:00
Gwendal Roué
eba21d3371
Oh men of little faith!
2018-08-15 16:55:12 +02:00
Gwendal Roué
b47f5864ac
Even better feedback for conversion errors from StatementColumnConvertible
2018-08-15 16:49:07 +02:00
Gwendal Roué
e8dacb31cc
Tests for failed value conversions
2018-08-15 16:22:27 +02:00
Gwendal Roué
0b77d0d745
Better feedback for conversion errors from StatementColumnConvertible
2018-08-15 16:10:51 +02:00
Gwendal Roué
de4f57c2aa
Test decoding of non-UTF8 data
2018-08-15 16:09:45 +02:00
Gwendal Roué
2d6140a805
Refactor value conversion tests
2018-08-15 15:17:54 +02:00
Vlad Alexa
b2234b46a2
5f41c57c addition
2018-08-15 14:04:14 +01:00
Gwendal Roué
358225b462
Cleanup, documentation, and preserve coding paths
2018-08-15 13:41:53 +02:00
Gwendal Roué
820673b78b
PersistableRecord+Encodable: make it as robust as FetchableRecord+Decodable
2018-08-15 13:23:58 +02:00
Gwendal Roué
1c66ad4aad
Restore GRDB/Core/Support/Foundation/Data.swift
...
because Data belongs to Foundation, not to the Standard Library.
Remove `import Foundation` from StandardLibrary.swift
2018-08-15 12:05:16 +02:00
Vlad Alexa
5f41c57c45
amended the documentation and tests to include Dictionary support to Codable types
2018-08-15 10:21:55 +01:00
Gwendal Roué
0cdc7d81d4
Just some cleanup, nothing new
2018-08-15 11:10:11 +02:00
Gwendal Roué
942b32e5d5
RowSingleValueDecodingContainer performance improvements
...
We switch from column indexing to integer indexing, which is far more efficient. And we can use the improved value decoding methods from #384 .
2018-08-15 10:40:14 +02:00
Gwendal Roué
aa8bc0fae3
Don't let JSONDecodingRequiredError go
...
JSON decoding: when row doesn't contain any Data, we don't want to expose a JSONDecodingRequiredError error to the user. We switch to a detailed conversion error instead (see #384 ).
2018-08-15 10:24:28 +02:00
Gwendal Roué
275098084d
Introduce JSONDecodingRequiredError
...
We used to check for a standard DecodingError.typeMismatch error with specific message before switching to JSON decoding.
There was a small risk that such an error would not be generated by GRDB. In this case, we'd erroneously switch to JSON decoding instead of throwing the error.
So let's recognize the specific need for JSON decoding with a specific error instead: JSONDecodingRequiredError.
2018-08-15 10:12:28 +02:00
Gwendal Roué
05fda18a56
Introduce RowSingleValueDecoder
...
This allows complex decodable types to fail decoding from a row column, so that we switch to JSON decoding.
2018-08-15 09:55:45 +02:00
Gwendal Roué
4b7f17dbfa
Merge remote-tracking branch 'origin/development' into rotacloud
2018-08-15 05:12:28 +02:00
Angus Muller
c52b59f1bc
Switching to JSON encoding for nested containers.
2018-08-14 16:01:05 +01:00
Vlad Alexa
76f5adf944
moved the extension to Swift.Data to follow the extension to Swift.String in the StandardLibrary.swift,
...
added case .blob(let data): return String(data: data, encoding: .utf8) to String.fromDatabaseValue
fixed tests
2018-08-14 15:04:07 +01:00
Vlad Alexa
d81475adc4
6262d10 continued
2018-08-14 13:06:26 +01:00
Angus Muller
a08974ffa4
Added tests for arrays
2018-08-14 11:20:02 +01:00
Angus Muller
8c06e7bff5
Detached rows string to data and tests
2018-08-14 11:16:47 +01:00
Vlad Alexa
7f16e357d0
extended Codable documentation and added test for the example used in the documentation
2018-08-14 10:39:31 +01:00
Vlad Alexa
6262d10794
added catch
2018-08-14 09:25:44 +01:00
Gwendal Roué
d9dd293d7f
A really difficult cleanup process
2018-08-14 08:33:06 +02:00
Gwendal Roué
e49e2db571
Optimize decoding of StatementColumnConvertible values in Decodable records
...
This is the real final touch for #384 , after all
2018-08-13 21:17:52 +02:00
Gwendal Roué
7da5ff95a0
Makefile: fix rule for Realm
2018-08-13 07:51:13 +02:00
Gwendal Roué
8eee52dad5
Merge pull request #384 from groue/conversionDebugInfo
...
Improve database value decoding diagnostics
2018-08-13 07:45:32 +02:00
Gwendal Roué
9bc68cd10e
The final touch
2018-08-12 15:12:46 +02:00
Gwendal Roué
e415a93d7e
Performance tests for Codable records
2018-08-12 14:10:38 +02:00
Gwendal Roué
46bba98f0f
Fix versions in performance report
2018-08-12 13:43:39 +02:00
Gwendal Roué
6a21e97a12
Profile struct decoding
2018-08-12 13:43:16 +02:00
Gwendal Roué
1ae8e39dab
Perform performance tests against SQLite.swift 0.11.5
2018-08-12 12:46:51 +02:00
Gwendal Roué
b99b14eb4d
Perform performance tests against FMDB 2.7
2018-08-12 12:45:02 +02:00
Gwendal Roué
5579dd651a
Perform performance tests against Realm 3.7.6
2018-08-12 12:42:58 +02:00
Gwendal Roué
66541922a4
More cleanup
2018-08-12 12:27:47 +02:00
Gwendal Roué
80fe7f87b1
More cleanup
2018-08-12 11:39:48 +02:00
Gwendal Roué
bf5420de26
More cleanup
2018-08-12 10:20:10 +02:00
Gwendal Roué
ef10e2e8ed
General cleanup:
...
- rename ValueConversionDebuggingInfo to ValueConversionContext
- allow missing value conversion context (when decoding a raw DatabaseValue)
- rename ColumnCursor to FastDatabaseValueCursor
- rename NullableColumnCursor to FastNullableDatabaseValueCursor
2018-08-11 19:45:58 +02:00
Gwendal Roué
1dcb42c540
wip: debug info for no such column errors
2018-08-11 13:03:11 +02:00
Gwendal Roué
897fd32725
Cleanup
2018-08-11 12:58:04 +02:00
Gwendal Roué
e46902c845
wip: debug info for no such column errors
2018-08-11 07:16:55 +02:00
Gwendal Roué
d836fffd08
wpi: debug info for no such column errors
2018-08-10 08:52:32 +02:00
Gwendal Roué
c480e07f08
Increase single-value containers testing
2018-08-10 05:21:33 +02:00
Gwendal Roué
9f2058f6d9
Fix DatabaseValueConvertible implementation for Decodable types that need a single-value container
2018-08-10 05:01:30 +02:00
Gwendal Roué
7d4ebce70a
TODO conversion error message for adapted rows
2018-08-10 04:52:59 +02:00
Gwendal Roué
cbda1f9211
Fix DatabaseValueConvertible implementation for Decodable types that need a single-value container
...
They used to crash on decoding errors
2018-08-10 04:52:23 +02:00
Gwendal Roué
cef5d25228
Test conversion error messages
2018-08-09 19:19:22 +02:00
Gwendal Roué
220ce379e1
Test conversion error messages
2018-08-09 14:00:33 +02:00
Vlad Alexa
2826472c19
sorted encoder outputFormatting for ios11+ etcl
2018-08-09 09:46:45 +01:00
Gwendal Roué
bcc45dc076
no more throwing conversion methods, and refactor ValueConversionDebuggingInfo
2018-08-09 08:51:50 +02:00
Vlad Alexa
7def60c3c0
fixed checking for nested codable
2018-08-08 14:35:05 +01:00
Vlad Alexa
74aae3dd59
implemented requested changes
2018-08-08 11:41:26 +01:00
Gwendal Roué
89d5bd7945
Restore SQLCipher/src to v3.4.2
2018-08-07 19:44:38 +02:00
Vlad Alexa
feeedcb92d
Added nested Codable support by flattening into/from JSON
2018-08-07 15:29:16 +01:00
Gwendal Roué
78a6f7251b
Spot a few Demeter law violations
2018-08-06 13:40:37 +02:00
Gwendal Roué
b307e907cb
CHANGELOG
2018-08-06 13:40:37 +02:00
Gwendal Roué
9f2ba7245b
fix SPM build
2018-08-06 13:40:05 +02:00
Gwendal Roué
e9e1fa85c6
Cleanup
2018-08-06 13:40:05 +02:00
Gwendal Roué
f8de01779c
Cleanup
2018-08-06 13:40:05 +02:00
Gwendal Roué
84c53ef6b9
improve value conversion diagnostics more
2018-08-06 13:40:05 +02:00
Gwendal Roué
a8f6ed6d61
improve value conversion diagnostics more
2018-08-06 13:40:05 +02:00
Gwendal Roué
1c811a61ca
improve value conversion diagnostics
2018-08-06 13:40:05 +02:00
Gwendal Roué
566dae0574
Merge pull request #393 from groue/SQLCipher-3.4.2
...
Upgrade SQLCipher to 3.4.2, enable FTS5 on GRDBCipher and new pod GRDBPlus
2018-08-06 13:32:57 +02:00
Gwendal Roué
f0ec9925d2
Add @Marus to the thank you notice
2018-08-06 08:40:37 +02:00
Gwendal Roué
481dc79c85
CHANGELOG: documentation diff
2018-08-06 08:32:16 +02:00
Gwendal Roué
0b1a24184b
Upgrade release process for GRDBPlus pod
2018-08-06 08:19:58 +02:00
Gwendal Roué
b473d07b3c
Fix typo
2018-08-06 08:19:37 +02:00
Gwendal Roué
5538977911
Improve doc about FTS5 support
2018-08-06 08:07:31 +02:00
Gwendal Roué
9815b0b480
CHANGELOG
2018-08-05 14:47:26 +02:00
Gwendal Roué
9ed01719b7
Update SQLCipher version in README.md
2018-08-05 14:41:52 +02:00
Gwendal Roué
0e40b6bda2
Document how to activate FTS5
...
and address #373
2018-08-05 14:37:02 +02:00
Gwendal Roué
dd18323a36
New pod: GRDBPlus
...
This is a workaround for https://github.com/CocoaPods/CocoaPods/issues/7333
2018-08-05 14:25:58 +02:00
Gwendal Roué
06e5dc5dfd
Further split CocoaPods lint tasks
...
(still hoping that this fixes Travis timeout)
2018-08-04 13:24:03 +02:00
Gwendal Roué
b916bca1f6
Split test_CocoaPodsLint Makefile target
...
... in order to avoid Travis CI timeouts
2018-08-04 07:19:06 +02:00
Gwendal Roué
4186d2e5c4
Fix test_install_GRDBFTS5_CocoaPods
2018-08-03 13:28:10 +02:00
Gwendal Roué
33a5decfdc
Fix GRDB.swift podspec
2018-08-03 13:27:15 +02:00
Gwendal Roué
2c35ca5ac7
Rename GRDB/FTS5 podspec to GRDB/3.19.3, and comment out target requirements that CocoaPods does not support;
2018-08-03 08:24:25 +02:00
Gwendal Roué
4d2e230633
Makefile: test FTS5 support on iOS 11.4+ and macOS 10.13+
2018-08-03 08:24:25 +02:00
Gwendal Roué
66d7f37643
https://github.com/CocoaPods/CocoaPods/issues/7333 😭
2018-08-03 08:24:25 +02:00
Gwendal Roué
fd00cd613e
New Makefile target test_install_GRDBFTS5_CocoaPods that tests GRDB/FTS5 subspec
2018-08-03 08:24:25 +02:00
Gwendal Roué
c5c4508bfe
New GRDB.swift/FTS5 subspec
2018-08-03 08:24:25 +02:00
Gwendal Roué
d21a9b90b2
Enable FTS5 for SQLite < 3.20.0 (sqlite3_prepare_v3 and sqlite3_bind_pointer)
2018-08-03 08:24:25 +02:00
Gwendal Roué
0eeb72a89b
Ignore CocoaPods tests workspaces
2018-08-03 08:24:25 +02:00
Gwendal Roué
1cd211bd89
New Makefile target test_install_GRDBCipher_CocoaPods
2018-08-03 08:24:25 +02:00
Gwendal Roué
1d04376493
New Tests/CocoaPods/GRDBCipherMacOS app that checks GRDBCipher integration + FTS5
2018-08-03 08:24:25 +02:00
Gwendal Roué
fa396a2d86
New Makefile target test_install_GRDB_CocoaPods
2018-08-03 08:24:25 +02:00
Gwendal Roué
06150b5e58
Make Tests/CocoaPods/GRDBiOS buildable again
2018-08-03 08:24:25 +02:00
Marcel Ball
4f0b5eb7b9
Enable FTS5 extension for GRDBCipher builds
...
- Enable
- Add -DSQLITE_ENABLE_FTS5 to the CFLAGS for SQLCipher (SQLCipher/src/sqlcipher.xcconfig) (via submodule update)
- Add -D SQLITE_ENABLE_FTS5 to swift flags for GRDBCipher (SQLCipher/GRDBCipher.xcconfig)
- Add -D SQLITE_ENABLE_FTS5 to the GRDBCipher Testing Projects
- Updated message in EncryptionTests - SQLCipher changed the message “file is encrypted or is not a database” back to just “file is not a database” in 3.4.2 - seems like an odd choice on their part but is behaving as expected.
2018-08-03 08:24:25 +02:00
Gwendal Roué
79fd17faec
Upgrade SQLCipher to 3.4.2 + FTS5
2018-08-03 08:24:25 +02:00
Gwendal Roué
59da551b66
Merge branch 'master' into development
2018-08-02 16:46:10 +02:00
Gwendal Roué
89d95f6a7c
Merge pull request #390 from kluufger/patch-2
...
fix small typo in readme
2018-07-19 14:30:42 +02:00
kluufger
1db18b818a
player -> country
2018-07-19 11:39:01 +00:00
kluufger
37be51ec37
player -> country x2
2018-07-19 11:22:33 +00:00
kluufger
6fb5bb8ffd
player -> country
2018-07-19 10:57:14 +00:00
Gwendal Roué
d82b539942
Merge pull request #387 from kluufger/patch-1
...
Fix some typos in AssociationsBasics guide
2018-07-19 12:56:41 +02:00
kluufger
dc8406d732
fix small type in readme
2018-07-19 10:08:59 +00:00
kluufger
328d1fcd30
Fix some typos in AssociationsBasics guide
...
Not sure about some of them, though.
2018-07-19 08:09:10 +00:00
Gwendal Roué
d4590ff91f
Fix DatabaseWriter.readFromCurrentState documentation
2018-07-13 09:45:59 +02:00
Gwendal Roué
5bcc95ce87
Update TODO.md
2018-07-11 18:11:42 +02:00
Gwendal Roué
0dabd36123
v3.2.0
2018-07-08 13:23:40 +02:00
Gwendal Roué
8a83ee4599
Travis: use Xcode 9.4
2018-07-08 12:22:53 +02:00
Gwendal Roué
29e720c474
DONE: #378
2018-07-08 12:17:38 +02:00
Gwendal Roué
444f5b003f
Merge branch 'master' of github.com:groue/GRDB.swift into development
2018-07-08 12:17:06 +02:00
Gwendal Roué
3e60b00bab
Merge pull request #381 from groue/feature/378-nuking-db-during-development
...
Nuking db during development
2018-07-08 06:31:30 +02:00
Gwendal Roué
fc2c2658b7
DatabaseWriterTests.testEraseAndVacuum: use auto increment so we can test database erasure with internal SQLite objects
2018-07-07 17:53:36 +02:00
Gwendal Roué
fdef88d150
DatabaseWriterTests.testEraseAndVacuum: add a virtual table
2018-07-07 17:51:55 +02:00
Gwendal Roué
1a84a84bd1
Typo fix
2018-07-07 17:45:15 +02:00
Gwendal Roué
22006e2251
CHANGELOG
2018-07-07 17:43:42 +02:00
Gwendal Roué
3405585d60
Typo fix
2018-07-07 17:43:37 +02:00
Gwendal Roué
91d0a453da
DatabaseWriter.erase(): more robust error handling
2018-07-07 17:43:26 +02:00
Gwendal Roué
d814249c5a
eraseDatabaseOnSchemaChange documentation
2018-07-07 17:34:44 +02:00
Gwendal Roué
fc2d5419b3
CHANGELOG
2018-07-07 17:17:23 +02:00
Gwendal Roué
3593806685
Cleanup
2018-07-07 14:49:43 +02:00
Gwendal Roué
e84b539de2
DatabaseWriter.erase(): don't mess with internal SQLite objects
2018-07-07 14:42:18 +02:00
Gwendal Roué
fee4486d1b
DatabaseMigrator.eraseDatabaseOnSchemaChange
2018-07-07 14:23:50 +02:00
Gwendal Roué
a73be9c010
Fix databaseWriter.erase() with SQLCipher
2018-07-07 12:32:40 +02:00
Gwendal Roué
0bc25f8773
Tests for DatabaseQueue and DatabasePool erase and vacuum
2018-07-06 14:03:44 +02:00
Gwendal Roué
a465f16ff7
databaseWriter.erase(), databaseWriter.vacuum()
2018-07-06 13:58:55 +02:00
Gwendal Roué
86d93b11dd
Easier database backup invocation
2018-07-06 13:57:55 +02:00
Gwendal Roué
f8aa5b7e21
Fix typo
2018-07-05 08:38:56 +02:00
Gwendal Roué
16184ae89b
More documentation about invalid value conversions
2018-07-05 08:37:57 +02:00
Gwendal Roué
af2a3ea827
More documentation about invalid value conversions
2018-07-05 08:31:58 +02:00
Gwendal Roué
ca7df229fa
Cleanup
2018-07-03 18:44:42 +02:00
Gwendal Roué
f121c6b139
TODO.md: look at #378
2018-07-02 08:15:40 +02:00
Gwendal Roué
2a6f7b7588
Fix typo
2018-06-30 11:41:11 +02:00
Gwendal Roué
a87d06d609
Add @bellebethcooper to the thank you notice
2018-06-30 11:40:16 +02:00
Gwendal Roué
7c85a973dc
TODO (inspired by #377 )
2018-06-30 11:22:50 +02:00
Gwendal Roué
97961f4374
Merge pull request #376 from bellebethcooper/patch-1
...
Typo fix
2018-06-30 07:11:24 +02:00
bellebethcooper
4436badbc8
Typo fix
2018-06-30 10:31:10 +10:00
Gwendal Roué
9060048044
PULL_REQUEST_TEMPLATE.md
2018-06-28 14:03:25 +02:00
Gwendal Roué
99566225f0
TODO.md
2018-06-28 13:38:09 +02:00
Gwendal Roué
b4bd25decc
Fix typo in GoodPracticesForDesigningRecordTypes.md
2018-06-25 13:35:52 +02:00
Gwendal Roué
0e94c7b44e
Improve GoodPracticesForDesigningRecordTypes.md
2018-06-25 13:34:38 +02:00
Gwendal Roué
c750fd7b1d
v3.1.0
2018-06-17 15:23:53 +02:00
Gwendal Roué
0ed4491b46
Prepare for SE-0206 "Hashable Enhancements"
2018-06-17 15:23:23 +02:00
Gwendal Roué
b4a3adafb1
Merge pull request #372 from groue/sqlite3.24.0
...
Upgrade custom SQLite builds to 3.24.0
2018-06-17 14:34:45 +02:00
Gwendal Roué
2e953221fa
CHANGELOG
2018-06-15 08:26:13 +02:00
Gwendal Roué
1886ac5cfb
Upgrade custom SQLite builds to 3.24.0
2018-06-15 08:21:52 +02:00
Gwendal Roué
7ed7196c48
Merge pull request #371 from groue/queueLabels
...
Database can have a label
2018-06-15 05:03:10 +02:00
Gwendal Roué
38b1e41aab
Final tweaks to dispatch queue labels
2018-06-14 21:10:56 +02:00
Gwendal Roué
467819bdd5
Confiiguration.label documentation
2018-06-14 20:50:06 +02:00
Gwendal Roué
e81e818305
Confiiguration.label documentation
2018-06-14 20:47:43 +02:00
Gwendal Roué
342dcc5094
Confiiguration.label is used to name dispatch queues
2018-06-14 20:26:34 +02:00
Gwendal Roué
8f89a2063e
CHANGELOG
2018-06-14 13:45:44 +02:00
Gwendal Roué
2e80db8aed
Database dispatch queues now have labels
2018-06-14 13:36:42 +02:00
Gwendal Roué
4e7fc83ad5
Add test for FTS4 compression/decompression (addresses #369 )
2018-06-14 13:32:28 +02:00
Gwendal Roué
200f12a558
TODO
2018-06-13 07:48:56 +02:00
Gwendal Roué
5c1eea4c6f
TODO
2018-06-13 07:48:56 +02:00
Gwendal Roué
b73771fd6c
Look for open issues first
2018-06-12 10:42:10 +02:00
Gwendal Roué
a47f10cf07
Link to forums
2018-06-12 10:40:43 +02:00
Gwendal Roué
75d0643642
Improve AssociationsBasics.md
2018-06-11 08:20:05 +02:00
Gwendal Roué
732e0bd34b
Improve AssociationsBasics.md
2018-06-11 08:15:09 +02:00
Gwendal Roué
ac2cd485c8
Mini typo in GoodPracticesForDesigningRecordTypes.md
2018-06-08 05:54:27 +02:00
Gwendal Roué
b967018390
Improve GoodPracticesForDesigningRecordTypes.md
2018-06-07 20:15:45 +02:00
Gwendal Roué
df16c4856f
Improve GoodPracticesForDesigningRecordTypes.md
2018-06-07 20:11:01 +02:00
Gwendal Roué
4e97b80274
Improve GoodPracticesForDesigningRecordTypes.md
2018-06-07 19:58:22 +02:00
Gwendal Roué
65b3e21e65
Another typo in GoodPracticesForDesigningRecordTypes.md
2018-06-07 19:54:59 +02:00
Gwendal Roué
5b97dea3c6
Mini typo in GoodPracticesForDesigningRecordTypes.md
2018-06-07 19:50:48 +02:00
Gwendal Roué
20322640c3
New Associations demo playground, and fix a few typos in GoodPracticesForDesigningRecordTypes.md
2018-06-07 19:37:31 +02:00
Gwendal Roué
89ce13c43c
Documentation tweaks
2018-06-07 18:59:47 +02:00
Gwendal Roué
27e94c211d
Upgrade SPM test app to v3.0.0
2018-06-07 13:53:16 +02:00
Gwendal Roué
bca4af679e
No more reference to the GRDB3 branch
2018-06-07 13:28:30 +02:00
Gwendal Roué
cb7f827118
GRDB2MigrationGuide.md no longer refers to GRDB3 branch
2018-06-07 13:26:48 +02:00
Gwendal Roué
1bc4299bfc
Fix bug in GRDBDemoiOS
2018-06-07 12:53:24 +02:00
Gwendal Roué
79c788e571
v3.0.0
2018-06-07 12:46:38 +02:00
Gwendal Roué
0125107855
Improve "Good Practices for Designing Record Types"
2018-06-07 11:42:45 +02:00
Gwendal Roué
24694b8b23
Merge branch 'GRDB3' into development
2018-06-07 08:49:36 +02:00
Gwendal Roué
0c79224209
Family gets bigger :-)
2018-06-07 08:39:55 +02:00
Gwendal Roué
a88b5dc3df
Append #334 to CHANGELOG
2018-06-07 08:36:29 +02:00
Gwendal Roué
f259cac51f
SQLiteDateParser: tighten vsscanf format
2018-06-07 08:36:29 +02:00
Gwendal Roué
fe1146134b
SQLiteDateParser: fix nanosecond parsing
2018-06-07 08:36:29 +02:00
Gwendal Roué
6dd4f1c666
More DatabaseDateComponents parsing tests
2018-06-07 08:36:29 +02:00
Gwendal Roué
4415681c92
SQLiteDateParser: don't parse garbage into nanoseconds
2018-06-07 08:36:29 +02:00
Gwendal Roué
5a0425a23c
SQLiteDateParser: optimize nanoseconds parsing
2018-06-07 08:36:29 +02:00
Gwendal Roué
8729085528
Add a sanity check
2018-06-07 08:36:29 +02:00
Gwendal Roué
88cbbf5c5e
Add missing imports (should fix travis issues)
2018-06-07 08:36:29 +02:00
Gwendal Roué
6816bceed0
No need for useScanfStrategy any longer
2018-06-07 08:36:29 +02:00
Gwendal Roué
76dc5e6b89
Cleanup
2018-06-07 08:36:29 +02:00
Gwendal Roué
ee39a52069
New DateParsingTests in GRDBOSXPerformanceTests
2018-06-07 08:36:29 +02:00
Gwendal Roué
82482bdbf7
Date adopts StatementColumnConvertible
2018-06-07 08:36:29 +02:00
Gwendal Roué
062f916607
Documentation
2018-06-07 08:36:29 +02:00
Gwendal Roué
2b73c4f348
Check useScanfStrategy in DatabaseDateComponents.init(sqliteStatement:index:)
...
...so that we can eventually compare gains
2018-06-07 08:36:29 +02:00
Gwendal Roué
54b2135b74
DatabaseDateComponents adopts StatementColumnConvertible
...
We'll need benchmarks to evaluate the gain, here
2018-06-07 08:36:29 +02:00
Gwendal Roué
bf3b4e7e02
SQLiteDateParser: parse C strings
...
Since the goal of this PR is efficiency, we'll soon parse Date and
DatabaseDateComponents right from raw SQLite buffers.
2018-06-07 08:36:29 +02:00
Gwendal Roué
ad8b80bafd
(whitespace)
2018-06-07 08:36:29 +02:00
Gwendal Roué
06476bc6fe
SQLiteDateParser.components(from:) is not public
2018-06-07 08:36:29 +02:00
Gwendal Roué
0616209e58
SQLiteDateParser: no more static methods
2018-06-07 08:36:29 +02:00
Gwendal Roué
415f2971e5
SQLiteDateParser: use withUnsafeMutablePointer instead of allocations
...
OK, not really: the nanosecond components remains in the heap.
But we may find a way to put 11 chars on the stack.
2018-06-07 08:36:29 +02:00
Gwendal Roué
3a7b2cc4a2
SQLiteDateParser: get rid of the mutex
2018-06-07 08:36:29 +02:00
Gwendal Roué
726e40984a
Add SQLiteDateParser.swift to GRDBCustom and GRDBCipher
...
... so that all GRDB flavors can use the new technique.
GRDB has three distinct projects since #282 .
2018-06-07 08:36:29 +02:00
Matt Greenfield
63a68978f0
truncate nanosecond precision to 3 sig figs
2018-06-07 08:36:29 +02:00
Matt Greenfield
13d973dde4
Revert "fix the tests to expect less nanosecond precision loss"
...
This reverts commit eba5df1fcc .
2018-06-07 08:36:29 +02:00
Matt Greenfield
8f5ef76e7e
Revert "permit precision loss down to 3 sig figs"
...
This reverts commit 3bcc5b8064 .
2018-06-07 08:36:29 +02:00
Matt Greenfield
36ac5fa53e
truncate date/time strings that include seconds precision beyond the nanosecond scale
2018-06-07 08:36:29 +02:00
Matt Greenfield
cda891ca02
permit precision loss down to 3 sig figs
2018-06-07 08:36:29 +02:00
Matt Greenfield
ff4447713a
fix the tests to expect less nanosecond precision loss
2018-06-07 08:36:29 +02:00
Matt Greenfield
70190e2a23
not all nanosecond fractions have 3 sig figs, so can't hard code the acceptable string lengths
2018-06-07 08:36:29 +02:00
Matt Greenfield
2682dae34b
0.123 is not the same thing as 0.000123
2018-06-07 08:36:29 +02:00
Matt Greenfield
3a1e695a39
fractions of seconds are not the same thing as integer counts of nanoseconds
2018-06-07 08:36:29 +02:00
Matt Greenfield
604f80f6fa
differentiate between SS and SS.SSS formats
2018-06-07 08:36:29 +02:00
Matt Greenfield
5c0b88eb82
return correct Format for partial date/time combinations
2018-06-07 08:36:29 +02:00
Matt Greenfield
7e39fbaba0
add SQLiteDateParser to project file
2018-06-07 08:36:29 +02:00
Matt Greenfield
815424770b
initial scanf() based date string parser
2018-06-07 08:36:29 +02:00
Gwendal Roué
30fcd95f1d
Change podspec description
2018-06-07 08:31:57 +02:00
Gwendal Roué
4637930027
Improve "Good Practices for Designing Record Types"
2018-06-06 17:09:03 +02:00
Gwendal Roué
729ec6714c
Improve "Good Practices for Designing Record Types"
2018-06-06 17:08:42 +02:00
Gwendal Roué
b2683eb864
Improve "Good Practices for Designing Record Types"
2018-06-06 17:04:42 +02:00
Gwendal Roué
e7bcf7c7db
Funny how time you have for tweaking stuff when you're waiting for a watch app to launch...
2018-06-06 16:15:44 +02:00
Gwendal Roué
d1c47c3364
Improve "Good Practices for Designing Record Types"
2018-06-06 16:12:21 +02:00
Gwendal Roué
44140cb1db
README.md
2018-06-06 15:01:59 +02:00
Gwendal Roué
4bc6a77588
README.md
2018-06-06 14:02:48 +02:00
Gwendal Roué
edd294550f
Revert "README.md"
...
This reverts commit 69c2077037 .
2018-06-06 13:59:52 +02:00
Gwendal Roué
69c2077037
README.md
2018-06-06 13:59:07 +02:00
Gwendal Roué
b3f1997049
README.md
2018-06-06 13:57:44 +02:00
Gwendal Roué
c2e624c78d
README.md
2018-06-06 13:52:55 +02:00
Gwendal Roué
ff69d3fbc3
Merge pull request #365 from groue/GRDB3-DelayedOrdering
...
Delayed Request Ordering
2018-06-06 07:44:23 +02:00
Gwendal Roué
018fac8c57
CHANGELOG.md
2018-06-05 23:07:00 +02:00
Gwendal Roué
0b1bc80c41
Document orderByPrimaryKey
2018-06-05 22:53:05 +02:00
Gwendal Roué
7e6de4fbd0
Test TableRequest.orderByPrimaryKey()
2018-06-05 22:46:24 +02:00
Gwendal Roué
fa31c484da
OrderedRequest now waits for the database connection before ordering is computed
2018-06-05 22:46:02 +02:00
Gwendal Roué
2556fd041f
Update Makefile for Xcode 9.4
2018-06-05 22:23:43 +02:00
Gwendal Roué
e915d28cb2
Fix failing tests for Database.indexes(on:) and Database.foreignKeys(on:)
2018-06-05 14:38:59 +02:00
Gwendal Roué
60eb868fa5
Failing tests for Database.indexes(on:) and Database.foreignKeys(on:)
2018-06-05 14:38:47 +02:00
Gwendal Roué
6130c6f985
Who guessed String ordering would depend on Swift version? Fix a test so that it runs in both Swift 4.1 and Swift 4.2
2018-06-05 08:03:50 +02:00
Gwendal Roué
b7f44785ec
The SQL statement generated by record.update(db) lists columns in the same order as in the table definition (this fixes tests made flaky by SE-0206)
2018-06-05 08:02:54 +02:00
Gwendal Roué
8b44b0af7b
Fix SerializedDatabase.reentrantSync check for unsafe transactions
2018-06-04 11:59:43 +02:00
Gwendal Roué
caea11fbbb
Database: a couple more asserts
2018-06-04 11:58:40 +02:00
Gwendal Roué
c7f018c635
GoodPracticesForDesigningRecordTypes.md
2018-06-04 07:40:12 +02:00
Gwendal Roué
b8328bd3bb
GoodPracticesForDesigningRecordTypes.md
2018-06-03 18:37:00 +02:00
Gwendal Roué
0dd8fce854
GoodPracticesForDesigningRecordTypes.md
2018-06-03 18:34:27 +02:00
Gwendal Roué
f8b7156b48
Simplify demo application
2018-06-03 13:23:31 +02:00
Gwendal Roué
cfba53e586
Associations documentatiion
2018-05-31 22:54:13 +02:00
Gwendal Roué
003020dd29
Associations documentatiion
2018-05-31 22:52:32 +02:00
Gwendal Roué
f2b46963bd
minor
2018-05-31 22:35:58 +02:00
Gwendal Roué
62a434f898
Associations documentatiion
2018-05-31 22:21:00 +02:00
Gwendal Roué
16af4513d6
Associations documentatiion
2018-05-31 22:11:18 +02:00
Gwendal Roué
ead89420c4
Avoid undefined behavior (UnsafePointer documentation is scary)
2018-05-31 17:37:46 +02:00
Gwendal Roué
88fac9e21d
Merge pull request #362 from hartbit/scanf-buffer-overflow
...
Fix buffer overflow in vsscanf date parsing
2018-05-31 17:11:35 +02:00
David Hart
d601e06f25
Fix buffer overflow in vsscanf date parsing
2018-05-31 17:07:23 +02:00
Gwendal Roué
6cdcd97912
Associations documentation
2018-05-31 08:21:07 +02:00
Gwendal Roué
8a4fbcc725
Associations documentation: avoid explicit databaseTableName when possible
2018-05-31 08:19:49 +02:00
Gwendal Roué
e9cbbe2903
Documentation
2018-05-28 14:25:08 +02:00
Gwendal Roué
366e049ddf
Bring GRDBDemo to GRDB 3
2018-05-25 07:26:15 +02:00
Gwendal Roué
4e73c31662
Fix documentation typo
2018-05-24 23:05:59 +02:00
Gwendal Roué
0d2079df42
keypath-based expressions?
2018-05-24 05:56:29 +02:00
Gwendal Roué
318e7455e7
Update Package.swift for Swift 4.1
2018-05-24 05:56:03 +02:00
Gwendal Roué
eb7c98c510
Fix GRDB3 SPM doc
2018-05-23 12:11:43 +02:00
Gwendal Roué
ac955873f2
Improve documentation for persistable protocol choice
2018-05-23 08:36:29 +02:00
Gwendal Roué
051f0416a4
Extend the "thank you" notice
2018-05-23 08:19:40 +02:00
Gwendal Roué
c96ed597ed
Merge pull request #356 from pocketpixels/patch-1
...
Fixing type used in 'Demographics BelongsTo Country' example
2018-05-23 08:16:57 +02:00
Gwendal Roué
5ccf87802e
Merge pull request #355 from groue/GRDB3-AutomaticTableName
...
Automatic table name generation
2018-05-23 06:27:38 +02:00
pocketpixels
c93f3cda06
Fixed type used in 'Demographics BelongsTo Country' example
...
I am reading this for the first time, so I might be wrong, but I strongly suspect the type in the belongsTo() call should be Country?
2018-05-22 23:18:18 -04:00
Gwendal Roué
2e477feb33
TableRecord documentation
2018-05-22 23:51:19 +02:00
Gwendal Roué
dcb626b32b
TableRecord documentation
2018-05-22 23:48:01 +02:00
Gwendal Roué
ce03deeccc
Change log for default implementation for TableRecord.databaseTableName
2018-05-22 23:31:37 +02:00
Gwendal Roué
1213fa0a43
Document default implementation for TableRecord.databaseTableName
2018-05-22 23:18:33 +02:00
Gwendal Roué
76299d9302
Document default implementation for TableRecord.databaseTableName in GRDB2 Migration Guide
2018-05-22 22:58:15 +02:00
Gwendal Roué
7b59c097c6
Test for default implementation for TableRecord.databaseTableName
2018-05-22 22:43:01 +02:00
Gwendal Roué
af8971bcd8
Default implementation for TableRecord.databaseTableName
2018-05-22 22:14:18 +02:00
Gwendal Roué
5de7a5274e
Remove useless #if swift(>=3.1)
2018-05-22 20:32:24 +02:00
Gwendal Roué
e0a1ee4c10
Merge pull request #354 from fpillet/linux-support
...
Main framework compiles on Linux
2018-05-21 09:35:54 +02:00
Gwendal Roué
cdf5462005
Harmonize fetching methods with CustomizedDecodingOfDatabaseRows playground
2018-05-21 08:39:48 +02:00
Gwendal Roué
86f084cb3e
Fix DatabaseRegion inline documentation
2018-05-21 08:27:47 +02:00
Gwendal Roué
5d7245af2a
Fix DatabaseRegion documentation formatting
2018-05-21 08:26:06 +02:00
Gwendal Roué
cacc3e8456
Fix DatabasePool.makeSnapshot() documentation
2018-05-21 08:21:36 +02:00
Gwendal Roué
0620b1b513
Associations: inline documentation
2018-05-21 07:53:06 +02:00
Gwendal Roué
4eac0797fa
Less TODO
2018-05-21 07:39:30 +02:00
Gwendal Roué
07176e941b
Associations: inline documentation
2018-05-21 07:35:25 +02:00
Gwendal Roué
dadece1b04
Associations: inline documentation
2018-05-20 19:35:18 +02:00
Gwendal Roué
b98992eb18
Associations: inline documentation
2018-05-20 19:05:45 +02:00
Gwendal Roué
0191d64f56
Associations: inline documentation
2018-05-20 18:55:14 +02:00
Gwendal Roué
02d5b9c014
Associations: inline documentation
2018-05-20 18:13:34 +02:00
Gwendal Roué
aa81b992c4
Associations: inline documentation
2018-05-20 17:48:22 +02:00
Gwendal Roué
9be001533c
Fix inner link
2018-05-20 16:16:02 +02:00
Gwendal Roué
7be345521b
Associations: new "DerivableRequest Protocol" documentation chapter
2018-05-20 16:14:23 +02:00
Gwendal Roué
67e48f8ad7
CustomizedDecodingOfDatabaseRows
2018-05-20 15:45:59 +02:00
Florent Pillet
c0bd8ce917
Rolled back to previous NSUUID extension as compiler freaks out on a more modern implementation
2018-05-20 14:37:59 +02:00
Florent Pillet
da65deec69
Removed LinuxMain.swift
2018-05-20 14:21:41 +02:00
Florent Pillet
34db8efea0
Added missing LinuxMain.swift
2018-05-20 00:44:59 +02:00
Florent Pillet
df8887be05
Fix NSUUID compilation issue (now using more Swift code)
2018-05-20 00:27:02 +02:00
Florent Pillet
55472c2d7f
Main framework compiles on Linux
2018-05-19 18:52:35 +02:00
Gwendal Roué
2a1c87f24a
Link to "Customized Decoding of Database Rows" from the "Custom Requests" chapter
2018-05-19 18:45:13 +02:00
Gwendal Roué
88c4f02f5d
Fix typo
2018-05-19 18:04:55 +02:00
Gwendal Roué
3017668ba2
Fix typo
2018-05-19 13:58:57 +02:00
Gwendal Roué
4f5fdf45e8
More reasons not to fear leaving FetchableRecord
2018-05-19 13:27:24 +02:00
Gwendal Roué
6037c418cb
New "Customized Decoding of Database Rows" documentation chapter
2018-05-19 12:52:51 +02:00
Gwendal Roué
785853dd2b
Move the Custom Value Types chapter
2018-05-19 12:28:52 +02:00
Gwendal Roué
2ce2b4885d
Rename playground
2018-05-19 12:26:38 +02:00
Gwendal Roué
5637514dd6
AlternateRowDecoder playground
2018-05-19 12:25:35 +02:00
Gwendal Roué
0a3a8d738a
AlternateRowDecoder playground
2018-05-18 19:20:03 +02:00
Gwendal Roué
1d1c7fc467
Merge branch 'GRDB3' of github.com:groue/GRDB.swift into GRDB3
2018-05-18 18:47:42 +02:00
Gwendal Roué
1f274f5c04
More AlternateRowDecoder playground
2018-05-18 18:47:12 +02:00
Gwendal Roué
eddc078c2d
Prepare AlternateRowDecoder playground
2018-05-18 14:29:03 +02:00
Gwendal Roué
5136142d83
Playgrounds documentation
2018-05-18 08:49:47 +02:00
Gwendal Roué
857798b939
Extend the "thank you" notice
2018-05-15 13:35:36 +02:00
Gwendal Roué
82d8fd65d0
Merge pull request #350 from fpillet/patch-1
...
Use `String(format: ...)`
2018-05-13 15:15:05 +02:00
Florent Pillet
2de040a6f1
Use String(format: ...)
...
... instead of `NSString(format: ...) as String`
2018-05-12 15:39:59 +02:00
Gwendal Roué
aead6eec4a
Sometimes you don't understand what you read because information is not given at the right time
2018-05-07 19:39:13 +02:00
Gwendal Roué
756863152c
Fix documentation typos
2018-05-07 19:33:07 +02:00
Gwendal Roué
c1c3233ba2
Remove two useless .init (thank you Xcode autocomplete)
2018-05-07 19:23:33 +02:00
Gwendal Roué
91ad986d0b
Cleanup and add internal documentation for the non-trivial TableAlias
2018-05-07 19:17:19 +02:00
Gwendal Roué
a35f012286
Cleanup
2018-05-07 17:50:27 +02:00
Gwendal Roué
56a0dab443
Typo
2018-05-07 09:10:50 +02:00
Gwendal Roué
69cf95e828
Typo
2018-05-06 20:03:28 +02:00
Gwendal Roué
56ae745851
Prepare v3.0.0-beta.1 release
2018-05-06 14:55:39 +02:00
Gwendal Roué
62f985469c
Update WhyAdoptGRDB.md for GRDB3
2018-05-06 14:53:49 +02:00
Gwendal Roué
a12bc2e90e
Tweaks in GRDB2MigrationGuide.md
2018-05-06 14:44:32 +02:00
Gwendal Roué
402f9d3ba9
Tweaks in AssociationBasics.md
2018-05-06 14:43:44 +02:00
Gwendal Roué
a360976e23
ForeignKey initializer accepts ColumnExpression
2018-05-06 14:15:12 +02:00
Gwendal Roué
de6667a236
WIP: GRDB2MigrationGuide.md
2018-05-06 12:44:06 +02:00
Gwendal Roué
6db0831bfd
fix links
2018-05-06 12:12:11 +02:00
Gwendal Roué
26607ba193
WIP: GRDB2MigrationGuide.md
2018-05-06 11:56:02 +02:00
Gwendal Roué
15299eaac0
WIP: GRDB2MigrationGuide.md
2018-05-06 11:53:19 +02:00
Gwendal Roué
9c9217727c
WIP: GRDB2MigrationGuide.md
2018-05-06 11:10:42 +02:00
Gwendal Roué
6434f0cdb1
WIP: GRDB2MigrationGuide.md
2018-05-06 11:09:44 +02:00
Gwendal Roué
7a520f3269
WIP: GRDB2MigrationGuide.md
2018-05-06 10:55:39 +02:00
Gwendal Roué
cc7cf597f3
WIP: GRDB2MigrationGuide.md
2018-05-06 10:50:14 +02:00
Gwendal Roué
0a6b34bb85
Merge pull request #348 from groue/GRDB3-RxGRDB
...
GRDB3 Support for RxGRDB
2018-05-06 10:08:44 +02:00
Gwendal Roué
175c96cd38
Update documentation of FetchRequest protocol
2018-05-06 10:03:07 +02:00
Gwendal Roué
cce0e332e0
Update documentation of FetchRequest protocol
2018-05-06 10:01:10 +02:00
Gwendal Roué
214748fe5a
DatabaseRegion.fullDatabase is public
2018-05-06 09:11:00 +02:00
Gwendal Roué
dc7bdfed50
More fixits for DatabaseRegion
2018-05-05 12:02:50 +02:00
Gwendal Roué
2d008b8c54
Yet another request protocols update, in order to empower RxGRDB
2018-05-05 11:57:17 +02:00
Gwendal Roué
310c2637cb
Merge pull request #347 from groue/GRDB3-DerivableRequest
...
Common API for requests and associations derivation
2018-05-05 11:56:59 +02:00
Gwendal Roué
264bceee2a
Cleanup
2018-05-04 14:28:29 +02:00
Gwendal Roué
cdad6fa313
Introduce DerivableRequest
2018-05-04 14:19:27 +02:00
Gwendal Roué
babaefca8f
WIP: GRDB2MigrationGuide.md
2018-05-04 10:48:56 +02:00
Gwendal Roué
6a4382c323
TODO
2018-05-04 08:32:51 +02:00
Gwendal Roué
231906e5ea
WIP: GRDB2MigrationGuide.md
2018-05-03 10:17:38 +02:00
Gwendal Roué
1c9db9ec10
WIP: GRDB2MigrationGuide.md
2018-05-03 08:55:52 +02:00
Gwendal Roué
31e927f9da
WIP: GRDB2MigrationGuide.md
2018-05-03 08:54:50 +02:00
Gwendal Roué
26b9030eaa
WIP: GRDB2MigrationGuide.md
2018-05-03 08:53:19 +02:00
Gwendal Roué
da38df6bd6
WIP: GRDB2MigrationGuide.md
2018-05-03 08:51:31 +02:00
Gwendal Roué
ebb1eba96f
WIP: GRDB2MigrationGuide.md
2018-05-03 08:34:02 +02:00
Gwendal Roué
c7a1daa8e5
WIP: GRDB2MigrationGuide.md
2018-05-02 21:55:53 +02:00
Gwendal Roué
0aa75f418f
WIP: GRDB2MigrationGuide.md
2018-05-02 21:27:03 +02:00
Gwendal Roué
a5d56d38d6
WIP: GRDB2MigrationGuide.md
2018-05-02 20:03:56 +02:00
Gwendal Roué
fa04627ece
WIP: GRDB2MigrationGuide.md
2018-05-02 19:57:36 +02:00
Gwendal Roué
33ec30438d
WIP: GRDB2MigrationGuide.md
2018-05-02 19:52:26 +02:00
Gwendal Roué
e3ab3a991e
WIP: GRDB2MigrationGuide.md
2018-05-02 18:47:34 +02:00
Gwendal Roué
287422f2f8
WIP: GRDB2MigrationGuide.md
2018-05-02 13:59:15 +02:00
Gwendal Roué
e184963b8f
WIP: GRDB2MigrationGuide.md
2018-05-02 13:40:33 +02:00
Gwendal Roué
06f9a4601c
TODO
2018-05-02 07:43:16 +02:00
Gwendal Roué
7a30eb2613
Merge pull request #319 from groue/GRDB3-Associations
...
Associations & Joins
2018-05-01 21:48:06 +02:00
Gwendal Roué
5160b69c34
Merge branch 'GRDB3' into GRDB3-Associations
2018-05-01 21:47:44 +02:00
Gwendal Roué
fa00b8ad99
Associations and Joins documentation
2018-05-01 21:44:43 +02:00
Gwendal Roué
1bf7f67008
Update inline documentation with singular table names
2018-05-01 20:32:18 +02:00
Gwendal Roué
872d6d21ac
Update README.md with singular table names
2018-05-01 19:01:45 +02:00
Gwendal Roué
ab36df6e0f
Use "finalized" to describe queries that are ready for SQL generation
2018-05-01 17:42:39 +02:00
Gwendal Roué
ffaabdfd62
Toward improved DatabaseRegion for joined requests
2018-05-01 17:20:37 +02:00
Gwendal Roué
8e2cdeebc3
Cleanup
2018-05-01 15:03:36 +02:00
Gwendal Roué
a3189f79b6
StatementArguments: no more need for internal setters
2018-05-01 14:52:03 +02:00
Gwendal Roué
66a425f718
Thread-safe table name disambiguation, via SQLGenerationContext. Merge SQLTableQualifier into TableAlias.
2018-05-01 14:44:51 +02:00
Gwendal Roué
344eba821f
Spot more qualifier/alias problems
2018-04-30 19:31:56 +02:00
Gwendal Roué
8d5e57873e
Documentation
2018-04-30 15:33:16 +02:00
Gwendal Roué
9f78a758bd
RowAdapter.addingScopes returns self if the scopes dictionary is empty
2018-04-30 14:04:07 +02:00
Gwendal Roué
e6f084d397
Law of Demeter
2018-04-30 13:59:20 +02:00
Gwendal Roué
09458c1d37
Documentation, move asRequest(of:) to QueryInterfaceRequest in order to avoid AnyFetchRequest contamination
2018-04-30 13:41:20 +02:00
Gwendal Roué
9a379fc1bc
Use DatabasePromise where relevant
2018-04-30 12:57:12 +02:00
Gwendal Roué
a45d019472
Simplification
...
Rename AssociationMapping to JoinCondition
Replace AssociationMappingRequest enum with ForeignKeyJoinConditionRequest struct
Rename AssociationChainOperator to AssociationJoinOperator, and "chain" to "join"
2018-04-30 12:50:38 +02:00
Gwendal Roué
50dd846a36
Remove useless constraint on Association.LeftAssociated and Association.RightAssociated
2018-04-30 12:25:07 +02:00
Gwendal Roué
dddeff458a
none() is no longer a requirement of FilteredRequest
2018-04-30 09:02:05 +02:00
Gwendal Roué
ae162a88c6
Upgrade .swift-version and Swift badge to 4.1
2018-04-30 08:57:10 +02:00
Gwendal Roué
ccc259c25c
Documentation
2018-04-30 08:55:16 +02:00
Gwendal Roué
5e7235307a
Cleanup
2018-04-30 08:36:29 +02:00
Gwendal Roué
5747d1cff0
No more #if swift(>=4.1)
2018-04-30 08:26:23 +02:00
Gwendal Roué
e05a64f1cb
Cleanup
2018-04-30 08:11:16 +02:00
Gwendal Roué
83104769ef
Conditional Conformance requires Swift 4.1 and Xcode 9.3+
2018-04-29 19:21:10 +02:00
Gwendal Roué
39c5313738
Associations Documentation
2018-04-29 18:45:51 +02:00
Gwendal Roué
d6f088609e
Prevent chaining required association behind an optional one
2018-04-29 18:34:49 +02:00
Gwendal Roué
4586eb9a82
Associations Documentation
2018-04-29 18:27:59 +02:00
Gwendal Roué
a16bd6b54e
Associations Documentation
2018-04-29 18:18:33 +02:00
Gwendal Roué
3e46942f30
Associations
2018-04-29 18:16:39 +02:00
Gwendal Roué
df79bb8ed8
whitespace
2018-04-28 10:36:58 +02:00
Gwendal Roué
d6183a4745
Typo
2018-04-28 10:29:56 +02:00
Gwendal Roué
bf470b5870
Documentation
2018-04-27 18:01:11 +02:00
Gwendal Roué
175656aa26
Documentation
2018-04-27 09:01:13 +02:00
Gwendal Roué
497295a0c6
Merge pull request #342 from groue/GRDB3-reversedCleanup
...
Reversing unordered requests
2018-04-26 19:45:27 +02:00
Gwendal Roué
0f21f886b4
Document that request.reversed() has no effect when request is not already ordered
2018-04-26 12:54:28 +02:00
Gwendal Roué
f4382e6bcb
Test that request.reversed() has no effect when request is not already ordered
2018-04-26 12:52:01 +02:00
Gwendal Roué
26108badd4
request.reversed() has no effect when request is not already ordered
2018-04-26 12:51:29 +02:00
Gwendal Roué
2ae93a2a0b
Honor #337
2018-04-26 09:01:33 +02:00
Gwendal Roué
d8860d2527
Typo
2018-04-26 08:27:37 +02:00
Gwendal Roué
40cfbd8c9c
Update Documentation for the implicit transactions opened by the write method
2018-04-26 08:26:39 +02:00
Gwendal Roué
6dea09ec24
Typo
2018-04-26 08:05:57 +02:00
Gwendal Roué
8d84050f77
Typo
2018-04-26 07:58:06 +02:00
Gwendal Roué
af8801c28a
TODO
2018-04-26 07:45:16 +02:00
Gwendal Roué
58edfcbc99
Typo
2018-04-26 07:18:02 +02:00
Gwendal Roué
25748566ea
No more obsolete string.characters in documentation
2018-04-26 07:14:57 +02:00
Gwendal Roué
66bd7cff77
Typo
2018-04-26 06:40:26 +02:00
Gwendal Roué
d09afc8929
explicitely -> explicitly
2018-04-25 19:35:03 +02:00
Gwendal Roué
92f037eb74
Merge remote-tracking branch 'origin/master' into GRDB3
2018-04-25 19:32:44 +02:00
Gwendal Roué
7032bb6416
Typo
2018-04-25 11:28:43 +02:00
Gwendal Roué
433f4e828f
TODO
2018-04-25 11:06:19 +02:00
Gwendal Roué
319baad70c
Typo
2018-04-25 11:00:26 +02:00
Gwendal Roué
56d06d0889
Honor #337
2018-04-25 10:59:07 +02:00
Gwendal Roué
727491ca1a
New usage section: database observation
2018-04-25 10:57:42 +02:00
Gwendal Roué
bc57d67a91
Rewrite usage section with details HTML tags
2018-04-25 10:49:35 +02:00
Gwendal Roué
4754a9dbe0
Minor
2018-04-25 09:12:43 +02:00
Gwendal Roué
c4bb84a88f
Fix outdated documentation
2018-04-25 09:10:03 +02:00
Gwendal Roué
543c361f87
Enhance documentation
2018-04-25 09:06:29 +02:00
Gwendal Roué
e5c4409ad4
Enhance documentation
2018-04-25 08:57:44 +02:00
Gwendal Roué
5fe609ae5c
TODO
2018-04-24 09:32:07 +02:00
Gwendal Roué
f1baa0503f
#339 follow-up: extend the thank you notice :-)
2018-04-23 14:46:12 +02:00
Gwendal Roué
9d8015925d
Merge pull request #339 from kluufger/patch-1
...
fix small typo in readme
2018-04-23 14:44:04 +02:00
Gwendal Roué
32ec7504e5
Merge pull request #340 from groue/GRDB3-SQLColumnExpression
...
ColumnExpression Protocol
2018-04-23 14:10:56 +02:00
kluufger
16513dc387
as -> at
2018-04-23 11:51:16 +00:00
kluufger
4804f78042
datase -> database
2018-04-23 11:20:47 +00:00
kluufger
eae2c38e23
sharedApplication() -> shared
2018-04-23 11:06:17 +00:00
kluufger
7ffc2faa9a
uppercase -> uppercased since later it's called as uppercased
2018-04-23 11:00:23 +00:00
kluufger
6f03d51390
fix link
2018-04-23 07:18:32 +00:00
Gwendal Roué
4409b07ef5
ColumnExpression documentation
2018-04-23 08:39:19 +02:00
Gwendal Roué
5ee390f0da
No more support for CodingKey & ColumnExpression
2018-04-23 08:19:15 +02:00
kluufger
3aa5719600
identity -> identify
2018-04-22 21:01:12 +00:00
kluufger
70e6454c38
fix typo
2018-04-22 19:49:06 +00:00
Gwendal Roué
d6f93afffe
Update documentation in order to foster column enums
2018-04-22 19:10:10 +02:00
Gwendal Roué
f2ae44384f
Rename SQLColumnExpression to ColumnExpression
2018-04-22 18:13:47 +02:00
kluufger
3c290ed6e2
case-unsensitive -> case-insensitive
2018-04-22 15:59:17 +00:00
kluufger
85849a889f
parent -> parents
...
not sure about this one, where do `(c, d)` come from?
2018-04-22 15:42:04 +00:00
kluufger
4993198266
no need for the ellipses
2018-04-22 15:38:05 +00:00
kluufger
ee7b8f74d7
update db.create(table: "example")
2018-04-22 15:35:50 +00:00
kluufger
8fd321f823
add .unique() to email column
2018-04-22 15:12:46 +00:00
kluufger
0526994603
one more
2018-04-22 14:55:51 +00:00
kluufger
0688305f86
fix small typo in readme
2018-04-22 14:44:32 +00:00
Gwendal Roué
e54ccdfc54
Tests for SQLColumnExpression
2018-04-22 14:56:51 +02:00
Gwendal Roué
29b364d5cb
Introduce SQLColumnExpression
2018-04-22 14:56:40 +02:00
Gwendal Roué
71d602850e
Typo
2018-04-22 13:49:13 +02:00
Gwendal Roué
b590ee5444
Typo
2018-04-22 13:39:28 +02:00
Gwendal Roué
db31a94461
Typo
2018-04-22 13:35:36 +02:00
Gwendal Roué
405b537ef2
Typo
2018-04-22 13:32:26 +02:00
Gwendal Roué
6722ea8676
Typo
2018-04-22 13:29:52 +02:00
Gwendal Roué
d3879567c4
New "Examples of Record Definitions" chapter (addresses #338 )
2018-04-22 13:26:40 +02:00
Gwendal Roué
4c6147fc37
Documentation
2018-04-22 12:05:11 +02:00
Gwendal Roué
b2d2d17dda
#330 follow-up: extract QualifiedAllColumns from AllColumns
2018-04-22 07:26:08 +02:00
Gwendal Roué
2dae6d945f
#330 follow-up: extract QualifiedColumn from Column
2018-04-22 07:17:26 +02:00
Gwendal Roué
ddc551626c
Merge pull request #337 from groue/GRDB3-autoIncrementedPrimaryKey
...
Foster auto-incremented primary keys
2018-04-22 06:39:42 +02:00
Gwendal Roué
7aacaef2cd
Foster autoIncrementedPrimaryKey in documentation
2018-04-21 20:11:34 +02:00
Gwendal Roué
e80dab2ea9
Documentation for TableDefinition.autoIncrementedPrimaryKey
2018-04-21 19:42:27 +02:00
Gwendal Roué
822ff97050
Tests for TableDefinition.autoIncrementedPrimaryKey
2018-04-21 19:41:45 +02:00
Gwendal Roué
73e89f76aa
Introduce TableDefinition.autoIncrementedPrimaryKey
2018-04-21 19:41:21 +02:00
Gwendal Roué
c21a330dce
Cleanup
2018-04-21 19:40:30 +02:00
Gwendal Roué
b8fc762e11
Cleanup
2018-04-21 19:28:58 +02:00
Gwendal Roué
e44249be1c
Merge pull request #336 from groue/GRDB3-LogicalOperatorRefactoring
...
Enhancements to logical operators
2018-04-21 19:06:36 +02:00
Gwendal Roué
f4ab65e399
Fix typo
2018-04-21 17:21:16 +02:00
Gwendal Roué
d63565f191
Documentation for joined(operator:)
2018-04-21 17:17:46 +02:00
Gwendal Roué
729f6bdc6c
Tests for joined(operator:)
2018-04-21 17:05:03 +02:00
Gwendal Roué
c691625b15
Dedicated implementations for AND and OR sql operators. Introduce joined(operator:)
2018-04-21 16:53:44 +02:00
Gwendal Roué
4e57bf5a0e
Fix a youth error: DatabaseDateComponents initializer from DateComponents is no longer failable
2018-04-21 15:27:21 +02:00
Gwendal Roué
223d0a3fd3
Merge remote-tracking branch 'origin/development' into GRDB3
2018-04-21 15:20:36 +02:00
Gwendal Roué
00fa47b6b7
Family gets bigger :-)
2018-04-21 15:04:54 +02:00
Gwendal Roué
f52536f4ae
Append #334 to CHANGELOG
2018-04-21 15:04:37 +02:00
Gwendal Roué
76e1d4381d
Merge pull request #334 from sobri909/development
...
Improve date parsing performance and memory footprint
2018-04-21 14:49:13 +02:00
Gwendal Roué
6c5d6ba631
SQLiteDateParser: tighten vsscanf format
2018-04-21 10:37:03 +02:00
Gwendal Roué
1311f6c87c
SQLiteDateParser: fix nanosecond parsing
2018-04-21 10:17:07 +02:00
Gwendal Roué
219f96a11a
More DatabaseDateComponents parsing tests
2018-04-21 10:16:49 +02:00
Gwendal Roué
8b175280fa
TODO
2018-04-21 07:40:11 +02:00
Gwendal Roué
632bce5521
SQLiteDateParser: don't parse garbage into nanoseconds
2018-04-20 19:41:34 +02:00
Gwendal Roué
316d28746b
SQLiteDateParser: optimize nanoseconds parsing
2018-04-20 19:26:42 +02:00
Gwendal Roué
9efe4a6efa
Add a sanity check
2018-04-20 19:18:46 +02:00
Gwendal Roué
85fbf64068
Add missing imports (should fix travis issues)
2018-04-20 19:17:24 +02:00
Gwendal Roué
282255b841
No need for useScanfStrategy any longer
2018-04-20 19:14:58 +02:00
Gwendal Roué
9e380e5fea
Cleanup
2018-04-20 19:14:32 +02:00
Gwendal Roué
f12495b24a
New DateParsingTests in GRDBOSXPerformanceTests
2018-04-20 19:06:02 +02:00
Gwendal Roué
266040747e
Date adopts StatementColumnConvertible
2018-04-20 18:42:12 +02:00
Gwendal Roué
11a4a6acbd
Documentation
2018-04-20 18:41:58 +02:00
Gwendal Roué
c70689fe54
Check useScanfStrategy in DatabaseDateComponents.init(sqliteStatement:index:)
...
...so that we can eventually compare gains
2018-04-20 18:34:19 +02:00
Gwendal Roué
936b31f1f0
DatabaseDateComponents adopts StatementColumnConvertible
...
We'll need benchmarks to evaluate the gain, here
2018-04-20 14:04:12 +02:00
Gwendal Roué
8915672ce5
SQLiteDateParser: parse C strings
...
Since the goal of this PR is efficiency, we'll soon parse Date and
DatabaseDateComponents right from raw SQLite buffers.
2018-04-20 13:51:20 +02:00
Gwendal Roué
0640f90fc1
(whitespace)
2018-04-20 13:32:50 +02:00
Gwendal Roué
d1a0e8d906
SQLiteDateParser.components(from:) is not public
2018-04-20 13:31:57 +02:00
Gwendal Roué
e9a668ca56
SQLiteDateParser: no more static methods
2018-04-20 13:31:35 +02:00
Gwendal Roué
27194c802d
SQLiteDateParser: use withUnsafeMutablePointer instead of allocations
...
OK, not really: the nanosecond components remains in the heap.
But we may find a way to put 11 chars on the stack.
2018-04-20 13:30:26 +02:00
Gwendal Roué
7aabfeaeac
SQLiteDateParser: get rid of the mutex
2018-04-20 13:09:22 +02:00
Gwendal Roué
6d9bce3a25
Add SQLiteDateParser.swift to GRDBCustom and GRDBCipher
...
... so that all GRDB flavors can use the new technique.
GRDB has three distinct projects since #282 .
2018-04-20 13:08:17 +02:00
Gwendal Roué
efa0e3850f
GRDB3 TODO
2018-04-20 06:16:10 +02:00
Gwendal Roué
1e7e011a61
Merge pull request #335 from groue/GRDB3-RowLookup
...
Row scopes collection, breadth-first scope search
2018-04-20 06:00:52 +02:00
Gwendal Roué
e45642b6c1
Cleanup
2018-04-19 21:48:12 +02:00
Gwendal Roué
b550e2bfd5
Cleanup
2018-04-19 21:45:40 +02:00
Gwendal Roué
4b3854d05d
Finally, the meat: perform breadth-first search in let record = row[key], and in FetchableRecord & Decodable
2018-04-19 20:46:58 +02:00
Gwendal Roué
0362ae76ea
Rename Row.Scopes to Row.ScopesView. Move breadth-first lookup to a new view, row.scopesTree, of type Row.ScopesTreeView
2018-04-19 20:29:11 +02:00
Gwendal Roué
098c11baf2
Row.Scopes.lookup(_:) performs a breadth-first lookup of a scope name
2018-04-19 19:50:43 +02:00
Gwendal Roué
4e659c550e
Rename RowScopes to Row.Scopes. Harmonize row derivation.
2018-04-19 19:18:02 +02:00
Gwendal Roué
9cb1bac2fc
Update documentation for scoped rows
2018-04-19 14:46:23 +02:00
Gwendal Roué
33d65e85d8
Update documentation for scoped rows
2018-04-19 14:44:05 +02:00
Gwendal Roué
7e260cf537
Update tests for new Row.scopes view
2018-04-19 14:41:49 +02:00
Gwendal Roué
57932235ba
Introduce RowScopes collection, a view of a row's scopes
2018-04-19 09:07:16 +02:00
Gwendal Roué
2daba261a2
GRDB3 TODO
2018-04-19 08:09:46 +02:00
Gwendal Roué
9a6daedd6d
Cleanup
2018-04-18 07:31:11 +02:00
Matt Greenfield
3b546dedd8
truncate nanosecond precision to 3 sig figs
2018-04-17 15:17:09 +07:00
Matt Greenfield
7320f88066
Revert "fix the tests to expect less nanosecond precision loss"
...
This reverts commit eba5df1fcc .
2018-04-17 15:14:18 +07:00
Matt Greenfield
bde72e562e
Revert "permit precision loss down to 3 sig figs"
...
This reverts commit 3bcc5b8064 .
2018-04-17 15:14:09 +07:00
Matt Greenfield
33066133fc
truncate date/time strings that include seconds precision beyond the nanosecond scale
2018-04-17 14:32:33 +07:00
Matt Greenfield
3bcc5b8064
permit precision loss down to 3 sig figs
2018-04-17 13:20:11 +07:00
Matt Greenfield
eba5df1fcc
fix the tests to expect less nanosecond precision loss
2018-04-17 12:57:59 +07:00
Matt Greenfield
dad163771f
not all nanosecond fractions have 3 sig figs, so can't hard code the acceptable string lengths
2018-04-17 12:38:23 +07:00
Matt Greenfield
bb59f5e6f7
0.123 is not the same thing as 0.000123
2018-04-17 11:05:47 +07:00
Matt Greenfield
7a1aa88edb
fractions of seconds are not the same thing as integer counts of nanoseconds
2018-04-16 19:18:49 +07:00
Gwendal Roué
a2c06c1bdb
Cleanup
2018-04-16 14:05:36 +02:00
Gwendal Roué
2a2c5a772f
Cleanup
2018-04-16 14:05:04 +02:00
Gwendal Roué
969fac5c4b
Cleanup
2018-04-16 14:01:54 +02:00
Matt Greenfield
b444d376f4
differentiate between SS and SS.SSS formats
2018-04-16 17:39:41 +07:00
Matt Greenfield
59d7909f50
return correct Format for partial date/time combinations
2018-04-16 17:21:00 +07:00
Matt Greenfield
f5f8ab5971
add SQLiteDateParser to project file
2018-04-16 16:32:32 +07:00
Matt Greenfield
362c4baeca
initial scanf() based date string parser
2018-04-16 14:02:15 +07:00
Gwendal Roué
d39f02113c
Restore T.fetchXXX(db, request) APIs which were removed in PR #311
2018-04-16 08:50:55 +02:00
Gwendal Roué
c9dc1223dd
Harmonize dbQueue.writer with dbPool.writer
2018-04-15 20:14:25 +02:00
Gwendal Roué
ba848d2d53
Less TODO
2018-04-15 19:57:36 +02:00
Gwendal Roué
1c9c3d4399
Merge pull request #332 from groue/GRDB3-DatabaseWriterRobustness
...
Implicit transaction in DatabasePool.write and DatabaseQueue.write
2018-04-15 19:51:52 +02:00
Gwendal Roué
090f872e80
Update documentation: don't mention dbQueue.inDatabase unless necessary
2018-04-15 18:09:34 +02:00
Gwendal Roué
3d9c1a2739
Cleanup
2018-04-15 17:26:37 +02:00
Gwendal Roué
c97c260613
Update documentation about transactions
2018-04-15 17:15:13 +02:00
Gwendal Roué
a46505e907
Cleanup
2018-04-15 14:30:12 +02:00
Gwendal Roué
ea3f22c8a4
Fix tests that were failing now that DatabaseQueue.inDatabase runs inside a transaction
2018-04-13 18:07:24 +02:00
Gwendal Roué
d78479e4af
[WIP] DatabaseQueue.inDatabase runs inside a transaction
2018-04-13 08:56:03 +02:00
Gwendal Roué
267371ba90
Tests that DatabasePool.write opens a transaction
2018-04-13 08:20:17 +02:00
Gwendal Roué
cc136922e5
Typo
2018-04-12 14:07:38 +02:00
Gwendal Roué
02927106ca
It looks like documentation wants that DatabaseQueue automatically opens transactions as well...
2018-04-12 14:06:13 +02:00
Gwendal Roué
1275ebc2b1
Layout
2018-04-12 14:02:31 +02:00
Gwendal Roué
2ac2a148c6
Typo
2018-04-12 14:00:19 +02:00
Gwendal Roué
1a5f432ee1
Update documentation for DatabasePool.writeWithoutTransaction
2018-04-12 13:59:10 +02:00
Gwendal Roué
5df4e713b6
GRDB3 TODO
2018-04-12 12:39:29 +02:00
Gwendal Roué
20d2c74f87
Update documentation for DatabasePool.writeWithoutTransaction
2018-04-12 12:02:25 +02:00
Gwendal Roué
bc244802c0
Update tests for DatabasePool/Writer.writeWithoutTransaction
2018-04-12 07:58:23 +02:00
Gwendal Roué
bd2f17ee10
Fixes needed by DatabasePool/Writer.writeWithoutTransaction
2018-04-12 07:58:01 +02:00
Gwendal Roué
563a4d5c71
Introduce DatabaseWriter.writeWithoutTransaction
2018-04-11 20:03:18 +02:00
Gwendal Roué
78e6241d16
DatabaseWriter.write now guarantees that eventual concurrent readers don't see any changes until all changes are executed. DatabasePool.write thus wraps changes in a transaction.
2018-04-11 20:03:18 +02:00
Gwendal Roué
d08f630a2c
Merge pull request #331 from groue/GRDB3-RowDescription
...
Improve Row descriptions
2018-04-11 20:02:31 +02:00
Gwendal Roué
26912e746b
Update documentation for new Row description format
2018-04-11 15:49:16 +02:00
Gwendal Roué
fa68b62be1
Improve Row.description & Row.debugDescription
2018-04-11 13:39:44 +02:00
Gwendal Roué
07a1d4d1b8
Database.rollback: add missing dispatch queue check
2018-04-11 13:21:56 +02:00
Gwendal Roué
9c6b48980c
Database.isInsideTransaction: add missing dispatch queue check
2018-04-11 13:18:34 +02:00
Gwendal Roué
79c7dd03a5
[Whitespace]
2018-04-11 13:10:15 +02:00
Gwendal Roué
b252c689df
Merge pull request #330 from groue/GRDB3-RemovePATs
...
Expressions are no longer PATs
2018-04-11 13:08:46 +02:00
Gwendal Roué
c34380cf5c
SQLExpression and SQLSelectable are no longer PATs
2018-04-11 08:19:15 +02:00
Gwendal Roué
75ab9d615c
Merge pull request #329 from groue/GRDB3-RequestDerivation
...
Introduce request derivation protocols
2018-04-11 08:04:30 +02:00
Gwendal Roué
b9333fab34
Update a few tests that have been broken by 64899e5a39.
...
(Some expressions which were not safely wrapped inside parenthesis now are wrapped inside parenthesis)
2018-04-10 13:45:31 +02:00
Gwendal Roué
64899e5a39
Introduce SelectionRequest, FilteredRequest, AggregatingRequest, and OrderedRequest.
...
Those request protocols allow types that are not QueryInterfaceRequest to expose the same derivation API. This is a necessary step towards associations.
2018-04-10 13:44:23 +02:00
Gwendal Roué
80889dc9d2
Merge pull request #328 from groue/GRDB3-DatabaseRequest
...
Allow observation of complex fetching strategies
2018-04-10 12:50:37 +02:00
Gwendal Roué
b7239c4b6f
Document request protocols
2018-04-08 13:18:02 +02:00
Gwendal Roué
67ae1d4cf0
Document request protocols
2018-04-08 13:09:24 +02:00
Gwendal Roué
03f5a83cbf
Introduce and DatabaseRequest and SelectStatementRequest on top of FetchRequest
2018-04-08 12:08:51 +02:00
Gwendal Roué
77bb2ecc82
Merge branch 'SQLite-3.22.0' of github.com:groue/GRDB.swift into GRDB3
2018-04-08 11:51:56 +02:00
Gwendal Roué
3160b65172
Upgrade SQLiteCustom to 3.22.0
2018-04-04 13:23:46 +02:00
Gwendal Roué
65b3ba1d12
TODO
2018-04-04 09:49:38 +02:00
Gwendal Roué
ce919f0411
GRDB3 TODO
2018-03-31 16:00:34 +02:00
Gwendal Roué
2dfbe8e5f2
Prevent snapshot creation from within a transaction
2018-03-31 15:56:42 +02:00
Gwendal Roué
e9d45b5435
GRDB3 TODO
2018-03-31 15:07:19 +02:00
Gwendal Roué
c3f9c75b3c
Rename databaseEqual to databaseEquals
2018-03-31 14:53:22 +02:00
Gwendal Roué
d24f79ee4d
Merge branch 'master' into GRDB3
2018-03-31 14:36:43 +02:00
Gwendal Roué
2992bd544e
GRDB3 TODO
2018-03-30 10:49:43 +02:00
Gwendal Roué
31ed3ce277
GRDB3 TODO
2018-03-30 09:12:35 +02:00
Gwendal Roué
91b574e153
v2.10.0
2018-03-30 08:32:18 +02:00
Gwendal Roué
7966b43daf
Merge pull request #295 from groue/Swift4.1
...
Xcode 9.3 & Swift 4.1
2018-03-30 08:31:30 +02:00
Gwendal Roué
17dfb0db9d
CHANGELOG
2018-03-30 08:19:46 +02:00
Gwendal Roué
2c3a62abbc
Update performance tests for Swift 4.1
2018-03-30 08:12:24 +02:00
Gwendal Roué
f9a806d9aa
Xcode 9.3 artifact: IDEWorkspaceChecks.plist
2018-03-30 07:51:34 +02:00
Gwendal Roué
afd2d25e5e
Makefile: add support for Xcode 9.3
2018-03-30 07:21:49 +02:00
Gwendal Roué
4ee9580d31
Remove redundant conformance of DatabaseValue to SQLExpressible
2018-03-29 15:31:22 +02:00
Gwendal Roué
b35cf4afdc
Record.save(_:) documents that is can't be overridden
2018-03-15 20:46:03 +01:00
Gwendal Roué
930246592a
Cleanup TODO
2018-03-15 20:32:04 +01:00
Gwendal Roué
727be0a8ab
Merge pull request #321 from groue/GRDB3-Testability
...
Improve testability
2018-03-15 20:25:18 +01:00
Gwendal Roué
ebe1d93c3a
Polish
2018-03-15 20:22:39 +01:00
Gwendal Roué
c7ad3ef4a9
DatabaseMigrator.appliedMigrations(in:) doc & changelog
2018-03-15 20:15:23 +01:00
Gwendal Roué
fa8ed89eae
DatabaseMigrator.appliedMigrations(_:)
2018-03-15 20:10:59 +01:00
Gwendal Roué
0d7f392bcd
Database.isGRDBInternalTable(_:)
2018-03-15 20:04:50 +01:00
Gwendal Roué
d61551cedb
Database.isSQLiteInternalTable(_:) doc
2018-03-15 19:57:03 +01:00
Gwendal Roué
07b944039c
Database.isSQLiteInternalTable(_:)
2018-03-15 19:52:44 +01:00
Gwendal Roué
95933e93dd
Fix SQLRequest inline documentation
2018-03-12 23:03:46 +01:00
Gwendal Roué
1cbe60a13f
Better checks for Swift < 4.1 (thanks @hartbit!)
2018-03-12 18:33:06 +01:00
Gwendal Roué
9505ba1606
Replace flatMap with compactMap in README.md
2018-03-12 18:20:10 +01:00
Gwendal Roué
bca1fe0d9b
SE-0184: backport UnsafeMutablePointer.deallocate()
2018-03-12 18:20:10 +01:00
Gwendal Roué
1d28ca1fca
TODO Swift 4.1
2018-03-12 18:20:10 +01:00
Gwendal Roué
a75e519294
SE-0185: let Swift 4.1 generate as much Equatable and Hashable conformance as possible
2018-03-12 18:20:10 +01:00
Gwendal Roué
75d5c2a39f
SE-0187: deprecate Cursor.flatMap in favor of Cursor.compactMap
2018-03-12 18:20:10 +01:00
Gwendal Roué
85d3c584ef
Swift 4.1 compatibility (SE-0184 , SE-0187)
2018-03-12 18:20:10 +01:00
Gwendal Roué
ad0f6de809
Fix Xcode9.3 warnings
2018-03-12 18:20:10 +01:00
Gwendal Roué
5defb058d3
TODO
2018-03-05 14:22:58 +01:00
Gwendal Roué
f202ad5e3f
TODO
2018-03-05 10:18:44 +01:00
Gwendal Roué
1cd8467b8f
TODO
2018-03-05 09:59:01 +01:00
Gwendal Roué
f2462d4270
Improve Record overview
2018-03-02 18:56:43 +01:00
Gwendal Roué
4a4f4e37ba
Improve Record overview
2018-03-02 15:13:12 +01:00
Gwendal Roué
3a625157ff
README typos
2018-02-28 09:02:48 +01:00
Gwendal Roué
3bbc17fe4a
Rename "record changes tracking" to "record comparison" in order to avoid confusion with database changes tracking performed by database observation
2018-02-28 08:58:27 +01:00
Gwendal Roué
8cff147029
TODO.md
2018-02-28 08:41:46 +01:00
Gwendal Roué
ce984783ec
Intra-doc links
2018-02-28 08:36:58 +01:00
Gwendal Roué
dbde432948
Remove deprecated APIs
2018-02-28 08:35:07 +01:00
Gwendal Roué
85f945dcba
Merge pull request #314 from groue/GRDB3-RenameRecordProtocols
...
Rename record protocols
2018-02-27 20:42:10 +01:00
Gwendal Roué
487f4e220f
Record protocols fixit
2018-02-27 20:10:13 +01:00
Gwendal Roué
6a8dec11ea
Record protocols changelog
2018-02-27 20:10:06 +01:00
Gwendal Roué
1a91020a84
After all, FetchableRecord and PersistableRecord
2018-02-27 19:25:49 +01:00
Gwendal Roué
08a08cd74f
Rename MutablePersistable to EncodableRecord
2018-02-27 18:46:32 +01:00
Gwendal Roué
639de6ca11
Rename TableMapping to TableRecord
2018-02-27 13:28:29 +01:00
Gwendal Roué
ba6a026cdc
Rename RowConvertible to DecodableRecord
2018-02-27 13:17:51 +01:00
Gwendal Roué
07634229f9
GRDB3 TODO
2018-02-27 12:44:34 +01:00
Gwendal Roué
619aeb4355
Merge pull request #312 from groue/GRDB3-DropIteratorCursor
...
Drop IteratorCursor, use AnyCursor instead
2018-02-27 12:39:37 +01:00
Gwendal Roué
e8d0af93fc
Cursor changelog
2018-02-27 08:17:55 +01:00
Gwendal Roué
4faa9964bd
Make AnyCursor final
2018-02-27 08:15:49 +01:00
Gwendal Roué
15a0ea79b0
Drop IteratorCursor, use AnyCursor instead
2018-02-27 08:11:48 +01:00
Gwendal Roué
d0a281e14f
Merge pull request #311 from groue/GRDB3-FetchRequest
...
Rename TypedRequest to FetchRequest, drop Request
2018-02-27 07:53:23 +01:00
Gwendal Roué
49e624e532
Update WhyAdoptGRDB.md for FetchRequest
2018-02-27 07:47:05 +01:00
Gwendal Roué
3bbcb8151d
Update JoinSupportTests for FetchRequest
2018-02-26 22:34:46 +01:00
Gwendal Roué
c7b9358bc7
Documentation polish
2018-02-26 22:29:58 +01:00
Gwendal Roué
a552e7d25c
Update README.md for FetchRequest
2018-02-26 22:18:35 +01:00
Gwendal Roué
c108094aa5
FetchRequest changelog
2018-02-26 19:34:29 +01:00
Gwendal Roué
769c67e7d3
FetchRequest.adapted(_:) in not experimental
2018-02-26 19:34:16 +01:00
Gwendal Roué
f605e049fd
Rename TypedRequest to FetchRequest, drop Request
2018-02-26 13:12:33 +01:00
Gwendal Roué
e44201e0e3
Apply advice from @sobri909
2018-02-25 09:43:00 +01:00
Gwendal Roué
028093199b
Replace flatMap with compactMap in README.md
2018-02-25 09:26:18 +01:00
Gwendal Roué
6043b4288e
SE-0184: backport UnsafeMutablePointer.deallocate()
2018-02-25 09:24:23 +01:00
Gwendal Roué
11ec16494d
TODO Swift 4.1
2018-02-25 09:24:23 +01:00
Gwendal Roué
b4922f60a2
SE-0185: let Swift 4.1 generate as much Equatable and Hashable conformance as possible
2018-02-25 09:24:23 +01:00
Gwendal Roué
b0e126f29d
SE-0187: deprecate Cursor.flatMap in favor of Cursor.compactMap
2018-02-25 09:24:23 +01:00
Gwendal Roué
d8c411ad52
Swift 4.1 compatibility (SE-0184 , SE-0187)
2018-02-25 09:24:23 +01:00
Gwendal Roué
4f8f0e0bf3
Fix Xcode9.3 warnings
2018-02-25 09:23:05 +01:00
Gwendal Roué
dee6bf79d1
TODO
2018-02-25 08:41:34 +01:00
Gwendal Roué
baeba0dea3
v2.9.0
2018-02-25 07:40:14 +01:00
Gwendal Roué
3dc31ad638
Typo
2018-02-25 00:00:25 +01:00
Gwendal Roué
4201e2a611
README
2018-02-24 21:24:18 +01:00
Gwendal Roué
d9f6fa7de6
CHANGELOG
2018-02-24 21:12:53 +01:00
Gwendal Roué
d0146762bc
Differences between Database Queues and Pools
2018-02-24 21:06:07 +01:00
Gwendal Roué
7e8f2e2fbc
Differences between Database Queues and Pools
2018-02-24 21:05:23 +01:00
Gwendal Roué
497f4b65ef
Differences between Database Queues and Pools
2018-02-24 21:03:08 +01:00
Gwendal Roué
03c44778ba
Differences between Database Queues and Pools
2018-02-24 20:57:27 +01:00
Gwendal Roué
0cc744ae16
Differences between Database Queues and Pools
2018-02-24 20:54:12 +01:00
Gwendal Roué
fae3862547
Typo
2018-02-24 20:08:07 +01:00
Gwendal Roué
70a222f3c9
Typo
2018-02-24 20:07:21 +01:00
Gwendal Roué
5676adca99
TODO: Decode NSDecimalNumber from text database values
...
(Idea from @robertmryan at https://github.com/ccgus/fmdb/pull/647#issuecomment-368083101 )
2018-02-24 18:18:41 +01:00
Gwendal Roué
3a77ca68c4
TODO
2018-02-24 17:58:02 +01:00
Gwendal Roué
248437d1d6
DatabaseSnapshot documentation
2018-02-24 17:55:34 +01:00
Gwendal Roué
afcde4609e
CHANGELOG
2018-02-24 17:49:39 +01:00
Gwendal Roué
2e98974373
Cursor doc
2018-02-24 17:46:01 +01:00
Gwendal Roué
086a33fd62
Cursor doc
2018-02-24 17:44:33 +01:00
Gwendal Roué
33359dd435
Markdown typo
2018-02-24 17:42:52 +01:00
Gwendal Roué
574d71b50c
Cursor level
2018-02-24 17:41:29 +01:00
Gwendal Roué
c806b706d4
Focus on Cursor specificities
2018-02-24 17:40:16 +01:00
Gwendal Roué
c3b8c0f7e9
Explain why cursors are not sequences (addresses #303 )
2018-02-24 17:37:00 +01:00
Gwendal Roué
a1cd622892
Focus on Cursor specificities
2018-02-24 17:30:31 +01:00
Gwendal Roué
dea3ee0b84
Focus on Cursor specificities
2018-02-24 17:29:29 +01:00
Gwendal Roué
5c64348ea8
Focus on Cursor specificities
2018-02-24 17:25:13 +01:00
Gwendal Roué
262ac2c476
Intra-doc links
2018-02-24 17:17:34 +01:00
Gwendal Roué
dbfbe30749
DatabaseSnapshot RAII
2018-02-24 17:15:53 +01:00
Gwendal Roué
70437bd4cb
Documentation typos
2018-02-24 17:14:30 +01:00
Gwendal Roué
2d30b5ea1c
Documentation typos
2018-02-24 17:13:27 +01:00
Gwendal Roué
5414111bed
Update changes tracking documentation, and changelog
2018-02-24 17:06:35 +01:00
Gwendal Roué
9168bac16e
Deprecate RecordBox. Introduce changes API on MutablePersistable. Rename Record changes tracking methods.
2018-02-24 16:19:21 +01:00
Gwendal Roué
8760d36f6c
Snapshot documentation
2018-02-24 07:59:44 +01:00
Gwendal Roué
141b870bc0
Typo
2018-02-24 07:55:15 +01:00
Gwendal Roué
5e4406e78c
Improves documentation (addresses #306 )
2018-02-24 07:54:42 +01:00
Gwendal Roué
c5426bfcf7
CHANGELOG
2018-02-24 07:44:35 +01:00
Gwendal Roué
76561a567f
Introduce DatabaseSnapshot
2018-02-24 07:37:26 +01:00
Gwendal Roué
8288f0c751
Add a real-life test for allowsUnsafeTransactions
2018-02-23 19:11:38 +01:00
Gwendal Roué
7dc008db8b
Expose Database.beginTransaction(), commit(), rollback(). New Configuration.allowsUnsafeTransactions flag. New fatal error when a database access block ends with a transaction left opened.
2018-02-23 14:14:05 +01:00
Gwendal Roué
86bb4a27a4
CHANGELOG
2018-02-23 13:23:44 +01:00
Gwendal Roué
f2d9f50930
CHANGELOG
2018-02-23 13:10:40 +01:00
Gwendal Roué
b9af7e6a25
Update ColumnInfo.primaryKeyIndex documentation
2018-02-23 12:55:27 +01:00
Gwendal Roué
00825748ff
Fix ColumnInfo test (it is different with SQLite < 3.7.16)
2018-02-23 12:53:41 +01:00
Gwendal Roué
fe0edde4a9
TODO
2018-02-23 12:41:19 +01:00
Gwendal Roué
edfea91920
TODO
2018-02-23 09:03:58 +01:00
Gwendal Roué
319e6bcdc8
Typo
2018-02-23 08:55:40 +01:00
Gwendal Roué
274f73e040
Cleanup
2018-02-23 08:55:03 +01:00
Gwendal Roué
fab37838b2
Cleanup
2018-02-23 08:49:50 +01:00
Gwendal Roué
a5a3610bf6
Cleanup
2018-02-23 08:49:27 +01:00
Gwendal Roué
07e600163c
Splitting rows: documentation WIP
2018-02-23 08:35:32 +01:00
Gwendal Roué
14a5dc5489
Cleanup
2018-02-23 08:34:34 +01:00
Gwendal Roué
46c2b94425
Cleanup
2018-02-23 08:32:50 +01:00
Gwendal Roué
9a1dc7f292
Cleanup
2018-02-23 08:32:17 +01:00
Gwendal Roué
c68fc37959
Cleanup
2018-02-23 08:17:15 +01:00
Gwendal Roué
aa1f555e05
Drop init(leftJoinedRow:), and expose Row subscripts that return records
2018-02-23 08:08:00 +01:00
Gwendal Roué
699e64c610
Splitting rows: documentation WIP
2018-02-22 23:31:58 +01:00
Gwendal Roué
e8c1392314
TODO
2018-02-22 23:30:48 +01:00
Gwendal Roué
c1ae47d188
Splitting rows: documentation WIP
2018-02-22 23:26:37 +01:00
Gwendal Roué
13a9f1113a
Splitting rows: documentation WIP
2018-02-22 23:07:19 +01:00
Gwendal Roué
c4ad86863f
Splitting rows: documentation WIP
2018-02-22 23:03:39 +01:00
Gwendal Roué
8300a618f8
Splitting rows: documentation WIP
2018-02-22 22:58:56 +01:00
Gwendal Roué
52f0038262
Splitting rows: documentation WIP
2018-02-22 22:58:05 +01:00
Gwendal Roué
31710ce91c
Splitting rows: documentation WIP
2018-02-22 22:55:24 +01:00
Gwendal Roué
a9c75652e1
Splitting rows: documentation WIP
2018-02-22 22:54:21 +01:00
Gwendal Roué
3e13e5be57
Splitting rows: documentation WIP
2018-02-22 22:48:52 +01:00
Gwendal Roué
c27979a210
Splitting rows: documentation WIP
2018-02-22 22:37:42 +01:00
Gwendal Roué
37d7c84bc3
Splitting rows: documentation WIP
2018-02-22 22:30:13 +01:00
Gwendal Roué
62f5c8fc2f
Splitting rows: documentation WIP
2018-02-22 22:18:12 +01:00
Gwendal Roué
289c449dff
Splitting rows: documentation WIP
2018-02-22 22:13:29 +01:00
Gwendal Roué
e7b7b603d2
Splitting rows: documentation WIP
2018-02-22 22:08:23 +01:00
Gwendal Roué
e7e342600b
Splitting rows: documentation WIP
2018-02-22 21:03:17 +01:00
Gwendal Roué
db6e3b8371
Splitting rows: documentation WIP
2018-02-22 20:33:46 +01:00
Gwendal Roué
79ed15c38c
Deprecate Database.columnCount(in:) in favor of Database.columns(in:). Update doc and changelog
2018-02-22 14:00:19 +01:00
Gwendal Roué
6f175dcafb
Add ColumnInfoTests to GRDBCustom/GRDBCipher tests
2018-02-22 13:52:52 +01:00
Gwendal Roué
ca70a10bd4
TODO
2018-02-22 13:37:49 +01:00
Gwendal Roué
ae3319e9f9
Make ColumnInfo public (asked by @freak4pc)
2018-02-22 13:20:41 +01:00
Gwendal Roué
5112cb24f5
Expose EmptyRowAdapter, and ScopeAdapter(base:scopes:)
2018-02-22 12:38:03 +01:00
Gwendal Roué
c6bbccc02e
Have AdaptedRow go straight to SQLite when possible (avoid DatabaseValue initializer)
2018-02-22 12:23:19 +01:00
Gwendal Roué
93ec4d2515
Remove Row.hasNull(named:String) and Row.hasNull(Column)
2018-02-22 12:00:06 +01:00
Gwendal Roué
955dc6094b
TODO
2018-02-22 09:24:30 +01:00
Gwendal Roué
bd694cbc53
Cleanup
2018-02-22 08:50:35 +01:00
Gwendal Roué
c115a035ec
Row.hasNull(atIndex:) goes straight to sqlite3_column_type() when possible
2018-02-22 08:39:14 +01:00
Gwendal Roué
288144f347
splittingRowAdapters(columnCounts:), ScopeAdapter(nestedScopes:), RowConvertible?(leftJoinedRow:), TableMapping.numberOfSelectedColumns(_:), support for nested codable records
2018-02-21 23:15:13 +01:00
Gwendal Roué
3bdfdaa40a
TableMapping.selectionSQL(_:)
2018-02-21 13:51:37 +01:00
Gwendal Roué
22949813af
Row.hasNull(atIndex:), Row.hasNull(named:), Row.hasNull(_:), Row.hasNonNullValue
2018-02-20 14:43:06 +01:00
Gwendal Roué
5c98b01484
Update Record.updateChanges(_:) documentation
2018-02-20 13:20:50 +01:00
Gwendal Roué
ea5e1cd0db
CHANGELOG
2018-02-20 13:18:38 +01:00
Gwendal Roué
b5d9955442
Tests: setup Database.logError only once (and avoid SQLite misuse)
2018-02-20 13:16:11 +01:00
Gwendal Roué
feb5cb35b4
Record.updateChanges now returns whether the record had changes
2018-02-20 13:06:58 +01:00
Gwendal Roué
654c7083eb
TODO
2018-02-17 17:44:03 +01:00
Gwendal Roué
a0457928b3
TODO
2018-02-17 17:40:25 +01:00
Gwendal Roué
4df535a3a9
TODO
2018-02-17 17:32:15 +01:00
Gwendal Roué
0b251ec4e0
TODO
2018-01-31 19:54:37 +01:00
Gwendal Roué
7704a9ac41
v2.8.0
2018-01-29 08:12:29 +01:00
Gwendal Roué
59031893ff
Merge pull request #297 from groue/MoreCursor
...
More sequence-like cursor methods
2018-01-29 07:19:58 +01:00
Gwendal Roué
fcfa044320
Parts of Cursor implementation are derived from Swift.org
2018-01-28 18:56:40 +01:00
Gwendal Roué
f95658e7ce
Remove convenience cursor types from reference documentation
...
Those types bloat the documentation for no real value: DropFirstCursor, DropWhileCursor, EnumeratedCursor, FilterCursor, FlattenCursor, MapCursor, PrefixCursor, PrefixWhileCursor
2018-01-28 17:13:53 +01:00
Gwendal Roué
2c16fcaa99
Cursor cleanup
2018-01-28 17:13:52 +01:00
Gwendal Roué
4e638016e1
Cursor changelog
2018-01-28 17:13:52 +01:00
Gwendal Roué
5d811c0e68
Documentation for Cursor convenience methods
2018-01-28 17:13:52 +01:00
Gwendal Roué
9f1f51637a
Tests for Cursor.joined(separator:String)
2018-01-28 17:13:52 +01:00
Gwendal Roué
7c16ffcdf8
Cursor.joined(separator:String)
2018-01-28 17:13:51 +01:00
Gwendal Roué
7ca582719b
Tests for Cursor.reduce(into:_:)
2018-01-28 17:13:51 +01:00
Gwendal Roué
e4b83baa53
Cursor.reduce(into:_:)
2018-01-28 17:13:51 +01:00
Gwendal Roué
ac6b2933a8
Tests for Cursor.max(by:), max(), min(by:), min()
2018-01-28 17:13:50 +01:00
Gwendal Roué
92758fa51d
Cursor.max(by:), max(), min(by:), min()
2018-01-28 17:13:50 +01:00
Gwendal Roué
acd06a4f5a
Tests for Cursor.dropLast()
2018-01-28 17:13:50 +01:00
Gwendal Roué
eec6b17398
Cursor.dropLast()
2018-01-28 17:13:50 +01:00
Gwendal Roué
15fbf02647
Tests for Cursor.dropFirst()
2018-01-28 17:13:49 +01:00
Gwendal Roué
c296be5057
Cursor.dropFirst()
2018-01-28 17:13:49 +01:00
Gwendal Roué
129e178ee0
Tests for Cursor.dropFirst(_:)
2018-01-28 17:13:49 +01:00
Gwendal Roué
1e5caa62a8
Tests for Cursor.prefix(while:)
2018-01-28 17:13:49 +01:00
Gwendal Roué
420ed0764b
Tests for Cursor.drop(while:)
2018-01-28 17:13:49 +01:00
Gwendal Roué
ce6bbb2885
Tests for Cursor.prefix(_:)
2018-01-28 17:13:48 +01:00
Gwendal Roué
87d6c5dd29
Cursor.prefix(_:)
2018-01-28 17:13:48 +01:00
Gwendal Roué
dccd456497
Tests for Cursor.dropLast(_:)
2018-01-28 17:13:48 +01:00
Gwendal Roué
520bdd64e6
Tests for Cursor.dropFirst(_:)
2018-01-28 17:13:47 +01:00
Gwendal Roué
72608fd016
Cursor.dropLast(_:)
2018-01-28 17:13:47 +01:00
Gwendal Roué
69b51ffbd5
Tests for Cursor.dropFirst(_:)
2018-01-28 17:13:47 +01:00
Gwendal Roué
c9044ea07b
Cursor.dropFirst(_:)
2018-01-28 17:13:47 +01:00
Gwendal Roué
362c40326f
Tests for Cursor.suffix(_:)
2018-01-28 17:13:47 +01:00
Gwendal Roué
28d0793688
Cursor.suffix(_:)
2018-01-28 17:13:46 +01:00
Gwendal Roué
abdc2000c4
Tests for Cursor.prefix(while:)
2018-01-28 17:13:46 +01:00
Gwendal Roué
3d845b1e9f
Cursor.prefix(while:)
2018-01-28 17:13:46 +01:00
Gwendal Roué
bae8c97df4
Tests for Cursor.drop(while:)
2018-01-28 17:13:46 +01:00
Gwendal Roué
452c1d4b92
Cursor.drop(while:)
2018-01-28 17:13:46 +01:00
Gwendal Roué
9990e6e2a6
Less TODO
2018-01-28 17:13:16 +01:00
Gwendal Roué
8d0dc3eb78
Merge pull request #293 from groue/SQLite3.22.0
...
Upgrade SQLite version to 3.22.0
2018-01-27 09:33:54 +01:00
Gwendal Roué
0a2a3c75c1
Fix typo
2018-01-26 08:47:27 +01:00
Gwendal Roué
830e6acb4f
Documentation and changelog
2018-01-26 08:44:18 +01:00
Gwendal Roué
1da85dff58
FTS5Pattern(matchingPrefixPhrase:)
2018-01-26 08:38:11 +01:00
Gwendal Roué
dd40e3be5b
Upgrade custom SQLite version in documentation
2018-01-26 08:00:50 +01:00
Gwendal Roué
224d6488a9
Upgrade swiftlyfalling/SQLiteLib to v3.22.0
2018-01-26 07:54:08 +01:00
Gwendal Roué
cac31d3294
TODO: apply @hartbit's suggestion
2018-01-24 18:56:53 +01:00
Gwendal Roué
951d5fa58d
TODO SQLite 3.22.0
2018-01-23 08:10:26 +01:00
Gwendal Roué
7a4f0778df
Remove references to discarded GRDB Extension Guide
2018-01-21 17:31:45 +01:00
Gwendal Roué
5aff4d29fc
CHANGELOG
2018-01-21 17:29:27 +01:00
Gwendal Roué
402b7001ee
v2.7.0
2018-01-21 17:07:39 +01:00
Gwendal Roué
f7d0979fb1
Remove ExtendingGRDB guide
2018-01-21 17:05:38 +01:00
Gwendal Roué
2289ed9d95
Cleanup Jazzy documentation from most redundant definitions and experimental APIs
2018-01-21 16:57:43 +01:00
Gwendal Roué
dfcb44016f
Enhance CHANGELOG
2018-01-21 15:19:55 +01:00
Gwendal Roué
37a434a615
Merge pull request #289 from groue/RecordBox
...
Bring changes tracking to any record type
2018-01-21 13:16:35 +01:00
Gwendal Roué
0ddcf1e401
RecordBox documentation
2018-01-21 13:14:14 +01:00
Gwendal Roué
0aa673f24e
RecordBox consequence: more TODO
2018-01-21 12:05:41 +01:00
Gwendal Roué
b3a24daa2f
Documentation tweaks
2018-01-21 07:49:13 +01:00
Gwendal Roué
8c6954cd75
RecordBox documentation
2018-01-21 07:35:52 +01:00
Gwendal Roué
283f08de07
RecordBox changelog
2018-01-20 20:26:37 +01:00
Gwendal Roué
d96543ddeb
RecordBox documentation
2018-01-20 20:26:37 +01:00
Gwendal Roué
4b320f3cb5
RecordBox documentation
2018-01-20 20:26:37 +01:00
Gwendal Roué
69a6d3e3f3
RecordBox documentation
2018-01-20 20:26:36 +01:00
Gwendal Roué
93d4587732
RecordBox
2018-01-20 20:26:36 +01:00
Gwendal Roué
7481b9788a
Run truncate optimization tests with and without transaction observer
...
This topic is sooo touchy...
2018-01-20 20:26:10 +01:00
Gwendal Roué
acf3e0b397
TODO
2018-01-20 19:54:19 +01:00
Gwendal Roué
88ae0fa059
TODO
2018-01-20 17:59:54 +01:00
Gwendal Roué
a1e63d9028
Fix management of current transaction observation broker (and discover a new SQLite oddity)
2018-01-20 16:11:05 +01:00
Gwendal Roué
2a1ad8d31c
TODO
2018-01-20 09:09:32 +01:00
Gwendal Roué
ba7cd2160f
TODO
2018-01-20 06:09:44 +01:00
Gwendal Roué
8e50383371
v2.6.1
2018-01-19 16:24:09 +01:00
Gwendal Roué
ffc5352840
Fix transaction observer crash
2018-01-19 16:17:38 +01:00
Gwendal Roué
53e849cbec
v2.6.0
2018-01-18 13:05:07 +01:00
Gwendal Roué
b71d57d7ec
Merge pull request #288 from groue/TransactionObserverInvalidation
...
Enhance Database Observation
2018-01-18 13:04:41 +01:00
Gwendal Roué
4fe2b2542f
Cleanup
2018-01-18 12:54:02 +01:00
Gwendal Roué
8c7895d8ab
Have Makefile accept both Xcode9.0 and Xcode9.0.1
2018-01-18 12:47:29 +01:00
Gwendal Roué
ad15f4dc59
Fix .travis.yml for Xcode9
2018-01-17 13:51:19 +01:00
Gwendal Roué
c4ef161a83
Rename Statement.region and Request.region to fetchedRegion
2018-01-17 06:54:10 +01:00
Gwendal Roué
bb48025947
Derived requests ought to preserve database region: fix failing tests
2018-01-16 20:39:19 +01:00
Gwendal Roué
389a7f28c4
Derived requests ought to preserve database region: failing tests
2018-01-16 20:39:13 +01:00
Gwendal Roué
714cc1c734
DatabaseRegion() is public
2018-01-16 19:57:30 +01:00
Gwendal Roué
8d0da7f870
DatabaseRegion documentation
2018-01-16 18:47:59 +01:00
Gwendal Roué
e42e74103d
DatabaseRegion documentation
2018-01-16 18:46:55 +01:00
Gwendal Roué
4bcdb91895
AnyRequest and all derived requests preserve database region, and counting method
2018-01-16 14:11:05 +01:00
Gwendal Roué
938977bbca
Cleanup DatabaseRegion: no more public intersection, no more public way to specify rowids
2018-01-16 13:58:55 +01:00
Gwendal Roué
581c1c46e2
More TODO
2018-01-16 11:28:48 +01:00
Gwendal Roué
768b2ab620
More TODO
2018-01-16 09:30:12 +01:00
Gwendal Roué
4eff5ab357
More TODO
2018-01-16 09:06:53 +01:00
Gwendal Roué
888892b92f
Cleanup
2018-01-16 09:04:06 +01:00
Gwendal Roué
ba4f146c9c
Cleanup
2018-01-16 08:55:48 +01:00
Gwendal Roué
8359dd2ae2
Cleanup
2018-01-16 08:54:12 +01:00
Gwendal Roué
0be80db8f9
Cleanup
2018-01-16 08:51:42 +01:00
Gwendal Roué
72de142519
Cleanup
2018-01-16 08:50:49 +01:00
Gwendal Roué
0a7468f56d
Cleanup
2018-01-16 08:34:54 +01:00
Gwendal Roué
33b5c6c616
Rename DatabaseSelectionInfo to DatabaseRegion
2018-01-16 08:23:08 +01:00
Gwendal Roué
4003d7600d
DatabaseSelectionInfo documentation WIP
2018-01-15 23:41:49 +01:00
Gwendal Roué
a7122ba8bb
Unit tests for DatabaseSelectionInfo.isModified methods
2018-01-15 23:09:52 +01:00
Gwendal Roué
dc8c85d3db
Odd failing tests for DatabaseSelectionInfo and the rowid column. Consequences not cleared out yet.
2018-01-15 22:44:09 +01:00
Gwendal Roué
fc1b4a6f35
Complete refactoring of SelectStatement.SelectionInfo into DatabaseSelectionInfo
2018-01-15 22:28:43 +01:00
Gwendal Roué
af42623654
Fix SPM tests
2018-01-15 07:22:01 +01:00
Gwendal Roué
ab1a672336
Disable test that fails on iOS 8.1 (SQLite 3.7.13)
2018-01-14 23:31:19 +01:00
Gwendal Roué
4501d7dcde
TransactionObserver: provide default implementation for rarely used and stabilized databaseWillChange() and databaseWillCommit() methods
2018-01-14 22:58:12 +01:00
Gwendal Roué
5d463d6bff
Goal achieved! FetchedRecordsController uses ignoreDatabaseChangesUntilNextTransaction, and checks changed rowIds in order to avoid useless fetch requests
2018-01-14 22:41:27 +01:00
Gwendal Roué
9c8a9fbe32
SelectionInfo.rowIds contains the rowIds fetched by a request
2018-01-14 22:05:18 +01:00
Gwendal Roué
1a89b2eae5
Test that sqlite authorizer uses "ROWID" as the name of the rowid column
2018-01-14 20:15:55 +01:00
Gwendal Roué
fd65e72bbb
CHANGELOG
2018-01-14 19:41:05 +01:00
Gwendal Roué
33e8d0875d
Remove update hook when no observer is active. Allow truncate optimization when deletions are not observed.
2018-01-14 19:34:11 +01:00
Gwendal Roué
19e75576a8
Documentation for TransactionObserver.ignoreDatabaseChangesUntilNextTransaction()
2018-01-14 17:36:51 +01:00
Gwendal Roué
980860b2e9
Documentation for TransactionObserver.ignoreDatabaseChangesUntilNextTransaction()
2018-01-14 17:35:17 +01:00
Gwendal Roué
eee3e36238
Test TransactionObserver.ignoreDatabaseChangesUntilNextTransaction()
2018-01-14 17:08:53 +01:00
Gwendal Roué
eaadd37e87
TransactionObserver.ignoreDatabaseChangesUntilNextTransaction() is public
2018-01-14 17:08:42 +01:00
Gwendal Roué
a1e508b1df
TransactionObserver.ignoreDatabaseChangesUntilNextTransaction()
2018-01-14 16:45:36 +01:00
Gwendal Roué
2c8f9dffdd
TODO GRDB3
2018-01-12 10:06:26 +01:00
Gwendal Roué
92fd3bf8ae
TODO: TransactionObserver.stopObservingUntilNextTransaction()
2018-01-12 09:48:57 +01:00
Gwendal Roué
c940675bf3
Fix typo
2018-01-12 09:12:35 +01:00
Gwendal Roué
2a147d5029
Travis: test Xcode 9.2 and Xcode 9.0
2018-01-12 08:19:02 +01:00
Gwendal Roué
0d236ae32c
Row adopts RandomAccessCollection
2018-01-12 08:18:50 +01:00
Gwendal Roué
cf4654108e
More doc for filter(key:) and filter(keys:)
2018-01-12 07:19:26 +01:00
Gwendal Roué
7e9eed9374
v2.5.0
2018-01-11 21:16:54 +01:00
Gwendal Roué
383581938a
Cleanup
2018-01-11 20:14:01 +01:00
Gwendal Roué
df50da9024
Cleanup
2018-01-11 20:12:02 +01:00
Gwendal Roué
d3a65303a1
Cleanup
2018-01-11 20:06:59 +01:00
Gwendal Roué
9a2bf923d2
Update CHANGELOG and README for new key-filtering requests
2018-01-11 20:04:49 +01:00
Gwendal Roué
9b27c0c651
WIP TableMapping.filter(key: [:]) and TableMapping.filter(keys: [[:], ])
2018-01-11 19:34:28 +01:00
Gwendal Roué
2af85e7347
WIP TableMapping.filter(key:1) and TableMapping.filter(keys: [1, 2, 3])
2018-01-11 18:09:01 +01:00
Gwendal Roué
071f0f4443
Cleanup
2018-01-10 08:50:45 +01:00
Gwendal Roué
903e8c96aa
'^foo' is no longer an invalid FTS5 pattern in upcoming SQLite 3.22.0
2018-01-10 07:40:02 +01:00
Gwendal Roué
79a5fb9c15
Cleanup
2018-01-08 08:44:42 +01:00
Gwendal Roué
46ef4b27bb
Fix failing test
2018-01-07 15:29:24 +01:00
Gwendal Roué
1838797d38
CHANGELOG
2018-01-07 14:25:36 +01:00
Gwendal Roué
c7d500b8ba
Optimize database event notifications for simple statements without side effect
2018-01-07 14:25:29 +01:00
Gwendal Roué
95a09cb644
Only notify observed events to transaction observers
2018-01-07 13:33:35 +01:00
Gwendal Roué
c6ab92e60a
v2.4.2
2018-01-06 14:35:05 +01:00
Gwendal Roué
c0d5f3019b
generatePerformanceReport reads versions of tested libraries from info.plist files
2018-01-06 13:37:30 +01:00
Gwendal Roué
b09d5c3833
Fix FMDB performance tests
2018-01-06 12:47:01 +01:00
Gwendal Roué
3eff1b48b1
Update copyright year
2018-01-06 12:33:32 +01:00
Gwendal Roué
a12fffc4e7
Update documentation about readFromCurrentState
2018-01-06 10:04:41 +01:00
Gwendal Roué
94715130fc
DatabaseWriter.readFromCurrentState(_:) now fails with a fatal error if a transaction is currently opened
2018-01-06 09:19:26 +01:00
Gwendal Roué
313188ca0e
More TODO
2018-01-05 19:40:55 +01:00
Gwendal Roué
5a68b008c6
CHANGELOG
2018-01-02 13:34:23 +01:00
Gwendal Roué
6fe9098c76
Statement compilation cleanup
2018-01-02 13:10:11 +01:00
Gwendal Roué
631a914acd
Fix failing test for schema cache shared between DatabasePool reader and writer (stop sharing cache)
2018-01-02 13:08:41 +01:00
Gwendal Roué
d1f24c9722
More TODO
2017-12-28 17:48:15 +01:00
Gwendal Roué
7b76c9319a
Failing test for schema cache shared between DatabasePool reader and writer
2017-12-28 14:16:36 +01:00
Gwendal Roué
63083c5d1e
Less TODO
2017-12-28 13:56:54 +01:00
Gwendal Roué
c51a3cd624
Statement compilation cleanup
2017-12-17 13:57:35 +01:00
Gwendal Roué
1fadb7485a
Less TODO
2017-12-17 13:14:15 +01:00
Gwendal Roué
58e05d13d1
v2.4.1
2017-12-16 15:09:59 +01:00
Gwendal Roué
d8c9692d4d
Fix typo
2017-12-16 14:40:58 +01:00
Gwendal Roué
f83ffd3a25
Remove unused file
2017-12-16 14:35:09 +01:00
Gwendal Roué
d12ff2a92b
Scripts that generate performance comparison report
2017-12-16 14:35:02 +01:00
Gwendal Roué
8709d6f9a9
FMDB 2.7.4
2017-12-16 14:25:24 +01:00
Gwendal Roué
e2806c55ff
Upgrade Makefile test_performance target for Xcode 9.2 and Swift 4.0.3
2017-12-16 13:44:19 +01:00
Gwendal Roué
08d6c843d6
Upgrade performance comparison tests for Xcode 9.2 and Swift 4.0.3
2017-12-16 13:42:53 +01:00
Gwendal Roué
0da3726a89
Realm 3.0.2
2017-12-16 13:36:13 +01:00
Gwendal Roué
36676bcad3
SQLite.swift 0.11.4
2017-12-16 13:33:36 +01:00
Gwendal Roué
1509e1e9a8
Clean up projects & workspace
2017-12-16 13:29:05 +01:00
Gwendal Roué
4c71dd9ebe
Remove compiler warning
2017-12-16 13:14:07 +01:00
Gwendal Roué
ef8d0d6334
TODO.md
2017-12-15 18:49:36 +01:00
Gwendal Roué
7477b7a173
CHANGELOG.md
2017-12-13 08:24:14 +01:00
Gwendal Roué
246f36821b
Merge pull request #284 from groue/Issue283
...
Don't call sqlite3_config() unless explicitly required to do so
2017-12-13 08:10:57 +01:00
Gwendal Roué
d567ee60bf
Remove compiler warning
2017-12-08 10:51:31 +01:00
Gwendal Roué
3a157d2808
Test for global SQLite error log requires global variables
2017-12-08 10:51:20 +01:00
Gwendal Roué
7d0c2f9ef8
Fix tests for Database.logError
2017-12-08 10:03:27 +01:00
Gwendal Roué
f356f8734a
Update Database.logError documentation, and make it clear that it has to be called very very early.
2017-12-07 13:35:19 +01:00
Gwendal Roué
5b7f4a7ff5
Call sqlite3_config(SQLITE_CONFIG_LOG, ...) if and only if Database.logError is set.
2017-12-07 13:14:49 +01:00
Gwendal Roué
e10efca17a
Fix typo
2017-12-03 16:27:59 +01:00
Gwendal Roué
578b9a5275
v2.4.0
2017-12-03 16:04:07 +01:00
Gwendal Roué
63304b3d12
Merge pull request #281 from groue/DropSynchronizationTriggers
...
Drop full-text synchronization triggers
2017-12-03 15:57:08 +01:00
Gwendal Roué
39f6ca0035
Merge branch 'master' into DropSynchronizationTriggers
2017-12-03 15:56:23 +01:00
Gwendal Roué
5e3c62c963
Merge pull request #282 from groue/preventXcodeWarningsForMissingFiles
...
Prevent Xcode warnings for missing files
2017-12-03 15:55:14 +01:00
Gwendal Roué
6966600223
Fix scheme references to projects
2017-12-03 14:41:16 +01:00
Gwendal Roué
e028cbb6d5
Declare new GRDBCipher.xcodeproj and GRDBCustom.xcodeproj in CHANGELOG.md
2017-12-03 14:37:21 +01:00
Gwendal Roué
8b3c3f48a8
Update documention for embedding GRDBCipher & GRDBCustom
2017-12-03 14:23:49 +01:00
Gwendal Roué
2d84e72097
Restore GRDBOSXPerformanceComparisonTests
2017-12-03 14:20:08 +01:00
Gwendal Roué
d91fe7b633
Extract GRDBCipher.xcodeproj and GRDBCustom.xcodeproj from GRDB.xcodeproj
2017-12-03 14:07:05 +01:00
Gwendal Roué
090df10831
Revert attempt at preventing Xcode warnings with Run Script phases
2017-12-03 12:52:37 +01:00
Gwendal Roué
f21037bb69
Run make preventXcodeWarningsForMissingFiles as a Run Script Phase in all targets except custom SQLite
2017-12-01 13:47:06 +01:00
Gwendal Roué
f3041bcc9a
Run make preventXcodeWarningsForMissingFiles as a Run Script Phase in the GRDBiOS target
2017-12-01 13:41:47 +01:00
Gwendal Roué
67b1225dfa
make preventXcodeWarningsForMissingFiles
2017-12-01 13:37:02 +01:00
Gwendal Roué
23f2e0371e
Fix documentation typo
2017-12-01 13:24:04 +01:00
Gwendal Roué
a3d8df222f
Fix documentation typo
2017-12-01 13:20:17 +01:00
Gwendal Roué
632ef3707c
CHANGELOG.md
2017-12-01 13:17:58 +01:00
Gwendal Roué
79dc099e6d
Documentation for Database.dropFTS4SynchronizationTriggers & Database.dropFTS5SynchronizationTriggers
2017-12-01 13:17:54 +01:00
Gwendal Roué
75035fb40c
Documentation for Database.dropFTS4SynchronizationTriggers & Database.dropFTS5SynchronizationTriggers
2017-12-01 13:14:30 +01:00
Gwendal Roué
b4887b661c
Tests for Database.dropFTS4SynchronizationTriggers & Database.dropFTS5SynchronizationTriggers
2017-12-01 13:14:24 +01:00
Gwendal Roué
e8835af363
Database.dropFTS4SynchronizationTriggers & Database.dropFTS5SynchronizationTriggers
2017-12-01 13:14:13 +01:00
Gwendal Roué
1fabe08332
Trust SQLite: don't assert anything about the remaining characters after a statement
2017-11-30 08:53:10 +01:00
Gwendal Roué
c2e3638e8d
More failing tests for Database.execute()
2017-11-30 08:50:42 +01:00
Gwendal Roué
71abced420
CHANGELOG.md
2017-11-30 08:09:15 +01:00
Gwendal Roué
ac00046b07
CHANGELOG.md
2017-11-29 20:29:33 +01:00
Gwendal Roué
38b5204713
Merge pull request #280 from groue/AddUntypedColumn
...
Table alteration: add untyped column
2017-11-29 20:21:13 +01:00
Gwendal Roué
4b173dece5
Test for t.add(column:) without any explicit column type
2017-11-29 20:17:26 +01:00
Gwendal Roué
8ce2c09b52
TableAlteration.add(column:type:) accepts nil type
2017-11-29 20:11:28 +01:00
Gwendal Roué
8125574f8f
Fix typo in ISSUE_TEMPLATE.md
2017-11-22 08:56:48 +01:00
Gwendal Roué
8974360cac
ISSUE_TEMPLATE.md
2017-11-22 08:24:21 +01:00
Gwendal Roué
6e48cc1524
Reminder: enable sanitizers when running tests
2017-11-11 06:43:59 +01:00
Gwendal Roué
a1ea75ca34
TODO.md
2017-11-10 12:58:04 +01:00
Gwendal Roué
81d2f21093
Cleanup
2017-11-10 08:45:05 +01:00
Gwendal Roué
fd73a31abc
Fix failing tests and faulty assert
2017-11-09 14:29:59 +01:00
Gwendal Roué
1583ac0c08
Add failing test for Database.execute()
2017-11-09 14:29:35 +01:00
Gwendal Roué
cafbecd8af
v2.3.1
2017-11-08 07:50:58 +01:00
Gwendal Roué
78c36612b7
Enhance documentation of Codable Records
2017-11-07 19:29:51 +01:00
Gwendal Roué
a95385c740
Simplify TransactionObserverTests with Codable
2017-11-07 19:22:54 +01:00
Gwendal Roué
a58ebf7c48
CHANGELOG.md
2017-11-07 17:47:24 +01:00
Gwendal Roué
13623575ff
Fix encryption tests broken by 681460a415
2017-11-07 17:21:32 +01:00
Gwendal Roué
87c5f913b8
CHANGELOG.md
2017-11-07 14:56:51 +01:00
Gwendal Roué
41172d7967
Documentation: no more exception for empty deferred transactions
2017-11-07 14:42:58 +01:00
Gwendal Roué
820bc87cfe
No more exception for empty deferred transactions
2017-11-07 14:42:02 +01:00
Gwendal Roué
2901acfb41
Refactor tests of observation of transaction completion. Make them fail for empty deferred transactions.
2017-11-07 13:55:17 +01:00
Gwendal Roué
681460a415
Tests: generate a unique database by default
2017-11-07 13:54:19 +01:00
Gwendal Roué
19b067405f
v2.3.0
2017-11-05 13:56:10 +01:00
Gwendal Roué
3b494b5737
Update SQLite to 3.21.0
2017-11-05 11:21:46 +01:00
Gwendal Roué
5f11a19296
Travis: use Xcode 9.1
2017-11-01 13:19:12 +01:00
Gwendal Roué
3ff7675eb7
Makefile: add support for Xcode 9.1 and Xcode 9.2 beta 1
2017-11-01 13:13:05 +01:00
Gwendal Roué
3d06841eba
Remove Xcode9.1 warnings about deprecated string.characters
2017-11-01 07:33:03 +01:00
Gwendal Roué
188c026c6b
v2.2.0
2017-10-31 14:07:23 +01:00
Gwendal Roué
caf051f19d
Improve jazzy documentation layout
2017-10-31 13:37:48 +01:00
Gwendal Roué
c4a3d934a9
Documentation
2017-10-31 13:06:37 +01:00
Gwendal Roué
b19424aa23
CHANGELOG.md
2017-10-31 12:51:45 +01:00
Gwendal Roué
bc229fa6fd
Documentation
2017-10-31 08:48:05 +01:00
Gwendal Roué
9beb5b553b
Document that empty deferred transactions are not notified
2017-10-31 08:46:33 +01:00
Gwendal Roué
667e6a8e06
Document that empty deferred transactions are not notified
2017-10-31 08:45:52 +01:00
Gwendal Roué
8f9b667c29
Document that empty deferred transactions are not notified
2017-10-31 08:45:06 +01:00
Gwendal Roué
a8e0c76a30
CHANGELOG.md
2017-10-31 08:33:38 +01:00
Gwendal Roué
49609ff08e
Fix failing tests for observation of empty deferred transactions
2017-10-31 08:17:48 +01:00
Gwendal Roué
efe201e032
More tests for observation of empty deferred transactions
2017-10-31 08:17:30 +01:00
Gwendal Roué
28c903f7ea
Failing tests for observation of empty deferred transactions
2017-10-31 08:11:12 +01:00
Gwendal Roué
a5b45031d2
Failing tests for observation of empty deferred transactions
2017-10-31 07:31:15 +01:00
Gwendal Roué
42e178b41d
Improve tests robustness
2017-10-30 18:21:02 +01:00
Gwendal Roué
c3fe2c13f4
More tests for "DROP INDEX" and "DROP TRIGGER" ( #267 )
2017-10-30 18:15:54 +01:00
Gwendal Roué
af8a6872d9
StatementCompilationAuthorizer never returns SQLITE_IGNORE for a "DROP XXX" statement ( #267 )
2017-10-30 18:12:57 +01:00
Gwendal Roué
f40a5e68ea
Database.triggerExists(_:)
2017-10-30 18:10:22 +01:00
Gwendal Roué
c4ad98426c
Pass failing tests for "DROP VIEW" statements ( #267 )
2017-10-30 17:57:57 +01:00
Gwendal Roué
a0e3d4ad69
Failing tests for "DROP VIEW" statements ( #267 )
2017-10-30 17:39:35 +01:00
Gwendal Roué
d64bfe1cec
Database.viewExists(_:)
2017-10-30 17:38:52 +01:00
Gwendal Roué
8a213af2ab
Cleanup & whitespace
2017-10-30 12:25:12 +01:00
Gwendal Roué
f02659e5d7
Remove outdated documentation
2017-10-29 17:05:14 +01:00
Gwendal Roué
bdf943c3d9
Fix SPM compilation error
2017-10-29 15:45:35 +01:00
Gwendal Roué
9f1d5bc631
Fix SPM compilation error
2017-10-29 15:28:45 +01:00
Gwendal Roué
f2b46679a6
Fix SPM compilation error
2017-10-29 14:35:10 +01:00
Gwendal Roué
c5f38af247
Simplify select statement validation
2017-10-29 14:34:53 +01:00
Gwendal Roué
2bfef4f02d
Rename DatabaseObservation.swift to TransactionObserver.swift
2017-10-29 14:24:41 +01:00
Gwendal Roué
07ae50cbb0
Detailed documentation of DatabaseObservationBroker
2017-10-29 14:22:22 +01:00
Gwendal Roué
7f10bf4005
Cleanup
2017-10-29 13:27:38 +01:00
Gwendal Roué
9130fe7b38
Cleanup
2017-10-29 12:58:24 +01:00
Gwendal Roué
340dcd1748
Extract transaction observation in the new DatabaseObservationBroker class
2017-10-29 12:22:54 +01:00
Gwendal Roué
8919bb5810
Move transaction and savepoint methods
2017-10-29 11:24:30 +01:00
Gwendal Roué
bea98db813
Common code for select & update statements compilation
2017-10-29 11:13:30 +01:00
Gwendal Roué
05a0130c1e
More straightforward cached statements API
2017-10-29 10:56:49 +01:00
Gwendal Roué
e486437865
Split Database.swift
2017-10-29 10:43:22 +01:00
Gwendal Roué
1043516fb7
Fix sample code in CHANGELOG.md
2017-10-24 19:22:12 +02:00
Gwendal Roué
c9b8b81ffb
fix version number
2017-10-24 14:06:28 +02:00
Gwendal Roué
99b143a55c
v2.1.0
2017-10-24 08:34:10 +02:00
Gwendal Roué
8401f42f3e
Documentation
2017-10-24 08:20:33 +02:00
Gwendal Roué
f69949edea
Explain why Carthage test is commented out in .travis.yml
2017-10-24 08:18:06 +02:00
Gwendal Roué
62e33f294e
ReleaseProcess.md
2017-10-24 08:11:13 +02:00
Gwendal Roué
2a8e48ba63
Minor
2017-10-24 08:11:05 +02:00
Gwendal Roué
6372bf663f
Update Carthage information
2017-10-23 20:27:46 +02:00
Gwendal Roué
ac7cc09bfe
CHANGELOG.md
2017-10-23 19:54:38 +02:00
Gwendal Roué
c9f0d473cf
New FAQ: How do I print a request as SQL?
2017-10-23 19:54:30 +02:00
Gwendal Roué
8a7ffdbb67
CHANGELOG.md
2017-10-23 19:21:38 +02:00
Gwendal Roué
d30baaf16c
Fix default cached argument value for Request.asSQLRequest(_:cached:)
2017-10-23 19:21:30 +02:00
Gwendal Roué
1981adeb22
Request.asSQLRequest(_:cached:)
2017-10-23 19:20:38 +02:00
Gwendal Roué
8427b8b668
Remove test_CarthageBuild from the test make target
2017-10-23 19:02:09 +02:00
Gwendal Roué
6db590a31b
Remove Carthage test from .travis.yml
2017-10-23 19:01:07 +02:00
Gwendal Roué
22faa03a48
Update sample code that create databases
...
The Application Support directory should generally be preferred.
2017-10-23 18:58:32 +02:00
Gwendal Roué
d3cd0ae85a
TODO.md
2017-10-23 09:42:40 +02:00
Gwendal Roué
b624955bf3
Merge branch 'master' of github.com:groue/GRDB.swift into development
2017-10-15 12:19:35 +02:00
Gwendal Roué
1b20cd14d1
Fix link to SQLite documentation for the "pre-update hook"
2017-10-14 17:54:38 +02:00
Gwendal Roué
baf2f780c9
Document that FetchedRecordsController is not suited for large data sets ( #263 )
2017-10-13 13:16:46 +02:00
Gwendal Roué
9d1997b6cd
Typo
2017-10-12 21:54:46 +02:00
Gwendal Roué
313baa0064
Typo
2017-10-12 21:52:51 +02:00
Gwendal Roué
006eee9f51
Document that Record subclasses have to override database methods
2017-10-12 21:51:15 +02:00
Gwendal Roué
2720caf945
Documentation
2017-10-12 20:51:14 +02:00
Gwendal Roué
62faa57bf0
Documentation
2017-10-12 20:50:36 +02:00
Gwendal Roué
abbdb995e6
Documentation
2017-10-12 20:46:01 +02:00
Gwendal Roué
fd2ae60a65
Fix sample code of conversion from Row to Dictionary
2017-10-12 20:41:48 +02:00
Gwendal Roué
2c4cf2d06b
Improve documentation of Codable support, and decrease focus on the Record class.
2017-10-12 20:40:33 +02:00
Gwendal Roué
0f5ec15d47
Test for Carthage integration in an iOS app
2017-10-12 08:26:36 +02:00
Gwendal Roué
1c3dfb346f
Travis: move make test_CarthageBuild to the "Test Installation" stage
2017-10-11 22:02:02 +02:00
Darren Clark
b76013d60b
Travis - re-enable Carthage
2017-10-11 21:45:53 +02:00
Gwendal Roué
e3ed95571c
Upgrade custom SQLite builds to v3.20.1
2017-10-11 21:43:41 +02:00
Gwendal Roué
c749893858
Update sqlcipher from https://github.com/groue/sqlcipher/pull/1
2017-10-11 21:26:37 +02:00
Gwendal Roué
9135be3da6
CHANGELOG
2017-10-11 08:20:34 +02:00
Gwendal Roué
9930fd3938
Fix failing test for drop temporary table
2017-10-11 08:17:57 +02:00
Gwendal Roué
c62c3df00d
Failing test for drop temporary table
2017-10-11 08:10:22 +02:00
Gwendal Roué
0419d67533
More fiddling with the deadly truncate optimization
2017-10-10 09:01:50 +02:00
Gwendal Roué
32d69c5be0
TODO.md
2017-10-10 08:20:27 +02:00
Gwendal Roué
c2fb23c69c
Stop using String.characters view
2017-10-10 08:15:28 +02:00
Gwendal Roué
47611e14f7
v2.0.3
2017-10-09 08:11:06 +02:00
Gwendal Roué
b90f876b5b
Records that adopt Encodable encode null columns
2017-10-09 08:06:46 +02:00
Gwendal Roué
9037d51bc7
Failing test for Encodable+Persistable (null values are not encoded)
2017-10-09 08:03:43 +02:00
Gwendal Roué
fb8c68f5e0
Fix compiler error
2017-10-07 07:41:17 +02:00
Gwendal Roué
4995b5bb8c
Group truncate optimization tests together
2017-10-07 06:51:13 +02:00
Gwendal Roué
c87ebfd4eb
CHANGELOG.md
2017-10-07 05:49:46 +02:00
Gwendal Roué
b9d0dae5ac
v2.0.2
2017-10-05 19:55:13 +02:00
Gwendal Roué
ab2a74285d
Issue156.playground
2017-10-05 19:09:22 +02:00
Gwendal Roué
e37ab72182
Fix compiler error
2017-10-05 15:55:20 +02:00
Gwendal Roué
891dec64a0
Cleanup fix for failing test for "DROP TABLE t" executed from a prepared statement.
2017-10-05 15:34:36 +02:00
Gwendal Roué
90086789c6
Fix failing test for "DROP TABLE t" executed from a prepared statement.
...
Refactor authorization and truncate optimization prevention around the StatementAuthorizer protocol.
2017-10-05 15:15:13 +02:00
Gwendal Roué
2cdcdb9cd6
Refactor Statement initializers
2017-10-05 14:01:12 +02:00
Gwendal Roué
9c6879bd97
Xcode 9 sometimes performs gratuitous changes to shared schemes
2017-10-05 13:56:38 +02:00
Gwendal Roué
fc88acc782
Add failing test for "DROP TABLE t" executed from a prepared statement.
2017-10-05 13:55:51 +02:00
Gwendal Roué
1578dfe26b
Cleanup
2017-10-05 13:50:31 +02:00
Gwendal Roué
eb5e5a7069
WhyAdoptGRDB.md
2017-10-04 08:02:19 +02:00
Gwendal Roué
b58cfefa13
Refactor database setup sample code so that database migrator can be tested
2017-10-03 08:40:44 +02:00
Gwendal Roué
de4d395aea
WhyAdoptGRDB.md
2017-10-01 06:10:19 +02:00
Gwendal Roué
7072bd9f36
WhyAdoptGRDB.md
2017-10-01 06:08:54 +02:00
Gwendal Roué
8e36bc64fd
WhyAdoptGRDB.md
2017-10-01 05:55:35 +02:00
Gwendal Roué
4326a705f3
Typo
2017-09-30 22:05:17 +02:00
Gwendal Roué
eb99e294ed
Typo
2017-09-30 20:53:44 +02:00
Gwendal Roué
27acb2b967
WhyAdoptGRDB.md
2017-09-30 20:24:33 +02:00
Gwendal Roué
9cf5124a52
Documentation
2017-09-30 00:22:00 +02:00
Gwendal Roué
d00282f077
Documentation
2017-09-28 06:47:19 +02:00
Gwendal Roué
2556bedcda
Enhance versions table
2017-09-28 06:01:29 +02:00
Gwendal Roué
a569acd12a
Documentation
2017-09-26 19:25:47 +02:00
Gwendal Roué
5e6c462708
Documentation
2017-09-26 19:23:55 +02:00
Gwendal Roué
4e0900dffa
Documentation
2017-09-26 19:21:52 +02:00
Gwendal Roué
5c61211522
Swift flags for enhancing compilation time (from @jessesquires' https://www.jessesquires.com/blog/measuring-compile-times-xcode9/ )
2017-09-21 17:24:00 +02:00
Gwendal Roué
0747dc5cf6
Diff links
2017-09-17 12:04:32 +02:00
Gwendal Roué
85099c8ad6
v2.0.1
2017-09-17 11:44:31 +02:00
Gwendal Roué
72da91a8c7
Remove obsolete FAQ
2017-09-17 08:10:16 +02:00
Gwendal Roué
4aced858a8
Fix documentation typo
2017-09-17 08:04:13 +02:00
Gwendal Roué
786ab176c9
v2.0
2017-09-16 18:37:27 +02:00
Gwendal Roué
973af107da
More performance tests, upgrade SQLite.swift submodule
2017-09-16 18:25:24 +02:00
Gwendal Roué
1911ef0172
Merge branch 'master' of github.com:groue/GRDB.swift into Swift4
...
Conflicts:
README.md
2017-09-16 14:49:39 +02:00
Gwendal Roué
d2e9b340c9
Adapt FT5 support for the non optional Database.primaryKey(_:)
2017-09-15 19:05:39 +02:00
Gwendal Roué
5b487d1722
Fix compiler warning
2017-09-15 19:01:49 +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é
2846254304
Improve make distclean, with submodules
2017-09-14 21:51:11 +02:00
Gwendal Roué
5fe765dd29
Improve make distclean
2017-09-14 21:49:06 +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é
4fc7a44a9d
Tweak JSONSynchronization playground
2017-09-12 08:30:05 +02:00
Gwendal Roué
e132688e00
Simplify JSONSynchronization playground
2017-09-12 08:25:09 +02:00
Gwendal Roué
588df57840
Fix typo
2017-09-12 08:13:23 +02:00
Gwendal Roué
4a8ca6fdc1
TODO
2017-09-11 09:04:05 +02:00
Gwendal Roué
2bb2493731
Turn MutablePersistable.databaseDictionary into a property
2017-09-11 08:53:56 +02:00
Gwendal Roué
c61949ceaf
DatabaseError.description contains primary result code, not extended result code.
2017-09-11 08:12:43 +02:00
Gwendal Roué
3fce1e00c9
Introduce AnyDatabaseReader and AnyDatabaseWriter
2017-09-10 13:37:48 +02:00
Gwendal Roué
2f2add1c49
Update podspec
2017-09-09 13:29:24 +02:00
Gwendal Roué
697acb103f
Cleanup
2017-09-08 21:45:35 +02:00
Gwendal Roué
c830e43e8f
Update JSONSynchronization playground with Record.updateChanges(_:)
2017-09-08 21:41:39 +02:00
Gwendal Roué
834ef45ca6
Document how to convert a Row to Dictionary
2017-09-08 20:38:03 +02:00
Gwendal Roué
279faa13e9
Less TODO
2017-09-08 13:23:20 +02:00
Gwendal Roué
0309abca6f
Tests for Statement.SelectionInfo.description
2017-09-08 13:18:45 +02:00
Gwendal Roué
fedee67bda
Enhance documentation of fatal errors that happen during value conversion
2017-09-08 08:19:09 +02:00
Gwendal Roué
a6c3566aa5
Record.updateChanges(_:) documentation
2017-09-08 08:08:07 +02:00
Gwendal Roué
52fa24e1c4
QueryInterfaceRequest.deleteAll() now honors the order and limit clauses when SQLite is compiled with the SQLITE_ENABLE_UPDATE_DELETE_LIMIT option
2017-09-08 07:07:43 +02:00
Gwendal Roué
a7ecf41e3b
QueryInterfaceRequest.deleteAll() now honors the order and limit clauses. New Set(cursor) initialiser.
2017-09-07 19:22:21 +02:00
Gwendal Roué
e68e5f6265
Tests for Record.updateChangedColumns(_:)
2017-09-06 09:12:38 +02:00
Gwendal Roué
aad5a9b060
Less TODO
2017-09-06 08:59:02 +02:00
Gwendal Roué
aa064029ec
More typed cursor tests
2017-09-06 08:58:27 +02:00
Gwendal Roué
e84060e01c
More value tests
2017-09-06 08:50:30 +02:00
Gwendal Roué
f4f72ebb43
Record.updateChanges(_:)
2017-09-06 08:36:13 +02:00
Gwendal Roué
da51e81e38
Fix typo
2017-09-05 09:01:57 +02:00
Gwendal Roué
247cbdd0d0
Date and NSDate interpret database numbers as unix timestamps.
2017-09-05 08:58:17 +02:00
Gwendal Roué
c528740154
Documentation
2017-09-05 07:57:00 +02:00
Gwendal Roué
37b357b050
TODO
2017-09-05 05:50:11 +02:00
Gwendal Roué
18c376979d
Reformat links to other Swift versions
2017-09-03 11:39:25 +02:00
Gwendal Roué
9cc4357a70
Merge branch 'master' of github.com:groue/GRDB.swift into Swift4
2017-09-03 11:03:36 +02:00
Gwendal Roué
f2d35a052f
Cleanup
2017-09-03 10:54:13 +02:00
Gwendal Roué
221f378d10
Tests for zero-length blobs as function arguments
2017-09-03 10:31:02 +02:00
Gwendal Roué
06a8c8b940
GRDB is now able to store and load zero-length blobs.
2017-09-03 10:09:00 +02:00
Gwendal Roué
eee80b421a
Hide StatementCursor from public interface
2017-09-03 08:48:31 +02:00
Gwendal Roué
f6e22c3636
Fix Typo
2017-09-02 16:34:07 +02:00
Gwendal Roué
20d77fbba5
README.md
2017-09-02 16:32:52 +02:00
Gwendal Roué
0393ebe012
Try to force SWIFT_VERSION to 4.0 with pod_target_xcconfig
2017-09-02 12:42:50 +02:00
Gwendal Roué
2beddcf77b
Cleanup
2017-09-02 12:42:07 +02:00
Gwendal Roué
e784ebbcdd
Remove public StatementArguments()
2017-08-31 19:35:11 +02:00
Gwendal Roué
30ee538dbd
StatementArguments(), tests, changeling
2017-08-30 20:07:34 +02:00
Gwendal Roué
7939ba6e05
Expose RowCursor.statement, StatementCursor.statement, Statement.index(ofColumn:)
2017-08-30 14:06:50 +02:00
Gwendal Roué
2785e69fc1
Data adopts StatementColumnConvertible
2017-08-29 19:27:47 +02:00
Gwendal Roué
d472c1696d
Workaround SR-5707
2017-08-28 13:49:08 +02:00
Gwendal Roué
d9cfa71fc7
MutablePersistable.databaseDictionary() return [String: DatabaseValue]
2017-08-28 08:13:20 +02:00
Gwendal Roué
715e12912b
New MutablePersistable.databaseDictionary() convenience method
2017-08-25 18:20:35 +02:00
Gwendal Roué
b182fe27f6
Merge branch 'Swift4' of github.com:groue/GRDB.swift into Swift4
2017-08-25 17:43:19 +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é
059b8800f6
TODO
2017-08-25 14:00:12 +02:00
Gwendal Roué
9f687b1848
Documentation
2017-08-25 06:06:59 +02:00
Gwendal Roué
a4a05b1f0a
Introduce DatabaseValueCursor, NullableDatabaseValueCursor
2017-08-25 05:54:37 +02:00
Gwendal Roué
1a7b0b0626
Introduce RecordCursor
2017-08-24 09:08:29 +02:00
Gwendal Roué
4c467e46cf
CHANGELOG
2017-08-24 08:17:09 +02:00
Gwendal Roué
fa71edeb07
Consistently use GRDB as the library name
2017-08-23 13:59:51 +02:00
Gwendal Roué
4ff436371d
README
2017-08-23 13:57:25 +02:00
Gwendal Roué
9d8fa0bc5a
Documentation
2017-08-23 10:03:03 +02:00
Gwendal Roué
1a8ecd7889
Documentation
2017-08-23 10:01:43 +02:00
Gwendal Roué
f6614fdfda
Documentation
2017-08-23 10:00:02 +02:00
Gwendal Roué
a6055df756
New "Documentation diff" section in CHANGELOG
2017-08-23 08:43:35 +02:00
Gwendal Roué
5af91c5eab
Documentation
2017-08-23 08:24:08 +02:00
Gwendal Roué
41974c4a46
Documentation
2017-08-23 08:21:28 +02:00
Gwendal Roué
f001b5bd76
Documentation
2017-08-23 08:19:29 +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é
8ccc23333d
Replace DatabaseCursor with new concrete cursors RowCursor, StatementColumnCursor, NullableStatementColumnCursor, and StatementCursor.
2017-08-23 08:16:30 +02:00
Gwendal Roué
d95954d980
TODO: learn about Decoder.dateEncodingStrategy
2017-08-22 09:04:00 +02:00
Gwendal Roué
3506881c2a
Documentation
2017-08-21 19:23:10 +02:00
Gwendal Roué
51d127c378
TODO.md
2017-08-21 08:48:03 +02:00
Gwendal Roué
2d5dd7ef63
Update GRDBProfiling project
2017-08-21 08:47:53 +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é
ffdbf2f3f1
TODO.md
2017-08-20 05:33:27 +02:00
Gwendal Roué
56cad83f55
CHANGELOG.md
2017-08-19 16:34:28 +02:00
Gwendal Roué
719f33f7a7
GRDBDemoiOS: use default IPHONEOS_DEPLOYMENT_TARGET
2017-08-19 16:09:30 +02:00
Gwendal Roué
700ffacdb1
Minor
2017-08-19 15:55:36 +02:00
Gwendal Roué
a6ef4ed55c
Minor
2017-08-19 15:53:50 +02:00
Gwendal Roué
c5da564fb3
Use built-in SQLite3 module when available
2017-08-19 15:21:44 +02:00
Gwendal Roué
a6b04ebb64
FTS5 Cleanup
2017-08-19 12:35:45 +02:00
Gwendal Roué
99ba6db257
Documentation
2017-08-19 11:42:45 +02:00
Gwendal Roué
a3cddb72b9
Documentation: rename "person" to "player" (and avoid both "persons" and "people")
2017-08-19 10:36:28 +02:00
Gwendal Roué
2a9e896095
Remove documentation for PrimaryKeyInfo (reference is enough)
2017-08-19 10:25:20 +02:00
Gwendal Roué
89d522d325
Rename "point of interest" to "place" (addresses #246 )
2017-08-19 10:21:57 +02:00
Gwendal Roué
3c4ff587ca
Documentation
2017-08-19 10:13:40 +02:00
Gwendal Roué
e111529035
Documentation
2017-08-19 10:09:41 +02:00
Gwendal Roué
cae1f97032
Update documentation now that TableMapping deletion methods have moved to MutablePersistable
2017-08-18 18:40:57 +02:00
Gwendal Roué
20419834a6
Sequence.Iterator.Element -> Sequence.Element
2017-08-18 18:10:56 +02:00
Gwendal Roué
5dabc2a20b
CHANGELOG.md
2017-08-18 18:09:28 +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é
0b71cf86f2
Less GRDB 2.0 TODO
2017-08-18 16:49:12 +02:00
Gwendal Roué
96159bd09c
RowConvertible.fetchCursor(_:keys:) returns a non-optional cursor.
2017-08-18 16:48:06 +02:00
Gwendal Roué
bcff802ccb
CHANGELOG.md
2017-08-18 16:29:18 +02:00
Gwendal Roué
376d295853
Replace TableMapping.selectsRowID with TableMapping.databaseSelection
2017-08-18 16:27:24 +02:00
Gwendal Roué
0030ad1804
CHANGELOG.md
2017-08-18 14:57:55 +02:00
Gwendal Roué
4ec3e0f7d8
Drop deprecated TableMapping.primaryKeyRowComparator(_:)
2017-08-18 14:30:28 +02:00
Gwendal Roué
e36219e408
Thanks @bfad
2017-08-18 14:22:15 +02:00
Gwendal Roué
8f8f53a697
Fix CocoaPods tests by bumping .swift-version
2017-08-18 14:22:15 +02:00
Gwendal Roué
567292c72f
Fix SPM test target
...
Thanks to @aciidb0mb3r: https://bugs.swift.org/browse/SR-5697?focusedCommentId=27793&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-27793
2017-08-18 14:22:15 +02:00
Gwendal Roué
b744f73a76
Restore test target in Package.swift, for swift test
2017-08-18 14:22:15 +02:00
Gwendal Roué
da440a5e16
Swift 4 + SPM
...
- Upgrade Tests/SPM package layout and format to version 4, and have `make test_install_SPM` succeed
- Update .gitignore in order to ignore Package.resolved instead of Package.pins
2017-08-18 14:22:15 +02:00
Brad Lindsay
017af1d5c3
Update Package.swift for version 4 tooling
2017-08-18 14:22:14 +02:00
Gwendal Roué
1f5d75d8e9
Fix a compiler error in Xcode 9 beta 5 (and improve tests for DatabaseValue conformance to Equatable)
2017-08-18 14:22:14 +02:00
Gwendal Roué
8b80abc701
TODO.md
2017-08-18 14:22:14 +02:00
Gwendal Roué
dc75ca4caf
SE-0166
2017-08-18 14:22:14 +02:00
Gwendal Roué
d7d4c0a54d
Formatting
2017-08-18 14:22:14 +02:00
Gwendal Roué
823b094b60
SE-0168
2017-08-18 14:22:14 +02:00
Gwendal Roué
06a6c982aa
SE-0148
2017-08-18 14:22:14 +02:00
Gwendal Roué
1d15ef01f9
Update Travis CI to use Xcode 9
2017-08-18 14:20:35 +02:00
Gwendal Roué
f72ffcbb43
SE-0165
2017-08-18 14:20:35 +02:00
Gwendal Roué
e0f2305cd9
SE-0104
2017-08-18 14:20:35 +02:00
Gwendal Roué
210939d2c1
SE-0169
2017-08-18 14:20:35 +02:00
Gwendal Roué
2fd071d90e
NSLocalizedDescriptionKey
2017-08-18 14:20:35 +02:00
Gwendal Roué
badec62cdd
SE-0110
2017-08-18 14:20:35 +02:00
Gwendal Roué
895cda4de7
Xcode 9 beta 3 project updates
2017-08-18 14:20:35 +02:00
Gwendal Roué
21fdc9f350
v1.3.0
2017-08-18 13:13:24 +02:00
Gwendal Roué
398c0ef687
Documentation
2017-08-18 12:25:22 +02:00
Gwendal Roué
3b0a9aef3c
No more SQLite 3.20.0 TODO
2017-08-18 08:52:48 +02:00
Gwendal Roué
48ec0916bf
Use SQLITE_PREPARE_PERSISTENT flag for cached statements
2017-08-18 08:52:23 +02:00
Gwendal Roué
10af87a7d0
SQLite 3.20.0
2017-08-18 08:35:02 +02:00
Gwendal Roué
96e7996f37
SQLite 3.20.0 TODO
2017-08-03 10:19:52 +02:00
Gwendal Roué
0f7af931a9
SQLite 3.20.0 TODO
2017-08-03 10:16:17 +02:00
Gwendal Roué
cfd2d80b78
Fix typo
2017-07-30 15:22:13 +02:00
Gwendal Roué
0386c01aa9
CHANGELOG
2017-07-29 14:36:02 +02:00
Gwendal Roué
2c39c91ac6
CHANGELOG
2017-07-29 13:01:49 +02:00
Gwendal Roué
0eb51e3e8b
Int8, Int16, UInt, UInt8, UInt16, UInt32, UInt64 adopt DatabaseValueConvertible and StatementColumnConvertible
2017-07-29 12:58:35 +02:00
Gwendal Roué
bb931e9da7
FTS5.api(_:) can now throw an error
2017-07-21 18:34:19 +02:00
Gwendal Roué
7b2e672496
Cleanup
2017-07-21 17:59:04 +02:00
Gwendal Roué
cdc6370ee5
Restore column ordering in filter(db, keys: [["a": ..., "b": ...], ...]) removed in 2b2e92c810
2017-07-21 13:45:24 +02:00
Gwendal Roué
cc762e4e1d
TODO
2017-07-21 12:20:32 +02:00
Gwendal Roué
ed525bd1d8
Cleanup
2017-07-21 12:15:35 +02:00
Gwendal Roué
2b2e92c810
Cleanup
2017-07-21 12:13:03 +02:00
Gwendal Roué
44d31ead76
Implement deleteAll(_:keys:), deleteOne(_🔑 ) on top of the Query Interface
2017-07-21 11:19:24 +02:00
Gwendal Roué
ec163e94eb
Implement fetchCursor(_:keys:), fetchAll(_:keys:), and fetchOne(_🔑 ) on top of the Query Interface
2017-07-21 09:13:20 +02:00
Gwendal Roué
ec2ac33fec
TODO.md
2017-07-21 07:58:25 +02:00
Gwendal Roué
20bda2af26
v1.2.2
2017-07-20 19:30:39 +02:00
Gwendal Roué
7a49f6293d
CHANGELOG.md
2017-07-20 17:50:14 +02:00
Gwendal Roué
81b21010f1
Fix memory leak with Configuration.trace
2017-07-20 17:47:11 +02:00
Gwendal Roué
2526e0a2f7
Fix links to reference documentation
2017-07-19 19:40:19 +02:00
Gwendal Roué
af1e8470c9
v1.2.1
2017-07-19 09:38:25 +02:00
Gwendal Roué
dfd9da68a7
CHANGELOG
2017-07-19 08:32:21 +02:00
Gwendal Roué
5e702234f4
Upgrade SQLite to v3.19.3
2017-07-19 08:31:32 +02:00
Gwendal Roué
9020dcca9a
CHANGELOG
2017-07-19 08:28:02 +02:00
Gwendal Roué
930a4e4c1d
Improve implementation comments in DatabasePool.readFromCurrentState
2017-07-19 08:22:23 +02:00
Gwendal Roué
4db77f96b7
Improve implementation comments in DatabasePool.readFromCurrentState
2017-07-18 16:34:50 +02:00
Gwendal Roué
cc12c046b9
func === (lhs: SQLExpressible?, rhs: SQLCollatedExpression) bugfix
2017-07-18 09:00:49 +02:00
Gwendal Roué
f5c63e0997
Remove unused method
2017-07-18 07:48:43 +02:00
Gwendal Roué
29a26800b7
Cleanup
2017-07-17 20:20:20 +02:00
Gwendal Roué
bc5eeb3b3a
expr == DatabaseValue.null is converted to expr IS NULL.
2017-07-17 20:19:19 +02:00
Gwendal Roué
40d02518b0
Cleanup
2017-07-17 15:33:09 +02:00
Gwendal Roué
a2556edc69
Use sqlite3_get_autocommit
...
This function knows whether the database is currently inside a
transaction or not, and provides robust rollback error handling.
2017-07-17 15:33:01 +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é
ebeb7bc969
v1.2
2017-07-13 13:17:58 +02:00
Gwendal Roué
6ccac5f69c
CHANGELOG.md
2017-07-13 13:00:19 +02:00
Gwendal Roué
cc41b8b259
Fix Pool bug introduced in 2add1c68ea
...
I think this is the bug behind this failed test suite: https://travis-ci.org/groue/GRDB.swift/jobs/253093331
In 2add1c68ea Pool has started relying on *indexes* inside its inner array of items. Those indexes weren't reliable enough: this commit brings back independence from indexes by making the Item type a class again.
2017-07-13 12:17:03 +02:00
Gwendal Roué
db1a3456b7
Cleanup
2017-07-13 12:12:56 +02:00
Gwendal Roué
1b9305c073
Less TODO
2017-07-13 11:24:41 +02:00
Gwendal Roué
a33814ef40
Documentation for unsafe concurrency APIs
2017-07-13 11:10:02 +02:00
Gwendal Roué
581bc9f27c
Support for partial records whose encode(to:) method does not provide values for all table columns
2017-07-13 11:03:23 +02:00
Gwendal Roué
40cff0053f
TODO.md
2017-07-13 09:58:42 +02:00
Gwendal Roué
cc33b12b0d
DatabaseReader.unsafeReentrantRead
2017-07-13 09:11:21 +02:00
Gwendal Roué
2add1c68ea
Raise a fatal error when DatabasePool is used in a reentrant way
2017-07-12 20:07:05 +02:00
Gwendal Roué
380b6676a6
Statement.sql trims white space and semicolon
2017-07-12 08:45:56 +02:00
Gwendal Roué
f133a36477
TODO.md
2017-07-07 17:13:25 +02:00
Gwendal Roué
5f2d6f8e2f
Table creation API enhancements
2017-07-01 16:44:33 +02:00
Gwendal Roué
a72c207ec5
v1.1
2017-07-01 12:04:27 +02:00
Gwendal Roué
ae3c28dee1
Add missing CSQLite import
2017-07-01 11:39:52 +02:00
Gwendal Roué
bd919e5209
DatabaseAggregate ( fixes #236 )
2017-07-01 11:39:52 +02:00
Gwendal Roué
d1697756e9
Remove compiler warning
2017-06-30 07:47:14 +02:00
Gwendal Roué
83c3745165
Documentation
2017-06-30 07:47:14 +02:00
Gwendal Roué
56a4a964b7
QueryInterfaceRequest.order() clears the isReversed flag
2017-06-30 07:47:13 +02:00
Gwendal Roué
c9a02faf08
Refactor AdaptedTypedRequest around AdaptedRequest
2017-06-30 07:47:13 +02:00
Gwendal Roué
e59388738e
FetchedRecordsController: don't assume constant row layout when comparing records
2017-06-30 07:47:13 +02:00
Gwendal Roué
c8368d98eb
Refactor FetchedRecordsController so that it stops using deprecated TableMapping.primaryKeyRowComparator
2017-06-30 07:47:13 +02:00
Gwendal Roué
d12dad2e34
Deprecate TableMapping.primaryKeyRowComparator
2017-06-30 07:47:13 +02:00
Gwendal Roué
1ee8c73562
Fix typo
2017-06-30 03:57:36 +02:00
Gwendal Roué
ad8de84257
Update Makefile for Xcode 9 beta 2
2017-06-22 19:34:11 +02:00
Gwendal Roué
48398b4913
v1.0
2017-06-20 07:54:19 +02:00
Gwendal Roué
d719fe4612
Bump requirements to Xcode8.3+ / Swift 3.1
2017-06-20 07:54:19 +02:00
Gwendal Roué
034a30b444
CHANGELOG.md
2017-06-20 07:54:19 +02:00
Gwendal Roué
9609e2ac4c
Database.foreignKeys(on:)
2017-06-20 07:54:19 +02:00
Gwendal Roué
66c2b72a28
Database.afterNextTransactionCommit(_:): document that the closure runs in a protected dispatch queue
2017-06-20 07:54:19 +02:00
Gwendal Roué
da48b0880e
CHANGELOG.md
2017-06-20 07:54:19 +02:00
Gwendal Roué
4134b1549a
CHANGELOG.md
2017-06-20 07:54:19 +02:00
Gwendal Roué
7265b2535b
CHANGELOG.md
2017-06-20 07:54:19 +02:00
Gwendal Roué
bb638377ac
CHANGELOG.md
2017-06-20 07:54:19 +02:00
Gwendal Roué
466113fc4a
🎉
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é
56869577d4
Documentation
2017-06-20 07:54:19 +02:00
Gwendal Roué
ed3c597a92
Documentation
2017-06-20 07:54:19 +02:00
Gwendal Roué
cbb607b6b0
SQLSpecificExpressible.collating(_:) inline documentation
2017-06-20 07:54:19 +02:00
Gwendal Roué
7f64abe820
Identify experimental features in the inline documentation
2017-06-20 07:54:19 +02:00
Gwendal Roué
b43dc1ba37
Less TODO
2017-06-20 07:54:19 +02:00
Gwendal Roué
59962e5e88
Identify experimental features in the inline documentation
2017-06-20 07:54:19 +02:00
Gwendal Roué
8eabcecb69
Fix TransactionObservationExtent.nextTransaction
2017-06-20 07:54:19 +02:00
Gwendal Roué
a3ad726111
Cleanup
2017-06-20 07:54:19 +02:00
Gwendal Roué
a46b4edb0a
Replace experimental badge image with searchable text
2017-06-20 07:54:19 +02:00
Gwendal Roué
7059fe3815
TODO.md
2017-06-20 07:54:19 +02:00
Gwendal Roué
780f1afe91
Replace CLLocationCoordinate2DMake(_:_:) with CLLocationCoordinate2D(latitude:longitude:)
2017-06-20 07:54:19 +02:00
Gwendal Roué
2459b4e56f
Foster columns gathered in an enum
2017-06-20 07:54:19 +02:00
Gwendal Roué
f750cee594
Documentation
2017-06-20 07:54:19 +02:00
Gwendal Roué
1c3824f4b9
Don't retain weak transaction observers
2017-06-20 07:54:19 +02:00
Gwendal Roué
5ba1fa856d
Documentation
2017-06-20 07:54:19 +02:00
Gwendal Roué
f40a685ac9
Update performance tests for FMDB 2.7.2
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é
7b0659332b
Realm 2.8.2
2017-06-20 07:54:19 +02:00
Gwendal Roué
19812cb015
SQLite.swift 0.11.3, FMDB 2.7.2
2017-06-20 07:54:19 +02:00
Gwendal Roué
b283c80776
Documentation
2017-06-20 07:54:19 +02:00
Gwendal Roué
49838c67ee
Typo
2017-06-20 07:54:19 +02:00
Gwendal Roué
4a40bddd82
Better Database.afterCommit(_:) documentation
2017-06-20 07:54:19 +02:00
Gwendal Roué
208b7860aa
Better Database.afterCommit(_:) documentation
2017-06-20 07:54:19 +02:00
Gwendal Roué
05e7c9470b
Better Database.afterCommit(_:) documentation
2017-06-20 07:54:19 +02:00
Gwendal Roué
2f79d5f805
Database.afterCommit(_:)
2017-06-20 07:54:19 +02:00
Gwendal Roué
1f120a04f9
CHANGELOG.md
2017-06-20 07:54:19 +02:00
Gwendal Roué
90a46f6556
Introduce TransactionObservationExtent
2017-06-20 07:54:19 +02:00
Gwendal Roué
4dff14a02a
README: note about "Pure Transaction Observers", and warning about "Recursive Commits"
2017-06-20 07:54:19 +02:00
Gwendal Roué
d9a9acb616
README: Introduction to Database Changes Observation
2017-06-20 07:54:19 +02:00
Gwendal Roué
8ea215931e
Refactor Request
...
Rename TypedRequest's associated type from `Fetched` to `RowConverter`, because if TypedRequest needs a type that can decode rows, the type of the decoded rows does not need to be identical to the decoder type.
Introduce AdaptedRequest and AdaptedTypedRequest as results of Request.adapted(_:) and TypedRequest.adapted(_:), instead of the generic AnyRequest and AnyTypedRequest.
2017-06-20 07:54:19 +02:00
Gwendal Roué
6caed6aacc
DatabaseMigrator documentation
2017-06-20 07:54:19 +02:00
Gwendal Roué
0c192fcb57
DatabaseMigrator.migrate(_:upTo:)
2017-06-20 07:54:19 +02:00
Gwendal Roué
3e819a5051
TODO.md
2017-06-20 07:54:19 +02:00
Gwendal Roué
b31983cc3a
TODO: write regression tests for #156 and #157
2017-06-20 07:54:19 +02:00
Gwendal Roué
e24cb1783c
Change default transaction kind to deferred (the SQLite default).
2017-06-20 07:54:19 +02:00
Gwendal Roué
a913aba018
Replace persistentDictionary with encode(to:)
2017-06-20 07:54:19 +02:00
Gwendal Roué
35d34ab524
Remove obsolete documentation of QueryInterfaceRequest.contains(_:)
2017-06-20 07:54:19 +02:00
Gwendal Roué
604cf6b522
Remove QueryInterfaceRequest.contains(_:)
2017-06-20 07:54:19 +02:00
Gwendal Roué
e987695732
Remove obsolete documentation of QueryInterfaceRequest.exists()
2017-06-20 07:54:19 +02:00
Gwendal Roué
09f37a86ad
Fix link of experimental badges
2017-06-20 07:54:19 +02:00
Gwendal Roué
ff32f99610
Better experimental description
2017-06-20 07:54:19 +02:00
Gwendal Roué
4cd099ef30
Fix link of experimental badges
2017-06-20 07:54:19 +02:00
Gwendal Roué
54d3b0eabc
Flag Request.adapted(_:) as experimental
2017-06-20 07:54:19 +02:00
Gwendal Roué
b3d731b040
Remove QueryInterfaceRequest.exists()
2017-06-20 07:54:19 +02:00
Gwendal Roué
6629ec48a3
Flag SQLExpressionFunction, SQLFunctionName, SQLExpressionUnary, SQLExpressionBinary, SQLExpressionFunction, QueryInterfaceRequest.exists() as experimental
2017-06-20 07:54:19 +02:00
Gwendal Roué
19c273771d
Flag row adapters as experimental
2017-06-20 07:54:19 +02:00
Gwendal Roué
e7b6919bc1
Experimental badge and FAQ (with workaround https://github.com/isaacs/github/issues/316 )
2017-06-20 07:54:19 +02:00
Gwendal Roué
60e6c7d250
Remove DatabaseCoder
2017-06-20 07:54:19 +02:00
Gwendal Roué
4feeb0e608
Help Xcode 9 beta 1 users in the README (completes #230 )
2017-06-09 06:53:20 +02:00
Gwendal Roué
b3243efdf5
Update Makefile for Xcode 8.3.3
2017-06-09 06:44:26 +02:00
Gwendal Roué
60a23bb280
More Xcode-9 fixes
2017-06-09 06:44:26 +02:00
Gwendal Roué
973f38727d
More Xcode-9 fixes
2017-06-09 06:44:26 +02:00
David Hart
deaac5808d
Make the bug-fix conditional to continue building on 3.1
2017-06-09 06:44:26 +02:00
David Hart
22dc01610e
Fix compilation with Xcode 9 in compatibilty mode
2017-06-09 06:44:26 +02:00
Gwendal Roué
fe702d8fea
The magic command that helps finding unwanted git tags
2017-06-01 10:02:59 +02:00
Gwendal Roué
10e669423f
Use the dbValue identifier for variables of type DatabaseValue
2017-06-01 08:35:14 +02:00
Gwendal Roué
fbf146657e
CHANGELOG for SQLite 3.19.2
2017-05-28 15:48:46 +02:00
Gwendal Roué
8667fab206
v0.110.0
2017-05-28 14:29:41 +02:00
Gwendal Roué
e974cd4b33
Fix make test_SPM by backporting 7adfb3c233fc3fdeacbb3933d7d13b4c2a3a2eed and using the default Swift compiler unless TOOLCHAIN is defined
2017-05-28 14:02:13 +02:00
Gwendal Roué
43c96803be
CHANGELOG: announce removal of deprecation warning for sqlite3_trace
2017-05-28 13:32:17 +02:00
Gwendal Roué
70b42a5633
CHANGELOG: announce Travis-CI integration
2017-05-28 13:24:21 +02:00
Gwendal Roué
9f989f7706
CHANGELOG: announce SQLCipher v3.4.1
2017-05-28 13:20:27 +02:00
swiftlyfalling
4d976ef803
Add Travis-CI build status badge to README.md
2017-05-28 13:16:47 +02:00
Gwendal Roué
02257fd78f
Update SQLite version in documentation
2017-05-28 13:15:41 +02:00
Gwendal Roué
929c8f49a6
Upgrade SQLite to v3.19.2
2017-05-28 13:15:41 +02:00
Gwendal Roué
a6ec38c805
Upgrade SQLite to v3.19.1
2017-05-28 13:15:41 +02:00
Gwendal Roué
e5ec8ea3b2
Update SQLite version in documentation
2017-05-28 13:15:41 +02:00
Gwendal Roué
36ac5a2802
CHANGELOG for SQLite 3.19.0
2017-05-28 13:15:41 +02:00
Gwendal Roué
b5beff5030
Fix SelectStatementTests.testSelectionInfo SPM test
2017-05-28 13:15:41 +02:00
Gwendal Roué
d1d1a5da77
Improve SelectionInfo for SQLite 3.19.0
2017-05-28 13:15:41 +02:00
Gwendal Roué
713d58612e
SQLite 3.19.0 wants authorizer callbacks to be prepared from NULL inputs
2017-05-28 13:15:41 +02:00
Gwendal Roué
bd0990deb4
Upgrade SQLite to v3.19.0
2017-05-28 13:15:41 +02:00
Gwendal Roué
35e8d9c12b
Update SQLCipher version in documentation
2017-05-28 11:40:26 +02:00
Gwendal Roué
1fb7f9ff5b
Disable query tracing inside EncryptionTests.testExportPlainTextDatabaseToEncryptedDatabase (workaround https://github.com/sqlcipher/sqlcipher/issues/216 )
2017-05-28 11:40:26 +02:00
Gwendal Roué
7eecb059e6
Disable EncryptionTests.testExportPlainTextDatabaseToEncryptedDatabase until https://github.com/sqlcipher/sqlcipher/issues/216 is fixed
2017-05-28 11:40:26 +02:00
Gwendal Roué
ba8375adb1
Upgrade SQLCipher to v3.4.1
2017-05-28 11:40:26 +02:00
Gwendal Roué
2ef547c461
Fix flaky busy handler tests
2017-05-27 15:04:27 +02:00
Gwendal Roué
a34784ca73
TODO: Fix flaky ConcurrencyTests.testReaderInDeferredTransactionDuringDefaultTransaction
2017-05-25 23:02:31 +02:00
Gwendal Roué
5594d46c2d
Makefile cleanup
2017-05-25 19:57:51 +02:00
Gwendal Roué
dc7a1e3f41
Delete Package.pins files in clean and distclean Makefile targets
2017-05-25 19:57:46 +02:00
Gwendal Roué
68732487f9
Ignore Package.pins files
2017-05-25 19:57:41 +02:00
Gwendal Roué
5ea1d4376d
Remove quotes around "GRDB [SPM] (Xcode 8.3, macOS 10.12)" TID in .travis.yml
2017-05-25 19:57:36 +02:00
Gwendal Roué
9cb8b205c5
Rewrite tests that check that closing a connection does not break unclosed statements (this should fix #216 , for good this time!)
2017-05-25 19:25:47 +02:00
Gwendal Roué
a35c453423
Fix flaky test ConcurrencyTests.testBusyCallback
2017-05-25 18:54:02 +02:00
Gwendal Roué
e7f91d7c25
TODO: fix flaky test ConcurrencyTests.testBusyCallback
2017-05-25 18:43:21 +02:00
Gwendal Roué
4886f43463
Rewrite tests that check that closing a connection does not break unclosed statements (this should fix #216 )
2017-05-25 18:39:38 +02:00
Gwendal Roué
929c8ac2b5
GRDB has no longer iterators, but cursors
2017-05-25 18:23:14 +02:00
Gwendal Roué
1438934aa6
Extract deployment targets in dedicated xcconfig files.
2017-05-25 17:13:45 +02:00
Gwendal Roué
ec65335fcd
Use sqlite3_trace_v2 when available (addresses #100 )
2017-05-25 17:13:04 +02:00
Gwendal Roué
39d31dbd11
Merge pull request #218 from swiftlyfalling/travis_add_spm_test
...
Add `make test_SPM` to .travis.yml
2017-05-25 13:53:26 +02:00
swiftlyfalling
6c5be7a169
Minor tweaks
2017-05-24 11:15:59 -04:00
swiftlyfalling
b45894fd51
Add test_SPM to travis.yml
2017-05-24 11:13:32 -04:00
swiftlyfalling
a660b4e5c4
Merge remote-tracking branch 'groue/master'
2017-05-24 11:04:43 -04:00
Gwendal Roué
e11c88cf05
Merge pull request #215 from swiftlyfalling/travis-ci-xcode-82-fix
...
Makefile Fix: Xcode 8.2 max-iOS builds
2017-05-24 07:53:25 +02:00
swiftlyfalling
40f930f08a
Fix Xcode 8.2 max-iOS builds
...
- Fixes errant “fancy quotes”
2017-05-23 16:57:15 -04:00
swiftlyfalling
0c55e7819d
Merge remote-tracking branch 'groue/master'
2017-05-23 16:54:04 -04:00
Gwendal Roué
3c17ee941f
Documentation
2017-05-23 11:44:43 +02:00
Gwendal Roué
5a67ca0411
Foster asRequest(of:)
2017-05-23 11:38:17 +02:00
Gwendal Roué
63d04a6707
TODO: upgrade SQLCipher
2017-05-23 08:17:31 +02:00
Gwendal Roué
676a116cda
Merge pull request #213 from swiftlyfalling/travis-ci-integration
...
Continuous Integration (w/ Travis CI)
2017-05-23 07:45:43 +02:00
Gwendal Roué
55435fd324
v0.109.0
2017-05-22 19:58:48 +02:00
Gwendal Roué
612f8059b8
Documentation
2017-05-22 19:58:01 +02:00
Gwendal Roué
ffd16f7639
Backport some Makefile improvements from @zmeyc's pr_linux branch
2017-05-22 19:56:57 +02:00
swiftlyfalling
528860161e
Add Travis-CI support
2017-05-22 13:24:22 -04:00
swiftlyfalling
1fe6094da5
Remove + ignore .ruby-version to avoid conflicts with Travis-CI
...
If the .ruby-version file is present and contains a version of Ruby
greater than Travis-CI supports, it will break the Travis-CI builds.
2017-05-22 13:23:07 -04:00
swiftlyfalling
399c51b1ee
Merge remote-tracking branch 'groue/master'
2017-05-22 13:18:05 -04:00
Gwendal Roué
55e4abd534
Rename USING_SQLCIPHER to GRDBCIPHER and USING_CUSTOMSQLITE to GRDBCUSTOMSQLITE
2017-05-22 19:15:10 +02:00
Gwendal Roué
e9d02f441b
More links to RxGRDB
2017-05-22 19:00:24 +02:00
Gwendal Roué
f858bcbe5b
Rename Request.fetching(_:) to Request.asRequest(of:)
2017-05-22 18:55:51 +02:00
Gwendal Roué
cd107711a9
Rename Request.bound(to:) to Request.fetching(_:)
2017-05-22 18:37:46 +02:00
Gwendal Roué
ce4c20b112
Replace DatabaseWriter.availableDatabaseConnection with unsafeReentrantWrite()
2017-05-22 18:10:19 +02:00
Gwendal Roué
0b8ba1ccfa
Merge branch 'master' of github.com:groue/GRDB.swift
2017-05-22 14:21:29 +02:00
Gwendal Roué
c72c97fd53
TODO.md
2017-05-22 13:54:33 +02:00
Gwendal Roué
1e12068e64
DatabaseEventKind.impacts(_ selectionInfo:SelectStatement.SelectionInfo) now returns an non-optional boolean.
2017-05-22 13:53:59 +02:00
Gwendal Roué
1799fe1ff9
Consistently crash for all failed conversions from DatabaseValue
2017-05-22 13:51:39 +02:00
Gwendal Roué
ae5175c5b4
CHANGELOG.md
2017-05-17 20:01:28 +02:00
Gwendal Roué
86d5b0b23d
Update ReleaseProcess.md
2017-05-17 14:41:43 +02:00
Gwendal Roué
341044356f
v0.108.0
2017-05-17 14:27:53 +02:00
Gwendal Roué
5eb7a62062
Add @sroddy to the thanks section
2017-05-17 14:25:09 +02:00
Gwendal Roué
74f96c0766
CHANGELOG.md
2017-05-17 14:24:03 +02:00
Gwendal Roué
49b62cb27a
Merge pull request #212 from BendingSpoons/feature/CocoaPods-SQLCipher
...
SQLCipher support with Cocoapods
2017-05-17 14:20:05 +02:00
Gwendal Roué
798588c54b
Documentation for GRDBCipher installation via CocoaPods
2017-05-17 14:19:31 +02:00
Gwendal Roué
f1a9cdaa8e
Restore GRDB.swift.podspec, introduce GRDBCipher.podspec
2017-05-17 13:27:03 +02:00
Stefano Rodriguez
c66c0a11b6
Add Cocoapods checks for SQLCipher subspec
2017-05-17 01:29:28 +02:00
Stefano Rodriguez
b1cdd1360b
Update README.md
2017-05-17 01:17:10 +02:00
Stefano Rodriguez
7c8b48e08a
Fix Podspec
2017-05-15 01:08:33 +02:00
Stefano Rodriguez
64df5c6b41
Update README.md
2017-05-13 22:54:56 +02:00
Stefano Rodriguez
a5c1361dc9
Add Support for SQLCipher in CocoaPods
2017-05-13 22:49:14 +02:00
Gwendal Roué
798b1a7d2e
Tests for DatabaseEventKind.impacts(_ selectionInfo: SelectStatement.SelectionInfo) and triggers.
2017-05-10 13:35:55 +02:00
Gwendal Roué
e484e4c6de
Tests for DatabaseEventKind.impacts(_ selectionInfo: SelectStatement.SelectionInfo) and foreign keys.
2017-05-10 13:26:57 +02:00
Gwendal Roué
31299a529a
TODO.md
2017-05-10 10:27:53 +02:00
Gwendal Roué
53ac681d49
TODO.md
2017-05-09 10:16:18 +02:00
Gwendal Roué
828ef48441
Database.setupErrorLog() rewrite
2017-05-08 13:27:51 +02:00
Gwendal Roué
63e8742fb1
TODO.md
2017-05-05 13:27:46 +02:00
Gwendal Roué
192a958fdc
Fix manual installation git checkout command
2017-05-05 13:26:58 +02:00
Gwendal Roué
f606e633da
Drop RowConvertible.awakeFromFetch
2017-05-05 13:20:37 +02:00
Gwendal Roué
e2d2b031a5
Bump Ruby version for jazzy
2017-05-05 10:16:30 +02:00
Gwendal Roué
c203a972ff
v0.107.0
2017-05-05 08:23:17 +02:00
Gwendal Roué
44df1aa0bd
Update GRDBOSXPerformanceTests for Swift 3.1
2017-05-05 08:16:06 +02:00
Gwendal Roué
d010587f44
README.md: more direct links to DemoApps/GRDBDemoiOS
2017-05-05 08:05:49 +02:00
Gwendal Roué
840525c11a
Improve DemoApps/GRDBDemoiOS/Database.swift
2017-05-05 08:05:28 +02:00
Gwendal Roué
a0881d851c
Drop attempt to have Carthage build SQLCipher (undo changes for #41 )
2017-05-04 22:50:03 +02:00
Gwendal Roué
ac00e05a72
CHANGELOG.md
2017-05-04 20:21:45 +02:00
Gwendal Roué
4938568ea7
Refactor statement cache, allow SQLRequest to use cached statements
2017-05-04 20:11:45 +02:00
Gwendal Roué
cb4c07a5fb
TODO.md
2017-05-04 18:05:49 +02:00
Gwendal Roué
4edd76341e
There are two statement caches: one for statements generated by the user, and one for the statements generated by GRDB. Those are separated so that GRDB has no opportunity to inadvertently modify the arguments of user statements.
2017-05-04 18:05:36 +02:00
Gwendal Roué
bb8aee8965
TODO.md
2017-05-04 17:17:36 +02:00
Gwendal Roué
5d97d2d680
TODO.md
2017-05-02 10:16:50 +02:00
Gwendal Roué
3eb2646cad
More SPM tests
2017-04-23 19:04:28 +02:00
Gwendal Roué
96c3dadb7b
Tests/README.md
2017-04-23 18:38:17 +02:00
Gwendal Roué
4d9a238c27
Merge pull request #208 from groue/SPMTests
...
Support for Swift Package Manager tests
2017-04-23 16:40:53 +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é
3edad29501
Documentation: Database.logError is now available through SPM ( #207 )
2017-04-22 19:27:20 +02:00
Gwendal Roué
392a004bd1
Add @zmeyc to the thanks section
2017-04-22 19:20:53 +02:00
Gwendal Roué
7f8ec17511
Merge pull request #207 from zmeyc/pr_spm_logging
...
Enable logging when using SPM
2017-04-22 19:17:53 +02:00
Gwendal Roué
d9e6fd3b89
Bump CSQLite dependency to 0.2
2017-04-22 19:17:33 +02:00
Andrey Fidrya
6cf59838a6
Enable logging when using SPM
2017-04-22 20:04:09 +03:00
Gwendal Roué
3efa60ce8a
Merge pull request #206 from groue/ErrorLoggingCallback
...
Error logging callback
2017-04-22 18:27:37 +02:00
Gwendal Roué
7a90cd2562
Database.logError documentation
2017-04-22 17:58:19 +02:00
Gwendal Roué
4cdbe4f0f4
Use Database.logError in GRDBDemoiOS
2017-04-22 17:57:56 +02:00
Gwendal Roué
595408b351
Rename logErrorFunction into logError
2017-04-22 17:57:33 +02:00
Gwendal Roué
4ee1fd9f65
Database.logErrorFunction for GRDBCipher and GRDBCustomSQLite
2017-04-22 17:26:16 +02:00
Gwendal Roué
f16f4d557a
Database.logErrorFunction for CocoaPods
2017-04-22 16:51:22 +02:00
Gwendal Roué
27314d1af3
No Database.logErrorFunction for SPM
2017-04-22 16:35:12 +02:00
Gwendal Roué
4f14fb0ccd
Support for SQLITE_CONFIG_LOG via Database.logErrorFunction
2017-04-22 15:11:01 +02:00
Gwendal Roué
9b2a8f847f
Remove some useless availability checks in tests
2017-04-22 15:04:47 +02:00
Gwendal Roué
dae4ae1c6b
Reduce internal coupling
2017-04-22 11:12:43 +02:00
Gwendal Roué
c8023adff1
Cleanup
2017-04-20 14:49:08 +02:00
Gwendal Roué
c34ac0f17b
Cleanup
2017-04-20 14:37:06 +02:00
Gwendal Roué
2222a1bfe2
doc: Fix links to Github in jazzy-generated doc
2017-04-14 15:59:06 +02:00
Gwendal Roué
3134809c22
minor
2017-04-13 13:51:46 +02:00
Gwendal Roué
203e8c41ce
Better test_install_SPM
2017-04-12 14:39:53 +02:00
Gwendal Roué
5804c044d5
make test_install_SPM
2017-04-12 14:24:11 +02:00
Gwendal Roué
80c378df21
v0.106.1
2017-04-12 13:16:39 +02:00
Gwendal Roué
0f3bc5922d
Documentation about Swift Package Manager
2017-04-12 12:54:23 +02:00
Gwendal Roué
1810edfa6e
Sample SPM executable
2017-04-11 13:58:41 +02:00
Gwendal Roué
362b8d3243
0.106.0
2017-04-11 13:50:28 +02:00
Gwendal Roué
b06f76512d
Merge pull request #202 from zmeyc/pr_spm1
...
SPM support
2017-04-11 13:37:23 +02:00
Gwendal Roué
6c2b421b57
Add test_framework_SPM target to Makefile
2017-04-11 13:33:36 +02:00
Gwendal Roué
63b3b4225a
Rename package to GRDB, and rename SQLite module to CSQLite
2017-04-11 13:22:26 +02:00
Gwendal Roué
5b7ad40163
[whitespace]
2017-04-11 11:05:49 +02:00
Andrey Fidrya
1751fb38e5
SPM support
2017-04-08 21:32:58 +03:00
Gwendal Roué
184a2bcf18
Typo
2017-04-06 14:19:40 +02:00
Gwendal Roué
57fce9d20f
Link to http://github.com/RxSwiftCommunity/RxGRDB
2017-04-06 14:18:54 +02:00
Gwendal Roué
d354157c0e
v0.105.0
2017-04-06 13:07:03 +02:00
Gwendal Roué
de78e065cb
CHANGELOG.md
2017-04-06 11:40:01 +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é
6c6bbf6294
Fix failing test for SELECT COUNT(*) FROM table observation
2017-04-06 10:35:41 +02:00
Gwendal Roué
72f04367d9
TODO.md
2017-04-05 11:41:19 +02:00
Gwendal Roué
7395305f87
Failing test for SELECT COUNT(*) FROM table observation
2017-04-05 10:45:37 +02:00
Gwendal Roué
1c62a665c7
TODO.md
2017-04-03 14:21:54 +02:00
Gwendal Roué
518919aeee
Merge pull request #194 from groue/modulemapRefactor
...
Xcode 8.3 support
2017-04-03 14:19:39 +02:00
Gwendal Roué
da798b3748
v0.104.0
2017-04-03 14:14:00 +02:00
Gwendal Roué
441e936d88
ReleaseProcess.md
2017-04-03 14:12:24 +02:00
Gwendal Roué
23def44101
Stop requiring that Xcode is located at /Applications/Xcode.app. Add a word about Carthage, and leave the door open.
2017-04-03 14:02:39 +02:00
Gwendal Roué
35fafdb476
CHANGELOG.md
2017-04-03 13:47:12 +02:00
Gwendal Roué
0e20e6a0bb
Update manual installation instructions for WatchOS
2017-04-03 13:40:38 +02:00
Gwendal Roué
04654a5c85
Functional GRDBDemoWatchOS
2017-04-03 13:37:36 +02:00
Gwendal Roué
e17c4e5271
GRDBDemoWatchOS
2017-04-03 13:10:24 +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é
7bc3582525
SelectStatement.SelectionInfo.description
2017-04-02 14:18:48 +02:00
Gwendal Roué
1ad00e1102
Custom SQLite 3.18.0
2017-04-01 19:54:38 +02:00
Gwendal Roué
311ad6b940
New public APIs: SelectStatement.selectionInfo, DatabaseEventKind.impacts(_:). Those new APIs expose database observation abilities that were reserved to FetchedRecordsController, and open a better support for GRDB reactive extensions.
2017-04-01 16:01:55 +02:00
Gwendal Roué
c65f3289a3
TODO.md
2017-04-01 15:06:48 +02:00
Gwendal Roué
cfeaf2f376
TODO.md
2017-04-01 15:04:59 +02:00
Gwendal Roué
8434e856f4
Update documentation about access to the raw SQLite C API since it is now embedded right into the GRDB module.
2017-04-01 14:59:25 +02:00
Gwendal Roué
35a700027c
TODO.md
2017-04-01 14:40:14 +02:00
Gwendal Roué
2196158f58
Run GRDBDemoiOS in Release configuration
2017-04-01 14:13:38 +02:00
Gwendal Roué
56d5ca180a
Update ReleaseProcess.md
2017-04-01 14:02:07 +02:00
Gwendal Roué
60326b8f65
Update ReleaseProcess.md
2017-04-01 14:01:46 +02:00
Gwendal Roué
363943583d
Update ReleaseProcess.md
2017-04-01 14:01:19 +02:00
Gwendal Roué
4348889865
Drop mention of Carthage support from documentation
2017-04-01 14:00:05 +02:00
Gwendal Roué
50e50e82e1
Makefile cleanup and documentation
2017-04-01 13:38:00 +02:00
Gwendal Roué
fd30f16364
Stop testing Carthage (see https://github.com/Carthage/Carthage/issues/1867 )
2017-04-01 08:49:05 +02:00
Gwendal Roué
21879db549
Bootstrap GRDBCustom / GRDBCipher tests
2017-03-31 18:18:38 +02:00
Gwendal Roué
313b9d64f6
Bootstrap GRDBCustom / GRDBCipher tests
2017-03-31 13:44:37 +02:00
Gwendal Roué
87be97a38d
Some tests require submodules
2017-03-31 13:27:56 +02:00
Gwendal Roué
4f5054d792
Share more tested schemes
2017-03-31 13:27:35 +02:00
Gwendal Roué
51545c4db0
Share tested schemes + test GRCBCipheriOS installation (addresses #193 )
2017-03-31 13:23:08 +02:00
Gwendal Roué
98fb48eb1d
Makefile adaptation for Xcode 8.1 (test up to iOS 10.1)
2017-03-31 09:22:05 +02:00
Gwendal Roué
fa2817ab52
GRDBCipher test app
2017-03-31 08:53:37 +02:00
Gwendal Roué
2a35601ff4
make test checks iOS 8.1
2017-03-31 08:32:03 +02:00
Gwendal Roué
ed70058a1f
ReleaseProcess.md
2017-03-31 08:14:42 +02:00
Gwendal Roué
79a1b65547
ReleaseProcess.md
2017-03-31 08:01:18 +02:00
Gwendal Roué
cccddd8455
make test checks manual install, pod lint, and carthage build
2017-03-31 07:54:49 +02:00
Gwendal Roué
9a4d9f7f1f
make test
2017-03-31 06:19:34 +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é
d7e68c340c
Disable fragile test DatabasePoolBackupTests.testConcurrentWriteDuringBackup
2017-03-31 05:59:40 +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é
91f18323be
Merge branch 'master' of github.com:groue/GRDB.swift into modulemapRefactor
...
Conflicts:
.gitignore
2017-03-30 20:12:55 +02:00
Gwendal Roué
09bbb50e1f
README.md
2017-03-28 08:36:52 +02:00
Gwendal Roué
a4eebfeeb2
Documentation: more explicit dbQueue.inDatabase wrapping in key chapters (addresses #189 from @pumplerod)
2017-03-28 08:33:52 +02:00
Gwendal Roué
62d19c9d11
Xcode8.3 WIP
2017-03-28 08:02:08 +02:00
Gwendal Roué
07142b3052
TODO.md
2017-03-27 09:45:58 +02:00
Gwendal Roué
a304bc0eed
README.md
2017-03-27 09:42:22 +02:00
Gwendal Roué
857b7e53d9
v0.103.0
2017-03-26 18:39:16 +02:00
Gwendal Roué
2987bb129c
CocoaPods test application
2017-03-26 18:32:50 +02:00
Gwendal Roué
8da9ad696b
Fix signing of GRDBDemoWatchOS
2017-03-26 18:00:33 +02:00
Gwendal Roué
8720d6937a
Remove inaccurate documentation for int64EqualDouble(_:_:): Swift standard library does not aim at providing this function.
2017-03-26 17:55:30 +02:00
Gwendal Roué
9262834ffb
Fix the test project for Carthage installation of GRDB on iOS
2017-03-26 17:55:24 +02:00
Gwendal Roué
a41b1a5a2d
Remove the test project for the no longer supported installation of GRDBCipher via Carthage
2017-03-26 17:55:18 +02:00
Gwendal Roué
1e362fdd53
Prefer write { $0... } over write { db in db... } for one liners
2017-03-26 17:55:06 +02:00
Gwendal Roué
8dfe166944
CocoaPods test
2017-03-26 16:32:35 +02:00
Gwendal Roué
8d0feea2c2
Cocoapods support
2017-03-26 16:28:44 +02:00
Gwendal Roué
47d9f5920f
Cocoapods support
2017-03-26 16:24:18 +02:00
Gwendal Roué
25eca4146c
Cocoapods support
2017-03-26 16:15:24 +02:00
Gwendal Roué
61938601fd
SDK-relative sqlite3.h
2017-03-26 16:04:41 +02:00
Gwendal Roué
61d114f297
Remove inaccurate documentation for int64EqualDouble(_:_:): Swift standard library does not aim at providing this function.
2017-03-26 15:38:37 +02:00
Gwendal Roué
eddebfbba5
Prefer write { $0... } over write { db in db... } for one liners
2017-03-26 15:38:03 +02:00
Gwendal Roué
323d828eb7
Fix the test project for Carthage installation of GRDB on iOS
2017-03-26 15:37:46 +02:00
Gwendal Roué
bb763f7315
Remove the test project for the no longer supported installation of GRDBCipher via Carthage
2017-03-26 15:37:39 +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é
56bd3513a3
Fix FTS3 pattern test so that it compiles when support for FTS5 is available
2017-03-26 15:14:18 +02:00
Gwendal Roué
ddcf26058b
CHANGELOG.md
2017-03-26 15:10:47 +02:00
Gwendal Roué
ba4ee3f1fc
Bugfix
2017-03-26 15:09:05 +02:00
Gwendal Roué
dedfd5cd33
Document that extended result codes are not always available ( #171 , #180 )
2017-03-26 15:07:04 +02:00
Gwendal Roué
b5296f4206
Remove warning from documentation now that availability checks for FTS3Pattern(matchingAnyTokenIn:), FTS3Pattern(matchingAllTokensIn:), FTS3Pattern(matchingPhrase:) have been added
2017-03-26 14:52:22 +02:00
Gwendal Roué
e2e2c58d9f
Add availability checks for FTS3Pattern(matchingAnyTokenIn:), FTS3Pattern(matchingAllTokensIn:), FTS3Pattern(matchingPhrase:)
2017-03-26 14:51:11 +02:00
Gwendal Roué
7a90b9ce23
Add availability checks for FTS3 unicode61 tokenizer, FTS4 unindexed columns, and partial indexes.
2017-03-26 14:41:15 +02:00
Gwendal Roué
ae0928e686
TODO.md
2017-03-26 13:58:26 +02:00
Gwendal Roué
b815ad7a8c
Apply SQLCipher advice from https://discuss.zetetic.net/t/important-advisory-sqlcipher-with-xcode-8-and-new-sdks/1688
2017-03-26 13:53:39 +02:00
Gwendal Roué
06cca9033a
TODO.md
2017-03-26 13:33:46 +02:00
Gwendal Roué
5302364139
[format]
2017-03-26 13:33:39 +02:00
Gwendal Roué
78b7fc6169
Workaround PRAGMA table_info bug: check against SQLite version instead of build options
2017-03-26 13:32:01 +02:00
Gwendal Roué
b159c30cf1
SQLITE_CONSTRAINT_FOREIGNKEY was added in SQLite 3.7.16 (iOS 8.2+ and OS X 10.10+)
2017-03-26 13:17:59 +02:00
Gwendal Roué
5c7712bf6c
PRAGMA query_only was added in SQLite 3.8.0 (iOS 8.2+ and OS X 10.10+)
2017-03-26 13:17:25 +02:00
Gwendal Roué
e64b766599
Expose withoutRowID table creation option for custom SQLite builds and SQLCipher.
2017-03-26 12:48:21 +02:00
Gwendal Roué
89a852286c
Reading list
2017-03-26 11:48:13 +02:00
Gwendal Roué
1e312cfbb1
TODO.md
2017-03-25 16:56:11 +01:00
Gwendal Roué
8d4522227c
Replace all assertNoError and try! with throwing tests
2017-03-25 16:31:54 +01:00
Gwendal Roué
eee39a7c0b
Improve unexpected error reporting
2017-03-25 14:15:04 +01:00
Gwendal Roué
bd58c18bb0
Simplify cursor step failure steps
2017-03-25 14:14:42 +01:00
Gwendal Roué
685b3a4f21
SQLite 3.17.0 has a big FTS5 bug: don't ship it.
2017-03-25 14:13:36 +01:00
Gwendal Roué
4e82a482d1
DatabaseCursor: test preservation of custom error codes
2017-03-25 14:12:47 +01:00
Gwendal Roué
1214e28563
Remove the "DatabaseReader.read does not prevent a queue from writing." sentence from the documentation: it is no longer true
2017-03-24 20:18:54 +01:00
Gwendal Roué
9170ed6e3a
CHANGELOG.md
2017-03-24 20:12:21 +01:00
Gwendal Roué
f2bb8bb8af
Remove DatabaseValue.value()
2017-03-24 20:05:02 +01:00
Gwendal Roué
24d74698ef
TODO.md
2017-03-24 18:39:49 +01:00
Gwendal Roué
ba615c15cb
Documentation, and remove DatabaseQueue.writeInTransaction
2017-03-24 18:39:14 +01:00
Gwendal Roué
88f206e7f5
New DatabaseReader.read() guarantee: database modifications are prevented
2017-03-24 09:18:24 +01:00
Gwendal Roué
511740ccd7
Warn against slow compilation in the documentation of Persistable.persistentDictionary, and strip down the documentation of the Record class hoping readers will check detailed protocol documentations (addresses #188 )
2017-03-23 08:00:46 +01:00
Gwendal Roué
7a2fab1126
Stop relying on CocoaDocs since http://blog.cocoapods.org/CocoaDocs-Documentation-Sunsetting/
2017-03-19 15:56:38 +01:00
Gwendal Roué
fd435f0941
make doc with Jazzy
2017-03-19 15:49:53 +01:00
Gwendal Roué
ffd5a8b321
gh-pages consistency
2017-03-19 15:49:39 +01:00
Gwendal Roué
5454e43bc4
Use Int(exactly:) and Int32(exactly:) initializers
2017-03-18 17:00:06 +01:00
Gwendal Roué
a94fd2d127
TODO.md
2017-03-18 13:52:45 +01:00
Gwendal Roué
14c53c5e3e
Have DatabasePool implementation better expose the write method and its readerPool as its fundamentals.
2017-03-17 09:06:13 +01:00
Gwendal Roué
b25648eea1
Have DatabaseQueue implementation better expose inDatabase as its fundamental method.
2017-03-17 09:05:42 +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
Gwendal Roué
e5b2be4346
README.md
2017-03-07 11:14:29 +01:00
Gwendal Roué
4cea442b59
README.md
2017-03-07 11:11:02 +01:00
Gwendal Roué
532f682fc7
Typo
2017-03-07 11:10:14 +01:00
Gwendal Roué
c2cd689c32
README.md
2017-03-07 11:09:00 +01:00
Gwendal Roué
c3e986eb56
Document that database pools require mastery of database transactions
2017-03-04 18:19:02 +01:00
Gwendal Roué
d91f4c244f
Documentation
2017-03-04 18:11:25 +01:00
Gwendal Roué
22b768963f
Typo
2017-03-04 18:05:54 +01:00
Gwendal Roué
57354cd1ef
README.md
2017-03-04 18:00:14 +01:00
Gwendal Roué
c74cc40d5c
CHANGELOG.md
2017-03-04 07:22:33 +01:00
Gwendal Roué
b867a74b6b
CHANGELOG.md
2017-03-03 08:15:31 +01:00
Gwendal Roué
7a10486492
DatabaseError conversion to NSError preserves extended result code
2017-03-03 08:14:36 +01:00
Gwendal Roué
f36b833654
CHANGELOG.md
2017-03-02 13:47:53 +01:00
Gwendal Roué
ef9206088e
v0.102.0
2017-03-02 13:39:09 +01:00
Gwendal Roué
e141b26411
Remove done TODOs
2017-03-02 13:38:41 +01:00
Gwendal Roué
1f4da13060
Add ReleaseProcess.md to project, for quick access
2017-03-02 13:38:29 +01:00
Gwendal Roué
4ec85e2f25
Merge pull request #181 from groue/RequestFetchCount
...
Let all requests count, introduce Request.fetchCount()
2017-03-02 13:01:23 +01:00
Gwendal Roué
842831d729
Merge branch 'master' into RequestFetchCount
2017-03-02 13:01:13 +01:00
Gwendal Roué
39a0b5672b
Merge pull request #180 from groue/Issue171
...
Activate extended result codes, and expose result codes as Swift constants
2017-03-02 12:59:27 +01:00
Gwendal Roué
2729892676
Merge branch 'master' into Issue171
2017-03-02 12:58:42 +01:00
Gwendal Roué
50318354a6
Merge branch 'master' into RequestFetchCount
2017-03-02 12:56:57 +01:00
Gwendal Roué
77593c8031
Fix RequestTests.swift so that it tests the Request protocol, not the concrete type that adopts it.
2017-03-02 10:54:27 +01:00
Gwendal Roué
3bfb9adb99
Document how to query external content tables (addresses #178 )
2017-03-02 08:42:19 +01:00
Gwendal Roué
deebf289de
Rename DatabaseMigrator.registerMigrationWithDisabledForeignKeyChecks to registerMigrationWithDeferredForeignKeyCheck
2017-03-02 08:29:45 +01:00
Gwendal Roué
d4e777900c
#171 : less TODO
2017-03-02 08:24:21 +01:00
Gwendal Roué
1b44683cfe
#171 : cleanup
2017-03-02 08:21:29 +01:00
Gwendal Roué
0ff53f0bd7
#171 : CHANGELOG
2017-03-02 08:03:01 +01:00
Gwendal Roué
a5cbf08a76
Documentation
2017-03-02 08:01:43 +01:00
Gwendal Roué
023fa8afc9
#171 : Missing upgrades to the new ResultCode APIs
2017-03-02 07:57:02 +01:00
Gwendal Roué
a721748de1
#171 : fix-it for DatabaseError.code
2017-03-02 07:56:48 +01:00
Gwendal Roué
ad112285e6
Wording
2017-03-01 14:41:34 +01:00
Gwendal Roué
fe05ac9753
#171 : Missing upgrades to the new ResultCode APIs
2017-03-01 14:21:14 +01:00
Gwendal Roué
b873162a6f
#171 : Preserve some extended result code that were lost
2017-03-01 14:19:48 +01:00
Gwendal Roué
846604cce5
Merge branch 'master' into Issue171
2017-03-01 14:12:31 +01:00
Gwendal Roué
b1ea970f62
#171 : ResultCode tests
2017-03-01 13:57:51 +01:00
Gwendal Roué
5bcfb7f488
#171 : ~= ResultCode operator
2017-03-01 13:27:19 +01:00
Gwendal Roué
1908f1b4f6
#171 : Documentation
2017-03-01 13:03:54 +01:00
Gwendal Roué
b0bf8e81aa
Better CHANGELOG
2017-03-01 10:10:18 +01:00
Gwendal Roué
4866ba0c84
Typo
2017-03-01 09:14:45 +01:00
Gwendal Roué
8dadf42504
#171 : CHANGELOG
2017-03-01 09:13:57 +01:00
Gwendal Roué
fc18b15106
#171 : Apply @hartbit's suggestion of having two DatabaseError properties: resultCode and extendedResultCode
2017-03-01 09:05:06 +01:00
Gwendal Roué
9b4e55be28
Documentation for Request.fetchCount() ( https://github.com/groue/GRDB.swift/issues/176#issuecomment-282783884 )
2017-03-01 08:24:43 +01:00
Gwendal Roué
8a4686984a
Tests for Request.fetchCount() ( https://github.com/groue/GRDB.swift/issues/176#issuecomment-282783884 )
2017-03-01 08:06:54 +01:00
Gwendal Roué
42ebffc4fc
Keep Request.fetchCount() simple ( https://github.com/groue/GRDB.swift/issues/176#issuecomment-282783884 )
2017-03-01 07:56:17 +01:00
Gwendal Roué
2d2c596f75
Add Request.fetchCount(). Implements https://github.com/groue/GRDB.swift/issues/176#issuecomment-282783884
2017-03-01 05:32:52 +01:00
Gwendal Roué
fa464b489d
TODO
2017-02-28 04:35:18 +01:00
Gwendal Roué
b531504912
TODOs for #171 , #172 , #176 , #178
2017-02-28 03:19:23 +01:00
Gwendal Roué
e4a346995b
#171 : rename ResultCode.code into ResultCode.resultCode (@hartbit's suggestion)
2017-02-26 17:24:44 +01:00
Gwendal Roué
f0d1f2387d
#171 : always use extended result codes
2017-02-26 15:49:14 +01:00
Gwendal Roué
7eb592df79
#171 : introduce ResultCode
2017-02-26 15:36:21 +01:00
Gwendal Roué
a704c0ad35
Add @hartbit to the thanks section
2017-02-25 17:07:11 +01:00
Gwendal Roué
acf4077878
Merge pull request #174 from hartbit/fix-record-persistenceconflictpolicy
...
Fix Record's persistenceConflictPolicy
2017-02-25 15:43:56 +01:00
David Hart
ba50771007
add tests
2017-02-22 23:02:44 +01:00
David Hart
898db8b7d4
fix Record getting the default implementation of persistenceConflictPolicy
2017-02-22 19:33:22 +01:00
Gwendal Roué
d452a00592
Warning against FTS3Pattern initializers before iOS8.2 and macOS 10.10
2017-02-01 14:13:39 +01:00
Gwendal Roué
4ab8fb359b
Restore some tests that were avoided because of linker errors (all we needed was to set deployment targets on test targets)
2017-02-01 13:48:34 +01:00
Gwendal Roué
29e6082663
Fix registerMigrationWithDisabledForeignKeyChecks for legacy sqlite
2017-02-01 13:36:20 +01:00
Gwendal Roué
7c6197b1fc
TODO: don't use fts3tokenize before SQLite 3.7.17
2017-02-01 13:31:36 +01:00
Gwendal Roué
1e0e40912b
GRDBiOS tests on iOS8.1
2017-02-01 13:28:08 +01:00
Gwendal Roué
ff84638df8
Documentation
2017-01-31 09:06:45 +01:00
Gwendal Roué
90dee9c171
Documentation
2017-01-30 09:08:27 +01:00
Gwendal Roué
53873c7864
Rewrite the "How do I close a database connection?" FAQ
2017-01-26 06:20:48 +01:00
Gwendal Roué
f60a9708b2
Link to the Xcode8.3beta branch
2017-01-25 18:20:34 +01:00
Gwendal Roué
84497bfba7
TODO.md
2017-01-24 08:53:14 +01:00
Gwendal Roué
4dfd672c04
Compound unique keys: preserve index ordering in generated SQL queries
2017-01-22 16:51:02 +01:00
Gwendal Roué
d8b64aa2f4
Use sqlite3_close_v2 in GRDBCipher and GRDBCustomSQLite
2017-01-22 16:04:10 +01:00
Gwendal Roué
4968100420
Expose DatabaseMigrator.registerMigrationWithDisabledForeignKeyChecks to GRDBCipher and GRDBCustomSQLite
2017-01-22 14:37:14 +01:00
Gwendal Roué
b52687f356
Documentation
2017-01-21 07:51:42 +01:00
Gwendal Roué
71d4565aa5
Typo
2017-01-20 18:12:19 +01:00
Gwendal Roué
42ff295092
v0.101.1
2017-01-20 14:03:26 +01:00
Gwendal Roué
f0758e2a6c
Darn
2017-01-20 14:02:27 +01:00
Gwendal Roué
33e93ea156
v0.101.0
2017-01-20 13:53:54 +01:00
Gwendal Roué
9f212184fd
FetchedRecordsController.allowBackgroundChangesTracking(in:)
2017-01-20 12:16:14 +01:00
Gwendal Roué
1c16d4bd3f
Merge branch 'BackgroundFetchedRecordsController' of github.com:groue/GRDB.swift
2017-01-20 12:07:19 +01:00
Gwendal Roué
0008ffc735
TransactionObserver: update documentation about database event filtering
2017-01-20 11:13:57 +01:00
Gwendal Roué
e5dce929bb
Data Protection documentation
2017-01-20 09:12:22 +01:00
Gwendal Roué
40bcf96c2b
Data Protection documentation
2017-01-20 08:54:23 +01:00
Gwendal Roué
519d4470e3
Drop Configuration.fileAttributes
2017-01-20 08:22:46 +01:00
Gwendal Roué
cdf18b5480
README
2017-01-19 17:12:00 +01:00
Gwendal Roué
dbe4965438
DatabaseEventKind.tableName
2017-01-19 10:12:30 +01:00
Gwendal Roué
899b9b07dd
Merge branch 'master' of github.com:groue/GRDB.swift into BackgroundFetchedRecordsController
2017-01-19 10:10:38 +01:00
Gwendal Roué
54d8a03e87
README
2017-01-19 08:56:34 +01:00
Gwendal Roué
052ad87da0
README
2017-01-19 07:56:02 +01:00
Gwendal Roué
2a515b1d8d
README
2017-01-19 07:55:20 +01:00
Gwendal Roué
dad48df039
TODO
2017-01-18 16:05:49 +01:00
Gwendal Roué
ee798df57d
Documentation
2017-01-18 15:54:13 +01:00
Gwendal Roué
eed21b8f8f
Typo
2017-01-18 15:48:24 +01:00
Gwendal Roué
29938f5703
Documentation
2017-01-18 15:47:45 +01:00
Gwendal Roué
52bcf97d73
TODO.md
2017-01-18 15:02:06 +01:00
Gwendal Roué
9934184f5f
README
2017-01-18 08:51:48 +01:00
Gwendal Roué
fdf33cbf81
Experimental: FetchedRecordsController.allowBackgroundTracking
2017-01-17 15:01:14 +01:00
Gwendal Roué
34458bc86e
README
2017-01-17 09:08:52 +01:00
Gwendal Roué
9b061b3aa7
README
2017-01-17 09:06:34 +01:00
Gwendal Roué
2fa6acef1c
README
2017-01-17 09:01:48 +01:00
Gwendal Roué
3afb1f145a
README
2017-01-17 08:54:01 +01:00
Gwendal Roué
b03b75d125
README
2017-01-17 08:53:17 +01:00
Gwendal Roué
b9756f0bdc
README
2017-01-17 08:39:52 +01:00
Gwendal Roué
c3234cb79f
README
2017-01-17 08:33:51 +01:00
Gwendal Roué
828ab97837
README
2017-01-17 08:32:26 +01:00
Gwendal Roué
ac66510f32
README organization
2017-01-17 08:31:27 +01:00
Gwendal Roué
599397b6f7
Typo
2017-01-17 08:30:42 +01:00
Gwendal Roué
e230f5d358
Introduction
2017-01-17 08:29:36 +01:00
Gwendal Roué
91486f1b70
TODO.md
2017-01-12 08:04:01 +01:00
Gwendal Roué
95e6de8654
Time to jump into 2017
2017-01-10 14:19:41 +01:00
Gwendal Roué
784baaec46
v0.100.0
2017-01-10 13:58:27 +01:00
Gwendal Roué
6adaca568f
Copyright (C) 2017 Gwendal Roué
2017-01-10 13:53:13 +01:00
Gwendal Roué
bcdcceb809
Cleanup
2017-01-10 13:38:51 +01:00
Gwendal Roué
de3d075ff2
Updated documentation for #160
2017-01-10 13:33:37 +01:00
Gwendal Roué
c5f3aa21b3
FetchedRecordsController documentation
2017-01-10 13:05:17 +01:00
Gwendal Roué
9831b0e3d4
FetchedRecordsController.setRequest() uses TypedRequest
2017-01-10 08:23:09 +01:00
Gwendal Roué
24a8df801f
Upgrade SQLite to v3.16.2
2017-01-10 08:16:00 +01:00
Gwendal Roué
e0cfd404a1
Update GRDBDemoiOS
2017-01-10 08:03:21 +01:00
Gwendal Roué
0e62c3455b
GRDBiOS tests: enable code coverage
2017-01-10 07:59:56 +01:00
Gwendal Roué
9cd5a7926a
TODO: upgrade SQLite to v3.16.2
2017-01-06 18:54:00 +01:00
Gwendal Roué
8e4995c8d9
Upgrade SQLite to v3.16.1
2017-01-06 08:51:25 +01:00
Gwendal Roué
ca5fc1e8fc
Documentation
2017-01-06 08:43:16 +01:00
Gwendal Roué
14dca4667a
Simplify FetchedRecordsController callbacks API
2017-01-06 08:40:09 +01:00
Gwendal Roué
ebff14adac
Cleanup
2017-01-06 08:24:50 +01:00
Gwendal Roué
51f02ed46e
Move TableMapping.primaryKeyFunction and primaryKeyRowComparator into TableMapping.swift
2017-01-06 08:19:07 +01:00
Gwendal Roué
03740d0918
Remove FetchedRecordsController compareRecordsByPrimaryKey initializer option
2017-01-06 08:16:57 +01:00
Gwendal Roué
c83a16e22e
FetchedRecordsController initialisers use TypedRequest
2017-01-06 08:12:14 +01:00
Gwendal Roué
e1bf662884
TODO post #160
2017-01-04 06:53:57 +01:00
Gwendal Roué
d866bc9044
Row adopts Hashable
2017-01-04 06:52:57 +01:00
Gwendal Roué
fd0e4c20ee
CHANGELOG.md
2017-01-04 06:47:53 +01:00
Gwendal Roué
55ca0a80b6
Restore test that one can change the set of columns tracked by a fetched records controller
2017-01-04 06:43:17 +01:00
Gwendal Roué
eeaf3dc2cf
Merge branch 'fetched_records_events_platforms' of https://github.com/reTXT/GRDB.swift
2017-01-04 06:32:18 +01:00
Gwendal Roué
467b948349
Another diff algorithm to look at
2017-01-03 16:40:47 +01:00
Kevin Wooten
f368af3d02
Support “TableViewEvent” on all all platforms
...
* TableViewEvent features of FetchedRecordsController supported on all platforms
* Renamed TableViewEvent to FetchedRecordsChangeEvent
* Renamed TableViewChange to FetchedRecordsChange
2016-12-30 00:30:23 -07:00
Gwendal Roué
0f34ee7d16
Revert "DatabaseError.code is now Database.ResultCode"
...
This reverts commit 968942f128 .
2016-12-29 13:32:29 +01:00
Gwendal Roué
2fe89fc41b
Documentation
2016-12-28 13:05:29 +01:00
Gwendal Roué
968942f128
DatabaseError.code is now Database.ResultCode
2016-12-28 11:55:47 +01:00
Gwendal Roué
b5fae096a9
Typo
2016-12-23 07:28:48 +01:00
Gwendal Roué
5cad9a1071
Documentation
2016-12-23 07:28:22 +01:00
Gwendal Roué
f4a350c3d0
Typo
2016-12-23 07:22:11 +01:00
Gwendal Roué
89885ed4d9
Document the scope of DatabaseWriter DatabaseReader ( #159 )
2016-12-23 07:18:39 +01:00
Gwendal Roué
612878d3b1
v0.99.2
2016-12-22 08:30:45 +01:00
Gwendal Roué
65d0bb6a90
TODO.md
2016-12-22 08:29:07 +01:00
Gwendal Roué
484b440816
Database.cachedSelectStatement() no longer returns a statement that can not be reused because it has already failed.
2016-12-21 18:59:23 +01:00
Gwendal Roué
92d78515c4
Failing test for cached select statements that have failed
2016-12-21 18:53:55 +01:00
Gwendal Roué
341bedd7ca
Failing test for cached select statements that have failed
2016-12-21 18:46:01 +01:00
Gwendal Roué
e9f54f1841
TODO.md
2016-12-21 17:52:58 +01:00
Gwendal Roué
4c4af5f1fc
TODO.md
2016-12-21 09:11:23 +01:00
Gwendal Roué
2558cd9356
v0.99.1
2016-12-21 06:06:18 +01:00
Gwendal Roué
4670026c92
Fix #157 for virtual tables
2016-12-21 06:06:12 +01:00
Gwendal Roué
302b9c2ac5
Fix #156 and #157
2016-12-21 05:44:19 +01:00
Gwendal Roué
000f1d02c3
Fix #156 ?
2016-12-20 19:17:12 +01:00
Gwendal Roué
63ce8429f2
TODO.md
2016-12-20 17:45:59 +01:00
Gwendal Roué
61993c4a50
CHANGELOG.md
2016-12-20 06:19:20 +01:00
Gwendal Roué
c248efc9fe
v0.99.0
2016-12-20 06:17:43 +01:00
Gwendal Roué
ec64ca2865
Documentation & Changelog
2016-12-20 06:15:03 +01:00
Gwendal Roué
d4fe7467b6
truncate optimization TODO
2016-12-20 06:14:41 +01:00
Gwendal Roué
e8a229103a
Fix #156
2016-12-20 06:01:28 +01:00
Gwendal Roué
e6cdab37b0
TODO.md
2016-12-19 10:12:56 +01:00
Gwendal Roué
26c88ffaec
TODO.md
2016-12-18 14:48:20 +01:00
Gwendal Roué
abf1c144c5
TODO.md
2016-12-16 19:58:13 +01:00
Gwendal Roué
c4e04d6e07
Tests for FetchedRecordsController error handling
2016-12-16 19:46:46 +01:00
Gwendal Roué
ed4826a67f
FetchedRecordsController error handling
2016-12-16 19:46:12 +01:00
Gwendal Roué
dee2df9e45
TODO.md
2016-12-16 18:45:40 +01:00
Gwendal Roué
acabd11d40
CHANGELOG.md
2016-12-16 14:21:47 +01:00
Gwendal Roué
8adea6ba1e
TODO.md
2016-12-16 14:20:50 +01:00
Gwendal Roué
c36be55c2f
FetchedRecordsController error handling WIP
2016-12-16 09:09:50 +01:00
Gwendal Roué
5355555568
Typo
2016-12-16 07:42:34 +01:00
Gwendal Roué
176735d4cf
v0.98.0
2016-12-16 05:35:39 +01:00
Gwendal Roué
3e01bca690
Documentation
2016-12-16 05:25:18 +01:00
Gwendal Roué
dd99d96c24
Documentation: links to StatementArgument reference
2016-12-16 05:12:34 +01:00
Gwendal Roué
22e8c59031
TODO.md
2016-12-16 05:02:37 +01:00
Gwendal Roué
44cefc89e4
Documentation for StatementArguments.append(contentsOf:) and operators +, &+, +=
2016-12-16 05:02:27 +01:00
Gwendal Roué
df15249f23
Tests for StatementArguments.append(contentsOf:) and operators +, &+, +=
2016-12-16 05:02:01 +01:00
Gwendal Roué
b737321cbd
Rows expressed as dictionary literals now preserve column ordering, and allow duplicated column names
2016-12-16 05:01:07 +01:00
Gwendal Roué
319380ec6c
CHANGELOG.md
2016-12-15 21:45:20 +01:00
Gwendal Roué
cae7cad5d4
TODO.md
2016-12-15 21:45:11 +01:00
Gwendal Roué
d4c7b41897
StatementArguments.append(contentsOf:) returns the updated values; operators +, &+, +=
2016-12-15 21:39:28 +01:00
Gwendal Roué
0ecf6b5aa1
Drop StatementArguments + StatementArguments (because it allows [1, 2] + ["foo": 1] to compile)
2016-12-15 17:50:56 +01:00
Gwendal Roué
cb51c03992
StatementArguments + StatementArguments
2016-12-15 17:47:01 +01:00
Gwendal Roué
5dca5fe3cb
StatementArguments.append(contentsOf:) refuses to update named arguments
2016-12-15 17:38:33 +01:00
Gwendal Roué
a7acd50159
StatementArguments.append(contentsOf:)
2016-12-15 17:26:23 +01:00
Gwendal Roué
e732ec9fe4
v0.97.0
2016-12-15 08:56:46 +01:00
Gwendal Roué
e4070c8b5e
Clarify scope of mismatched Swift/SQLite transaction state
2016-12-15 08:49:38 +01:00
Gwendal Roué
b171b5904b
CHANGELOG.md
2016-12-15 08:48:34 +01:00
Gwendal Roué
cc89c994c8
Remove useless self.
2016-12-15 08:13:33 +01:00
Gwendal Roué
fc2689e207
Fix Pool.get when an error prevents a pool item from being created (counting semaphore wasn't signaled). This fixes DatabasePool.read when read connection can not be established. Tests.
2016-12-15 08:09:17 +01:00
Gwendal Roué
a5979b2e47
Documentation
2016-12-15 05:16:36 +01:00
Gwendal Roué
2eb8e32705
Documentation
2016-12-15 05:12:31 +01:00
Gwendal Roué
b32984b1d6
Document improved error handling of DatabasePool.readFromCurrentState() and support for raw BEGIN/COMMIT/ROLLBACK transaction statements
2016-12-15 05:11:25 +01:00
Gwendal Roué
7e2fd9e690
DatabasePool.readFromCurrentState throws if it can't acquire an isolated database access
2016-12-15 04:57:31 +01:00
Gwendal Roué
a96dac8205
Now that we support free BEGIN/COMMIT transaction statements, DatabaesPool.readFromCurrentState will be able to handle read errors
2016-12-15 04:00:00 +01:00
Gwendal Roué
6afc2fd75a
Test that DatabasePool.read and readFromCurrentState open a transaction
2016-12-15 03:58:44 +01:00
Gwendal Roué
e44bd4684b
Fix SerializedDatabase crash when database is deallocated in its own queue
2016-12-15 03:57:46 +01:00
Gwendal Roué
115158a70e
Cleanup
2016-12-14 20:19:10 +01:00
Gwendal Roué
63577feca4
Documentation
2016-12-14 18:49:11 +01:00
Gwendal Roué
e8b91bf617
TODO.md
2016-12-14 18:47:42 +01:00
Gwendal Roué
567e6f1d82
TODO
2016-12-14 12:55:22 +01:00
Gwendal Roué
2b9b8ce536
Cleanup
2016-12-14 12:53:11 +01:00
Gwendal Roué
a0f4cb9271
Fix failing tests for TransactionObserver
2016-12-14 12:49:33 +01:00
Gwendal Roué
46f24c582c
Fix failing tests for Database.isInsideTransaction
2016-12-14 08:59:57 +01:00
Gwendal Roué
2068710a30
Failing test for Database.isInsideTransaction when transaction is implicitly rollbacked
2016-12-14 08:19:13 +01:00
Gwendal Roué
0568b5c6de
Tests for free BEGIN/COMMIT/ROLLBACK statements
2016-12-14 08:11:20 +01:00
Gwendal Roué
a0d9b9fbe8
Support for free BEGIN/COMMIT/ROLLBACK statements
2016-12-14 08:07:42 +01:00
Gwendal Roué
2190e449c1
Documentation fix
2016-12-13 09:13:46 +01:00
Gwendal Roué
f665b56e2b
Documentation
2016-12-12 08:46:50 +01:00
Gwendal Roué
041b6abd59
Documentation
2016-12-12 08:42:02 +01:00
Gwendal Roué
fb7ace729c
Documentation
2016-12-12 08:41:18 +01:00
Gwendal Roué
a68ed01003
Documentation
2016-12-12 08:38:03 +01:00
Gwendal Roué
95af80acde
Documentation
2016-12-12 08:21:27 +01:00
Gwendal Roué
18664b7e7e
Documentation
2016-12-12 08:13:31 +01:00
Gwendal Roué
37f9634389
v0.96.0
2016-12-11 21:32:31 +01:00
Gwendal Roué
a995b76f24
Request.adapted(_:) example
2016-12-11 21:13:18 +01:00
Gwendal Roué
cb81e50f71
Request.adapted(_:)
2016-12-11 21:07:52 +01:00
Gwendal Roué
f8ba151b76
Typo
2016-12-11 08:00:13 +01:00
Gwendal Roué
a0af67fce8
Documentation
2016-12-11 07:58:49 +01:00
Gwendal Roué
1467936c89
Typo
2016-12-11 07:57:36 +01:00
Gwendal Roué
0d3008b839
TODO.md
2016-12-10 05:37:35 +01:00
Gwendal Roué
517821632a
TODO.md
2016-12-10 05:29:37 +01:00
Gwendal Roué
0ed3e540c2
Typo
2016-12-10 05:20:27 +01:00
Gwendal Roué
c96bb16db6
Typo
2016-12-09 15:34:24 +01:00
Gwendal Roué
bd82441883
CHANGELOG.md
2016-12-09 15:32:41 +01:00
Gwendal Roué
18421cde49
v0.95.0
2016-12-09 13:39:21 +01:00
Gwendal Roué
6dea26932e
Merge branch 'master' of github.com:groue/GRDB.swift into TypedFetchRequest
2016-12-09 13:38:21 +01:00
Gwendal Roué
258768505e
Documentation
2016-12-09 13:32:00 +01:00
Gwendal Roué
8caa20b746
Refactor Row Adapters documentation
2016-12-09 13:26:02 +01:00
Gwendal Roué
5efc39af6a
Documentation
2016-12-09 12:49:05 +01:00
Gwendal Roué
66daa2eb29
RangeRowAdapter(CountableClosedRange<Int>)
2016-12-09 09:54:25 +01:00
Gwendal Roué
02687991e0
#153 : GRDB requires Xcode 8.1+
2016-12-09 09:44:20 +01:00
Gwendal Roué
1e64592a39
Documentation
2016-12-09 09:02:49 +01:00
Gwendal Roué
9d2b074bec
Restore MyPlayground content
2016-12-09 08:56:12 +01:00
Gwendal Roué
384a6f3d36
Documentation
2016-12-09 08:54:13 +01:00
Gwendal Roué
754d972253
Documentation
2016-12-09 08:50:31 +01:00
Gwendal Roué
9a29a6de5a
Documentation
2016-12-09 08:49:23 +01:00
Gwendal Roué
f6513932b0
Documentation
2016-12-09 08:48:26 +01:00
Gwendal Roué
368f91c4c5
Documentation
2016-12-08 21:02:03 +01:00
Gwendal Roué
f1f40f0289
CHANGELOG.md
2016-12-08 19:14:08 +01:00
Gwendal Roué
1d6671c11a
Introduce RangeRowAdapter
2016-12-08 19:07:11 +01:00
Gwendal Roué
9a0fa2f8b3
Documentation
2016-12-08 18:41:16 +01:00
Gwendal Roué
9b6ec9ffd3
Documentation
2016-12-08 18:28:23 +01:00
Gwendal Roué
e9b8fe5018
Documentation
2016-12-08 18:09:31 +01:00
Gwendal Roué
4a5cec8ed5
Documentation
2016-12-08 18:07:29 +01:00
Gwendal Roué
fa6f0ba77c
Documentation
2016-12-08 18:05:04 +01:00
Gwendal Roué
a8fc58e143
Documentation
2016-12-08 18:04:36 +01:00
Gwendal Roué
57961e04b3
Documentation
2016-12-08 18:00:36 +01:00
Gwendal Roué
6628aa7eaf
Documentation
2016-12-08 17:56:27 +01:00
Gwendal Roué
b7e492e03d
Documentation
2016-12-08 17:24:15 +01:00
Gwendal Roué
2f2dc86c9d
Documentation
2016-12-08 17:20:32 +01:00
Gwendal Roué
bfb2ff9390
Documentation
2016-12-08 16:02:35 +01:00
Gwendal Roué
cbd14c4b8c
Documentation
2016-12-08 14:03:22 +01:00
Gwendal Roué
cb08660a78
Rename FetchRequest -> Request
2016-12-08 13:56:05 +01:00
Gwendal Roué
87e1b075e0
Remove public qualifiers from README.md
2016-12-08 09:08:33 +01:00
Gwendal Roué
26a3682c6e
Documentation
2016-12-08 09:07:05 +01:00
Gwendal Roué
be30a2463a
Documentation
2016-12-08 08:50:29 +01:00
Gwendal Roué
cc1df37725
Documentation
2016-12-08 08:50:00 +01:00
Gwendal Roué
3510032050
Documentation
2016-12-08 08:48:20 +01:00
Gwendal Roué
07aecd3a95
Fix failing tests of TypedFetchRequest
2016-12-08 08:43:58 +01:00
Gwendal Roué
0e2a96b402
Failing tests from TypedFetchRequest
2016-12-08 08:39:06 +01:00
Gwendal Roué
603c121874
Documentation
2016-12-08 08:09:49 +01:00
Gwendal Roué
9e634196bf
Public SQLFetchRequest initializer
2016-12-08 07:48:28 +01:00
Gwendal Roué
4f20ea4570
Documentation
2016-12-08 07:14:58 +01:00
Gwendal Roué
c851708b3d
Documentation
2016-12-08 06:53:58 +01:00
Gwendal Roué
fd6a693bc8
Documentation
2016-12-08 06:48:53 +01:00
Gwendal Roué
bab56b4c9d
Documentation
2016-12-08 06:46:39 +01:00
Gwendal Roué
970da50910
Expose SQLFetchRequest, and cleanup
2016-12-07 23:20:58 +01:00
Gwendal Roué
0008e4b645
FetchedRecordsController's ObservedRequest adopts TypedFetchRequest
2016-12-07 22:39:53 +01:00
Gwendal Roué
89e7a62d99
Introduce AnyFetchRequest, TypedFetchRequest, AnyTypedFetchRequest
2016-12-07 22:21:19 +01:00
Gwendal Roué
74e89c542a
Cleanup
2016-12-07 18:45:14 +01:00
Gwendal Roué
d441483201
TODO.md
2016-12-07 11:07:57 +01:00
Gwendal Roué
f11d4fa613
v0.94.0
2016-12-07 10:48:25 +01:00
Gwendal Roué
11f9880ccf
Documentation
2016-12-07 10:12:31 +01:00
Gwendal Roué
8c440961c5
Database.columnCount(in:)
2016-12-07 10:10:59 +01:00
Gwendal Roué
8f5d7da934
Documentation
2016-12-07 09:03:15 +01:00
Gwendal Roué
807347da80
v0.93.1
2016-12-07 08:55:52 +01:00
Gwendal Roué
9364491316
CHANGELOG.md
2016-12-07 08:54:34 +01:00
Gwendal Roué
255e12849e
Fix failing test for change tracking of wrapped Record
2016-12-07 08:46:02 +01:00
Gwendal Roué
5c0fe81dcf
Failing test for change tracking of wrapped Record
2016-12-07 08:31:47 +01:00
Gwendal Roué
e34dee8852
Documentation
2016-12-05 19:40:25 +01:00
Gwendal Roué
a803420576
Documentation
2016-12-05 19:32:50 +01:00
Gwendal Roué
a1939bc295
Documentation
2016-12-05 19:31:02 +01:00
Gwendal Roué
8c7bbd937f
Documentation
2016-12-05 19:19:59 +01:00
Gwendal Roué
c87b2eaf7b
Documentation
2016-12-05 13:44:57 +01:00
Gwendal Roué
f156718d86
Documentation
2016-12-05 13:44:10 +01:00
Gwendal Roué
9cabfacb99
Documentation
2016-12-05 13:42:32 +01:00
Gwendal Roué
377237d7c0
Documentation
2016-12-05 13:35:36 +01:00
Gwendal Roué
13f2611b25
Documentation
2016-12-05 13:32:23 +01:00
Gwendal Roué
519dfd3be7
Update "fetching methods don't fail" guarantee
2016-12-05 13:27:31 +01:00
Gwendal Roué
c9c8d23ed5
Add a 3rd guarantee
2016-12-05 13:17:22 +01:00
Gwendal Roué
ed4ceb41b5
Documentation
2016-12-05 10:06:58 +01:00
Gwendal Roué
fb4643630b
Documentation
2016-12-05 09:23:09 +01:00
Gwendal Roué
999c3be21a
Documentation
2016-12-05 09:20:29 +01:00
Gwendal Roué
0793a0638e
Documentation
2016-12-05 09:13:45 +01:00
Gwendal Roué
8ad1d93cc6
Documentation
2016-12-05 08:23:49 +01:00
Gwendal Roué
afb4c9a00d
Documentation
2016-12-05 08:15:48 +01:00
Gwendal Roué
93d9516a07
Minor
2016-12-04 15:42:31 +01:00
Gwendal Roué
7950f23b6d
Typo
2016-12-04 09:34:58 +01:00
Gwendal Roué
178e206d19
v0.93.0
2016-12-04 07:42:13 +01:00
Gwendal Roué
d157308306
Upgrade SQLite to v3.15.2
2016-12-04 07:35:54 +01:00
Gwendal Roué
261eb19fea
Documentation
2016-12-04 06:51:14 +01:00
Gwendal Roué
6a973421e3
Fix typo
2016-12-03 08:48:14 +01:00
Gwendal Roué
325110c0cd
Documentation
2016-12-03 08:12:19 +01:00
Gwendal Roué
184360925d
Documentation
2016-12-02 21:20:08 +01:00
Gwendal Roué
58710196ca
CHANGELOG.md
2016-12-02 21:18:48 +01:00
Gwendal Roué
a3c57a01d6
Documentation
2016-12-02 20:05:00 +01:00
Gwendal Roué
63d26c2a51
Documentation
2016-12-02 19:44:02 +01:00
Gwendal Roué
8cd824f66f
Documentation
2016-12-02 19:43:30 +01:00
Gwendal Roué
1652990324
Rewrite readFromCurrentState documentation
2016-12-02 19:40:33 +01:00
Gwendal Roué
28221e398e
Documentation
2016-12-02 14:23:17 +01:00
Gwendal Roué
49fde8158f
Documentation
2016-12-02 14:02:17 +01:00
Gwendal Roué
59d1526a88
Documentation
2016-12-02 13:58:17 +01:00
Gwendal Roué
36fdf1f67b
Documentation
2016-12-02 13:57:19 +01:00
Gwendal Roué
a2771c262b
Documentation
2016-12-02 13:56:34 +01:00
Gwendal Roué
de4e753429
Documentation
2016-12-02 13:13:44 +01:00
Gwendal Roué
cac9104769
Documentation
2016-12-02 13:09:39 +01:00
Gwendal Roué
f56cb03a09
Documentation
2016-12-02 12:59:43 +01:00
Gwendal Roué
911d3ad722
Documentation: add a 3rd concurrency rule
2016-12-02 12:52:55 +01:00
Gwendal Roué
72a1984331
v0.92.1
2016-12-02 08:40:06 +01:00
Gwendal Roué
67035b8422
Database.execute(_:) iterates all rows of statements
2016-12-02 08:28:24 +01:00
Gwendal Roué
1c9416fbed
Cleanup
2016-12-02 06:38:13 +01:00
Gwendal Roué
cf25ced2e6
Documentation
2016-12-02 06:04:47 +01:00
Gwendal Roué
4003697850
TODO
2016-12-02 05:29:08 +01:00
Gwendal Roué
7f48c7abbe
v0.92.0
2016-12-01 19:35:30 +01:00
Gwendal Roué
b8d924ab6f
Restore DatabasePool in a stable state
2016-12-01 19:17:19 +01:00
Gwendal Roué
b58a4e90da
WIP DatabaseWriter/DatabaseReader improvements
2016-12-01 18:13:00 +01:00
Gwendal Roué
f781da41a4
WIP: the recent failing tests of DatabasePool.readFromCurrentState, a paramount brick of FetchedRecordsController, have led to a refactoring of the DatabaseWriter protocol, and DatabasePool.write { ... } always executing a transaction.
2016-12-01 14:12:20 +01:00
Gwendal Roué
c0695e80a8
Fix failing DatabasePool tests
2016-12-01 10:44:28 +01:00
Gwendal Roué
019363e56b
Failing tests for DatabasePool.read
2016-12-01 10:44:18 +01:00
Gwendal Roué
bf76567fdf
Remove useless code
2016-12-01 10:43:10 +01:00
Gwendal Roué
e64250c519
Documentation
2016-12-01 09:27:16 +01:00
Gwendal Roué
4d190cd055
Documentation
2016-12-01 09:24:56 +01:00
Gwendal Roué
fe02fd7284
Documentation
2016-12-01 09:23:56 +01:00
Gwendal Roué
d73ced98ad
Documentation
2016-12-01 09:22:22 +01:00
Gwendal Roué
ee5f915cca
Documentation
2016-12-01 09:20:34 +01:00
Gwendal Roué
d801f1f5fb
Failing test for DatabasePool.readFromCurrentState
2016-12-01 08:56:04 +01:00
Gwendal Roué
bd32afbed2
Rename DatabaseWriter.readFromWrite to readFromCurrentState
2016-12-01 08:55:47 +01:00
Gwendal Roué
226d98cf6b
CHANGELOG.md
2016-12-01 06:35:34 +01:00
Gwendal Roué
dc3b4d3770
CHANGELOG.md
2016-12-01 06:31:39 +01:00
Gwendal Roué
409169061e
CHANGELOG.md
2016-12-01 06:30:27 +01:00
Gwendal Roué
c539166747
Cleanup
2016-12-01 06:08:30 +01:00
Gwendal Roué
2bb199bc25
CHANGELOG.md
2016-12-01 05:20:27 +01:00
Gwendal Roué
6da9c50b9d
CHANGELOG.md
2016-12-01 05:19:00 +01:00
Gwendal Roué
8118f781d9
v0.91.0
2016-11-30 20:26:19 +01:00
Gwendal Roué
2e2f28d1bb
Documentation
2016-11-30 20:24:17 +01:00
Gwendal Roué
316bb91625
Documentation
2016-11-30 20:23:22 +01:00
Gwendal Roué
263adb157c
Update tests for SQLCipher
2016-11-30 19:34:09 +01:00
Gwendal Roué
18937bdcc4
Fixit files belong to GRDB
2016-11-30 18:49:17 +01:00
Gwendal Roué
948d7498bd
Expose fixit files into CocoaPods
2016-11-30 18:35:38 +01:00
Gwendal Roué
59ff18b508
Thanks @kdubb in the README
2016-11-30 14:07:19 +01:00
Gwendal Roué
baa9501c65
Fix-its for removed APIs. Update GRDBDemoiOS for FetchedRecordsController changes
2016-11-30 13:57:46 +01:00
Gwendal Roué
5c44f55ef6
FetchedRecordsController: remove some crash opportunities by compiling the fetch request statement right from the initializer and the setRequest() method.
2016-11-30 13:27:51 +01:00
Gwendal Roué
095778cf0f
Documentation
2016-11-30 10:53:57 +01:00
Gwendal Roué
2cec3f29d1
Statement.fetchCursor() no longer throws. TODO: Type.fetchCursor(statement) should not throw
2016-11-30 09:18:22 +01:00
Gwendal Roué
9523b88d77
CHANGELOG.md
2016-11-30 09:13:02 +01:00
Gwendal Roué
6bcab179d1
Classify all try! and fatalError into TODO, Programmer Error, or GRDB bug that needs to be fixed.
2016-11-30 08:56:45 +01:00
Gwendal Roué
fc1fdab51a
Documentation
2016-11-29 22:35:05 +01:00
Gwendal Roué
f9bb3defde
Documentation
2016-11-29 22:34:12 +01:00
Gwendal Roué
6075a92905
Documentation
2016-11-29 22:14:45 +01:00
Gwendal Roué
f495edfb3a
Improve Cursor test coverage
2016-11-29 21:11:12 +01:00
Gwendal Roué
6af47fa6ee
CHANGELOG.md
2016-11-29 19:03:15 +01:00
Gwendal Roué
972789dba3
Replace Array(Type.fetchCursor()) with Type.fetchAll()
2016-11-29 19:02:58 +01:00
Gwendal Roué
cec1ed8d3d
IteratorCursor has public initializers. Add joined() method for cursors of sequences.
2016-11-29 19:02:10 +01:00
Gwendal Roué
374963167a
Documentation
2016-11-29 17:29:25 +01:00
Gwendal Roué
ccb5826a25
Documentation
2016-11-29 14:27:15 +01:00
Gwendal Roué
527aed0ea3
Documentation
2016-11-29 14:17:41 +01:00
Gwendal Roué
a8e266377c
Documentation
2016-11-29 12:02:29 +01:00
Gwendal Roué
de57dc9410
TODO: think about supporting Cursor's underestimatedCount
2016-11-29 08:49:58 +01:00
Gwendal Roué
617f0c8c17
TODO: more Cursor methods so that it looks more like a sequence
2016-11-29 08:47:34 +01:00
Gwendal Roué
2e73199153
Cleanup FlattenCursor
2016-11-29 08:41:13 +01:00
Gwendal Roué
5b0b674988
DatabaseStore: *really* expose initialization error (addresses https://github.com/groue/GRDB.swift/pull/148#issuecomment-263376526 )
2016-11-29 08:21:43 +01:00
Gwendal Roué
d85a74570d
DatabaseStore: expose initialization error (addresses https://github.com/groue/GRDB.swift/pull/148#issuecomment-263376526 )
2016-11-29 08:20:36 +01:00
Gwendal Roué
bb1f8aab24
Drop Cursor.lazy
2016-11-29 06:35:09 +01:00
Gwendal Roué
0c4fb36827
Add RowFetchTests
2016-11-28 20:48:38 +01:00
Gwendal Roué
ec2017ff72
Cursor.enumerated, filter, flatMap, map now return cursors. Cursor.lazy returns a lazy sequence. Introduce AnyCursor. Force Cursor types to be classes.
2016-11-28 20:34:53 +01:00
Gwendal Roué
f3cc0a07bc
Update sample playgrounds
2016-11-28 16:33:14 +01:00
Gwendal Roué
5e2dc95331
DatabaseValueConvertible.fetchOne(): avoid double DatabaseValue conversion
2016-11-28 08:46:57 +01:00
Gwendal Roué
ee99abc266
Replace fetchCursor().next() with fetchOne()
2016-11-28 08:41:59 +01:00
Gwendal Roué
cbf4ab797d
TODO.md
2016-11-28 08:35:24 +01:00
Gwendal Roué
bbe0bfadd9
#147 : fetchCursor, fetchAll & fetchOne all throw sqlite3_prepare_v2 errors, sqlite3_step errors, and conversion errors (for DatabaseValueConvertible)
2016-11-27 20:13:58 +01:00
Gwendal Roué
35414e0afd
Update GRDBProfiling app
2016-11-27 19:29:50 +01:00
Gwendal Roué
90e99aac3b
TODO.md
2016-11-27 19:09:49 +01:00
Gwendal Roué
59506a97d6
Cleanup
2016-11-27 19:08:25 +01:00
Gwendal Roué
ebf9b0e4f1
Simplify tests for RowConvertible fetch requests
2016-11-27 18:44:54 +01:00
Gwendal Roué
b85a8b8b0b
#147 : DatabaseValueConvertible.fetchOne() can throw conversion errors
2016-11-27 18:21:04 +01:00
Gwendal Roué
f8029a6dc9
Remove a couple try!
2016-11-27 15:38:36 +01:00
Gwendal Roué
95eb9afeef
Cleanup
2016-11-27 15:37:03 +01:00
Gwendal Roué
87024f0426
QueryInterfaceSelectQueryDefinition.makeDeleteStatement() throws
2016-11-27 15:26:23 +01:00
Gwendal Roué
09697f2593
DAO.init() throws DatabaseError instead of crashing whenever table does not exist, or database can't be accessed
2016-11-27 15:23:00 +01:00
Gwendal Roué
e99e9f3e40
Migration.runWithDisabledForeignKeys(): throw error from PRAGMA foreign_keys = ON
2016-11-27 15:18:25 +01:00
Gwendal Roué
b8c05e551d
Cleanup
2016-11-27 15:14:38 +01:00
Gwendal Roué
829eb7d3a2
SelectStatement.SelectionInfo cleanup
2016-11-27 15:12:08 +01:00
Gwendal Roué
268080cbc5
#147 : FetchedRecordsController.performFetch() can now throw database errors; remove work around for SR-2623
2016-11-27 08:19:43 +01:00
Gwendal Roué
8d9d0dd826
DatabasePool.nonIsolatedRead(_:) can now throw on macOS, too
2016-11-27 06:26:50 +01:00
Gwendal Roué
195c201f87
#147 : DatabasePool.read(_:) and DatabasePool.nonIsolatedRead(_:) can now throw database errors.
2016-11-26 23:44:14 +01:00
Gwendal Roué
ceb0fc4db9
TODO.md
2016-11-26 23:42:36 +01:00
Gwendal Roué
6121a9b48c
Remove dead code
2016-11-26 23:22:34 +01:00
Gwendal Roué
e3138154f1
Update performance tests
2016-11-26 23:18:53 +01:00
Gwendal Roué
ac6c7f6a35
#147 : fetchAll() and fetchOne() can now throw database errors.
2016-11-26 22:38:40 +01:00
Gwendal Roué
af6e31dcdf
#147 : The fetch method have been removed, along with DatabaseSequence and DatabaseIterator.
2016-11-26 21:14:10 +01:00
Gwendal Roué
6f158e3382
TODO.md
2016-11-26 18:52:25 +01:00
Gwendal Roué
81504bba1e
#147 : DatabaseCursor.flatMap()
2016-11-26 16:10:39 +01:00
Gwendal Roué
66bedf46a1
#147 : DatabaseCursor.enumerated()
2016-11-26 15:19:40 +01:00
Gwendal Roué
a196ac03b1
#147 : tests for DatabaseCursor.filter, forEach, map, reduce; dropped DatabaseCursor.enumerated since it can't be implemented yet
2016-11-26 14:39:09 +01:00
Gwendal Roué
ae1010166a
#147 : record.exists(_:) can now throw a database error
2016-11-26 11:36:07 +01:00
Gwendal Roué
a548212f27
#147 : tests for QueryInterfaceRequest.fetchCursor(_:) and (RowConvertible & TableMapping).fetchCursor(_:)
2016-11-26 11:20:35 +01:00
Gwendal Roué
1aeb6d0d9e
bugfix
2016-11-26 11:13:36 +01:00
Gwendal Roué
612c963105
TODO
2016-11-26 10:23:41 +01:00
Gwendal Roué
173a60eac6
bugfix
2016-11-26 10:23:36 +01:00
Gwendal Roué
8411efc8ef
#147 : tests for RowConvertible.fetchCursor(_:keys:) methods
2016-11-26 10:19:56 +01:00
Gwendal Roué
af8fe35222
#147 : tests for RowConvertible.fetchCursor() methods
2016-11-26 09:52:54 +01:00
Gwendal Roué
a0e5f64ddf
#147 : tests for StatementColumnConvertible.fetchCursor() methods
2016-11-26 09:37:50 +01:00
Gwendal Roué
c80f0d317a
#147 : Array(cursor) initialiser; base all fetchAll and fetchOne methods on fetchCursor.
2016-11-26 09:13:39 +01:00
Gwendal Roué
e5a9159282
#147 : tests for DatabaseValueConvertible.fetchCursor() methods
2016-11-26 08:46:57 +01:00
Gwendal Roué
8215791051
cleanup
2016-11-26 08:37:53 +01:00
Gwendal Roué
ab62abed79
#147 : use cursor
2016-11-26 08:29:51 +01:00
Gwendal Roué
b31356aada
#147 : Database.tableExists(_:) and Database.indexes(on:) can now throw database errors
2016-11-26 08:28:32 +01:00
Gwendal Roué
b0db219aeb
#147 : Rename DatabaseCursor.step() into next
2016-11-26 08:20:26 +01:00
Gwendal Roué
20a7c550fe
DatabaseCursor.enumerated, filter, forEach, map, reduce are public. Once DatabaseCursor.step() has returned nil, all subsequent calls return nil. (addresses #147 )
2016-11-26 07:37:34 +01:00
Gwendal Roué
2eb190dbbb
Base DatabaseSequence on DatabaseCursor (addresses #147 )
2016-11-26 00:56:37 +01:00
Gwendal Roué
d97360ef52
DatabaseCursor.enumerated, filter, forEach, map, reduce (addresses #147 )
2016-11-25 19:12:36 +01:00
Gwendal Roué
fab64c61c4
Add DatabaseCursor to CHANGELOG, fix FTS5, and some TODO (addresses #147 )
2016-11-25 18:43:41 +01:00
Gwendal Roué
b9fea2ea12
Introduce DatabaseCursor (addresses #147 )
...
let cursor = try Row.fetchCursor(db, "SELECT * FROM persons)
while let row = try cursor.step() { ... }
2016-11-25 18:34:16 +01:00
Gwendal Roué
adc4ae48d6
Test DatabaseSequence<Row>.map
2016-11-25 08:11:26 +01:00
Gwendal Roué
e7549a2887
Documentation
2016-11-25 05:47:12 +01:00
Gwendal Roué
f28507a366
Merge branch 'master' of github.com:groue/GRDB.swift
2016-11-24 20:02:17 +01:00
Gwendal Roué
a1b2c011f5
Performance tests against Realm v2.1.0 and Swift 3.0.1
2016-11-24 19:00:33 +01:00
Gwendal Roué
b8ee051f8f
TODO.md
2016-11-24 10:18:34 +01:00
Gwendal Roué
06e34c88b5
TODO.md
2016-11-24 10:14:33 +01:00
Gwendal Roué
9866b92405
Documentation
2016-11-23 20:42:33 +01:00
Gwendal Roué
d1846217fd
Documentation
2016-11-23 20:41:16 +01:00
Gwendal Roué
aa82f3637b
Documentation
2016-11-23 18:15:55 +01:00
Gwendal Roué
731684f22f
Documentation
2016-11-23 18:07:05 +01:00
Gwendal Roué
48b84270c4
Documentation
2016-11-23 18:06:18 +01:00
Gwendal Roué
acc4bbf628
Documentation
2016-11-23 17:21:37 +01:00
Gwendal Roué
1718c3bc16
New FAQ entry: Compilation takes a long time
2016-11-23 17:20:18 +01:00
Gwendal Roué
235fa57423
FetchedRecordsController cleanup
2016-11-23 12:48:28 +01:00
Gwendal Roué
90f0ebde1d
FetchedRecordsController cleanup
2016-11-23 09:26:09 +01:00
Gwendal Roué
e016725814
FetchedRecordsController cleanup
2016-11-23 08:54:02 +01:00
Gwendal Roué
3f449a40ad
FetchedRecordsController cleanup
2016-11-23 08:12:58 +01:00
Gwendal Roué
e92726bdb3
Documentation
2016-11-23 05:23:44 +01:00
Gwendal Roué
45fe70d8ed
Documentation
2016-11-23 04:56:28 +01:00
Gwendal Roué
e833e5d86d
Documentation
2016-11-23 04:51:53 +01:00
Gwendal Roué
3dff5cb99f
Documentation
2016-11-23 04:41:32 +01:00
Gwendal Roué
666d09e296
Documentation
2016-11-23 04:41:03 +01:00
Gwendal Roué
6e1e49a185
Documentation
2016-11-23 04:39:34 +01:00
Gwendal Roué
15c13ece27
Documentation
2016-11-22 19:46:16 +01:00
Gwendal Roué
754efefd32
Documentation
2016-11-22 19:44:26 +01:00
Gwendal Roué
f81e69f73c
TODO: check https://github.com/wokalski/Diff.swift
2016-11-22 16:05:37 +01:00
Gwendal Roué
dd8e73e8f2
Documentation
2016-11-22 08:47:43 +01:00
Gwendal Roué
660520b939
Documentation
2016-11-21 20:35:05 +01:00
Gwendal Roué
a1c3096556
Documentation
2016-11-21 09:15:10 +01:00
Gwendal Roué
8cd9dea821
Documentation
2016-11-21 09:13:36 +01:00
Gwendal Roué
0cf64a7dde
Documentation
2016-11-21 09:04:28 +01:00
Gwendal Roué
53aff4fbbb
Documentation
2016-11-21 09:01:13 +01:00
Gwendal Roué
78789fad1c
Documentation
2016-11-21 08:54:07 +01:00
Gwendal Roué
3c54d844b2
Documentation
2016-11-21 08:51:56 +01:00
Gwendal Roué
d8e27abff9
Documentation
2016-11-20 19:14:00 +01:00
Gwendal Roué
b7b8f9caa6
TODO.md
2016-11-20 17:05:37 +01:00
Gwendal Roué
7e1cd47a4e
TODO.md
2016-11-20 17:04:00 +01:00
Gwendal Roué
badbd846c2
Documentation
2016-11-20 07:19:00 +01:00
Gwendal Roué
e08089ba3e
Documentation
2016-11-19 21:22:35 +01:00
Gwendal Roué
27f57ce0b3
Documentation
2016-11-19 17:50:12 +01:00
Gwendal Roué
8aa773df9a
Documentation
2016-11-19 17:40:27 +01:00
Gwendal Roué
8fb19d24e8
Documentation
2016-11-19 17:38:20 +01:00
Gwendal Roué
fd1376be53
Documentation
2016-11-19 17:35:49 +01:00
Gwendal Roué
051f0fd377
Documentation
2016-11-19 17:03:57 +01:00
Gwendal Roué
954644a001
v0.90.1
2016-11-18 17:36:17 +01:00
Gwendal Roué
19fcbf8f25
Fix availabilities for watchOS
2016-11-18 17:30:14 +01:00
Gwendal Roué
c1e2c20ace
Documentation
2016-11-18 08:40:39 +01:00
Gwendal Roué
09dbbc17e4
Documentation
2016-11-18 08:38:42 +01:00
Gwendal Roué
4d9db3665f
Documentation
2016-11-18 08:34:18 +01:00
Gwendal Roué
625f19ae00
Documentation
2016-11-17 09:14:12 +01:00
Gwendal Roué
dcc715d75d
Documentation
2016-11-17 08:47:40 +01:00
Gwendal Roué
e8717498b5
Documentation
2016-11-17 08:39:07 +01:00
Gwendal Roué
ecfbbb39bd
Documentation
2016-11-17 08:34:32 +01:00
Gwendal Roué
2cd8f56842
Documentation
2016-11-17 08:28:21 +01:00
Gwendal Roué
588b9737bf
Revert "Use sqlite3_trace_v2 when available (but the warning on sqlite3_trace remains)"
...
This reverts commit 049e9f1a55 .
2016-11-15 18:38:46 +01:00
Gwendal Roué
22d540caaa
TODO.md
2016-11-15 08:15:19 +01:00
Gwendal Roué
2dead0306a
TODO.md
2016-11-11 09:21:32 +01:00
Gwendal Roué
b77fa9f627
TODO.md
2016-11-11 09:09:15 +01:00
Gwendal Roué
6a29eecf8d
TODO.md
2016-11-11 09:04:17 +01:00
Gwendal Roué
049e9f1a55
Use sqlite3_trace_v2 when available (but the warning on sqlite3_trace remains)
2016-11-10 09:11:02 +01:00
Gwendal Roué
dcb995c626
Fix compiler warning
2016-11-10 08:32:23 +01:00
Gwendal Roué
6200f5fb62
Fix Xcode 8.1 warning
2016-11-10 06:55:24 +01:00
Gwendal Roué
cc27c19c66
FIXME: sqlite3_rekey is discouraged.
2016-11-08 19:37:28 +01:00
Gwendal Roué
23dc818eac
Documentation
2016-11-06 12:48:05 +01:00
Gwendal Roué
311d40a9f1
Test that FetchedRecordsController.sections.count is 1 when there are no fetched records
2016-11-06 12:39:42 +01:00
Gwendal Roué
ad4d2831c9
Improve FetchedRecordsController misuse feedback
2016-11-06 12:37:28 +01:00
Gwendal Roué
ee9c959262
TODO.md
2016-11-06 11:24:25 +01:00
Gwendal Roué
b739603a3c
v0.90.0
2016-11-05 15:41:42 +01:00
Gwendal Roué
153701133d
Documentation
2016-11-05 15:27:11 +01:00
Gwendal Roué
d8704edc7f
TODO.md
2016-11-05 15:01:20 +01:00
Gwendal Roué
57f6b2d122
availability cleanup
2016-11-05 14:40:14 +01:00
Gwendal Roué
21c41fb145
availability cleanup
2016-11-05 14:37:36 +01:00
Gwendal Roué
12d35a39c7
TODO.md
2016-11-05 14:13:25 +01:00
Gwendal Roué
11aa9f7b79
Upgrade SQLite to v3.15.1
2016-11-05 14:05:23 +01:00
Gwendal Roué
23ae3ad8ad
CHANGELOG.md
2016-11-05 13:56:08 +01:00
Gwendal Roué
84d468ad2f
TODO.md
2016-11-05 13:55:58 +01:00
Gwendal Roué
0459612632
Documentation
2016-11-03 06:38:32 +01:00
Gwendal Roué
7dfa4bcdb5
FetchedRecordsController: restore default record comparator
2016-10-29 10:49:32 +02:00
Gwendal Roué
a3e73508f4
CHANGELOG.md
2016-10-29 07:34:10 +02:00
Gwendal Roué
df120ec4a3
FetchedRecordsController: default record comparator now compares rows
2016-10-29 07:25:56 +02:00
Gwendal Roué
6dfa6a3710
FetchedRecordsController.isSameRecord is an iOS-only tool
2016-10-28 19:42:02 +02:00
Gwendal Roué
7ae39a00cb
Naming things is hard
2016-10-28 19:22:52 +02:00
Gwendal Roué
0cbcbe3e69
Documentation
2016-10-28 08:11:28 +02:00
Gwendal Roué
47debc0223
Documentation
2016-10-27 09:05:38 +02:00
Gwendal Roué
5953f08495
v0.89.2
2016-10-26 08:35:58 +02:00
Gwendal Roué
43276582ed
Typo
2016-10-21 19:58:42 +02:00
Gwendal Roué
2c3d7871ff
Merge branch 'master' of github.com:groue/GRDB.swift
2016-10-21 09:56:07 +02:00
Gwendal Roué
112f10a16d
Performance tests: Record initializer from FMDB resultsDictionary does not have to use NSNumber
2016-10-21 09:56:03 +02:00
Gwendal Roué
28beefcbb8
Documentation
2016-10-21 09:22:47 +02:00
Gwendal Roué
edcff1068b
CHANGELOG.md
2016-10-21 09:20:15 +02:00
Gwendal Roué
266f23d1e6
Update tests for CountableRange.contains(), add tests for 0.negated
2016-10-21 09:14:54 +02:00
Gwendal Roué
c4dfd24782
CountableRange.contains(): turn 0..<10.contains(x) to "x >= 0 AND x < 10" instead of "x BETWEEN 0 AND 9" (and avoid Int ranges to mess with double values)
2016-10-21 09:14:19 +02:00
Gwendal Roué
9ae2de6dc1
DatabaseValue.negated: prefer 1 to NOT 0
2016-10-21 09:13:03 +02:00
Gwendal Roué
45fd6f89c0
Performance tests: fix warnings
2016-10-21 08:47:06 +02:00
Gwendal Roué
b1ba4b505a
Documentation
2016-10-20 19:17:47 +02:00
Gwendal Roué
99e6cf4796
Documentation
2016-10-20 19:14:00 +02:00
Gwendal Roué
4df5752df7
Documentation
2016-10-20 18:08:53 +02:00
Gwendal Roué
7a2837b6c9
Performance tests: Swift 3
2016-10-20 18:08:43 +02:00
Gwendal Roué
dc08805307
Performance tests: SQLite.swift 0.11.0
2016-10-20 18:07:39 +02:00
Gwendal Roué
2ffebb9c0b
Performance tests: Realm v2.0.2
2016-10-20 18:01:13 +02:00
Gwendal Roué
2553a51408
Documentation
2016-10-20 09:44:27 +02:00
Gwendal Roué
e2a338c3c9
Documentation
2016-10-20 09:40:25 +02:00
Gwendal Roué
795f4cd7a7
Documentation
2016-10-20 09:11:42 +02:00
Gwendal Roué
932fa22701
Documentation
2016-10-20 09:11:16 +02:00
Gwendal Roué
5c746ad3d4
Documentation
2016-10-20 09:09:36 +02:00
Gwendal Roué
d0c8a80e5e
Documentation
2016-10-20 09:07:16 +02:00
Gwendal Roué
da40f7ab07
CocoaPods is no longer beta
2016-10-20 08:53:01 +02:00
Gwendal Roué
f4c42a5d39
Fix links to cocoadocs.org
2016-10-20 08:23:35 +02:00
Gwendal Roué
7b3a752ad9
Documentation
2016-10-19 19:54:59 +02:00
Gwendal Roué
ad861e7da1
Documentation
2016-10-19 19:51:48 +02:00
Gwendal Roué
17e8cf8aaa
Documentation
2016-10-19 19:45:18 +02:00
Gwendal Roué
6773f1e152
v0.89.1
2016-10-19 19:37:36 +02:00
Gwendal Roué
928b95861d
Explicit SQLCipher version
2016-10-19 19:36:34 +02:00
Gwendal Roué
f274abcc8d
Bold
2016-10-19 19:31:21 +02:00
Gwendal Roué
5a725af1bb
Link to https://www.sqlite.org/changes.html
2016-10-19 19:30:42 +02:00
Gwendal Roué
b0d5c8870a
Documentation/CustomSQLiteBuilds.md replaces SQLiteCustom/README.md
2016-10-19 19:29:41 +02:00
Gwendal Roué
fb14a49dd5
Link to custom FTS5 tokenizers from GRDB Extension Guide
2016-10-19 08:03:38 +02:00
Gwendal Roué
b6d2ec3bea
TODO.md
2016-10-18 09:05:32 +02:00
Gwendal Roué
3fd5b77de8
README.md
2016-10-18 08:59:17 +02:00
Gwendal Roué
b060039a28
README.md
2016-10-18 08:55:45 +02:00
Gwendal Roué
ba84e8bc33
TODO.md
2016-10-18 08:13:39 +02:00
Gwendal Roué
cba111c055
TODO.md
2016-10-18 08:05:01 +02:00
Gwendal Roué
a1f4c3506d
Typo
2016-10-18 06:25:40 +02:00
Gwendal Roué
a4e0abf7bc
Typo
2016-10-18 06:14:19 +02:00
Gwendal Roué
7058bb5e12
Have DatabaseError adopt CustomNSError
2016-10-18 05:49:12 +02:00
Gwendal Roué
43d4d3cddc
CHANGELOG.md
2016-10-17 20:44:16 +02:00
Gwendal Roué
c4804f427f
CHANGELOG.md
2016-10-17 20:40:31 +02:00
Gwendal Roué
430ef5d1a6
Hide FetchedRecordsControlleriOSTests behind #if os(iOS)
2016-10-17 20:27:24 +02:00
Gwendal Roué
d8fb4304b7
CHANGELOG.md
2016-10-17 20:23:03 +02:00
Gwendal Roué
caf5ee7412
Fix the compareRecordsByPrimaryKey option of FetchedRecordsController when record has no primary key but has selectsRowID set to true
2016-10-17 20:17:37 +02:00
Gwendal Roué
2acfbcdce6
Failing test for compareRecordsByPrimaryKey option of FetchedRecordsController when record has no primary key
2016-10-17 20:16:31 +02:00
Gwendal Roué
c687c5df24
CHANGELOG.md
2016-10-17 19:27:05 +02:00
Gwendal Roué
f63db81268
Merge branch 'master' of github.com:groue/GRDB.swift
...
Conflicts:
TODO.md
2016-10-17 19:23:54 +02:00
Gwendal Roué
00de9bbbc5
Database.create(virtualTable:using:) wraps the table creation and virtual module post actions in a save point. Fix failing test for virtual module that throws in its database(_:didCreate:using:) method.
2016-10-17 19:23:11 +02:00
Gwendal Roué
825db1158c
Add failing test for virtual table module that throws in its database(_:didCreate:using:)
2016-10-17 19:21:57 +02:00
Gwendal Roué
b5bff64cf0
TODO.md
2016-10-17 16:55:45 +02:00
Gwendal Roué
c5255872ca
Documentation
2016-10-17 15:59:11 +02:00
Gwendal Roué
9920f44a90
TODO.md
2016-10-17 14:04:32 +02:00
Gwendal Roué
f5bbc43c87
Add a test for FetchedRecordsController request modification with uppercase table and column names
2016-10-17 14:00:32 +02:00
Gwendal Roué
7076809b71
v0.89.0
2016-10-17 13:41:57 +02:00
Gwendal Roué
34b7cda2ec
Fix failing test for FetchedRecordsController: when the request changes, we now do update the tracked tables and columns
2016-10-17 13:34:46 +02:00
Gwendal Roué
f2cd90a999
Failing test for FetchedRecordsController: when the request changes, we do not update the tracked tables and columns
2016-10-17 13:16:15 +02:00
Gwendal Roué
2c35c63a09
Typo
2016-10-17 12:00:06 +02:00
Gwendal Roué
7832a6eb6f
Documentation
2016-10-17 11:59:46 +02:00
Gwendal Roué
e1c3dda6e0
Documentation
2016-10-17 11:52:44 +02:00
Gwendal Roué
f11c015522
Documentation
2016-10-17 10:24:13 +02:00
Gwendal Roué
9cd23bc02b
Documentation
2016-10-17 10:22:00 +02:00
Gwendal Roué
8c0ab4285b
Documentation
2016-10-17 10:17:48 +02:00
Gwendal Roué
3cbc5aaf2d
Documentation
2016-10-17 09:13:24 +02:00
Gwendal Roué
c43aae15ff
Typo
2016-10-17 09:11:00 +02:00
Gwendal Roué
2fd3ded6e2
TableMapping.none()
2016-10-17 09:09:17 +02:00
Gwendal Roué
cb6d727664
Column.rank
2016-10-17 08:12:30 +02:00
Gwendal Roué
3be2047c9c
Documentation
2016-10-16 16:48:39 +02:00
Gwendal Roué
b3ec9a0900
Documentation
2016-10-16 16:16:31 +02:00
Gwendal Roué
50cf830404
Documentation
2016-10-16 16:09:24 +02:00
Gwendal Roué
72e58a7f0d
Documentation
2016-10-16 16:02:20 +02:00
Gwendal Roué
36781c0bc6
Documentation
2016-10-16 15:58:18 +02:00
Gwendal Roué
12ca7d0fe2
Documentation
2016-10-16 15:57:45 +02:00
Gwendal Roué
b85066eb06
Documentation
2016-10-16 15:56:37 +02:00
Gwendal Roué
456705de54
Documentation
2016-10-16 15:55:37 +02:00
Gwendal Roué
31b500cc7f
Documentation
2016-10-16 15:50:37 +02:00
Gwendal Roué
03d0011c2f
Documentation
2016-10-16 15:39:34 +02:00
Gwendal Roué
101088cadc
Link to https://github.com/groue/WWDCCompanion
2016-10-16 11:27:57 +02:00
Gwendal Roué
638702728c
CHANGELOG.md
2016-10-16 11:05:29 +02:00
Gwendal Roué
015a0888d4
v0.88.0
2016-10-16 11:00:18 +02:00
Gwendal Roué
361eaeca07
Upgrade SQLiteCustom to v3.15.0
2016-10-16 10:59:28 +02:00
Gwendal Roué
6850c2a9ee
External Content Full-Text Tables documentation
2016-10-16 10:21:17 +02:00
Gwendal Roué
12af387e50
FTS4: support for external content table synchronization
2016-10-16 09:52:58 +02:00
Gwendal Roué
55216be46b
FTS5: support for external content table synchronization
2016-10-16 09:32:41 +02:00
Gwendal Roué
7630642c56
matching() and match() methods accept nil FTS patterns
2016-10-16 07:47:25 +02:00
Gwendal Roué
ad8fe7923a
TODO.md
2016-10-15 18:15:51 +02:00
Gwendal Roué
f06b4f70f9
CHANGELOG.md: fix link
2016-10-14 09:09:50 +02:00
Gwendal Roué
408ecda944
Add contentRowID to FTS5TableDefinition
2016-10-14 08:58:58 +02:00
Gwendal Roué
95844cd6c0
Validate FTS patterns with db.execute() instead of a fetch sequence since it achieves error detection with less code
2016-10-14 05:05:01 +02:00
Gwendal Roué
cf4824e588
Documentation
2016-10-13 08:08:17 +02:00
Gwendal Roué
c99aaf763d
Documentation
2016-10-13 08:07:03 +02:00
Gwendal Roué
1156027587
Documentation
2016-10-13 07:59:12 +02:00
Gwendal Roué
46c6d43556
Documentation
2016-10-12 17:23:14 +02:00
Gwendal Roué
07fccd0479
Documentation
2016-10-12 17:20:33 +02:00
Gwendal Roué
10e4fe7a71
Documentation
2016-10-12 17:16:53 +02:00
Gwendal Roué
5f37891eae
Documentation
2016-10-12 17:15:16 +02:00
Gwendal Roué
f09644be00
Documentation
2016-10-12 17:08:52 +02:00
Gwendal Roué
96e573b356
Documentation
2016-10-12 14:58:13 +02:00
Gwendal Roué
bed63b55fe
Documentation
2016-10-12 09:10:57 +02:00
Gwendal Roué
0a8ac5cb05
v0.87.0
2016-10-12 08:48:19 +02:00
Gwendal Roué
590d7cc79b
Documentation
2016-10-12 08:41:26 +02:00
Gwendal Roué
aeeaa18b28
Documentation
2016-10-12 08:38:42 +02:00
Gwendal Roué
d6a6f1ed51
Documentation
2016-10-12 08:37:53 +02:00
Gwendal Roué
68bf5d5105
Documentation
2016-10-12 08:36:55 +02:00
Gwendal Roué
78d5f6f598
Documentation
2016-10-12 08:36:04 +02:00
Gwendal Roué
fa8c6dfa6f
Documentation
2016-10-12 08:34:49 +02:00
Gwendal Roué
15d3bc70d2
Documentation
2016-10-12 08:19:51 +02:00
Gwendal Roué
c37b52645c
Documentation
2016-10-12 08:17:39 +02:00
Gwendal Roué
e6f61699d7
Documentation
2016-10-12 08:15:59 +02:00
Gwendal Roué
6cdf61d6cf
Documentation
2016-10-12 08:15:10 +02:00
Gwendal Roué
60dee64fa0
Documentation
2016-10-12 08:12:56 +02:00
Gwendal Roué
21f4ba4f3a
Documentation
2016-10-12 08:12:03 +02:00
Gwendal Roué
df4777dca4
Documentation
2016-10-12 08:11:39 +02:00
Gwendal Roué
03b8e98cb2
Documentation
2016-10-12 08:07:57 +02:00
Gwendal Roué
fafe2374b7
Documentation
2016-10-12 08:03:26 +02:00
Gwendal Roué
1840fac000
Documentation
2016-10-12 08:01:05 +02:00
Gwendal Roué
ec460ff07a
Documentation
2016-10-12 08:00:32 +02:00
Gwendal Roué
b0e68366d4
Documentation
2016-10-12 07:58:19 +02:00
Gwendal Roué
99266e4ea9
Documentation
2016-10-12 07:55:52 +02:00
Gwendal Roué
34025599a0
Documentation
2016-10-12 07:46:33 +02:00
Gwendal Roué
21f34b8039
Documentation
2016-10-12 07:45:09 +02:00
Gwendal Roué
30b3a4c9c7
Documentation
2016-10-12 07:41:18 +02:00
Gwendal Roué
7ca2f7d6b1
Documentation
2016-10-12 07:37:37 +02:00
Gwendal Roué
7a6ac1f6d0
Documentation
2016-10-12 06:56:56 +02:00
Gwendal Roué
e53f0a3191
Documentation
2016-10-12 06:55:47 +02:00
Gwendal Roué
54b28ae356
Documentation
2016-10-11 22:36:37 +02:00
Gwendal Roué
22b7181c40
Documentation
2016-10-11 22:01:45 +02:00
Gwendal Roué
daf6a856c7
Documentation
2016-10-11 22:00:37 +02:00
Gwendal Roué
4e2baa0868
Documentation
2016-10-11 21:48:55 +02:00
Gwendal Roué
6b48084c9c
Documentation
2016-10-11 21:27:46 +02:00
Gwendal Roué
1e48959c0a
Documentation
2016-10-11 21:04:37 +02:00
Gwendal Roué
088c37d1ea
Documentation
2016-10-11 20:51:32 +02:00
Gwendal Roué
18dcc21340
Documentation
2016-10-11 14:43:53 +02:00
Gwendal Roué
e03c1d4c85
Documentation
2016-10-11 14:42:45 +02:00
Gwendal Roué
9fb85f252e
Documentation
2016-10-11 14:41:15 +02:00
Gwendal Roué
c7601c9921
Documentation
2016-10-11 14:41:04 +02:00
Gwendal Roué
eab2bd3565
Documentation
2016-10-11 14:38:50 +02:00
Gwendal Roué
4454c6be73
FTS5Tokenizer.tokenize callback is not optional
2016-10-11 11:28:22 +02:00
Gwendal Roué
0adf8a0a05
Documentation
2016-10-11 10:47:33 +02:00
Gwendal Roué
bdf59c1a5f
Documentation
2016-10-11 10:27:50 +02:00
Gwendal Roué
e317926fcb
Documentation
2016-10-11 10:26:50 +02:00
Gwendal Roué
1487a0ecd2
Documentation
2016-10-11 09:23:57 +02:00
Gwendal Roué
950d2689c7
Documentation
2016-10-11 09:22:00 +02:00
Gwendal Roué
8687ed6697
Documentation
2016-10-11 09:19:15 +02:00
Gwendal Roué
ab9c0dab04
Documentation
2016-10-11 09:05:39 +02:00
Gwendal Roué
45e2819694
Documentation
2016-10-11 09:04:53 +02:00
Gwendal Roué
0187a0cace
Documentation
2016-10-11 09:04:11 +02:00
Gwendal Roué
9d714ba9e0
Documentation
2016-10-11 09:01:20 +02:00
Gwendal Roué
a614434c04
Documentation
2016-10-11 09:00:33 +02:00
Gwendal Roué
0fbfee521f
Documentation
2016-10-11 08:59:15 +02:00
Gwendal Roué
d2233acc44
Documentation
2016-10-11 08:57:04 +02:00
Gwendal Roué
4b86741683
Documentation
2016-10-11 08:56:37 +02:00
Gwendal Roué
26bf91e1da
Documentation
2016-10-11 08:52:03 +02:00
Gwendal Roué
37eab31b40
Documentation
2016-10-11 08:06:03 +02:00
Gwendal Roué
39aa548586
Documentation
2016-10-11 07:59:50 +02:00
Gwendal Roué
a228b36e8e
Documentation
2016-10-11 07:57:46 +02:00
Gwendal Roué
7d33a1572e
Documentation
2016-10-11 07:54:40 +02:00
Gwendal Roué
5ccbf0042c
Documentation
2016-10-11 07:54:13 +02:00
Gwendal Roué
0313ea636a
Documentation
2016-10-11 07:53:30 +02:00
Gwendal Roué
d7a5db3dbb
Documentation
2016-10-11 07:52:52 +02:00
Gwendal Roué
82435bf6ff
Documentation
2016-10-11 06:56:04 +02:00
Gwendal Roué
e56a4ed9e2
Documentation
2016-10-11 06:55:31 +02:00
Gwendal Roué
52ef16dba5
Documentation
2016-10-11 06:21:46 +02:00
Gwendal Roué
e4713edd75
Documentation
2016-10-11 05:19:37 +02:00
Gwendal Roué
5abe72f7e7
Documentation
2016-10-11 05:06:28 +02:00
Gwendal Roué
fdeb07f82b
Documentation
2016-10-11 05:05:25 +02:00
Gwendal Roué
44b59eea58
Documentation
2016-10-10 20:54:35 +02:00
Gwendal Roué
f8bf2f38d3
Documentation
2016-10-10 20:41:40 +02:00
Gwendal Roué
091854a6d0
Documentation
2016-10-10 20:30:05 +02:00
Gwendal Roué
fd55aa61cf
Documentation
2016-10-10 20:28:04 +02:00
Gwendal Roué
7bd014f9de
Documentation
2016-10-10 20:17:02 +02:00
Gwendal Roué
793ef35c95
Documentation
2016-10-10 20:16:15 +02:00
Gwendal Roué
d8eb8499ef
Documentation
2016-10-10 20:14:53 +02:00
Gwendal Roué
ad98339de7
Documentation
2016-10-10 19:53:06 +02:00
Gwendal Roué
d121326382
Documentation
2016-10-10 19:06:17 +02:00
Gwendal Roué
bd9e689885
Documentation
2016-10-10 19:05:36 +02:00
Gwendal Roué
79dcf6d63b
Code cleanup
2016-10-10 18:54:25 +02:00
Gwendal Roué
3390a26588
Rename FTSXTokenizerRequest to FTSXTokenizerDescriptor
2016-10-10 18:33:32 +02:00
Gwendal Roué
93d1cd3ee7
Remove the FTS3TokenizerRequest public initializer
2016-10-10 18:31:56 +02:00
Gwendal Roué
4b3cfc5de1
FTS3 is not ready for Database.tokenize(string:with:). Only FTS5 is.
2016-10-10 18:17:39 +02:00
Gwendal Roué
f9d38fdd69
Database.tokenize(string:with:)
2016-10-10 18:15:14 +02:00
Gwendal Roué
628c375b8c
Documentation
2016-10-10 15:31:05 +02:00
Gwendal Roué
714c884732
Code cleanup
2016-10-10 14:43:23 +02:00
Gwendal Roué
f6dffe9845
Rename FTSXTokenizerDefinition to FTSXTokenizerRequest
2016-10-10 13:58:05 +02:00
Gwendal Roué
a28b3cc268
FTS5.api robustness
2016-10-10 13:51:58 +02:00
Gwendal Roué
388dd99986
Custom FTS5 tokenizer cleanup
2016-10-10 13:46:04 +02:00
Gwendal Roué
1081b6a1c0
Custom FTS5 tokenizer cleanup
2016-10-10 13:11:11 +02:00
Gwendal Roué
80d93b1fc9
FTS5WrapperTokenizer
2016-10-10 11:36:03 +02:00
Gwendal Roué
3980fe5de1
CHANGELOG.md
2016-10-10 08:51:17 +02:00
Gwendal Roué
b374b1ef7a
Typo
2016-10-10 08:49:47 +02:00
Gwendal Roué
09a7865e7d
Test the custom FTS5 tokenizer with a synonyms tokenizer
2016-10-10 08:46:56 +02:00
Gwendal Roué
2f9a399d18
Fix NFKC tokenizer so that it does not mangle token offsets inside pText (convert tokens to NFKC, not the base string)
2016-10-10 08:16:27 +02:00
Gwendal Roué
bbda3955c3
Test the custom FTS5 tokenizer with a NFKC tokenizer
2016-10-09 23:41:25 +02:00
Gwendal Roué
ba42932024
Test the custom FTS5 tokenizer with a "stop words" tokenizer
2016-10-09 23:09:22 +02:00
Gwendal Roué
f7c8bd6d1c
FTS5TokenizeFlags
2016-10-09 22:15:11 +02:00
Gwendal Roué
35479575ec
Tests for custom FTS5 tokenizer with DatabaseQueue and DatabasePool
2016-10-09 21:52:22 +02:00
Gwendal Roué
23a4aab3c4
Custom FTS5 tokenizer experiments
2016-10-09 21:35:07 +02:00
Gwendal Roué
ec5bd18b67
Custom FTS5 tokenizer experiments
2016-10-09 19:01:51 +02:00
Gwendal Roué
d5750bf329
Documentation
2016-10-09 07:20:45 +02:00
Gwendal Roué
ac55d35b13
Custom SQLite examples
2016-10-08 19:34:24 +02:00
Gwendal Roué
a1c27049d6
CHANGELOG.md
2016-10-08 19:14:46 +02:00
Gwendal Roué
8b36b29126
v0.86.0
2016-10-08 19:09:46 +02:00
Gwendal Roué
c0e75ac6b4
Update the GRDB Extension Guide so that it stops talking about the MATCH operator - use GLOB instead.
2016-10-08 19:09:40 +02:00
Gwendal Roué
897f3a86c5
More FTS tests
2016-10-08 17:31:59 +02:00
Gwendal Roué
58025d3b01
Remove unused code
2016-10-08 16:59:29 +02:00
Gwendal Roué
591197422d
Prefer flatMap to guard when chaining values
2016-10-08 16:56:39 +02:00
Gwendal Roué
027b1f711c
URL, UUID and Date now adopt DatabaseValueConvertible through NSURL, NSUUID and NSDate, thanks to the new support for Foundation's ReferenceConvertible.
2016-10-08 16:54:32 +02:00
Gwendal Roué
5f15a0f555
Improve test coverage
2016-10-08 16:30:08 +02:00
Gwendal Roué
c46238301a
Improve test coverage
2016-10-08 16:04:30 +02:00
Gwendal Roué
7c282d28df
Improve test coverage
2016-10-08 15:44:11 +02:00
Gwendal Roué
587251e73c
TODO
2016-10-08 15:44:00 +02:00
Gwendal Roué
12dbafd0c9
Improve test coverage
2016-10-08 14:56:17 +02:00
Gwendal Roué
3c822399b1
Restore DatabaseValue.description into its previous behavior, and test that \n or \t are described as "\\n" and "\\t" (avoid multi-line DatabaseValue description)
2016-10-08 14:38:30 +02:00
Gwendal Roué
ae7252fbec
Code cleanup
2016-10-08 14:37:14 +02:00
Gwendal Roué
13dfde1862
Upgrade SQLiteCustom to v3.14.2
2016-10-08 14:18:10 +02:00
Gwendal Roué
3a0aef3779
README.md
2016-10-08 14:03:29 +02:00
Gwendal Roué
a82cc8cbd4
Update playgrounds
2016-10-08 14:03:08 +02:00
Gwendal Roué
6e6701a644
CHANGELOG.md
2016-10-08 13:46:21 +02:00
Gwendal Roué
b6b74e292f
Cleanup
2016-10-08 13:40:16 +02:00
Gwendal Roué
db0dfdcd59
VirtualTableModule cleanup and documentation
2016-10-08 13:36:27 +02:00
Gwendal Roué
fc49643860
Remove QueryInterfaceRequest public initializer
2016-10-08 13:06:46 +02:00
Gwendal Roué
7968c1dcd2
Fix warnings
2016-10-08 12:59:34 +02:00
Gwendal Roué
b9180798ca
Tests for delete(db) return value
2016-10-08 12:53:35 +02:00
Gwendal Roué
8ed0888ea8
Documentation
2016-10-08 12:46:15 +02:00
Gwendal Roué
e5d941f98b
Documentation
2016-10-08 12:43:38 +02:00
Gwendal Roué
62f434f0e0
Documentation
2016-10-08 12:22:03 +02:00
Gwendal Roué
829451486e
Documentation
2016-10-08 12:18:48 +02:00
Gwendal Roué
0da1a293e6
Update tests for error descriptions that include argument literals, since DatabaseValue.description now returns the SQL literal representation of the value
2016-10-08 12:17:49 +02:00
Gwendal Roué
a51ccad560
Code cleanup
2016-10-08 11:52:46 +02:00
Gwendal Roué
b8ab30fc22
DatabaseValue.description now returns the SQL literal representation of the value
2016-10-08 11:51:10 +02:00
Gwendal Roué
915bc6c7cd
Less TODO
2016-10-08 11:36:22 +02:00
Gwendal Roué
0bc55a5185
FTS5Pattern and FTS4Tokenizer require SQLITE_ENABLE_FTS5
2016-10-08 10:24:50 +02:00
Gwendal Roué
07c2973459
Full text and records
2016-10-08 10:03:19 +02:00
Gwendal Roué
2bc8722049
Document that fetchOne(_🔑 ), fetch(_:keys:), fetchAll(_:keys:), deleteOne(_🔑 ), and deleteAll(_:keys:) assume a rowID primary key when table has no explicit primary key.
2016-10-08 09:57:15 +02:00
Gwendal Roué
84259fd9d8
TableMapping.selectsRowID documentation
2016-10-08 09:49:42 +02:00
Gwendal Roué
31474b581b
TableMapping.selectsRowID documentation
2016-10-08 09:33:35 +02:00
Gwendal Roué
2fc71c762a
TODO.md
2016-10-08 08:39:42 +02:00
Gwendal Roué
a541e6db1f
deleteOne(_🔑 ) and deleteAll(_:keys:) with implicit rowID key
2016-10-08 08:36:56 +02:00
Gwendal Roué
a4aab9f4c2
TableMapping.selectsRowID test
2016-10-08 08:33:19 +02:00
Gwendal Roué
2d6abc088f
TableMapping.selectsRowID + passing tests for FTS3Record
2016-10-07 19:17:40 +02:00
Gwendal Roué
a1f3d42fd0
Failing tests from FTS3Record
2016-10-07 17:47:56 +02:00
Gwendal Roué
915e72584c
fetchOne(_🔑 ), fetch(_:keys:), fetchAll(_:keys:), deleteOne(_🔑 ), and deleteAll(_:keys:) now assumes a rowID primary key when table has no explicit primary key.
2016-10-07 17:47:29 +02:00
Gwendal Roué
22ef3c8b2a
Persistable DAO assumes "rowid" as a default primary key, so that a record that exposes "rowid" in its persistentDictionary can be updated, and deleted.
2016-10-07 17:44:38 +02:00
Gwendal Roué
0936793b23
TODO
2016-10-07 17:35:07 +02:00
Gwendal Roué
8bbdf56cb0
Documentation
2016-10-07 15:16:04 +02:00
Gwendal Roué
25fd939bc6
FTS documentation
2016-10-07 15:10:25 +02:00
Gwendal Roué
5e4f31fe84
Unicode gotchas
2016-10-07 15:08:43 +02:00
Gwendal Roué
5638b4f889
Unicode gotchas
2016-10-07 15:06:02 +02:00
Gwendal Roué
2f28a7f3f2
FTS documentation
2016-10-07 14:52:34 +02:00
Gwendal Roué
9f3137e509
FTS cleanup
2016-10-07 14:48:34 +02:00
Gwendal Roué
32c91f56f3
FTS documentation
2016-10-07 14:42:56 +02:00
Gwendal Roué
c81284754f
FTS documentation
2016-10-07 14:34:12 +02:00
Gwendal Roué
e300546a32
FTS4 and FTS5 options
2016-10-07 14:21:29 +02:00
Gwendal Roué
ce0f62d598
FTS documentation
2016-10-07 11:03:21 +02:00
Gwendal Roué
18e1987a6a
FTS documentation
2016-10-07 10:59:32 +02:00
Gwendal Roué
626c12c8a3
FTS documentation
2016-10-07 10:50:28 +02:00
Gwendal Roué
8e8fb9cfe8
FTS documentation
2016-10-07 10:48:25 +02:00
Gwendal Roué
c0c3f2c9ba
FTS documentation
2016-10-07 10:26:33 +02:00
Gwendal Roué
7e4846b83c
FTS documentation
2016-10-07 10:13:00 +02:00
Gwendal Roué
adcd0e2936
FTS documentation
2016-10-07 10:10:12 +02:00
Gwendal Roué
2a02a2e40b
FTS documentation
2016-10-07 10:07:21 +02:00
Gwendal Roué
8b8953b98c
FTS documentation
2016-10-07 09:22:10 +02:00
Gwendal Roué
05baa544bc
Typo
2016-10-07 09:21:15 +02:00
Gwendal Roué
95aee6eb37
Typo
2016-10-07 09:15:47 +02:00
Gwendal Roué
d348c0e794
FTS documentation
2016-10-07 09:15:22 +02:00
Gwendal Roué
bdc25e4fb5
Query interface matching() method
2016-10-07 08:59:39 +02:00
Gwendal Roué
f864fba78b
FTS documentation
2016-10-07 08:36:29 +02:00
Gwendal Roué
ec34261674
FTS documentation
2016-10-07 08:35:43 +02:00
Gwendal Roué
119965a7fb
FTS documentation
2016-10-07 08:34:00 +02:00
Gwendal Roué
24c672ddc9
Validation of raw FTS5 patterns requires a database connection and a table name
2016-10-07 08:32:23 +02:00
Gwendal Roué
56578c7c0c
CURRENT_TIMESTAMP, not NOW
2016-10-07 06:50:57 +02:00
Gwendal Roué
fdc78b5c32
Typo
2016-10-07 06:37:22 +02:00
Gwendal Roué
3585223827
Typo
2016-10-07 06:35:21 +02:00
Gwendal Roué
13bdb881c7
FTS column queries
2016-10-07 06:17:54 +02:00
Gwendal Roué
12c46c794f
Remove dead code
2016-10-07 06:17:26 +02:00
Gwendal Roué
3b839ebd1f
FTS documentation
2016-10-06 19:19:39 +02:00
Gwendal Roué
04d5c98756
FTS documentation
2016-10-06 16:00:42 +02:00
Gwendal Roué
2cce4bf2a8
FTS documentation
2016-10-06 15:57:32 +02:00
Gwendal Roué
15560229ce
FTS documentation
2016-10-06 15:55:18 +02:00
Gwendal Roué
20317e5830
FTS5 documentation
2016-10-06 15:44:50 +02:00
Gwendal Roué
2bf1de5a43
FTS5 documentation
2016-10-06 15:42:55 +02:00
Gwendal Roué
7306ce09b4
FTS5 documentation
2016-10-06 15:38:40 +02:00
Gwendal Roué
846bcf3ef5
FTS5 documentation
2016-10-06 15:26:01 +02:00
Gwendal Roué
69b69da52a
FTS5 documentation
2016-10-06 14:09:10 +02:00
Gwendal Roué
7a7be6e454
FTS documentation
2016-10-06 14:07:54 +02:00
Gwendal Roué
3587e450a3
FTS5 documentation
2016-10-06 14:06:15 +02:00
Gwendal Roué
0b8001eac2
FTS5 documentation
2016-10-06 14:05:04 +02:00
Gwendal Roué
8235c6d4fc
FTS5 documentation
2016-10-06 14:03:42 +02:00
Gwendal Roué
aed88bd857
FTS documentation
2016-10-06 13:38:18 +02:00
Gwendal Roué
8fcca219b4
FTS documentation
2016-10-06 13:11:11 +02:00
Gwendal Roué
4b16ed6bdd
FTS documentation
2016-10-06 12:56:43 +02:00
Gwendal Roué
3ad7901edb
FTS documentation
2016-10-06 12:55:10 +02:00
Gwendal Roué
a684823f25
FTS documentation
2016-10-06 12:52:50 +02:00
Gwendal Roué
90a03c5096
FTS documentation
2016-10-06 12:42:08 +02:00
Gwendal Roué
46f8f3c27e
FTS documentation
2016-10-06 09:16:19 +02:00
Gwendal Roué
3569a85488
FTS TODO
2016-10-06 09:08:22 +02:00
Gwendal Roué
9a0942e9b2
Split FTS tokenizer tests from table builder tests
2016-10-06 08:52:51 +02:00
Gwendal Roué
26725bd878
FTS5 table builder tests
2016-10-06 08:35:35 +02:00
Gwendal Roué
ae01148b76
FTS5 patterns tests
2016-10-06 08:35:15 +02:00
Gwendal Roué
1269959265
FTS3 tokenizer tests: stop testing NFC/NFD
2016-10-06 08:31:31 +02:00
Gwendal Roué
a471d68d6c
FTS3 tokenizer tests: stop testing NFC/NFD
2016-10-06 08:31:20 +02:00
Gwendal Roué
2eb8859080
FTS3PatternTests: stop testing NFC/NFD, and stop testing document prefix queries, which seem fragile according to SQLite version (some tests fail with custom SQLite 3.14.1)
2016-10-06 08:30:56 +02:00
Gwendal Roué
038fe07fd4
TS5Tokenizer.porter(wrapping:)
2016-10-06 08:28:40 +02:00
Gwendal Roué
578b899653
FTS5 virtual table require at least one column
2016-10-06 08:28:05 +02:00
Gwendal Roué
32e0151f7d
Correct implementation for FTS5Pattern(rawPattern:)
2016-10-06 08:27:50 +02:00
Gwendal Roué
43cf02d5b8
FTS3Pattern(matchingAllTokensIn:) does not insert useless AND operator
2016-10-06 08:27:22 +02:00
Gwendal Roué
d60a1193b2
Reminder about NFKC NFKD tests
2016-10-05 18:09:50 +02:00
Gwendal Roué
806e0b6d7f
FTS Documentation
2016-10-05 18:09:35 +02:00
Gwendal Roué
74434e87c5
Introduce FTS5
2016-10-05 14:14:14 +02:00
Gwendal Roué
41935d8b48
Code cleanup
2016-10-05 14:13:57 +02:00
Gwendal Roué
8a93c7472f
FTS3Tokenizer.tokenize(string)
2016-10-05 13:04:53 +02:00
Gwendal Roué
687737f71a
FTS3Pattern: remove ability to specify tokenizer
2016-10-05 09:23:03 +02:00
Gwendal Roué
c4296f0127
FTS documentation
2016-10-05 09:13:25 +02:00
Gwendal Roué
933e8d4409
FTS documentation
2016-10-05 08:53:24 +02:00
Gwendal Roué
28950473b2
FTS documentation
2016-10-05 08:48:31 +02:00
Gwendal Roué
6a478ca315
Introduce FTS tests
2016-10-05 06:17:42 +02:00
Gwendal Roué
03d4175bea
More FTS4
2016-10-04 18:39:32 +02:00
Gwendal Roué
25abdef96a
Introduce FTS4
2016-10-04 18:27:48 +02:00
Gwendal Roué
a01d8548e3
FTS cleanup
2016-10-04 18:21:51 +02:00
Gwendal Roué
c1946e57b7
FTS3Pattern initializers use a tokenizer when relevant
2016-10-04 18:15:57 +02:00
Gwendal Roué
811ed6efe5
FTS: TODO
2016-10-04 16:19:58 +02:00
Gwendal Roué
6855a0afbe
#92 : FTS3Tokenizer and tests
2016-10-04 14:17:34 +02:00
Gwendal Roué
f9e68a0c9c
#92 : FTS3 module documentation
2016-10-04 11:43:15 +02:00
Gwendal Roué
f1ecdfc9df
#92 : Refactor experimental API around virtual tables creation so that virtual modules can require initialization parameters
2016-10-04 09:37:01 +02:00
Gwendal Roué
01fc9f6130
#92 : Experimental API around virtual tables creation
2016-10-04 09:08:23 +02:00
Gwendal Roué
a2c3f74ab2
TODO.md
2016-10-03 22:35:41 +02:00
Gwendal Roué
11301d7b63
Remove obsolete code
2016-10-03 22:35:31 +02:00
Gwendal Roué
1d2e1d9950
#92 , #129 : Test interaction of RowConvertible and MutablePersistable with FTS virtual tables
2016-10-03 22:35:10 +02:00
Gwendal Roué
47938a2278
#92 , #129 : Test full-text search with NFD-normalized patterns
2016-10-03 20:00:32 +02:00
Gwendal Roué
6922ad04a9
#92 , #129 : Rename test file
2016-10-03 19:37:00 +02:00
Gwendal Roué
cc24e73483
#92 , #129 : Test FTS3Pattern(matchingAnyTokenIn:), FTS3Pattern(matchingAllTokensIn:), FTS3Pattern(matchingPhrase:)
2016-10-03 19:34:56 +02:00
Gwendal Roué
59fed5c756
#92 , #129 : Test FTS3Pattern with invalid patterns
2016-10-03 19:10:16 +02:00
Gwendal Roué
f93e7579bc
#92 , #129 : Test FTS3Pattern with valid patterns
2016-10-03 19:06:43 +02:00
Gwendal Roué
a617053d97
#92 , #129 : Full-Text Search documentation
2016-10-03 15:32:57 +02:00
Gwendal Roué
3ebd5a95d4
#92 , #129 : FTS3Pattern cleanup
2016-10-03 14:46:16 +02:00
Gwendal Roué
4f4ecbf819
#92 , #129 : Full-Text Search documentation
2016-10-03 14:40:28 +02:00
Gwendal Roué
cb81b63524
#92 , #129 : Full-Text Search documentation
2016-10-03 14:39:15 +02:00
Gwendal Roué
8bd3512bc8
#92 , #129 : Full-Text Search documentation
2016-10-03 14:37:58 +02:00
Gwendal Roué
7f0d3c89bd
#92 , #129 : Full-Text Search documentation
2016-10-03 14:37:00 +02:00
Gwendal Roué
f4d87458dd
#92 , #129 : Full-Text Search documentation
2016-10-03 14:31:07 +02:00
Gwendal Roué
2c3c80e45c
#92 , #129 : Full-Text Search documentation
2016-10-03 14:14:42 +02:00
Gwendal Roué
1a24193d2c
#92 , #129 : Full-Text Search documentation
2016-10-03 14:08:36 +02:00
Gwendal Roué
92ac40e4da
#92 , #129 : FTS3Pattern cleanup
2016-10-03 12:18:52 +02:00
Gwendal Roué
fcc316674e
#92 , #129 : FTS3Pattern cleanup
2016-10-03 09:07:26 +02:00
Gwendal Roué
a0237d4259
#92 , #129 : FTS3Pattern ~= Column
2016-10-03 08:34:12 +02:00
Gwendal Roué
bf061b9d4f
#92 , #129 : FTS3Pattern(matchingAnyTokenIn:tokenizer:), FTS3Pattern(matchingAllTokensIn:tokenizer:), FTS3Pattern(matchingPhrase:tokenizer:)
2016-10-03 08:26:35 +02:00
Gwendal Roué
6f3b5b1c61
#92 : introduce FTS4Pattern (addresses #129 )
2016-09-30 10:47:36 +02:00
Gwendal Roué
1244b6b283
Move == operators inside their adopting type
2016-09-30 06:00:50 +02:00
Gwendal Roué
b01303f5ae
GRDBDemoiOS: make setupDatabase() a throwing function
2016-09-29 10:06:50 +02:00
Gwendal Roué
3a9d5730e5
Latest Swift 2.3 version: v0.81.2
2016-09-28 20:55:34 +02:00
Gwendal Roué
17a8a5984b
v0.85.0
2016-09-28 20:47:22 +02:00
Gwendal Roué
0cd2c067b6
GRDB Extension Guide: link to future reference
2016-09-28 20:44:28 +02:00
Gwendal Roué
b4342492d5
CHANGELOG.md
2016-09-28 20:38:01 +02:00
Gwendal Roué
ccbbdd280d
CHANGELOG.md
2016-09-28 20:37:14 +02:00
Gwendal Roué
ada209dc75
TODO.md
2016-09-28 20:20:58 +02:00
Gwendal Roué
a602e3c88a
TODO.md
2016-09-28 20:17:24 +02:00
Gwendal Roué
b507d527e3
TODO.md
2016-09-28 20:16:59 +02:00
Gwendal Roué
6d1ce4bca2
Documentation: how to access the SQLite C Interface (ping #132 )
2016-09-28 20:13:59 +02:00
Gwendal Roué
36eda331d1
ROUND() is a weird beast... Don't use it as an documentation example (and fix extensibility tests)
2016-09-28 19:03:23 +02:00
Gwendal Roué
a2eca89fb8
TODO.md
2016-09-28 18:55:31 +02:00
Gwendal Roué
a555ba09f1
Documentation
2016-09-28 13:59:02 +02:00
Gwendal Roué
313104a01b
TODO.md
2016-09-28 09:49:53 +02:00
Gwendal Roué
744d2a535f
Failing extensibility tests
2016-09-28 09:13:00 +02:00
Gwendal Roué
f08d9d2775
Document the release process
2016-09-28 09:12:51 +02:00
Gwendal Roué
224cf9b88d
Project fixes for SQLCipher and Custom SQLite tests on OSX
2016-09-28 08:49:25 +02:00
Gwendal Roué
5ba06a74a0
Remove support for text encodings
2016-09-28 07:14:22 +02:00
Gwendal Roué
1f14cc35dd
CHANGELOG.md
2016-09-28 06:49:12 +02:00
Gwendal Roué
4953307e1e
Documentation
2016-09-28 06:47:18 +02:00
Gwendal Roué
b33d429212
Documentation
2016-09-28 06:46:25 +02:00
Gwendal Roué
d3a17b64f4
Documentation
2016-09-28 06:45:10 +02:00
Gwendal Roué
5a572b25a0
Refactor the query interface types to enhance extensibility
2016-09-27 23:11:21 +02:00
Gwendal Roué
03187804c4
Minor
2016-09-23 08:04:45 +02:00
Gwendal Roué
99b005f0cc
Minor
2016-09-23 07:40:57 +02:00
Gwendal Roué
7bf5d027bf
TODO: FTS needs =~ match operator
2016-09-22 22:45:46 +02:00
Gwendal Roué
e6f7cc8d74
README.md
2016-09-22 15:36:24 +02:00
Gwendal Roué
4224c01925
README.md
2016-09-22 09:14:57 +02:00
Gwendal Roué
ea85d577d8
Clarification the behavior of the REPLACE conflict handling regarding transaction observers
2016-09-22 07:48:37 +02:00
Gwendal Roué
add0e43723
TODO.md
2016-09-22 07:45:46 +02:00
Gwendal Roué
e7378cbba0
Test that the truncate optimization does not prevent transaction observers from observing individual deletions
2016-09-22 07:45:32 +02:00
Gwendal Roué
dc58ff19d4
Clarification the behavior of the REPLACE conflict handling regarding transaction observers
2016-09-22 07:44:43 +02:00
Gwendal Roué
7bce331eb1
Clarification the behavior of the REPLACE conflict handling regarding transaction observers
2016-09-22 06:48:18 +02:00
Gwendal Roué
141dc247d6
Playgrounds/MyPlayground.swift
2016-09-21 19:51:23 +02:00
Gwendal Roué
dda8df678a
Documentation
2016-09-21 09:15:27 +02:00
Gwendal Roué
e06abbc354
Documentation
2016-09-21 09:14:00 +02:00
Gwendal Roué
26938c245b
Documentation
2016-09-21 09:12:51 +02:00
Gwendal Roué
54e9803080
Rename SchedulingWatchdog.makeSerializedQueueAllowing(database:) to SchedulingWatchdog.makeSerializedQueue(allowingDatabase:)
2016-09-21 09:11:23 +02:00
Gwendal Roué
bf30c7cb01
TODO.md
2016-09-17 13:00:35 +02:00
Gwendal Roué
32f063fd2b
TODO.md
2016-09-17 12:57:56 +02:00
Gwendal Roué
e4c27a31fa
TODO.md
2016-09-17 12:53:05 +02:00
Gwendal Roué
365e44e376
TableMapping.deleteAll(db)
2016-09-17 12:50:57 +02:00
Gwendal Roué
7e55a8558a
Documentation
2016-09-17 11:05:27 +02:00
Gwendal Roué
e38b007743
Documentation
2016-09-17 11:03:09 +02:00
Gwendal Roué
f2dd248200
Documentation
2016-09-17 11:02:02 +02:00
Gwendal Roué
ce8673e7e2
Documentation
2016-09-17 10:35:59 +02:00
Gwendal Roué
aaf4deee2c
Documentation
2016-09-17 06:30:44 +02:00
Gwendal Roué
7a0895f872
Documentation
2016-09-17 06:13:37 +02:00
Gwendal Roué
d052c32f7a
Documentation
2016-09-17 06:01:12 +02:00
Gwendal Roué
07dbee52cd
Documentation
2016-09-17 05:58:50 +02:00
Gwendal Roué
aa8b1f39b3
Documentation
2016-09-17 05:39:16 +02:00
Gwendal Roué
849c550191
Typo
2016-09-17 05:35:30 +02:00
Gwendal Roué
41cdb4911c
CHANGELOG.md
2016-09-17 05:26:19 +02:00
Gwendal Roué
15c4efcbe4
Typo
2016-09-17 05:20:12 +02:00
Gwendal Roué
6b776f0b92
Documentation of DatabaseValue.fromDatabaseValue
2016-09-16 22:25:58 +02:00
Gwendal Roué
b8005deaa4
Fix typo
2016-09-16 22:23:48 +02:00
Gwendal Roué
2fc35e2543
Documentation of DatabaseValue.fromDatabaseValue
2016-09-16 22:23:12 +02:00
Gwendal Roué
e7fcfff370
Documentation of DatabaseValue conversion from NULL
2016-09-16 22:16:08 +02:00
Gwendal Roué
4bc9033205
Documentation of DatabaseValue conversion from NULL
2016-09-16 22:14:10 +02:00
Gwendal Roué
8673550b69
Conflict resolution documentation
2016-09-16 20:29:06 +02:00
Gwendal Roué
e47ed9c012
Conflict resolution documentation
2016-09-16 20:25:47 +02:00
Gwendal Roué
bdd58a50b1
Conflict resolution documentation
2016-09-16 20:23:26 +02:00
Gwendal Roué
e3d8deba0c
v0.84.0
2016-09-16 20:05:44 +02:00
Gwendal Roué
b386832256
Conflict resolution documentation
2016-09-16 19:56:43 +02:00
Gwendal Roué
26564cfeda
Conflict resolution documentation
2016-09-16 19:55:52 +02:00
Gwendal Roué
78e560318d
Conflict resolution documentation
2016-09-16 19:54:51 +02:00
Gwendal Roué
7a88044edb
Conflict resolution documentation
2016-09-16 19:53:19 +02:00
Gwendal Roué
cc06968c42
Conflict resolution documentation
2016-09-16 19:40:34 +02:00
Gwendal Roué
ae7c89d746
Conflict resolution documentation
2016-09-16 19:37:29 +02:00
Gwendal Roué
0c525a8e52
Only the IGNORE conflict policy invalidates the last inserted rowID ( #118 )
2016-09-16 19:37:14 +02:00
Gwendal Roué
4ac562a55a
Fixes #118
2016-09-16 13:52:43 +02:00
Gwendal Roué
5180673b6d
v0.83.0
2016-09-16 07:50:35 +02:00
Gwendal Roué
f573046107
Merge branch 'Swift2.3' of github.com:groue/GRDB.swift
...
Conflicts:
CHANGELOG.md
GRDB.swift.podspec
GRDB/Core/DatabaseValue.swift
GRDB/Core/Row.swift
GRDB/Core/RowAdapter.swift
GRDB/Record/Record.swift
README.md
Support/Info.plist
Tests/Public/Core/DatabaseValue/DatabaseValueTests.swift
Tests/Public/Record/MinimalPrimaryKeyRowIDTests.swift
Tests/Public/Record/MinimalPrimaryKeySingleTests.swift
Tests/Public/Record/PrimaryKeyMultipleTests.swift
Tests/Public/Record/PrimaryKeyRowIDTests.swift
Tests/Public/Record/PrimaryKeySingleTests.swift
Tests/Public/Record/PrimaryKeySingleWithReplaceConflictResolutionTests.swift
2016-09-16 06:46:42 +02:00
Gwendal Roué
a24878209b
v0.81.1
2016-09-16 06:00:16 +02:00
Gwendal Roué
f12d69a4f6
CHANGELOG.md
2016-09-16 05:59:42 +02:00
Gwendal Roué
4a1706ede6
Remove Row.databaseValue(atIndex:) and Row.databaseValue(named:)
2016-09-16 05:58:17 +02:00
Gwendal Roué
f5cb34f506
DatabaseValue no longer adopts StatementColumnConvertible; DatabaseValue.fromDatabaseValue() no longer returns nil for NULL ( fixes #119 )
2016-09-16 05:48:09 +02:00
Gwendal Roué
2f1e758eb4
Upgrade SQLiteCustom to v3.14.1
2016-09-16 05:46:37 +02:00
Gwendal Roué
f825f43528
Upgrade custom SQLite builds to v3.14.1, and restore support for SQLite pre-update hooks
2016-09-15 09:05:09 +02:00
Gwendal Roué
8f1844921e
README.md
2016-09-15 07:24:20 +02:00
Gwendal Roué
1cd887d3ec
TODO.md
2016-09-15 06:42:05 +02:00
Gwendal Roué
0bb53a73a8
README.md
2016-09-14 21:31:05 +02:00
Gwendal Roué
6ede5dda6b
README.md
2016-09-14 21:29:25 +02:00
Gwendal Roué
3dbf92bb58
README.md
2016-09-14 21:21:33 +02:00
Gwendal Roué
f447d7f423
README.md
2016-09-14 16:08:37 +02:00
Gwendal Roué
a3f6a330e2
README.md
2016-09-14 13:28:35 +02:00
Gwendal Roué
0c26670bf6
README.md
2016-09-14 13:19:55 +02:00
Gwendal Roué
97884af83d
Documentation
2016-09-14 09:13:26 +02:00
Gwendal Roué
946df5f8d6
Documentation
2016-09-14 09:05:20 +02:00
Gwendal Roué
e98a12c797
v0.82.1
2016-09-14 08:59:27 +02:00
Gwendal Roué
7444870741
CocoaPods support: .swift-version
2016-09-14 08:57:20 +02:00
Gwendal Roué
2bcf6a5da8
Restore FetchedRecordsController ( fixes #117 )
...
The Swift 3 compiler in Release configuration collapses when a property of type DatabaseWriter calls its rethrowing write() method. This commit introduces an ad-hoc non-rethrowing method to make the compiler happy.
2016-09-13 13:39:01 +02:00
Gwendal Roué
b77fa8d57b
Revert "Disable FetchedRecordsController which does not compile in Release configuration ( fixes #116 )"
...
This reverts commit cfd6f063e1 .
2016-09-13 13:10:26 +02:00
Gwendal Roué
cfd6f063e1
Disable FetchedRecordsController which does not compile in Release configuration ( fixes #116 )
...
Tests won't run in Release mode (because of compilation errors around the DatabaseReader protocol), but at least Carthage can build the iOS, macOS, and watchOS frameworks.
2016-09-13 09:02:51 +02:00
Gwendal Roué
a8906da890
Fix documentation typo
2016-09-11 13:44:45 +02:00
Gwendal Roué
b63046b20a
v0.82.0
2016-09-11 13:16:40 +02:00
Gwendal Roué
df91e31397
Merge branch 'master' of github.com:groue/GRDB.swift into Swift3
...
Conflicts:
README.md
2016-09-11 13:11:27 +02:00
Gwendal Roué
b40622c093
More renaming Fix-its for the Swift 2.x -> Swift 3 API changes
2016-09-11 12:56:31 +02:00
Gwendal Roué
a925aac1df
Project settings
2016-09-11 12:30:28 +02:00
Gwendal Roué
2081b6a4a8
Merge pull request #114 from swiftlyfalling/Swift3-Swift2-conversion-fixits
...
Automatic renaming Fix-Its for many of the Swift 2.x -> Swift 3 GRDB API changes
2016-09-11 08:07:36 +02:00
Gwendal Roué
7b66f5afb3
Fix repo URL in Podfile snippet ( fixes #113 )
2016-09-11 07:48:55 +02:00
swiftlyfalling
a14da417a7
Add automatic renaming Fix-Its that cover many of the Swift 2.x -> Swift 3 GRDB API changes.
2016-09-10 17:44:48 -04:00
Gwendal Roué
5af4e1db67
README.md
2016-09-10 18:44:02 +02:00
Gwendal Roué
e90e0f7d57
Database event filtering documentation
2016-09-10 18:40:43 +02:00
Gwendal Roué
eac0901af0
Refactor database event filtering
2016-09-10 18:28:44 +02:00
Gwendal Roué
79f3f69827
Revert "Tests for numeric overflows depend on architecture"
...
This reverts commit 88cc17b530 .
2016-09-10 17:55:46 +02:00
Gwendal Roué
7c0ca54249
Swift 3: move some types declarations inside the Database class
2016-09-10 17:52:15 +02:00
Gwendal Roué
d10d4220a8
README.md
2016-09-10 17:25:13 +02:00
Gwendal Roué
ab8ef25f89
Remove SQLCipher support from Carthage
2016-09-10 17:22:16 +02:00
Gwendal Roué
8ff60854ac
CHANGELOG.md
2016-09-10 17:15:47 +02:00
Gwendal Roué
41938a5f16
CHANGELOG.md
2016-09-10 16:36:19 +02:00
Gwendal Roué
10f8a2e807
CHANGELOG.md
2016-09-10 16:31:57 +02:00
Gwendal Roué
2d8de7009b
Swift 3 and watchOS
2016-09-10 16:28:18 +02:00
Gwendal Roué
88cc17b530
Tests for numeric overflows depend on architecture
2016-09-10 16:15:35 +02:00
Gwendal Roué
df09d0c8bb
Swift 3 and SQLCipher
2016-09-10 16:03:42 +02:00
Gwendal Roué
749aa28b9a
Merge branch 'Swift2.3' of github.com:groue/GRDB.swift into Swift3
...
Conflicts:
CHANGELOG.md
DemoApps/GRDBDemoiOS/GRDBDemoiOS.xcodeproj/project.pbxproj
GRDB.xcodeproj/project.pbxproj
GRDB/Core/Support/Foundation/NSURL.swift
README.md
TODO.md
Tests/Public/SQLTableBuilder/SQLTableBuilderTests.swift
2016-09-10 15:36:56 +02:00
Gwendal Roué
912ec6a9e9
Cleanup
2016-09-10 15:34:32 +02:00
Gwendal Roué
e49957b2b2
v0.81.0
2016-09-10 13:28:17 +02:00
Gwendal Roué
06e74ffb47
Update link to latest Swift2.2 version
2016-09-09 13:46:45 +02:00
Gwendal Roué
4ebbc638da
Merge branch 'Swift2.2' of github.com:groue/GRDB.swift
2016-09-09 13:45:39 +02:00
Gwendal Roué
757fbbdd88
v0.80.2
2016-09-09 13:35:36 +02:00
Gwendal Roué
c73965f69a
Fix SQLiteWatchOS module
2016-09-09 13:33:54 +02:00
Gwendal Roué
2af0f73473
Swift 2.3 requires Xcode 8
2016-09-09 09:15:35 +02:00
Gwendal Roué
305ecf8a7c
watchOS requirement
2016-09-09 09:10:38 +02:00
Gwendal Roué
da56090604
Typo
2016-09-09 09:02:45 +02:00
Gwendal Roué
98eb5640ed
Typo
2016-09-09 09:02:19 +02:00
Gwendal Roué
1e1b1baad5
Update README about various Swift versions
2016-09-09 09:00:41 +02:00
Gwendal Roué
a68103e8ba
Apply https://github.com/groue/GRDB.swift/issues/101#issuecomment-240568714
2016-09-09 08:48:10 +02:00
Gwendal Roué
3438addf6c
Swift 2.3 (addresses #110 , #112 )
2016-09-09 08:44:03 +02:00
Gwendal Roué
6fc7c4e2c0
TODO.md
2016-09-08 13:57:30 +02:00
Gwendal Roué
dc7537ac0a
Apply https://github.com/groue/GRDB.swift/issues/101#issuecomment-240568714
2016-09-08 13:56:59 +02:00
Gwendal Roué
d7a83f3361
TODO.md
2016-09-08 13:25:06 +02:00
Gwendal Roué
5e75b1e7dc
v0.80.1
2016-09-08 13:04:01 +02:00
Gwendal Roué
a11a16a700
Project cleanup
2016-09-08 12:58:14 +02:00
Gwendal Roué
a3de8281ef
Ooops add watchOS to the podspec
2016-09-08 09:13:23 +02:00
Gwendal Roué
7960528464
Update GRDBDemo iOS/watchOS for Xcode 8 GM
2016-09-08 09:06:44 +02:00
Gwendal Roué
a8b067885f
Merge branch 'master' of github.com:groue/GRDB.swift into Swift3
...
Conflicts:
DemoApps/GRDBDemoiOS/GRDBDemoiOS.xcodeproj/project.pbxproj
GRDB/Core/Database.swift
README.md
TODO.md
2016-09-08 08:37:58 +02:00
Gwendal Roué
945fabbdd6
Disable macOS tests that trigger a linker error
2016-09-08 08:10:00 +02:00
Gwendal Roué
c12bf0aead
Xcode is no longer beta
2016-09-08 08:09:10 +02:00
Gwendal Roué
12f25ddafd
Fix Xcode 8.0 GM compilation errors
2016-09-08 08:08:38 +02:00
Gwendal Roué
55f07e913a
v0.80.0
2016-09-07 22:59:03 +02:00
Gwendal Roué
0bd22281f7
GRDBDemoWatchOS
2016-09-07 22:51:12 +02:00
Gwendal Roué
72ab62b21b
Merge branch 'WatchOS' of github.com:groue/GRDB.swift
2016-09-07 22:17:08 +02:00
Gwendal Roué
796d30d863
TODO.md
2016-09-07 22:16:01 +02:00
Gwendal Roué
b191323e2b
Query Interface deletion documentation
2016-09-07 18:06:30 +02:00
Gwendal Roué
e4ae0988a4
QueryInterfaceRequest.deleteAll (for @pakko972)
2016-09-07 14:10:16 +02:00
Gwendal Roué
238ebdeed8
Fix the documentation of delete/Fetch/One/All(keys:) so that it makes clear that arguments are unique keys.
2016-09-07 13:44:25 +02:00
Gwendal Roué
68ebe1a4ff
TODO.md
2016-09-07 13:39:37 +02:00
Gwendal Roué
8a89be6999
Pass test for Database.tableExists() and temporary table
2016-09-07 13:33:31 +02:00
Gwendal Roué
0620fc9f17
Failing test for Database.tableExists() and temporary table
2016-09-07 13:29:06 +02:00
Gwendal Roué
1e95e38505
TODO.md
2016-09-07 04:24:18 +02:00
Gwendal Roué
5b4e5f9d1d
TODO.md
2016-09-06 10:08:05 +02:00
Gwendal Roué
6285fd9f98
TODO.md
2016-09-06 06:25:37 +02:00
Gwendal Roué
401d5cab66
TODO.md
2016-09-02 12:46:29 +02:00
Gwendal Roué
d7e2df5ca9
Merge branch 'master' of github.com:groue/GRDB.swift into Swift3
...
Conflicts:
README.md
2016-08-19 09:01:59 +02:00
Gwendal Roué
b38177bb32
Fix reference Swift 2.2 version
2016-08-19 09:00:34 +02:00
Gwendal Roué
27b9cbda38
Documentation
2016-08-19 08:59:06 +02:00
Gwendal Roué
a71e08ad2a
TODO: attempt to read from the database in DatabasePool.init() and throw eventual error (see #99 )
2016-08-18 11:16:47 +02:00
Gwendal Roué
5e0c9165ba
Update project settings
2016-08-17 13:06:17 +02:00
Gwendal Roué
cb2a6cd3b5
TODO
2016-08-17 12:59:55 +02:00
Gwendal Roué
81c0e73751
Merge branch 'master' of github.com:groue/GRDB.swift into Swift3
...
Conflicts:
GRDB/Core/Row.swift
GRDB/QueryInterface/SQLTableBuilder.swift
README.md
2016-08-17 12:58:41 +02:00
Gwendal Roué
6f12594b3e
v0.79.4
2016-08-17 08:04:01 +02:00
Gwendal Roué
5a296b1238
Fix #102
2016-08-17 07:54:13 +02:00
Gwendal Roué
249456c916
Add failing test for #102 (DatabasePool can't open a non-WAL database and then read, with error 14)
2016-08-17 07:20:25 +02:00
Gwendal Roué
5aa2554584
v0.79.3
2016-08-16 19:21:11 +02:00
Gwendal Roué
9999ced817
Pass tests for table creation DSL with auto references
...
Conflicts:
CHANGELOG.md
2016-08-16 19:03:35 +02:00
Gwendal Roué
6c137b29c2
Failing tests for table creation DSL with auto references
2016-08-16 19:01:53 +02:00
Gwendal Roué
854c070b82
Xcode Version 8.0 beta 6 (8S201h)
2016-08-16 17:47:57 +02:00
Gwendal Roué
6a5a4664e9
CHANGELOG.md
2016-08-13 11:01:20 +02:00
Gwendal Roué
5aaecd3946
Row.value(SQLColumn)
2016-08-13 10:59:16 +02:00
Gwendal Roué
425310710f
TODO.md
2016-08-11 09:09:08 +02:00
Gwendal Roué
af990fb666
Merge branch 'master' of github.com:groue/GRDB.swift into Swift3
2016-08-11 08:12:29 +02:00
Gwendal Roué
c0b2669c46
Tests for generated UPDATE queries allow some variation
2016-08-11 08:11:48 +02:00
Gwendal Roué
edc615f487
Tests for generated UPDATE queries allow some variation
2016-08-11 08:07:58 +02:00
Gwendal Roué
04b8b8dd5a
Update version
2016-08-10 21:30:19 +02:00
Gwendal Roué
34ef36544e
Merge branch 'master' of github.com:groue/GRDB.swift into Swift3
...
Conflicts:
GRDB/Record/Persistable.swift
README.md
Tests/Public/Core/Persistable/MutablePersistableTests.swift
Tests/Public/Core/Persistable/PersistableTests.swift
2016-08-10 21:29:30 +02:00
Gwendal Roué
4a9deadcf4
v0.79.2
2016-08-10 21:19:06 +02:00
Gwendal Roué
e1eb1d705a
Pass tests for partial update case insensitivity
2016-08-10 21:14:35 +02:00
Gwendal Roué
ab035a3887
Failing tests for partial update case insensitivity
2016-08-10 21:14:26 +02:00
Gwendal Roué
c92f0f3edf
Merge branch 'master' of github.com:groue/GRDB.swift into Swift3
...
Conflicts:
GRDB/QueryInterface/SQLTableBuilder.swift
GRDB/Record/Persistable.swift
GRDB/Record/Record.swift
README.md
TODO.md
Tests/Public/Core/Persistable/MutablePersistableTests.swift
Tests/Public/SQLTableBuilder/SQLTableBuilderTests.swift
2016-08-10 20:43:24 +02:00
Gwendal Roué
ceb73730c2
v0.79.1
2016-08-10 18:56:23 +02:00
Gwendal Roué
60e0a731ad
Partial updates now requires updated columns to be present in the persistentDictionary.
2016-08-10 18:54:32 +02:00
Gwendal Roué
d9e77284c1
Pass test for multiple foreign keys on a column
2016-08-10 13:23:24 +02:00
Gwendal Roué
4d9c7d0dcb
Failing test for multiple foreign keys on a column
2016-08-10 13:23:19 +02:00
Gwendal Roué
936d2e56ea
CHANGELOG.md
2016-08-10 09:08:06 +02:00
Gwendal Roué
4be1923921
Pass test for multiple check constraints on a column
2016-08-10 08:48:24 +02:00
Gwendal Roué
7bb5866164
Failing test for multiple check constraints on a column
2016-08-10 08:48:06 +02:00
Gwendal Roué
0f2854fe17
CHANGELOG.md
2016-08-10 08:26:43 +02:00
Gwendal Roué
548b2f4b77
Rename DataMapper to DAO
2016-08-10 08:24:31 +02:00
Gwendal Roué
cd776e4b64
Passing tests for delete() when primary key is nil
2016-08-10 08:20:15 +02:00
Gwendal Roué
aeca4c0f9c
Failing tests that delete() returns false when primary key is nil
2016-08-10 08:16:32 +02:00
Gwendal Roué
d96b1bb9f8
Passing tests for update() and exists() when primary key is nil
2016-08-10 08:14:37 +02:00
Gwendal Roué
944bdd5bba
Failing tests that update() throws PersistenceError.NotFound when primary key is nil
2016-08-10 08:03:41 +02:00
Gwendal Roué
e61550841b
Failing tests that exists() returns false when primary key is nil
2016-08-10 08:00:27 +02:00
Gwendal Roué
ff5e171d4a
Date format documentation (addresses #97 )
2016-08-10 07:45:04 +02:00
Gwendal Roué
b5bb92459d
WatchOS framework (adresses #96 )
2016-08-10 06:27:50 +02:00
Gwendal Roué
b9ea94e9be
TODO.md
2016-08-10 06:15:53 +02:00
Gwendal Roué
f42186f7c9
TODO.md
2016-08-10 06:10:59 +02:00
Gwendal Roué
b510bff195
Documentation
2016-08-09 18:41:30 +02:00
Gwendal Roué
c1b85c0d21
TODO.md
2016-08-09 18:35:50 +02:00
Gwendal Roué
08f84bdc07
TODO.md
2016-08-09 14:36:56 +02:00
Gwendal Roué
187c93377f
Documentation
2016-08-09 09:09:11 +02:00
Gwendal Roué
eb4b85dc79
Merge branch 'master' of github.com:groue/GRDB.swift into Swift3
2016-08-09 09:08:48 +02:00
Gwendal Roué
36d7bf77e3
Documentation
2016-08-09 09:07:45 +02:00
Gwendal Roué
2a47e5f32c
TODO.md
2016-08-08 21:28:15 +02:00
Gwendal Roué
b522abffb5
TODO.md
2016-08-08 21:24:01 +02:00
Gwendal Roué
ba272061b7
Documentation
2016-08-08 13:54:02 +02:00
Gwendal Roué
142542da1e
Merge branch 'master' of github.com:groue/GRDB.swift into Swift3
2016-08-08 13:47:19 +02:00
Gwendal Roué
c79c4d265c
Documentation
2016-08-08 13:46:26 +02:00
Gwendal Roué
95289f1715
Merge branch 'master' of github.com:groue/GRDB.swift into Swift3
...
Conflicts:
GRDB/QueryInterface/SQLTableBuilder.swift
README.md
TODO.md
Tests/Public/SQLTableBuilder/SQLTableBuilderTests.swift
2016-08-08 13:35:59 +02:00
Gwendal Roué
a35d5c4c3a
v0.79.0
2016-08-08 13:22:49 +02:00
Gwendal Roué
c6fd36b75d
SQLTableBuilder: column.defaults(to:)
2016-08-08 13:19:43 +02:00
Gwendal Roué
985eb69c50
TODO.md
2016-08-08 10:42:09 +02:00
Gwendal Roué
17912ebffe
Documentation
2016-08-08 09:19:41 +02:00
Gwendal Roué
a9b41d4a21
TODO.md
2016-08-08 08:57:10 +02:00
Gwendal Roué
0b020ce1ac
Documentation
2016-08-08 08:12:18 +02:00
Gwendal Roué
580532aeca
Merge branch 'master' of github.com:groue/GRDB.swift into Swift3
...
Conflicts:
GRDB/Core/Statement.swift
2016-08-08 08:10:48 +02:00
Gwendal Roué
8c43047c95
Documentation
2016-08-08 08:06:43 +02:00
Gwendal Roué
05aeef0ea0
Documentation
2016-08-08 08:06:09 +02:00
Gwendal Roué
ced9493069
Better compilation time
2016-08-07 15:26:39 +02:00
Gwendal Roué
76ab3fd1ab
Better compilation time
2016-08-07 15:26:30 +02:00
Gwendal Roué
7d6fcda03e
slow_methods.sh output methods that are slow to compile
2016-08-07 15:26:18 +02:00
Gwendal Roué
a7d2c1137c
CHANGELOG.md
2016-08-07 13:53:25 +02:00
Gwendal Roué
033ad18779
CHANGELOG.md
2016-08-07 13:51:34 +02:00
Gwendal Roué
404706a3db
Swift 3 tests
2016-08-07 13:19:53 +02:00
Gwendal Roué
2c3bf06740
Merge branch 'master' of github.com:groue/GRDB.swift into Swift3
...
Conflicts:
GRDB/QueryInterface/QueryInterfaceRequest.swift
GRDB/QueryInterface/SQLCollation.swift
GRDB/QueryInterface/SQLFunction.swift
GRDB/QueryInterface/SQLOperator.swift
GRDB/QueryInterface/SQLSelectQuery.swift
GRDB/QueryInterface/SQLTableBuilder.swift
2016-08-07 12:57:48 +02:00
Gwendal Roué
a132b58227
Promote _SQLExpressible protocol to SQLExpressible
2016-08-07 12:46:19 +02:00
Gwendal Roué
8d91141d6a
Swift 3 : lowercase enum cases for DatabasePreUpdateEvent.Kind
2016-08-07 12:25:13 +02:00
Gwendal Roué
a8ac895998
Swift 3 documentation
2016-08-07 12:24:32 +02:00
Gwendal Roué
ee8aa1d9c6
Swift 3: move @noescape qualifiers
2016-08-07 11:04:04 +02:00
Gwendal Roué
206e45214f
Merge branch 'master' of github.com:groue/GRDB.swift into Swift3
2016-08-07 11:00:25 +02:00
Gwendal Roué
ba2aef0468
Documentation
2016-08-07 10:59:56 +02:00
Gwendal Roué
7642b522f9
SQLTableBuilder: add missing @noescape qualifiers
2016-08-07 10:57:26 +02:00
Gwendal Roué
b8960c4549
Merge branch 'master' of github.com:groue/GRDB.swift into Swift3
...
Conflicts:
DemoApps/GRDBDemoiOS/GRDBDemoiOS/PersonsViewController.swift
2016-08-07 10:48:46 +02:00
Gwendal Roué
358b823e00
GRDBDemoiOS: use table creation DSL
2016-08-07 10:44:19 +02:00
Gwendal Roué
aa3a95f528
Swift 3 GRDBDemoiOS
2016-08-07 10:38:51 +02:00
Gwendal Roué
00a1eebf60
Swift 3 Grand Renaming: SQLColumn -> Column
2016-08-07 10:38:24 +02:00
Gwendal Roué
b6587da081
Swift 3 Documentation
2016-08-07 10:20:07 +02:00
Gwendal Roué
bcd6e6767a
Merge branch 'master' of github.com:groue/GRDB.swift into Swift3
...
Conflicts:
GRDB.xcodeproj/project.pbxproj
GRDB/Core/Database.swift
GRDB/Core/DatabaseSchemaCache.swift
GRDB/QueryInterface/SQLCollation.swift
README.md
TODO.md
Tests/Public/Core/DatabaseValueConvertible/DatabaseValueConversionTests.swift
Tests/Public/Core/StatementColumnConvertible/StatementColumnConvertibleTests.swift
Tests/Public/QueryInterfaceRequest/QueryInterfaceRequestTests.swift
2016-08-07 10:11:31 +02:00
Gwendal Roué
7d21772f87
Documentation
2016-08-07 05:01:27 +02:00
Gwendal Roué
949d706eaa
Documentation
2016-08-07 04:41:43 +02:00
Gwendal Roué
c8445b9b5f
Documentation
2016-08-07 04:35:31 +02:00
Gwendal Roué
d3c901678c
Documentation
2016-08-07 04:18:44 +02:00
Gwendal Roué
1549affd5c
Documentation
2016-08-07 04:14:29 +02:00
Gwendal Roué
f9e875a7cc
Documentation
2016-08-07 04:11:37 +02:00
Gwendal Roué
5b65279a0a
Documentation
2016-08-07 04:00:57 +02:00
Gwendal Roué
ccd58d2909
Documentation
2016-08-07 03:41:18 +02:00
Gwendal Roué
714f56c17c
Fix version links
2016-08-06 20:50:38 +02:00
Gwendal Roué
a820a96996
v0.78.0
2016-08-06 15:40:11 +02:00
Gwendal Roué
1d77523e41
Merge pull request #93 from groue/SQLTableBuilder
...
Table Creation DSL
2016-08-06 15:38:06 +02:00
Gwendal Roué
107c1529ff
Merge branch 'master' of github.com:groue/GRDB.swift into SQLTableBuilder
...
Conflicts:
TODO.md
2016-08-06 15:29:06 +02:00
Gwendal Roué
a7f80ef144
CHANGELOG.md
2016-08-06 15:27:32 +02:00
Gwendal Roué
9274864a83
Identity
2016-08-06 15:09:47 +02:00
Gwendal Roué
f51bbd8a39
Documentation tweaks
2016-08-06 15:07:07 +02:00
Gwendal Roué
1534e1a1ee
Documentation tweaks
2016-08-06 15:05:16 +02:00
Gwendal Roué
0c9c176223
SQLTableBuilder documentation
2016-08-06 15:00:38 +02:00
Gwendal Roué
e58ed7a3dc
SQLTableBuilder documentation
2016-08-06 14:59:01 +02:00
Gwendal Roué
adde65f757
SQLTableBuilder documentation
2016-08-06 14:58:21 +02:00
Gwendal Roué
b45939ed26
SQLTableBuilder documentation
2016-08-06 14:57:01 +02:00
Gwendal Roué
3de4920385
SQLTableBuilder documentation
2016-08-06 14:54:53 +02:00
Gwendal Roué
0ab4df99b7
SQLTableBuilder documentation
2016-08-06 14:43:43 +02:00
Gwendal Roué
adaabcb8e5
SQLTableBuilder documentation
2016-08-06 14:38:20 +02:00
Gwendal Roué
68403ee142
SQLTableBuilder documentation
2016-08-06 14:33:31 +02:00
Gwendal Roué
1eb0040126
SQLTableBuilder documentation
2016-08-06 14:21:57 +02:00
Gwendal Roué
6cca2fd991
Rename PrimaryKey to PrimaryKeyInfo
2016-08-06 14:21:39 +02:00
Gwendal Roué
f276ab830a
README.md
2016-08-06 14:02:00 +02:00
Gwendal Roué
2d3f45bad5
README.md
2016-08-06 13:57:03 +02:00
Gwendal Roué
30259c4360
SQLTableBuilder polish
2016-08-06 13:49:46 +02:00
Gwendal Roué
cfa091dbc4
SQLTableBuilder documentation + drop support for explicit primary key ordering until someone asks for it.
2016-08-06 13:40:04 +02:00
Gwendal Roué
eb18f474c8
Error handling documentation
2016-08-06 12:12:04 +02:00
Gwendal Roué
6554a027d7
Error handling documentation
2016-08-06 12:07:12 +02:00
Gwendal Roué
0e83f0b217
Error handling documentation
2016-08-06 12:05:45 +02:00
Gwendal Roué
b45d6945b1
Error handling documentation
2016-08-06 11:15:41 +02:00
Gwendal Roué
c2e32c0bf2
Error handling documentation
2016-08-06 11:13:27 +02:00
Gwendal Roué
926b9b1d1a
Error handling documentation
2016-08-06 11:11:38 +02:00
Gwendal Roué
57b51cec9c
TODO.md
2016-08-06 11:11:06 +02:00
Gwendal Roué
ebfcc2e23a
SQLTableBuilder documentation
2016-08-06 10:16:43 +02:00
Gwendal Roué
980b3234d5
SQLTableBuilder documentation
2016-08-06 10:14:04 +02:00
Gwendal Roué
a25b914085
SQLTableBuilder documentation
2016-08-06 10:11:56 +02:00
Gwendal Roué
c936000d62
SQLTableBuilder documentation
2016-08-06 10:08:00 +02:00
Gwendal Roué
e1f3adafb7
Typo
2016-08-06 10:02:24 +02:00
Gwendal Roué
4745eb190a
Query Interface Request documentation
2016-08-06 10:00:13 +02:00
Gwendal Roué
d78784e45e
SQLTableBuilder documentation
2016-08-06 09:54:30 +02:00
Gwendal Roué
6e60ff2062
SQLTableBuilder documentation
2016-08-06 09:53:34 +02:00
Gwendal Roué
b8c1c1ef1e
Length function documentation
2016-08-06 09:51:35 +02:00
Gwendal Roué
d918f0fb03
SQLTableBuilder: limit WITHOUT ROWID availability
2016-08-06 07:08:59 +02:00
Gwendal Roué
91d6880218
SQLTableBuilder documentation
2016-08-06 00:13:56 +02:00
Gwendal Roué
ea30075602
SQLTableBuilder documentation
2016-08-06 00:10:15 +02:00
Gwendal Roué
a00ca647f5
SQLTableBuilder documentation
2016-08-05 23:53:05 +02:00
Gwendal Roué
f6260087c3
SQLTableBuilder documentation
2016-08-05 23:51:58 +02:00
Gwendal Roué
81e1d86047
SQLTableBuilder documentation
2016-08-05 23:51:01 +02:00
Gwendal Roué
988ac8e60b
SQLTableBuilder polish
2016-08-05 23:45:27 +02:00
Gwendal Roué
cc624f9ed2
SQLTableBuilder documentation
2016-08-05 23:39:28 +02:00
Gwendal Roué
8d2984c572
SQLTableBuilder documentation
2016-08-05 23:36:54 +02:00
Gwendal Roué
29d4396956
SQLTableBuilder: tests for unicode default strings
2016-08-05 23:35:56 +02:00
Gwendal Roué
0ba0023099
SQLTableBuilder documentation + support for LENGTH SQLite function
2016-08-05 23:22:47 +02:00
Gwendal Roué
2ef26e9681
SQLTableBuilder documentation
2016-08-05 23:06:38 +02:00
Gwendal Roué
3be6b6966b
SQLTableBuilder documentation
2016-08-05 23:04:44 +02:00
Gwendal Roué
415aeb1ef5
SQLTableBuilder documentation
2016-08-05 23:02:39 +02:00
Gwendal Roué
2fc25e9b13
SQLTableBuilder documentation
2016-08-05 23:00:23 +02:00
Gwendal Roué
00a032e6b0
SQLTableBuilder documentation
2016-08-05 22:58:03 +02:00
Gwendal Roué
04ab95ab76
README.md
2016-08-05 20:51:15 +02:00
Gwendal Roué
2f3c7eb550
README.md
2016-08-05 20:49:57 +02:00
Gwendal Roué
dce6d50350
README.md
2016-08-05 20:49:32 +02:00
Gwendal Roué
6ac63436f7
README.md
2016-08-05 20:48:16 +02:00
Gwendal Roué
03979d8665
README.md
2016-08-05 20:45:58 +02:00
Gwendal Roué
8991232681
SQLTableBuilder: alter(table:) { $0.add(column:) }
2016-08-05 20:31:18 +02:00
Gwendal Roué
31a0604341
SQLTableBuilder: rename(table:to:)
2016-08-05 20:04:28 +02:00
Gwendal Roué
8b6ac9c736
SQLTableBuilder: create(index:), drop(index:)
2016-08-05 19:58:12 +02:00
Gwendal Roué
ac5279fa70
Use SQLCollation instead of String
2016-08-05 18:51:06 +02:00
Gwendal Roué
ed2ea88cb5
TODO.md
2016-08-05 14:55:07 +02:00
Gwendal Roué
f2a7706bdf
SQLTableBuilder: test ordering of DSL statements is not the ordering of SQL clauses
2016-08-05 14:06:11 +02:00
Gwendal Roué
b88d2fe111
SQLTableBuilder: table.check()
2016-08-05 14:03:50 +02:00
Gwendal Roué
9b9b4d4bdf
SQLTableBuilder: column.defaults() and column.check() now accept SQL literal
2016-08-05 13:52:09 +02:00
Gwendal Roué
41037eb425
SQLTableBuilder: column.defaults() requires a constant value (so does SQLite)
2016-08-05 13:33:47 +02:00
Gwendal Roué
ba126f1f1a
SQLTableBuilder: code organization
2016-08-05 13:24:10 +02:00
Gwendal Roué
88894a6d54
SQLTableBuilder: TODO
2016-08-05 09:12:25 +02:00
Gwendal Roué
61cb276b94
SQLTableBuilder: table.foreignKey()
2016-08-05 09:05:32 +02:00
Gwendal Roué
f83f5455c2
SQLTableBuilder: table.primaryKey(), table.uniqueKey()
2016-08-05 08:48:46 +02:00
Gwendal Roué
09e409cb79
SQLTableBuilder: documentation
2016-08-05 08:25:46 +02:00
Gwendal Roué
39e3cba80e
SQLTableBuilder: column.references(deferred: true)
2016-08-05 08:24:00 +02:00
Gwendal Roué
8246f1c990
SQLTableBuilder: column.references()
2016-08-05 08:17:09 +02:00
Gwendal Roué
10c32381d4
SQLTableBuilder: column.collate()
2016-08-04 23:05:56 +02:00
Gwendal Roué
5b6efbbb5f
SQLTableBuilder: column.defaults()
2016-08-04 22:57:14 +02:00
Gwendal Roué
5edb5276f8
SQLTableBuilder: column.check()
2016-08-04 13:57:32 +02:00
Gwendal Roué
b1109780ed
SQLTableBuilder: column.notNull() and unique()
2016-08-04 13:48:08 +02:00
Gwendal Roué
62070c50ff
SQLTableBuilder WIP
2016-08-04 13:38:39 +02:00
Gwendal Roué
8332dc188a
SQLTableBuilder tests
2016-08-04 13:34:14 +02:00
Gwendal Roué
3e28fd69b3
SQLTableBuilder: table & column primary key options
2016-08-04 09:10:32 +02:00
Gwendal Roué
4cf6f7bd7c
SQLTableBuilder: first passing test
2016-08-04 08:51:00 +02:00
Gwendal Roué
a2b0a57971
Realm 1.0.2
2016-08-03 13:27:50 +02:00
Gwendal Roué
df7d5c6075
Performance tips
2016-08-02 09:03:34 +02:00
Gwendal Roué
e6f9811162
Performance tips
2016-08-02 09:00:59 +02:00
Gwendal Roué
7625c75dc7
Swift 3: update project settings
2016-08-02 08:43:29 +02:00
Gwendal Roué
07ab79d8dd
Swift 3
2016-08-02 08:38:59 +02:00
Gwendal Roué
54f8550229
Swift 3
2016-08-02 08:38:45 +02:00
Gwendal Roué
f6ae7587ea
More where clause to end of function declarations
2016-08-02 08:20:05 +02:00
Gwendal Roué
2d78d04d52
Update for Xcode Version 8.0 beta 4 (8S188o)
2016-08-01 22:33:50 +02:00
Gwendal Roué
5a26ee2ca9
Merge branch 'master' of github.com:groue/GRDB.swift into Swift3bis
2016-08-01 19:02:42 +02:00
Gwendal Roué
8971d7b876
Performance tips
2016-08-01 19:02:25 +02:00
Gwendal Roué
158894c7cc
Merge branch 'master' of github.com:groue/GRDB.swift into Swift3bis
2016-08-01 18:59:05 +02:00
Gwendal Roué
589f98bcc2
Performance tips
2016-08-01 18:58:46 +02:00
Gwendal Roué
9b250b0dda
Merge branch 'master' of github.com:groue/GRDB.swift into Swift3bis
2016-08-01 18:47:53 +02:00
Gwendal Roué
ebe147ee34
Merge branch 'master' of github.com:groue/GRDB.swift into Swift3bis
...
Conflicts:
GRDB.xcodeproj/project.pbxproj
GRDB/Core/Row.swift
README.md
TODO.md
2016-08-01 18:47:42 +02:00
Gwendal Roué
4cd0334ed1
Performance tips
2016-08-01 18:38:23 +02:00
Gwendal Roué
c49506e588
Performance tips
2016-08-01 17:27:49 +02:00
Gwendal Roué
238f5a9af3
didInsertWithRowID documentation
2016-08-01 17:25:30 +02:00
Gwendal Roué
5d81d0e640
Performance tips
2016-08-01 17:21:37 +02:00
Gwendal Roué
4baa0b102d
Performance tips
2016-08-01 17:17:21 +02:00
Gwendal Roué
0cd17f15d7
Performance tips
2016-08-01 17:15:47 +02:00
Gwendal Roué
1fa08bbbc3
Performance tips
2016-08-01 17:09:39 +02:00
Gwendal Roué
9e06242c1d
Performance tips
2016-08-01 15:19:16 +02:00
Gwendal Roué
5b7006d695
Performance tips
2016-08-01 15:15:31 +02:00
Gwendal Roué
cd3273bb51
Performance tips
2016-08-01 14:02:32 +02:00
Gwendal Roué
917ad5f750
Performance tips
2016-08-01 13:59:04 +02:00
Gwendal Roué
29ee22f6cc
TODO: Document Statement.unsafeSetArguments (addresses #91 )
2016-08-01 12:14:44 +02:00
Gwendal Roué
4ad8157ba0
TODO.md
2016-08-01 07:45:14 +02:00
Gwendal Roué
69a8bd1761
TODO.md
2016-07-31 12:38:33 +02:00
Gwendal Roué
2bdeae0ddb
README.md
2016-07-31 06:26:16 +02:00
Gwendal Roué
0fb1eec3cd
Row adopts DictionaryLiteralConvertible
2016-07-31 06:18:16 +02:00
Gwendal Roué
243d6ebd2c
TODO.md
2016-07-31 05:48:38 +02:00
Gwendal Roué
6b2882fe47
TODO.md
2016-07-30 21:09:49 +02:00
Gwendal Roué
6ad8dc7f3e
CHANGELOG.md
2016-07-30 18:13:57 +02:00
Gwendal Roué
fcedab74c0
sqlcipher v3.4.0
2016-07-30 18:09:47 +02:00
Gwendal Roué
7404c642e3
Merge branch 'master' of github.com:groue/GRDB.swift into Swift3bis
...
Conflicts:
GRDB.xcodeproj/project.pbxproj
GRDB/Core/Database.swift
GRDB/Core/DatabaseSchemaCache.swift
GRDB/Record/Persistable.swift
GRDB/Record/Record.swift
README.md
Tests/Private/DatabasePoolSchemaCacheTests.swift
Tests/Public/Core/Persistable/MutablePersistableTests.swift
Tests/Public/Core/Persistable/PersistableTests.swift
Tests/Public/Record/RecordSubClassTests.swift
2016-07-30 12:58:10 +02:00
Gwendal Roué
d922961112
Remove documentation for DatabaseValue.value()
2016-07-29 09:03:40 +02:00
Gwendal Roué
c679970832
README.md
2016-07-29 08:31:49 +02:00
Gwendal Roué
8393cd4b86
CHANGELOG.md
2016-07-29 03:57:25 +02:00
Gwendal Roué
42125c756e
v0.77.0
2016-07-28 19:32:20 +02:00
Gwendal Roué
447df0af17
Partial update WIP: changelog
2016-07-28 19:31:02 +02:00
Gwendal Roué
38d5646975
Merge branch 'master' of github.com:groue/GRDB.swift
2016-07-28 19:28:51 +02:00
Gwendal Roué
b16656bd23
Partial update WIP: cache & column case insensitivity
2016-07-28 19:28:46 +02:00
Gwendal Roué
0f987916b7
Redirect Core Data and Realm users to "How to build an iOS application with SQLite and GRDB.swift"
2016-07-28 17:03:37 +02:00
Gwendal Roué
21e419ff8a
Typo
2016-07-28 10:00:10 +02:00
Gwendal Roué
d2acc351a2
README.md: link to the new blog post
2016-07-28 09:59:45 +02:00
Gwendal Roué
faa076c1e9
TODO.md
2016-07-28 09:09:08 +02:00
Gwendal Roué
1eac28a145
Fix typo
2016-07-28 09:07:31 +02:00
Gwendal Roué
df7791a3e7
Partial update WIP: documentation
2016-07-28 09:05:46 +02:00
Gwendal Roué
176a23fe97
Partial update WIP: tests
2016-07-28 08:53:17 +02:00
Gwendal Roué
548ff068fd
Partial update WIP: implementation
2016-07-28 08:41:22 +02:00
Gwendal Roué
50ce433bcb
Partial update WIP: public API
2016-07-28 08:25:08 +02:00
Gwendal Roué
d8ada8c9d3
TODO.md
2016-07-26 06:47:33 +02:00
Gwendal Roué
f04972a902
Documentation
2016-07-25 09:00:57 +02:00
Gwendal Roué
0b2ec35324
TODO.md
2016-07-23 15:01:42 +02:00
Gwendal Roué
77278e77eb
Merge branch 'master' of github.com:groue/GRDB.swift into Swift3bis
...
Conflicts:
GRDB/QueryInterface/QueryInterfaceRequest.swift
GRDB/QueryInterface/SQLCollation.swift
GRDB/QueryInterface/SQLSelectQuery.swift
2016-07-22 13:48:39 +02:00
Gwendal Roué
c6f2c8a3f5
Remove dead code
2016-07-22 13:40:07 +02:00
Gwendal Roué
e037972dbb
Remove dead code
2016-07-22 13:38:31 +02:00
Gwendal Roué
ba24c55d41
Merge branch 'master' of github.com:groue/GRDB.swift into Swift3bis
...
Conflicts:
GRDB.xcodeproj/project.pbxproj
GRDB/QueryInterface/QueryInterfaceRequest.swift
GRDB/QueryInterface/SQLCollation.swift
GRDB/QueryInterface/SQLSelectQuery.swift
2016-07-22 13:04:20 +02:00
Gwendal Roué
034a24dfe3
_SQLExpression.sql(_:_:) turns all values into safely escaped SQL literals when given nil arguments. (addresses #83 )
2016-07-22 12:56:26 +02:00
Gwendal Roué
9f7851a178
TODO.md
2016-07-22 11:11:13 +02:00
Gwendal Roué
7ea2d7d1ab
Merge branch 'master' of github.com:groue/GRDB.swift into Swift3
...
Conflicts:
GRDB/Core/DatabaseValueConvertible.swift
2016-07-22 10:08:48 +02:00
Gwendal Roué
8ecfb872b6
Simplify DatabaseValueConvertible.sqlLiteral
2016-07-22 10:01:36 +02:00
Gwendal Roué
2a91ab07b9
Merge branch 'master' of github.com:groue/GRDB.swift into Swift3bis
...
Conflicts:
GRDB.xcodeproj/project.pbxproj
GRDB/Core/Database.swift
GRDB/Core/DatabaseSchemaCache.swift
GRDB/Core/Statement.swift
TODO.md
Tests/Private/RecordUniqueIndexTests.swift
2016-07-22 09:01:39 +02:00
Gwendal Roué
111d11a71b
DatabaseValueConvertible.sqlLiteral returns a safely escaped SQL literal (addresses #83 )
2016-07-22 08:49:35 +02:00
Gwendal Roué
6aeee05e8a
Code cleanup
2016-07-22 08:18:04 +02:00
Gwendal Roué
472586e772
TODO.md
2016-07-21 19:27:39 +02:00
Gwendal Roué
4f15322cec
CHANGELOG.md
2016-07-21 19:10:46 +02:00
Gwendal Roué
0e46ff2b6d
Documentation
2016-07-21 19:10:41 +02:00
Gwendal Roué
fcf90a053a
Database.indexes(on:) and Database.table(_:hasUniqueKey:) are public
2016-07-21 19:08:27 +02:00
Gwendal Roué
b9e19e84d4
TODO.md
2016-07-21 09:11:23 +02:00
Gwendal Roué
1fc60cf410
TODO.md
2016-07-21 09:09:59 +02:00
Gwendal Roué
21bc1fd5a6
TODO.md
2016-07-21 09:04:01 +02:00
Gwendal Roué
3989f0c332
Merge branch 'master' of github.com:groue/GRDB.swift into Swift3bis
...
Conflicts:
GRDB/Record/Persistable.swift
2016-07-20 18:47:41 +02:00
Gwendal Roué
23ffef8943
Swift3: turn TableMapping.databaseTableName() into a read-only property
2016-07-20 18:38:56 +02:00
Gwendal Roué
c3105fa66f
Documentation
2016-07-20 14:00:25 +02:00
Gwendal Roué
8b09b2cdba
Improve error messages for MutablePersistable.update(), delete() & exist() (see #81 )
2016-07-20 13:49:16 +02:00
Gwendal Roué
315426a4b6
TODO.md
2016-07-19 23:40:17 +02:00
Gwendal Roué
51d948fc29
TODO.md
2016-07-19 17:29:26 +02:00
Gwendal Roué
68f4f011b7
Merge branch 'master' of github.com:groue/GRDB.swift into Swift3
...
Conflicts:
GRDB/QueryInterface/QueryInterfaceRequest.swift
README.md
Tests/Public/QueryInterfaceRequest/QueryInterfaceRequestTests.swift
2016-07-19 14:08:05 +02:00
Gwendal Roué
ebdd6c5a4d
Update for Xcode Version 8.0 beta 3 (8S174q)
2016-07-19 14:01:46 +02:00
Gwendal Roué
deda8dcd97
CHANGELOG.md
2016-07-19 09:00:36 +02:00
Gwendal Roué
f19f29a4bd
v0.76.0
2016-07-19 08:54:35 +02:00
Gwendal Roué
0677a8a21a
The query interface order method replaces any previously applied ordering (see #85 )
2016-07-19 08:53:43 +02:00
Gwendal Roué
b3c12c33b7
Merge branch 'master' into Swift3bis
2016-07-19 08:20:22 +02:00
Gwendal Roué
09f57d3bb6
TODO.md
2016-07-18 20:58:30 +02:00
Gwendal Roué
6b9b249e22
TODO.md
2016-07-18 19:24:20 +02:00
Gwendal Roué
78327f648d
v0.75.2
2016-07-18 13:16:36 +02:00
Gwendal Roué
df32c1c5d5
Allow SelectStatement to perform database changes - Fixes #80 and #82 for good.
2016-07-18 12:57:38 +02:00
Gwendal Roué
e93f13f6b0
Remove dead documentation
2016-07-09 08:57:39 +02:00
Gwendal Roué
02d2b89a4d
Merge branch 'master' of github.com:groue/GRDB.swift into Swift3bis
...
Conflicts:
GRDB.xcodeproj/project.pbxproj
GRDB/Core/Database.swift
GRDB/Core/DatabaseScheduler.swift
GRDB/Core/SerializedDatabase.swift
GRDB/Core/Statement.swift
2016-07-08 18:30:16 +02:00
Gwendal Roué
34ff64b103
Rename DatabaseScheduler to SchedulingWatchdog
2016-07-08 18:22:34 +02:00
Gwendal Roué
827dc3da8b
Cleanup
2016-07-08 18:02:06 +02:00
Gwendal Roué
1cd9c8f817
Merge branch 'master' of github.com:groue/GRDB.swift into Swift3
...
Conflicts:
GRDB/Core/DatabaseScheduler.swift
GRDB/Core/SerializedDatabase.swift
2016-07-08 17:52:27 +02:00
Gwendal Roué
e8a9035e68
Simplify DatabaseScheduler, and let SerializedDatabase implement the serialization constraints.
2016-07-08 17:38:52 +02:00
Gwendal Roué
a288c8d7fb
Merge branch 'master' of github.com:groue/GRDB.swift into Swift3
...
Conflicts:
GRDB/Core/Database.swift
GRDB/Core/RowAdapter.swift
README.md
Tests/Public/Core/Row/AdapterRowTests.swift
Tests/Public/Core/Row/RowConvertibleTests.swift
2016-07-08 16:57:16 +02:00
Gwendal Roué
88e8c2ba33
#80 cleanup
2016-07-08 16:10:38 +02:00
Gwendal Roué
252ec6fe59
v0.75.1
2016-07-08 14:33:24 +02:00
Gwendal Roué
e664ab18ee
Fixes #80
2016-07-08 14:30:45 +02:00
Gwendal Roué
b78c5b32c6
Documentation
2016-07-08 10:01:23 +02:00
Gwendal Roué
4ddc8f950e
Row adapters: rename AdaptedColumnsDescription to ConcreteColumnMapping
2016-07-08 09:52:04 +02:00
Gwendal Roué
0260a33678
v0.75.0
2016-07-08 08:46:55 +02:00
Gwendal Roué
358c3ab0c3
Row adapters: rename "variants" to "scopes"
2016-07-08 08:44:41 +02:00
Gwendal Roué
a658599406
Documentation fix
2016-07-07 09:15:24 +02:00
Gwendal Roué
d0b1bde521
Add Cristian Filipov to the thanks section
2016-07-07 09:09:53 +02:00
Gwendal Roué
b24075ca1c
Merge branch 'master' of github.com:groue/GRDB.swift into Swift3bis
...
Conflicts:
GRDB.xcodeproj/project.pbxproj
GRDB/Core/Database.swift
GRDB/Core/DatabaseSchemaCache.swift
GRDB/Core/Utils.swift
GRDB/Record/TableMapping.swift
README.md
Tests/Private/DatabasePoolSchemaCacheTests.swift
Tests/Public/Encryption/EncryptionTests.swift
Tests/Public/Record/PrimaryKeyNoneTests.swift
2016-07-07 08:41:17 +02:00
Gwendal Roué
88fb4051a4
Update playgrounds for Xcode Version 8.0 beta 2 (8S162m)
2016-07-07 08:07:30 +02:00
Gwendal Roué
0c7cff5602
Update for Xcode Version 8.0 beta 2 (8S162m)
2016-07-07 05:30:43 +02:00
Gwendal Roué
f872f17d39
Fix project
2016-07-07 05:14:03 +02:00
Gwendal Roué
70917c19d1
TODO.md
2016-07-07 05:03:31 +02:00
Gwendal Roué
4353e997fc
v0.74.0
2016-07-06 21:09:44 +02:00
Gwendal Roué
e5bf8a8e75
Fix GRDBiOS
2016-07-06 21:09:24 +02:00
Gwendal Roué
d3928b30de
Typo
2016-07-06 19:31:03 +02:00
Gwendal Roué
ec2bc5e8cb
Typo
2016-07-06 19:30:47 +02:00
Gwendal Roué
b74e3d389b
#56 : changelog
2016-07-06 19:29:33 +02:00
Gwendal Roué
e567668346
#56 : documentation
2016-07-06 19:25:43 +02:00
Gwendal Roué
6e31480ed9
#56 : documentation
2016-07-06 19:18:56 +02:00
Gwendal Roué
d35b65c9d2
#56 : cleanup
...
- Dabase.indexes(tableName) returns actual indexes (no more fake index on INTEGER PRIMARY KEY column)
- Database.colums(_:uniquelyIdentifyRowsIn:) checks indexes, and primary key
- DatabaseSchemaCache caches table indexes (with invalidation on CREATE/DROP INDEX statements)
2016-07-06 19:09:25 +02:00
Gwendal Roué
0f27299586
#56 : fetchOne(_:key:Dictionary) and deleteOne(_:key:Dictionary) raise a fatal error when there is no unique index on the key columns.
2016-07-06 08:39:18 +02:00
Gwendal Roué
baff716ef6
#56 : fetchOne(_:key:Dictionary) performs the same unique index check as deleteOne()
2016-07-06 08:18:14 +02:00
Gwendal Roué
1141676223
#56 : Database.indexes(tableName) includes the implicit unique index on INTEGER PRIMARY KEY column.
2016-07-05 22:33:56 +02:00
Gwendal Roué
a6ce80d39b
#56 : TableMapping.deleteOne(_🔑 ), TableMapping.deleteAll(_:keys:)
2016-07-05 22:16:23 +02:00
Gwendal Roué
6d3e0eaa22
More encryption documentation
2016-07-05 21:01:46 +02:00
Gwendal Roué
18c1333496
More encryption documentation
2016-07-05 20:59:32 +02:00
Gwendal Roué
ab00d73d7a
More encryption documentation
2016-07-05 20:57:40 +02:00
Gwendal Roué
5bc574025d
Typo
2016-07-05 15:24:03 +02:00
Gwendal Roué
71e7d92d75
Typo
2016-07-05 14:50:22 +02:00
Gwendal Roué
723c7a97fc
Typo
2016-07-05 14:41:39 +02:00
Gwendal Roué
16a3b88db5
Document how to encrypt an existing database (should help #77 )
2016-07-05 14:37:28 +02:00
Gwendal Roué
19ed31a2c2
TODO.md: reconsider #56 in order to improve feature set with other ORMs
2016-07-04 11:31:38 +02:00
Gwendal Roué
93fd430863
TODO.md
2016-07-04 10:58:20 +02:00
Gwendal Roué
c1ac810ff2
TODO.md
2016-07-01 09:09:06 +02:00
Gwendal Roué
e785085d0d
Cleanup our code thanks to DispatchQueue.sync<T>(block: @noescape () throws -> T) rethrows.
2016-06-30 18:38:16 +02:00
Gwendal Roué
334133ea61
TODO.md
2016-06-30 17:33:08 +02:00
Gwendal Roué
82b801498a
Merge branch 'master' of github.com:groue/GRDB.swift into Swift3
...
Conflicts:
GRDB.xcodeproj/project.pbxproj
GRDB/Core/DatabaseValueConvertible.swift
GRDB/Core/Row.swift
GRDB/Core/StatementColumnConvertible.swift
GRDB/FetchRequest/FetchRequest.swift
GRDB/QueryInterface/QueryInterfaceRequest.swift
GRDB/Record/RowConvertible.swift
README.md
Tests/Public/Core/DatabaseValueConvertible/DatabaseValueConvertibleFetchTests.swift
Tests/Public/Core/SQLiteStatementConvertible/SQLiteStatementConvertibleFetchTests.swift
Tests/Public/FetchRequest/FetchRequestTests.swift
Tests/Public/Foundation/NSDateTests.swift
2016-06-29 13:38:24 +02:00
Gwendal Roué
83c74cf9e1
TODO.md
2016-06-28 15:04:10 +02:00
Gwendal Roué
3dc4dcf874
TODO.md
2016-06-28 14:50:59 +02:00
Gwendal Roué
aaf184ddb3
Tests for StatementColumnConvertible fetching methods with adapter
2016-06-28 14:46:26 +02:00
Gwendal Roué
21e9e64b3d
DatabaseValueConvertible and StatementColumnConvertible can now be fetched through a RowAdapter. DatabaseValueConvertible: raise a fatal error instead of converting to nil for invalid conversions triggered by fetch() methods.
2016-06-28 13:54:45 +02:00
Gwendal Roué
48c431c0a9
Backup clears the schema cache of the target database
2016-06-28 13:07:53 +02:00
Gwendal Roué
8992b4a284
Move FetchRequest to Core
2016-06-28 09:09:06 +02:00
Gwendal Roué
c9d7da5951
TODO.md
2016-06-28 08:55:05 +02:00
Gwendal Roué
f76744fc98
Typo
2016-06-23 15:59:16 +02:00
Gwendal Roué
b624874768
Merge branch 'master' of github.com:groue/GRDB.swift into Swift3bis
...
Conflicts:
GRDB.xcodeproj/project.pbxproj
GRDB/Core/Database.swift
GRDB/Core/DatabaseWriter.swift
GRDB/Core/Statement.swift
GRDB/FetchRequest/QueryInterfaceRequest.swift
GRDB/FetchRequest/SQLCollation.swift
GRDB/FetchRequest/SQLSelectQuery.swift
GRDB/Record/FetchedRecordsController.swift
README.md
Tests/Private/StatementInformationTests.swift
Tests/Public/Core/DatabaseValueConvertible/DatabaseValueConversionTests.swift
Tests/Public/Core/SQLiteStatementConvertible/SQLiteStatementConversionTests.swift
2016-06-21 09:03:02 +02:00
Gwendal Roué
ed84727938
v0.73.0
2016-06-20 22:55:28 +02:00
Gwendal Roué
10f8318883
README.md
2016-06-20 22:50:50 +02:00
Gwendal Roué
7dd7f1a32c
README.md
2016-06-20 22:47:34 +02:00
Gwendal Roué
a06fa75419
TODO.md
2016-06-20 22:39:48 +02:00
Gwendal Roué
7e0ca09bf7
NSUUID documentation
2016-06-20 22:38:13 +02:00
Gwendal Roué
cae3d7b321
Support for NSUUID
2016-06-20 22:37:31 +02:00
Gwendal Roué
1c30a93da1
README.md
2016-06-20 21:05:28 +02:00
Gwendal Roué
03d30d7f99
CHANGELOG.md
2016-06-20 21:03:25 +02:00
Gwendal Roué
6e4aecb3dc
README.md
2016-06-20 20:50:49 +02:00
Gwendal Roué
660d01c59a
CHANGELOG.md
2016-06-20 20:44:28 +02:00
Gwendal Roué
81cccadf80
Database event filtering documentation
2016-06-20 20:41:20 +02:00
Gwendal Roué
e0ea5af18e
Refactor database events filtering
2016-06-20 20:38:31 +02:00
Gwendal Roué
4544759cff
CHANGELOG.md
2016-06-20 15:23:43 +02:00
Gwendal Roué
6a466fcb12
Detailed database changes observation
2016-06-20 15:21:14 +02:00
Gwendal Roué
a07c09b3d4
TODO.md
2016-06-20 10:14:10 +02:00
Gwendal Roué
2c3bee16c9
TODO.md
2016-06-19 12:04:26 +02:00
Gwendal Roué
9a397c1ff8
Emoji tests
2016-06-19 11:14:11 +02:00
Gwendal Roué
c627363fca
Update TODO.md
2016-06-19 07:30:44 +02:00
Gwendal Roué
219899fc9b
Query Interface arguments to SQL snippets
2016-06-18 14:49:17 +02:00
Gwendal Roué
d987d99913
TODO.md
2016-06-16 09:17:24 +02:00
Gwendal Roué
985c32510c
Documentation
2016-06-16 09:14:55 +02:00
Gwendal Roué
01ab19a263
README.md
2016-06-16 09:11:08 +02:00
Gwendal Roué
0ba6d5de28
Typo
2016-06-16 09:10:23 +02:00
Gwendal Roué
e6031addf5
README.md
2016-06-15 15:29:06 +02:00
Gwendal Roué
8845babb28
Documentation
2016-06-15 06:48:28 +02:00
Gwendal Roué
ed34a59a0c
Swift3 typo
2016-06-15 06:47:00 +02:00
Gwendal Roué
767cd877b8
Merge branch 'master' of github.com:groue/GRDB.swift into Swift3bis
...
Conflicts:
README.md
2016-06-15 06:43:47 +02:00
Gwendal Roué
fd7c4a0653
Typo
2016-06-15 06:41:56 +02:00
Gwendal Roué
26f08a59ad
Documentation
2016-06-15 06:36:41 +02:00
Gwendal Roué
841b6f68dd
Swift3 typo
2016-06-15 06:15:40 +02:00
Gwendal Roué
dbe835912a
.Rollback is .rollback in Swift3
2016-06-15 06:14:29 +02:00
Gwendal Roué
6b9182645d
Fix link to DatabaseValue documentation
2016-06-14 21:13:03 +02:00
Gwendal Roué
16c1ca0bba
Fix link to DatabaseValue documentation
2016-06-14 21:12:55 +02:00
Gwendal Roué
181aea9aec
Support for URL
2016-06-14 21:09:11 +02:00
Gwendal Roué
422971d229
Link to Swift3 branch
2016-06-14 20:42:55 +02:00
Gwendal Roué
2010a3169d
Describe the Swift3 branch
2016-06-14 20:41:22 +02:00
Gwendal Roué
397b538c9d
Update README.md for Xcode 8
2016-06-14 20:34:01 +02:00
Gwendal Roué
1d1d843dc7
Xcode 8 WIP
2016-06-14 20:05:13 +02:00
Gwendal Roué
abd6fe9f2d
Xcode 8 WIP
2016-06-14 19:48:46 +02:00
Gwendal Roué
f5db3c08e3
Merge branch 'master' of github.com:groue/GRDB.swift into Swift3bis
...
Conflicts:
GRDB.xcodeproj/project.pbxproj
GRDB/Core/RowAdapter.swift
GRDB/Core/Support/Foundation/NSNumber.swift
README.md
Tests/Public/Core/Row/RowConvertibleTests.swift
Tests/Public/FetchRequest/FetchRequestTests.swift
2016-06-14 19:42:21 +02:00
Gwendal Roué
0b568b2d28
Documentation
2016-06-14 19:23:36 +02:00
Gwendal Roué
42885a3df0
Xcode 8 WIP
2016-06-14 19:14:10 +02:00
Gwendal Roué
cd820c2dbe
Xcode 8 WIP
2016-06-14 19:06:53 +02:00
Gwendal Roué
0944ed331b
Xcode 8 WIP
2016-06-14 14:04:04 +02:00
Gwendal Roué
f45b9a3757
Xcode 8 WIP
2016-06-14 13:45:08 +02:00
Gwendal Roué
d52c552721
Xcode 8 WIP
2016-06-14 12:51:33 +02:00
Gwendal Roué
2a5bdbcbdc
BROKEN - Xcode 8 WIP
2016-06-14 09:08:43 +02:00
Gwendal Roué
2606f7196e
SuffixRowAdapter index preconditions
2016-06-09 09:11:44 +02:00
Gwendal Roué
09a672561d
Update error handling documentation
2016-06-09 08:53:16 +02:00
Gwendal Roué
cbabdf02de
Update error handling documentation
2016-06-09 08:51:20 +02:00
Gwendal Roué
a65d7cdc15
Documentation fix
2016-06-09 08:30:19 +02:00
Gwendal Roué
1a17efcf8e
Documentation fix
2016-06-09 08:28:17 +02:00
Gwendal Roué
9f60d63a6b
v0.72.0
2016-06-09 08:01:30 +02:00
Gwendal Roué
4426166f1d
RowAdapter documentation
2016-06-09 07:54:34 +02:00
Gwendal Roué
d97ceeaa6c
RowAdapter documentation
2016-06-09 07:50:37 +02:00
Gwendal Roué
a7ac615bb2
Merge branch 'master' into RowAdapter2
2016-06-09 07:33:42 +02:00
Gwendal Roué
90fc23205c
Cleanup
2016-06-09 06:21:39 +02:00
Gwendal Roué
c233fec9b9
CHANGELOG.md
2016-06-08 23:23:08 +02:00
Gwendal Roué
a8df726bff
NSDecimalNumber.databaseValue only returns a double when the decimal number does not contain an integer that fits in Int64.
2016-06-08 23:14:49 +02:00
Gwendal Roué
ff3f26f935
Merge branch 'master' of github.com:groue/GRDB.swift into RowAdapter2
2016-06-08 20:54:59 +02:00
Gwendal Roué
a882a5f346
RowAdapter documentation
2016-06-08 20:54:25 +02:00
Gwendal Roué
1b318154c2
TODO.md
2016-06-08 10:38:39 +02:00
Gwendal Roué
390cf44a88
RowAdapter documentation
2016-06-08 09:00:22 +02:00
Gwendal Roué
3e71253ffb
RowAdapter documentation
2016-06-08 08:17:37 +02:00
Gwendal Roué
748e2a81ad
RowAdapter documentation
2016-06-08 08:03:35 +02:00
Gwendal Roué
d3ebe43cbd
RowAdapter refactoring
2016-06-08 06:41:37 +02:00
Gwendal Roué
7a13b9c4b7
More RowAdapter tests
2016-06-08 06:20:27 +02:00
Gwendal Roué
15f9aabaf0
SuffixRowAdapter
2016-06-07 22:18:13 +02:00
Gwendal Roué
c617a8f354
RowAdapter refactoring
2016-06-07 21:44:32 +02:00
Gwendal Roué
6ac2cd4686
Merge branch 'master' of github.com:groue/GRDB.swift into Swift3bis
...
Conflicts:
DemoApps/GRDBDemoiOS7/GRDBDemoiOS7/AppDatabase.swift
DemoApps/GRDBDemoiOS7/GRDBDemoiOS7/Person.swift
DemoApps/GRDBDemoiOS7/GRDBDemoiOS7/PersonEditionViewController.swift
DemoApps/GRDBDemoiOS7/GRDBDemoiOS7/PersonsViewController.swift
GRDB/Core/Support/Foundation/NSNumber.swift
GRDB/Core/Support/StandardLibrary/StandardLibrary.swift
GRDB/Record/FetchedRecordsController.swift
Tests/Public/Core/DatabaseValueConvertible/NSNumberTests.swift
Tests/Public/FetchedRecordsController/FetchedRecordsControllerTests.swift
2016-06-07 19:01:08 +02:00
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
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é
d478e4b1f4
Merge branch 'master' of github.com:groue/GRDB.swift into Swift3bis
2016-06-04 12:39:27 +02:00
Gwendal Roué
ac9b2e8ba4
Merge branch 'master' of github.com:groue/GRDB.swift into Swift3bis
2016-06-04 12:10:36 +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é
8f2685b335
Merge branch 'master' of github.com:groue/GRDB.swift into Swift3bis
...
Conflicts:
GRDB/Core/Database.swift
2016-06-03 08:44:27 +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
Gwendal Roué
e11673d15c
Merge branch 'master' of github.com:groue/GRDB.swift into Swift3bis
...
Conflicts:
GRDB/Core/Database.swift
GRDB/FetchRequest/SQLSelectQuery.swift
GRDB/Record/FetchedRecordsController.swift
GRDB/Record/TableMapping.swift
Tests/Public/Core/Persistable/MutablePersistableTests.swift
Tests/Public/Core/Persistable/PersistableTests.swift
Tests/Public/Core/Savepoint/SavepointTests.swift
Tests/Public/Core/TransactionObserver/TransactionObserverSavepointsTests.swift
Tests/Public/Core/TransactionObserver/TransactionObserverTests.swift
2016-06-03 05:17:11 +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é
88c284dbf1
Merge branch 'master' into Swift3bis
...
Conflicts:
GRDB/Core/Database.swift
GRDB/FetchRequest/QueryInterfaceRequest.swift
GRDB/FetchRequest/SQLCollation.swift
GRDB/FetchRequest/SQLFunction.swift
GRDB/FetchRequest/SQLOperator.swift
GRDB/FetchRequest/SQLSelectQuery.swift
README.md
2016-06-02 20:47:04 +02:00
Gwendal Roué
dd98fdbee1
SE-0059: Update API Naming Guidelines and Rewrite Set APIs Accordingly
2016-06-02 20:16:26 +02:00
Gwendal Roué
af43079e33
SE-0032: Add first(where:) method to Sequence
2016-06-02 20:10:31 +02:00
Gwendal Roué
aa6097dff8
swift-DEVELOPMENT-SNAPSHOT-2016-05-31-a
2016-06-02 19:58:58 +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
Gwendal Roué
528ce8c9de
README.md
2016-06-02 08:38:55 +02:00
Gwendal Roué
7c4ff7677d
swift-DEVELOPMENT-SNAPSHOT-2016-05-09-a
2016-06-02 08:38:15 +02:00
Gwendal Roué
cb36991cb2
Cleanup Query Interface protocols
2016-06-02 08:09:44 +02:00
swiftlyfalling
f15a4df79e
Slow compilation fixes
...
Implemented a workaround for the cause of the two slowest-to-compile
methods.
2016-06-01 21:12:33 -04:00
swiftlyfalling
901b7a0f12
Add support for SQLite Pre-Update Hooks (+ tests)
...
If SQLITE_ENABLE_PREUPDATE_HOOK is defined, and GRDB is built with a
custom SQLite library with the functionality (see: GRDBCustomSQLite),
enable support for SQLite Pre-Update Hooks and the new
`willChangeWithEvent` callback on TransactionObservers.
2016-06-01 20:42:21 -04:00
Gwendal Roué
687bcc3469
Merge pull request #62 from swiftlyfalling/Custom-SQLite
...
Add GRDBCustomSQLite to permit easily building GRDB with a custom, embedded SQLite library
2016-06-01 12:21:38 +02:00
Gwendal Roué
a239e435a6
More transaction/savepoints documentation
2016-06-01 09:31:41 +02:00
Gwendal Roué
75728418af
More savepoints documentation
2016-06-01 09:28:57 +02:00
swiftlyfalling
893714c968
Update README
2016-05-31 20:42:35 -04:00
swiftlyfalling
5cb4044408
Merge remote-tracking branch 'groue/master' into Custom-SQLite
2016-05-31 17:33:59 -04:00
swiftlyfalling
4966ce447f
Add missing Target Dependency for GRDBCustomSQLite frameworks.
2016-05-31 17:33:04 -04:00
swiftlyfalling
8213bf5b6d
Update to point to SQLiteLib-USER.xcconfig, and new SQLiteLib
2016-05-31 17:32:09 -04:00
swiftlyfalling
280d90cdc4
More tweaks to GRDBCustomSQLite run script phase
2016-05-31 09:39:42 -04:00
Gwendal Roué
df5a327da4
Top-level Database.inSavepoint opens a transaction if the default transaction kind is not DEFERRED
2016-05-31 13:09:33 +02:00
Gwendal Roué
e736923312
Typo
2016-05-31 12:14:49 +02:00
Gwendal Roué
fe4f932be4
README.md
2016-05-31 09:08:25 +02:00
Gwendal Roué
fe7e39776b
Documentation
2016-05-31 06:49:35 +02:00
Gwendal Roué
da33e480c3
Improve Database.execute() detection of white-space string endings
2016-05-31 06:47:44 +02:00
swiftlyfalling
19a0a7098d
Add GRDBCustomSQLite USER configuration files to .gitignore
2016-05-30 21:56:04 -04:00
swiftlyfalling
74d46f201a
Tweaks to GRDBCustomSQLite run script build phase
2016-05-30 21:54:07 -04:00
swiftlyfalling
0eec061d01
Improve first-time build of GRDBCustomSQLite
...
Define CUSTOM_OTHER_SWIFT_FLAGS in GRDB.xcconfig prior to including the
"GRDBCustomSQLite-USER.xcconfig" file.
2016-05-30 21:52:55 -04:00
swiftlyfalling
7c1ad9abab
Updated .example files
2016-05-30 21:51:42 -04:00
swiftlyfalling
3ad99011f2
Remove User xcconfig from branch.
2016-05-30 21:17:37 -04:00
swiftlyfalling
cb8331f213
Renamed customizable files to <file>-USER, added .example files, preserve user customizations.
...
Added .example files.
Added build phase script to copy .example files if user configuration
files are not already present.
2016-05-30 21:16:36 -04:00
swiftlyfalling
ffa2858d82
Update SQLiteLib subproject commit
2016-05-30 19:56:05 -04:00
swiftlyfalling
1cf20da416
Add README for GRDBCustomSQLite
2016-05-30 19:39:11 -04:00
swiftlyfalling
30bc7e4f6c
Replace most uses of #if SQLITE_HAS_CODEC with the appropriate USING_BUILTIN_SQLITE or USING_SQLCIPHER defines.
...
This enables easier compilation of a custom version of SQLite that
itself uses the SQLITE_HAS_CODEC define. (ex. If building SQLite with
the SQLite Encryption Extension.)
The SQLITE_HAS_CODEC define is now only used to guard use of the SQLite
encryption APIs.
GRDBCipher builds define USING_BUILTIN_SQLITE and USING_SQLCIPHER.
2016-05-30 18:19:45 -04:00
swiftlyfalling
9f406c6725
Add GRDBCustomSQLite targets and schemes.
...
To support building GRDB with a built-in custom SQLite build/version.
2016-05-30 18:16:04 -04:00
swiftlyfalling
b1ff790e43
Add SQLiteLib submodule
2016-05-30 16:05:53 -04:00
Gwendal Roué
90f304a881
Typo
2016-05-30 12:33:42 +02:00
Gwendal Roué
99cbfa13cb
v0.70.1
2016-05-30 12:27:42 +02:00
Gwendal Roué
ce7736a4b8
Failed statements can not be reused: remove them from the statement cache.
2016-05-30 12:21:20 +02:00
Gwendal Roué
c36ed7b660
Add failing test for Persistable.insert() after a previous failed insert.
2016-05-30 12:20:42 +02:00
Gwendal Roué
d6c4705626
Fix documentation
2016-05-30 08:34:27 +02:00
Gwendal Roué
9df4455f07
Minor
2016-05-30 08:22:00 +02:00
Gwendal Roué
5e4923b5bc
More tests and documentation for DatabaseScheduler
2016-05-30 08:10:39 +02:00
Gwendal Roué
9d00189ac0
Inner Documentation
2016-05-30 07:46:40 +02:00
Gwendal Roué
3af2d7c0df
Inner Documentation
2016-05-29 20:03:33 +02:00
Gwendal Roué
521222ad19
Typo
2016-05-29 16:30:38 +02:00
Gwendal Roué
e0f5a1c1a1
FetchedRecordsController: document that callbacks are invoked asynchronously
2016-05-29 15:45:35 +02:00
Gwendal Roué
fa393a53b2
FetchedRecordsController: document that callbacks are invoked asynchronously
2016-05-29 15:44:21 +02:00
Gwendal Roué
43e81781a3
FetchedRecordsController documentation
2016-05-29 15:32:30 +02:00
Gwendal Roué
b03e9922a4
FetchedRecordsController: document record identity where it is needed, for table view updates.
2016-05-29 15:29:45 +02:00
Gwendal Roué
7206e46377
Relax FetchedRecordsController compareRecordsByPrimaryKey initializer argument by only requiring TableMapping protocol
2016-05-29 15:28:50 +02:00
Gwendal Roué
554b9a03b5
FetchedRecordsController: avoid instantiate records when building table view updates
2016-05-29 15:20:17 +02:00
Gwendal Roué
20278d23e1
CHANGELOG.md
2016-05-28 21:45:48 +02:00
Gwendal Roué
81607da632
CHANGELOG.md
2016-05-28 21:45:21 +02:00
Gwendal Roué
c1ec74a5b7
v0.70.0
2016-05-28 21:18:08 +02:00
Gwendal Roué
eaed0c098b
Issue #61 : document interaction between Transaction observers and save points.
2016-05-28 21:11:52 +02:00
Gwendal Roué
886fb6b5a1
Typo
2016-05-28 21:07:54 +02:00
Gwendal Roué
9fe92bc669
Issue #61 : Savepoint documentation
2016-05-28 21:05:56 +02:00
Gwendal Roué
098e9fee8c
Issue #61 : TODO
2016-05-28 20:40:51 +02:00
Gwendal Roué
1d0f670100
Issue #61 : more savepoint tests
2016-05-28 20:39:27 +02:00
Gwendal Roué
ee7f505cde
Issue #61 : add savepoint sanity check
2016-05-28 20:39:02 +02:00
Gwendal Roué
4581850b05
Issue #61 : since savepoint names can be reused and nested, there is no purpose forcing the user to name them: use a single default savepoint name. And provide thorough testing.
2016-05-28 18:57:07 +02:00
Gwendal Roué
bc757016af
Issue #61 : Database.inSavepoint(named:)
2016-05-28 18:46:12 +02:00
Gwendal Roué
d3259a8430
v0.69.0
2016-05-28 16:37:55 +02:00
Gwendal Roué
d57107ca2a
Issue #61 : document interaction between Transaction observers and save points.
2016-05-28 16:29:29 +02:00
Gwendal Roué
2cf606bdbd
Issue #61 : pass all tests for TransactionObserver and savepoints :-)
2016-05-28 15:59:20 +02:00
Gwendal Roué
32cd559379
Issue #61 : fix failing test for TransactionObserver and savepoints
2016-05-28 15:57:32 +02:00
Gwendal Roué
ad8551b746
Issue #61 : fix failing test for TransactionObserver and savepoints
2016-05-28 15:54:26 +02:00
Gwendal Roué
a26bef8813
Issue #61 : failing test for TransactionObserver with several identically named savepoints
2016-05-28 15:09:56 +02:00
Gwendal Roué
34dad07393
Issue #61 : failing test for Database.isInsideTransaction after a SAVEPOINT statement
2016-05-28 15:03:02 +02:00
Gwendal Roué
5453aec1d0
Issue #61 : fix failing test for TransactionObserver and savepoints
2016-05-28 15:00:26 +02:00
Gwendal Roué
03a5671bb0
Issue #61 : prevent SelectStatement from hiding the update statements we track
2016-05-28 14:51:54 +02:00
Gwendal Roué
37c16fbb48
Issue #61 : recognize savepoints statements
2016-05-28 14:44:37 +02:00
Gwendal Roué
92431f20d7
Issue #61 : DatabaseEvent.copy() returns an event that can outlive a transaction observer’s databaseDidChangeWithEvent callback.
2016-05-28 14:27:25 +02:00
Gwendal Roué
9b6b66d22d
Issue #61 : fix failing test for TransactionObserver and savepoints
2016-05-28 14:25:39 +02:00
Gwendal Roué
83477c67d7
Issue #61 : failing tests for TransactionObserver and savepoints
2016-05-28 13:59:15 +02:00
Gwendal Roué
ac31392b90
Issue #61 : test TransactionObserver with a simple savepoint
2016-05-28 13:42:48 +02:00