<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/lib/notmuch.h, branch 0.2</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.2</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.2'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2010-04-13T15:39:10Z</updated>
<entry>
<title>Fix typo in notmuch.h documentation regarding database open modes</title>
<updated>2010-04-13T15:39:10Z</updated>
<author>
<name>Michael Forney</name>
<email>michael@obberon.com</email>
</author>
<published>2010-03-26T18:39:17Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=9ddde6eb14c126e314d90e2e08f213fb81f0457f'/>
<id>urn:sha1:9ddde6eb14c126e314d90e2e08f213fb81f0457f</id>
<content type='text'>
Reviewed-by: Carl Worth &lt;cworth@cworth.org&gt;:

The original proposal for having different open modes used the name
WRITABLE. I didn't like that name, (easy to misspell as WRITEABLE even
for native English speakers). So we renamed it to READ_WRITE
immediately, but apparently some of the documentation held the old
name for a while.
</content>
</entry>
<entry>
<title>lib: Handle "*" as a query string to match all messages.</title>
<updated>2010-04-10T00:43:58Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-04-09T23:40:31Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=e100871981daeb3bb9a6c8718c95e6044953b57f'/>
<id>urn:sha1:e100871981daeb3bb9a6c8718c95e6044953b57f</id>
<content type='text'>
This seems like a generally useful thing to support, (but the previous
support through an empty string was not convenient for some users,
(such as the command-line client).
</content>
</entry>
<entry>
<title>Clarify documentation of notmuch_database_add_message.</title>
<updated>2010-03-31T20:31:10Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-03-31T20:28:45Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=e002fe8a7adcc8b8df20107e4617be97983662fa'/>
<id>urn:sha1:e002fe8a7adcc8b8df20107e4617be97983662fa</id>
<content type='text'>
For the case of adding a file that already exist, (with the same
filename). In this case, nothing will happen to the database, but
that wasn't clear before.
</content>
</entry>
<entry>
<title>Fix a few documentation typos in notmuch.h</title>
<updated>2010-03-09T18:32:58Z</updated>
<author>
<name>Fernando Carrijo</name>
<email>fcarrijo@yahoo.com.br</email>
</author>
<published>2009-12-05T19:32:34Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=7f2629520cedf32157868610882600ac3d08f2cf'/>
<id>urn:sha1:7f2629520cedf32157868610882600ac3d08f2cf</id>
<content type='text'>
Fix a few documentation typos in notmuch.h

Signed-off-by: Fernando Carrijo &lt;fcarrijo@yahoo.com.br&gt;
</content>
</entry>
<entry>
<title>Update documentation of notmuch_query_create</title>
<updated>2010-03-09T18:29:38Z</updated>
<author>
<name>Fernando Carrijo</name>
<email>fcarrijo@yahoo.com.br</email>
</author>
<published>2009-12-05T14:22:05Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=bc69bf09cb8c989f4b3b8116f0907b7618000299'/>
<id>urn:sha1:bc69bf09cb8c989f4b3b8116f0907b7618000299</id>
<content type='text'>
Commit cd467caf renamed notmuch_query_search to notmuch_query_search_messages.
Commit 1ba3d46f created notmuch_query_search_threads. We better keep the docs
of notmuch_query_create consistent with those changes.

Signed-off-by: Fernando Carrijo &lt;fcarrijo@yahoo.com.br&gt;

Edited-by: Carl Worth to explicitly list the full name of each
function being referenced.
</content>
</entry>
<entry>
<title>lib: Document what move_to_next does at the end of the list.</title>
<updated>2010-03-09T17:24:45Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-03-09T17:24:45Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=64646841f7b3b9b4a0236b03389d612a435cf8a0'/>
<id>urn:sha1:64646841f7b3b9b4a0236b03389d612a435cf8a0</id>
<content type='text'>
Explicitly mention that there's an invalid position after the last
item in the list.
</content>
</entry>
<entry>
<title>lib: Rename iterator functions to prepare for reverse iteration.</title>
<updated>2010-03-09T17:22:29Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-03-09T17:22:29Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=4e5d2f22db290a830c0267f34b519c6138af00ed'/>
<id>urn:sha1:4e5d2f22db290a830c0267f34b519c6138af00ed</id>
<content type='text'>
We rename 'has_more' to 'valid' so that it can function whether
iterating in a forward or reverse direction. We also rename
'advance' to 'move_to_next' to setup parallel naming with
the proposed functions 'move_to_first', 'move_to_last', and
'move_to_previous'.
</content>
</entry>
<entry>
<title>notmuch.h: Fix a couple of typos in the documentation.</title>
<updated>2010-02-06T01:31:40Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-02-06T01:31:40Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=7a9bacac6786729d7f28495b0ef30f9b6ded7696'/>
<id>urn:sha1:7a9bacac6786729d7f28495b0ef30f9b6ded7696</id>
<content type='text'>
Obviously, the spell-checker isn't able to catch every mistake
I make.
</content>
</entry>
<entry>
<title>notmuch new: Print upgrade progress report as a percentage.</title>
<updated>2010-01-10T01:38:23Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-01-10T01:38:23Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=c340c1bd1140c0a1b7e0f24ef3ebac806f5fc3e6'/>
<id>urn:sha1:c340c1bd1140c0a1b7e0f24ef3ebac806f5fc3e6</id>
<content type='text'>
Previously we were printing a number of messages upgraded so far. The
original motivation for this was to accurately reflect the fact that
there are two passes, (so each message is processed twice and it's not
accurate to represent with a single count). But as it turns out, the
second pass takes zero time (relatively speaking) so we're still not
accounting for it.

If nothing else, the percentage-based reporting makes for a cleaner
API for the progress_notify function.
</content>
</entry>
<entry>
<title>lib: Implement versioning in the database and provide upgrade function.</title>
<updated>2010-01-08T02:26:31Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-01-08T02:26:31Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=909f52bd8c4bdfa11cd3e75e3d0959e0293689bd'/>
<id>urn:sha1:909f52bd8c4bdfa11cd3e75e3d0959e0293689bd</id>
<content type='text'>
The recent support for renames in the database is our first time
(since notmuch has had more than a single user) that we have a
database format change. To support smooth upgrades we now encode a
database format version number in the Xapian metadata.

Going forward notmuch will emit a warning if used to read from a
database with a newer version than it natively supports, and will
refuse to write to a database with a newer version.

The library also provides functions to query the database format
version:

	notmuch_database_get_version

to ask if notmuch wants a newer version than that:

	notmuch_database_needs_upgrade

and a function to actually perform that upgrade:

	notmuch_database_upgrade
</content>
</entry>
</feed>
