- Don't crash if writeConfig() is called before readConfig() completes
(triggered by this patch)
- Replace writeMsgHeader() with headerStyle()->format()
Disclaimer: I know that "view all headers" is currently no different from
"view long headers". See my other commit.
Disclaimer 2: I know that calling update(true) two times instead of one is
less efficient. That's temporary (in setHeaderStyle()).
svn path=/trunk/kdepim/; revision=201417
HTML-Escaping is a job for HtmlFormatter.
- KHtmlPartHtmlWriter now operates directly on KHTMLPart, not any longer
via KMReaderWin.
- inline KHtmlPartHtmlWriter::queuedHtml() into KHtmlPartHtmlWriter::queue()
svn path=/trunk/kdepim/; revision=201111
KHtmlPartHtmlWriter, which therefore becomes a QObject.
Add a new HtmlWriter::reset() method that KHtmlPartHtmlWriter
uses to stop it's timer and empty the html queue.
Don't delete mHtmlWriter in KMReaderWin dtor anymore, but rely on QObjects
destroying it's parents.
svn path=/trunk/kdepim/; revision=201105
This patch had already beed applied by Haeckel (revision 1.556)
but was lost again. OK given by Kloecker.
svn path=/trunk/kdenetwork/kmail/; revision=199111
- make most members non-static
- store the KMReaderWin to act on as member instead of passing it
down to every function.
- Fix callers of ObjectTreeParser::parseObjectTree() to instantiate
an ObjectTreeParser object first.
svn path=/trunk/kdenetwork/kmail/; revision=198872
- use ObjectTreeParser in MimeTreeViewer
- remove KMReaderWin wrappers around ObjectTreeParser functions.
svn path=/trunk/kdenetwork/kmail/; revision=198839
missing hunk from last commit (mm)
Fix bug #51396: can not show formatted html in email displayed in a separate window
The trick was to move handling of this from the kmmainwin (resp. kmcommands) to kmreaderwin
svn path=/trunk/kdenetwork/kmail/; revision=198532
- moved PartMetaData from kmreaderwin.cpp to partmetadata.h
- moved static methods KMReaderWin::{insertAndParseNewChildNode,
parseObjectTree,writeOpaqueOrMultipartSignedData} to a new class
KMail::ObjectTreeParser. KMReaderWin still has those methods, but
they just call the ObjectTreeParser ones.
svn path=/trunk/kdenetwork/kmail/; revision=197869
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
merged the Makefile.am and add all files that were added in make_it_cool
to get smaller diffs [most of them not yet compiled :]
svn path=/trunk/kdenetwork/kmail/; revision=191335
case SmartAttmnt:
asIcon = ( curNode->msgPart().contentDisposition().find("inline") < 0 );
+ break;
case HideAttmnt: {
// the node is the message! show it!
asIcon = false;
Please move the tag. Thanks!
CCMAIL: mueller@kde.org
svn path=/trunk/kdenetwork/kmail/; revision=189919
dont open in email, http://bugs.kde.org/show_bug.cgi?id=47981) and
48188 (Attachments with path in filename handled bad,
http://bugs.kde.org/show_bug.cgi?id=48188). To solve these problems the
following is done:
+ if an attachments name contains a '/' then the leading patch is
stripped off
+ the attachments name is correctly encoded with KURL::encode_string
whenever this is necessary
+ additionally all ':' which appear in the attachments name are
replaced with '_' because on FAT volumes filenames must not contain ':'
(and apparently some people want to save attachments on FAT volumes).
- Fixes and improves the calculation of the size of the window which is
used to show an attached image with RMB->View...
- Uses the new KMMessage::quoteHtmlChars to quote the email address of the
signer of a PGP signed message.
svn path=/trunk/kdenetwork/kmail/; revision=184213
- 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