Thomas Roessler [Tue, 8 Apr 2003 21:41:39 +0000 (21:41 +0000)]
Make sure has_colors() is only invoked when OPTNOCURSES is unset.
This fixes a segmentation fault on RH 8.0 which was observed by Matt
Larson <mlarson@verisign.com>.
Thomas Roessler [Wed, 2 Apr 2003 08:47:28 +0000 (08:47 +0000)]
sample.muttrc-tlr would try to include my color configurations,
which weren't distrubted. Fix that. (Bug noted while helping
someone else to configure mutt during a conference.)
Gary Johnson [Wed, 2 Apr 2003 08:40:50 +0000 (08:40 +0000)]
Here is the patch to fix the bug I reported earlier in this thread,
that sometimes when changing folders, mutt would generate an error
message and stop the further processing of folder-hooks.
David Shaw [Wed, 2 Apr 2003 08:28:24 +0000 (08:28 +0000)]
Here is the pgp_check_exit patch updated for 1.5.4. This patch adds
the pgp_check_exit option (enabled by default) that causes mutt to
check the exit code of the PGP subprocess. A non-zero exit code means
that the subprocess failed and mutt will not continue to send the
message.
This is needed as in certain cases, PGP or GnuPG can fail to
completely process a document (say, if the gpg.conf file is mangled,
which is how I discovered the problem). Without an exit code check,
mutt will continue anyway and send the half processed file.
(mutt_addr_for_display): Fix memory leak. `user' and `domain'
buffers was never deallocated.
(mbox_to_udomain): Fix memory leak. `scratch' buffer was not
deallocated when `mbx' doesn't contain '@'. Also rewritten for
allocating memory only when needed and only how many as needed.
Brendan Cully [Fri, 7 Mar 2003 14:55:53 +0000 (14:55 +0000)]
The global callbacks set up in sasl_client_init are not copied by
the SASL library, so they can't be allocated on the stack. This is
the case with both versions of the SASL library, and I frankly don't
understand why it hasn't caused problems before. Since it segfaults
reliably on OS X for me now, I thought a patch would be in order.
Thomas Roessler [Thu, 6 Mar 2003 21:23:53 +0000 (21:23 +0000)]
Fixing a segmentation fault. Here's how to reproduce it: Start
mutt. Compose a new message, with an attachment. Turn on PGP
signing. Press C-G on the pass phrase prompt. Turn off PGP
signing. Try to send the message.
Thomas Roessler [Mon, 3 Mar 2003 14:01:06 +0000 (14:01 +0000)]
IDN support for e-mail messages. Things should work automagically
once you have the GNU IDN library available from
ftp://alpha.gnu.org/pub/gnu/libidn/ installed. For IDN's which
can't be losslessly recoded to your local character set, mutt should
automatically fall back to using the ASCII representation. There's
probably a considerable number of bugs in this, and the code may, at
this point, not even compile on machines without libidn. Will start
working on that ASAP.
Thomas Roessler [Mon, 3 Mar 2003 08:26:20 +0000 (08:26 +0000)]
Introduce a new option named $bounce, and fix some inconsistencies
in the messages created when bouncing. Based on work done by Thomas
Glanzmann <sithglan@stud.uni-erlangen.de>.
David Shaw [Wed, 19 Feb 2003 21:33:43 +0000 (21:33 +0000)]
3156 defined several micalg values (pgp-md5, pgp-sha1, etc.) Since
then, three more hashes have been assigned numbers in 2440bis. Here
is a patch to add values for pgp-sha256, pgp-sha384, and pgp-sha512 so
mutt can properly handle them.