Commit graph

2035 commits

Author SHA1 Message Date
4a6ab66c32 Merge pull request #413 from matthiasbeyer/libimagutil/error-trace-red
Libimagutil/error trace red
2016-05-17 00:23:34 +02:00
a887d2c160 Merge pull request #411 from matthiasbeyer/enhance-contributing-md
Contributing: Add label explanation
2016-05-17 00:23:19 +02:00
bd6c8ff3ff Merge pull request #412 from matthiasbeyer/libimagrt/color-log-output
Libimagrt/color log output
2016-05-17 00:23:12 +02:00
21af54b5a5 Merge pull request #403 from matthiasbeyer/libimagstore/code-cleanup
Code cleanup in libimagstore
2016-05-17 00:20:31 +02:00
46e4e04156 Merge pull request #402 from matthiasbeyer/libimagrt/code-cleanup
Code cleanup in libimagrt
2016-05-17 00:20:23 +02:00
629dfccb71 Merge pull request #404 from matthiasbeyer/imag-tag/add-remove-multiple
Imag tag/add remove multiple
2016-05-17 00:20:16 +02:00
f22624302c Make trace() output red 2016-05-15 17:47:01 +02:00
5dd0fa900c Add dependency: ansi_term = 0.7 2016-05-15 17:46:52 +02:00
376a23b8ce Color log output
Color as follows:

    * Debug output -> Cyan
    * Warning, errors -> Red, with the type (WARN; ERROR) red blinking
    * All other output yellow.
2016-05-15 17:38:02 +02:00
344296487d Add dependency: ansi_term = 0.7 2016-05-15 17:37:56 +02:00
3196a8c5df Contributing: Add label explanation 2016-05-15 16:25:25 +02:00
332dba028c Rewrite adding/removing to allow adding and removing multiple tags 2016-05-15 14:03:58 +02:00
072564f6b8 Remove feature: setting tags 2016-05-15 14:03:11 +02:00
a56f000e3e Remove unneeded scope 2016-05-15 14:02:30 +02:00
a26a0645bd Remove iflet by mapping 2016-05-15 14:01:55 +02:00
944a9bf876 Remove unwrap() calls by matching 2016-05-15 14:01:55 +02:00
0b7f815104 Remove unwrap() calls by matching 2016-05-15 14:01:55 +02:00
81810dbcc8 Remove unwrap() calls by matching 2016-05-15 14:01:55 +02:00
604e59ae3c Remove unwrap() calls by matching 2016-05-15 14:01:55 +02:00
2a6e4c62fe Remove unwrap() by matching, remove unneeded deref() 2016-05-15 14:01:55 +02:00
8d9bd5154d Remove unwrap() by matching, remove unneeded deref() 2016-05-15 14:01:55 +02:00
a481200c9a Replace unwrap() by matching 2016-05-15 14:01:55 +02:00
1e1cbec98b Replace unwrap() by matching 2016-05-15 14:01:55 +02:00
70b3d3906e Replace unwrap() by matching 2016-05-15 14:01:55 +02:00
1f66f67791 Replaced unwrap() by matching 2016-05-15 14:01:55 +02:00
7b612ce8fb Remove iflet by mapping over Option/Result types 2016-05-15 14:01:55 +02:00
f9f5fa5717 Shorten code by using StoreError as SE and StoreErrorKind as SEK 2016-05-15 14:01:55 +02:00
a852da54dd Remove iflet by using Option::{map_err, and}() 2016-05-15 14:00:40 +02:00
3fb6d507e5 Remove unwrap() by matching 2016-05-15 14:00:40 +02:00
ac8bcde239 Remove unwrap() hell by matching 2016-05-15 14:00:40 +02:00
7b855f82f3 Remove unwrap() calling by matching 2016-05-15 14:00:24 +02:00
11021906b3 Merge pull request #401 from matthiasbeyer/libimagutil/code-cleanup
Code cleanup in libimagutil
2016-05-15 13:58:57 +02:00
2a468be7ab Merge pull request #384 from llogiq/clippy
fixed some clippy warnings
2016-05-15 13:57:56 +02:00
Andre Bogus
cd224eaeff roll back closure, remove unneeded slice & imports 2016-05-14 20:12:19 +02:00
e66d837642 Remove unneeded scopes 2016-05-14 19:51:24 +02:00
Andre Bogus
12472ab397 fixed type inference on FromIterator call 2016-05-13 22:28:18 +02:00
Andre Bogus
981707c9c9 more style adaptations
again following clippy
2016-05-13 22:27:53 +02:00
Andre Bogus
7a46df3125 fixed unneeded import 2016-05-13 22:27:49 +02:00
Andre Bogus
5ac661c334 fixed imag-link iterator error 2016-05-13 22:27:39 +02:00
Andre Bogus
dfd6a9b0d3 style adaptations
these were introduced following suggestions from
https://crates.io/crate/clippy
2016-05-13 22:26:48 +02:00
0c89fafe20 Merge pull request #395 from matthiasbeyer/libimagstore/store-id-iterator-generic
Libimagstore/store id iterator generic
2016-05-13 14:42:22 +02:00
bf878c9245 Merge pull request #394 from matthiasbeyer/libimagentrylink/make-external-link-id-filter-helper-pub
Rename and make public: is_link_store_id() -> is_external_link_storeid()
2016-05-13 14:42:07 +02:00
1da052b555 Merge pull request #393 from matthiasbeyer/libimagentrylink/update-url
Update dependency: url: 0.5.5 -> 1.1
2016-05-13 14:41:57 +02:00
eca41e04dd Add argument finder helper function 2016-05-13 14:41:19 +02:00
580c9e5286 Add command finder helper function 2016-05-13 14:41:11 +02:00
27124c2a83 Rewrite imag binary in Rust 2016-05-13 14:23:05 +02:00
86f3119dd5 Update dependency: url: 0.5.5 -> 1.1 2016-05-12 17:31:46 +02:00
b9d8e5728b Move GlobStoreIdIterator implementation so we can have it non-public 2016-05-12 17:27:41 +02:00
a510e1b6b6 Add error printing (debug) in GlobStoreIdIterator helper type 2016-05-12 17:24:27 +02:00
5972ce7f37 Make StoreIdIterator generic
This patch makes the StoreIdIterator type generic over all iterators
with Item = StoreId.

As the StoreIdIterator type was previousely used for iterating over a
glob() result, I had to wrap this result type in another iterator type
which is then wrapped in StoreIdIterator.

With this patch applied, other libraries may use the StoreIdIterator
type to abstract things away in their implementation.
2016-05-12 17:21:04 +02:00