cvs: pear /File_Archive package.xml /File_Archive/Archive/Writer Tar.php /File_Archive/doc readme.txt

From: Date: Sat, 16 Apr 2005 22:52:31 +0000
Subject: cvs: pear /File_Archive package.xml /File_Archive/Archive/Writer Tar.php /File_Archive/doc readme.txt
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-31211@lists.php.net to get a copy of this message
vincentlascaux Sat Apr 16 18:52:31 2005 EDT Modified files: /pear/File_Archive/Archive/Writer Tar.php /pear/File_Archive/doc readme.txt /pear/File_Archive package.xml Log: Prepare next release http://cvs.php.net/diff.php/pear/File_Archive/Archive/Writer/Tar.php?r1=1.12&r2=1.13&ty=u Index: pear/File_Archive/Archive/Writer/Tar.php diff -u pear/File_Archive/Archive/Writer/Tar.php:1.12 pear/File_Archive/Archive/Writer/Tar.php:1.13 --- pear/File_Archive/Archive/Writer/Tar.php:1.12 Sat Apr 16 18:15:28 2005 +++ pear/File_Archive/Archive/Writer/Tar.php Sat Apr 16 18:52:30 2005 @@ -25,7 +25,7 @@ * @author Vincent Lascaux <vincentlascaux@php.net> * @copyright 1997-2005 The PHP Group * @license http://www.gnu.org/copyleft/lesser.html LGPL - * @version CVS: $Id: Tar.php,v 1.12 2005/04/16 22:15:28 vincentlascaux Exp $ + * @version CVS: $Id: Tar.php,v 1.13 2005/04/16 22:52:30 vincentlascaux Exp $ * @link http://pear.php.net/package/File_Archive */ @@ -75,6 +75,10 @@ if (strlen($filename) > 100) { $filePrefix = substr($filename, 0, 100); $filename = substr($filename, 100); + } else if (strlen($filename) > 255) { + return PEAR::raise_error( + "$filename is too long to be put in a tar archive" + ); } $blockbeg = pack("a100a8a8a8a12a12", http://cvs.php.net/diff.php/pear/File_Archive/doc/readme.txt?r1=1.2&r2=1.3&ty=u Index: pear/File_Archive/doc/readme.txt diff -u pear/File_Archive/doc/readme.txt:1.2 pear/File_Archive/doc/readme.txt:1.3 --- pear/File_Archive/doc/readme.txt:1.2 Thu Feb 24 12:34:55 2005 +++ pear/File_Archive/doc/readme.txt Sat Apr 16 18:52:31 2005 @@ -1,9 +1,8 @@ Documentation for File_Archive ============================== -Read the end user doc at URL (if no end user doc is available, wait for next sunday) -http://pear.php.net/package/File_Archive/docs - All the object you will need to use can be created thanks to the File_Archive factory. You can find some help at URL -http://pear.php.net/package/File_Archive/docs/0.2.0/apidoc/File_Archive-0.2.0/File_Archive.html \ No newline at end of file +http://pear.php.net/package/File_Archive/docs/0.2.0/apidoc/File_Archive-0.2.0/File_Archive.html + +Additionally, you may read http://poocl.la-grotte.org \ No newline at end of file http://cvs.php.net/diff.php/pear/File_Archive/package.xml?r1=1.8&r2=1.9&ty=u Index: pear/File_Archive/package.xml diff -u pear/File_Archive/package.xml:1.8 pear/File_Archive/package.xml:1.9 --- pear/File_Archive/package.xml:1.8 Fri Apr 8 06:18:05 2005 +++ pear/File_Archive/package.xml Sat Apr 16 18:52:31 2005 @@ -21,17 +21,28 @@ </maintainers> <release> - <version>0.3.0</version> - <date>2005-04-08</date> - <state>beta</state> + <version>1.0</version> + <date>2005-04-17</date> + <state>stable</state> <notes> - + Bug 3894 - + The File_Archive::read function does no longer take the optional source parameter - A File_Archive::readSource function has been created that takes the source parameter - + The mail parameter in File_Archive::toMail is now mandatory, but giving a null variable will - result in using Mail::factory("mail") - + The File_Archive::toMemory function does no longer take a variable argument - A File_Archive::toVariable function has been created for that + + Bug 4159 (PHP4 compatibility) + + Bug 4165 (Better USTAR handling in tar files) + + The package now use temporary files to reduce the amount of memory used + when reading or writing large archives. The following indicates the current + memory usage of the different reader / writers + - Tar writer: constant memory usage + - GZip writer: constant memory usage, temporary file + - BZ2 writer: constant memory usage, temporary file + - ZIP writer: size of the largest file written to the archive + + - Tar reader: constant memory usage + - GZip reader: constant memory usage, temporary file + - BZ2 reader: constant memory usage, temporary file + - ZIP reader: size of the largest file read from the archive + + The temporary files are created in the current directory. Their name start with + far, their extension is tmp. They are automatically deleted when the reader / writer + is closed. </notes> <filelist> <dir name="File" role="php"> @@ -106,6 +117,21 @@ </release> <changelog> + <release> + <version>0.3.0</version> + <date>2005-04-08</date> + <state>beta</state> + <notes> + + Bug 3894 + + The File_Archive::read function does no longer take the optional source parameter + A File_Archive::readSource function has been created that takes the source parameter + + The mail parameter in File_Archive::toMail is now mandatory, but giving a null variable will + result in using Mail::factory("mail") + + The File_Archive::toMemory function does no longer take a variable argument + A File_Archive::toVariable function has been created for that + </notes> + </release> + <release> <version>0.2.0</version> <date>2005-02-24</date>

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