Commits


add arraylist_test


add results_test.c


results: also combine chunks coming from temp_chunks


myers_divide: fix "inifite" looping over same box


debug: diff_myers.c: #if DEBUG, not if (DEBUG)


fix ARRAYLIST_INSERT()


debug: diff_output_unidiff(): debug list all chunks


fix diff_algo_none(): no NULL pointers for left_start and right_start


diff_state_add_chunk(): fix adding minus above plus chunk: wrong idx


debug tweaks for diff_state_add_chunk()


diff_debug.h: drop unused vars


diff_algo_none(): also detect equal lines at the end


cosmetic: diff_algo_none(): rename to equal_lines_start


cosmetic: diff_algo_none: local pointers for shorter code


debug: fix "state size:" printing buf size


cosmetic: indents in diff_main.h


drop dangerous debug statement


test016: find more minimal test failure


fix unidiff output header in case both files have only one line


fix edscript diff output for empty files


fix unidiff headers for empty files


add a diff output mode which produces simple ed(1) scripts


add a zero-context test and rename the -C option to -U (matches diff(1))


fix line numbers in unidiff hunk headers and omit ",1"; matches diff(1)


add missing curly braces (clang reported misleading indentation)