Code

History

Commits on ig/vimdiffwarn to lib/src/diff.rs70+
  1. formatting only: switch to Item level import ganularityMatt Kulukundis committed 2 years ago8ead72e
  2. diff: inline Diff::default_refinement() in diff()Yuya Nishihara committed 2 years ago6101a66
  3. tests: use diff::diff() instead of Diff::default_refinement()Yuya Nishihara committed 2 years ago864dd73
  4. diff: make diff() function accept any number of inputsYuya Nishihara committed 2 years agodb0a4bc
  5. diff: extract Diff::by_word() functionYuya Nishihara committed 2 years ago2be8e59
  6. diff: move empty content optimization from diff() to Diff::for_tokenizer()Yuya Nishihara committed 2 years agoa62c877
  7. tests: add more empty content diff samplesYuya Nishihara committed 2 years ago73e4daf
  8. diff: leverage BStr for better debug printingYuya Nishihara committed 2 years ago6f6381d
  9. diff: add generic DiffHunk constructorsYuya Nishihara committed 2 years ago502547d
  10. diff: accept diff inputs by generic iteratorYuya Nishihara committed 2 years ago59daef2
  11. diff: split non-generic part from Diff::for_tokenizer()Yuya Nishihara committed 2 years ago2ca3bad
  12. diff: add short for Diff::for_tokenizer(_, find_line_ranges)Yuya Nishihara committed 2 years ago6a1d926
  13. diff: simplify trimming of leading/trailing ranges to not rely on recursionYuya Nishihara committed 2 years agodce3ec7
  14. diff: consider uncommon words to match only if they have the same countMartin von Zweigbergk committed 5 years agofefe07b
  15. diff: match up leading/trailing ranges if no match found by uncommon lcsYuya Nishihara committed 2 years ago831bbc0
  16. diff: remove unneeded mutation of histogramYuya Nishihara committed 2 years agoba087f9
  17. diff: rewrite find_line/nonword_ranges() by using iterator adaptersYuya Nishihara committed 2 years agof8b87f6
  18. diff: simply pass tokenizer Fn by valueYuya Nishihara committed 2 years ago5f2f13a
  19. refactor(jj-lib): remove nightly_shims gunkAustin Seipp committed 3 years ago017ce85
  20. docs: warn about missing docs for `jj-lib` crateWaleed Khan committed 3 years ago54dba51
  21. cargo: upgrade regex 1.7.3 to 1.8.1Martin von Zweigbergk committed 3 years agoa19a91b
  22. diff: Treat multi-byte UTF-8 runes as word charactersB Wilson committed 3 years ago01a9ce0
  23. copyright: change from "Google LLC" to "The Jujutsu Authors"Martin von Zweigbergk committed 3 years agod8feed9
  24. diff: add helpers for finding index for non-base sideMartin von Zweigbergk committed 4 years ago6fabf89
  25. diff: switch from BTreeMap to sorted Vec for unchanged rangesMartin von Zweigbergk committed 4 years agofc1731a
  26. diff: also sort base ranges by end pointMartin von Zweigbergk committed 4 years ago934564b
  27. build: conditionally use `map_first_last` feature if availableWaleed Khan committed 4 years ago9202aae
  28. build: add shims for nightly feature `map_first_last`Waleed Khan committed 4 years ago261cd1a
  29. diff: compact adjacent unchanged regions also when using `for_tokenizer()`Martin von Zweigbergk committed 5 years agoe52c902
  30. diff: rewrite diff() using new multi-way diffMartin von Zweigbergk committed 5 years ago81b51de
  31. diff: add a type for diffing arbitrary number of inputsMartin von Zweigbergk committed 5 years ago987aecc
  32. cleanup: let Clippy fix a bunch of warningsMartin von Zweigbergk committed 5 years ago4c416dd
  33. styler: rename Styler to more standard FormatterMartin von Zweigbergk committed 5 years agob50ef14
  34. diff: fix LCS when a line/word/byte has been moved laterMartin von Zweigbergk committed 5 years ago5b18e89
  35. diff: also recurse into final region after after unchanged regionsMartin von Zweigbergk committed 5 years ago102f7a0