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
I thought the bug would be complex
hell no it was so trivial
now mTransferInProgress is a bool
it is meant to be a bool and not a int
see the code below on how the coder simulated a bool
with an int
value ? ++mTransferInProgress : --mTransferInProgress;
then the coder puts this assert !
assert(mTransferInProgress >= 0 && mTransferInProgress <= 1);
Incredible no ?
let's see for example how this is called from kmforlderimap.cpp
for ( KMMessage* msg = msgList.first(); msg; msg = msgList.next() )
msg->setTransferInProgress(true);
Ouuch !
svn path=/trunk/kdenetwork/kmail/; revision=192614
From: "--<John>-- John XXX" <john@somewhere.com>
Showing as '"--' in the header list. Also optimizes returning of address
with names embedded in "".
svn path=/trunk/kdenetwork/kmail/; revision=191376
- Disable the code which checks for expiring CRLs. This has been recommended by the Aegypten team resp. by khz.
svn path=/trunk/kdenetwork/kmail/; revision=189498
- if (!aValue[aValue.length()-1] != '\n') str += '\n';
+ if (str[str.length()-1] != '\n') str += '\n';
Three reasons for this fix:
* Fixing the wrong logic (note the double negation)
* Avoiding a Q_ASSERT if aValue is empty (an assert, for me)
* Faster - since str is DWString (length is immediate) and aValue is QCString (slow length())
svn path=/trunk/kdenetwork/kmail/; revision=188832
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
KMMessage::splitEmailAddrList to split a given list of email addresses.
Apart from simplifying the code this also fixes problems the old code
had with commas inside comments and with quoted doublequotes inside
quoted strings.
- Adds static QString KMMessage::quoteHtmlChars( QString, ...). We
already have a similar function for QCStrings (KMMessage::html2source).
But we also need this a few times for QStrings. Another difference
between html2source and quoteHtmlChars is that quoteHtmlChars has a
second parameter removeLineBreaks which allows the caller to decide
whether line breaks should be removed from the string or if they should
be converted to '<br />'. html2source always does the latter.
svn path=/trunk/kdenetwork/kmail/; revision=184212
- Furthermore this patch unifies the way pasted text and dropped text (as in d'n'd) is handled in our KMLineEdit (which is used for the address input fields).
svn path=/trunk/kdenetwork/kmail/; revision=183020
to be called with dangling points with functions called with QChar
arguments, that are safer and easier to program too
svn path=/trunk/kdenetwork/kmail/; revision=179849
- 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
debug output (only for the moment) to the IMAP methods to find out why it's broken
(finally got a few IMAP accounts, hopefully today few fixes for it will land)
svn path=/trunk/kdenetwork/kmail/; revision=169280