summaryrefslogtreecommitdiff
path: root/bindings/python
AgeCommit message (Collapse)Author
2017-09-11version: bump to 0.25.1David Bremner
2017-08-23database: add n_d_index_file (deprecates n_d_add_message)Daniel Kahn Gillmor
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.
2017-08-18fix typoDaniel Kahn Gillmor
2017-08-18Use rooted paths in .gitignore filesVladimir Panteleev
A leading / in paths in a .gitignore file matches the beginning of the path, meaning that for patterns without slashes, git will match files only in the current directory as opposed to in any subdirectory. Prefix relevant paths with / in .gitignore files, to prevent accidentally ignoring files in subdirectories and possibly slightly improve the performance of "git status".
2017-07-25version: bump to 0.25David Bremner
2017-07-18version: bump to 0.25~rc1David Bremner
2017-07-18Fix orthographyDaniel Kahn Gillmor
2017-07-16version: bump version to 0.25~rc0David Bremner
2017-06-01Merge branch 'release'David Bremner
2017-06-01version: bump to 0.24.2David Bremner
2017-03-25Merge branch 'release'David Bremner
wildcard search fixes, plus release busywork
2017-03-25version: bump to 0.24.1David Bremner
The release is not yet finalized, but start the busywork needed.
2017-03-22python: bump SOVERSION to 5David Bremner
Otherwise hilarity ensues when the python bindings try to use the new API against the old shared library.
2017-03-22lib: replace deprecated n_q_count_threads with status returning versionDavid Bremner
This function was deprecated in notmuch 0.21. We re-use the name for a status returning version, and deprecate the _st name.
2017-03-22lib: replace deprecated n_q_count_messages with status returning versionDavid Bremner
This function was deprecated in notmuch 0.21. We re-use the name for a status returning version, and deprecate the _st name. One or two remaining uses of the (removed) non-status returning version fixed at the same time
2017-03-22lib: replace deprecated n_q_search_messages with status returning versionDavid Bremner
This function was deprecated in notmuch 0.21. We re-use the name for a status returning version, and deprecate the _st name.
2017-03-22lib: replace n_query_search_threads with status returning versionDavid Bremner
This function was deprecated in notmuch 0.21. We finally remove the deprecated API, and rename the status returning version to the simpler name. The status returning is kept as a deprecated alias.
2017-03-12Merge branch 'release'David Bremner
final 0.24 release
2017-03-12version: bump to 0.24David Bremner
2017-03-09bindings/python: add bindings for notmuch_database_get_revisionGaute Hope
Database.get_revision () returns a tuple with the current database revision and the UUID string representing the database.
2017-03-08version: bump version to 0.24~rc1David Bremner
2017-03-05version: bump to 0.24~rc0David Bremner
2017-02-28update version to 0.23.70.23.7David Bremner
2017-02-23version: bump to 0.23.6David Bremner
python and debian bumped at the same time
2017-01-08bump version to 0.23.5David Bremner
2016-12-24version: update to 0.23.4debian/0.23.4-10.23.4David Bremner
2016-11-24version: bump to 0.23.3David Bremner
2016-11-16version: bump to 0.23.2David Bremner
2016-10-22version: bump to 0.23.1David Bremner
2016-10-03version: bump to 0.23David Bremner
2016-09-30version: update to 0.23~rc1David Bremner
2016-09-26version: bump to 0.23~rc0David Bremner
2016-09-08Merge branch 'release'David Bremner
hand fixed conflicts with NEWS
2016-09-08version: bump to 0.22.2David Bremner
2016-07-29Fix typo in Message.maildir_flags_to_tagsJaime Velasco Juan
It has been calling _tags_to_maildir_flags instead since the beginning,
2016-07-19Merge branch 'release'David Bremner
2016-07-19version: bump to 0.22David Bremner
2016-06-30version: bump to 0.21.1~rc0David Bremner
Getting ready for the point release
2016-06-05Use https instead of http where possibleDaniel Kahn Gillmor
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.
2016-06-05NEWS, python: update pointer to online documentationDaniel Kahn Gillmor
Currently, http://packages.python.org/notmuch/ goes through a series of redirections and ends up pointing to readthedocs. Since we're using readthedocs directly anyway, just point to it directly. readthedocs are also now sensibly using a separate domain (readthedocs.io) for their hosted documentation as distinct from their own domain (readthedocs.org), so use the correct tld.
2016-04-26bump version and NEWS date for 0.22 releaseDavid Bremner
2016-04-24version: bump to 0.22~rc1David Bremner
2016-04-16version: bump to 0.22~rc0David Bremner
2016-03-14python: update the READMEJustus Winter
Signed-off-by: Justus Winter <justus@gnupg.org>
2016-02-11notmuch.Database.remove_message should raise exception on failureDaniel Kahn Gillmor
The notmuch python bindings document that database.remove_message should raise an exception when the message removal fails, but they don't actually do it.
2016-01-08python: cleanup importsJustus Winter
Drop unused imports, and avoid warning about unused imports when we import something on behalf of another module. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
2016-01-08python: Remove {Filenames,Threads}.__len__Justus Winter
Remove the __len__ functions, as they exhaust the iterator, breaking 'list(x)'. This is a follow-up to 8866a89e. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
2016-01-08python: update bindings for the new query search APIJustus Winter
Use 'notmuch_query_search_{threads,messages}_st' instead of their deprecated counterpart. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
2016-01-08python: add new errorsJustus Winter
Add support for the new notmuch status codes UNSUPPORTED_OPERATION, UPGRADE_REQUIRED, and PATH_ERROR. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
2016-01-08python: add missing importJustus Winter
Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>