Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | safe_u8putstr: add oneline mode that prints CR/LF as C0 sequences | Leah Neukirchen | 2021-03-15 | 1 | -14/+14 |
| | |||||
* | mshow: show last part of multipart/mixed when none matched | Leah Neukirchen | 2021-01-17 | 1 | -1/+8 |
| | | | | This is in conformance with RFC 1341. | ||||
* | mshow: add "-A all" to render all attachments | Leah Neukirchen | 2021-01-17 | 1 | -3/+4 |
| | | | | Closes #198. | ||||
* | pledge(2) all programs | Tim Kuijsten | 2020-09-06 | 1 | -0/+8 |
| | | | | | | | | | | | | | | | | All programs except mshow have a very tight set of promises. mshow has a broad set of promises and might be a good future candidate to further restrict using unveil(2). This patch is based on commit 0300a112 by Alex Holst (dated 2017-12-07), which was proposed in GH PR #79. * pledged mpick, mflow and mdate so that now all programs are pledged * removed some unneeded promises and added some missing promises * move err.h include and OpenBSD ifdef into a new xpledge.h * cleaned up code aligning and whitespace Closes: #179 [via git-merge-pr] | ||||
* | mshow: refactor, use charset logic in reply_mime too | Leah Neukirchen | 2020-08-08 | 1 | -11/+14 |
| | |||||
* | mshow: assume UTF-8 for unknown-8bit or x-unknown charsets | Leah Neukirchen | 2020-08-08 | 1 | -1/+4 |
| | |||||
* | mshow: print encoding error message to stderr | Leah Neukirchen | 2020-08-02 | 1 | -1/+1 |
| | |||||
* | mshow: only set cur when there is a new current message | Leah Neukirchen | 2020-08-02 | 1 | -1/+2 |
| | |||||
* | mshow: don't spawn pager for -x | Leah Neukirchen | 2020-03-14 | 1 | -1/+1 |
| | |||||
* | mshow: don't use --quit-at-eof in less by default | Konst Mayer | 2019-08-14 | 1 | -1/+1 |
| | | | | | | If the user wants it, he can add it to the LESS environment variable. Closes: #163 [via git-merge-pr] | ||||
* | mshow: put message-id into env, if available | Vincent Breitmoser | 2019-01-29 | 1 | -0/+5 |
| | | | | Closes: #135 [via git-merge-pr] | ||||
* | mshow: exit with 1 if not all attachments were found | Leah Neukirchen | 2019-01-02 | 1 | -0/+8 |
| | |||||
* | mshow: extract: skip leading spaces for file names | Leah Neukirchen | 2018-12-16 | 1 | -0/+2 |
| | | | | Found by Solene Rapenne. | ||||
* | mshow: choose_alternative: skip empty MIME parts. | Leah Neukirchen | 2018-11-14 | 1 | -0/+4 |
| | |||||
* | mshow: add -B to decode MIME parameters in broken mails | Leah Neukirchen | 2018-04-17 | 1 | -1/+9 |
| | |||||
* | mshow: render_mime: don't print any MIME structure markers with -N. | Leah Neukirchen | 2018-02-07 | 1 | -3/+6 |
| | | | | Reported by Larry Hynes. | ||||
* | mshow: render_mime: render message/delivery-status as plain text | Leah Neukirchen | 2018-01-16 | 1 | -1/+2 |
| | |||||
* | mshow: list_mime: fix small leak | Leah Neukirchen | 2018-01-11 | 1 | -0/+1 |
| | |||||
* | mshow: exit with status 1 if -R didn't find a plain text reply | Leah Neukirchen | 2018-01-09 | 1 | -0/+6 |
| | |||||
* | mshow: list, reply: skip leading spaces for file names | Leah Neukirchen | 2017-12-06 | 1 | -0/+4 |
| | |||||
* | mshow: use %ld for longs | Leah Neukirchen | 2017-10-13 | 1 | -6/+6 |
| | |||||
* | mshow: render_mime: fix logic bug | Leah Neukirchen | 2017-10-06 | 1 | -1/+1 |
| | |||||
* | use appropriate integer types | Leah Neukirchen | 2017-10-06 | 1 | -3/+3 |
| | | | | Mainly found with clang -Wconversion -Wshorten-64-to-32. | ||||
* | mshow: add -F to disable MIME filters | Leah Neukirchen | 2017-09-22 | 1 | -3/+5 |
| | |||||
* | mshow: show: treat non-mime mails as single-part text/plain mails | Leah Neukirchen | 2017-09-06 | 1 | -1/+1 |
| | |||||
* | style | Leah Neukirchen | 2017-08-31 | 1 | -20/+20 |
| | |||||
* | mshow: render_mime: avoid indexing into empty buffer | Leah Neukirchen | 2017-08-21 | 1 | -1/+1 |
| | | | | Found using spam corpus at http://untroubled.org/spam/2017-08.7z | ||||
* | mshow: use return value 62 for raw output of filters | Leah Neukirchen | 2017-08-20 | 1 | -2/+5 |
| | | | | E.g. for elinks -dump -dump-color-mode 3 | ||||
* | mshow: use "less -RFXe" when $PAGER is plain "less" | Leah Neukirchen | 2017-08-17 | 1 | -1/+6 |
| | |||||
* | mshow: fallback to text/plain when no content-type exists | Leah Neukirchen | 2017-08-05 | 1 | -3/+5 |
| | |||||
* | mshow: mark FALL THROUGH | Leah Neukirchen | 2017-06-23 | 1 | -0/+5 |
| | |||||
* | mshow: show Reply-To by default | Leah Neukirchen | 2017-06-18 | 1 | -1/+1 |
| | |||||
* | mshow: add -N to not show MIME structure markers. | Leah Neukirchen | 2017-06-18 | 1 | -10/+17 |
| | |||||
* | mshow: print_decode_header: bump buffer size | Leah Neukirchen | 2017-06-13 | 1 | -1/+1 |
| | |||||
* | mshow: try to keep CRLF intact for -r | Leah Neukirchen | 2017-05-26 | 1 | -1/+6 |
| | |||||
* | mshow: spawn a pager for interactive use | Leah Neukirchen | 2017-05-23 | 1 | -0/+23 |
| | |||||
* | mshow: no safe output for -R | Leah Neukirchen | 2017-05-23 | 1 | -1/+1 |
| | |||||
* | mshow: document -n | Leah Neukirchen | 2017-05-23 | 1 | -1/+1 |
| | |||||
* | mshow: safely print filenames | Leah Neukirchen | 2017-04-06 | 1 | -6/+16 |
| | |||||
* | mshow: use blaze822_mime2231_parameter for filenames | Leah Neukirchen | 2017-04-06 | 1 | -12/+11 |
| | |||||
* | mshow: render_mime: don't access invalid addresses when no output was generated | Leah Neukirchen | 2017-04-06 | 1 | -3/+5 |
| | |||||
* | mshow: print plain text safely | Leah Neukirchen | 2017-03-13 | 1 | -25/+32 |
| | |||||
* | clean up whitespace | Leah Neukirchen | 2017-01-26 | 1 | -10/+10 |
| | |||||
* | Add $MBLAZE environment variable to set profile location | Ivy Foster | 2016-09-01 | 1 | -1/+1 |
| | | | | | As a side benefit, all callers of blaze822_home_file need only pass the filename, so the base directory is set in only one place. | ||||
* | mshow: ensure plain text output ends with a newline | Christian Neukirchen | 2016-08-09 | 1 | -4/+8 |
| | |||||
* | mshow: rather, use -r -O to print the part raw | Christian Neukirchen | 2016-08-06 | 1 | -4/+12 |
| | |||||
* | mshow: extract headers with -H -O | Christian Neukirchen | 2016-08-06 | 1 | -0/+12 |
| | |||||
* | mshow: simplify -H with orig_header | Christian Neukirchen | 2016-08-06 | 1 | -12/+3 |
| | |||||
* | mshow: extract_mime: body is used | Christian Neukirchen | 2016-08-06 | 1 | -1/+0 |
| | |||||
* | rfc2045: import walk_mime | Christian Neukirchen | 2016-08-02 | 1 | -56/+13 |
| |