summaryrefslogtreecommitdiffstats
path: root/src/edits.rs
AgeCommit message (Collapse)Author
2020-12-03Disable some clippy warnings (#422)Dan Davison
2020-08-01Initial implementation of color-moved supportDan Davison
- Inspect the raw hunk line - If it does not appear to be a standard minus/plus line, treat it as moved - Apply special delta color-moved-* styles
2020-07-11Add side-by-side diff view (#243)Dan Davison
Closes #86
2020-07-08Rename variableDan Davison
2020-06-26Bugfix: change op-coalescing algorithm when inferring editsDan Davison
(No test coverage)
2020-06-11Bugfix: highlight trailing whitespace added to a blank lineDan Davison
Fixes #212
2020-06-11New option --word-diff-regexDan Davison
Fixes #184
2020-06-11Bug fix: fix tokenization of non-ASCII textDan Davison
2020-06-11Add test of tokenization of non-ASCII inputDan Davison
2020-06-11Fix test: force tokenization algorithm to match previous behaviorDan Davison
2020-06-11Invert semantics of tokenization regular expressionDan Davison
2020-06-11Strengthen tokenization testsDan Davison
2020-06-11Add tokenization testDan Davison
2020-06-11Add test of minimal tokenization edge casesDan Davison
2020-05-27Bug fix: fix spurious application of non-emph stylesDan Davison
2020-05-23Delete test that wasn't asserting anythingDan Davison
2020-05-18Performance: create regexp as a top-level staticDan Davison
This seems to be a huge performance improvement: `make benchmark` changes from 1.7s to 0.9s.
2020-05-01Experimental: assume naive line pairings are homologousDan Davison
Experimental feature controlled by environment variable DELTA_EXPERIMENTAL_MAX_LINE_DISTANCE_FOR_NAIVELY_PAIRED_LINES.
2020-04-15Merge branch 'master' into width-calc-fixDan Davison
2019-11-17Allow ignoring `git diff` virtual pathMarcelo Lima
2019-11-14Properly calculate string widths with unicode_widthWang Xuerui
Fixes diffs rendering with lines containing CJK characters.
2019-10-16Changed the tests to reflect the changeath3
2019-10-16Extended separators to better match github diffath3
2019-09-03Ignore failing testDan Davison
2019-08-11Add failing test of edits inferenceDan Davison
2019-08-11Add failing test of edits inferenceDan Davison
2019-08-11Coalesce noop-whitespace with previous operation when annotatingDan Davison
2019-08-11Add failing test of edits inferenceDan Davison
2019-08-11Add test of edits inferenceDan Davison
2019-08-11Align separating text as multiple single-character tokens.Dan Davison
2019-08-11Clean upDan Davison
2019-08-08ClippyDan Davison
2019-08-08Edit docstrings and commentsDan Davison
2019-08-08Trim leading and trailing whitespace when computing distanceDan Davison
2019-08-07Compute distance in annotation routineDan Davison
2019-08-07Move run-length encodingDan Davison
2019-08-06Fix testsDan Davison
2019-08-06Use alignment to annotate line pairDan Davison
2019-08-06Use enum instead of ad-hoc integer codeDan Davison
2019-08-06Update testsDan Davison
- Fix tests - Reproduce bug: short string vs long
2019-08-06Don't right-pad and newline-terminate lines before alignmentDan Davison
The --width feature is broken at this commit
2019-08-06Clean up distance-metricsDan Davison
2019-08-06Change tokenization algorithmDan Davison
2019-08-06Clean up testsDan Davison
2019-08-06Align tokenized string instead of characters/graphemesDan Davison
Thanks @clnoll
2019-08-06Use Needleman-Wunsch / Wagner-Fischer algorithmDan Davison
2019-07-29Exclude leading whitespace in edit distance calculationDan Davison
2019-07-29Count leading whitespace when computing common prefixDan Davison
This change allows change_begin to differ between minus and plus lines, in the case where they have different amounts of leading whitespace.
2019-07-29Suppress new lines in debugging utilityDan Davison
2019-07-29Edits: unit test of real bugDan Davison