has it's own cursor stack.
I added kcursorsaver, that makes sure that the cursor is restored when the object
gets out of scope (just as KConfigGroupSaver)
Now kmkernel doesn't has to cope with cursors anymore
svn path=/trunk/kdepim/; revision=221747
This is a set of changes that is well test by myself and others.
The following bug fixes amongst others are included:
Compilation fix: the certificate dialog now compiles
Mjr bugfix: Prevent mail loss when kmail crashes while editing a
drafts message
Mjr bugfix: Fix erratic folder changing when clicking on the folder
tree
Mjr bugfix: Prevent mail loss when applying filters
The follow features have been implemented:
* KMail is now a KPart and can be embedded in the Kontact/Kaplan
container applications along with other KDE PIM applications.
* Remove duplicates function for removing duplicate messages in
a folder.
* Messages can be dragged and dropped on a composer window to
add those messages as attachments.
* Deletion in threaded mode is improved, child messages will no
longer be scattered when a parent is deleted.
* Multiple messages can now be selected in the search dialog.
* New context menu in the search dialog with Move, Copy, Reply
etc. actions for operating on selected messages.
* Search criteria in the search dialog now supports more types
of rules and a variable number of rules.
* Faster searching of large messsages.
* 'Search Folders' which are a KMail folder that stores a search
expression and is dynamically updated (also known as virtual
folders).
* The separate window for reading mail has a context menu with
Reply, Copy etc. actions for operating on the message
displayed.
* The separate window for reading mail has a tool bar.
* Startup of KMail is faster.
* Switching between folders is faster.
* The contents of all composer windows are saved to disk on
composer window creation and then periodically saved to
prevent mail loss in the result of a system crash.
* The state of KMail folders is saved to disk periodically to
prevent status information loss in the result of a system
crash.
Note after start KMail switching to folders for the first time will
slow as the format of the .sorted file has changed.
Enjoy!
svn path=/trunk/kdenetwork/kmail/; revision=195825
for me the "crash on reply" and "forward message crash" bugs and people
on IRC have been insisting on committing it. So yeah, asynchronous message
handling in KMail is in!!! May the God of Coding have mercy on us...
svn path=/trunk/kdenetwork/kmail/; revision=193386
- // it would be nice if QDir could delete recursively.. but since it
- // doesn't, we have to do this hack
- QCString cmd;
- cmd.sprintf("rm -rf '%s'", QFile::encodeName(location()).data());
- system(cmd.data());
-
- return 0;
+ if (KIO::NetAccess::del(KURL::fromPathOrURL(location())))
+ return 0;
+ return 1;
svn path=/trunk/kdenetwork/kmail/; revision=186186
Please note that this port includes a bug fix which should be ported back to make_it_cool. I've sent the bug fix to the mailing list.
svn path=/trunk/kdenetwork/kmail/; revision=184866
The reason for this bug was a wrong assumption about the return value of QFile::readline. Reading the docs helps. FYI the fix:
- if (!f.readLine(line, MAX_LINE))
+ // if the end of the file has been reached or if there was an error
+ if ( f.atEnd() || ( -1 == f.readLine(line, MAX_LINE) ) )
svn path=/trunk/kdenetwork/kmail/; revision=184624
- replace KMKernel::self() with kernel
- introduce KMTextBrowser for viewing raw messages or text-attachments
to fix memory leaks
svn path=/trunk/kdenetwork/kmail/; revision=175027
to write to the sent-mail folder but does have permission for the outbox.
Based on patch by Russell Miller <rmiller@duskglow.com>
svn path=/trunk/kdenetwork/kmail/; revision=157558
Activate them via View-menu or rmb-menu from the tree-header.
Changed the qpopup for the folder-context-menu to kpopup to be consistent with the rest.
svn path=/trunk/kdenetwork/kmail/; revision=153547
@@ -762,9 +762,9 @@ int KMFolderMaildir::removeContents()
{
// it would be nice if QDir could delete recursively.. but since it
// doesn't, we have to do this hack
- QString cmd;
+ QCString cmd;
cmd.sprintf("rm -rf '%s'", QFile::encodeName(location()).data());
- system(cmd.ascii());
+ system(cmd.data());
return 0;
}
svn path=/trunk/kdenetwork/kmail/; revision=141877
- Show number of queued messages in outbox
- Open thread if it contains new, unread or _important_ messages
svn path=/trunk/kdenetwork/kmail/; revision=128438
appears that (at least in the trash) some individual messages return
true to 'isMessage' and some dont'. Both are perfectly valid, though.
However, there was this code in getMsgString
assert(mi!=NULL && !mi->isMessage());
which is obviously a holdover (copy-n-paste) from the mbox code. I
just removed the '&& !mi->isMessage()' part since it is no longer
necessary for maildir. Now no apparent crash!
svn path=/trunk/kdenetwork/kmail/; revision=122020
their properties like Identity even after a --check. Hmm.. I should
see if there is a bug report related to this
svn path=/trunk/kdenetwork/kmail/; revision=118049
like 'take'. This means that messages in 'outbox' and 'trash' will
*finally* be deleted for real.
Now there are only two known bugs with the maildir code!
Also removed some test code that I accidently committed before.
svn path=/trunk/kdenetwork/kmail/; revision=117373