Commit Graph
61 Commits
Author SHA1 Message Date
Gwendal Roué 247cbdd0d0 Date and NSDate interpret database numbers as unix timestamps. 2017-09-05 08:58:17 +02:00
Gwendal Roué 06a8c8b940 GRDB is now able to store and load zero-length blobs. 2017-09-03 10:09:00 +02:00
Gwendal Roué 2785e69fc1 Data adopts StatementColumnConvertible 2017-08-29 19:27:47 +02:00
Gwendal Roué 8ccc23333d Replace DatabaseCursor with new concrete cursors RowCursor, StatementColumnCursor, NullableStatementColumnCursor, and StatementCursor. 2017-08-23 08:16:30 +02:00
Gwendal Roué c5da564fb3 Use built-in SQLite3 module when available 2017-08-19 15:21:44 +02:00
Gwendal Roué dc75ca4caf SE-0166 2017-08-18 14:22:14 +02:00
Gwendal Roué cfd2d80b78 Fix typo 2017-07-30 15:22:13 +02:00
Gwendal Roué 0eb51e3e8b Int8, Int16, UInt, UInt8, UInt16, UInt32, UInt64 adopt DatabaseValueConvertible and StatementColumnConvertible 2017-07-29 12:58:35 +02:00
Gwendal Roué 60e6c7d250 Remove DatabaseCoder 2017-06-20 07:54:19 +02:00
Gwendal Roué 973f38727d More Xcode-9 fixes 2017-06-09 06:44:26 +02:00
David Hart deaac5808d Make the bug-fix conditional to continue building on 3.1 2017-06-09 06:44:26 +02:00
David Hart 22dc01610e Fix compilation with Xcode 9 in compatibilty mode 2017-06-09 06:44:26 +02:00
Gwendal Roué 10e669423f Use the dbValue identifier for variables of type DatabaseValue 2017-06-01 08:35:14 +02:00
Gwendal Roué 63b3b4225a Rename package to GRDB, and rename SQLite module to CSQLite 2017-04-11 13:22:26 +02:00
Andrey Fidrya 1751fb38e5 SPM support 2017-04-08 21:32:58 +03:00
Gwendal Roué 62d19c9d11 Xcode8.3 WIP 2017-03-28 08:02:08 +02:00
Gwendal Roué 5454e43bc4 Use Int(exactly:) and Int32(exactly:) initializers 2017-03-18 17:00:06 +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é 527aed0ea3 Documentation 2016-11-29 14:17:41 +01:00
Gwendal Roué ac6c7f6a35 #147: fetchAll() and fetchOne() can now throw database errors. 2016-11-26 22:38:40 +01:00
Gwendal Roué 21c41fb145 availability cleanup 2016-11-05 14:37:36 +01:00
Gwendal Roué 628c375b8c Documentation 2016-10-10 15:31:05 +02:00
Gwendal Roué 591197422d Prefer flatMap to guard when chaining values 2016-10-08 16:56:39 +02:00
Gwendal Roué 027b1f711c URL, UUID and Date now adopt DatabaseValueConvertible through NSURL, NSUUID and NSDate, thanks to the new support for Foundation's ReferenceConvertible. 2016-10-08 16:54:32 +02:00
Gwendal Roué 5a572b25a0 Refactor the query interface types to enhance extensibility 2016-09-27 23:11:21 +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é 00a1eebf60 Swift 3 Grand Renaming: SQLColumn -> Column 2016-08-07 10:38:24 +02:00
Gwendal Roué 2d78d04d52 Update for Xcode Version 8.0 beta 4 (8S188o) 2016-08-01 22:33:50 +02:00
Gwendal Roué ebe147ee34 Merge branch 'master' of github.com:groue/GRDB.swift into Swift3bis
Conflicts:
	GRDB.xcodeproj/project.pbxproj
	GRDB/Core/Row.swift
	README.md
	TODO.md
2016-08-01 18:47:42 +02:00
Gwendal Roué 0fb1eec3cd Row adopts DictionaryLiteralConvertible 2016-07-31 06:18:16 +02:00
Gwendal Roué ebdd6c5a4d Update for Xcode Version 8.0 beta 3 (8S174q) 2016-07-19 14:01:46 +02:00
Gwendal Roué 0c7cff5602 Update for Xcode Version 8.0 beta 2 (8S162m) 2016-07-07 05:30:43 +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é cae3d7b321 Support for NSUUID 2016-06-20 22:37:31 +02:00
Gwendal Roué 181aea9aec Support for URL 2016-06-14 21:09:11 +02:00
Gwendal Roué f5db3c08e3 Merge branch 'master' of github.com:groue/GRDB.swift into Swift3bis
Conflicts:
	GRDB.xcodeproj/project.pbxproj
	GRDB/Core/RowAdapter.swift
	GRDB/Core/Support/Foundation/NSNumber.swift
	README.md
	Tests/Public/Core/Row/RowConvertibleTests.swift
	Tests/Public/FetchRequest/FetchRequestTests.swift
2016-06-14 19:42:21 +02:00
Gwendal Roué cd820c2dbe Xcode 8 WIP 2016-06-14 19:06:53 +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é 90fc23205c Cleanup 2016-06-09 06:21:39 +02:00
Gwendal Roué a8df726bff NSDecimalNumber.databaseValue only returns a double when the decimal number does not contain an integer that fits in Int64. 2016-06-08 23:14:49 +02:00
Gwendal Roué 6ac2cd4686 Merge branch 'master' of github.com:groue/GRDB.swift into Swift3bis
Conflicts:
	DemoApps/GRDBDemoiOS7/GRDBDemoiOS7/AppDatabase.swift
	DemoApps/GRDBDemoiOS7/GRDBDemoiOS7/Person.swift
	DemoApps/GRDBDemoiOS7/GRDBDemoiOS7/PersonEditionViewController.swift
	DemoApps/GRDBDemoiOS7/GRDBDemoiOS7/PersonsViewController.swift
	GRDB/Core/Support/Foundation/NSNumber.swift
	GRDB/Core/Support/StandardLibrary/StandardLibrary.swift
	GRDB/Record/FetchedRecordsController.swift
	Tests/Public/Core/DatabaseValueConvertible/NSNumberTests.swift
	Tests/Public/FetchedRecordsController/FetchedRecordsControllerTests.swift
2016-06-07 19:01:08 +02:00
Gwendal Roué 1d4bff1add #68: conversion error messages contain the "database" word. 2016-06-05 14:57:07 +02:00
Gwendal Roué 30864a16a2 #68: numeric overflow error messages contain the faulty value 2016-06-05 14:02:28 +02:00
Gwendal Roué 7186c9a3a0 #68: take care of Int, Int32 and Int64 overflow when converting from database values 2016-06-05 13:49:47 +02:00
Gwendal Roué a5760a7462 #68: NSNumber.databaseValue raises explicit fatal error when value doesn’t fit Int64 2016-06-05 12:16:37 +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