summaryrefslogtreecommitdiffstats
path: root/src/plugins/messageservices/imap/imapstructure.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Rewrite logging with QLoggingCategoryDamien Caliste2025-06-131-7/+6
| | | | | | | | | Replace the custom logging mechanism with QLoggingCategory. Also declare the warnings with the proper category. Change-Id: If87d53d27ea0c65abd434af9f99fe49ce634d6dd Reviewed-by: Pekka Vuorela <[email protected]>
* Remove trailing whitespace with sed scriptPekka Vuorela2025-05-091-4/+4
| | | | | | | Change-Id: Iebfffe7a6d5b2db40f0508ecd7c8ccddfa6665a6 Reviewed-by: Damien Caliste <[email protected]> Reviewed-by: <[email protected]> Reviewed-by: Pekka Vuorela <[email protected]>
* Set the encryption status on IMAP receptionDamien Caliste2023-09-201-0/+3
| | | | | | | | | When the structure of the email is received in an IMAP transfer, set or not the encryption flag, as it is done for attachments. Change-Id: Ief42663d2c38c19b1cd29c21b35f67e4cfcb1fb2 Reviewed-by: Pekka Vuorela <[email protected]>
* Introduce a new function to test content type contentDamien Caliste2018-09-111-2/+2
| | | | | | | | | | | Create a new function to ensure that content type matching is always done case insensitive. Originally the comparison was done after a toLower(), but forgetting this, like in src/libraries/qmfclient/qmailmessage.cpp#6252, can create bugs. Change-Id: Ia93e068e5374c346c94c2afe4de768d3833b4a9a Reviewed-by: Pekka Vuorela <[email protected]>
* Gracefully handle bodystructure where boundaries are reported as NIL.Robin Burchell2018-09-081-1/+6
| | | | | | | | | | | | | Some servers (e.g mail.ru) report boundaries as NIL for multipart messages. from my understanding of RFC2046 this is invalid, but we can gracefully handle those by setting them to empty. Avoids crash when requesting a partAt() for a message that does not exist, this happened due to NIL boundaries, but no need to crash in such cases. Change-Id: I676e444184ad1ca39f93bc8d18635f134a315d0a Done-with: Valério Valério <[email protected]> Reviewed-by: Valerio Valerio <[email protected]>
* Update licensing to match latest approach in QtCore.Robin Burchell2015-08-281-22/+14
| | | | | Change-Id: Icce55517963f0cbc35211e9fc6f1a0fc413f5676 Reviewed-by: Simon Hausmann <[email protected]>
* Update Qt 5 port to match latest releaseValerio Valerio2013-04-191-6/+6
| | | | | | | | Update code base to match latest release of Qt. Signed-off-by: Valerio Valerio <[email protected]> Change-Id: I02c2ff250ea8cd960938b81903e92b04c745ae9c Reviewed-by: Matthew Vogt <[email protected]> Reviewed-by: Robin Burchell <[email protected]>
* Change to new-form Digia license headers.Robin Burchell2013-02-121-24/+24
| | | | | Change-Id: If0f4427ee93a37de4ebd9e097defd8b3956f0fc6 Reviewed-by: Lars Knoll <[email protected]>
* Merge MeeGo QMF conversations supportValerio Valerio2012-02-161-1/+1
|
* Fixes: NB#288657Valerio Valerio2012-01-121-1/+7
| | | | | Port from MeeGo QMF. Prefer the Content-Disposition/Size to the body size.
* Update license headers (make them consistent with harmattan qmf)Don Sanders2011-08-071-17/+17
| | | | Remove obsolete pre-release clause.
* Merge patch from eocanhaDon Sanders2011-03-171-4/+10
| | | | | | | | | Yahoo IMAP server provides more fields than needed for the FETCH BODYSTRUCTURE command response. What this patch does is to discard all those unrequested fields by discarding those parsing item of negative depth, that is, above the scope that has been requested for parsing.
* Fix for regression caused by fix for NB#207235Patrick Burke2011-01-061-0/+5
|
* If IMAP BODYSTRUCTURE parsing fails, e.g. because the structure isDon Sanders2010-09-151-13/+37
| | | | | | | | ill-formed then ensure the created mail has PartialContentAvailable set to false. Clients should offer the user an option to retrieve the complete mail for mail with the PartialContentAvailable flag not set.
* Krazy code cleanupEric Springer2010-07-211-2/+2
| | | | Fix issues suggested by KDE's code checking tool "Krazy"
* Update license files, so they are the same as Qt.Don Sanders2010-06-291-16/+16
| | | | | | | | Specifically remove out dated "or the Beta Release License Agreement" text. Remove redundant GPL paragaph. Update copyright to 2010.
* Fixes: Crash when parsing ill-formed gmail imap BODYSTRUCTURE output.Don Sanders2009-12-221-1/+6
| | | | | | | Task: QTSOL-89 Details: gmail is returning ill formed BODYSTRUCTURE output in some cases, specifically chinese mails sent by George. KMail doesn't show them at all. Gmail web interface doesn't show one.
* Remove instances of 'Qt Software' from copyright info.MattV2009-11-231-1/+1
|
* Use case-insensitive comparisons.MattV2009-10-011-1/+1
|
* Update copyright header.2009W23MattV2009-06-051-3/+34
|
* Do not use EOF as a character value.MattV2009-06-041-3/+4
| | | | Task: 255177
* Improved partial download support.MattV2009-03-241-13/+30
| | | | | | | | | Ensure that partially downloaded data is stored in un-decoded form, allowing the following portion to be sensibly appended, and the stored size to make sense with regard to the transmission size. For messages, store the content size separately to the size of the message in total.
* Improved support for multipart/related messages.MattV2009-03-181-7/+31
|
* Fix parsing of nested bodystructure listings.MattV2009-03-171-4/+6
|
* Merge branch 'master' of [email protected]:addons/messagingframeworkDon Sanders2009-03-171-5/+11
|\
| * Record the size and default disposition for parts without a disposition ↵MattV2009-03-171-5/+11
| | | | | | | | specification.
* | Description: Add some qWarnings to detect badly formatted BODYSTRUCTUREs.Don Sanders2009-03-171-0/+6
|/
* Ensure multi-part boundaries are correctly parsed.MattV2009-03-161-8/+4
|
* Description: Using a reference to store the parameters variable is causing ↵Don Sanders2009-03-111-14/+10
| | | | | | (it + 1) == end to always return true. I conclude using a reference to store parameters is a bad idea.
* Fixes: Crash on message with date Sat, 1 Oct 2005, now copied to mailtst04 ↵Don Sanders2009-03-091-2/+2
| | | | | | account. Details: Only fixed the crash unforunately the bodystructure is still not being parsed correctly.
* Inital commit of QMF qt.Aleks Wojcik2009-03-051-0/+440