Browse Source

Realm 3.7.2

Marino Faggiana 6 years ago
parent
commit
ffc7c7fc97
23 changed files with 57687 additions and 11 deletions
  1. 14683 0
      Libraries external/Realm/Realm.framework/10EB89CC-72AA-3F83-8CB3-54C7229BBE5F.bcsymbolmap
  2. 13601 0
      Libraries external/Realm/Realm.framework/A654B282-1A1F-3624-B935-D0CEEE461D88.bcsymbolmap
  3. 40 3
      Libraries external/Realm/Realm.framework/CHANGELOG.md
  4. 7 1
      Libraries external/Realm/Realm.framework/Headers/RLMRealm+Sync.h
  5. 18 7
      Libraries external/Realm/Realm.framework/Headers/RLMSyncConfiguration.h
  6. 59 0
      Libraries external/Realm/Realm.framework/Headers/RLMSyncUser.h
  7. BIN
      Libraries external/Realm/Realm.framework/Info.plist
  8. 7 0
      Libraries external/Realm/Realm.framework/PrivateHeaders/RLMSyncConfiguration_Private.h
  9. BIN
      Libraries external/Realm/Realm.framework/Realm
  10. 14683 0
      Libraries external/Realm/RealmSwift.framework/10EB89CC-72AA-3F83-8CB3-54C7229BBE5F.bcsymbolmap
  11. 13601 0
      Libraries external/Realm/RealmSwift.framework/A654B282-1A1F-3624-B935-D0CEEE461D88.bcsymbolmap
  12. 494 0
      Libraries external/Realm/RealmSwift.framework/CDE9DD7A-1FA3-3AAD-8C06-CD4378D7E4C7.bcsymbolmap
  13. 494 0
      Libraries external/Realm/RealmSwift.framework/F10710DD-CE64-30B0-9188-54A104EA38C8.bcsymbolmap
  14. BIN
      Libraries external/Realm/RealmSwift.framework/Info.plist
  15. BIN
      Libraries external/Realm/RealmSwift.framework/Modules/RealmSwift.swiftmodule/arm.swiftdoc
  16. BIN
      Libraries external/Realm/RealmSwift.framework/Modules/RealmSwift.swiftmodule/arm.swiftmodule
  17. BIN
      Libraries external/Realm/RealmSwift.framework/Modules/RealmSwift.swiftmodule/arm64.swiftdoc
  18. BIN
      Libraries external/Realm/RealmSwift.framework/Modules/RealmSwift.swiftmodule/arm64.swiftmodule
  19. BIN
      Libraries external/Realm/RealmSwift.framework/Modules/RealmSwift.swiftmodule/i386.swiftdoc
  20. BIN
      Libraries external/Realm/RealmSwift.framework/Modules/RealmSwift.swiftmodule/i386.swiftmodule
  21. BIN
      Libraries external/Realm/RealmSwift.framework/Modules/RealmSwift.swiftmodule/x86_64.swiftdoc
  22. BIN
      Libraries external/Realm/RealmSwift.framework/Modules/RealmSwift.swiftmodule/x86_64.swiftmodule
  23. BIN
      Libraries external/Realm/RealmSwift.framework/RealmSwift

File diff suppressed because it is too large
+ 14683 - 0
Libraries external/Realm/Realm.framework/10EB89CC-72AA-3F83-8CB3-54C7229BBE5F.bcsymbolmap


File diff suppressed because it is too large
+ 13601 - 0
Libraries external/Realm/Realm.framework/A654B282-1A1F-3624-B935-D0CEEE461D88.bcsymbolmap


+ 40 - 3
Libraries external/Realm/Realm.framework/CHANGELOG.md

@@ -1,9 +1,46 @@
-3.6.0 Release notes (2018-05-29)
+3.7.2 Release notes (2018-06-13)
 =============================================================
 =============================================================
 
 
