Commits
- Commit:
4873aa776d626156acb180e4b77664de7e363ef9
- From:
- Neels Hofmeyr <neels@hofmeyr.de>
- Date:
fix myers divide: properly trigger division on single midpoints
- Commit:
119e5068144eca6861cc11ec96b620177fb26a07
- 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:
879f9a79f56e18d85f7992cc5abd3595a0bb7d62
- From:
- Neels Hofmeyr <neels@hofmeyr.de>
- Date:
debug: myers divide: log nr of identical lines slid over
- Commit:
4c42e835223f6d22891beb0abc2d2663ae3d9b7a
- From:
- Neels Hofmeyr <neels@hofmeyr.de>
- Date:
fix diff_algo_myers_divide
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:
223979a920a4be072343306ca1c3a34efb036f31
- 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:
0ea9501aa02aa4bbaed4bd7e2818bf946b01cfa6
- From:
- Neels Hofmeyr <neels@hofmeyr.de>
- Date:
.gitignore: gmon.out
- Commit:
165321bcd592d0b5ab8c28575264f22e58500592
- From:
- Neels Hofmeyr <neels@hofmeyr.de>
- Date:
comment tweak
- Commit:
cec776f209b55b642230c6ba5ac2454dc5e18f14
- From:
- Neels Hofmeyr <neels@hofmeyr.de>
- Date:
remove code dup of diff_main() invocation for plain vs unidiff
- Commit:
2ddc199c9d489eedfb94f16c45c5f958f7474ee4
- From:
- Neels Hofmeyr <neels@hofmeyr.de>
- Date:
add test010, test011
- Commit:
c13c580d7b6a22565be7dc54d86ae2084ea03c34
- From:
- Martin Pieuchot <mpi@openbsd.org>
- Via:
- Neels Hofmeyr <neels@hofmeyr.de>
- Date:
Only print (unified) header in unified format.
- Commit:
47fd83fcd0bdd780e533fd2b9cda695dbff07e88
- From:
- Martin Pieuchot <mpi@openbsd.org>
- Via:
- Neels Hofmeyr <neels@hofmeyr.de>
- Date:
Remove unused `arbitrary_info'.
- Commit:
75f578612389a9a23140ae96c00964614a13fd1a
- From:
- Neels Hofmeyr <neels@hofmeyr.de>
- Date:
diff_divide_myers_forward(): less indent by 'continue'
- Commit:
cad38302aa5cdd7e2ff652f5194cd19c6e413102
- From:
- Neels Hofmeyr <neels@hofmeyr.de>
- Date:
diff_output_unidiff(): less indent by 'continue'
- Commit:
6c0c3bc03a950c1ff935f458e92068ed61415875
- From:
- Martin Pieuchot <mpi@openbsd.org>
- Via:
- Neels Hofmeyr <neels@hofmeyr.de>
- Date:
Compat goo for gmake/glibc/Linux
- Commit:
4ba235e4045065bf5f8b5f6804f54f800846bc81
- From:
- Martin Pieuchot <mpi@openbsd.org>
- Via:
- Neels Hofmeyr <neels@hofmeyr.de>
- Date:
Kill unused variables
- Commit:
f2aebda43f1e6ea926543dc93171a423a0bf5fd5
- 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:
fbbf4c35d476db3fcb541151a6acb5c8ce63ce81
- From:
- Neels Hofmeyr <neels@hofmeyr.de>
- Date:
diff.c: move two #include to the top
- Commit:
ba0331d907c4dec81f17c24096308c15b10ab1aa
- From:
- Neels Hofmeyr <neels@hofmeyr.de>
- Date:
set myers fallback to myers_divide
- Commit:
29f5ff1dca539ddadde248885644eead6408d8ff
- From:
- Neels Hofmeyr <neels@hofmeyr.de>
- Date:
linux_Makefile: gprof
- 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