Commit Graph

15658 Commits (c75d87ead7c5d61df25121678521679fd4611454)
 

Author SHA1 Message Date
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
Wilfred Hughes fb5ce40b0d Document recent Rust parser update 2025-09-22 20:28:24 +07:00
Wilfred Hughes b68e1dd673 Enable larger page size in jemalloc
Fixes #850
2025-09-22 20:27:29 +07:00
Antonin Delpeuch dc4ce18196 Switch to tree-sitter-rust-orchard
Offers better attachment of attributes and doc comments
and supports newer language constructs.
Closes #35.
2025-09-17 23:59:31 +07:00
Dan Cross d6ab90d840 Do not use jemalloc on illumos
jemalloc does not work on illumos; it's use is
already conditional on environments that are not
msvc, so extend the conditionals involved to also
exclude illumos.
2025-09-16 21:05:13 +07:00
Wilfred Hughes 1a4313423d Increase minimum Rust version 2025-08-29 22:53:54 +07:00
Wilfred Hughes 1ec5badfe0 Silence warning on older clippy versions 2025-08-29 22:53:54 +07:00
Master-Hash b5a4df1efc ci: run arm windows test on windows-11-arm runner image 2025-08-16 12:16:57 +07:00
Master-Hash 3916dc99ef ci: build & test for aarch64-pc-windows-msvc target 2025-08-16 12:16:57 +07:00
Wilfred Hughes 13f786a7be Vendor the commonlisp parser again
This allows us to use the C library directly. Using the library from
crates.io would require a fairly big MSRV bump.

https://github.com/tree-sitter-grammars/tree-sitter-commonlisp/issues/45

Essentially reverts 87521ed3fc but we
still have the latest version of the upstream grammar.

Fixes #866
2025-08-16 12:13:46 +07:00
Wilfred Hughes 953a9cd46b Add 'vendored_parsers/tree-sitter-commonlisp/' from commit '32323509b3d9fe96607d151c2da2c9009eb13a2f'
git-subtree-dir: vendored_parsers/tree-sitter-commonlisp
git-subtree-mainline: 0b5ca1b3c3
git-subtree-split: 32323509b3
2025-08-16 12:10:10 +07:00
Wilfred Hughes 0b5ca1b3c3 Remove commonlisp parser from Cargo.toml 2025-08-16 12:09:48 +07:00
Wilfred Hughes fcd5e1eec5 Link mergiraf in both sections discussing merging 2025-08-10 15:12:30 +07:00
Raymond Ha a3bcd66de6 Fix GitHub logo reflow 2025-08-04 22:59:34 +07:00
Wilfred Hughes cabe203465 Improve doc comment 2025-07-30 09:40:25 +07:00
Wilfred Hughes 022133bad0 Configure aider ignores 2025-07-29 18:53:27 +07:00
Wilfred Hughes 084a72b558 Stop supporting invalid UTF-16 when decoding files 2025-07-12 00:35:17 +07:00
Wilfred Hughes e596c52c53 Show file size before/after on binary files 2025-07-11 09:47:20 +07:00
Wilfred Hughes fd6a9a365b Configure string literals correctly as atoms in Kotlin
Fixes #860
2025-07-11 09:14:43 +07:00