Commit graph

321 commits

Author SHA1 Message Date
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
Mattt Thompson
ed0c87599e Adding Default.png and Icons to iOS example app 2011-11-03 17:07:30 -05:00
Mattt Thompson
eb79d53519 Return baseURL if path is nil in AFURLWithPathRelativeToURL 2011-11-02 12:00:53 -05:00
Scott Raymond
e2f5f86146 replace custom base-URL method with standard NSURL one 2011-11-01 15:42:33 -05:00
Mattt Thompson
f86ac982db Removing AFNetworking framework prefix from AFNetworking.h 2011-10-31 11:17:53 -05:00
Mattt Thompson
dcf629f4a0 Changing parameter encoding to AFFormURLParameterEncoding by default, as per the documentation 2011-10-31 11:15:43 -05:00
Mattt Thompson
4285c0de88 Merge pull request #91 from houseoflegend/master
In iOS Example, added call to super in -[SpotTableViewCell prepareForReuse]
2011-10-31 08:59:17 -07:00
Larry Legend
50628f552a In iOS Example, added call to super in -[SpotTableViewCell prepareForReuse] as per Apple documentation. 2011-10-25 20:50:16 -04:00
Mattt Thompson
4a6a93e8d4 Merge pull request #90 from dstnbrkr/has-content
Check only content length, ignore status code.
2011-10-25 10:16:35 -07:00
Dustin Barker
c5190878a9 Check only content length, ignore status code.
Per discussion here: https://github.com/gowalla/AFNetworking/pull/88#issuecomment-2486149.
2011-10-25 10:08:02 -07:00
Mattt Thompson
180fb9bb03 Cache image data, as NSPurgeableData, rather than UIImage/NSImage 2011-10-25 08:50:08 -05:00
Mattt Thompson
d5a972e549 Cache image data, as NSPurgeableData, rather than UIImage/NSImage 2011-10-25 08:49:06 -05:00
Mattt Thompson
a37cda1032 Follow overriding pattern for error as used in HTTP operation subclasses 2011-10-24 13:32:42 -05:00
Mattt Thompson
30ea7353d4 Refactoring success and failure callbacks for HTTP request operations and client, to add more information and make everything more consistent
Removing AFHTTPClient protocol
2011-10-24 13:08:58 -05:00
Mattt Thompson
283d9cffea Initial implementation of decoupling specific JSON libraries from AFNetworking, in favor of being able to specify which one to use 2011-10-24 10:49:25 -05:00
Mattt Thompson
8007f0aade Fixing default implementation of AFHTTPRequestOperation +HTTPRequestOperationWithRequest:success:failure: not return nil 2011-10-24 09:48:19 -05:00
Mattt Thompson
1ba0d22b45 Adding _AFNETWORKING_ definition to header 2011-10-24 09:09:33 -05:00
Mattt Thompson
7c8fa85d6f Adding _AFNETWORKING_ definition to header 2011-10-21 15:27:32 -05:00
Mattt Thompson
25ea84a891 Changing -hasContent to readonly @property
Changing conditions of not having property to be either length == 0 or status code == 204
2011-10-21 13:56:31 -05:00
dstnbrkr
71a7a06649 Only check content type when response has content. 2011-10-21 10:59:59 -07:00
Mattt Thompson
67d8d043c9 Merge pull request #84 from dstnbrkr/return-http-error-or-json-error
Return JSON error or HTTP error.
2011-10-21 09:12:53 -07:00