Matthias Beyer
c6cc1804e7
Adapt to new libimagstore::iter::Entries API
...
Use Entries::into_storeid_iter() for transforming iterator into right
type.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-02-15 20:53:29 +01:00
Matthias Beyer
d8cd10a384
Remove iterator types
...
With this patch, libimagentryannotation does not have special iterator
types anymore. This makes the whole thing more comfortable to use.
In imag-annotate, the parameter for the functioncall was removed.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-02-10 01:00:33 +01:00
Matthias Beyer
ed01f8b463
Make annotations unnamed (automatically UUID named)
...
It makes no sense to name annotations, a user only cares about whether
there are annotations or not, or their contents. A name has no meaning
in this context.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-02-10 00:58:21 +01:00
Matthias Beyer
9185abcfa5
Update copyright years
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-01-03 18:41:36 +01:00
Matthias Beyer
9fca66aa89
Forbid unsafe code in all crates
2018-11-11 13:05:55 +01:00
Matthias Beyer
7357f1c985
libimagentryannotation: Move from error-chain to failure
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-10-30 18:46:28 +01:00
Matthias Beyer
6f81d02445
Refactor libimagentryannotation to fit new store iterator interface
2018-05-01 17:44:01 +02:00
Matthias Beyer
190da895f9
Do not use Store::retrieve_for_module() anymore here
2018-04-24 13:40:42 +02:00
Matthias Beyer
d5a9e4930d
Update dates in license header
...
And add missing header in one file
2018-02-07 02:48:53 +01:00
Matthias Beyer
163bf249ff
libimagentryannotation: Replace read with typed read
2018-01-13 01:14:03 +01:00
Matthias Beyer
00d09e618e
Use libimagentryutil::isa::Is in libimagentryannotation
2018-01-08 23:31:10 +01:00
Matthias Beyer
3294a77346
Refactoring: Use function chaining rather than matching
2018-01-05 11:37:09 +01:00
Matthias Beyer
85ccc482d2
Replace uses of try!() macro with "?" operator
2017-10-31 15:04:50 +01:00
Matthias Beyer
797b764027
Fix: Return annotation object when found
...
Before we did not return the annotation object after unlinking it. This
patch fixes this.
2017-10-13 14:53:57 +02:00
Matthias Beyer
7978e71bde
Rewrite API
2017-10-12 22:15:13 +02:00
Matthias Beyer
ec855fefc7
Remove dependency on libimagnotes
2017-10-12 22:15:13 +02:00
Matthias Beyer
5271255ae3
Fix libimagentryannotation for changes in libimagnotes
2017-09-15 13:53:30 +02:00
Matthias Beyer
18e806f588
Remove dedicated result modules, use error chain generated Result types
2017-09-04 09:19:29 +02:00
Matthias Beyer
7ce44e8090
Remove "IntoError" trait, use error_chain functionality
2017-09-03 21:34:07 +02:00
Matthias Beyer
262aae39f4
libimagentryannotation: Rewrite error handling
2017-09-03 21:33:54 +02:00
Matthias Beyer
603808a9fa
Impl IntoError for error kinds
2017-09-03 15:42:06 +02:00
Matthias Beyer
a309fdb280
Add recursion limits to crates
2017-09-03 15:42:06 +02:00
Matthias Beyer
11d881d3a9
Add dependency to crates: error_chain = 0.10
2017-09-03 15:42:06 +02:00
Matthias Beyer
e77d353c52
Rewrite macros to do error-chain behind the scenes
2017-09-03 15:42:03 +02:00
Matthias Beyer
ae5255c7c7
Remove unused crate imports
...
This patch removes unused crate imports reported by newer rust versions.
Some crates were only required for tests, some only for tests with
macro_import - these things were fixed with feature gates.
2017-08-31 10:56:15 +02:00
Matthias Beyer
c987130cc1
Merge pull request #1018 from matthiasbeyer/remove-toml-ext
...
Remove toml ext
2017-08-28 14:10:40 +02:00
Matthias Beyer
c0c62bd1b5
Change crates to use toml-query crate
2017-08-28 12:22:37 +02:00
Matthias Beyer
75e42d2f0b
Fix errors (former warnings) in several crates
...
This fixes errors (former warnings) in several locations.
2017-08-27 20:08:03 +02:00
Matthias Beyer
d0f8002682
Ensure deny() for warnings is in all crates
2017-08-27 20:08:03 +02:00
Matthias Beyer
59a3662ac4
Reorganize code in subdirs
2017-08-27 15:12:09 +02:00