Commit Graph

344 Commits (master)

Author SHA1 Message Date
Wilfred Hughes bd9c98050e Update Elixir parser and use crate from crates.io 2025-02-10 08:48:31 +07:00
Wilfred Hughes 6f35d13fee Update to latest tree-sitter Rust parser on crates.io 2025-01-25 17:10:30 +07:00
Wilfred Hughes fadd0f22ef Support Windows-1252 and make UTF-16 detection stricter
Fixes #797
2025-01-04 15:48:39 +07:00
Wilfred Hughes 44be153e7d Use clap's dynamic String feature rather than another dependency 2025-01-03 21:33:05 +07:00
Wilfred Hughes 36efac7f6f Update to latest crossterm 2025-01-03 21:20:12 +07:00
Wilfred Hughes 33c13ed1d4 Update the ignore crate to remove a transitive dependency 2025-01-03 21:15:08 +07:00
Wilfred Hughes 4796db333d Migrate to clap4
Closes #775
2025-01-03 21:10:16 +07:00
Wilfred Hughes dfcb26c7af Use tree-sitter-yaml from crates.io 2024-12-21 14:19:40 +07:00
Wilfred Hughes dda64336e6 Use tree-sitter-make from crates.io 2024-12-21 14:10:07 +07:00
Wilfred Hughes 8bf5b90a7b Update bumpalo version 2024-12-20 19:54:46 +07:00
Wilfred Hughes 3ad4a84017 Remove the home version pin now we've increased MSRV 2024-12-20 19:40:15 +07:00
Wilfred Hughes 2a7a69c585 Update strum version 2024-12-20 19:39:18 +07:00
Wilfred Hughes 36607850a2 Roll version 2024-12-20 19:35:47 +07:00
Wilfred Hughes b3606fc219 Use tree-sitter-xml from crates.io 2024-12-20 09:16:19 +07:00
Wilfred Hughes cef0b569dd Use tree-sitter-lua from crates.io 2024-12-20 09:12:16 +07:00
Wilfred Hughes a6eb339f71 Use tree-sitter-toml from crates.io 2024-12-20 09:07:52 +07:00
Wilfred Hughes c73b18be77 Use tree-sitter-css from crates.io 2024-12-20 09:00:04 +07:00
Wilfred Hughes 4873e87dac Use tree-sitter-html from crates.io 2024-12-20 08:55:33 +07:00
Wilfred Hughes 507b60bc45 Use tree-sitter-json from crates.io 2024-12-20 08:49:09 +07:00
Wilfred Hughes eb0b47d403 Use tree-sitter-php from crates.io 2024-12-20 08:36:36 +07:00
Wilfred Hughes f9d663ea9f Use tree-sitter-bash from crates.io 2024-12-20 08:32:54 +07:00
Wilfred Hughes 7e8974e295 Use tree-sitter-go from crates.io 2024-12-20 08:29:30 +07:00
Wilfred Hughes 15b9590db5 Use tree-sitter-julia from crates.io 2024-12-20 08:25:23 +07:00
Wilfred Hughes d2ed2f6123 Use tree-sitter-java from crates.io 2024-12-20 08:18:17 +07:00
Wilfred Hughes 776d978f09 Use tree-sitter-typescript from crates.io 2024-12-20 00:09:12 +07:00
Wilfred Hughes 88731f932d Use tree-sitter-javascript from crates.io 2024-12-20 00:02:14 +07:00
Wilfred Hughes db379cf94d Use tree-sitter-c and tree-sitter-cpp from crates.io 2024-12-19 23:50:23 +07:00
Wilfred Hughes 6ea71e6983 Use tree-sitter-python from crates.io 2024-12-19 23:38:43 +07:00
Wilfred Hughes 2bbed44664 Use tree-sitter-c-sharp from crates.io 2024-12-19 23:21:26 +07:00
Wilfred Hughes de6e6707d2 Use tree-sitter-ocaml from crates.io 2024-12-19 23:14:12 +07:00
Wilfred Hughes 919f15344f Use tree-sitter-objc from crates.io 2024-12-19 23:00:43 +07:00
Wilfred Hughes 913aee1c07 Use tree-sitter-scala from crates.io 2024-12-19 22:56:33 +07:00
Wilfred Hughes a9ed8bf5a1 Use tree-sitter-ruby from crates.io 2024-12-19 22:49:30 +07:00
Wilfred Hughes bbe4890cfd Use tree-sitter-haskell from crates.io 2024-12-19 22:33:28 +07:00
Wilfred Hughes 943ea4b613 Bump tree-sitter to 0.24.x 2024-12-19 22:22:12 +07:00
Wilfred Hughes 527b701593 Bump tree-sitter and install tree-sitter-language 2024-12-19 21:57:47 +07:00
Wilfred Hughes f68948ffeb Increase MSRV to 1.74.1
This will enable usage of the new tree-sitter-language crate.
2024-12-19 21:25:00 +07:00
Wilfred Hughes a1603dea4b Switch to tree-sitter 0.22 2024-12-19 21:11:55 +07:00
Wilfred Hughes 831cd1e522 bump tree-sitter version 2024-12-19 21:11:55 +07:00
Wilfred Hughes c2e98bb65a Roll version 2024-10-24 08:17:18 +07:00
Wilfred Hughes f58c9e074a Bump MSRV to 1.66 2024-10-15 23:15:07 +07:00
Wilfred Hughes 09c5e64f88 Update comment for bumpalo as 3.15.0 was yanked due to MSRV 2024-10-15 23:10:51 +07:00
Wilfred Hughes f947673108 Bump ignore version 2024-10-15 23:10:02 +07:00
Wilfred Hughes 62aa599a10 Bump cc 2024-10-15 22:57:10 +07:00
Wilfred Hughes 565e2f12a3 Bump tree_magic_mini
Includes a minor fix for MIME DB from homebrew on ARM mac devices.
2024-10-15 22:50:22 +07:00
Wilfred Hughes 6f03fab178 Roll version 2024-08-01 08:29:55 +07:00
Wilfred Hughes fa2ec359d7 Roll version 2024-07-20 16:11:55 +07:00
Yedaya Katsman efe1b10e8d Update the cc package to 1.1.5
This includes the fix to https://github.com/rust-lang/cc-rs/issues/909
which spams warnings on ubuntu 22.04
2024-07-18 07:25:35 +07:00
Wilfred Hughes 7248e334b7 Update to latest rustc-hash version
This is a very minor performance win, a few percent in my
benchmarking.

