summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2023-08-04Try similar librarytry_similar_libWilfred Hughes
2023-08-04Fix rustc warning on recent nightlyWilfred Hughes
2023-08-04Implement some other useful traits on EqOnFirstItemWilfred Hughes
These aren't immediately used, but they're handy for experimenting with the similar library which requires these.
2023-08-04Ensure size_hint never exceeds graph_limitWilfred Hughes
If we have thousands of syntax nodes on both sides, we can end up attempting to preallocate a very large hashmap. In #542, a user hit an issue with two JSON files where the LHS had 33,000 syntax nodes and the RHS had 34,000 nodes, so we'd attempt to preallocate a hashmap of capacity 1,122,000,000. This required allocating 70,866,960,400 bytes (roughly 66 GiB). Impose a sensible limit on the hashmap. Fixes #542
2023-08-04Log the number of bytes in the arena at the end of route findingWilfred Hughes
2023-08-03Be consistent in lifetime names for VertexWilfred Hughes
2023-07-31Adjust header styleWilfred Hughes
Show the hunk count and detected language in a dimmed style. This information is less important than the diff content itself, so this change makes the important information more prominent. First part of #544
2023-07-29Don't fail CI if coverage upload failsWilfred Hughes
This step sometimes fails, which does not mean our code is bad.
2023-07-27Improve Java highlightingWilfred Hughes
2023-07-26Update crossbeam-channel dependencyWilfred Hughes
0.5.x prior to 0.5.8 have been yanked: https://github.com/crossbeam-rs/crossbeam/blob/master/crossbeam-channel/CHANGELOG.md
2023-07-26Add test for --ignore-comments optionWilfred Hughes
2023-07-26Roll versionWilfred Hughes
2023-07-26Move release logic to justfileWilfred Hughes
2023-07-26Document MSRV for newer bumpalo0.49.0Wilfred Hughes
2023-07-26Move to edition 2021Wilfred Hughes
2023-07-26Update crossterm versionWilfred Hughes
This provides some minor bugfixes for Windows width detection: https://github.com/crossterm-rs/crossterm/blob/master/CHANGELOG.md This cherry-picks a5251966357cc7c0f883e94988b27c02319f81c6, after the MSRV bump.
2023-07-26Bump minimum required Rust version to 1.58Wilfred Hughes
Difftastic is generally conservative about MSRV, and will only increase the version when there is a compelling reason (e.g. major performance improvement, important bug fix in a dependendency). This version increase will enable us to upgrade crossterm to 0.26, which has better detection of terminal width on Windows. I've also clarified MSRV details for other dependencies that cannot currently be upgraded.
2023-07-26Revert "Update crossterm version"Wilfred Hughes
This reverts commit a5251966357cc7c0f883e94988b27c02319f81c6. Looks like it doesn't compile on Rust 1.57.
2023-07-24Print possible targets when running just with no argumentsWilfred Hughes
2023-07-24Update strum dependencyWilfred Hughes
2023-07-24Define a justfile for common commandsWilfred Hughes
2023-07-24Merge commit '2c7aff437deed72bbceceab95797b3909cc4627d'Wilfred Hughes
2023-07-24Merge commit 'ad095896dd223f1c22b85ac5ec84ab11fb732b07'Wilfred Hughes
2023-07-240.20.4Amaan Qureshi
2023-07-24feat: rework release actionAmaan Qureshi
2023-07-24Merge pull request #156 from amaanq/fixesAmaan Qureshi
Some fixes
2023-07-24Clarify wording and difftastic's status in Tricky CasesWilfred Hughes
2023-07-24Suggest --locked when people install with cargoWilfred Hughes
2023-07-24chore: generateAmaan Qureshi
2023-07-24chore: add testsAmaan Qureshi
2023-07-24fix: make preproc newlines immediate so they don't span excess trailing newliensAmaan Qureshi
2023-07-24fix: disallow `/` after `\S` to better handle comments in preproc_argAmaan Qureshi
2023-07-24fix: swap precedences of assignnment and conditional expressionsAmaan Qureshi
`a *= b != c ? d : e;` is parsed incorrectly as a result
2023-07-24Merge pull request #216 from amaanq/updateAmaan Qureshi
Update grammar from changes in C
2023-07-23refactor: remove unused function `skip` in scanner (#215)Stephan Seitz
2023-07-23chore: generateAmaan Qureshi
2023-07-23fix: remove `_typedef_type_specifier`, use git version of tree-sitter-cAmaan Qureshi
2023-07-23Merge pull request #155 from amaanq/fix-attributeAmaan Qureshi
feat: add `attribute_specifier` to struct
2023-07-23fix: update `if_statement` to align with CAmaan Qureshi
2023-07-23Update crossterm versionWilfred Hughes
This provides some minor bugfixes for Windows width detection: https://github.com/crossterm-rs/crossterm/blob/master/CHANGELOG.md
2023-07-22feat: add `attribute_specifier` to structAmaan Qureshi
2023-07-21Merge pull request #152 from amaanq/typedef-fixesAmaan Qureshi
Typedef fixes
2023-07-21Add sliders to the glossaryWilfred Hughes
Fixes #537
2023-07-21Check more bytes when detecting encodingWilfred Hughes
I've observed PDF files that have sufficiently large headers that they were detected as text, which wasn't helpful. Also improve logging to report how many invalid bytes were found.
2023-07-21Fix typoWilfred Hughes
2023-07-21Clarify how to find language names in argument helpWilfred Hughes
2023-07-21chore: generate & update testAmaan Qureshi
2023-07-21fix: rework typedef specifiers againAmaan Qureshi
2023-07-20Document the new LaTeX supportWilfred Hughes
2023-07-20Merge remote-tracking branch 'grunweg/master'Wilfred Hughes