Commit graph

661 commits

Author SHA1 Message Date
Patrick Hernandez
cc2115e469 Made progressBlock call back to the main queue by default. 2012-02-28 17:12:10 -06:00
Patrick Hernandez
0fc6f980b9 A fix for batch enqueue completion block returning on background thread 2012-02-28 16:39:25 -06:00
Mattt Thompson
913ce47d89 Merge pull request #217 from dominic/patch-1
Updated link to UIImageView+AFNetworking category.
2012-02-26 19:09:37 -08:00
Dominic Dagradi
df177d774f Updated link to UIImageView+AFNetworking category. 2012-02-25 12:54:41 -05:00
Mattt Thompson
e0831197d3 Minor formatting changes
Adding line comment about why cancelConnection is being called as it is

Minor edit to comment about manually sending delegate message on cancel
2012-02-24 09:01:00 -08:00
Erik Olsson
f0ce3a86e3 Proposed fix to the race condition that occurs when stressing AFURLConnectionOperation.
Cancels the NSURLConnection on the same thread as the one where it was created.
2012-02-23 18:05:27 +01:00
Mattt Thompson
5ad4ca34f5 Adding compilation flags to suppress warnings for JSONKit source files 2012-02-20 20:31:54 -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
Mattt Thompson
f56f538053 Merge branch 'master' of github.com:AFNetworking/AFNetworking 2012-02-20 19:32:06 -08:00
Mattt Thompson
ad27bd0397 [Issue #209] Adding conditional in AFURLEncodedStringFromStringWithEncoding to correctly handle cases where '%' is passed in literally, and not interpreted as an escape sequence, which would have previously caused the subsequent string to be nil. 2012-02-20 19:31:55 -08:00
Mattt Thompson
9824054d5f Merge pull request #208 from samsoffes/master
Add new line
2012-02-16 14:54:47 -08:00
Sam Soffes
79e622159a Add newline 2012-02-16 14:53:03 -08:00
Mattt Thompson
06d1b3a400 Merge pull request #197 from AFNetworking/experimental-network-reachability-notification
Adding notifications for network reachability changes to AFHTTPClient
2012-02-14 09:54:23 -08:00
Mattt Thompson
09a5329bb8 Merge branch 'master' into experimental-uiimageview-category-refactoring 2012-02-14 09:13:26 -08:00
Mattt Thompson
7f413b3c38 Fixing property setters for authentication block properties 2012-02-14 09:13:03 -08:00
Mattt Thompson
f8fd95e26a Refactoring UIImageView+AFNetworking to remove unused aspects of AFImageCache, and to prevent unexpected or incorrect cacheing behavior 2012-02-14 09:12:19 -08:00
Mattt Thompson
17f55849d9 [Issue 204] Adding authenticationAgainstProtectionSpace block, to intercept connection:canAuthenticateAgainstProtectionSpace: (Thanks Kevin Harwood & Peter Steinberger)
Adding #ifdef _AFNETWORKING_ALLOW_INVALID_SSL_CERTIFICATES_ macros for NSURLConnection authentication delegate methods
2012-02-14 08:38:49 -08:00
Mattt Thompson
a8c205b3c8 Merge pull request #205 from maicki/master
Fixed missing comma in the defaultAcceptableContentTypes of the AFImageRequestOperation
2012-02-10 10:59:04 -08:00
Michael Schneider
babe84ec1a Fixed missing comma in the defaultAcceptableContentTypes of the AFImageRequestOperation 2012-02-10 09:10:08 +01:00
Peter Steinberger
28e580c961 Replaces a failure block with dispatchFailureBlock method
I missed that on the initial transform.
2012-02-08 15:05:19 -08: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
4266dc60d1 Adding notifications for network reachability changes to AFHTTPClient 2012-02-01 11:27:57 -08:00
Mattt Thompson
37559c792c Merge pull request #195 from cbess/patch-1
Improved reachability check, detects severed internet connections.
2012-01-29 19:40:02 -08:00
C. Bess
fe56222f5c Updated reachability flags. 2012-01-28 14:13:52 -06:00
C. Bess
3e4725bb3e Improved reachability check, detects severed internet connections. 2012-01-28 13:59:40 -06:00
Mattt Thompson
76255d3f04 Updating Mac example project to pass -fno-objc-arc for AFJSONUtilities.m 2012-01-23 12:21:04 -08:00
Mattt Thompson
82a5d94305 Formatting fix for CHANGES file 2012-01-23 09:34:06 -08:00
Mattt Thompson
1c64c6c374 Merge branch 'experimental-0.9' 2012-01-23 09:11:32 -08:00
Mattt Thompson
1635c8ec83 Updating podspec for 0.9.0 release 2012-01-23 09:10:59 -08:00
Mattt Thompson
4f5503ae78 Adding CHANGES file, with notes for 0.9.0 release 2012-01-23 08:53:37 -08:00
Mattt Thompson
dfa6e97ad3 Merge branch 'feature-batched-operations' into experimental-0.9
Conflicts:
	AFNetworking/AFHTTPClient.m
2012-01-23 08:44:59 -08:00
Mattt Thompson
e334407891 Adding -description to AFHTTPClient 2012-01-23 08:41:55 -08:00
Mattt Thompson
21e907cb98 Adding -description to AFURLConnectionOperation 2012-01-23 08:35:43 -08:00
Mattt Thompson
abc1cbfd29 Fixing link to property lists in README 2012-01-22 11:53:34 -08:00
Mattt Thompson
83afa2c734 Adding AFJSONUtilities.m to example project files 2012-01-22 11:50:42 -08:00
Mattt Thompson
a9094d38f4 Merge branch 'afjson' of https://github.com/jparise/AFNetworking into jparise-afjson 2012-01-22 11:46:22 -08:00
Mattt Thompson
4ef3c71260 Minor formatting changes to README 2012-01-22 11:42:46 -08:00
Mattt Thompson
77dc7aaaed Merge branch 'master' of github.com:AFNetworking/AFNetworking 2012-01-20 15:43:48 -08:00
Mattt Thompson
6fa72568c4 Updating README with new introduction and overview, and improved formatting 2012-01-20 15:43:39 -08:00
Jon Parise
3095740490 Improve NSIndexSet formatting in error strings.
This introduces an AFStringFromIndexSet() utility function that
formats an NSIndexSet (e.g. self.acceptableStatusCodes) as a nicer,
more consumable string than what [NSIndexSet description] provides.
2012-01-20 14:58:48 -08:00
Jon Parise
6c70e39584 Mark the AFJSON* functions as 'extern'. 2012-01-20 14:35:19 -08:00
Jon Parise
776b251f03 Move the AFJSON* functions into a source file.
Previously, these functions were marked 'static' and were being
included by multiple other source files. That wasn't ideal because it
resulted in their implementations being duplicated in multiple link
units.

Worse is the fact that the previous organization generated fatal
compilation errors about unused symbols when strict settings are
enabled.
2012-01-20 11:56:55 -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
dcb5eae1e5 Merge pull request #182 from jparise/nsjson-labels
Conditionally define the _af_nsjson_* labels.
2012-01-20 10:44:23 -08:00
Mattt Thompson
eabde28fd6 Minor refactoring to AFHTTPRequestOperation 2012-01-20 10:42:38 -08:00
Jon Parise
8559968514 Conditionally define the _af_nsjson_* labels.
These are only used when _AFNETWORKING_PREFER_NSJSONSERIALIZATION_ is
defined.  Otherwise, they generate unused symbol warnings under strict
compilation settings.
2012-01-19 17:58:24 -08:00
Mattt Thompson
8da16a056c Merge pull request #181 from jparise/xml-request-queue
xml_request_operation_processing_queue() is Mac-only.
2012-01-19 17:33:36 -08:00