David Evans
2c646f325b
Nest singlepart and multipart extension types ( #121 )
...
* Nest singlepart extension
* Next multipart extension
* Fix formatting
* Make MD5 a let
* Rebase
2020-05-11 15:10:07 +01:00
David Evans
28225ece7d
Remove NIOIMAP namespace
2020-05-09 14:46:42 +01:00
David Evans
787e2c476a
Refactor FieldEncoding to be API safe ( #105 )
...
* Rename cases
* Refactor encoding
* Fix formatting
* Rename to `Encoding`
* Fix sanity
2020-05-04 13:37:30 +01:00
David Evans
38b74f3e99
Rename SinglepartType to Singlepart.Kind ( #110 )
...
* Cleanup singlepart types into an extension
* Rename to Singlepart.Kind
* Fix formatting
2020-05-04 12:33:59 +01:00
David Evans
b856e999c0
Make Flag API-stable backed by an enum ( #99 )
...
* Make Flag API-stable backed by an enum
* Reformat
* Detect standard extensions
* Test extension initialiser
* Add documentation to flag extension builder
* Fix formatting
* Precondition \\
* Actually fix tests this time
2020-04-29 14:36:59 +01:00
David Evans
b83f100710
Flatten message attribute types into single enum ( #96 )
...
* Flateen message attribute types
* Cleanup enum names
* Flatten RFC822 types
* Reformat
* Fix parser
* Fix compile
2020-04-29 11:53:31 +01:00
David Evans
5898c65b32
Back Mailbox by ByteBuffer ( #97 )
...
* Rename to mailbox name
* Underlying bytebuffer storage
* Fix compile
* Better comparison
2020-04-29 11:32:22 +01:00
David Evans
3d64681aab
Rename body types to be clearer and improve type nesting ( #101 )
...
* Rename Body to BodyStructure
* Rename subtypes
* Rename singlepart subtypes
* Rename test classes
* Fix format
2020-04-29 11:32:06 +01:00
David Evans
0ed1413b5c
Uncomment round trip tests ( #103 )
...
* Uncomment some roundtrip tests
* Fix all tests
* Fix tests
* Fix formatting
2020-04-29 11:31:27 +01:00
David Evans
3c61708079
Refactor Response and add explicit streaming support for RFC822.Text ( #88 )
...
* Begin refactor response stream
* Add support for Binary
* Rename bodySectionText to show streaming
* Implement string streaming for body, binary, rfc822
* Fix all the things
* Document streaming case
* Delete commented code
* Remove dead code
* Fix space
* Fix formatting
* Remove commented tests
* Documentation
* Rename size to byteCount
* Fix test compile
2020-04-27 11:06:14 +01:00
David Evans
cbaa5028bb
Remove XCommand ( #93 )
...
* Remove XCommand
* Fix formatting
2020-04-24 12:37:01 +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
0f5de678e5
Rename top-level command types and flatten UID commands into Command ( #90 )
...
* Flatten UID commands
* Rename command types
2020-04-23 16:22:56 +01:00
David Evans
1ed088eb9b
Pass along IMAP4REV1 and IMAP4 ( #79 )
...
* Pass along IMAP4REV1 and IMAP4
* Fix test
2020-04-22 19:34:35 +01:00
David Evans
a8583b7100
Refactor Flag.Keyword ( #72 )
...
* Refactor flag keyword
* Add equatable test to test cases comparison
* Fix tests
* Refactor flag keyword
* Refactor
* Convert to assert
* Remove other
* Remove nillable initialiser
* Remove nilable initialiser
2020-04-22 18:30:09 +01:00
David Evans
f81399d149
Refactor capability types into struct, and list common types ( #66 )
...
* Refactor capability types
* Add test for equatability
* Fix tests
* Refactor
* Refactor
* Add tests
2020-04-22 16:14:19 +01:00
David Evans
03c24eabb2
Fix Glibc compile error and other import errors. ( #73 )
...
* Fix
* Add 5.3 validation
* Delete new docker image
* Fix compile
2020-04-22 11:31:01 +01:00
David Evans
19ecdb9576
Seperate module ( #61 )
2020-04-20 12:41:39 +01:00