Commit graph

1191 commits

Author SHA1 Message Date
Mattt Thompson
d933067eb4 Merge branch 'master' of https://github.com/danielctull/AFNetworking 2012-12-26 09:53:59 -05:00
Mattt Thompson
46559bd6ca Minor refactoring and reformatting 2012-12-26 09:40:50 -05:00
Dustin Barker
07c9f6c358 Add optional SSL certificate pinning 2012-12-26 09:40:37 -05:00
guykogus
0530c9c107 Implemented usage of instancetype. 2012-12-23 10:59:56 +02:00
Daniel Tull
7134e9612f Cause a failure when an operation is cancelled, fixes #657 2012-12-19 14:47:49 +00:00
Jesse Collis
474a940414 Fixes a handful of -Wstrict-selector-match warnings raised by Xcode 4.6DP3. As noted by @0xced, casting satisfies the compiler without changing the behaviour. 2012-12-18 06:39:10 +11:00
Mattt Thompson
a146a3bf66 Merge pull request #685 from dongle/master
Added assertion for empty body data in -appendPartWithHeaders:body:
2012-12-17 11:14:06 -08:00
Jonathan Beilin
fa0fc535a1 Adding assertion for empty data in -appendPartWithHeaders:body: 2012-12-17 10:31:00 -08:00
Mattt Thompson
0f35164082 Merge branch 'fixes-for-strict-warnings' of https://github.com/ittybittyapps/AFNetworking into ittybittyapps-fixes-for-strict-warnings
Conflicts:
	AFNetworking/AFHTTPClient.m
	AFNetworking/AFHTTPRequestOperation.m
	AFNetworking/AFImageRequestOperation.h
	AFNetworking/AFNetworking.h
	AFNetworking/AFURLConnectionOperation.m
