Edwin Schepers
205dd7b99d
The QTimer initializes spelling after the html message is displayed. This way, all formatting is undone. Spelling is already initiated in the constructor of KMComposeWin, so no harm is done deleting the QTimer.
...
BUG:106968
svn path=/branches/KDE/3.5/kdepim/; revision=497436
20 years ago
Reinhold Kainhofer
2e77a55d99
The FSF has moved, use the new address in all license files and headers ...
...
svn path=/trunk/KDE/kdepim/; revision=437980
21 years ago
Carsten Burghardt
bbb1868930
Compare the IDs correctly with kasciistricmp.
...
BUGS:109003
svn path=/trunk/KDE/kdepim/; revision=437867
21 years ago
Marc Mutz
f88e446233
Work around a gcc4 warning bug. This wouldn't be worth it if it didn't also make the code nicer - esp. in partNode
...
svn path=/trunk/KDE/kdepim/; revision=428501
21 years ago
Carsten Burghardt
aac5f12922
Refactor the attachment handling into it's own command.
...
Therefore we do not rely much on the readerwin member vars which caused
problems with parallel downloads. This should hopefully fix the remaining load-on-demand
problems. It definitely fixes #92739 .
I only noticed that the OpenWith action takes ages but this is probably not
a result of the change.
BUG: 92739
svn path=/trunk/kdepim/; revision=380928
21 years ago
Carsten Burghardt
d707bab34a
Less noise
...
svn path=/trunk/kdepim/; revision=371496
22 years ago
Ingo Klcker
57f63db514
Backport of CVS commit by kloecker:
...
Make isFirstTextPart() return true if the node is the first text part of the message this node is a body part of. This fixes showing attached messages embedded with smart attachment view mode.
<till> mahoutsukai: Making Dirk happy is our prime objective.
svn path=/branches/KDE_3_3_BRANCH/kdepim/; revision=349380
22 years ago
Ingo Klcker
9eec8d5cef
Make isFirstTextPart() return true if the node is the first text part of the message this node is a body part of. This fixes showing attached messages embedded with smart attachment view mode.
...
<till> mahoutsukai: Making Dirk happy is our prime objective.
svn path=/trunk/kdepim/; revision=349319
22 years ago
Marc Mutz
e9a7332f7e
Refactor the mFirstTextPart variable into partNode::isFirstTextPart() (Replace Temp with Query).
...
Move the static next() implementation from attachmentcollector.cpp to be a public partNode method. Implements iteration in "document order".
Use both to make AttachmentCollector skip the first text part, which would otherwise lead to the reply text being attached to a reply :)
svn path=/trunk/kdepim/; revision=318219
22 years ago
Marc Mutz
f4c169164f
Prevent crash waiting to happen (dwPart()->Headers() called without prior dwPart()->hasHeaders() check);
...
Add isHeuristicalAttachment(), which returns true if either isAttachment() is true, or if either the name or filename parameters is non-empty.
svn path=/trunk/kdepim/; revision=318179
22 years ago
Till Adam
607583a092
Backport the bodypartformatter (plugin) infrastructure from aegypten
...
branch.
svn path=/trunk/kdepim/; revision=306567
22 years ago
Carsten Burghardt
09722d1331
Fix LOD by creating the partNode from the already existing object and not from string
...
CCMAIL: 73824-done@bugs.kde.org
svn path=/trunk/kdepim/; revision=288190
22 years ago
Marc Mutz
ddaac140fa
from aegytpen_branch:
...
Small cleanup. Get rid of partNode::CryptoType, which wasn't used for anything. Determine the CryptPlug to use for mp/signed by looking at the protocol parameter instead of searching for app/{pgp,pkcs7}-signature children.
(without the CryptPlugFactory)
--and--
candidate_for_3_2_1: Don't interpret application/pkcs7-mime; smime-type=certs-only as a signed message, but show an icon instead (until we have integrated enough of gpgme to be able to show a nice summary of the import as inline HTML).
svn path=/trunk/kdepim/; revision=281273
22 years ago
Marc Mutz
04ea09f448
from aegypten_branch:
...
Refactor partNode creation from a KMMessage into a static method on partNode and port users to it. In the process of this, I found out that KMMessage, KMSaveAttachmentCommand and KMReaderWin all used very slightly different methods to instantiate the root item. I think most of them were wrong:
KMMessage's way (originally spread over two methods...) leaks mainBody...
KMReaderWins' way adds firstBodyPart as a child of itself...
KMSaveAttachmentsCommand doesn't adjust the mimetypes.
So that's why this is experimental: I've combined the various ways with majority vote: two adjusted the mimetypes, so mimetypes are adjusted. Only one added a part as child of it's own, so that's no longer being done, etc.
--and--
Replace broken, complicated logic with clean and simple one. Parsing is cheap in mimelib. That gives us the full MIME headers also in the top-level container partNode, which is needed in ae_branch to get at the protocol-Parameter of mp/signed parts...
svn path=/trunk/kdepim/; revision=281270
22 years ago
Marc Mutz
57defe554b
Make it GPL w/ Qt exception. Thanks to Kalle for the permission to relicense this piece of KDAB code!
...
CCMAIL: kalle@klaralvdalens-datakonsult.se
svn path=/trunk/kdepim/; revision=259031
23 years ago
Marc Mutz
b6103a9239
Cleanup partNode interface: encodedBody() returns const-reference instead of reference, move some big inline methods and ctors/dtor to the cpp file, remove public'ness of member variables and introduce new accessors for them. Adapt users of the members and clean up a bit in the CryptPlug-related methods of objecttreeparser.
...
svn path=/trunk/kdepim/; revision=259028
23 years ago
Ingo Klcker
63f10ad0bb
Use KMMessagePart's member functions were appropriate and decode the subject. This fixes bug 63580 and a lot of other not yet reported bugs.
...
svn path=/trunk/kdepim/; revision=248437
23 years ago
Carsten Burghardt
bbdcd95335
Load imap attachments on demand and load the messages itself progressively. Cool ;-)
...
svn path=/trunk/kdepim/; revision=240060
23 years ago
Dirk Mueller
4e03bcdbde
speling fixes. some also modfiy API functions, but those are not in installed
...
headers so it should be fine BC wise
svn path=/trunk/kdepim/; revision=233920
23 years ago
Marc Mutz
b31d1702f6
- change text shown for app/octet-stream. Was: "Unknown", now is: "Unspecified Binary Data"
...
- Pass mimetree item parents as pointers instead of reference.
svn path=/trunk/kdepim/; revision=229274
23 years ago
Marc Mutz
ee411a92e9
silence some kdDebug()s
...
svn path=/trunk/kdepim/; revision=223609
23 years ago
Daniel Molkentin
27f92c5293
yeah, call me pedantic...
...
svn path=/trunk/kdepim/; revision=222089
23 years ago
Ingo Klcker
9ebba7de4f
Fix bug 56592: Displaying folded Content-Description in MIME tree viewer is broken
...
CCMAIL: 56592-fixed@bugs.kde.org
svn path=/trunk/kdepim/; revision=217447
23 years ago
Marc Mutz
e04a190385
kill off $Id$'s
...
svn path=/trunk/kdepim/; revision=213793
23 years ago
Ingo Klcker
3b8f959bfa
New function: bool partNode::hasContentDispositionInline() const
...
svn path=/trunk/kdepim/; revision=213714
23 years ago
Marc Mutz
4bc908ca44
Add partNode::dump() as debugging aid. Output the node's mimetype and that of it's children (indented according to nesting level).
...
svn path=/trunk/kdepim/; revision=208402
23 years ago
Ingo Klcker
46cf9121ea
Forward port of the fix for bug 53975: KMail reports unsigned messages as signed
...
svn path=/trunk/kdepim/; revision=207072
23 years ago
Ingo Klcker
84f4965f64
Revert HEAD to KDE_3_1_BRANCH. Of course I didn't remove any files that where added to HEAD.
...
svn path=/trunk/kdenetwork/kmail/; revision=195719
24 years ago
Stephan Kulow
793f80d991
white space diffs and the configure dialog part of the systemtray (not yet used
...
as the kmkernel diff is a bit hairy)
svn path=/trunk/kdenetwork/kmail/; revision=190906
24 years ago
Ingo Klcker
1b24637fd0
Fix bug 47856: Crash on selection of a specific message
...
Crash was caused by the following header
Content-disposition: attachment; filename=
when kmail tried to access s[0] where s is the empty string behind filename=. The obvious fix is to test for s.isEmpty().
CCMAIL: 47856-fixed@bugs.kde.org
svn path=/trunk/kdenetwork/kmail/; revision=187212
24 years ago
Karl-Heinz Zimmer
c76ef480b7
Crypto bugfix: enable us to verify signed mail that is embedded in an old-style (non-multipart) Digest message.
...
svn path=/trunk/kdenetwork/kmail/; revision=181665
24 years ago
Marc Mutz
00408fa3ce
- #include "kmcomposewin.h"
...
svn path=/trunk/kdenetwork/kmail/; revision=176941
24 years ago
Marc Mutz
55624177db
icons for the mime tree viewer. I opted to special-case multipart/* and assign a folder icon for that and leave the "raw" mimetype (at least until someone writes up good comments ;-)
...
svn path=/trunk/kdenetwork/kmail/; revision=176740
24 years ago
Marc Mutz
5055f18c44
KIO::convertiSize() the size of attachments in the mime tree viewer
...
svn path=/trunk/kdenetwork/kmail/; revision=176660
24 years ago
Karl-Heinz Zimmer
e13d57c7b5
internal AEgypten bugfix #1130 : Show "S/MIME Message" instead of "PGP Message" if message is S/MIME encrypted (or signed, resp.). (The status of *each* mime part is now stored in the partNode class tree) to allow for showing respective status indicators in the mime part tree viewer - as was proposed by Marc Mutz for KDE 3.2.)
...
svn path=/trunk/kdenetwork/kmail/; revision=171535
24 years ago
Michael Haeckel
a4a88cc442
Make attachments to multipart/alternative mails working properly again.
...
svn path=/trunk/kdenetwork/kmail/; revision=169817
24 years ago
Zack Rusin
54b4807111
Fixing compilation warnings, removing unnecessary whitespace and adding some
...
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
24 years ago
Till Krech
65ac82dd18
Didn't compile.
...
Stephan, please review.
Index: partNode.cpp
===================================================================
RCS file: /home/kde/kdenetwork/kmail/partNode.cpp,v
retrieving revision 1.16
diff -u -p -r1.16 partNode.cpp
--- partNode.cpp 2002/07/28 14:58:57 1.16
+++ partNode.cpp 2002/07/28 17:21:34
@@ -100,7 +100,7 @@ kdDebug(5006) << "\n\n KMMsgEncryptionS
KMMsgSignatureState partNode::overallSignatureState() const
{
- KMMsgSignatureState myState = KMMsgSignatureState;
+ KMMsgSignatureState myState = KMMsgSignatureStateUnknown;
if( mIsSigned )
myState = KMMsgFullySigned;
else {
svn path=/trunk/kdenetwork/kmail/; revision=169264
24 years ago
Stephan Kulow
09794bb4a9
oops
...
svn path=/trunk/kdenetwork/kmail/; revision=169241
24 years ago
Stephan Kulow
b7ae1480f1
don't return uninitialized variables
...
svn path=/trunk/kdenetwork/kmail/; revision=169235
24 years ago
Marc Mutz
8db2c18576
compile
...
svn path=/trunk/kdenetwork/kmail/; revision=164864
24 years ago
Karl-Heinz Zimmer
50f8a22ebe
internal AEgypten bugfix #1164 : When verifying (S/MIME-) signatures in an encapsulated RfC822 mail that's included in a message I received (e.g. due to forwarding) I want to have that encapsulated signature compared to the _encapsulated_ mails From: header - *not* to the main From: header of this message.
...
svn path=/trunk/kdenetwork/kmail/; revision=164617
24 years ago
Carsten Pfeiffer
f5c31fce19
added QString prettyMimeType( const QString& type ) and used it to show
...
the mimetype description instead of the mimetype
svn path=/trunk/kdenetwork/kmail/; revision=162624
24 years ago
Stephan Kulow
2892d05a1b
including config.h as first include (it defines quite some controlling defines)
...
use off_t and size_t where fread, fwrite, ftell, fseek is used
svn path=/trunk/kdenetwork/kmail/; revision=159169
24 years ago
Carsten Pfeiffer
60784931f9
show descriptive names instead of mimetypes
...
svn path=/trunk/kdenetwork/kmail/; revision=158285
24 years ago
Karl-Heinz Zimmer
6a74b6c6f4
Bugfix for internal AEgypten bug #1059 : Correct handling of mNext.
...
svn path=/trunk/kdenetwork/kmail/; revision=157820
24 years ago
Karl-Heinz Zimmer
2ee0b105d9
Bugfix for internal AEgypten bug #1059 : Correct handling of mNext.
...
svn path=/trunk/kdenetwork/kmail/; revision=157813
24 years ago
Stephan Kulow
e60b727a6b
in case someone gets the same spam mail as I did:
...
bool partNode::isAttachment() const
{
+ if (!dwPart())
+ return false;
svn path=/trunk/kdenetwork/kmail/; revision=155435
24 years ago
Steffen Hansen
9b73817a83
Fix for bug #41652
...
svn path=/trunk/kdenetwork/kmail/; revision=154192
24 years ago
Karl-Heinz Zimmer
45858af10f
calculate overall encryption and signature status in KMReaderWin::parseMsg(KMMessage* aMsg) - we need this information for the mail list which shall show two little icons accordingly (to the left of each mail entry) Sorry, but in it's current state this is working for MIME signatures/encryption only, recognizing of traditional kpgp signing/encrypting will be implemented soon.
...
svn path=/trunk/kdenetwork/kmail/; revision=151570
24 years ago