Commit graph

49 commits

Author SHA1 Message Date
Gavin Thomas Claugus
fda1c94bee libimagentryfilter: Add filters crate to lib.rs
Signed-off-by: Gavin Thomas Claugus <gclaugus@gmail.com>
2016-08-13 12:10:43 -04:00
Gavin Thomas Claugus
20c4358a83 libimagentryfilter: Add filters lib to Cargo.toml
Signed-off-by: Gavin Thomas Claugus <gclaugus@gmail.com>
2016-08-13 11:42:15 -04:00
1e457e8476 Merge pull request #633 from asuivelentine/imag/toml-dependency
Imag/toml dependency
2016-08-06 19:56:42 +02:00
Kai Sickeler
b6f84769c7 Upgrade clap dependency to 2.* 2016-08-06 17:41:00 +02:00
Kai Sickeler
3d80455dc6 Upgrade toml dependency to 0.2 2016-08-06 17:24:55 +02:00
79c1edcbd1 Add BoolFilter 2016-07-31 12:18:07 +02:00
9337a14cdd Update all version strings: 0.1.0 -> 0.2.0 2016-07-12 11:51:20 +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
f168d8c871 Update log: 0.3.* -> 0.3 2016-05-10 17:54:47 +02:00
45f93e5d58 Merge pull request #366 from matthiasbeyer/update-dependency/regex
Update dependency/regex
2016-04-18 08:54:38 +02:00
f0d29dad0f Merge pull request #362 from matthiasbeyer/libimagentryfilter/zero-warnings
Libimagentryfilter/zero warnings
2016-04-18 08:54:19 +02:00
6309dd281d libimagentryfilter Update regex 0.1.x -> 0.1.* 2016-04-17 21:00:31 +02:00
d0271576bb Enable lints 2016-04-17 20:50:59 +02:00
04b59e789f Remove unused import 2016-04-17 20:50:54 +02:00
71cd3c8a87 libimagentryfilter: Update itertools 2016-04-17 15:50:32 +02:00
6edae00d1a Fix names: libimagtag -> libimagentrytag 2016-04-16 22:33:37 +02:00
b9fa01aa60 Merge pull request #291 from matthiasbeyer/libimagentryfilter/update-clap
Update dependency: clap 1.5.5 -> 2.1.1
2016-03-26 13:57:25 +01:00
f49c06c209 Update dependency: clap 1.5.5 -> 2.1.1 2016-03-25 19:38:13 +01:00
68c89ebb36 Add README for libimagentryfilter 2016-03-25 15:56:42 +01:00
98dde5d0d1 Add filter: VersionInRange, VersionOutOfRange 2016-03-18 14:33:43 +01:00
21013dd76f Add filter: Version{Gt, Lt} 2016-03-18 14:33:43 +01:00
d75595e4d8 Add VersionEq filter 2016-03-18 14:33:43 +01:00
0786094150 Add dep: semver 2016-03-18 14:33:25 +01:00
fb35a5a2c7 Merge pull request #220 from matthiasbeyer/libimagentryfilter/tags
Libimagentryfilter/tags
2016-03-18 10:33:58 +01:00
89c34e74ef Fix semantics if is-empty filter 2016-03-13 20:23:47 +01:00
Kai Sickeler
0a94160895 Add field_grep filter
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2016-03-12 18:22:00 +01:00
564d8d84fe Reimplement FieldIsType filter with FieldPredicate filter 2016-03-12 15:06:34 +01:00
f86a8968a4 Reimplement FieldEq with FieldPredicate 2016-03-12 15:06:34 +01:00
c76d654f9b Add field_lt filter 2016-03-12 15:06:34 +01:00
7b9f8dc8ad Add field_gt filter 2016-03-12 15:06:33 +01:00
4de014c41a Add field_predicate filter 2016-03-12 15:06:33 +01:00
6c50d88669 Add tag filtering 2016-03-11 15:13:34 +01:00
fbccce7b7c Add dep: libimagtag 2016-02-29 20:41:58 +01:00
45f3ea97bf Remove unused imports 2016-02-24 15:16:12 +01:00
75b6a700e5 Reimplement filters with EntryHeader::read()
Therefor:

    - Remove field_path submodule
    - pub type FieldPath = String
2016-02-13 14:15:26 +01:00
a00092c8be Add builtin content filter: length filtering 2016-02-07 01:45:09 +01:00
f81190fb8a Add builtin content filter: grep 2016-02-07 01:45:09 +01:00
bcf8cf0447 Add builtin header check: Field is empty 2016-02-07 01:45:06 +01:00
780410f29d Add builtin header check: Field exists 2016-02-07 01:44:42 +01:00
12443f631b Add builtin header check: Field is type 2016-02-03 16:39:05 +01:00
34e62aaade Implement {and,or}_not() variants 2016-02-03 16:39:05 +01:00
d4cee5459f Implement 3-{and,or} variants 2016-02-03 16:39:05 +01:00
41564a7d8e Add filter: header::field_grep::FieldGrep 2016-02-03 16:39:05 +01:00
0dc88877c6 Implement FieldPath::walk() 2016-02-03 16:39:04 +01:00
012ca4a427 Initialize structure for header builtins 2016-02-03 16:39:04 +01:00
0fb331f25a Add Filter trait and operators 2016-02-02 17:17:27 +01:00
10050db42f Add initial file structure 2016-02-02 17:17:27 +01:00
cb17e6a4c5 Add initial dependencies 2016-02-02 17:17:26 +01:00
fcbc020083 libimagentryfilter: init 2016-02-02 14:06:00 +01:00