Gwendal Roué
93d9516a07
Minor
2016-12-04 15:42:31 +01:00
Gwendal Roué
28221e398e
Documentation
2016-12-02 14:23:17 +01:00
Gwendal Roué
67035b8422
Database.execute(_:) iterates all rows of statements
2016-12-02 08:28:24 +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é
bd32afbed2
Rename DatabaseWriter.readFromWrite to readFromCurrentState
2016-12-01 08:55:47 +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é
a8e266377c
Documentation
2016-11-29 12:02:29 +01:00
Gwendal Roué
ee99abc266
Replace fetchCursor().next() with fetchOne()
2016-11-28 08:41:59 +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é
ac6c7f6a35
#147 : fetchAll() and fetchOne() can now throw database errors.
2016-11-26 22:38:40 +01:00
Gwendal Roué
ab62abed79
#147 : use cursor
2016-11-26 08:29:51 +01: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é
7c0ca54249
Swift 3: move some types declarations inside the Database class
2016-09-10 17:52:15 +02:00
Gwendal Roué
df09d0c8bb
Swift 3 and SQLCipher
2016-09-10 16:03:42 +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é
72ab62b21b
Merge branch 'WatchOS' of github.com:groue/GRDB.swift
2016-09-07 22:17:08 +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é
5a296b1238
Fix #102
2016-08-17 07:54:13 +02:00
Gwendal Roué
854c070b82
Xcode Version 8.0 beta 6 (8S201h)
2016-08-16 17:47:57 +02:00
Gwendal Roué
b5bb92459d
WatchOS framework (adresses #96 )
2016-08-10 06:27:50 +02:00
Gwendal Roué
2d78d04d52
Update for Xcode Version 8.0 beta 4 (8S188o)
2016-08-01 22:33:50 +02:00
Gwendal Roué
0c7cff5602
Update for Xcode Version 8.0 beta 2 (8S162m)
2016-07-07 05:30:43 +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é
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é
2a5bdbcbdc
BROKEN - Xcode 8 WIP
2016-06-14 09:08:43 +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é
7c4ff7677d
swift-DEVELOPMENT-SNAPSHOT-2016-05-09-a
2016-06-02 08:38:15 +02: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
Gwendal Roué
9dbf992c40
Configuration.maximumReaderCount replaces DatabasePool initializer option
2016-05-19 18:10:36 +02:00
Gwendal Roué
992c63480d
DatabasePool uses PRAGMA synchronous = NORMAL
...
As advised by https://www.sqlite.org/pragma.html#pragma_synchronous
2016-04-15 06:24:18 +02:00
Gwendal Roué
4bcff181c7
Back to block-based database accesses.
...
Rationale: https://medium.com/@gwendal.roue/four-different-ways-to-handle-sqlite-concurrency-db3bcc74d00e
2016-04-08 08:29:58 +02:00
Gwendal Roué
023d757964
Attempt to fix CocoaPods
2016-04-05 08:53:02 +02:00
Gwendal Roué
9ef1c70eb2
Encryption documentation
2016-04-05 06:55:29 +02:00
Gwendal Roué
f868d3eead
changePassphrase()
2016-04-05 05:51:19 +02:00
Gwendal Roué
2ec2e85679
Passing tests for encrypted databases
2016-04-03 18:42:31 +02:00
Gwendal Roué
20a16de9de
DatabaseWriter.setKey() and reKey()
2016-04-03 17:58:03 +02:00
Gwendal Roué
e3d8c06ad0
Refactor tests so that DatabasePool can be configured at the target level. We are preparing tests for encrypted databases.
2016-04-03 16:55:04 +02:00
Gwendal Roué
3e0fcc4b87
New GRDBCipherOSX target + tests
2016-04-03 11:40:34 +02:00
Gwendal Roué
2fb1d6f731
setupMemoryManagement() documentation
2016-03-31 16:37:55 +02:00
Gwendal Roué
ef299acbe8
Memory management is not automatic when GRDB is built for iOS, but easier.
2016-03-31 16:26:07 +02:00
Gwendal Roué
005c4ded24
Memory management is automatic when GRDB is built for iOS
2016-03-31 14:26:59 +02:00
Gwendal Roué
06095ec343
Fix #37
2016-03-31 10:27:12 +02:00
Gwendal Roué
efdc6053ff
FetchedRecordsController: fix concurrency bug
2016-03-29 08:53:55 +02:00
Gwendal Roué
ab3ec443d2
Simplify SerializedDatabase
2016-03-29 08:26:07 +02:00