Commit Graph

102 Commits

Author SHA1 Message Date
Hannes Magnusson
8ba86768e7 - Unifiy that message
- Mention php.ini
2010-04-27 08:23:25 +00:00
Hannes Magnusson
b25baf178d mention which setting! 2010-04-25 18:55:06 +00:00
Greg Beaver
641a9977b7 fix PHP Bug #49938: Phar::isBuffering() returns inverted value 2009-11-13 00:58:11 +00:00
David Coallier
4603dddae6 - Added an extra skipif for zlib 2009-11-12 17:45:08 +00:00
Greg Beaver
6b0c91e868 fix PHP Bug #49910: no support for ././@LongLink for long filenames in phar tar support 2009-11-11 21:02:59 +00:00
Greg Beaver
c880f7e5c4 make phar tests pass in php 5.2, prepare for release of pecl/phar 2.0.0, merge Gwynne's TSRM fix to phar_object.c to other branches 2009-07-29 10:14:04 +00:00
Greg Beaver
23f7807148 fix generation of phar.phar in php 6, fix remaining tests broken by PHP 6 (and not by spl/other stuff in php6) 2009-07-26 02:18:50 +00:00
Greg Beaver
b777e5fd8a fix tar front controller tests for php6 2009-07-26 00:35:17 +00:00
Greg Beaver
aef00895ad Fix Bug #49020: phar misinterprets ustar long filename standard 2009-07-22 19:51:37 +00:00
Greg Beaver
8c574a4bd0 fix php bug #49018 (phar tar stores long filenames with prefix/name reversed) 2009-07-22 18:13:38 +00:00
Greg Beaver
5010fec2f0 fix Bug #48681: openssl signature verification for tar archives broken in ext/phar, merge small fixes to phar.phar generation from PHP_5_3 2009-06-24 22:19:47 +00:00
Greg Beaver
4846e56d40 MFPECL: fix security vulnerability in phar's handling of long tar filenames 2009-06-04 20:00:01 +00:00
Greg Beaver
ce8cc1c99d fix potential segfault when converting phars with metadata to other formats, add test 2009-05-24 18:50:37 +00:00
Greg Beaver
3c48633a8f add missing test 2009-05-24 18:47:54 +00:00
Greg Beaver
5af0cbef65 MFB: fix Bug #48257: PharData throws exception with non-phar tar 2009-05-13 20:26:18 +00:00
Jani Taskinen
5e6bff5c43 - fix test cleanup (== consistent now :) 2009-04-25 17:57:27 +00:00
Greg Beaver
0315794cf4 MFB: fix faulty tests 2008-10-12 23:33:08 +00:00
Greg Beaver
4bd8bacde7 add missing --INI-- section 2008-10-12 18:54:13 +00:00
Greg Beaver
692222f12a MFB: fix links for fseek as well 2008-10-11 22:21:07 +00:00
Greg Beaver
44cb95a53d MFB: fix reading links from streams (works with PharFileInfo->getContent()) 2008-10-11 22:12:18 +00:00
Greg Beaver
a4f39f7fa4 MFB: fix bug #45907: undefined reference to PHP_SHA512Init 2008-10-09 00:51:27 +00:00
Steph Fox
755642c355 - Bring phar tests into line across all branches 2008-08-01 13:36:19 +00:00
Etienne Kneuss
4d1b2255de MFB: Fix filename/pathname/getpathinfo tests according to SPL fix 2008-07-09 09:01:08 +00:00
Steph Fox
f08aea109b - IS_UNICODE checks and conversions
- stub and creation file updates
- far too many test updates to think about
2008-05-19 19:05:42 +00:00
Greg Beaver
25b8e6cc3f MFB: add full metadata support for tar-based archives and test 2008-05-15 23:46:54 +00:00
Greg Beaver
144e472967 MFB: plug security hole of unfettered creation access to .phar magic directory 2008-05-15 16:09:21 +00:00
Steph Fox
c1ae13b985 - Make internal code back-compatible. This included a binary cast in the default stub, hence many test updates.
- Just over a third of tests pass. Test manifests are broken currently.
2008-05-14 21:27:31 +00:00
Felipe Pena
ede5c8dd09 - Fixed tests (added default_charset=) 2008-05-13 19:18:11 +00:00
Greg Beaver
82dc03941a fix weird alias issues, add tests to check for new-found problems 2008-05-12 20:42:07 +00:00
Greg Beaver
ae789a055e increase code coverage 2008-05-12 00:45:05 +00:00
Greg Beaver
b3bab5022a increase code coverage 2008-05-11 23:07:12 +00:00
Greg Beaver
24efbb759b simplify phar_get_link_location and increase its coverage to 100% 2008-05-11 23:03:56 +00:00
Greg Beaver
70d0a4c045 increase code coverage and fix tiny bug in handling of absolute links 2008-05-11 22:59:16 +00:00
Greg Beaver
5ba8ca70a4 fix alias overloading handling for archives that are not in use 2008-05-06 21:14:53 +00:00
Greg Beaver
bfbe53eeb2 refactor isTar/isZip/isPhar into isFileFormat(int format) where format is one of Phar::TAR,, Phar::ZIP, Phar::PHAR
[DOC]
2008-05-02 05:05:56 +00:00
Steph Fox
8a970147ad - Allow setStub() to continue working
- Fix tests broken by earlier commit
2008-04-29 12:26:58 +00:00
Greg Beaver
11c93b8494 add checking for invalid alias on opening tar, and test 2008-04-26 22:31:44 +00:00
Greg Beaver
5b85b2074b new test/updated test to ensure stub integrity (I was wrong, zip is fine) 2008-04-26 17:47:31 +00:00
Greg Beaver
52f5a0f2ac increase code coverage 2008-04-26 17:34:14 +00:00
Greg Beaver
fc9aba79f5 add missing file (Steph: this fixes tests/tar/truncated.phpt, sorry :) 2008-04-25 04:29:08 +00:00
Greg Beaver
afa1439304 finish code coverage for tar file format 2008-04-21 06:46:40 +00:00
Greg Beaver
c4315bfb2b add test for huge filenames, fix huge filename reading 2008-04-21 06:33:49 +00:00
Greg Beaver
1f6292e91d new test for corrupted tar with hard link to nowhere 2008-04-21 06:21:09 +00:00
Greg Beaver
3d858f4aa9 implement symbolic link support within a tar-based phar archive
this also resulted in a major fix for mounted directories, which were recycling the 'link' field which
could cause stupid conflicts with actual links, so move that to new 'tmp' field.
2008-04-21 06:17:51 +00:00
Greg Beaver
f70d527661 use a tar generated by the tar command to test links. Test still fails 2008-04-20 21:48:30 +00:00
Greg Beaver
ca6f70c8a3 add test for symbolic and hard links 2008-04-20 17:59:14 +00:00
Greg Beaver
027180d6ee new test for bad checksum, fix tar.c to catch tar archives with a corrupted first entry, fix memleak on bad checksum 2008-04-20 17:28:54 +00:00
Greg Beaver
4abe1a0978 fix tests to match CVS 2008-04-20 17:19:24 +00:00
Greg Beaver
f5dbaf64fc add failing test for truncated tar archive 2008-04-20 15:12:09 +00:00
Greg Beaver
8001dfd8d0 new test, increases code coverage slightly 2008-04-20 14:54:05 +00:00