Unknown [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
Michael Elkins [Tue, 18 Dec 2012 10:21:57 +0000 (02:21 -0800)]
fix problem where mutt_substrdup() was called with the start
pointer > end pointer, as a result of using SKIPWS(). This
occurred because the header field had an empty body, so the
trailing newline was skipped over. The fix is to just skip over
ascii space and htab.
Honza Horak [Tue, 18 Dec 2012 01:09:18 +0000 (17:09 -0800)]
fix segfault in pop driver. when rereading the message header, the ENVELOPE* struct is freed, but ctx->subj_hash retains a pointer to env->real_subj, so the hash table entry must be deleted prior to calling mutt_free_envelope()
David Champion [Tue, 16 Oct 2012 23:13:13 +0000 (18:13 -0500)]
Add compiler and configure info to mutt -v output (closes #3537)
Makefile(.am) updated to produce conststrings.c, which contains
C strings representing:
* the compiler's own version information;
* the CFLAGS value from the Make environment
* the ./configure options
main.c is updated to print them when running 'mutt -v'.
txt2c.sh is added to produce conststrings.c. txt2c.sh uses a compiled
txt2c binary if possible, for complete fidelity to the source strings
in whatever encoding they may use. If txt2c is not available (could
not be compiled, or was not compiled natively) it falls back on a shell
function to approximate the output using sed and tr.
Currently, no callers were providing a non-NULL buffer to
mutt_buffer_init, and splitting it will allow more sane semantics for
buffer allocation, initialization, and destruction in a later patch.