aboutsummaryrefslogtreecommitdiffstats
path: root/src/database.rs
Commit message (Collapse)AuthorAge
* Revert "Edition 2018 hit stable 🙌"Dirk Van Haerenborgh2018-12-15
| | | | This reverts commit b5b0f7e97abe0dbd5b54a1fc69e764a124c271b2.
* Threads are only ever owned by a Query. Nothing elseDirk Van Haerenborgh2018-12-15
|
* remove StreamingIterator again as the iterators don't actually have ↵Dirk Van Haerenborgh2018-12-14
| | | | ownership over items
* Edition 2018 hit stable 🙌eaon2018-12-09
|
* Return Result<(), Status::NotmuchError> instead of Statuseaon2018-11-21
|
* Use the ? operator instead of the try! macroeaon2018-11-21
|
* Match up Database::remove_message with Message::filename return typeeaon2018-11-21
|
* Add Database::remove_messageeaon2018-11-19
|
* Switch to `where` syntaxeaon2018-11-12
|
* rustfmtDirk Van Haerenborgh2018-11-05
|
* implement 'Ext' traits for all types exept iteratorsDirk Van Haerenborgh2018-11-05
|
* add MessageExt traitDirk Van Haerenborgh2018-11-04
|
* start adding 'Ext' threads to enable more flexible supercow apiDirk Van Haerenborgh2018-11-04
|
* improve lifetime management with supercowDirk Van Haerenborgh2018-11-01
|
* fix lifetimes of tagsDirk Van Haerenborgh2018-10-29
|
* more correct lifetimesDirk Van Haerenborgh2018-10-25
|
* some tries towards better lifetimesDirk Van Haerenborgh2018-10-24
|
* make fields publicDirk Van Haerenborgh2018-10-06
|
* prevent travis from building with features that are not availableDirk Van Haerenborgh2018-10-06
|
* db revision is only available from 0.21 onwardsDirk Van Haerenborgh2018-10-06
|
* remove unused importsDirk Van Haerenborgh2018-10-06
|
* fix ffi for db revisionDirk Van Haerenborgh2018-10-06
|
* cleanup & export db revision uuidDirk Van Haerenborgh2018-10-06
|
* make clippy happyDirk Van Haerenborgh2018-04-17
|
* make everything Send+SyncDirk Van Haerenborgh2018-04-14
|
* add missing lifetime parametersDirk Van Haerenborgh2018-04-13
|
* I think these are actually Send'able, but certainly no SyncDirk Van Haerenborgh2018-04-13
|
* notmuch is not thread safe. do not let the user think it isDirk Van Haerenborgh2018-04-12
|
* make some types Send'ableDirk Van Haerenborgh2018-04-12
|
* lifetime parameters are coolDirk Van Haerenborgh2018-03-23
|
* oopsDirk Van Haerenborgh2018-03-23
|
* cleanupDirk Van Haerenborgh2018-03-23
|
* search threadsDirk Van Haerenborgh2018-03-23
|
* proper tags iteratorDirk Van Haerenborgh2018-03-23
|
* fix query constructorDirk Van Haerenborgh2018-03-22
|
* create queryDirk Van Haerenborgh2018-03-22
|
* get notmuch db revisionDirk Van Haerenborgh2018-03-22
|
* add debug trait to databaseDirk Van Haerenborgh2018-03-20
|
* fix infinite recursionDirk Van Haerenborgh2018-03-20
|
* resurrectDirk Van Haerenborgh2018-03-20
|
* Rename Notmuch enum types.C. Morgan Hamill2015-03-31
| | | | | Remove the 'Notmuch' prefix, as it pollutes the generated documentation. It's rendundant, anyhow.
* Add `Database::directory()` method.C. Morgan Hamill2015-03-31
| | | | | Simple wrapper around notmuch API's `notmuch_database_get_directory` function.
* Disable trivial_numeric_casts lint in FFI callback.C. Morgan Hamill2015-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 Hamill2015-03-26
| | | | No longer necessary with the `From` and `Into` traits from std::convert.
* Make `ToCString` trait use std::convert traits.C. Morgan Hamill2015-03-26
| | | | Use `AsRef<Path>` instead of `AsOsStr`.
* Change usage of `AsPath` to `AsRef<Path>`.C. Morgan Hamill2015-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 Hamill2015-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.
* Rename `NotmuchEnum` trait to `NotmuchType`.C. Morgan Hamill2015-03-24
| | | | Turns out to be useful outside of just enums.
* Add `Database::upgrade()` and related methods.C. Morgan Hamill2015-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 Hamill2015-03-20
| | | | | Simple wrapper around notmuch API's `notmuch_database_needs_upgrade()` function.