indefero/test
Thomas Keller d0e2977746 Add support for line ending detection in our diff parser.
Line endings are now preserved during the diff parsing. When the diff
is then rendered later on, we replace non-printable characters by their
ordinal counterparts, so a user can easily grasp changes when a hunk
comes with edits that might be invisible at first.

The expected format for the diff test suite has changed from serialized
PHP to var_export, which is easier readable, editable and understandable,
while still keeping parsable as well.

Support for old Macintosh line endings could not be added, mainly because
modern SCMs do not support single \r in their unified diff output either
and working around and parsing these "lines" would have been a major
headache with not much outcome (given the fact that all Macs that have been
sold since 2001 or 2002 have been BSD-based and as such used Unix line
endings by default).

This commit fixes issue 636.
2011-10-05 02:44:04 +02:00
..
IDF Add support for line ending detection in our diff parser. 2011-10-05 02:44:04 +02:00
data Add support for line ending detection in our diff parser. 2011-10-05 02:44:04 +02:00
bootstrap.php Apparently header() does kind of work for php-cli, but of course breaks horribly. 2011-04-19 11:07:58 +02:00
config.php-dist Expand the bootstrap script to setup an empty IDF environment. 2011-03-24 00:41:22 +01:00