<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/show-message.c, branch master</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=master</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2012-04-15T12:42:15Z</updated>
<entry>
<title>Remove show-message.c</title>
<updated>2012-04-15T12:42:15Z</updated>
<author>
<name>Austin Clements</name>
<email>amdragon@MIT.EDU</email>
</author>
<published>2012-04-08T00:57:47Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=ae59f4ab4d6029dd1c3847d02a5928de207f7aa5'/>
<id>urn:sha1:ae59f4ab4d6029dd1c3847d02a5928de207f7aa5</id>
<content type='text'>
There are no more calls to show_message_body.
</content>
</entry>
<entry>
<title>Add compatibility with gmime 2.6</title>
<updated>2012-01-21T12:52:34Z</updated>
<author>
<name>Thomas Jost</name>
<email>schnouki@schnouki.net</email>
</author>
<published>2012-01-20T09:39:24Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=00b5623d1a21d886b564d031e30749e5d02e4ae6'/>
<id>urn:sha1:00b5623d1a21d886b564d031e30749e5d02e4ae6</id>
<content type='text'>
There are lots of API changes in gmime 2.6 crypto handling. By adding
preprocessor directives, it is however possible to add gmime 2.6 compatibility
while preserving compatibility with gmime 2.4 too.

This is mostly based on id:"8762i8hrb9.fsf@bookbinder.fernseed.info".

This was tested against both gmime 2.6.4 and 2.4.31. With gmime 2.4.31, the
crypto tests all work fine (as expected). With gmime 2.6.4, one crypto test is
currently broken (signature verification with signer key unavailable), most
likely because of a bug in gmime which will hopefully be fixed in a future
version.
</content>
</entry>
<entry>
<title>show: Rewrite show_message_body to use the MIME tree interface.</title>
<updated>2011-12-26T02:23:15Z</updated>
<author>
<name>Austin Clements</name>
<email>amdragon@MIT.EDU</email>
</author>
<published>2011-12-24T18:52:46Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=d61cef374b3234c2f1327fa74b612b40c196a605'/>
<id>urn:sha1:d61cef374b3234c2f1327fa74b612b40c196a605</id>
<content type='text'>
This removes all of the MIME traversal logic from show_message_body
and leaves only its interaction with the format callbacks.

Besides isolating concerns, since traversal happens behind a trivial
interface, there is now much less code duplication in
show_message_part.  Also, this uses mime_node_seek_dfs to start at the
requested part, eliminating all of the logic about parts being
selected or being in_zone (and reducing the "show state" to only a
part counter).  notmuch_show_params_t no longer needs to be passed
through the recursion because the only two fields that mattered
(related to crypto) are now handled by the MIME tree.

The few remaining complexities in show_message_part highlight
irregularities in the format callbacks with respect to top-level
messages and embedded message parts.

Since this is a rewrite, the diff is not very enlightening.  It's
easier to look at the old code and the new code side-by-side.
</content>
</entry>
<entry>
<title>show: Pass notmuch_message_t instead of path to show_message_body.</title>
<updated>2011-12-26T02:17:27Z</updated>
<author>
<name>Austin Clements</name>
<email>amdragon@MIT.EDU</email>
</author>
<published>2011-12-24T18:52:43Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=36f7fe5a1c83f3f0dd8fc883db558ab058b974f3'/>
<id>urn:sha1:36f7fe5a1c83f3f0dd8fc883db558ab058b974f3</id>
<content type='text'>
In addition to simplifying the code, we'll need the notmuch_message_t*
in show_message_body shortly.
</content>
</entry>
<entry>
<title>Improve handling of message/rfc822 parts by adding a new header_message_part function to the formating structure.</title>
<updated>2011-09-06T01:58:52Z</updated>
<author>
<name>Jameson Graef Rollins</name>
<email>jrollins@finestructure.net</email>
</author>
<published>2011-06-06T00:29:28Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=12de016686351b78631546299ed35cced01f1e77'/>
<id>urn:sha1:12de016686351b78631546299ed35cced01f1e77</id>
<content type='text'>
This new function takes a GMimeMessage as input, and outputs the
formatted headers.  This allows for message/rfc822 parts to be
formatted on output in a similar way to full messages (see previous
patch that overhauls the multipart test for more info).
</content>
</entry>
<entry>
<title>Render all parts of multipart/encrypted when decrypting.</title>
<updated>2011-05-27T23:22:00Z</updated>
<author>
<name>Jameson Graef Rollins</name>
<email>jrollins@finestructure.net</email>
</author>
<published>2011-05-27T10:27:37Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=82daf29187f84076d55df9ea35da692d200128ec'/>
<id>urn:sha1:82daf29187f84076d55df9ea35da692d200128ec</id>
<content type='text'>
The primary goal here is to keep the decrypted output as similarly
structured as undecrypted output as possible.  Now, when decrypting
parts, only the original encrypted part is replaced by the it's
decrypted content.  If this part isn't itself a multipart, then all
part numbering should remain consistent during decryption.

