Commit Briefs


2a1b94d029 Stefan Sperling

repair DEBUG build




05b5f01fe7 Stefan Sperling

fix segfault which occurred with empty input files



0096113475 Stefan Sperling

reduce default diff-box recursion depth from 1024 to 32


e4464189bc Stefan Sperling

rename 'debug.h' to 'diff_debug.h'


732e8ee032 Stefan Sperling

add support for ignoring whitespace (-w option)

Tests grow the ability to call diff with options. Options to use are encoded in the test file name as a single dash followed by a string of option letters. E.g. -wp for 'ignore whitespace' and 'do patience'


8546b0450f Neels Hofmeyr

diff result: ensure sane order of result chunks

Ensure that a adjacent chunks of same type are combined, and that a minus block always precedes an adjacent plus block. The upcoming myers-divide optimization is prone to produce weird ordering of plus and minus chunks.




3e6cba3a54 Stefan Sperling

replace enum diff_rc errors with plain errno values



0d27172a82 Neels Hofmeyr

KNF: use max 80 columns


61a7b57805 Neels Hofmeyr

KNF: function declaration return types on separate line


50198b5f2f Neels Hofmeyr

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.


3b0f3d6191 Neels Hofmeyr

initial commit