Commits
- Commit:
1b3c539b2dd85be56e0b40125774b3d621db6351
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
atoms are stored in an array, not a list; use direct indexing instead of loop
- Commit:
7021523c6d7788c452572f0b48f0dcba23199dac
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
print "\ No newline at end of file" message like UNIX diff(1) does
Not adding new tests since this behaviour is covered by tests in Got.
- Commit:
ad5b3f855591bc548f15e09ae4b7fdf674f16245
- From:
- Neels Hofmeyr <neels@hofmeyr.de>
- Date:
rename diff_atom->d to diff_atom->root, because it always is
The idea was that for each diff box within the files, the atoms would have a
backpointer to the current layer of diff_data (indicating the current section),
but it is not actually needed to update the backpointer in each atom to the
current diff_data. That is why the current code always points atom->d to the
root diff_data for the entire file. Clarify by proper name.
Constructs like atom->d->root->foo are redundant, just use atom->root->foo.
- Commit:
fde86f3da94e40ac11b0cd229348d7ae91456270
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add missing curly braces (clang reported misleading indentation)
- Commit:
1dfba0555efd6b616811906d011f96945be90dcc
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
move headers from include/diff/ to include/; makes things easier for consumers
- Commit:
dabc100859385b31dcfbe62d04187d6947a12795
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
check results of ARRAYLIST_ADD
- Commit:
8cba9b5e693b0da4da8e2f83b51ab6ad42430851
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
check return value of diff_output_lines
- Commit:
2c20a3ed9d3c979c38e927387d4ea488e4dd631b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
optionally provide information about the generated diff to the API user
- Commit:
24b5052ac04dc722cd86b4cd6f4a7142542edb74
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add APIs to write out the left and right versions of diff chunks
- Commit:
85ab45596727cfd0254c6d5b6f0c5705b7b6e89e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
move some definitions from the public diff_main.h to an internal header file
- 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:
e10a628aa1d46df600ffc7194d35f67416eaefdd
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
avoid include statements in header files; make each .c pull in what's needed
- 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:
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:
a5cbcf9c3cc6d3acdf73a4c8a1075b1ebd417fb8
- From:
- Martin Pieuchot <mpi@openbsd.org>
- Via:
- Neels Hofmeyr <neels@hofmeyr.de>
- Date:
Only print (unified) header in unified format.
- Commit:
9dabce8a40d592a5f30843b4cacede063f7e7f56
- From:
- Martin Pieuchot <mpi@openbsd.org>
- Via:
- Neels Hofmeyr <neels@hofmeyr.de>
- Date:
Remove unused `arbitrary_info'.
- Commit:
fbd55577b9a5f11638570a18b52d4006bec3581b
- From:
- Neels Hofmeyr <neels@hofmeyr.de>
- Date:
dont escape tabs in text output
- Commit:
3b0f3d6191103b52a0619ed00752f7f5e6fa754c
- From:
- Neels Hofmeyr <neels@hofmeyr.de>
- Date:
initial commit