-
Volker Krause authored
Merged revisions 1140352,1140363,1140386,1140420,1140424,1140427,1140448-1140449,1140453-1140456,1140478,1140545-1140546,1140627,1140629,1140631,1140635,1140652-1140653,1140665,1140677,1140691,1140695-1140696,1140703-1140704 via svnmerge from https://vkrause@svn.kde.org/home/kde/trunk/KDE/kdepim ................ r1140352 | winterz | 2010-06-20 15:27:15 +0200 (Sun, 20 Jun 2010) | 6 lines foward port SVN commit 1139654 by winterz from 4.4 branch: when checking the mimetype from the TransferJob, make sure to also look for mimetype aliases (per dfaure) and then be careful still about 0 KMimeType::Ptr's. CCBUG: 228644 ................ r1140363 | mlaurent | 2010-06-20 16:02:13 +0200 (Sun, 20 Jun 2010) | 2 lines Try to migrate type of folder ................ r1140386 | tokoe | 2010-06-20 16:37:29 +0200 (Sun, 20 Jun 2010) | 4 lines Use Akonadi item instead of 'konsole' icon to avoid confusion BUG: 214825 ................ r1140420 | mlaurent | 2010-06-20 19:00:16 +0200 (Sun, 20 Jun 2010) | 2 lines It's hasEntry not hasGroup ................ r1140424 | mlaurent | 2010-06-20 19:05:44 +0200 (Sun, 20 Jun 2010) | 2 lines Remove duplicate code ................ r1140427 | mlaurent | 2010-06-20 19:16:17 +0200 (Sun, 20 Jun 2010) | 2 lines Not necessary ................ r1140448 | krake | 2010-06-20 20:31:51 +0200 (Sun, 20 Jun 2010) | 2 lines Fix intentations ................ r1140449 | krake | 2010-06-20 20:32:27 +0200 (Sun, 20 Jun 2010) | 2 lines Disable verbose single item debug output ................ r1140453 | tilladam | 2010-06-20 20:54:32 +0200 (Sun, 20 Jun 2010) | 7 lines Handle (re)connects via task scheduler special tasks. Use a special task in the taskscheduler, prepended to all queues, to model that login needs to succeed before anything else can proceed. This allows handling transient errors with automatic reconnects while still allowing permanent (configuration) problems to cause the resource to go offline explictely and block further processing. ................ r1140454 | tilladam | 2010-06-20 20:54:34 +0200 (Sun, 20 Jun 2010) | 2 lines Make sure to complete the extra info jobs even if the server doesn't support any of the extra info capabilities. ................ r1140455 | tilladam | 2010-06-20 20:54:36 +0200 (Sun, 20 Jun 2010) | 2 lines Make sure to fetch the error attribute as well, when the monitor notifies us of changes. ................ r1140456 | tilladam | 2010-06-20 20:54:38 +0200 (Sun, 20 Jun 2010) | 1 line Reset the messageviewer when the item it is showing goes away. ................ r1140478 | krake | 2010-06-20 22:08:28 +0200 (Sun, 20 Jun 2010) | 3 lines When doing a local import of DIMAP cache, either because IMAP import failed or because it was explicitly requested, do it like a migration task. I.e. defer migrateNext() after import, show progress on import, etc. ................ r1140545 | winterz | 2010-06-21 00:00:20 +0200 (Mon, 21 Jun 2010) | 5 lines merge forward SVN commit 1138403 by winterz: another attempt at making sure this dialog always shows on top kolab/issue4405 ................ r1140546 | winterz | 2010-06-21 00:01:36 +0200 (Mon, 21 Jun 2010) | 12 lines SVN_SILENT: Recorded merge of revisions 1138403 via svnmerge from https://svn.kde.org/home/kde/branches/kdepim/enterprise/kdepim ........ r1138403 | winterz | 2010-06-15 19:29:52 -0400 (Tue, 15 Jun 2010) | 4 lines another attempt at making sure this dialog always shows on top kolab/issue4405 MERGE: trunk ........ ................ r1140627 | pino | 2010-06-21 10:14:49 +0200 (Mon, 21 Jun 2010) | 2 lines use QString::fromLatin1() to compile without cast from ascii enabled ................ r1140629 | ervin | 2010-06-21 10:18:18 +0200 (Mon, 21 Jun 2010) | 2 lines Make extra sure we had attributes and then a job created. ................ r1140631 | ervin | 2010-06-21 10:22:56 +0200 (Mon, 21 Jun 2010) | 2 lines Give a chance to the next part even if we had no annotations. ................ r1140635 | ervin | 2010-06-21 10:40:37 +0200 (Mon, 21 Jun 2010) | 3 lines Initialized merge tracking via "svnmerge" with revisions "1-1127090" from svn+ssh://ervin@svn.kde.org/home/kde/branches/work/~ervin/imap-resource-refactor ................ r1140652 | smartins | 2010-06-21 11:20:48 +0200 (Mon, 21 Jun 2010) | 11 lines SVN_SILENT: Blocked revisions 1140650 via svnmerge ........ r1140650 | smartins | 2010-06-21 09:19:36 +0000 (Mon, 21 Jun 2010) | 4 lines Backport r1140155 by smartins from branch 4.4 to e35: Crash even less. ........ ................ r1140653 | ervin | 2010-06-21 11:21:22 +0200 (Mon, 21 Jun 2010) | 111 lines Merged revisions 1127167,1130767,1131052,1131077,1138170,1138679,1138724,1138728-1138730,1138732-1138733,1138736,1138738-1138739,1138742,1139055,1139058,1139061,1139074,1139084 via svnmerge from svn+ssh://ervin@svn.kde.org/home/kde/branches/work/~ervin/imap-resource-refactor ........ r1127167 | ervin | 2010-05-15 18:57:07 +0200 (Sat, 15 May 2010) | 2 lines Get the settings loading logic outside of ImapAccount. ........ r1130767 | ervin | 2010-05-26 11:39:15 +0200 (Wed, 26 May 2010) | 2 lines Be less chatty about the flags. ........ r1131052 | ervin | 2010-05-27 08:07:37 +0200 (Thu, 27 May 2010) | 3 lines Move the password requesting logic in its own class. Much more readable this way, and improve modularity which will help unit testing. ........ r1131077 | ervin | 2010-05-27 09:58:36 +0200 (Thu, 27 May 2010) | 3 lines Move the Settings->ImapAccount loading out of the resource itself. Settings provides this service now. ........ r1138170 | ervin | 2010-06-15 11:15:06 +0200 (Tue, 15 Jun 2010) | 2 lines Header cleanup. ........ r1138679 | ervin | 2010-06-16 15:36:44 +0200 (Wed, 16 Jun 2010) | 2 lines Fix enum declaration. ........ r1138724 | ervin | 2010-06-16 17:34:58 +0200 (Wed, 16 Jun 2010) | 2 lines Separate SessionUiProxy so that it can be used in several places. ........ r1138728 | ervin | 2010-06-16 17:37:07 +0200 (Wed, 16 Jun 2010) | 9 lines Add a SessionPool class which has the responsibility of creating the sessions up to the point where they're authenticated. Client code can request a session to do its job, and release it once its done in order to reuse it. Released sessions are not closed, so that we don't need to pay the authentication price if some session is released and already ready. ........ r1138729 | ervin | 2010-06-16 17:38:17 +0200 (Wed, 16 Jun 2010) | 4 lines Build the session pool and its tests. Also split the resource into a static lib and the resource itself to make it easier to link to the relevant parts for the tests. ........ r1138730 | ervin | 2010-06-16 17:40:08 +0200 (Wed, 16 Jun 2010) | 6 lines Make it slightly lower level and let the subscription dialog do its own authentication. No need to go through ImapAccount to authenticate. Slight duplication of code, but definitely more readable and less black magic this way. Also we don't want this dialog to eat a slot in our session pool. ........ r1138732 | ervin | 2010-06-16 17:40:48 +0200 (Wed, 16 Jun 2010) | 2 lines Port to the subscription dialog changes. ........ r1138733 | ervin | 2010-06-16 17:41:26 +0200 (Wed, 16 Jun 2010) | 2 lines Port to the new SessionPool. ........ r1138736 | ervin | 2010-06-16 17:42:15 +0200 (Wed, 16 Jun 2010) | 4 lines No need to manage sessions into ImapAccount anymore. ImapAccount now does only one thing: carry the info about an account (password excluded). ........ r1138738 | ervin | 2010-06-16 17:48:51 +0200 (Wed, 16 Jun 2010) | 2 lines The session pool now takes ownership of the given ImapAccount. ........ r1138739 | ervin | 2010-06-16 17:40:45 +0200 (Wed, 16 Jun 2010) | 3 lines Finish cleaning up ImapAccount which doesn't need to be a QObject anymore. ........ r1138742 | ervin | 2010-06-16 17:57:25 +0200 (Wed, 16 Jun 2010) | 3 lines Even better, make sure the session pool disconnects everything when deleted. ........ r1139055 | ervin | 2010-06-17 09:41:01 +0200 (Thu, 17 Jun 2010) | 2 lines --warnings ........ r1139058 | ervin | 2010-06-17 10:05:11 +0200 (Thu, 17 Jun 2010) | 3 lines Don't release the session in this case, as we forcibly killed them all anyway by calling disconnect() on the pool. ........ r1139061 | ervin | 2010-06-17 10:24:18 +0200 (Thu, 17 Jun 2010) | 4 lines Emit the configuration accepted signal earlier, the reconnect() apparently sometimes delays its emission too much to the point where a d-bus timeout hits. ........ r1139074 | ervin | 2010-06-17 11:17:17 +0200 (Thu, 17 Jun 2010) | 2 lines Make use of the shared pointer for ui proxies. ........ r1139084 | ervin | 2010-06-17 11:42:16 +0200 (Thu, 17 Jun 2010) | 3 lines Consistently use the shared pointer, and sync with the namespace change of the shared pointer type. ........ ................ r1140665 | smartins | 2010-06-21 11:45:37 +0200 (Mon, 21 Jun 2010) | 16 lines SVN_MERGE: Merged revisions 1140662 via svnmerge from svn+ssh://smartins@svn.kde.org/home/kde/branches/kdepim/enterprise/kdepim ........ r1140662 | smartins | 2010-06-21 09:38:16 +0000 (Mon, 21 Jun 2010) | 8 lines Fixed some unitentional fallthroughs on monthly and yearly recurence. Also added some breaks for readability (didn't falthrough here due to returns, but wasn't explicit) Fix compiler warning about function not returning. MERGE: trunk ........ ................ r1140677 | mlaurent | 2010-06-21 11:59:21 +0200 (Mon, 21 Jun 2010) | 2 lines not necessary to display quota page when quota max value == 0 ................ r1140691 | smartins | 2010-06-21 12:21:34 +0200 (Mon, 21 Jun 2010) | 10 lines SVN_MERGE: Merged revisions 1131292 via svnmerge from svn+ssh://smartins@svn.kde.org/home/kde/branches/kdepim/enterprise/kdepim ........ r1131292 | smartins | 2010-05-27 23:45:12 +0000 (Thu, 27 May 2010) | 2 lines Use column names instead of numbers for readability ........ ................ r1140695 | smartins | 2010-06-21 12:26:15 +0200 (Mon, 21 Jun 2010) | 10 lines SVN_SILENT: Recorded merge of revisions 1131292 via svnmerge from svn+ssh://smartins@svn.kde.org/home/kde/branches/kdepim/enterprise/kdepim ........ r1131292 | smartins | 2010-05-27 23:45:12 +0000 (Thu, 27 May 2010) | 2 lines Use column names instead of numbers for readability ........ ................ r1140696 | skelly | 2010-06-21 12:27:56 +0200 (Mon, 21 Jun 2010) | 3 lines Update the config that the migration succeeded, even if it didn't. Workaround for inexplicable bug. ................ r1140703 | mlaurent | 2010-06-21 12:34:09 +0200 (Mon, 21 Jun 2010) | 2 lines Add readablecollectionproxymodel options ................ r1140704 | smartins | 2010-06-21 12:30:59 +0200 (Mon, 21 Jun 2010) | 2 lines currentDateCount() and maxDatesHint() are now const. ................ svn path=/branches/work/komo/kdepim/; revision=1140726
52eaf998