in getMsg broke things. As the msgLength is not saved in the index I have to take a different approach to override LOD for
small messages: after the header was downloaded we check the size again and then fall back to loading "TEXT".
CCMAIL: 72432-done@bugs.kde.org
svn path=/trunk/kdepim/; revision=279791
flag. Instead, explicitly set the message to read (set \seen flag) on the
server when it is marked as read locally. The reasons being:
o the local and remote status don't go out of sync leading to incorrect
unread counts
o it makes using the same imap account with multiple clients possible
o fixes a couple of bugs with the external reader window as a side effect
CCMAIL: 71596-done@bugs.kde.org
CCMAIL: 65005-done@bugs.kde.org
svn path=/trunk/kdepim/; revision=277411
For these messages the additional server roundtrips slow things down. Nice side effect: the msg size is displayed correctly
in the mimetree. Messages that are already in your folder will be loaded with lod the first time because the size is unknown.
After that (and for all new messages) this should work as expected.
Happy New Year :-)
svn path=/trunk/kdepim/; revision=275786
full server roundtrip for each mail but processing them in chunks according
to their target set of flags. This is especially noticeable with "mark all
as read" on a large folder. That goes from minutes to seconds.
svn path=/trunk/kdepim/; revision=275461
The result is that msgs with only one part (text) are not updated anymore and multipart msgs only once or twice.
The remaining bit of a flicker with multipart is only due to the fact that the msg has to be repainted
so I doubt that there is much we can do about that.
svn path=/trunk/kdepim/; revision=269051
active readerwindow to ask that for the attachmentstrategy but pass it
along with the folder job, so it is available when the mime structure
comes in with load on demand. Remove unused KMKernel::activeReaderWindow
which doesn't work in kontact anyhow.
CCMAIL: 67644-done@bugs.kde.org
svn path=/trunk/kdepim/; revision=268877
o make imapjobs refcount the folders they operate on via open/close instead
of relying on the account to keep track of open folders and close them
in displayProgress()
o keep not only the destination but also the source folder in each imapjob
so they can be closed if need be
o remove tempOpenFolder() itself and all its uses
svn path=/trunk/kdepim/; revision=244918
calling open() once and close() in all code paths, including error paths.
Also make sure that folders are closed if a job is canceled.
svn path=/trunk/kdepim/; revision=244640
- Delete messages during transfer
- Minor cleanups
- Do not display headers when you skip over messages
CCMAIL: 62943-done@bugs.kde.org
svn path=/trunk/kdepim/; revision=243659
dded KMMessage::fromByteArray(). Uses less memory (no intermediate QCString built) and fixes the off-by-one error in a central place.
svn path=/trunk/kdepim/; revision=226543
Getting imap working again. Carsten please test.
Tomorrow cachedimap and trying to figure out what differs between
make_it_cool and HEAD so that HEAD crashes all the time, could use
some help with that.
CCMAIL: burghardt@kde.org
svn path=/trunk/kdenetwork/kmail/; revision=194974
Adding those, not used anywhere yet. New diff sent to the list. I'm just sick
of working on them in make_it_cool and moving to HEAD manually to test.
svn path=/trunk/kdenetwork/kmail/; revision=193252