cvs: pear /PhpDocumentor package.xml package2.xml /PhpDocumentor/phpDocumentor phpDocumentorTParser.inc phpDocumentorTWordParser.inc
/PhpDocumentor/scripts create_package.xml.php
| From: | Greg Beaver | Date: | Fri, 24 Feb 2006 05:57:32 +0000 |
| Subject: | cvs: pear /PhpDocumentor package.xml package2.xml /PhpDocumentor/phpDocumentor phpDocumentorTParser.inc phpDocumentorTWordParser.inc /PhpDocumentor/scripts create_package.xml.php |
||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-38547@lists.php.net to get a copy of this message | ||
cellog Fri Feb 24 05:57:32 2006 UTC
Modified files:
/pear/PhpDocumentor package.xml package2.xml
/pear/PhpDocumentor/phpDocumentor phpDocumentorTParser.inc
phpDocumentorTWordParser.inc
/pear/PhpDocumentor/scripts create_package.xml.php
Log:
fix sourceforge bug
[ 1224317 ] functions refers to wrong line
also, better fix for tags with trailing whitespace
some CS fixes
http://cvs.php.net/viewcvs.cgi/pear/PhpDocumentor/package.xml?r1=1.19&r2=1.20&diff_format=u
Index: pear/PhpDocumentor/package.xml
diff -u pear/PhpDocumentor/package.xml:1.19 pear/PhpDocumentor/package.xml:1.20
--- pear/PhpDocumentor/package.xml:1.19 Fri Feb 24 03:47:19 2006
+++ pear/PhpDocumentor/package.xml Fri Feb 24 05:57:31 2006
@@ -149,6 +149,7 @@
[ 1202772 ] missing parentheses in Parser.inc line 946
[ 1203445 ] Call to a member function on a non-object in Parser.inc
[ 1203451 ] array to string conversion notice in InlineTags.inc
+ [ 1224317 ] functions refers to wrong line
[ 1261287 ] @filesource bug?
[ 1348852 ] Call to function Convert() on a non-object + DocBlockTags
[ 1393998 ] HTMLSmartyConverter Fatal error (line 627) fix
@@ -2438,6 +2439,7 @@
[ 1202772 ] missing parentheses in Parser.inc line 946
[ 1203445 ] Call to a member function on a non-object in Parser.inc
[ 1203451 ] array to string conversion notice in InlineTags.inc
+ [ 1224317 ] functions refers to wrong line
[ 1261287 ] @filesource bug?
[ 1348852 ] Call to function Convert() on a non-object + DocBlockTags
[ 1393998 ] HTMLSmartyConverter Fatal error (line 627) fix
http://cvs.php.net/viewcvs.cgi/pear/PhpDocumentor/package2.xml?r1=1.11&r2=1.12&diff_format=u
Index: pear/PhpDocumentor/package2.xml
diff -u pear/PhpDocumentor/package2.xml:1.11 pear/PhpDocumentor/package2.xml:1.12
--- pear/PhpDocumentor/package2.xml:1.11 Fri Feb 24 05:35:22 2006
+++ pear/PhpDocumentor/package2.xml Fri Feb 24 05:57:31 2006
@@ -64,7 +64,7 @@
<active>yes</active>
</developer>
<date>2006-02-23</date>
- <time>23:34:26</time>
+ <time>23:56:46</time>
<version>
<release>1.3.0RC6</release>
<api>1.3.0</api>
@@ -152,6 +152,7 @@
[ 1202772 ] missing parentheses in Parser.inc line 946
[ 1203445 ] Call to a member function on a non-object in Parser.inc
[ 1203451 ] array to string conversion notice in InlineTags.inc
+ [ 1224317 ] functions refers to wrong line
[ 1261287 ] @filesource bug?
[ 1348852 ] Call to function Convert() on a non-object + DocBlockTags
[ 1393998 ] HTMLSmartyConverter Fatal error (line 627) fix
@@ -2603,6 +2604,7 @@
[ 1202772 ] missing parentheses in Parser.inc line 946
[ 1203445 ] Call to a member function on a non-object in Parser.inc
[ 1203451 ] array to string conversion notice in InlineTags.inc
+ [ 1224317 ] functions refers to wrong line
[ 1261287 ] @filesource bug?
[ 1348852 ] Call to function Convert() on a non-object + DocBlockTags
[ 1393998 ] HTMLSmartyConverter Fatal error (line 627) fix
http://cvs.php.net/viewcvs.cgi/pear/PhpDocumentor/phpDocumentor/phpDocumentorTParser.inc?r1=1.5&r2=1.6&diff_format=u
Index: pear/PhpDocumentor/phpDocumentor/phpDocumentorTParser.inc
diff -u pear/PhpDocumentor/phpDocumentor/phpDocumentorTParser.inc:1.5
pear/PhpDocumentor/phpDocumentor/phpDocumentorTParser.inc:1.6
--- pear/PhpDocumentor/phpDocumentor/phpDocumentorTParser.inc:1.5 Fri Feb 24 03:09:44 2006
+++ pear/PhpDocumentor/phpDocumentor/phpDocumentorTParser.inc Fri Feb 24 05:57:32 2006
@@ -21,14 +21,14 @@
* @package phpDocumentor
* @subpackage Parsers
* @author Gregory Beaver <cellog@users.sourceforge.net>
- * @version $Revision: 1.5 $
+ * @version $Revision: 1.6 $
*/
/**
* Tokenizer-based parser for PHP source code
* @package phpDocumentor
* @subpackage Parsers
* @author Gregory Beaver <cellog@users.sourceforge.net>
- * @version $Revision: 1.5 $
+ * @version $Revision: 1.6 $
*/
class phpDocumentorTParser extends Parser
{
@@ -1606,12 +1606,13 @@
foreach($newtags as $tag)
{
$x = explode(' ',str_replace("\t",' ',$tag));
- $tagname = substr(array_shift($x),1);
+ $tagname = trim(substr(array_shift($x),1));
$restoftag = $x;
- if (isset($this->tagHandlers[$tagname]))
- $handle = $this->tagHandlers[$tagname];
- else
- $handle = $this->tagHandlers['*'];
+ if (isset($this->tagHandlers[$tagname])) {
+ $handle = $this->tagHandlers[$tagname];
+ } else {
+ $handle = $this->tagHandlers['*'];
+ }
$this->$handle($tagname,$restoftag);
}
}
http://cvs.php.net/viewcvs.cgi/pear/PhpDocumentor/phpDocumentor/phpDocumentorTWordParser.inc?r1=1.2&r2=1.3&diff_format=u
Index: pear/PhpDocumentor/phpDocumentor/phpDocumentorTWordParser.inc
diff -u pear/PhpDocumentor/phpDocumentor/phpDocumentorTWordParser.inc:1.2
pear/PhpDocumentor/phpDocumentor/phpDocumentorTWordParser.inc:1.3
--- pear/PhpDocumentor/phpDocumentor/phpDocumentorTWordParser.inc:1.2 Sun Nov 20 20:49:38 2005
+++ pear/PhpDocumentor/phpDocumentor/phpDocumentorTWordParser.inc Fri Feb 24 05:57:32 2006
@@ -48,6 +48,7 @@
var $_nl_check = array(
T_WHITESPACE,
T_ENCAPSED_AND_WHITESPACE,
+ T_CONSTANT_ENCAPSED_STRING,
T_COMMENT,
T_DOC_COMMENT,
T_OPEN_TAG,
http://cvs.php.net/viewcvs.cgi/pear/PhpDocumentor/scripts/create_package.xml.php?r1=1.20&r2=1.21&diff_format=u
Index: pear/PhpDocumentor/scripts/create_package.xml.php
diff -u pear/PhpDocumentor/scripts/create_package.xml.php:1.20
pear/PhpDocumentor/scripts/create_package.xml.php:1.21
--- pear/PhpDocumentor/scripts/create_package.xml.php:1.20 Fri Feb 24 05:35:22 2006
+++ pear/PhpDocumentor/scripts/create_package.xml.php Fri Feb 24 05:57:32 2006
@@ -84,6 +84,7 @@
[ 1202772 ] missing parentheses in Parser.inc line 946
[ 1203445 ] Call to a member function on a non-object in Parser.inc
[ 1203451 ] array to string conversion notice in InlineTags.inc
+ [ 1224317 ] functions refers to wrong line
[ 1261287 ] @filesource bug?
[ 1348852 ] Call to function Convert() on a non-object + DocBlockTags
[ 1393998 ] HTMLSmartyConverter Fatal error (line 627) fix