<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/lib/database-private.h, branch 0.36</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.36</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.36'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2022-04-15T17:17:31Z</updated>
<entry>
<title>fix build without sfsexp</title>
<updated>2022-04-15T17:17:31Z</updated>
<author>
<name>Michael J Gruber</name>
<email>git@grubix.eu</email>
</author>
<published>2022-04-15T16:23:46Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=785f9d656d547a325c978eee51cf7e52ed2fe625'/>
<id>urn:sha1:785f9d656d547a325c978eee51cf7e52ed2fe625</id>
<content type='text'>
a1d139de ("lib: add sexp: prefix to Xapian (infix) query parser.",
2022-04-09) introduced sfsexp infix queries. This requires the infix
preprocessor to be built in in a way which does not require sfsexp when
notmuch is built without it.

Make the preprocessor throw a Xapian error in this case (and fix the
build).

Signed-off-by: Michael J Gruber &lt;git@grubix.eu&gt;
</content>
</entry>
<entry>
<title>lib: drop trailing slash for path and folder searches (infix)</title>
<updated>2022-01-27T11:48:27Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2022-01-21T23:38:51Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=c62c22c9fb222d43d9b9956ce6b6e9985019ea2d'/>
<id>urn:sha1:c62c22c9fb222d43d9b9956ce6b6e9985019ea2d</id>
<content type='text'>
This resolves an old bug reported by David Edmondson in 2014. The fix
is only needed for the "boolean" case, as probabilistic / phrase
searching already ignores punctuation.

This fix is only for the infix (xapian provided) query parser.

[1]: id:cunoasuolcv.fsf@gargravarr.hh.sledj.net
</content>
</entry>
<entry>
<title>lib/date: factor out date range parsing.</title>
<updated>2022-01-26T11:41:02Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2022-01-20T13:36:02Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=bf3cc5eed2d7f3386946b0c51e45c057705d24b8'/>
<id>urn:sha1:bf3cc5eed2d7f3386946b0c51e45c057705d24b8</id>
<content type='text'>
This will allow re-using the same logic in the s-expression parser.
</content>
</entry>
<entry>
<title>lib/open: use notmuch-&gt;params to track split status</title>
<updated>2022-01-15T19:53:31Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-12-25T13:33:03Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=63b4c469835133ac44b7db516fc54b8a4abb90a8'/>
<id>urn:sha1:63b4c469835133ac44b7db516fc54b8a4abb90a8</id>
<content type='text'>
Persisting this status will allow us to use the information in other
compilation units, in particular when setting configuration defaults.
</content>
</entry>
<entry>
<title>Merge branch 'release'</title>
<updated>2021-12-04T13:27:30Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-12-04T13:27:30Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=1e7d33961e626488b09b56c8543e8edf00648670'/>
<id>urn:sha1:1e7d33961e626488b09b56c8543e8edf00648670</id>
<content type='text'>
</content>
</entry>
<entry>
<title>lib/open: track which parameters are passed</title>
<updated>2021-12-04T00:50:03Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-10-28T01:34:18Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=d467444085d96229172ce29ef8654c3c459b6ce2'/>
<id>urn:sha1:d467444085d96229172ce29ef8654c3c459b6ce2</id>
<content type='text'>
This will be used to fine tune the loading of configuration for
certain special configuration items (initially just "database.path").
</content>
</entry>
<entry>
<title>lib: remove enum names from typedefs</title>
<updated>2021-10-23T11:38:53Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2021-10-13T14:02:16Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=6987286a5b562709c1de583db66673c202fd926c'/>
<id>urn:sha1:6987286a5b562709c1de583db66673c202fd926c</id>
<content type='text'>
There are some enum typedefs with the enum name:

    typedef enum _name_t { ... } name_t;

We don't need or use the enum names _name_t for anything, and not all
of the enum typedefs have them. We have the typedefs specifically to
use the typedef name.

Use the anonymous enum in the typedefs:

    typedef enum { ... } name_t;
</content>
</entry>
<entry>
<title>lib: factor out expansion of saved queries.</title>
<updated>2021-09-05T00:07:19Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-08-24T15:17:36Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=036734252d07d8568937073d4f2d366bcb06bc4e'/>
<id>urn:sha1:036734252d07d8568937073d4f2d366bcb06bc4e</id>
<content type='text'>
This is intended to allow use outside of the Xapian query parser.
</content>
</entry>
<entry>
<title>lib/thread-fp: factor out query expansion, rewrite in Xapian</title>
<updated>2021-09-05T00:07:19Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-08-24T15:17:32Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=4083fd8bec7a34cf9c6a722b7dd511e0d31712f6'/>
<id>urn:sha1:4083fd8bec7a34cf9c6a722b7dd511e0d31712f6</id>
<content type='text'>
It will be convenient not to have to construct a notmuch query object
when parsing subqueries, so the commit rewrites the query
expansion (currently only used for thread:{} queries) using only
Xapian. As a bonus it seems about 15% faster in initial experiments.
</content>
</entry>
<entry>
<title>lib/query: factor out _notmuch_query_string_to_xapian_query</title>
<updated>2021-09-05T00:07:19Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-08-24T15:17:31Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=b3bbaf1bc27d79b8191d296998f695be5be3146a'/>
<id>urn:sha1:b3bbaf1bc27d79b8191d296998f695be5be3146a</id>
<content type='text'>
When dealing with recursive queries (i.e. thread:{foo}) it turns out
to be useful just to deal with the underlying Xapian objects, and not
wrap them in notmuch objects.
</content>
</entry>
</feed>
