Commit Graph

15694 Commits (711d39975806233ce505abcea45998170d402579)
 

Author SHA1 Message Date
Wilfred Hughes 711d399758 Remove old broken symlink 2025-10-21 18:48:22 +07:00
Wilfred Hughes 4ee35456d4 Prefer screenshot over screencast for git integration 2025-10-21 18:46:36 +07:00
Wilfred Hughes bee925adc5 Add more, but individually simpler, examples 2025-10-20 01:08:27 +07:00
Wilfred Hughes 86e31458fc Use colour to make errors more obvious 2025-10-20 00:47:53 +07:00
Wilfred Hughes ca95aaaa67 Minor wording 2025-10-20 00:39:19 +07:00
Wilfred Hughes a22b32d82d Clarify doc comment 2025-10-20 00:38:48 +07:00
Antonin Delpeuch ef5cd765ef Unvendor tree-sitter-qmljs 2025-10-18 09:57:38 +07:00
Wilfred Hughes 160e184933 Revert "Autodetect dark/light terminals"
This reverts commit bf335094b8.

Doing `git dlog -p` and waiting shows a bunch of

ESCESCESC

in the terminal, so I don't think terminal-colorsaurus is
quite ready for difftastic yet.
2025-10-17 00:27:44 +07:00
Antonin Delpeuch 2a65dd7e02
Migrate to tree-sitter-sequel (#905)
For #891.
2025-10-15 00:52:40 +07:00
Wilfred Hughes aca32ba1ac Add doc comments 2025-10-14 00:26:29 +07:00
Antonin Delpeuch b666424bbd
manual: Update instructions to add a parser (#902)
* manual: Update instructions to add a parser

This changes the manual so that it doesn't encourage people to vendor parsers if they are available on crates.io.

For #891.

* Fix language inconsistency
2025-10-14 00:03:19 +07:00
Antonin Delpeuch b0e331eb2f Unvendor tree-sitter-ada 2025-10-12 22:53:42 +07:00
Wilfred Hughes 43274db8ca Silence a clippy lint 2025-10-11 23:08:14 +07:00
Wilfred Hughes fadf9b68ed Fix clippy warning 2025-10-11 23:07:07 +07:00
Antonin Delpeuch 05a0736862 Unvendor tree-sitter-scheme 2025-10-10 08:49:05 +07:00
Antonin Delpeuch 85bda2f11b Unvendor tree-sitter-racket 2025-10-09 22:55:12 +07:00
Antonin Delpeuch 7cc43998a7 Unvendor tree-sitter-sfapex parser 2025-10-09 07:39:06 +07:00
Antonin Delpeuch 63cfdd2f82 Remove stray comment 2025-10-09 07:38:11 +07:00
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