50 Commits (cdb3d99f65e4818bc59fdbf86ac3e779bbeeb0fc)

Author SHA1 Message Date
Matthias Kretz e5fa422ab1 compile with coolo's last change to qt-copy: I hope this time I got it right 23 years ago
Stephan Kulow c5889c5df9 null-terminate QCStrings - this is a really a common pitfall ;( 23 years ago
Ingo Klcker e22a58b4cf Marc missed one occurrence of label which needs to be HTMLized 23 years ago
Marc Mutz 9fe19be02b o Only draw a frame around text/plain parts if they have a filename set. 23 years ago
Zack Rusin b128a466e2 Lets try this : major include's cleanup. Should shave a few mins of kmail's compilation. 23 years ago
Bo Thorsen 3df6253930 - Lots of string encoding fixes 23 years ago
Bo Thorsen 41732a415e No need for extern C here 23 years ago
Bo Thorsen dc56022a6f Fix compilation 23 years ago
Ingo Klcker 5b14c5d3a6 - Fix the logic which decides how text attachments and other attachments displayed depending on the attachment strategy. Among other things this fixes bug 55377 (Hiding attachments causes HTML messages to be renderend as HTML code). 23 years ago
Ingo Klcker 57486925bb Never display raw vCards inline. 23 years ago
Ingo Klcker b9df8c1302 Get rid of the crypt plug error message boxes. Instead the error messages are shown in the status frames. 23 years ago
Daniel Naber 0bde557c93 show warning in standard text size (instead of smaller); slightly better 23 years ago
Eugene Zelenko 38bb4ac227 Make "...continued" messages same 23 years ago
Marc Mutz 115896c5be my last commit broke forcing an encoding. Fix that. 23 years ago
Marc Mutz 57038a9413 Fix display of messages with multiple t/p parts, each of which encoded in a differnet charset - pretty basic MIME functionality, actually. 23 years ago
Marc Mutz ae41bdaaf3 small cleanup (1st hunk; don't copy the QCString) and fix display of mails with e.g. the following structure: 23 years ago
Ingo Klcker 72e6bb650f Don't display PostScript attachments inline. This prevents a possible DoS attack (cf. Bug 54383). 23 years ago
Daniel Molkentin 3111ae92b4 getting rid of some unneeded QRegExps 23 years ago
Ingo Klcker 46cf9121ea Forward port of the fix for bug 53975: KMail reports unsigned messages as signed 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. 23 years ago
Marc Mutz 11f738af38 Move KMReaderWin::queueHtml() and all html queueing code over to 24 years ago
Cornelius Schumacher bb04207614 Make it compile. 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. 24 years ago
Marc Mutz 9c14e2e47e Trying to fix the KMail side of "KMail doesn't understand me if I hit "Cancel" in pinentry". 24 years ago
Marc Mutz 88e68fcf7c Don't leak html writers. Create and use one and only one HtmlWriter per KMReaderWin. 24 years ago
Marc Mutz ee3646dcb1 Use HtmlWriter in ObjectTreeParser, where possible. 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". 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. 24 years ago
Marc Mutz 19f87c9e54 Extract dumping to files (for debugging) to a dumpToFile() method. 24 years ago
Marc Mutz e81ff8fc33 more #ifndef NDEBUG 24 years ago
Marc Mutz a47366543b Make showOneMimePart, keepEncryptions and includeSignatures members instead of parameters. 24 years ago
Marc Mutz 4c30162e48 New almost-copy ctor for ObjectTreeParser that copies the context, but not the resultString. 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(). 24 years ago
Marc Mutz 82dba5f9aa added writeBodyString(), a small wrapper around KMREaderWin::writeBodyStr() 24 years ago
Marc Mutz d4cd66940b New parameter object ProcessResult, encapsulating isInline{Signed,Encrypted}, isImage and bNeverDisplayInline 24 years ago
Marc Mutz 15265c79c9 Cleanup of trivial processFooType methods 24 years ago
Marc Mutz defede107f remove some unused code 24 years ago
Marc Mutz 80c0f7b60f These were easy: process{Image,Audio,Video,Model}Type. 24 years ago
Marc Mutz 68acfb25aa Extract process{Message,Applicatin}Type, the latter prompting another update of processFooType methods' signatures (return value isImage added) 24 years ago
Marc Mutz 99792a90c6 extract method for multipart handling from big switch 24 years ago
Marc Mutz 576182a148 starting a series of "extract method" to break up the biiiig switch statement 24 years ago
Marc Mutz ab45b5ea99 #ifdef NDEBUG - you know... 24 years ago
Marc Mutz c12c57cf42 bugfix: use default CryptPlug if mCryptPlugWrapper is null 24 years ago
Marc Mutz 3e810e5b16 kernel->cryptPlugList() cannot be 0. Use this to simplify foundMatchingCryptPlug() 24 years ago
Marc Mutz 5d66355172 adding some #ifndef NDEBUG 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 24 years ago
Marc Mutz 01a4287821 "Replace parameter with member" (dunno if that exists yet). This time it's requestStringPtr that stank. ;-) 24 years ago
Marc Mutz f71aaf8edd Make ObjectTreeParser a class instead of a namespace: 24 years ago
Marc Mutz 6529da9612 move more stuff from KMReaderWin to ObjectTreeParser: okDecryptMIME, byteArrayToTempFile, tmpHelper, ... 24 years ago
Marc Mutz 001cc59021 start to refactor the readerwin 24 years ago