<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/show-message.c, branch 0.10.2</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.10.2</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.10.2'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2011-09-06T01:58:52Z</updated>
<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>
<entry>
<title>Use empty strings instead of NULL in format_reply structure.</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:12Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=757e06f74bb7b5f69c0a20c7a5432150e074055d'/>
<id>urn:sha1:757e06f74bb7b5f69c0a20c7a5432150e074055d</id>
<content type='text'>
This keeps things consistent with notmuch-show, and prevents having to
check for the existence of the field pointer for simple string output
formats.
</content>
</entry>
<entry>
<title>notmuch reply: Avoid segmentation fault when printing multiple parts</title>
<updated>2011-05-24T19:19:18Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2011-05-24T17:52:38Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=b825bce61d24963f5b9c9c94d89e306640ac104b'/>
<id>urn:sha1:b825bce61d24963f5b9c9c94d89e306640ac104b</id>
<content type='text'>
The code was previously trying to print a NULL string in this case, which
is obviously what we don't want to do.
</content>
</entry>
<entry>
<title>New part output handling as option to notmuch-show.</title>
<updated>2011-05-23T22:31:32Z</updated>
<author>
<name>Jameson Graef Rollins</name>
<email>jrollins@finestructure.net</email>
</author>
<published>2011-05-23T22:31:32Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=2f8871df6ea3c0b44f85a0fc1b4f58a6b70b0a0e'/>
<id>urn:sha1:2f8871df6ea3c0b44f85a0fc1b4f58a6b70b0a0e</id>
<content type='text'>
Outputting of single MIME parts is moved to an option of notmuch show,
instead of being handled in it's own sub-command.  The recent rework
of multipart mime allowed for this change but consolidating part
handling into a single recursive function (show_message_part) that
includes formatting.  This allows for far simpler handling single
output of a single part, including formatting.
</content>
</entry>
<entry>
<title>Normalize part counting and formatting in show_message_part function.</title>
<updated>2011-05-23T22:30:26Z</updated>
<author>
<name>Jameson Graef Rollins</name>
<email>jrollins@finestructure.net</email>
</author>
<published>2011-05-23T05:08:08Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=ecae541031911b65594c3ec757abb671583e8872'/>
<id>urn:sha1:ecae541031911b65594c3ec757abb671583e8872</id>
<content type='text'>
Simplify the function by moving part counting and formatting outside
of conditionals, thereby eliminating redundant code.  This also wraps
message part output handling with proper part formatting.
</content>
</entry>
</feed>
