Commit graph

3471 commits

Author SHA1 Message Date
Homu
502ba8b7fc Auto merge of #68 - matthiasbeyer:update-prettytable, r=matthiasbeyer
prettytable-rs: 0.4.0 -> 0.5.1

Update dependency.
2016-01-07 04:31:30 +09:00
db73302550 prettytable-rs: 0.4.0 -> 0.5.1 2016-01-06 20:26:02 +01:00
Homu
0bc567d09b Auto merge of #69 - matthiasbeyer:update-repo-meta, r=matthiasbeyer
Add more metadata for project

Just some improvements to `Cargo.toml`
2016-01-07 04:24:57 +09:00
6feb3ad30b Add more metadata for project 2016-01-06 20:24:26 +01:00
Homu
72f7254005 Auto merge of #67 - matthiasbeyer:tableprinter-pretty, r=matthiasbeyer
Tableprinter pretty

Support for printing plain ASCII-Tables without borders and such.
2016-01-07 04:03:29 +09:00
Homu
9662678b30 Auto merge of #66 - matthiasbeyer:report-success, r=matthiasbeyer
Report success

Report success (as simple "Ok"/"Error" string) to the user, if the user wants that.
2016-01-07 03:57:54 +09:00
24c150852c BM: Add support for un-pretty tables 2016-01-06 19:56:06 +01:00
75dfc2b097 Notes: Add support for un-pretty tables 2016-01-06 19:54:21 +01:00
56730cb7b8 Add support for printing table without borders 2016-01-06 19:53:53 +01:00
71f37f69c3 Move ::new() out of FilePrinter trait 2016-01-06 19:31:20 +01:00
51870b63f2 Add reporting implementation 2016-01-06 19:25:26 +01:00
d9de33a932 Add runtime wrapper for reporting mode 2016-01-06 19:25:15 +01:00
d9deb9025b Add configuration file parsing for reporting mode 2016-01-06 19:25:01 +01:00
aa30137300 Add CLI implementation for reporting 2016-01-06 19:24:48 +01:00
24b6460705 Add CLI spec for reporting mode 2016-01-06 19:24:37 +01:00
Homu
19ef1dd25a Auto merge of #57 - matthiasbeyer:add-yaml-header-parser, r=matthiasbeyer
Add yaml header parser

I would like to add more tests.
2016-01-07 01:35:17 +09:00
565b375e9f Notes: Switch from JSON in header to YAML
Interestingly, I'm backwards compatible as it seems. The JSON can be
parsed by the YamlParser still... nice!
2016-01-06 17:31:37 +01:00
55f06d656b Add deserialize->serialize test 2016-01-06 17:27:44 +01:00
1fcdb2d21a Add simple deserialization test 2016-01-06 17:27:44 +01:00
66ddbc0428 Add YAML header parser 2016-01-06 17:27:44 +01:00
885b12bc43 Add dep: yaml-rust 2016-01-06 17:27:44 +01:00
Homu
aaf3660f31 Auto merge of #65 - matthiasbeyer:fix-module-parser, r=matthiasbeyer
Remove parser variable from Notes::command_show()

Was still there because of the merge order.
2016-01-07 01:04:23 +09:00
9425741061 Remove parser variable from Notes::command_show() 2016-01-06 17:03:43 +01:00
Homu
e345abf007 Auto merge of #62 - matthiasbeyer:module-parser, r=matthiasbeyer
Module parser

Move the

```
let parser = ...
```

Foo in each function to a module-global parser object in the module object.
2016-01-06 05:54:03 +09:00
Homu
7c49cc5d14 Auto merge of #63 - matthiasbeyer:notes-show, r=matthiasbeyer
Notes show

Add subcommand for `notes`: `show`, to print notes on the commandline, unrendered.
2016-01-06 05:44:16 +09:00
cdbf6d2d2f Notes: Make parser module member 2016-01-05 21:40:17 +01:00
d25ee7ec8a BM: Make parser module member 2016-01-05 21:38:51 +01:00
3bee78273e Notes: Implement command_show() 2016-01-05 21:34:03 +01:00
58d303be02 Add CLI specification 2016-01-05 21:17:29 +01:00
Homu
fc7f2c0bb1 Auto merge of #61 - matthiasbeyer:deny, r=matthiasbeyer
Turn warning into hard errors and fix them

Finally, I cleaned up a bit.

The `dead_code` warning is still disabled, though I might enable it anytime soon.
2016-01-06 01:39:47 +09:00
0bdd548eab Use unused result in test: set_logger() 2016-01-05 17:39:12 +01:00
b43a68d10a Rename some variables, so we can remove unneeded shorthand field patterns 2016-01-05 17:39:11 +01:00
8b7ab8fae1 Remove unneeded shorthand field pattern 2016-01-05 17:39:11 +01:00
ed72b8b250 Remove unneeded shorthand field pattern 2016-01-05 17:39:10 +01:00
4b489b2088 Remove unneeded shorthand field pattern 2016-01-05 17:39:10 +01:00
92d84d39e4 Remove unneeded shorthand field pattern 2016-01-05 17:39:09 +01:00
7b04d02a4a Remove unneeded shorthand field pattern 2016-01-05 17:39:09 +01:00
b2f7200b38 Remove unused import 2016-01-05 16:57:49 +01:00
29ba1464ff Remove unused import 2016-01-05 16:57:32 +01:00
afd80b39c6 Remove unused import 2016-01-05 16:57:21 +01:00
270466ab3a Add missing imports after rebase 2016-01-05 16:46:13 +01:00
35487ec9a6 Remove unneeded shorthand field pattern 2016-01-05 16:43:15 +01:00
64eee78db0 deny(non_shorthand_field_patterns) 2016-01-05 16:43:15 +01:00
20dfd661d4 Use unused return value: On glob() error, print error msg 2016-01-05 16:43:15 +01:00
fb15a57a88 Use unused return value: On error, print error 2016-01-05 16:43:15 +01:00
128fa427f8 Remove unused import 2016-01-05 16:43:15 +01:00
4f8886f3c7 Remove unused import 2016-01-05 16:43:15 +01:00
1ddbaae9e0 Use unused return values from write_all() 2016-01-05 16:43:15 +01:00
e46fb41dd2 Remove unused import 2016-01-05 16:42:14 +01:00
b00befbcaf Use unused return value by wrapping in try!() 2016-01-05 16:42:14 +01:00