summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2020-02-29Add changelog for imag 0.10.1v0.10.xMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2020-02-29Fix: Disable cargo-denyMatthias Beyer
Because cargo-deny fails to compile right now, we disable it here. Signed-off-by: Matthias Beyer <mail@beyermatthias.de> (cherry picked from commit 859e396ed10816dc7a10756c8b61283eab6a981d)
2020-02-29Add Cargo.lockMatthias Beyer
Because of multiple requests, this patch adds the Cargo.lock file into the repository. This File will _not_ land on master anytime soon. I will not clutter my history with unecessary Cargo.lock update patches. I will, though, from now on, update this file on the release branches. Thus, every released version of imag will contain the Cargo.lock file in the release. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2020-02-29Update versions: 0.10.0 -> 0.10.1Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2020-02-29Fix: Also write newlinesMatthias Beyer
Fixes: e7e5d306458 ("Remove calls to exit() and replace them with error propagation up to main()") Signed-off-by: Matthias Beyer <mail@beyermatthias.de> (cherry picked from commit 94a830cdc2c09dd068e9a5d2b51c8a99b444a33e)
2020-02-16Fix: Allow "mark" subcommand to be passed IDs directly on CLIMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> (cherry picked from commit 7d971416d9a41da4b39a1291bb286fd5c81c2826)
2020-02-16Fix: Subcommand is named "deleted"Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> (cherry picked from commit cc038ad8c772f286512f7eff2b8a96e89895398d)
2020-01-02Fix: Set isflag when creating a mail in the storeMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> (cherry picked from commit 865b66ef6521aab1941eb4ead306a864884a0a41)
2020-01-02Fix: Do not assume a mail file to be valid UTF8Matthias Beyer
We did assume that the file contained valid UTF8 when reading to `String`. Now we read to a byte buffer, which removes the (wrong) assumtion. Signed-off-by: Matthias Beyer <mail@beyermatthias.de> (cherry picked from commit 9c249dbeea23ce7c12706ee614d42034aacbf8a6)
2020-01-02Fix: Clap argument nameMatthias Beyer
The clap argument name is written with dashes instead of underscores. Signed-off-by: Matthias Beyer <mail@beyermatthias.de> (cherry picked from commit 1c8c02c904abd913ed7621fc43eecd57c4b7aeec)
2020-01-02Update copyright years to 2015-2020Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> (cherry picked from commit 6708c223abde751a1a25f8ede2ccb7713c67d049)
2019-12-26Fix: Remove Box::leak() call in runtime application abstractionMatthias Beyer
This patch removes the leakage in the runtime application abstraction. Also fix formatting. Signed-off-by: Matthias Beyer <mail@beyermatthias.de> (cherry picked from commit 9f2a67841a4ca37b0c95e5eb2b6558a6981785a6)
2019-12-25Fix: Make "list" default command of imag-tagMatthias Beyer
The "list" command is advertised as default command for imag-tag. This commit fixes the implementation so that the binary actually behaves this way. For this, the list() function gets a new parameter which tells it whether there is a subcommand object to be expected in the Runtime. Signed-off-by: Matthias Beyer <mail@beyermatthias.de> (cherry picked from commit 708c7b26b12364434316a5435b01a2c3869bfc6f)
2019-12-25Fix: Drop habit before getting instancesMatthias Beyer
Because when showing an instance, we try to get the comment for the instance from the habit template, which tries to Store::get() the template in HabitInstance::get_comment(). This fails if the template is already borrowed, thus drop the borrow before the whole thing. Signed-off-by: Matthias Beyer <mail@beyermatthias.de> (cherry picked from commit 0cac7ec15774f8381e2c260e37754e17788875f2)
2019-12-24Fix: Date in documentationMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-24Fix: Specify versionMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-23Add changelog for v0.10.0Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-23travis: Lock rust to 1.40.0 for releaseMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-23travis: Fail if clippy finds something, deny all warningsMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-23Remove unused lifetimeMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-23Use closure as suggested by clippyMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-23Remove unnecessary to_string() callsMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-23Remove lifetime specificationMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-23Remove unnecessary clone().to_string() callsMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-23Remove len() != 0 comparison with negation and ::is_empty() callMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-23Remove unnecessary clone() callMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-23Remove unnecessary return keywordMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-23Remove unnecessary return keywordMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-23Remove identical conversionMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-23Remove unnecessary let bindingMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-23Remove unnecessary clone() callMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-23Remove unnecessary return keywordMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-23Remove unnecessary clone() callMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-23Remove unnecessary clone() callMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-23Remove main() in doctestMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-23Remove unnecessary clone() callMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-23Merge branch 'replace-map-dbg-err' into masterMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-23Remove DebugResult and DebugOption helpersMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-23Replace map_dbg() and map_dbg_str() with context() and inspect() callsMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-23Replace map_dbg_err() calls with context() callsMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-22Merge branch 'cargo-deny' into masterMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-22Merge branch 'report-ids-ignore-broken-pipe' into masterMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-22travis: Add license check using cargo-denyMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-22Add configuration for cargo-denyMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-22Add missing license keyMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-22Remove error conversion which is not necessary anymore.Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-22Fix: Ignore broken pipe when reporting idsMatthias Beyer
This fixes a bug where a broken pipe in Runtime::report_touched() resulted in an Err(_) raised up to main() which then reported this. But as report_touched() should ignore a broken pipe (because the program will exit anyways shortly after the call), we can safely ignore this error. This also results in `ExitCode` removed from the function signature, which pushes us forward to the removal of custom error-handling implementations! Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-22Merge branch 'imag-bookmark/open' into masterMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-22Merge branch 'imag-wiki/noexit' into masterMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-22Add open command for imag-bookmarkMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>