Leah Neukirchen
48b490f379
minc: extract DT_* handling
2020-03-08 17:17:48 +01:00
Leah Neukirchen
6dd0799aab
mdirs: extract DT_* handling
2020-03-08 17:16:50 +01:00
Leah Neukirchen
582256618a
move uc macro to blaze822_priv.h
2020-03-08 17:11:36 +01:00
Leah Neukirchen
83f9794bb0
contrib/mraw: drop leading spaces
2020-02-16 00:04:14 +01:00
Duncan Overbruck
dc15a75b63
mcom: add preview alias for show command
2020-02-05 14:11:53 +01:00
Leah Neukirchen
2636f5127d
GNUmakefile: release: check ./VERSION is correct before release
2020-02-02 15:52:03 +01:00
Leah Neukirchen
92dd0f7be5
VERSION: bump
2020-02-02 15:51:41 +01:00
Leah Neukirchen
113ac5a24d
mdirs: add -a to list all subfolders, ignoring maildir++ convention
...
Based on a patch by Kylie McClain <kylie@somas.is>.
2020-01-22 11:42:02 +01:00
Leah Neukirchen
1755fa6279
mblaze.7: mention public-inbox archive
2020-01-18 16:49:14 +01:00
Leah Neukirchen
da457c51ee
GNUmakefile: use gpg2
2020-01-18 16:36:35 +01:00
Leah Neukirchen
e0733f187b
NEWS.md: update for 0.6
2020-01-18 16:33:46 +01:00
Leah Neukirchen
513ac7d002
mscan: fix underrun in %F when filename doesn't contain three slashes
2020-01-17 12:14:47 +01:00
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]
2020-01-12 16:55:07 +01:00
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.
2020-01-08 11:09:55 +01:00
Leah Neukirchen
3da5f0e391
COPYING: Leahize
2020-01-02 20:59:32 +01:00
Leah Neukirchen
9e91eb6e8b
mscan: add dottime formatting
2020-01-02 16:15:35 +01:00
Silvan Jegen
dbf118f6c9
mless: only export LESSKEY once
...
Closes : #168 [via git-merge-pr]
2019-09-08 15:00:51 +02:00
Leah Neukirchen
1ed8a0ac76
blaze822_loop: delay opening sequence to first use
2019-09-01 16:28:10 +02:00
Leah Neukirchen
48285fe722
man/mcom.1: document defaults for mrep and mbnc
2019-08-27 10:15:09 +02:00
Sebastien Marie
a4b975e731
mlist: look at maildir/new too for messages
...
Closes : #165 [via git-merge-pr]
2019-08-26 13:10:27 +02:00
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]
2019-08-14 21:49:42 +02:00
Leah Neukirchen
5ee756f6a5
mdeliver: better usage when multiple arguments are given
2019-07-08 11:54:17 +02:00
Leah Neukirchen
68272afcba
mcom: use file --mime instead of file -i
...
This also works on macOS.
Closes #162 .
2019-05-21 11:37:21 +02:00
Leah Neukirchen
a60e705e51
mthread: make malloc failure fatal
2019-05-03 16:36:08 +02:00
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.
2019-04-23 12:35:12 +02:00
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.
2019-04-23 12:34:32 +02:00
Leah Neukirchen
fd675ef159
seq: blaze822_loop: fix leak
2019-04-14 14:54:20 +02:00
Leah Neukirchen
8a095775d0
maddr: addr: fix leak
2019-04-14 14:54:09 +02:00
Leah Neukirchen
53151f4f89
mdeliver: add fallback to utimes for systems that don't have utimensat
...
Namely, macOS before 10.13.
2019-03-28 22:22:45 +01:00
Leah Neukirchen
0d73424edf
mscan: u8putstr: assume wcwidth of -1 means actually 2 (probably emojis)
2019-03-21 15:59:42 +01:00
Leah Neukirchen
b052723eac
NEWS.md: update for 0.5.1
2019-03-03 17:12:56 +01:00
Leah Neukirchen
023c26f943
rfc2047: blaze822_decode_rfc2047: account for space for trailing nul
2019-03-02 21:47:30 +01:00
Leah Neukirchen
081a9404cd
blaze822: blaze822_addr: fix parsing of () at end of string
...
Found by lhynes.
2019-03-01 15:43:38 +01:00
Leah Neukirchen
bb80642b70
msed: improve zero initialization
2019-03-01 15:32:00 +01:00
Leah Neukirchen
58365527e4
t: update links
2019-03-01 12:30:40 +01:00
Duncaen
c8ce6d220c
magrep: fix use of uninitialized memory
...
found by -fsanitize=memory
2019-02-28 17:34:58 +01:00
Duncaen
74d8393fdf
msed: fix use of uninitialized memory
...
found by -fsanitize=memory
2019-02-28 17:34:58 +01:00
Leah Neukirchen
11ae5504fd
blaze822: blaze822_addr: don't read over the trailing nul byte when resolving \
2019-02-28 14:59:12 +01:00
Leah Neukirchen
9dfbf48be4
blaze822: blaze822_addr: take care of string end in comments inside <
2019-02-28 14:28:14 +01:00
Leah Neukirchen
3a97df9990
mmime: print_header: fix for empty lines
2019-02-28 13:20:19 +01:00
Leah Neukirchen
01b2f1abc6
blaze822: blaze822_addr: skip remaining characters when token is full, also with [
2019-02-27 23:21:55 +01:00
Leah Neukirchen
5a8bb16289
blaze822: blaze822_addr: skip remaining characters when token is full
2019-02-27 22:58:00 +01:00
Leah Neukirchen
5fc3115c3f
blaze822: blaze822_addr: don't drop last char when comment is not closed
...
Found by duncaen with afl.
2019-02-27 22:43:15 +01:00
Leah Neukirchen
3d3fffd7e8
blaze822: blaze822_addr: fix reading over the end of address if it ends with , or ;
...
Found by duncaen with afl.
2019-02-27 22:42:15 +01:00
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.
2019-02-27 22:40:13 +01:00
Leah Neukirchen
f8fa6a1e0e
mdirs: add -0 to separate folders by NUL characters
...
Idea by Mario Domgoergen <mdom@taz.de>.
Closes #159 .
2019-02-20 10:57:50 +01:00
Leah Neukirchen
085138d6a2
mdeliver: work around macOS, which doesn't implement POSIX.1-2008 stat fields
2019-02-11 10:35:52 +01:00
Leah Neukirchen
cb0ffbf6ad
rfc2231: fix memleak
...
Found by clang 7.0.1.
2019-02-10 22:06:56 +01:00
Leah Neukirchen
6ea32480f1
blaze822: blaze822_mmap: fix memleak
...
Found by clang 7.0.1.
2019-02-10 22:03:45 +01:00
Leah Neukirchen
4198cd42fa
blaze822: blaze822_mem: fix memleak
...
Found by clang 7.0.1.
2019-02-10 22:03:09 +01:00