flip1995
19a1c41924
[Auto] lib/entry/url: Fix Clippy warnings
...
Signed-off-by: flip1995 <hello@philkrones.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-08-28 18:18:40 +02:00
flip1995
1569442fee
[Auto] lib/entry/tag: Fix Clippy warnings
...
Signed-off-by: flip1995 <hello@philkrones.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-08-28 18:18:40 +02:00
flip1995
c02e6580be
[Auto] lib/entry/ref: Fix Clippy warnings
...
Signed-off-by: flip1995 <hello@philkrones.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-08-28 18:18:40 +02:00
flip1995
3215c6351c
[Auto] lib/entry/markdown: Fix Clippy warnings
...
Signed-off-by: flip1995 <hello@philkrones.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-08-28 18:18:40 +02:00
flip1995
e2b1ed729a
[Auto] lib/entry/link: Fix Clippy warnings
...
Signed-off-by: flip1995 <hello@philkrones.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-08-28 18:18:40 +02:00
flip1995
839f39435a
[Auto] lib/entry/gps: Fix Clippy warnings
...
Signed-off-by: flip1995 <hello@philkrones.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-08-28 18:18:40 +02:00
flip1995
28e693bdea
[Auto] lib/entry/filter: Fix Clippy warnings
...
Signed-off-by: flip1995 <hello@philkrones.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-08-28 18:18:40 +02:00
flip1995
17de341b90
[Auto] lib/entry/edit: Fix Clippy warnings
...
Signed-off-by: flip1995 <hello@philkrones.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-08-28 18:18:40 +02:00
flip1995
663bb7f6c0
[Auto] lib/entry/datetime: Fix Clippy warnings
...
Signed-off-by: flip1995 <hello@philkrones.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-08-28 18:18:40 +02:00
flip1995
f175d3db17
[Auto] lib/entry/category: Fix Clippy warnings
...
Signed-off-by: flip1995 <hello@philkrones.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-08-28 18:18:40 +02:00
flip1995
7c1a8a542c
[Auto] lib/entry/annotation: Fix Clippy warnings
...
Signed-off-by: flip1995 <hello@philkrones.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-08-28 18:18:40 +02:00
flip1995
e365763857
[Auto] lib/domain/wiki: Fix Clippy warnings
...
Signed-off-by: flip1995 <hello@philkrones.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-08-28 18:18:40 +02:00
flip1995
532564e9eb
[Auto] lib/domain/todo: Fix Clippy warnings
...
Signed-off-by: flip1995 <hello@philkrones.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-08-28 18:18:40 +02:00
flip1995
601dd405b6
[Auto] lib/domain/timetrack: Fix Clippy warnings
...
Signed-off-by: flip1995 <hello@philkrones.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-08-28 18:18:40 +02:00
flip1995
5f38265545
[Auto] lib/domain/mail: Fix Clippy warnings
...
Signed-off-by: flip1995 <hello@philkrones.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-08-28 18:18:40 +02:00
flip1995
76878beb66
[Auto] lib/domain/habit: Fix Clippy warnings
...
Signed-off-by: flip1995 <hello@philkrones.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-08-28 18:18:40 +02:00
flip1995
777c9e59f1
[Auto] lib/domain/diary: Fix Clippy warnings
...
Signed-off-by: flip1995 <hello@philkrones.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-08-28 18:18:40 +02:00
flip1995
1e47f91a67
[Auto] lib/domain/contact: Fix Clippy warnings
...
Signed-off-by: flip1995 <hello@philkrones.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-08-28 18:18:40 +02:00
flip1995
c7ac440c92
[Auto] lib/core/rt: Fix Clippy warnings
...
Signed-off-by: flip1995 <hello@philkrones.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-08-28 18:18:40 +02:00
flip1995
f0a734839d
[Auto] lib/core/error: Fix Clippy warnings
...
Signed-off-by: flip1995 <hello@philkrones.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-08-28 18:18:40 +02:00
flip1995
60fe113659
Replace r#try! with the ? operator
...
Signed-off-by: flip1995 <hello@philkrones.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-08-28 18:18:40 +02:00
e21d4db543
Merge branch 'clippy' into master
2019-08-25 12:55:04 +02:00
f4c27710d8
Fix: Do not check via regex
...
We do not need to check via regex here, because the previous checks are
already more restrictive than the regex itself.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-08-25 12:31:58 +02:00
605b98276d
Run "cargo fix --all-features" in root of project
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-08-25 12:17:07 +02:00
f4fa8b71dd
Fix: Provide header flag for timetracking entries
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-08-25 11:50:04 +02:00
5ec1a8a2d4
Merge branch 'refactor-runtime' into master-ff
2019-07-26 23:47:45 +02:00
0d1cfb6b4b
Refactor: Do not provide functions for these identifiers
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-07-26 23:20:50 +02:00
flip1995
2c26fd2753
Fix Hash vs PartialEq bug found by Clippy
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-07-26 23:05:09 +02:00
9c896eb98b
Add checks whether variables are valid unicode and propagate appropriate error
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-07-25 19:52:49 +02:00
5f10ab976f
Rewrite get_rtp_match() to not panic
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-07-24 21:32:21 +02:00
ba77f5e8ba
Add cli validators for date and datetime
2019-07-14 12:29:31 +02:00
8bf6e66d41
Fix for update to new version of mdcat
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-07-09 21:28:29 +02:00
c09c5b8bad
Remove use of Itertools
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-06-30 19:27:54 +02:00
2185d44011
Update all dependencies
...
This patch updates all dependencies but not "nom".
Done with `cargo upgrade --all` and manual editing.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-06-30 16:44:23 +02:00
6b8c236b67
Merge branch 'libimaghabit-dont-copy-comment-to-instance' into master
2019-06-30 13:14:36 +02:00
f3c41915fd
Do not create comment in habit instance
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-06-30 11:34:50 +02:00
191b535479
Change HabitInstance implementation to not contain comment in instance
...
This patch changes the HabitInstance implementation so that the comment
is not expected to exist in the instance object itself.
This is done for less data duplication.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-06-30 11:31:49 +02:00
a21d4b7122
Add DiaryId::get_date_representation() function
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-06-30 10:56:55 +02:00
0d5027051d
Fix: Location of tags should not change in the refactoring
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-06-29 21:36:59 +02:00
bd564ad209
Add tests
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-06-29 21:36:59 +02:00
3eff42be5a
Update dependency: toml-query: 0.9.2 for index-out-of-bounds fixes
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-06-29 21:36:59 +02:00
ae9fbe866f
Add test whether setting tags works
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-06-29 21:36:59 +02:00
c5519da011
Tagable should not be implemented for Value
...
Oh my dear, what was I thinking?
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-06-29 21:36:59 +02:00
51dad94cc9
Simplify implementation of has_tags()
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-06-29 21:36:59 +02:00
08ba6c68a6
Remove unused imports
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-06-29 21:36:59 +02:00
59bea23004
Simplify implementation of has_tag()
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-06-29 21:36:59 +02:00
87bfb422dc
Simplify implementation of remove_tag()
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-06-29 21:36:59 +02:00
e95a4cd15d
Simplify implementation of add_tag()
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-06-29 21:36:59 +02:00
061c5beb85
Simplify implementation of set_tags()
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-06-29 21:36:59 +02:00
2ef57a69ed
Simplify implementation using toml-query Partial
...
This patch rewrites the get_tags() function to use toml_query::read::Partial.
The helper functions is_tag_str and is_tag are rewritten for
compatiblity.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-06-29 21:36:59 +02:00