Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated all dependencies

  • Loading branch information...
commit f0b9e21a87b083de74d4af0576a3409f36ec6e96 1 parent 3f14041
Mikko Rönkkö authored
View
BIN  DropboxSDK.framework/DropboxSDK
Binary file not shown
View
2  DropboxSDK.framework/Headers/Base64Transcoder.h
@@ -25,7 +25,6 @@
*
*/
-
#include <stdlib.h>
#include <stdbool.h>
@@ -34,3 +33,4 @@ extern size_t EstimateBas64DecodedDataSize(size_t inDataSize);
extern bool Base64EncodeData(const void *inInputData, size_t inInputDataSize, char *outOutputData, size_t *ioOutputDataSize);
extern bool Base64DecodeData(const void *inInputData, size_t inInputDataSize, void *ioOutputData, size_t *ioOutputDataSize);
+
View
1  DropboxSDK.framework/Headers/DBAccountInfo.h
@@ -15,6 +15,7 @@
DBQuota* quota;
NSString* userId;
NSString* referralLink;
+ NSDictionary* original;
}
- (id)initWithDictionary:(NSDictionary*)dict;
View
21 DropboxSDK.framework/Headers/DBDeltaEntry.h
@@ -0,0 +1,21 @@
+//
+// DBDeltaEntry.h
+// DropboxSDK
+//
+// Created by Brian Smith on 3/25/12.
+// Copyright (c) 2012 Dropbox. All rights reserved.
+//
+
+#import "DBMetadata.h"
+
+@interface DBDeltaEntry : NSObject {
+ NSString *lowercasePath;
+ DBMetadata *metadata;
+}
+
+- (id)initWithArray:(NSArray *)array;
+
+@property (nonatomic, readonly) NSString *lowercasePath;
+@property (nonatomic, readonly) DBMetadata *metadata; // nil if file has been deleted
+
+@end
View
2  DropboxSDK.framework/Headers/DBMetadata.h
@@ -11,6 +11,7 @@
BOOL thumbnailExists;
long long totalBytes;
NSDate* lastModifiedDate;
+ NSDate *clientMtime; // file's mtime for display purposes only
NSString* path;
BOOL isDirectory;
NSArray* contents;
@@ -30,6 +31,7 @@
@property (nonatomic, readonly) BOOL thumbnailExists;
@property (nonatomic, readonly) long long totalBytes;
@property (nonatomic, readonly) NSDate* lastModifiedDate;
+@property (nonatomic, readonly) NSDate* clientMtime;
@property (nonatomic, readonly) NSString* path;
@property (nonatomic, readonly) BOOL isDirectory;
@property (nonatomic, readonly) NSArray* contents;
View
31 DropboxSDK.framework/Headers/DBRestClient.h
@@ -29,6 +29,9 @@
- (id)initWithSession:(DBSession*)session;
- (id)initWithSession:(DBSession *)session userId:(NSString *)userId;
+/* Cancels all outstanding requests. No callback for those requests will be sent */
+- (void)cancelAllRequests;
+
/* Loads metadata for the object at the given root/path and returns the result to the delegate as a
dictionary */
@@ -39,6 +42,9 @@
/* This will load the metadata of a file at a given rev */
- (void)loadMetadata:(NSString *)path atRev:(NSString *)rev;
+/* Loads a list of files (represented as DBDeltaEntry objects) that have changed since the cursor was generated */
+- (void)loadDelta:(NSString *)cursor;
+
/* Loads the file contents at the given root/path and stores the result into destinationPath */
- (void)loadFile:(NSString *)path intoPath:(NSString *)destinationPath;
@@ -81,9 +87,12 @@
- (void)deletePath:(NSString*)path;
-- (void)copyFrom:(NSString*)from_path toPath:(NSString *)to_path;
+- (void)copyFrom:(NSString*)fromPath toPath:(NSString *)toPath;
+
+- (void)createCopyRef:(NSString *)path; // Used to copy between Dropboxes
+- (void)copyFromRef:(NSString*)copyRef toPath:(NSString *)toPath; // Takes copy ref created by above call
-- (void)moveFrom:(NSString*)from_path toPath:(NSString *)to_path;
+- (void)moveFrom:(NSString*)fromPath toPath:(NSString *)toPath;
- (void)loadAccountInfo;
@@ -114,6 +123,9 @@
- (void)restClient:(DBRestClient*)client loadMetadataFailedWithError:(NSError*)error;
// [error userInfo] contains the root and path of the call that failed
+- (void)restClient:(DBRestClient*)client loadedDeltaEntries:(NSArray *)entries reset:(BOOL)shouldReset cursor:(NSString *)cursor hasMore:(BOOL)hasMore;
+- (void)restClient:(DBRestClient*)client loadDeltaFailedWithError:(NSError *)error;
+
- (void)restClient:(DBRestClient*)client loadedAccountInfo:(DBAccountInfo*)info;
- (void)restClient:(DBRestClient*)client loadAccountInfoFailedWithError:(NSError*)error;
@@ -155,17 +167,20 @@
// [error userInfo] contains the root and path
- (void)restClient:(DBRestClient*)client deletedPath:(NSString *)path;
-// Folder is the metadata for the newly created folder
- (void)restClient:(DBRestClient*)client deletePathFailedWithError:(NSError*)error;
// [error userInfo] contains the root and path
-- (void)restClient:(DBRestClient*)client copiedPath:(NSString *)from_path toPath:(NSString *)to_path;
-// Folder is the metadata for the newly created folder
+- (void)restClient:(DBRestClient*)client copiedPath:(NSString *)fromPath to:(DBMetadata *)to;
- (void)restClient:(DBRestClient*)client copyPathFailedWithError:(NSError*)error;
// [error userInfo] contains the root and path
-//
-- (void)restClient:(DBRestClient*)client movedPath:(NSString *)from_path toPath:(NSString *)to_path;
-// Folder is the metadata for the newly created folder
+
+- (void)restClient:(DBRestClient*)client createdCopyRef:(NSString *)copyRef;
+- (void)restClient:(DBRestClient*)client createCopyRefFailedWithError:(NSError *)error;
+
+- (void)restClient:(DBRestClient*)client copiedRef:(NSString *)copyRef to:(DBMetadata *)to;
+- (void)restClient:(DBRestClient*)client copyFromRefFailedWithError:(NSError*)error;
+
+- (void)restClient:(DBRestClient*)client movedPath:(NSString *)from_path to:(DBMetadata *)result;
- (void)restClient:(DBRestClient*)client movePathFailedWithError:(NSError*)error;
// [error userInfo] contains the root and path
View
18 DropboxSDK.framework/Headers/DBSession+iOS.h
@@ -0,0 +1,18 @@
+//
+// DBSession+iOS.h
+// DropboxSDK
+//
+// Created by Brian Smith on 3/7/12.
+// Copyright (c) 2012 Dropbox. All rights reserved.
+//
+
+#import "DBSession.h"
+
+@interface DBSession (iOS)
+
+- (void)link;
+- (void)linkUserId:(NSString *)userId;
+
+- (BOOL)handleOpenURL:(NSURL *)url;
+
+@end
View
5 DropboxSDK.framework/Headers/DBSession.h
@@ -28,6 +28,7 @@ extern NSString *kDBProtocolHTTPS;
@interface DBSession : NSObject {
NSDictionary *baseCredentials;
NSMutableDictionary *credentialStores;
+ MPOAuthCredentialConcreteStore *anonymousStore;
NSString *root;
id<DBSessionDelegate> delegate;
}
@@ -37,10 +38,6 @@ extern NSString *kDBProtocolHTTPS;
- (id)initWithAppKey:(NSString *)key appSecret:(NSString *)secret root:(NSString *)root;
- (BOOL)isLinked; // Session must be linked before creating any DBRestClient objects
-- (void)link;
-- (void)linkUserId:(NSString *)userId;
-
-- (BOOL)handleOpenURL:(NSURL *)url;
- (void)unlinkAll;
- (void)unlinkUserId:(NSString *)userId;
View
4 DropboxSDK.framework/Headers/DropboxSDK.h
@@ -15,4 +15,6 @@
#import "DBMetadata.h"
#import "DBQuota.h"
#import "DBError.h"
-#import "NSString+Dropbox.h"
+#import "NSString+Dropbox.h"
+
+#import "DBSession+iOS.h"
View
BIN  DropboxSDK.framework/Info.plist
Binary file not shown
2  iCarousel
@@ -1 +1 @@
-Subproject commit 06e212ce078b3cee1c4f83a03f6ce328aa8a9fe2
+Subproject commit 2d7e5d4f206c595b2dde72ebfea7ea3825e4a072
2  json-framework
@@ -1 +1 @@
-Subproject commit 5c4d5f745ba12f4c6f3090941f185404001d86d8
+Subproject commit 8007b273c2e22cc20a70ade19662353ca3f29b14
Please sign in to comment.
Something went wrong with that request. Please try again.