summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-07-16debian: note two closed bugs in changelogdebian/0.25_rc0-10.25_rc0David Bremner
2017-07-16debian: don't create obsolete bash completion dirDavid Bremner
2017-07-16debian: set distribution to experimental, finalize changelogDavid Bremner
2017-07-16debian: add more c++ gunk to symbols fileDavid Bremner
2017-07-16debian: bump changelog version, mention SONAME bumpDavid Bremner
2017-07-16NEWS: start entry for 0.25David Bremner
2017-07-16version: bump version to 0.25~rc0David Bremner
2017-07-15crypto: clean up unused definitions in gmime 3.0David Bremner
based on the same patch from dkg as the previous commit.
2017-07-15crypto: Avoid explicit handling of GMimeCryptoContext in gmime 3David Bremner
gmime 3.0 knows how to select the correct GMimeCryptoContext automatically, so a bunch of the code in notmuch can be dropped in that case. The #ifdef removal of the crypto stuff is better than #define aliasing in gmime-extra.h for this stuff. When built against gmime 3.0: * it reduces compiled code, and * it avoids initializing unused gpgme contexts (based on a patch from dkg)
2017-07-15cli/crypto: eliminated compiler warnings about unused argumentsDavid Bremner
These are due to (excessively?) fancy macro definitions in gmime-extra.h
2017-07-15cli/crypto: treat failure to create a crypto context as fatal.David Bremner
Silently ignoring signed/encrypted parts seems like the wrong idea, and it also complicates future gmime-3.0 compatibility changes.
2017-07-15emacs: change default for notmuch-crypto-process-mime to tDavid Bremner
There are some cases like remote usage where this might cause problems, but those users can easily customize the variable. The inconvenience seems to be outweighed by the security benefit for most users.
2017-07-15NEWS: a few formatting updates for 0.24 news items (wiki compatibility)Tomi Ollila
- removed 7 trailing dots -- to make those lines subsection headers - converted some (mime type) text to monospace - removed one extra space
2017-07-14clean up use of constants in g_mime_multipart_ wrappersDaniel Kahn Gillmor
When compiling as C code (instead of C++) against gmime 3.0, gcc gives errors like the following: error: invalid conversion from ‘int’ to ‘GMimeDecryptFlags’ [-fpermissive] so use explicit *_NONE values instead.
2017-07-14config: deprecate/drop crypto.gpg_path under gmime 2.6/3.0Daniel Kahn Gillmor
gmime 3.0 no longer offers a means to set the path for gpg. Users can set $PATH anyway if they want to pick a differently-installed gpg (e.g. /usr/local/bin/gpg), so this isn't much of a reduction in functionality. The one main difference is for people who have tried to use "gpg2" to make use of gpg 2.1, but that isn't usefully co-installable anyway.
2017-07-14Add additional munged reply-to testsDaniel Kahn Gillmor
The reply-to munging code might behave differently whether there's an exact match on the strings or not, or whether the string is a raw addr-spec instead of an name-addr. These tests cover those variations (i also had to tweak json output further below when this new test was added).
2017-07-14Ensure that "notmuch reply" succeeds during testing.Daniel Kahn Gillmor
In some (bad!) cases, "notmuch reply" might fail, or might even segfault. If this happens, it indicates a bug, and the test suite should notice it.
2017-07-14cli: wrap getting uidDavid Bremner
Apparently it moved from "name" to "key_id" in gmime-3.0
2017-07-14cli: make keyid from fingerprint in gmime 3.0David Bremner
The "key_id" field seems to used for userid in gmime-3.0, while the keyid is dropped in the fingerprint field if the full fingerprint is not available.
2017-07-14lib: paper over allocation differenceDavid Bremner
In gmime 3.0 this function is "transfer none", so no deallocation is needed (or permitted)
2017-07-14lib: add version of _n_m_f_get_combinded_header for gmime 3.0David Bremner
The iterator is gone, so we need a new loop structure.
2017-07-14lib: refactor _notmuch_messsage_file_get_combined_headerDavid Bremner
We need to rewrite the loop for gmime-3.0; move the loop body to its own function to avoid code duplication. Keep the common exit via "goto DONE" to make this pure code movement. It's important to note that the existing exit path only deallocates the iterator.
2017-07-14lib: wrap use of g_mime_utils_header_decode_dateDavid Bremner
This changes return type in gmime 3.0
2017-07-14cli: hide rename of GMimeCertificateTrustDavid Bremner
Both the enum and the values are renamed in GMime 3.0.
2017-07-14cli: generalize use of GMIME_SIGNATURE_{ERROR,STATUS} to gmime-3David Bremner
The ERROR enum is merged into to the STATUS enum, and the set of flags is different.
2017-07-14util: fake gmime-2.6 compatible API for gmime-3.0David Bremner
Several functions have added arguments which accept NULL and provide hopefully sensible defaults. Use macros to minimize source changes.
2017-07-14cli: replace use of g_mime_message_get_recipientsDavid Bremner
This function, and associated enum, have been renamed and generalized in gmime-3.0.
2017-07-14lib/cli: replace use of g_mime_message_get_senderDavid Bremner
This function changes semantics in gmime-3.0 so make a new function that provides the same functionality in both
2017-07-14cli: replace use of g_mime_message_get_reply_toDavid Bremner
This function changes signature in gmime 3.0, so we provide two new functions, one for each signature.
2017-07-14cli: replace use of g_mime_message_get_date_as_stringDavid Bremner
This function goes away in gmime-3.0. Also, the memory management is apparently error prone, witness the memory leak in notmuch-reply.
2017-07-14test/crypto: mark extra space in userid as a bug in gmime-2.6David Bremner
I can't see the space in the output of gpg -K --with-colons
2017-07-12cli: add space separator for keyword, string, and int argumentsDavid Bremner
Defer the complication of optional boolean arguments for later (never?).
2017-07-12cli: change api of parse_optionDavid Bremner
The idea is to allow it (in a future commit) advance to the next argv element to get a value
2017-07-12cli/show: convert keyword options to booleansDavid Bremner
There are two keyword options here that impliment boolean options. It is simpler to use the built-in boolean argument handling, and also more robust against divergence in parsing boolean and keyword arguments.
2017-07-10emacs: tree: drop repeated "of" from docstringKyle Meyer
2017-07-06debian: drop notmuch-dbgDavid Bremner
notmuch-dbgsym should be auto generated now.
2017-07-05test/crypto: add test for corrupted signaturesDavid Bremner
Have an empty list of signatures is not the nicest mechanism to signal complete failure to verify, but it's the one we currently have.
2017-07-05test: add test for modified pgp/mime signed messageDavid Bremner
This is a good thing to test in any case, but particularly as we hit the dark corners of the gmime crypto API.
2017-07-05test: mark test as broken in gmime 3.0David Bremner
Currently I'm not sure what the intent of this test is, so it's not clear if the new answer is better or worse than the old one.
2017-07-05test: mark inclusion of headers as broken in gmime-2.xDavid Bremner
The output of headers here reflects an underlying bug / quirk of gmime-2.6.
2017-07-05test/multipart: reorganize creation of multipart messageDavid Bremner
We want to have the bodies of the multipart available in a file on their own for planned modifications to tests.
2017-07-04cli: implement structured output version 4David Bremner
Since the error field is unused by the emacs front end, no changes are needed other than bumping the format version number. As it is, this is a bit overengineered, but it will reduce duplication when we support gmime 3.0
2017-07-04devel/schemata: describe version 4David Bremner
Replace numeric errors with human readable flags. Not all sig_error keys will necessarily be generated with a given version of gmime. Drop status "none" as it's currrently unused and I don't know what it's for.
2017-07-04emacs: convert to use format-version 3David Bremner
Keeping the emacs interface running old format-versions makes it impossible to test new format-versions or deprecate old ones.
2017-07-03Merge branch 'release'David Bremner
2017-07-02debian: upload 0.24.2-2debian/0.24.2-2David Bremner
Just a no-change rebuild.
2017-07-02Merge branch 'debian'David Bremner
merge in changes from 0.23.7-3 debian upload
2017-07-01lib/index: add simple html filterDavid Bremner
The filter just drops all (HTML) tags. As an enabling change, pass the content type to the filter constructor so we can decide which scanner to user.
2017-07-01lib/index.cc: generalize filter state machineDavid Bremner
To match things more complicated than fixed strings, we need states with multiple out arrows.
2017-07-01lib/index: separate state table definition from scanner.David Bremner
We want to reuse the scanner definition with a different table. This is mainly code movement, and making the state table part of the filter struct/class.