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
Greg Beaver
38d5943ee6
increase code coverage of funcinterceptors to 90%+, fix many bugs, fix errant wrong test condition in fgc_edgecases
2008-05-11 19:17:51 +00:00
Greg Beaver
25a6be6cde
fix windows build
2008-05-08 03:10:18 +00:00
Greg Beaver
53e02373d0
fix handling of mounted entries when flushing in all phars, and of deleted entries with open references in tar-based phars, do not extract mounted entries, add to test
2008-05-08 02:58:45 +00:00
Greg Beaver
a919e2f858
fix serious logic error and potential security issue with phar_compiled_file and
...
phar_find_in_include_path. We were allowing data-based phars to be executed, and actually marking phar-based phar archives
without '.phar' in the name as data-based phars, which would allow modifying them even if phar.readonly=0. Add test for this sinister case
2008-05-08 00:49:37 +00:00
Greg Beaver
0773c7f6a2
fix tar extension detection in open code
2008-05-07 17:35:20 +00:00
Greg Beaver
f134a909c3
optimize phar filename extension detection to first search through known phars. This eliminates several stat/realpath calls for archives with lots of files
2008-05-07 17:24:22 +00:00
Greg Beaver
0f5f61c071
prepare for 2.0.0b1 release, pending review (finally)
2008-05-07 06:43:07 +00:00
Greg Beaver
e765e8f6ca
remove files created
2008-05-07 06:39:05 +00:00
Greg Beaver
eda25ddb34
validate user-supplied aliases when converting archives to other formats
2008-05-07 06:36:24 +00:00
Greg Beaver
549bf83bd1
[DOC]
...
remove phar.extract_list
remove Phar::getExtractList()
2008-05-07 05:38:31 +00:00
Greg Beaver
f8db86b008
remove APC fanciness - this was causing non-caching of some files include()d inside a phar archive
2008-05-07 05:13:41 +00:00
Greg Beaver
96d4c2b62f
fix zip metadata for archive/fix perms for file in zip/all.phpt test
2008-05-06 21:46:26 +00:00
Greg Beaver
04735b675d
new failing test for testing all zip creation facets
2008-05-06 21:34:19 +00:00
Greg Beaver
196f0ef42b
fix segfault in buildfromdirectory2 test and potential segfault
2008-05-06 21:23:48 +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
3d388e71d2
new test for unset behavior
2008-05-06 18:25:33 +00:00
Steph Fox
21460875fc
- Some tests for buildFromDirectory()
2008-05-04 20:58:43 +00:00
Steph Fox
c322c1a94a
- Kill Windows warning when int meets short
...
- All tests still pass
2008-05-03 21:09:56 +00:00
Greg Beaver
a180fcc9bc
add Phar::unlinkArchive() to allow complete removal of a parsed phar archive from memory and disk
2008-05-03 02:04:24 +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
Greg Beaver
e0bc2b2be1
update TODO, re-order methods to be alphabetical, tweak extractTo to set permissions and handle NULL for files
...
# this also matches the docs I just committed :)
2008-05-02 04:44:39 +00:00
Greg Beaver
93fd16ef4d
fix possible read past end of buffer by ridiculously stupid convoluted logic (I wrote it, I can call it that) reported by valgrind
2008-04-30 23:49:09 +00:00
Greg Beaver
0a3fc4faba
fix unix-only valgrind issue by initializing arch
2008-04-30 23:44:30 +00:00
Greg Beaver
2b8a56779b
fix cwd test in php 5.2, now all tests pass in 5.2 on unix
2008-04-30 23:06:57 +00:00
Greg Beaver
c3816a2aa0
fix test to be truly path-agnostic
2008-04-30 23:06:04 +00:00
Greg Beaver
d16f86f528
fix Bug #13786 on unix (Steph can you verify?)
2008-04-30 22:16:25 +00:00
Greg Beaver
791bb5db46
fix test (passes in PHP_5_3 on my 64-bit machine, have not yet tested in 5_2)
2008-04-30 22:12:21 +00:00