<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/lib, branch 0.23_rc0</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.23_rc0</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.23_rc0'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2016-09-24T13:08:45Z</updated>
<entry>
<title>lib: add talloc reference from string map iterator to map</title>
<updated>2016-09-24T13:08:45Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2016-09-23T09:33:19Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=514a0a6a3bd74c03db6cd9b28edc0a29a8a2441e'/>
<id>urn:sha1:514a0a6a3bd74c03db6cd9b28edc0a29a8a2441e</id>
<content type='text'>
This is needed so that when the map is modified during traversal, and
thus unlinked by the database code, the map is not disposed of until the
iterator is done with it.
</content>
</entry>
<entry>
<title>add property: query prefix to search for specific properties</title>
<updated>2016-09-21T21:14:25Z</updated>
<author>
<name>Daniel Kahn Gillmor</name>
<email>dkg@fifthhorseman.net</email>
</author>
<published>2016-07-08T09:15:36Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=693ca8d8a80438ce1e361e7e6d22288f52a11c55'/>
<id>urn:sha1:693ca8d8a80438ce1e361e7e6d22288f52a11c55</id>
<content type='text'>
We want to be able to query the properties directly, like:

   notmuch count property:foo=bar

which should return a count of messages where the property with key
"foo" has value equal to "bar".
</content>
</entry>
<entry>
<title>lib: iterator API for message properties</title>
<updated>2016-09-21T21:14:25Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2016-06-13T01:05:52Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=58fe8fce1d1b7b86b4914a5a476ff21411c84082'/>
<id>urn:sha1:58fe8fce1d1b7b86b4914a5a476ff21411c84082</id>
<content type='text'>
This is a thin wrapper around the string map iterator API just introduced.
</content>
</entry>
<entry>
<title>lib: extend private string map API with iterators</title>
<updated>2016-09-21T21:14:24Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2016-06-13T01:05:51Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=b846bdb48233c907d1ecaff495fbf6bc578910d6'/>
<id>urn:sha1:b846bdb48233c907d1ecaff495fbf6bc578910d6</id>
<content type='text'>
Support for prefix based iterators is perhaps overengineering, but I
wanted to mimic the existing database_config API.
</content>
</entry>
<entry>
<title>lib: basic message-property API</title>
<updated>2016-09-21T21:14:24Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2016-06-13T01:05:50Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=b8bb6d796458732622f80464dd808b3e02f57d9d'/>
<id>urn:sha1:b8bb6d796458732622f80464dd808b3e02f57d9d</id>
<content type='text'>
Initially, support get, set and removal of single key/value pair, as
well as removing all properties.
</content>
</entry>
<entry>
<title>lib: private string map (associative array) API</title>
<updated>2016-09-21T21:14:24Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2016-06-13T01:05:49Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=8b03ee1d5a310f82718281362d105ff09e30148f'/>
<id>urn:sha1:8b03ee1d5a310f82718281362d105ff09e30148f</id>
<content type='text'>
The choice of array implementation is deliberate, for future iterator support
</content>
</entry>
<entry>
<title>lib: read "property" terms from messages.</title>
<updated>2016-09-21T21:14:24Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2016-06-13T01:05:48Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=4dfb69169e6b685670ebdeedab898c31adc995b2'/>
<id>urn:sha1:4dfb69169e6b685670ebdeedab898c31adc995b2</id>
<content type='text'>
This is a first step towards providing an API to attach
arbitrary (key,value) pairs to messages and retrieve all of the values
for a given key.
</content>
</entry>
<entry>
<title>lib: update cached mtime in notmuch_directory_set_mtime</title>
<updated>2016-08-23T23:58:46Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2016-06-27T20:43:04Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=59fed50a82b0a625a7303099675484557fed9d23'/>
<id>urn:sha1:59fed50a82b0a625a7303099675484557fed9d23</id>
<content type='text'>
Without this change, the following code fails

  notmuch_directory_set_mtime(dir, 12345);
  assert(notmuch_directory_get_mtime(dir) == 12345);
</content>
</entry>
<entry>
<title>lib: reword comment about XFOLDER: prefix</title>
<updated>2016-08-18T08:11:37Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2016-08-18T08:06:54Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=9e177b236c7054bc6a51c4718bfd4b31cd4f8b20'/>
<id>urn:sha1:9e177b236c7054bc6a51c4718bfd4b31cd4f8b20</id>
<content type='text'>
I believe the current one is misleading, because in my experiments
Xapian did not add : when prefix and term were both upper case. Indeed,
it's hard to see how it could, because prefixes are added at a layer
above Xapian in our code. See _notmuch_message_add_term for an example.

Also try to explain why this is a good idea.  As far as I can ascertain,
this is more of an issue for a system trying to work with an unknown set
of prefixes. Since notmuch has a fixed set of prefixes, and we can
hopefully be trusted not to add XGOLD and XGOLDEN as prefixes, it is
harder for problems to arise.
</content>
</entry>
<entry>
<title>lib: provide _notmuch_database_log_append</title>
<updated>2016-08-09T00:34:11Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2016-07-15T10:25:41Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=293186d6c6b1c4d158413de5412e6b4345e94970'/>
<id>urn:sha1:293186d6c6b1c4d158413de5412e6b4345e94970</id>
<content type='text'>
_notmuch_database_log clears the log buffer each time. Rather than
introducing more complicated semantics about for this function, provide
a second function that does not clear the buffer. This is mainly a
convenience function for callers constructing complex or multi-line log
messages.

The changes to query.cc are to make sure that the common code path of
the new function is tested.
</content>
</entry>
</feed>
