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é
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é
e785085d0d
Cleanup our code thanks to DispatchQueue.sync<T>(block: @noescape () throws -> T) rethrows.
2016-06-30 18:38:16 +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é
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é
1dd6707070
Support for advanced migrations is not available until iOS 8.2 and OS X 10.10
2016-05-17 19:24:39 +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é
0473d232ed
Tests for GRDBOSX, GRDBiOS, and GRDBCipherOSX (without encryption)
2016-04-03 14:04:04 +02:00
Gwendal Roué
3e0fcc4b87
New GRDBCipherOSX target + tests
2016-04-03 11:40:34 +02:00
Gwendal Roué
06095ec343
Fix #37
2016-03-31 10:27:12 +02:00
Gwendal Roué
049148305f
Simplify throwing initializers since Swift 2.2 allows partial initialization
2016-03-22 08:28:55 +01:00
Gwendal Roué
a6af89755d
Merge branch 'master' into Swift2.2
2016-03-21 23:09:02 +01:00
Gwendal Roué
af538c4feb
Improve test for migration with disabled foreign key checks
2016-03-18 06:44:24 +01:00
Gwendal Roué
c6f96906ca
Avoid build errors by using ad-hoc Swift modules that import the right sqlite3 header depending on the platform (MacOSX, iPhoneOS, iPhoneSimulator).
2016-03-17 08:54:09 +01:00
Gwendal Roué
63545c1f08
Documentation
2016-03-15 19:05:04 +01:00
Gwendal Roué
a8dd424211
DatabaseMigrator uses DatabaseWriter
2016-03-12 08:25:50 +01:00
Gwendal Roué
97f3161256
DatabaseMigrator support for DatabasePool
2016-03-09 22:28:47 +01:00
Gwendal Roué
24668267e8
Database automatically clears its schema cache
2016-02-09 08:24:37 +01:00
Gwendal Roué
ea07cba3fb
Documentation formatting
2016-01-31 13:43:48 +01:00
Gwendal Roué
fe0bd6a0c0
Documentation formatting
2016-01-31 13:28:25 +01:00
Gwendal Roué
a4a8b5c93b
Cleanup
2016-01-20 18:08:21 +01:00
Gwendal Roué
db73bf9295
Documentation
2016-01-19 20:03:25 +01:00
Gwendal Roué
ddf0b5de70
Update CrashTests.swift, and add GRDBOSXCrashTests target which runs crash tests only.
2016-01-07 14:11:30 +01:00
Gwendal Roué
589647ca20
Robustness of Database.execute() with multiple statements. Remove Database.executeMultiStatement() introduced by #6 .
2016-01-07 07:37:13 +01:00
Gwendal Roué
f8ad2f2f6a
Use precondition() when validating user input
2015-12-17 10:23:19 +01:00
Gwendal Roué
4fcf4a8593
Rename DatabaseMigrator.registerMigrationWithoutForeignKeyChecks(_:_:) DatabaseMigrator.registerMigration(_:withDisabledForeignKeyChecks:migrate:)
2015-12-16 12:42:28 +01:00
Gwendal Roué
1f3f2d04eb
Instead of disabling schema cache throughout the migrations, clear the schema cache after each migration.
2015-12-11 13:05:10 +01:00
Gwendal Roué
e9c55f47c6
Database.clearSchemaCache(). Migrations are run with disabled schema cache.
2015-12-10 14:24:55 +01:00
Gwendal Roué
32b9971cfa
minor
2015-11-17 08:28:25 +01:00
Gwendal Roué
a0c5f7b65f
Run all migrations in a single database queue block.
2015-11-08 08:03:00 +01:00
Gwendal Roué
599f6d8c89
DatabaseMigrator cleanup
2015-11-05 08:57:48 +01:00
Gwendal Roué
c35979a69f
DatabaseMigrator cleanup
2015-11-05 08:43:48 +01:00
Gwendal Roué
1b4e1e5b51
DatabaseMigrator cleanup
2015-11-05 08:04:23 +01:00
Gwendal Roué
58cae8f526
DatabaseMigrator.registerMigrationWithoutForeignKeyChecks()
2015-11-04 22:34:52 +01:00
Gwendal Roué
18306fcd64
Use /// for documentation comments, since Xcode 7 has weird behavior with /**
2015-10-27 08:30:24 +01:00
Gwendal Roué
90d9e8391b
Simplify grdb_migrations table
2015-09-30 08:16:32 +02:00
Gwendal Roué
8c508ef9a9
Fetch sequences of optional or non-optional values.
2015-09-25 06:38:33 +02:00
Gwendal Roué
75bb735e98
Use fatalError() instead of precondition() so that safety checks survive Release configuration.
2015-09-12 14:36:06 +02:00
Gwendal Roué
4cbac39dfc
Use precondition() instead of assert() so that safety checks survive Release configuration.
2015-09-12 14:24:21 +02:00
Gwendal Roué
6239955e08
Replace fatalError() with assert() when possible
2015-09-09 13:26:57 +02:00
Gwendal Roué
6c4794f02c
DatabaseValueConvertible redesign, and project reorganization
2015-09-06 15:23:02 +02:00