Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mmime: don't generate empty filenames | Leah Neukirchen | 2017-06-19 | 1 | -0/+5 |
| | |||||
* | mmime: allow setting content-disposition and overriding filename | Leah Neukirchen | 2017-06-19 | 1 | -4/+18 |
| | |||||
* | mmime: gen_attachment: try to generate filenames as atoms, use qp for double ↵ | Leah Neukirchen | 2017-06-12 | 1 | -5/+10 |
| | | | | quotes | ||||
* | mmime: add mblaze/raw for plain text inclusion | Leah Neukirchen | 2017-05-26 | 1 | -0/+4 |
| | |||||
* | mmime: add -t to override toplevel content-type | Leah Neukirchen | 2017-05-26 | 1 | -3/+6 |
| | |||||
* | mmime: print_header: only force qp-encoding for overlong lines | Leah Neukirchen | 2017-04-30 | 1 | -1/+1 |
| | | | | | | Lines SHOULD not be longer than 78 chars, and we try to fold like that, but we only enforce qp-encoding for 7-bit safe lines if they would be longer than 998, which they MUST not be. | ||||
* | mmime: check: allow up to 998 chars in header lines | Leah Neukirchen | 2017-04-30 | 1 | -4/+24 |
| | |||||
* | mmime: use RFC2231 for Content-Disposition when needed | Leah Neukirchen | 2017-04-06 | 1 | -3/+41 |
| | |||||
* | mmime: gen_file: append newline to error message | Leah Neukirchen | 2017-03-30 | 1 | -1/+1 |
| | |||||
* | mmime: print_header: refactor | Leah Neukirchen | 2017-03-28 | 1 | -42/+39 |
| | | | | | | | | Simplifies the code considerably. QP-header-wrapping now happens inside gen_qp. We wrap the line in advance when this will save QP-encoding, or splitting a QP-word into two. Fixes #20. | ||||
* | clean up whitespace | Leah Neukirchen | 2017-01-26 | 1 | -2/+2 |
| | |||||
* | mmime: don't truncate a #type line when it has invalid syntax | Christian Neukirchen | 2016-11-08 | 1 | -0/+2 |
| | |||||
* | mmime: ensure a new token in qp header generation | Christian Neukirchen | 2016-11-08 | 1 | -2/+2 |
| | |||||
* | mman: gen_file: slurp the file instead of mmap | Christian Neukirchen | 2016-10-05 | 1 | -18/+14 |
| | |||||
* | mmime: gen_build: don't crash on #-line without space | Christian Neukirchen | 2016-10-05 | 1 | -8/+10 |
| | |||||
* | use getdelim instead of getline | Christian Neukirchen | 2016-09-05 | 1 | -1/+1 |
| | | | | Avoids weird macros to build on FreeBSD. | ||||
* | mmime: generate LF before MIME boundaries | Christian Neukirchen | 2016-08-06 | 1 | -4/+4 |
| | |||||
* | mmime: line length must be <=78 | Christian Neukirchen | 2016-08-02 | 1 | -2/+2 |
| | |||||
* | mmime: add -c to check if MIME-encoding is needed | Christian Neukirchen | 2016-08-02 | 1 | -3/+40 |
| | |||||
* | mmime: add -r for plain text | Christian Neukirchen | 2016-08-02 | 1 | -9/+30 |
| | |||||
* | mmime: simplify | Christian Neukirchen | 2016-08-02 | 1 | -26/+0 |
| | |||||
* | mmime: fix prevq logic | Christian Neukirchen | 2016-08-01 | 1 | -1/+2 |
| | |||||
* | mmime: only qp after newline when actually needed | Christian Neukirchen | 2016-08-01 | 1 | -6/+12 |
| | |||||
* | mmime: delete dead store | Christian Neukirchen | 2016-07-26 | 1 | -1/+0 |
| | | | | Found by clang-analyzer. | ||||
* | mmime: encode headers when neccessary | Christian Neukirchen | 2016-07-25 | 1 | -9/+98 |
| | | | | This is still a bit clumsy, but I'm not sure how to make it better. | ||||
* | add mmime | Christian Neukirchen | 2016-07-20 | 1 | -0/+261 |