Commit graph

341 commits

Author SHA1 Message Date
Aaron Brethorst
ac811fc5ec Raise an exception when JSON generation functionality doesn't exist. 2011-11-21 11:57:04 -08:00
Mattt Thompson
1f750a36fe Removing useless check for cache policy before cacheing images in success callback 2011-11-21 12:44:32 -06:00
Mattt Thompson
97191228e0 Fixing default cache policy for URL requests objects in UIImageView category 2011-11-21 12:42:08 -06: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
c466a24ae2 Fixing UIImageView category to work with AFImageRequestOperation refactoring 2011-11-21 10:40:09 -06:00
Mattt Thompson
fd2f678ac1 Fixing Mac example to work without AFImageCache coupling 2011-11-21 10:23:50 -06:00
Mattt Thompson
5b5b32c5b8 Refactoring AFImageRequestOperation to use setCompletionBlockWithSuccess:failure 2011-11-21 10:23:36 -06:00
Mattt Thompson
f28cf63a96 [Issue #116] Fixing SBJSon decoding function 2011-11-21 09:48:42 -06:00
Mattt Thompson
15057a86e1 Merge pull request #119 from InScopeApps/master
Fixed the spelling of 'automatically', sorry about that
2011-11-20 15:52:48 -08:00
David Keegan
8f68c49f08 Fixed the spelling of 'automatically' 2011-11-18 18:39:55 -08:00
Mattt Thompson
a569050972 Merge pull request #118 from InScopeApps/master
Adding a note about third party JSON libraries to the readme
2011-11-18 15:20:37 -08:00
David Keegan
eab584ea98 Adding an NSImage example 2011-11-18 14:40:48 -08:00
David Keegan
5e6a42e930 Adding a note about third party JSON libraries to the requirements section. 2011-11-18 14:23:00 -08:00
Mattt Thompson
60cef780c1 Merge pull request #115 from InScopeApps/master
Adding code to set the responseImage to the correct size.
2011-11-18 11:10:16 -08: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
71933c5f26 Merge branch 'master' of github.com:AFNetworking/AFNetworking 2011-11-14 14:24:32 -06:00
Mattt Thompson
ba29765ca9 Fixing formatting for URL construction example code in AFHTTPClient 2011-11-14 14:24:21 -06:00
Mattt Thompson
6b48178105 Merge pull request #113 from iwat/experimental-fix-jsonencode
Fix AFJSONEncode to work properly
2011-11-14 11:33:53 -08:00
chaiwats
10165ccc6f fix AFJSONEncode to work properly 2011-11-14 18:18:01 +07:00
Mattt Thompson
d159be3757 Adding missing authorization header in example 2011-11-12 18:19:00 -06:00
Mattt Thompson
5a3a9b2f41 Updating README to document removal of JSONKit dependency and fixing AFHTTPClient example 2011-11-11 13:22:50 -06:00
Mattt Thompson
3bc5351c63 Fixing Podspec (Thanks, Eloy Durán) 2011-11-11 13:09:38 -06:00
Mattt Thompson
504146d6b5 Updating Podspec to new repository URL 2011-11-11 11:50:32 -06:00
Mattt Thompson
dcf1f8e1e4 Minor documentation fixes 2011-11-11 11:35:07 -06:00
Mattt Thompson
771046eda7 Updating Podspec to 0.8.0 tag 2011-11-11 11:32:21 -06:00
Mattt Thompson
58693e8d8c Updating and revising documentation 2011-11-11 11:28:05 -06: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
f801bc453c Fixing memory leak by adding missing autorelease (Thanks, Zac Bowling) 2011-11-10 11:57:32 -06:00
Mattt Thompson
648c650ae7 Changing return type of appendPartWithFileURL:name:error: to BOOL, according to Apple guidelines for methods that accept an NSError** parameter (Thanks, Zac Bowling)
Fixing issue with potential NULL dereference in setting error pointer
2011-11-10 11:56:58 -06:00
Mattt Thompson
bb4aaa68fa Returning NSXMLParser as response object on all platforms, and documenting the change (Thanks to Zac Bowling for the suggestion)
Don't set the responseParser delegate to nil in -dealloc
2011-11-10 11:47:28 -06:00
Mattt Thompson
67a45388a6 Updating documentation for AFHTTPClient -HTTPRequestOperationWithRequest:success:failure: 2011-11-10 11:03:02 -06:00
Mattt Thompson
7658058083 Fixed @see method reference in AFHTTPClient documentation for get/post/put/delete methods 2011-11-10 10:26:58 -06:00
Mattt Thompson
d50652132f Fixing documentation for appendPartWithFileURL:name:error: 2011-11-09 12:05:53 -06:00
Mattt Thompson
b7d06b1fb7 Exposing AFURLEncodedStringFromStringWithEncoding and AFQueryStringFromParametersWithEncoding functions 2011-11-09 11:43:02 -06:00
Mattt Thompson
e08f236146 Reverting to NSURL +URLWithString:relativeToURL for building urls from paths
Documenting interactions of relative path parameters with baseURL
2011-11-09 10:51:33 -06:00
Mattt Thompson
e215554dc3 Removing #include Availability for AFJSONUtilities 2011-11-09 10:14:12 -06:00
Mattt Thompson
7d465da4a3 Throw an exception if no JSON parsing or generation functionality is available in AFJSONEncode/AFJSONDecode 2011-11-09 10:12:40 -06:00
Mattt Thompson
03bc87dfd7 Removing inline keyword for JSON functions 2011-11-08 20:12:58 -06:00
Mattt Thompson
6a1800661a Removing trailing whitespace 2011-11-08 20:09:23 -06:00
Mattt Thompson
fb59b75493 Fallback on NSJSONSerialization only after checking for 3rd-party libraries 2011-11-08 20:02:08 -06:00
Mattt Thompson
206f6ff1f6 Switching to NSInvocation approach to dynamic JSON library-agnostic encoding and decoding, appropriating @steipete's work on HockeyApp 2011-11-08 11:12:44 -06:00
Mattt Thompson
9a91afe3e2 [Issue #98] Adding AFHTTPClient -appendPartWithFileURL:name:error:
Changing -appendPartWithFileData:mimeType:name: to -appendPartWithFileData:name:fileName:mimeType:
2011-11-07 12:16:42 -06:00
Mattt Thompson
afbd799e3b Replacing AFHTTPClient -enqueueHTTPRequestOperationWithRequest:... with -HTTPRequestOperationWithRequest:..., thereby decoupling the automatic HTTP operation creation from enqueuing them 2011-11-07 11:43:19 -06:00
Mattt Thompson
ee88f6795e Adding #define _AF_USE_JSONKIT in API clients for example apps 2011-11-07 11:24:07 -06:00
Mattt Thompson
1fbe7846dd Merge branch 'experimental-json-agnosticism' into experimental-0.8 2011-11-07 11:21:55 -06:00
Mattt Thompson
8924702ec2 Merge branch 'experimental-image-cacheing' into experimental-0.8 2011-11-07 11:20:26 -06:00
Mattt Thompson
200512c7b3 Merge branch 'experimental-http-client-callback-refactoring' into experimental-0.8 2011-11-07 11:20:15 -06:00
Mattt Thompson
a3df2ced27 Merge branch 'experimental-dynamic-json-dependencies' into experimental-0.8
Conflicts:
	AFNetworking/AFNetworking.h
2011-11-07 11:20:02 -06:00
Mattt Thompson
082f8319af Embedding AFNetworking Logo in README 2011-11-03 17:13:08 -05:00