summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2021-12-16Add example diff reproducing #677677-binary-dataDan Davison
2021-12-15Update --help textDan Davison
2021-12-15Bump version in docsDan Davison
2021-12-15Bump version0.11.3Dan Davison
2021-12-15Update sysinfo to released versionDan Davison
Ref #839
2021-12-14Line state refactor (#851)Dan Davison
* Refactor: compute raw line and new line state
2021-12-14Delete calls printing output in testsDan Davison
2021-12-14Add inspect_raw method to DeltaTestDan Davison
2021-12-14Add markers surrounding DeltaTest::inspect() outputDan Davison
2021-12-14Don't take syntax-theme from env var during testsDan Davison
Fixes #842
2021-12-14Revert "Ignore test maing ANSI assertions"Dan Davison
This reverts commit 424fe8b59ad33cf80ec16b33c858525daec82716.
2021-12-13Clean up DeltaTest argumentDan Davison
2021-12-13Add Test for #753 3ce64ddefb896f8a64013deb78235b4dda1d0fb8Dan Davison
2021-12-13Bug fix: emit merge conflict markers even when width=variableDan Davison
2021-12-12Emit line as raw if canonical line state is rawDan Davison
Fixes #753
2021-12-12Refactor: make state available when determining whether line should be ↵Dan Davison
emitted raw
2021-12-12DELTA_FEATURES appends iff prefixed with +Dan Davison
Thanks @bew for the suggestion. Fixes #848
2021-12-12Avoid using environment variables during testsDan Davison
2021-12-12Add @Wilfred's difftastic to Similar Projects section of READMEDan Davison
2021-12-12Fix tests: don't access lazy_static in testsDan Davison
2021-12-12Disable line numbers and side-by-side under --word-diffDan Davison
We currently have no way of computing correct line numbers: it seems that we would need to identify wholly added and removed lines from the ANSI color sequences. side-by-side is (I imagine) almost always used with line numbers, and it doesn't make much sense for word-diff anyway.
2021-12-12Raw pass-through handling of --word-diff and --color-words outputDan Davison
The previous implementation (5895cfa) was incorrect. Fixes #829
2021-12-12Failed attempt to add a test of --map-styles with --color-wordsDan Davison
2021-12-12Allow calling process to be specified in DeltaTest builder methodsDan Davison
2021-12-12Add failing tests of --word-diff and --color-wordsDan Davison
2021-12-12Refactor: factor out a helper function in DeltaTestDan Davison
2021-12-11Fix specification of git revision in Cargo.toml dependencyDan Davison
Ref #845
2021-12-11Do not query CPU data when querying process data (#845)Dan Davison
* Do not query CPU data when querying process data Fixes #839 Ref https://github.com/GuillaumeGomez/sysinfo/issues/632 * Update branch of sysinfo * Update upstream sysinfo commit Ref https://github.com/GuillaumeGomez/sysinfo/pull/636 * Point sysinfo at an explicit commit rather than a symbolic branch name commit d647acfbf216848a8237e1f9251b2c48860a547f Merge: 989ac6c 67a586c Author: Guillaume Gomez <guillaume1.gomez@gmail.com> Date: 2 hours ago Merge pull request #636 from GuillaumeGomez/update-if-needed Only update processors if needed
2021-12-11Query fewer processes when searching for the parentThomas Otto
This query now happens for more invocation types, so speed it up. Call `refresh_process()` only on pids numerically close to the one of delta itself.
2021-12-11Store history file in data_local_dir for Windows (#847)Rashil Gandhi
* Store history file in data_local_dir * Be specific
2021-12-09Store raw_line in HunkZero, as HunkMinus and HunkPlusDan Davison
ref #829
2021-12-09RefactorDan Davison
Ref #829
2021-12-09Update documentation of --width in READMEDan Davison
2021-12-09Fix documentation of --width optionDan Davison
Fixes #61
2021-12-08Ignore test maing ANSI assertionsDan Davison
This fails currently in some environments. Fixes #842
2021-12-08Bump sysinfo from 0.19.2 to 0.20.5dependabot[bot]
Bumps [sysinfo](https://github.com/GuillaumeGomez/sysinfo) from 0.19.2 to 0.20.5. - [Release notes](https://github.com/GuillaumeGomez/sysinfo/releases) - [Changelog](https://github.com/GuillaumeGomez/sysinfo/blob/master/CHANGELOG.md) - [Commits](https://github.com/GuillaumeGomez/sysinfo/commits) --- updated-dependencies: - dependency-name: sysinfo dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2021-12-08Fix order of struct entriesDan Davison
2021-12-07Bump version0.11.2Dan Davison
2021-12-07Disable last-resort process tree inspectionDan Davison
See #824 in which some users are reporting very slow performance. Fixes #824
2021-12-07Fixed some test clippysThomas Otto
Note that currently `cargo clippy --tests` is not checked by the CI runs
2021-12-07Fix more side-by-side line number miscountsThomas Otto
2021-12-07Add DeltaTest to speed up adding and fixing testsThomas Otto
Using a syntax similar to the builder pattern: `DeltaTest::with([config options]).with_input(DIFF).expect(lines)` plus `.explain_ansi()` to pretty-print ansi codes and `.inspect()` to print the to-be-tested output. Rewrite a few tests using it and add ansi tests for --line-fill-method=<spaces|ansi>
2021-12-07Move explain_ansi() part out of parse_ansi()Thomas Otto
2021-12-07Clarify hyperlinks fieldAn Yu
2021-12-06Add @nkouevda's pdiff to the Similar Projects listDan Davison
2021-12-06Bump version in links to executablesDan Davison
2021-12-06Bump version0.11.1Dan Davison
2021-12-06Be permissive about unexpected state machine stateDan Davison
Fixes #826
2021-12-05Add a link to ARCHITECTURE.mdDan Davison
2021-12-05Update READMEDan Davison