Wilfred Hughes
76e9eae32e
Document how to build difftastic for packaging
...
Closes #531
Closes #813
2025-05-13 01:14:24 +07:00
Wilfred Hughes
7a3c91dbd6
Update tree_magic_mini package version
...
This version handles the XDG specification properly:
https://github.com/mbrubeck/tree_magic/releases/tag/v3.1.6
Although the version was already 3.1.6 in Cargo.lock, it's better to
be explicit here.
2025-05-13 01:04:17 +07:00
Kian-Meng Ang
39aacd8272
Fix typo
...
Found via `typos --hidden --format brief`
2025-05-09 09:18:03 +07:00
Harry Mander
d9e9e90bcf
Parse .ipynb as JSON
2025-05-06 06:17:35 +07:00
Wilfred Hughes
149c040c45
Prefer 'line-oriented diff' terminology
...
'Text diff' is confusing as the input files to difftastic's structural
diffing logic is also text. Line-oriented more accurately captures the
important aspect.
2025-04-28 09:05:11 +07:00
Wilfred Hughes
eff3e16cad
Document parse error behaviour and recommendations
...
Closes #815
2025-04-09 22:23:26 +07:00
Wilfred Hughes
2c0a188e1a
Reorder tree-sitter parser list in Cargo.toml
2025-04-09 22:10:02 +07:00
Wilfred Hughes
3f18a6333b
Update CI to Ubuntu 22.04
...
Closes #828
2025-04-09 22:05:30 +07:00
Wilfred Hughes
2efe4003b3
Update expected output now file name has changed
2025-04-08 08:54:52 +07:00
Wilfred Hughes
083efd06f6
Tweak file size formatting to one decimal place
...
Fixes #821
2025-04-08 08:54:48 +07:00
Wilfred Hughes
aa04647514
Improve help text on other CLI options
2025-04-08 08:42:03 +07:00
Wilfred Hughes
c4ba17b1ec
Clarify --graph-limit
...
See discussion in #814
2025-04-08 08:40:31 +07:00
Wilfred Hughes
362cd8f2b7
Update comparison file following file name fix
2025-04-08 08:20:20 +07:00
Wilfred Hughes
1a2e1e81ec
Run typos on more files in homepage/ directory
2025-03-31 23:37:11 +07:00
Wilfred Hughes
d920839be1
Configure typos for more directories and fix issues found
2025-03-31 23:35:27 +07:00
Wilfred Hughes
267a2eaef3
Configure typos
2025-03-31 23:26:40 +07:00
Wilfred Hughes
b8383e191a
Mention difftastic.el
...
Closes #808
2025-03-22 15:45:31 +07:00
Wilfred Hughes
6e1ec52bdc
Remove little-used itertools dependency
2025-03-21 00:11:44 +07:00
Wilfred Hughes
c824f601df
Update Erlang parser
2025-03-20 23:58:53 +07:00
Wilfred Hughes
0e0e81dde7
Reference diff-slider-tools
2025-03-20 22:36:20 +07:00
Wilfred Hughes
ba45a40f71
Elide lifetimes in more places
...
Versions of clippy after the MSRV complain about these, and it's fine
on our current Rust version too.
2025-03-18 00:27:11 +07:00
Wilfred Hughes
0e6c4ba77a
Fix typo
2025-03-18 00:22:55 +07:00
Wilfred Hughes
d8b715bd5b
Rename myers_diff to LCS diff as it's not actually Myers algorithm
2025-03-09 23:55:08 +07:00
Wilfred Hughes
ca9b7da43f
Run cargo fmt
2025-03-06 23:03:40 +07:00
Wilfred Hughes
8953c55cf8
Pass String to new_atom
...
This is a very tiny perf hit, but allows us to pass newly allocated
strings to new_atom(), which will be necessary for normalising
case-insensitive languages.
2025-02-23 20:08:45 +07:00
Wilfred Hughes
0b386d332f
Update Erlang parser to use crate
...
Whilst we're here, restore support for rebar files now the parser
supports these.
2025-02-22 22:06:42 +07:00
Wilfred Hughes
89e2a459d6
Update F# parser to use crate
2025-02-22 21:53:21 +07:00
Wilfred Hughes
5420cd19fa
Remove old symlink
2025-02-22 21:48:54 +07:00
Wilfred Hughes
1b04d17c4d
Update Swift parser to use crate
2025-02-22 21:41:08 +07:00
Wilfred Hughes
97bab83730
Update Pascal parser to use crate
...
Closes #817
2025-02-22 21:34:10 +07:00
Wilfred Hughes
de601cbfc5
Position no longer has any effect on diffing
2025-02-21 08:27:08 +07:00
Wilfred Hughes
f34a901476
Update version number in build instructions
2025-02-15 14:28:24 +07:00
Wilfred Hughes
22e4693c57
Document usage with jj
2025-02-11 08:44:57 +07:00
Wilfred Hughes
b6791c26bc
Roll version
2025-02-11 08:39:44 +07:00
Wilfred Hughes
f45f81cf98
Missing words
2025-02-10 17:41:06 +07:00
crbelaus
b0a4ddc7ed
Fix output regression test
2025-02-10 09:06:03 +07:00
crbelaus
505a9f6c24
Consider Elixir sigils as atom nodes
2025-02-10 09:05:39 +07:00
crbelaus
c5527634b8
Add Elixir example files
2025-02-10 09:04:49 +07:00
Wilfred Hughes
d42797fa7e
Update Nix parser and use the crate from crates.io
2025-02-10 08:59:52 +07:00
Wilfred Hughes
bd9c98050e
Update Elixir parser and use crate from crates.io
2025-02-10 08:48:31 +07:00
Wilfred Hughes
8f6484cf75
Fix typo
2025-02-10 08:40:58 +07:00
Wilfred Hughes
59034daf60
Sort parsers alphabetically
2025-02-07 09:06:54 +07:00
Wilfred Hughes
17e6a54294
Ensure side-by-side-show-both always uses two columns
...
Fixes #812
2025-02-07 09:03:10 +07:00
Wilfred Hughes
e83fd336a2
Use array consistently in tree_sitter_parser
2025-02-03 22:25:56 +07:00
Wilfred Hughes
c14f567f81
Use FxHashSet everywhere
...
This is a performance improvement, and makes the code more consistent.
Instruction counts before:
3,137M instructions typing_*.ml
2,210M instructions slow_*.rs
Instruction counts after:
2,994M instructions typing_*.ml
2,180M instructions slow_*.rs
So almost a 5% reduction in instruction count.
2025-02-03 22:17:04 +07:00
Wilfred Hughes
2218c88fb0
Enable prebuilt musl binaries on release
...
These binaries now work when testing them on CI, so I believe the
issues have now been resolved. This was probably due to the rustc
version upgrades.
Closes #563
2025-02-03 08:46:40 +07:00
Wilfred Hughes
c013972848
Try enabling musl tests on CI
2025-02-03 08:37:12 +07:00
Wilfred Hughes
7a0d50380a
Tweak punctuation in man page
2025-01-25 17:21:44 +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
8fcfdae7bd
Ignore .git subdirectories when diffing directoriesa
...
Closes #798
2025-01-21 21:54:00 +07:00