aboutsummaryrefslogtreecommitdiffhomepage
path: root/bindings/python
Commit message (Collapse)AuthorAge
* python: Add binding for notmuch_query_add_tag_excludeGravatar Thibaut Horel2014-09-23
| | | | | 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.
* python: bump SONAMEGravatar David Bremner2014-09-16
| | | | | | | This should have happened in commit 6754ad9f9, but oops. This was not caught by our test suite because it uses an installed notmuch library of it cannot find the just built one.
* python: handle return status of database close and destroyGravatar Peter Wang2014-09-16
| | | | | Throw an exception if notmuch_database_close or notmuch_database_destroy fail.
* version: bump to 0.18.1Gravatar David Bremner2014-06-25
| | | | Also add precis of NEWS to debian changelog
* version: bump to 0.18.1~rc0Gravatar David Bremner2014-06-22
| | | | | | | | Also bump the python bindings version, the NEWS version and the Debian version. Since the changelog is (slightly dubiously) metadata, we have to change it to upload a release candidate.
* Unset html_static_path in Python bindings docsGravatar Amadeusz Żołnowski2014-05-28
| | | | | | 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.
* version: bump to 0.18Gravatar David Bremner2014-05-06
| | | | debian changelog to be done seperately.
* version: bump for 0.18~rc1Gravatar David Bremner2014-05-04
| | | | | Doing all of the needed version bumps in one commit, and do a complete, if minimal debian changelog entry
* python: bump versionGravatar David Bremner2014-04-22
|
* version: bump to 0.17Gravatar David Bremner2013-12-30
|
* version: bump to 0.17~rc4Gravatar David Bremner2013-12-28
| | | | | Unfortunately release-checks.sh will whine a bit because it has not caught up with the renaming of the version macros.
* version: bump versionGravatar David Bremner2013-12-07
| | | | | | | | Roll (one last?) release candidate because of Austin's LIBNOTMUCH_VERSION changes. Atomically bump the manually (NEWS, debian/changelog) and automatically (everywhere else) updated places version is mentioned.
* version: bump to 0.17~rc2Gravatar David Bremner2013-11-28
|
* version: bump to 0.17~rc1Gravatar David Bremner2013-11-23
| | | | | Various other files are synched using "make update-versions". NEWS has to be hand edited.
* version: set new version and release dateGravatar David Bremner2013-07-28
| | | | | These are manually set in version and NEWS, and propagate to the other files via "make update-versions"
* Python bindings: CDLL("libnotmuch.3.dylib") on DarwinGravatar Tomi Ollila2013-07-09
| | | | | Use os.uname() to check for 'Darwin' and load "libnotmuch.3.dylib" instead of "libnotmuch.so.3" if that is the case.
* bindings/python: ignore build subdirectory.Gravatar David Bremner2013-06-03
| | | | Update .gitignore to make git status less noisy
* python: Add bindings for notmuch_thread_get_messagesGravatar Austin Clements2013-05-05
|
* Merge branch 'release'Gravatar David Bremner2013-02-18
|\ | | | | | | | | | | | | add in NEWS from 0.15.2 Conflicts: NEWS
| * bump versions to 0.15.2Gravatar David Bremner2013-02-17
| |
* | Merge branch 'release'Gravatar David Bremner2013-01-24
|\| | | | | | | | | | | | | Conflicts: NEWS Inserted news from 0.15.1
| * version: bump to 0.15.1Gravatar David Bremner2013-01-24
| | | | | | | | A simple bugfix release, no user visible changes
* | python: fix the creation of notmuch databasesGravatar Justus Winter2013-01-23
|/ | | | | | | Remove the superfluous mode argument given to notmuch_database_create fixing the creation of notmuch databases using python code. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
* version: update to 0.15Gravatar David Bremner2013-01-18
| | | | Bump the version in-place in NEWS.
* version: set version to 0.15~rc1Gravatar David Bremner2013-01-16
| | | | | This is in some sense a rollback, but it makes all the automation happier if the Debian and upstream versions match.
* version: bump to 0.15Gravatar David Bremner2013-01-07
| | | | "Atomically" update the python bindings and man page versions.
* python: remove now unused import of module sysGravatar Justus Winter2012-12-21
| | | | Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
* python: remove functions that have been marked as deprecated in 0.14Gravatar Justus Winter2012-12-21
| | | | | | | | | | | Removes Message.{format,print}_messages. This code adds functionality at the python level that is unlikely to be useful for anyone. Furthermore the python bindings strive to be a thin wrapper around libnotmuch. The code has been marked as deprecated in 0.14 and is now removed. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
* python: remove Database.db_pGravatar Justus Winter2012-12-21
| | | | | | The function has been marked as deprecated in 0.14 and is now removed. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
* version: propagate version changesGravatar David Bremner2012-08-21
| | | | These are the result of running "make update-versions"
* Merge tag '0.13.2'Gravatar David Bremner2012-06-03
|\ | | | | | | notmuch 0.13.2 release
| * version: update to 0.13.2Gravatar David Bremner2012-06-02
| |
* | Merge branch 'release'Gravatar David Bremner2012-05-29
|\|
| * version: bump to 0.13.1Gravatar David Bremner2012-05-25
| |
* | Merge branch 'release'Gravatar David Bremner2012-05-23
|\| | | | | | | | | merge 0.13.1 bugfix patches back to master, fixes for emacs reply and spurious directory document creation.
| * python: Remove find_message_by_filename workaroundGravatar Austin Clements2012-05-23
| | | | | | | | | | | | | | | | Now that notmuch_database_find_message_by_filename works on read-only databases, remove the workaround that disabled it on read-write databases. This also adds a regression test for find_message_by_filename.
| * python: Update Database.get_directory documentationGravatar Austin Clements2012-05-23
| | | | | | | | | | | | notmuch_database_get_directory no longer returns an error for read-only databases, so remove ReadOnlyDatabaseError from the list of get_directory exceptions.
* | python: deprecate Messages.{format,print}_messagesGravatar Justus Winter2012-05-17
| | | | | | | | | | | | | | | | | | This code adds functionality at the python level that is unlikely to be useful for anyone. Furthermore the python bindings strive to be a thin wrapper around libnotmuch, so this code will be removed in notmuch 0.15. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
* | python: deprecate Database.db_pGravatar Justus Winter2012-05-17
| | | | | | | | Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
* | python: fix Message.get_headerGravatar Justus Winter2012-05-17
| | | | | | | | | | | | | | | | | | | | | | | | 8dc8495010057202b725ac029831c03f4e3ab6bd introduced a bug, if the requested header is not set the underlying notmuch function returns an empty string that also made the expression true resulting in an exception being raised. Partly revert the commit to fix this issue. Testing for equality with None is correct in this case since the restype of the function Message._get_header is c_char_p so NULL pointers are in fact converted to None in this case. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
* | python: add a file abstracting away differences between python 2 and 3Gravatar Justus Winter2012-05-17
| | | | | | | | Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
* | python: remove the "notmuch binary" section from the docsGravatar Justus Winter2012-05-17
| | | | | | | | Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
* | python: Fix the remaining broken NULL pointer testsGravatar Justus Winter2012-05-17
| | | | | | | | Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
* | python: use relative importsGravatar Justus Winter2012-05-17
| | | | | | | | Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
* | python: remove unused import of the json moduleGravatar Justus Winter2012-05-17
| | | | | | | | Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
* | python: remove format_message_as_{json,text} from the sphinx docsGravatar Justus Winter2012-05-16
| | | | | | | | Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
* | python: remove functions that have been marked as deprecated in 0.13Gravatar Justus Winter2012-05-16
| | | | | | | | | | | | | | | | | | | | | | Removes Message.format_message_{internal,as_json,as_text}. This code adds functionality at the python level that is unlikely to be useful for anyone. Furthermore the python bindings strive to be a thin wrapper around libnotmuch. The code has been marked as deprecated in 0.13 and is now removed. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
* | python: remove notmuch.pyGravatar Justus Winter2012-05-16
|/ | | | | | | | | | | | Removes notmuch.py. If someone wants to step up and work on this it can always be restored using the version control system. notmuch.py was meant to be a python implementation of the notmuch utility. It was never finished and hasn't been updated to changes in the API and bindings and its features and interface haven't been kept in sync with the notmuch utility. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
* version: bump to 0.13Gravatar David Bremner2012-05-15
|
* python: Update for changes to notmuch_database_get_directoryGravatar Austin Clements2012-05-15
| | | | | | notmuch_database_get_directory now returns NOTMUCH_STATUS_READ_ONLY_DATABASE on its own (rather than crashing) so the workaround in Database.get_directory is no longer necessary.