Brendan Cully [Thu, 12 Jan 2006 06:07:50 +0000 (06:07 +0000)]
Teach mutt to expand mutt variables as it does environment
variables. For example, you might put something like this into a hook:
set sendmail="mysmtp -f $from" Allow user-definable variables starting
with my_. Environment variables take precedence, and expansion does not
occur in shell-escape.
Thomas Roessler [Mon, 9 Jan 2006 19:43:58 +0000 (19:43 +0000)]
Adding pattern group support; see
http://does-not-exist.org/mail-archives/mutt-dev/msg05693.html
for instructions. The ungroup command is not yet implemented,
and documentation is lacking.
Brendan Cully [Wed, 4 Jan 2006 17:28:32 +0000 (17:28 +0000)]
Zero out IMAP_LIST before each imap_cmd_step in browser to avoid bogus
matches when the untagged response isn't a LIST response. Phil Pennock
diagnosed and proposed a patch for this bug.
Brendan Cully [Fri, 23 Dec 2005 18:20:02 +0000 (18:20 +0000)]
Don't evaluate hcache unless uidnext > 0. This shouldn't happen, but it
was reported to. I probably have to be a lot more careful about the
uid datatypes but I'm too lazy to clean up right now.
Brendan Cully [Fri, 23 Dec 2005 17:53:23 +0000 (17:53 +0000)]
IMAP message cache fixes: embed UIDVALIDITY in the cache file name, only
delete deleted messages at sync time. Also use an alias to make the sync
code clearer.
Brendan Cully [Thu, 22 Dec 2005 17:02:12 +0000 (17:02 +0000)]
Check all connections instead of just the first when NONEW is set in
imap_conn_find. Wait for root delimiter check to complete before SELECTing
since we may need it to form the mailbox name.
Brendan Cully [Wed, 21 Dec 2005 17:23:19 +0000 (17:23 +0000)]
Cache UIDVALIDITY/UIDNEXT as header cache metadata, only attempt to
fetch up to UIDNEXT from the header cache. Also a cosmetic correction:
Display the actual first message being fetched (after hcache) instead of 1.
Brendan Cully [Tue, 20 Dec 2005 17:50:46 +0000 (17:50 +0000)]
Refactor header cache a bit to provide (fetch|store)_raw functions. These
will let me keep folder metadata (UIDVALIDITY, NEXT, msg count etc) in the
cache, which will help to sync more quickly.
Brendan Cully [Mon, 19 Dec 2005 18:13:28 +0000 (18:13 +0000)]
ChangeLog.old was just old ChangeLog entries with different formatting - I
think it's time to put it out to pasture. I've moved all pre-1.4 entries
from ChangeLog into ChangeLog.old now. This should have the nice
side-effect of making the git mirror grow a little more slowly.
Brendan Cully [Mon, 19 Dec 2005 17:40:02 +0000 (17:40 +0000)]
More IMAP header cache cleanup: remove expunged entries from cache, and
don't bother checking the cache for mail that's arrived since the mailbox
was opened. TODO: cache UIDNEXT, only check the cache for messages up to
cached value.
Brendan Cully [Mon, 19 Dec 2005 17:37:35 +0000 (17:37 +0000)]
Avoid a possible race when entering the IDLE command - if new mail notification
is received before the + response, mutt may attempt to send a fetch command
before it realises it's idling.
Brendan Cully [Mon, 19 Dec 2005 17:31:03 +0000 (17:31 +0000)]
Cache server-side flags, don't send flag updates if mutt's are the same.
This can happen if a flag is toggled and toggled back, or we receive
server updates, and the cache will make much faster sync possible later.
Brendan Cully [Fri, 16 Dec 2005 18:18:52 +0000 (18:18 +0000)]
New new mail detection code. Now we use UIDVALIDITY/UIDNEXT to detect whether
a mailbox has been changed since we last saw it, rather than the more
ephemeral RECENT flag. We also keep a cache of mailboxes we've visited or
called STATUS on, which might eventually make for better information in
the browser and mailbox views. Big changes, probably not stable. IWFM.
Brendan Cully [Tue, 13 Dec 2005 06:52:23 +0000 (06:52 +0000)]
Restore IMAP postponed check in the wake of the buffy pipelining patch.
Fall back to NOOP if IDLE poll fails.
Allow for untagged messages when starting IDLE.
Free idata->cmdbuf in imap_free_idata.
Brendan Cully [Mon, 12 Dec 2005 17:24:11 +0000 (17:24 +0000)]
. Add $imap_idle boolean to disable the IDLE extension (may be needed with some
servers like the particular version of dovecot I tried yesterday).
. Don't attempt to poll mailboxes with connections that haven't yet
authenticated.
. Recognize NO responses again (silly typo, spotted by Charlie Allom)
Brendan Cully [Sun, 11 Dec 2005 22:51:29 +0000 (22:51 +0000)]
IMAP command batching code, used to pipeline mailbox poll requests.
Up to 10 poll commands will be sent at a time (tunable in imap_private.h).
This is a huge win on my currently awful wireless link. It takes a knife
to a lot of fundamental IMAP code (mostly for the better), so it may
have destabilised things. Time for some brave (or lazy non-Changelog-reading)
testers to report... next up, IDLE support.