summaryrefslogtreecommitdiff
path: root/bindings/python
AgeCommit message (Collapse)Author
2012-06-02version: update to 0.13.2David Bremner
2012-05-25version: bump to 0.13.1David Bremner
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-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>
2012-04-30python: fix NULL pointer testsJustus Winter
Fix the NULL pointer tests in the destructors of all classes and Database.create. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
2012-04-30python: update the docstrings of Filenames.{__len__,__unicode}Justus Winter
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>
2012-04-30python: update the docstring of class FilenamesJustus Winter
Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
2012-04-30python: fix the documentationJustus Winter
Remove the reference to Filenames.as_generator in the sphinx documentation. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
2012-04-30python: fix Message.get_filenamesJustus Winter
Do not to use the removed function Filenames.as_iterator. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
2012-04-30python: remove the deprecated function Filenames.as_generatorJustus Winter
Remove the function Filenames.as_generator that has been marked as deprecated in 0.12. The class Filenames implements the iterator protocol so you can directly iterate over such objects instead. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
2012-04-29python: strip superfluous single quote from copyright noticesJustus Winter
Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
2012-04-29python: add copyright and licensing information to setup.pyJustus Winter
Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
2012-04-29python: stylistic and pep8 fixes in setup.pyJustus Winter
Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
2012-04-29python: update the long description in setup.pyJustus Winter
Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
2012-04-29python: fix the test asserting that reading the version succeededJustus Winter
Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
2012-04-29python: simplify a path expression in setup.pyJustus Winter
Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
2012-04-29python: Remove unused import from setup.pyJustus Winter
Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
2012-04-28python: wrap and use notmuch_database_destroy as destructorJustus Winter
Adapt the python bindings to the notmuch_database_close split. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
2012-03-19update version to 0.12David Bremner
There may be a few NEWS changes after this, but no code (hopefully).
2012-03-18bump version to 0.12~rc2David Bremner
2012-03-18python: fix signature of two wrapped libnotmuch functionsJustus Winter
Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
2012-03-01bump version to 0.12~rc1David Bremner
As usual, only `version' is edited by hand. The rest of the changes I blame on the machine.
2012-02-24python: split the documentationJustus Winter
Move each classes documentation into its own file and thus into its own page in the generated documentation. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
2012-02-24python: move the notmuch module section to notes.rstJustus Winter
Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
2012-02-24python: move the usage example to quickstart.rstJustus Winter
Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
2012-02-24python: strip module prefix in the sphinx documentationJustus Winter
Remove the notmuch prefix from classes in the documentation. This change makes the table of contents look much nicer. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
2012-02-23python: mention the exception class refactoring in the docsJustus Winter
Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
2012-02-23python: move the exception classes into error.pyJustus Winter
Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
2012-02-22python: rename filename.py into filenames.pyJustus Winter
Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
2012-02-22python: move Threads class into its own fileJustus Winter
Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
2012-02-22python: move Messages class into its own fileJustus Winter
Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
2012-02-22python: refactor the python bindingsJustus Winter
Move the Directory class into its own file, merge the two Filenames classes into one, deprecate Filenames.as_iterator, update the documentation accordingly. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
2012-02-22python: work around libnotmuch calling exit(3) in Database.find_message_by_filenameJustus Winter
Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
2012-02-22python: improve the docstring of Database.find_message_by_filenameJustus Winter
Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
2012-02-22python: work around libnotmuch calling exit(3) in Database.get_directoryJustus Winter
Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
2012-02-22python: Improve the docstring of Database.get_directoryJustus Winter
Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
2012-02-22python: avoid using a magic value for database mode in Database.__init__Justus Winter
Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
2012-02-21python: fix the type nonsense of the first parameter of class DirectoryJustus Winter
Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
2012-02-21python: allow an empty path as parameter to Database.get_directoryJustus Winter
Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
2012-02-21python: remove :returns: keywords from functions returning nothingJustus Winter
Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
2012-02-21python: rework Directory.set_mtimeJustus Winter
Fix the indentation within the docstring, remove useless remarks, do some trivial refactoring. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>