Andreas Gohr
10d8901357
supress chmod and touch warnings
...
On some file systems these commands will fail. It's unclear what systems
those are, I can reproduce it for touch() on my android phone (but not
on my tablet).
Instead of littering the output with potentially thousands of warnings
we supress them here. Ideally we should probably do something with them,
but I don't know what.
Maybe a strict setting that turns them into exceptions, would work? PRs
welcome.
1.1.1
2018-09-09 14:13:53 +02:00
Andreas Gohr
cabfd12a40
extracted exceptions into their own files
...
required for PSR-2
1.1.0
2018-06-12 22:09:13 +02:00
Andreas Gohr
0feb2c8107
clean up doc blocks and minor code smell
2018-06-12 22:04:45 +02:00
Andreas Gohr
3b5207aab3
added callback mechanism to show progress during ops
2018-06-12 22:04:17 +02:00
Andreas Gohr
e3a27bdc49
throw ArchiveIllegalCompressionException on bad compression level
2018-06-12 21:50:31 +02:00
Andreas Gohr
a46f3aaeb9
check for broken iconv setup
1.0.10
2018-05-01 10:03:56 +02:00
Andreas Gohr
0443bcff12
Merge pull request #23 from peter279k/test_enhancement
...
Test enhancement
2018-02-05 09:49:31 +01:00
peter279k
d65719bfe5
Merge branch 'test_enhancement' from source
2018-02-04 22:19:32 +08:00
peter279k
e6e5a8edf6
using assertInternalType method
2018-02-04 22:17:09 +08:00
peter279k
9711a651a4
drop the PHP 5.3 from test set the required 5.4+
2018-02-04 22:16:23 +08:00
peter279k
f114f26ce5
usin assertInternalType method
2018-02-04 22:01:54 +08:00
peter279k
0f4a5d61de
add clear cache
2018-02-04 21:16:23 +08:00
peter279k
7aaacf33a8
using filesize to check file size
2018-02-04 20:01:13 +08:00
peter279k
713d849aab
'test_enhancement' branch of removing bin2hex
2018-02-04 19:54:31 +08:00
peter279k
84db2380b4
chnage assertion method
2018-02-04 19:52:30 +08:00
peter279k
e62ad36138
drop the PHP 5.3 from test set the required 5.4+
2018-02-04 19:52:22 +08:00
peter279k
b5105a0c6c
using bin2hex before getting file content string
2018-02-04 19:46:35 +08:00
peter279k
9098d2509b
drop the PHP 5.3 from test set the required 5.4+
2018-02-04 19:34:41 +08:00
peter279k
2b5fb5f5c9
change array syntax for php 5.3
2018-02-04 19:23:47 +08:00
peter279k
12f443977f
set the assertGreaterThanOrEqual
2018-02-04 19:18:34 +08:00
peter279k
da604987be
change 104 to 102
2018-02-04 19:06:54 +08:00
peter279k
ef1985eead
tests enhancement
2018-02-04 19:01:02 +08:00
Andreas Gohr
2a63b8cf0b
use trusty for running tests on travis
1.0.9
2017-06-11 08:11:38 +02:00
Andreas Gohr
152eaa647a
use composer installed phpunit
2017-06-11 08:07:47 +02:00
Andreas Gohr
439293a9c2
Merge pull request #22 from twifty/gzip-fix
...
Gzip fix
2017-06-11 08:06:03 +02:00
Owen
ed78f7db29
Fix gzip issue #20
2017-06-10 12:13:03 +08:00
Owen
b74df7c9ce
added gzip test, ignored nbproject
2017-06-10 12:04:06 +08:00
Andreas Gohr
6b1c1746fa
Throw an exception when a file changes during reading
...
see discussion at #17
1.0.8
2017-03-19 10:10:53 +01:00
Andreas Gohr
735029407f
fixed that iconv workaround
...
had a little logic error there - need to preserve the original string to
retry the encoding a second time
2017-03-03 15:44:46 +01:00
Andreas Gohr
aa9ae83c80
fix filesize calculation in GNU long link tar files
...
also fixes a warning on PHP 7.1
2017-03-03 15:24:37 +01:00
Andreas Gohr
516553390d
work around an iconv bug in older PHP versions
2017-03-03 14:52:56 +01:00
Andreas Gohr
aae0916f9d
added newer php versions to travis
2017-03-03 14:45:23 +01:00
Andreas Gohr
f17c965e9f
added hints about useful php extensions to composer
2017-03-03 13:55:47 +01:00
Andreas Gohr
3933fc63c6
ignore utf-8 chars that don't fit into CP437
2017-03-03 13:51:59 +01:00
Andreas Gohr
a72a6e56e1
properly encode UTF-8 filenames in zip files #14
...
Uses the Info-ZIP Unicode Path Extra Field 0x7075
2017-03-03 13:46:31 +01:00
Andreas Gohr
6606edd9ee
some improvements on non 7bit string handling #14
...
This should read at least some zip files with umlauts and stuff better
2017-03-03 12:45:44 +01:00
Andreas Gohr
74d7442807
testing: run created archives through native tools
...
This should ensure the files we create are actually understood by common
tools.
2017-03-03 10:52:16 +01:00
Andreas Gohr
2e7533b384
always store directories with file size 0. fixes #15
2017-03-03 10:22:10 +01:00
Andreas Gohr
c075304b44
added dogfooding test, extract self created archives
1.0.7
2015-08-12 15:24:34 +02:00
Andreas Gohr
c2490eaadc
correctly skip in bzip streams. closes #9
2015-08-12 15:21:54 +02:00
Andreas Gohr
2492960566
more tests with different extensions
2015-08-12 14:35:10 +02:00
Andreas Gohr
17dab7eec0
ignore null block headers
1.0.6
2015-08-12 12:33:07 +02:00
Andreas Gohr
2188e3f180
fixed size add in Fileinfo::frompath. closes #9
1.0.5
2015-08-12 12:07:51 +02:00
Andreas Gohr
1c69ad040b
throw proper exceptions when tar headers can't be parsed
2015-08-12 11:58:17 +02:00
Andreas Gohr
b244bc4dbd
added test for magic byte testing
2015-08-12 11:48:39 +02:00
Andreas Gohr
1ae8687e13
Merge branch 'master' into magicbytes
...
* master:
added compression example to README
fixed various calls in the tests
fixed compression setting on saving inmemory tars
2015-08-12 11:46:46 +02:00
Andreas Gohr
edeb28cc55
added compression example to README
2015-08-12 11:46:20 +02:00
Andreas Gohr
091fac973f
fixed various calls in the tests
2015-08-12 11:44:24 +02:00
Andreas Gohr
04f6863f6b
fixed compression setting on saving inmemory tars
2015-08-12 11:31:32 +02:00
Andreas Gohr
5e7d32a4f4
use magic bytes to determine compression type
2015-08-12 11:30:10 +02:00