Commits
- Commit:
4caffd34d5269aff7c05edde02a4acb5b33a718d
- From:
- Neels Hofmeyr <neels@hofmeyr.de>
- Date:
linux_Makefile: gprof
- Commit:
760fe30eb1f6351170157beaae12a0ca0c2698a9
- From:
- Neels Hofmeyr <neels@hofmeyr.de>
- Date:
diff cmdline tool: allow using Patience by -p arg
- Commit:
a45330b1527e02e1627af02b55831f4cdf8794b4
- From:
- Neels Hofmeyr <neels@hofmeyr.de>
- Date:
fix myers divide: properly trigger division on single midpoints
- Commit:
b47897f387d8f7e9152f0b0e1b1d5548c7bab6f2
- From:
- Neels Hofmeyr <neels@hofmeyr.de>
- Date:
add test012
test010 has a weird failure to find a good diff. This new test, when setting
the permitted_state_size = 100, gives a shorter failure that test010, to allow
easier debugging.
- Commit:
c5419a0537f77645e9b527a1fa97c2d7c2ecead9
- From:
- Neels Hofmeyr <neels@hofmeyr.de>
- Date:
debug: myers divide: log nr of identical lines slid over
- Commit:
f71e8098324d6de96d593537a80b348d7f032e4d
- From:
- Neels Hofmeyr <neels@hofmeyr.de>
- Date:
fix diff_algo_myers_divide's finding of midpoints
When forwards and backwards traversals meet, the endpoints of the mid-snake are
not the two points in kd_forward and kd_backward, but rather the section that
was slid (if any) of the current forward/backward traversal only.
For example:
o-o-o
| |
o A
| \
o o
\
M
|\
o o-o-o
| | |
o o X
\
o
\
o
\
o
The backward traversal reached M from the bottom and slid upwards.
The forward traversal already reached X, which is not a straight line from M
anymore, so picking a mid-snake from M to X would yield a mistake.
The correct mid-snake is between M and A. M is where the bottom traversal hit
the diagonal that the forwards traversal has already passed, and A is what it
reaches when sliding up identical lines.
- Commit:
50198b5f2f9c8dd7d1deefed0fa25cabbf2af92f
- From:
- Neels Hofmeyr <neels@hofmeyr.de>
- Date:
debug: myers graph dump tweaks
In debug output:
fix some indents,
fix printing of max state size,
in myers graph, limit x axis labels to 2 digits,
print colored markers of current myers graph positions,
also print myers-divide positions in myers graph.
- Commit:
09c9539493a3f69ab1c1e259ef4c8ea22e57f906
- From:
- Neels Hofmeyr <neels@hofmeyr.de>
- Date:
comment tweak
- Commit:
f8cbb8fea02ccfaa3581f70556d4670b88ce2b0d
- From:
- Neels Hofmeyr <neels@hofmeyr.de>
- Date:
remove code dup of diff_main() invocation for plain vs unidiff
- Commit:
501e780790ed4cd0aa9e3404e28e0204de28c9fc
- From:
- Neels Hofmeyr <neels@hofmeyr.de>
- Date:
add test010, test011
- Commit:
a5cbcf9c3cc6d3acdf73a4c8a1075b1ebd417fb8
- From:
- Martin Pieuchot <mpi@openbsd.org>
- Via:
- Neels Hofmeyr <neels@hofmeyr.de>
- Date:
Only print (unified) header in unified format.
- Commit:
9dabce8a40d592a5f30843b4cacede063f7e7f56
- From:
- Martin Pieuchot <mpi@openbsd.org>
- Via:
- Neels Hofmeyr <neels@hofmeyr.de>
- Date:
Remove unused `arbitrary_info'.
- Commit:
fd42ca98a7bf3d1919a812ebc4391336ae6f0bed
- From:
- Neels Hofmeyr <neels@hofmeyr.de>
- Date:
diff_divide_myers_forward(): less indent by 'continue'
- Commit:
9cc496958604ae55f39468929fb9f5b4904fc717
- From:
- Neels Hofmeyr <neels@hofmeyr.de>
- Date:
diff_output_unidiff(): less indent by 'continue'
- Commit:
b858fc9f8b3eee4ec048dcd8083ccfa4384e68db
- From:
- Martin Pieuchot <mpi@openbsd.org>
- Via:
- Neels Hofmeyr <neels@hofmeyr.de>
- Date:
Compat goo for gmake/glibc/Linux
- Commit:
826c8cf15933d99e93bcb7940c826773c4d34f86
- From:
- Martin Pieuchot <mpi@openbsd.org>
- Via:
- Neels Hofmeyr <neels@hofmeyr.de>
- Date:
Kill unused variables
- Commit:
15ac50e24fbf291e454c5cfbf3358c8ecfcf56a8
- From:
- Neels Hofmeyr <neels@hofmeyr.de>
- Date:
Fix macro diff_atom_*idx return value types
The macros sometimes returned unsigned int (atoms.len) or long int ((ATOM) -
head). Make that always unsigned int, with some range checks against negative
values.
- Commit:
8ad022d28ef2432ad9fcd3b13fca28d0d813631f
- From:
- Neels Hofmeyr <neels@hofmeyr.de>
- Date:
diff.c: move two #include to the top
- Commit:
bb7fb738462f1e54a85659098b77605727b9dee0
- From:
- Neels Hofmeyr <neels@hofmeyr.de>
- Date:
patience: reduce sections by swallowing identical lines before LCS
- Commit:
54fa822893d2fcc170a2d3051d1640bf5303894e
- From:
- Neels Hofmeyr <neels@hofmeyr.de>
- Date:
move struct range defs to diff_main.h (prep for upcoming patch)
- Commit:
c620ba7f923e0e2cca34aeafbc93133ed727a052
- From:
- Neels Hofmeyr <neels@hofmeyr.de>
- Date:
lib/linux_Makefile: -O3
- Commit:
13b152737318b3ddf12efd04d2ecd8b22708f052
- From:
- Neels Hofmeyr <neels@hofmeyr.de>
- Date:
debug: dump at most 42 lines
- Commit:
72057b70697f93fa5e0c0b63ed2e378aab485bda
- From:
- Neels Hofmeyr <neels@hofmeyr.de>
- Date:
debug: dont dump too large myers graphs
- Commit:
fbd55577b9a5f11638570a18b52d4006bec3581b
- From:
- Neels Hofmeyr <neels@hofmeyr.de>
- Date:
dont escape tabs in text output
- Commit:
9e6681576e294abc628335cb0d8d0b7800c7fd13
- From:
- Neels Hofmeyr <neels@hofmeyr.de>
- Date:
myers: permit ~4Mb of state