diff options
author | Gregorio Guidi <greg_g@gentoo.org> | 2005-02-27 23:00:25 +0000 |
---|---|---|
committer | Gregorio Guidi <greg_g@gentoo.org> | 2005-02-27 23:00:25 +0000 |
commit | a88bc50b4493a962bb7d11b705672e324bc2a5b8 (patch) | |
tree | ec3b4a6205119259402bf47fa6eb1aa7403b7fdd /kde-base/kdepim/files | |
parent | Added ~sparc keyword. (diff) | |
download | gentoo-2-a88bc50b4493a962bb7d11b705672e324bc2a5b8.tar.gz gentoo-2-a88bc50b4493a962bb7d11b705672e324bc2a5b8.tar.bz2 gentoo-2-a88bc50b4493a962bb7d11b705672e324bc2a5b8.zip |
New version.
(Portage version: 2.0.51-r15)
Diffstat (limited to 'kde-base/kdepim/files')
-rw-r--r-- | kde-base/kdepim/files/digest-kdepim-3.4.0_rc1 | 1 | ||||
-rw-r--r-- | kde-base/kdepim/files/kdepim-3.4.0_rc1-dimap-cache-loss.patch | 89 |
2 files changed, 90 insertions, 0 deletions
diff --git a/kde-base/kdepim/files/digest-kdepim-3.4.0_rc1 b/kde-base/kdepim/files/digest-kdepim-3.4.0_rc1 new file mode 100644 index 000000000000..96d7917ae66a --- /dev/null +++ b/kde-base/kdepim/files/digest-kdepim-3.4.0_rc1 @@ -0,0 +1 @@ +MD5 74359ff04bd4ca12538fffb2217ac789 kdepim-3.4.0-rc1.tar.bz2 11405429 diff --git a/kde-base/kdepim/files/kdepim-3.4.0_rc1-dimap-cache-loss.patch b/kde-base/kdepim/files/kdepim-3.4.0_rc1-dimap-cache-loss.patch new file mode 100644 index 000000000000..59ea61bb4337 --- /dev/null +++ b/kde-base/kdepim/files/kdepim-3.4.0_rc1-dimap-cache-loss.patch @@ -0,0 +1,89 @@ +--- kdepim-3.4.0/kioslaves/imap4/imap4.cc 2005-02-23 12:08:47.000000000 +0100 ++++ kdepim-3.4.0/kioslaves/imap4/imap4.cc 2005-02-27 00:39:39.231224880 +0100 +@@ -1220,9 +1220,9 @@ + void + IMAP4Protocol::special (const QByteArray & aData) + { ++ kdDebug(7116) << "IMAP4Protocol::special" << endl; + if (!makeLogin()) return; + +- kdDebug(7116) << "IMAP4Protocol::special" << endl; + QDataStream stream(aData, IO_ReadOnly); + + int tmp; +@@ -1249,6 +1249,12 @@ + { + // NOOP + imapCommand *cmd = doCommand(imapCommand::clientNoop()); ++ if (cmd->result () != "OK") ++ { ++ completeQueue.removeRef (cmd); ++ error (ERR_CONNECTION_BROKEN, myHost); ++ return; ++ } + completeQueue.removeRef (cmd); + finished(); + break; +@@ -1271,6 +1277,7 @@ + imapCommand *cmd = doCommand(imapCommand::clientUnsubscribe(aBox)); + if (cmd->result () != "OK") + { ++ completeQueue.removeRef (cmd); + error(ERR_SLAVE_DEFINED, i18n("Unsubscribe of folder %1 " + "failed. The server returned: %2") + .arg(_url.prettyURL()) +@@ -1291,6 +1298,7 @@ + imapCommand *cmd = doCommand(imapCommand::clientSubscribe(aBox)); + if (cmd->result () != "OK") + { ++ completeQueue.removeRef (cmd); + error(ERR_SLAVE_DEFINED, i18n("Subscribe of folder %1 " + "failed. The server returned: %2") + .arg(_url.prettyURL()) +@@ -1340,6 +1348,7 @@ + "\\SEEN \\ANSWERED \\FLAGGED \\DRAFT")); + if (cmd->result () != "OK") + { ++ completeQueue.removeRef (cmd); + error(ERR_COULD_NOT_WRITE, i18n("Changing the flags of message %1 " + "failed.").arg(_url.prettyURL())); + return; +@@ -1351,6 +1360,7 @@ + clientStore (aSequence, "+FLAGS.SILENT", newFlags)); + if (cmd->result () != "OK") + { ++ completeQueue.removeRef (cmd); + error(ERR_COULD_NOT_WRITE, i18n("Changing the flags of message %1 " + "failed.").arg(_url.prettyURL())); + return; +@@ -1632,10 +1642,9 @@ + void + IMAP4Protocol::slave_status () + { +- kdDebug(7116) << "IMAP4::slave_status" << endl; +-// KIO::TCPSlaveBase::slave_status(); +- slaveStatus (myHost, !(getState () == ISTATE_NO)); +-// slaveStatus(QString::null,false); ++ bool connected = (getState() != ISTATE_NO) && isConnectionValid(); ++ kdDebug(7116) << "IMAP4::slave_status " << connected << endl; ++ slaveStatus ( connected ? myHost : QString::null, connected ); + } + + void +@@ -1838,6 +1847,7 @@ + + kdDebug(7116) << "IMAP4::makeLogin - checking login" << endl; + bool alreadyConnected = getState() == ISTATE_CONNECT; ++ kdDebug(7116) << "IMAP4::makeLogin - alreadyConnected " << alreadyConnected << endl; + if (alreadyConnected || connectToHost (myHost.latin1(), myPort)) + { + // fcntl (m_iSock, F_SETFL, (fcntl (m_iSock, F_GETFL) | O_NDELAY)); +@@ -1982,6 +1992,8 @@ + } + } + completeQueue.removeRef (cmd); ++ } else { ++ kdDebug(7116) << "makeLogin - NO login" << endl; + } + + return getState() == ISTATE_LOGIN; |