Commit Graph
8 Commits
Author SHA1 Message Date
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