[PATCH] test: increase cffi timeout

2022-08-14 Thread michaeljgruber+grubix+git
From: Michael J Gruber By default, the test suite uses 2min for other tests and 5s for cffi tests. Sporadically, this leads to test failures caused by the timeout on slower or loaded test infrastructure (as seen on ppc64le in Fedora's infrastructure during branch time). Increase the cffi timeout

[PATCH 2/3] lib: factor out lastmod range handling from sexp parser.

2022-08-14 Thread David Bremner
This will permit the re-use of the same logic in the infix query parser. The location of the shared code in the infix side is for consistency with the other shared parsing logic. It will make more sense when a Xapian field processor is added for the lastmod prefix. --- lib/Makefile.local | 3

[PATCH 3/3] lib: add field processor for lastmod: prefix

2022-08-14 Thread David Bremner
By sharing the existing logic used by the sexp query parser, this allows negative lastmod revisions to be interpreted as relative to the most recent revision. --- doc/man7/notmuch-search-terms.rst | 9 +++ lib/lastmod-fp.cc | 15 lib/lastmod-fp.h

[PATCH 1/3] lib/sexp: provide relative lastmod queries

2022-08-14 Thread David Bremner
Test the relatively trivial logic changes for the sexp query parser first before refactoring that logic to share with the infix query parser. --- doc/man7/notmuch-sexp-queries.rst | 3 +++ lib/parse-sexp.cc | 6 ++ test/T081-sexpr-search.sh | 30 ++

Re: release 0.37 is immanent

2022-08-14 Thread David Bremner
David Bremner writes: > It has been a while, and there have been quite a few changes since > 0.36. I propose feature freeze for 0.37 August 13, with a release around > a week after that. > > d Release candidate 0.37_rc0 has been tagged and uploaded to notmuchmail.org. Please report any serious b

Re: [PATCH 8/9] review: Rename variables to better express intention

2022-08-14 Thread David Bremner
Mohsin Kaleem writes: > --- > emacs/notmuch-hello.el | 18 +- > emacs/notmuch-jump.el | 2 +- > emacs/notmuch-lib.el | 4 ++-- > emacs/notmuch-tree.el | 24 > emacs/notmuch.el | 29 +++-- > 5 files changed, 39 insertion