David Evans
8565ac900e
Rename Command types to better represent what they are ( #557 )
...
Resolves #522
Some command names were misleading, they should be better now. Also removed a redundant initialiser.
PartialCommandStream -> SynchronizedCommand
CommandStream -> CommandStreamPart
2021-05-21 16:39:22 +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
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 Weiss and David 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
a2ef4e92b1
Update proxy to use continuations ( #162 )
2020-05-27 13:31:30 +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
818eda9e7c
Fix compile ( #67 )
2020-04-20 15:40:00 +01:00
David Evans
c453000850
Initial project commit
2020-03-02 17:41:58 +00:00