Robert Ignat
aea53dbc6c
Remove error types from runtime configuration file
2017-07-13 18:24:20 +02:00
Robert Ignat
94928c33ca
Use inmemory file system for imag-link tests
2017-07-13 18:24:20 +02:00
Robert Ignat
6ded27c6ea
Add new Runtime
constructor
...
that accepts a Configuration argument;
removed `GetConfiguration` trait and all the previous changes
needed for it
2017-07-13 18:24:20 +02:00
Robert Ignat
9a79232446
Remove enable_hooks
from InternalConfiguration
2017-07-08 10:44:14 +02:00
Robert Ignat
52b377eaa1
Make configuration traits methods non-static
2017-07-08 10:44:14 +02:00
Robert Ignat
7375f3c6ac
Move fetch_config
into GetConfiguration
trait
2017-07-08 10:44:14 +02:00
Robert Ignat
6f42e7d002
Add configuration traits
2017-07-08 10:44:14 +02:00
e7c53d84ca
Minify map/filter_map
2017-06-21 08:36:30 +02:00
fe7bde3882
Minify mapping with dependency: is-match = 0.1
2017-06-21 08:34:44 +02:00
e35d78fedb
Minify mapping
2017-06-21 08:34:44 +02:00
eff4f547ba
Minify mapping
2017-06-21 08:34:44 +02:00
e5fa71d1e7
Minify mapping
2017-06-21 08:34:44 +02:00
1e06b90eea
Try to remove annotation
...
...which was necessary some time ago
2017-06-21 08:34:44 +02:00
2790042f6f
Propagate parsing errors
...
This somehow resolved another error as well, where the toml parser
reported an error for the parsed file, despite beeing one in the file.
I don't know how this commit fixed this, but it scares the shit out of
me.
2017-06-20 20:34:47 +02:00
c1596d9c61
Adapt libimagrt config parsing to toml 0.4
2017-05-03 20:21:54 +02:00
Matthew Piziak
9fa115500d
Simplify FoldResult implementation
...
- Add tests for FoldResult
- Make documentation more explicit
- Assert failure accumulator in test
Submitted-by: Matthew Piziak <matthew.piziak@gmail.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2017-04-21 21:08:38 +02:00
f51357279d
Enhance documentation of configuration module
2017-02-21 13:00:20 +01:00
49b81602c0
Make error types public
2017-01-22 15:16:22 +01:00
221b87d7fb
libimagrt: Add copyright notice to all files
2016-10-01 17:35:06 +02:00
783462899a
Add config override functionality
2016-07-24 19:30:04 +02:00
d1728a6aa3
Add error kinds for config override errors
2016-07-24 19:30:04 +02:00
d50f8b3d0d
Fix: Test the RTP itself as well
...
This fixes the problem that the user sometimes passes the configuration
via the commandline. In this case, the "rtp" variable itself is the
configuration file path. With this fix applied, we check this value
before generating the variants and trying them.
2016-05-28 23:03:06 +02:00
e3db21b009
Use IntoError trait for less ugly code
2016-05-27 10:27:06 +02:00
70b6a4f587
Replace configuration error code with macro generator
2016-05-27 10:21:56 +02:00
Andre Bogus
981707c9c9
more style adaptations
...
again following clippy
2016-05-13 22:27:53 +02:00
987605322f
Add missing "return None" in file opening error case
2016-05-09 17:12:55 +02:00
52134e6095
Rename: kind() to err_type()
2016-04-19 19:47:23 +02:00
bd4c89af3b
Use unused results
2016-04-17 20:48:17 +02:00
4641236c82
Annotate function with allow(dead_code)
2016-04-17 20:48:03 +02:00
54dd7c0d7e
Remove unused enum variant
2016-04-17 20:47:49 +02:00
86929c819c
impl Deref for Configuration
2016-03-26 20:48:28 +01:00
c5d5c17208
Enhance error printing on config file parsing errors
2016-03-26 15:28:25 +01:00
34ce278af3
Merge pull request #283 from matthiasbeyer/libimagrt/warning-to-error
...
Libimagrt/warning to error
2016-03-26 13:56:36 +01:00
b2329c323a
Merge pull request #275 from matthiasbeyer/libimagrt/config-file-search-filter-bug
...
Fix Config-file searching filter bug
2016-03-26 13:55:02 +01:00
d523c432c3
Use unused result
2016-03-25 16:01:42 +01:00
876a5ad78c
Remove unneeded keyword "mut"
2016-03-25 16:01:11 +01:00
3e760d6dff
Remove unused import
2016-03-25 15:59:18 +01:00
97c0d4c057
Fix Config-file searching filter bug
2016-03-25 15:15:22 +01:00
94e56108e8
Fix path building bug
2016-03-25 15:15:13 +01:00
Kai Sickeler
b315cb7fd0
Add editor()
...
Signed-off-by: Kai Sickeler <k.sickeler@gmail.com>
2016-03-21 11:29:06 +01:00
09c8b4d561
rt: Add Store::new() config passing
2016-03-16 16:46:54 +01:00
2fa10067fb
Configuration is optional
2016-03-07 10:32:10 +01:00
21d5d32d50
Configuration: Provide config() getter, remove the default() implementation therefor
2016-03-05 12:36:11 +01:00
192b3b5885
Switch to TOML as configuration language behind the scenes
2016-03-05 12:30:40 +01:00
cdce1f09e6
rt/configuration: Remove unused imports
2016-01-29 23:04:39 +01:00
50b0ac1d18
Add comments to configuration.rs
2016-01-21 21:19:31 +01:00
fe0e338130
Derive Debug instead of implementing it
2016-01-19 18:26:30 +01:00
f7494333fa
Add errors for config file loading errors
2016-01-19 18:26:30 +01:00
9cf3e22636
Add initial implementation
2016-01-19 18:26:30 +01:00