Greg Beaver
4d92c7bffc
revert removal of openssl check, was confusion on my part
2009-03-01 07:20:26 +00:00
Greg Beaver
26ce51d6f1
add safeguard check for timestamp modification to phar_stub.phpt and phar_gzip.phpt
2009-03-01 07:16:46 +00:00
Greg Beaver
1ff3b85d74
fix hash support on windows in ext/phar (Kalle)
2009-03-01 07:07:05 +00:00
Greg Beaver
a51f628bd1
fix blog.phar for front.phar.phpt test
2009-03-01 07:00:13 +00:00
Greg Beaver
a6298331b5
update NEWS with phar enabling, fix swapping of time/date in timestamp saving for zip, which can cause crash on windows
2009-03-01 06:58:01 +00:00
Greg Beaver
79f5f7538c
fix SKIPIF, EXPECT in 2 tests
2009-03-01 06:50:26 +00:00
Greg Beaver
af84168de6
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:47 +00:00
Greg Beaver
bd74089a4e
cosmetics: remove two unreachable return statements, removes warning in sun cc
2009-02-21 02:37:18 +00:00
Greg Beaver
7707318d61
cosmetics: fix warning (only affects suncc)
2009-02-21 02:32:16 +00:00
Greg Beaver
2344d80015
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:37 +00:00
Greg Beaver
c351b71f2b
fix memleaks on zip corruption
2009-02-16 18:55:06 +00:00
Greg Beaver
874d14b36f
re-enable ext/phar on big-endian systems, fixes verified as workign
2009-02-16 16:41:40 +00:00
Greg Beaver
5c6a25e750
fix the last remaining failing test (explicitly pass in SKIP_DOTS to directory iterator)
2009-02-15 21:43:39 +00:00
Greg Beaver
625eb9e0ec
fix remaining big-endian issues with phar
2009-02-15 20:29:13 +00:00
Greg Beaver
9221abd00e
fix getting/setting of all 16/32 values in zip
2009-02-15 19:22:42 +00:00
Greg Beaver
e8b7091c2c
revert accidental commit of config.m4, big-endian isn't ready quite yet
2009-02-15 18:53:22 +00:00
Greg Beaver
d3cea8b054
fix setting of 32-bit value on big-endian systems
2009-02-15 18:51:46 +00:00
Greg Beaver
fd5be66d13
fix bug #47085:rename() returns true even if the file in PHAR does not exist
2009-02-03 18:29:25 +00:00
Greg Beaver
b634bf4ce8
fix bug #47265 (generating phar.phar fails because of safe_mode)
2009-02-03 18:17:24 +00:00
Johannes Schlüter
80f6263bbc
Properly disable phar for the moment
2009-01-28 20:39:15 +00:00
Scott MacVicar
fd91a50b71
Disable Phar on big endian systems for beta 1.
2009-01-28 15:53:29 +00:00
Felipe Pena
c3631156fc
- Fixed tests
2009-01-25 16:53:07 +00:00
Ilia Alshanetsky
6ca15bfe0f
Fixed a possible crash when phar_create_signature() fails
2009-01-02 20:43:41 +00:00
Sebastian Bergmann
08659c2dcd
MFH: Bump copyright year, 3 of 3.
2008-12-31 11:15:49 +00:00
Sebastian Bergmann
3c1ed020c7
MFH: Bump copyright year, 2 of 3.
2008-12-31 11:13:54 +00:00
Marcus Boerger
fcf784502e
MFH Use ' -f' as requested
2008-12-13 14:49:39 +00:00
Hannes Magnusson
4bfd481076
MFH: fix test
2008-12-09 13:02:40 +00:00
Marcus Boerger
c727b68ca1
- MFH Only show switch -y if available
2008-12-08 00:16:05 +00:00
Marcus Boerger
43c7b7f679
- MFH When installing phar, make phar a link to phar.phar
2008-12-07 23:57:40 +00:00
Felipe Pena
fc2fb50d09
- MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro
2008-11-17 11:28:01 +00:00
Marcus Boerger
6ca3ad3f41
- MFH We only rely on hash if it is built-in
2008-11-04 14:04:29 +00:00
Marcus Boerger
582cdf9a27
- MFH Add hash dependency at module source level
2008-11-04 13:33:15 +00:00
Marcus Boerger
e2ab5164ce
- MFH Fix dependency from Phar to hash
2008-11-04 01:27:52 +00:00
Felipe Pena
7a37fa2d6b
- Revert ZEND_BEGIN_ARG_INFO change
2008-11-02 21:19:39 +00:00
Greg Beaver
86f8d0a8e9
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:09 +00:00
Felipe Pena
df10005563
- MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro
2008-10-24 14:35:40 +00:00
Alexey Zakhlestin
a4d609ab04
proper check for php-version
2008-10-21 12:59:45 +00:00
Alexey Zakhlestin
7ff4c359e6
fixed wrong check for version
2008-10-21 12:26:35 +00:00
Felipe Pena
e52fc53bc2
- MFH: Fixed bug #45726 (PHP_Archive / Archive.php missing)
2008-10-17 01:58:20 +00:00
Greg Beaver
347a58939d
last test for cached phar copy on write (forgot this one yesterday)
2008-10-14 00:38:01 +00:00
Greg Beaver
fdac2c9a12
increase code coverage
2008-10-13 04:50:37 +00:00
Greg Beaver
3a54017556
add complete tests verifying copy-on-write for cached phars
2008-10-13 04:21:09 +00:00
Greg Beaver
5bc1122056
fix faulty tests
2008-10-12 23:32:50 +00:00
Antony Dovgal
8b793f4274
MFH: fix ZTS build
2008-10-12 21:09:22 +00:00
Greg Beaver
114861e330
fix incorrect key for Phar destructor
2008-10-12 19:45:01 +00:00
Greg Beaver
e16636f069
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:11 +00:00
Greg Beaver
eaf5d4c8b3
add missing --INI-- section
2008-10-12 18:54:00 +00:00
Greg Beaver
a2b4f65a0c
re-add as binary
2008-10-12 18:47:19 +00:00
Greg Beaver
da731473aa
oops, need to add as binary
2008-10-12 18:46:46 +00:00
Greg Beaver
15cac7f22f
add missing file for tests
2008-10-12 18:45:46 +00:00