typing_1.ml went from 3.013M to 2.996M instructions (0.6% reduction).
slow_1.rs went from 2.153M to 2.046M instructions (5% reduction).

Fixes #728
2024-07-09 00:18:59 +07:00
Wilfred Hughes b88b405620 Notes on next tree-sitter version 2024-05-25 07:13:37 +07:00
Wilfred Hughes c503a7564e Update regex dependency 2024-05-25 15:02:57 +07:00
Wilfred Hughes 835c5eb757 Roll version following release 2024-05-11 13:54:42 +07:00
Wilfred Hughes 9d2574dbd1 Update assert_cmd dependency 2024-05-10 16:08:56 +07:00
Wilfred Hughes be95b31896 Tests do actually import predicates, so restore dependency with looser bounds 2024-05-10 16:02:21 +07:00
Wilfred Hughes f665c73fe0 Remove pin in dev dependencies that is no longer necessary 2024-05-10 15:57:14 +07:00
Wilfred Hughes d15d593708 Move to smallvec for seen vertices
This is a surprisingly large perf win. On my Thinkpad:

typing_before/after.ml:
before: 3.038B instructions
after:  2.870B instructions

slow_before/after.rs:
before: 2.381B instructions
after:  1.260B instructions (!)
2024-04-28 16:16:47 +07:00
Wilfred Hughes db281c682c Roll version 2024-04-02 08:17:24 +07:00
Wilfred Hughes 15977f6e25 Update to latest tree_magic_mini now PR was merged 2024-03-19 00:27:21 +07:00
Wilfred Hughes 627ebc5a4c Revert "Upgrade to latest tree_magic_mini"
This reverts commit b95c27a50a.
2024-03-15 08:33:06 +07:00
Wilfred Hughes b95c27a50a Upgrade to latest tree_magic_mini 2024-03-14 22:33:00 +07:00
Wilfred Hughes 2b19e59aeb 0.56.1 is released 2024-03-05 23:23:43 +07:00
Wilfred Hughes bf8fcab420 0.56 is released 2024-03-05 22:02:37 +07:00
Wilfred Hughes 607b5d2202 Update hashbrown 2024-02-19 12:53:59 +07:00
Wilfred Hughes ee76b308ad Update bumpalo 2024-02-19 12:48:07 +07:00
Wilfred Hughes c03d456462 Update regex crate 2024-02-19 12:43:16 +07:00
Wilfred Hughes 5bde9e0f20 Update to latest memchr 2024-02-19 12:40:24 +07:00
Wilfred Hughes 3f995191ac Enable the windows feature of the crossterm crate
Difftastic provides windows builds, and crossterm requires this
feature if you support windows.
2024-02-19 12:35:59 +07:00
Wilfred Hughes 17038f4261 aho-corasick no longer needs to be pinned
Its MSRV is effectively 1.61 on aarch64, which is sufficient.
2024-02-19 12:28:57 +07:00
Wilfred Hughes f8107f3e10 Update clap version to last 3.x 2024-02-19 12:24:35 +07:00
Wilfred Hughes 77c641748f 0.55 is released 2024-02-01 08:26:52 +07:00
Wilfred Hughes 982f2526fb Update to latest tree-sitter
Benchmarks are unchanged.

