[Issue #1655] Setting completion block by notifying group in background queue
Merge branch 'master' of github.com:AFNetworking/AFNetworking
Minor formatting in tests
[Issue #1656] Fixing UIWebView category to use supplied success callback
[Issue #1627] Changing request serializer protocol to take id type for parameters
[Issue #1601] Fixing availability macros for network activity indicator
Squashed commit of the following:

commit d2d732426d91bb91a0aa251f44b0f4eb52b0739d
Author: Mattt Thompson <m@mattt.me>
Date:   Tue Dec 3 00:37:26 2013 -0800

    Initialize object with nil rather than NULL

commit f940f6fa0dec901bac5c1b3d78fcdb35d178571c
Author: Mattt Thompson <m@mattt.me>
Date:   Tue Dec 3 00:34:31 2013 -0800

    Add evaluateServerTrust: with deprecation warning

    Changing policy of -evaluateServerTrust:forDomain: to skip domain validation for nil domain, rather than throwing an exception, in order to support deprecated version

commit f6e390b82e76ec610258b6141dd5ae502581a536
Author: Mattt Thompson <m@mattt.me>
Date:   Tue Dec 3 00:27:25 2013 -0800

    Minor documentation copy editing

commit efcb3c74a1d26006e046116599210178ba2b0533
Author: Mattt Thompson <m@mattt.me>
Date:   Tue Dec 3 00:23:36 2013 -0800

    Rename AFVerifyDomainNames to AFCertificateHostMatchesDomain and refactor

commit c5188b9d4286f5f17b2c290c93d1760632feebae
Author: Mattt Thompson <m@mattt.me>
Date:   Tue Dec 3 00:08:56 2013 -0800

    Minor reformatting

commit 102e5c0b26b46fb3999ba718619a0878020b2804
Author: Mattt Thompson <m@mattt.me>
Date:   Tue Dec 3 00:03:45 2013 -0800

    Removing unnecessary *stop setting in indexOfObjectPassingTest:

commit 841dec319e2861a4bba2da957a6910663b3b008a
Merge: e344585 9e984ce
Author: Mattt Thompson <m@mattt.me>
Date:   Tue Dec 3 00:00:48 2013 -0800

    Merge branch 'domain-name-validation' of github.com:OliverLetterer/AFNetworking into OliverLetterer-domain-name-validation

commit 9e984cec8ffac1ef441d2ae56d48947373a3c60e
Author: Oliver Letterer <oliver.letterer@gmail.com>
Date:   Wed Nov 6 08:52:36 2013 +0100

    Adding documentation for -[AFSecurityPolicy evaluateServerTrust:forDomain:].

commit 44ec25b01bfe8205d8bc585b437167db5bb3a051
Author: Oliver Letterer <oliver.letterer@gmail.com>
Date:   Sun Nov 3 18:50:28 2013 +0100

    Adding more tests.

commit 4c3c4394504cca0f33c7d2885913d5d5fbaca0b6
Author: Oliver Letterer <oliver.letterer@gmail.com>
Date:   Sun Nov 3 18:45:52 2013 +0100

    Implementing tests.

commit a85141d649a5c345291361341d730c280d0e9c2e
Author: Oliver Letterer <oliver.letterer@gmail.com>
Date:   Sun Nov 3 18:35:20 2013 +0100

    Implementing domain name validation.

Signed-off-by: Mattt Thompson <m@mattt.me>
Squashed commit of the following:

commit 4a48db5de0bb40ae5a23f40078f837ac95006116
Merge: 5eaa869 6f8c1bf
Author: Mattt Thompson <m@mattt.me>
Date:   Tue Dec 3 01:04:29 2013 -0800

    Merge branch 'master' of github.com:nessence/AFNetworking into nessence-master

    Conflicts:
    	AFNetworking/AFSecurityPolicy.m
    	Tests/Tests/AFSecurityPolicyTests.m

commit 6f8c1bf1e715d8615ed8291c8089a9d6c0653f2f
Author: Alex Leverington <alex@tantrumstreet.com>
Date:   Wed Oct 9 03:58:40 2013 -0500

    update documentation

commit 96a724290bffe4a825ea1abf850ec3993b522811
Author: Alex Leverington <alex@tantrumstreet.com>
Date:   Wed Oct 9 03:01:40 2013 -0500

    revert to leaf certificate checking as that was default before. add cert chain to resources for default tests. added default tests in case of certificate chains being used.

commit 2c1f4b80fee46908d1f93569fa9fd69905538fe4
Author: Alex Leverington <alex@tantrumstreet.com>
Date:   Wed Oct 9 01:28:00 2013 -0500

    update modes to explicitly specifying whether complete chain or leaves should be validated.
    add new tests for explicit modes.

commit 291caa4a149d55a17ac884e56bc0bf8f25796bfe
Author: Alex Leverington <alex@tantrumstreet.com>
Date:   Tue Oct 8 22:26:15 2013 -0500

    fix tests to load certs. previous tests were not loading any certificate which doesn’t accurately reflect name or text of test.

commit 983e84e6895963bded794961c4764079eb156c7f
Author: Alex Leverington <alex@tantrumstreet.com>
Date:   Tue Oct 8 07:36:20 2013 -0500

    use unsigned integer

commit 6fbfd413edba1c0343d23d30d95e3dbc11be4011
Author: Alex Leverington <alex@tantrumstreet.com>
Date:   Tue Oct 8 05:43:28 2013 -0500

    Ensure full certificate chain is verified to prevent false positives from compromised certificate chains and ensure developer includes full cert chain. Ensure trust is validated before evaluating certificate. Security policy tests pass with changes. Prior to changes, tests for setSSLPinningMode:AFSSLPinningModePublicKey and setSSLPinningMode:AFSSLPinningModeCertificate would pass when one or more certificates weren't bundled.

    We know from SecTrustEvaluate that the certificate presented by the server is valid. Thus, it wouldn’t make sense to return true if only one certificate in the chain validates, because, SSL pinning is to ensure the previously-issued certificate chain matches the server trust. While the prior implementation protects against MITM certs from sources such as corporate firewalls, this measure is to combat wider-spread compromises of certificate authorities.

Signed-off-by: Mattt Thompson <m@mattt.me>
Adding AFImageCache protocol, to allow for custom image caches to be specified for UIImageView
Adding 'gem install cocoapods' to Travis before_install step
Adding command line options to Travis gem install cocoapods
Fixing documentation, reverting change in security policy enum
Fixing references to reverted pinning mode enum values
Fixing invalid character in Travis YAML
Allow returning error from AFURLRequestSerialization requestWithMethod
Minor formatting
Merge branch 'master' of github.com:abecevello/AFNetworking into abecevello-master
Deprecating request constructors without error parameter
Fixing deprecated method warnings
Squashed commit of the following:

commit 35b4e1abd727ab9a5fb1489d73d4985a18efd138
Author: Mattt Thompson <m@mattt.me>
Date:   Thu Dec 5 14:22:49 2013 -0800

    Minor formatting

commit 36007b0f147dba1db2d46d26389a76aa339ecf0d
Merge: c25c49a c7ab4ad
Author: Mattt Thompson <m@mattt.me>
Date:   Thu Dec 5 14:11:40 2013 -0800

    Merge branch 'AFURLConnectionOperation-isFinished-without-being-started-fix' of github.com:sampage/AFNetworking into sampage-AFURLConnectionOperation-isFinished-without-being-started-fix

commit c7ab4adc0794d3fc95fa44448c8c1ac59d25df9b
Author: Sam Page <page.sam.c@gmail.com>
Date:   Wed Dec 4 19:23:48 2013 +1100

    Adds unit tests to cover cancelling an operation before it has begun. Rolls back previous test changes to logic of cancelling after the operation has started.

commit 412d8265eb9915f935ff3c3891dc81497a5db725
Author: Sam Page <page.sam.c@gmail.com>
Date:   Wed Dec 4 19:23:01 2013 +1100

    Previous change would mean operations in-flight would not be cancelled. On cancel, check whether the operation is currently executing and if so, cancel the operation immediately.

commit a522bd7daf0034b6a8527b54a00f87e5155815d1
Author: Sam Page <page.sam.c@gmail.com>
Date:   Wed Dec 4 18:08:01 2013 +1100

    Updates AFHTTPRequestOperationTests that cover cancelling to adhere to new logic of operations receiving -start after being cancelled

commit fbe385f8e4e11a9fb3e24c663b0c283a9caeb7bf
Author: Sam Page <page.sam.c@gmail.com>
Date:   Wed Dec 4 18:07:02 2013 +1100

    Removing explicit call to set state to AFOperationFinishedState. Happens as a product of cancelConnection and setting here will mean the connection is not cancelled.

commit b71eaa8c8dbb272b36345d3983d6ff3d27ebcce6
Author: Sam Page <page.sam.c@gmail.com>
Date:   Wed Dec 4 17:10:23 2013 +1100

    Matching conditionals formatting

commit 270066c102dc922b1adee8aff4b5ba2035676d9f
Author: Sam Page <page.sam.c@gmail.com>
Date:   Wed Dec 4 16:35:43 2013 +1100

    Checks whether AFURLConnectionOperation isCancelled during start, if so, cancel the connection and mark state as AFOperationFinishedState. Removes connection cancelling call from NSOperation’s cancel method.
    Fixes an issue with iOS 6.1 where cancelling an operation before it had been started would crash after logging “AFHTTPRequestOperation xxx went isFinished=YES without being started by the queue it is in”

commit 72295f6282c9eb3aa934949a6ae2d0a762712de0
Author: Sam Page <page.sam.c@gmail.com>
Date:   Wed Dec 4 16:31:07 2013 +1100

    Removes cancelled flag from AFURLConnectionOperation, instead relying on the default NSOperation isCancelled.
    Removes KVO notifications for isCancelled flag to adhere to docs: “..Support for cancellation is voluntary but encouraged and your own code should not have to send KVO notifications for this key path..”

Signed-off-by: Mattt Thompson <m@mattt.me>