Commit Graph

224 Commits

Author SHA1 Message Date
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
Greg Beaver
261d300a0f add new test for copy-on-write, fix copy-on-write for Phar/PharFileInfo methods 2008-10-12 06:53:32 +00:00
Greg Beaver
5a00c7baf0 re-add as binary 2008-10-12 06:41:27 +00:00
Greg Beaver
415a37bfae stupid cvs added this as text 2008-10-12 06:41:01 +00:00
Greg Beaver
0182bbf76b fix files for advanced include_path test 2008-10-12 06:40:36 +00:00
Greg Beaver
53e1428b06 increase code coverage 2008-10-12 05:41:22 +00:00
Greg Beaver
60969b5385 fix links for fseek as well 2008-10-11 22:20:57 +00:00
Greg Beaver
59379244ad fix reading links from streams (works with PharFileInfo->getContent()) 2008-10-11 22:12:07 +00:00
Greg Beaver
bf268a68f9 cosmetics/maintainability: reduce code redundancy on error conditions 2008-10-11 21:22:58 +00:00
Greg Beaver
eb41e0d64f work around crap stream filter implementation, update tests for compressed aliases in zip-based phar so they actually test the compression 2008-10-11 20:57:08 +00:00
Greg Beaver
fffdf661c9 fix bug #45907: undefined reference to PHP_SHA512Init 2008-10-09 00:50:47 +00:00
Greg Beaver
41c95a030d fix test (thanks Tony) 2008-09-30 13:25:48 +00:00
Greg Beaver
dcc919c449 fix Bug #46194: SIGSEGV when requested file is not found 2008-09-30 02:40:17 +00:00
Greg Beaver
e1d0a964da fix 017.phpt in streams.c, and very dangerous intercepting of file functions in all cases introduced in multi-threaded fix 2008-09-26 23:34:57 +00:00
Greg Beaver
1847779210 fix bug #46178: memory leak in ext/phar 2008-09-26 16:29:44 +00:00
Greg Beaver
f2ad965863 fix another memory leak 2008-09-26 04:54:08 +00:00
Greg Beaver
7a62dcaa5e fix obvious memory leak 2008-09-26 04:41:22 +00:00
Greg Beaver
498ffbc84f workaround for Bug #46147 for PHP < 5.2.7 2008-09-22 01:39:11 +00:00
Greg Beaver
1799136925 fix compile on IRIX with MIPSPro (Bug #46072) 2008-09-14 06:47:08 +00:00
Greg Beaver
dd51a607e2 increase code coverage, fix bzip2-compressed alias in zip 2008-09-14 06:31:20 +00:00
Greg Beaver
9eb83b6ae9 fix minor issues found by ICC (unused variables and the like) 2008-09-13 22:30:55 +00:00
Greg Beaver
760172fcee fix Bug #46060: addEmptyDir() breaks 2008-09-13 20:57:09 +00:00
Arnaud Le Blanc
28c49938d3 MFH: make pharcommand.inc works without ereg 2008-09-12 16:09:01 +00:00
Antony Dovgal
f2d766b917 fix test 2008-09-11 13:38:15 +00:00
Greg Beaver
e7b6fe1b45 fix Bug #46032: PharData::__construct wrong memory read 2008-09-11 03:29:15 +00:00
Steph Fox
8e972fcd7e I hate not being able to test. 2008-09-01 16:32:55 +00:00