Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-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 | Rewrite debug calls with DebugOption extension | Matthias Beyer | |
2018-11-09 | Remove unused parameter | Matthias Beyer | |
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> | |||
2018-11-06 | Add id reporting in imag-diary | Matthias Beyer | |
2018-11-06 | Optimize implementation | Matthias Beyer | |
Code-wise, the functionality was not changed. The changes only make the code much more pretty. Signed-off-by: Matthias Beyer <mail@beyermatthias.de> | |||
2018-11-06 | Optimize implementation | Matthias Beyer | |
Code-wise, the functionality was not changed. The changes only make the code much more pretty. 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-diary: Move from error-chain to failure | Matthias Beyer | |
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> | |||
2018-09-27 | Update dependency: toml-query: 0.6 -> 0.7 | Matthias Beyer | |
2018-07-20 | Fix: Do not create entries with Store::retrieve() | Matthias Beyer | |
This patch fixes a bug where entries where created with `Store::retrieve()` rather than with the API from libimagdiary. This caused headers to be missing. Now, the CLI is parsed for the values passed and a NaiveDateTime object is crafted from that, which is then passed to libimagdiary. | |||
2018-07-20 | Add functionality to create entry at a certain time | Matthias Beyer | |
2018-05-09 | Update version string: 0.8.0 -> 0.9.0 | Matthias Beyer | |
2018-05-01 | Refactor imag-diary to new store iterator interface | Matthias Beyer | |
2018-04-30 | Remove the edit command | Matthias Beyer | |
The edit command of imag-diary gets removed by this patch. The rationale is that imag-edit is way more powerful and thus, not every other imag module should implement an edit command. Chaining `imag-diary list` and `imag edit -I` is encouraged. We still need the edit functionality in imag-diary, as `imag diary create` shall spawn an editor, still. We only remove the ability for editing of existing entries with this patch. | |||
2018-04-24 | Fix: Pass output stream to view_entries() | Matthias Beyer | |
2018-04-19 | Add functionality to list diaries | Matthias Beyer | |
2018-04-19 | Update version numbers: 0.7.0 -> 0.8.0 | Matthias Beyer | |
2018-04-18 | Fix: Use fill storeid when listing | 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-14 | Fix: Use qualification | Matthias Beyer | |
2018-04-13 | Merge pull request #1395 from matthiasbeyer/clap-text-wrap | Matthias Beyer | |
Clap text wrap | |||
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-13 | Fix: List ids sorted | Matthias Beyer | |
2018-04-04 | Handle unknown subcommands in binaries with Runtime::handle_unknown_subcommand | Matthias Beyer | |
2018-03-04 | Use generate_runtime_setup() to create Runtime object | Matthias Beyer | |
2018-03-04 | Use output stream from Runtime::stdout() | Matthias Beyer | |
2018-03-03 | Merge pull request #1321 from ↵ | Matthias Beyer | |
matthiasbeyer/libimagdiary/not-on-retrieve-for-module libimagdiary: Do not rely on Store::retrieve_for_module | |||
2018-03-02 | Add "daily" support | Matthias Beyer | |
2018-03-02 | Fix: Hourly/Minutely should set minute/second to zero | Matthias Beyer | |
2018-03-02 | Rewrite imag-diary for new Diary::entries() interface | Matthias Beyer | |
2018-02-20 | Merge pull request #1303 from ↵ | Matthias Beyer | |
matthiasbeyer/imag-diary/fix-list-diary-name-passing Fix order of evaluation | |||
2018-02-20 | Fix order of evaluation | Matthias Beyer | |
We need to evaluate the commandline argument first and if there is none, we use the default. This patch fixes that bug. | |||
2018-02-20 | Remove usage of libimagentrylist | Matthias Beyer | |
2018-02-19 | Fix broken pipe panics | Matthias Beyer | |
2018-02-19 | Fix broken pipe panics | Matthias Beyer | |
2018-02-18 | Refactor imag-diary | Matthias Beyer | |
2018-02-18 | Merge pull request #1224 from matthiasbeyer/git-version-in-version | Matthias Beyer | |
Git version in version | |||
2018-02-13 | Use new make_imag_version!() macro for building version string | Matthias Beyer | |
2018-02-12 | Refactor imag-diary to use new error handling interface | Matthias Beyer | |
2018-02-11 | Update version string: 0.6.0 -> 0.7.0 | 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-07 | Update dates in license header | Matthias Beyer | |
And add missing header in one file |