cvs: pear /PhpDocumentor package.xml package2.xml /PhpDocumentor/phpDocumentor Converter.inc /PhpDocumentor/phpDocumentor/Converters/HTML/frames
HTMLframesConverter.inc /PhpDocumentor/scripts create_package.xml.php
| From: | Greg Beaver | Date: | Sat, 25 Feb 2006 03:12:42 +0000 |
| Subject: | cvs: pear /PhpDocumentor package.xml package2.xml /PhpDocumentor/phpDocumentor Converter.inc /PhpDocumentor/phpDocumentor/Converters/HTML/frames HTMLframesConverter.inc /PhpDocumentor/scripts create_package.xml.php |
||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-38573@lists.php.net to get a copy of this message | ||
cellog Sat Feb 25 03:12:42 2006 UTC
Modified files:
/pear/PhpDocumentor package.xml package2.xml
/pear/PhpDocumentor/phpDocumentor Converter.inc
/pear/PhpDocumentor/phpDocumentor/Converters/HTML/frames
HTMLframesConverter.inc
/pear/PhpDocumentor/scripts create_package.xml.php
Log:
fix sourceforge bug
[ 893186 ] HTMLframes converter sometimes misses package level docs
http://cvs.php.net/viewcvs.cgi/pear/PhpDocumentor/package.xml?r1=1.24&r2=1.25&diff_format=u Index: pear/PhpDocumentor/package.xml diff -u pear/PhpDocumentor/package.xml:1.24 pear/PhpDocumentor/package.xml:1.25 --- pear/PhpDocumentor/package.xml:1.24 Fri Feb 24 07:39:32 2006 +++ pear/PhpDocumentor/package.xml Sat Feb 25 03:12:41 2006 @@ -133,6 +133,7 @@ - fixed these bugs: [ not entered ] phpdoc script broken on unix [ not entered ] XMLDocBookpeardoc2 beautifier removes comments + [ 893186 ] HTMLframes converter sometimes misses package level docs [ 896444 ] Bad line numbers [ 937235 ] duplicated /** after abstract method declaration [ 962319 ] Define : don't show the assigned value @@ -155,7 +156,7 @@ [ 1255692 ] Support for "--" argument [ 1261287 ] @filesource bug? [ 1348852 ] Call to function Convert() on a non-object + DocBlockTags - [ 1366260 ] Default 0 parameter in function is not displayed + [ 1366260 ] Default 0 parameter in method is not displayed [ 1393998 ] HTMLSmartyConverter Fatal error (line 627) fix [ 1398977 ] @return is not merged when using DocBlock Templates [ 1428660 ] Confusing error when using {@link} in @uses @@ -2427,6 +2428,7 @@ - fixed these bugs: [ not entered ] phpdoc script broken on unix [ not entered ] XMLDocBookpeardoc2 beautifier removes comments + [ 893186 ] HTMLframes converter sometimes misses package level docs [ 896444 ] Bad line numbers [ 937235 ] duplicated /** after abstract method declaration [ 962319 ] Define : don't show the assigned value @@ -2449,7 +2451,7 @@ [ 1255692 ] Support for "--" argument [ 1261287 ] @filesource bug? [ 1348852 ] Call to function Convert() on a non-object + DocBlockTags - [ 1366260 ] Default 0 parameter in function is not displayed + [ 1366260 ] Default 0 parameter in method is not displayed [ 1393998 ] HTMLSmartyConverter Fatal error (line 627) fix [ 1398977 ] @return is not merged when using DocBlock Templates [ 1428660 ] Confusing error when using {@link} in @uses http://cvs.php.net/viewcvs.cgi/pear/PhpDocumentor/package2.xml?r1=1.16&r2=1.17&diff_format=u Index: pear/PhpDocumentor/package2.xml diff -u pear/PhpDocumentor/package2.xml:1.16 pear/PhpDocumentor/package2.xml:1.17 --- pear/PhpDocumentor/package2.xml:1.16 Fri Feb 24 07:39:32 2006 +++ pear/PhpDocumentor/package2.xml Sat Feb 25 03:12:41 2006 @@ -64,7 +64,7 @@ <active>yes</active> </developer> <date>2006-02-24</date> - <time>01:38:12</time> + <time>21:11:27</time> <version> <release>1.3.0RC6</release> <api>1.3.0</api> @@ -136,6 +136,7 @@ - fixed these bugs: [ not entered ] phpdoc script broken on unix [ not entered ] XMLDocBookpeardoc2 beautifier removes comments + [ 893186 ] HTMLframes converter sometimes misses package level docs [ 896444 ] Bad line numbers [ 937235 ] duplicated /** after abstract method declaration [ 962319 ] Define : don't show the assigned value @@ -158,7 +159,7 @@ [ 1255692 ] Support for "--" argument [ 1261287 ] @filesource bug? [ 1348852 ] Call to function Convert() on a non-object + DocBlockTags - [ 1366260 ] Default 0 parameter in function is not displayed + [ 1366260 ] Default 0 parameter in method is not displayed [ 1393998 ] HTMLSmartyConverter Fatal error (line 627) fix [ 1398977 ] @return is not merged when using DocBlock Templates [ 1428660 ] Confusing error when using {@link} in @uses @@ -2592,6 +2593,7 @@ - fixed these bugs: [ not entered ] phpdoc script broken on unix [ not entered ] XMLDocBookpeardoc2 beautifier removes comments + [ 893186 ] HTMLframes converter sometimes misses package level docs [ 896444 ] Bad line numbers [ 937235 ] duplicated /** after abstract method declaration [ 962319 ] Define : don't show the assigned value @@ -2614,7 +2616,7 @@ [ 1255692 ] Support for "--" argument [ 1261287 ] @filesource bug? [ 1348852 ] Call to function Convert() on a non-object + DocBlockTags - [ 1366260 ] Default 0 parameter in function is not displayed + [ 1366260 ] Default 0 parameter in method is not displayed [ 1393998 ] HTMLSmartyConverter Fatal error (line 627) fix [ 1398977 ] @return is not merged when using DocBlock Templates [ 1428660 ] Confusing error when using {@link} in @uses http://cvs.php.net/viewcvs.cgi/pear/PhpDocumentor/phpDocumentor/Converter.inc?r1=1.11&r2=1.12&diff_format=u Index: pear/PhpDocumentor/phpDocumentor/Converter.inc diff -u pear/PhpDocumentor/phpDocumentor/Converter.inc:1.11 pear/PhpDocumentor/phpDocumentor/Converter.inc:1.12 --- pear/PhpDocumentor/phpDocumentor/Converter.inc:1.11 Sat Feb 25 02:45:22 2006 +++ pear/PhpDocumentor/phpDocumentor/Converter.inc Sat Feb 25 03:12:42 2006 @@ -22,7 +22,7 @@ * @package Converters * @author Greg Beaver <cellog@users.sourceforge.net> * @since 1.0rc1 - * @version $Id: Converter.inc,v 1.11 2006/02/25 02:45:22 cellog Exp $ + * @version $Id: Converter.inc,v 1.12 2006/02/25 03:12:42 cellog Exp $ */ /** * Smarty template files @@ -56,7 +56,7 @@ * @abstract * @author Greg Beaver <cellog@users.sourceforge.net> * @since 1.0rc1 - * @version $Id: Converter.inc,v 1.11 2006/02/25 02:45:22 cellog Exp $ + * @version $Id: Converter.inc,v 1.12 2006/02/25 03:12:42 cellog Exp $ */ class Converter { @@ -2012,11 +2012,14 @@ * @return string */ function _tutorial_path($pkg, $subpkg = 0, $namepkg = 0) { - if (! $subpkg) + if (!$subpkg) { $subpkg = $pkg; - if (! $namepkg) + } + if (!$namepkg) { $namepkg = $pkg; - return $pkg->package.'/'.$subpkg->subpackage.'/'.$namepkg->name; + } + $subpackagename = ($subpkg->subpackage ? '/' . $subpkg->subpackage : ''); + return $pkg->package . $subpackagename . '/' . $namepkg->name; } http://cvs.php.net/viewcvs.cgi/pear/PhpDocumentor/phpDocumentor/Converters/HTML/frames/HTMLframesConverter.inc?r1=1.2&r2=1.3&diff_format=u Index: pear/PhpDocumentor/phpDocumentor/Converters/HTML/frames/HTMLframesConverter.inc diff -u pear/PhpDocumentor/phpDocumentor/Converters/HTML/frames/HTMLframesConverter.inc:1.2 pear/PhpDocumentor/phpDocumentor/Converters/HTML/frames/HTMLframesConverter.inc:1.3 --- pear/PhpDocumentor/phpDocumentor/Converters/HTML/frames/HTMLframesConverter.inc:1.2 Sat Feb 25 02:53:30 2006 +++ pear/PhpDocumentor/phpDocumentor/Converters/HTML/frames/HTMLframesConverter.inc Sat Feb 25 03:12:42 2006 @@ -25,7 +25,7 @@ * @see parserDocBlock, parserInclude, parserPage, parserClass, parserDefine, parserFunction, parserMethod, parserVar * @author Greg Beaver <cellog@users.sourceforge.net> * @since 1.0rc1 - * @version $Id: HTMLframesConverter.inc,v 1.2 2006/02/25 02:53:30 cellog Exp $ + * @version $Id: HTMLframesConverter.inc,v 1.3 2006/02/25 03:12:42 cellog Exp $ */ /** * HTML output converter. @@ -36,7 +36,7 @@ * @see parserDocBlock, parserInclude, parserPage, parserClass, parserDefine, parserFunction, parserMethod, parserVar * @author Greg Beaver <cellog@users.sourceforge.net> * @since 1.2 - * @version $Id: HTMLframesConverter.inc,v 1.2 2006/02/25 02:53:30 cellog Exp $ + * @version $Id: HTMLframesConverter.inc,v 1.3 2006/02/25 03:12:42 cellog Exp $ */ class HTMLframesConverter extends Converter { @@ -419,8 +419,10 @@ $tutes = array(); foreach($this->tutorial_tree as $root => $tr) { - if ($tr['tutorial']->package == $package && $tr['tutorial']->subpackage == $subpackage) - $tutes[$tr['tutorial']->tutorial_type][] = $this->getTutorialTree($tr['tutorial']); + if ($tr['tutorial']->package == $package && $tr['tutorial']->subpackage == '') { + $tutes[$tr['tutorial']->tutorial_type][] = + $this->getTutorialTree($tr['tutorial']); + } } if (isset($this->childless_tutorials[$package][$subpackage])) { http://cvs.php.net/viewcvs.cgi/pear/PhpDocumentor/scripts/create_package.xml.php?r1=1.25&r2=1.26&diff_format=u Index: pear/PhpDocumentor/scripts/create_package.xml.php diff -u pear/PhpDocumentor/scripts/create_package.xml.php:1.25 pear/PhpDocumentor/scripts/create_package.xml.php:1.26 --- pear/PhpDocumentor/scripts/create_package.xml.php:1.25 Fri Feb 24 07:39:33 2006 +++ pear/PhpDocumentor/scripts/create_package.xml.php Sat Feb 25 03:12:42 2006 @@ -68,6 +68,7 @@ - fixed these bugs: [ not entered ] phpdoc script broken on unix [ not entered ] XMLDocBookpeardoc2 beautifier removes comments + [ 893186 ] HTMLframes converter sometimes misses package level docs [ 896444 ] Bad line numbers [ 937235 ] duplicated /** after abstract method declaration [ 962319 ] Define : don\'t show the assigned value
http://cvs.php.net/viewcvs.cgi/pear/PhpDocumentor/package.xml?r1=1.24&r2=1.25&diff_format=u Index: pear/PhpDocumentor/package.xml diff -u pear/PhpDocumentor/package.xml:1.24 pear/PhpDocumentor/package.xml:1.25 --- pear/PhpDocumentor/package.xml:1.24 Fri Feb 24 07:39:32 2006 +++ pear/PhpDocumentor/package.xml Sat Feb 25 03:12:41 2006 @@ -133,6 +133,7 @@ - fixed these bugs: [ not entered ] phpdoc script broken on unix [ not entered ] XMLDocBookpeardoc2 beautifier removes comments + [ 893186 ] HTMLframes converter sometimes misses package level docs [ 896444 ] Bad line numbers [ 937235 ] duplicated /** after abstract method declaration [ 962319 ] Define : don't show the assigned value @@ -155,7 +156,7 @@ [ 1255692 ] Support for "--" argument [ 1261287 ] @filesource bug? [ 1348852 ] Call to function Convert() on a non-object + DocBlockTags - [ 1366260 ] Default 0 parameter in function is not displayed + [ 1366260 ] Default 0 parameter in method is not displayed [ 1393998 ] HTMLSmartyConverter Fatal error (line 627) fix [ 1398977 ] @return is not merged when using DocBlock Templates [ 1428660 ] Confusing error when using {@link} in @uses @@ -2427,6 +2428,7 @@ - fixed these bugs: [ not entered ] phpdoc script broken on unix [ not entered ] XMLDocBookpeardoc2 beautifier removes comments + [ 893186 ] HTMLframes converter sometimes misses package level docs [ 896444 ] Bad line numbers [ 937235 ] duplicated /** after abstract method declaration [ 962319 ] Define : don't show the assigned value @@ -2449,7 +2451,7 @@ [ 1255692 ] Support for "--" argument [ 1261287 ] @filesource bug? [ 1348852 ] Call to function Convert() on a non-object + DocBlockTags - [ 1366260 ] Default 0 parameter in function is not displayed + [ 1366260 ] Default 0 parameter in method is not displayed [ 1393998 ] HTMLSmartyConverter Fatal error (line 627) fix [ 1398977 ] @return is not merged when using DocBlock Templates [ 1428660 ] Confusing error when using {@link} in @uses http://cvs.php.net/viewcvs.cgi/pear/PhpDocumentor/package2.xml?r1=1.16&r2=1.17&diff_format=u Index: pear/PhpDocumentor/package2.xml diff -u pear/PhpDocumentor/package2.xml:1.16 pear/PhpDocumentor/package2.xml:1.17 --- pear/PhpDocumentor/package2.xml:1.16 Fri Feb 24 07:39:32 2006 +++ pear/PhpDocumentor/package2.xml Sat Feb 25 03:12:41 2006 @@ -64,7 +64,7 @@ <active>yes</active> </developer> <date>2006-02-24</date> - <time>01:38:12</time> + <time>21:11:27</time> <version> <release>1.3.0RC6</release> <api>1.3.0</api> @@ -136,6 +136,7 @@ - fixed these bugs: [ not entered ] phpdoc script broken on unix [ not entered ] XMLDocBookpeardoc2 beautifier removes comments + [ 893186 ] HTMLframes converter sometimes misses package level docs [ 896444 ] Bad line numbers [ 937235 ] duplicated /** after abstract method declaration [ 962319 ] Define : don't show the assigned value @@ -158,7 +159,7 @@ [ 1255692 ] Support for "--" argument [ 1261287 ] @filesource bug? [ 1348852 ] Call to function Convert() on a non-object + DocBlockTags - [ 1366260 ] Default 0 parameter in function is not displayed + [ 1366260 ] Default 0 parameter in method is not displayed [ 1393998 ] HTMLSmartyConverter Fatal error (line 627) fix [ 1398977 ] @return is not merged when using DocBlock Templates [ 1428660 ] Confusing error when using {@link} in @uses @@ -2592,6 +2593,7 @@ - fixed these bugs: [ not entered ] phpdoc script broken on unix [ not entered ] XMLDocBookpeardoc2 beautifier removes comments + [ 893186 ] HTMLframes converter sometimes misses package level docs [ 896444 ] Bad line numbers [ 937235 ] duplicated /** after abstract method declaration [ 962319 ] Define : don't show the assigned value @@ -2614,7 +2616,7 @@ [ 1255692 ] Support for "--" argument [ 1261287 ] @filesource bug? [ 1348852 ] Call to function Convert() on a non-object + DocBlockTags - [ 1366260 ] Default 0 parameter in function is not displayed + [ 1366260 ] Default 0 parameter in method is not displayed [ 1393998 ] HTMLSmartyConverter Fatal error (line 627) fix [ 1398977 ] @return is not merged when using DocBlock Templates [ 1428660 ] Confusing error when using {@link} in @uses http://cvs.php.net/viewcvs.cgi/pear/PhpDocumentor/phpDocumentor/Converter.inc?r1=1.11&r2=1.12&diff_format=u Index: pear/PhpDocumentor/phpDocumentor/Converter.inc diff -u pear/PhpDocumentor/phpDocumentor/Converter.inc:1.11 pear/PhpDocumentor/phpDocumentor/Converter.inc:1.12 --- pear/PhpDocumentor/phpDocumentor/Converter.inc:1.11 Sat Feb 25 02:45:22 2006 +++ pear/PhpDocumentor/phpDocumentor/Converter.inc Sat Feb 25 03:12:42 2006 @@ -22,7 +22,7 @@ * @package Converters * @author Greg Beaver <cellog@users.sourceforge.net> * @since 1.0rc1 - * @version $Id: Converter.inc,v 1.11 2006/02/25 02:45:22 cellog Exp $ + * @version $Id: Converter.inc,v 1.12 2006/02/25 03:12:42 cellog Exp $ */ /** * Smarty template files @@ -56,7 +56,7 @@ * @abstract * @author Greg Beaver <cellog@users.sourceforge.net> * @since 1.0rc1 - * @version $Id: Converter.inc,v 1.11 2006/02/25 02:45:22 cellog Exp $ + * @version $Id: Converter.inc,v 1.12 2006/02/25 03:12:42 cellog Exp $ */ class Converter { @@ -2012,11 +2012,14 @@ * @return string */ function _tutorial_path($pkg, $subpkg = 0, $namepkg = 0) { - if (! $subpkg) + if (!$subpkg) { $subpkg = $pkg; - if (! $namepkg) + } + if (!$namepkg) { $namepkg = $pkg; - return $pkg->package.'/'.$subpkg->subpackage.'/'.$namepkg->name; + } + $subpackagename = ($subpkg->subpackage ? '/' . $subpkg->subpackage : ''); + return $pkg->package . $subpackagename . '/' . $namepkg->name; } http://cvs.php.net/viewcvs.cgi/pear/PhpDocumentor/phpDocumentor/Converters/HTML/frames/HTMLframesConverter.inc?r1=1.2&r2=1.3&diff_format=u Index: pear/PhpDocumentor/phpDocumentor/Converters/HTML/frames/HTMLframesConverter.inc diff -u pear/PhpDocumentor/phpDocumentor/Converters/HTML/frames/HTMLframesConverter.inc:1.2 pear/PhpDocumentor/phpDocumentor/Converters/HTML/frames/HTMLframesConverter.inc:1.3 --- pear/PhpDocumentor/phpDocumentor/Converters/HTML/frames/HTMLframesConverter.inc:1.2 Sat Feb 25 02:53:30 2006 +++ pear/PhpDocumentor/phpDocumentor/Converters/HTML/frames/HTMLframesConverter.inc Sat Feb 25 03:12:42 2006 @@ -25,7 +25,7 @@ * @see parserDocBlock, parserInclude, parserPage, parserClass, parserDefine, parserFunction, parserMethod, parserVar * @author Greg Beaver <cellog@users.sourceforge.net> * @since 1.0rc1 - * @version $Id: HTMLframesConverter.inc,v 1.2 2006/02/25 02:53:30 cellog Exp $ + * @version $Id: HTMLframesConverter.inc,v 1.3 2006/02/25 03:12:42 cellog Exp $ */ /** * HTML output converter. @@ -36,7 +36,7 @@ * @see parserDocBlock, parserInclude, parserPage, parserClass, parserDefine, parserFunction, parserMethod, parserVar * @author Greg Beaver <cellog@users.sourceforge.net> * @since 1.2 - * @version $Id: HTMLframesConverter.inc,v 1.2 2006/02/25 02:53:30 cellog Exp $ + * @version $Id: HTMLframesConverter.inc,v 1.3 2006/02/25 03:12:42 cellog Exp $ */ class HTMLframesConverter extends Converter { @@ -419,8 +419,10 @@ $tutes = array(); foreach($this->tutorial_tree as $root => $tr) { - if ($tr['tutorial']->package == $package && $tr['tutorial']->subpackage == $subpackage) - $tutes[$tr['tutorial']->tutorial_type][] = $this->getTutorialTree($tr['tutorial']); + if ($tr['tutorial']->package == $package && $tr['tutorial']->subpackage == '') { + $tutes[$tr['tutorial']->tutorial_type][] = + $this->getTutorialTree($tr['tutorial']); + } } if (isset($this->childless_tutorials[$package][$subpackage])) { http://cvs.php.net/viewcvs.cgi/pear/PhpDocumentor/scripts/create_package.xml.php?r1=1.25&r2=1.26&diff_format=u Index: pear/PhpDocumentor/scripts/create_package.xml.php diff -u pear/PhpDocumentor/scripts/create_package.xml.php:1.25 pear/PhpDocumentor/scripts/create_package.xml.php:1.26 --- pear/PhpDocumentor/scripts/create_package.xml.php:1.25 Fri Feb 24 07:39:33 2006 +++ pear/PhpDocumentor/scripts/create_package.xml.php Sat Feb 25 03:12:42 2006 @@ -68,6 +68,7 @@ - fixed these bugs: [ not entered ] phpdoc script broken on unix [ not entered ] XMLDocBookpeardoc2 beautifier removes comments + [ 893186 ] HTMLframes converter sometimes misses package level docs [ 896444 ] Bad line numbers [ 937235 ] duplicated /** after abstract method declaration [ 962319 ] Define : don\'t show the assigned value