Sylvestre Ledru
|
d92132e721
|
version 0.4.1
v0.4.1
|
2024-04-27 13:12:58 +02:00 |
|
Sylvestre Ledru
|
99d4d02985
|
add missing copyright
|
2024-04-27 13:12:16 +02:00 |
|
Olivier Tilloy
|
e7dc6558c6
|
Merge pull request #56 from TanmayPatil105/handle-directory-input
Handle directory-file and file-directory comparisons in the diff
|
2024-04-23 22:40:28 +02:00 |
|
Tanmay Patil
|
8c6a648aef
|
Merge branch 'main' into handle-directory-input
|
2024-04-23 23:11:31 +05:30 |
|
Tanmay Patil
|
0304391bc5
|
Create test files in temporary directory
|
2024-04-23 22:44:06 +05:30 |
|
Sylvestre Ledru
|
8de0ca60d1
|
Merge pull request #52 from oSoMoN/long-options
Handle long option names for the supported output styles…
|
2024-04-23 18:44:47 +02:00 |
|
Sylvestre Ledru
|
43b9c524d9
|
Merge pull request #62 from oSoMoN/integration-no-hardcoded-filename
Un-hardcode a test filename in an integration test (fixes #61)
|
2024-04-23 18:36:33 +02:00 |
|
Olivier Tilloy
|
3dc3fdf5cd
|
Un-hardcode a test filename in an integration test (fixes #61)
|
2024-04-23 18:00:56 +02:00 |
|
Olivier Tilloy
|
b7261a43f4
|
Break out the logic to match context/unified diff params into separate functions, for improved readability
|
2024-04-22 18:01:00 +02:00 |
|
Olivier Tilloy
|
37fe1ae808
|
Handle --normal, -e and --ed options
|
2024-04-22 18:01:00 +02:00 |
|
Olivier Tilloy
|
22d973fce6
|
Parse all valid arguments accepted by GNU diff to request a regular context (with an optional number of lines)
|
2024-04-22 18:01:00 +02:00 |
|
Olivier Tilloy
|
fe28610f21
|
Parse all valid arguments accepted by GNU diff to request a unified context (with an optional number of lines)
|
2024-04-22 18:01:00 +02:00 |
|
Sylvestre Ledru
|
3a8eddfe2c
|
Fix typos
v0.4.0
|
2024-04-21 16:07:01 +02:00 |
|
Tanmay Patil
|
476e69ee20
|
Windows: Fix tests
|
2024-04-21 18:06:15 +05:30 |
|
Tanmay Patil
|
65993d6a13
|
Add tests for diff FILE DIRECTORY
|
2024-04-21 16:10:48 +05:30 |
|
Tanmay Patil
|
39d2ece187
|
Handle directory-file and file-directory comparisons in the diff
GNU diff treats `diff DIRECTORY FILE` as `diff DIRECTORY/FILE FILE`
|
2024-04-21 16:10:48 +05:30 |
|
Sylvestre Ledru
|
46a26e896b
|
Merge pull request #58 from oSoMoN/ed-diff-tests-fix-path
Move test assertions in the cfg block where they belong (fixes #3)
|
2024-04-21 09:37:58 +02:00 |
|
Olivier Tilloy
|
14799eea89
|
Move test assertions in the cfg block where they belong
|
2024-04-21 00:13:52 +02:00 |
|
Olivier Tilloy
|
831348d1fc
|
Fix file path in ed diff tests
|
2024-04-21 00:12:43 +02:00 |
|
Sylvestre Ledru
|
00a5c0ba44
|
Merge pull request #57 from oSoMoN/windows-fix-path-for-ci
CI: On Windows, use GNU's patch.exe instead of Strawberry Perl patch
|
2024-04-20 19:44:40 +02:00 |
|
Olivier Tilloy
|
bf104648c1
|
CI: On Windows, use GNU's patch.exe instead of Strawberry Perl patch
|
2024-04-20 19:30:34 +02:00 |
|
Olivier Tilloy
|
5669f164b3
|
Merge pull request #34 from uutils/renovate/regex-1.x
Update Rust crate regex to 1.10.4
|
2024-04-17 19:19:00 +02:00 |
|
Sylvestre Ledru
|
11bf271666
|
Merge pull request #9 from uutils/renovate/codecov-codecov-action-4.x
Update codecov/codecov-action action to v4
|
2024-04-16 22:18:53 +02:00 |
|
renovate[bot]
|
674974d5e6
|
Update Rust crate regex to 1.10.4
|
2024-04-16 19:54:53 +00:00 |
|
Sylvestre Ledru
|
2ba35db431
|
Merge pull request #4 from uutils/renovate/diff-0.x
Update Rust crate diff to 0.1.13
|
2024-04-16 21:53:45 +02:00 |
|
renovate[bot]
|
fcec7277c9
|
Update codecov/codecov-action action to v4
|
2024-04-16 19:35:04 +00:00 |
|
renovate[bot]
|
b8efad6b90
|
Update Rust crate diff to 0.1.13
|
2024-04-16 19:35:01 +00:00 |
|
Sylvestre Ledru
|
68e2f51983
|
Merge pull request #54 from uutils/renovate/chrono-0.x
Update Rust crate chrono to 0.4.38
|
2024-04-16 21:34:16 +02:00 |
|
Sylvestre Ledru
|
4edaee190f
|
Merge pull request #55 from oSoMoN/use-codecov-token
Use the private Codecov token stored as a secret,
|
2024-04-16 21:34:01 +02:00 |
|
Olivier Tilloy
|
7f7821f558
|
Use the private Codecov token stored as a secret,
to work around rate-limiting issues like https://github.com/codecov/codecov-action/issues/557
|
2024-04-16 18:37:59 +02:00 |
|
renovate[bot]
|
1149a247dd
|
Update Rust crate chrono to 0.4.38
|
2024-04-16 16:20:52 +00:00 |
|
Olivier Tilloy
|
1b311c6673
|
Merge pull request #33 from TanmayPatil105/context-diff-modification-time
Display modification times of input files in context and unified diff
|
2024-04-16 18:20:00 +02:00 |
|
Tanmay Patil
|
aedd0684d1
|
Replace only the first two occurences of timestamp regex
|
2024-04-16 10:41:38 +05:30 |
|
Tanmay Patil
|
54c02bdf0b
|
Use NamedTempFile instead of manually creating files
|
2024-04-16 10:17:09 +05:30 |
|
Tanmay Patil
|
ba7cb0aef9
|
Do not create dummy files
Since we now returning SystemTime::now() for invalid file input,
there is no need to crate dummy files
|
2024-04-14 22:56:37 +05:30 |
|
Tanmay Patil
|
33783d094e
|
Improve tests
|
2024-04-14 17:16:53 +05:30 |
|
Tanmay Patil
|
900e1c3a68
|
Tests: Replace modification time in diff with "TIMESTAMP" placeholder
|
2024-04-14 13:43:30 +05:30 |
|
Tanmay Patil
|
0a77fe12b9
|
Add tests for get_modification_time function
|
2024-04-13 21:31:13 +05:30 |
|
Tanmay Patil
|
86bd05c739
|
Merge branch 'context-diff-modification-time' of github.com:TanmayPatil105/diffutils into context-diff-modification-time
|
2024-04-10 22:31:09 +05:30 |
|
Tanmay Patil
|
00e18a6b0c
|
Define assert_diff_eq macro for context&unified diff comparison
|
2024-04-10 22:20:48 +05:30 |
|
Tanmay
|
f6eb0835b0
|
Merge branch 'main' into context-diff-modification-time
|
2024-04-10 22:13:18 +05:30 |
|
Sylvestre Ledru
|
be66ff3299
|
Merge pull request #47 from oSoMoN/handle-stdin-filename
Handle the rewrite of "-" to "/dev/stdin" in main to leave the filenames unchanged (fixes #46)
|
2024-04-09 09:53:53 +02:00 |
|
Olivier Tilloy
|
e1c319f96b
|
Add an integration test for reading from "/dev/stdin" on unix-like systems
|
2024-04-08 22:36:14 +02:00 |
|
Olivier Tilloy
|
84ad116845
|
Use io::stdin() to read from standard input in a portable manner
|
2024-04-08 20:21:24 +02:00 |
|
Olivier Tilloy
|
6dc34fed44
|
Handle the rewrite of "-" to "/dev/stdin" in main to leave the filenames unchanged (fixes #46)
|
2024-04-08 20:21:24 +02:00 |
|
Sylvestre Ledru
|
9507ca28d7
|
Merge pull request #51 from oSoMoN/unit-tests-for-conflicting-output-style
Unit test to verify that conflicting output styles result in an error
|
2024-04-06 08:47:53 +02:00 |
|
Olivier Tilloy
|
c325291696
|
Unit test to verify that conflicting output styles result in an error
|
2024-04-05 23:22:26 +02:00 |
|
Olivier Tilloy
|
c08e0b6e1f
|
Merge pull request #25 from uutils/renovate/tempfile-3.x
chore(deps): update rust crate tempfile to 3.10.1
|
2024-04-04 22:50:50 +02:00 |
|
Tanmay Patil
|
72da7fca40
|
Show current time if fs::metadata errors
|
2024-04-04 20:01:11 +05:30 |
|
Tanmay
|
61fb0657c1
|
Merge branch 'main' into context-diff-modification-time
|
2024-04-04 19:56:13 +05:30 |
|