Commit graph

5902 commits

Author SHA1 Message Date
Daniel Kahn Gillmor
f27a8475b5 notes about debian packaging changes 2018-01-09 07:08:43 -04:00
David Bremner
4cb1eeba83 version: bump to 0.26~rc2
Update debian version to follow.
2018-01-06 09:41:39 -04:00
David Bremner
d151b73836 NEWS: don't start headlines with --
This confuses our simple tooling, and it's questionable style anyway.
2018-01-06 09:30:28 -04:00
David Bremner
c5944537c8 NEWS: minimalist notes for Vladimir's changes 2018-01-05 07:58:20 -04:00
David Bremner
4820291bc5 NEWS: minimalist notes for Yuri's changes 2018-01-05 07:58:20 -04:00
David Bremner
42330234df NEWS: minimalist notes for Jani's changes 2018-01-05 07:56:03 -04:00
David Bremner
e4a7a9ff6e NEWS: move test suite news down 2018-01-04 20:46:43 -04:00
Daniel Kahn Gillmor
54982e520c fix typos 2018-01-04 20:35:58 -04:00
David Bremner
0c6ec8c557 Merge branch 'release'
debian updates
2018-01-04 20:26:06 -04:00
Daniel Kahn Gillmor
4a9ed32033 Standards-Version: bump to 4.1.3 (no changes needed) 2018-01-04 19:06:13 -04:00
Daniel Kahn Gillmor
23c0ef2e61 move to debhelper 10 2018-01-04 19:06:03 -04:00
David Bremner
c8fc3d1428 notmuch 0.26~rc1 release
-----BEGIN PGP SIGNATURE-----
 
 iQGzBAABCAAdFiEE3VS2dnyDRXKVCQCp8gKXHaSnniwFAlpK4EkACgkQ8gKXHaSn
 niygiQv/TxmOsXmlxOqBI3pWqhvRjiqE7XlF7ueCBADOxET6cQRfj6CG31vbjAUd
 xNH4SLZR7pKE7K3Dx7jNfqSESgM48Ianlau8ofC2eNpSXegRqX3vTE+9IM64xYpo
 BrdrHJlwOmM2JN/X02mTQFexNgoXZG88Y7WXQOo3ktLxBOna3I1+dS/cEMuHKkGC
 zs80sjqJKixBigI3u9Sg1TMEg/gKj0K3jTRiNtsrR2k3W0ktPmYjMf6l5CKleKx1
 8HGT2VWUip4V3Ih18addQdyxfKPAtvb74SFMu/W6qegTvctr8UIsQhpCzlnzq+37
 UnaTLlmVCWNqMzxt3TUDRq6w4R5MW8wG4iBRuQOYiuzq7vCVV9etRFlWY1KzFbp2
 frtFvq48PyfTupC1B/B6/402V6mooUJXfmu9FP0WxAYawuCsaVVGFXjOwkCeXf6d
 JHuN1Gog4DYPq6y0gakUgFG8sWGouvJVncLHHn26nyDNXnRl5NTGIUrRfce8nXBH
 GV5fHOJ4
 =0A1D
 -----END PGP SIGNATURE-----

Merge tag '0.26_rc1'

notmuch 0.26~rc1 release
2018-01-01 21:50:24 -04:00
David Bremner
1ed211d042 debian: bump date of upload 2018-01-01 21:18:22 -04:00
David Bremner
b75797150b doc: add 2018 to copyright year 2018-01-01 21:17:05 -04:00
Daniel Kahn Gillmor
333187b341 NEWS: document notmuch-properties(7) 2017-12-31 22:34:32 -04:00
Daniel Kahn Gillmor
904d2a8cb0 NEWS: document notmuch_message_remove_all_properties_with_prefix 2017-12-31 22:34:04 -04:00
Daniel Kahn Gillmor
9649f6047f NEWS: notmuch {show, reply} --decrypt takes explicit argument 2017-12-31 22:33:31 -04:00
Daniel Kahn Gillmor
65b96daa35 NEWS: note decrypt_policy in python bindings for index_file 2017-12-31 22:33:16 -04:00
Daniel Kahn Gillmor
8c41578a24 NEWS: transition n_d_add_message to n_d_index_file 2017-12-31 22:32:54 -04:00
Daniel Kahn Gillmor
d09f41a7f4 NEWS: cleartext indexing section includes session keys
These are part and parcel of the same feature, so include the overview
here.
2017-12-31 22:32:19 -04:00
David Bremner
d0dffdae31 doc/{reply, show}: match indentation
This is essentially a conflict resolution Jani's normalization and
Daniel's doc changes, but it's easier to do as a second commit.
2017-12-31 09:34:28 -04:00
David Bremner
99407db25c Merge branch 'release'
Conflicts:
        doc/man1/notmuch-reply.rst
	doc/man1/notmuch-show.rst

