cvs: pear /System_ProcWatch ProcWatch.php package.xml /System_ProcWatch/ProcWatch Parser.php /System_ProcWatch/ProcWatch/Config Parser.php
| From: | Michael Wallner | Date: | Sat, 12 Jun 2004 13:40:14 +0000 |
| Subject: | cvs: pear /System_ProcWatch ProcWatch.php package.xml /System_ProcWatch/ProcWatch Parser.php /System_ProcWatch/ProcWatch/Config Parser.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-20563@lists.php.net to get a copy of this message | ||
mike Sat Jun 12 09:40:14 2004 EDT
Modified files:
/pear/System_ProcWatch ProcWatch.php package.xml
/pear/System_ProcWatch/ProcWatch/Config Parser.php
/pear/System_ProcWatch/ProcWatch Parser.php
Log:
* fix bug #1620
http://cvs.php.net/diff.php/pear/System_ProcWatch/ProcWatch.php?r1=1.4&r2=1.5&ty=u
Index: pear/System_ProcWatch/ProcWatch.php
diff -u pear/System_ProcWatch/ProcWatch.php:1.4 pear/System_ProcWatch/ProcWatch.php:1.5
--- pear/System_ProcWatch/ProcWatch.php:1.4 Sun Mar 14 09:31:36 2004
+++ pear/System_ProcWatch/ProcWatch.php Sat Jun 12 09:40:14 2004
@@ -11,7 +11,7 @@
// | Copyright (c) 2003-2004 Michael Wallner <mike@iworks.at> |
// +----------------------------------------------------------------------+
//
-// $Id: ProcWatch.php,v 1.4 2004/03/14 14:31:36 mike Exp $
+// $Id: ProcWatch.php,v 1.5 2004/06/12 13:40:14 mike Exp $
/**
* Requires System::ProcWatch::Parser
@@ -46,7 +46,7 @@
* @package System_ProcWatch
* @category System
*
-* @version $Revision: 1.4 $
+* @version $Revision: 1.5 $
* @access public
*/
class System_ProcWatch
@@ -100,7 +100,7 @@
*/
function System_ProcWatch($config)
{
- $this->__construct($config);
+ System_Procwatch::__construct($config);
}
/**
http://cvs.php.net/diff.php/pear/System_ProcWatch/package.xml?r1=1.7&r2=1.8&ty=u
Index: pear/System_ProcWatch/package.xml
diff -u pear/System_ProcWatch/package.xml:1.7 pear/System_ProcWatch/package.xml:1.8
--- pear/System_ProcWatch/package.xml:1.7 Sun Mar 21 12:32:48 2004
+++ pear/System_ProcWatch/package.xml Sat Jun 12 09:40:14 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
-<!-- $Revision: 1.7 $ -->
+<!-- $Revision: 1.8 $ -->
<package version="1.0">
<name>System_ProcWatch</name>
<license>PHP</license>
@@ -20,15 +20,11 @@
</maintainer>
</maintainers>
<release>
- <version>0.4.1</version>
- <date>2004-03-21</date>
+ <version>0.4.2</version>
+ <date>2004-06-12</date>
<state>beta</state>
<notes>
-# BUGFIX RELEASE
-* On some systems the output of ps has been truncated due to a specified COLUMNS environment
variable (especially SuSE Linux)
-* System_ProcWatch_Parser::getParsedData() didn't honor passed ps arguments
-* Removed System_ProcWatch_Parser::serializeArray() and _quote()
-* Removed __clone() methods (obsolete)
+* Fixed Bug #1620 (XML_Parser)
</notes>
<filelist>
<dir role="php" name="/" baseinstalldir="System">
@@ -72,7 +68,7 @@
</release>
<deps>
<dep type="pkg" rel="has" optional="no">PEAR</dep>
- <dep type="pkg" rel="has"
optional="yes">XML_Parser</dep>
+ <dep type="pkg" rel="ge" optional="yes"
version="1.1.0">XML_Parser</dep>
<dep type="pkg" rel="has"
optional="yes">XML_DTD</dep>
<dep type="pkg" rel="has"
optional="yes">Console_Getopt</dep>
<dep type="ext" rel="has" optional="no">pcre</dep>
http://cvs.php.net/diff.php/pear/System_ProcWatch/ProcWatch/Config/Parser.php?r1=1.3&r2=1.4&ty=u
Index: pear/System_ProcWatch/ProcWatch/Config/Parser.php
diff -u pear/System_ProcWatch/ProcWatch/Config/Parser.php:1.3
pear/System_ProcWatch/ProcWatch/Config/Parser.php:1.4
--- pear/System_ProcWatch/ProcWatch/Config/Parser.php:1.3 Sun Mar 14 09:31:37 2004
+++ pear/System_ProcWatch/ProcWatch/Config/Parser.php Sat Jun 12 09:40:14 2004
@@ -11,7 +11,7 @@
// | Copyright (c) 2003-2004 Michael Wallner <mike@iworks.at> |
// +----------------------------------------------------------------------+
//
-// $Id: Parser.php,v 1.3 2004/03/14 14:31:37 mike Exp $
+// $Id: Parser.php,v 1.4 2004/06/12 13:40:14 mike Exp $
/**
* Requires XML::Parser
@@ -27,7 +27,7 @@
* @package System_ProcWatch
* @category System
*
-* @version $Revision: 1.3 $
+* @version $Revision: 1.4 $
* @access protected
*/
class System_ProcWatch_Config_Parser extends XML_Parser
@@ -72,7 +72,7 @@
*/
function System_ProcWatch_Config_Parser()
{
- $this->__construct();
+ System_ProcWatch_Config_Parser::__construct();
}
/**
@@ -83,7 +83,7 @@
*/
function __construct()
{
- $this->XML_Parser(null, 'func', null);
+ parent::__construct(null, 'func', null);
}
/**
@@ -97,6 +97,9 @@
$this->_conf = array();
$this->_cur = null;
$this->_pos = null;
+
+ // call parent::reset()
+ parent::reset();
}
/**
http://cvs.php.net/diff.php/pear/System_ProcWatch/ProcWatch/Parser.php?r1=1.4&r2=1.5&ty=u
Index: pear/System_ProcWatch/ProcWatch/Parser.php
diff -u pear/System_ProcWatch/ProcWatch/Parser.php:1.4
pear/System_ProcWatch/ProcWatch/Parser.php:1.5
--- pear/System_ProcWatch/ProcWatch/Parser.php:1.4 Sun Mar 21 12:22:59 2004
+++ pear/System_ProcWatch/ProcWatch/Parser.php Sat Jun 12 09:40:14 2004
@@ -11,7 +11,7 @@
// | Copyright (c) 2003-2004 Michael Wallner <mike@iworks.at> |
// +----------------------------------------------------------------------+
//
-// $Id: Parser.php,v 1.4 2004/03/21 17:22:59 mike Exp $
+// $Id: Parser.php,v 1.5 2004/06/12 13:40:14 mike Exp $
/**
* System_ProcWatch_Parser
@@ -28,7 +28,7 @@
* @package System_ProcWatch
* @category System
*
-* @version $Revision: 1.4 $
+* @version $Revision: 1.5 $
* @access public
*/
class System_ProcWatch_Parser
@@ -58,7 +58,7 @@
*/
function System_ProcWatch_Parser($ps_args = 'aux')
{
- $this->__construct($ps_args);
+ System_ProcWatch_Parser::__construct($ps_args);
}
/**