Commit Graph
82 Commits
Author SHA1 Message Date
Gwendal Roué 3bdfdaa40a TableMapping.selectionSQL(_:) 2018-02-21 13:51:37 +01:00
Gwendal Roué 2289ed9d95 Cleanup Jazzy documentation from most redundant definitions and experimental APIs 2018-01-21 16:57:43 +01:00
Gwendal Roué 8a213af2ab Cleanup & whitespace 2017-10-30 12:25:12 +01:00
Gwendal Roué 221f378d10 Tests for zero-length blobs as function arguments 2017-09-03 10:31:02 +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é c5da564fb3 Use built-in SQLite3 module when available 2017-08-19 15:21:44 +02:00
Gwendal Roué e0f2305cd9 SE-0104 2017-08-18 14:20:35 +02:00
Gwendal Roué 7f64abe820 Identify experimental features in the inline documentation 2017-06-20 07:54:19 +02:00
Gwendal Roué 59962e5e88 Identify experimental features in the inline documentation 2017-06-20 07:54:19 +02:00
Gwendal Roué 10e669423f Use the dbValue identifier for variables of type DatabaseValue 2017-06-01 08:35:14 +02:00
Gwendal Roué 612f8059b8 Documentation 2017-05-22 19:58:01 +02:00
Gwendal Roué 1799fe1ff9 Consistently crash for all failed conversions from DatabaseValue 2017-05-22 13:51:39 +02:00
Gwendal Roué dae4ae1c6b Reduce internal coupling 2017-04-22 11:12:43 +02:00
Gwendal Roué b06f76512d Merge pull request #202 from zmeyc/pr_spm1
SPM support
2017-04-11 13:37:23 +02:00
Gwendal Roué 63b3b4225a Rename package to GRDB, and rename SQLite module to CSQLite 2017-04-11 13:22:26 +02:00
Gwendal Roué 5b7ad40163 [whitespace] 2017-04-11 11:05:49 +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é 8720d6937a Remove inaccurate documentation for int64EqualDouble(_:_:): Swift standard library does not aim at providing this function. 2017-03-26 17:55:30 +02:00
Gwendal Roué f2bb8bb8af Remove DatabaseValue.value() 2017-03-24 20:05:02 +01:00
Gwendal Roué 2190e449c1 Documentation fix 2016-12-13 09:13:46 +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é 59506a97d6 Cleanup 2016-11-27 19:08:25 +01:00
Gwendal Roué 3c822399b1 Restore DatabaseValue.description into its previous behavior, and test that \n or \t are described as "\\n" and "\\t" (avoid multi-line DatabaseValue description) 2016-10-08 14:38:30 +02:00
Gwendal Roué a51ccad560 Code cleanup 2016-10-08 11:52:46 +02:00
Gwendal Roué b8ab30fc22 DatabaseValue.description now returns the SQL literal representation of the value 2016-10-08 11:51:10 +02:00
Gwendal Roué 1244b6b283 Move == operators inside their adopting type 2016-09-30 06:00:50 +02:00
Gwendal Roué 5a572b25a0 Refactor the query interface types to enhance extensibility 2016-09-27 23:11:21 +02:00
Gwendal Roué f573046107 Merge branch 'Swift2.3' of github.com:groue/GRDB.swift
Conflicts:
	CHANGELOG.md
	GRDB.swift.podspec
	GRDB/Core/DatabaseValue.swift
	GRDB/Core/Row.swift
	GRDB/Core/RowAdapter.swift
	GRDB/Record/Record.swift
	README.md
	Support/Info.plist
	Tests/Public/Core/DatabaseValue/DatabaseValueTests.swift
	Tests/Public/Record/MinimalPrimaryKeyRowIDTests.swift
	Tests/Public/Record/MinimalPrimaryKeySingleTests.swift
	Tests/Public/Record/PrimaryKeyMultipleTests.swift
	Tests/Public/Record/PrimaryKeyRowIDTests.swift
	Tests/Public/Record/PrimaryKeySingleTests.swift
	Tests/Public/Record/PrimaryKeySingleWithReplaceConflictResolutionTests.swift
2016-09-16 06:46:42 +02:00
Gwendal Roué f5cb34f506 DatabaseValue no longer adopts StatementColumnConvertible; DatabaseValue.fromDatabaseValue() no longer returns nil for NULL (fixes #119) 2016-09-16 05:48:09 +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é 0b568b2d28 Documentation 2016-06-14 19:23:36 +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é 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é 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é 4185de77e0 Remove DatabaseValue.failableValue() 2016-05-18 18:40:03 +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é 644ec3caec DatabaseValue.value() raises a fatal error when conversion of a non-NULL value fails. 2016-03-25 20:17:31 +01:00
Gwendal Roué 5ed3b39219 Rename DatabaseValue.unsafeValue() to failableValue() 2016-03-25 18:46:24 +01:00
Gwendal Roué ee55afe8c0 Row.value() no longer turns non-NULL values to nil, should the conversion fail. 2016-03-25 18:28:42 +01:00
Gwendal Roué 6bfab3d04a DatabaseValue.value() no longer turns non-NULL values to nil, should the conversion fail. The new method DatabaseValue.unsafeValue() has the old, information-discarding, behavior. 2016-03-25 13:56:38 +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