Commit Graph

30 Commits

Author SHA1 Message Date
Matthias Beyer 783462899a Add config override functionality 2016-07-24 19:30:04 +02:00
Matthias Beyer d1728a6aa3 Add error kinds for config override errors 2016-07-24 19:30:04 +02:00
Matthias Beyer 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
Matthias Beyer e3db21b009 Use IntoError trait for less ugly code 2016-05-27 10:27:06 +02:00
Matthias Beyer 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
Matthias Beyer 987605322f Add missing "return None" in file opening error case 2016-05-09 17:12:55 +02:00
Matthias Beyer 52134e6095 Rename: kind() to err_type() 2016-04-19 19:47:23 +02:00
Matthias Beyer bd4c89af3b Use unused results 2016-04-17 20:48:17 +02:00
Matthias Beyer 4641236c82 Annotate function with allow(dead_code) 2016-04-17 20:48:03 +02:00
Matthias Beyer 54dd7c0d7e Remove unused enum variant 2016-04-17 20:47:49 +02:00
Matthias Beyer 86929c819c impl Deref for Configuration 2016-03-26 20:48:28 +01:00
Matthias Beyer c5d5c17208 Enhance error printing on config file parsing errors 2016-03-26 15:28:25 +01:00
Matthias Beyer 34ce278af3 Merge pull request #283 from matthiasbeyer/libimagrt/warning-to-error
Libimagrt/warning to error
2016-03-26 13:56:36 +01:00
Matthias Beyer 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
Matthias Beyer d523c432c3 Use unused result 2016-03-25 16:01:42 +01:00
Matthias Beyer 876a5ad78c Remove unneeded keyword "mut" 2016-03-25 16:01:11 +01:00
Matthias Beyer 3e760d6dff Remove unused import 2016-03-25 15:59:18 +01:00
Matthias Beyer 97c0d4c057 Fix Config-file searching filter bug 2016-03-25 15:15:22 +01:00
Matthias Beyer 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
Matthias Beyer 09c8b4d561 rt: Add Store::new() config passing 2016-03-16 16:46:54 +01:00
Matthias Beyer 2fa10067fb Configuration is optional 2016-03-07 10:32:10 +01:00
Matthias Beyer 21d5d32d50 Configuration: Provide config() getter, remove the default() implementation therefor 2016-03-05 12:36:11 +01:00
Matthias Beyer 192b3b5885 Switch to TOML as configuration language behind the scenes 2016-03-05 12:30:40 +01:00
Matthias Beyer cdce1f09e6 rt/configuration: Remove unused imports 2016-01-29 23:04:39 +01:00
Matthias Beyer 50b0ac1d18 Add comments to configuration.rs 2016-01-21 21:19:31 +01:00
Matthias Beyer fe0e338130 Derive Debug instead of implementing it 2016-01-19 18:26:30 +01:00
Matthias Beyer f7494333fa Add errors for config file loading errors 2016-01-19 18:26:30 +01:00
Matthias Beyer 9cf3e22636 Add initial implementation 2016-01-19 18:26:30 +01:00