Commit graph

223 commits

Author SHA1 Message Date
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
Mattt Thompson
48be808c38 useCompression -> useGzipCompression 2011-08-05 15:15:32 -05:00
Mattt Thompson
c004ceb0f1 Initial support for Gzip compression of HTTP Post Body 2011-08-05 15:13:22 -05:00
Mattt Thompson
884bacfd4b Initial support for NSInputStream and NSOutputStream to AFHTTPRequestOperation 2011-08-05 13:52:20 -05:00
Mattt Thompson
63ecf4bc98 Expanding success and failure block of most explicit signature for AFJSONRequestOperation to include request and response objects 2011-08-05 11:50:51 -05:00
Mattt Thompson
bc4b92335e Adding progress block to AFHTTPRequestOperation
Moving AFHTTPRequestOperation -initWithURLRequest: to class extension
2011-08-05 11:25:10 -05:00
Mattt Thompson
8833578a14 Adding NSMutableURLRequest category with -setHTTPBodyWithData:mimeType:forParameterNamed:parameters: method, for multi-part POST requests
Extracting categories into separate files
2011-08-05 10:58:37 -05:00
Mattt Thompson
26984f4414 Merge branch 'master' of github.com:gowalla/AFNetworking 2011-08-05 10:41:56 -05:00
Mattt Thompson
1dad3cb336 Adding method, adding a callback for when image was loaded. This fixes a shortcoming where images loaded into UITableViewCells wouldn't show up until being recycled, needing to layout its subviews 2011-08-05 10:41:20 -05:00
Brian McManus
bee6a5da40 Fix bug with scaling images with a portrait aspect ratio. 2011-08-04 11:55:37 -04:00
Jon Parise
359d51d84a Improving the check for NSJSONSerialization.
We now only attempt to use NSJSONSerialization if we're compiling
against a Base SDK that includes it.  If we are, we still retain the
NS_CLASS_AVAILABLE-based `class` check to test whether or not it's
available at runtime.

The fallback in both cases is to use JSONKit.
2011-08-03 21:19:49 -07:00
Mattt Thompson
a5a31f4609 Checking for NSJSONSerialization using NS_CLASS_AVAILABLE macro instead of NSClassFromString 2011-08-03 13:11:01 -05:00
Mattt Thompson
9a2b90c698 Adding explicit cast for associated image request operation object in UIImageView category 2011-08-03 13:02:47 -05:00
Mattt Thompson
d4e34f76bf Adding #imports for Foundation and obj-c runtime 2011-08-03 13:00:40 -05:00
Mattt Thompson
c3ceed4005 Removing extraneous NSURLConnectionDelegate protocol declarations in AFHTTPOperation.h 2011-08-03 12:57:02 -05:00
Mattt Thompson
4ac2f407d7 Removing code to try and be clever about cancelling image requests or not for a instances of the same image being requested
Adding HTTP pipelining to image requests
2011-08-03 11:32:22 -05:00
Mattt Thompson
68dc7e866e Using NSJSONSerializer when supported, falling back on JSONKit
Changing return type for JSON response from NSDictionary to id, to support non-dictionary top-level elements in response, such as arrays

Defining default acceptable content types and status codes as class methods in AFJSONRequestOperation

Adding text/json to acceptable MIME type for JSON
2011-08-03 11:31:00 -05:00
Mattt Thompson
f169a93f58 Moving AFNetworking classes into correct directory 2011-07-27 15:20:37 -05:00
Mattt Thompson
d87b783814 Porting over changes for 0.3.0 release 2011-07-27 15:14:15 -05:00
Mattt Thompson
2e32312d17 Fixing corner size function of processed images 2011-06-03 15:19:39 -05:00
Mattt Thompson
538d244a46 Fixing memory leak in AFImageRequest +operationWithRequest:callback: 2011-06-02 15:28:28 -05:00
Mattt Thompson
3f851b0a23 Removing AFURLCache, using NSURLCache instead 2011-06-02 15:16:17 -05:00
Mattt Thompson
a8cb70db12 Changing Example project directory structure 2011-06-01 12:22:44 -05:00