Commit graph

54 commits

Author SHA1 Message Date
Michele
bc149aa3c2 Removed all @discussion tags, since they are not supported. 2013-04-02 17:13:30 -07:00
Mattt Thompson
83da1edd13 Whitespace formatting by Xcode re-indentation 2013-01-27 12:15:07 -05:00
Oliver Jones
72ab802a2d Fixes warning: atomic by default property 'X' has a user defined getter (property should be marked 'atomic' if this is intended) [-Werror,-Wcustom-atomic-properties] 2012-11-30 18:02:15 +11: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
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
Steven Fisher
dd0e659e09 Spelling corrections. 2012-08-23 10:08:12 -07:00
Mattt Thompson
5cac0fea1b Removing leftover methods and functions from download operation patch 2012-08-06 17:22:34 -04:00
Wen-Hao Lue
415ece4dd4 Making the assign attribute on properties explicit to suppress warnings on iOS 6 SDK. 2012-07-11 01:05:01 -07:00
Mattt Thompson
f1b3101a63 First pass at converting to ARC 2012-06-26 09:14:52 -07:00
Steven Fisher
00a6d249e4 Update header comment to match file name 2012-05-02 11:08:01 -07:00
Mattt Thompson
ddfb00cc44 Merge branch 'experimental-pause-resume' of https://github.com/steipete/AFNetworking into steipete-pause-resume 2012-04-09 21:40:49 -07:00
Peter Steinberger
61eda7c4e0 adds function to responseFilePath (streaming into a file, if set)
adds total/offsetContentLength. We really need those in case we pause/resume.
2012-04-09 17:45:41 -07:00
Peter Steinberger
24564772df create and set temporary path 2012-04-09 13:58:36 -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
e37a6af943 Merge branch 'experimental-1.0RC1' into experimental-resumeable-streaming-downloads
Conflicts:
	AFNetworking/AFHTTPRequestOperation.h
	AFNetworking/AFHTTPRequestOperation.m
2012-03-26 11:31:11 -07:00
Mattt Thompson
331d7bcbf2 Moving resumeable streaming download functionality to AFHTTPRequestOperation 2012-03-25 12:23:40 -07:00
Mattt Thompson
68eb634027 Adding AFContentTypesFromHTTPHeader() 2012-03-02 11:18:20 -08:00
Mattt Thompson
01572eed3d Adding new documentation header for AFHTTPClient +canProcessRequest 2012-03-02 10:49:13 -08:00
Mattt Thompson
eb7d9bef95 Adding documentation for AFHTTPRequestOperation +addAcceptableStatusCodes / +addAcceptableContentTypes 2012-03-02 10:48:06 -08:00
Mattt Thompson
5b7a2cb05f Using class method swizzling to dynamically modify class method values for acceptable status codes and content types 2012-03-02 10:42:24 -08:00
Mattt Thompson
b723e5b75c Removing AFInternal category, opting instead to inline success and failure dispatch
Minor refactoring and reformatting of AFHTTPRequest subclasses

