Commit Graph

15726 Commits (7d8175dccfdde3a9046acd389980f7240ca58d96)
 

Author SHA1 Message Date
Antonin Delpeuch 4f96f2bc94 Remove unnecessary symlink for highlight query 2025-10-09 07:38:11 +07:00
Antonin Delpeuch 1bbcb20040 Unvendor tree-sitter-newick
For #891.
2025-10-08 20:14:15 +07:00
Wilfred Hughes 5fb7684b38 Fix broken line wrapping in --help for git invocations 2025-10-07 18:19:34 +07:00
Wilfred Hughes 640358fd7c Only use OSC 8 on a TTY 2025-10-07 18:19:34 +07:00
Antonin Delpeuch 6047469f71 Unvendor tree-sitter-gleam
For #891.
2025-10-07 09:46:07 +07:00
Antonin Delpeuch 8bb43e5fec Unvendor tree-sitter-erlang
For #891.
Note that the vendored parser was simply left over: we were already
pulling the parser from crates.io. Hence not updating the changelog.
2025-10-07 09:45:27 +07:00
Wilfred Hughes dc37b874ac Make URL clickable in --help 2025-10-06 23:23:29 +07:00
Wilfred Hughes 81c88ba1d6 Document git diff conventions in --help 2025-10-06 23:10:41 +07:00
Wilfred Hughes 7a0e399454 Show example invocations in bold in --help 2025-10-06 23:06:33 +07:00
Wilfred Hughes b57ea96b88 Factor out colour TTY detection 2025-10-06 22:59:04 +07:00
Wilfred Hughes f458eb5598 Document mercurial alias
Fixes #887
2025-10-06 22:25:03 +07:00
Wilfred Hughes bf335094b8 Autodetect dark/light terminals
Closes #890
2025-10-06 22:23:43 +07:00
Wilfred Hughes 33570c639a Spelling fix 2025-10-06 22:23:43 +07:00
Antonin Delpeuch 3e8e78c991
Unvendor tree-sitter-elm (#893)
Co-authored-by: Wilfred Hughes <me@wilfred.me.uk>
2025-10-06 13:53:57 +07:00
Antonin Delpeuch 35f63d1015 Unvendor tree-sitter-devicetree 2025-10-06 21:52:29 +07:00
Wilfred Hughes 5c7dc03109 Conservatively bump cc
Cargo.lock already specifies a newer version, but there's a ton of
bugfixes in each cc version and raising the requirement ensures that
users benefit from more recent fixes.

Difftastic has a non-trivial amount of C code from vendored
parsers and newer cc ensures that difftastic builds correctly even in
exotic environments.
2025-10-05 21:15:24 +07:00
Antonin Delpeuch bcb2792d5e Update changelog 2025-10-05 21:09:41 +07:00
Antonin Delpeuch 6fbd425b55 Unvendor tree-sitter-dart 2025-10-05 21:09:41 +07:00
Wilfred Hughes c75d87ead7 Bump strsim 2025-10-05 21:07:37 +07:00
Wilfred Hughes e4668eaff3 Bump assert_cmd and predicates 2025-10-05 20:57:14 +07:00
Wilfred Hughes 45e65c6d81 Bump owo-colors 2025-10-05 20:49:32 +07:00
Antonin Delpeuch a20ca5b7eb Update changelog 2025-10-05 11:19:48 +07:00
Antonin Delpeuch dd5ce7ae3d Unvendor tree-sitter-r 2025-10-05 11:19:48 +07:00
Wilfred Hughes 84d037343d Fix overly wide columns when last hunk is near start of file 2025-10-05 00:27:18 +07:00
Wilfred Hughes 5f43683d99 Continuation dots should depend on file lines, not visible lines 2025-10-04 17:16:49 +07:00
Wilfred Hughes 1033c0d152 Clarify struct field names 2025-10-04 17:15:35 +07:00
Wilfred Hughes 6ffa3613cc Define a separate source dimension that's explicitly the maximum line in the file 2025-10-04 17:14:09 +07:00
Wilfred Hughes 3e8324913f Another doc comment 2025-10-04 17:14:09 +07:00
Wilfred Hughes 117d20c527 Add doc comment 2025-10-04 17:14:09 +07:00
Antonin Delpeuch 6d7b594aca Unvendor tree-sitter-hcl 2025-10-04 09:31:32 +07:00
Antonin Delpeuch 3a94668aee Unvendor tree-sitter-solidity 2025-10-04 09:29:38 +07:00
Wilfred Hughes 65a803b203 Improve column width calculation on hunks
Instead of considering the column width for the large line number in
the hunk, consider the largest line number from all hunks for this
file.

Fixes #753
2025-10-02 22:41:35 +07:00
Wilfred Hughes b1783c4e6a Add comment clarifying . line number rendering rationale 2025-10-02 22:41:35 +07:00
Wilfred Hughes 76eba0c3fe Improve doc comment 2025-10-02 22:41:35 +07:00
Antonin Delpeuch 6251c2fd7f Bump toolchain in the CI too 2025-10-02 19:28:15 +07:00
Antonin Delpeuch 07e5b2a85d Upgrade tree-sitter to 0.25, MSRV 1.76
Doing this upgrade would be very useful to unvendor more parsers,
because tree-sitter 0.25 supports ABIs 13, 14 and 15 at the same time,
whereas 0.24 supports ABIs 13 and 14 only.

A lot of the crates.io versions of the parsers are using ABI 15,
which is blocking their unvendoring.

This comes to the cost of bumping MSRV from 1.75 to 1.76, which seems
acceptable to me. This is still far behind the version in Debian stable,
1.85.
2025-10-02 19:28:15 +07:00
Wilfred Hughes 85f88b66cc Update changelog 2025-10-01 22:33:53 +07:00
Antonin Delpeuch 595eca2edb Unvendor tree-sitter-cmake 2025-10-01 22:33:28 +07:00
Wilfred Hughes 0c2ba27886 Fix copy-paste mistake in language list 2025-10-01 22:29:47 +07:00
Wilfred Hughes 8e06e74f76 Update changelog 2025-10-01 22:29:01 +07:00
Wilfred Hughes f9cf5452e8 Tweak badge style to increase contrast 2025-10-01 22:24:14 +07:00
Connor McCarthy 7984b49c37 Support `proto` diffs using `tree-sitter-proto` 2025-10-01 22:23:36 +07:00
Wilfred Hughes 8402832c1c Clarify lifetimes
Fixes #869
2025-09-26 06:50:30 +07:00
Wilfred Hughes f4a37c9732 Silence a build warning on newer clippy versions 2025-09-25 07:48:24 +07:00
Wilfred Hughes 7cfa40bf80 Calculating display width should only consider visible lines
This is perf neutral for the usual benchmarks (where diffing is the
bottleneck, not display) and only a small (0.4% instruction count
increase) on the huge_cpp_1.cpp test files.
2025-09-25 07:47:30 +07:00
Wilfred Hughes 7f4dfdfbe4 0.65 is released 2025-09-25 07:47:30 +07:00
Dmitry Marakasov 9f31286dc3 Do not use jemalloc on FreeBSD
FreeBSD uses jemalloc anyway, and tikv_jemallocator does not build.
2025-09-24 05:28:09 +07:00
Wilfred Hughes a0ce7b1b78 Remove obsolete comment 2025-09-23 21:02:59 +07:00
Wilfred Hughes d9d6513c42 Roll version 2025-09-23 21:02:46 +07:00
Wilfred Hughes 256c9e6326 Unfill lines when generating release notes 2025-09-23 20:24:08 +07:00