Commit graph

199 commits

Author SHA1 Message Date
Mattt Thompson
998f7bb701 nil-ing out responseXMLParser delegate if AFXMLRequestOperation is cancelled 2011-10-10 11:06:31 -05:00
Mattt Thompson
b28b99dd16 Moving AFHTTPClientOperation protocol to AFHTTPClient
Refactoring #import statements
2011-10-10 10:51:23 -05:00
Mattt Thompson
b7564e9f5a Refactoring implementation of AFHTTPRequest subclasses to fulfill AFHTTPClientOperation protocol 2011-10-10 10:41:29 -05:00
Mattt Thompson
263e2f3d5c [Issue #59] Removing unnecessary dispatch in UIImageView category 2011-10-10 10:04:57 -05:00
Mattt Thompson
120247718d Removing delegate argument to class method constructor 2011-10-10 09:40:32 -05:00
Mattt Thompson
62596c25b9 [Issue #72] Fixing HTTP Client method of constructing URLs from a path with respect to a base url 2011-10-10 09:40:11 -05:00
Mattt Thompson
6f20f84ef1 Adding AFHTTPClientParameterEncoding @property to AFHTTPClient, which determines the method of encoding an NSDictionary of parameters for the body of an HTTP request
Minor refactoring of AFRestClient
2011-10-06 14:33:16 -05:00
Mattt Thompson
2d97154710 Merge branch 'experimental-xml-parsing' into experimental-class-restructuring
Conflicts:
	Example/AFNetworking Example.xcodeproj/project.pbxproj
2011-10-06 11:14:53 -05:00
Mattt Thompson
c1dbf407be [Issue #65] Adding slight delay when hiding network activity indicator, to avoid flickering 2011-10-06 10:43:48 -05:00
Mattt Thompson
9b1c1f285c Checking for cancellation early in -operationDidStart 2011-10-06 10:15:58 -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
2c478758a2 Adding Property List request operation
Refactoring implementation of AFHTTPRequestOperation and subclasses
2011-10-05 14:14:52 -05:00
Mattt Thompson
94f08de1d5 Adding mime types for other UIImage-supported file-types 2011-10-05 12:52:28 -05:00
Mattt Thompson
c2e5ca2726 Renaming _responseBody ivar to _responseData 2011-10-05 12:47: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
c0cba6748a Refactoring state transition logic for AFURLConnectionOperation 2011-10-05 11:26:51 -05:00
Mattt Thompson
b85c59516d Don't execute completion block if cancelled 2011-10-04 00:41:32 -05:00
Mattt Thompson
561df45eb7 Initial working implementation of new candidate class structure 2011-10-04 00:13:12 -05:00
Mattt Thompson
97d4d179df Adding missing backtick for class documentation 2011-09-26 16:07:59 -05:00
Mattt Thompson
b53b73f493 Bumping version to 0.6.1 2011-09-26 15:07:32 -05:00
Mattt Thompson
6eb326fd5a Removing unused zlib framework dependency 2011-09-26 15:06:02 -05:00
Mattt Thompson
eda2d1a3f5 Expanding AFJSONRequestOperation and AFHTTPClient failure blocks to include the NSHTTPURLResponse object 2011-09-26 14:46:46 -05:00
Mattt Thompson
424f6de299 Adding documentation to AFHTTPClient 2011-09-26 12:51:20 -05:00
Mattt Thompson
945e196d1f Renaming AFMultipartFormDataProxy to AFMultipartFormData, in order to eliminate any confusion about it relating to a web proxy
Removing NSObject protocol from AFMultipartFormData protocol, since that's one of the points of abstracting away the interface

Refactoring mutlipart form appending methods to eliminate overlap, and be more useful in general

Updating documentation
2011-09-26 11:50:13 -05:00
Mattt Thompson
f4f295fb32 Removing extra semicolons 2011-09-26 11:06:56 -05:00
Mattt Thompson
421032fe90 Removing logic to set UIImageView image cache name based on placeholder image dimensions
Renaming constant used to associate category objects in UIImageView category
2011-09-26 11:03:33 -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
5ec70e7693 Fixes warning: implicit conversion changes signedness: 'unsigned int' to 'NSInteger' (aka 'int') when built with -Wsign-conversion. (Thanks @orj for this and related compiler warning fixes) 2011-09-26 10:19:30 -05:00
Mattt Thompson
65719ef895 Adding __unused designation to AFJSONRequestOperation operationWithRequest:success:failure: block parameters as appropriate 2011-09-26 10:17:04 -05:00
Mattt Thompson
2f8b58fc77 Adding __unused designation to AFHTTPRequestOperation method implementation parameters as appropriate 2011-09-26 10:14:46 -05:00
Mattt Thompson
665bbc541a Changing AFHTTPRequestOperation internal designated initializer from -initWithURLRequest: to -init 2011-09-26 10:10:48 -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
6f31e2e939 Changing setObject:forKey: to setValue:forKey: so that passing nil for default headers will remove that header 2011-09-26 08:50:41 -05:00
Mattt Thompson
e1f7528a09 Removing strangely intrusive logic to resize an image to placeholder image size 2011-09-26 08:48:04 -05:00
Mattt Thompson
b985ed9015 Merge pull request #48 from teeman/master
Fixing multiPartFormRequest
2011-09-26 06:40:51 -07:00
Mattt Thompson
79520c7c5f Removing setHTTPShouldHandleCookies:NO from AFHTTPClient requestWithMethod:path:parameters 2011-09-26 08:32:54 -05:00
Tyler Richey
4f070b2924 file data upload fix 2011-09-24 21:53:46 -04:00
Tyler Richey
cf0f82a74d Merge remote-tracking branch 'upstream/experimental-multipart-form-fix' 2011-09-24 21:52:25 -04:00
Mattt Thompson
74a3cdb3d6 Fixing typo for the other instance of -fno-objc-arc in the README 2011-09-23 15:29:01 -05:00
Mattt Thompson
0fa528aa93 Merge branch 'master' of github.com:gowalla/AFNetworking 2011-09-23 15:01:28 -05:00
Mattt Thompson
e76262c275 Adding enabled @property to AFNetworkActivityIndicatorManager
Decoupling AFNetworkActivityIndicatorManager from AFHTTPRequestOperation, by using notifications instead of directly incrementing and decrementing the activity count

Initializing the network activity indicator in App Delegate
2011-09-23 15:01:19 -05:00
Mattt Thompson
0c0b1bd383 Using composition of NSMutableData rather than subclassing
Renaming private form data proxy object to match @protocol name
2011-09-23 14:25:04 -05:00
Mattt Thompson
1265156c70 Merge pull request #49 from aaronbrethorst/master
Fixing typos in AFHTTPClient
2011-09-23 12:02:08 -07:00
Aaron Brethorst
43a94590a8 Fix two typos. 2011-09-23 11:31:27 -07:00
Mattt Thompson
1748a62b8d Fixing typo for ARC flag 2011-09-23 13:03:05 -05:00
Mattt Thompson
b621ad0848 Changing multipart form data object to be subclass of NSMutableData
Adding mimetype arguments to some multipart methods
2011-09-23 10:21:07 -05:00
Mattt Thompson
aaa1f5532d Updating README
Extracting LICENSE information into its own file
2011-09-22 14:05:34 -05:00
Mattt Thompson
77676d46e0 Adding PodSpec 2011-09-22 13:36:37 -05:00
Mattt Thompson
d407561ff6 Fixing parameter for AFHTTPClient -appendPartWithFile:fileName: 2011-09-22 12:21:09 -05:00