Commit Graph

  • 8de0ca60d1 Merge pull request #52 from oSoMoN/long-options Sylvestre Ledru 2024-04-23 18:44:47 +02:00
  • 43b9c524d9 Merge pull request #62 from oSoMoN/integration-no-hardcoded-filename Sylvestre Ledru 2024-04-23 18:36:33 +02:00
  • 3dc3fdf5cd Un-hardcode a test filename in an integration test (fixes #61) Olivier Tilloy 2024-04-23 17:56:32 +02:00
  • b7261a43f4 Break out the logic to match context/unified diff params into separate functions, for improved readability Olivier Tilloy 2024-04-11 22:47:16 +02:00
  • 37fe1ae808 Handle --normal, -e and --ed options Olivier Tilloy 2024-04-09 19:42:17 +02:00
  • 22d973fce6 Parse all valid arguments accepted by GNU diff to request a regular context (with an optional number of lines) Olivier Tilloy 2024-04-09 19:12:40 +02:00
  • fe28610f21 Parse all valid arguments accepted by GNU diff to request a unified context (with an optional number of lines) Olivier Tilloy 2024-03-30 16:42:07 +01:00
  • 3a8eddfe2c Fix typos v0.4.0 Sylvestre Ledru 2024-04-21 16:07:01 +02:00
  • fe605ff853 ed_diff::tests::test_permutations: disable temporary tests on Windows ed-perm Sylvestre Ledru 2024-04-21 15:52:52 +02:00
  • 476e69ee20 Windows: Fix tests Tanmay Patil 2024-04-21 18:06:15 +05:30
  • 65993d6a13 Add tests for diff FILE DIRECTORY Tanmay Patil 2024-04-20 22:44:17 +05:30
  • 39d2ece187 Handle directory-file and file-directory comparisons in the diff Tanmay Patil 2024-04-20 22:12:34 +05:30
  • 46a26e896b Merge pull request #58 from oSoMoN/ed-diff-tests-fix-path Sylvestre Ledru 2024-04-21 09:37:58 +02:00
  • 14799eea89 Move test assertions in the cfg block where they belong Olivier Tilloy 2024-04-21 00:01:23 +02:00
  • 831348d1fc Fix file path in ed diff tests Olivier Tilloy 2024-04-20 23:30:20 +02:00
  • 00a5c0ba44 Merge pull request #57 from oSoMoN/windows-fix-path-for-ci Sylvestre Ledru 2024-04-20 19:44:40 +02:00
  • bf104648c1 CI: On Windows, use GNU's patch.exe instead of Strawberry Perl patch Olivier Tilloy 2024-04-20 19:17:42 +02:00
  • 5669f164b3 Merge pull request #34 from uutils/renovate/regex-1.x Olivier Tilloy 2024-04-17 19:19:00 +02:00
  • 11bf271666 Merge pull request #9 from uutils/renovate/codecov-codecov-action-4.x Sylvestre Ledru 2024-04-16 22:18:53 +02:00
  • 674974d5e6 Update Rust crate regex to 1.10.4 renovate[bot] 2024-04-16 19:54:53 +00:00
  • 2ba35db431 Merge pull request #4 from uutils/renovate/diff-0.x Sylvestre Ledru 2024-04-16 21:53:45 +02:00
  • fcec7277c9 Update codecov/codecov-action action to v4 renovate[bot] 2024-04-16 19:35:04 +00:00
  • b8efad6b90 Update Rust crate diff to 0.1.13 renovate[bot] 2024-04-16 19:35:01 +00:00
  • 68e2f51983 Merge pull request #54 from uutils/renovate/chrono-0.x Sylvestre Ledru 2024-04-16 21:34:16 +02:00
  • 4edaee190f Merge pull request #55 from oSoMoN/use-codecov-token Sylvestre Ledru 2024-04-16 21:34:01 +02:00
  • 7f7821f558 Use the private Codecov token stored as a secret, Olivier Tilloy 2024-04-16 18:37:59 +02:00
  • 1149a247dd Update Rust crate chrono to 0.4.38 renovate[bot] 2024-04-16 16:20:52 +00:00
  • 1b311c6673 Merge pull request #33 from TanmayPatil105/context-diff-modification-time Olivier Tilloy 2024-04-16 18:20:00 +02:00
  • aedd0684d1 Replace only the first two occurences of timestamp regex Tanmay Patil 2024-04-16 10:26:32 +05:30
  • 54c02bdf0b Use NamedTempFile instead of manually creating files Tanmay Patil 2024-04-16 10:17:09 +05:30
  • ba7cb0aef9 Do not create dummy files Tanmay Patil 2024-04-14 18:24:00 +05:30
  • 33783d094e Improve tests Tanmay Patil 2024-04-14 17:16:53 +05:30
  • 900e1c3a68 Tests: Replace modification time in diff with "TIMESTAMP" placeholder Tanmay Patil 2024-04-14 13:43:30 +05:30
  • 0a77fe12b9 Add tests for get_modification_time function Tanmay Patil 2024-04-10 23:01:28 +05:30
  • 86bd05c739 Merge branch 'context-diff-modification-time' of github.com:TanmayPatil105/diffutils into context-diff-modification-time Tanmay Patil 2024-04-10 22:31:09 +05:30
  • 00e18a6b0c Define assert_diff_eq macro for context&unified diff comparison Tanmay Patil 2024-04-10 22:20:48 +05:30
  • f6eb0835b0 Merge branch 'main' into context-diff-modification-time Tanmay 2024-04-10 22:13:18 +05:30
  • be66ff3299 Merge pull request #47 from oSoMoN/handle-stdin-filename Sylvestre Ledru 2024-04-09 09:53:53 +02:00
  • e1c319f96b Add an integration test for reading from "/dev/stdin" on unix-like systems Olivier Tilloy 2024-04-08 22:36:14 +02:00
  • 84ad116845 Use io::stdin() to read from standard input in a portable manner Olivier Tilloy 2024-04-04 22:14:03 +02:00
  • 6dc34fed44 Handle the rewrite of "-" to "/dev/stdin" in main to leave the filenames unchanged (fixes #46) Olivier Tilloy 2024-04-03 22:18:12 +02:00
  • 9507ca28d7 Merge pull request #51 from oSoMoN/unit-tests-for-conflicting-output-style Sylvestre Ledru 2024-04-06 08:47:53 +02:00
  • c325291696 Unit test to verify that conflicting output styles result in an error Olivier Tilloy 2024-04-05 23:22:26 +02:00
  • c08e0b6e1f Merge pull request #25 from uutils/renovate/tempfile-3.x Olivier Tilloy 2024-04-04 22:50:50 +02:00
  • 72da7fca40 Show current time if fs::metadata errors Tanmay Patil 2024-04-04 20:01:11 +05:30
  • 61fb0657c1 Merge branch 'main' into context-diff-modification-time Tanmay 2024-04-04 19:56:13 +05:30
  • 096aa1dad9 Merge pull request #50 from cakebaker/disable_tests_using_ed_on_windows Sylvestre Ledru 2024-04-04 08:48:41 +02:00
  • 2d9e625a5b Disable tests on Windows that use ed Daniel Hofstetter 2024-04-04 08:30:54 +02:00
  • d863fe443a Merge pull request #48 from uutils/clip Daniel Hofstetter 2024-04-04 07:45:18 +02:00
  • 6be94d8683 chore(deps): update rust crate tempfile to 3.10.1 renovate[bot] 2024-04-03 22:31:44 +00:00
  • 44ef772e4a release: version 0.4.0 Sylvestre Ledru 2024-04-04 00:30:46 +02:00
  • bbfca84e17 chore: wow shiny new cargo-dist CI Sylvestre Ledru 2024-04-04 00:29:50 +02:00
  • c3b3f7dfa6 github action: try to build and release findutils release Sylvestre Ledru 2024-04-03 23:41:58 +02:00
  • 281098d751 Run clippy pedantic fixes clip Sylvestre Ledru 2024-04-03 23:25:31 +02:00
  • a3a372ff36 Display modification times of input files in unified diff Tanmay Patil 2024-04-04 00:09:57 +05:30
  • 5b814f8530 Fix tests Tanmay Patil 2024-04-03 10:50:52 +05:30
  • 34a5cc7340 Merge pull request #45 from oSoMoN/stdin-tests Sylvestre Ledru 2024-04-03 00:02:21 +02:00
  • 6a152cdc7f Add an integration test for reading data from stdin Olivier Tilloy 2024-04-02 22:34:42 +02:00
  • b8fada8faa Add unit tests for missing arguments Olivier Tilloy 2024-04-02 21:10:41 +02:00
  • a213272d0c Add tests for when '-' is used to signify to use standard input Olivier Tilloy 2024-04-02 20:17:02 +02:00
  • 25e4a17421 Merge pull request #44 from oSoMoN/fix-codecov-badge Sylvestre Ledru 2024-04-02 18:34:51 +02:00
  • 589039ab4c Fix the link to the Codecov badge Olivier Tilloy 2024-04-02 18:22:40 +02:00
  • f83fccb542 Merge pull request #41 from uutils/sylvestre-patch-1 Sylvestre Ledru 2024-04-02 07:33:43 +02:00
  • 76c4714f78 Disable the fail fast (closes: #40) Sylvestre Ledru 2024-04-01 23:15:23 +02:00
  • 88a7568b52 Merge branch 'main' into context-diff-modification-time Tanmay Patil 2024-04-01 12:58:59 +05:30
  • b135b6f218 Merge pull request #37 from oSoMoN/diff-arguments Sylvestre Ledru 2024-04-01 00:46:37 +02:00
  • 314e3a7320 Merge pull request #38 from oSoMoN/readme-grammar Sylvestre Ledru 2024-04-01 00:44:36 +02:00
  • 6a73657b3a README: minor grammar correction Olivier Tilloy 2024-04-01 00:26:30 +02:00
  • e9f0630aaf Update fuzzers Olivier Tilloy 2024-03-31 23:39:43 +02:00
  • e6a0ba28c5 Pass a Params reference to the various diff() functions, instead of a long list of arguments Olivier Tilloy 2024-03-31 21:27:28 +02:00
  • 80c9944bf7 Create foo/bar in target/context-diff Tanmay Patil 2024-03-31 22:57:51 +05:30
  • 043c5f9493 Merge branch 'main' into context-diff-modification-time Sylvestre Ledru 2024-03-31 16:17:23 +02:00
  • 9ff8f89626 Fix tests Tanmay Patil 2024-03-28 23:32:46 +05:30
  • 0ab824abda Merge pull request #36 from oSoMoN/default-params Sylvestre Ledru 2024-03-31 09:26:02 +02:00
  • f60fefaf6e Implement the Default trait for Params Olivier Tilloy 2024-03-30 23:50:58 +01:00
  • 14e77548fd Merge pull request #28 from oSoMoN/implement-expand-tabs-option Sylvestre Ledru 2024-03-30 15:28:53 +01:00
  • f2fd2127ed Politely ask clippy to not complain about too many arguments Olivier Tilloy 2024-03-19 19:02:26 +01:00
  • cfc68d58bc Fix fuzzers' invokations Olivier Tilloy 2024-03-19 19:00:39 +01:00
  • e0283083f2 Implement --tabsize option Olivier Tilloy 2024-03-05 18:52:04 +01:00
  • 8d65c2badd Implement -t/--expand-tabs option Olivier Tilloy 2024-03-04 21:41:27 +01:00
  • 42eb15b87a Display modification times of input files in context diff Tanmay Patil 2024-03-27 22:46:23 +05:30
  • a304ac0a68 Merge pull request #30 from cakebaker/fix_clippy_warnings Sylvestre Ledru 2024-03-24 19:28:03 +01:00
  • f916f1ce86 clippy: fix warnings from useless_vec lint Daniel Hofstetter 2024-03-24 14:05:44 +01:00
  • 4ed7ea1553 Implement -q/--brief option (fixes #19) (#20) Olivier Tilloy 2024-03-19 11:45:06 +01:00
  • 62e10c6d6c ci: fuzzers in the Github Actions CI. (#29) hanbings 2024-03-19 04:50:33 +08:00
  • c68d386170 Implement -s/--report-identical-files option (fixes #23) Olivier Tilloy 2024-02-23 23:45:38 +01:00
  • a89f30afa0 Ed diff: compact ranges of lines where possible (fixes #21) Olivier Tilloy 2024-02-23 22:52:54 +01:00
  • 0a67bf9fb8 Add integration tests that check the exit codes and stdout/stderr Olivier Tilloy 2024-02-22 17:15:03 +01:00
  • 1241db4806 Match GNU diff's implementation for exit codes (fixes #17) Olivier Tilloy 2024-02-21 22:43:17 +01:00
  • 3bc8668f78 fix(deps): update rust crate libfuzzer-sys to 0.4 (#5) renovate[bot] 2024-02-17 18:19:02 +01:00
  • c90eee442f Add the example section Sylvestre Ledru 2024-02-17 17:07:28 +01:00
  • 6c29f02527 improve the readme and example Sylvestre Ledru 2024-02-17 17:05:51 +01:00
  • 790ef1e633 Run the GNU test suite in CI (fixes #8) (#13) Olivier Tilloy 2024-02-17 14:27:52 +00:00
  • 4c1a752f11 Merge pull request #12 from oSoMoN/trivial-typo-error-message Sylvestre Ledru 2024-02-09 21:21:43 +01:00
  • 54a5407bec Fix trivial typo in error message Olivier Tilloy 2024-02-09 17:51:50 +01:00
  • 02632e915c Merge pull request #11 from oSoMoN/compact-range-of-lines Sylvestre Ledru 2024-02-09 13:57:51 +01:00
  • 3f9556aa05 Add comments to ease readability and maintainability Olivier Tilloy 2024-02-08 17:04:00 +01:00
  • a94c6a60cf Normal diff: compact ranges of lines where possible (fixes #10) Olivier Tilloy 2024-02-07 20:50:55 +01:00
  • c28973c019 coverage: remove the fail fast to continue for linux even if windows fails Sylvestre Ledru 2024-02-09 10:28:27 +01:00
  • a660f7440c Merge pull request #1 from uutils/renovate/configure Sylvestre Ledru 2024-01-27 09:54:27 +01:00