Gwendal Roué
|
836efb120f
|
Xcode 12.3 formatting
|
2020-12-23 12:13:05 +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 |
|
Gwendal Roué
|
886f75bbea
|
Configuration.prepareDatabase in now a method
|
2020-09-06 13:15:51 +02:00 |
|
Gwendal Roué
|
780ba744f1
|
Database.description
|
2020-06-03 19:37:24 +02:00 |
|
Gwendal Roué
|
5d196c449d
|
Value Observation does no longer retain DatabaseWriter
|
2020-03-28 17:11:57 +01:00 |
|
Gwendal Roué
|
9aa67f9db9
|
SE-0255: Implicit returns from single-expression functions
|
2020-03-08 23:12:46 +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é
|
6656f72782
|
Rename "lock prevention" to "suspension"
|
2019-12-12 08:47:49 +01:00 |
|
Gwendal Roué
|
16025356bf
|
Adapt lock prevention to the journal mode
|
2019-12-02 20:27:39 +01:00 |
|
Gwendal Roué
|
b54a8f7fe8
|
DatabaseWriter.startPreventingExclusiveLock()
|
2019-12-01 17:59:49 +01:00 |
|
Gwendal Roué
|
0a83848cfc
|
DatabaseReader.interrupt()
|
2019-11-30 15:35:11 +01:00 |
|
Gwendal Roué
|
df6bb8761c
|
Swiftlint + whitespace
|
2019-07-01 08:57:53 +02:00 |
|
Michael Kirk
|
99065a4faf
|
prepareDB block
|
2019-04-02 10:47:31 -06:00 |
|
Gwendal Roué
|
3029949731
|
Add () to forward @autoclosure parameters
|
2019-02-08 05:30:57 +01:00 |
|
Gwendal Roué
|
f07eee3ca7
|
DispatchQueue creation cleanup
|
2018-12-01 16:22:05 +01:00 |
|
Gwendal Roué
|
736db6a546
|
Confiiguration.qos and targetQueue
|
2018-11-24 20:48:17 +01:00 |
|
Gwendal Roué
|
2e80db8aed
|
Database dispatch queues now have labels
|
2018-06-14 13:36:42 +02:00 |
|
Gwendal Roué
|
8b44b0af7b
|
Fix SerializedDatabase.reentrantSync check for unsafe transactions
|
2018-06-04 11:59:43 +02: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é
|
a1e508b1df
|
TransactionObserver.ignoreDatabaseChangesUntilNextTransaction()
|
2018-01-14 16:45:36 +01: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é
|
ce4c20b112
|
Replace DatabaseWriter.availableDatabaseConnection with unsafeReentrantWrite()
|
2017-05-22 18:10:19 +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é
|
519d4470e3
|
Drop Configuration.fileAttributes
|
2017-01-20 08:22:46 +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é
|
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é
|
854c070b82
|
Xcode Version 8.0 beta 6 (8S201h)
|
2016-08-16 17:47:57 +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é
|
e785085d0d
|
Cleanup our code thanks to DispatchQueue.sync<T>(block: @noescape () throws -> T) rethrows.
|
2016-06-30 18:38:16 +02:00 |
|
Gwendal Roué
|
2a5bdbcbdc
|
BROKEN - Xcode 8 WIP
|
2016-06-14 09:08:43 +02:00 |
|
Gwendal Roué
|
7c4ff7677d
|
swift-DEVELOPMENT-SNAPSHOT-2016-05-09-a
|
2016-06-02 08:38:15 +02:00 |
|
Gwendal Roué
|
9794b72607
|
Fixes #55
|
2016-05-21 15:08:16 +02:00 |
|
Gwendal Roué
|
d5367fc2b2
|
Issue #51: Perform Database.close() in the correct queue
|
2016-05-17 19:03:07 +02:00 |
|
Gwendal Roué
|
96f8a57f44
|
minor
|
2016-05-07 09:50:55 +02:00 |
|
Gwendal Roué
|
06095ec343
|
Fix #37
|
2016-03-31 10:27:12 +02:00 |
|
Gwendal Roué
|
ab3ec443d2
|
Simplify SerializedDatabase
|
2016-03-29 08:26:07 +02:00 |
|
Gwendal Roué
|
3e3ba6e7ed
|
FetchedRecordsController optimization for DatabasePool: release the writer dispatch queue before the end of the fetch
|
2016-03-27 14:22:32 +02:00 |
|
Gwendal Roué
|
32461d221a
|
Merge commit '7de27389aa89f731b977e2d046c8b12ff2191e5d' into FetchedRecordsController
|
2016-03-22 21:06:04 +01:00 |
|
Gwendal Roué
|
049148305f
|
Simplify throwing initializers since Swift 2.2 allows partial initialization
|
2016-03-22 08:28:55 +01:00 |
|
Gwendal Roué
|
e3ee49a868
|
FetchedRecordsController: properly serialize computations, require client access from main thread, fix known crashers
|
2016-03-21 14:08:36 +01:00 |
|
Gwendal Roué
|
eecaa2a394
|
Documentation
|
2016-03-12 08:27:51 +01:00 |
|
Gwendal Roué
|
ae8ffeabc9
|
Cleanup
|
2016-03-12 07:12:35 +01:00 |
|