Commit graph

164 commits

Author SHA1 Message Date
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
8fbfd844a5 Add documentation for CliSpec 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
Robert Ignat
0def6a3d5a Add CliSpec trait for Runtime initialisation 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
0f47c4afc7 Minify match 2017-06-21 08:34:44 +02:00
d3d6e830d7 Print error while panicing 2017-06-21 08:34:44 +02:00
699f4083e9 Add Runtime::store_backend_to_stdout(), make _stdio() variant use stdin properly 2017-06-20 20:57:40 +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
801622ecf2 Add output where paths is set 2017-06-20 20:34:27 +02:00
41f3b10976 Add Runtime::store_backend_to_stdio() function 2017-06-18 13:37:50 +02:00
25ff89f5fc Remove hook support from libimagrt 2017-06-06 11:12:37 +02:00
4257ec1026 Merge pull request #930 from matthiasbeyer/update-toml
Dependency: toml: 0.2.* -> 0.4.*
2017-05-03 21:19:06 +02:00
c1596d9c61 Adapt libimagrt config parsing to toml 0.4 2017-05-03 20:21:54 +02:00
585b5ffad6 dependency: toml: 0.2.* -> 0.4.* 2017-05-03 17:46:37 +02:00
9650f46e23 Version strings: 0.2.0 -> 0.3.0 2017-05-03 10:48:26 +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
d9569e6169 Add documentation for Runtime functions 2017-02-21 15:31:24 +01:00
bc545f2b1e Add some documentation to logger backend of runtime 2017-02-21 15:26:10 +01:00
f51357279d Enhance documentation of configuration module 2017-02-21 13:00:20 +01:00
5c2f4fcccc libimagrt: Remove unused imports 2017-02-04 11:11:50 +01:00
6dbecbd397 Merge pull request #857 from matthiasbeyer/libimagrt/config-types-pub
Libimagrt/config types pub
2017-01-22 16:11:07 +01:00
587e806cdd Make configuration module public 2017-01-22 15:16:27 +01:00
49b81602c0 Make error types public 2017-01-22 15:16:22 +01:00
22741d71c0 ImagLogger: Add option to not include file/line in dbg logging 2017-01-22 13:02:56 +01:00
ddf811a589 Make logger types public
This commit makes the logging functionality types from libimagrt public,
so the libimagruby implementation can re-use the ImagLogger type.
2017-01-21 12:38:37 +01:00
mario
8df5519f34 Move [profile.dev] codegen-units = 2 to top-level Cargo.toml
lower level (=package/crate level) definitions for profiles are ignored
2017-01-19 20:08:51 +01:00
002c50a39e Merge pull request #826 from matthiasbeyer/clap-completion
Bake in shell-compl generation
2016-11-05 13:22:55 +01:00
dc196793e9 Pass real app name 2016-11-02 14:37:45 +01:00
17f42fd5e4 Update clap to >=2.17
So we have `clap::App::get_name()`.
2016-11-02 14:37:45 +01:00
39304db8ba Clone App here so we can consume it elsewhere 2016-11-02 14:37:45 +01:00
0a04081599 Merge pull request #656 from matthiasbeyer/cargo-rustc-codegen-units
Cargo rustc codegen units
2016-10-31 23:39:38 +01:00
82e61db4f7 Bake in shell-compl generation
Therefor we need to have at least clap 2.16.1.

We bake this into libimagrt::runtime::Runtime, so all binary crates
should automatically have it.
2016-10-28 09:42:44 +02:00
44f44a0c7f libimagutil/Cargo.toml: Update dependencies 2016-10-24 15:51:19 +02:00
9e0c523b97 libimagrt/Cargo.toml: Update dependencies 2016-10-24 14:30:54 +02:00
d6ec94282d Add codegen-units = 2 in ./libimagrt/Cargo.toml 2016-10-24 13:52:50 +02:00
b5bfc1978c Fix: Cargo.toml does not know "website", but "homepage" 2016-10-20 14:14:18 +02:00
36561ae6f4 Add meta-info in libimagrt/Cargo.toml 2016-10-18 10:56:12 +02:00
e8ae4c0da7 Create symlinks to documentation files in libimag*/README.md 2016-10-13 12:04:36 +02:00
e30d774670 Move all libimag*/README.md to doc/src/05100-* 2016-10-13 12:04:36 +02:00
921d25ac9c Add StoreUnloadHook registering in runtime 2016-10-06 18:42:18 +02:00
221b87d7fb libimagrt: Add copyright notice to all files 2016-10-01 17:35:06 +02:00