about summary refs log tree commit diff
path: root/parse.c (follow)
Commit message (Collapse)AuthorAge
* Handle trailing comments in message IDsC. McEnroe2021-04-22
| | | | Apparently some clients put a comment after the <messageID> (like this).
* Parse dates in a hopefully more portable fashionC. McEnroe2021-04-11
| | | | | | | | | On GNU, struct tm doesn't have tm_gmtoff and %z or %Z in strptime do nothing. mktime(3) interprets the struct as local time, regardless of any tm_gmtoff, except on FreeBSD. Parse the zone portion of the date manually, subtract it from the struct tm fields, and call timegm(3). While here, correctly parse the optional seconds portion of the time.
* Say OpenSSL in additional permission noticesC. McEnroe2020-11-28
* Add additional permission for linking with LibreSSLC. McEnroe2020-06-08
| | | | https://www.gnu.org/licenses/gpl-faq.en.html#GPLIncompatibleLibs
* Rename part->id to part->contentIDC. McEnroe2020-04-26
| | | | Disambiguate with messageID.
* Render id, description and language as <pre> attributesC. McEnroe2020-04-22
* Skip leading whitespace in message IDsC. McEnroe2020-04-19
* Add bodyPartType helperC. McEnroe2020-04-14
* Add decoding stubsC. McEnroe2020-04-14
* Preserve original Date header in envelopeC. McEnroe2020-04-13
* Use UTC date everywhereC. McEnroe2020-04-13
| | | | | I thought I could preserve the original time zone but it turns out that libc is just too shit to do that.
* Allow missing DOW and obsolete zone in dateC. McEnroe2020-04-12
* Fetch and parse BODYSTRUCTUREC. McEnroe2020-04-12
* Move parseEnvelope to parse.cC. McEnroe2020-04-10