Conflicts taken from release (dkg's doc changes)
2017-12-31 09:26:13 -04:00
Jani Nikula
e5e252de55 doc: unify definition list usage across man pages
Make all parameter descriptions etc. use reStructuredText definition
lists with uniform style and indentation. Remove redundant indentation
from around the lists. Remove blank lines between term lines and
definition blocks. Use four spaces for indentation.

This is almost completely whitespace and paragraph reflow changes.
2017-12-31 09:06:11 -04:00
David Bremner
eff029de4a NEWS: Python bindings changes for 0.26
These are my own changes, plus those of Florian Klink and Lucas
Hoffmann. Gaute's change fixed a bug that was never in a released
version, so I left it out.
2017-12-30 16:51:34 -04:00
David Bremner
762617b96c NEWS: CLI changes for 0.26
As with the lib changes, these are based on the commits with me as author.
2017-12-30 16:51:34 -04:00
David Bremner
5eb9086594 NEWS: library changes for 0.26
These are just "my" changes, as arbited by "git shortlog", which
sometimes lies.
2017-12-30 16:51:34 -04:00
David Bremner
c86928bb2c debian: minimalist changelog for 0.26~rc1-1 2017-12-29 16:49:50 -04:00
David Bremner
ae07f6559e version: bump 0.26~rc1 2017-12-29 16:48:42 -04:00
Daniel Kahn Gillmor
af8255fb71 cli/reply: make --decrypt take a keyword
This brings the --decrypt argument to "notmuch reply" into line with
the other --decrypt arguments (in "show", "new", "insert", and
"reindex").  This patch is really just about bringing consistency to
the user interface.

We also use the recommended form in the emacs MUA when replying, and
update test T350 to match.
2017-12-29 16:45:55 -04:00
Daniel Kahn Gillmor
8ea4a99d74 cli/show: make --decrypt take a keyword.
We also expand tab completion for it, update the emacs bindings, and
update T350, T357, and T450 to match.

Make use of the bool-to-keyword backward-compatibility feature.
2017-12-29 16:45:46 -04:00
Daniel Kahn Gillmor
0ada2a05c9 cli: some keyword options can be supplied with no argument
We might change some notmuch command line tools that used to be
booleans into keyword arguments.

In that case, there are some legacy tools that will expect to be able
to do "notmuch foo --bar" instead of "notmuch foo --bar=baz".

This patch makes it possible to support that older API, while
providing a warning and an encouragement to upgrade.
2017-12-29 16:45:35 -04:00
W. Trevor King
07a6214233 NEWS: Add nmbug 0.3 release notes to the notmuch 0.26 section 2017-12-29 16:45:17 -04:00
W. Trevor King
75477003e9 nmbug: Bump to version 0.3
Changes since 0.2:

* Accept failures to unset core.worktree in clone (0a155847,
  2017-10-10, unreleased).
* Use --no-renames in log (f9189a06, 2016-09-26, v0.24).
* Auto-checkout in clone if it wouldn't clobber (7ef3b653, 2017-10-10,
  unreleased).
* Add a 'help' command for folks who don't like --help
  (9d25c97d, 2014-10-03, v0.20).
* Setup a 'config' branch on clone to track origin/config (244f8739,
  2015-03-22, v0.20).  This branch may be consumed by
  notmuch-report(1).
* Only error for invalid diff lines in tags/ (57225988, 2017-10-16,
  unreleased).
* Ignore # comments in 'notmuch dump ...' output (9bbc54bd,
  2016-03-27, v0.22).
* Respect 'expect' in _spawn(..., wait=True) (e263c5b1, 2017-10-10,
  unreleased).
* Update URLs in documentation (554b90b5 and 6a833a6e8, 2016-06-02,
  v0.23).
2017-12-29 16:44:20 -04:00
David Bremner
0fab493ffe notmuch 0.26~rc0 release
-----BEGIN PGP SIGNATURE-----
 
 iQGzBAABCAAdFiEE3VS2dnyDRXKVCQCp8gKXHaSnniwFAlpFDroACgkQ8gKXHaSn
 niyimgv/bKLRin2t+bXnDAGG4fD54shoqFufg8ErspcCjeDSVDkSlTg5tUTMGSA0
 sL7wbEe0YEacchJsbA4lBF3L6yfEIHEx7F1cENIJ1+yNP53h6zctDBithtWk+bxe
 1wjcKzFLLtluzzV+7gemGAodYWlwoRrTNQukmwm46In2Hji/J7ZeS1SRyvXLZnwQ
 8iS8WtZuyNat++6Txx51fJV8wx3wO44vR/L9X+sNQNZAlUQ9pzYTMjf1EU/JYuKd
 9sSau4hU30w433ce0TQx0+17Iu3VgJxZo2XJ9ZhIqKvD86MqSd8pmYS5/R0ThDOr
 Lh+wOVOBkUVKIo49+fR7+hJQWi2Y2kkgGc+gawQ1EvEDt+ZZNzu5bOnPL5GsOegn
 L+imIzEfb+jCIhd456lvESHpEY3SvnSqulXz5kgxN05hNuykx2VZyN1I8Ggo8dLG
 gh3Hz/jkeLuW7Pc3rGoiRTVC5SjkyAPRkmkoKGl3VrPcUEng2ic7krUjR++Ql5Bj
 6qlQekN0
 =1B4G
 -----END PGP SIGNATURE-----

