Merged revisions 834985 via svnmerge from
svn+ssh://tmcguire@svn.kde.org/home/kde/branches/kdepim/enterprise4/kdepim
........
r834985 | tilladam | 2008-07-19 21:35:32 +0200 (Sat, 19 Jul 2008) | 1 line
Clean out unused code and add some more error handling.
........
svn path=/branches/KDE/4.1/kdepim/; revision=836076
svn+ssh://tmcguire@svn.kde.org/home/kde/branches/kdepim/enterprise4/kdepim
........
r834985 | tilladam | 2008-07-19 21:35:32 +0200 (Sat, 19 Jul 2008) | 1 line
Clean out unused code and add some more error handling.
........
svn path=/trunk/KDE/kdepim/; revision=836050
Merged revisions 829377 via svnmerge from
svn+ssh://tmcguire@svn.kde.org/home/kde/branches/kdepim/enterprise4/kdepim
........
r829377 | staniek | 2008-07-08 12:37:44 +0200 (Tue, 08 Jul 2008) | 4 lines
use QDir::NoDotAndDotDot flag when looking for files in maildir
(we never know how QDir::filePath() will be have on windows for paths like "foo/bar/."
........
svn path=/branches/KDE/4.1/kdepim/; revision=833923
svn+ssh://tmcguire@svn.kde.org/home/kde/branches/kdepim/enterprise4/kdepim
........
r829377 | staniek | 2008-07-08 12:37:44 +0200 (Tue, 08 Jul 2008) | 4 lines
use QDir::NoDotAndDotDot flag when looking for files in maildir
(we never know how QDir::filePath() will be have on windows for paths like "foo/bar/."
........
svn path=/trunk/KDE/kdepim/; revision=833908
svn+ssh://tmcguire@svn.kde.org/home/kde/branches/kdepim/enterprise4/kdepim
........
r813234 | vkrause | 2008-05-27 11:25:21 +0200 (Tue, 27 May 2008) | 3 lines
Make sure the folder is still open for the setStatus() call. This fixes
a crash while refreshing the DIMAP cache of a groupware sub-folder.
........
r813336 | vkrause | 2008-05-27 14:47:56 +0200 (Tue, 27 May 2008) | 3 lines
Prevent writing the sqlite index while the folder is closed and thus the
internal message list is empty.
........
r813759 | vkrause | 2008-05-28 19:12:22 +0200 (Wed, 28 May 2008) | 8 lines
Make sure we re-open the current folder after an forced close triggered
by FolderStorage::expunge().
This fixes a crash when switching between Kontact parts during a DIMAP
cache refresh. Also, the header view is now updated again during the
refresh.
Might help with Kolab issue 2697.
........
r816897 | staniek | 2008-06-04 23:57:59 +0200 (Wed, 04 Jun 2008) | 2 lines
SVN_SILENT proper filename
........
r817156 | staniek | 2008-06-05 13:58:28 +0200 (Thu, 05 Jun 2008) | 4 lines
Avoid implicit cast of -1 value (when "maximumAttachmentSize" is undefined) to uint.
This worked only by accident.
........
r817345 | tilladam | 2008-06-05 22:23:34 +0200 (Thu, 05 Jun 2008) | 2 lines
Disable the gnupg log watcher action in KMail on Windows, it's not available there.
........
r819078 | staniek | 2008-06-10 17:01:55 +0200 (Tue, 10 Jun 2008) | 10 lines
Fix positioning of the recipients editor;
do not move the child window when the parent (composer) window is moved
(unless the child looks like a popup, moving it is rather unexpected by users).
Avoid hiding parts of the window (needed especially when not using KWin),
so this is mostly Windows and MacOSX fix.
(reviewed)
........
r820276 | staniek | 2008-06-13 20:11:07 +0200 (Fri, 13 Jun 2008) | 4 lines
-better checks for results of QDialog::exec()
-better way to choose root dir path
........
r820278 | staniek | 2008-06-13 20:11:49 +0200 (Fri, 13 Jun 2008) | 2 lines
attach only if user accepted the file dialog
........
svn path=/trunk/KDE/kdepim/; revision=822563
svn+ssh://tmcguire@svn.kde.org/home/kde/branches/kdepim/enterprise4/kdepim
........
r812800 | tilladam | 2008-05-26 14:43:40 +0200 (Mon, 26 May 2008) | 2 lines
Don't try to write the index of a closed folder. This seems to have been a noop on the mmap'd index implementation, but wrecks havoc with the sqlite based one.
........
r812831 | vkrause | 2008-05-26 16:03:34 +0200 (Mon, 26 May 2008) | 2 lines
Make flags persistent when using the sqlite backend.
........
r812836 | osterfeld | 2008-05-26 16:07:26 +0200 (Mon, 26 May 2008) | 1 line
OS X: disable heuristic moving actions which contain "Configure" to the app menu->Preferences entry
........
r812916 | vkrause | 2008-05-26 18:04:33 +0200 (Mon, 26 May 2008) | 3 lines
Make sure we always write new messages into the index when using the
sqlite backend.
........
r813198 | vkrause | 2008-05-27 08:57:23 +0200 (Tue, 27 May 2008) | 3 lines
Fix index corruption after deleting a message and closing KMail without
changing folders before that (sqlite backend only).
........
svn path=/trunk/KDE/kdepim/; revision=821177
svn+ssh://tilladam@svn.kde.org/home/kde/trunk/KDE/kdepim
........
r812625 | tilladam | 2008-05-25 22:50:09 +0200 (Sun, 25 May 2008) | 5 lines
Make sure to reset the db id (in the sqlite index) otherwise
it will be reused in the target folder, on move, and overwrite the entry
for any existing entry at that row, thereby bringing the index out of sync
with reality.
........
svn path=/branches/kdepim/enterprise4/kdepim/; revision=812632
it will be reused in the target folder, on move, and overwrite the entry
for any existing entry at that row, thereby bringing the index out of sync
with reality.
svn path=/trunk/KDE/kdepim/; revision=812625
-use K_GLOBAL_STATIC for static data
-an attempt to fix possible crashes and "null messages appearing in folders like outbox"
Details:
M kmail/kmfolderindex_sqlite.cpp
M kmail/kmfolderindex.h
* executes "DELETE FROM messages WHERE id=.." for every for messages
with 0 serial number, especially for the outbox
* removed commented-out old impl.
M kmail/kmmessage.h
use K_GLOBAL_STATIC
M kmail/kmfoldermaildir.cpp
* minor change
M kmail/jobscheduler.cpp
M kmail/jobscheduler.h
* ~JobScheduler() use qDeleteAll() (and clear for sanity)
M kmail/networkaccount.cpp
* use K_GLOBAL_STATIC
* use value() to avoid inserting 0 values
* NetworkAccount::resetConnectionList(): use remove() instead of inserting 0
M kmail/kmmessage.cpp
* use K_GLOBAL_STATIC
M kmail/kmcommands.cpp
* KMMoveCommand::execute(): skip mesages with serial number == 0
-this avoids crashes when user tries to clean up a folder with "no subject" items
M kmail/kmmsgbase.cpp
* #ifdef code related to using_mmap when using sqlite mode
M kmail/networkaccount.h
* use QPointer<KIO::Slave> mSlave and bits for boolean members
svn path=/trunk/KDE/kdepim/; revision=809620
used for mbox storage
BTW, I think we should discuss further enabling displaying warnings about recreating outdated indices for maildir:
in sqlite mode, I've seen way too many of them, so perhaps there is a way to fix timestamps instead of displaying the warning
svn path=/trunk/KDE/kdepim/; revision=805511
to skip message "The index of folder .. seems to be out of date" for maildir folders
This can probbaly fix recently reported issues with displaying the message for maildir folders.
-int KMFolderIndex::writeMessages( KMMsgBase* msg, bool flush, FILE* indexStream ):
added overload with indexStream arg, which simplifies KMFolderIndex::writeIndex() code
and avoids dangerous side effects
(note: this apparently was not a source of problems, though)
CCMAIL:kde-pim@kde.org
svn path=/trunk/KDE/kdepim/; revision=805447
from
/branches/work/kmail-nommap (r799390..804487)
/branches/work/kdepim-nommap/kmail (r804484..804960)
The SQLite mode is currently enabled only on Windows (by KMAIL_SQLITE_INDEX define),
so on !Windows, the code for standard 'mmap' mode is compiled.
CCMAIL:kde-pim@kde.org
svn path=/trunk/KDE/kdepim/; revision=805075
- Add kWarning when index is rebuilt because it is out of date
- Add message box asking if the user really wants to manually
recreate the index
svn path=/trunk/KDE/kdepim/; revision=804158
Added a queuing mechanism to prevent several KDirSize jobs from running concurrently when several maildir folders are checked for their size.
CCBUGS: 149414
svn path=/trunk/KDE/kdepim/; revision=770314
folders >2GB won't show up correctly on 32 Bit systems.
I hope I found all places were the conversion was necessary.
I couldn't really test this, as i don't have a 64 Bit system, but I should
work.
BUG: 151155
svn path=/trunk/KDE/kdepim/; revision=751020
Forward port of:
>SVN commit 633411 by adridg
>mIndexStreamPtrLength comes from struct stat, should be a size_t. It *is*
>a size (of the index file) after all. Also make the size information
>available in the KMFolderIndex API and add a touch of documentation.
>We need the size information to be able to judge if a KMMsgBase
>object has index information or not.
Forward port of:
>SVN commit 633413 by adridg
>Stop KMail from crashing all the time in PIM+;
>check if the data range in the index for this message would make sense at all.
>If not, no string part. Needs r. 633411 API changes.
This is another example why having some many branches is not a good idea.
Adriaan, Ismail: Are there more unported bugfixes in the 3.5.5+ branch?
CCMAIL: groot@kde.org
CCMAIL: onurf@su.sabanciuniv.edu
svn path=/trunk/KDE/kdepim/; revision=706981
for the new kDebug/kError/kWarning/kFatal syntax.
You can use the following command to find 'old' code:
egrep -r -A 5 '(kDebug|kError|kWarning|kFatal).*' * | grep -v ".svn" | grep "<< *endl;"
svn path=/trunk/KDE/kdepim/; revision=695781
keeping the msginfo pointer around in the message object, and restoring it on
unGet. Should help with a whole class of crashes around filtering, searching
etc. Original patch by Ingo and Andreas, with some fixes and memleak plugs
in corner cases by me. We'll testdrive this a while in enterprise branch, let's
see how it behaves.
CCMAIL: a.gungl@gmx.de
CCMAIL: ingo@kde.org
svn path=/branches/kdepim/enterprise/kdepim/; revision=694327
color for the folder name, to help improve the usability of working
with quota'd folders.
Resolves kolab merge item 22. Forward port of enterprise commits:
669156, 671804, 677689, 680527
svn path=/trunk/KDE/kdepim/; revision=691345