Commit Graph
1613 Commits
Author SHA1 Message Date
Gwendal Roué ab3ec443d2 Simplify SerializedDatabase 2016-03-29 08:26:07 +02:00
Gwendal Roué 4b479ad327 Merge branch 'master' into FetchedRecordsController
Conflicts:
	CHANGELOG.md
	DemoApps/GRDBDemoiOS/GRDBDemoiOS/Assets.xcassets/AppIcon.appiconset/Contents.json
	DemoApps/GRDBDemoiOS/GRDBDemoiOS/Database.swift
	TODO.md
2016-03-28 18:54:59 +02:00
Gwendal Roué 9a18ab44a6 Default unicode-aware collations 2016-03-28 18:12:29 +02:00
Gwendal Roué a97530bde8 The Query interface no longer use non-unicode aware UPPER and LOWER functions 2016-03-28 16:35:20 +02:00
Gwendal Roué 36a35ef303 [Swift bug] Prevent a memory leak 2016-03-27 15:48:07 +02:00
Gwendal Roué d170b0d0e1 DatabaseEvent: make it lazy 2016-03-27 14:39:12 +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é deb25d916d Merge branch 'master' into FetchedRecordsController
Conflicts:
	TODO.md
2016-03-26 07:36:59 +01: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é b9338b31bc Row.databaseValue(atIndex:) and Row.databaseValue(named:) 2016-03-25 20:16:23 +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é 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é 90f468c329 Remove Swift warning 2016-03-21 23:31:10 +01:00
Gwendal Roué a6af89755d Merge branch 'master' into Swift2.2 2016-03-21 23:09:02 +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é cc6f2c00df Fix ==(Row, Row) 2016-03-18 06:21:22 +01:00
Gwendal Roué 3293a33f38 Row adopts Equatable 2016-03-18 06:21:16 +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é a308ffebeb Merge branch 'master' of github.com:groue/GRDB.swift into Swift2.2 2016-03-17 08:02:06 +01:00
Gwendal Roué f7d9970842 Fix ==(Row, Row) 2016-03-16 14:09:29 +01:00
Gwendal Roué c8f5f1ae1d Row adopts Equatable 2016-03-16 08:36:55 +01:00
Gwendal Roué 63545c1f08 Documentation 2016-03-15 19:05:04 +01:00
Gwendal Roué 6315aad0bc Improve performance of row copy 2016-03-15 08:43:48 +01:00
Gwendal Roué 218d7a7f15 DatabaseStore: fix a race condition that could make us miss file attributes 2016-03-14 09:59:33 +01:00
Gwendal Roué 4f5e87b1e1 Documentation 2016-03-14 09:01:33 +01:00
Gwendal Roué 8ef27ccbf6 Documentation 2016-03-14 08:55:00 +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é 09a600d955 Make DatabaseReader a class protocol 2016-03-13 17:38:33 +01:00
Gwendal Roué c3316346ac Documentation 2016-03-13 14:33:06 +01:00
Gwendal Roué 19da676caf Configuration.fileAttributes: apply file attributes to database files 2016-03-13 14:16:17 +01:00
Gwendal Roué 1f1ac06c91 Documentation 2016-03-12 19:22:26 +01:00
Gwendal Roué d2f3f9d1b5 Documentation 2016-03-12 18:57:22 +01:00
Gwendal Roué 111688ff18 Typo 2016-03-12 18:53:38 +01:00
Gwendal Roué a81a29c952 Documentation 2016-03-12 18:48:57 +01:00
Gwendal Roué 9c3e677e0c Make Database.read() conform to the isolation level required by DatabaseReader. 2016-03-12 18:36:06 +01:00
Gwendal Roué 523d111ec6 Documentation 2016-03-12 18:02:21 +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é e3ef424a41 DatabaseReader and DatabaseWriter cleanup 2016-03-12 12:00:06 +01:00
Gwendal Roué eecaa2a394 Documentation 2016-03-12 08:27:51 +01:00
Gwendal Roué 9e9fafcc5c Documentation 2016-03-12 08:21:17 +01:00
Gwendal Roué ae8ffeabc9 Cleanup 2016-03-12 07:12:35 +01:00
Gwendal Roué b81f57f1c9 Documentation 2016-03-11 19:35:25 +01:00
Gwendal Roué b68f1e278e DatabasePool and DatabaseQueue adopt DatabaseWriter 2016-03-11 19:14:59 +01:00