Merge tag '0.26_rc0'

notmuch 0.26~rc0 release
2017-12-28 12:02:40 -04:00
David Bremner
aa35cfda41 debian: update libnotmuch5.symbols for 0.26
Several added symbols, no SONAME bump.
2017-12-28 11:26:41 -04:00
David Bremner
25ff9d6ca6 debian: changelog stanza for 0.26~rc0-1 2017-12-28 10:21:54 -04:00
David Bremner
cf02456411 version: bump to 0.26~rc0 2017-12-28 10:19:48 -04:00
Tomi Ollila
d11311212e make release archive: common (or no) timestamps
The appended file 'version' has the same timestamp as the files added
by `git archive`.

The original file name and time stamp are no longer saved to the
gzip header in resulting $(PACKAGE)-$(VERSION).tar.gz file.

When build environment is close enough to another, this may
provide mutually reproducible release archive files.
2017-12-28 10:12:21 -04:00
David Bremner
b09025bce2 Revert "lib: add thread subqueries."
This reverts commit 4f5bbaf7e2.
2017-12-28 10:05:55 -04:00
David Bremner
9ced40228b python: remove obsolete debian directory
It is unlikely this still works since it has not been updated since
2010. The python packages for debian are now built by the top level
debian/ packaging.
2017-12-27 12:42:50 -04:00
David Bremner
4f5bbaf7e2 lib: add thread subqueries.
This change allows queries of the form

 thread:{from:me} and thread:{from:jian} and not thread:{from:dave}

This is still somewhat brute-force, but it's a big improvement over
both the shell script solution and the previous proposal [1], because it
does not build the whole thread structure just generate a
query. A further potential optimization is to replace the calls to
notmuch with more specialized Xapian code; in particular it's not
likely that reading all of the message metadata is a win here.

[1]: id:20170820213240.20526-1-david@tethera.net
2017-12-25 20:40:28 -04:00
Daniel Kahn Gillmor
68e753a21f NEWS: document notmuch reindex
Describe the introduction of the "reindex" subcommand.  This blurb
acknowledges Subject: instability under reindexing when multiple
copies exist (suggesting that this is something that needn't
necessarily hold up a release).
2017-12-24 09:54:01 -04:00
Daniel Kahn Gillmor
6aec7a76b9 python: add decrypt_policy argument to Database.index_file()
We adopt a pythonic idiom here with an optional argument, rather than
exposing the user to the C indexopts object directly.

This now includes a simple test to ensure that the decrypt_policy
argument works as expected.
2017-12-24 09:47:35 -04:00
l-m-h@web.de
e0ac149955 python: Fix method name in docs
Fix a method rename in the docs that was overlooked in
3444c731d2.
2017-12-24 09:17:06 -04:00
Daniel Kahn Gillmor
b1de8e885d test: final named query test works regardless of Xapian FieldProcessor
This test passes with older versions of Xapian as well, because
neither query returns any results.

This should resolve the travis build failure at
https://travis-ci.org/notmuch/notmuch/builds/318571658

Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
2017-12-21 09:35:20 -04:00
David Bremner
7cfa1c6961 lib: return "" rather than NULL from notmuch_thread_get_authors
The current behaviour is at best under-documented. The modified test in
T470-missing-headers.sh previously relied on printf doing the right
thing with NULL, which seems icky.

The use of talloc_strdup here is probably overkill, but it avoids
having to enforce that thread->authors is never mutated outside
_resolve_thread_authors_string.
2017-12-21 09:22:30 -04:00
Daniel Kahn Gillmor
8e1c3fa5bb test: retrying lock tests are broken when built against older Xapian
If we're building against a version of Xapian that doesn't offer
retrying the lock, we should be honest and describe the tests as
broken, rather than marking them as missing a test prerequisite.

missing test prerequisites should be for specific components of the
test harness that are missing, not for the backend library notmuch
uses.
2017-12-19 07:14:13 -04:00
Daniel Kahn Gillmor
bace15c275 test: named query tests are broken when missing Xapian FieldProcessor
Named queries don't work without Xapian FieldProcessor.  Rather than
silently skipping them, we should explictly mark them as broken when
building against an older version of Xapian.
2017-12-19 07:14:07 -04:00
Daniel Kahn Gillmor
776a2982ae test: searching by absolute date is broken without Xapian FieldProcessor
Previously, the test suite had simply silently skipped the absolute
date test if we're using an archaic version of Xapian.  For
correctness, we should instead mark the test as broken.

This also changes from string to numeric comparison when checking
NOMTUCH_HAVE_XAPIAN_FIELD_PROCESSOR for consistency with other tests.
2017-12-19 07:14:03 -04:00
l-m-h@web.de
660f1a5a33 test: Add test to unset config items with the python bindings 2017-12-19 06:42:50 -04:00