<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/lib/query.cc, branch 0.25_rc0</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.25_rc0</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.25_rc0'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2017-05-13T11:38:18Z</updated>
<entry>
<title>build: visibility=default for library structs is no longer needed</title>
<updated>2017-05-13T11:38:18Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2017-05-10T19:42:12Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=30c475c1ef3d6823ed9ab0affc30328726c5240f'/>
<id>urn:sha1:30c475c1ef3d6823ed9ab0affc30328726c5240f</id>
<content type='text'>
Commit d5523ead90b6 ("Mark some structures in the library interface
with visibility=default attribute.") fixed some mixed visibility
issues with structs. With the symbol default visibility reversed, this
is no longer a problem.
</content>
</entry>
<entry>
<title>lib: make notmuch_query_add_tag_exclude return a status value</title>
<updated>2017-03-22T11:47:13Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2017-02-18T15:08:04Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=242d5a3ed5ed85bb935c8ed4a4678d7596d8534d'/>
<id>urn:sha1:242d5a3ed5ed85bb935c8ed4a4678d7596d8534d</id>
<content type='text'>
Since this is an ABI breaking change, but we already bumped the SONAME
for the next release
</content>
</entry>
<entry>
<title>lib: replace deprecated n_q_count_threads with status returning version</title>
<updated>2017-03-22T11:35:07Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2017-02-26T21:21:35Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=3721bd45d72e50436ee760b03ae533d49bbb8724'/>
<id>urn:sha1:3721bd45d72e50436ee760b03ae533d49bbb8724</id>
<content type='text'>
This function was deprecated in notmuch 0.21.  We re-use the name for
a status returning version, and deprecate the _st name.
</content>
</entry>
<entry>
<title>lib: replace deprecated n_q_count_messages with status returning version</title>
<updated>2017-03-22T11:35:07Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2017-02-26T21:21:34Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=5ce8e0b11b40f733e6231d2067764e76717a341a'/>
<id>urn:sha1:5ce8e0b11b40f733e6231d2067764e76717a341a</id>
<content type='text'>
This function was deprecated in notmuch 0.21.  We re-use the name for
a status returning version, and deprecate the _st name. One or two
remaining uses of the (removed) non-status returning version fixed at
the same time
</content>
</entry>
<entry>
<title>lib: replace deprecated n_q_search_messages with status returning version</title>
<updated>2017-03-22T11:35:07Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2017-02-26T21:21:32Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=86cbd215eb67d7b996c977352a50e70c101cb641'/>
<id>urn:sha1:86cbd215eb67d7b996c977352a50e70c101cb641</id>
<content type='text'>
This function was deprecated in notmuch 0.21.  We re-use the name for
a status returning version, and deprecate the _st name.
</content>
</entry>
<entry>
<title>lib: replace n_query_search_threads with status returning version</title>
<updated>2017-03-22T11:28:09Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2017-02-26T21:21:31Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=1e982de508c39dae7a61403f536df74c180dfb72'/>
<id>urn:sha1:1e982de508c39dae7a61403f536df74c180dfb72</id>
<content type='text'>
This function was deprecated in notmuch 0.21. We finally remove the
deprecated API, and rename the status returning version to the simpler
name. The status returning is kept as a deprecated alias.
</content>
</entry>
<entry>
<title>lib: query make exclude handling non-destructive</title>
<updated>2017-03-05T00:47:25Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2017-02-25T16:09:13Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=dfacfe14f337b6603ba0784e4a395489923fd6dd'/>
<id>urn:sha1:dfacfe14f337b6603ba0784e4a395489923fd6dd</id>
<content type='text'>
We filter added exclude at add time, rather than modifying the query by
count search. As noted in the comments, there are several ignored
conditions here.
</content>
</entry>
<entry>
<title>lib: centralize query parsing, store results.</title>
<updated>2017-03-05T00:47:25Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2017-02-25T16:09:11Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=e209b7187365b9f5a356b21f3d11dd2f41fd5a1c'/>
<id>urn:sha1:e209b7187365b9f5a356b21f3d11dd2f41fd5a1c</id>
<content type='text'>
The main goal is to prepare the way for non-destructive (or at least
less destructive) exclude tag handling. It does this by having a
pre-parsed query available for further processing. This also allows us
to provide slightly more precise error messages.
</content>
</entry>
<entry>
<title>lib: optimize counting documents</title>
<updated>2017-01-28T01:54:44Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2017-01-12T02:01:15Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=70519319b59ca55d511c5b44ff8c299cbe93c572'/>
<id>urn:sha1:70519319b59ca55d511c5b44ff8c299cbe93c572</id>
<content type='text'>
From #xapian

olly&gt; bremner: btw, i noticed notmuch count see ms to request all the documents and then ignores them

bremner&gt; hmm. There's something funny about the way that notmuch uses matches in general iirc

olly&gt; it should be able to do: mset = enquire.get_mset (0, 0, notmuch-&gt;xapian_db-&gt;get_doccount ());
...
olly&gt; get_matches_estimated() will be exact because check_at_least is the size of the database
</content>
</entry>
<entry>
<title>lib: provide _notmuch_database_log_append</title>
<updated>2016-08-09T00:34:11Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2016-07-15T10:25:41Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=293186d6c6b1c4d158413de5412e6b4345e94970'/>
<id>urn:sha1:293186d6c6b1c4d158413de5412e6b4345e94970</id>
<content type='text'>
_notmuch_database_log clears the log buffer each time. Rather than
introducing more complicated semantics about for this function, provide
a second function that does not clear the buffer. This is mainly a
convenience function for callers constructing complex or multi-line log
messages.

The changes to query.cc are to make sure that the common code path of
the new function is tested.
</content>
</entry>
</feed>
