<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/test/T650-regexp-query.sh, branch release</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=release</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=release'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2022-03-19T10:27:29Z</updated>
<entry>
<title>lib: do not phrase parse prefixed bracketed subexpressions</title>
<updated>2022-03-19T10:27:29Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2022-02-25T02:41:03Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=8ed6a172b35708428f84f30af44fa81c12852e43'/>
<id>urn:sha1:8ed6a172b35708428f84f30af44fa81c12852e43</id>
<content type='text'>
Since Xapian does not preserve quotes when passing the subquery to a
field processor, we have to make a guess as to what the user
intended. Here the added assumption is that a string surrounded by
parens is not intended to be a phrase.
</content>
</entry>
<entry>
<title>test: known broken tests for bracketed terms in subject</title>
<updated>2022-03-19T10:27:00Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2022-02-25T02:41:02Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=c9ed87f39f54b83ecafc719e848909da6074075f'/>
<id>urn:sha1:c9ed87f39f54b83ecafc719e848909da6074075f</id>
<content type='text'>
The heuristics in the field processor currently incorrectly trigger
phrase parsing.
</content>
</entry>
<entry>
<title>build: drop support for xapian versions less than 1.4</title>
<updated>2020-04-24T00:28:45Z</updated>
<author>
<name>Tomi Ollila</name>
<email>tomi.ollila@iki.fi</email>
</author>
<published>2020-04-21T21:07:29Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=00cdfe10717020423870fdaf56e973db9aba9f5a'/>
<id>urn:sha1:00cdfe10717020423870fdaf56e973db9aba9f5a</id>
<content type='text'>
Xapian 1.4 is over 3 years old now (1.4.0 released 2016-06-24),
and 1.2 has been deprecated in Notmuch version 0.27 (2018-06-13).

Xapian 1.4 supports compaction, field processors and retry locking;
conditionals checking compaction and field processors were removed
but user may want to disable retry locking at configure time so it
is kept.
</content>
</entry>
<entry>
<title>tests: remove some redundant pre-cleanup of the corpus MAIL_DIR</title>
<updated>2019-05-07T09:52:35Z</updated>
<author>
<name>Jameson Graef Rollins</name>
<email>jrollins@finestructure.net</email>
</author>
<published>2019-05-04T20:57:45Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=7f7af27bd8320fd7a7e7ab50bf0c206da3775635'/>
<id>urn:sha1:7f7af27bd8320fd7a7e7ab50bf0c206da3775635</id>
<content type='text'>
add_email_corpus itself does an rm -rf $MAIL_DIR, so these are not necessary.
</content>
</entry>
<entry>
<title>lib: use phrase search for anything not ending in '*'</title>
<updated>2019-03-28T17:34:37Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2018-09-30T16:27:55Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=d25dcc589ce4c1a87d698c6aef1ce3e38e4a50bb'/>
<id>urn:sha1:d25dcc589ce4c1a87d698c6aef1ce3e38e4a50bb</id>
<content type='text'>
Anything that does not look like a wildcard should be safe to
quote. This should fix the problem searching for xapian keywords.
</content>
</entry>
<entry>
<title>test: add two known broken tests searching for xapian keywords</title>
<updated>2019-03-28T17:32:11Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2018-09-30T16:27:54Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=168211c5632189c53415d25530b759ad3678c92c'/>
<id>urn:sha1:168211c5632189c53415d25530b759ad3678c92c</id>
<content type='text'>
Thanks to plujon for pointing out this problem on IRC. The underlying
issue is that the quotes are stripped before the field processors get
the query string, and the heuristic for putting them back is not quite
right.
</content>
</entry>
<entry>
<title>Prepend regerror() messages with "regexp error: "</title>
<updated>2019-03-12T01:24:55Z</updated>
<author>
<name>Luis Ressel</name>
<email>aranea@aixah.de</email>
</author>
<published>2019-03-11T17:14:49Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=9f7e851263b96acacc9ea542e9f5d837563fea05'/>
<id>urn:sha1:9f7e851263b96acacc9ea542e9f5d837563fea05</id>
<content type='text'>
The exact error messages returned by regerror() aren't standardized;
relying on them isn't portable. Thus, add a a prefix to make clear that
the subsequent message is a regexp parsing error, and only look for this
prefix in the test suite, ignoring the rest of the message.
</content>
</entry>
<entry>
<title>test: use $(dirname "$0") for sourcing test-lib.sh</title>
<updated>2017-10-20T22:52:49Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2017-09-25T20:38:19Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=a863de1e43ee34f6f5794a2759fdceb287e851aa'/>
<id>urn:sha1:a863de1e43ee34f6f5794a2759fdceb287e851aa</id>
<content type='text'>
Don't assume the tests are always run from within the source tree.
</content>
</entry>
<entry>
<title>cli/search: print total number of files matched in summary output.</title>
<updated>2017-08-02T01:17:47Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2017-06-04T12:32:32Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=ed4a9082c02d0a73f5f7d07f90a7daf65bde0aaa'/>
<id>urn:sha1:ed4a9082c02d0a73f5f7d07f90a7daf65bde0aaa</id>
<content type='text'>
The structured output formats already have all of the filenames. This
is an easy bit of UI change to make the multiple files visible.
</content>
</entry>
<entry>
<title>lib: Add regexp expansion for for tags and paths</title>
<updated>2017-05-09T10:44:29Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2017-03-08T02:32:26Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=11d47950c18f2d19718e35b7264dabf2ff2fd621'/>
<id>urn:sha1:11d47950c18f2d19718e35b7264dabf2ff2fd621</id>
<content type='text'>
From a UI perspective this looks similar to what was already provided
for from, subject, and mid, but the implementation is quite
different. It uses the database's list of terms to construct a term
based query equivalent to the passed regular expression.
</content>
</entry>
</feed>
