| Commit message (Collapse) | Author | Age | |
|---|---|---|---|
| * | threads: oldest and newest date | Dirk Van Haerenborgh | 2018-03-23 |
| | | |||
| * | return filenames as path | Dirk Van Haerenborgh | 2018-03-23 |
| | | |||
| * | lifetime parameters are cool | Dirk Van Haerenborgh | 2018-03-23 |
| | | |||
| * | get thread authors and subject | Dirk Van Haerenborgh | 2018-03-23 |
| | | |||
| * | wip | Dirk Van Haerenborgh | 2018-03-23 |
| | | |||
| * | the iterator can handle null pointers | Dirk Van Haerenborgh | 2018-03-23 |
| | | |||
| * | do not export all modules, just the structs | Dirk Van Haerenborgh | 2018-03-23 |
| | | |||
| * | filenames iterator | Dirk Van Haerenborgh | 2018-03-23 |
| | | |||
| * | oops | Dirk Van Haerenborgh | 2018-03-23 |
| | | |||
| * | cleanup | Dirk Van Haerenborgh | 2018-03-23 |
| | | |||
| * | thread: count messages and files | Dirk Van Haerenborgh | 2018-03-23 |
| | | |||
| * | improve lifetime definitions | Dirk Van Haerenborgh | 2018-03-23 |
| | | |||
| * | count threads and messages | Dirk Van Haerenborgh | 2018-03-23 |
| | | |||
| * | search threads | Dirk Van Haerenborgh | 2018-03-23 |
| | | |||
| * | message and thread iterators | Dirk Van Haerenborgh | 2018-03-23 |
| | | |||
| * | proper tags iterator | Dirk Van Haerenborgh | 2018-03-23 |
| | | |||
| * | slightly better interface, but still returning a null pointer... | Dirk Van Haerenborgh | 2018-03-22 |
| | | |||
| * | test messages return value | Dirk Van Haerenborgh | 2018-03-22 |
| | | |||
| * | search messages | Dirk Van Haerenborgh | 2018-03-22 |
| | | |||
| * | fix query constructor | Dirk Van Haerenborgh | 2018-03-22 |
| | | |||
| * | correct lifetime for query | Dirk Van Haerenborgh | 2018-03-22 |
| | | |||
| * | implement drop for query | Dirk Van Haerenborgh | 2018-03-22 |
| | | |||
| * | create query | Dirk Van Haerenborgh | 2018-03-22 |
| | | |||
| * | thread stub | Dirk Van Haerenborgh | 2018-03-22 |
| | | |||
| * | get notmuch db revision | Dirk Van Haerenborgh | 2018-03-22 |
| | | |||
| * | Update ffi interface | Dirk Van Haerenborgh | 2018-03-21 |
| | | | | | | | Most of this is plain copied from https://github.com/Stebalien/notmuch-sys. At some point, I would like to split this up again, but not right now. | ||
| * | add debug trait to database | Dirk Van Haerenborgh | 2018-03-20 |
| | | |||
| * | fix infinite recursion | Dirk Van Haerenborgh | 2018-03-20 |
| | | |||
| * | fix some compiler warning regarding opaque structs | Dirk Van Haerenborgh | 2018-03-20 |
| | | |||
| * | resurrect | Dirk Van Haerenborgh | 2018-03-20 |
| | | |||
| * | Rename Notmuch enum types. | C. Morgan Hamill | 2015-03-31 |
| | | | | | | Remove the 'Notmuch' prefix, as it pollutes the generated documentation. It's rendundant, anyhow. | ||
| * | Add `Database::directory()` method. | C. Morgan Hamill | 2015-03-31 |
| | | | | | | Simple wrapper around notmuch API's `notmuch_database_get_directory` function. | ||
| * | Add directory module and `Directory` type. | C. Morgan Hamill | 2015-03-31 |
| | | | | | Wrapper type for `ffi::notmuch_directory_t` pointer. | ||
| * | Add `NewFromPtr` trait. | C. Morgan Hamill | 2015-03-27 |
| | | | | | Crate-private utility trait for `new()` methods on types. | ||
| * | Disable trivial_numeric_casts lint in FFI callback. | C. Morgan Hamill | 2015-03-26 |
| | | | | | | We're casting from `c_double` to `f64`, which are the same thing, but I want to do it anyway to be explicit. | ||
| * | Remove `NotmuchType` trait. | C. Morgan Hamill | 2015-03-26 |
| | | | | | No longer necessary with the `From` and `Into` traits from std::convert. | ||
| * | Make `ToCString` trait use std::convert traits. | C. Morgan Hamill | 2015-03-26 |
| | | | | | Use `AsRef<Path>` instead of `AsOsStr`. | ||
| * | Change usage of `AsPath` to `AsRef<Path>`. | C. Morgan Hamill | 2015-03-25 |
| | | | | | | | RFC 529[1] has landed. [1] https://github.com/rust-lang/rfcs/pull/529 | ||
| * | Make methods borrow self mutably when appropriate. | C. Morgan Hamill | 2015-03-24 |
| | | | | | | | | | | 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. | ||
| * | Remove `ToStaticStr` trait. | C. Morgan Hamill | 2015-03-24 |
| | | | | | | Changes in commit 95d4fba8436417a6c27522ed9b51c19a9fd7c6f9 make the trait unnecessary. The `ToStr` trait is now sufficient. | ||
| * | Rename `NotmuchEnum` trait to `NotmuchType`. | C. Morgan Hamill | 2015-03-24 |
| | | | | | Turns out to be useful outside of just enums. | ||
| * | Fix errors in FFI function signatures. | C. Morgan Hamill | 2015-03-24 |
| | | |||
| * | Add `Database::upgrade()` and related methods. | C. Morgan Hamill | 2015-03-20 |
| | | | | | | Not so simple wrapper around notmuch API's `notmuch_database_upgrade()` function. Variants with and without a callback parameter are provided. | ||
| * | Add `Databased::needs_upgrade()` method. | C. Morgan Hamill | 2015-03-20 |
| | | | | | | Simple wrapper around notmuch API's `notmuch_database_needs_upgrade()` function. | ||
| * | Add `Database::version()` method. | C. Morgan Hamill | 2015-03-20 |
| | | | | | | Simple wrapper around notmuch API's `notmuch_database_get_version()` function. | ||
| * | Add `Database::path()' method. | C. Morgan Hamill | 2015-03-20 |
| | | | | | | Simple wrapper around notmuch API's `notmuch_database_get_path()` function. | ||
| * | Make `to_str()` method generic over lifetime. | C. Morgan Hamill | 2015-03-20 |
| | | | | | | | | | | | | | | | | | If I have this correct: The output `&str` will have the same lifetime as whatever the lifetime of the block in which it is called. This allows using it one the output of notmuch FFI calls, by propogating the lifetime of the safe wrapper object (e.g., `Database`) to the `&str` returned from `to_str()`. This mirrors the lifetime of the actual underlying C string. If I don't grok lifetimes as well as I think, this could be a lie. Future self: you should add unit tests to test the above explanation. | ||
| * | Add `Database::close()` method. | C. Morgan Hamill | 2015-03-20 |
| | | | | | Simple wrapper around notmuch API's `notmuch_database_close()` function. | ||
| * | Implement `Drop` for `Database`. | C. Morgan Hamill | 2015-03-20 |
| | | | | | | Simple wrapper around notmuch API's `notmuch_database_destroy()` function. | ||
| * | Add `Database::compact()` and related methods. | C. Morgan Hamill | 2015-03-20 |
| | | | | | | Not so simple wrapper around notmuch API's `notmuch_database_compact()` function. Variants with and without a callback parameter are provided. | ||
