Commit Graph
5 Commits
Author SHA1 Message Date
David Evans 94e3fb42f5 Update dependencies (#493)
* Update packages

* Run swift format

* Update
2021-03-23 17:21:41 +00:00
David Evans e82dcbfe61 Vendor base64 (#443)
* Vendor base64

* Soundness

* Fix notices file

* Fix compile warning

* Soundness

* Exclude headers from chromium
2021-02-12 12:08:41 +00:00
David EvansandGeorge Barnett 475c53f168 Documentation PR part 1 (#373)
* Document AppendData

* Document AppendMessage

* Document AppendOptions

* Document BodyStructure.Disposition

* Document BodyStructure.DispositionAndLanguage

* Document BodyStructure.Encoding

* Document BodyStructure helper typoes/conformances

* Document BodyStructure.Singlepart

* Document BodyStructure.Singlepart.Kind

* Document BodyStructure.Singlepart.Message

* Document BodyStructure.Singlepart.Text

* Document BodyStructure.Singlepart.Extension

* Document Command

* Document TaggedCommand

* Make base64 non-public

* Fix sanity

* Remove doc tracking

* Apply suggestions from code review

Co-authored-by: George Barnett <gbarnett@apple.com>

Co-authored-by: George Barnett <gbarnett@apple.com>
2020-12-03 14:02:22 +00:00
David Evans bf2067efd3 Implement IMAP URL (#326)
* Define UIDValidity

* IUID and PartialRange

* PartialRange parsing

* Implement IPartial types

* Parse UChar

* Support parsing various character types

* Define EncodedSection

* Define EncodedUser

* Define ISection

* Implement IMailboxReference

* Define Expire

* Define Access

* Define IURLAuthRump

* Define EncodedURLAuth

* Define IAuth

* Define IUserInfo

* Define IMessageList

* Define IMessagePart

* Define IServer

* Define UAuthMechanism

* Define IUAVerifier

* Define IUrlAuth

* Define AuthImapUrl

* Define Auth types and ICommand

* Define IAbsolutePath

* Define IPathQuery

* Define ImapUrl

* Define INetworkPath

* Define Imessage or partial

* Define IRelativePath

* Define ImapUrlRel

* Fix sanity

* PR review comments

* More PR review comments

* PR comments

* Final comments

* Fix sanity

* Throw is UID is 0

* Pr reviews

* Fix sanity

* Add month/day validation

* Fix preconditions
2020-10-07 21:11:56 +01:00
David Evans b5b9d3c910 Support UTF7-IMAP (#282)
* Add encoding with tests

* Fix encoding

* Test decodes

* Finish decoding

* Comments

* Fix sanity

* Cory PR comments

* Optimise adding padding

* Optimise writing string

* Docs

* Fix sanity

* Rename UTF7 and reserve string capacity

* Vendor Base64

* Fix sanity

* More tests and fix a few things

* Decoding error checks

* Fix sanity

* Add a notice file

* Add validation function

* PR comments

* Add validation tests
2020-08-19 16:50:23 +01:00