Commit Graph

725 Commits (5f45b7d53361bd32ce390e12f814660a98f86aa9)
 

Author SHA1 Message Date
Leah Neukirchen 5f45b7d533 use appropriate integer types
Mainly found with clang -Wconversion -Wshorten-64-to-32.
7 years ago
Leah Neukirchen ce9ac3aff4 blaze822: blaze822_addr: quote local-part if needed 7 years ago
Leah Neukirchen 5ff71ace36 rfc2047: blaze822_decode_qp: decode invalid qp-codes as literal 7 years ago
Leah Neukirchen f1789cfcef mshow: add -F to disable MIME filters 7 years ago
Leah Neukirchen 75ba2ab9a5 mcom: automatically run mmime when deemed necessary 7 years ago
Leah Neukirchen d4cbac0aa5 mmime: gen_qp: quote ^From and ^.$ to be safe 7 years ago
Leah Neukirchen 54435b30b6 mmime: gen_qp: encode trailing space and tab as =20/=09
See RFC2045 6.7.(3):
> It follows that an octet with decimal value 9 or 32 appearing at the
> end of an encoded line must be represented according to Rule #1.

Prefer this over generating a soft-line break and then a real line break.
7 years ago
Leah Neukirchen 7e9a73397b mflow: only accept flowed line with final space when reflowing 7 years ago
Leah Neukirchen 6557dec05b GNUmakefile: fix OpenBSD build
By sunil@nimmagadda.net.
7 years ago
Leah Neukirchen 3ebe373309 GNUmakefile: tweaks to make it easier for OpenBSD ports 7 years ago
Leah Neukirchen a674be611c mflow: fix argument parsing 7 years ago
Leah Neukirchen 35181baf32 mflow: only space stuff when really reflowing 7 years ago
Leah Neukirchen ebeaf43a27 mflow: add wrapping of long lines, add argument parsing, add quoting 7 years ago
Leah Neukirchen 285671f0e2 mshow: show: treat non-mime mails as single-part text/plain mails 7 years ago
Leah Neukirchen 34066eec64 contrib: add mrecode 7 years ago
Leah Neukirchen 98924a7fa1 mhdr: add -p to extract MIME parameters 7 years ago
Leah Neukirchen 3a67663a5d mflow: assume no reflow by default, when content-type exists 7 years ago
Leah Neukirchen 7c1c2c3740 mflow: flowed: add case where the word is too long for a line 7 years ago
Leah Neukirchen 3bfd9319e9 mflag: fix behavior with no arguments and reading from not a tty 7 years ago
Leah Neukirchen 66d0eff12f style 7 years ago
Sören Tempel dfe09a7c5e mquote: make sed expression to strip signature work with busybox sed
Closes: #74 [via git-merge-pr]
7 years ago
Leah Neukirchen 6f99ef55a8 mgenmid: printb36: fix off-by-one
Closes #73.
7 years ago
Leah Neukirchen 4e13b73245 mshow: render_mime: avoid indexing into empty buffer
Found using spam corpus at http://untroubled.org/spam/2017-08.7z
7 years ago
Leah Neukirchen 6948b408a2 mflow: use blaze822_mime_parameter properly
Found using spam corpus at http://untroubled.org/spam/2017-08.7z.
7 years ago
Leah Neukirchen d65041c386 squash more mandoc -Tlint warnings 7 years ago
Leah Neukirchen 4edca0ec3a mshow: use return value 62 for raw output of filters
E.g. for elinks -dump -dump-color-mode 3
7 years ago
Leah Neukirchen 6718576b9f mmime.1: reference makemime(1) and mhbuild(1) 7 years ago
Leah Neukirchen cf4bc05010 mshow: use "less -RFXe" when $PAGER is plain "less" 7 years ago
Leah Neukirchen 13db67713f filter: use a non-blocking write pipe 7 years ago
Leah Neukirchen 6b5b42f583 filter: don't write more than PIPE_BUF at once
This could result in stalling during big writes when we can't read the
output of the child in the mean time.
7 years ago
Leah Neukirchen 8a9825596b mverify: use 0+x to force number
+x does not work in nawk/*BSD awk.
7 years ago
Larry Hynes 470d7f85a0 mverify: Cant - > cannot
- This works around the quoting problem inherent in using Can't
  and avoids using the incorrect Cant

Closes: #71 [via git-merge-pr]
7 years ago
Leah Neukirchen 05e4d5b5fa mshow: fallback to text/plain when no content-type exists 7 years ago
Leah Neukirchen 3b51c5938a rfc2047: blaze822_decode_b64: ensure nul-termination of result
Fixes #70.
7 years ago
Larry Hynes 7fd982d172 mcom: dreaft -> draft
Closes: #69 [via git-merge-pr]
7 years ago
Leah Neukirchen 3b282a4934 filter.example: use mflow 7 years ago
Leah Neukirchen 9387d1fe07 add mflow 7 years ago
Leah Neukirchen 1382543ae8 VERSION: 0.2 7 years ago
Leah Neukirchen c6c8fb8d7c add NEWS.md 7 years ago
Leah Neukirchen 4c592759a2 mseq: use first message of range for -c and -C. 7 years ago
Leah Neukirchen 31d1cb7bc6 minc: use squeeze_slash
Closes #68.
7 years ago
Leah Neukirchen 157542c3e7 mlist: extract squeeze_slash 7 years ago
Leah Neukirchen 73d80d80f9 mrep: avoid initial space for References:
This triggered qp-encoding, which is not allowed for this header.
7 years ago
Larry Hynes 4d38a9c950 Changes to mthread.1
- Sprinkle some commas
- passed -> specified
- 'the' standard input
- 'one per line'
- 'in case' -> 'if'
- Flesh out -S outbox example

Closes: #67 [via git-merge-pr]
7 years ago
Larry Hynes f4e1b99b51 Changes to msort.1
- Clarify that its the message names, not the messages,
  that get printed
- passed -> specified
- Merge 3rd sentence in DESCRIPTION with 1st
- 'the' standard input

Closes: #66 [via git-merge-pr]
7 years ago
Leah Neukirchen aee4d6e8e5 mlist: squeeze squeezing code
Thanks to quinq, who put all their heart in it.
7 years ago
Leah Neukirchen 011a13463f mlist: squeeze slashes from directory names
Closes #65.
7 years ago
Larry Hynes e6dcea66dd Changes to msed.1
- Change 'scripts' to 'script', to match SYNOPSIS
- Delete 'the' in 'the mail headers'

Closes: #63 [via git-merge-pr]
7 years ago
Larry Hynes 90414ecb9d Changes to mshow.1
- (passed|given) -> specified
- Sprinkle some commas
- Adjust wording for '-A' option

Closes: #64 [via git-merge-pr]
7 years ago
Leah Neukirchen f7c2cd9526 mymemmem: update with patch from musl mailing list
Fix by Alexander Monakov.
7 years ago