Commits
- Commit:
00d5652be692793aa7c9285b490702d05a7ab8df
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
convert 'ignore_whitespace' boolean into a more general flags argument
- Commit:
62ab48ecd9c2696e7929e41bc2a683facffdcfcb
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove now redundant declaration from diff_main.h
- Commit:
85ab45596727cfd0254c6d5b6f0c5705b7b6e89e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
move some definitions from the public diff_main.h to an internal header file
- Commit:
7a54ad3ae5d25aa5349668c8d3d3fa048a8f0733
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
use buffered stdio if falling back on file i/o; this is much faster
- 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:
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:
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:
c6eecea3241f36efced72dc3b7c5b023c89e1c4a
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fall back on file i/o in case an input file cannot be memory-mapped
- Commit:
d362ea2e854f8c315f7f54d125439540e0649383
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
move 'struct range' and related functions into the diff_ namespace
no functional change
- Commit:
0d27172a828e5ff3c6457cbf0d36a88c9bd8e370
- From:
- Neels Hofmeyr <neels@hofmeyr.de>
- Date:
KNF: use max 80 columns
- Commit:
61a7b57805472a03ad39d7bf4ef6d705eb0ccac2
- From:
- Neels Hofmeyr <neels@hofmeyr.de>
- Date:
KNF: function declaration return types on separate line
- Commit:
15ac50e24fbf291e454c5cfbf3358c8ecfcf56a8
- 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:
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:
3b0f3d6191103b52a0619ed00752f7f5e6fa754c
- From:
- Neels Hofmeyr <neels@hofmeyr.de>
- Date:
initial commit