Kevin McCarthy [Fri, 26 Apr 2013 19:10:46 +0000 (12:10 -0700)]
Fix postpone/resume to not remove a Mail-Followup-To header (closes #3070)
This solution changes mutt_prepare_template() to check whether the
message_id field is NULL to decide whether to wipe the message-id and
mail-followup-to headers when instantiating the message.
If we are resending a message, we don't want the previous message-id
and mail-followup-to headers. If we are resuming a postponed message,
however, we want to keep the mail-followup-to header if any was set
before the postpone.
(grafted from d7d83298011a6e7aa31bde49e0b6b21209a85fd2)
Kevin McCarthy [Mon, 15 Jul 2013 02:48:44 +0000 (19:48 -0700)]
Allow filename prompt when saving multiple attachments to a directory. (closes #3083)
Currently, if you specify a directory when saving multiple attachments
and choose (a)ll, the first attachment is saved without confirming the
filename. Subsequent attachments prompt for the filename.
Michael Elkins [Fri, 4 Oct 2013 18:22:15 +0000 (18:22 +0000)]
When recalling a postponed message that does not have a x-mutt-fcc header
field, generate a default FCC just as we do for new messages. If x-mutt-fcc is
present but empty, we assume that means the user does not want a copy.
esr [Mon, 7 Oct 2013 17:09:25 +0000 (17:09 +0000)]
Problems with muttrc.5:
Ambiguous or invalid backslash. This doesn't cause groff a problem.
but it confuses doclifter and may confuse older troff implementations.
Unknown or invalid macro. That is, one that does not fit in the
macro set that the man page seems to be using. This is a serious
error; it often means part of your text is being lost or rendered
incorrectly.
Use local definitions of .EX/.EE or .DS/.DE to avoid low-level troff
requests in the page body. There are plans to add these to groff man;
in the interim, this patch adds a compatible definition to your page.
Kevin McCarthy [Sat, 5 Oct 2013 07:57:49 +0000 (15:57 +0800)]
Fix segfault when viewing text attachments in compose menu. (closes #3644)
The segfault was introduced in changeset b9f9e3147eb4. Since decoding
and charset conversion aren't needed for attachments when composing a
message, this patch reverts to just using mutt_save_attachment() to view
"raw data" for text attachments in the compose/send case.
This patch is based on Michael Elkins' patch at
http://dev.mutt.org/trac/attachment/ticket/3644/view_attach_compose_segfault
with just a missing return value check added.
Aaron Schrab [Sat, 5 Oct 2013 19:25:00 +0000 (19:25 +0000)]
Consistently use mutt_buffer_init function
Despite the existence of the mutt_buffer_init function, most
initializations were instead done with memset. Use the specific
function instead to make it easier if later changes are made to how the
initialization should be done.
Michael Elkins [Thu, 17 Jan 2013 02:43:41 +0000 (02:43 +0000)]
use a separate flag for mutt_hcache_store() to signal that the gettimeofday() value should be substituted, so that a 0 uidvalidity can be used by the imap driver.
Michael Elkins [Thu, 17 Jan 2013 02:10:12 +0000 (02:10 +0000)]
change semantics of mutt_is_autoview() to return 1 if there is a matching mailcap entry and either $implicit_autoview is set or the MIME type matches the user's auto_view list.
Michael Elkins [Fri, 4 Jan 2013 00:12:28 +0000 (16:12 -0800)]
Fix regression introduced by [10cc06eff52b] where the CLEARLINE() removal was not replaced by a move() to position the cursor at the correct location to draw the status bar.
Michael Elkins [Sun, 30 Dec 2012 17:26:30 +0000 (09:26 -0800)]
remove m4_translit because it generates a warning with newer versions of autoconf when used in AC_INIT. Instead, use tr -d to output the version string without a trailing newline.
Aaron Schrab [Fri, 28 Dec 2012 04:33:25 +0000 (20:33 -0800)]
Use the directory where the version.sh script is located as the
directory where it is run. Since this will be run in a separate shell
anyway, there's no need to worry about changing current directory.
This eliminates the need for the caller to specify where the source
directory is located, and doesn't require that the code take special
care to use the appropriate directory. The fallback method of using
`cat VERSION` was broken in this respect, it would not work when run
from a different directory.
---
configure.ac | 2 +-
version.sh | 7 ++++---
2 files changed, 5 insertions(+), 4 deletions(-)
Michael Elkins [Sat, 22 Dec 2012 23:04:24 +0000 (15:04 -0800)]
If neither --with-idn nor --without-idn are given, use -I/usr/include/idn when checking for the libidn header files, if present (needed for Solaris 11).
Don't bother checking for the idna_* functions if we didn't find -lidn