Daniel Molkentin
3111ae92b4
getting rid of some unneeded QRegExps
...
svn path=/trunk/kdepim/; revision=207583
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
Marc Mutz
3850512235
removed tmpHelper and put it's only static member pluginErrorIdToErrorText into CryptPlugWrapper, as suggested by KHZ's comment in the source.
...
svn path=/trunk/kdepim/; revision=202619
23 years ago
Marc Mutz
11f738af38
Move KMReaderWin::queueHtml() and all html queueing code over to
...
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
24 years ago
Cornelius Schumacher
bb04207614
Make it compile.
...
svn path=/trunk/kdepim/; revision=200807
24 years ago
Marc Mutz
979cc834a5
this little method cried "I want to be on ObjectTreeParser. Nobody else calls me but ObjectTreeParser...", so I moved it.
...
svn path=/trunk/kdenetwork/kmail/; revision=200603
24 years ago
Marc Mutz
9c14e2e47e
Trying to fix the KMail side of "KMail doesn't understand me if I hit "Cancel" in pinentry".
...
svn path=/trunk/kdenetwork/kmail/; revision=200465
24 years ago
Marc Mutz
88e68fcf7c
Don't leak html writers. Create and use one and only one HtmlWriter per KMReaderWin.
...
svn path=/trunk/kdenetwork/kmail/; revision=199992
24 years ago
Marc Mutz
ee3646dcb1
Use HtmlWriter in ObjectTreeParser, where possible.
...
svn path=/trunk/kdenetwork/kmail/; revision=199826
24 years ago
Marc Mutz
014759da86
ObjectTreeParser now has an AttachmentStrategy as member. It can be set explicitely or implicitly (default) from mReader->attachmentStrategy() and defaults to "smart".
...
svn path=/trunk/kdenetwork/kmail/; revision=199473
24 years ago
Marc Mutz
a8f3e77ef2
Added AttachmentStrategy class to encapsulate attachment style algorithms (not yet). The four AttachmentStrategy objects are Singletons, so it's safe to compare them by comparing their pointers.
...
svn path=/trunk/kdenetwork/kmail/; revision=199462
24 years ago
Marc Mutz
19f87c9e54
Extract dumping to files (for debugging) to a dumpToFile() method.
...
svn path=/trunk/kdenetwork/kmail/; revision=199366
24 years ago
Marc Mutz
e81ff8fc33
more #ifndef NDEBUG
...
svn path=/trunk/kdenetwork/kmail/; revision=199354
24 years ago
Marc Mutz
a47366543b
Make showOneMimePart, keepEncryptions and includeSignatures members instead of parameters.
...
svn path=/trunk/kdenetwork/kmail/; revision=199346
24 years ago
Marc Mutz
4c30162e48
New almost-copy ctor for ObjectTreeParser that copies the context, but not the resultString.
...
svn path=/trunk/kdenetwork/kmail/; revision=199315
24 years ago
Marc Mutz
c099bb67d2
Instead of recursing into parseObjectTree(), instantate another ObjectTreeParser instead and call parseObjectTree() on the new one. Only keep original recursion where showOneMimePart etc. are not changed. This is in preparation of making showOneMimePart, keepEncryptions and includeSignatures members of ObjectTreeParser instead of parameters to parseObjectTree().
...
svn path=/trunk/kdenetwork/kmail/; revision=199310
24 years ago
Marc Mutz
82dba5f9aa
added writeBodyString(), a small wrapper around KMREaderWin::writeBodyStr()
...
svn path=/trunk/kdenetwork/kmail/; revision=199191
24 years ago
Marc Mutz
d4cd66940b
New parameter object ProcessResult, encapsulating isInline{Signed,Encrypted}, isImage and bNeverDisplayInline
...
svn path=/trunk/kdenetwork/kmail/; revision=199187
24 years ago
Marc Mutz
15265c79c9
Cleanup of trivial processFooType methods
...
svn path=/trunk/kdenetwork/kmail/; revision=199177
24 years ago
Marc Mutz
defede107f
remove some unused code
...
svn path=/trunk/kdenetwork/kmail/; revision=199176
24 years ago
Marc Mutz
80c0f7b60f
These were easy: process{Image,Audio,Video,Model}Type.
...
svn path=/trunk/kdenetwork/kmail/; revision=199174
24 years ago
Marc Mutz
68acfb25aa
Extract process{Message,Applicatin}Type, the latter prompting another update of processFooType methods' signatures (return value isImage added)
...
svn path=/trunk/kdenetwork/kmail/; revision=199170
24 years ago
Marc Mutz
99792a90c6
extract method for multipart handling from big switch
...
adjust processTextType signature to match that of processMultiPartType
svn path=/trunk/kdenetwork/kmail/; revision=199140
24 years ago
Marc Mutz
576182a148
starting a series of "extract method" to break up the biiiig switch statement
...
svn path=/trunk/kdenetwork/kmail/; revision=199132
24 years ago
Marc Mutz
ab45b5ea99
#ifdef NDEBUG - you know...
...
svn path=/trunk/kdenetwork/kmail/; revision=199115
24 years ago
Marc Mutz
c12c57cf42
bugfix: use default CryptPlug if mCryptPlugWrapper is null
...
svn path=/trunk/kdenetwork/kmail/; revision=198977
24 years ago
Marc Mutz
3e810e5b16
kernel->cryptPlugList() cannot be 0. Use this to simplify foundMatchingCryptPlug()
...
svn path=/trunk/kdenetwork/kmail/; revision=198974
24 years ago
Marc Mutz
5d66355172
adding some #ifndef NDEBUG
...
svn path=/trunk/kdenetwork/kmail/; revision=198966
24 years ago
Marc Mutz
7f3c932ade
"Replace parameter with member" again. Don't pass the cryptPlug to use down the function call hierarchy, but save it in a member variable
...
svn path=/trunk/kdenetwork/kmail/; revision=198955
24 years ago
Marc Mutz
01a4287821
"Replace parameter with member" (dunno if that exists yet). This time it's requestStringPtr that stank. ;-)
...
svn path=/trunk/kdenetwork/kmail/; revision=198892
24 years ago
Marc Mutz
f71aaf8edd
Make ObjectTreeParser a class instead of a namespace:
...
- 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
24 years ago
Marc Mutz
6529da9612
move more stuff from KMReaderWin to ObjectTreeParser: okDecryptMIME, byteArrayToTempFile, tmpHelper, ...
...
svn path=/trunk/kdenetwork/kmail/; revision=198860
24 years ago
Marc Mutz
001cc59021
start to refactor the readerwin
...
- 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
24 years ago