Commit Graph

13562 Commits (b07e5198b552a84d20e7bfef2b6d915ce043d95a)
 

Author SHA1 Message Date
Wilfred Hughes b07e5198b5 Remove prebuilt musl binaries in release config 2023-10-08 15:40:39 +07:00
Wilfred Hughes 6ac7fd01a4 Revert "Enable the parallel feature on the cc crate"
This reverts commit 71bf6b6a97.

Using the parallel feature on cc requires Rust 1.61 or higher, see
https://github.com/rust-lang/cc-rs/pull/849
2023-10-08 15:33:33 +07:00
Wilfred Hughes ab1966b7d2 Merge commit '3fef30de8aee74600f25ec2e319b62a1a870d51e'
Update JSON parser. This allows multiple items, so JSONL is no longer
a parse error.

Fixes #528
2023-10-07 10:47:05 +07:00
Wilfred Hughes 71bf6b6a97 Enable the parallel feature on the cc crate
This doesn't seem to help much (libraries are already built in
parallel), but it doesn't hurt.
2023-10-05 00:49:15 +07:00
Amaan Qureshi 3fef30de8a ci: fix windows 2023-10-04 21:46:34 +07:00
Amaan Qureshi 2036eff6d3 0.20.1 2023-10-04 21:42:20 +07:00
Amaan Qureshi ea01558a00 ci: update CI action, add lint and publish actions 2023-10-04 21:42:13 +07:00
Amaan Qureshi bb87e1c574 chore: update manifests 2023-10-04 21:42:13 +07:00
Amaan Qureshi 926c6e6566 feat: add and apply eslint formatting 2023-10-04 21:36:47 +07:00
Amaan Qureshi 1c5435cb0d chore: generate 2023-10-04 21:19:11 +07:00
Amaan Qureshi aebbb7f167 fix: number definition, tidying 2023-10-04 21:19:05 +07:00
Wilfred Hughes 1d32b477c1 Restore coverage data in CI
This seems to have been accidentally removed in
fa20bd9d44.
2023-09-30 22:22:05 +07:00
Wilfred Hughes 6805939c66 Add missing paren in example 2023-09-28 01:05:58 +07:00
Wilfred Hughes 1a7cd39b36 Update manual deploy to silence GitHub warnings 2023-09-28 00:40:56 +07:00
Wilfred Hughes 992437db1d Show the language name when parsing fails 2023-09-28 00:33:49 +07:00
Wilfred Hughes 40403b2b8f Pass lang_conf with language so they're Some/None together 2023-09-27 23:51:45 +07:00
Wilfred Hughes 00f7ef8522 Improve variable name 2023-09-27 15:49:57 +07:00
Wilfred Hughes 6c28bc9401 Expand parse error discussion 2023-09-27 15:45:46 +07:00
Wilfred Hughes 2e52d4c620 Fix incorrect key name in action YAML (found with actionlint) 2023-09-26 14:43:37 +07:00
Wilfred Hughes 462f5d4b7e Use latest mdbook 2023-09-17 22:54:45 +07:00
Wilfred Hughes c153090a65 Fix highlighting 2023-09-15 22:25:01 +07:00
Wilfred Hughes b5942abc66 Rewrite git instructions 2023-09-15 18:18:54 +07:00
Wilfred Hughes aeb974ba7e Add TODO 2023-09-15 16:06:44 +07:00
Wilfred Hughes 8ebd6317d1 Add XML test file 2023-09-12 13:05:15 +07:00
Wilfred Hughes 6dd0c70767 Add TODO 2023-09-12 13:05:05 +07:00
Wilfred Hughes 1e7866b64e Do word diffing on text too 2023-09-12 13:03:27 +07:00
Wilfred Hughes 2b9aca85f3 Consistent indentation 2023-09-12 12:46:53 +07:00
Wilfred Hughes 243a4a5f48 Group imports consistently
This corresponds to:

$ cargo +nightly fmt -- --config group_imports=StdExternalCrate

Since this option is only available on nightly, I'm not adding a
rustfmt.toml to enforce this, just doing it as a one-off run.
2023-09-12 12:32:51 +07:00
Wilfred Hughes 8731a1b908 Fix rustdoc warnings 2023-09-12 12:21:43 +07:00
Wilfred Hughes f3ba79f34d Qualify all difftastic imports with crate:: 2023-09-12 12:17:58 +07:00
Wilfred Hughes f06c611ed7 More XML file patterns 2023-09-09 10:18:11 +07:00
Wilfred Hughes 725180becc Fix references to ../common when compiling XML parser for package 2023-09-09 10:17:46 +07:00
Wilfred Hughes d6fe1221a4 Add *.ui to the XML file extensions 2023-09-09 10:07:11 +07:00
Wilfred Hughes c627326e31 Add XML to the languages in the manual 2023-09-09 10:06:10 +07:00
Wilfred Hughes 577bb99228 Treat XSLT as XML 2023-09-09 00:12:22 +07:00
Wilfred Hughes 004a0da67f Flatten modifiers in C# to improve highlighting 2023-09-08 23:44:11 +07:00
Wilfred Hughes 9134593a39 Add XML support
Fixes #10
2023-09-08 23:43:20 +07:00
Wilfred Hughes 40e303eb1b Add 'vendored_parsers/tree-sitter-xml/' from commit '9deacbfb79cb3527a0396255beb17e1bba3f2052'
git-subtree-dir: vendored_parsers/tree-sitter-xml
git-subtree-mainline: d56f775f31
git-subtree-split: 9deacbfb79
2023-09-08 22:10:28 +07:00
Wilfred Hughes d56f775f31 Highlight constructors consistently with type names 2023-09-03 01:30:22 +07:00
Wilfred Hughes a4ee2cf99e cargo fmt 2023-08-26 21:41:41 +07:00
Wilfred Hughes b78ba2da4b Use type names from line_numbers directly 2023-08-26 20:36:07 +07:00
Wilfred Hughes 41c9165c79 Use my line_numbers crate for newline position calculations 2023-08-26 16:25:32 +07:00
Wilfred Hughes 79b4e44113 Update changelog for today's releases and roll version 2023-08-25 09:26:28 +07:00
Wilfred Hughes 3f3526ded4 Don't create a release on crates.io if other steps failed 2023-08-25 08:53:44 +07:00
Wilfred Hughes 8752af74d4 Test and release macOS ARM64 on macos-latest runners 2023-08-25 08:45:35 +07:00
Wilfred Hughes cc4630a060 Don't stop building release assets if one fails 2023-08-25 08:44:40 +07:00
Wilfred Hughes 5ef117e28d Next release will be 0.51.1 2023-08-25 08:44:09 +07:00
Wilfred Hughes ca44de78e1 Group overrides from the same language together
No functional change, but makes --list-languages easier to read.

Fixes #549
2023-08-25 08:22:28 +07:00
Wilfred Hughes 21cdbe177c Update to latest itertools 2023-08-24 08:52:42 +07:00
Wilfred Hughes 0db99d76c6 Allow a language override to include multiple globs 2023-08-24 08:47:59 +07:00