324 Commits

Author SHA1 Message Date
Brendan Zabarauskas
3ff6644ba6 Add color argument struct for cli applications 2018-04-18 12:46:28 +10:00
Markus Westerlind
21fd235753 Make the diagnostic severity bold and intense 2018-04-17 19:44:19 +02:00
Markus Westerlind
19e4cb28ec feat: Accentuate the main error message with bold and intense color 2018-04-17 00:43:31 +02:00
Markus Westerlind
15fc9761ec feat: Avoid using blue on windows since it is too dark 2018-04-17 00:36:36 +02:00
Brendan Zabarauskas
303ebbaf7f Bump codespan-reporting version 2018-04-16 16:48:08 +10:00
Brendan Zabarauskas
07919a637b Use contrasting style for secondary labels 2018-04-16 16:47:32 +10:00
Brendan Zabarauskas
63dec067b5 Fix padding 2018-04-16 16:40:30 +10:00
Brendan Zabarauskas
3da9223d26 Add missing package metadata 2018-04-16 13:47:56 +10:00
Brendan Zabarauskas
3c687cf9f9 Remove publish guards from Cargo.toml files 2018-04-16 13:36:38 +10:00
Brendan Zabarauskas
c1a382ef6e Remove unused format parameters 2018-04-16 13:36:38 +10:00
Markus Westerlind
fffbb38208 Display label messages inline with the marker 2018-04-11 23:41:03 +02:00
Markus Westerlind
98da1e05ab Fallback to explicit markers if colors aren't supported 2018-04-11 23:06:36 +02:00
Markus Westerlind
c44b93ae38 Display the line where the diagnostic occured 2018-04-11 22:53:09 +02:00
Markus Westerlind
fb6b7b21bf feat: Color the error severity 2018-04-11 22:00:59 +02:00
Markus Westerlind
3c09b41a96 fix: Make secondary labels secondary 2018-04-11 21:54:12 +02:00
Brendan Zabarauskas
acfcd46560 Simplify diagnostic builder API 2018-02-26 22:51:19 +11:00
Brendan Zabarauskas
a7f34e8a73 Default to label message being none 2018-02-24 13:59:57 +11:00
Brendan Zabarauskas
c41535961e Add some builder methods to diagnostic structs 2018-02-24 13:45:41 +11:00
Brendan Zabarauskas
e2e7dc6e5d Add rustfmt.toml 2018-02-20 22:12:37 +11:00
Brendan Zabarauskas
b27ddc5144 Document LabelStyle 2018-02-20 21:36:12 +11:00
Brendan Zabarauskas
247449446e Rename lo/hi to begin/end 2018-02-20 21:04:56 +11:00
Brendan Zabarauskas
821cea54b4 Rename Span to ByteSpan for clarity 2018-02-20 21:01:34 +11:00
Brendan Zabarauskas
9e0b229057 Add a partial ordering on severity 2018-02-20 20:32:22 +11:00
Brendan Zabarauskas
2e3ac6188d Initial commit 2018-02-20 13:27:19 +11:00