-### Breaking Changes
+### Enhancements
 
 
-* None.
+* Add some additional consistency checks that will hopefully produce better
+  errors when the "prev_ref + prev_size <= ref" assertion failure occurs.
+
+### Bugfixes
+
+* Fix a problem in the changeset indexing algorithm that would sometimes
+  cause "bad permission object" and "bad changeset" errors.
+* Fix a large number of linking warnings about symbol visibility by aligning
+  compiler flags used.
+* Fix large increase in size of files produced by `Realm.writeCopy()` introduced in 3.6.0.
+
+3.7.1 Release notes (2018-06-07)
+=============================================================
+
+* Add support for compiling Realm Swift with Xcode 10 beta 1.
+
+3.7.0 Release notes (2018-06-06)
+=============================================================
+
+The feature known as Partial Sync has been renamed to Query-based
+Synchronization. This has impacted a number of API's. See below for the
+details.
+
+### Deprecations
+
+* `+[RLMSyncConfiguration initWithUser] has been deprecated in favor of `-[RLMSyncUser configurationWithURL:url].
+* `+[RLMSyncConfiguration automaticConfiguration] has been deprecated in favor of `-[RLMSyncUser configuration]. 
+* `+[RLMSyncConfiguration automaticConfigurationForUser] has been deprecated in favor of `-[RLMSyncUser configuration].
+* `-[RLMSyncConfiguration isPartial] has been deprecated in favor of `-[RLMSyncConfiguration fullSynchronization]`.
+
+### Enhancements
+
+* Add `-[RLMRealm syncSession]` and  `Realm.syncSession` to obtain the session used for a synchronized Realm.
+* Add `-[RLMSyncUser configuration]`. Query-based sync is the default sync mode for this configuration.
+* Add `-[RLMSyncUser configurationWithURL:url]`. Query-based sync is the default sync mode for this configuration.
+
+3.6.0 Release notes (2018-05-29)
+=============================================================
 
 
 ### Enhancements
 ### Enhancements
 
 

+ 7 - 1
Libraries external/Realm/Realm.framework/Headers/RLMRealm+Sync.h

@@ -20,7 +20,7 @@
 
 
 #import "RLMRealm.h"
 #import "RLMRealm.h"
 
 
-@class RLMResults;
+@class RLMResults, RLMSyncSession;
 
 
 /**
 /**
  A callback used to vend the results of a partial sync fetch.
  A callback used to vend the results of a partial sync fetch.
@@ -45,6 +45,12 @@ NS_ASSUME_NONNULL_BEGIN
 - (void)subscribeToObjects:(Class)type where:(NSString *)query callback:(RLMPartialSyncFetchCallback)callback
 - (void)subscribeToObjects:(Class)type where:(NSString *)query callback:(RLMPartialSyncFetchCallback)callback
 __deprecated_msg("Use -[RLMResults subscribe]");
 __deprecated_msg("Use -[RLMResults subscribe]");
 
 
+/**
+ Get the RLMSyncSession used by this Realm. Will be nil if this is not a
+ synchronized Realm.
+*/
+@property (nonatomic, nullable, readonly) RLMSyncSession *syncSession;
+
 @end
 @end
 
 
 NS_ASSUME_NONNULL_END
 NS_ASSUME_NONNULL_END

+ 18 - 7
Libraries external/Realm/Realm.framework/Headers/RLMSyncConfiguration.h

@@ -54,12 +54,23 @@ NS_ASSUME_NONNULL_BEGIN
  except those matching queries that the user explicitly specifies.
  except those matching queries that the user explicitly specifies.
 
 
  @warning Partial synchronization is a tech preview. Its APIs are subject to change.
  @warning Partial synchronization is a tech preview. Its APIs are subject to change.
-*/
+ */
-@property (nonatomic) BOOL isPartial;
+@property (nonatomic) BOOL isPartial DEPRECATED_MSG_ATTRIBUTE("Use 'fullSynchronization' instead.");
+
+/**
+ Whether this Realm should be a fully synchronized Realm.
+ 
+ Synchronized Realms comes in two flavors: Query-based and Fully synchronized.
+ A fully synchronized Realm will automatically synchronize the entire Realm in
+ the background while a query-based Realm will only synchronize the data being
+ subscribed to. Synchronized realms are by default query-based unless this
+ boolean is set.
+ */
+@property (nonatomic) BOOL fullSynchronization;
 
 
 /**
 /**
- The prefix that is prepended to the path in the HTTP request
+ The prefix that is prepended to the path in the HTTP request that initiates a
- that initiates a sync connection. The value specified must match with the server's expectation.
+ sync connection. The value specified must match with the server's expectation.
  Changing the value of `urlPrefix` should be matched with a corresponding
  Changing the value of `urlPrefix` should be matched with a corresponding
  change of the server's configuration.
  change of the server's configuration.
  If no value is specified here then the default `/realm-sync` path is used.
  If no value is specified here then the default `/realm-sync` path is used.
@@ -75,21 +86,21 @@ NS_ASSUME_NONNULL_BEGIN
                 contain the wildcard marker `~`, which will automatically be filled in with
                 contain the wildcard marker `~`, which will automatically be filled in with
                 the user identity by the Realm Object Server.
                 the user identity by the Realm Object Server.
  */
  */
-- (instancetype)initWithUser:(RLMSyncUser *)user realmURL:(NSURL *)url;
+- (instancetype)initWithUser:(RLMSyncUser *)user realmURL:(NSURL *)url __attribute__((deprecated("Use [RLMSyncUser configurationWithURL] instead")));
 
 
 /**
 /**
 Return a Realm configuration for syncing with the default Realm of the currently logged-in sync user.
 Return a Realm configuration for syncing with the default Realm of the currently logged-in sync user.
 
 
 Partial synchronization is enabled in the returned configuration.
 Partial synchronization is enabled in the returned configuration.
  */
  */
-+ (RLMRealmConfiguration *)automaticConfiguration;
++ (RLMRealmConfiguration *)automaticConfiguration __attribute__((deprecated("Use [RLMSyncUser configuration] instead")));
 
 
 /**
 /**
  Return a Realm configuration for syncing with the default Realm of the given sync user.
  Return a Realm configuration for syncing with the default Realm of the given sync user.
 
 
  Partial synchronization is enabled in the returned configuration.
  Partial synchronization is enabled in the returned configuration.
  */
  */
-+ (RLMRealmConfiguration *)automaticConfigurationForUser:(RLMSyncUser *)user;
++ (RLMRealmConfiguration *)automaticConfigurationForUser:(RLMSyncUser *)user __attribute__((deprecated("Use [RLMSyncUser configuration] instead")));
 
 
 /// :nodoc:
 /// :nodoc:
 - (instancetype)init __attribute__((unavailable("This type cannot be created directly")));
 - (instancetype)init __attribute__((unavailable("This type cannot be created directly")));

+ 59 - 0
Libraries external/Realm/Realm.framework/Headers/RLMSyncUser.h

@@ -18,6 +18,7 @@
 
 
 #import <Foundation/Foundation.h>
 #import <Foundation/Foundation.h>
 
 
+#import "RLMRealmConfiguration.h"
 #import "RLMResults.h"
 #import "RLMResults.h"
 #import "RLMSyncCredentials.h"
 #import "RLMSyncCredentials.h"
 #import "RLMSyncPermission.h"
 #import "RLMSyncPermission.h"
@@ -145,6 +146,64 @@ NS_ASSUME_NONNULL_BEGIN
                 onCompletion:(RLMUserCompletionBlock)completion
                 onCompletion:(RLMUserCompletionBlock)completion
 NS_SWIFT_UNAVAILABLE("Use the full version of this API.");
 NS_SWIFT_UNAVAILABLE("Use the full version of this API.");
 
 
+
+/**
+ Returns the default configuration for the user. The default configuration
+ points to the default query-based Realm on the server the user authenticated against.
+ */
+- (RLMRealmConfiguration *)configuration NS_REFINED_FOR_SWIFT;
+
+/**
+ Create a query-based configuration instance for the given url.
+
+ @param url The unresolved absolute URL to the Realm on the Realm Object Server,
+            e.g. "realm://example.org/~/path/to/realm". "Unresolved" means the
+            path should contain the wildcard marker `~`, which will automatically
+            be filled in with the user identity by the Realm Object Server.
+ @return A default configuration object with the sync configuration set to use the given URL.
+ */
+- (RLMRealmConfiguration *)configurationWithURL:(nullable NSURL *)url NS_REFINED_FOR_SWIFT;
+
+/**
+ Create a configuration instance for the given url.
+
+ @param url The unresolved absolute URL to the Realm on the Realm Object Server,
+            e.g. "realm://example.org/~/path/to/realm". "Unresolved" means the
+            path should contain the wildcard marker `~`, which will automatically
+            be filled in with the user identity by the Realm Object Server.
+ @param fullSynchronization If YES, all objects in the server Realm are
+                            automatically synchronized, and the query subscription
+                            methods cannot be used.
+ @return A default configuration object with the sync configuration set to use
+         the given URL and options.
+ */
+- (RLMRealmConfiguration *)configurationWithURL:(nullable NSURL *)url
+                            fullSynchronization:(bool)fullSynchronization NS_REFINED_FOR_SWIFT;
+
+/**
+ Create a configuration instance for the given url.
+
+ @param url The unresolved absolute URL to the Realm on the Realm Object Server,
+            e.g. "realm://example.org/~/path/to/realm". "Unresolved" means the
+            path should contain the wildcard marker `~`, which will automatically
+            be filled in with the user identity by the Realm Object Server.
+ @param fullSynchronization If YES, all objects in the server Realm are
+                            automatically synchronized, and the query subscription
+                            methods cannot be used.
+ @param enableSSLValidation If NO, invalid SSL certificates for the server will
+                            not be rejected. THIS SHOULD NEVER BE USED IN
+                            PRODUCTION AND EXISTS ONLY FOR TESTING PURPOSES.
+ @param urlPrefix A prefix which is prepending to URLs constructed for
+                  the server. This should normally be `nil`, and customized only
+                  to match corresponding settings on the server.
+ @return A default configuration object with the sync configuration set to use
+         the given URL and options.
+ */
+- (RLMRealmConfiguration *)configurationWithURL:(nullable NSURL *)url
+                            fullSynchronization:(bool)fullSynchronization
+                            enableSSLValidation:(bool)enableSSLValidation
+                                      urlPrefix:(nullable NSString *)urlPrefix NS_REFINED_FOR_SWIFT;
+
 /**
 /**
  Log a user out, destroying their server state, unregistering them from the SDK,
  Log a user out, destroying their server state, unregistering them from the SDK,
  and removing any synced Realms associated with them from on-disk storage on
  and removing any synced Realms associated with them from on-disk storage on

BIN
Libraries external/Realm/Realm.framework/Info.plist


+ 7 - 0
Libraries external/Realm/Realm.framework/PrivateHeaders/RLMSyncConfiguration_Private.h

@@ -28,6 +28,13 @@ typedef NS_ENUM(NSUInteger, RLMSyncStopPolicy) {
 
 
 @interface RLMSyncConfiguration ()
 @interface RLMSyncConfiguration ()
 
 
+- (instancetype)initWithUser:(RLMSyncUser *)user
+                    realmURL:(NSURL *)url
+                   isPartial:(BOOL)isPartial
+                   urlPrefix:(nullable NSString *)urlPrefix
+                  stopPolicy:(RLMSyncStopPolicy)stopPolicy
+         enableSSLValidation:(BOOL)enableSSLValidation;
+
 @property (nonatomic, readwrite) RLMSyncStopPolicy stopPolicy;
 @property (nonatomic, readwrite) RLMSyncStopPolicy stopPolicy;
 
 
 // Internal-only APIs
 // Internal-only APIs

BIN
Libraries external/Realm/Realm.framework/Realm


File diff suppressed because it is too large
+ 14683 - 0
Libraries external/Realm/RealmSwift.framework/10EB89CC-72AA-3F83-8CB3-54C7229BBE5F.bcsymbolmap


File diff suppressed because it is too large
+ 13601 - 0
Libraries external/Realm/RealmSwift.framework/A654B282-1A1F-3624-B935-D0CEEE461D88.bcsymbolmap


File diff suppressed because it is too large
+ 494 - 0
Libraries external/Realm/RealmSwift.framework/CDE9DD7A-1FA3-3AAD-8C06-CD4378D7E4C7.bcsymbolmap


File diff suppressed because it is too large
+ 494 - 0
Libraries external/Realm/RealmSwift.framework/F10710DD-CE64-30B0-9188-54A104EA38C8.bcsymbolmap


BIN
Libraries external/Realm/RealmSwift.framework/Info.plist


BIN
Libraries external/Realm/RealmSwift.framework/Modules/RealmSwift.swiftmodule/arm.swiftdoc


BIN
Libraries external/Realm/RealmSwift.framework/Modules/RealmSwift.swiftmodule/arm.swiftmodule


BIN
Libraries external/Realm/RealmSwift.framework/Modules/RealmSwift.swiftmodule/arm64.swiftdoc


BIN
Libraries external/Realm/RealmSwift.framework/Modules/RealmSwift.swiftmodule/arm64.swiftmodule


BIN
Libraries external/Realm/RealmSwift.framework/Modules/RealmSwift.swiftmodule/i386.swiftdoc


BIN
Libraries external/Realm/RealmSwift.framework/Modules/RealmSwift.swiftmodule/i386.swiftmodule


BIN
Libraries external/Realm/RealmSwift.framework/Modules/RealmSwift.swiftmodule/x86_64.swiftdoc


BIN
Libraries external/Realm/RealmSwift.framework/Modules/RealmSwift.swiftmodule/x86_64.swiftmodule


BIN
Libraries external/Realm/RealmSwift.framework/RealmSwift


Some files were not shown because too many files changed in this diff