that have been moved/copied local->imap.
o Only checkValidity of a folder if we are not already waiting on the result
of such a check. (Carsten, is this ok? They stack and put pressure on the
server when you copy a lot of messages to an imap folder, which results in
a lot of getFolder() while the transfers are going on.)
o Add folder names to debug statements.
svn path=/trunk/kdepim/; revision=223733
o same for slotExpandAll
o Deselect all but the parent before opening to avoid flicker, when opening
via mouse also.
svn path=/trunk/kdepim/; revision=222260
This is a set of changes that is well test by myself and others.
The following bug fixes amongst others are included:
Compilation fix: the certificate dialog now compiles
Mjr bugfix: Prevent mail loss when kmail crashes while editing a
drafts message
Mjr bugfix: Fix erratic folder changing when clicking on the folder
tree
Mjr bugfix: Prevent mail loss when applying filters
The follow features have been implemented:
* KMail is now a KPart and can be embedded in the Kontact/Kaplan
container applications along with other KDE PIM applications.
* Remove duplicates function for removing duplicate messages in
a folder.
* Messages can be dragged and dropped on a composer window to
add those messages as attachments.
* Deletion in threaded mode is improved, child messages will no
longer be scattered when a parent is deleted.
* Multiple messages can now be selected in the search dialog.
* New context menu in the search dialog with Move, Copy, Reply
etc. actions for operating on selected messages.
* Search criteria in the search dialog now supports more types
of rules and a variable number of rules.
* Faster searching of large messsages.
* 'Search Folders' which are a KMail folder that stores a search
expression and is dynamically updated (also known as virtual
folders).
* The separate window for reading mail has a context menu with
Reply, Copy etc. actions for operating on the message
displayed.
* The separate window for reading mail has a tool bar.
* Startup of KMail is faster.
* Switching between folders is faster.
* The contents of all composer windows are saved to disk on
composer window creation and then periodically saved to
prevent mail loss in the result of a system crash.
* The state of KMail folders is saved to disk periodically to
prevent status information loss in the result of a system
crash.
Note after start KMail switching to folders for the first time will
slow as the format of the .sorted file has changed.
Enjoy!
svn path=/trunk/kdenetwork/kmail/; revision=195825
for me the "crash on reply" and "forward message crash" bugs and people
on IRC have been insisting on committing it. So yeah, asynchronous message
handling in KMail is in!!! May the God of Coding have mercy on us...
svn path=/trunk/kdenetwork/kmail/; revision=193386
before I started to mess it up
void KMImapJob::slotGetMessageResult(KIO::Job * job)
{
+ if( !mMsg || !mMsg->parent() )
+ return;
KMAcctImap *account = static_cast<KMFolderImap*>(mMsg->parent())->account();
svn path=/trunk/kdenetwork/kmail/; revision=181310
#0 0x4013ea80 in QGuardedPtrPrivate::object() const (this=0x0)
at /coolo/prod/qt-copy/include/qguardedptr.h:131
#1 0x4016b352 in QGuardedPtr<KMAcctImap>::operator KMAcctImap*() const (this=0x91627f8)
at /coolo/prod/qt-copy/include/qguardedptr.h:112
#2 0x4016afd4 in KMFolderImap::account() (this=0x91626c0)
at /coolo/prod/kdenetwork/kmail/kmfolderimap.h:103
#3 0x40245146 in KMImapJob::slotGetMessageResult(KIO::Job*) (this=0x8bf1ef0,
job=0x8adbc18) at /coolo/prod/kdenetwork/kmail/kmfolderimap.cpp:1163
- KMAcctImap *account = static_cast<KMFolderImap*>(mMsg->parent())->account();
+ KMMessage *msg = mMsgList.first();
+ KMFolderImap * folder = static_cast<KMFolderImap*>(msg->parent());
+ if (!folder) // guarded ptr - can be 0
+ return;
+ KMAcctImap *account = folder->account();
(there seems to be more places in the code where this construct is used though)
CCMAIL: kmail@kde.org
svn path=/trunk/kdenetwork/kmail/; revision=181228
debug output (only for the moment) to the IMAP methods to find out why it's broken
(finally got a few IMAP accounts, hopefully today few fixes for it will land)
svn path=/trunk/kdenetwork/kmail/; revision=169280
Every action on an imap-message first checks if the message is complete and initiates a download if appropriate
A modal progress-dialog is shown when the message(s) is/are transferred
svn path=/trunk/kdenetwork/kmail/; revision=159657
Activate them via View-menu or rmb-menu from the tree-header.
Changed the qpopup for the folder-context-menu to kpopup to be consistent with the rest.
svn path=/trunk/kdenetwork/kmail/; revision=153547
While it's not absolutely critical as a good server shouldn't do that, it
would still be nice, if the tag could be moved for this and Ingo's latest
commit.
diff -u -3 -p -r1.55 kmfolderimap.cpp
--- kmfolderimap.cpp 2002/03/05 06:43:48 1.55
+++ kmfolderimap.cpp 2002/03/24 13:33:11
@@ -589,6 +589,7 @@ kdDebug(5006) << "KMFolderImap::slotChec
if (uidValidity() != uidv)
{
expunge();
+ mLastUid = 0;
} else {
if (!mCheckFlags)
startUid = QString::number(lastUid() + 1);
svn path=/trunk/kdenetwork/kmail/; revision=144850