Commit Graph

1153 Commits

Author SHA1 Message Date
Jani Taskinen
327c317309 - Revert (dunno why I had this like this..) 2008-07-16 14:12:33 +00:00
Jani Taskinen
1a58013044 - Fixed bug #44127 (UNIX abstract namespace socket connect does not work) 2008-07-16 14:08:04 +00:00
Etienne Kneuss
4d1b2255de MFB: Fix filename/pathname/getpathinfo tests according to SPL fix 2008-07-09 09:01:08 +00:00
Antony Dovgal
ae56a0a11f fix build 2008-06-12 10:31:40 +00:00
Antony Dovgal
af74288a41 fix test 2008-06-04 07:52:04 +00:00
Greg Beaver
6db7baba99 MFB: fix corrupted zips, fix postprocess for compressed zip file 2008-05-30 22:49:46 +00:00
Greg Beaver
ca6d36efb8 MFB: refactor function names for clarity. No functionality change 2008-05-30 22:39:33 +00:00
Greg Beaver
195ee5ca73 MFB: fix PECL bug #13981: Third-party zips fail entry interrogation 2008-05-29 17:34:58 +00:00
Stanislav Malyshev
f6af23d30e MF5: Fix code path in phar_open_compiled_file() that tries
to open not-yet-loaded phar and fails on compressed files
# By Gregory's request
# Sorry, can't find how to write test case for that - it reproduces
# for me only under bytecode-caching. Suggestions welcome.
2008-05-28 21:50:41 +00:00
Felipe Pena
06a7527c65 - Removed UEXPECT(F) 2008-05-27 13:16:27 +00:00
Steph Fox
76a9ec377b - MFB major fixes
* found felipe's segfault in util.c and fixed the segfault (3 tests fail due to odd behavior of . and .. on this machine)
   * fixed serious flaws in the setting/resetting of is_data - now it works properly.  Assume
     all new PharData are tar-based, and allow passing Phar::ZIP to PharData constructor to override this
   * fix broken earlier commit, introduced segfault that broke 20 tests here
2008-05-24 14:18:31 +00:00
Steph Fox
bdca5a12b0 - MFB fix offset detection in tar files 2008-05-24 13:59:56 +00:00
Greg Beaver
8589859191 MFB fix convertTo\*() for same-named archives with no files 2008-05-21 20:39:33 +00:00
Greg Beaver
a08acfb080 s/zend_hash_exists/zend_hash_find/ 2008-05-20 05:01:08 +00:00
Greg Beaver
ccf430ca93 MFB relax rename requirements 2008-05-20 04:09:41 +00:00
Steph Fox
2c20c55716 - unicodify expected output 2008-05-19 19:37:39 +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
eb99aa475e MFH fix mem leak, add test for previous segfault fix 2008-05-18 23:41:17 +00:00
Greg Beaver
3d953abaf3 MFB fix segfault 2008-05-18 23:12:47 +00:00
Felipe Pena
87d80cf81a - Added UEXPECTF 2008-05-18 00:47:22 +00:00
Greg Beaver
11fb7561f0 enable by default statically instead of shared
this is done by removing zlib/bz2 explicit dependencies because they are unnecessary
we only ever use the stream filter, and the check for existence has
been moved to runtime where it is after startup
2008-05-17 20:07:38 +00:00
Greg Beaver
1e4b633721 MFB fix test (again) 2008-05-17 20:04:18 +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
Steph Fox
ce586bf826 - MF53 dotted.path support 2008-05-13 18:43:18 +00:00
Greg Beaver
cfa135cb17 MFB fix tests 2008-05-13 18:38:35 +00:00
Steph Fox
247d91e780 - 'It builds on my box'.
- Don't expect any tests to pass.
2008-05-13 18:35:25 +00:00
Felipe Pena
461006fa97 - Added SKIPIF 2008-05-13 14:49:36 +00:00
Greg Beaver
2734ed6c4f back to dev 2008-05-12 21:03:48 +00:00
Greg Beaver
5974e9ccff prepare for release 2008-05-12 20:43:04 +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
Steph Fox
ac8ea81588 - Update package/TODO as best memory allows 2008-05-12 19:11:24 +00:00
Greg Beaver
30eca098e4 fix minor memleak 2008-05-12 17:40:14 +00:00
Steph Fox
dba1c11685 - Make sure default alias is set in phar.zip
- Add test
2008-05-12 17:12:56 +00:00
Steph Fox
7416b0cd91 - Fix tests 2008-05-12 12:46:41 +00:00
Greg Beaver
ae789a055e increase code coverage 2008-05-12 00:45:05 +00:00
Greg Beaver
51a1d6a3b7 increase code coverage in util.c 2008-05-12 00:43:11 +00:00
Greg Beaver
e6558c56a3 increase code coverage to test mounting of phar URLs to internal file, and fix odd semi-race condition
where stream resources were not properly freed at script end
2008-05-12 00:16:59 +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
ad1be25d8c don't copy contents of linked/mounted files when converting an archive, and be sure to dupe mounted value 2008-05-11 22:45:03 +00:00
Greg Beaver
92f0dc842f fix test 2008-05-11 22:44:33 +00:00
Greg Beaver
4ccf0b846e slightly increase efficiency of function interception, and ensure that nothing fails even if the archive is unlinked mid-process 2008-05-11 21:30:05 +00:00
Greg Beaver
7149523766 add safety check to prevent unlinkArchive() from being called by a file within the archive 2008-05-11 21:15:47 +00:00
Greg Beaver
5d168ad544 fix memleak 2008-05-11 20:53:38 +00:00
Greg Beaver
376deb39d6 split test into two versions for differences in parameter parsing in PHP 5.3+ 2008-05-11 19:41:45 +00:00
Greg Beaver
a0969ed78f make test version-agnostic 2008-05-11 19:37:43 +00:00