Commit Graph

16 Commits

Author SHA1 Message Date
0b55591d7a deprecation of Archive libs 2015-07-31 13:02:08 +02:00
7e8500eea1 PHPDocs and some improvements 2014-10-02 14:55:24 +02:00
e3710957c6 more phpdocs and minor check 2014-10-01 17:05:40 +02:00
42ea7f447f Many PHPDocs, some unused and dyn declared vars
many PHPDocs
some unused variables
some dynamically declared variables declared
2014-10-01 11:30:27 +02:00
59bc3b48fd more scrutinizer issue improvements 2014-09-29 21:45:27 +02:00
ec2e458727 removed superflous parameter 2014-01-07 18:47:48 +01:00
0a57f27ea5 fixed cleanPath bug in tar library FS#2802
This time the test case was correct and actually showed a bug in the tar
library. The error occured only on the first build (directory build/0/)
where the zero was stripped from the path name.

I added unit tests to the cleanPath function and discovered another bug
with handling relative directories. I rewrote the cleanPath() function
and now it should finally work.

Unit tests FTW!
2013-08-03 17:19:54 +02:00
0aa90d9aa7 tar library: another fix for lone zero blocks 2013-05-09 14:54:12 +02:00
46ac8ef9ac Tar: avoid lone zero blocks when adding 0 byte files 2013-05-03 17:52:48 +02:00
7afccd0aab Revert "handle bzip1 as well"
This reverts commit f2cb3ec76d.

Turns out I was too fast merging this. I can't get PHP's bzip handler to
handle a bzip1 compressed file.
2013-01-23 16:16:18 +01:00
d0cf0750a5 Merge pull request #162 from glensc/bz-bz2
handle bz (bzip not bzip2) better
2013-01-23 06:56:09 -08:00
f2cb3ec76d handle bzip1 as well
in fact .tbz is tar.bz (bzip1) and .tbz2 is what tar.bz2 is used
commonly.
2013-01-23 13:57:31 +02:00
f99ea54796 fixes from bee9f377bc commit notes 2013-01-23 13:45:47 +02:00
90a1db709d Tar: support for creating archives with long filenames
The library now creates either a POSIX ustar prefix or a GNU longlink
entry for files which have a name longer than 100 bytes
2012-11-04 11:31:20 +01:00
421a270402 Tar: Added extraction support for long file names
Supports POSIX ustar prefixes and GNU longlink entries
2012-11-04 10:36:58 +01:00
bee9f377bc Completely rewritten Tar library
This new class is only losely based on our previous library. The
whole API was changed to make it more flexible and memory saving.

Some fisrt unit tests are included
2012-11-03 17:54:02 +01:00