2012-11-30 15:09:11 -08:00
Sebastian Ludwig
d3cb65c087 [Issue #651] Adding workaround for Rails behavior of returning a single space in head :ok responses, which is interpreted as invalid input by NSJSONSerialization
Signed-off-by: Mattt Thompson <m@mattt.me>
2012-11-30 14:40:53 -08:00
Basil Shkara
99c58dcf08 [Issue #652] Adding early return in -startMonitoringNetworkReachability if network reachability object could not be created (i.e. invalid hostnames)
Signed-off-by: Mattt Thompson <m@mattt.me>
2012-11-30 14:22:05 -08:00
Mathijs Kadijk
09cf2d39e2 [Issue #660] Add workaround for NSJSONSerialization crash with Unicode character escapes in JSON response
Signed-off-by: Mattt Thompson <m@mattt.me>
2012-11-30 14:12:59 -08:00
Mattt Thompson
607e91b5b8 Adding responseStringEncoding property to AFURLConnectionOperation 2012-11-30 14:11:59 -08:00
Mattt Thompson
eaa1252d40 Adding top-level group for source files 2012-11-30 13:37:07 -08:00
Oliver Jones
d38895e5d8 Fixes warning: enumeration value 'AFFinalBoundaryPhase' not explicitly handled in switch [-Werror,-Wswitch-enum] 2012-11-30 18:14:26 +11:00
Oliver Jones
b64c6bd846 Fixes warning: atomic by default property 'X' has a user defined getter (property should be marked 'atomic' if this is intended) [-Werror,-Wcustom-atomic-properties] 2012-11-30 18:13:43 +11:00
Oliver Jones
b75c673a2c Fixes warning: 'X' is not defined, evaluates to 0 [-Werror,-Wundef] 2012-11-30 18:12:47 +11:00
Oliver Jones
692f7126ca Fixes warning: 'response' was marked unused but was used [-Werror,-Wused-but-marked-unused] 2012-11-30 18:04:44 +11:00
Oliver Jones
72ab802a2d Fixes warning: atomic by default property 'X' has a user defined getter (property should be marked 'atomic' if this is intended) [-Werror,-Wcustom-atomic-properties] 2012-11-30 18:02:15 +11:00
Oliver Jones
d8b4dcb349 Fixes warning: 'macro' is not defined, evaluates to 0 2012-11-30 17:59:50 +11:00
Oliver Jones
f4d25341cf Fixing tabs/spaces whitespace inconsistency. 2012-11-29 19:08:41 +11:00
Oliver Jones
3997dbb7e9 Fixes warning: multiple methods named 'selector' found [-Werror,-Wstrict-selector-match] 2012-11-29 18:46:04 +11:00
Oliver Jones
23b8fe33ba Fixes warning: weak receiver may be unpredictably null in ARC mode [-Werror,-Wreceiver-is-weak] 2012-11-29 18:30:28 +11:00
Oliver Jones
f9449753ff Fixes warning: property is assumed atomic by default [-Werror,-Wimplicit-atomic-properties] 2012-11-29 18:06:05 +11:00
Oliver Jones
debd442903 Fixes warning: unused parameter 'x' [-Werror,-Wunused-parameter] 2012-11-29 18:03:34 +11:00
Oliver Jones
3486a008a1 Fixing warnings: implicit conversion changes signedness: 'NSInteger' (aka 'long') to 'unsigned long' [-Werror,-Wsign-conversion] 2012-11-29 17:53:30 +11:00
Nick Forge
3175869333 Fixed retain cycles in AFImageRequestOperation.m and AFHTTPClient.m caused by strong references within blocks
These retain cycles started showing up as compiler warnings after upgrading to Xcode 4.6DP
2012-11-21 15:48:18 +11:00
Mattt Thompson
402e460023 Changing order of conditional check to match responseString 2012-11-15 10:20:21 -08:00
Mattt Thompson
92134e92c3 Merge branch 'master' of github.com:AFNetworking/AFNetworking 2012-11-15 10:10:48 -08:00
Mattt Thompson
000010f850 Adding missing scan of '/' separator in content type string 2012-11-15 10:05:55 -08:00
Jorge Bernal
db8941f1ba [Issue #638] Following guidelines from RFC 2616 regarding the use of string encoding when none is specified in the response
Signed-off-by: Mattt Thompson <m@mattt.me>
2012-11-15 09:53:53 -08:00
Mattt Thompson
7c76df739f Merge pull request #644 from 0xced/localization-table
Use NSLocalizedStringFromTable with AFNetworking.strings table
2012-11-15 09:12:54 -08:00
Cédric Luthi
f106d19536 Use NSLocalizedStringFromTable with AFNetworking.strings table for localized strings 2012-11-14 17:44:11 +01:00
Mattt Thompson
eaac6a1759 [Issue #640] Removing documentation note about default Accept-Encoding header 2012-11-12 21:44:29 -08:00
Tomohisa Takaoka
c92f306c6d Issue: Timeout when buffer ends during ending boundry 2012-11-09 14:23:51 -08:00
Mattt Thompson
247863cfc2 [Issue #633] Manually casting scalar types in initWithCoder for AFURLConnectionOperation and AFHTTPClient 2012-11-09 07:31:53 -08:00
Mattt Thompson
ff8e70a49c Using addOperations:waitUntilFinished: instead of adding each operation individually in -enqueueBatchOfHTTPRequestOperations:... to fix an edge case bug where only one of the operations in a batch will run. 2012-11-06 12:03:19 -08:00
Mattt Thompson
24dfebb424 Merge branch 'master' of github.com:AFNetworking/AFNetworking 2012-11-06 09:22:04 -08:00
Mattt Thompson
5ec794dc4d Indenting macro conditionals 2012-11-06 09:21:41 -08:00
Mattt Thompson
d5bd23ca17 Distinguisging between CoreServices and MobileCoreServices for #warning 2012-11-06 09:13:22 -08:00
Mattt Thompson
a495902c65 Removing quotes for #warning macros 2012-11-06 09:10:22 -08:00
Mattt Thompson
adda25dd3c Merge pull request #629 from 0xced/field-escaping-description
Derive keys string representations using the description method
2012-11-06 08:37:05 -08:00
Cédric Luthi
db10b25bb2 Derive keys string representations using the description method as specified in AFQueryStringFromParametersWithEncoding documentation 2012-11-06 15:16:48 +01:00
Mattt Thompson
f62e5cf6f3 Update CHANGES 2012-11-05 13:08:55 -08:00
Mattt Thompson
97dd5602f6 Merge pull request #627 from apoltix/master
[Issue #624] Moved __unused keywords for better Xcode indexing
2012-11-05 13:06:04 -08:00
Christian Rasmussen
940f42dade [#624] Moved __unused keywords for better Xcode indexing. 2012-11-05 21:33:56 +01:00
Mattt Thompson
fd157cb7de Adding chanelog item for 5b32b45 2012-11-05 12:05:58 -08:00
Mattt Thompson
5b32b45469 [Issue #619] Sorting dictionary keys with caseInsensitiveCompare to ensure deterministic ordering of query string parameters, which may otherwise cause ambiguous representations of nested parameters 2012-11-05 12:03:23 -08:00
Mattt Thompson
9cde4e4584 Adding release notes for 1.0.1 2012-11-01 08:56:17 -07:00
Mattt Thompson
8603f8f653 Update CHANGES 2012-11-01 08:49:03 -07:00