Merged revisions 964931 via svnmerge from
svn+ssh://tmcguire@svn.kde.org/home/kde/branches/kdepim/enterprise4/kdepim
................
r964931 | tmcguire | 2009-05-07 19:08:04 +0200 (Thu, 07 May 2009) | 12 lines
Merged revisions 964916 via svnmerge from
svn+ssh://tmcguire@svn.kde.org/home/kde/branches/kdepim/enterprise/kdepim
........
r964916 | tmcguire | 2009-05-07 18:33:52 +0200 (Thu, 07 May 2009) | 5 lines
When there is a folder dir without an associated folder, recreate the folder so that the subfolders
don't get lost.
Fixes kolab/issue2972.
........
................
svn path=/branches/KDE/4.2/kdepim/; revision=967482
svn+ssh://tmcguire@svn.kde.org/home/kde/branches/kdepim/enterprise4/kdepim
................
r964931 | tmcguire | 2009-05-07 19:08:04 +0200 (Thu, 07 May 2009) | 12 lines
Merged revisions 964916 via svnmerge from
svn+ssh://tmcguire@svn.kde.org/home/kde/branches/kdepim/enterprise/kdepim
........
r964916 | tmcguire | 2009-05-07 18:33:52 +0200 (Thu, 07 May 2009) | 5 lines
When there is a folder dir without an associated folder, recreate the folder so that the subfolders
don't get lost.
Fixes kolab/issue2972.
........
................
svn path=/trunk/KDE/kdepim/; revision=967423
svn+ssh://tmcguire@svn.kde.org/home/kde/branches/kdepim/enterprise/kdepim
........
r964916 | tmcguire | 2009-05-07 18:33:52 +0200 (Thu, 07 May 2009) | 5 lines
When there is a folder dir without an associated folder, recreate the folder so that the subfolders
don't get lost.
Fixes kolab/issue2972.
........
svn path=/branches/kdepim/enterprise4/kdepim/; revision=964931
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
FolderStorage::canAccess() now returns bool,
and thus also the same method in KMFolderSearch, KMFolderMaildir,
KMFolderMbox, KMFolder
- Maildir filenames: use '!' character separator instead of ':' for windows
(KMAIL_MAILDIR_FNAME_SEPARATOR macro),
as it is impossible to create a file containing ':' (regardless of the
used filesystem - it is a property of the FS API itself)
- KMFolderMaildir::canAccess() use QFileInfo instead of access() - solves
problem with undefined
X_OK flag on windows and is still enough efficient as there are no hundreds
of dirs in a maildir
- KMFolderIndex::recreateIndex() now returns bool
- KMFolderDir::reload() simplified
svn path=/trunk/KDE/kdepim/; revision=773959
delete the contents of the list (before clearing). This ensures that the
folder dtors get called, on shutdown, which ensures configs get written,
which means we no longer lose the imappath of all folders on every
restart, which means online imap starts work a bit better.
svn path=/trunk/KDE/kdepim/; revision=760664
- for ( it = dir->begin(); (node = *it ) && it != dir->end(); ++it ) {
is really wrong, it dereferences the end iterator!
Plus apply patch from Laurent to use KIMAP::encodeImapFolderName instead of non-ported utf7-codec.
svn path=/trunk/KDE/kdepim/; revision=683868
it, if there is no physical folder yet. Code creating (instantiating)
KMFolders does not need to care. Remove the ugly "bool imap" parameter
from create() and do proper reimplementation instead. Remove create()
forward from KMFolder -> FolderStorage.
This fixes "no such file or folder" warnings when creating or syncing
down new folders.
In case you missed it, today is Zack's birthday, so show the man some
love, will ya?
svn path=/trunk/KDE/kdepim/; revision=430989
make it more robust, more readable and more safe. The diff is very
confusing but has been thoroughly reviewed by Marc and Ingo. Thanks, guys.
Also move knowledge of the cache location into a static class method of
kmfolderimap and kmfoldercachedimap. Make kmkernel use that.
svn path=/trunk/kdepim/; revision=280965