Michael Elkins [Mon, 17 Dec 2012 18:09:55 +0000 (10:09 -0800)]
use SSL_get_version() to display the actual SSL protocol used rather than the fixed string SSL.
Andrew Gaul [Mon, 17 Dec 2012 04:23:17 +0000 (20:23 -0800)]
Correct typos
Michael Elkins [Mon, 17 Dec 2012 03:33:29 +0000 (19:33 -0800)]
update documentation for $pgp_getkeys_command to note that %r is replaced with the email address, not the public key ID
closes #1208
Michael Elkins [Sun, 16 Dec 2012 21:28:39 +0000 (13:28 -0800)]
use new function iswsp() in place of isspace() when testing for whitespace.
closes #3608
closes #2956
Michael Elkins [Sat, 15 Dec 2012 15:48:45 +0000 (07:48 -0800)]
make imap_private.h include message.h for IMAP_HEADER_DATA definition
cast &ctx->data to IMAP_HEADER_DATA** to fix compiler warning
imap_free_header_data should check for *data being NULL, rather than "data"
Andrew Gaul [Mon, 10 Sep 2012 02:54:46 +0000 (19:54 -0700)]
Make imap_free_header_data type-safe
Also push conditional into function for safety and consistency with
other free functions.
Matthias Andree [Sat, 8 Dec 2012 11:31:11 +0000 (12:31 +0100)]
Fix VPATH build by running txt2c.sh from ${srcdir} rather than ".".
Michael Elkins [Fri, 7 Dec 2012 17:51:46 +0000 (09:51 -0800)]
invoke gpgme_check_version() as required to initialize the library.
move locale code to initialization function.
closes #3300
Michael Elkins [Thu, 6 Dec 2012 15:56:54 +0000 (07:56 -0800)]
additional documentation for $editor. closes #3602
Michael Elkins [Sat, 1 Dec 2012 22:48:27 +0000 (14:48 -0800)]
list-reply documentation should mention its behavior wrt the List-Post header field.
closes #3599
Michael Elkins [Sat, 1 Dec 2012 22:32:48 +0000 (14:32 -0800)]
don't perform rfc3676 space stuffing when recalling a postponed message where it has already been done.
closes #3600
Michael Elkins [Sat, 1 Dec 2012 22:31:42 +0000 (14:31 -0800)]
make ascii_strcasecmp properly handle unequal length strings with the same prefix
closes #3601
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.
Brendan Cully [Sun, 22 Jul 2012 18:15:30 +0000 (11:15 -0700)]
mutt_buffer_init: just memset the buffer (closes #3588)
This was meant to be part of the previous commit.
Brendan Cully [Sun, 22 Jul 2012 02:51:31 +0000 (19:51 -0700)]
Split mutt_buffer_new out of mutt_buffer_init.
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.
Brendan Cully [Fri, 20 Jul 2012 19:32:44 +0000 (12:32 -0700)]
Do not use stack-allocated space for BUFFERs
It will cause mutt_buffer_* to segfault if it needs to grow the space.
Thanks to Steve Losh for discovering the issue. I have done some simple
grepping to find other cases, but some may remain.
Dan Fandrich [Mon, 9 Jul 2012 05:40:06 +0000 (22:40 -0700)]
Set text_flowed after send-hook has been applied (closes #3550)
Brendan Cully [Mon, 9 Jul 2012 05:27:10 +0000 (22:27 -0700)]
silence some style warnings
Antonio Radici [Mon, 9 Jul 2012 00:34:56 +0000 (17:34 -0700)]
Fix some spelling errors (closes #3493)
Brendan Cully [Mon, 9 Jul 2012 00:25:12 +0000 (17:25 -0700)]
gnutls:tls_compare_certificates: check strstr for failure (closes #3547)
A malformed certificate file could cause strstr to return an unhandled NULL.
Thanks to hhorak for the proposed patch. This one is similar but avoids using
memmem for the first time (I am not sure about its portability).
Antonio Radici [Sun, 8 Jul 2012 04:57:01 +0000 (21:57 -0700)]
check_charset: check for NULL before calling strtok_r (closes #3326)
Otherwise, if strtok_r cannot handle NULL an empty *charset setting will segfault
Brendan Cully [Sat, 7 Jul 2012 22:50:08 +0000 (15:50 -0700)]
Do not use SASL for login unless AUTH=LOGIN is advertised (closes #3556)
Marco Paolone [Fri, 25 May 2012 20:30:47 +0000 (22:30 +0200)]
Update Italian translation
Brendan Cully [Fri, 25 May 2012 05:02:57 +0000 (22:02 -0700)]
Remove AM_C_PROTOTYPES from configure.ac (closes #3579)
I doubt we have any users of that macro nowadays. It will be interesting to
hear about it if we do.
Brendan Cully [Thu, 24 May 2012 03:29:37 +0000 (23:29 -0400)]
Support passwords of up to 127 characters.
I received a report on IRC of a failure due to a 64-byte password.
Brendan Cully [Mon, 30 Apr 2012 05:15:19 +0000 (22:15 -0700)]
gnutls: catch gnutls_init failures
I haven't actually experienced these, but it seems like a good idea.
Brendan Cully [Mon, 30 Apr 2012 05:14:22 +0000 (22:14 -0700)]
give user time to read SASL init error message
TAKAHASHI Tamotsu [Wed, 21 Dec 2011 06:24:35 +0000 (22:24 -0800)]
Updated Japanese translation
Dan Fandrich [Sat, 3 Dec 2011 19:13:10 +0000 (11:13 -0800)]
Declare many structures const (closes #3552)
Many structs used in mutt are actually constant but are defined
without the 'const' keyword. This can slow initialization (slightly)
in some environments due to extra copying and increases the amount of
writable RAM required at run-time, which can be significant on non-MMU
systems. Using const can also increase the opportunities for compiler
optimization.
The attached patch marks many such structures as const. On my test x86
build, this reduces the size of .data by over 50%.
Dan Fandrich [Sat, 3 Dec 2011 19:07:41 +0000 (11:07 -0800)]
Inline some small, often-used functions (closes #3551)
When I first sent this patch to the mailing list in 2008, my benchmarking found a
reduction in startup time of 15%.
Michael Elkins [Mon, 28 Nov 2011 17:47:44 +0000 (09:47 -0800)]
branch merge
Michael Elkins [Mon, 28 Nov 2011 17:46:46 +0000 (09:46 -0800)]
make kill-eow and kill-word consistent in considering words to consist only of alphanumeric characters. closes #3549.
Vincent Lefevre [Sun, 27 Nov 2011 04:41:05 +0000 (20:41 -0800)]
Updated French translation
Michael Elkins [Fri, 25 Nov 2011 20:52:55 +0000 (12:52 -0800)]
Check that $sendmail is set to avoid potential segfault. Closes #3548.
David Champion [Wed, 13 Jul 2011 16:05:37 +0000 (11:05 -0500)]
Invalidate header caches when spam rules change. closes #3473
User 'exg' on #mutt reported a problem when using header cache with IMAP
and spam rules. Spam tags are retrieved from cache and not updated when
spam rules change.
1. Enable header caching in muttrc
2. Set spam rules in muttrc
3. Use IMAP (or POP or Maildir). Your spam rules store spam tags into
your message headers, and these get cached.
4. Quit mutt
5. Change your spam rules in muttrc
6. Relaunch mutt
7. Because of header caching, the rfc822 headers are not reparsed, and
spam rules are not reapplied. User has outdated spam tags.
Spam rules are applied during rfc822 header parsing because it's the
only time we get a full and unadulterated view of all headers. Once
header parse is done we have only processed headers and 'user headers'
(X-headers). We might do spam rule matching against the struct HEADER
copy of headers, except that:
a. the header might not be in HEADER if it's non-standard and not an
X-header;
b. spam rules are regular expressions matching any arbitrary header
line, and we would need to map these regexps to the header used to
create the HEADER fields. This would change the syntax and behavior
of spam rules dramatically.
One solution, perhaps stopgap, is to invalidate the header cache when
spam rules change. That's what this patch does. It alters the hcache
versioning algorithm so that in addition to using the compiled-in
checksum of mutt's structures definitions, we also mix in the user's
runtime spam rules. Any time spam rules change the hcachever hash value
changes, causing the hcache to be rewritten.
Brendan Cully [Sat, 2 Jul 2011 01:21:13 +0000 (18:21 -0700)]
Update ChangeLog
Brendan Cully [Sat, 2 Jul 2011 00:23:37 +0000 (17:23 -0700)]
version.sh: fix(?) failure due to bizarre sh quoting rules
I have not checked POSIX, and sh quoting always makes my head hurt, but this
seems to suffice for my sh (actually bash in sh mode) when HGROOT contains a space.
Olaf Hering [Mon, 23 May 2011 11:22:33 +0000 (13:22 +0200)]
folder_file: change type of new from short to int
As requested by Rocco Rutte in bug #2421 increase the type to int.
Signed-off-by: Olaf Hering <olaf@aepfle.de>
Olaf Hering [Mon, 23 May 2011 10:59:14 +0000 (12:59 +0200)]
fix gcc 4.6 warning -Wunused-but-set-variable in pgppubring.c
pgppubring.c: In function 'pgp_parse_pgp3_sig':
pgppubring.c:424:17: warning: variable 'hashalg' set but not used [-Wunused-but-set-variable]
pgppubring.c:423:17: warning: variable 'pkalg' set but not used [-Wunused-but-set-variable]
Signed-off-by: Olaf Hering <olaf@aepfle.de>
David Champion [Wed, 29 Jun 2011 17:01:14 +0000 (12:01 -0500)]
version.sh: 1003.1 "-k" instead of obsolete "+" syntax (closes: #3528)
David Champion [Wed, 29 Jun 2011 16:57:12 +0000 (11:57 -0500)]
version.sh: support building outside of source directory
Reported by Emanuele Giaquinta <e.giaquinta@glauco.it>. Thanks also
to Michael Elkins <me@sigpipe.org>.
Brendan Cully [Sun, 26 Jun 2011 03:07:57 +0000 (20:07 -0700)]
Parentheses suggested
Brendan Cully [Sun, 26 Jun 2011 03:05:37 +0000 (20:05 -0700)]
Do not subscribe to \noselect mailboxes. Closes #3445
hhorak [Sat, 25 Jun 2011 22:42:52 +0000 (15:42 -0700)]
Avoid creating sparse ctx array when fetch responses are ignored. Closes #3288.
Brendan Cully [Sat, 25 Jun 2011 22:23:05 +0000 (15:23 -0700)]
Silence some eclipse warnings
Michael Elkins [Mon, 20 Jun 2011 23:39:27 +0000 (16:39 -0700)]
rfc2047 encode recipient list in resent-to header field. closes #3512
Michael Elkins [Mon, 20 Jun 2011 23:33:07 +0000 (16:33 -0700)]
copy idn status when duplicating address object
Antonio Radici [Mon, 20 Jun 2011 23:07:27 +0000 (16:07 -0700)]
fix regexp example in documentation
Antonio Radici [Sun, 19 Jun 2011 04:29:04 +0000 (21:29 -0700)]
Remove the deprecated gnutls_certificate_verify_peers() in favour of the new
gnutls_certificate_veirfy_peers2()
Reported on http://bugs.debian.org/624085
closes #3516
Michael Elkins [Sun, 19 Jun 2011 04:07:46 +0000 (21:07 -0700)]
clear logging in message when login succeeded. closes #3524
Olaf Hering [Mon, 23 May 2011 10:59:13 +0000 (12:59 +0200)]
fix gcc 4.6 warning -Wunused-but-set-variable in smime.c
smime.c: In function 'smime_handle_entity':
smime.c:1663:8: warning: variable 'last_pos' set but not used [-Wunused-but-set-variable]
Signed-off-by: Olaf Hering <olaf@aepfle.de>
Olaf Hering [Mon, 23 May 2011 10:59:13 +0000 (12:59 +0200)]
fix gcc 4.6 warning -Wunused-but-set-variable in pgp.c
pgp.c: In function 'pgp_application_pgp_handler':
pgp.c:254:8: warning: variable 'start_pos' set but not used [-Wunused-but-set-variable]
Signed-off-by: Olaf Hering <olaf@aepfle.de>
Olaf Hering [Mon, 23 May 2011 10:59:12 +0000 (12:59 +0200)]
fix gcc 4.6 warning -Wunused-but-set-variable in crypt-gpgme.c
crypt-gpgme.c: In function 'show_one_sig_status':
crypt-gpgme.c:1311:21: warning: variable 'uid' set but not used [-Wunused-but-set-variable]
crypt-gpgme.c: In function 'pgp_gpgme_application_handler':
crypt-gpgme.c:2285:27: warning: variable 'anywarn' set but not used [-Wunused-but-set-variable]
crypt-gpgme.c:2159:8: warning: variable 'start_pos' set but not used [-Wunused-but-set-variable]
crypt-gpgme.c: In function 'crypt_getkeybystr':
crypt-gpgme.c:4094:7: warning: variable 'match' set but not used [-Wunused-but-set-variable]
Signed-off-by: Olaf Hering <olaf@aepfle.de>
Olaf Hering [Mon, 23 May 2011 10:59:12 +0000 (12:59 +0200)]
fix gcc 4.6 warning -Wunused-but-set-variable in rfc1524.c
rfc1524.c: In function 'rfc1524_expand_filename':
rfc1524.c:453:20: warning: variable 'r' set but not used [-Wunused-but-set-variable]
Signed-off-by: Olaf Hering <olaf@aepfle.de>
Olaf Hering [Mon, 23 May 2011 10:59:11 +0000 (12:59 +0200)]
fix gcc 4.6 warning -Wunused-but-set-variable in compose.c
compose.c: In function 'redraw_crypt_lines':
compose.c:113:7: warning: variable 'off' set but not used [-Wunused-but-set-variable]
Signed-off-by: Olaf Hering <olaf@aepfle.de>
Olaf Hering [Mon, 23 May 2011 10:59:11 +0000 (12:59 +0200)]
fix gcc 4.6 warning -Wunused-but-set-variable in imap.c
imap.c: In function 'imap_open_mailbox':
imap.c:558:15: warning: variable 'conn' set but not used [-Wunused-but-set-variable]
imap.c: In function 'imap_open_mailbox_append':
imap.c:777:15: warning: variable 'conn' set but not used [-Wunused-but-set-variable]
imap.c: In function 'imap_subscribe':
imap.c:1816:15: warning: variable 'conn' set but not used [-Wunused-but-set-variable]
imap.c: In function 'imap_complete':
imap.c:1944:15: warning: variable 'conn' set but not used [-Wunused-but-set-variable]
Signed-off-by: Olaf Hering <olaf@aepfle.de>
Brendan Cully [Mon, 23 May 2011 05:13:45 +0000 (22:13 -0700)]
Fix some minor warnings
Michael Elkins [Wed, 30 Mar 2011 14:52:03 +0000 (07:52 -0700)]
fix bug where SIGWICH is ignored when $imap_keepalive < $timeout
closes #3507
David Champion [Mon, 7 Mar 2011 16:17:59 +0000 (10:17 -0600)]
Extra information in mutt version string, redux.
Restores [
f1b4d1d17200] functionality with a slight change to keep
'make dist' working (see backout in [
6b38124a5b81]).
Automake is too much voodoo for me at this time, so I let it keep
VERSION. mutt.h defined MUTT_VERSION as VERSION and the code used that,
so I removed MUTT_VERSION from mutt.h and put it into config.h via
configure.ac. A couple of tweaks were needed elsewhere. This restores
the fancy-versioning feature within mutt and keeps 'make dist' happy.
Brendan Cully [Sun, 6 Mar 2011 15:31:28 +0000 (07:31 -0800)]
Back out
f1b4d1d17200. It is nice, but it breaks make dist.
David Champion [Mon, 3 Jan 2011 19:19:51 +0000 (13:19 -0600)]
Include mq-based patches in the mutt patch list.
This augments the contents of the PATCHES file, so that mq-based builds
do not need to maintain that file.
David Champion [Mon, 3 Jan 2011 19:19:50 +0000 (13:19 -0600)]
Include extra information in mutt version string for developer builds.
When a build is based on an hg clone, include extra information about
the changeset node, distance from a tagged release, and mq applied patch
count.
For example, after this patch is applied my mutt build identifies itself
(in mutt -v and in <show-version>) as:
Mutt 1.5.21+26,mq+22 (
7edc2073390d) (2010-09-15)
I have applied 26 changesets applied since 1.5.21 was tagged, 22 of
which are in my mq patch series. A 1.5.21 release build that is not
mercurial-based would still appear simply as "1.5.21".
Brendan Cully [Tue, 22 Feb 2011 07:12:52 +0000 (23:12 -0800)]
Lower $imap_keepalive default to 300 seconds
Brendan Cully [Thu, 30 Dec 2010 18:09:37 +0000 (10:09 -0800)]
Handle missing : in write_one_header debug statement. Closes #3483
Ralf Wildenhues [Wed, 13 Oct 2010 14:38:30 +0000 (07:38 -0700)]
fix a minor logic error in thread.c, and a dead code line
Michael Elkins [Mon, 11 Oct 2010 14:56:47 +0000 (07:56 -0700)]
Backed out changeset
11399121296a
Michael Elkins [Thu, 7 Oct 2010 21:43:14 +0000 (14:43 -0700)]
support non-breakable space character in the pager
Michael Elkins [Fri, 1 Oct 2010 14:14:24 +0000 (07:14 -0700)]
fix segfault when $message_cachedir is set and opening a POP3 mailbox.
fixes #3457
Roman Kagan [Fri, 1 Oct 2010 01:11:35 +0000 (18:11 -0700)]
use gpgme_strerror() in lieu of gpg_strerror()
Michael Elkins [Wed, 29 Sep 2010 21:17:24 +0000 (14:17 -0700)]
Add $reflow_text boolean, and $reflow_wrap variables to control display of format=flowed text parts.
Michael Elkins [Wed, 29 Sep 2010 20:19:55 +0000 (13:19 -0700)]
fix typoh in comment
Michael Elkins [Wed, 29 Sep 2010 17:26:07 +0000 (10:26 -0700)]
fix handling of format=flowed when $wrap is 0.
Michael Elkins [Thu, 23 Sep 2010 18:06:29 +0000 (11:06 -0700)]
RFC2047 encode/decode the group name in an address list. closes #3317
Ivan Vilata i Balaguer [Thu, 23 Sep 2010 13:56:33 +0000 (06:56 -0700)]
updated Catalan translation
Emanuele Giaquinta [Mon, 20 Sep 2010 13:04:19 +0000 (14:04 +0100)]
Fix typo
Vsevolod Volkov [Thu, 16 Sep 2010 14:19:40 +0000 (07:19 -0700)]
update ru.po for 1.5.21
Michael Elkins [Wed, 15 Sep 2010 18:47:39 +0000 (11:47 -0700)]
fix compile error with --with-regex and --without-wc-funcs
Brendan Cully [Wed, 15 Sep 2010 17:53:31 +0000 (10:53 -0700)]
Belatedly update UPDATING
Brendan Cully [Wed, 15 Sep 2010 17:21:04 +0000 (10:21 -0700)]
mutt-1.5.21 signed
Brendan Cully [Wed, 15 Sep 2010 17:10:39 +0000 (10:10 -0700)]
Added tag mutt-1-5-21-rel for changeset
25a7f8f7d50d
Brendan Cully [Wed, 15 Sep 2010 17:10:39 +0000 (10:10 -0700)]
automatic post-release commit for mutt-1.5.21
Michael Elkins [Wed, 15 Sep 2010 17:05:43 +0000 (10:05 -0700)]
Automated merge with ssh://mutt@dev.mutt.org/mutt
Michael Elkins [Wed, 15 Sep 2010 17:05:07 +0000 (10:05 -0700)]
suppress check_sec errors
Michael Elkins [Tue, 14 Sep 2010 00:25:43 +0000 (17:25 -0700)]
make $mail_check_recent set by default
Emanuele Giaquinta [Mon, 13 Sep 2010 18:00:34 +0000 (19:00 +0100)]
Restore the previous behaviour of checking for new messages in imap folders when mail_check_recent is set.
Michael Elkins [Mon, 13 Sep 2010 02:54:06 +0000 (19:54 -0700)]
add $mail_check_recent boolean to control whether Mutt will notify about all new mail, or just new mail received since the last visit to a mailbox
closes #3271
partly addresses #3310
Michael Elkins [Sun, 12 Sep 2010 17:39:56 +0000 (10:39 -0700)]
fix crash when index contains 0 keys
Michael Elkins [Sat, 11 Sep 2010 14:34:26 +0000 (07:34 -0700)]
Allow setting message security in send2-hook
This patch delays checking the message security options until after the user has an initial chance to edit the message. This allows the security options to be set in a send2-hook when using $edit_headers. Without this patch, the user has no way of automatically setting security based on recipients since the to/cc prompts are bypassed.
The other change in behavior is if the user happened to use a send2-hook to see if the message had security applied *prior* to editing the message, that no longer works.
Michael Elkins [Sat, 11 Sep 2010 14:34:26 +0000 (07:34 -0700)]
support for ncurses extension allowing binding to function keys with modifiers
Michael Elkins [Sat, 11 Sep 2010 14:34:26 +0000 (07:34 -0700)]
allow octal codes with more than three digits
Michael Elkins [Sat, 11 Sep 2010 14:34:26 +0000 (07:34 -0700)]
add DISPNONE to mean no preferred Content-Disposition; make pgp-signature parts DISPNONE for multipart/signed
Michael Elkins [Sat, 11 Sep 2010 14:34:26 +0000 (07:34 -0700)]
fix problem with reply-hook not working when a message/rfc822 attachment is selected
Michael Elkins [Sat, 11 Sep 2010 14:28:48 +0000 (07:28 -0700)]
more lenient RFC2047 decoding: accept illegal spaces and bare question marks in encoded words
Michael Elkins [Sat, 11 Sep 2010 14:24:47 +0000 (07:24 -0700)]
fix crash when new mail is received during IMAP IDLE
closes #3335
Emanuele Giaquinta [Tue, 24 Aug 2010 23:30:49 +0000 (00:30 +0100)]
Use mutt_substrdup in rfc2047_decode_word
Michael Elkins [Tue, 24 Aug 2010 23:40:08 +0000 (16:40 -0700)]
detect failure to decode word and copy raw string instead; avoids calling strlen() on uninitialized memory
closes #2923
Emanuele Giaquinta [Tue, 24 Aug 2010 17:39:51 +0000 (18:39 +0100)]
Fix typo.
Emanuele Giaquinta [Tue, 24 Aug 2010 17:20:56 +0000 (18:20 +0100)]
Do not call regfree if regcomp fails.
The content of the regex_t structure is undefined in this case.
Emanuele Giaquinta [Tue, 24 Aug 2010 16:54:01 +0000 (17:54 +0100)]
use REGCOMP() macro
Michael Elkins [Tue, 24 Aug 2010 17:03:44 +0000 (10:03 -0700)]
add REG_ICASE accidentally removed in changeset
1a35f096c8cb