David Evans
904e615a8d
Make CommandEncodeBuffer hashable ( #611 )
...
We need CommandEncodeBuffer to be Equatable, but might as well make it Hashable. This required adding a few Hashable conformances downstream, and changing promoting existing Equatable conformance to Hashable.
2021-08-17 11:28:01 +01:00
David Evans and Johannes Weiss
428b7b3488
Enable modifying IMAPClientHandler capabilities ( #490 )
...
* Add capabilities setting
* Tests
* Update Sources/NIOIMAP/Coders/IMAPClientHandler.swift
Co-authored-by: Johannes Weiss <johannesweiss@apple.com >
* Fix non-sync literal test
* Use assert methods
* Fix test
* Sanity
* Enable changing capabilities
* Refactor to inout
* Switch to using IDs
* Default closure
* Soundness
* Fix rebase
* Re-add test
* Cleanup
* Soundness
Co-authored-by: Johannes Weiss <johannesweiss@apple.com >
2021-04-06 15:04:14 +01:00
David Evans
135f473bf6
Documentation PR part 5 ( #383 )
...
* Document UseAttribute
* Document URLRumpMechanism
* Document URLFetchData
* Document UAuthMechanism
* Document StoreModifier
* Document SortData
* Document SequenceMatchData
* Document QResyncParameter
* Document SelectParameter
* Document SectionSpecifier
* Document SectionSpecifier.Part
* Document SectionSpecifier.Kind
* Document ResponseEncodingOptions
* Document ResponseEncodeBuffer
* Document EncodeBuffer
* Document EncodeBuffer.Chunk
* Document EncodeBuffer more.
* Document CommandEncodeBuffer
* Document ParserError
* Document ResponseParser
* Document CommandParser
* Document SynchronisingLiteralParser
* Remove public where it isn't needed
* Document write CommandStream
* Document write TaggedCommand
* Remove public from write functions
* Document FetchAttribute
* Document top-level Capability
* Documents Capability subtypes
* Document FullDateTime
* Document FullDate
* Document FullTime
* Document ContinuationRequest
* Document ListSelectOptions
* Document ResponseOrContinuationRequest
* Document Response
* Document FetchResponse
* Document StreamingKind
* Document ResponseText
* Document ResponseTextCode
* Document TaggedResponse
* Document TaggedResponseState
* Remove docs
* PR review
* Fix sanity
* Document FullDate
2020-12-10 12:37:05 +00:00
David Evans
f5dd896f7f
Add support for LITERAL- ( #276 )
...
* Support LITERAL-
* Tests for LITERAL-
* Fix sanity
2020-07-15 12:35:12 +01:00
David Evans
a5c31cf51f
Refactor capability literal+ API ( #247 )
...
* Refactor literal+
* Fix tests
* Add documentation
* Fix doc nit
* Fix sanity
* Fix tests
2020-07-06 19:11:11 +01:00
Daniel Eggert
3c20af6f53
Use encoding options specific to the transport direction. ( #240 )
...
* Use encoding options specific to the transport direction.
* Add description to precondition failure.
* Make properties on EncodingOptions public.
* Rename files.
* Change APPEND to use CommandEncodingOptions.
2020-07-06 18:37:16 +01:00