Commit graph

223 commits

Author SHA1 Message Date
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
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
Aaron Brethorst
43a94590a8 Fix two typos. 2011-09-23 11:31:27 -07:00
Mattt Thompson
d7b6046e63 Adding AFNetworking.h
Renaming App Delegate
2011-09-23 12:30:50 -05:00
Mattt Thompson
efdaedc541 Adding Mac example project
Renaming iOS example project

Adding AFNetworking to Mac project using preprocessor macros to resolve UIKit dependencies, and setting compiler flags accordingly.
2011-09-23 12:19:40 -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
d407561ff6 Fixing parameter for AFHTTPClient -appendPartWithFile:fileName: 2011-09-22 12:21:09 -05:00
Mattt Thompson
c11cc2e7ec Adding missing documentation for image request parameters 2011-09-22 12:18:31 -05:00
Mattt Thompson
42da37a5a3 Namespacing private methods in UIImageView category 2011-09-22 11:42:48 -05:00
Mattt Thompson
7a2cad0a56 Minor revisions to documentation, mostly around style and conventions 2011-09-22 11:31:01 -05:00
Mattt Thompson
eebc763f7f Adding documentation to UIImageView category
Changing API for setImageWithURLRequest:placeholderImage:success to setImageWithURLRequest:placeholderImage:success:failure
2011-09-22 11:30:13 -05:00
Mattt Thompson
c84ca99269 Adding documentation for AFNetworkActivityIndicatorManager
Changing public API for AFNetworkActivityIndicatorManager from -start/stopAnimating to -increment/decrementActivityCount
2011-09-22 10:25:55 -05:00
Mattt Thompson
2dd68212c0 Adding +clientWithBaseURL:
Noting that initWithBaseURL: is the designated initializer
2011-09-22 09:43:58 -05:00
Mattt Thompson
2a8cce88a5 Changing AFImageCache APIs to use URLs rather than NSURLRequests
Completing documentation for AFImageCache
2011-09-21 23:46:00 -05:00
Mattt Thompson
d67db7172a Completing documentation of AFImageRequestOperation 2011-09-21 23:34:05 -05:00
Mattt Thompson
4cb29d24ad Adding class description to AFJSONRequestOperation 2011-09-21 23:21:41 -05:00
Mattt Thompson
e21a7b5aa1 Updating and completing documentation for AFHTTPClient 2011-09-21 23:16:35 -05:00
Mattt Thompson
ebb6eb21ad You know what's an even _better name? AFHTTPClient. Boom. 2011-09-21 22:42:01 -05:00
Mattt Thompson
cad7d40642 Fixing AFRESTClient filenames in preambles 2011-09-21 17:56:12 -05:00
Mattt Thompson
ab91d07575 Renaming AFRestClient to AFRESTClient 2011-09-21 17:55:24 -05:00
Mattt Thompson
c0c79a7675 Further additions to AFRestClient documentation 2011-09-21 17:51:05 -05:00
Mattt Thompson
e7aba7d47a Making most explicit UIImageView image setting method take NSURLRequest, to allow for overriding cache policy, timeout interval, and other request properties 2011-09-21 17:13:20 -05:00
Mattt Thompson
3512b3b606 Dispatching callbacks to main thread for Image requests 2011-09-21 16:52:22 -05:00
Mattt Thompson
9a78cc54cd Dispatching callbacks to main thread for JSON requests 2011-09-21 16:07:25 -05:00
Mattt Thompson
abc04440f7 Adding documentation to constants in AFHTTPRequestOperation 2011-09-21 15:55:21 -05:00
Mattt Thompson
3b81cd32a7 Fixing optimization to not re-initiate duplicated calls to a UIImageView, by adding missing check to see if the last operation was cancelled 2011-09-21 15:50:22 -05:00
Mattt Thompson
6832cd0e16 Adding #import for Foundation to AFJSONRequestOperation 2011-09-21 15:34:08 -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
f422cafe14 Removing UIImage category in favor of static function to resize images in UIImageView category implementation 2011-09-21 14:32:30 -05:00
Mattt Thompson
341153605f Fixing a few things with AFRestClient multipart request functionality 2011-09-21 14:22:21 -05:00
Mattt Thompson
8b8605185b Replacing NSMutableURLRequest category method with more flexible constructor in AFRestClient
Adding AFRestClient -multipartFormRequestWithMethod:path:parameters:constructingBodyWithBlock:

Defining AFMultipartFormDataProxy protocol

Replacing constant value for string encoding with @property with default of NSUTF8Encoding
2011-09-21 14:00:05 -05:00