<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/lib, branch 0.17_rc2</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.17_rc2</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.17_rc2'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2013-11-27T11:43:29Z</updated>
<entry>
<title>util: detect byte order</title>
<updated>2013-11-27T11:43:29Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2013-11-26T02:55:24Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=b9f0e6923d645a044f837d61a9343ea16d56504e'/>
<id>urn:sha1:b9f0e6923d645a044f837d61a9343ea16d56504e</id>
<content type='text'>
Unfortunately old versions of GCC and clang do not provide byte order
macros, so we re-invent them.

If UTIL_BYTE_ORDER is not defined or defined to 0, we fall back to
macros supported by recent versions of GCC and clang
</content>
</entry>
<entry>
<title>lib: fix byte order test in libsha1.c</title>
<updated>2013-11-25T11:55:54Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2013-11-24T21:29:42Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=20adfe39d7624150a5b337bb77a9647bb3def54b'/>
<id>urn:sha1:20adfe39d7624150a5b337bb77a9647bb3def54b</id>
<content type='text'>
Previously PLATFORM_BYTE_ORDER and IS_LITTLE_ENDIAN were not defined,
so the little endian code was always compiled in.

This will have the effect that the "SHA1s" on big endian architectures
will change (i.e. become actual sha1s). So someone re-indexing their
database could conceivable lose tags on messages without a message-id
header.
</content>
</entry>
<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>
</feed>
