Commit Graph

13 Commits

Author SHA1 Message Date
Jon Shier ab47c9774e
Add SwiftFormat (#2918)
* Add SwiftFormat, format everything.

* Remove whitespace formatting target.

* Update sample version.

* Remove whitespace scheme.

* Cleanup some error formatting.

* Further error clean up.

* Add missing doc comment.
2019-08-29 18:18:45 -04:00
Christian Noon 4a0aca494a Pulled all AF 4.8.1 changes into master for AF 5 2019-01-29 14:08:36 -08:00
Jon Shier 3e488dcd5c
Alamofire 5! (#2375)
* Drop iOS 8 / macOS 10.10 support and remove all workarounds. (#2254)

* Decodable response serialization and major refactor (#2265)

* First draft of response serializer refactor and decodable serializers.

* Refactor serializer protocols and implementations.

* Finish refactors, update inline docs.

* Remove download serializer from Data, as it’s default now.

* Update whitespace.

* Add failure expectation test.

* Remove unnecessary assert.

* Refactor serializers to use throws instead of Result.

* Refactor Lock Usage and Introduce Protector (#2290)

* Drop iOS 8 / macOS 10.10 support and remove all workarounds.

* First draft of response serializer refactor and decodable serializers.

* Refactor serializer protocols and implementations.

* Finish refactors, update inline docs.

* Remove download serializer from Data, as it’s default now.

* Update whitespace.

* Add failure expectation test.

* Initial versions of Mutex and Protector.

* Rename value to unsafeValue.

* Add UnfairLock.

* Use UnfairLock on supported OSes, hide everything.

* Clean whitespace.

* Cleanup based on comments.

* Remove TODO.

* Refactor ServerTrustPolicy (#2344)

* Drop iOS 8 / macOS 10.10 support and remove all workarounds.

* First draft of response serializer refactor and decodable serializers.

* Refactor serializer protocols and implementations.

* Finish refactors, update inline docs.

* Remove download serializer from Data, as it’s default now.

* Update whitespace.

* Add failure expectation test.

* Initial versions of Mutex and Protector.

* Rename value to unsafeValue.

* Add UnfairLock.

* Use UnfairLock on supported OSes, hide everything.

* Clean whitespace.

* Initial protocol abstraction and multiple evaluation implementation.

* Go back to simpler API, add composite case.

* Refactor away from enum.

* Remove custom tests.

* Move key comparison to AnyHashable.

* Update all documenation and naming.

* Fixup merge.

* Whitespace cleanup.

* Brotli Support (#2442)

* Drop iOS 8 / macOS 10.10 support and remove all workarounds.

* First draft of response serializer refactor and decodable serializers.

* Refactor serializer protocols and implementations.

* Finish refactors, update inline docs.

* Remove download serializer from Data, as it’s default now.

* Update whitespace.

* Add failure expectation test.

* Initial versions of Mutex and Protector.

* Rename value to unsafeValue.

* Add UnfairLock.

* Use UnfairLock on supported OSes, hide everything.

* Clean whitespace.

* Initial protocol abstraction and multiple evaluation implementation.

* Go back to simpler API, add composite case.

* Refactor away from enum.

* Remove custom tests.

* Move key comparison to AnyHashable.

* Update all documenation and naming.

* Add brotli support to default Accept-Encoding header.

* Add tests for encodings, make listing dynamic.

* Fixes after bad merges.

* Added radar to the README for the URLSessionTaskMetrics issue on watchOS. (#2387)

* Update to #2389 (#2443)

* Clarify OS versions affected by download resume bug (#2389)

* Rephrase a bit.

* Set appropriate protection levels on NetworkReachabilityManager members (#2393)

* Update Installation guide to current version (#2395)

* Update for Swift 4.1 / Xcode 9.3. (#2441)

* Update for Swift 4.1 / Xcode 9.3.

* Update .travis.yml.

* Update Ruby/Travis.

* ResultTests: Update and fix typos (#2416)

Using String.count instead of String.characters.count
Fix typos in some test failure messages
Asserting nil and not nil with XCTAssertNil and XCTAssertNotNil

* Include explicit xcpretty to fix Travis.

* Revert to Ruby 2.4.2 due to Travis stupidity.

* Add configurable parameter handling to URLEncoding. (#2431)

* Add configurable array parameter handling to URLEncoding.

* Add configurable boolean parameter handling to URLEncoding.

* Addressing PR feedback for URLEncoding.

* Documentation for BoolEncoding and ArrayEncoding options in URLEncoding.

* Remove pledgie.com (#2446)

* Typo in the example code - one missing ( (#2445)

* Minor doc reorganization. (#2453)

* Move templates into .github folder, in preparation for more.

* Update README to fix links geneated by Jazzy.

* extend userInfo-dict of .DidComplete-Notification to contain responseData of DataTasks (#2427)

* extend userInfo-dict of .DidComplete-Notification to contain responseData of DataTasks

* ResponseBodyInNotification: fix unittests sometimes failing on travis ci

* Update for 4.7 release.

* Add period.

* Decodable response serialization and major refactor (#2265)

* First draft of response serializer refactor and decodable serializers.

* Refactor serializer protocols and implementations.

* Finish refactors, update inline docs.

* Remove download serializer from Data, as it’s default now.

* Update whitespace.

* Add failure expectation test.

* Remove unnecessary assert.

* Refactor serializers to use throws instead of Result.

* Refactor Lock Usage and Introduce Protector (#2290)

* Drop iOS 8 / macOS 10.10 support and remove all workarounds.

* First draft of response serializer refactor and decodable serializers.

* Refactor serializer protocols and implementations.

* Finish refactors, update inline docs.

* Remove download serializer from Data, as it’s default now.

* Update whitespace.

* Add failure expectation test.

* Initial versions of Mutex and Protector.

* Rename value to unsafeValue.

* Add UnfairLock.

* Use UnfairLock on supported OSes, hide everything.

* Clean whitespace.

* Cleanup based on comments.

* Remove TODO.

* Fix for Swift 4.

* Update for compactMap.

* Fixes from merging.

* Update .swift-version.

* Alamofire 5 Core Rewrite! (#2521)

* Works towards integrating rewrite.

* Fix more tests.

* Add EventMonitor, work towards completion.

* Refactor request creation and lifetime methods, implement retry.

* Fix asynchronous state changes and cancellation during async work.

* Update how we turn strings into data.

* Reimplement multipart form data uploads.

* Implement downloads, progress, and enable tests.

* Remove some generics, cleanup whitespace.

* Remove another generic.

* Add URLSession intializer and default configuration.

* Update podspec for new requirements, link CFNetwork.

* Finalize EventMonitor events, other misc. cleanup.

* Refactor response description and timings.

* Format headers more readably.

* Description cleanup.

* Remove Timeline.

* Cleanup Request and add descriptions.

* Start refactoring notifications.

* Refactor notifications, add default event monitor implementation.

* Revert find/replace change to CHANGELOG.

* Remove experimental code.

* Mark some TODO refinements.

* Switch to a single mutable thread-safe state, reenable validation tests.

* Clean up whitespace.

* Mark property public instead of open.

* Add Alamofire root enum as a namespace for global functionality.

* Cleanup Alamofire global functionality, other cleanup.

* Cleanup some TODOs, start adding more docs.

* Cleanup authorization headers.

* Undo some unwanted changes.

* Continue work on documentation.

* Update how data is created from string.

* Refactor file downloads to always move file.

* Update event monitor method for new fileURL.

* Make acceptableContentTypes an autoclosure, as request is async.

* Enable thread sanitizer for iOS and tvOS testing.

* Fix iOS example.

* Fix test whose value varies by Swift version.

* Refactor the rewrite! (#2585)

* Refactor request storage out of SessionDelegate.

* Continue development.

* Rename SessionManager -> Session, update environment.

* Rename global Alamofire enum to AF, to avoid collision.

* Alamofire 5: Server Trust Errors (#2608)

* Work towards server trust enhancements.

* Refactor the rewrite! (#2585)

* Refactor request storage out of SessionDelegate.

* Continue development.

* Rename SessionManager -> Session, update environment.

* Rename global Alamofire enum to AF, to avoid collision.

* Sort project.

* Whitespace cleanup.

* Reimplement module changes from bad rebase.

* Finalize errors, refactor testing.

* Standardize self-signed support, add error descriptions.

* Remove per-target setting.

* Refactor evaluation API, DRY up a little bit.

* Update convienience property.

* Add comment for public `Error` API.

* Async RequestAdapter (#2628)

* Work towards server trust enhancements.

* Refactor the rewrite! (#2585)

* Refactor request storage out of SessionDelegate.

* Continue development.

* Rename SessionManager -> Session, update environment.

* Rename global Alamofire enum to AF, to avoid collision.

* Sort project.

* Whitespace cleanup.

* Reimplement module changes from bad rebase.

* Finalize errors, refactor testing.

* Standardize self-signed support, add error descriptions.

* Remove per-target setting.

* Make RequestAdapter async.

* Squashed commit of the following:

commit 32573d05b9
Author: Jon Shier <jon@jonshier.com>
Date:   Sat Nov 24 21:38:03 2018 -0500

    Revert CocoaPods version.

commit 657b2e5248
Author: Jon Shier <jon@jonshier.com>
Date:   Sat Nov 24 21:34:07 2018 -0500

    Disable swift_versions for now.

commit d0208adc36
Author: Jon Shier <jon@jonshier.com>
Date:   Sat Nov 24 21:22:04 2018 -0500

    Updates for 4.8.0 (#2648)

    * Prepare for 4.8 update.

    * Update Jazzy docs.

    * Update Swift packages.

    * Add os for Travis.

    * Move base Swift vesion to 4.

    * Update Travis to use bundle install, include xcpretty.

    * Fix watchOS targets, tests.

    * Add support for swift_versions.

    * Update CHANGELOG and .ruby-version.

    * Cache bundler and RVM.

    * Remove manual bundle install.

    * Use Ruby 2.4.5.

    * Remove manual RVM cache.

    * Remove now flaky resume data tests.

    * Fix non-deterministic tests.

    * Reenable pod lib lint step.

commit cbe9df67e5
Author: Stéphane Copin <stephane.copin@live.fr>
Date:   Sun Nov 25 01:05:44 2018 +0100

    Makes rethrows all methods that can be marked as rethrows (#2488)

    * Makes rethrows all methods that can be marked as rethrows

    * Undo throwing changes to Response.

    * Remove throwing changes from map.

commit eb7610c264
Author: Giulio <giulio.lombardo@ynap.com>
Date:   Sun Nov 25 00:58:13 2018 +0100

    Improve cURLRepresentation implementation readability (#2625)

    * Improve cURLRepresentation variable readability

    * Further condense header handling.

commit 91538000a7
Author: Wanbok Choi (Wayne) <choi@wanbok.com>
Date:   Sun Nov 25 08:36:02 2018 +0900

    Add re-designed Package.swift manifest for swift 4 (#2621)

commit ed37179f06
Author: jaltreuter <jaltreuter@gmail.com>
Date:   Sat Nov 24 15:35:29 2018 -0800

    Add optional encoding completion callback queue argument for multipart form upload (#2620)

    * Add optional encoding completion callback queue argument for multipart form upload

    * Use queue argument of upload function when calling alternate upload function

commit a5cd9e233f
Author: Jon Shier <jon@jonshier.com>
Date:   Mon Aug 20 01:16:56 2018 -0400

    Fix documentation_url in podspec.

commit 15d33128ba
Author: Aryeh Greenberg <aryeh@aryehgreenberg.com>
Date:   Mon Aug 20 00:57:32 2018 -0400

    Should explicitly specify documentation url (#2569)

    Cocoadocs does not work anymore. To avoid a 404 when a user clicks the documentation url on cocoapods, you need to specify a url.

commit 85badad317
Author: Jon Shier <jon@jonshier.com>
Date:   Tue Jul 31 16:37:42 2018 -0400

    Add back note about using SO in general.

commit fab3c19283
Author: Jon Shier <jon@jonshier.com>
Date:   Mon Jul 30 23:03:43 2018 -0400

    Update the README for the new forum.

commit 61a780f3b5
Author: Jon Shier <jon@jonshier.com>
Date:   Sun Jul 8 22:46:35 2018 -0400

    Update Podspec.

commit 7286193f06
Author: Jon Shier <jon@jonshier.com>
Date:   Sun Jul 8 22:45:12 2018 -0400

    Fix CHANGELOG link.

commit 0e41f50d88
Author: Jon Shier <jon@jonshier.com>
Date:   Sun Jul 8 22:42:50 2018 -0400

    Prepare 4.7.3 Release (#2553)

    * Updates for 4.7.3 release.

    * Update CHANGELOG.

commit b2bafc17d3
Author: Jon Shier <jon@jonshier.com>
Date:   Sun Jul 8 21:31:09 2018 -0400

    Update for Xcode 10 and Swift 4.2 (#2552)

    * Update for Xcode 10 and Swift 4.2.

    * Revert Travis update.

commit c563be562f
Author: Karim <karimhm@users.noreply.github.com>
Date:   Sat Jul 7 23:27:48 2018 +0100

    Use HTTPS links in the documentation (#2550)

    * Use HTTPS links in CHANGELOG

    Update CHANGELOG to use HTTPS links instead of HTTP

    * Use HTTPS links in CONTRIBUTING

    Update CONTRIBUTING to use HTTPS links instead of HTTP

    * Use HTTPS links in README

    Update README to use HTTPS links instead of HTTP if supported

    * Use HTTPS links in Usage.md

    Update Usage.md to use HTTPS links instead of HTTP

commit ff16ce9e87
Author: Xing He <de@sent.as>
Date:   Sun Jun 17 06:06:48 2018 +0800

    Fix code sytle in documentation (#2484)

commit 5773768d8e
Author: Constantin Lungu <nemesis@users.noreply.github.com>
Date:   Sun Jun 17 01:06:14 2018 +0300

    Fix indentation in Usage.md (#2505)

* Squashed commit of the following:

commit 32573d05b9
Author: Jon Shier <jon@jonshier.com>
Date:   Sat Nov 24 21:38:03 2018 -0500

    Revert CocoaPods version.

commit 657b2e5248
Author: Jon Shier <jon@jonshier.com>
Date:   Sat Nov 24 21:34:07 2018 -0500

    Disable swift_versions for now.

commit d0208adc36
Author: Jon Shier <jon@jonshier.com>
Date:   Sat Nov 24 21:22:04 2018 -0500

    Updates for 4.8.0 (#2648)

    * Prepare for 4.8 update.

    * Update Jazzy docs.

    * Update Swift packages.

    * Add os for Travis.

    * Move base Swift vesion to 4.

    * Update Travis to use bundle install, include xcpretty.

    * Fix watchOS targets, tests.

    * Add support for swift_versions.

    * Update CHANGELOG and .ruby-version.

    * Cache bundler and RVM.

    * Remove manual bundle install.

    * Use Ruby 2.4.5.

    * Remove manual RVM cache.

    * Remove now flaky resume data tests.

    * Fix non-deterministic tests.

    * Reenable pod lib lint step.

commit cbe9df67e5
Author: Stéphane Copin <stephane.copin@live.fr>
Date:   Sun Nov 25 01:05:44 2018 +0100

    Makes rethrows all methods that can be marked as rethrows (#2488)

    * Makes rethrows all methods that can be marked as rethrows

    * Undo throwing changes to Response.

    * Remove throwing changes from map.

commit eb7610c264
Author: Giulio <giulio.lombardo@ynap.com>
Date:   Sun Nov 25 00:58:13 2018 +0100

    Improve cURLRepresentation implementation readability (#2625)

    * Improve cURLRepresentation variable readability

    * Further condense header handling.

commit 91538000a7
Author: Wanbok Choi (Wayne) <choi@wanbok.com>
Date:   Sun Nov 25 08:36:02 2018 +0900

    Add re-designed Package.swift manifest for swift 4 (#2621)

commit ed37179f06
Author: jaltreuter <jaltreuter@gmail.com>
Date:   Sat Nov 24 15:35:29 2018 -0800

    Add optional encoding completion callback queue argument for multipart form upload (#2620)

    * Add optional encoding completion callback queue argument for multipart form upload

    * Use queue argument of upload function when calling alternate upload function

commit a5cd9e233f
Author: Jon Shier <jon@jonshier.com>
Date:   Mon Aug 20 01:16:56 2018 -0400

    Fix documentation_url in podspec.

commit 15d33128ba
Author: Aryeh Greenberg <aryeh@aryehgreenberg.com>
Date:   Mon Aug 20 00:57:32 2018 -0400

    Should explicitly specify documentation url (#2569)

    Cocoadocs does not work anymore. To avoid a 404 when a user clicks the documentation url on cocoapods, you need to specify a url.

commit 85badad317
Author: Jon Shier <jon@jonshier.com>
Date:   Tue Jul 31 16:37:42 2018 -0400

    Add back note about using SO in general.

commit fab3c19283
Author: Jon Shier <jon@jonshier.com>
Date:   Mon Jul 30 23:03:43 2018 -0400

    Update the README for the new forum.

commit 61a780f3b5
Author: Jon Shier <jon@jonshier.com>
Date:   Sun Jul 8 22:46:35 2018 -0400

    Update Podspec.

commit 7286193f06
Author: Jon Shier <jon@jonshier.com>
Date:   Sun Jul 8 22:45:12 2018 -0400

    Fix CHANGELOG link.

commit 0e41f50d88
Author: Jon Shier <jon@jonshier.com>
Date:   Sun Jul 8 22:42:50 2018 -0400

    Prepare 4.7.3 Release (#2553)

    * Updates for 4.7.3 release.

    * Update CHANGELOG.

commit b2bafc17d3
Author: Jon Shier <jon@jonshier.com>
Date:   Sun Jul 8 21:31:09 2018 -0400

    Update for Xcode 10 and Swift 4.2 (#2552)

    * Update for Xcode 10 and Swift 4.2.

    * Revert Travis update.

commit c563be562f
Author: Karim <karimhm@users.noreply.github.com>
Date:   Sat Jul 7 23:27:48 2018 +0100

    Use HTTPS links in the documentation (#2550)

    * Use HTTPS links in CHANGELOG

    Update CHANGELOG to use HTTPS links instead of HTTP

    * Use HTTPS links in CONTRIBUTING

    Update CONTRIBUTING to use HTTPS links instead of HTTP

    * Use HTTPS links in README

    Update README to use HTTPS links instead of HTTP if supported

    * Use HTTPS links in Usage.md

    Update Usage.md to use HTTPS links instead of HTTP

commit ff16ce9e87
Author: Xing He <de@sent.as>
Date:   Sun Jun 17 06:06:48 2018 +0800

    Fix code sytle in documentation (#2484)

commit 5773768d8e
Author: Constantin Lungu <nemesis@users.noreply.github.com>
Date:   Sun Jun 17 01:06:14 2018 +0300

    Fix indentation in Usage.md (#2505)

* Real HTTPHeaders type. (#2629)

* Work towards server trust enhancements.

* Refactor the rewrite! (#2585)

* Refactor request storage out of SessionDelegate.

* Continue development.

* Rename SessionManager -> Session, update environment.

* Rename global Alamofire enum to AF, to avoid collision.

* Sort project.

* Whitespace cleanup.

* Reimplement module changes from bad rebase.

* Finalize errors, refactor testing.

* Standardize self-signed support, add error descriptions.

* Remove per-target setting.

* Make RequestAdapter async.

* Add HTTPHeaders type.

* Update for review suggestions.

* Add HTTPHeaders tests, cleanup whitespace.

* Add inline documentation.

* Updates for review.

* Whitespace cleanup.

* Squashed commit of the following:

commit 7a73af6990
Author: Jon Shier <jon@jonshier.com>
Date:   Wed Nov 21 19:39:20 2018 -0500

    Async RequestAdapter (#2628)

    * Work towards server trust enhancements.

    * Refactor the rewrite! (#2585)

    * Refactor request storage out of SessionDelegate.

    * Continue development.

    * Rename SessionManager -> Session, update environment.

    * Rename global Alamofire enum to AF, to avoid collision.

    * Sort project.

    * Whitespace cleanup.

    * Reimplement module changes from bad rebase.

    * Finalize errors, refactor testing.

    * Standardize self-signed support, add error descriptions.

    * Remove per-target setting.

    * Make RequestAdapter async.

commit ccfb96acd4
Author: Jon Shier <jon@jonshier.com>
Date:   Wed Nov 21 19:32:04 2018 -0500

    Alamofire 5: Server Trust Errors (#2608)

    * Work towards server trust enhancements.

    * Refactor the rewrite! (#2585)

    * Refactor request storage out of SessionDelegate.

    * Continue development.

    * Rename SessionManager -> Session, update environment.

    * Rename global Alamofire enum to AF, to avoid collision.

    * Sort project.

    * Whitespace cleanup.

    * Reimplement module changes from bad rebase.

    * Finalize errors, refactor testing.

    * Standardize self-signed support, add error descriptions.

    * Remove per-target setting.

    * Refactor evaluation API, DRY up a little bit.

    * Update convienience property.

    * Add comment for public `Error` API.

* Add add methods to HTTPHeaders, whitespace cleanup.

* Call add instead of update.

* Encodable Request Parameters (#2637)

* Work towards server trust enhancements.

* Refactor the rewrite! (#2585)

* Refactor request storage out of SessionDelegate.

* Continue development.

* Rename SessionManager -> Session, update environment.

* Rename global Alamofire enum to AF, to avoid collision.

* Sort project.

* Whitespace cleanup.

* Reimplement module changes from bad rebase.

* Finalize errors, refactor testing.

* Standardize self-signed support, add error descriptions.

* Remove per-target setting.

* Make RequestAdapter async.

* Add HTTPHeaders type.

* Update for review suggestions.

* Add HTTPHeaders tests, cleanup whitespace.

* Add inline documentation.

* Prototype encodable request support.

* Formalize ParamterEncoder protocol and initial API.

* Whitespace cleanup.

* Add URLEncodedFormEncoder.

* Sort HTTPHeader methods.

* Implement and partially test URLEncodedFormParameterEncoder.

* Remove unnecessary TODOs.

* Correct spelling in the file name.

* Update errors, documentation, and tests.

* Allow customization of space encoding and percent escaped character set.

* Enabled code coverage for iOS, macOS, and tvOS framework schemes (#2645)

* Updates for review.

* Whitespace cleanup.

* Whitespace cleanup.

* Update comments, DRY up single value container.

* Add additional tests.

* Squashed commit of the following:

commit 7a73af6990
Author: Jon Shier <jon@jonshier.com>
Date:   Wed Nov 21 19:39:20 2018 -0500

    Async RequestAdapter (#2628)

    * Work towards server trust enhancements.

    * Refactor the rewrite! (#2585)

    * Refactor request storage out of SessionDelegate.

    * Continue development.

    * Rename SessionManager -> Session, update environment.

    * Rename global Alamofire enum to AF, to avoid collision.

    * Sort project.

    * Whitespace cleanup.

    * Reimplement module changes from bad rebase.

    * Finalize errors, refactor testing.

    * Standardize self-signed support, add error descriptions.

    * Remove per-target setting.

    * Make RequestAdapter async.

commit ccfb96acd4
Author: Jon Shier <jon@jonshier.com>
Date:   Wed Nov 21 19:32:04 2018 -0500

    Alamofire 5: Server Trust Errors (#2608)

    * Work towards server trust enhancements.

    * Refactor the rewrite! (#2585)

    * Refactor request storage out of SessionDelegate.

    * Continue development.

    * Rename SessionManager -> Session, update environment.

    * Rename global Alamofire enum to AF, to avoid collision.

    * Sort project.

    * Whitespace cleanup.

    * Reimplement module changes from bad rebase.

    * Finalize errors, refactor testing.

    * Standardize self-signed support, add error descriptions.

    * Remove per-target setting.

    * Refactor evaluation API, DRY up a little bit.

    * Update convienience property.

    * Add comment for public `Error` API.

* Add add methods to HTTPHeaders, whitespace cleanup.

* Call add instead of update.

* Add additional tests.

* Add more tests, remove dead code.

* More tests for failing optional encodes.

* Customizable Empty Response Handling (#2639)

* Work towards server trust enhancements.

* Refactor the rewrite! (#2585)

* Refactor request storage out of SessionDelegate.

* Continue development.

* Rename SessionManager -> Session, update environment.

* Rename global Alamofire enum to AF, to avoid collision.

* Sort project.

* Whitespace cleanup.

* Reimplement module changes from bad rebase.

* Finalize errors, refactor testing.

* Standardize self-signed support, add error descriptions.

* Remove per-target setting.

* Make RequestAdapter async.

* Add HTTPHeaders type.

* Update for review suggestions.

* Add HTTPHeaders tests, cleanup whitespace.

* Add inline documentation.

* Prototype encodable request support.

* Formalize ParamterEncoder protocol and initial API.

* Whitespace cleanup.

* Add URLEncodedFormEncoder.

* Sort HTTPHeader methods.

* Implement and partially test URLEncodedFormParameterEncoder.

* Remove unnecessary TODOs.

* Correct spelling in the file name.

* Update errors, documentation, and tests.

* Support customizable empty reponse codes and methods.

* Allow customization of space encoding and percent escaped character set.

* Allow customization of space encoding and percent escaped character set.

* Alamofire 5: Empty Response Refactor (2nd Refactor) (#2646)

* Removed AnyResponseSerializer since it is no longer in use

* Moved empty request and response status code logic into protocol extension

* Squashed commit of the following:

commit a3dc191bec
Author: Jon Shier <jon@jonshier.com>
Date:   Sat Nov 24 17:35:17 2018 -0500

    Add additional tests.

commit ae8fde4f89
Merge: 34f3668 ea48749
Author: Jon Shier <jon@jonshier.com>
Date:   Sat Nov 24 16:43:12 2018 -0500

    Merge remote-tracking branch 'origin/feature/httpheaders' into feature/encodable-requests

    # Conflicts:
    #	Source/AFError.swift

commit ea48749660
Author: Jon Shier <jon@jonshier.com>
Date:   Sat Nov 24 16:25:48 2018 -0500

    Call add instead of update.

commit 2d735627ac
Author: Jon Shier <jon@jonshier.com>
Date:   Sat Nov 24 16:24:48 2018 -0500

    Add add methods to HTTPHeaders, whitespace cleanup.

commit f2bf3952e2
Merge: 410a2e3 7a73af6
Author: Jon Shier <jon@jonshier.com>
Date:   Wed Nov 21 19:45:38 2018 -0500

    Merge remote-tracking branch 'origin/alamofire5' into feature/httpheaders

    # Conflicts:
    #	Tests/SessionManagerTests.swift

commit 410a2e3d9e
Author: Jon Shier <jon@jonshier.com>
Date:   Wed Nov 21 19:44:15 2018 -0500

    Squashed commit of the following:

    commit 7a73af6990
    Author: Jon Shier <jon@jonshier.com>
    Date:   Wed Nov 21 19:39:20 2018 -0500

        Async RequestAdapter (#2628)

        * Work towards server trust enhancements.

        * Refactor the rewrite! (#2585)

        * Refactor request storage out of SessionDelegate.

        * Continue development.

        * Rename SessionManager -> Session, update environment.

        * Rename global Alamofire enum to AF, to avoid collision.

        * Sort project.

        * Whitespace cleanup.

        * Reimplement module changes from bad rebase.

        * Finalize errors, refactor testing.

        * Standardize self-signed support, add error descriptions.

        * Remove per-target setting.

        * Make RequestAdapter async.

    commit ccfb96acd4
    Author: Jon Shier <jon@jonshier.com>
    Date:   Wed Nov 21 19:32:04 2018 -0500

        Alamofire 5: Server Trust Errors (#2608)

        * Work towards server trust enhancements.

        * Refactor the rewrite! (#2585)

        * Refactor request storage out of SessionDelegate.

        * Continue development.

        * Rename SessionManager -> Session, update environment.

        * Rename global Alamofire enum to AF, to avoid collision.

        * Sort project.

        * Whitespace cleanup.

        * Reimplement module changes from bad rebase.

        * Finalize errors, refactor testing.

        * Standardize self-signed support, add error descriptions.

        * Remove per-target setting.

        * Refactor evaluation API, DRY up a little bit.

        * Update convienience property.

        * Add comment for public `Error` API.

commit 7a73af6990
Author: Jon Shier <jon@jonshier.com>
Date:   Wed Nov 21 19:39:20 2018 -0500

    Async RequestAdapter (#2628)

    * Work towards server trust enhancements.

    * Refactor the rewrite! (#2585)

    * Refactor request storage out of SessionDelegate.

    * Continue development.

    * Rename SessionManager -> Session, update environment.

    * Rename global Alamofire enum to AF, to avoid collision.

    * Sort project.

    * Whitespace cleanup.

    * Reimplement module changes from bad rebase.

    * Finalize errors, refactor testing.

    * Standardize self-signed support, add error descriptions.

    * Remove per-target setting.

    * Make RequestAdapter async.

commit ccfb96acd4
Author: Jon Shier <jon@jonshier.com>
Date:   Wed Nov 21 19:32:04 2018 -0500

    Alamofire 5: Server Trust Errors (#2608)

    * Work towards server trust enhancements.

    * Refactor the rewrite! (#2585)

    * Refactor request storage out of SessionDelegate.

    * Continue development.

    * Rename SessionManager -> Session, update environment.

    * Rename global Alamofire enum to AF, to avoid collision.

    * Sort project.

    * Whitespace cleanup.

    * Reimplement module changes from bad rebase.

    * Finalize errors, refactor testing.

    * Standardize self-signed support, add error descriptions.

    * Remove per-target setting.

    * Refactor evaluation API, DRY up a little bit.

    * Update convienience property.

    * Add comment for public `Error` API.

commit 34f3668794
Author: Jon Shier <jon@jonshier.com>
Date:   Wed Nov 21 19:26:32 2018 -0500

    Add additional tests.

commit ba2e15cba6
Author: Jon Shier <jon@jonshier.com>
Date:   Wed Nov 21 18:56:14 2018 -0500

    Update comments, DRY up single value container.

commit 38d764bf69
Author: Jon Shier <jon@jonshier.com>
Date:   Wed Nov 21 18:36:01 2018 -0500

    Whitespace cleanup.

commit b0cf0c529c
Merge: 22ccd91 4adae8c
Author: Jon Shier <jon@jonshier.com>
Date:   Wed Nov 21 18:35:16 2018 -0500

    Merge remote-tracking branch 'origin/feature/httpheaders' into feature/encodable-requests

commit 4adae8c7b2
Author: Jon Shier <jon@jonshier.com>
Date:   Wed Nov 21 18:30:59 2018 -0500

    Whitespace cleanup.

commit aaa3e6a10d
Author: Jon Shier <jon@jonshier.com>
Date:   Wed Nov 21 18:29:30 2018 -0500

    Updates for review.

commit 22ccd91252
Author: Christian Noon <christian.noon@gmail.com>
Date:   Wed Nov 21 14:20:08 2018 -0800

    Enabled code coverage for iOS, macOS, and tvOS framework schemes (#2645)

* Update tests and clean up default value handling.

* Fix bad merge.

* Fix misspelling.

* Refactor Notifications (#2654)

* Refactor notifications.

* Add Foundation import for SPM.

* Alamofire 5: Project Cleanup and Unification (#2655)

* Whitespace cleanup.

* Reupdate Example app.

* Update project to Xcode 10 format, move settings into base if possible.

* Adopt recommended project settings.

* Attempt to make tests more reliable.

* Another attempt at test reliability.

* Another attempt at test stabalization.

* Remove debug build to speed up testing.

* Ensure Swift 4.2 for local pod builds.

* Fix #2658: default empty response values non-public (#2659)

* Alamofire 5: Abstract decoders for decodable response serialization (#2657)

* Cleanup previous changes.

* Add DataDecoder, refactor DecodableResponseSerializer.

* Add top level doc comment for DataDecoder.

* Remove unnecessary access modifier.

* Prepare for Alamofire 5.0.0.beta.1 (#2660)

* Start CHANGELOG.

* Finalize README.

* Update Jazzy docs.

* Update README.

* Update for review.

* Fix test availability.
2018-12-06 20:45:00 -05:00
Jon Shier 1032399187
Update to 4.7.1. (#2476)
* Update copyright to 2018.

* Version to 4.7.1, update CHANGELOG.

* More 2018 updates.

* Update Jazzy docs.
2018-03-31 19:10:59 -04:00
Issarapong Poesua 7752167a26 Correct Dictionary Colon Placement (#2329) 2017-10-29 21:43:23 -04:00
Christian Noon c20e17e38e Fixed the copyright in all the source files. 2017-09-06 10:30:18 -07:00
Jon Shier 1dc3992a38 Updated project, source and documentation for Xcode 8 beta 6.
Original Commit Log:

* Get build working on beta 6.
* Fix tests.
* Remove team.
* Clean up whitespace.
* Mark as private instead of fileprivate.
* Get rid of intermediate value.
* Open up the classes.
* Remove extraneous set of parens.
* Refactor some casts, remove most uses of AnyObject, properly encode Bool.
* Add bytesReceived variable.
* Make casts optional.
* Cleanup whitespace.
* Replaced optional CFString cast with non-optional variant.
* Removed unnecessary cast for parameters in ResponseTests.
2016-08-16 23:30:43 -07:00
Christian Noon d9fb21e5c8 Refactored all Core APIs and documentation to match Swift 3 API design guidelines. 2016-08-07 16:48:29 -07:00
Jon Shier a113e4352e Update for Xcode 8 beta 4. 2016-08-01 20:57:23 -04:00
Jon Shier f55bdf7a96 Updates for beta 3. Convert iOS Example to Swift 3 explicitly. 2016-07-18 22:43:22 -04:00
Christian Noon 2501fc92ea Updated copyright headers to use two spaces and padding above and below. 2016-05-08 12:22:29 -07:00
Christian Noon c51d32c35d Updated dash in copyright headers to use U+002D dash instead of U+2013. 2016-05-08 12:16:26 -07:00
Christian Noon abbf1c3960 Reorganized the example app files into Source and Resources folders. 2016-02-07 13:58:56 -08:00