Commit Graph

1230 Commits

Author SHA1 Message Date
Greg Beaver
f9cffe4e48 re-disable phar in HEAD on windows 2009-03-01 07:25:24 +00:00
Greg Beaver
5fb232a2de MFB: revert removal of openssl check, was confusion on my part 2009-03-01 07:20:38 +00:00
Greg Beaver
ed94ab4b24 MFB: add safeguard check for timestamp modification to phar_stub.phpt and phar_gzip.phpt 2009-03-01 07:16:55 +00:00
Greg Beaver
0b53e3dbdd MFB: fix hash support on windows in ext/phar (Kalle) 2009-03-01 07:07:14 +00:00
Greg Beaver
f8ec2933b0 MFB: fix blog.phar for front.phar.phpt test 2009-03-01 07:00:22 +00:00
Greg Beaver
dd5cd94476 MFB: fix swapping of time/date in timestamp saving for zip, which can cause crash on windows 2009-03-01 06:58:23 +00:00
Greg Beaver
ff1a93c841 MFB: fix SKIPIF, EXPECT in 2 tests 2009-03-01 06:50:38 +00:00
Greg Beaver
175577a4dd MFB: fix faulty logic in tests, needed to use ksort instead of asort and to sort output. These tests failed on some systems with non-case sensitive filesystem sorting 2009-02-21 03:15:57 +00:00
Greg Beaver
401bb9ed44 MFB: cosmetics: remove two unreachable return statements, removes warning in sun cc 2009-02-21 02:37:33 +00:00
Greg Beaver
9633dc158b MFB: cosmetics: fix warning (only affects suncc) 2009-02-21 02:34:01 +00:00
Greg Beaver
6a9197f1ad MFB: fix zip access to work in all compilers, present and future, and on all arches without potential for bus errors. This removes PHAR_ZIP_PACK in favor of a safer approach 2009-02-20 05:06:52 +00:00
Greg Beaver
4eed2d8ffc MFB: fix memleaks on zip corruption 2009-02-16 18:55:19 +00:00
Greg Beaver
8f438d17ad MFB: fix test 2009-02-15 21:50:58 +00:00
Greg Beaver
5b9430b5d4 MFB: fix all remaining big-endian issues 2009-02-15 20:29:26 +00:00
Greg Beaver
a249c4d77a MFB: fix getting/setting of all 16/32 bit on zip 2009-02-15 19:23:06 +00:00
Greg Beaver
99ce24d6f4 MFB: fix setting of 32-bit values on big-endian systems 2009-02-15 18:52:11 +00:00
Greg Beaver
f232c7f945 MFB: fix bug #47085:rename() returns true even if the file in PHAR does not exist 2009-02-03 18:29:46 +00:00
Greg Beaver
d8713de264 MFB fix Bug #47265 (generating phar.phar fails because of safe_mode) 2009-02-03 18:25:59 +00:00
Ilia Alshanetsky
e62d29d851 MFB: Fixed a possible crash when phar_create_signature() fails 2009-01-02 20:43:58 +00:00
Sebastian Bergmann
7f4dc8702a Bump copyright year, 3 of 3. 2008-12-31 11:12:40 +00:00
Sebastian Bergmann
befd80d1c4 Bump copyright year, 2 of 3. 2008-12-31 11:10:02 +00:00
Marcus Boerger
394a73fbff Use ' -f' as requested 2008-12-13 14:49:21 +00:00
Hannes Magnusson
2f593a8866 ini_set() should return false on failure, not return the orginal value
and pretend everything is fine.
2008-12-09 13:02:27 +00:00
Marcus Boerger
d74dea5b88 - Only show switch -y if available 2008-12-08 00:15:51 +00:00
Marcus Boerger
97cb6dd677 - When installing phar, make phar a link to phar.phar 2008-12-08 00:00:16 +00:00
Felipe Pena
43791516db - Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro (again!) 2008-11-17 11:26:25 +00:00
Felipe Pena
e006a89e71 - Revert ZEND_BEGIN_ARG_INFO change 2008-11-02 21:10:13 +00:00
Greg Beaver
1699efd72b last commit was an old patch, revert faulty line 2008-10-26 05:51:04 +00:00
Greg Beaver
329229071f MFB: fix several errors found by valgrind
1 - entry metadata not properly processed or retrieved from cached phars
2 - copy on write was using a void return value instead of int, a dangerous oversight in phar_update_cached_entry
3 - metadata creation in entries for cached phars was causing an invalid read
2008-10-26 05:49:24 +00:00
Felipe Pena
7eb2715464 - Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-10-24 14:34:17 +00:00
Alexey Zakhlestin
37c4e3c5ac MFB: proper check for php-version 2008-10-21 13:00:29 +00:00
Felipe Pena
c2e64169f5 - Fixed bug #45726 (PHP_Archive / Archive.php missing) 2008-10-17 01:53:26 +00:00
Greg Beaver
51e82ec848 MFB: last test for cached phar copy on write (forgot this one yesterday) 2008-10-14 00:38:11 +00:00
Greg Beaver
1838c130c9 MFB: increase code coverage 2008-10-13 04:50:45 +00:00
Greg Beaver
072f4489de MFB: add complete tests verifying copy-on-write for cached phars 2008-10-13 04:21:19 +00:00
Greg Beaver
0315794cf4 MFB: fix faulty tests 2008-10-12 23:33:08 +00:00
Antony Dovgal
79ec5dc2b9 fix ZTS build 2008-10-12 21:09:10 +00:00
Greg Beaver
15fc837b99 MFB: fix incorrect key for Phar destructor 2008-10-12 19:45:12 +00:00
Greg Beaver
c448cb165c MFB: add tests for copy-on-write support
- fix metadata handling with cached phars
 - fix virtual_dirs with rmdir
 - ensure that after copy-on-write, all existing Phar objects link to the newly copied phar data
2008-10-12 19:40:30 +00:00
Greg Beaver
4bd8bacde7 add missing --INI-- section 2008-10-12 18:54:13 +00:00
Greg Beaver
10d023be20 MFB: add new test for copy-on-write, fix copy-on-write for Phar/PharFileInfo methods 2008-10-12 06:53:52 +00:00
Greg Beaver
cd15c694ec fix test files 2008-10-12 06:44:01 +00:00
Greg Beaver
5540b03782 need to re-add as binary 2008-10-12 06:43:46 +00:00
Greg Beaver
6850f3276b increase code coverage 2008-10-12 05:41:34 +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
df7756f244 MFB: cosmetics/maintainability: reduce code redundancy on error conditions 2008-10-11 21:23:13 +00:00
Greg Beaver
7a04372a2d MFB: work around crap stream filter implementation, update tests for compressed aliases in zip-based phar so they actually test the compression 2008-10-11 21:02:53 +00:00
Greg Beaver
a4f39f7fa4 MFB: fix bug #45907: undefined reference to PHP_SHA512Init 2008-10-09 00:51:27 +00:00
Greg Beaver
4c5830dd8d fix test (thanks Tony) 2008-09-30 13:25:54 +00:00