unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [PATCH 0/6] cli: improve handling of crypto parameters contexts
@ 2012-05-16 21:55 Jameson Graef Rollins
  2012-05-16 21:55 ` [PATCH 1/6] cli: new crypto structure to store crypto contexts and parameters Jameson Graef Rollins
  0 siblings, 1 reply; 23+ messages in thread
From: Jameson Graef Rollins @ 2012-05-16 21:55 UTC (permalink / raw)
  To: Notmuch Mail

I wanted to see if I could hack in S/MIME support, but ultimately
failed (the interface is too stupid for me to deal with at the
moment).  However, on the way there I did manage to make some tangible
improvements to how crypto is handled in show and reply.

Most importantly I've moved the initialization of the gpg context to
mime_node.c where it is created lazily, only when needed.  This should
provide some speed up in notmuch show and reply when crypto flags are
provided but the messages have no crypto parts.

I was also able to get rid of a bunch of those pesky
"#ifdef GMIME_ATLEAST_26" conditionals.

This should provide a better framework for someone to try to hack in
S/MIME support at a later date if they're so inclined.

jamie.

^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2012-05-18 17:10 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-16 21:55 [PATCH 0/6] cli: improve handling of crypto parameters contexts Jameson Graef Rollins
2012-05-16 21:55 ` [PATCH 1/6] cli: new crypto structure to store crypto contexts and parameters Jameson Graef Rollins
2012-05-16 21:55   ` [PATCH 2/6] cli: modify mime_node_context to use the new notmuch_crypto_t Jameson Graef Rollins
2012-05-16 21:55     ` [PATCH 3/6] cli: modify mime_node_open to take crypto struct as argument Jameson Graef Rollins
2012-05-16 21:55       ` [PATCH 4/6] cli: intialize crypto structure in show and reply Jameson Graef Rollins
2012-05-16 21:55         ` [PATCH 5/6] cli: new crypto verify flag to handle verification Jameson Graef Rollins
2012-05-16 21:55           ` [PATCH 6/6] cli: lazily create the crypto gpg context only when needed Jameson Graef Rollins
2012-05-17 22:29             ` Austin Clements
2012-05-17  7:47         ` [PATCH 4/6] cli: intialize crypto structure in show and reply Jani Nikula
2012-05-17 14:26           ` Jameson Graef Rollins
2012-05-17 16:31             ` Jani Nikula
2012-05-17 16:45               ` Jameson Graef Rollins
2012-05-17 20:23                 ` Jani Nikula
2012-05-17 20:53                   ` Jameson Graef Rollins
2012-05-17 21:51                 ` Daniel Kahn Gillmor
2012-05-18  6:59                   ` Tomi Ollila
2012-05-18  8:20                   ` Jani Nikula
2012-05-18 17:09                     ` Daniel Kahn Gillmor
2012-05-17 22:29         ` Austin Clements
2012-05-17  7:40       ` [PATCH 3/6] cli: modify mime_node_open to take crypto struct as argument Jani Nikula
2012-05-17 22:26       ` Austin Clements
2012-05-17  7:37     ` [PATCH 2/6] cli: modify mime_node_context to use the new notmuch_crypto_t Jani Nikula
2012-05-17  7:36   ` [PATCH 1/6] cli: new crypto structure to store crypto contexts and parameters Jani Nikula

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).