Commit graph

135 commits

Author SHA1 Message Date
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
40dbdaa5e1 Fix git hook registration fail warn message. 2016-09-18 14:44:08 +02:00
f9ea5c5013 DeleteHook should be executed after the delete action 2016-09-17 18:41:03 +02:00
2a82762e9a Remove hook initialization from runtime setup
for hooks that are removed by the latest commit
2016-09-17 15:28:06 +02:00
f23004a8ec Make git-hook-registration not only when debugging 2016-09-07 22:05:30 +02:00
f0404d91e8 Pass store path to git hooks, so we can initialize properly 2016-09-07 22:05:27 +02:00
2562b705b8 Add git hooks in the runtime setup code 2016-09-07 22:05:27 +02:00
e250ca632e Move edit code from libimagrt 2016-08-09 15:47:55 +02:00
ba235b2051 Make arg names publicly available 2016-08-06 20:05:23 +02:00
1e457e8476 Merge pull request #633 from asuivelentine/imag/toml-dependency
Imag/toml dependency
2016-08-06 19:56:42 +02:00
Kai Sickeler
03d20ee863 Upgrade clap dependency to 2.* 2016-08-06 17:39:13 +02:00
Kai Sickeler
9848e97f55 Upgrade toml dependency to 0.2 2016-08-06 17:21:00 +02:00
8412ea195f Configure coloring in logger setup 2016-08-02 11:39:01 +02:00
8a0200a183 Make coloring optional via flag in ImagLogger 2016-08-02 11:38:38 +02:00
6571429123 Search for imagrc in RTP and not in RTP/store 2016-07-27 19:15:50 +02:00
3eedab5206 Add Runtime functionality to patch in-memory-configuration-file-contents on loading application 2016-07-24 19:30:04 +02:00
6f0670003b Add default commandline argument for configuration override 2016-07-24 19:30:04 +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
2440260abe Change default log level to Warn 2016-07-17 00:49:39 +02:00
df1523db3e Fix: hook registering should be hook-type agnostic 2016-07-16 11:39:34 +02:00
9337a14cdd Update all version strings: 0.1.0 -> 0.2.0 2016-07-12 11:51:20 +02:00
c03fb00c20 Replace error boxing and wrapping by helper generated with libimagerror 2016-06-27 18:23:54 +02:00
bfa6f593b6 Fix: Re-writing content of String in edit_in_tmpfile() 2016-06-07 14:25:06 +02:00
180dfbf0b1 Fix: Pass the confguration path as parameter for Configuration::new()
If there is none, fall back to the RTP.
2016-05-28 23:11:10 +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
9a92f9091f Add env_logger as fallback if IMAG_LOG_ENV is present 2016-05-24 16:43:04 +02:00
4066ae4048 Add dep: env_logger = 0.3 2016-05-24 16:42:32 +02:00