aboutsummaryrefslogtreecommitdiffhomepage
path: root/bindings/python
Commit message (Collapse)AuthorAge
* 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.
* bump version to 0.13~rc1Gravatar David Bremner2012-05-08
|
* lib: Bump SO version from 2.0.0 to 3.0.0Gravatar Austin Clements2012-05-05
| | | | | | | We've changed the APIs of notmuch_database_open, notmuch_database_create, and notmuch_database_close. Amended by db: also bump string in bindings/python/notmuch/globals.py
* python: Update Python bindings for new notmuch_database_{open, create} ↵Gravatar Austin Clements2012-05-05
| | | | signatures
* python: remove a note stating wrong things about the memory managementGravatar Justus Winter2012-04-30
| | | | Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
* python: document the Database.close functionGravatar Justus Winter2012-04-30
| | | | | | | | Put a prominent warning into the docstring of Database.close, make the function show up in the sphinx doc and refer to the warning in the paragraph mentioning the context manager protocol. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
* python: deprecate code formatting messages as text and jsonGravatar Justus Winter2012-04-30
| | | | | | | | | 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.14. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
* python: cleanup the __nonzero__ implementationsGravatar Justus Winter2012-04-30
| | | | | | | | | | | Cleanup the code, reword the docstring and use the same implementation in the Threads, Tags and Messages classes. __nonzero__ implements truth value testing. If __nonzero__ is not implemented, the python runtime would fall back to `len(..) > 0` thus exhausting the iterator. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
* python: fix NULL pointer testsGravatar Justus Winter2012-04-30
| | | | | | | Fix the NULL pointer tests in the destructors of all classes and Database.create. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
* python: update the docstrings of Filenames.{__len__,__unicode}Gravatar Justus Winter2012-04-30
| | | | | | | Formerly the documentation was overly verbose. Reword the comment and use the same for both functions. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>