The only draw back here is that the useless application/pgp-encrypted
sub-part of the multipart/encrypted part is also emitted.  But this
part can be easily ignored by clients.
</content>
</entry>
<entry>
<title>Do not replace multipart/signed part with content part when doing verification.</title>
<updated>2011-05-27T23:22:00Z</updated>
<author>
<name>Jameson Graef Rollins</name>
<email>jrollins@finestructure.net</email>
</author>
<published>2011-05-27T10:27:36Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=54045197498f540b4ba96344073994bac13a3039'/>
<id>urn:sha1:54045197498f540b4ba96344073994bac13a3039</id>
<content type='text'>
Some folks have complained about the part renumbering that occurs when
the entire multipart/signed part is replaced with the part contents
after verification.  This is primarily because it incurs an additional
computational cost to retrieve individual parts, since verification
has to be performed again to ensure that part numbering is consistent.
This patch simply leaves the full multipart/signed part as is.

The emacs crypto test is also updated to reflect this change.
</content>
</entry>
<entry>
<title>Add decryption of PGP/MIME-encrypted parts with --decrypt.</title>
<updated>2011-05-27T23:22:00Z</updated>
<author>
<name>Jameson Graef Rollins</name>
<email>jrollins@finestructure.net</email>
</author>
<published>2011-05-26T01:01:18Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=2e653db38fc38dee92b2ee0564e27921132e7232'/>
<id>urn:sha1:2e653db38fc38dee92b2ee0564e27921132e7232</id>
<content type='text'>
This adds support for decrypting PGP/MIME-encrypted parts to
notmuch-show and notmuch-reply.  The --decrypt option implies
--verify.  Once decryption (and possibly signature verification) is
done, a new part_encstatus formatter is emitted, the part_sigstatus
formatter is emitted, and the entire multipart/encrypted part is
replaced by the contents of the encrypted part.

At the moment only a json part_encstatus formatting function is
available, even though decryption is done for all formats.  Emacs
support to follow.
</content>
</entry>
<entry>
<title>Add signature verification of PGP/MIME-signed parts with --verify.</title>
<updated>2011-05-27T23:22:00Z</updated>
<author>
<name>Jameson Graef Rollins</name>
<email>jrollins@finestructure.net</email>
</author>
<published>2011-05-26T01:01:17Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=8b18efe171ef80cbb238a9446137c39908755d2d'/>
<id>urn:sha1:8b18efe171ef80cbb238a9446137c39908755d2d</id>
<content type='text'>
This is primarily for notmuch-show, although the functionality is
added to show-message.  Once signatures are processed a new
part_sigstatus formatter is emitted, and the entire multipart/signed
part is replaced with the contents of the signed part.

At the moment only a json part_sigstatus formatting function is
available.  Emacs support to follow.

The original work for this patch was done by

  Daniel Kahn Gillmor &lt;dkg@fifthhorseman.net&gt;

whose help with this functionality I greatly appreciate.
</content>
</entry>
<entry>
<title>Break up format-&gt;part function into part_start and part_content functions.</title>
<updated>2011-05-27T23:18:57Z</updated>
<author>
<name>Jameson Graef Rollins</name>
<email>jrollins@finestructure.net</email>
</author>
<published>2011-05-26T01:01:13Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=d92146d3a6809f8ad940302af49cd99a0820665e'/>
<id>urn:sha1:d92146d3a6809f8ad940302af49cd99a0820665e</id>
<content type='text'>
Future improvements (eg. crypto support) will require adding new part
header.  By breaking up the output of part headers from the output of
part content, we can easily out new part headers with new formatting
functions.
</content>
</entry>
</feed>
