Commit graph

50 commits

Author SHA1 Message Date
38672c5175 Remove unused macro_use import 2017-02-04 11:34:17 +01:00
6808400008 imag-view: Add copyright notice to all files 2016-10-01 17:35:06 +02:00
352bccde51 Respecify view-in-editor argument
As we use the `--editor` flag in the Runtime, we should not override it
here.

By passing `--editor foo` one can override the editor application-wide,
the argument is now `--in-editor` therefor.
2016-09-21 17:20:39 +02:00
2b2116fb95 View in stdout if not specified otherwise 2016-09-21 17:20:39 +02:00
737aab80dc Merge pull request #667 from matthiasbeyer/rewrite-storeid-type
Rewrite storeid type
2016-09-05 16:10:47 +02:00
89db4885f2 Remove versions viewing from imag-view 2016-08-31 08:26:54 +02:00
Kai Sickeler
f9357f3b37 Added editor 2016-08-23 19:22:54 +02:00
Kai Sickeler
6e56653c8e shorten exit on error 2016-07-30 19:12:29 +02:00
3b426f739b Replace Store::retrieve() with Store::get() 2016-07-26 15:36:49 +02:00
60863d2fe3 Rewrite main() 2016-07-17 01:29:18 +02:00
1e5548a247 Remove seperate version passing 2016-07-17 01:27:50 +02:00
53d819d7b6 Remove dep on glob() 2016-07-17 01:27:50 +02:00
d32a8b9479 Remove error module 2016-07-17 01:27:50 +02:00
fb81300594 Move to use libimagentryview for viewing entries 2016-07-17 01:27:50 +02:00
228f55bfd6 ui: Remove copy support 2016-07-17 01:27:09 +02:00
ccb686cea4 Add dep: libimagentryview 2016-07-17 01:27:09 +02:00
f50c54b6a4 Add deps: log, toml 2016-07-17 01:27:09 +02:00
4e7a266e1d Merge pull request #542 from matthiasbeyer/libimagerror/trace_exit
Add utility for calling trace_error() and exit()
2016-07-16 23:39:59 +02:00
703788d9d2 Replace trace_error() with trace_error_exit() where appropriate 2016-07-16 21:57:29 +02:00
2646894bd3 Abort if the passed id contains a version part 2016-07-16 20:07:53 +02:00
616858bd28 Version part should be enforced 2016-07-16 20:07:40 +02:00
b6f467042f Add debugging output in header viewer 2016-07-16 20:06:45 +02:00
4e987e32cf Add value_name() call in ui specification code 2016-06-08 14:11:13 +02:00
537fe88e13 imag-view: use generate_error_module!() macro and reexport generated types 2016-05-19 18:22:03 +02:00
ddcdaca3e8 imag-view: Replace error module imports with macro helper 2016-05-19 18:22:03 +02:00
2e9dc4730f imag-view: Remove setup code and use helper 2016-05-18 22:57:05 +02:00
204e776179 imag-view: Change dependency from libimagutil -> libimagerror 2016-05-17 20:28:02 +02:00
9140c36301 imag-view: Replace error code with code generator macro 2016-05-17 00:26:36 +02:00
Andre Bogus
7a46df3125 fixed unneeded import 2016-05-13 22:27:49 +02:00
Andre Bogus
dfd6a9b0d3 style adaptations
these were introduced following suggestions from
https://crates.io/crate/clippy
2016-05-13 22:26:48 +02:00
c1b4ce55b5 imag-view: Replace .err().unwrap() with .unwrap_err() 2016-04-20 21:45:26 +02:00
3e29ec0187 Merge pull request #359 from matthiasbeyer/remove-init-logging
Remove init logging
2016-04-17 16:27:37 +02:00
eae135ddb2 Remove init-logging from imag-view 2016-04-17 15:30:33 +02:00
ff270981e9 Enable lints 2016-04-16 22:50:42 +02:00
5a62d1f999 Remove unused imports 2016-04-16 22:50:36 +02:00
d6aa42bd60 Move logger initialization to earliest possible point 2016-03-26 15:29:24 +01:00
ca362ac238 Remove exit(1) calls where possible and replace by trace() calls 2016-03-11 16:40:13 +01:00
34c020fa55 Introduce error module 2016-03-11 16:21:51 +01:00
c1fcf22619 Group Args, so we enforce that only _one_ of them can be specified 2016-03-11 16:21:51 +01:00
a61b83df07 Add viewer selection 2016-03-11 16:21:49 +01:00
d464ccc9d4 Remove unused imports 2016-03-11 16:21:33 +01:00
c415d3c968 Print error in case of GlobError 2016-03-11 16:21:33 +01:00
f582ea9367 StdoutViewer: Implement view() 2016-03-11 16:21:33 +01:00
68b2c152e3 Use StdoutViewer by now 2016-03-11 16:21:33 +01:00
e9587ced28 Implement view_versions_of() 2016-03-11 16:21:33 +01:00
d99d38bf8e Implement entry loading 2016-03-11 16:21:33 +01:00
d02ac8bd88 Add stdout-viewer 2016-03-11 16:21:19 +01:00
43d27ab689 Add main() 2016-03-11 16:21:02 +01:00
2e6b6b50fa Add ui::build_ui() 2016-03-11 16:20:20 +01:00
9f5a33f962 imag-view: init 2016-03-11 16:18:17 +01:00