11 Commits
Author SHA1 Message Date
Daniel Eggert 34883bcba6 Update style in documentation (#822) 2026-04-28 18:06:43 +02:00
Daniel Eggert 871d0122c9 Better docc comments (#815) 2026-04-16 09:20:29 -07:00
Arnt Gulbrandsen 0d286ae155 Add support for RFC 9755 (#805) 2025-11-17 22:29:15 +01:00
Daniel Eggert 1b27cae1b4 Fix client handler encoding options (#786) 2025-04-11 17:33:25 +02:00
Matt Diephouse bffac522bd Make types Sendable (#767) 2024-09-02 13:56:13 +02:00
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 EvansandJohannes 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