Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-02-11 | Fix negation error | Matthias Beyer | |
We Iterator::filter here, so we have to negate - because we list everything where _no_ instance exists yet. Signed-off-by: Matthias Beyer <mail@beyermatthias.de> | |||
2019-02-11 | Add debug output | Matthias Beyer | |
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> | |||
2019-02-11 | Remove magic constants in trace_unwrap_exit/map_err_trace_exit_unwrap calls | Matthias Beyer | |
This patch removes the magic constant we used when calling `trace_unwrap_exit()` or `map_err_trace_exit_unwrap()`. We used to call it with `1` as parameter, where the number was the exit code to use. Now the implementation of the function does it automatically (using 1 (one) as exit code). All calls of these functions were fixed. Thanks to vim this was easy. Signed-off-by: Matthias Beyer <mail@beyermatthias.de> | |||
2019-02-11 | Change id reporting API to return ExitCode | Matthias Beyer | |
Because this API only errors when write!() errors occur, we can return the exit code as an error here. This way the user of the API can immediately exit if there was an IO error, but the API automatically takes care of the right return value, returning (exiting) with zero (0) if there was an "Broken pipe" error and with one (1) otherwise, which is the expected behaviour here. All calls to that API were changed accordingly. Signed-off-by: Matthias Beyer <mail@beyermatthias.de> | |||
2019-02-09 | Fix: "status" subcommand might not be present | Matthias Beyer | |
If we call 'imag-habit' without a subcommand, we assume "today". Thus it might occur that the "status" subcommand match is not present, hence we have to assume `false` here as default value. Signed-off-by: Matthias Beyer <mail@beyermatthias.de> | |||
2019-01-03 | Update copyright years | Matthias Beyer | |
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> | |||
2018-11-11 | Forbid unsafe code in all crates | Matthias Beyer | |
2018-11-10 | Update version strings | Matthias Beyer | |
...for the next release, which will be imag 0.10.0! Signed-off-by: Matthias Beyer <mail@beyermatthias.de> | |||
2018-11-09 | Update dependencies from git versions to proper versions. | Matthias Beyer | |
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> | |||
2018-11-09 | Make code more idomatic | Matthias Beyer | |
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> | |||
2018-11-06 | Add ID reporting in imag-habit | Matthias Beyer | |
2018-11-06 | Optimize implementation: Less matches | Matthias Beyer | |
This patch simplifies the code to be not three nested matches but rather one match and then some function chaining. Signed-off-by: Matthias Beyer <mail@beyermatthias.de> | |||
2018-11-01 | Use new "ask" function interface with input/output stream params | Matthias Beyer | |
In the imag-contact crate we had to rewrite the ask_continue!{} macro as a function for less headache, but besides that this is a rather straight-forward patch for adapting to the new interface. Signed-off-by: Matthias Beyer <mail@beyermatthias.de> | |||
2018-10-30 | imag-habit: Move from error-chain to failure | Matthias Beyer | |
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> | |||
2018-10-06 | Update dependency: prettytable: 0.6 -> 0.8 | Matthias Beyer | |
2018-10-06 | Update dependency: prettytable: 0.6 -> 0.8 | Matthias Beyer | |
2018-09-27 | Update kairos to master branch | Matthias Beyer | |
Because of the new error-chain version which kairos can depend on, for which kairos is not yet released. | |||
2018-09-27 | Update dependency: kairos: 0.1 -> 0.2 | Matthias Beyer | |
2018-09-27 | Update dependency: log: 0.3 -> 0.4 | Matthias Beyer | |
2018-09-27 | Update dependency: toml-query: 0.6 -> 0.7 | Matthias Beyer | |
2018-06-27 | Fix: Use unused result | Matthias Beyer | |
2018-05-09 | Update version string: 0.8.0 -> 0.9.0 | Matthias Beyer | |
2018-05-01 | Refactor imag-habit to new store iterator interface | Matthias Beyer | |
2018-04-19 | Update version numbers: 0.7.0 -> 0.8.0 | Matthias Beyer | |
2018-04-18 | Merge pull request #1380 from matthiasbeyer/minor | Matthias Beyer | |
Minor patches | |||
2018-04-17 | Fix documentation in crate metadata | Matthias Beyer | |
2018-04-13 | Use clap with wrap_help feature | Matthias Beyer | |
2018-04-13 | Use clap "^2.29" instead of ">=2.29" | Matthias Beyer | |
2018-04-04 | Handle unknown subcommands in binaries with Runtime::handle_unknown_subcommand | Matthias Beyer | |
2018-03-22 | Use variable mutable, so we can create an instance | Matthias Beyer | |
2018-03-22 | Add parameter to show done habits | Matthias Beyer | |
2018-03-04 | Use output stream from Runtime::stdout() | Matthias Beyer | |
2018-02-20 | Remove usage of libimagentrylist | Matthias Beyer | |
2018-02-19 | Fix for broken pipe panics | Matthias Beyer | |
2018-02-18 | Add debug output what is about to be done | Matthias Beyer | |
2018-02-13 | Use new make_imag_version!() macro for building version string | Matthias Beyer | |
2018-02-11 | Update version string: 0.6.0 -> 0.7.0 | Matthias Beyer | |
2018-02-11 | Merge pull request #1275 from matthiasbeyer/clap-features | Matthias Beyer | |
Clap features | |||
2018-02-10 | Do not print "Ok" after successful execution | Matthias Beyer | |
2018-02-10 | Update dependency: clap: 2.17 -> 2.29 | Matthias Beyer | |
2018-02-10 | Compile clap with suggestions and color support | Matthias Beyer | |
2018-02-10 | Add missing Cargo.toml metadata | Matthias Beyer | |
2018-02-07 | Update dates in license header | Matthias Beyer | |
And add missing header in one file | |||
2018-02-05 | Update kairos dependency: 0.1.0-beta-2 -> 0.1.0 | Matthias Beyer | |
2018-02-01 | Move date <-> string conversion utility to libimagutil | Matthias Beyer | |
2018-01-13 | Update dependency: toml-query -> 0.6 | Matthias Beyer | |
2018-01-12 | Remove dependency "version" | Matthias Beyer | |
Because the "version" crate is licensed as GPL, which would us require to release imag as GPL, we remove the crate now. | |||
2017-12-25 | Update version strings: 0.5.0 -> 0.6.0 | Matthias Beyer | |
2017-12-22 | Change UI. Positional args are not possible here | Matthias Beyer | |
2017-12-22 | Add functionality so we can create a habit with a due date | Matthias Beyer | |