Commit Graph
12 Commits
Author SHA1 Message Date
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 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
David Evans 07bbf7bee7 Soundness (#416)
* Soundness
2021-01-22 09:05:42 -08:00
David EvansandGeorge Barnett 78b55555bf Add some documentation (#341)
* Fix documentation

* Remove link to NIO http 2

* Document TooDeep error

* Remove ParsingError

* Make GrammarParser non-public

* Better UTF7 errors

* Document Access

* Document CommandStream types

* Partially document `Command`

* Document date

* Document Access

* Update Sources/NIOIMAPCore/Grammar/Date/Date.swift

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

* Update Sources/NIOIMAPCore/Grammar/Access.swift

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

* Update Sources/NIOIMAPCore/Grammar/Command/CommandStream.swift

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

* Fix typo

Co-authored-by: George Barnett <gbarnett@apple.com>
2020-10-26 09:54:46 +00: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
David Evans bc1e84b3b8 Update CI swift-nio-email to swift-nio-imap (#243)
* Update swift-nio-email to swift-nio-imap

* Change package name
2020-07-13 18:31:43 +01:00
Johannes Weiss a11274457b don't make the user install SwiftFormat (#151)
Motivation:

Requiring the user to install SwiftFormat is very hostile. First, we
shouldn't require them to install random tools. Second, it'll only work
if the user and the CI use the _exact same_ version of SwiftFormat.

Modification:

- Use SwiftPM to get SwiftFormat

Result:

scripts/sanity does more actual sanity.
2020-05-18 15:13:13 +01:00
David Evans 0681236a2f Re-add format check (#94) 2020-04-24 13:57:00 +01:00
tomer doronandDavid Evans 84b3f68200 improve headers check (#81)
motivation: broken output

changes:
* fix output to properly pring langauge name
* do not ignore dev script

Co-authored-by: David Evans <d.evans@apple.com>
2020-04-24 12:10:05 +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
tomer doron d4e83ca9f7 fix ci setup (#30)
motivation: set up ci

changes:
* use release version of 5.2
* thread sanitizer does not work on 18.04 with CentosOS kernel
* swiftformat version
* bad headers
2020-04-01 09:56:52 +01:00
David EvansandDavid Evans e7e13e2640 Setup CI (#14)
Co-authored-by: David Evans <d.evans@apple.com>
2020-03-26 14:25:39 +00:00