Commit graph

2705 commits

Author SHA1 Message Date
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
0a63bc8f4d Remove unused variable 2016-01-05 16:42:14 +01:00
668811dafa Remove unused import 2016-01-05 16:42:14 +01:00
7f99ac8aac Remove unused import 2016-01-05 16:42:14 +01:00
97008e5f9b Use unused variable, print debug output 2016-01-05 16:42:14 +01:00
d14cb47bf9 Remove unneeded Keyword "mut" and unneeded variable 2016-01-05 16:42:14 +01:00
cfd16730c0 Remove unused variables 2016-01-05 16:42:14 +01:00
4036e31b35 Remove unused imports 2016-01-05 16:42:14 +01:00
a7603b1594 Remove unneeded Keyword "mut" 2016-01-05 16:42:14 +01:00
92d84482c6 Remove unused variable 2016-01-05 16:42:14 +01:00
7fbd98016d Remove unused variable 2016-01-05 16:42:14 +01:00
0b25022491 Remove unused variable 2016-01-05 16:42:14 +01:00
ee0d3e90d2 Remove unused variable 2016-01-05 16:42:14 +01:00
feb146870e Remove unused variable 2016-01-05 16:42:14 +01:00
15a64d6237 Remove unused variable 2016-01-05 16:42:14 +01:00
9f9721f227 Remove unused variable 2016-01-05 16:42:14 +01:00
25f6711904 Remove unused variable 2016-01-05 16:42:14 +01:00