10 Commits
Author SHA1 Message Date
Daniel Eggert b838dc2206 Pass response parser options into IMAPClientHandler.init (#789) 2025-05-06 15:30:31 +02:00
David Evans a33ea576e3 New API for IDLE (#508)
* Rename to ServerResponse

* Docs

* Rename to IDLE started

* Fix compile

* Fix refactor

* Remove server response

* Soundness

* Remove underscore

* Remove associated data

* Soundness

* Write a continuation

* Soundness
2021-03-26 12:31:46 +00:00
Daniel Eggert 00a552bf75 Rename → Continuation Request (#364) 2020-11-16 15:41:05 +00:00
Daniel Eggert 15f642777a Remove expectGreeting. Don’t handle Greeting requirement in parser. (#362)
* Remove “expectGreeting”.

* Simplify nested types.
2020-11-12 23:47:58 +00:00
Johannes WeissandDavid Evans 525d58d1fa non-happy path tests: over/underflows (#220)
* Support encoding append commands

* Yay it works

* Cleanup 1

* Cleanup 2

* Fix sanity

* Fix command decoder test

* Fix parsing partial commands sync literals

* Fix parser stress tests

* Fix tests

* Remove unused code

* Code refactor and cleanup

* Fix sanity

Co-authored-by: David Evans <d.evans@apple.com>
2020-06-26 14:47:40 +01:00
David Evans a06b3898aa Hide incomplete message errors (#135)
* Hide incomplete message errors

* Fix sanity

* Throw error

* Fix rebase

* Refactor

* Log not throw

* Improve roundtrip handler

* Fix sanity

* Update comments

* Remove error case

* Logging

* PR review

* Simplify loop

* Use NIOSinglestep...

* Fix sanity

* Even more efficiency

* Fix sanity
2020-05-28 13:49:11 +01:00
Johannes Weiss 626de3daf0 command encoder (#102) 2020-05-18 15:49:40 +01:00
David Evans 28225ece7d Remove NIOIMAP namespace 2020-05-09 14:46:42 +01:00
tomer doron 53efab1d95 standardize format (#80)
motivation: use standard format across all of our projects

changes:
* add .swiftformat settings based on what we use in other projects
* validate format in the sanity script
* format
2020-04-24 12:05:17 +01:00
David Evans 19ecdb9576 Seperate module (#61) 2020-04-20 12:41:39 +01:00