cvs: pear /HTML_Table package.php package.xml

From: Date: Tue, 25 Oct 2005 15:25:33 +0000
Subject: cvs: pear /HTML_Table package.php package.xml
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-35853@lists.php.net to get a copy of this message
dufuz Tue Oct 25 11:25:33 2005 EDT Modified files: /pear/HTML_Table package.php package.xml Log: Update changelog http://cvs.php.net/diff.php/pear/HTML_Table/package.php?r1=1.15&r2=1.16&ty=u Index: pear/HTML_Table/package.php diff -u pear/HTML_Table/package.php:1.15 pear/HTML_Table/package.php:1.16 --- pear/HTML_Table/package.php:1.15 Tue Oct 25 09:13:00 2005 +++ pear/HTML_Table/package.php Tue Oct 25 11:25:31 2005 @@ -4,7 +4,7 @@ * * Taken from PEAR::Log, thanks Jon ;) * - * $Id: package.php,v 1.15 2005/10/25 13:13:00 wiesemann Exp $ + * $Id: package.php,v 1.16 2005/10/25 15:25:31 dufuz Exp $ */ require_once 'PEAR/PackageFileManager.php'; require_once 'Console/Getopt.php'; @@ -16,6 +16,7 @@ - Bugfix: addCol() had the same problem as in request #4988 (it did not accept array keys as row numbers) - Bugfix: toHtml() wrongly assumed that there are instances of \$_thead and \$_tfoot when \$useTGroups == true - Bugfix: return PEAR_Error object in getCellContents when cell does not exist +- Couple of unit tests were added, covering a lot of ground. EOT; $description = <<<EOT http://cvs.php.net/diff.php/pear/HTML_Table/package.xml?r1=1.15&r2=1.16&ty=u Index: pear/HTML_Table/package.xml diff -u pear/HTML_Table/package.xml:1.15 pear/HTML_Table/package.xml:1.16 --- pear/HTML_Table/package.xml:1.15 Fri Oct 21 15:35:06 2005 +++ pear/HTML_Table/package.xml Tue Oct 25 11:25:31 2005 @@ -40,41 +40,15 @@ </maintainer> </maintainers> <release> - <version>1.6.0</version> - <date>2005-10-21</date> + <version>1.6.1</version> + <date>2005-10-25</date> <license>PHP_License</license> <state>stable</state> - <notes>- Mark Wieseman is now a active developer -- td/th aren&apos;t longer case sensitive in addRow() and relative functions -- Added the possibility to specify on which row the cols should be counted. (Bertrand) -- #786, if the value was a zero, the cell content was converted to the autofill value. (Bertrand) -- #1734, _adjustEnd added a extra empty column if there was only one column being processed -- setHeaderContents can now accept attributes, but it&apos;s optional. request #2030 -- Request #4944: setCellContents() now accepts an array as $contents ($col will be used as the start column then). -- Request #4988: addRow() accepts now array keys as column numbers. -- Added support for thead, tfoot and tbody on the courtesy of Mark Wiesemann &lt;wiesemann@php.net&gt; - -Usage: - -- current behaviour is still available: -$table = new HTML_Table(); -$table-&gt;setCellContents(...); -echo $table-&gt;toHtml(); - -- new alternative with same result: -$table = new HTML_Table(); -$body =&amp; $table-&gt;getBody(); -$body-&gt;setCellContents(...); -echo $table-&gt;toHtml(); - -- using the new grouping: -$table = new HTML_Table(null, null, true); -$head =&amp; $table-&gt;getHeader(); -$foot =&amp; $table-&gt;getFooter(); -$body =&amp; $table-&gt;getBody(); -$head-&gt;setCellContents(...); -$body-&gt;setCellContents(...); -echo $table-&gt;toHtml(); // &lt;tfoot&gt; will not be rendered + <notes>- Bugfix: addCol() must not call Storage::updateRowAttributes(), but Storage::addCol() +- Bugfix: addCol() had the same problem as in request #4988 (it did not accept array keys as row numbers) +- Bugfix: toHtml() wrongly assumed that there are instances of $_thead and $_tfoot when $useTGroups == true +- Bugfix: return PEAR_Error object in getCellContents when cell does not exist +- Couple of unit tests were added, covering a lot of ground. </notes> <deps> <dep type="pkg" rel="ge" version="1.2.0" optional="no">HTML_Common</dep> @@ -89,12 +63,43 @@ <dir name="Table"> <file role="php" name="Storage.php"/> </dir> <!-- /Table --> + <dir name="tests"> + <file role="data" name="1.phpt"/> + <file role="data" name="2.phpt"/> + <file role="data" name="3.phpt"/> + <file role="data" name="4.phpt"/> + <file role="data" name="5.phpt"/> + <file role="data" name="6.phpt"/> + <file role="data" name="7.phpt"/> + <file role="data" name="8.phpt"/> + <file role="data" name="9.phpt"/> + <file role="data" name="10.phpt"/> + <file role="data" name="11.phpt"/> + <file role="data" name="12.phpt"/> + <file role="data" name="13.phpt"/> + <file role="data" name="14.phpt"/> + <file role="data" name="15.phpt"/> + <file role="data" name="16.phpt"/> + <file role="data" name="17.phpt"/> + </dir> <!-- /tests --> <file role="php" name="Table.php"/> </dir> <!-- / --> </filelist> </release> <changelog> <release> + <version>1.6.1</version> + <date>2005-10-25</date> + <license>PHP_License</license> + <state>stable</state> + <notes>- Bugfix: addCol() must not call Storage::updateRowAttributes(), but Storage::addCol() +- Bugfix: addCol() had the same problem as in request #4988 (it did not accept array keys as row numbers) +- Bugfix: toHtml() wrongly assumed that there are instances of $_thead and $_tfoot when $useTGroups == true +- Bugfix: return PEAR_Error object in getCellContents when cell does not exist +- Couple of unit tests were added, covering a lot of ground. + </notes> + </release> + <release> <version>1.6.0</version> <date>2005-10-21</date> <license>PHP_License</license>

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