<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/bindings/python/docs, branch debian/0.26-1</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=debian%2F0.26-1</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=debian%2F0.26-1'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2017-12-24T13:17:06Z</updated>
<entry>
<title>python: Fix method name in docs</title>
<updated>2017-12-24T13:17:06Z</updated>
<author>
<name>l-m-h@web.de</name>
<email>l-m-h@web.de</email>
</author>
<published>2017-12-22T22:26:49Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=e0ac149955686353570c19c9949c9032d46fb30f'/>
<id>urn:sha1:e0ac149955686353570c19c9949c9032d46fb30f</id>
<content type='text'>
Fix a method rename in the docs that was overlooked in
3444c731d27fd42bbbdaae00af6ca48b4525b03b.
</content>
</entry>
<entry>
<title>python: add bindings to access config</title>
<updated>2017-12-19T10:36:30Z</updated>
<author>
<name>l-m-h@web.de</name>
<email>l-m-h@web.de</email>
</author>
<published>2017-12-07T11:40:46Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=6c6b0f13ffc3988b0f31774b33b8215be02abaa9'/>
<id>urn:sha1:6c6b0f13ffc3988b0f31774b33b8215be02abaa9</id>
<content type='text'>
The C functions notmuch_database_get_config,
notmuch_database_get_config_list and notmuch_database_set_config are
part of the official C bindings.  So there should also be some python
bindings for them.

Also they are the only way to access the named queries introduced in
b9bf3f44.

The interface of the python functions is designed to be close to the C
functions.
</content>
</entry>
<entry>
<title>database: add n_d_index_file (deprecates n_d_add_message)</title>
<updated>2017-08-23T10:38:37Z</updated>
<author>
<name>Daniel Kahn Gillmor</name>
<email>dkg@fifthhorseman.net</email>
</author>
<published>2017-08-17T23:14:25Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=b10ce6bc23002d48916b1b2f375480e7540e3164'/>
<id>urn:sha1:b10ce6bc23002d48916b1b2f375480e7540e3164</id>
<content type='text'>
We need a way to pass parameters to the indexing functionality on the
first index, not just on reindexing.  The obvious place is in
notmuch_database_add_message.  But since modifying the argument list
would break both API and ABI, we needed a new name.

