Commit Graph

  • 12719dce2c Added unrar 3.9.7 Gustavo Lopes 2011-01-13 18:48:55 +00:00
  • 75c4bbc240 Added unrar 3.9.6 Gustavo Lopes 2011-01-13 18:48:50 +00:00
  • 951ccf9767 Added unrar 3.9.5 Gustavo Lopes 2011-01-13 18:48:45 +00:00
  • 2538d242ee Added unrar 3.9.4 Gustavo Lopes 2011-01-13 18:48:41 +00:00
  • e91808a5eb Added unrar 3.9.3 Gustavo Lopes 2011-01-13 18:48:36 +00:00
  • a9631cfddd Added unrar 3.9.2 Gustavo Lopes 2011-01-13 18:48:32 +00:00
  • 89c4cbe487 Added unrar 3.9.1 Gustavo Lopes 2011-01-13 18:48:26 +00:00
  • 876cb51c4c Added unrar 3.8.5 Gustavo Lopes 2011-01-13 18:47:51 +00:00
  • ad8e1e2a2b Added unrar 3.8.4 Gustavo Lopes 2011-01-13 18:47:45 +00:00
  • 825de01ac1 Added unrar 3.8.3 Gustavo Lopes 2011-01-13 18:47:39 +00:00
  • 7a8b0a7f59 Added unrar 3.8.2 Gustavo Lopes 2011-01-13 18:47:31 +00:00
  • 35f7e43f2f Added unrar 3.8.1 Gustavo Lopes 2011-01-13 18:47:24 +00:00
  • 3a535eba4e Added unrar 3.7.8 Gustavo Lopes 2011-01-13 18:47:06 +00:00
  • a16b24d665 Added unrar 3.7.7 Gustavo Lopes 2011-01-13 18:47:00 +00:00
  • 9bd14a69e8 Added unrar 3.7.6 Gustavo Lopes 2011-01-13 18:46:54 +00:00
  • c093245020 Added unrar 3.7.5 Gustavo Lopes 2011-01-13 18:46:49 +00:00
  • f5ca2159f0 Added unrar 3.7.4 Gustavo Lopes 2011-01-13 18:46:44 +00:00
  • b8102334c6 Added unrar 3.7.3 Gustavo Lopes 2011-01-13 18:46:33 +00:00
  • eaffae90c0 Added unrar 3.7.2 Gustavo Lopes 2011-01-13 18:46:27 +00:00
  • 2e18f53535 Added unrar 3.7.1 Gustavo Lopes 2011-01-13 18:46:22 +00:00
  • fff0c56e2e Added unrar 3.6.8 Gustavo Lopes 2011-01-13 18:46:12 +00:00
  • 59a53d18ed Added unrar 3.6.7 Gustavo Lopes 2011-01-13 18:46:05 +00:00
  • e1490118df Added unrar 3.6.6 Gustavo Lopes 2011-01-13 18:46:00 +00:00
  • 7bacdf6736 Added unrar 3.6.5 Gustavo Lopes 2011-01-13 18:45:55 +00:00
  • 00a58e1934 Added unrar 3.6.4 Gustavo Lopes 2011-01-13 18:45:03 +00:00
  • 55dd7388ab Added unrar 3.6.3 Gustavo Lopes 2011-01-13 18:44:53 +00:00
  • a18c3b7fdc Added unrar 3.6.2 Gustavo Lopes 2011-01-13 18:44:41 +00:00
  • c3cf0e0dd4 Added unrar 3.6.1 Gustavo Lopes 2011-01-13 18:44:23 +00:00
  • bf0df5d1ed Restored PHP 5.2 compatibility. cataphract 2011-01-08 04:47:02 +00:00
  • fbb81f88f7 Restored PHP 5.2 compatibility. cataphract 2011-01-08 04:47:02 +00:00
  • 010ca980e0 Fixed non-ZTS build on compilers that don't support C99-style non-top declarations. cataphract 2011-01-08 03:49:03 +00:00
  • 26608f3191 Fixed non-ZTS build on compilers that don't support C99-style non-top declarations. cataphract 2011-01-08 03:49:03 +00:00
  • b92bcc5d5f - Fixed a build failure on gcc. - Changed // comments into /* ones on C portions. - Simplified the output of some stat tests. cataphract 2010-12-11 05:56:20 +00:00
  • c2a821cc5a - Fixed a build failure on gcc. - Changed // comments into /* ones on C portions. - Simplified the output of some stat tests. cataphract 2010-12-11 05:56:20 +00:00
  • da39115344 - Merge with RAR 4.0.2 cataphract 2010-12-09 07:54:59 +00:00
  • 51991b7e92 - Merge with RAR 4.0.2 cataphract 2010-12-09 07:54:59 +00:00
  • 5947ee8db4 - Fixed PECL bug #18449 (Extraction of uncompressed and encrypted files fails). cataphract 2010-12-09 05:13:01 +00:00
  • e0e67ef152 - Fixed PECL bug #18449 (Extraction of uncompressed and encrypted files fails). cataphract 2010-12-09 05:13:01 +00:00
  • 3fbc9ce3e9 - Removed repeated declaration of _rar_strnlen in rar.c in case HAVE_STRNLEN is set to 0/doesn't exist. cataphract 2010-08-26 17:07:38 +00:00
  • 9c0fb34d77 - Removed repeated declaration of _rar_strnlen in rar.c in case HAVE_STRNLEN is set to 0/doesn't exist. cataphract 2010-08-26 17:07:38 +00:00
  • 45dbaf4a4f - Bumped version to 3.0.0. - Fixed arginfo for RarArchive::setAllowBroken. cataphract 2010-07-02 23:08:20 +00:00
  • 74f2fa6bb3 - Bumped version to 3.0.0. - Fixed arginfo for RarArchive::setAllowBroken. cataphract 2010-07-02 23:08:20 +00:00
  • 681739fbb5 Fixed arginfo for RarEntry::extract. Safer string copy functions in extractchunk.cpp. cataphract 2010-07-02 04:55:28 +00:00
  • aabd5a5532 Fixed arginfo for RarEntry::extract. Safer string copy functions in extractchunk.cpp. cataphract 2010-07-02 04:55:28 +00:00
  • d7d2318aad - An "extern" keyword was missing in php_rar.h. cataphract 2010-06-14 13:50:54 +00:00
  • 49da6ec6f2 - An "extern" keyword was missing in php_rar.h. cataphract 2010-06-14 13:50:54 +00:00
  • 9cd2943b79 - I give up. cataphract 2010-06-03 04:47:07 +00:00
  • c05feac3b2 - I give up. cataphract 2010-06-03 04:47:07 +00:00
  • d9ccfe265f - Fixed actual revision of test file being in the test file (or something). cataphract 2010-06-03 04:46:04 +00:00
  • de4a341ed5 - Fixed actual revision of test file being in the test file (or something). cataphract 2010-06-03 04:46:04 +00:00
  • 8aba0685be - Test #96 cannot have Revision SVN keyword. cataphract 2010-06-03 04:38:56 +00:00
  • a71173b6ca - Test #96 cannot have Revision SVN keyword. cataphract 2010-06-03 04:38:56 +00:00
  • a6b4c57b1c - Added module info test. cataphract 2010-06-03 04:34:00 +00:00
  • e63192b9fd - Added module info test. cataphract 2010-06-03 04:34:00 +00:00
  • 535f0ea828 - Added test for wrapper cache eviction (required adding the function rar_wraper_cache_stats). cataphract 2010-06-03 04:17:48 +00:00
  • 215c717ff4 - Added test for wrapper cache eviction (required adding the function rar_wraper_cache_stats). cataphract 2010-06-03 04:17:48 +00:00
  • 5d1aafd746 - Oops forgot to commit the tests cataphract 2010-06-02 03:51:46 +00:00
  • 0def7d63b5 - Oops forgot to commit the tests cataphract 2010-06-02 03:51:46 +00:00
  • 9d49ce4842 - Omitted volume not found warning if volume callback was specified. . rar_broken_is omits no warnings (except the volume not found one, but see above) - Tests for reading broken files - Other tests for rararch.c cataphract 2010-06-02 03:20:10 +00:00
  • bf947ee04f - Omitted volume not found warning if volume callback was specified. . rar_broken_is omits no warnings (except the volume not found one, but see above) - Tests for reading broken files - Other tests for rararch.c cataphract 2010-06-02 03:20:10 +00:00
  • 438d8a4b0b fix compile warnings tony2001 2010-06-01 08:32:41 +00:00
  • bc2f6ea3c2 fix compile warnings tony2001 2010-06-01 08:32:41 +00:00
  • 1e97aa1ef1 - Added unset_dimension handler. - Added remaining tests for the dimension handlers. cataphract 2010-06-01 01:15:07 +00:00
  • 969649e671 - Added unset_dimension handler. - Added remaining tests for the dimension handlers. cataphract 2010-06-01 01:15:07 +00:00
  • 929b252665 - Fixed bug in dimensions handler. - Added tests for read_dimensions handler. - Methods/functions that receive no parameters enforce that. - Added rar_is_broken and rar_allow_broken_set. cataphract 2010-05-31 20:05:42 +00:00
  • 194157efe7 - Fixed bug in dimensions handler. - Added tests for read_dimensions handler. - Methods/functions that receive no parameters enforce that. - Added rar_is_broken and rar_allow_broken_set. cataphract 2010-05-31 20:05:42 +00:00
  • 7bfe225895 - Implemented dimensions handlers. - foreach no longer works for incomplete archives (will be possible again in the future via a new method in RarArchive). - On incomplete archives, rar_list and rar_entry_get always fail instead of failing the first time and being successful subsequently. cataphract 2010-05-31 04:10:39 +00:00
  • fd705e1ee5 - Implemented dimensions handlers. - foreach no longer works for incomplete archives (will be possible again in the future via a new method in RarArchive). - On incomplete archives, rar_list and rar_entry_get always fail instead of failing the first time and being successful subsequently. cataphract 2010-05-31 04:10:39 +00:00
  • dff57d32cb - Implemented count elements handler for RarArchive. - Fixed handling of archives with no entries. - Removed trailing full stops from some error messages. - Substituted zend_error for php_error_docref. - Fixed inconsistent behavior of EOF for streams (reading at file boundaries would could set EOF or not). cataphract 2010-05-30 00:51:55 +00:00
  • 425cccc7d7 - Implemented count elements handler for RarArchive. - Fixed handling of archives with no entries. - Removed trailing full stops from some error messages. - Substituted zend_error for php_error_docref. - Fixed inconsistent behavior of EOF for streams (reading at file boundaries would could set EOF or not). cataphract 2010-05-30 00:51:55 +00:00
  • 71fb41635c fix build tony2001 2010-05-29 11:23:18 +00:00
  • 0367337690 fix build tony2001 2010-05-29 11:23:18 +00:00
  • 9a7227a9e0 - Storage of the entries and its navigation were reformulated. The previous array with raw entries was substituted with an array with unique entries that also stores the directory depth and length of the entry name. The hash table used for direct access (url stater mainly) was substituted for a sorted array that makes directory navigation more efficient. The penalty of losing constant time access to entries by name (now it takes log n) was mitigated by a cache that is optimized for stating every element while a directory or the whole file are being traversed. - RAR navigation and indexing were moved to rar_navigation.c. - RAR archives that contain entries with the same name are correctly handled. - Changed the way properties are accessed in RarEntry (does not require building the properties table in trunk). - Fixed memory leak in silent url stat. - Fixed handling of optional passwords. Now giving no password, NULL or '' result in the same behavior. cataphract 2010-05-29 02:28:23 +00:00
  • 65d662047f - Storage of the entries and its navigation were reformulated. The previous array with raw entries was substituted with an array with unique entries that also stores the directory depth and length of the entry name. The hash table used for direct access (url stater mainly) was substituted for a sorted array that makes directory navigation more efficient. The penalty of losing constant time access to entries by name (now it takes log n) was mitigated by a cache that is optimized for stating every element while a directory or the whole file are being traversed. - RAR navigation and indexing were moved to rar_navigation.c. - RAR archives that contain entries with the same name are correctly handled. - Changed the way properties are accessed in RarEntry (does not require building the properties table in trunk). - Fixed memory leak in silent url stat. - Fixed handling of optional passwords. Now giving no password, NULL or '' result in the same behavior. cataphract 2010-05-29 02:28:23 +00:00
  • 79b78f81b9 fix build on Linux add support for PHP's trunk fix segfault in rar streams tony2001 2010-05-26 15:10:43 +00:00
  • 77b188e5d1 fix build on Linux add support for PHP's trunk fix segfault in rar streams tony2001 2010-05-26 15:10:43 +00:00
  • b1a21bb20c _S_IFDIR -> S_IFDIR cataphract 2010-05-25 17:12:29 +00:00
  • b277b67f7a _S_IFDIR -> S_IFDIR cataphract 2010-05-25 17:12:29 +00:00
  • a72bceba89 Minor improvements, let's hope it compiles on linux. cataphract 2010-05-25 17:06:19 +00:00
  • 128ca8bed1 Minor improvements, let's hope it compiles on linux. cataphract 2010-05-25 17:06:19 +00:00
  • d2e33c32c0 Fixed a few bugs, memory leaks and removed some old compatibility code. cataphract 2010-05-25 16:00:45 +00:00
  • 94f80970b4 Fixed a few bugs, memory leaks and removed some old compatibility code. cataphract 2010-05-25 16:00:45 +00:00
  • b081085cc9 Added option to RarEntry::extract() to allow from extraction of ACL (windows)/owner (unix)/extended attributes (os/2) cataphract 2010-05-05 23:43:28 +00:00
  • b5538720c0 Added option to RarEntry::extract() to allow from extraction of ACL (windows)/owner (unix)/extended attributes (os/2) cataphract 2010-05-05 23:43:28 +00:00
  • ffde50b702 Fixed RarEntry::extract not really accepting a password. cataphract 2010-05-05 01:06:21 +00:00
  • cada3dcc13 Fixed RarEntry::extract not really accepting a password. cataphract 2010-05-05 01:06:21 +00:00
  • 8bab79ae80 Exposed access time and creation time for stat/fstat. Used the high precision modification time to create the time_t for stat/fstat, if it exists. cataphract 2010-05-05 00:04:16 +00:00
  • 31aebfec04 Exposed access time and creation time for stat/fstat. Used the high precision modification time to create the time_t for stat/fstat, if it exists. cataphract 2010-05-05 00:04:16 +00:00
  • dadab995f5 Directory streams and url stat implemented. Exposed UnRAR DLL API version in MINFO. Refactoring and a few other minor changes. cataphract 2010-05-04 17:17:01 +00:00
  • 804ce4e1c4 Directory streams and url stat implemented. Exposed UnRAR DLL API version in MINFO. Refactoring and a few other minor changes. cataphract 2010-05-04 17:17:01 +00:00
  • 0f950603be Refactoring. Fixed tests 49 and 56. cataphract 2010-04-30 14:48:07 +00:00
  • bad2b4475b Refactoring. Fixed tests 49 and 56. cataphract 2010-04-30 14:48:07 +00:00
  • a88a995ca0 Added extflow.txt. Added technote.txt. Added rar_file_t::entries_idx. It's a hashtable that stores the entries in rar_file_t::entries indexed by name. _rar_raw_entries_to_files uses it, if available. Added an extension global, a per-request cache that will be used when directory streams are implemented. Eliminated dependency on SPL. Substituted several legacy macro names for new ones. Stream close operation operates differently when close_handle is FALSE (not that I actually know what the correct behaviour would be...) Added rar stream stat operation. Added wrapper, not with only an opener. The syntax is "rar://<urlencoded path to RAR archive>#<urlencoded entry name>". Context options should be under "rar" and are "open_password", "file_password" and "volume_callback" extract() and the wrapper opener should support RAR files with header passwords different from file passwords (but WinRAR does not generate them, so not tested). Avoid test 46 infinite loop on resource opening failure. cataphract 2010-04-28 15:42:06 +00:00
  • 515bde8437 Added extflow.txt. Added technote.txt. Added rar_file_t::entries_idx. It's a hashtable that stores the entries in rar_file_t::entries indexed by name. _rar_raw_entries_to_files uses it, if available. Added an extension global, a per-request cache that will be used when directory streams are implemented. Eliminated dependency on SPL. Substituted several legacy macro names for new ones. Stream close operation operates differently when close_handle is FALSE (not that I actually know what the correct behaviour would be...) Added rar stream stat operation. Added wrapper, not with only an opener. The syntax is "rar://<urlencoded path to RAR archive>#<urlencoded entry name>". Context options should be under "rar" and are "open_password", "file_password" and "volume_callback" extract() and the wrapper opener should support RAR files with header passwords different from file passwords (but WinRAR does not generate them, so not tested). Avoid test 46 infinite loop on resource opening failure. cataphract 2010-04-28 15:42:06 +00:00
  • f92f731da3 Change in the unRAR library: omit strcpy calls in File::Open when src and dst are the same. cataphract 2010-04-24 01:17:16 +00:00
  • b699af4a85 Change in the unRAR library: omit strcpy calls in File::Open when src and dst are the same. cataphract 2010-04-24 01:17:16 +00:00
  • 99996abdb9 Fixed test 49. cataphract 2010-04-23 22:57:50 +00:00
  • 388fae198d Fixed test 49. cataphract 2010-04-23 22:57:50 +00:00
  • eb12649fb2 Tests for when MAXPATHLEN > 1024 and improved resilience to possible unterminated strings in the unRAR lib (shouldn't happen anyway). cataphract 2010-04-23 22:42:24 +00:00
  • 69172401a9 Tests for when MAXPATHLEN > 1024 and improved resilience to possible unterminated strings in the unRAR lib (shouldn't happen anyway). cataphract 2010-04-23 22:42:24 +00:00