From: Greg Beaver Date: Wed, 26 Mar 2008 03:55:37 +0000 (+0000) Subject: prepare release of 2.0.0a1 X-Git-Tag: RELEASE_2_0_0a1~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=085bb5cdd632c1fabddb3578b7607b1d8ffd8cc1;p=php prepare release of 2.0.0a1 --- diff --git a/ext/phar/TODO b/ext/phar/TODO index 945e7a5ccc..57c90881ca 100644 --- a/ext/phar/TODO +++ b/ext/phar/TODO @@ -78,7 +78,6 @@ Version 2.0.0 template files in a location external to the phar. Copy of the files would need to be performed in an installation step, phar would not attempt to do this for performance and security reasons. [Greg] - * implement write support for mounted files even if phar.readonly=1 X implement opendir support for mounted paths [Greg] X make convertToZip/convertToTar rename files [Steph] X make convertTo*() with full file compression rename to append .gz or .bz2 @@ -106,6 +105,7 @@ Version 2.0.0 X clean crap paths like phar://blah.phar/file//../to\\here.php [Greg] Version 2.1.0 + * implement write support for mounted files even if phar.readonly=1 * implement automatic "mounting" of internal phar archives so that phar:///path/to/archive.phar/internal.phar/file opens internal.phar and maps its manifest inside archive.phar. The manifest entry inside diff --git a/ext/phar/package.php b/ext/phar/package.php index 3901bc8d71..c054c4c749 100644 --- a/ext/phar/package.php +++ b/ext/phar/package.php @@ -2,29 +2,33 @@ $notes = ' Major feature functionality release - * new default stub allows running of phar-based phars without phar extension + * new default stub allows running of phar-based phars without phar extension [Greg/Steph] * add support for tar-based and zip-based phar archives [Greg] * add Phar::isTar(), Phar::isZip(), and Phar::isPhar() [Greg] * add Phar::convertToTar(), Phar::convertToZip(), and Phar::convertToPhar() [Greg] + * add Phar::compress() [Greg] + * conversion to compressed or to other file formats automatically copies the archive + to a new extension (i.e. ".phar" to ".phar.tar" or ".tar" to ".tar.gz") [Steph] * add Phar::webPhar() for running a web-based application unmodified directly from a phar archive [Greg] * file functions (fopen-based and stat-based) can be instructed to only look for relative paths within a phar via Phar::interceptFileFuncs() - * include works unmodified within a phar [Greg] + * add PharData class to allow manipulation/creation of non-executable tar and zip archives. [Steph] + non-executable tar/zip manipulation is allowed even when phar.readonly=1 [Greg] * paths with . and .. work (phar://blah.phar/a/../b.php => phar://blah.phar/b.php) [Greg] * add support for mkdir()/rmdir() and support for empty directories to phar file format [Greg] * add option to compress the entire phar file for phar/tar file format [Greg] * implement Phar::isCompressed() returning 0, Phar::GZ or Phar::BZ2 [Greg] * implement Phar::copy(string $from, string $to) [Greg] * implement Phar::buildFromIterator(Iterator $it[, string $base_directory]) [Greg] - * add mapping of include/require from within a phar to location within phar [Greg] - solves the include_path issue without code munging + * implement Phar::mount() for mounting external paths or files to locations inside a phar [Greg] * add Phar::delete() [Greg] '; if (!class_exists("Phar") && !extension_loaded("Phar")) { die("Extension phar not present"); } +error_reporting(E_ALL & ~E_DEPRECATED); require_once 'PEAR/PackageFileManager2.php'; @@ -65,15 +69,14 @@ $package->addPackageDepWithChannel('optional', 'bz2', 'pecl.php.net', false, fal // all this false business sets the tag that allows us to have hash built // in statically $package->addPackageDepWithChannel('optional', 'hash', 'pecl.php.net', false, false, false, false, 'hash'); -$package->addPackageDepWithChannel('optional', 'zip', 'pecl.php.net', '1.8.11', false, false, false, 'zip'); $package->addExtensionDep('optional', 'spl'); $package->addExtensionDep('optional', 'zlib'); $package->setPackageType('extsrc'); $package->addRelease(); $package->setReleaseVersion(phpversion('phar')); $package->setAPIVersion(Phar::apiVersion()); -$package->setReleaseStability('stable'); -$package->setAPIStability('stable'); +$package->setReleaseStability('alpha'); +$package->setAPIStability('alpha'); $package->setNotes("\n$notes\n"); //$package->addGlobalReplacement('package-info', '@package_version@', 'version'); $package->generateContents(); diff --git a/ext/phar/package.xml b/ext/phar/package.xml index 2dfa0a608b..a026109927 100644 --- a/ext/phar/package.xml +++ b/ext/phar/package.xml @@ -1,5 +1,5 @@ - + phar pecl.php.net allows running of complete applications out of .phar files (like Java .jar files) @@ -29,37 +29,40 @@ avaiable then SHA-256 and SHA-512 signatures are supported as well.helly@php.net yes - 2008-01-19 - + 2008-03-25 + - 2.0.0 + 2.0.0a1 1.1.1 - stable - stable + alpha + alpha PHP License Major feature functionality release - * new default stub allows running of phar-based phars without phar extension + * new default stub allows running of phar-based phars without phar extension [Greg/Steph] * add support for tar-based and zip-based phar archives [Greg] * add Phar::isTar(), Phar::isZip(), and Phar::isPhar() [Greg] * add Phar::convertToTar(), Phar::convertToZip(), and Phar::convertToPhar() [Greg] + * add Phar::compress() [Greg] + * conversion to compressed or to other file formats automatically copies the archive + to a new extension (i.e. ".phar" to ".phar.tar" or ".tar" to ".tar.gz") [Steph] * add Phar::webPhar() for running a web-based application unmodified directly from a phar archive [Greg] * file functions (fopen-based and stat-based) can be instructed to only look for relative paths within a phar via Phar::interceptFileFuncs() - * include works unmodified within a phar [Greg] + * add PharData class to allow manipulation/creation of non-executable tar and zip archives. [Steph] + non-executable tar/zip manipulation is allowed even when phar.readonly=1 [Greg] * paths with . and .. work (phar://blah.phar/a/../b.php => phar://blah.phar/b.php) [Greg] * add support for mkdir()/rmdir() and support for empty directories to phar file format [Greg] * add option to compress the entire phar file for phar/tar file format [Greg] * implement Phar::isCompressed() returning 0, Phar::GZ or Phar::BZ2 [Greg] * implement Phar::copy(string $from, string $to) [Greg] * implement Phar::buildFromIterator(Iterator $it[, string $base_directory]) [Greg] - * add mapping of include/require from within a phar to location within phar [Greg] - solves the include_path issue without code munging + * implement Phar::mount() for mounting external paths or files to locations inside a phar [Greg] * add Phar::delete() [Greg] @@ -75,7 +78,75 @@ Major feature functionality release + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -85,42 +156,18 @@ Major feature functionality release - - - - - - - - - - - - - - - - - - - - - - - - @@ -130,7 +177,6 @@ Major feature functionality release - @@ -152,11 +198,11 @@ Major feature functionality release + - @@ -168,6 +214,34 @@ Major feature functionality release + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -177,42 +251,18 @@ Major feature functionality release - - - - - - - - - - - - - - - - - - - - - - - - @@ -222,7 +272,6 @@ Major feature functionality release - @@ -242,12 +291,11 @@ Major feature functionality release + - - @@ -298,46 +346,19 @@ Major feature functionality release - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -348,15 +369,18 @@ Major feature functionality release + + - + + - - + + @@ -375,6 +399,8 @@ Major feature functionality release + + @@ -388,8 +414,8 @@ Major feature functionality release - - + + @@ -418,25 +444,23 @@ Major feature functionality release - + - - - - + + @@ -452,6 +476,7 @@ Major feature functionality release + @@ -465,6 +490,7 @@ Major feature functionality release + @@ -488,12 +514,6 @@ Major feature functionality release pecl.php.net hash - - zip - pecl.php.net - 1.8.11 - zip - spl @@ -507,35 +527,38 @@ Major feature functionality release - 2.0.0 + 2.0.0a1 1.1.1 - stable - stable + alpha + alpha - 2008-01-19 + 2008-03-25 PHP License Major feature functionality release - * new default stub allows running of phar-based phars without phar extension + * new default stub allows running of phar-based phars without phar extension [Greg/Steph] * add support for tar-based and zip-based phar archives [Greg] * add Phar::isTar(), Phar::isZip(), and Phar::isPhar() [Greg] * add Phar::convertToTar(), Phar::convertToZip(), and Phar::convertToPhar() [Greg] + * add Phar::compress() [Greg] + * conversion to compressed or to other file formats automatically copies the archive + to a new extension (i.e. ".phar" to ".phar.tar" or ".tar" to ".tar.gz") [Steph] * add Phar::webPhar() for running a web-based application unmodified directly from a phar archive [Greg] * file functions (fopen-based and stat-based) can be instructed to only look for relative paths within a phar via Phar::interceptFileFuncs() - * include works unmodified within a phar [Greg] + * add PharData class to allow manipulation/creation of non-executable tar and zip archives. [Steph] + non-executable tar/zip manipulation is allowed even when phar.readonly=1 [Greg] * paths with . and .. work (phar://blah.phar/a/../b.php => phar://blah.phar/b.php) [Greg] * add support for mkdir()/rmdir() and support for empty directories to phar file format [Greg] * add option to compress the entire phar file for phar/tar file format [Greg] * implement Phar::isCompressed() returning 0, Phar::GZ or Phar::BZ2 [Greg] * implement Phar::copy(string $from, string $to) [Greg] * implement Phar::buildFromIterator(Iterator $it[, string $base_directory]) [Greg] - * add mapping of include/require from within a phar to location within phar [Greg] - solves the include_path issue without code munging + * implement Phar::mount() for mounting external paths or files to locations inside a phar [Greg] * add Phar::delete() [Greg] diff --git a/ext/phar/php_phar.h b/ext/phar/php_phar.h index 85c8ae34f4..8c88f085cd 100644 --- a/ext/phar/php_phar.h +++ b/ext/phar/php_phar.h @@ -22,7 +22,7 @@ #ifndef PHP_PHAR_H #define PHP_PHAR_H -#define PHP_PHAR_VERSION "2.0.0-dev" +#define PHP_PHAR_VERSION "2.0.0a1" #include "ext/standard/basic_functions.h" extern zend_module_entry phar_module_entry;