| Age | Commit message (Collapse) | Author |
|
In order for a database to actually be writeable, it must be the case that it
is open, not just the correct type of Xapian object. By explicitely
checking, we are able to provide better error reporting, in particular
for the previously broken test in T566-lib-message.
|
|
We need to do it some day, and it is a bit annoying to read
deprecation messages in broken tests.
|
|
These cause failures when building out of tree.
|
|
This removes some redudant includes, and will also make it easier to
introduce "#define _GNU_SOURCE", which must come before all system
includes.
|
|
The mtime is cached, so closing the db is not a problem. Writing the
mtime throws an exception, which is caught.
|
|
Falling out of the catch meant the error return was lost
|
|
There is a return value bug in notmuch_directory_delete that is hiding
the exception.
|
|
Also clarify API in error case.
|
|
This is a clone of the one for get_child_directories
|
|
Also clarify API in error case.
|
|
Start a new test file (for the notmuch_directory_* API group) to hold
this test.
|