<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/lib, branch 0.10_rc2</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.10_rc2</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.10_rc2'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2011-11-15T23:12:32Z</updated>
<entry>
<title>lib: add function to get the number of threads matching a search</title>
<updated>2011-11-15T23:12:32Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2011-11-15T20:08:48Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=00c60fbcb3b2b7c9f90c36e4dfb9393fdf678735'/>
<id>urn:sha1:00c60fbcb3b2b7c9f90c36e4dfb9393fdf678735</id>
<content type='text'>
Add function notmuch_query_count_threads() to get the number of threads
matching a search. This is done by performing a search and figuring out the
number of unique thread IDs in the matching messages, a significantly
heavier operation than notmuch_query_count_messages().

Signed-off-by: Jani Nikula &lt;jani@nikula.org&gt;
</content>
</entry>
<entry>
<title>Store "from" and "subject" headers in the database.</title>
<updated>2011-11-14T21:10:58Z</updated>
<author>
<name>Austin Clements</name>
<email>amdragon@MIT.EDU</email>
</author>
<published>2011-11-06T17:17:36Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=567bcbc294b3aed632d18eb22056840292bdeb1e'/>
<id>urn:sha1:567bcbc294b3aed632d18eb22056840292bdeb1e</id>
<content type='text'>
This is a rebase and cleanup of Istvan Marko's patch from
id:m3pqnj2j7a.fsf@zsu.kismala.com

Search retrieves these headers for every message in the search
results.  Previously, this required opening and parsing every message
file.  Storing them directly in the database significantly reduces IO
and computation, speeding up search by between 50% and 10X.

Taking full advantage of this requires a database rebuild, but it will
fall back to the old behavior for messages that do not have headers
stored in the database.
</content>
</entry>
<entry>
<title>Link libutil using filenmae, rather than using -l.</title>
<updated>2011-11-13T18:58:21Z</updated>
<author>
<name>Tom Prince</name>
<email>tom.prince@ualberta.net</email>
</author>
<published>2011-11-13T17:05:03Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=74f16571e8d9514d0bdc6eef0990da5f161020e4'/>
<id>urn:sha1:74f16571e8d9514d0bdc6eef0990da5f161020e4</id>
<content type='text'>
glibc includes a libutil, so if the wrong -L options get passed, we
will pick up glibc's version, rather than our own.
</content>
</entry>
<entry>
<title>lib/database.cc: use flush Xapian method instead of commit</title>
<updated>2011-11-02T23:38:22Z</updated>
<author>
<name>David Bremner</name>
<email>bremner@debian.org</email>
</author>
<published>2011-10-28T14:56:30Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=606e4461f803829077af4e3b2579583f7e39bc3e'/>
<id>urn:sha1:606e4461f803829077af4e3b2579583f7e39bc3e</id>
<content type='text'>
Apparently the method was renamed in Xapian 1.1.0 but the old method
name will stay around for a while. It seems better to stick with the
old name to make notmuch compile with older versions of Xapian, at
least for now.
</content>
</entry>
<entry>
<title>xutil.c: remove duplicate copies, create new library libutil.a to contain xutil.</title>
<updated>2011-10-31T02:09:49Z</updated>
<author>
<name>David Bremner</name>
<email>bremner@debian.org</email>
</author>
<published>2011-10-23T15:05:13Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=1dedfc90f6eee7cad10f1a1ceb39a7a1c4dbd1b1'/>
<id>urn:sha1:1dedfc90f6eee7cad10f1a1ceb39a7a1c4dbd1b1</id>
<content type='text'>
We keep the lib/xutil.c version. As a consequence, also factor out
_internal_error and associated macros.  It might be overkill to make a
new file error_util.c for this, but _internal_error does not really
belong in database.cc.
</content>
</entry>
<entry>
<title>Prefix lib/notmuch.h and lib/gen-version-script.sh with $(srcdir)</title>
<updated>2011-10-25T00:56:23Z</updated>
<author>
<name>Amadeusz Żołnowski</name>
<email>aidecoe@aidecoe.name</email>
</author>
<published>2011-10-23T14:44:01Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=8d282adf53148469c3d6a9d41346919aa70028af'/>
<id>urn:sha1:8d282adf53148469c3d6a9d41346919aa70028af</id>
<content type='text'>
lib/notmuch.h and lib/gen-version-script.sh couldn't have been found
when building out of sources directory.
</content>
</entry>
<entry>
<title>lib: bump SONAME</title>
<updated>2011-10-04T16:47:04Z</updated>
<author>
<name>David Bremner</name>
<email>bremner@debian.org</email>
</author>
<published>2011-10-04T16:47:04Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=9e976fc60c40e07cb62a7d656e86ee3101c1b2f5'/>
<id>urn:sha1:9e976fc60c40e07cb62a7d656e86ee3101c1b2f5</id>
<content type='text'>
Based on discussions with amdragon, tschwinge, and others on IRC, I concluded that

1) symbol versioning was probably overkill for libnotmuch
2) It was also probably GNU ld specific
3) Most importantly, nobody could tell me on short notice how exactly it works.

So since the change to the notmuch_database_find_message breaks the
previous ABI, we need to bump the SONAME.
</content>
</entry>
<entry>
<title>lib: make find_message{,by_filename) report errors</title>
<updated>2011-10-04T04:55:29Z</updated>
<author>
<name>Ali Polatel</name>
<email>alip@exherbo.org</email>
</author>
<published>2011-10-04T04:55:29Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=02a30767116ad8abcbd0a3351f2e4d43bbbd655f'/>
<id>urn:sha1:02a30767116ad8abcbd0a3351f2e4d43bbbd655f</id>
<content type='text'>
Previously, the functions notmuch_database_find_message() and
notmuch_database_find_message_by_filename() functions did not properly
report error condition to the library user.

For more information, read the thread on the notmuch mailing list
starting with my mail "id:871uv2unfd.fsf@gmail.com"

Make these functions accept a pointer to 'notmuch_message_t' as argument
and return notmuch_status_t which may be used to check for any error
condition.

restore: Modify for the new notmuch_database_find_message()
new: Modify for the new notmuch_database_find_message_by_filename()
</content>
</entry>
<entry>
<title>lib: destroy message object after message removal</title>
<updated>2011-10-04T04:39:57Z</updated>
<author>
<name>Ali Polatel</name>
<email>alip@exherbo.org</email>
</author>
<published>2011-10-03T20:27:32Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=9b3f16ce715d2371224955bc5b6f948eaa4ee325'/>
<id>urn:sha1:9b3f16ce715d2371224955bc5b6f948eaa4ee325</id>
<content type='text'>
notmuch_database_remove_message() must call notmuch_message_destroy()
once it is done handling message removal.
</content>
</entry>
<entry>
<title>lib: bump library minor version because of new symbols.</title>
<updated>2011-09-24T23:26:42Z</updated>
<author>
<name>David Bremner</name>
<email>bremner@debian.org</email>
</author>
<published>2011-09-24T19:13:49Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=0ce713ae02a2f2fc326d9c04bf9bf95123f228c0'/>
<id>urn:sha1:0ce713ae02a2f2fc326d9c04bf9bf95123f228c0</id>
<content type='text'>
This bump is because of the new symbols introduced by the atomicity
patches.
</content>
</entry>
</feed>