Fixes #570
2024-01-28 13:12:06 +07:00
Wilfred Hughes 6760559e6f Increase MSRV to 1.65
See discussion in #570
2024-01-28 12:55:07 +07:00
Wilfred Hughes 8eebc24165 Roll version 2024-01-07 00:33:16 +07:00
Wilfred Hughes 5984abf53a Remove pin of is-terminal 2023-11-26 01:36:38 +07:00
Wilfred Hughes b9a1302e54 Bump MSRV to 1.63
In the past I've been more cautious, but this is the version supported
by Debian Stable, and it's more than 12 months old.

A decent number of dependencies are only tested against newer rustc
versions (see e.g. the recent aho-coarasick pin due to no MSRV on that
library). I've filed bugs in some cases, but upgrading rustc versions
more aggressively should make this problem less common.
2023-11-26 01:24:29 +07:00
Wilfred Hughes 54b6ff8d2e Next release will be 0.54
skip-checks: true
2023-11-26 01:13:12 +07:00
Wilfred Hughes a67ad5b9af Next release will be 0.53.1 2023-11-26 01:03:56 +07:00
Wilfred Hughes a255fbc950 Pin aho-corasick to fix aarch64 build 2023-11-25 01:45:18 +07:00
Wilfred Hughes 7e50c2d8a2 Roll version 2023-11-24 01:22:49 +07:00
Wilfred Hughes 6eeb86addc Use a newer version of the ignore crate 2023-11-24 01:01:21 +07:00
Nimrod Kor e9a8fda9cb
Skip dirs specified in gitignore (#574)
Take ignored dirs into consideration when calculating diff

Co-authored-by: Nimrod <nimrod@getbaz.com>
2023-11-24 00:48:55 +07:00
Wilfred Hughes 1ec868e1df Update to latest line-numbers 2023-11-19 13:11:07 +07:00
Wilfred Hughes 994dc95d96 Fix regex and memchr dependencies for rust 1.60 2023-10-31 21:16:00 +07:00
Wilfred Hughes f4af58524e Pin is-terminal for MSRV 2023-10-31 21:07:04 +07:00
Wilfred Hughes 74ee99b5ea Bump regex version 2023-10-31 16:45:54 +07:00
Wilfred Hughes 4284c3578a Increase MSRV to 1.60 2023-10-31 16:34:59 +07:00
Wilfred Hughes debadb64f2 Update to latest pretty_env_logger 2023-10-31 16:32:42 +07:00
Wilfred Hughes ca7cce01a4 Update to latest crossterm 2023-10-31 16:06:30 +07:00
Wilfred Hughes b0dac91e50 Roll version 2023-10-08 20:07:24 +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 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
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 5ef117e28d Next release will be 0.51.1 2023-08-25 08:44:09 +07:00
Wilfred Hughes 21cdbe177c Update to latest itertools 2023-08-24 08:52:42 +07:00
Wilfred Hughes 35bc02c599 Bump cc version 2023-08-22 23:53:16 +07:00
Wilfred Hughes dac3cd9ed5 Update typed-arena library version
This is perf neutral: a tiny win for typing_before.ml, and an een
smaller regressio for slow_before.rs.
2023-08-17 23:55:24 +07:00
Alex Krantz 11a96e5aec Add JSON cli flag 2023-08-17 08:49:59 +07:00
Wilfred Hughes 11899a237c Roll version 2023-08-15 23:40:23 +07:00
Wilfred Hughes 3c702d0490 Use humansize for file size formatting 2023-08-12 22:34:11 +07:00