Commit Graph
1029 Commits
Author SHA1 Message Date
Gwendal Roué d4590ff91f Fix DatabaseWriter.readFromCurrentState documentation 2018-07-13 09:45:59 +02:00
Gwendal Roué 91d0a453da DatabaseWriter.erase(): more robust error handling 2018-07-07 17:43:26 +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é 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é 38b1e41aab Final tweaks to dispatch queue labels 2018-06-14 21:10:56 +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é 2e80db8aed Database dispatch queues now have labels 2018-06-14 13:36:42 +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é 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é ead89420c4 Avoid undefined behavior (UnsafePointer documentation is scary) 2018-05-31 17:37:46 +02:00
David Hart d601e06f25 Fix buffer overflow in vsscanf date parsing 2018-05-31 17:07:23 +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
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 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
Florent Pillet 2de040a6f1 Use String(format: ...)
... instead of `NSString(format: ...) as String`
2018-05-12 15:39:59 +02:00
Gwendal Roué c1c3233ba2 Remove two useless .init (thank you Xcode autocomplete) 2018-05-07 19:23:33 +02:00
Gwendal Roué 214748fe5a DatabaseRegion.fullDatabase is public 2018-05-06 09:11:00 +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é 5160b69c34 Merge branch 'GRDB3' into GRDB3-Associations 2018-05-01 21:47:44 +02:00
Gwendal Roué 1bf7f67008 Update inline documentation with singular table names 2018-05-01 20:32:18 +02:00
Gwendal Roué ffaabdfd62 Toward improved DatabaseRegion for joined requests 2018-05-01 17:20:37 +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é 9f78a758bd RowAdapter.addingScopes returns self if the scopes dictionary is empty 2018-04-30 14:04:07 +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é 5747d1cff0 No more #if swift(>=4.1) 2018-04-30 08:26:23 +02:00
Gwendal Roué 3e46942f30 Associations 2018-04-29 18:16:39 +02:00
Gwendal Roué f2ae44384f Rename SQLColumnExpression to ColumnExpression 2018-04-22 18:13:47 +02:00
Gwendal Roué 29b364d5cb Introduce SQLColumnExpression 2018-04-22 14:56:40 +02:00
Gwendal Roué 7aacaef2cd Foster autoIncrementedPrimaryKey in documentation 2018-04-21 20:11:34 +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é 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é 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é 266040747e Date adopts StatementColumnConvertible 2018-04-20 18:42:12 +02:00