Commit Graph

210 Commits

Author SHA1 Message Date
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
Steph Fox
94dcaa27fb - Fix the fix (sorry, missed this until now) 2008-09-01 16:29:38 +00:00
Steph Fox
e36c24fc50 - Remove pre-made phar.phar 2008-09-01 15:44:48 +00:00
Steph Fox
318d5f98ff - unnecessary ;
We are now 100% synched - let's keep it that way!
2008-08-31 21:02:55 +00:00
Steph Fox
7b74a7711c - cs, update package files following RC1 (just to keep it all in sync) 2008-08-31 21:01:12 +00:00
Greg Beaver
2f2b08a286 move to 2.0.0-dev 2008-08-31 20:50:09 +00:00
Greg Beaver
cabf4c481e use TAR_FILE instead of '0' and '\0' instead of 0 2008-08-31 20:24:04 +00:00
Greg Beaver
4b81bd61d8 temp bandaid on broken build system, revert when snapshot build is fixed in win32 2008-08-31 19:51:49 +00:00
Greg Beaver
b597a9c781 hadn't saved tar.c, use '\0' instead of 0 for char values, removes warning in intel compiler 2008-08-31 19:47:31 +00:00
Greg Beaver
28689c9c01 use '\0' instead of 0 for chars, removes intel warning 2008-08-31 19:46:35 +00:00
Greg Beaver
9397c4a5d1 remove unnecessary double variable declarations 2008-08-31 19:42:16 +00:00
Greg Beaver
b2efb50cfd remove unnecessary ; 2008-08-31 19:38:40 +00:00
Steph Fox
e8be4d93c5 - Ensure that we're always checking for OpenSSL support, rather than just for ext/openssl being loaded 2008-08-31 19:18:35 +00:00
Greg Beaver
270964c193 use safer strlcpy, patch by Tony Dovgal 2008-08-31 07:15:25 +00:00
Greg Beaver
678db15b51 commit missing files for tests 2008-08-31 07:03:26 +00:00