Commit Graph

15694 Commits (711d39975806233ce505abcea45998170d402579)
 

Author SHA1 Message Date
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
Wilfred Hughes 6ad8bc99db Fix clippy warning 2025-07-10 09:45:19 +07:00
Wilfred Hughes a0c09454fc Treat x-archive (i.e. foo.a) as binary 2025-07-10 09:29:10 +07:00
Wilfred Hughes 73a293ffc9 Be stricter about slightly-invalid text decoding 2025-07-10 09:28:31 +07:00
Wilfred Hughes 0010944ef5 Fix null character count for Latin 1 string decoding 2025-07-10 09:24:07 +07:00
Wilfred Hughes 093cfea931 Fix doc comment syntax 2025-07-03 19:27:49 +07:00
Wilfred Hughes 62014159d1 Tweak wording 2025-07-03 09:36:46 +07:00
Wilfred Hughes 87521ed3fc Updated the lisp parser 2025-07-02 23:39:05 +07:00
Wilfred Hughes eb7edaba84 Updated to latest clojure parser 2025-07-02 23:19:36 +07:00
Wilfred Hughes 092817a046 Merge commit 'be514eec2c86d560c18fab146e9298e21b8eab62' 2025-07-02 23:16:05 +07:00
Wilfred Hughes 64e73bb58c Update expected output for Zig test files 2025-07-02 23:14:34 +07:00
Wilfred Hughes 00ceb78694 Update atom nodes config for Zig 2025-07-02 23:11:34 +07:00
Wilfred Hughes eb3735a90c Update reference command for seeing parser ages 2025-07-02 23:00:49 +07:00
Wilfred Hughes c797641838 Tweak sidebar order 2025-07-02 22:48:06 +07:00
Wilfred Hughes b3995cd967 Switch to a newer, actively maintained Zig parser
Fixes #851
2025-07-02 22:42:05 +07:00