"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "framework/gii/components/Pear/Text/Diff/Engine/shell.php" between
yii-1.1.19.5790cb.tar.gz and yii-1.1.20.6ed384.tar.gz

About: Yii is a high-performance component-based PHP framework for developing large-scale Web applications. Hint: Yii 1.1 is now in maintenance mode.

shell.php  (yii-1.1.19.5790cb):shell.php  (yii-1.1.20.6ed384)
skipping to change at line 88 skipping to change at line 88
if ($match[3] == 'a') { if ($match[3] == 'a') {
$from_line_no--; $from_line_no--;
} }
if ($match[3] == 'd') { if ($match[3] == 'd') {
$to_line_no--; $to_line_no--;
} }
if ($from_line_no < $match[1] || $to_line_no < $match[4]) { if ($from_line_no < $match[1] || $to_line_no < $match[4]) {
// copied lines // copied lines
assert('$match[1] - $from_line_no == $match[4] - $to_line_no'); assert($match[1] - $from_line_no == $match[4] - $to_line_no);
array_push($edits, array_push($edits,
new Text_Diff_Op_copy( new Text_Diff_Op_copy(
$this->_getLines($from_lines, $from_line_no, $match[1] - 1), $this->_getLines($from_lines, $from_line_no, $match[1] - 1),
$this->_getLines($to_lines, $to_line_no, $match[4] - 1)) ); $this->_getLines($to_lines, $to_line_no, $match[4] - 1)) );
} }
switch ($match[3]) { switch ($match[3]) {
case 'd': case 'd':
// deleted lines // deleted lines
array_push($edits, array_push($edits,
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)