Commit Graph
15 Commits
Author SHA1 Message Date
David Evans 919d6d0be4 Use KeyValues<String, String?> for ID data (#521) 2021-04-06 12:55:49 +01:00
David Evans ac16a9e9b5 Rename to IMAPCalendarDay (#524) 2021-04-01 13:18:35 +01:00
David Evans dfedd476e8 Default human readable to false (#514) 2021-03-31 14:37:56 +01:00
David Evans 94e3fb42f5 Update dependencies (#493)
* Update packages

* Run swift format

* Update
2021-03-23 17:21:41 +00:00
David Evans 80a2910e63 Implement table parser with commands example (#437)
* Performance structure

* More tests

* Add more tests

* Remove dups

* More performance test cases

* Parse it all

* Fix sanity

* Use NIO perf tooling

* Change perf target name

* New table parser

* Fix quota parsers

* Fix ID parsers

* Human readable

* Cleanup

* Soundness

* Fix tests

* Minor refactor to use suffixes

* Tests

* Make parsing table non-global

* Rebase

* Soundness

* Tests

* More tests

* Soundness

* Fix compile

* Condense

* Maybe fix
2021-03-22 09:25:17 +00:00
David Evans a719f935b6 Use AuthenticationKind in Command.authenticate (#491)
* Make authentication kind it's own thing

* Make auth kind var non-public

* Fix compile

* Rebase
2021-03-18 11:45:35 +00:00
David Evans 81c8e9158d Underscore EncodeBuffer (#479)
* Underscore

* Underscore everything

* Add soundness self insert
2021-03-18 11:25:05 +00:00
David Evans 3bdebc12bd Address API review comments part 1 (#474)
* Rename Date to IMAPDate

* Rename all esearch types to extended search

* Rename Address to EmailAddress

* Rename genUrlAuth

* Rename Auth to Authorization

* Rename IServer

* Rename IUserInfo

* Soundness
2021-03-11 11:31:52 +00:00
David Evans 8feaf32520 Remove string initialisers from MailboxName (#462)
* Remove string initialisers

* Add comment

* Refactor assertion

* Readonly

* Private modified utf7

* Fix tests

* Soundness

* PR comments

* Remove isBufferValid

* PR comments

* Soundness
2021-03-05 12:16:38 +00:00
David Evans 6191061fb4 Create generic type to wrap a set or IMAP "last result" (#463)
* Define last command set type

* Replace SequenceSet

* Docs

* Soundness

* Update dates

* Rename last command set

* Cleanup

* Update docs
2021-03-04 14:45:12 +00:00
David EvansandJohannes Weiss 668ba3ac17 Refactor initial client response (#433)
* Refactor initial client response

* Fix soundness

* Bike shed

* Update Sources/NIOIMAPCore/Grammar/InitialClientResponse.swift

Co-authored-by: Johannes Weiss <johannesweiss@apple.com>

Co-authored-by: Johannes Weiss <johannesweiss@apple.com>
2021-02-11 11:52:49 +00:00
David Evans 33d6060046 Final key value refactor (#432)
* Remove a load of parameter types

* Remove NameSpaceResponseExtension

* Remove SearchModificationSequenceExtension

* Remove SearchReturnDataExtension

* Remove SearchReturnOptionExtension

* Soundness
2021-02-05 12:09:00 +00:00
David Evans df5074856c Remove all minor Key/Value types (#430)
* Define basic KeyValue type

* Remove TaggedExtension

* Replace Parameter

* Remove ParameterPair

* Remove EntryValue

* Remove OptionExtension

* Soudness

* Docs

* Inline

* Soundness

* PR comments
2021-02-04 11:03:41 +00:00
David Evans 60f42bb642 Fix compile (perf test error) (#428)
* Fix

* Fix sanity
2021-02-02 10:52:58 +00:00
David Evans 1fe61d3b28 Performance testing (#415)
* Performance structure

* More tests

* Add more tests

* Remove dups

* More performance test cases

* Parse it all

* Fix sanity

* Use NIO perf tooling

* Change perf target name

* Add analyse perf script

* Fix CI

* Fix on linux

* Fix license headers

* Rename

* Lowercase tests

* Remove brackets

* PR review

* Fix sanity

* Remove hasNextChunk

* Fix sanity
2021-02-01 13:32:36 +00:00