]> granicus.if.org Git - mutt/log
mutt
12 years agodon't perform rfc3676 space stuffing when recalling a postponed message where it...
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

12 years agomake ascii_strcasecmp properly handle unequal length strings with the same prefix
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

12 years agoAdd compiler and configure info to mutt -v output (closes #3537)
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.

12 years agomutt_buffer_init: just memset the buffer (closes #3588)
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.

12 years agoSplit mutt_buffer_new out of mutt_buffer_init.
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.

12 years agoDo not use stack-allocated space for BUFFERs
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.

12 years agoSet text_flowed after send-hook has been applied (closes #3550)
Dan Fandrich [Mon, 9 Jul 2012 05:40:06 +0000 (22:40 -0700)]
Set text_flowed after send-hook has been applied (closes #3550)

12 years agosilence some style warnings
Brendan Cully [Mon, 9 Jul 2012 05:27:10 +0000 (22:27 -0700)]
silence some style warnings

12 years agoFix some spelling errors (closes #3493)
Antonio Radici [Mon, 9 Jul 2012 00:34:56 +0000 (17:34 -0700)]
Fix some spelling errors (closes #3493)

12 years agognutls:tls_compare_certificates: check strstr for failure (closes #3547)
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).

12 years agocheck_charset: check for NULL before calling strtok_r (closes #3326)
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

12 years agoDo not use SASL for login unless AUTH=LOGIN is advertised (closes #3556)
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)

12 years agoUpdate Italian translation
Marco Paolone [Fri, 25 May 2012 20:30:47 +0000 (22:30 +0200)]
Update Italian translation

12 years agoRemove AM_C_PROTOTYPES from configure.ac (closes #3579)
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.

12 years agoSupport passwords of up to 127 characters.
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.

12 years agognutls: catch gnutls_init failures
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.

12 years agogive user time to read SASL init error message
Brendan Cully [Mon, 30 Apr 2012 05:14:22 +0000 (22:14 -0700)]
give user time to read SASL init error message

13 years agoUpdated Japanese translation
TAKAHASHI Tamotsu [Wed, 21 Dec 2011 06:24:35 +0000 (22:24 -0800)]
Updated Japanese translation

13 years agoDeclare many structures const (closes #3552)
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%.

13 years agoInline some small, often-used functions (closes #3551)
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%.

13 years agobranch merge
Michael Elkins [Mon, 28 Nov 2011 17:47:44 +0000 (09:47 -0800)]
branch merge

13 years agomake kill-eow and kill-word consistent in considering words to consist only of alphan...
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.

13 years agoUpdated French translation
Vincent Lefevre [Sun, 27 Nov 2011 04:41:05 +0000 (20:41 -0800)]
Updated French translation

13 years agoCheck that $sendmail is set to avoid potential segfault. Closes #3548.
Michael Elkins [Fri, 25 Nov 2011 20:52:55 +0000 (12:52 -0800)]
Check that $sendmail is set to avoid potential segfault.  Closes #3548.

13 years agoInvalidate header caches when spam rules change. closes #3473
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.

13 years agoUpdate ChangeLog
Brendan Cully [Sat, 2 Jul 2011 01:21:13 +0000 (18:21 -0700)]
Update ChangeLog

13 years agoversion.sh: fix(?) failure due to bizarre sh quoting rules
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.

13 years agofolder_file: change type of new from short to int
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>
13 years agofix gcc 4.6 warning -Wunused-but-set-variable in pgppubring.c
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>
13 years agoversion.sh: 1003.1 "-k" instead of obsolete "+" syntax (closes: #3528)
David Champion [Wed, 29 Jun 2011 17:01:14 +0000 (12:01 -0500)]
version.sh: 1003.1 "-k" instead of obsolete "+" syntax (closes: #3528)

13 years agoversion.sh: support building outside of source directory
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>.

13 years agoParentheses suggested
Brendan Cully [Sun, 26 Jun 2011 03:07:57 +0000 (20:07 -0700)]
Parentheses suggested

13 years agoDo not subscribe to \noselect mailboxes. Closes #3445
Brendan Cully [Sun, 26 Jun 2011 03:05:37 +0000 (20:05 -0700)]
Do not subscribe to \noselect mailboxes. Closes #3445

13 years agoAvoid creating sparse ctx array when fetch responses are ignored. Closes #3288.
hhorak [Sat, 25 Jun 2011 22:42:52 +0000 (15:42 -0700)]
Avoid creating sparse ctx array when fetch responses are ignored. Closes #3288.

13 years agoSilence some eclipse warnings
Brendan Cully [Sat, 25 Jun 2011 22:23:05 +0000 (15:23 -0700)]
Silence some eclipse warnings

13 years agorfc2047 encode recipient list in resent-to header field. closes #3512
Michael Elkins [Mon, 20 Jun 2011 23:39:27 +0000 (16:39 -0700)]
rfc2047 encode recipient list in resent-to header field.  closes #3512

13 years agocopy idn status when duplicating address object
Michael Elkins [Mon, 20 Jun 2011 23:33:07 +0000 (16:33 -0700)]
copy idn status when duplicating address object

13 years agofix regexp example in documentation
Antonio Radici [Mon, 20 Jun 2011 23:07:27 +0000 (16:07 -0700)]
fix regexp example in documentation

13 years agoRemove the deprecated gnutls_certificate_verify_peers() in favour of the new
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

13 years agoclear logging in message when login succeeded. closes #3524
Michael Elkins [Sun, 19 Jun 2011 04:07:46 +0000 (21:07 -0700)]
clear logging in message when login succeeded.  closes #3524

13 years agofix gcc 4.6 warning -Wunused-but-set-variable in smime.c
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>
13 years agofix gcc 4.6 warning -Wunused-but-set-variable in pgp.c
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>
13 years agofix gcc 4.6 warning -Wunused-but-set-variable in crypt-gpgme.c
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>
13 years agofix gcc 4.6 warning -Wunused-but-set-variable in rfc1524.c
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>
13 years agofix gcc 4.6 warning -Wunused-but-set-variable in compose.c
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>
13 years agofix gcc 4.6 warning -Wunused-but-set-variable in imap.c
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>
13 years agoFix some minor warnings
Brendan Cully [Mon, 23 May 2011 05:13:45 +0000 (22:13 -0700)]
Fix some minor warnings

13 years agofix bug where SIGWICH is ignored when $imap_keepalive < $timeout
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

13 years agoExtra information in mutt version string, redux.
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.

13 years agoBack out f1b4d1d17200. It is nice, but it breaks make dist.
Brendan Cully [Sun, 6 Mar 2011 15:31:28 +0000 (07:31 -0800)]
Back out f1b4d1d17200. It is nice, but it breaks make dist.

14 years agoInclude mq-based patches in the mutt patch list.
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.

14 years agoInclude extra information in mutt version string for developer builds.
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".

13 years agoLower $imap_keepalive default to 300 seconds
Brendan Cully [Tue, 22 Feb 2011 07:12:52 +0000 (23:12 -0800)]
Lower $imap_keepalive default to 300 seconds

14 years agoHandle missing : in write_one_header debug statement. Closes #3483
Brendan Cully [Thu, 30 Dec 2010 18:09:37 +0000 (10:09 -0800)]
Handle missing : in write_one_header debug statement. Closes #3483

14 years agofix a minor logic error in thread.c, and a dead code line
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

14 years agoBacked out changeset 11399121296a
Michael Elkins [Mon, 11 Oct 2010 14:56:47 +0000 (07:56 -0700)]
Backed out changeset 11399121296a

14 years agosupport non-breakable space character in the pager
Michael Elkins [Thu, 7 Oct 2010 21:43:14 +0000 (14:43 -0700)]
support non-breakable space character in the pager

14 years agofix segfault when $message_cachedir is set and opening a POP3 mailbox.
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

14 years agouse gpgme_strerror() in lieu of gpg_strerror()
Roman Kagan [Fri, 1 Oct 2010 01:11:35 +0000 (18:11 -0700)]
use gpgme_strerror() in lieu of gpg_strerror()

14 years agoAdd $reflow_text boolean, and $reflow_wrap variables to control display of format...
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.

14 years agofix typoh in comment
Michael Elkins [Wed, 29 Sep 2010 20:19:55 +0000 (13:19 -0700)]
fix typoh in comment

14 years agofix handling of format=flowed when $wrap is 0.
Michael Elkins [Wed, 29 Sep 2010 17:26:07 +0000 (10:26 -0700)]
fix handling of format=flowed when $wrap is 0.

14 years agoRFC2047 encode/decode the group name in an address list. closes #3317
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

14 years agoupdated Catalan translation
Ivan Vilata i Balaguer [Thu, 23 Sep 2010 13:56:33 +0000 (06:56 -0700)]
updated Catalan translation

14 years agoFix typo
Emanuele Giaquinta [Mon, 20 Sep 2010 13:04:19 +0000 (14:04 +0100)]
Fix typo

14 years agoupdate ru.po for 1.5.21
Vsevolod Volkov [Thu, 16 Sep 2010 14:19:40 +0000 (07:19 -0700)]
update ru.po for 1.5.21

14 years agofix compile error with --with-regex and --without-wc-funcs
Michael Elkins [Wed, 15 Sep 2010 18:47:39 +0000 (11:47 -0700)]
fix compile error with --with-regex and --without-wc-funcs

14 years agoBelatedly update UPDATING
Brendan Cully [Wed, 15 Sep 2010 17:53:31 +0000 (10:53 -0700)]
Belatedly update UPDATING

14 years agomutt-1.5.21 signed
Brendan Cully [Wed, 15 Sep 2010 17:21:04 +0000 (10:21 -0700)]
mutt-1.5.21 signed

14 years agoAdded tag mutt-1-5-21-rel for changeset 25a7f8f7d50d
Brendan Cully [Wed, 15 Sep 2010 17:10:39 +0000 (10:10 -0700)]
Added tag mutt-1-5-21-rel for changeset 25a7f8f7d50d

14 years agoautomatic post-release commit for mutt-1.5.21 mutt-1-5-21-rel
Brendan Cully [Wed, 15 Sep 2010 17:10:39 +0000 (10:10 -0700)]
automatic post-release commit for mutt-1.5.21

14 years agoAutomated merge with ssh://mutt@dev.mutt.org/mutt
Michael Elkins [Wed, 15 Sep 2010 17:05:43 +0000 (10:05 -0700)]
Automated merge with ssh://mutt@dev.mutt.org/mutt

14 years agosuppress check_sec errors
Michael Elkins [Wed, 15 Sep 2010 17:05:07 +0000 (10:05 -0700)]
suppress check_sec errors

14 years agomake $mail_check_recent set by default
Michael Elkins [Tue, 14 Sep 2010 00:25:43 +0000 (17:25 -0700)]
make $mail_check_recent set by default

14 years agoRestore the previous behaviour of checking for new messages in imap folders when...
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.

14 years agoadd $mail_check_recent boolean to control whether Mutt will notify about all new...
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

14 years agofix crash when index contains 0 keys
Michael Elkins [Sun, 12 Sep 2010 17:39:56 +0000 (10:39 -0700)]
fix crash when index contains 0 keys

14 years agoAllow setting message security in send2-hook
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.

14 years agosupport for ncurses extension allowing binding to function keys with modifiers
Michael Elkins [Sat, 11 Sep 2010 14:34:26 +0000 (07:34 -0700)]
support for ncurses extension allowing binding to function keys with modifiers

14 years agoallow octal codes with more than three digits
Michael Elkins [Sat, 11 Sep 2010 14:34:26 +0000 (07:34 -0700)]
allow octal codes with more than three digits

14 years agoadd DISPNONE to mean no preferred Content-Disposition; make pgp-signature parts DISPN...
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

14 years agofix problem with reply-hook not working when a message/rfc822 attachment is selected
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

14 years agomore lenient RFC2047 decoding: accept illegal spaces and bare question marks in encod...
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

14 years agofix crash when new mail is received during IMAP IDLE
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

14 years agoUse mutt_substrdup in rfc2047_decode_word
Emanuele Giaquinta [Tue, 24 Aug 2010 23:30:49 +0000 (00:30 +0100)]
Use mutt_substrdup in rfc2047_decode_word

14 years agodetect failure to decode word and copy raw string instead; avoids calling strlen...
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

14 years agoFix typo.
Emanuele Giaquinta [Tue, 24 Aug 2010 17:39:51 +0000 (18:39 +0100)]
Fix typo.

14 years agoDo not call regfree if regcomp fails.
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.

14 years agouse REGCOMP() macro
Emanuele Giaquinta [Tue, 24 Aug 2010 16:54:01 +0000 (17:54 +0100)]
use REGCOMP() macro

14 years agoadd REG_ICASE accidentally removed in changeset 1a35f096c8cb
Michael Elkins [Tue, 24 Aug 2010 17:03:44 +0000 (10:03 -0700)]
add REG_ICASE accidentally removed in changeset 1a35f096c8cb

14 years agodo not print debug message on ENOENT
Michael Elkins [Tue, 24 Aug 2010 16:38:14 +0000 (09:38 -0700)]
do not print debug message on ENOENT

14 years agoavoid c99 syntax for backwards compat
Michael Elkins [Sat, 14 Aug 2010 16:18:30 +0000 (09:18 -0700)]
avoid c99 syntax for backwards compat

14 years agoFix comparison signedness warnings.
Matthias Andree [Fri, 6 Aug 2010 19:52:53 +0000 (21:52 +0200)]
Fix comparison signedness warnings.

14 years agoFix bug in imap_keepalive() which erroneously free Context when the IMAP connection...
Michael Elkins [Thu, 12 Aug 2010 23:04:34 +0000 (16:04 -0700)]
Fix bug in imap_keepalive() which erroneously free Context when the IMAP connection is shut down by the server.

Closes #3410

14 years agourl_parse_mailto should return 0 on success
Michael Elkins [Thu, 12 Aug 2010 23:04:34 +0000 (16:04 -0700)]
url_parse_mailto should return 0 on success

fix memory leak errors when unable to parse mailto: URL

closes #3441

14 years agoalways update message body size when parsing a maildir message
Michael Elkins [Fri, 13 Aug 2010 00:08:34 +0000 (17:08 -0700)]
always update message body size when parsing a maildir message

14 years agocall va_end() even when vasprintf returns <0
Michael Elkins [Thu, 12 Aug 2010 16:22:07 +0000 (09:22 -0700)]
call va_end() even when vasprintf returns <0

14 years agorename mutt_sprintf() to safe_asprintf() to match the GNU extension that performs...
Michael Elkins [Tue, 10 Aug 2010 03:48:26 +0000 (20:48 -0700)]
rename mutt_sprintf() to safe_asprintf() to match the GNU extension that performs a similar task

14 years agoIn postpone.c, function mutt_num_postponed, the old {{{OldPostponed}}} is never
Vincent Lefevre [Mon, 9 Aug 2010 17:27:05 +0000 (10:27 -0700)]
In postpone.c, function mutt_num_postponed, the old {{{OldPostponed}}} is never
freed.

closes #3442

14 years agoclear the real name when $reverse_realname is unset and a match is hit so that
Michael Elkins [Mon, 9 Aug 2010 16:38:27 +0000 (09:38 -0700)]
clear the real name when $reverse_realname is unset and a match is hit so that
$realname can be set in a reply- or send-hook

closes #3427