Go to file
Thomas Keller 20c3f14cc8 git and hg diff views did not show empty context lines, a regression
from the commit(s) from issue 633. The diff parser assumed a properly
formatted diff that denotes empty context lines with a single space in
the first column. This single space however was missing, because the
hg and git backends got the diff through PHP's exec() function and
this returns already line-splitted output, but - and this is the actual
problem - removes trailing whitespace at the end of each line, essentially
making " \n" only "\n". When splitting this string now again with
PREG_SPLIT_NO_EMPTY the empty line was completely lost in the diff output.

To make it clear that an empty line does not mark a context line now, but
should stop the diff parsing, the Diff parser now also defaults to 'false'
as line type.

This commit fixes issue 688.
2011-06-02 00:48:38 +02:00
contrib/zipstream-php-0.2.2 fixed two notices which lead to corrupt zip archives 2010-11-09 00:11:27 +00:00
doc Refer to monotone 0.99.1 or later, 0.99 is a bit buggy wrt automation 2011-01-24 12:57:22 +01:00
logo Final adjustions to the project logo code 2011-04-27 00:03:44 +02:00
scripts Update copyrigt 2011-04-02 21:37:07 +02:00
src/IDF git and hg diff views did not show empty context lines, a regression 2011-06-02 00:48:38 +02:00
test Add support for the display of monotone node attributes. 2011-05-31 13:11:55 +02:00
www Mark two new strings in the latest updates view for translation; 2011-05-16 23:49:08 +02:00
.gitattributes Add basic source version tracking. 2011-03-20 00:57:49 +01:00
.gitignore Expand the bootstrap script to setup an empty IDF environment. 2011-03-24 00:41:22 +01:00
AUTHORS Add Stewart to AUTHORS. 2011-03-30 00:13:50 +02:00
CONTRIBUTE.mdtext Fix the transifex URL and re-wrap this section slightly. 2011-03-14 00:11:08 +01:00
COPYING Added installation instructions and configuration example. 2008-08-02 15:13:21 +02:00
INSTALL.mdtext Second pass of code review 2011-04-11 15:37:40 +02:00
Makefile Various smaller fixes to the Makefile. 2011-03-20 01:07:34 +01:00
NEWS.mdtext git and hg diff views did not show empty context lines, a regression 2011-06-02 00:48:38 +02:00
phpunit.xml Ignore a couple of files for code coverage that should not be covered; 2011-03-25 00:29:50 +01:00
release-script Add the PHP command to extract the i18n contents from Pluf's template files 2011-02-09 01:02:58 +01:00
run-tests Ignore a couple of files for code coverage that should not be covered; 2011-03-25 00:29:50 +01:00