summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2022-07-29Merge branch 'release' into 'main'0.4.3Lars Wirzenius6-11/+16
fix: prepare new release to bump dependency on roadmap See merge request subplot/subplot!283
2022-07-29fix: prepare new release to bump dependency on roadmapLars Wirzenius6-11/+16
roadmap version 0.4.4 is needed to not drag in structopt. The old version of 0.4 wasn't enough. Sponsored-by: author
2022-07-28Merge branch 'release' into 'main'0.4.2Daniel Silverstone7-128/+117
chore: prepare release 0.4.2 of all crates See merge request subplot/subplot!282
2022-07-28fix: downgrade dependency on os_str_bytes to 6.1.0 for MSRVLars Wirzenius1-2/+2
2022-07-28fix: downgrade dependency on time to 0.3.10 for MSRVLars Wirzenius1-2/+2
2022-07-28chore: prepare release 0.4.2 of all cratesLars Wirzenius7-132/+121
Sponsored-by: author
2022-07-25Merge branch 'chore' into 'main'Daniel Silverstone1-0/+1
chore: allow Unicode license in dependencies See merge request subplot/subplot!281
2022-07-24chore: allow Unicode license in dependenciesLars Wirzenius1-0/+1
It is brought in via clap. We can't do without clap. Luckily, it's a variant of the MIT license, and is acceptable to us. Sponsored-by: author
2022-07-16Merge branch 'chores' into 'main'Lars Wirzenius3-34/+34
Chores See merge request subplot/subplot!280
2022-07-16(chore): Specify exact time versionDaniel Silverstone1-2/+2
cargo update -p time --precise 0.3.9 Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-07-16(Cargo.lock): Run cargo updateDaniel Silverstone1-25/+25
Updating crates.io index Updating clap v3.2.8 -> v3.2.12 Updating hashbrown v0.12.1 -> v0.12.2 Updating once_cell v1.12.0 -> v1.13.0 Updating regex v1.5.6 -> v1.6.0 Updating regex-syntax v0.6.26 -> v0.6.27 Updating rustversion v1.0.7 -> v1.0.8 Updating serde v1.0.138 -> v1.0.139 Updating serde_derive v1.0.138 -> v1.0.139 Updating serde_yaml v0.8.24 -> v0.8.26 Updating time v0.3.9 -> v0.3.11 Updating ucd-trie v0.1.3 -> v0.1.4 Updating unicode-ident v1.0.1 -> v1.0.2 Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-07-16(subplot.md): Fix for newer pandocDaniel Silverstone1-4/+4
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-07-16(flake): update lockDaniel Silverstone1-7/+7
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-07-02Merge branch 'chores' into 'main'Lars Wirzenius6-128/+172
Chores See merge request subplot/subplot!278
2022-07-02(chore): cargo update -p time --precise 0.3.9Daniel Silverstone1-2/+2
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-07-02(chore): Run cargo updateDaniel Silverstone1-118/+161
Updating anyhow v1.0.56 -> v1.0.58 Updating clap v3.1.18 -> v3.2.8 Updating clap_derive v3.1.18 -> v3.2.7 Updating clap_lex v0.2.0 -> v0.2.4 Updating crossbeam-channel v0.5.4 -> v0.5.5 Updating crossbeam-epoch v0.9.8 -> v0.9.9 Updating crossbeam-utils v0.8.8 -> v0.8.10 Updating either v1.6.1 -> v1.7.0 Updating filetime v0.2.15 -> v0.2.17 Updating getrandom v0.2.6 -> v0.2.7 Updating globset v0.4.8 -> v0.4.9 Updating hashbrown v0.11.2 -> v0.12.1 Updating indexmap v1.8.1 -> v1.9.1 Updating itoa v1.0.1 -> v1.0.2 Updating libc v0.2.123 -> v0.2.126 Updating linked-hash-map v0.5.4 -> v0.5.6 Updating log v0.4.16 -> v0.4.17 Updating loom v0.5.4 -> v0.5.6 Updating memchr v2.4.1 -> v2.5.0 Updating num_threads v0.1.5 -> v0.1.6 Updating once_cell v1.10.0 -> v1.12.0 Updating os_str_bytes v6.0.0 -> v6.1.0 Updating pandoc_ast v0.8.0 -> v0.8.2 Updating pin-project-lite v0.2.8 -> v0.2.9 Updating proc-macro2 v1.0.37 -> v1.0.40 Updating quote v1.0.18 -> v1.0.20 Updating rayon v1.5.2 -> v1.5.3 Updating rayon-core v1.9.2 -> v1.9.3 Updating regex v1.5.5 -> v1.5.6 Updating regex-syntax v0.6.25 -> v0.6.26 Updating roadmap v0.4.0 -> v0.4.3 Updating rustversion v1.0.6 -> v1.0.7 Updating ryu v1.0.9 -> v1.0.10 Updating serde v1.0.136 -> v1.0.138 Updating serde-aux v3.0.1 -> v3.1.0 Updating serde_derive v1.0.136 -> v1.0.138 Updating serde_json v1.0.79 -> v1.0.82 Updating serde_yaml v0.8.23 -> v0.8.24 Updating smallvec v1.8.0 -> v1.9.0 Updating state v0.5.2 -> v0.5.3 Updating syn v1.0.91 -> v1.0.98 Updating tera v1.15.0 -> v1.16.0 Updating thiserror v1.0.30 -> v1.0.31 Updating thiserror-impl v1.0.30 -> v1.0.31 Updating time v0.3.9 -> v0.3.11 Updating tracing v0.1.34 -> v0.1.35 Updating tracing-attributes v0.1.20 -> v0.1.22 Updating tracing-core v0.1.26 -> v0.1.28 Updating tracing-log v0.1.2 -> v0.1.3 Updating tracing-subscriber v0.3.11 -> v0.3.14 Adding unicode-ident v1.0.1 Removing unicode-xid v0.2.2 Updating wasi v0.10.2+wasi-snapshot-preview1 -> v0.11.0+wasi-snapshot-preview1 Adding windows-sys v0.36.1 Adding windows_aarch64_msvc v0.36.1 Adding windows_i686_gnu v0.36.1 Adding windows_i686_msvc v0.36.1 Adding windows_x86_64_gnu v0.36.1 Adding windows_x86_64_msvc v0.36.1 Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-07-02(subplot): Use .unwrap_or()Daniel Silverstone1-1/+1
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-07-02(bindings): use Write macro for cleaner string updateDaniel Silverstone1-2/+2
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-07-02(doc): Remove unnecessary lifetime markerDaniel Silverstone1-1/+1
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-07-02(subplotlib-derive): use Write macro for cleaner string updateDaniel Silverstone1-1/+2
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-07-02(flake): Update base to unstable for newer gccDaniel Silverstone1-7/+7
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-06-14Merge branch 'time-macros' into 'main'Daniel Silverstone1-1/+1
fix(subplotlib): enable the "macros" feature for the time crate Closes #285 See merge request subplot/subplot!277
2022-06-14fix(subplotlib): enable the "macros" feature for the time crateLars Wirzenius1-1/+1
Sponsored-by: author
2022-05-14Merge branch 'clap3-derive' into 'main'Lars Wirzenius5-50/+112
(cli): Change from structopt to clap3-derive Closes #284 See merge request subplot/subplot!276
2022-05-14(cli): Change from structopt to clap3-deriveDaniel Silverstone5-50/+112
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-05-06Merge branch 'liw/tidy-up-error' into 'main'Daniel Silverstone11-119/+156
tidy up error handling a bit See merge request subplot/subplot!275
2022-05-06refactor: replace SubplotError::JsonError with a more specific oneLars Wirzenius2-12/+5
SubplotError::JsonError is a generic error, but we actually only parse JSON when parsing the AST from Pandoc. Replace it with a ::AstJson error to be more specific, and hopefully more helpful to the user. Sponsored-by: author
2022-05-06refactor: replace SubplotError::RegexError with a simpler oneLars Wirzenius2-7/+4
SubplotError::RegexError was a struct variant in the enum. Replace it with a more usual variant with the regex::Error as a source field, for better error messaging. Sponsored-by: author
2022-05-06refactor: replace SubplotError::YamlError with more specific oneLars Wirzenius3-12/+6
SubplotError::YamlError is quite generic. We only parse YAML as part of document metadata, so replace the error with a more specific one. Sponsored-by: author
2022-05-06refactor: replace generic Pandoc error with specificLars Wirzenius2-11/+4
Replace SubplotError::PandocError with ::Pandoc, which is only for executing the Pandoc program. In reality, so was the old variant, but the new one is more specific, and also embeds the error from executing Pandoc as a source error. The error message is still crap, but that will be fixed later by not using Pandoc for parsing Markdown. Sponsored-by: author
2022-05-06refactor! split SubplotError::IoError into more specific errorsLars Wirzenius5-24/+57
Replace SubplotError::IoError with ::Spawn, ::WriteToChild, ::WaitForChild, ::ReadFile, ::CreateFile, ::Writefile. IoError was a catchall error and as such, so generic that it didn't help the user to figure out what actually is wrong. For example, there was no indication what operation was attempted or on what file. The new error variants are specific. Sponsored-by: author
2022-05-05refactor: drop the subplot::Result type aliasLars Wirzenius10-53/+80
Replace subplot::Result<T> with Result<T, SubplotError>. I find this now to be clearer, as I don't need to remind myself which Result is being used where. This should not be a breaking change. Sponsored-by: author
2022-05-05Merge branch 'fix-256' into 'main'Lars Wirzenius5-3/+67
(subplot): Add support for example blocks Closes #256 See merge request subplot/subplot!274
2022-05-04(subplot.md): Add example scenarios covering example blocksDaniel Silverstone1-0/+57
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-05-04(subplot): Add support for example blocksDaniel Silverstone4-3/+10
In support of #256, this adds `example` as a permitted class and ensures that we typeset it as though it were a file. This includes linting it as though it were a file too. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-04-26Merge branch 'liw/diagram' into 'main'Daniel Silverstone5-34/+34
refactor: use "diagram" instead of "graph" Closes #255 See merge request subplot/subplot!273
2022-04-26refactor: use "diagram" instead of "graph"Lars Wirzenius5-34/+34
Change everywhere to use the word "diagram" instead of "graph. Diagram seems like the better word. It's mostly used in comments and documentation, but there was one filename and one trait name that needed changing. I used "rg -iw graph" and "find -iname '*graph*'" to find everywhere that needed changing. Sponsored-by: author
2022-04-23Merge branch 'liw/licence-file' into 'main'Daniel Silverstone2-1/+29
docs: add copy of license as a separate file, update years copyr. See merge request subplot/subplot!272
2022-04-23docs: add copy of license as a separate file, update years copyr.Lars Wirzenius2-1/+29
Sponsored-by: author
2022-04-17Merge branch 'fix-release' into 'main'0.4.1Lars Wirzenius4-5/+17
(subplotlib): Do not generate tests for subplotlib if not in-tree See merge request subplot/subplot!271
2022-04-17(NEWS): Update for 0.4.1 releaseDaniel Silverstone1-1/+5
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-04-17(subplotlib): Update release versionDaniel Silverstone2-2/+2
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-04-17(subplotlib): Do not generate tests for subplotlib if not in-treeDaniel Silverstone1-2/+10
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-04-15Merge branch 'pre-release' into 'main'0.4.0Lars Wirzenius10-232/+131
Prepare 0.4.0 release See merge request subplot/subplot!270
2022-04-15(debian): update changelog for 0.4.0 releaseDaniel Silverstone1-0/+6
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-04-15(chore): Update everything to 0.4.0Daniel Silverstone5-12/+12
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-04-15(chore): Normalise NEWS file to - rather than *Daniel Silverstone1-30/+29
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-04-15(NEWS): Add initial news for 0.4.0Daniel Silverstone1-0/+20
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-04-15(deny): Remove ignores for no-longer-present advisoriesDaniel Silverstone1-4/+0
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-04-15(example): Set licence for seq exampleDaniel Silverstone1-0/+1
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>