Commits
- Commit:
05b5f01fe731ec1197dbb90d6b0c98cd7dd3b465
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix segfault which occurred with empty input files
- Commit:
945524ed4b6d392d757bcb026f93717922e64a88
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove abort() in example code
- Commit:
6f26cb2ecbe03d692e63a4f263febfb5a74e4377
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
convert abort() in diff_output_lines() to error return
- Commit:
7a54ad3ae5d25aa5349668c8d3d3fa048a8f0733
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
use buffered stdio if falling back on file i/o; this is much faster
- Commit:
03f497279db41e42ac287a15df9f9e03c4c83fd2
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
return error instead of abort()
- Commit:
bfdc637cd940bf4b07066ff96bb48d8bc40e7134
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add missing reallocarray(3) compat shim
- Commit:
18a9c7f892c7460bf71ec8b912cfbe3ac028aecd
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove another custom linux shim in favour of compat/ directory
- Commit:
41d00e9f34296294af1563a9e05bb39c6f428a41
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make use of source files in compat/ directory on Linux
- Commit:
3ba0a2ed9248c03ceb66583587fba9b20c77747a
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
enable -Wstrict-prototype and -Wunused-variable in Linux build
- Commit:
cc5f4ee87bcb16d81774bfa1a89ccc53ea0213e2
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
rename linux_Makefile to GNUmakefile; GNU make picks this up automatically
- Commit:
440d36388f04f175fd7c97bd2d87ad60f9cb8675
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove unused portable GNUmakefile
- Commit:
009611347562f3a497a44c36a135deb5f7182335
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
reduce default diff-box recursion depth from 1024 to 32
- Commit:
e4464189bc895121565a7a02eef98262343e6e24
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
rename 'debug.h' to 'diff_debug.h'
- Commit:
527f2c8a94ec96cdf79504060f948ec88c070289
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add a -C option which sets the amount of context lines in unified diffs
- Commit:
732e8ee0325715558a17b919a7f6a16bf64d66e3
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
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'
- Commit:
cd25827e24b8fad0a3f4a89b72fbdba86bc2c5d1
- From:
- Neels Hofmeyr <neels@hofmeyr.de>
- Date:
myers_divide: stop traversing snakes after reasonable max effort
- Commit:
8546b0450f31c11e9433f5d5c6dc1d79c86107ed
- From:
- Neels Hofmeyr <neels@hofmeyr.de>
- Date:
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.
- Commit:
2c8a57df59d1b63727c21ec367fdd2a091392d0c
- From:
- Neels Hofmeyr <neels@hofmeyr.de>
- Date:
add ARRAYLIST_INSERT()
- Commit:
44cf49504c18b4bb2edd3518b6e1192b5e4f4416
- From:
- Neels Hofmeyr <neels@hofmeyr.de>
- Date:
patience: error handling from diff_atoms_same()
- Commit:
ac2eeeffef0b2071f39513685c4b6d594a30416d
- From:
- Neels Hofmeyr <neels@hofmeyr.de>
- Date:
myers: error handling from diff_atoms_same()
- Commit:
b3fb46867c2efc085c584bd336b9dca9cf26a161
- From:
- Neels Hofmeyr <neels@hofmeyr.de>
- Date:
add diff_atom_cmp() and error handling to diff_atom_same()
- Commit:
e10a628aa1d46df600ffc7194d35f67416eaefdd
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
avoid include statements in header files; make each .c pull in what's needed
- Commit:
3e6cba3a54789e151b37851eef9cdccc4180ae40
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
replace enum diff_rc errors with plain errno values
- Commit:
80b447444e135e42383c31acf4e452fefbd6ecad
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix build with 'make PROFILE=1' on OpenBSD
- Commit:
c6eecea3241f36efced72dc3b7c5b023c89e1c4a
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fall back on file i/o in case an input file cannot be memory-mapped