Commit Graph

1482 Commits

Author SHA1 Message Date
Robbie Hanson
772efef2ed Incrementing podspec version. 2018-07-22 12:59:03 -04:00
Robbie Hanson
e8c4021aa1
Merge pull request #458 from wjmelements/ydcu-import-foundation
Add missing foundation import
2018-07-12 12:00:58 -04:00
William Morriss
5fa11c84d3 <> 2018-07-04 02:21:55 -07:00
William Morriss
190cbb6c98 add foundation import 2018-07-03 14:42:09 -07:00
Robbie Hanson
31475d08ff Bug fix for previous commit. 2018-06-28 16:05:50 -04:00
Robbie Hanson
81c2f830d4 Adding new insertedKeys set to YapDatabaseModifiedNotification. 2018-06-28 12:36:44 -04:00
Robbie Hanson
a2fa29e545 Merge branch 'master' of https://github.com/yapstudios/YapDatabase 2018-06-20 15:18:31 -04:00
Robbie Hanson
4e59aff974 Adding convenience method to detect when all previous asyncRegisterExtension requests have completed. 2018-06-20 15:18:25 -04:00
Robbie Hanson
cf9692ebea
Update README.md 2018-06-15 09:54:51 -04:00
Robbie Hanson
7e0919da7c Incrementing podspec version. 2018-06-14 22:18:28 -04:00
Robbie Hanson
fcfda4e5f0 Improving documentation in ConnectionProxy, and adding another reset-like method. 2018-05-23 19:09:49 -04:00
Robbie Hanson
5f480844db Fixing more compiler warnings for issue #444 2018-05-23 19:07:34 -04:00
Robbie Hanson
b5c42db8c6 Minor changes recommended by analyzer. 2018-05-23 17:31:07 -04:00
Robbie Hanson
ca0cb15154 Fix for issue #444 - Compiler warnings in Xcode 9 2018-05-23 17:30:28 -04:00
Robbie Hanson
5d3ea2e97b Adding NS_ASSUME_NONNULL header/footer to YapManyToManyCache.h, and fixing some nullability annotations. Also removing the nullability annotations from private header files, as the compiler throws a fit about all the other missing annotations within the file. (And because the private header files are only used by Obj-C.) 2018-04-05 10:17:37 -07:00
Denis Zubkov
4a207244ae Added __nullable to metadata in headers to make sure Swift 4.1 doesn't throw EXC_BAD_ACCESS 2018-04-05 15:25:14 +10:00
Robbie Hanson
cc678addef Updating YDBRelationship delete rules for files, to match recent changes for delete rules for nodes. Addresses issue #148 2018-04-04 10:56:58 -07:00
Robbie Hanson
88adbb028f
Merge pull request #447 from EnvionSoftwareMobile/master
Edges processing updated to fix #148
2018-04-03 18:20:52 -07:00
Artem Kirienko
66568fedc2 CocoaLumberjack pod updated 2018-03-28 21:41:17 +03:00
Artem Kirienko
fc3b157c0e Travis CI config updated 2018-03-28 21:37:16 +03:00
Artem Kirienko
9bf0ddf311 Edges processing updated to fix #148
Edge count query doesn't include edge name anymore.
2018-03-28 20:08:42 +03:00
Robbie Hanson
2947fda783 Potential bug fix for issues #437 and #441 2018-03-27 11:18:11 -07:00
Robbie Hanson
5b3f5030e7 Adding hook to additionally configure newly created connections in a connection pool. This is useful for configuring things such as permittedTransactions. 2018-03-19 15:00:56 -06:00
Robbie Hanson
b9d9fe42f6 Adding ConnectionPool to CocoaPods & Carthage. 2018-03-19 14:01:44 -06:00
Robbie Hanson
e26639737d New utility class: YapDatabaseConnectionPool. A simple load balancer designed for background (non-main-thread) tasks that perform read-only transactions. 2018-03-19 13:30:56 -06:00
Robbie Hanson
e59d5fb5f9 Adding new property on YapDatabaseConnection: pendingTransactionCount 2018-03-19 12:02:11 -06:00
Robbie Hanson
27b32aa3ea Minor optimization - check completionBlock for NULL once, instead of twice. 2018-03-19 12:00:12 -06:00
Robbie Hanson
30b053c000 Explicitly marking dynamic properties dynamic. This makes it easier to find spelling mistakes in function names. 2018-03-19 11:57:56 -06:00
Robbie Hanson
114d371b7a Adding ability to create a databaseConnection with a pre-configured set of configuration options. 2018-03-19 11:56:41 -06:00
Robbie Hanson
102a3436b9 Deprecating the defaultX properties in YapDatabase, in favor of the new(ish) YapDatabaseConnectionConfig class. 2018-03-18 13:41:13 -06:00
Robbie Hanson
05a3bbf01d Updating unit test project via 'pod install'. 2018-03-18 12:44:31 -06:00
Robbie Hanson
5969174262 Updating macOS deployment target from 10.9 to 10.10. The primary motivation for this is to silence the hundreds of compiler warnings about CloudKit not being available in 10.9. 2018-03-18 12:43:42 -06:00
Robbie Hanson
5df37ee440 Fixing compiler warning & bug in YDBCloudCore. 2018-03-18 12:28:46 -06:00
Robbie Hanson
ec857d7021
Merge pull request #439 from signalapp/charlesmchen/unencryptedHeaders
Charlesmchen/unencrypted headers
2018-03-18 12:18:59 -06:00
Robbie Hanson
d07f12b50d
Merge pull request #443 from mathieualvado/fix_nullability_annotations
Fix missing nullability annotation in backup methods
2018-03-15 14:07:56 -06:00
Mathieu Alvado
3174f45e67 Fix missing nullability annotation in backup methods
Missing annotations were causing a crash in Swift when accessing error argument.
2018-03-09 01:17:13 -05:00
Robbie Hanson
9f97fed893 Bug fix: enumeration code was skipping inserted operations in the last commit. 2018-03-08 15:38:10 -07:00
Robbie Hanson
f91e7a191e Adding a few convenience methods to YapDatabaseCloudCoreTransaction. 2018-03-08 15:35:51 -07:00
Robbie Hanson
a19f0d29e4 Fixing a crash that was described in issue #399 but this time with protocolEdges instead of manualEdges. Added corresponding unit test as well. 2018-03-08 15:32:14 -07:00
Robbie Hanson
9ac1bce51a
Merge pull request #440 from rupertdaniel/fts-add-transaction-to-handler-block
Fts add transaction to handler blocks
2018-03-08 17:43:55 -03:00
Robbie Hanson
15c3145e21
Merge pull request #442 from marcpalmer/marcpalmer-patch-1
Fix for _enumerateRowidsForKeys only working for 1 key
2018-03-08 17:38:16 -03:00
Marc Palmer
d9199ca084
Fix for _enumerateRowidsForKeys only working for 1 key
If the fast path for 1 key lookup is not taken because there are > 1 keys, the `keyIndexDict` is never allocated a value due to a logic bug. Objective-C then conspired to hide this problem from us thanks to messaging of nil.
2018-03-08 14:45:54 +00:00
Matthew Chen
373f0d4de7 Clean up ahead of PR. 2018-01-25 10:56:59 -05:00
Matthew Chen
3ed77a8f38 Clean up ahead of PR. 2018-01-25 10:43:33 -05:00
Matthew Chen
fcc56870be Clean up ahead of PR. 2018-01-25 10:22:08 -05:00
Matthew Chen
a57b0c1adb Add database conversion class. 2018-01-24 17:10:59 -05:00
Matthew Chen
40ab4d2fe2 Add support for key specs. 2018-01-24 16:05:18 -05:00
Matthew Chen
302a1c86e4 Fix tests broken on device. 2018-01-24 10:00:42 -05:00
Rupert Daniel
db05d876f7 Updated FTS unit tests. 2018-01-24 11:29:57 +00:00
Rupert Daniel
1aac5034f8 Pass the database transaction as a parameter to FTS extension handler
blocks.
2018-01-24 11:21:45 +00:00