cvs: pear /PhpDocumentor package.xml /PhpDocumentor/phpDocumentor phpDocumentorTWordParser.inc /PhpDocumentor/scripts create_package.xml.php
| From: | Greg Beaver | Date: | Sun, 20 Nov 2005 20:49:39 +0000 |
| Subject: | cvs: pear /PhpDocumentor package.xml /PhpDocumentor/phpDocumentor phpDocumentorTWordParser.inc /PhpDocumentor/scripts create_package.xml.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-36412@lists.php.net to get a copy of this message | ||
cellog Sun Nov 20 15:49:39 2005 EDT
Modified files:
/pear/PhpDocumentor package.xml
/pear/PhpDocumentor/phpDocumentor phpDocumentorTWordParser.inc
/pear/PhpDocumentor/scripts create_package.xml.php
Log:
fix sourceforge bug [ 896444 ] Bad line numbers
http://cvs.php.net/diff.php/pear/PhpDocumentor/package.xml?r1=1.5&r2=1.6&ty=u
Index: pear/PhpDocumentor/package.xml
diff -u pear/PhpDocumentor/package.xml:1.5 pear/PhpDocumentor/package.xml:1.6
--- pear/PhpDocumentor/package.xml:1.5 Sun Nov 20 15:25:22 2005
+++ pear/PhpDocumentor/package.xml Sun Nov 20 15:49:36 2005
@@ -117,6 +117,7 @@
of private/public/static/etc. access modifiers
- fixed these bugs:
[ not entered ] XMLDocBookpeardoc2 beautifier removes comments
+ [ 896444 ] Bad line numbers
[ 937235 ] duplicated /** after abstract method declaration
[ 1150809 ] Infinite loop when class extends itself
[ 1151196 ] PHP Fatal error: Cannot re-assign $this
@@ -2709,6 +2710,7 @@
of private/public/static/etc. access modifiers
- fixed these bugs:
[ not entered ] XMLDocBookpeardoc2 beautifier removes comments
+ [ 896444 ] Bad line numbers
[ 937235 ] duplicated /** after abstract method declaration
[ 1150809 ] Infinite loop when class extends itself
[ 1151196 ] PHP Fatal error: Cannot re-assign $this
http://cvs.php.net/diff.php/pear/PhpDocumentor/phpDocumentor/phpDocumentorTWordParser.inc?r1=1.1&r2=1.2&ty=u
Index: pear/PhpDocumentor/phpDocumentor/phpDocumentorTWordParser.inc
diff -u pear/PhpDocumentor/phpDocumentor/phpDocumentorTWordParser.inc:1.1
pear/PhpDocumentor/phpDocumentor/phpDocumentorTWordParser.inc:1.2
--- pear/PhpDocumentor/phpDocumentor/phpDocumentorTWordParser.inc:1.1 Mon Oct 17 14:36:57 2005
+++ pear/PhpDocumentor/phpDocumentor/phpDocumentorTWordParser.inc Sun Nov 20 15:49:38 2005
@@ -243,22 +243,11 @@
$lines = str_replace("\r", '', explode("\n",$word[1]));
foreach($lines as $i => $line)
{
- if ($line == '')
+ $this->_set_sars($file, array($word[0],$line));
+ if ($i < count($lines) - 1)
{
- $this->_set_sars($file, array(T_WHITESPACE, ''));
- if ($i < count($lines) - 1)
- {
- // increment sourceline
- $this->_sourceline++;
- }
- } else
- {
- $this->_set_sars($file, array($word[0],$line));
- if ($i < count($lines) - 1)
- {
- // increment sourceline
- $this->_sourceline++;
- }
+ // increment sourceline
+ $this->_sourceline++;
}
}
} else $this->_set_sars($file, $word);
http://cvs.php.net/diff.php/pear/PhpDocumentor/scripts/create_package.xml.php?r1=1.5&r2=1.6&ty=u
Index: pear/PhpDocumentor/scripts/create_package.xml.php
diff -u pear/PhpDocumentor/scripts/create_package.xml.php:1.5
pear/PhpDocumentor/scripts/create_package.xml.php:1.6
--- pear/PhpDocumentor/scripts/create_package.xml.php:1.5 Sun Nov 20 15:25:23 2005
+++ pear/PhpDocumentor/scripts/create_package.xml.php Sun Nov 20 15:49:38 2005
@@ -70,6 +70,7 @@
of private/public/static/etc. access modifiers
- fixed these bugs:
[ not entered ] XMLDocBookpeardoc2 beautifier removes comments
+ [ 896444 ] Bad line numbers
[ 937235 ] duplicated /** after abstract method declaration
[ 1150809 ] Infinite loop when class extends itself
[ 1151196 ] PHP Fatal error: Cannot re-assign $this