I considered notmuch_database_add_message_with_params(), but the
functionality we're talking about doesn't always add a message.  It
tries to index a specific file, possibly adding a message, but
possibly doing other things, like adding terms to an existing message,
or failing to deal with message objects entirely (e.g. because the
file didn't contain a message).

So i chose the function name notmuch_database_index_file.

I confess i'm a little concerned about confusing future notmuch
developers with the new name, since we already have a private
_notmuch_message_index_file function, and the two do rather different
things.  But i think the added clarity for people linking against the
future libnotmuch and the capacity for using index parameters makes
this a worthwhile tradeoff.  (that said, if anyone has another name
that they strongly prefer, i'd be happy to go with it)

This changeset also adjusts the tests so that we test whether the new,
preferred function returns bad values (since the deprecated function
just calls the new one).

We can keep the deprecated n_d_add_message function around as long as
we like, but at the next place where we're forced to break API or ABI
we can probably choose to drop the name relatively safely.

NOTE: there is probably more cleanup to do in the ruby and go bindings
to complete the deprecation directly.  I don't know those languages
well enough to attempt a fix; i don't know how to test them; and i
don't know the culture around those languages about API additions or
deprecations.
</content>
</entry>
<entry>
<title>Fix orthography</title>
<updated>2017-07-18T09:50:44Z</updated>
<author>
<name>Daniel Kahn Gillmor</name>
<email>dkg@fifthhorseman.net</email>
</author>
<published>2017-07-17T22:16:02Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=87bdfbc91f65cb1031ef0ac8a804759f2061ac10'/>
<id>urn:sha1:87bdfbc91f65cb1031ef0ac8a804759f2061ac10</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use https instead of http where possible</title>
<updated>2016-06-05T11:32:17Z</updated>
<author>
<name>Daniel Kahn Gillmor</name>
<email>dkg@fifthhorseman.net</email>
</author>
<published>2016-06-02T16:26:14Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=6a833a6e83865f6999707cc30768d07e1351c2cb'/>
<id>urn:sha1:6a833a6e83865f6999707cc30768d07e1351c2cb</id>
<content type='text'>
Many of the external links found in the notmuch source can be resolved
using https instead of http.  This changeset addresses as many as i
could find, without touching the e-mail corpus or expected outputs
found in tests.
</content>
</entry>
<entry>
<title>python: Remove {Filenames,Threads}.__len__</title>
<updated>2016-01-08T12:58:33Z</updated>
<author>
<name>Justus Winter</name>
<email>4winter@informatik.uni-hamburg.de</email>
</author>
<published>2016-01-08T11:27:20Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=096c600b96e5d556b67ac01263a1364d0b8e9115'/>
<id>urn:sha1:096c600b96e5d556b67ac01263a1364d0b8e9115</id>
<content type='text'>
Remove the __len__ functions, as they exhaust the iterator, breaking
'list(x)'.

This is a follow-up to 8866a89e.

Signed-off-by: Justus Winter &lt;4winter@informatik.uni-hamburg.de&gt;
</content>
</entry>
<entry>
<title>python: add new errors</title>
<updated>2016-01-08T12:58:33Z</updated>
<author>
<name>Justus Winter</name>
<email>4winter@informatik.uni-hamburg.de</email>
</author>
<published>2015-12-24T11:51:30Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=9ed1eea8b63115343ec4a32907d9a1e1b9c0b7f1'/>
<id>urn:sha1:9ed1eea8b63115343ec4a32907d9a1e1b9c0b7f1</id>
<content type='text'>
Add support for the new notmuch status codes UNSUPPORTED_OPERATION,
UPGRADE_REQUIRED, and PATH_ERROR.

Signed-off-by: Justus Winter &lt;4winter@informatik.uni-hamburg.de&gt;
</content>
</entry>
<entry>
<title>python: Add binding for notmuch_query_add_tag_exclude</title>
<updated>2014-09-23T16:23:39Z</updated>
<author>
<name>Thibaut Horel</name>
<email>thibaut.horel@gmail.com</email>
</author>
<published>2014-08-11T04:43:54Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=e13d557bfdf3f07f16e051430056c57e574b650d'/>
<id>urn:sha1:e13d557bfdf3f07f16e051430056c57e574b650d</id>
<content type='text'>
Implemented as the method `exclude_tag` of the class `Query`. This method takes
one argument, a string containing the name of the tag to exclude.
</content>
</entry>
<entry>
<title>Unset html_static_path in Python bindings docs</title>
<updated>2014-05-28T12:46:02Z</updated>
<author>
<name>Amadeusz Żołnowski</name>
<email>aidecoe@aidecoe.name</email>
</author>
<published>2014-05-12T10:35:41Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=175144f6ad313527e1dfb45b6decedc26d569917'/>
<id>urn:sha1:175144f6ad313527e1dfb45b6decedc26d569917</id>
<content type='text'>
html_static_path is a kind of source directory and it was set to
destination directory (../html) which caused infinite recursion with
Sphinx 1.2 and above.
</content>
</entry>
<entry>
<title>python: remove Database.db_p</title>
<updated>2012-12-21T09:56:06Z</updated>
<author>
<name>Justus Winter</name>
<email>4winter@informatik.uni-hamburg.de</email>
</author>
<published>2012-12-21T09:37:54Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=8728340644da8af1d60af6c9ee329a83549b9ce7'/>
<id>urn:sha1:8728340644da8af1d60af6c9ee329a83549b9ce7</id>
<content type='text'>
The function has been marked as deprecated in 0.14 and is now removed.

Signed-off-by: Justus Winter &lt;4winter@informatik.uni-hamburg.de&gt;
</content>
</entry>
</feed>
