summaryrefslogtreecommitdiff
path: root/bindings/python
AgeCommit message (Collapse)Author
2014-05-04version: bump for 0.18~rc1David Bremner
Doing all of the needed version bumps in one commit, and do a complete, if minimal debian changelog entry
2014-04-22python: bump versionDavid Bremner
2013-12-30version: bump to 0.17David Bremner
2013-12-28version: bump to 0.17~rc4David Bremner
Unfortunately release-checks.sh will whine a bit because it has not caught up with the renaming of the version macros.
2013-12-07version: bump versionDavid Bremner
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.
2013-11-28version: bump to 0.17~rc2David Bremner
2013-11-23version: bump to 0.17~rc1David Bremner
Various other files are synched using "make update-versions". NEWS has to be hand edited.
2013-07-28version: set new version and release dateDavid Bremner
These are manually set in version and NEWS, and propagate to the other files via "make update-versions"
2013-07-09Python bindings: CDLL("libnotmuch.3.dylib") on DarwinTomi Ollila
Use os.uname() to check for 'Darwin' and load "libnotmuch.3.dylib" instead of "libnotmuch.so.3" if that is the case.
2013-06-03bindings/python: ignore build subdirectory.David Bremner
Update .gitignore to make git status less noisy
2013-05-05python: Add bindings for notmuch_thread_get_messagesAustin Clements
2013-02-18Merge branch 'release'David Bremner
add in NEWS from 0.15.2 Conflicts: NEWS
2013-02-17bump versions to 0.15.20.15.2David Bremner
2013-01-24Merge branch 'release'David Bremner
Conflicts: NEWS Inserted news from 0.15.1
2013-01-24version: bump to 0.15.1David Bremner
A simple bugfix release, no user visible changes
2013-01-23python: fix the creation of notmuch databasesJustus Winter
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>
2013-01-18version: update to 0.15debian/0.15-10.15David Bremner
Bump the version in-place in NEWS.
2013-01-16version: set version to 0.15~rc1David Bremner
This is in some sense a rollback, but it makes all the automation happier if the Debian and upstream versions match.
2013-01-07version: bump to 0.15David Bremner
"Atomically" update the python bindings and man page versions.
2012-12-21python: remove now unused import of module sysJustus Winter
Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
2012-12-21python: remove functions that have been marked as deprecated in 0.14Justus Winter
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>
2012-12-21python: remove Database.db_pJustus Winter
The function has been marked as deprecated in 0.14 and is now removed. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
2012-08-21version: propagate version changesDavid Bremner
These are the result of running "make update-versions"
2012-06-03Merge tag '0.13.2'David Bremner
notmuch 0.13.2 release
2012-06-02version: update to 0.13.2David Bremner
2012-05-29Merge branch 'release'David Bremner
2012-05-25version: bump to 0.13.1David Bremner
2012-05-23Merge branch 'release'David Bremner
merge 0.13.1 bugfix patches back to master, fixes for emacs reply and spurious directory document creation.
2012-05-23python: Remove find_message_by_filename workaroundAustin Clements
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.
2012-05-23python: Update Database.get_directory documentationAustin Clements
notmuch_database_get_directory no longer returns an error for read-only databases, so remove ReadOnlyDatabaseError from the list of get_directory exceptions.
2012-05-17python: deprecate Messages.{format,print}_messagesJustus Winter
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>
2012-05-17python: deprecate Database.db_pJustus Winter
Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
2012-05-17python: fix Message.get_headerJustus Winter
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>
2012-05-17python: add a file abstracting away differences between python 2 and 3Justus Winter
Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
2012-05-17python: remove the "notmuch binary" section from the docsJustus Winter
Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
2012-05-17python: Fix the remaining broken NULL pointer testsJustus Winter
Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
2012-05-17python: use relative importsJustus Winter
Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
2012-05-17python: remove unused import of the json moduleJustus Winter
Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
2012-05-16python: remove format_message_as_{json,text} from the sphinx docsJustus Winter
Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
2012-05-16python: remove functions that have been marked as deprecated in 0.13Justus Winter
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>
2012-05-16python: remove notmuch.pyJustus Winter
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>
2012-05-15version: bump to 0.13David Bremner
2012-05-15python: Update for changes to notmuch_database_get_directoryAustin Clements
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.
2012-05-08bump version to 0.13~rc1debian/0.13_rc1-10.13_rc1David Bremner
2012-05-05lib: Bump SO version from 2.0.0 to 3.0.0Austin Clements
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
2012-05-05python: Update Python bindings for new notmuch_database_{open, create} signaturesAustin Clements
2012-04-30python: remove a note stating wrong things about the memory managementJustus Winter
Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
2012-04-30python: document the Database.close functionJustus Winter
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>
2012-04-30python: deprecate code formatting messages as text and jsonJustus Winter
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>
2012-04-30python: cleanup the __nonzero__ implementationsJustus Winter
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>