Skip to content
Browse files

Preparing for 3.0.0 release

git-svn-id: https://svn.php.net/repository/pecl/rar/trunk@312082 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information...
1 parent cd6175e commit 218ae7708370985d64452c1219203a5043a4d061 cataphract committed
Showing with 169 additions and 75 deletions.
  1. +167 −73 package.xml
  2. +1 −1 php_rar.h
  3. +1 −1 tests/096.phpt
View
240 package.xml
@@ -23,11 +23,11 @@ http://pear.php.net/dtd/package-2.0.xsd">
<active>no</active>
</developer>
- <date>2010-04-20</date>
- <time>13:00:00</time>
+ <date>2011-06-12</date>
+ <time>05:00:00</time>
<version>
- <release>2.0.0</release>
- <api>2.0.0</api>
+ <release>3.0.0</release>
+ <api>3.0.0</api>
</version>
<stability>
@@ -36,75 +36,149 @@ http://pear.php.net/dtd/package-2.0.xsd">
</stability>
<license uri="http://www.php.net/license">PHP License</license>
- <notes>Changes with respect to release 2.0.0RC1:
-- Fixed infinite loop when opening RAR archive missing a volume (later report in bug #17177).
-- Fixed bug #17025 (changed the name of method RarArchive::list into RarArchive::getEntries). If backwards compatibility with the release candidate is required, RarArchive::list can be reintroduced by defining RAR_ARCHIVE_LIST_ALIAS.
-Incompatible changes with respect to release 1.0.0:
-PHP Support:
-- Support for PHP 4.3 dropped. PHP 5.2.x or 5.3.x is required.
-API backwards incompatible changes:
-- Handles unicode filenames (uses UTF-8 external encoding). The file names inside the RAR archives are always returned in UTF-8. This will probably break your scripts.
-- Calling rar_close/RarArchive::close() invalidates RarEntry objects (actually, only extraction is forbidden, but don't rely on it).
-For the other changes, see the changelog for version 2.0.0RC1.
+ <notes>Changes in this version:
+- Updated to unrar 4.0.7 (corresponds to WinRAR 4.0.0 stable).
+- Support for PHP 5.4.
+- Added url wrapper rar://.
+- Added volume find callback to RarArchive::open/rar_open.
+- Added support for stat, both static and to opened streams.
+- Added rar_allow_broken_set/RarArchive::setAllowBroken and rar_broken_is/
+ RarArchive::isBroken, which control/query the behavior with archives with
+ missing volumes.
+- Added option to RarEntry::extract() to allow from extraction of ACL (windows)
+ /owner (unix)/extended attributes (os/2).
+- Added support for RAR archives that have several entries with the same name.
+- Implemented count elements handler for RarArchive.
+- Implemented dimensions handlers for RarArchive.
+- Fixed packed sizes which were using high bits from unpacked sizes.
+- Fixed PECL bug #20498 (RarEntry::extract not really accepting a password).
+- Fixed PECL bug #18449 (Extraction of uncompressed and encrypted files fails).
+- Many more tests.
</notes>
<contents>
<dir name="/">
<dir name="tests">
- <file name="001.phpt" role="test" />
- <file name="002.phpt" role="test" />
- <file name="003.phpt" role="test" />
- <file name="004.phpt" role="test" />
- <file name="005.phpt" role="test" />
- <file name="006.phpt" role="test" />
- <file name="007.phpt" role="test" />
- <file name="008.phpt" role="test" />
- <file name="009.phpt" role="test" />
- <file name="010.phpt" role="test" />
- <file name="011.phpt" role="test" />
- <file name="012.phpt" role="test" />
- <file name="013.phpt" role="test" />
- <file name="014.phpt" role="test" />
- <file name="015.phpt" role="test" />
- <file name="016.phpt" role="test" />
- <file name="017.phpt" role="test" />
- <file name="018.phpt" role="test" />
- <file name="019.phpt" role="test" />
- <file name="020.phpt" role="test" />
- <file name="021.phpt" role="test" />
- <file name="022.phpt" role="test" />
- <file name="023.phpt" role="test" />
- <file name="024.phpt" role="test" />
- <file name="025.phpt" role="test" />
- <file name="026.phpt" role="test" />
- <file name="027.phpt" role="test" />
- <file name="028.phpt" role="test" />
- <file name="029.phpt" role="test" />
- <file name="030.phpt" role="test" />
- <file name="031.phpt" role="test" />
- <file name="032.phpt" role="test" />
- <file name="033.phpt" role="test" />
- <file name="034.phpt" role="test" />
- <file name="035.phpt" role="test" />
- <file name="036.phpt" role="test" />
- <file name="037.phpt" role="test" />
- <file name="038.phpt" role="test" />
- <file name="039.phpt" role="test" />
- <file name="commented.rar" role="test" />
- <file name="corrupted.rar" role="test" />
- <file name="directories.rar" role="test" />
- <file name="dirlink_unix.rar" role="test" />
- <file name="encrypted_headers.rar" role="test" />
- <file name="encrypted_only_files.rar" role="test" />
- <file name="latest_winrar.rar" role="test" />
- <file name="linux_rar.rar" role="test" />
- <file name="multi_broken.part1.rar" role="test" />
- <file name="multi.part1.rar" role="test" />
- <file name="multi.part2.rar" role="test" />
- <file name="multi.part3.rar" role="test" />
- <file name="rar_notrar.rar" role="test" />
- <file name="rar_unicode.rar" role="test" />
- <file name="solid.rar" role="test" />
- <file name="store_method.rar" role="test" />
+ <file role="test" name="001.phpt"/>
+ <file role="test" name="002.phpt"/>
+ <file role="test" name="003.phpt"/>
+ <file role="test" name="004.phpt"/>
+ <file role="test" name="4mb.rar"/>
+ <file role="test" name="005.phpt"/>
+ <file role="test" name="006.phpt"/>
+ <file role="test" name="007.phpt"/>
+ <file role="test" name="008.phpt"/>
+ <file role="test" name="009.phpt"/>
+ <file role="test" name="010.phpt"/>
+ <file role="test" name="011.phpt"/>
+ <file role="test" name="012.phpt"/>
+ <file role="test" name="013.phpt"/>
+ <file role="test" name="014.phpt"/>
+ <file role="test" name="015.phpt"/>
+ <file role="test" name="016.phpt"/>
+ <file role="test" name="017.phpt"/>
+ <file role="test" name="018.phpt"/>
+ <file role="test" name="019.phpt"/>
+ <file role="test" name="020.phpt"/>
+ <file role="test" name="021.phpt"/>
+ <file role="test" name="022.phpt"/>
+ <file role="test" name="023.phpt"/>
+ <file role="test" name="024.phpt"/>
+ <file role="test" name="025.phpt"/>
+ <file role="test" name="026.phpt"/>
+ <file role="test" name="027.phpt"/>
+ <file role="test" name="028.phpt"/>
+ <file role="test" name="029.phpt"/>
+ <file role="test" name="030.phpt"/>
+ <file role="test" name="031.phpt"/>
+ <file role="test" name="032.phpt"/>
+ <file role="test" name="033.phpt"/>
+ <file role="test" name="034.phpt"/>
+ <file role="test" name="035.phpt"/>
+ <file role="test" name="036.phpt"/>
+ <file role="test" name="037.phpt"/>
+ <file role="test" name="038.phpt"/>
+ <file role="test" name="039.phpt"/>
+ <file role="test" name="040.phpt"/>
+ <file role="test" name="041.phpt"/>
+ <file role="test" name="042.phpt"/>
+ <file role="test" name="043.phpt"/>
+ <file role="test" name="044.phpt"/>
+ <file role="test" name="045.phpt"/>
+ <file role="test" name="046.phpt"/>
+ <file role="test" name="047.phpt"/>
+ <file role="test" name="048.phpt"/>
+ <file role="test" name="049.phpt"/>
+ <file role="test" name="050.phpt"/>
+ <file role="test" name="051.phpt"/>
+ <file role="test" name="052.phpt"/>
+ <file role="test" name="053.phpt"/>
+ <file role="test" name="054.phpt"/>
+ <file role="test" name="055.phpt"/>
+ <file role="test" name="056.phpt"/>
+ <file role="test" name="057.phpt"/>
+ <file role="test" name="058.phpt"/>
+ <file role="test" name="059.phpt"/>
+ <file role="test" name="060.phpt"/>
+ <file role="test" name="061.phpt"/>
+ <file role="test" name="062.phpt"/>
+ <file role="test" name="063.phpt"/>
+ <file role="test" name="064.phpt"/>
+ <file role="test" name="065.phpt"/>
+ <file role="test" name="066.phpt"/>
+ <file role="test" name="067.phpt"/>
+ <file role="test" name="068.phpt"/>
+ <file role="test" name="069.phpt"/>
+ <file role="test" name="070.phpt"/>
+ <file role="test" name="071.phpt"/>
+ <file role="test" name="072.phpt"/>
+ <file role="test" name="073.phpt"/>
+ <file role="test" name="074.phpt"/>
+ <file role="test" name="075.phpt"/>
+ <file role="test" name="076.phpt"/>
+ <file role="test" name="077.phpt"/>
+ <file role="test" name="078.phpt"/>
+ <file role="test" name="079.phpt"/>
+ <file role="test" name="080.phpt"/>
+ <file role="test" name="081.phpt"/>
+ <file role="test" name="082.phpt"/>
+ <file role="test" name="083.phpt"/>
+ <file role="test" name="084.phpt"/>
+ <file role="test" name="085.phpt"/>
+ <file role="test" name="086.phpt"/>
+ <file role="test" name="087.phpt"/>
+ <file role="test" name="088.phpt"/>
+ <file role="test" name="089.phpt"/>
+ <file role="test" name="090.phpt"/>
+ <file role="test" name="091.phpt"/>
+ <file role="test" name="092.phpt"/>
+ <file role="test" name="093.phpt"/>
+ <file role="test" name="094.phpt"/>
+ <file role="test" name="095.phpt"/>
+ <file role="test" name="096.phpt"/>
+ <file role="test" name="097.phpt"/>
+ <file role="test" name="098.phpt"/>
+ <file role="test" name="commented.rar"/>
+ <file role="test" name="corrupted.rar"/>
+ <file role="test" name="directories.rar"/>
+ <file role="test" name="dirlink_unix.rar"/>
+ <file role="test" name="dirs_and_extra_headers.rar"/>
+ <file role="test" name="encrypted_headers.rar"/>
+ <file role="test" name="encrypted_only_files.rar"/>
+ <file role="test" name="garbage.part03.rar"/>
+ <file role="test" name="latest_winrar.rar"/>
+ <file role="test" name="linux_rar.rar"/>
+ <file role="test" name="multi.part1.rar"/>
+ <file role="test" name="multi.part2.rar"/>
+ <file role="test" name="multi.part3.rar"/>
+ <file role="test" name="multi_broken.part1.rar"/>
+ <file role="test" name="rar_notrar.rar"/>
+ <file role="test" name="rar_unicode.rar"/>
+ <file role="test" name="repeated_name.rar"/>
+ <file role="test" name="secret-crypted-none.rar"/>
+ <file role="test" name="secret-none.rar"/>
+ <file role="test" name="solid.rar"/>
+ <file role="test" name="sparsefiles_rar.rar"/>
+ <file role="test" name="store_method.rar"/>
</dir> <!-- /tests -->
<dir name="unrar">
<file name="arccmt.cpp" role="src" />
@@ -234,7 +308,8 @@ For the other changes, see the changelog for version 2.0.0RC1.
<file name="rar_stream.c" role="src" />
<file name="rararch.c" role="src" />
<file name="rarentry.c" role="src" />
- <file name="rar_error.c" role="src" />
+ <file name="rar_error.c" role="src" />
+ <file role="src" name="rar_navigation.c"/>
</dir> <!-- / -->
</contents>
@@ -246,9 +321,6 @@ For the other changes, see the changelog for version 2.0.0RC1.
<pearinstaller>
<min>1.4.0</min>
</pearinstaller>
- <extension>
- <name>spl</name>
- </extension>
</required>
</dependencies>
@@ -259,6 +331,28 @@ For the other changes, see the changelog for version 2.0.0RC1.
<changelog>
<release>
<version>
+ <release>2.0.0</release>
+ <api>2.0.0</api>
+ </version>
+ <stability>
+ <release>stable</release>
+ <api>stable</api>
+ </stability>
+ <date>2010-04-20</date>
+ <notes>Changes with respect to release 2.0.0RC1:
+- Fixed infinite loop when opening RAR archive missing a volume (later report in bug #17177).
+- Fixed bug #17025 (changed the name of method RarArchive::list into RarArchive::getEntries). If backwards compatibility with the release candidate is required, RarArchive::list can be reintroduced by defining RAR_ARCHIVE_LIST_ALIAS.
+Incompatible changes with respect to release 1.0.0:
+PHP Support:
+- Support for PHP 4.3 dropped. PHP 5.2.x or 5.3.x is required.
+API backwards incompatible changes:
+- Handles unicode filenames (uses UTF-8 external encoding). The file names inside the RAR archives are always returned in UTF-8. This will probably break your scripts.
+- Calling rar_close/RarArchive::close() invalidates RarEntry objects (actually, only extraction is forbidden, but don't rely on it).
+For the other changes, see the changelog for version 2.0.0RC1.
+ </notes>
+ </release>
+ <release>
+ <version>
<release>2.0.0RC1</release>
<api>2.0.0RC1</api>
</version>
View
2 php_rar.h
@@ -49,7 +49,7 @@
extern zend_module_entry rar_module_entry;
#define phpext_rar_ptr &rar_module_entry
-#define PHP_RAR_VERSION "3.0.0-dev"
+#define PHP_RAR_VERSION "3.0.0"
#define PHP_RAR_REVISION "$Revision$"
#ifdef PHP_WIN32
View
2 tests/096.phpt
@@ -36,7 +36,7 @@ echo "\n";
echo "Done.\n";
--EXPECTF--
RAR support => enabled
-RAR EXT version => %d.%d.%d%s
+RAR EXT version => %d.%d.%s
Revision => %s
UnRAR version => %d.%d%spatch%d %d-%d-%d
UnRAR API version => %d extension %d

0 comments on commit 218ae77

Please sign in to comment.
Something went wrong with that request. Please try again.