cvs: pear(MAINT_1_0) /Net_NNTP NNTP.php package.xml

From: Date: Wed, 19 Jan 2005 08:39:13 +0000
Subject: cvs: pear(MAINT_1_0) /Net_NNTP NNTP.php package.xml
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-28681@lists.php.net to get a copy of this message
heino Wed Jan 19 03:39:13 2005 EDT Modified files: (Branch: MAINT_1_0) /pear/Net_NNTP NNTP.php package.xml Log: Fix lack of property in historical Net_NNTP class http://cvs.php.net/diff.php/pear/Net_NNTP/NNTP.php?r1=1.30.2.3&r2=1.30.2.4&ty=u Index: pear/Net_NNTP/NNTP.php diff -u pear/Net_NNTP/NNTP.php:1.30.2.3 pear/Net_NNTP/NNTP.php:1.30.2.4 --- pear/Net_NNTP/NNTP.php:1.30.2.3 Fri Jan 14 15:07:49 2005 +++ pear/Net_NNTP/NNTP.php Wed Jan 19 03:39:11 2005 @@ -17,7 +17,7 @@ // | Tomas V.V.Cox <cox@idecnet.com> | // | Heino H. Gehlsen <heino@gehlsen.dk> | // +----------------------------------------------------------------------+ -// $Id: NNTP.php,v 1.30.2.3 2005/01/14 20:07:49 heino Exp $ +// $Id: NNTP.php,v 1.30.2.4 2005/01/19 08:39:11 heino Exp $ require_once 'Net/NNTP/Protocol/Client.php'; @@ -52,7 +52,7 @@ * @author Martin Kaltoft <martin@nitro.dk> * @author Tomas V.V.Cox <cox@idecnet.com> * @author Heino H. Gehlsen <heino@gehlsen.dk> - * @version $Id: NNTP.php,v 1.30.2.3 2005/01/14 20:07:49 heino Exp $ + * @version $Id: NNTP.php,v 1.30.2.4 2005/01/19 08:39:11 heino Exp $ * @access public * @see Net_NNTP_Client * @since Class available since Release 0.1.0 @@ -63,6 +63,14 @@ // {{{ properties /** + * File pointer of the nntp-connection + * + * @var + * @access public + */ + var $fp = null; + + /** * @var int * @access public * @deprecated use last() instead @@ -72,7 +80,7 @@ /** * @var int * @access public - * @deprecated use first() instead + * @deprecated use last() instead */ var $min; @@ -127,7 +135,15 @@ $authmode = NET_NNTP_AUTHORIGINAL) { // Currently this function just 'forwards' to connectAuthenticated(). - return $this->connectAuthenticated($user, $pass, $host, $port, $authmode); + $R = $this->connectAuthenticated($user, $pass, $host, $port, $authmode); + + if (PEAR::isError($R)) { + return $R; + } + + $this->fp = $this->_socket->fp; + + return $R; } http://cvs.php.net/diff.php/pear/Net_NNTP/package.xml?r1=1.18.2.4&r2=1.18.2.5&ty=u Index: pear/Net_NNTP/package.xml diff -u pear/Net_NNTP/package.xml:1.18.2.4 pear/Net_NNTP/package.xml:1.18.2.5 --- pear/Net_NNTP/package.xml:1.18.2.4 Tue Jan 18 04:10:09 2005 +++ pear/Net_NNTP/package.xml Wed Jan 19 03:39:11 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="ISO-8859-1" ?> -<!-- $Id: package.xml,v 1.18.2.4 2005/01/18 09:10:09 heino Exp $ --> +<!-- $Id: package.xml,v 1.18.2.5 2005/01/19 08:39:11 heino Exp $ --> <package version="1.0"> <name>Net_NNTP</name> <summary>Implementation of the NNTP protocol</summary> @@ -20,13 +20,11 @@ </deps> <release> <version>1.0.0</version> - <date>2005-01-18</date> + <date>2005-01-19</date> <license>W3C</license> <state>stable</state> <notes> - - This release is NOT backward compatible with v0.11.3, since all non-stable features (classes, methods etc.) have been removed!!! - - Users of releases between 0.3.x and 0.11.x should consider v1.1.x or v1.2.x in stead. (This release is meant only as a final replacement for v0.2.5 - and of cause as a way to finally get rid of the former protocol implementation). - - Backward compatible with v0.2.5 (this is ONLY guarantied in v1.0.x releases, and may be removed in the future). + - Fix lack of $fp property in historical Net_NNTP class (only relevant for backward compatibility with v0.2.5) </notes> <filelist> <dir name="/" baseinstalldir="Net"> @@ -51,6 +49,16 @@ </release> <changelog> <release> + <version>1.0.0</version> + <date>2005-01-18</date> + <state>stable</state> + <notes> + - This release is NOT backward compatible with v0.11.3, since all non-stable features (classes, methods etc.) have been removed!!! + - Users of releases between 0.3.x and 0.11.x should consider v1.1.x or v1.2.x in stead. (This release is meant only as a final replacement for v0.2.5 - and of cause as a way to finally get rid of the former protocol implementation). + - Backward compatible with v0.2.5 (this is ONLY guarantied in v1.0.x releases, and may be removed in the future). + </notes> + </release> + <release> <version>1.0.0RC1</version> <date>2005-01-14</date> <state>beta</state>

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