cvs: pear /PhpDocumentor package.xml package2.xml /PhpDocumentor/phpDocumentor Errors.inc ParserDescCleanup.inc /PhpDocumentor/scripts
create_package.xml.php

From: Date: Fri, 24 Feb 2006 07:08:13 +0000
Subject: cvs: pear /PhpDocumentor package.xml package2.xml /PhpDocumentor/phpDocumentor Errors.inc ParserDescCleanup.inc /PhpDocumentor/scripts
create_package.xml.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-38552@lists.php.net to get a copy of this message
cellog Fri Feb 24 07:08:13 2006 UTC Modified files: /pear/PhpDocumentor package.xml package2.xml /pear/PhpDocumentor/phpDocumentor Errors.inc ParserDescCleanup.inc /pear/PhpDocumentor/scripts create_package.xml.php Log: fix sourceforge bug [ 1145403 ] Call to a member function on a non-object http://cvs.php.net/viewcvs.cgi/pear/PhpDocumentor/package.xml?r1=1.22&r2=1.23&diff_format=u Index: pear/PhpDocumentor/package.xml diff -u pear/PhpDocumentor/package.xml:1.22 pear/PhpDocumentor/package.xml:1.23 --- pear/PhpDocumentor/package.xml:1.22 Fri Feb 24 06:57:35 2006 +++ pear/PhpDocumentor/package.xml Fri Feb 24 07:08:13 2006 @@ -139,6 +139,7 @@ [ 977674 ] Parser error [ 989258 ] wrong interfaces parsing [ 1108018 ] Bad source code after /**#@-*/ + [ 1145403 ] Call to a member function on a non-object [ 1150809 ] Infinite loop when class extends itself [ 1151196 ] PHP Fatal error: Cannot re-assign $this [ 1151650 ] UTF8 decoding for DocBook packages @@ -2431,6 +2432,7 @@ [ 977674 ] Parser error [ 989258 ] wrong interfaces parsing [ 1108018 ] Bad source code after /**#@-*/ + [ 1145403 ] Call to a member function on a non-object [ 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.14&r2=1.15&diff_format=u Index: pear/PhpDocumentor/package2.xml diff -u pear/PhpDocumentor/package2.xml:1.14 pear/PhpDocumentor/package2.xml:1.15 --- pear/PhpDocumentor/package2.xml:1.14 Fri Feb 24 06:57:35 2006 +++ pear/PhpDocumentor/package2.xml Fri Feb 24 07:08:13 2006 @@ -64,7 +64,7 @@ <active>yes</active> </developer> <date>2006-02-24</date> - <time>00:57:05</time> + <time>01:07:44</time> <version> <release>1.3.0RC6</release> <api>1.3.0</api> @@ -142,6 +142,7 @@ [ 977674 ] Parser error [ 989258 ] wrong interfaces parsing [ 1108018 ] Bad source code after /**#@-*/ + [ 1145403 ] Call to a member function on a non-object [ 1150809 ] Infinite loop when class extends itself [ 1151196 ] PHP Fatal error: Cannot re-assign $this [ 1151650 ] UTF8 decoding for DocBook packages @@ -2596,6 +2597,7 @@ [ 977674 ] Parser error [ 989258 ] wrong interfaces parsing [ 1108018 ] Bad source code after /**#@-*/ + [ 1145403 ] Call to a member function on a non-object [ 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/Errors.inc?r1=1.2&r2=1.3&diff_format=u Index: pear/PhpDocumentor/phpDocumentor/Errors.inc diff -u pear/PhpDocumentor/phpDocumentor/Errors.inc:1.2 pear/PhpDocumentor/phpDocumentor/Errors.inc:1.3 --- pear/PhpDocumentor/phpDocumentor/Errors.inc:1.2 Fri Feb 24 02:48:00 2006 +++ pear/PhpDocumentor/phpDocumentor/Errors.inc Fri Feb 24 07:08:13 2006 @@ -21,7 +21,7 @@ * @package phpDocumentor * @subpackage Errors * @author Gregory Beaver <cellog@users.sourceforge.net> - * @version $Id: Errors.inc,v 1.2 2006/02/24 02:48:00 cellog Exp $ + * @version $Id: Errors.inc,v 1.3 2006/02/24 07:08:13 cellog Exp $ */ /** * warning triggered when inheritance could be from more than one class @@ -299,10 +299,6 @@ */ define("PDERROR_BEAUTIFYING_FAILED",66); /** - * warning triggered by improper "@uses {@link blah}" - */ -define("PDERROR_DUMB_USES",67); -/** * warning triggered by a function with no name * * <pre> @@ -343,6 +339,14 @@ * warning triggered if someone brilliant tries "class X extends X {" */ define("PDERROR_CANNOT_EXTEND_SELF", 72); +/** + * warning triggered by improper "@uses {@link blah}" + */ +define("PDERROR_DUMB_USES",73); +/** + * warning triggered if <ul> is nested inside <ul> and not <li> + */ +define("PDERROR_UL_IN_UL", 74); /** * Error messages for phpDocumentor parser warnings @@ -439,6 +443,7 @@ PDERROR_FUNCTION_HAS_NONAME => 'function has no name (PHP error - test your file before parsing!)', PDERROR_CANNOT_EXTEND_SELF => 'class %s cannot extend itself - TEST YOUR CODE BEFORE PARSING', PDERROR_DUMB_USES => '@uses can only link to string data', + PDERROR_UL_IN_UL => 'ul/ol tags cannot be directly nested inside ul/ol, nest inside li', ); /** http://cvs.php.net/viewcvs.cgi/pear/PhpDocumentor/phpDocumentor/ParserDescCleanup.inc?r1=1.2&r2=1.3&diff_format=u Index: pear/PhpDocumentor/phpDocumentor/ParserDescCleanup.inc diff -u pear/PhpDocumentor/phpDocumentor/ParserDescCleanup.inc:1.2 pear/PhpDocumentor/phpDocumentor/ParserDescCleanup.inc:1.3 --- pear/PhpDocumentor/phpDocumentor/ParserDescCleanup.inc:1.2 Thu Dec 15 04:26:30 2005 +++ pear/PhpDocumentor/phpDocumentor/ParserDescCleanup.inc Fri Feb 24 07:08:13 2006 @@ -513,6 +513,9 @@ if ($context == 'list') { // debug('aded to '.$context); + if (!is_object($this->p_vars['list_item'][$this->p_vars['list_count']])) { + addErrorDie(PDERROR_UL_IN_UL); + } $this->p_vars['list_item'][$this->p_vars['list_count']]->add($text); } elseif ($context != 'normal') { @@ -848,6 +851,9 @@ if ($this->p_vars['list_count'] > 1) { // this is a sublist, add it to the list item of the parent list + if (!isset($this->p_vars['list_item'][$this->p_vars['list_count'] - 1])) { + addErrorDie(PDERROR_UL_IN_UL); + } $this->p_vars['list_item'][$this->p_vars['list_count'] - 1]->add($this->p_vars['lists'][$this->p_vars['list_count']]); // remove the sublist item and sublist, drop to parent list unset($this->p_vars['lists'][$this->p_vars['list_count']]); http://cvs.php.net/viewcvs.cgi/pear/PhpDocumentor/scripts/create_package.xml.php?r1=1.23&r2=1.24&diff_format=u Index: pear/PhpDocumentor/scripts/create_package.xml.php diff -u pear/PhpDocumentor/scripts/create_package.xml.php:1.23 pear/PhpDocumentor/scripts/create_package.xml.php:1.24 --- pear/PhpDocumentor/scripts/create_package.xml.php:1.23 Fri Feb 24 06:57:35 2006 +++ pear/PhpDocumentor/scripts/create_package.xml.php Fri Feb 24 07:08:13 2006 @@ -74,6 +74,7 @@ [ 977674 ] Parser error [ 989258 ] wrong interfaces parsing [ 1108018 ] Bad source code after /**#@-*/ + [ 1145403 ] Call to a member function on a non-object [ 1150809 ] Infinite loop when class extends itself [ 1151196 ] PHP Fatal error: Cannot re-assign $this [ 1151650 ] UTF8 decoding for DocBook packages

« previous php.pear.cvs (#38552) next »