bd6c8ff3ff
Merge pull request #412 from matthiasbeyer/libimagrt/color-log-output
...
Libimagrt/color log output
2016-05-17 00:23:12 +02:00
376a23b8ce
Color log output
...
Color as follows:
* Debug output -> Cyan
* Warning, errors -> Red, with the type (WARN; ERROR) red blinking
* All other output yellow.
2016-05-15 17:38:02 +02:00
344296487d
Add dependency: ansi_term = 0.7
2016-05-15 17:37:56 +02:00
7b855f82f3
Remove unwrap() calling by matching
2016-05-15 14:00:24 +02:00
Andre Bogus
981707c9c9
more style adaptations
...
again following clippy
2016-05-13 22:27:53 +02:00
9f528fb929
Merge pull request #390 from matthiasbeyer/update-log
...
Update log
2016-05-11 12:35:27 +02:00
acfff70498
Update log: 0.3.* -> 0.3
2016-05-10 17:54:47 +02:00
987605322f
Add missing "return None" in file opening error case
2016-05-09 17:12:55 +02:00
e0876bb751
Make libimagrt::runtime::Runtime derive Debug
2016-04-20 21:46:02 +02:00
3631817827
libimagrt: Replace .err().unwrap() with .unwrap_err()
2016-04-20 21:45:58 +02:00
52134e6095
Rename: kind() to err_type()
2016-04-19 19:47:23 +02:00
e040d0d0c6
Merge pull request #361 from matthiasbeyer/libimagrt/zero-warnings
...
Libimagrt/zero warnings
2016-04-17 21:10:59 +02:00
3bb4528060
Enable lints
2016-04-17 20:48:22 +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
007d664a51
libimagrt: Update itertools
2016-04-17 15:50:32 +02:00
3e9bf44127
Merge pull request #322 from matthiasbeyer/libimagrt/debug-log-line-and-file
...
logger: Print file and line on debug printing
2016-04-06 16:58:22 +02:00
b305b3c693
Implement Edit for String
2016-04-06 14:40:54 +02:00
b30cde474d
Merge pull request #319 from matthiasbeyer/libimagrt/std-hook-register-error-only-debugoutput
...
Libimagrt/std hook register error only debugoutput
2016-04-06 11:14:44 +02:00
f28bfadf8d
logger: Print file and line on debug printing
2016-04-05 17:53:09 +02:00
9a094fcd94
Partially revert 7f1a671
...
Removed the logger initialization, which was not caught by review
somehow.
This patch re-adds the appropriate lines.
2016-04-05 17:48:21 +02:00
4f391d0e04
Spit out the traceback for hook registration errors only in debug mode
...
This patch is added because this error occours only if there is no
configuration file with the appropriate settings available.
There will still be a warning about hook registration failed, but the
traceback will only be visitible in `--debug` mode.
2016-04-05 16:50:17 +02:00
ee61d079bd
Merge pull request #295 from matthiasbeyer/libimagrt/config-for-everyone
...
Libimagrt/config for everyone
2016-03-26 21:29:40 +01:00
1bcc05a855
Add Runtime::config()
2016-03-26 20:48:32 +01:00
86929c819c
impl Deref for Configuration
2016-03-26 20:48:28 +01:00
7f1a671e4d
Add debug hook
2016-03-26 18:20:12 +01:00
64e0841a8f
Merge pull request #292 from matthiasbeyer/libimagrt/create-logger-on-runtime-setup
...
Move logger initialization to earliest possible point
2016-03-26 16:23:59 +01:00
d6aa42bd60
Move logger initialization to earliest possible point
2016-03-26 15:29:24 +01:00
c5d5c17208
Enhance error printing on config file parsing errors
2016-03-26 15:28:25 +01:00
9e3de45bdd
Merge pull request #281 from matthiasbeyer/per-crate-readme
...
Per crate readme
2016-03-26 13:56:47 +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
c53cc56d0c
Enable warning-to-error deny!()
2016-03-25 16:23:51 +01:00
87fa9bab13
Make result used
2016-03-25 16:19:57 +01:00
cdad750e02
Make result used by try!()ing
2016-03-25 16:19:21 +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
8acc57df8f
Update README for libimagrt
2016-03-25 15:54:29 +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
fc9c786df7
We can match for true/false instead of true/_
2016-03-24 12:30:31 +01:00
c12001a574
Remove unwraphell and replace by try!()
2016-03-24 12:29:55 +01:00
ba0d952333
Impl From<IOError> for RuntimeError
2016-03-24 12:29:42 +01:00
75ff2c742f
Add edit codebase
2016-03-24 11:50:37 +01:00
e3bb5e3797
Add error types for edit functionality
2016-03-24 11:50:26 +01:00
eb74b4b1dc
Add dep: tempfile = 2.1.1
2016-03-24 11:50:14 +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
43859aa6d3
Merge pull request #207 from matthiasbeyer/update-clap
...
Update clap
2016-02-23 10:13:52 +01:00
a09b5281db
libimagrt: Update clap
2016-02-20 21:15:09 +01:00
37795a035d
rt: Remove short versions for "config" and "runtimepath" std arg
2016-02-20 21:02:43 +01:00
fa5738d43a
Fix: libimagrt: Logging messages to stderr
2016-02-05 10:57:10 +01:00
0931ede580
Merge pull request #165 from matthiasbeyer/remove-unused-imports
...
Remove unused imports
2016-01-30 13:47:57 +01:00
770bffa736
rt/runtime: Remove unused imports
2016-01-29 23:05:03 +01:00
ce11fa19c6
rt/error: Remove unused imports
2016-01-29 23:04:46 +01:00
cdce1f09e6
rt/configuration: Remove unused imports
2016-01-29 23:04:39 +01:00
3a19ab12d8
Fix: Use env(HOME) instead of "~"
2016-01-29 20:38:07 +01:00
4c0903c718
Fix: We dont need the initial / when pushing
2016-01-28 20:07:38 +01:00
24ebe6736e
Merge pull request #114 from matthiasbeyer/libimagstore/store-new-behaviour
...
Store::new(): Create path if nonexistent
2016-01-23 19:57:44 +01:00
b74e4a0a27
rt: Make runtime module public
2016-01-23 16:08:27 +01:00
aec1649166
rt: Runtime::new() should return Result<>
2016-01-23 11:57:40 +01:00
6b2502c4d7
rt: Add error for instantiation
2016-01-23 11:57:40 +01:00
Marcel Müller
4d28b57658
Remove remaining Cargo.lock files
2016-01-22 20:15:32 +01:00
9495fc0443
Add documentation to Runtime type
2016-01-21 21:24:20 +01:00
50b0ac1d18
Add comments to configuration.rs
2016-01-21 21:19:31 +01:00
8bc8217fa7
Move Runtime (type) to runtime (module)
2016-01-20 20:47:44 +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
79a2377452
Add deps: xdg lib, itertools
2016-01-18 19:22:14 +01:00
e4658aa166
Add dep: libimagutil
2016-01-18 19:22:14 +01:00
538a77294e
Add dep: libimagstore
2016-01-18 19:22:14 +01:00
033d1d2299
Add dependencies
2016-01-18 19:22:14 +01:00
281cb01e7b
Add README for libimagrt
2016-01-18 19:22:14 +01:00
ff84c7b258
Add: libimagrt
2016-01-09 23:51:24 +01:00