Commit graph

5660 commits

Author SHA1 Message Date
David Bremner
cc8b6b747d NEWS: news item for mset fix 2018-04-26 22:15:11 -03:00
David Bremner
64831e8016 lib: work around xapian bug with get_mset(0,0, x)
At least Fedora28 triggers this Xapian bug due to some toolchain change .

   https://bugzilla.redhat.com/show_bug.cgi?id=1546162

The underlying bug is fixed in xapian commit f92e2a936c1592, and
should be fixed in Xapian 1.4.6
2018-04-26 22:14:59 -03:00
David Bremner
15aaa41ce2 NEWS: add item for reference loop fix. 2018-04-25 17:32:48 -03:00
David Bremner
491b1f4b40 lib: choose oldest message when breaking reference loops
This preserves a sensible thread order
2018-04-23 23:00:20 -03:00
David Bremner
4e085b6d92 test: add known broken test for thread ordering from a loop
The previous loop handling code chooses the last message in the
message list, which turns out to be the last in date order.
See the comment in _notmuch_thread_create.
2018-04-23 23:00:20 -03:00
David Bremner
9293d6da27 lib: break reference loop by choosing arbitrary top level msg
Other parts of notmuch (e.g. notmuch show) expect each thread to
contain at least one top level message, and crash if this expectation
is not met.
2018-04-20 11:23:31 -03:00
David Bremner
ab55ca8e0a test: add known broken test for indexing an In-Reply-To loop.
This documents the bug discussed in

     id:87d10042pu.fsf@curie.anarc.at
2018-04-20 11:23:31 -03:00
David Bremner
044cbd920c test: two new messages for the 'broken' corpus
These have an 'In-Reply-To' loop, which currently confuses "notmuch
new".
2018-04-20 11:23:31 -03:00
David Bremner
ea690a44d1 version: bump to 0.26.1 2018-04-02 08:09:45 -03:00
David Bremner
68d7f5306a debian: changelog for 0.26.1-1 2018-04-02 08:08:53 -03:00
David Bremner
920f5d925e lib: bump LIBRARY_MINOR_VERSION
We added several new functions, at least

   notmuch_database_get_default_indexopts
   notmuch_database_index_file
   notmuch_indexopts_destroy
   notmuch_indexopts_get_decrypt_policy
   notmuch_indexopts_set_decrypt_policy
   notmuch_message_count_files
   notmuch_message_has_maildir_flag
   notmuch_message_reindex
   notmuch_message_remove_all_properties_with_prefix
   notmuch_thread_get_total_files
2018-04-02 08:06:53 -03:00
David Bremner
3c4e64d976 NEWS: Fix markup of headline 2018-01-09 07:28:21 -04:00
David Bremner
eba5537af1 NEWS: set release date 2018-01-09 07:15:45 -04:00
David Bremner
461260c3c6 version: bump to 0.26 2018-01-09 07:15:16 -04:00
David Bremner
50da90ef03 debian: add some hints about upstream changes. 2018-01-09 07:14:28 -04:00
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
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
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
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
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