cvs: pear /PhpDocumentor package.xml package2.xml /PhpDocumentor/phpDocumentor HighlightParser.inc /PhpDocumentor/scripts create_package.xml.php
| From: | Greg Beaver | Date: | Fri, 24 Feb 2006 06:57:35 +0000 |
| Subject: | cvs: pear /PhpDocumentor package.xml package2.xml /PhpDocumentor/phpDocumentor HighlightParser.inc /PhpDocumentor/scripts create_package.xml.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-38550@lists.php.net to get a copy of this message | ||
cellog Fri Feb 24 06:57:35 2006 UTC
Modified files:
/pear/PhpDocumentor package.xml package2.xml
/pear/PhpDocumentor/phpDocumentor HighlightParser.inc
/pear/PhpDocumentor/scripts create_package.xml.php
Log:
fix sourceforge bug
[ 1108018 ] Bad source code after /**#@-*/
http://cvs.php.net/viewcvs.cgi/pear/PhpDocumentor/package.xml?r1=1.21&r2=1.22&diff_format=u
Index: pear/PhpDocumentor/package.xml
diff -u pear/PhpDocumentor/package.xml:1.21 pear/PhpDocumentor/package.xml:1.22
--- pear/PhpDocumentor/package.xml:1.21 Fri Feb 24 06:03:55 2006
+++ pear/PhpDocumentor/package.xml Fri Feb 24 06:57:35 2006
@@ -138,6 +138,7 @@
[ 962319 ] Define : don't show the assigned value
[ 977674 ] Parser error
[ 989258 ] wrong interfaces parsing
+ [ 1108018 ] Bad source code after /**#@-*/
[ 1150809 ] Infinite loop when class extends itself
[ 1151196 ] PHP Fatal error: Cannot re-assign $this
[ 1151650 ] UTF8 decoding for DocBook packages
@@ -2429,6 +2430,7 @@
[ 962319 ] Define : don't show the assigned value
[ 977674 ] Parser error
[ 989258 ] wrong interfaces parsing
+ [ 1108018 ] Bad source code after /**#@-*/
[ 1150809 ] Infinite loop when class extends itself
[ 1151196 ] PHP Fatal error: Cannot re-assign $this
[ 1151650 ] UTF8 decoding for DocBook packages
http://cvs.php.net/viewcvs.cgi/pear/PhpDocumentor/package2.xml?r1=1.13&r2=1.14&diff_format=u
Index: pear/PhpDocumentor/package2.xml
diff -u pear/PhpDocumentor/package2.xml:1.13 pear/PhpDocumentor/package2.xml:1.14
--- pear/PhpDocumentor/package2.xml:1.13 Fri Feb 24 06:03:55 2006
+++ pear/PhpDocumentor/package2.xml Fri Feb 24 06:57:35 2006
@@ -64,7 +64,7 @@
<active>yes</active>
</developer>
<date>2006-02-24</date>
- <time>00:03:27</time>
+ <time>00:57:05</time>
<version>
<release>1.3.0RC6</release>
<api>1.3.0</api>
@@ -141,6 +141,7 @@
[ 962319 ] Define : don't show the assigned value
[ 977674 ] Parser error
[ 989258 ] wrong interfaces parsing
+ [ 1108018 ] Bad source code after /**#@-*/
[ 1150809 ] Infinite loop when class extends itself
[ 1151196 ] PHP Fatal error: Cannot re-assign $this
[ 1151650 ] UTF8 decoding for DocBook packages
@@ -2594,6 +2595,7 @@
[ 962319 ] Define : don't show the assigned value
[ 977674 ] Parser error
[ 989258 ] wrong interfaces parsing
+ [ 1108018 ] Bad source code after /**#@-*/
[ 1150809 ] Infinite loop when class extends itself
[ 1151196 ] PHP Fatal error: Cannot re-assign $this
[ 1151650 ] UTF8 decoding for DocBook packages
http://cvs.php.net/viewcvs.cgi/pear/PhpDocumentor/phpDocumentor/HighlightParser.inc?r1=1.3&r2=1.4&diff_format=u
Index: pear/PhpDocumentor/phpDocumentor/HighlightParser.inc
diff -u pear/PhpDocumentor/phpDocumentor/HighlightParser.inc:1.3
pear/PhpDocumentor/phpDocumentor/HighlightParser.inc:1.4
--- pear/PhpDocumentor/phpDocumentor/HighlightParser.inc:1.3 Sun Nov 20 21:29:06 2005
+++ pear/PhpDocumentor/phpDocumentor/HighlightParser.inc Fri Feb 24 06:57:35 2006
@@ -642,6 +642,15 @@
$test = $this->checkEventPush($word, $pevent);
if ($test == PARSER_EVENT_DOCBLOCK || $test == PARSER_EVENT_COMMENT)
{
+ if (substr($word[1], 0, 2) == '/*' && strpos($word[1],
'*/')) {
+ $this->_pv_last_word = $word;
+ if ($word[1] == '/**#@-*/') {
+ $this->_pf_docblock_template = true;
+ } else {
+ $this->_pf_docblock = true;
+ }
+ return $this->handleDocBlock($word, PARSER_EVENT_DOCBLOCK);
+ }
$this->_pf_no_output_yet = true;
$this->_pv_saveline = $this->_wp->linenum + 1;
return;
@@ -1266,7 +1275,8 @@
foreach($desc as $line)
{
$this->getInlineTags($line[0].$line[1]);
- if (strpos($line[0],'*/') === false)
+ if (strpos($line[0],'*/') === false &&
+ !(substr($line[0], 0, 2) == '/*' && strpos($line[1],
'*/') !== false))
{
$this->newLineNum();
$this->_wp->linenum++;
http://cvs.php.net/viewcvs.cgi/pear/PhpDocumentor/scripts/create_package.xml.php?r1=1.22&r2=1.23&diff_format=u
Index: pear/PhpDocumentor/scripts/create_package.xml.php
diff -u pear/PhpDocumentor/scripts/create_package.xml.php:1.22
pear/PhpDocumentor/scripts/create_package.xml.php:1.23
--- pear/PhpDocumentor/scripts/create_package.xml.php:1.22 Fri Feb 24 06:03:55 2006
+++ pear/PhpDocumentor/scripts/create_package.xml.php Fri Feb 24 06:57:35 2006
@@ -73,6 +73,7 @@
[ 962319 ] Define : don\'t show the assigned value
[ 977674 ] Parser error
[ 989258 ] wrong interfaces parsing
+ [ 1108018 ] Bad source code after /**#@-*/
[ 1150809 ] Infinite loop when class extends itself
[ 1151196 ] PHP Fatal error: Cannot re-assign $this
[ 1151650 ] UTF8 decoding for DocBook packages