Update version to 0.4.0
Add contrib/_incr_version
msg/forward: fix body part selection
Move findPlaintext / findFirstNonMultipart to utils

They are used by more than one command and as such need to be in a common file.
msg/reply: fix encoding issues for quoted reply.
FetchBodyPart doesn't need the parent body structure
imap: Remove FetchMessageBodyPart.{Encoding,Charset}

Fixes https://todo.sr.ht/~sircmpwn/aerc2/352 exactly as suggested by emersion.
Change MarkedMessages to return uids

Especially if one tries to interact with all marked messages there could be
the case that not all headers are fetched yet, hence the messageInfo is still nil.

This segfaults a lot of commands which in principle only need the uid to complete.

If we switch to uids, this issue can be alleviated for those commands.
commands/helper: remove duplicated method
msg/read: don't copy waitgroup
maildir: remove read handling from FetchMessageBodyPart
notmuch: remove read handling from FetchMessageBodyPart
Show 'Message sent' only for ten seconds instead of permanently
creak/pty got force pushed: fix version
dc281e46 — Guillaume J. Charmes 1 year, 2 months ago
Use stdout as controlling terminal

Soves an issue with go1.15 not letting ctty be a parent. See
https://github.com/creack/pty/pull/97 for more details.

Signed-off-by: Guillaume J. Charmes <git+guillaume@charmes.net>
Revert "Dont detach process under vterm"

This reverts commit d07cf6c667a0d497c67196fca9967db71c1e02f6.
d07cf6c6 — Guillaume J. Charmes 1 year, 2 months ago
Dont detach process under vterm

Signed-off-by: Guillaume J. Charmes <git+guillaume@charmes.net>
templates: add version func

Fixes #316
docs: extract template function to their own section

The functions were located in the data section, which was suboptimal.