Olivier Tilloy
f60fefaf6e
Implement the Default trait for Params
2024-03-30 23:50:58 +01:00
Olivier Tilloy
f2fd2127ed
Politely ask clippy to not complain about too many arguments
2024-03-28 18:10:31 +01:00
Olivier Tilloy
e0283083f2
Implement --tabsize option
2024-03-28 18:10:29 +01:00
Olivier Tilloy
8d65c2badd
Implement -t/--expand-tabs option
2024-03-28 18:09:03 +01:00
Daniel Hofstetter
f916f1ce86
clippy: fix warnings from useless_vec lint
2024-03-24 14:05:44 +01:00
Olivier Tilloy
4ed7ea1553
Implement -q/--brief option ( fixes #19 ) ( #20 )
...
* Implement -q/--brief option
* Optimization: stop analyzing the files as soon as there are any differences
* Unit tests for the stop_early parameter
* Simplify checks
2024-03-19 11:45:06 +01:00
Olivier Tilloy
c68d386170
Implement -s/--report-identical-files option ( fixes #23 )
2024-03-01 14:45:41 +01:00
Olivier Tilloy
a89f30afa0
Ed diff: compact ranges of lines where possible ( fixes #21 )
2024-02-24 11:55:54 +01:00
Olivier Tilloy
1241db4806
Match GNU diff's implementation for exit codes ( fixes #17 )
2024-02-22 17:26:24 +01:00
Olivier Tilloy
54a5407bec
Fix trivial typo in error message
2024-02-09 17:51:50 +01:00
Olivier Tilloy
3f9556aa05
Add comments to ease readability and maintainability
2024-02-09 10:28:39 +01:00
Olivier Tilloy
a94c6a60cf
Normal diff: compact ranges of lines where possible ( fixes #10 )
2024-02-09 10:28:39 +01:00
Sylvestre Ledru
f5b65a5720
add debug info
2024-01-23 12:49:20 +01:00
Sylvestre Ledru
1372c5386c
use pretty assertions to help with Windows debug
2024-01-23 12:36:57 +01:00
Sylvestre Ledru
d891e1034d
run clippy pedantic
...
$ cargo +nightly clippy --allow-dirty --fix -- -W clippy::pedantic
2024-01-23 12:36:38 +01:00
Sylvestre Ledru
fdc35f6b8e
use mod tests + bring back the function used only for tests
2024-01-23 10:12:08 +01:00
Sylvestre Ledru
6648963df1
remove the unused function diff_w
2024-01-23 10:08:08 +01:00
Sylvestre Ledru
a10ef621c8
Ajust the test paths
2024-01-23 10:06:02 +01:00
Sylvestre Ledru
9084134f04
rustfmt the code
2024-01-22 22:32:32 +01:00
Sylvestre Ledru
f42fc82f18
adjust the fuzzers to use the new structure
2024-01-22 22:32:11 +01:00
Sylvestre Ledru
0b2505d249
simplify the structure of the crate
2024-01-22 22:01:07 +01:00
Michael Howell
e72ea046b7
Add context and normal diff modes
2021-03-09 16:34:57 -07:00
Michael Howell
2e84164d2f
Get rid of sample binary
2021-03-09 11:07:44 -07:00
Michael Howell
4ad5818994
Add better docs; implement the trimmed ",1" feature
2021-02-25 09:06:01 -07:00
Michael Howell
c1176af0b7
FMT
2021-02-25 00:48:54 -07:00