| Commit message (Collapse) | Author | Age |
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
Remove the 'Notmuch' prefix, as it pollutes the generated documentation.
It's rendundant, anyhow.
|
| |
|
|
|
| |
Simple wrapper around notmuch API's `notmuch_database_get_directory`
function.
|
| |
|
|
|
| |
We're casting from `c_double` to `f64`, which are the same thing, but
I want to do it anyway to be explicit.
|
| |
|
|
| |
No longer necessary with the `From` and `Into` traits from std::convert.
|
| |
|
|
| |
Use `AsRef<Path>` instead of `AsOsStr`.
|
| |
|
|
|
|
| |
RFC 529[1] has landed.
[1] https://github.com/rust-lang/rfcs/pull/529
|
| |
|
|
|
|
|
|
|
| |
Use of raw pointers and FFI functions mean that the compiler won't force
us to be correct in our usage of `&self` vs. `&mut self`.
These functions make changes to the notmuch database, and we want the
type system to ensure we can't simultaneously manipulate the database
from different functions.
|
| |
|
|
| |
Turns out to be useful outside of just enums.
|
| |
|
|
|
| |
Not so simple wrapper around notmuch API's `notmuch_database_upgrade()`
function. Variants with and without a callback parameter are provided.
|
| |
|
|
|
| |
Simple wrapper around notmuch API's `notmuch_database_needs_upgrade()`
function.
|
| |
|
|
|
| |
Simple wrapper around notmuch API's `notmuch_database_get_version()`
function.
|
| |
|
|
|
| |
Simple wrapper around notmuch API's `notmuch_database_get_path()`
function.
|
| |
|
|
| |
Simple wrapper around notmuch API's `notmuch_database_close()` function.
|
| |
|
|
|
| |
Simple wrapper around notmuch API's `notmuch_database_destroy()`
function.
|
| |
|
|
|
| |
Not so simple wrapper around notmuch API's `notmuch_database_compact()`
function. Variants with and without a callback parameter are provided.
|
| |
|
|
| |
Simple wrapper around notmuch API's `notmuch_database_open()` function.
|
| |
|
|
|
| |
Simple wrapper around notmuch API's `notmuch_database_create()`
function.
|
|
|
Add `database::Database`, `database::Version`, and `database::Mode`
types.
|