about summary refs log tree commit diff
path: root/mmime.c
Commit message (Collapse)AuthorAgeFilesLines
* mmime: gen_file: append newline to error messageLeah Neukirchen2017-03-301-1/+1
|
* mmime: print_header: refactorLeah Neukirchen2017-03-281-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 whitespaceLeah Neukirchen2017-01-261-2/+2
|
* mmime: don't truncate a #type line when it has invalid syntaxChristian Neukirchen2016-11-081-0/+2
|
* mmime: ensure a new token in qp header generationChristian Neukirchen2016-11-081-2/+2
|
* mman: gen_file: slurp the file instead of mmapChristian Neukirchen2016-10-051-18/+14
|
* mmime: gen_build: don't crash on #-line without spaceChristian Neukirchen2016-10-051-8/+10
|
* use getdelim instead of getlineChristian Neukirchen2016-09-051-1/+1
| | | | Avoids weird macros to build on FreeBSD.
* mmime: generate LF before MIME boundariesChristian Neukirchen2016-08-061-4/+4
|
* mmime: line length must be <=78Christian Neukirchen2016-08-021-2/+2
|
* mmime: add -c to check if MIME-encoding is neededChristian Neukirchen2016-08-021-3/+40
|
* mmime: add -r for plain textChristian Neukirchen2016-08-021-9/+30
|
* mmime: simplifyChristian Neukirchen2016-08-021-26/+0
|
* mmime: fix prevq logicChristian Neukirchen2016-08-011-1/+2
|
* mmime: only qp after newline when actually neededChristian Neukirchen2016-08-011-6/+12
|
* mmime: delete dead storeChristian Neukirchen2016-07-261-1/+0
| | | | Found by clang-analyzer.
* mmime: encode headers when neccessaryChristian Neukirchen2016-07-251-9/+98
| | | | This is still a bit clumsy, but I'm not sure how to make it better.
* add mmimeChristian Neukirchen2016-07-201-0/+261