- Autosave messages in the maildir folder $KDEHOME/share/apps/kmail/autosave instead of in $HOME/dead.letter (mbox-style).
CCBUG: 72441
- The composers are now responsible for timer-based autosaving.
- The changes in recoverDeadLetters are partially cosmetic and partially due to the change from an mbox-style autosave folder to a maildir autosave folder.
- Add KMKernel::localDataPath() which simply returns locateLocal( "data", "kmail/" )
- The actual code which does the autosaving is simplified by using KSaveFile. Moreover, the buggy code which wrote the message (the bug being that the saved message isn't From-escaped) gets easier because with maildir we just need to write the message, but nothing else.
- Show an error message when autosaving fails.
svn path=/trunk/kdepim/; revision=382776
DCOPRef kmail( "kmail", "kmail" );
kmail.call( "newInstance" );
(e.g. in KMKernel::raise()). This also works in kontact, since kontact registers
as 'kmail' and handles newInstance itself, to show the kmail part.
svn path=/trunk/kdepim/; revision=376396
What should the behaviour be if the tray icon is clicked while kontact is open,
has the foreground, and the kmail part is hidden? Right now it raises kmail
but minimizes kontact. aKregator has the same behaviour. Should this be
changed?
svn path=/trunk/kdepim/; revision=367695
The cases for which this code was added still work (typing kmail while kmail
is running activates it; kmail --check doesn't).
svn path=/trunk/kdepim/; revision=360346
Works for mail accounts and SMTP servers, already stored passowrds are migrated to the wallet.
CCMAIL: 76097-done@bugs.kde.org
svn path=/trunk/kdepim/; revision=342067
Don't crash when a folder which is a resource folder is deleted, because
the resource is not removed properly from KOrganizer etc since no signals
were emitted in that case. Aggregate the folderRemoved signals of all
folder managers and emit a central folderRemoved(KMFolder*) which stuff
can listen to. Port the filter manager to that.
svn path=/trunk/kdepim/; revision=339422
This removes the "cleanup widget" on exit (*), and removes some discrepancies
(e.g. recent addresses were apparently not saved when kmail was closed by SM),
ensuring that the exact same cleanup is done in all cases (kmail/kontact, SM/closed-by-user).
(*) Bo closed 66433 a bit early. _Now_ it's fixed :)
svn path=/trunk/kdepim/; revision=317010
folder, to make ghost messages impossible, which result when KMail crashes
after a message has entered and left a folder within five seconds, which
pretty much only happens for the outbox, and the index is therefor less
than 5 seconds out of date, which is the nfs tolerance.
This is a nasty hack of a workaround, but it should fix the symptom.
CCMAIL: 43931-done@bugs.kde.org
svn path=/trunk/kdepim/; revision=315951
and the systray icon is enabled. (I renamed getSystray to systray)
CCMAIL: Nathan Toone <nathan@toonetown.com>
svn path=/trunk/kdepim/; revision=315609
mbox and maildir folders in the background.
This fixes compaction not happening in kontact at all, and not happening
either for cached imap folders in kmail. It also makes kmail exit faster.
svn path=/trunk/kdepim/; revision=314475
to kmkernel, renaming it "mailCheckAborted", since it's now only used for this.
Reimplemented the real "abort all" code (that used to be for the littleprogress' cross button)
in ProgressManager, so that Key_Escape calls it, like it used to. It simply acts as
if the 'abort' button of any running job had been clicked.
svn path=/trunk/kdepim/; revision=314224