3 years ago fde86f3da9 Stefan Sperling
add missing curly braces (clang reported misleading indentation)
3 years ago 1dfba0555e Stefan Sperling
move headers from include/diff/ to include/; makes things easier for consumers
3 years ago dabc100859 Stefan Sperling
check results of ARRAYLIST_ADD
3 years ago 8cba9b5e69 Stefan Sperling
check return value of diff_output_lines
3 years ago 2c20a3ed9d Stefan Sperling
optionally provide information about the generated diff to the API user
3 years ago 24b5052ac0 Stefan Sperling
add APIs to write out the left and right versions of diff chunks
3 years ago 85ab455967 Stefan Sperling
move some definitions from the public diff_main.h to an internal header file
3 years ago 6f26cb2ecb Stefan Sperling
convert abort() in diff_output_lines() to error return
3 years ago 7a54ad3ae5 Stefan Sperling
use buffered stdio if falling back on file i/o; this is much faster
3 years ago e10a628aa1 Stefan Sperling
avoid include statements in header files; make each .c pull in what's needed
4 years ago c6eecea324 Stefan Sperling
fall back on file i/o in case an input file cannot be memory-mapped
4 years ago 0d27172a82 Neels Hofmeyr
KNF: use max 80 columns
4 years ago 61a7b57805 Neels Hofmeyr
KNF: function declaration return types on separate line
4 years ago a5cbcf9c3c Neels Hofmeyr
Only print (unified) header in unified format.
4 years ago 9dabce8a40 Neels Hofmeyr
Remove unused `arbitrary_info'.
4 years ago fbd55577b9 Neels Hofmeyr
dont escape tabs in text output
4 years ago 3b0f3d6191 Neels Hofmeyr
initial commit