Commit graph

441 commits

Author SHA1 Message Date
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
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
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
Mattt Thompson
0c25bcee82 Merge branch 'experimental-reachability' into experimental-0.9
Conflicts:
	AFNetworking/AFHTTPClient.m
2012-01-19 17:29:44 -08:00
Mattt Thompson
1ab2eed8c8 Adding #ifdef macros to conditionally compile reachability features only when the SystemConfiguration is available 2012-01-19 17:26:12 -08:00
Jon Parise
2fc6d999b5 xml_request_operation_processing_queue() is Mac-only.
Wrap xml_request_operation_processing_queue() in a test for
__MAC_OS_X_VERSION_MIN_REQUIRED because it is only used by a
Mac-specific code block down below.

This addresses an unused symbol warning when compiling with strict
settings.
2012-01-19 17:25:29 -08:00
Mattt Thompson
df21de7e63 Merge branch 'experimental-thread-safe' into experimental-0.9
Conflicts:
	AFNetworking/AFURLConnectionOperation.m
2012-01-19 16:55:00 -08:00
Mattt Thompson
735d86a79b [Issue #161] [Issue #167] Replacing AFHTTPClient -cancelHTTPOperationsWithMethod:andURL: with -cancelAllHTTPOperationsWithMethod:path 2012-01-19 16:42:12 -08:00
Mattt Thompson
e117c4e847 Fixing Interface Builder warning about positioning of main window 2012-01-19 11:59:30 -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
cc49cd8d1c Major refactoring to Mac example code, removing a lot of code in favor of bindings 2012-01-19 11:33:30 -08:00
Mattt Thompson
71bb48fd16 Adding documentation for array formatting behavior for AFQueryStringFromParametersWithEncoding
Minor refactoring
2012-01-18 17:57:26 -08:00
Mattt Thompson
7d656c2cbe Merge branch 'BNT_FormatQueryArrayParams' of https://github.com/BraveNewTalent/AFNetworking into BraveNewTalent-BNT_FormatQueryArrayParams 2012-01-18 17:36:37 -08:00
Mattt Thompson
aaa5858546 Adding shortcircuit for _AFNETWORKING_PREFER_NSJSONSERIALIZATION_ 2012-01-18 17:23:45 -08:00
Mattt Thompson
54194a3cb6 [Issue #138] Adding double CRLF to multipart form final boundary
Minor refactoring of AFHTTPClient
2012-01-18 16:51:58 -08:00
Mattt Thompson
eb20980e86 Removing exception caused by multipartFormRequestWithMethod:path:parameters:constructingBodyWithBlock: is called with certain HTTP methods. Although message bodies for methods like HEAD, GET, and DELETE are traditionally ignored, there is nothing in the HTTP or multipart specs that explicitly forbid the use of multipart for a particular HTTP method. 2012-01-18 15:53:53 -08:00
Mattt Thompson
635b809020 Renaming 'class' variable to fix errors during compilation caused by some build settings (Thanks, Charlie Williams) 2012-01-18 15:31:09 -08:00
Charlie Williams
8688e7e505 Explicit cast in line 378 to uint8_t* needed for some build configs (i.e. mine) to avoid error. 2012-01-18 15:27:30 -08:00
Mattt Thompson
8c2304cdfe [Issue #158] [Issue #163] Fixing error check in appendPartWithFileURL:name:error:. Looking at the documentation for NSURLConnection +sendSynchronousRequest:returningResponse:error:, we don't really need to check error to do the right thing. Therefore, we can get away with checking data and response, and leaving the inclusion of the specified **error as an optional exercise to the user 2012-01-16 14:32:44 -08:00
Mattt Thompson
1822d164d7 Merge branch 'master' of github.com:AFNetworking/AFNetworking 2012-01-16 14:21:47 -08:00
Mattt Thompson
d6d97c7106 Adding missing raise for exception in AFJSONDecode 2012-01-16 14:21:32 -08:00
Mattt Thompson
ae48276092 [Issue #173] Fix data length issues in AFBase64EncodedStringFromString 2012-01-16 11:49:30 -08:00
Mattt Thompson
87b5d5a349 Merge pull request #178 from kgn/master
JSON exception created but never raised: fix #175
2012-01-16 10:54:04 -08:00