Revision 59a9bda...

Go back to digest for 27th October 2013

Features in KDE-PIM

Jan Kundrát committed changes in [trojita] /Imap:

IMAP: Implement fetching of raw part data without the CTE decoding

Certain applications, most notably support for signature verification, requires
access to raw, unprocessed part data as returned by the IMAP server. Trojita,
however, is happy to utilize the BINARY extension and stores the data in the
already decoded form.

This patch adds a new special tree item, the OFFSET_RAW_CONTENTS. When accessed,
a request for raw data is made, the result is stored in an appropriate cache
entry and the data are also made available to the "regular" part.

File Changes

Modified 5 files
  • /Imap
  •   tests/test_Imap_BodyParts.cpp
  •   tests/test_Imap_BodyParts.h
  •   src/Model/MailboxTree.cpp
  •   src/Model/MailboxTree.h
  •   src/Model/Model.cpp
5 files changed in total