<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/lib/notmuch.h, branch 0.22.2</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.22.2</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.22.2'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2016-06-30T15:49:29Z</updated>
<entry>
<title>lib: fix definition of LIBNOTMUCH_CHECK_VERSION</title>
<updated>2016-06-30T15:49:29Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2016-06-07T10:37:57Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=ff9284db6ebec1e4cbd7528d63da3cdf4ea9ddff'/>
<id>urn:sha1:ff9284db6ebec1e4cbd7528d63da3cdf4ea9ddff</id>
<content type='text'>
Fix bug reported in id:20160606124522.g2y2eazhhrwjsa4h@flatcap.org

Although the C99 standard 6.10 is a little non-obvious on this point,
the docs for e.g. gcc are unambiguous. And indeed in practice with the
extra space, this code fails

#include &lt;stdio.h&gt;
#define foo (x) (x+1)

int main(int argc, char **argv){
  printf("%d\n",foo(1));
}
</content>
</entry>
<entry>
<title>doc: forbid further operations on a closed database</title>
<updated>2016-06-30T15:48:23Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2016-06-27T18:38:40Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=f2886b80c1addc3d358ba910a4eebf76ba74c00b'/>
<id>urn:sha1:f2886b80c1addc3d358ba910a4eebf76ba74c00b</id>
<content type='text'>
We could add many null pointer checks, but currently I don't see a use
case that justifies it.
</content>
</entry>
<entry>
<title>lib: NOTMUCH_DEPRECATED macro also for older compilers</title>
<updated>2016-03-14T22:54:32Z</updated>
<author>
<name>Tomi Ollila</name>
<email>tomi.ollila@iki.fi</email>
</author>
<published>2016-03-01T19:30:07Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=342910a2806aee312f61280c3329cac24c26cfd4'/>
<id>urn:sha1:342910a2806aee312f61280c3329cac24c26cfd4</id>
<content type='text'>
Some compilers (older than gcc 4.5 and clang 2.9) do support
__attribute__ ((deprecated)) but not
__attribute__ ((deprecated("message"))).

Check if clang version is at least 3.0, or gcc version
is at least 4.5 to define NOTMUCH_DEPRECATED as the
latter variant above. Otherwise define NOTMUCH_DEPRECATED
as the former variant above.

For a bit simpler implementation clang 2.9 is not included
to use the newer variant. It is just one release, and the
older one works fine. Clang 3.0 was released around 2011-11
and gcc 5.1 2015-04-22 (therefore newer macro for gcc 4.5+)
</content>
</entry>
<entry>
<title>Documentation: fix type name spelling</title>
<updated>2015-10-27T11:07:31Z</updated>
<author>
<name>Steven Allen</name>
<email>steven@stebalien.com</email>
</author>
<published>2015-10-23T18:37:26Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=10e933a3bb2aec6172b513944765ad5fd39919f2'/>
<id>urn:sha1:10e933a3bb2aec6172b513944765ad5fd39919f2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>lib: add interface to delete directory documents</title>
<updated>2015-10-10T12:14:25Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2015-09-25T20:48:45Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=727fcd18c6a3897622582e71a2d71081e3ae40ea'/>
<id>urn:sha1:727fcd18c6a3897622582e71a2d71081e3ae40ea</id>
<content type='text'>
As mentioned in acd66cdec075312944e527febd46382e54d99367 we don't have
an interface to delete directory documents, and they're left behind. Add
the interface.
</content>
</entry>
<entry>
<title>lib: update doxygen comments to add @since for the new _st API</title>
<updated>2015-10-05T23:16:59Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2015-10-05T23:16:59Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=7a20f26f919a5c30fc53a7cf6f8dd4fbc08dd409'/>
<id>urn:sha1:7a20f26f919a5c30fc53a7cf6f8dd4fbc08dd409</id>
<content type='text'>
We should probably to this for all new functions introduced from now on.
</content>
</entry>
<entry>
<title>lib: add versions of n_q_count_{message,threads} with status return</title>
<updated>2015-10-05T22:44:07Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2015-09-27T15:31:57Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=87ee9a53e36f395e73e16da12cb268a708147259'/>
<id>urn:sha1:87ee9a53e36f395e73e16da12cb268a708147259</id>
<content type='text'>
Although I think it's a pretty bad idea to continue using the old API,
this allows both a more gentle transition for clients of the library,
and allows us to break one monolithic change into a series
</content>
</entry>
<entry>
<title>lib: constify arguments to notmuch_query_get_*</title>
<updated>2015-09-23T11:58:19Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2015-09-23T11:31:19Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=93ee4faa4d60e78c8cfeb95580919cac07ac0eca'/>
<id>urn:sha1:93ee4faa4d60e78c8cfeb95580919cac07ac0eca</id>
<content type='text'>
These functions are all just accessors, and it's pretty clear they don't
modify the query struct. This also fixes one warning I created when I
introduced status.c.
</content>
</entry>
<entry>
<title>lib: constify argument to notmuch_database_status_string</title>
<updated>2015-09-04T11:24:38Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2015-06-07T15:02:00Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=bd5504ec10edf6a1442d92774dc06fafc0b46e3f'/>
<id>urn:sha1:bd5504ec10edf6a1442d92774dc06fafc0b46e3f</id>
<content type='text'>
We don't modify the database struct, so no harm in committing to that.
</content>
</entry>
<entry>
<title>lib: API to retrieve database revision and UUID</title>
<updated>2015-08-13T21:52:51Z</updated>
<author>
<name>Austin Clements</name>
<email>aclements@csail.mit.edu</email>
</author>
<published>2014-10-13T06:20:02Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=98ee460eaa98f1428aecf03dd39fcf314e6f62c0'/>
<id>urn:sha1:98ee460eaa98f1428aecf03dd39fcf314e6f62c0</id>
<content type='text'>
This exposes the committed database revision to library users along
with a UUID that can be used to detect when revision numbers are no
longer comparable (e.g., because the database has been replaced).
</content>
</entry>
</feed>
