Thomas Roessler [Wed, 20 Oct 1999 09:15:03 +0000 (09:15 +0000)]
Flags should only be modified using mutt_set_flag(). Everything
else leads to neglected side effects. In this case, index colors,
searches and possibly other side effects were ignored when a message
which resides on an IMAP folder was read.
Thomas Roessler [Tue, 19 Oct 1999 14:36:00 +0000 (14:36 +0000)]
Add AUTHENTICATE=ANONYMOUS support to the IMAP authentication
methods. This is, for instance, needed to access the cyrus-related
mailing lists' archives at CMU.
Thomas Roessler [Thu, 23 Sep 1999 21:03:00 +0000 (21:03 +0000)]
Brendan Cully's latest changes:
* includes all of my last patch, since it hasn't been committed yet.
* catches a couple segfault problems if Context is NULL.
* works harder to avoid sending null STORE FLAGS commands. May not
be perfect yet, but also has extra debugging code.
* has the beginnings of a more interactive IMAP error handler.
Doesn't do anything yet, I'm just including it because I want to
get the rest of the patch out.
Thomas Roessler [Thu, 23 Sep 1999 20:09:59 +0000 (20:09 +0000)]
This small patch:
* catches a possible null-pointer dereference in mx_close_mailbox when
logging out of the server.
* fixes IMAP tab-completion cosmetics (slightly broken with last
Cyrus-compatibility updates)
* adds a bit to the IMAP part of the manual.
Thomas Roessler [Sun, 12 Sep 1999 07:45:30 +0000 (07:45 +0000)]
The attached patch (imap-turbocharge.diff):
* changes mutt_buffy_check to only poll the selected folder when it
is opened, not all mailboxes (unless the timeout has expired).
This is a noticeable win if you have a few IMAP mailboxes.
* sets the default checkinterval to 60 seconds from 0. Things are
much much slower with 0.
* makes some cosmetic renames
* moves lots of generic imap stuff into a separate file, imap/util.c
* abstracts the process of sending a command to an IMAP server a bit
better (lots more to do here, though).
* moves the message-set creation code used by the new fastdelete
code into its own function, since it is generally useful.
* implements server-side copy of messages. Tagged messages are
copied in one command, thanks to the message-set function. Speedy!
Thomas Roessler [Wed, 8 Sep 1999 06:05:51 +0000 (06:05 +0000)]
The attached patch:
* gets Mutt to properly log off the IMAP server when quitting. Clients
don't care, but it's polite and proper.
* further updates the flags changes from yesterday
* uses CLOSE instead of EXPUNGE when closing a mailbox and purging
messages, for some slight speed gain.
* purges all messages marked for deletion in one command (if purging),
making for very cool speed gains switching mailboxes if you're on,
say, a few high volume mailing lists. Yeah, baby! (I personally love
this one).
Thomas Roessler [Tue, 7 Sep 1999 06:53:08 +0000 (06:53 +0000)]
* redoes the folder update optimisation I did yesterday. It's somewhat
cleaner and less invasive, and I'm not so worried about memory leaks
now.
* Fixes the bug where mutt would append a '/' to $folder even if it
was only {mailhost}, causing mutt to browse the root directory
instead of the home directory.
* includes a first stab at preserving the D flag on the IMAP server.
Now if you answer no to 'Purge deleted', the server still stores
the messages as deleted, but doesn't expunge them on exit.
NOTE: this is a first attempt. Play around, but don't mark things
as deleted that you'd be sorry to see disappear.
Thomas Roessler [Fri, 3 Sep 1999 18:16:59 +0000 (18:16 +0000)]
- If the name of the folder returned by an IMAP server is empty, Mutt
could segfault in the browser window attempting to display it.
- add_folder in browser.c looks like it got corrupted in some CVS
update. A small patch makes things work again for
examine_mailboxes.
(From: Brendan Cully <brendan@kublai.com>)