Wilfred Hughes
e01b2f9f83
Fix a clippy warning about nested ifs
2023-11-28 13:29:33 +07:00
Wilfred Hughes
cac80e992a
Avoid `res` locals in favour of more meaningful names
2023-11-28 13:27:27 +07:00
Wilfred Hughes
2adb2f8531
Include rustc version in --version output
...
Fixes #554
2023-11-28 13:07:33 +07:00
Wilfred Hughes
5b8f060be3
Remove unneccessary rustc check now MSRV is 1.63
2023-11-28 12:47:17 +07:00
Wilfred Hughes
569f0038d1
Always filter blank lines at start and end in positions
...
Fixes #595
2023-11-28 12:35:28 +07:00
Wilfred Hughes
d89d057345
Clarify parameter name
2023-11-28 11:57:11 +07:00
Wilfred Hughes
08853fa9b6
Clarify comment
2023-11-28 11:34:45 +07:00
Wilfred Hughes
e96c9463a0
Fix typo
2023-11-28 11:15:11 +07:00
Wilfred Hughes
1dd4cdc9ce
Disable shellcheck to get actionlint passing
2023-11-27 18:39:47 +07:00
Wilfred Hughes
d4dfb99397
Checkout the code before running actionlint
2023-11-27 18:22:11 +07:00
Wilfred Hughes
7cdedda029
Add missing runs-on for actionlint job
2023-11-27 18:20:46 +07:00
Wilfred Hughes
945b9b8fed
Lint GitHub actions to catch issues
2023-11-27 18:19:00 +07:00
Wilfred Hughes
e70f0f1b91
Disable cross-compiling aarch64 on macos
2023-11-27 18:13:25 +07:00
Wilfred Hughes
7ea46446e7
Fix variable name
2023-11-27 00:52:53 +07:00
Wilfred Hughes
e9ea423faf
Build but don't test musl binaries
2023-11-26 15:36:30 +07:00
Wilfred Hughes
cdcb2f2227
Try to build for aarch64 on macOS too
2023-11-26 15:33:29 +07:00
Wilfred Hughes
0b202dc1d0
Support CLI tests on cross-compiled binaries
2023-11-26 01:41:11 +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
5153b9f17c
Document the changes in the 0.53.1 release
2023-11-26 01:12:58 +07:00
Wilfred Hughes
a67ad5b9af
Next release will be 0.53.1
2023-11-26 01:03:56 +07:00
Wilfred Hughes
5a2cbd0cc3
Use the default host target for CI on Windows
2023-11-26 00:35:51 +07:00
Wilfred Hughes
a255fbc950
Pin aho-corasick to fix aarch64 build
2023-11-25 01:45:18 +07:00
Wilfred Hughes
6051f0519b
Set the target explicitly when running tests
...
Without this, we always tested against the default target triple of
the host, even when the job was supposed to test a cross-compiled
build.
2023-11-25 01:29:53 +07:00
Wilfred Hughes
dc42b58337
Pin cross version for reproducibility
2023-11-25 01:26:20 +07:00
Wilfred Hughes
8a58fb76ab
Update regression test for SCSS capitalisation change
2023-11-25 01:20:31 +07:00
Wilfred Hughes
f31106fddd
Fix capitalisation in display name for SCSS
2023-11-24 19:42:16 +07:00
Wilfred Hughes
cc487e7c5d
Add note on apple targets
2023-11-24 19:30:26 +07:00
Wilfred Hughes
363ca5447c
Disable misleading test jobs
2023-11-24 01:40:43 +07:00
Wilfred Hughes
7e50c2d8a2
Roll version
2023-11-24 01:22:49 +07:00
Wilfred Hughes
2cab9ac1d6
Document --sort-paths in changelog
2023-11-24 01:12:11 +07:00
Wilfred Hughes
3e5783c2a7
Treat --sort-paths as a flag option
2023-11-24 01:11:26 +07:00
Wilfred Hughes
4c6336fe33
Document change to directory diffing
2023-11-24 01:03:41 +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
yusancky
1c0074f7ba
Update Chinese translation of manual ( #594 )
...
* Translate fossil.md
* Update translation of 2 files
* Update translation of usage.md
* Update tricky_cases.md
2023-11-24 00:48:05 +07:00
Milan Damen
a8d6253509
Sort by path before outputting directory diff so that the order is always the same ( #593 )
...
* Sort by path before outputting directory diff so that the order is always the same
* Added feature flag --sort-paths (DFT_SORT_PATHS) to enable/disable sorting paths when diffing directory (default disabled)
2023-11-20 10:24:35 +07:00
Wilfred Hughes
1ec868e1df
Update to latest line-numbers
2023-11-19 13:11:07 +07:00
Wilfred Hughes
1dbcd08a90
cargo fmt
2023-11-19 13:10:41 +07:00
Wilfred Hughes
8fd79c2885
Remove unused content length calculations
2023-11-18 17:31:40 +07:00
Wilfred Hughes
fe62cf4cf5
Don't ignore novel blank lines
...
Fixes #575
2023-11-18 17:27:41 +07:00
Wilfred Hughes
1138a4623d
Remove unused commit_hash struct field
2023-11-18 16:46:13 +07:00
Wilfred Hughes
4c387e4cfe
Remove unused struct field
2023-11-18 16:46:13 +07:00
Wilfred Hughes
f2b3b34bec
Use pub(crate) everywhere for visibility
...
This isn't strictly necessary since difftastic is a binary-only
crate. However, it improves compiler warnings (see next commit) and
potentially helps future changes to make difftastic available as a
library.
2023-11-18 16:46:13 +07:00
Wilfred Hughes
60d0f61cbd
Define a separate words module
2023-11-18 16:46:13 +07:00
Wilfred Hughes
635e62c19b
Support .snap files
...
Closes #571
2023-11-18 14:50:54 +07:00
Wilfred Hughes
2e415f687d
cargo fmt
2023-11-11 20:57:41 +07:00
Wilfred Hughes
142144e484
Clarify doc comment
2023-11-11 11:16:52 +07:00
Wilfred Hughes
27b14ae4c7
Clarify probably_punctuation
2023-11-11 11:14:49 +07:00