Gwendal Roué
eac0901af0
Refactor database event filtering
2016-09-10 18:28: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é
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é
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é
76ab3fd1ab
Better compilation time
2016-08-07 15:26:30 +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é
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é
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é
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é
6a466fcb12
Detailed database changes observation
2016-06-20 15:21:14 +02:00
Gwendal Roué
219899fc9b
Query Interface arguments to SQL snippets
2016-06-18 14:49:17 +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é
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é
aa6097dff8
swift-DEVELOPMENT-SNAPSHOT-2016-05-31-a
2016-06-02 19:58:58 +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é
ce7736a4b8
Failed statements can not be reused: remove them from the statement cache.
2016-05-30 12:21:20 +02:00
Gwendal Roué
2cf606bdbd
Issue #61 : pass all tests for TransactionObserver and savepoints :-)
2016-05-28 15:59:20 +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é
9794b72607
Fixes #55
2016-05-21 15:08:16 +02:00
Gwendal Roué
6c826b6ecf
Statement: don’t store sql string, and use sqlite3_sql instead. Plus some cleanup.
2016-05-07 11:57:35 +02:00
Gwendal Roué
6550454d1e
Replace DatabaseChanges with Database.lastInsertedRowID and Database.changesCount
2016-04-20 21:58:58 +02:00
Gwendal Roué
023d757964
Attempt to fix CocoaPods
2016-04-05 08:53:02 +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é
90f468c329
Remove Swift warning
2016-03-21 23:31:10 +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é
4f427601d4
Dictionary(_ sequence:) renamed to Dictionary(keyValueSequence:)
2016-03-17 08:08:26 +01:00
Gwendal Roué
afea1c4175
Remove useless complexity
2016-03-13 19:45:54 +01:00
Gwendal Roué
f00dda7f43
Improve performance by removing useless retain/release
2016-03-13 19:20:52 +01:00
Gwendal Roué
8bc52b29e7
Attempt at optimizing reference counting
2016-03-13 17:42:06 +01:00
Gwendal Roué
111688ff18
Typo
2016-03-12 18:53:38 +01:00
Gwendal Roué
84e5e488a9
DatabaseGenerator retain the database connection. Tests for various opportunities of memory leaking, and misuse of weak references.
2016-03-12 14:47:53 +01:00
Gwendal Roué
1df41fbd29
Tests for DatabaseQueue/Pool connection closing
2016-03-12 13:53:49 +01:00
Gwendal Roué
6bd8f79399
DatabasePool read() method opens a DEFERRED transaction so that it won’t let the writer alter the database state between two select statement.
2016-03-09 21:45:20 +01:00
Gwendal Roué
15b3809a50
DatabasePool: forbid transactions and savepoints in readers
2016-03-09 20:06:31 +01:00
Gwendal Roué
1fee42bee9
Remove useless Statement.readOnly
2016-03-09 15:44:38 +01:00
Gwendal Roué
648dbf7e25
Replace let _ = ... with _ = ...
2016-03-09 15:27:30 +01:00
Gwendal Roué
d18d2a5921
Statement.readOnly
2016-03-08 20:40:12 +01:00
Gwendal Roué
cfb19d4ad7
Fix GRDBDemoiOS7 app
2016-02-11 08:34:34 +01:00
Gwendal Roué
0ed1bbf53c
Only invalidate database schema cache after an invalidating statement has been executed.
2016-02-09 19:47:14 +01:00
Gwendal Roué
43a33a8303
Fix memory leak
2016-02-09 14:17:45 +01:00
Gwendal Roué
24668267e8
Database automatically clears its schema cache
2016-02-09 08:24:37 +01:00
Gwendal Roué
e5009af67e
Fix SelectStatement.sourceTables for invalid statements
2016-02-09 07:47:00 +01:00
Gwendal Roué
75e2edb471
Typo
2016-02-08 19:42:21 +01:00