Commit graph

58 commits

Author SHA1 Message Date
Mattt Thompson
83da1edd13 Whitespace formatting by Xcode re-indentation 2013-01-27 12:15:07 -05:00
Mattt Thompson
1368e618a6 [Issue #751] Removing NSURLConnectionDataDelegate from AFURLConnectionOperation's declared protocols 2013-01-24 17:00:27 -05:00
Mattt Thompson
965b3670a7 Updating list of implemented NSURLConnectionDelegate method 2013-01-06 20:46:08 -08:00
Mattt Thompson
9aeb38649b [Issue #719] Adding shouldUseCredentialStorage property to AFURLConnectionOperation /thanks Xihe Yu 2013-01-06 20:44:48 -08:00
Mattt Thompson
23d3bd5af4 Minor reformatting 2013-01-05 23:40:34 -08:00
Mattt Thompson
1d243f7794 Adding credential property to AFURLConnectionOperation 2013-01-04 12:41:25 -08:00
Mattt Thompson
732cd2da02 [Issue #686][Issue #168] Adding userInfo @property /cc @tewha 2012-12-26 10:29:57 -05:00
Mattt Thompson
0f35164082 Merge branch 'fixes-for-strict-warnings' of https://github.com/ittybittyapps/AFNetworking into ittybittyapps-fixes-for-strict-warnings
Conflicts:
	AFNetworking/AFHTTPClient.m
	AFNetworking/AFHTTPRequestOperation.m
	AFNetworking/AFImageRequestOperation.h
	AFNetworking/AFNetworking.h
	AFNetworking/AFURLConnectionOperation.m
2012-11-30 15:09:11 -08:00
Mattt Thompson
607e91b5b8 Adding responseStringEncoding property to AFURLConnectionOperation 2012-11-30 14:11:59 -08:00
Oliver Jones
d8b4dcb349 Fixes warning: 'macro' is not defined, evaluates to 0 2012-11-30 17:59:50 +11:00
Mattt Thompson
3dcc97ec8e Minor updates to AFURLConnectionOperation documentation 2012-10-14 10:41:37 -07:00
Mattt Thompson
ff37bb59f8 Merge branch 'master' into 1.0RC2
Conflicts:
	AFNetworking/AFHTTPClient.m
	AFNetworking/AFHTTPRequestOperation.m
	AFNetworking/AFJSONRequestOperation.m
	AFNetworking/AFNetworkActivityIndicatorManager.m
	AFNetworking/AFURLConnectionOperation.h
2012-09-14 10:30:25 -07:00
Mattt Thompson
5ddd070607 Fixing appledoc compliation errors in documentation
Assorted copy edits and reformatting to documentation
2012-08-31 09:53:55 -07:00
Mattt Thompson
4f89cc650e Significant restructuring and editing of documentation, organizing notifications, functions, and constants into separate sections at the end of the class header 2012-08-29 14:15:35 -07:00
Mattt Thompson
ed94ddf7b0 [Issue #472] Defining error keys for failing request and response to be included in NSError created in AFHTTPRequestOperation
Refactoring AFHTTPRequestOperation error handling code
2012-08-29 12:24:58 -07:00
Mattt Thompson
6558e95ae5 Merge pull request #476 from garethson/precision-loss-downloadProgress
Calling downloadProgress no longer casting [data length] to (long long)
2012-08-29 09:59:06 -07:00
Gareth du Plooy
13ec70cc8f AFURLConnectionOperationProgressBlock bytes now NSUinteger
This seems to be the most proper data type for this parameter.

What gets passed in for uploadProgress is an NSInteger (guaranteed to be positive), and [NSData length], which is an NSUInteger, for downloadProgress.
2012-08-23 13:15:47 -05:00
Steven Fisher
dd0e659e09 Spelling corrections. 2012-08-23 10:08:12 -07:00
Mattt Thompson
384df960ac Converting int to NSUInteger for instances of manually checking status code in AFHTTPRequestOperation 2012-08-22 11:46:03 -07:00
Mattt Thompson
19a491b45b Adding additional details in NSCopying / NSCopying documentation about stream properties 2012-08-15 10:03:46 -07:00
Mattt Thompson
7132b96124 Adding documentation for NSCoding / NSCopying behavior
Minor fixes to -copyWithZone:

Minor refactoring of -encodeWithCoder:
2012-08-15 09:59:00 -07:00
Mattt Thompson
9ed38fd30a Initial implementation of NSCoding and NSCopying support 2012-08-15 08:16:42 -07:00
Mattt Thompson
b494bfe3fb Adding NSURLConnection delegate method declarations in the AFURLConnection header to allow subclasses to call out to super implementation. Will be removed in 1.0, since iOS 5 / Mac OS 10.7 defined these as a formal protocol. 2012-08-04 15:48:01 -04:00
Mattt Thompson
c9680e1246 [Issue #411] Dispatching upload/download progress blocks to the main queue 2012-08-04 15:34:09 -04:00
Mattt Thompson
b9641edc81 Updating documentation for -pause
Returning early for -pause if operation is already cancelled
2012-07-23 16:22:48 -07:00
Mattt Thompson
16dc57c1fa [Issue #388] Make AFURLConnectionOperation conform to NSURLConnectionDelegate and NSURLConnectionDataDelegate 2012-06-26 22:15:09 -07:00
Mattt Thompson
f1b3101a63 First pass at converting to ARC 2012-06-26 09:14:52 -07:00
Mattt Thompson
aa5c3783ea Minor refactoring, code formatting, and documentation changes 2012-05-25 15:03:19 -07:00
Kevin Harwood
cd788cea8a Added URL Redirect Block 2012-05-24 14:45:01 -05:00
Mattt Thompson
346799dc8b Adding documentation for pause/resume 2012-04-24 21:28:06 -07:00
Mattt Thompson
7e16e13a3a Merge branch 'experimental-1.0RC1' into experimental-pause-resume
Conflicts:
	AFNetworking/AFURLConnectionOperation.h
	AFNetworking/AFURLConnectionOperation.m
2012-04-24 20:42:59 -07:00
Mattt Thompson
7697140bf9 Merge branch 'master' into experimental-1.0RC1
Conflicts:
	AFNetworking/AFHTTPRequestOperation.h
	AFNetworking/AFHTTPRequestOperation.m
2012-04-24 20:36:43 -07:00
Mattt Thompson
da1acf5a56 Merge branch 'master' into experimental-pause-resume
Conflicts:
	AFNetworking/AFHTTPRequestOperation.h
	AFNetworking/AFURLConnectionOperation.h
2012-04-08 15:28:58 -07:00
Mattt Thompson
407374746c Removing unnecessary ivar declaration in headers 2012-04-08 15:25:20 -07:00
Mattt Thompson
2a1d81a792 Cleaning up experimental bits
Re-creating AFDownloadRequestOperation, now with an API closer to NSURLDownload
2012-03-27 12:05:00 -07:00
Mattt Thompson
ca697ce300 Settling on a relatively stable implementation of pause/resume 2012-03-27 11:01:20 -07:00
Mattt Thompson
331d7bcbf2 Moving resumeable streaming download functionality to AFHTTPRequestOperation 2012-03-25 12:23:40 -07:00
Mattt Thompson
7bd7ee609b Replacing NSMutableData accumulator with NSOutputStream 2012-03-25 11:47:51 -07:00
Mattt Thompson
f2ae5c40ba Stashing re-implementation of resumeable streaming downloads into AFURLConnectionOperation 2012-03-25 11:14:17 -07:00
Peter Steinberger
2b2558a90e fixes an integer overflow for files > 2GB 2012-03-25 01:50:02 -07:00
Peter Steinberger
b8007fed90 Explicitly declare that we implement NSURLConnectionDataDelegate here. 2012-03-25 00:53:16 -07:00
Mattt Thompson
2ec0c3ec2f Adding AFURLConnectionOperation -setShouldExecuteAsBackgroundTaskWithExpirationHandler: 2012-03-20 11:31:18 -07:00
James Gill
91d854a8a6 Fixing upload/download typo. 2012-03-15 17:20:56 -07:00
Mattt Thompson
34b7d01af8 Updating documentation for AFURLConnectionOperation about implemented NSURLConnectionDelegate methods 2012-03-13 09:04:59 -07:00
Mattt Thompson
ce2063f06d [Issue #236] Adding AFURLConnectionOperation -setCacheResponseBlock:, which allows the behavior of the NSURLConnectionDelegate method -connection:willCacheResponse: to be overridden without subclassing 2012-03-09 13:50:46 -08:00
Mattt Thompson
467de06532 [Issue #237] Adding warning about crashing behavior in iOS 4 loading a file:// URL 2012-03-09 12:56:10 -08:00
Mattt Thompson
17f55849d9 [Issue 204] Adding authenticationAgainstProtectionSpace block, to intercept connection:canAuthenticateAgainstProtectionSpace: (Thanks Kevin Harwood & Peter Steinberger)
Adding #ifdef _AFNETWORKING_ALLOW_INVALID_SSL_CERTIFICATES_ macros for NSURLConnection authentication delegate methods
2012-02-14 08:38:49 -08:00
Mattt Thompson
df21de7e63 Merge branch 'experimental-thread-safe' into experimental-0.9
Conflicts:
	AFNetworking/AFURLConnectionOperation.m
2012-01-19 16:55:00 -08:00
Mattt Thompson
680fcd5071 First iteration of thread-safety on AFURLConnectionOperation, using a combination of NSRecursiveLock and common sense 2011-12-08 12:23:58 -06:00
Mattt Thompson
8869bb9ad3 Adding authentication challenge callback block to override default NSURLConnection delegate method implementation 2011-12-04 03:45:02 -06:00