<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/lib/notmuch.h, branch 0.1</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.1</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.1'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2010-03-31T20:31:10Z</updated>
<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>
<entry>
<title>Prefer READ_ONLY consistently over READONLY.</title>
<updated>2010-01-07T18:29:05Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-01-07T18:29:05Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=807aef93d3bf02884f7a37b44b894c11d9e1df58'/>
<id>urn:sha1:807aef93d3bf02884f7a37b44b894c11d9e1df58</id>
<content type='text'>
Previously we had NOTMUCH_DATABASE_MODE_READ_ONLY but
NOTMUCH_STATUS_READONLY_DATABASE which was ugly and confusing. Rename
the latter to NOTMUCH_STATUS_READ_ONLY_DATABASE for consistency.
</content>
</entry>
<entry>
<title>lib: Consolidate checks for read-only database.</title>
<updated>2010-01-07T18:19:44Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-01-07T18:19:44Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=f93b7218c3e2d11c5b3cdd4c367a42ca7a7ede77'/>
<id>urn:sha1:f93b7218c3e2d11c5b3cdd4c367a42ca7a7ede77</id>
<content type='text'>
Previously, many checks were deep in the library just before a cast
operation. These have now been replaced with internal errors and new
checks have instead been added at the beginning of all top-levelentry
points requiring a read-write database.

The new checks now also use a single function for checking and
printing the error message. This will give us a convenient location to
extend the check, (such as based on database version as well).
</content>
</entry>
</feed>
