Commit Graph

  • eee6f49920 Update Rust crate unicode-width to v0.1.13 renovate[bot] 2024-06-04 17:06:50 +00:00
  • 8a3a977d2c Update the expected error message for Windows Olivier Tilloy 2024-04-23 22:29:02 +02:00
  • fa4e0c6097 Make error message consistent with GNU diff's implementation when failing to read input file(s) Olivier Tilloy 2024-04-23 20:02:34 +02:00
  • d362046ae5 release v0.4.2 Sylvestre Ledru 2024-05-19 19:09:05 +02:00
  • 7964afa336 Merge pull request #74 from uutils/cargo-dist Daniel Hofstetter 2024-05-19 12:40:07 +02:00
  • 80b993141b cargo-dist: generate more targets cargo-dist Sylvestre Ledru 2024-05-19 11:59:26 +02:00
  • d922313c8c Merge pull request #71 from uutils/renovate/libfuzzer-sys-0.x Daniel Hofstetter 2024-05-01 13:37:01 +02:00
  • 3e246ab36c Merge pull request #72 from uutils/renovate/pretty_assertions-1.x Daniel Hofstetter 2024-05-01 13:29:09 +02:00
  • 4b70969ff1 Update Rust crate pretty_assertions to 1.4.0 renovate[bot] 2024-05-01 09:56:55 +00:00
  • 767c6f6c4a Update Rust crate libfuzzer-sys to 0.4.7 renovate[bot] 2024-05-01 09:56:50 +00:00
  • 1f896ca1ac Merge pull request #69 from oSoMoN/cargo-dist-version-0.13.3 Sylvestre Ledru 2024-05-01 08:31:36 +02:00
  • 713bd210ab CI: Update 'cargo dist' to version 0.13.3 Olivier Tilloy 2024-04-30 23:55:49 +02:00
  • 61314eaf4e Merge pull request #65 from uutils/renovate/unicode-width-0.x Olivier Tilloy 2024-04-30 18:47:39 +02:00
  • bf9147733d Update Rust crate unicode-width to 0.1.12 renovate[bot] 2024-04-30 05:30:32 +00:00
  • ce8457cbdb Merge pull request #67 from oSoMoN/macos-ci-install-gpatch Daniel Hofstetter 2024-04-30 07:14:02 +02:00
  • df778c610b CI: install GNU patch on MacOS (fixes #66) Olivier Tilloy 2024-04-29 22:55:08 +02:00
  • d92132e721 version 0.4.1 v0.4.1 Sylvestre Ledru 2024-04-27 13:12:58 +02:00
  • 99d4d02985 add missing copyright Sylvestre Ledru 2024-04-27 13:12:16 +02:00
  • e7dc6558c6 Merge pull request #56 from TanmayPatil105/handle-directory-input Olivier Tilloy 2024-04-23 22:40:28 +02:00
  • 8c6a648aef Merge branch 'main' into handle-directory-input Tanmay Patil 2024-04-23 23:11:31 +05:30
  • 0304391bc5 Create test files in temporary directory Tanmay Patil 2024-04-23 22:44:06 +05:30
  • 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