Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

removed warnings, switched to 10.8

  • Loading branch information...
commit d5ef81df5d7fbecab81708268eb66a198eeab2ce 1 parent 82277e4
@artifacts authored
View
24 AFCache.xcodeproj/project.pbxproj
@@ -25,6 +25,7 @@
05238D0F151B6D880015D70E /* AFCachePackageCreator.m in Sources */ = {isa = PBXBuildFile; fileRef = 05238D0D151B6D880015D70E /* AFCachePackageCreator.m */; };
05238D16151BB2D10015D70E /* AFCachePackageCreator.m in Sources */ = {isa = PBXBuildFile; fileRef = 05238D0D151B6D880015D70E /* AFCachePackageCreator.m */; };
05238D17151BB3350015D70E /* AFCachePackageCreator.h in Headers */ = {isa = PBXBuildFile; fileRef = 05238D0C151B6D880015D70E /* AFCachePackageCreator.h */; };
+ 0527099617CE587C00CFFE63 /* AFCache.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = 050D30B1132A276A003809FC /* AFCache.framework */; };
055AAF5A13575581006E1CF9 /* AFCache.m in Sources */ = {isa = PBXBuildFile; fileRef = 05C9BADE132A291B0087CEA1 /* AFCache.m */; };
055AAF5B13575581006E1CF9 /* AFCache+Mimetypes.m in Sources */ = {isa = PBXBuildFile; fileRef = 05C9BAE0132A291B0087CEA1 /* AFCache+Mimetypes.m */; };
055AAF5C13575581006E1CF9 /* AFCache+Packaging.m in Sources */ = {isa = PBXBuildFile; fileRef = 05C9BAE2132A291B0087CEA1 /* AFCache+Packaging.m */; };
@@ -119,6 +120,16 @@
/* End PBXContainerItemProxy section */
/* Begin PBXCopyFilesBuildPhase section */
+ 0527099517CE586500CFFE63 /* CopyFiles */ = {
+ isa = PBXCopyFilesBuildPhase;
+ buildActionMask = 2147483647;
+ dstPath = "~/build_frameworks";
+ dstSubfolderSpec = 0;
+ files = (
+ 0527099617CE587C00CFFE63 /* AFCache.framework in CopyFiles */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
05FA23381357515400050BCB /* CopyFiles */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
@@ -575,6 +586,7 @@
05C9BB70132A310B0087CEA1 /* ShellScript */,
050D30AE132A276A003809FC /* Headers */,
050D30AF132A276A003809FC /* Resources */,
+ 0527099517CE586500CFFE63 /* CopyFiles */,
);
buildRules = (
);
@@ -905,7 +917,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
INSTALL_PATH = "@executable_path/../Frameworks";
- MACOSX_DEPLOYMENT_TARGET = 10.6;
+ MACOSX_DEPLOYMENT_TARGET = "";
ONLY_ACTIVE_ARCH = YES;
SDKROOT = macosx;
};
@@ -926,7 +938,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
INSTALL_PATH = "@executable_path/../Frameworks";
- MACOSX_DEPLOYMENT_TARGET = 10.6;
+ MACOSX_DEPLOYMENT_TARGET = "";
SDKROOT = macosx;
};
name = Release;
@@ -947,9 +959,9 @@
GCC_PREFIX_HEADER = "src/OSX/AFCache-Prefix.pch";
INFOPLIST_FILE = "src/OSX/AFCache-Info.plist";
INSTALL_PATH = "@rpath";
- MACOSX_DEPLOYMENT_TARGET = 10.7;
+ MACOSX_DEPLOYMENT_TARGET = 10.8;
PRODUCT_NAME = "$(TARGET_NAME)";
- SDKROOT = macosx10.7;
+ SDKROOT = "";
WRAPPER_EXTENSION = framework;
};
name = Debug;
@@ -970,9 +982,9 @@
GCC_PREFIX_HEADER = "src/OSX/AFCache-Prefix.pch";
INFOPLIST_FILE = "src/OSX/AFCache-Info.plist";
INSTALL_PATH = "@rpath";
- MACOSX_DEPLOYMENT_TARGET = 10.7;
+ MACOSX_DEPLOYMENT_TARGET = 10.8;
PRODUCT_NAME = "$(TARGET_NAME)";
- SDKROOT = macosx10.7;
+ SDKROOT = "";
WRAPPER_EXTENSION = framework;
};
name = Release;
View
4 AFCache.xcodeproj/xcuserdata/mic.xcuserdatad/xcschemes/xcschememanagement.plist
@@ -16,14 +16,14 @@
<key>isShown</key>
<false/>
<key>orderHint</key>
- <integer>28</integer>
+ <integer>6</integer>
</dict>
<key>afcpkg.xcscheme</key>
<dict>
<key>isShown</key>
<false/>
<key>orderHint</key>
- <integer>18</integer>
+ <integer>5</integer>
</dict>
</dict>
<key>SuppressBuildableAutocreation</key>
View
1  src/shared/AFCache+Packaging.h
@@ -17,7 +17,6 @@
- (BOOL)importCacheableItem:(AFCacheableItem*)cacheableItem withData:(NSData*)theData;
- (AFCacheableItem *)requestPackageArchive: (NSURL *) url delegate: (id) aDelegate;
- (AFCacheableItem *)requestPackageArchive: (NSURL *) url delegate: (id) aDelegate username: (NSString*) username password: (NSString*) password;
-- (void)consumePackageArchive:(AFCacheableItem*)cacheableItem preservePackageInfo:(BOOL)preservePackageInfo;
- (void)packageArchiveDidFinishLoading: (AFCacheableItem *) cacheableItem;
- (NSString*)userDataPathForPackageArchiveKey:(NSString*)archiveKey;
- (AFPackageInfo*)packageInfoForURL:(NSURL*)url;
View
2  src/shared/AFCache.m
@@ -1961,7 +1961,7 @@ - (AFCacheableItem *)cachedObjectForURL: (NSURL *) url
-(BOOL)persistDownloadQueue
{
- [downloadQueue writeToFile:@"downloadQueueStore" atomically:YES];
+ return [downloadQueue writeToFile:@"downloadQueueStore" atomically:YES];
}
@end
View
2  src/shared/AFCacheableItem+Packaging.m
@@ -40,7 +40,7 @@ - (NSString*)metaJSON {
DateParser* dateParser = [[[DateParser alloc] init] autorelease];
NSString *filename = self.info.filename;
DateParser *parser = [[DateParser alloc] init];
- NSMutableString *metaDescription = [NSMutableString stringWithFormat:@"{\"url\": \"%@\",\n\"file\": \"%@\",\n\"last-modified\": \"%@\"",
+ NSMutableString *metaDescription = [NSMutableString stringWithFormat:@"{\"url\": \"%@\",\n\"file\": \"%@\",\n\"last-modified\": \"%@\", valid until: %@",
self.url,
filename,
[dateParser formatHTTPDate:self.info.lastModified],
Please sign in to comment.
Something went wrong with that request. Please try again.