Commit Graph

238 Commits

Author SHA1 Message Date
Antoine Muller cb5a919deb
fix(read_span): prevent multilines MietteSpanContents from skipping lines (#81)
Fixes: https://github.com/zkat/miette/issues/76
2021-10-05 21:05:50 -07:00
Kat Marchán 6fc4fb0b77
docs: add CONTRIBUTING.md and CODE_OF_CONDUCT.md
Fixes: https://github.com/zkat/miette/issues/80
2021-10-01 19:06:53 -07:00
Kat Marchán 04bd14f38d
(cargo-release) start next development iteration 3.1.1-alpha.0 2021-10-01 12:12:24 -07:00
Kat Marchán d0b0f33744
(cargo-release) version 3.1.0 2021-10-01 12:12:06 -07:00
Kat Marchán 98ae09a0bb
(cargo-release) version 3.1.0 2021-10-01 12:10:21 -07:00
Kat Marchán aa32add30b
docs: update changelog 2021-10-01 12:09:39 -07:00
Coenen Benjamin ebdee4f455
docs: fix set_reporter to set_hook (#79)
* docs: fix set_reporter to set_hook

Signed-off-by: Benjamin Coenen <5719034+bnjjj@users.noreply.github.com>

* docs: rename MietteHandlerOptions to MietteHandlerOpts

Signed-off-by: Benjamin Coenen <5719034+bnjjj@users.noreply.github.com>
2021-10-01 12:08:28 -07:00
Coenen Benjamin 0169fe20e7
feat(SourceSpan): add impl From<Range> (#78)
Signed-off-by: Benjamin Coenen <5719034+bnjjj@users.noreply.github.com>
2021-10-01 12:02:39 -07:00
Kat Marchán 50e82199e6
docs: oops wrong name 2021-09-26 13:11:45 -07:00
Kat Marchán 5741e8b20c
(cargo-release) start next development iteration 3.0.2-alpha.0 2021-09-26 13:06:08 -07:00
Kat Marchán 05bdb818b8
(cargo-release) version 3.0.1 2021-09-26 13:05:47 -07:00
Kat Marchán f0e4071a99
(cargo-release) version 3.0.1 2021-09-26 13:03:44 -07:00
Kat Marchán 46ec74b085
docs: update changelog 2021-09-26 13:02:25 -07:00
Kat Marchán bb25edf019
docs: fix doctests 2021-09-26 13:00:39 -07:00
Kat Marchán c337e2759f
docs: add docs for #[related] 2021-09-26 12:55:30 -07:00
Kat Marchán 47e4d4d05c
docs: add docs for handler options 2021-09-26 12:45:18 -07:00
Kat Marchán e52996bdf4
docs: make docs.rs document all features 2021-09-26 12:37:40 -07:00
Kat Marchán 7dab8aad92
(cargo-release) start next development iteration 3.0.1-alpha.0 2021-09-22 16:39:59 -07:00
Kat Marchán 72de1ad757
(cargo-release) version 3.0.0 2021-09-22 16:38:51 -07:00
Kat Marchán eb816ee98a
(cargo-release) version 3.0.0 2021-09-22 16:38:50 -07:00
Kat Marchán f6a9bed6b1
docs: update changelog 2021-09-22 16:38:19 -07:00
Kat Marchán f92c75f176
docs: update readme with info about fancy feature 2021-09-22 16:36:41 -07:00
Kat Marchán 468843aa5c docs: update readme a bit more 2021-09-22 16:34:21 -07:00
Kat Marchán 2bbac6c2a7 docs: update readme with latest screenshots 2021-09-22 16:34:21 -07:00
Kat Marchán 331d8f5dc4 deps: bump owo-colors 2021-09-22 16:34:21 -07:00
Kat Marchán fc917021ea tests: got narrated tests passing again 2021-09-22 16:34:21 -07:00
Kat Marchán 3213fa610a feat(narrated): global footer and related diagnostics support 2021-09-22 16:34:21 -07:00
Kat Marchán 612967d381 fix(deps): remove dep on itertools 2021-09-22 16:34:21 -07:00
Kat Marchán fbf6664ef5 feat(narrated): updated narrated handler 2021-09-22 16:34:21 -07:00
Kat Marchán b33084bdbf feat(handler): context lines config support 2021-09-22 16:34:21 -07:00
Kat Marchán b10693a91c tests: fix doctests and such 2021-09-22 16:34:21 -07:00
Kat Marchán eb9f6986e9 tests: all graphical tests passing 2021-09-22 16:34:21 -07:00
Kat Marchán eea5c29935 fix(read_span): fix off-by-one issue 2021-09-22 16:34:21 -07:00
Kat Marchán 77c5899bbd fix(graphical): render URLs even without a code 2021-09-22 16:34:21 -07:00
Kat Marchán ce0dea541a fix(theme): remove code styling 2021-09-22 16:34:21 -07:00
Kat Marchán 717f8e3d88 feat(graphical): add theming customization for linums 2021-09-22 16:34:21 -07:00
Kat Marchán 53416f25be deps: bump supports-color to eliminate ci_info 2021-09-22 16:34:21 -07:00
JT a69020422e fix(graphical): Fix off-by-one span_applies calculation (#70)
This changes the span_applies calculation to only count spans where the end of the span is considered part of it if the underline spills into it. I believe this happens if, say, the span.offset() is 10 and span.len() is 2, then we want to count offsets 10 and 11 as part of the span and those would spill, but not 12 as it's the "one past the end" where we know when to stop underlining.
2021-09-22 16:34:21 -07:00
Kat Marchán 8d1170e2de fix(deps): We do not use ci_info directly anymore 2021-09-22 16:34:21 -07:00
Kat Marchán d5d67e644e meta: bump version back down 2021-09-22 16:34:21 -07:00
Kat Marchán 657401ad04 (cargo-release) start next development iteration 3.0.1-alpha.0 2021-09-22 16:34:21 -07:00
Kat Marchán eeb79249af (cargo-release) version 3.0.0-beta.0 2021-09-22 16:34:21 -07:00
Kat Marchán addde7ce8d (cargo-release) version 3.0.0-beta.0 2021-09-22 16:34:21 -07:00
Kat Marchán 55ca8e0b7f fix(api): put panic handler properly behind a flag 2021-09-22 16:34:21 -07:00
Kat Marchán 6a2eaf2852 meta: fixing version to appease cargo-release 2021-09-22 16:34:21 -07:00
Kat Marchán 7c3bbc4d56 docs: update changelog 2021-09-22 16:34:21 -07:00
Kat Marchán 72c0bb9e65 feat(graphical): compact even more 2021-09-22 16:34:21 -07:00
Kat Marchán 41cb710a7d fix(context): get labels/snippets working when using .context() 2021-09-22 16:34:21 -07:00
Kat Marchán db637a366b feat(graphical): compact graphical display a bit 2021-09-22 16:34:21 -07:00
Kat Marchán 8e11baab7b feat(related): Add related diagnostics (#68)
Fixes: https://github.com/zkat/miette/issues/47
2021-09-22 16:34:21 -07:00