Changing AFXMLRequestOperation error to XMLError to match rest of subclasses
2012-02-20 20:22:46 -08:00
Peter Steinberger
800d05181d Simplify dispatchFailureBlock
As error is overridden to always return the custom error object we can
omit the extra error: parameter in dispatchFailureBlock, making the
code even simpler.
2012-02-08 15:04:29 -08:00
Peter Steinberger
30a5cea4fc Added methods to simplify calling the success/failure handlers. 2012-02-06 13:43:43 -08:00
Peter Steinberger
feaf0814c4 add support for setting custom success/failure callback queues. Defaults to main queue if nothing set. 2012-02-06 13:29:00 -08:00
Mattt Thompson
58693e8d8c Updating and revising documentation 2011-11-11 11:28:05 -06:00
Mattt Thompson
30ea7353d4 Refactoring success and failure callbacks for HTTP request operations and client, to add more information and make everything more consistent
Removing AFHTTPClient protocol
2011-10-24 13:08:58 -05:00
Mattt Thompson
c492d488d8 Further documentation revisions 2011-10-12 10:42:53 -05:00
Mattt Thompson
f04c832f4f Documentation for AFHTTPRequestOperation 2011-10-11 15:46:01 -05:00
Mattt Thompson
b28b99dd16 Moving AFHTTPClientOperation protocol to AFHTTPClient
Refactoring #import statements
2011-10-10 10:51:23 -05:00
Mattt Thompson
c2be31d4fa First implementation of protocol for AFHTTPClient to register classes to automatically determine the appropriate operation to create
Wrapping AFURLConnectionOperation -setCompletionBlock: with blockSelf release pattern to avoid retain cycle
2011-10-05 15:44:51 -05:00
Mattt Thompson
ccdc5f2d9b Approaching a reasonable design for restructuring AFHTTPRequestOperation and subclasses 2011-10-05 12:36:45 -05:00
Mattt Thompson
561df45eb7 Initial working implementation of new candidate class structure 2011-10-04 00:13:12 -05:00
Mattt Thompson
424f6de299 Adding documentation to AFHTTPClient 2011-09-26 12:51:20 -05:00
Mattt Thompson
1722e0b70d Adding bytesRead/bytesWritten argument to progress blocks
Changing progress block parameters to use NSInteger instead of NSUInteger
2011-09-26 10:39:47 -05:00
Mattt Thompson
1ec555dde5 Improving documentation for AFHTTPRequestOperation, elaborating on the NSURLConnection delegate methods that are implemented 2011-09-26 10:04:07 -05:00
Mattt Thompson
d12edee331 Renaming operationWithRequest:inputStream:outputStream:completion: to streamingOperationWithRequest:inputStream:outputStream:completion 2011-09-26 09:06:35 -05:00
Mattt Thompson
7a2cad0a56 Minor revisions to documentation, mostly around style and conventions 2011-09-22 11:31:01 -05:00
Mattt Thompson
c0c79a7675 Further additions to AFRestClient documentation 2011-09-21 17:51:05 -05:00
Mattt Thompson
abc04440f7 Adding documentation to constants in AFHTTPRequestOperation 2011-09-21 15:55:21 -05:00
Mattt Thompson
db4c852e3d [Issue #33] Changing return type of class method object contructors from id to an actual instance of that class 2011-09-21 15:33:20 -05:00
Mattt Thompson
5755666b30 Adding class overview to AFHTTPRequestOperation documentation 2011-09-18 14:27:32 -05:00
Mattt Thompson
ce2034beb8 First draft of documentation for AFHTTPRequestOperation 2011-09-18 13:19:18 -05:00
Mattt Thompson
a3970f823d Changing AFHTTPRequestOperation @properties to be readonly
Rearranging ivars
2011-09-16 10:08:49 -05:00
Mattt Thompson
d62af91ac9 [Issue #16] Formalizing AFNetworkingErrorDomain, and constructing errors accordingly 2011-09-15 12:06:25 -05:00
Mattt Thompson
59a98bb937 Experimental implementation of download progress block
Renaming progressBlock to uploadProgressBlock
2011-08-23 12:12:05 -05:00
Mattt Thompson
390c51a30d Merge branch 'gzip-compression-experimental' into experimental-gcd-processing
Conflicts:
	AFNetworking/AFHTTPRequestOperation.m
	AFNetworking/AFImageRequestOperation.m
	AFNetworking/AFJSONRequestOperation.m
2011-08-14 20:06:03 -05:00
Mattt Thompson
a2138c6bb0 Adding progress callback to AFHTTPRequestOperations, which can be used to monitor the progress of POST data being sent in a file upload, for instance 2011-08-14 19:53:48 -05:00
Mattt Thompson
ceed5f6b9f Removing unnecessary NSPort instance, which was attached to NSRunLoop to prevent it from immediately exiting 2011-08-07 14:30:01 -05:00