<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/lib, branch 0.17_rc1</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.17_rc1</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.17_rc1'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2013-11-20T00:15:02Z</updated>
<entry>
<title>compact: improve error messages on failures after compaction</title>
<updated>2013-11-20T00:15:02Z</updated>
<author>
<name>Tomi Ollila</name>
<email>tomi.ollila@iki.fi</email>
</author>
<published>2013-11-14T22:03:27Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=2fd7ef64baf02892a7bebfb57d593afb086145ef'/>
<id>urn:sha1:2fd7ef64baf02892a7bebfb57d593afb086145ef</id>
<content type='text'>
The error messages written during the steps replacing old
database with new now includes relevant paths and strerror.
</content>
</entry>
<entry>
<title>compact: unconditionally remove old wip database compact directory</title>
<updated>2013-11-20T00:14:28Z</updated>
<author>
<name>Tomi Ollila</name>
<email>tomi.ollila@iki.fi</email>
</author>
<published>2013-11-14T22:03:26Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=6452ae0fcb0a2ee45a47144da71a6de9d8dace2c'/>
<id>urn:sha1:6452ae0fcb0a2ee45a47144da71a6de9d8dace2c</id>
<content type='text'>
In case previous notmuch compact has been interrupted there is old
work-in-progress database compact directory partially filled. Remove
it just before starting to fill the directory with new files.
</content>
</entry>
<entry>
<title>compact: preserve backup database until compacted database is in place</title>
<updated>2013-11-20T00:13:25Z</updated>
<author>
<name>Tomi Ollila</name>
<email>tomi.ollila@iki.fi</email>
</author>
<published>2013-11-14T22:03:25Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=cb6cc296e27fdab85faa4bdd670eda2e0c53b8c2'/>
<id>urn:sha1:cb6cc296e27fdab85faa4bdd670eda2e0c53b8c2</id>
<content type='text'>
It is less error prone and window of failure opportunity is smaller
if the old (backup) database is always renamed (instead of sometimes
rmtree'd) before new (compacted) database is put into its place.
Finally rmtree() old database in case old database backup is not kept.
</content>
</entry>
<entry>
<title>compact: catch Xapian::Error consistently</title>
<updated>2013-11-18T00:25:43Z</updated>
<author>
<name>Tomi Ollila</name>
<email>tomi.ollila@iki.fi</email>
</author>
<published>2013-11-13T17:02:44Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=19a89753ca20b269a131e747238925cce254c627'/>
<id>urn:sha1:19a89753ca20b269a131e747238925cce254c627</id>
<content type='text'>
catch Xapian::Error in compact code in lib/database.cc to be consistent
with other code in addition to not making software crash on uncaught
other Xapian error.
</content>
</entry>
<entry>
<title>compact: tidy formatting</title>
<updated>2013-11-18T00:25:25Z</updated>
<author>
<name>Tomi Ollila</name>
<email>tomi.ollila@iki.fi</email>
</author>
<published>2013-11-13T17:02:43Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=4d5986e8ad671c1f5504894af6fbe37ba314bed8'/>
<id>urn:sha1:4d5986e8ad671c1f5504894af6fbe37ba314bed8</id>
<content type='text'>
Notmuch compact code whitespace changes to match devel/STYLE.
</content>
</entry>
<entry>
<title>lib: Document extent of some return values</title>
<updated>2013-11-09T00:14:08Z</updated>
<author>
<name>Austin Clements</name>
<email>amdragon@MIT.EDU</email>
</author>
<published>2013-10-24T15:19:03Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=215a8dc29c200bda1ecdbbbd44a57e2d32264ef1'/>
<id>urn:sha1:215a8dc29c200bda1ecdbbbd44a57e2d32264ef1</id>
<content type='text'>
This documents the extent of the notmuch_messages_t* pointers returned
by notmuch_thread_get_toplevel_messages and
notmuch_thread_get_messages.
</content>
</entry>
<entry>
<title>lib: add library version check macro</title>
<updated>2013-11-07T23:15:06Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2013-11-06T19:01:41Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=060990db14bf3481c461959230549291a89e5c50'/>
<id>urn:sha1:060990db14bf3481c461959230549291a89e5c50</id>
<content type='text'>
There have been some plans for making build incompatible changes to
the library API. This is inconvenient, but it is much more so without
a way to easily conditional build against multiple versions of
notmuch.

The macro has been lifted from glib.
</content>
</entry>
<entry>
<title>lib: use the compaction backup path provided by the caller</title>
<updated>2013-11-07T10:51:16Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2013-11-03T12:24:47Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=00d2ac2b41a6dba060837244ee87edce2fd1e465'/>
<id>urn:sha1:00d2ac2b41a6dba060837244ee87edce2fd1e465</id>
<content type='text'>
The extra path component added by the lib is a magic value that the
caller just has to know. This is demonstrated by the current code,
which indeed has "xapian.old" both sides of the interface. Use the
backup path provided by the lib caller verbatim, without adding
anything to it.
</content>
</entry>
<entry>
<title>lib: update documentation of callback functions for database_compact and database_upgrade.</title>
<updated>2013-11-07T10:50:50Z</updated>
<author>
<name>David Bremner</name>
<email>bremner@debian.org</email>
</author>
<published>2013-11-03T12:24:46Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=20abbe89a3014ff27978aea7be0cffbc715935ca'/>
<id>urn:sha1:20abbe89a3014ff27978aea7be0cffbc715935ca</id>
<content type='text'>
Compact was missing callback documentation entirely, and upgrade did not discuss the
closure parameter.
</content>
</entry>
<entry>
<title>lib: add closure parameter to compact status update callback</title>
<updated>2013-11-07T10:46:42Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2013-11-03T12:24:45Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=180dba66e47a5257b2cdf2f1ceb59cc8fa5a69d4'/>
<id>urn:sha1:180dba66e47a5257b2cdf2f1ceb59cc8fa5a69d4</id>
<content type='text'>
This provides much more flexibility for the caller.
</content>
</entry>
</feed>
