Commit Graph

982 Commits (e0733f187b34b21fa8335b9914c29a28fa2e856d)
 

Author SHA1 Message Date
Leah Neukirchen e0733f187b NEWS.md: update for 0.6 4 years ago
Leah Neukirchen 513ac7d002 mscan: fix underrun in %F when filename doesn't contain three slashes 4 years ago
Sören Tempel 55035ad8b2 mcom: check if a draft was found when invoking `mcom -r`
Without this patch `mcom -r` would invoke $EDITOR on a directory if the
maildir did not contain any drafts. To prevent this from happening,
check if a draft was found before performing any further processing. If
not, terminate mcom with an error message.

Closes: #169 [via git-merge-pr]
4 years ago
Leah Neukirchen 6705b3ee29 mfwd: prefix Subject with "Fwd:"
Idea by Larry Hynes.  Although no classical mail clients use Fwd:
prefix, it has been around for some time.
4 years ago
Leah Neukirchen 3da5f0e391 COPYING: Leahize 4 years ago
Leah Neukirchen 9e91eb6e8b mscan: add dottime formatting 4 years ago
Silvan Jegen dbf118f6c9 mless: only export LESSKEY once
Closes: #168 [via git-merge-pr]
5 years ago
Leah Neukirchen 1ed8a0ac76 blaze822_loop: delay opening sequence to first use 5 years ago
Leah Neukirchen 48285fe722 man/mcom.1: document defaults for mrep and mbnc 5 years ago
Sebastien Marie a4b975e731 mlist: look at maildir/new too for messages
Closes: #165 [via git-merge-pr]
5 years ago
Konst Mayer 71e2318c81 mshow: don't use --quit-at-eof in less by default
If the user wants it, he can add it to the LESS environment variable.

Closes: #163 [via git-merge-pr]
5 years ago
Leah Neukirchen 5ee756f6a5 mdeliver: better usage when multiple arguments are given 5 years ago
Leah Neukirchen 68272afcba mcom: use file --mime instead of file -i
This also works on macOS.

Closes #162.
5 years ago
Leah Neukirchen a60e705e51 mthread: make malloc failure fatal 5 years ago
Leah Neukirchen 5fa9a7a706 mmime: gen_file: remove check for trailing newline for 7bit transfer
RFC2046 5.1.1 specifies that parts without trailing newlines are coded
without problems:

> NOTE:  The CRLF preceding the boundary delimiter line is conceptually
> attached to the boundary so that it is possible to have a part that
> does not end with a CRLF (line break).

This if-statement now also codes empty files correctly.
5 years ago
Leah Neukirchen 5b0755ca68 slurp: don't special-case empty files, instead behave like strdup("")
This allows the caller to call free(3) in any case.
5 years ago
Leah Neukirchen fd675ef159 seq: blaze822_loop: fix leak 5 years ago
Leah Neukirchen 8a095775d0 maddr: addr: fix leak 5 years ago
Leah Neukirchen 53151f4f89 mdeliver: add fallback to utimes for systems that don't have utimensat
Namely, macOS before 10.13.
5 years ago
Leah Neukirchen 0d73424edf mscan: u8putstr: assume wcwidth of -1 means actually 2 (probably emojis) 5 years ago
Leah Neukirchen b052723eac NEWS.md: update for 0.5.1 5 years ago
Leah Neukirchen 023c26f943 rfc2047: blaze822_decode_rfc2047: account for space for trailing nul 5 years ago
Leah Neukirchen 081a9404cd blaze822: blaze822_addr: fix parsing of () at end of string
Found by lhynes.
5 years ago
Leah Neukirchen bb80642b70 msed: improve zero initialization 5 years ago
Leah Neukirchen 58365527e4 t: update links 5 years ago
Duncaen c8ce6d220c magrep: fix use of uninitialized memory
found by -fsanitize=memory
5 years ago
Duncaen 74d8393fdf msed: fix use of uninitialized memory
found by -fsanitize=memory
5 years ago
Leah Neukirchen 11ae5504fd blaze822: blaze822_addr: don't read over the trailing nul byte when resolving \ 5 years ago
Leah Neukirchen 9dfbf48be4 blaze822: blaze822_addr: take care of string end in comments inside < 5 years ago
Leah Neukirchen 3a97df9990 mmime: print_header: fix for empty lines 5 years ago
Leah Neukirchen 01b2f1abc6 blaze822: blaze822_addr: skip remaining characters when token is full, also with [ 5 years ago
Leah Neukirchen 5a8bb16289 blaze822: blaze822_addr: skip remaining characters when token is full 5 years ago
Leah Neukirchen 5fc3115c3f blaze822: blaze822_addr: don't drop last char when comment is not closed
Found by duncaen with afl.
5 years ago
Leah Neukirchen 3d3fffd7e8 blaze822: blaze822_addr: fix reading over the end of address if it ends with , or ;
Found by duncaen with afl.
5 years ago
Leah Neukirchen 3f2c714b42 blaze822: safe_append: fixes for various border cases
This fixes dstmax == dstlen and when src is completely full.

Found by duncaen with afl.
5 years ago
Leah Neukirchen f8fa6a1e0e mdirs: add -0 to separate folders by NUL characters
Idea by Mario Domgoergen <mdom@taz.de>.

Closes #159.
5 years ago
Leah Neukirchen 085138d6a2 mdeliver: work around macOS, which doesn't implement POSIX.1-2008 stat fields 5 years ago
Leah Neukirchen cb0ffbf6ad rfc2231: fix memleak
Found by clang 7.0.1.
5 years ago
Leah Neukirchen 6ea32480f1 blaze822: blaze822_mmap: fix memleak
Found by clang 7.0.1.
5 years ago
Leah Neukirchen 4198cd42fa blaze822: blaze822_mem: fix memleak
Found by clang 7.0.1.
5 years ago
Leah Neukirchen 4e9237f921 mdeliver: clean up logic 5 years ago
Leah Neukirchen 65ddebc87c mrefile: don't open the file when renaming is enough 5 years ago
Leah Neukirchen bccacce816 mrefile: try using rename first, when possible 5 years ago
Leah Neukirchen 8d09a5339e mdeliver: preserve mtime in mrefile 5 years ago
Leah Neukirchen b85c56f30c mdeliver: free msg opened for getting timestamp 5 years ago
Leah Neukirchen 2c14e800cd NEWS.md: add release date 5 years ago
Duncaen cfba3e1c3b mpick: fix off-by-one in parse_string (expression parsing) 5 years ago
Leah Neukirchen 820c07b7e4 NEWS.md: update 5 years ago
codesoap 33a6c48fb6 mcom: Quote one more variable 5 years ago
codesoap d164496e09 mcom: Quote two more variables
Before quoting these two variables I experienced problems when
trying to use the "encrypt" option while using mcom.
5 years ago