Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Apr 28, 2013
Commits on Jul 29, 2012
  1. Remove revision information

    authored
Commits on Jun 12, 2011
  1. Preparing for 3.0.0 release

    cataphract authored committed
    git-svn-id: https://svn.php.net/repository/pecl/rar/trunk@312082 c90b9560-bf6c-de11-be94-00142212c4b1
  2. Fixed tests.

    cataphract authored committed
    git-svn-id: https://svn.php.net/repository/pecl/rar/trunk@312078 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on Dec 11, 2010
  1. - Fixed a build failure on gcc.

    cataphract authored
    - Changed // comments into /* ones on C portions.
    - Simplified the output of some stat tests.
    
    git-svn-id: http://svn.php.net/repository/pecl/rar/trunk@306221 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on Dec 9, 2010
  1. - Merge with RAR 4.0.2

    cataphract authored
    git-svn-id: http://svn.php.net/repository/pecl/rar/trunk@306117 c90b9560-bf6c-de11-be94-00142212c4b1
  2. - Fixed PECL bug #18449 (Extraction of uncompressed and encrypted fil…

    cataphract authored
    …es fails).
    
    git-svn-id: http://svn.php.net/repository/pecl/rar/trunk@306110 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on Jun 3, 2010
  1. - I give up.

    cataphract authored
    git-svn-id: http://svn.php.net/repository/pecl/rar/trunk@300146 c90b9560-bf6c-de11-be94-00142212c4b1
  2. - Fixed actual revision of test file being in the test file (or

    cataphract authored
    something).
    
    
    git-svn-id: http://svn.php.net/repository/pecl/rar/trunk@300145 c90b9560-bf6c-de11-be94-00142212c4b1
  3. - Added module info test.

    cataphract authored
    git-svn-id: http://svn.php.net/repository/pecl/rar/trunk@300143 c90b9560-bf6c-de11-be94-00142212c4b1
  4. - Added test for wrapper cache eviction (required adding the function…

    cataphract authored
    … rar_wraper_cache_stats).
    
    git-svn-id: http://svn.php.net/repository/pecl/rar/trunk@300141 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on Jun 2, 2010
  1. - Oops forgot to commit the tests

    cataphract authored
    git-svn-id: http://svn.php.net/repository/pecl/rar/trunk@300084 c90b9560-bf6c-de11-be94-00142212c4b1
  2. - Omitted volume not found warning if volume callback was specified.

    cataphract authored
    . 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
    
    git-svn-id: http://svn.php.net/repository/pecl/rar/trunk@300083 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on Jun 1, 2010
  1. - Added unset_dimension handler.

    cataphract authored
    - Added remaining tests for the dimension handlers.
    
    git-svn-id: http://svn.php.net/repository/pecl/rar/trunk@300016 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on May 31, 2010
  1. - Fixed bug in dimensions handler.

    cataphract authored
    - Added tests for read_dimensions handler.
    - Methods/functions that receive no parameters enforce that.
    - Added rar_is_broken and rar_allow_broken_set.
    
    git-svn-id: http://svn.php.net/repository/pecl/rar/trunk@300009 c90b9560-bf6c-de11-be94-00142212c4b1
  2. - Implemented dimensions handlers.

    cataphract authored
    - 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.
    
    git-svn-id: http://svn.php.net/repository/pecl/rar/trunk@299970 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on May 30, 2010
  1. - Implemented count elements handler for RarArchive.

    cataphract authored
    - 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).
    
    git-svn-id: http://svn.php.net/repository/pecl/rar/trunk@299945 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on May 29, 2010
  1. - Storage of the entries and its navigation were reformulated. The pr…

    cataphract authored
    …evious 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.
    
    git-svn-id: http://svn.php.net/repository/pecl/rar/trunk@299926 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on May 25, 2010
  1. Minor improvements, let's hope it compiles on linux.

    cataphract authored
    git-svn-id: http://svn.php.net/repository/pecl/rar/trunk@299746 c90b9560-bf6c-de11-be94-00142212c4b1
  2. Fixed a few bugs, memory leaks and removed some old compatibility code.

    cataphract authored
    git-svn-id: http://svn.php.net/repository/pecl/rar/trunk@299743 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on May 5, 2010
  1. Added option to RarEntry::extract() to allow from extraction of ACL (…

    cataphract authored
    …windows)/owner (unix)/extended attributes (os/2)
    
    git-svn-id: http://svn.php.net/repository/pecl/rar/trunk@299044 c90b9560-bf6c-de11-be94-00142212c4b1
  2. Fixed RarEntry::extract not really accepting a password.

    cataphract authored
    git-svn-id: http://svn.php.net/repository/pecl/rar/trunk@299004 c90b9560-bf6c-de11-be94-00142212c4b1
  3. Exposed access time and creation time for stat/fstat.

    cataphract authored
    Used the high precision modification time to create the time_t for stat/fstat, if it exists.
    
    git-svn-id: http://svn.php.net/repository/pecl/rar/trunk@298999 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on May 4, 2010
  1. Directory streams and url stat implemented.

    cataphract authored
    Exposed UnRAR DLL API version in MINFO.
    Refactoring and a few other minor changes.
    
    git-svn-id: http://svn.php.net/repository/pecl/rar/trunk@298980 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on Apr 30, 2010
  1. Refactoring.

    cataphract authored
    Fixed tests 49 and 56.
    
    git-svn-id: http://svn.php.net/repository/pecl/rar/trunk@298807 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on Apr 28, 2010
  1. Added extflow.txt.

    cataphract authored
    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.
    
    git-svn-id: http://svn.php.net/repository/pecl/rar/trunk@298704 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on Apr 23, 2010
  1. Fixed test 49.

    cataphract authored
    git-svn-id: http://svn.php.net/repository/pecl/rar/trunk@298403 c90b9560-bf6c-de11-be94-00142212c4b1
  2. Tests for when MAXPATHLEN > 1024 and improved resilience to possible …

    cataphract authored
    …unterminated strings in the unRAR lib (shouldn't happen anyway).
    
    git-svn-id: http://svn.php.net/repository/pecl/rar/trunk@298400 c90b9560-bf6c-de11-be94-00142212c4b1
  3. Added volume find callback to RarArchive::open/rar_open.

    cataphract authored
    git-svn-id: http://svn.php.net/repository/pecl/rar/trunk@298372 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on Apr 21, 2010
  1. Added test for files when unpacked size bigger than 2 GiB (it will ta…

    cataphract authored
    …ke some effort to do the same for packed size > 2 GiB).
    
    Relaxed test #12 (changes to the unpacking algorithm in unrar 3.9.10 have apparently changed the output stream for corrupted entries).
    
    git-svn-id: http://svn.php.net/repository/pecl/rar/trunk@298254 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on Apr 20, 2010
  1. Renamed RarArchive::list() to RarArchive::getEntries() (see bug #1702…

    cataphract authored
    …5). The old name of the method can be activated by defining RAR_ARCHIVE_LIST_ALIAS.
    
    git-svn-id: http://svn.php.net/repository/pecl/rar/trunk@298209 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on Mar 7, 2010
  1. Fixed infinite loop when opening files with missing volumes.

    cataphract authored
    git-svn-id: http://svn.php.net/repository/pecl/rar/trunk@295909 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on Jan 17, 2010
  1. Fixed test 32 (trivial).

    cataphract authored
    git-svn-id: http://svn.php.net/repository/pecl/rar/trunk@293638 c90b9560-bf6c-de11-be94-00142212c4b1
Something went wrong with that request. Please try again.