~matthiasbeyer/imag

Add changelog for imag 0.10.1

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Fix: Disable cargo-deny

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)
Add Cargo.lock

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>
Update versions: 0.10.0 -> 0.10.1

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Fix: Also write newlines

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)
Fix: Allow "mark" subcommand to be passed IDs directly on CLI

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
(cherry picked from commit 7d971416d9a41da4b39a1291bb286fd5c81c2826)
Fix: Subcommand is named "deleted"

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
(cherry picked from commit cc038ad8c772f286512f7eff2b8a96e89895398d)
Fix: Set isflag when creating a mail in the store

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
(cherry picked from commit 865b66ef6521aab1941eb4ead306a864884a0a41)
Fix: Do not assume a mail file to be valid UTF8

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)
Fix: Clap argument name

The clap argument name is written with dashes instead of underscores.

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
(cherry picked from commit 1c8c02c904abd913ed7621fc43eecd57c4b7aeec)
Update copyright years to 2015-2020

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
(cherry picked from commit 6708c223abde751a1a25f8ede2ccb7713c67d049)
Fix: Remove Box::leak() call in runtime application abstraction

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)
Fix: Make "list" default command of imag-tag

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)
Fix: Drop habit before getting instances

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)
Fix: Date in documentation

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Fix: Specify version

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Add changelog for v0.10.0

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
travis: Lock rust to 1.40.0 for release

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
travis: Fail if clippy finds something, deny all warnings

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Remove unused lifetime

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Use closure as suggested by clippy

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Next