feat(mimetreeparser): Support MemoryHole in MimeTreeParser.
ClosedPublic

Authored by knauss on Sep 1 2019, 3:35 PM.

Details

Summary

The pasring part is done with this patch, but for the user it is not
visible as we need to make sure, that we first create the MimeTree and
afterwards render the header and than the body.

Diff Detail

Repository
R94 PIM: Message Library
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
knauss created this revision.Sep 1 2019, 3:35 PM
Restricted Application added a project: KDE PIM. · View Herald TranscriptSep 1 2019, 3:35 PM
Restricted Application added a subscriber: kde-pim. · View Herald Transcript
knauss requested review of this revision.Sep 1 2019, 3:35 PM
dvratil requested changes to this revision.Sep 10 2019, 9:03 PM

Looks good, mostly small nitpicks.

mimetreeparser/src/messagepart.cpp
1042

Bad indentation

1393

Wrong indentation

mimetreeparser/src/nodehelper.cpp
545–557

This if is not needed, the vector will be allocated automatically by QMap::operator[] if it does not exist yet.

mimetreeparser/src/nodehelper.h
85

Should this be called "registerHeaderOverride", since the message part is an override for the "existing" headers (and similarly elsewhere) ?

This revision now requires changes to proceed.Sep 10 2019, 9:03 PM
This revision was not accepted when it landed; it landed in state Needs Revision.Sep 11 2019, 9:02 AM
This revision was automatically updated to reflect the committed changes.