phphtmllib-devel Mailing List for phpHtmlLib
Status: Beta
Brought to you by:
hemna
You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(33) |
Jul
(2) |
Aug
(3) |
Sep
|
Oct
(2) |
Nov
(1) |
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
|
Feb
|
Mar
(4) |
Apr
|
May
(3) |
Jun
(1) |
Jul
(10) |
Aug
(5) |
Sep
|
Oct
|
Nov
(2) |
Dec
(5) |
2004 |
Jan
(1) |
Feb
(8) |
Mar
(139) |
Apr
(65) |
May
(32) |
Jun
(55) |
Jul
(21) |
Aug
(60) |
Sep
(43) |
Oct
(1) |
Nov
(18) |
Dec
(34) |
2005 |
Jan
(25) |
Feb
(2) |
Mar
(49) |
Apr
(13) |
May
(40) |
Jun
(22) |
Jul
(21) |
Aug
(59) |
Sep
(178) |
Oct
(54) |
Nov
(3) |
Dec
(49) |
2006 |
Jan
(21) |
Feb
(1) |
Mar
(5) |
Apr
(29) |
May
(86) |
Jun
(79) |
Jul
(52) |
Aug
(127) |
Sep
(187) |
Oct
(90) |
Nov
(61) |
Dec
(48) |
2007 |
Jan
(79) |
Feb
(136) |
Mar
(58) |
Apr
(139) |
May
(293) |
Jun
(112) |
Jul
(138) |
Aug
(112) |
Sep
(148) |
Oct
(76) |
Nov
(29) |
Dec
(66) |
2008 |
Jan
(45) |
Feb
(60) |
Mar
(119) |
Apr
(169) |
May
(172) |
Jun
(136) |
Jul
(107) |
Aug
(114) |
Sep
(104) |
Oct
(26) |
Nov
(50) |
Dec
(48) |
2009 |
Jan
(9) |
Feb
(35) |
Mar
(22) |
Apr
(43) |
May
(83) |
Jun
(68) |
Jul
(58) |
Aug
(21) |
Sep
(23) |
Oct
(62) |
Nov
(36) |
Dec
(26) |
2010 |
Jan
(16) |
Feb
(83) |
Mar
(73) |
Apr
(51) |
May
(76) |
Jun
(96) |
Jul
(70) |
Aug
(33) |
Sep
(10) |
Oct
(1) |
Nov
(2) |
Dec
|
2011 |
Jan
(4) |
Feb
(1) |
Mar
|
Apr
(1) |
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
2012 |
Jan
|
Feb
(1) |
Mar
(12) |
Apr
|
May
(1) |
Jun
(2) |
Jul
|
Aug
(3) |
Sep
(3) |
Oct
|
Nov
|
Dec
|
2013 |
Jan
|
Feb
(3) |
Mar
|
Apr
(1) |
May
|
Jun
(1) |
Jul
(1) |
Aug
|
Sep
(5) |
Oct
(1) |
Nov
|
Dec
(1) |
2014 |
Jan
(2) |
Feb
(1) |
Mar
|
Apr
(2) |
May
(1) |
Jun
|
Jul
(1) |
Aug
(2) |
Sep
(2) |
Oct
(2) |
Nov
(3) |
Dec
|
2015 |
Jan
(1) |
Feb
(1) |
Mar
(2) |
Apr
(1) |
May
(2) |
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(1) |
Oct
|
Nov
|
Dec
|
2016 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
(1) |
Aug
(1) |
Sep
|
Oct
(1) |
Nov
|
Dec
|
2017 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <mpw...@us...> - 2015-05-19 01:12:21
|
Revision: 3578 http://sourceforge.net/p/phphtmllib/svn/3578 Author: mpwalsh8 Date: 2015-05-19 01:12:19 +0000 (Tue, 19 May 2015) Log Message: ----------- Prep for v2.6.8 release. Modified Paths: -------------- branches/BRANCH_2_X/phphtmllib/ReadMe.txt branches/BRANCH_2_X/phphtmllib/Version.txt branches/BRANCH_2_X/phphtmllib/version.inc Modified: branches/BRANCH_2_X/phphtmllib/ReadMe.txt =================================================================== --- branches/BRANCH_2_X/phphtmllib/ReadMe.txt 2015-05-19 01:09:35 UTC (rev 3577) +++ branches/BRANCH_2_X/phphtmllib/ReadMe.txt 2015-05-19 01:12:19 UTC (rev 3578) @@ -2,8 +2,8 @@ Contributors: mpwalsh8 Donate link: http://sourceforge.net/project/project_donations.php?group_id=32790 Tags: HTML, Forms, XHTML, XML, Widgets -Requires at least: 3.1 -Tested up to: 3.5.1 +Requires at least: 3.8 +Tested up to: 4.2.2 Stable tag: trunk The phpHtmlLib library contains a set of PHP classes and library functions to help @@ -40,6 +40,9 @@ full details on changes, bugs, enhancesments, future developments and much more and is the definitive source for the Change Log. += 2.6.8 = +* Resolved a number of PHP Strict Standard notices resulting from calling non-static functions statically and/or mismatched method signatures between parent and child classes. + = 2.6.7 = * Fixed spacing issues with radio buttons and check boxes. * Checked for existing styling before overloading it with CheckBoxList DIVs. Modified: branches/BRANCH_2_X/phphtmllib/Version.txt =================================================================== --- branches/BRANCH_2_X/phphtmllib/Version.txt 2015-05-19 01:09:35 UTC (rev 3577) +++ branches/BRANCH_2_X/phphtmllib/Version.txt 2015-05-19 01:12:19 UTC (rev 3578) @@ -1,4 +1,4 @@ MAJOR_RELEASE=2.6 -MINOR_RELEASE=7 +MINOR_RELEASE=8 BUILD_NUMBER=$WCREV$ BUILD_TIME=$WCNOW$ Modified: branches/BRANCH_2_X/phphtmllib/version.inc =================================================================== --- branches/BRANCH_2_X/phphtmllib/version.inc 2015-05-19 01:09:35 UTC (rev 3577) +++ branches/BRANCH_2_X/phphtmllib/version.inc 2015-05-19 01:12:19 UTC (rev 3578) @@ -18,7 +18,7 @@ * This is the version of the libs * @var string - the version string. */ -define("PHPHTMLLIB_VERSION", '2.6.7.$WCREV$'); +define("PHPHTMLLIB_VERSION", '2.6.8.$WCREV$'); /** This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mpw...@us...> - 2015-05-19 01:09:38
|
Revision: 3577 http://sourceforge.net/p/phphtmllib/svn/3577 Author: mpwalsh8 Date: 2015-05-19 01:09:35 +0000 (Tue, 19 May 2015) Log Message: ----------- Resolved a number of PHP Strict Standard notices resulting from calling non-static functions statically and/or mismatched method signatures between parent and child classes. Modified Paths: -------------- branches/BRANCH_2_X/phphtmllib/form/FormValidation.inc branches/BRANCH_2_X/phphtmllib/widgets/data_list/DataList.inc Modified: branches/BRANCH_2_X/phphtmllib/form/FormValidation.inc =================================================================== --- branches/BRANCH_2_X/phphtmllib/form/FormValidation.inc 2013-09-30 14:58:27 UTC (rev 3576) +++ branches/BRANCH_2_X/phphtmllib/form/FormValidation.inc 2015-05-19 01:09:35 UTC (rev 3577) @@ -67,7 +67,7 @@ * * @return FormValidation object */ - function &singleton() { + static function &singleton() { static $obj=NULL; if (is_null($obj)) { Modified: branches/BRANCH_2_X/phphtmllib/widgets/data_list/DataList.inc =================================================================== --- branches/BRANCH_2_X/phphtmllib/widgets/data_list/DataList.inc 2013-09-30 14:58:27 UTC (rev 3576) +++ branches/BRANCH_2_X/phphtmllib/widgets/data_list/DataList.inc 2015-05-19 01:09:35 UTC (rev 3577) @@ -350,7 +350,7 @@ * widget * */ - function render($indent_level, $output_debug) { + function render($indent_level=0, $output_debug=0) { //setup the columns in their sorts $this->setup_columns(); @@ -563,7 +563,7 @@ * is the last cell for the current row. * */ - function child_add_row_cell($obj, $col_name, $last_in_row_flag) { + function child_add_row_cell($obj, $col_name, $last_in_row_flag, $row_data, $even_row) { user_error("DataList::child_add_row_cell() - ". "child class must override this method ". "to build the object that will be the ". This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: Lin S. <je...@ch...> - 2015-01-09 01:23:17
|
Dear Manager, Good Day. This Jewel from Shenzhen Changdong Stamping Die Co., Ltd.We are one of leading manufacture of Smping Dies(Press Tools), especially for the Jaguar & Land Rover and Volkswagen cars projects.Progressive dies,tranfer dies, process simulation and other technical are all support to you.Product catalog and company profile will send to you by second email . Please do not hesitate to contact us if you have any questions. (If i have sent the wrong email to you,i am so sorry to disturb you,hope you don't feel unhappy,this is only for my working,you could delete it at once,thank you very much!) Thanks®ards, Jewel http://www.stamping-dies.com/ www.stamping-dies.com uy5stogd |
From: <mpw...@us...> - 2013-09-30 13:19:30
|
Revision: 3575 http://sourceforge.net/p/phphtmllib/svn/3575 Author: mpwalsh8 Date: 2013-09-30 13:19:27 +0000 (Mon, 30 Sep 2013) Log Message: ----------- Prep for v2.6.7 release. Modified Paths: -------------- branches/BRANCH_2_X/phphtmllib/ReadMe.txt branches/BRANCH_2_X/phphtmllib/version.inc Modified: branches/BRANCH_2_X/phphtmllib/ReadMe.txt =================================================================== --- branches/BRANCH_2_X/phphtmllib/ReadMe.txt 2013-09-30 13:18:38 UTC (rev 3574) +++ branches/BRANCH_2_X/phphtmllib/ReadMe.txt 2013-09-30 13:19:27 UTC (rev 3575) @@ -40,6 +40,10 @@ full details on changes, bugs, enhancesments, future developments and much more and is the definitive source for the Change Log. += 2.6.7 = +* Fixed spacing issues with radio buttons and check boxes. +* Checked for existing styling before overloading it with CheckBoxList DIVs. + = 2.6.6 = * Fixed compatibility problem with PHP method_exists() function which caused PHP to crash with some versions of PHP 5.3.x on certain platforms (e.g. PHP 5.3.13 on Linux). Modified: branches/BRANCH_2_X/phphtmllib/version.inc =================================================================== --- branches/BRANCH_2_X/phphtmllib/version.inc 2013-09-30 13:18:38 UTC (rev 3574) +++ branches/BRANCH_2_X/phphtmllib/version.inc 2013-09-30 13:19:27 UTC (rev 3575) @@ -18,7 +18,7 @@ * This is the version of the libs * @var string - the version string. */ -define("PHPHTMLLIB_VERSION", '2.6.3.$WCREV$'); +define("PHPHTMLLIB_VERSION", '2.6.7.$WCREV$'); /** This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mpw...@us...> - 2013-09-30 13:18:41
|
Revision: 3574 http://sourceforge.net/p/phphtmllib/svn/3574 Author: mpwalsh8 Date: 2013-09-30 13:18:38 +0000 (Mon, 30 Sep 2013) Log Message: ----------- Fixed spacing problems on radio buttons and checkbox lists, checked for CSS before squashing it with new CSS. Modified Paths: -------------- branches/BRANCH_2_X/phphtmllib/form/FormElement.inc branches/BRANCH_2_X/phphtmllib/form/form_elements/FECheckBox.inc branches/BRANCH_2_X/phphtmllib/form/form_elements/FERadioGroup.inc Modified: branches/BRANCH_2_X/phphtmllib/form/FormElement.inc =================================================================== --- branches/BRANCH_2_X/phphtmllib/form/FormElement.inc 2013-09-30 13:13:11 UTC (rev 3573) +++ branches/BRANCH_2_X/phphtmllib/form/FormElement.inc 2013-09-30 13:18:38 UTC (rev 3574) @@ -499,6 +499,16 @@ } /** + * Returns elements css attribute + * + * @param string $name attribute name + * @return mixe $value the value or null + */ + function get_style_attribute($name) { + return array_key_exists($name, $this->_style_attributes) ? $this->_style_attributes[$name] : null; + } + + /** * Sets the element's tab index * * @param int the # for the tabindex Modified: branches/BRANCH_2_X/phphtmllib/form/form_elements/FECheckBox.inc =================================================================== --- branches/BRANCH_2_X/phphtmllib/form/form_elements/FECheckBox.inc 2013-09-30 13:13:11 UTC (rev 3573) +++ branches/BRANCH_2_X/phphtmllib/form/form_elements/FECheckBox.inc 2013-09-30 13:18:38 UTC (rev 3574) @@ -177,9 +177,12 @@ function get_element() { if ($this->_height || $this->_width) { - $this->set_style_attribute("overflow", "auto"); - $this->set_style_attribute("border", "1px inset"); - $this->set_style_attribute("background-color", "white"); + if (is_null($this->get_style_attribute('overflow'))) + $this->set_style_attribute("overflow", "auto"); + if (is_null($this->get_style_attribute('border'))) + $this->set_style_attribute("border", "1px inset"); + if (is_null($this->get_style_attribute('background-color'))) + $this->set_style_attribute("background-color", "white"); } $attributes = $this->_build_element_attributes(); @@ -195,6 +198,7 @@ $id = str_replace('_','','id'.str_replace('[]','',$element_name).$x); $x++; $attributes = array("type"=>"checkbox", + "style"=>"vertical-align: middle;margin-right: 5px;", "name"=>$name, "id"=>$id, "value"=>$value); Modified: branches/BRANCH_2_X/phphtmllib/form/form_elements/FERadioGroup.inc =================================================================== --- branches/BRANCH_2_X/phphtmllib/form/form_elements/FERadioGroup.inc 2013-09-30 13:13:11 UTC (rev 3573) +++ branches/BRANCH_2_X/phphtmllib/form/form_elements/FERadioGroup.inc 2013-09-30 13:18:38 UTC (rev 3574) @@ -139,7 +139,9 @@ function _get_index_element($index) { $attributes = $this->_build_element_attributes(); $attributes["type"] = "radio"; + $attributes["style"] = "vertical-align: middle;margin-right: 5px;"; + list($name, $value) = each($this->_data_list[$index]); $attributes["value"] = $value; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mpw...@us...> - 2013-09-30 13:13:21
|
Revision: 3573 http://sourceforge.net/p/phphtmllib/svn/3573 Author: mpwalsh8 Date: 2013-09-30 13:13:11 +0000 (Mon, 30 Sep 2013) Log Message: ----------- Minor revision bump. Modified Paths: -------------- branches/BRANCH_2_X/phphtmllib/Version.txt Modified: branches/BRANCH_2_X/phphtmllib/Version.txt =================================================================== --- branches/BRANCH_2_X/phphtmllib/Version.txt 2013-02-26 14:44:09 UTC (rev 3572) +++ branches/BRANCH_2_X/phphtmllib/Version.txt 2013-09-30 13:13:11 UTC (rev 3573) @@ -1,4 +1,4 @@ MAJOR_RELEASE=2.6 -MINOR_RELEASE=6 +MINOR_RELEASE=7 BUILD_NUMBER=$WCREV$ BUILD_TIME=$WCNOW$ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mpw...@us...> - 2013-02-26 14:44:16
|
Revision: 3572 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3572&view=rev Author: mpwalsh8 Date: 2013-02-26 14:44:09 +0000 (Tue, 26 Feb 2013) Log Message: ----------- Minor revision bump. Modified Paths: -------------- branches/BRANCH_2_X/phphtmllib/Version.txt Modified: branches/BRANCH_2_X/phphtmllib/Version.txt =================================================================== --- branches/BRANCH_2_X/phphtmllib/Version.txt 2013-02-26 14:43:54 UTC (rev 3571) +++ branches/BRANCH_2_X/phphtmllib/Version.txt 2013-02-26 14:44:09 UTC (rev 3572) @@ -1,4 +1,4 @@ MAJOR_RELEASE=2.6 -MINOR_RELEASE=5 +MINOR_RELEASE=6 BUILD_NUMBER=$WCREV$ BUILD_TIME=$WCNOW$ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mpw...@us...> - 2013-02-26 14:44:02
|
Revision: 3571 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3571&view=rev Author: mpwalsh8 Date: 2013-02-26 14:43:54 +0000 (Tue, 26 Feb 2013) Log Message: ----------- Fixed issue with method_exists() and PHP 5.3.x compatibility. Modified Paths: -------------- branches/BRANCH_2_X/phphtmllib/ReadMe.txt Modified: branches/BRANCH_2_X/phphtmllib/ReadMe.txt =================================================================== --- branches/BRANCH_2_X/phphtmllib/ReadMe.txt 2013-02-26 14:41:37 UTC (rev 3570) +++ branches/BRANCH_2_X/phphtmllib/ReadMe.txt 2013-02-26 14:43:54 UTC (rev 3571) @@ -3,7 +3,7 @@ Donate link: http://sourceforge.net/project/project_donations.php?group_id=32790 Tags: HTML, Forms, XHTML, XML, Widgets Requires at least: 3.1 -Tested up to: 3.3.1 +Tested up to: 3.5.1 Stable tag: trunk The phpHtmlLib library contains a set of PHP classes and library functions to help @@ -40,6 +40,9 @@ full details on changes, bugs, enhancesments, future developments and much more and is the definitive source for the Change Log. += 2.6.6 = +* Fixed compatibility problem with PHP method_exists() function which caused PHP to crash with some versions of PHP 5.3.x on certain platforms (e.g. PHP 5.3.13 on Linux). + = 2.6.5 = * Fixed recently added child constructors which addressed PHP5.3 compatibility issues so they play nice with PHP5.2.x as well. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mpw...@us...> - 2013-02-26 14:41:52
|
Revision: 3570 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3570&view=rev Author: mpwalsh8 Date: 2013-02-26 14:41:37 +0000 (Tue, 26 Feb 2013) Log Message: ----------- Fixed issue with method_exists() and PHP 5.3.x compatibility. Modified Paths: -------------- branches/BRANCH_2_X/phphtmllib/ContainerClass.inc Modified: branches/BRANCH_2_X/phphtmllib/ContainerClass.inc =================================================================== --- branches/BRANCH_2_X/phphtmllib/ContainerClass.inc 2012-09-03 13:49:35 UTC (rev 3569) +++ branches/BRANCH_2_X/phphtmllib/ContainerClass.inc 2013-02-26 14:41:37 UTC (rev 3570) @@ -112,11 +112,12 @@ * @return string the raw html output. */ function render($indent_level=0, $output_debug=0) { + $html = ''; for ($x=0; $x<=$this->_data_count-1; $x++) { $item = &$this->_content[$x]; - if (method_exists($item, "render") ) { + if (is_object($item) && method_exists($item, "render") ) { if (($this->_flags & _COLLAPSE) && method_exists($item, "set_collapse")) { $item->set_collapse(TRUE, FALSE); } @@ -133,6 +134,7 @@ } } } + if ($this->_flags & _COLLAPSE) { $indent = $this->_render_indent($indent_level, $output_debug); if ($this->_flags & _NEWLINEAFTERCONTENT) { @@ -146,6 +148,7 @@ } } + return $html; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mpw...@us...> - 2012-09-03 13:49:45
|
Revision: 3569 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3569&view=rev Author: mpwalsh8 Date: 2012-09-03 13:49:35 +0000 (Mon, 03 Sep 2012) Log Message: ----------- Prep for v2.6.5 release. Modified Paths: -------------- branches/BRANCH_2_X/phphtmllib/ReadMe.txt branches/BRANCH_2_X/phphtmllib/Version.txt Modified: branches/BRANCH_2_X/phphtmllib/ReadMe.txt =================================================================== --- branches/BRANCH_2_X/phphtmllib/ReadMe.txt 2012-09-03 13:47:40 UTC (rev 3568) +++ branches/BRANCH_2_X/phphtmllib/ReadMe.txt 2012-09-03 13:49:35 UTC (rev 3569) @@ -40,6 +40,9 @@ full details on changes, bugs, enhancesments, future developments and much more and is the definitive source for the Change Log. += 2.6.5 = +* Fixed recently added child constructors which addressed PHP5.3 compatibility issues so they play nice with PHP5.2.x as well. + = 2.6.4 = * Added child constructors which are needed by some versions of PHP (e.g. 5.3.1) to allow proper constructor chain calling. A missing constructor in the middle of a grandchild->child->parent class results in a PHP error in SOME PHP releases. Modified: branches/BRANCH_2_X/phphtmllib/Version.txt =================================================================== --- branches/BRANCH_2_X/phphtmllib/Version.txt 2012-09-03 13:47:40 UTC (rev 3568) +++ branches/BRANCH_2_X/phphtmllib/Version.txt 2012-09-03 13:49:35 UTC (rev 3569) @@ -1,4 +1,4 @@ MAJOR_RELEASE=2.6 -MINOR_RELEASE=4 +MINOR_RELEASE=5 BUILD_NUMBER=$WCREV$ BUILD_TIME=$WCNOW$ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mpw...@us...> - 2012-09-03 13:47:49
|
Revision: 3568 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3568&view=rev Author: mpwalsh8 Date: 2012-09-03 13:47:40 +0000 (Mon, 03 Sep 2012) Log Message: ----------- Updated PHP5.3 compatible constructor to play nice with PHP5.2.x. Modified Paths: -------------- branches/BRANCH_2_X/phphtmllib/form/form_elements/FEListBox.inc Modified: branches/BRANCH_2_X/phphtmllib/form/form_elements/FEListBox.inc =================================================================== --- branches/BRANCH_2_X/phphtmllib/form/form_elements/FEListBox.inc 2012-09-03 13:47:13 UTC (rev 3567) +++ branches/BRANCH_2_X/phphtmllib/form/form_elements/FEListBox.inc 2012-09-03 13:47:40 UTC (rev 3568) @@ -68,7 +68,8 @@ * @param array of Constructor Arguments */ function FEListBox() { - call_user_func_array('parent::FEDataList', func_get_args()) ; + $args = func_get_args() ; + call_user_func_array(array('FEDataList', 'FEDataList'), $args) ; } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mpw...@us...> - 2012-09-03 13:47:24
|
Revision: 3567 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3567&view=rev Author: mpwalsh8 Date: 2012-09-03 13:47:13 +0000 (Mon, 03 Sep 2012) Log Message: ----------- Updated PHP5.3 compatible constructor to play nice with PHP5.2.x. Modified Paths: -------------- branches/BRANCH_2_X/phphtmllib/widgets/data_list/DefaultGUIDataList.inc Modified: branches/BRANCH_2_X/phphtmllib/widgets/data_list/DefaultGUIDataList.inc =================================================================== --- branches/BRANCH_2_X/phphtmllib/widgets/data_list/DefaultGUIDataList.inc 2012-08-28 18:51:20 UTC (rev 3566) +++ branches/BRANCH_2_X/phphtmllib/widgets/data_list/DefaultGUIDataList.inc 2012-09-03 13:47:13 UTC (rev 3567) @@ -1316,7 +1316,8 @@ * @param array of Constructor Arguments */ function DefaultGUIDataList() { - call_user_func_array('parent::DataList', func_get_args()) ; + $args = func_get_args() ; + call_user_func_array(array('DataList', 'DataList'), $args) ; } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mpw...@us...> - 2012-08-28 18:51:27
|
Revision: 3566 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3566&view=rev Author: mpwalsh8 Date: 2012-08-28 18:51:20 +0000 (Tue, 28 Aug 2012) Log Message: ----------- Prep for v2.6.4 release. Modified Paths: -------------- branches/BRANCH_2_X/phphtmllib/ReadMe.txt branches/BRANCH_2_X/phphtmllib/Version.txt Modified: branches/BRANCH_2_X/phphtmllib/ReadMe.txt =================================================================== --- branches/BRANCH_2_X/phphtmllib/ReadMe.txt 2012-08-28 18:47:59 UTC (rev 3565) +++ branches/BRANCH_2_X/phphtmllib/ReadMe.txt 2012-08-28 18:51:20 UTC (rev 3566) @@ -40,6 +40,9 @@ full details on changes, bugs, enhancesments, future developments and much more and is the definitive source for the Change Log. += 2.6.4 = +* Added child constructors which are needed by some versions of PHP (e.g. 5.3.1) to allow proper constructor chain calling. A missing constructor in the middle of a grandchild->child->parent class results in a PHP error in SOME PHP releases. + = 2.6.3 = * Fixed numerous deprecated notices and warnings which result when running under PHP5. * Fixed problem with missing image on Action Bar when displaying empty the action bar on an empty GUIDataList widget. Modified: branches/BRANCH_2_X/phphtmllib/Version.txt =================================================================== --- branches/BRANCH_2_X/phphtmllib/Version.txt 2012-08-28 18:47:59 UTC (rev 3565) +++ branches/BRANCH_2_X/phphtmllib/Version.txt 2012-08-28 18:51:20 UTC (rev 3566) @@ -1,4 +1,4 @@ MAJOR_RELEASE=2.6 -MINOR_RELEASE=3 +MINOR_RELEASE=4 BUILD_NUMBER=$WCREV$ BUILD_TIME=$WCNOW$ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mpw...@us...> - 2012-08-28 18:48:05
|
Revision: 3565 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3565&view=rev Author: mpwalsh8 Date: 2012-08-28 18:47:59 +0000 (Tue, 28 Aug 2012) Log Message: ----------- Added missing child constructor which broke the constructor chain in early PHP 5.3.x builds. Modified Paths: -------------- branches/BRANCH_2_X/phphtmllib/widgets/data_list/DefaultGUIDataList.inc Modified: branches/BRANCH_2_X/phphtmllib/widgets/data_list/DefaultGUIDataList.inc =================================================================== --- branches/BRANCH_2_X/phphtmllib/widgets/data_list/DefaultGUIDataList.inc 2012-08-28 18:47:32 UTC (rev 3564) +++ branches/BRANCH_2_X/phphtmllib/widgets/data_list/DefaultGUIDataList.inc 2012-08-28 18:47:59 UTC (rev 3565) @@ -1309,7 +1309,15 @@ return $js; } - + /** + * Constructor - needed for early PHP 5.3.x compatibility + * + * @param Parent Constructor + * @param array of Constructor Arguments + */ + function DefaultGUIDataList() { + call_user_func_array('parent::DataList', func_get_args()) ; + } } /** This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mpw...@us...> - 2012-08-28 18:47:38
|
Revision: 3564 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3564&view=rev Author: mpwalsh8 Date: 2012-08-28 18:47:32 +0000 (Tue, 28 Aug 2012) Log Message: ----------- Added missing child constructor which broke the constructor chain in early PHP 5.3.x builds. Modified Paths: -------------- branches/BRANCH_2_X/phphtmllib/form/form_elements/FEListBox.inc Modified: branches/BRANCH_2_X/phphtmllib/form/form_elements/FEListBox.inc =================================================================== --- branches/BRANCH_2_X/phphtmllib/form/form_elements/FEListBox.inc 2012-03-12 22:23:45 UTC (rev 3563) +++ branches/BRANCH_2_X/phphtmllib/form/form_elements/FEListBox.inc 2012-08-28 18:47:32 UTC (rev 3564) @@ -60,6 +60,16 @@ } return $tag; } + + /** + * Constructor - needed for early PHP 5.3.x compatibility + * + * @param Parent Constructor + * @param array of Constructor Arguments + */ + function FEListBox() { + call_user_func_array('parent::FEDataList', func_get_args()) ; + } } /** @@ -1258,8 +1268,6 @@ } parent::FEListBox($label, $required, $width, $height, array_flip($months)); - - } } @@ -2025,7 +2033,7 @@ * * @author Walter A. Boring IV */ -class FEHoursListBox extends FEListbox { +class FEHoursListBox extends FEListBox { /** * Flag to tell us to use 12 or 24 hour format @@ -2060,7 +2068,7 @@ * * @author Walter A. Boring IV */ -class FEMinutesListBox extends FEListbox { +class FEMinutesListBox extends FEListBox { /** * The constructor This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cuz...@12...> - 2012-05-11 12:31:15
|
皇 玛 数 码 钢 琴 官 方 网 站:www.huangmapiano.com 全 国 免 费 服 务 热 线:400-6628-366 感谢您的阅读!欢迎您随时大驾光临!! HuangMaofficial websiteofthedigital piano:www.huangmapiano.com NationalFreePayment ServiceHotline:400-6628-366 Thank you forreading!Welcome youat any timefor coming!! |
From: <mpw...@us...> - 2012-03-12 22:23:51
|
Revision: 3563 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3563&view=rev Author: mpwalsh8 Date: 2012-03-12 22:23:45 +0000 (Mon, 12 Mar 2012) Log Message: ----------- Re-release of 2.6.3 due to SVN mixup. Modified Paths: -------------- branches/BRANCH_2_X/phphtmllib/version.inc Modified: branches/BRANCH_2_X/phphtmllib/version.inc =================================================================== --- branches/BRANCH_2_X/phphtmllib/version.inc 2012-03-12 22:23:05 UTC (rev 3562) +++ branches/BRANCH_2_X/phphtmllib/version.inc 2012-03-12 22:23:45 UTC (rev 3563) @@ -18,7 +18,7 @@ * This is the version of the libs * @var string - the version string. */ -define("PHPHTMLLIB_VERSION", '2.6.3.3559'); +define("PHPHTMLLIB_VERSION", '2.6.3.$WCREV$'); /** This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mpw...@us...> - 2012-03-12 22:23:11
|
Revision: 3562 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3562&view=rev Author: mpwalsh8 Date: 2012-03-12 22:23:05 +0000 (Mon, 12 Mar 2012) Log Message: ----------- Re-release of 2.6.3 due to SVN mixup. Modified Paths: -------------- branches/BRANCH_2_X/phphtmllib/version.inc Modified: branches/BRANCH_2_X/phphtmllib/version.inc =================================================================== --- branches/BRANCH_2_X/phphtmllib/version.inc 2012-03-12 22:19:09 UTC (rev 3561) +++ branches/BRANCH_2_X/phphtmllib/version.inc 2012-03-12 22:23:05 UTC (rev 3562) @@ -8,6 +8,7 @@ * $Id$ * * @author Walter A. Boring IV <wab...@ne...> + * @author Mike Walsh <mi...@wa...> * @package phpHtmlLib * */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mpw...@us...> - 2012-03-12 22:19:15
|
Revision: 3561 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3561&view=rev Author: mpwalsh8 Date: 2012-03-12 22:19:09 +0000 (Mon, 12 Mar 2012) Log Message: ----------- Re-release of 2.6.3 due to SVN mixup. Modified Paths: -------------- branches/BRANCH_2_X/phphtmllib/phphtmllib.php Modified: branches/BRANCH_2_X/phphtmllib/phphtmllib.php =================================================================== --- branches/BRANCH_2_X/phphtmllib/phphtmllib.php 2012-03-12 22:08:16 UTC (rev 3560) +++ branches/BRANCH_2_X/phphtmllib/phphtmllib.php 2012-03-12 22:19:09 UTC (rev 3561) @@ -1,110 +1,110 @@ -<?php -/* vim: set expandtab tabstop=4 shiftwidth=4: */ -/** - * Plugin Name: phpHtmlLib - * Plugin URI: http://michaelwalsh.org/wordpress-stuff/wordpress-plugins/phphtmllib/ - * Description: WordPress plugin to bind the phpHtmlLib library to WordPress. The phpHtmlLib library contains a set of PHP classes and library functions to help facilitate building, debugging, and rendering of XML, HTML, XHTML, WAP/WML Documents, and SVG (Scalable Vector Graphics) images as well as complex html Widgets. These classes, library functions and widgets can be used to build other WordPress plugins. - * - * - * Version: 2.6.3.3559 - * Last Modified: 2012/03/12 23:01:37 - * Author: Mike Walsh - * Author URI: http://www.michaelwalsh.org/ - * License: GPL - * - * - * $Id$ - * - * (c) 2008 by Mike Walsh - * - * @author Mike Walsh <mik...@mi...> - * @package phpHtmlLib - * @subpackage WordPress - * @version $Rev$ - * @lastmodified $Date$ - * @lastmodifiedby $LastChangedBy$ - * @since 2.6.0 - * - */ - -// Initialize the library - -define("PHPHTMLLIB_ABSPATH", dirname(__FILE__)) ; -define("PHPHTMLLIB_RELPATH", get_bloginfo('url') . - "/" . PLUGINDIR . "/" . basename(dirname(__FILE__))) ; - -require_once(PHPHTMLLIB_ABSPATH . "/version.inc") ; - -/** - * Add wp_head action - * - * This function adds the CSS link and Javascript - * references required by the phpHtmlLib plugin. - * - */ -function phphtmllib_wp_head() -{ - phphtmllib_head_css() ; -} - -/** - * Add admin_head action - * - * This function adds the CSS link and Javascript - * references required by the phpHtmlLib plugin. - * - */ -function phphtmllib_admin_head() -{ - phphtmllib_head_css() ; -} - -/** - * phphtmllib_plugin_installed() - * - * @return - boolean - */ -function phphtmllib_plugin_installed() -{ - return true ; -} - -/** - * phphtmllib_install - set up when the plugin is activated - * - * Store the absolute and relative paths to phpHtmlLib - * in the options table so other plugins can use them. - * - */ -function phphtmllib_install() -{ - update_option('PHPHTMLLIB_ABSPATH', PHPHTMLLIB_ABSPATH) ; - update_option('PHPHTMLLIB_RELPATH', PHPHTMLLIB_RELPATH) ; - update_option('PHPHTMLLIB_VERSION', PHPHTMLLIB_VERSION) ; -} - -/** - * phphtmllib_uninstall - clean up when the plugin is deactivated - * - */ -function phphtmllib_uninstall() -{ - delete_option('PHPHTMLLIB_ABSPATH') ; - delete_option('PHPHTMLLIB_RELPATH') ; - delete_option('PHPHTMLLIB_VERSION') ; -} - -/** - * Hook for adding CSS links and other HEAD stuff - */ -//add_action('wp_head', 'phphtmllib_wp_head'); -//add_action('admin_head', 'phphtmllib_admin_head'); - - -/** - * Activate the plugin initialization function - */ -register_activation_hook(plugin_basename(__FILE__), 'phphtmllib_install') ; -register_deactivation_hook(plugin_basename(__FILE__), 'phphtmllib_uninstall') ; - -?> +<?php +/* vim: set expandtab tabstop=4 shiftwidth=4: */ +/** + * Plugin Name: phpHtmlLib + * Plugin URI: http://michaelwalsh.org/wordpress-stuff/wordpress-plugins/phphtmllib/ + * Description: WordPress plugin to bind the phpHtmlLib library to WordPress. The phpHtmlLib library contains a set of PHP classes and library functions to help facilitate building, debugging, and rendering of XML, HTML, XHTML, WAP/WML Documents, and SVG (Scalable Vector Graphics) images as well as complex html Widgets. These classes, library functions and widgets can be used to build other WordPress plugins. + * + * + * Version: MAJOR_RELEASE.MINOR_RELEASE.$WCREV$ + * Last Modified: $WCDATE$ + * Author: Mike Walsh + * Author URI: http://www.michaelwalsh.org/ + * License: GPL + * + * + * $Id$ + * + * (c) 2008 by Mike Walsh + * + * @author Mike Walsh <mi...@wa...> + * @package phpHtmlLib + * @subpackage WordPress + * @version $Rev$ + * @lastmodified $Date$ + * @lastmodifiedby $LastChangedBy$ + * @since 2.6.0 + * + */ + +// Initialize the library + +define("PHPHTMLLIB_ABSPATH", dirname(__FILE__)) ; +define("PHPHTMLLIB_RELPATH", get_bloginfo('url') . + "/" . PLUGINDIR . "/" . basename(dirname(__FILE__))) ; + +require_once(PHPHTMLLIB_ABSPATH . "/version.inc") ; + +/** + * Add wp_head action + * + * This function adds the CSS link and Javascript + * references required by the phpHtmlLib plugin. + * + */ +function phphtmllib_wp_head() +{ + phphtmllib_head_css() ; +} + +/** + * Add admin_head action + * + * This function adds the CSS link and Javascript + * references required by the phpHtmlLib plugin. + * + */ +function phphtmllib_admin_head() +{ + phphtmllib_head_css() ; +} + +/** + * phphtmllib_plugin_installed() + * + * @return - boolean + */ +function phphtmllib_plugin_installed() +{ + return true ; +} + +/** + * phphtmllib_install - set up when the plugin is activated + * + * Store the absolute and relative paths to phpHtmlLib + * in the options table so other plugins can use them. + * + */ +function phphtmllib_install() +{ + update_option('PHPHTMLLIB_ABSPATH', PHPHTMLLIB_ABSPATH) ; + update_option('PHPHTMLLIB_RELPATH', PHPHTMLLIB_RELPATH) ; + update_option('PHPHTMLLIB_VERSION', PHPHTMLLIB_VERSION) ; +} + +/** + * phphtmllib_uninstall - clean up when the plugin is deactivated + * + */ +function phphtmllib_uninstall() +{ + delete_option('PHPHTMLLIB_ABSPATH') ; + delete_option('PHPHTMLLIB_RELPATH') ; + delete_option('PHPHTMLLIB_VERSION') ; +} + +/** + * Hook for adding CSS links and other HEAD stuff + */ +//add_action('wp_head', 'phphtmllib_wp_head'); +//add_action('admin_head', 'phphtmllib_admin_head'); + + +/** + * Activate the plugin initialization function + */ +register_activation_hook(plugin_basename(__FILE__), 'phphtmllib_install') ; +register_deactivation_hook(plugin_basename(__FILE__), 'phphtmllib_uninstall') ; + +?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mpw...@us...> - 2012-03-12 22:08:23
|
Revision: 3560 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3560&view=rev Author: mpwalsh8 Date: 2012-03-12 22:08:16 +0000 (Mon, 12 Mar 2012) Log Message: ----------- Re-release of 2.6.3. Modified Paths: -------------- branches/BRANCH_2_X/phphtmllib/phphtmllib.php branches/BRANCH_2_X/phphtmllib/version.inc Modified: branches/BRANCH_2_X/phphtmllib/phphtmllib.php =================================================================== --- branches/BRANCH_2_X/phphtmllib/phphtmllib.php 2012-03-12 22:01:37 UTC (rev 3559) +++ branches/BRANCH_2_X/phphtmllib/phphtmllib.php 2012-03-12 22:08:16 UTC (rev 3560) @@ -1,110 +1,110 @@ -<?php -/* vim: set expandtab tabstop=4 shiftwidth=4: */ -/** - * Plugin Name: phpHtmlLib - * Plugin URI: http://michaelwalsh.org/wordpress-stuff/wordpress-plugins/phphtmllib/ - * Description: WordPress plugin to bind the phpHtmlLib library to WordPress. The phpHtmlLib library contains a set of PHP classes and library functions to help facilitate building, debugging, and rendering of XML, HTML, XHTML, WAP/WML Documents, and SVG (Scalable Vector Graphics) images as well as complex html Widgets. These classes, library functions and widgets can be used to build other WordPress plugins. - * - * - * Version: MAJOR_RELEASE.MINOR_RELEASE.$WCREV$ - * Last Modified: $WCDATE$ - * Author: Mike Walsh - * Author URI: http://www.michaelwalsh.org/ - * License: GPL - * - * - * $Id$ - * - * (c) 2008 by Mike Walsh - * - * @author Mike Walsh <mik...@mi...> - * @package phpHtmlLib - * @subpackage WordPress - * @version $Rev$ - * @lastmodified $Date$ - * @lastmodifiedby $LastChangedBy$ - * @since 2.6.0 - * - */ - -// Initialize the library - -define("PHPHTMLLIB_ABSPATH", dirname(__FILE__)) ; -define("PHPHTMLLIB_RELPATH", get_bloginfo('url') . - "/" . PLUGINDIR . "/" . basename(dirname(__FILE__))) ; - -require_once(PHPHTMLLIB_ABSPATH . "/version.inc") ; - -/** - * Add wp_head action - * - * This function adds the CSS link and Javascript - * references required by the phpHtmlLib plugin. - * - */ -function phphtmllib_wp_head() -{ - phphtmllib_head_css() ; -} - -/** - * Add admin_head action - * - * This function adds the CSS link and Javascript - * references required by the phpHtmlLib plugin. - * - */ -function phphtmllib_admin_head() -{ - phphtmllib_head_css() ; -} - -/** - * phphtmllib_plugin_installed() - * - * @return - boolean - */ -function phphtmllib_plugin_installed() -{ - return true ; -} - -/** - * phphtmllib_install - set up when the plugin is activated - * - * Store the absolute and relative paths to phpHtmlLib - * in the options table so other plugins can use them. - * - */ -function phphtmllib_install() -{ - update_option('PHPHTMLLIB_ABSPATH', PHPHTMLLIB_ABSPATH) ; - update_option('PHPHTMLLIB_RELPATH', PHPHTMLLIB_RELPATH) ; - update_option('PHPHTMLLIB_VERSION', PHPHTMLLIB_VERSION) ; -} - -/** - * phphtmllib_uninstall - clean up when the plugin is deactivated - * - */ -function phphtmllib_uninstall() -{ - delete_option('PHPHTMLLIB_ABSPATH') ; - delete_option('PHPHTMLLIB_RELPATH') ; - delete_option('PHPHTMLLIB_VERSION') ; -} - -/** - * Hook for adding CSS links and other HEAD stuff - */ -//add_action('wp_head', 'phphtmllib_wp_head'); -//add_action('admin_head', 'phphtmllib_admin_head'); - - -/** - * Activate the plugin initialization function - */ -register_activation_hook(plugin_basename(__FILE__), 'phphtmllib_install') ; -register_deactivation_hook(plugin_basename(__FILE__), 'phphtmllib_uninstall') ; - -?> +<?php +/* vim: set expandtab tabstop=4 shiftwidth=4: */ +/** + * Plugin Name: phpHtmlLib + * Plugin URI: http://michaelwalsh.org/wordpress-stuff/wordpress-plugins/phphtmllib/ + * Description: WordPress plugin to bind the phpHtmlLib library to WordPress. The phpHtmlLib library contains a set of PHP classes and library functions to help facilitate building, debugging, and rendering of XML, HTML, XHTML, WAP/WML Documents, and SVG (Scalable Vector Graphics) images as well as complex html Widgets. These classes, library functions and widgets can be used to build other WordPress plugins. + * + * + * Version: 2.6.3.3559 + * Last Modified: 2012/03/12 23:01:37 + * Author: Mike Walsh + * Author URI: http://www.michaelwalsh.org/ + * License: GPL + * + * + * $Id$ + * + * (c) 2008 by Mike Walsh + * + * @author Mike Walsh <mik...@mi...> + * @package phpHtmlLib + * @subpackage WordPress + * @version $Rev$ + * @lastmodified $Date$ + * @lastmodifiedby $LastChangedBy$ + * @since 2.6.0 + * + */ + +// Initialize the library + +define("PHPHTMLLIB_ABSPATH", dirname(__FILE__)) ; +define("PHPHTMLLIB_RELPATH", get_bloginfo('url') . + "/" . PLUGINDIR . "/" . basename(dirname(__FILE__))) ; + +require_once(PHPHTMLLIB_ABSPATH . "/version.inc") ; + +/** + * Add wp_head action + * + * This function adds the CSS link and Javascript + * references required by the phpHtmlLib plugin. + * + */ +function phphtmllib_wp_head() +{ + phphtmllib_head_css() ; +} + +/** + * Add admin_head action + * + * This function adds the CSS link and Javascript + * references required by the phpHtmlLib plugin. + * + */ +function phphtmllib_admin_head() +{ + phphtmllib_head_css() ; +} + +/** + * phphtmllib_plugin_installed() + * + * @return - boolean + */ +function phphtmllib_plugin_installed() +{ + return true ; +} + +/** + * phphtmllib_install - set up when the plugin is activated + * + * Store the absolute and relative paths to phpHtmlLib + * in the options table so other plugins can use them. + * + */ +function phphtmllib_install() +{ + update_option('PHPHTMLLIB_ABSPATH', PHPHTMLLIB_ABSPATH) ; + update_option('PHPHTMLLIB_RELPATH', PHPHTMLLIB_RELPATH) ; + update_option('PHPHTMLLIB_VERSION', PHPHTMLLIB_VERSION) ; +} + +/** + * phphtmllib_uninstall - clean up when the plugin is deactivated + * + */ +function phphtmllib_uninstall() +{ + delete_option('PHPHTMLLIB_ABSPATH') ; + delete_option('PHPHTMLLIB_RELPATH') ; + delete_option('PHPHTMLLIB_VERSION') ; +} + +/** + * Hook for adding CSS links and other HEAD stuff + */ +//add_action('wp_head', 'phphtmllib_wp_head'); +//add_action('admin_head', 'phphtmllib_admin_head'); + + +/** + * Activate the plugin initialization function + */ +register_activation_hook(plugin_basename(__FILE__), 'phphtmllib_install') ; +register_deactivation_hook(plugin_basename(__FILE__), 'phphtmllib_uninstall') ; + +?> Modified: branches/BRANCH_2_X/phphtmllib/version.inc =================================================================== --- branches/BRANCH_2_X/phphtmllib/version.inc 2012-03-12 22:01:37 UTC (rev 3559) +++ branches/BRANCH_2_X/phphtmllib/version.inc 2012-03-12 22:08:16 UTC (rev 3560) @@ -17,7 +17,7 @@ * This is the version of the libs * @var string - the version string. */ -define("PHPHTMLLIB_VERSION", '2.6.3.$WCREV$'); +define("PHPHTMLLIB_VERSION", '2.6.3.3559'); /** This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mpw...@us...> - 2012-03-12 22:01:44
|
Revision: 3559 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3559&view=rev Author: mpwalsh8 Date: 2012-03-12 22:01:37 +0000 (Mon, 12 Mar 2012) Log Message: ----------- Fixed bug in pruning. Modified Paths: -------------- branches/BRANCH_2_X/phphtmllib/release.sh Modified: branches/BRANCH_2_X/phphtmllib/release.sh =================================================================== --- branches/BRANCH_2_X/phphtmllib/release.sh 2012-03-11 12:10:10 UTC (rev 3558) +++ branches/BRANCH_2_X/phphtmllib/release.sh 2012-03-12 22:01:37 UTC (rev 3559) @@ -263,15 +263,17 @@ ## Remove docs? -if [ ! -f "${NODOCS}" ] +if [ ! -z "${NODOCS}" ] then + echo "Pruning documentation from release." rm -r "${EXPORT}/${TARGET}/doc" fi ## Remove examples? -if [ ! -f "${NOEXAMPLES}" ] +if [ ! -z "${NOEXAMPLES}" ] then + echo "Pruning examples from release." rm -r "${EXPORT}/${TARGET}/examples" fi This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mpw...@us...> - 2012-03-11 12:10:16
|
Revision: 3558 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3558&view=rev Author: mpwalsh8 Date: 2012-03-11 12:10:10 +0000 (Sun, 11 Mar 2012) Log Message: ----------- Added options to prune doc and examples paths. Added Paths: ----------- branches/BRANCH_2_X/phphtmllib/release.sh Added: branches/BRANCH_2_X/phphtmllib/release.sh =================================================================== --- branches/BRANCH_2_X/phphtmllib/release.sh (rev 0) +++ branches/BRANCH_2_X/phphtmllib/release.sh 2012-03-11 12:10:10 UTC (rev 3558) @@ -0,0 +1,291 @@ +#!/bin/sh +# vim: set expandtab tabstop=4 shiftwidth=4: +# +# I like Vim (http://www.vim.org) as a text editor. The above line +# tells Vim to set the indent to 4 spaces and the tab key to indent +# 4 spaces. +# +# release.sh +# +# Cygwin Shell Script to buikd the phpHtmlLib release package. +# +# This script has only been run and tested under Cygwin's Bash shell. +# +# (c) February 2012 - Mike Walsh - mi...@wa... +# +# Change Log: +# +# 02/17/2012 - Initial version. +# + +## Programs used by this script that may not be part of a standard install +SEVENZIP="C:/Program Files/7-Zip/7z.exe" +WCREV="C:/Program Files/TortoiseSVN/bin/subWcRev.exe" + +## Paths and defaults +BASENAME=`basename $0` +GBLREVNUM="" +TARGET="phphtmllib" +EXPORT="C:/users/mike/desktop/export" +CYG_EXPORT="`cygpath --unix ${EXPORT}`" +NODOCS="" +NOEXAMPLES="" +NOEXPORT="" +REPOS="C:/inetpub/wwwroot/wordpress/wp-content/plugins/${TARGET}" +CYG_REPOS="`cygpath --unix ${REPOS}`" +PLUGIN="phphtmllib.php" +VERSION="Version.txt" +VERSIONINCLUDE="version.inc" +ZIPTYPE="-tzip" +ZIPSUFFIX=".zip" +FORCE="" + +# +# procedure show_help() +# +# This procedure displays the help page. +# +show_help() +{ + cat << EOF + + Usage:: $BASENAME [-e | --export Path] [-r | --repos Path] [--major N] [--minor N] [--target Name] + + "$BASENAME" will assemble a release package fromt the Subversion + repository. Several optional command line switches can be used to + control the version and naming of the assembled release package. + + Description of command line switches. Defaults are noted with (D). + + -e Path Specify the "Path" where the Subversion + content should be exported to. + (e.g. -e I:/export) + + --export Path Specify the "Path" where the Subversion + content should be exported to. + (e.g. --export I:/export) + + --major Rev Specify the Major Revision Number or text. + + --minor Rev Specify the Minor Revision Number or text. + + -r Path Specify the "Path" where the Subversion + working repository can be found. + (e.g. -r I:/phphtmllib) + + --repos Path Specify the "Path" where the Subversion + working repository can be found. + (e.g. --repos I:/phphtmllib) + + -w Prune the release tree to be used as a WordPress + plugin. This removes the docs and examples and + a couple other odds and ends. + + --wordpress Prune the release tree to be used as a WordPress + plugin. This removes the docs and examples and + a couple other odds and ends. + + -7 Generate a 7-Zip ".7z" archive. + + --7z Generate a 7-Zip ".7z" archive. + + -z Generate a classic ".zip" archive. + + --zip Generate a classic ".zip" archive. + + --help This help text. + + Examples: + + % $BASENAME --export I:/export --target phphtmllib_beta + + % $BASENAME --export I:/export --major 4 --minor 3-beta + + % $BASENAME --export I:/export --repos I:/phphtmllib --target phphtmllib + + Warning: + + Make sure the export path and repository path are separate trees + to prevent export content on top of the working repository! + +EOF +} + +# Parse through command line + +while [ $# -gt 0 ] +do + case $1 in + -*) + case $1 in + -r) + shift + REPOS="$1" + CYG_REPOS="`cygpath --unix ${REPOS}`" ;; + --repos) + shift + REPOS="$1" + CYG_REPOS="`cygpath --unix ${REPOS}`" ;; + -e) + shift + EXPORT="$1" + CYG_EXPORT="`cygpath --unix ${EXPORT}`" ;; + --export) + shift + EXPORT="$1" + CYG_EXPORT="`cygpath --unix ${EXPORT}`" ;; + -7) + ZIPTYPE="-t7z" + ZIPSUFFIX=".7z" ;; + --7z) + ZIPTYPE="-t7z" + ZIPSUFFIX=".7z" ;; + -z) + ZIPTYPE="-tzip" + ZIPSUFFIX=".zip" ;; + --zip) + ZIPTYPE="-tzip" + ZIPSUFFIX=".zip" ;; + --force) + FORCE="--force" ;; + -w) + NODOCS="wordpress" + NOEXAMPLES="wordpress" ;; + --wordpress) + NODOCS="wordpress" + NOEXAMPLES="wordpress" ;; + --nodocs) + NODOCS="no docs" ;; + --noexamples) + NOEXAMPLES="no examples" ;; + --noexport) + NOEXPORT="no SVN" ;; + --major) + shift + MAJOR_RELEASE="$1" ;; + --minor) + shift + MINOR_RELEASE="$1" ;; + --target) + shift + TARGET="$1" ;; + --help) + show_help + exit 0 ;; + -*) + echo "Error: unknown option $1 (from: $BASENAME)" + exit 1 ;; + esac ;; + *) + echo "Error: unknown option $1 (from: $BASENAME)" + exit 1 ;; + esac + shift +done + + +## Major and Minor release numbers are extracted from the +## Version.txt file if not specified on the command line. + +if [ -z "${MAJOR_RELEASE}" ] +then + MAJOR_RELEASE=`grep MAJOR_RELEASE ${REPOS}/${VERSION} | cut -f2 -d'='` +fi + +if [ -z "${MINOR_RELEASE}" ] +then + MINOR_RELEASE=`grep MINOR_RELEASE ${REPOS}/${VERSION} | cut -f2 -d'='` +fi + +## Does Repository exist? + +if [ ! -d "${REPOS}" ] +then + echo "Error: Repository \"${REPOS}\" does not exist, aborting." + exit 1 +fi + +## Does Export Path exist? + +if [ ! -d "${EXPORT}" ] +then + echo "Error: Export Path \"${EXPORT}\" does not exist, aborting." + exit 1 +fi + +## Does Export Target exist? +if [ -d "${EXPORT}/${TARGET}" ] +then + if [ -z "${NOEXPORT}" -a -z "${FORCE}" ] + then + echo "Error: Export Target \"${EXPORT}/${TARGET}\" already exists, aborting." + exit 1 + else + echo "Note: Export Target \"${EXPORT}/${TARGET}\" already exists, re-using it." + fi +fi + +## Get the global revision number from the repository +## Wierd behavoir - the number ends up with a \r appended to it ... +GBLREVNUM=`"$WCREV" "$REPOS" | egrep 'Last committed at revision [0-9]?' | cut -d' ' -f5 | cat -v | cut -d'^' -f1` +echo "phpHtmlLib repository at revision: $GBLREVNUM" +echo "Building phpHtmlLib release: Build: ${MAJOR_RELEASE}.${MINOR_RELEASE}.${GBLREVNUM}" + +if [ -z "${NOEXPORT}" ] +then + ## Export the latest version of phpHtmlLib from the repository for building + echo "Exporting phpHtmlLib at revision: ${GBLREVNUM}" + svn export ${FORCE} --revision ${GBLREVNUM} ${CYG_REPOS} ${CYG_EXPORT}/${TARGET} + + if [ $? -ne 0 ] + then + echo "Unable to export phpHtmlLib, aborting release script." + exit 1 + fi +else + echo "Note: Skipping SVN Export step for \"${EXPORT}/${TARGET}\", re-using existing data." +fi + +echo "Updating export tree with global revision number." +"$WCREV" "$REPOS" "${EXPORT}/${TARGET}/${PLUGIN}" "${EXPORT}/${TARGET}/${PLUGIN}" +"$WCREV" "$REPOS" "${EXPORT}/${TARGET}/${VERSIONINCLUDE}" "${EXPORT}/${TARGET}/${VERSIONINCLUDE}" + +echo "Updating export tree with major revision number." +sed -i -e "s/MAJOR_RELEASE/${MAJOR_RELEASE}/" "${EXPORT}/${TARGET}/${PLUGIN}" +sed -i -e "s/MAJOR_RELEASE/${MAJOR_RELEASE}/" "${EXPORT}/${TARGET}/${VERSIONINCLUDE}" + +echo "Updating export tree with minor revision number." +sed -i -e "s/MINOR_RELEASE/${MINOR_RELEASE}/" "${EXPORT}/${TARGET}/${PLUGIN}" +sed -i -e "s/MINOR_RELEASE/${MINOR_RELEASE}/" "${EXPORT}/${TARGET}/${VERSIONINCLUDE}" + +echo "Creating Zip file." +ZIPFILE="${EXPORT}/${TARGET}/../${TARGET}_v${MAJOR_RELEASE}.${MINOR_RELEASE}.${GBLREVNUM}${ZIPSUFFIX}" + +## Remove docs? + +if [ ! -f "${NODOCS}" ] +then + rm -r "${EXPORT}/${TARGET}/doc" +fi + +## Remove examples? + +if [ ! -f "${NOEXAMPLES}" ] +then + rm -r "${EXPORT}/${TARGET}/examples" +fi + +## Clean up old zip file + +if [ -f "${ZIPFILE}" ] +then + rm "{$ZIPFILE}" +fi + +## Build a new zip file + +"$SEVENZIP" a "${ZIPTYPE}" "${ZIPFILE}" "${EXPORT}/${TARGET}" + +echo "phpHtmlLib release completed." + +exit 0 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mpw...@us...> - 2012-03-11 11:26:18
|
Revision: 3556 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3556&view=rev Author: mpwalsh8 Date: 2012-03-11 11:26:12 +0000 (Sun, 11 Mar 2012) Log Message: ----------- Fixed PHP5 notices and warnings due to E_STRICT setting. Modified Paths: -------------- branches/BRANCH_2_X/phphtmllib/HTMLTagClass.inc branches/BRANCH_2_X/phphtmllib/XMLTagClass.inc branches/BRANCH_2_X/phphtmllib/form/form_elements/FEListBoxMaster.inc branches/BRANCH_2_X/phphtmllib/form/form_elements/FEText.inc branches/BRANCH_2_X/phphtmllib/widgets/ButtonPanel.inc branches/BRANCH_2_X/phphtmllib/widgets/DialogWidget.inc branches/BRANCH_2_X/phphtmllib/widgets/xml/XMLDocumentClass.inc Modified: branches/BRANCH_2_X/phphtmllib/HTMLTagClass.inc =================================================================== --- branches/BRANCH_2_X/phphtmllib/HTMLTagClass.inc 2012-03-11 11:24:39 UTC (rev 3555) +++ branches/BRANCH_2_X/phphtmllib/HTMLTagClass.inc 2012-03-11 11:26:12 UTC (rev 3556) @@ -216,7 +216,7 @@ //lets call the special render tag debug function return $this->_render_tag_debug( $indent_level ); } else { - return XMLTag::_render_open_tag($indent_level, $this->_flags & _XHTMLCOMPLIANT); + return parent::_render_open_tag($indent_level, $this->_flags & _XHTMLCOMPLIANT); } } @@ -234,7 +234,7 @@ if ( $output_debug ) { return $this->_render_content_debug( $indent_level ); } else { - return XMLTag::_render_content( $indent_level, $output_debug); + return parent::_render_content( $indent_level, $output_debug); } } @@ -251,7 +251,7 @@ if ( $output_debug ) { return $this->_render_close_tag_debug( $indent_level ); } else { - return XMLTag::_render_close_tag($indent_level); + return parent::_render_close_tag($indent_level); } } Modified: branches/BRANCH_2_X/phphtmllib/XMLTagClass.inc =================================================================== --- branches/BRANCH_2_X/phphtmllib/XMLTagClass.inc 2012-03-11 11:24:39 UTC (rev 3555) +++ branches/BRANCH_2_X/phphtmllib/XMLTagClass.inc 2012-03-11 11:26:12 UTC (rev 3556) @@ -85,13 +85,13 @@ * This function is responsible * for rendering the tag and * its contents - * - * {@source } + * + * {@source } * * @param int - the current indentation * level for the tag */ - function render( $indent_level=0 ) { + function render( $indent_level=0, $output_debug=0 ) { //try and guess the indentation flags //based on the data Modified: branches/BRANCH_2_X/phphtmllib/form/form_elements/FEListBoxMaster.inc =================================================================== --- branches/BRANCH_2_X/phphtmllib/form/form_elements/FEListBoxMaster.inc 2012-03-11 11:24:39 UTC (rev 3555) +++ branches/BRANCH_2_X/phphtmllib/form/form_elements/FEListBoxMaster.inc 2012-03-11 11:26:12 UTC (rev 3556) @@ -32,7 +32,7 @@ * * @param array data_list - list of data elements (name=>value) */ - function set_list_data($data) { + function set_list_data($data =array()) { $this->_mdata = $data; Modified: branches/BRANCH_2_X/phphtmllib/form/form_elements/FEText.inc =================================================================== --- branches/BRANCH_2_X/phphtmllib/form/form_elements/FEText.inc 2012-03-11 11:24:39 UTC (rev 3555) +++ branches/BRANCH_2_X/phphtmllib/form/form_elements/FEText.inc 2012-03-11 11:26:12 UTC (rev 3556) @@ -128,7 +128,7 @@ * It validates as is_email(). * @param FormValidation object. */ - function validate($_FormValidation) { + function validate(&$_FormValidation) { if (!$_FormValidation->is_email($this->get_value(), $this->_allow_name)) { $this->set_error_message( $_FormValidation->get_error_message() ); return FALSE; Modified: branches/BRANCH_2_X/phphtmllib/widgets/ButtonPanel.inc =================================================================== --- branches/BRANCH_2_X/phphtmllib/widgets/ButtonPanel.inc 2012-03-11 11:24:39 UTC (rev 3555) +++ branches/BRANCH_2_X/phphtmllib/widgets/ButtonPanel.inc 2012-03-11 11:26:12 UTC (rev 3556) @@ -54,7 +54,7 @@ * render the entire table. * */ - function render($indent_level, $output_debug=0) { + function render($indent_level=0, $output_debug=0) { $div =& $this->_build_wrapper(); Modified: branches/BRANCH_2_X/phphtmllib/widgets/DialogWidget.inc =================================================================== --- branches/BRANCH_2_X/phphtmllib/widgets/DialogWidget.inc 2012-03-11 11:24:39 UTC (rev 3555) +++ branches/BRANCH_2_X/phphtmllib/widgets/DialogWidget.inc 2012-03-11 11:26:12 UTC (rev 3556) @@ -59,7 +59,7 @@ * data and the buttons * */ - function render($indent_level, $output_debug=0) { + function render($indent_level=0, $output_debug=0) { $table = html_table($this->get_width(), 0, 0, 0, $this->get_align()); Modified: branches/BRANCH_2_X/phphtmllib/widgets/xml/XMLDocumentClass.inc =================================================================== --- branches/BRANCH_2_X/phphtmllib/widgets/xml/XMLDocumentClass.inc 2012-03-11 11:24:39 UTC (rev 3555) +++ branches/BRANCH_2_X/phphtmllib/widgets/xml/XMLDocumentClass.inc 2012-03-11 11:26:12 UTC (rev 3556) @@ -182,7 +182,7 @@ * * @return string the raw html output. */ - function render( $indent_level = 0) { + function render( $indent_level = 0, $output_debug=0) { //render the http header and xml header $output = $this->_render_header(); @@ -315,7 +315,7 @@ * @return XMLtag object */ function _create_xml_obj() { - $this->_xml_obj = &new XMLtag( array("version" => "1.0") ); + $this->_xml_obj = new XMLtag( array("version" => "1.0") ); } /** This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mpw...@us...> - 2012-03-11 11:24:45
|
Revision: 3555 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3555&view=rev Author: mpwalsh8 Date: 2012-03-11 11:24:39 +0000 (Sun, 11 Mar 2012) Log Message: ----------- Initial checkin. Added Paths: ----------- branches/BRANCH_2_X/phphtmllib/ReadMe.txt Added: branches/BRANCH_2_X/phphtmllib/ReadMe.txt =================================================================== --- branches/BRANCH_2_X/phphtmllib/ReadMe.txt (rev 0) +++ branches/BRANCH_2_X/phphtmllib/ReadMe.txt 2012-03-11 11:24:39 UTC (rev 3555) @@ -0,0 +1,48 @@ +=== phpHtmlLib === +Contributors: mpwalsh8 +Donate link: http://sourceforge.net/project/project_donations.php?group_id=32790 +Tags: HTML, Forms, XHTML, XML, Widgets +Requires at least: 3.1 +Tested up to: 3.3.1 +Stable tag: trunk + +The phpHtmlLib library contains a set of PHP classes and library functions to help +facilitate building, debugging, and rendering of XML, HTML, XHTML, WAP/WML Documents, +and SVG (Scalable Vector Graphics) images as well as complex html Widgets. These +classes, library functions and widgets can be used to build other WordPress plugins. + +== Description == + +phpHtmllib is a set of PHP classes and library functions to help facilitate building, debugging, +and rendering of XML, HTML, XHTML, WAP/WML Documents, and SVG (Scalable Vector Graphics) images +as well as complex html 'widgets'. It provides a mechanism to output perfectly indented/readable +tags, and a programmatic API to generating tags on the fly. + + +More information can be found on the [phpHtmlLib](http://michaelwalsh.org/wordpress/wordpress-plugins/phphtmllib/) +plugin page. + +== Installation == + +1. Use the WordPress plugin installer from the Dashboard or Unzip and Upload the phpHtmlLib content to your /wp-content/plugins/ directory. +1. Activate the plugin through the 'Plugins' menu in WordPress. +1. Refer to the official plugin page for documentation, usage and tips. + + +== Frequently Asked Questions == + +1. What does the phpHtmlLib plugin do? The plugin doesn't provide any new functionality within WordPress. The plugin provides a library of Classes and Widgets that other plugins can build on top of. In particular, phpHtmlLib has a very strong set of Classes for Form Processng which allows forms to be quickly created and processed with a consistent look and feel. +2. Do you plan to support phpHtmlLib 3. as a plugin? No. The phpHtmlLib 3.x thread was a complete re-write of phpHtmlLib for PHP5 and while it takes advantage of a lot of PHP5 functionality, the widget library isn't as robust. The re-write also includes a complete MVC framework which is of no value as a WordPress plugin. The 2.x thread is being maintained for the purposes of proving a WordPress plugin. + +== Changelog == + +The [phpHtmlLib page](http://michaelwalsh.org/wordpress/wordpress-plugins/phphtmllib/) provides +full details on changes, bugs, enhancesments, future developments and much more and is the definitive +source for the Change Log. + += 2.6.3 = +* Fixed numerous deprecated notices and warnings which result when running under PHP5. +* Fixed problem with missing image on Action Bar when displaying empty the action bar on an empty GUIDataList widget. + += 2.6.2 = +* First release under the WordPress plugin respository. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <mpw...@us...> - 2012-03-09 13:04:07
|
Revision: 3554 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3554&view=rev Author: mpwalsh8 Date: 2012-03-09 13:03:56 +0000 (Fri, 09 Mar 2012) Log Message: ----------- Updted for new build script. Modified Paths: -------------- branches/BRANCH_2_X/phphtmllib/phphtmllib.php Modified: branches/BRANCH_2_X/phphtmllib/phphtmllib.php =================================================================== --- branches/BRANCH_2_X/phphtmllib/phphtmllib.php 2012-03-09 13:03:14 UTC (rev 3553) +++ branches/BRANCH_2_X/phphtmllib/phphtmllib.php 2012-03-09 13:03:56 UTC (rev 3554) @@ -6,7 +6,7 @@ * Description: WordPress plugin to bind the phpHtmlLib library to WordPress. The phpHtmlLib library contains a set of PHP classes and library functions to help facilitate building, debugging, and rendering of XML, HTML, XHTML, WAP/WML Documents, and SVG (Scalable Vector Graphics) images as well as complex html Widgets. These classes, library functions and widgets can be used to build other WordPress plugins. * * - * Version: 2.6.2.$WCREV$ + * Version: MAJOR_RELEASE.MINOR_RELEASE.$WCREV$ * Last Modified: $WCDATE$ * Author: Mike Walsh * Author URI: http://www.michaelwalsh.org/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |