Code

History

Commits on ig/commit-debug to lib/src/diff.rs70+
  1. diff: build left-right index map without using (word, occurrence) hash keysYuya Nishihara committed 2 years ago493f610
  2. diff: introduce newtype that represents word-range indexYuya Nishihara committed 2 years agodd93e8f
  3. diff: pack (text, ranges) pair in a structYuya Nishihara committed 2 years ago739a5d8
  4. diff: sort word occurrences only by positionsYuya Nishihara committed 2 years ago1b46932
  5. diff: use iter::zip() instead of slice indexingYuya Nishihara committed 2 years ago5842267
  6. formatting only: switch to Item level import ganularityMatt Kulukundis committed 2 years ago8ead72e
  7. diff: inline Diff::default_refinement() in diff()Yuya Nishihara committed 2 years ago6101a66
  8. tests: use diff::diff() instead of Diff::default_refinement()Yuya Nishihara committed 2 years ago864dd73
  9. diff: make diff() function accept any number of inputsYuya Nishihara committed 2 years agodb0a4bc
  10. diff: extract Diff::by_word() functionYuya Nishihara committed 2 years ago2be8e59
  11. diff: move empty content optimization from diff() to Diff::for_tokenizer()Yuya Nishihara committed 2 years agoa62c877
  12. tests: add more empty content diff samplesYuya Nishihara committed 2 years ago73e4daf
  13. diff: leverage BStr for better debug printingYuya Nishihara committed 2 years ago6f6381d
  14. diff: add generic DiffHunk constructorsYuya Nishihara committed 2 years ago502547d
  15. diff: accept diff inputs by generic iteratorYuya Nishihara committed 2 years ago59daef2
  16. diff: split non-generic part from Diff::for_tokenizer()Yuya Nishihara committed 2 years ago2ca3bad
  17. diff: add short for Diff::for_tokenizer(_, find_line_ranges)Yuya Nishihara committed 2 years ago6a1d926
  18. diff: simplify trimming of leading/trailing ranges to not rely on recursionYuya Nishihara committed 2 years agodce3ec7
  19. diff: consider uncommon words to match only if they have the same countMartin von Zweigbergk committed 5 years agofefe07b
  20. diff: match up leading/trailing ranges if no match found by uncommon lcsYuya Nishihara committed 2 years ago831bbc0
  21. diff: remove unneeded mutation of histogramYuya Nishihara committed 2 years agoba087f9
  22. diff: rewrite find_line/nonword_ranges() by using iterator adaptersYuya Nishihara committed 2 years agof8b87f6
  23. diff: simply pass tokenizer Fn by valueYuya Nishihara committed 2 years ago5f2f13a
  24. refactor(jj-lib): remove nightly_shims gunkAustin Seipp committed 3 years ago017ce85
  25. docs: warn about missing docs for `jj-lib` crateWaleed Khan committed 3 years ago54dba51
  26. cargo: upgrade regex 1.7.3 to 1.8.1Martin von Zweigbergk committed 3 years agoa19a91b
  27. diff: Treat multi-byte UTF-8 runes as word charactersB Wilson committed 3 years ago01a9ce0
  28. copyright: change from "Google LLC" to "The Jujutsu Authors"Martin von Zweigbergk committed 3 years agod8feed9
  29. diff: add helpers for finding index for non-base sideMartin von Zweigbergk committed 4 years ago6fabf89
  30. diff: switch from BTreeMap to sorted Vec for unchanged rangesMartin von Zweigbergk committed 4 years agofc1731a
  31. diff: also sort base ranges by end pointMartin von Zweigbergk committed 4 years ago934564b
  32. build: conditionally use `map_first_last` feature if availableWaleed Khan committed 4 years ago9202aae
  33. build: add shims for nightly feature `map_first_last`Waleed Khan committed 4 years ago261cd1a
  34. diff: compact adjacent unchanged regions also when using `for_tokenizer()`Martin von Zweigbergk committed 5 years agoe52c902
  35. diff: rewrite diff() using new multi-way diffMartin von Zweigbergk committed 5 years ago81b51de