Mattt Thompson
ac20e02af3
Constructing image in background queue
2012-03-12 20:23:41 -07:00
Mattt Thompson
692f4ca90e
Removing unused overrided implementation of HTTPRequestOperationWithRequest:success:failure: in AFImageRequestOperation
2012-03-03 13:20:51 -08:00
Mattt Thompson
8bfee9e910
Refactoring +canProcessRequest: and content type acceptability
2012-03-03 13:19:53 -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
Mattt Thompson
64555e5dff
Merge branch 'custom-callback-queues' of https://github.com/steipete/AFNetworking into steipete-custom-callback-queues
2012-02-20 19:42:36 -08:00
Michael Schneider
babe84ec1a
Fixed missing comma in the defaultAcceptableContentTypes of the AFImageRequestOperation
2012-02-10 09:10:08 +01: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
b782991065
Adding check for responseData having non-zero length for response object methods in AFHTTPRequestOperation subclasses
2012-01-20 11:03:08 -08:00
Mattt Thompson
3ff5aafab7
Removing AFImageCache from public API, embedding it instead in UIImageView+AFNetworking implementation
2012-01-19 11:58:17 -08:00
Mattt Thompson
0e93cf0840
[Issue #110 ] Fixing orientation issues by using UIImage imageOrientation value rather than assuming UIImageOrientationUp
2011-11-21 11:19:25 -06:00
Mattt Thompson
5b5b32c5b8
Refactoring AFImageRequestOperation to use setCompletionBlockWithSuccess:failure
2011-11-21 10:23:36 -06:00
David Keegan
bfb6b35a3e
Update the NSImage code to just use an NSBitmapImageRep for determining the correct pixel width and height
...
Thanks to @indragiek for the tip.
2011-11-18 09:59:29 -08:00
David Keegan
fbf9186d10
Adding code to set the responceImage to the correct size.
2011-11-17 23:07:40 -08:00
Mattt Thompson
fdf217e8ab
[Issue #103 ] Adding imageScale property on AFImageRequestOperation, to allow override of default behavior on iOS to automatically scale images for retina displays
2011-11-11 10:50:00 -06:00
Mattt Thompson
180fb9bb03
Cache image data, as NSPurgeableData, rather than UIImage/NSImage
2011-10-25 08:50:08 -05:00
Mattt Thompson
53d61e7eb2
Adding pre-processor directives to conditionally compile Mac equivalent of UIKit-dependent APIs
2011-10-11 10:39:41 -05:00
Mattt Thompson
7e4b224154
Cleaning up merge with experimental-0.7
2011-10-11 10:05:07 -05:00
Mattt Thompson
b7724922c4
Refactoring image request operation
2011-10-10 13:06:12 -05:00
Mattt Thompson
b7564e9f5a
Refactoring implementation of AFHTTPRequest subclasses to fulfill AFHTTPClientOperation protocol
2011-10-10 10:41:29 -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
ccdc5f2d9b
Approaching a reasonable design for restructuring AFHTTPRequestOperation and subclasses
2011-10-05 12:36:45 -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
7a2cad0a56
Minor revisions to documentation, mostly around style and conventions
2011-09-22 11:31:01 -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
3512b3b606
Dispatching callbacks to main thread for Image requests
2011-09-21 16:52:22 -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
50014afa22
Refactoring image request API to remove unnecessary configuration, and focus the design goals of those classes
2011-09-16 22:40:52 -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
da1fa38bd4
Creating custom GCD queues for JSON and image request processing
2011-08-14 19:46:33 -05:00
Mattt Thompson
f9073df97b
Wrapping JSON and image processing in GCD async dispatch
2011-08-09 14:53:23 -05:00
Mattt Thompson
065ee0226f
Removing NSDefaultRunLoop frrom default runLoopModes in AFHTTPRequestOperation instances
2011-08-07 14:32:02 -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
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
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