summary refs log tree commit diff
path: root/parse.c (follow)
Commit message (Collapse)AuthorAge
* Handle trailing comments in message IDsJune McEnroe2021-04-22
| | | | Apparently some clients put a comment after the <messageID> (like this).
* Parse dates in a hopefully more portable fashionJune 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 noticesJune McEnroe2020-11-28
|
* Add additional permission for linking with LibreSSLJune McEnroe2020-06-08
| | | | https://www.gnu.org/licenses/gpl-faq.en.html#GPLIncompatibleLibs
* Rename part->id to part->contentIDJune McEnroe2020-04-26
| | | | Disambiguate with messageID.
* Render id, description and language as <pre> attributesJune McEnroe2020-04-22
|
* Skip leading whitespace in message IDsJune McEnroe2020-04-19
|
* Add bodyPartType helperJune McEnroe2020-04-14
|
* Add decoding stubsJune McEnroe2020-04-14
|
* Preserve original Date header in envelopeJune McEnroe2020-04-13
|
* Use UTC date everywhereJune 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 dateJune McEnroe2020-04-12
|
* Fetch and parse BODYSTRUCTUREJune McEnroe2020-04-12
|
* Move parseEnvelope to parse.cJune McEnroe2020-04-10