]>
granicus.if.org Git - php/log
Greg Beaver [Fri, 25 Apr 2008 16:10:59 +0000 (16:10 +0000)]
finish code coverage testing of phar_object.c (except for iterator building, which Steph is doing) and fix segfault in error message for directory getcontent if it is a temp directory
Greg Beaver [Fri, 25 Apr 2008 16:05:05 +0000 (16:05 +0000)]
new test with code coverage for PharFileInfo::setMetadata/delMetadata, improve error messages
Greg Beaver [Fri, 25 Apr 2008 15:56:20 +0000 (15:56 +0000)]
remove unneeded skipif conditions
Greg Beaver [Fri, 25 Apr 2008 15:53:02 +0000 (15:53 +0000)]
new code coverage test, improve clarity of error message when chmod is used on a temp directory
Derick Rethans [Fri, 25 Apr 2008 12:55:16 +0000 (12:55 +0000)]
- MF53: Added new date/time functionality:
. support for diffing date/times through date_diff() / DateTime::diff().
. added DateInterval class to represent the difference between two date/times.
. support for parsing ISO intervals for use with DateInterval.
. date_add() / DateTime::add(), date_sub() / DateTime::sub() for applying an
interval to an existing date/time.
Greg Beaver [Fri, 25 Apr 2008 04:35:10 +0000 (04:35 +0000)]
fix potentially serious security issue: buffer overrun if the tar filename > 101 characters in length. This fixes tests/tar/bignames.phpt
Greg Beaver [Fri, 25 Apr 2008 04:34:03 +0000 (04:34 +0000)]
fix access fault on windows, fix memleak on all platforms when accessing a temp directory via offsetGet
Greg Beaver [Fri, 25 Apr 2008 04:31:44 +0000 (04:31 +0000)]
fix tests on windows
Greg Beaver [Fri, 25 Apr 2008 04:29:08 +0000 (04:29 +0000)]
add missing file (Steph: this fixes tests/tar/truncated.phpt, sorry :)
<changelog@php.net> [Fri, 25 Apr 2008 01:31:41 +0000 (01:31 +0000)]
ChangeLog update
Greg Beaver [Thu, 24 Apr 2008 20:02:04 +0000 (20:02 +0000)]
fix test (except for memleaks)
Greg Beaver [Thu, 24 Apr 2008 19:57:22 +0000 (19:57 +0000)]
rework PharFileInfo->decompress and add failing test
Greg Beaver [Thu, 24 Apr 2008 17:25:23 +0000 (17:25 +0000)]
new test
Greg Beaver [Thu, 24 Apr 2008 17:19:01 +0000 (17:19 +0000)]
new test for PharFileInfo::__destruct
Steph Fox [Thu, 24 Apr 2008 17:02:27 +0000 (17:02 +0000)]
- clean the right file :)
Steph Fox [Thu, 24 Apr 2008 16:59:23 +0000 (16:59 +0000)]
- kill a couple of (release build) MS compiler warnings
Ant Phillips [Thu, 24 Apr 2008 16:40:55 +0000 (16:40 +0000)]
Extra open_basedir tests
Felipe Pena [Thu, 24 Apr 2008 16:15:33 +0000 (16:15 +0000)]
- Removed unused variables
Steph Fox [Thu, 24 Apr 2008 16:03:40 +0000 (16:03 +0000)]
- Fix Windows build
Dmitry Stogov [Thu, 24 Apr 2008 15:46:28 +0000 (15:46 +0000)]
Optimized handlers for ZEND_RECV and ZEND_RECV_INIT opocdes
Andrey Hristov [Thu, 24 Apr 2008 14:04:58 +0000 (14:04 +0000)]
Update ext/mysql's and ext/mysqli's tests
Add mysqli_stmt_more_result()/mysqli_stmt_next_result(), but only in
mysqlnd builds as libmysql doesn't support this feature.
Ant Phillips [Thu, 24 Apr 2008 13:58:27 +0000 (13:58 +0000)]
Allow for chmod() to fail on symbolic links
Pierre Joye [Thu, 24 Apr 2008 08:45:11 +0000 (08:45 +0000)]
- improve test and remove files on exit
Dmitry Stogov [Thu, 24 Apr 2008 07:46:10 +0000 (07:46 +0000)]
Fixed bug #44805 (rename() function is not portable to Windows). (Pierre)
Greg Beaver [Thu, 24 Apr 2008 05:18:50 +0000 (05:18 +0000)]
test PharFileInfo::__construct, fix potential segfault, and bad logic in phar detection
Greg Beaver [Thu, 24 Apr 2008 05:03:12 +0000 (05:03 +0000)]
increase code coverage
Greg Beaver [Thu, 24 Apr 2008 04:56:22 +0000 (04:56 +0000)]
fix break when uncompressed files are re-saved, fixes phar_copy.phpt test
Greg Beaver [Thu, 24 Apr 2008 04:14:05 +0000 (04:14 +0000)]
remove redundant unreachable code in Phar::copy, augment test, and add failing condition that needs to be fixed
Greg Beaver [Thu, 24 Apr 2008 04:05:20 +0000 (04:05 +0000)]
new test for Phar::decompress()
<changelog@php.net> [Thu, 24 Apr 2008 01:32:05 +0000 (01:32 +0000)]
ChangeLog update
Greg Beaver [Wed, 23 Apr 2008 19:01:52 +0000 (19:01 +0000)]
increase code coverage
Greg Beaver [Wed, 23 Apr 2008 19:00:42 +0000 (19:00 +0000)]
increase code coverage
Greg Beaver [Wed, 23 Apr 2008 18:59:41 +0000 (18:59 +0000)]
increase code coverage
Greg Beaver [Wed, 23 Apr 2008 18:54:09 +0000 (18:54 +0000)]
increase code coverage, fix minor memleak
Greg Beaver [Wed, 23 Apr 2008 18:46:48 +0000 (18:46 +0000)]
increase code coverage
Greg Beaver [Wed, 23 Apr 2008 18:46:21 +0000 (18:46 +0000)]
increase code coverage
Greg Beaver [Wed, 23 Apr 2008 18:45:42 +0000 (18:45 +0000)]
increase code coverage
Greg Beaver [Wed, 23 Apr 2008 18:44:43 +0000 (18:44 +0000)]
fix default format conversion, increase code coverage
Greg Beaver [Wed, 23 Apr 2008 18:32:59 +0000 (18:32 +0000)]
increase code coverage slightly
Greg Beaver [Wed, 23 Apr 2008 18:30:53 +0000 (18:30 +0000)]
new test increases code coverage, fix memleak found by test
Greg Beaver [Wed, 23 Apr 2008 18:22:55 +0000 (18:22 +0000)]
increase code coverage
Greg Beaver [Wed, 23 Apr 2008 18:22:09 +0000 (18:22 +0000)]
fix extension detection for executable=2
Greg Beaver [Wed, 23 Apr 2008 18:11:20 +0000 (18:11 +0000)]
new test for Phar::isValidPharFilename. Fix Phar::isValidPharFilename. Fix extension detection for all cases
Greg Beaver [Wed, 23 Apr 2008 17:27:31 +0000 (17:27 +0000)]
new test for Phar::loadPhar with phar.extract_list
Greg Beaver [Wed, 23 Apr 2008 17:25:52 +0000 (17:25 +0000)]
new test for Phar::mapPhar with phar.extract_list
Greg Beaver [Wed, 23 Apr 2008 17:23:32 +0000 (17:23 +0000)]
remove/move unreachable code
Greg Beaver [Wed, 23 Apr 2008 17:18:28 +0000 (17:18 +0000)]
improve rewrite callback support, add test for callback that does not return string/false
Johannes Schlüter [Wed, 23 Apr 2008 16:55:51 +0000 (16:55 +0000)]
- Fix Windows build
Greg Beaver [Wed, 23 Apr 2008 16:50:19 +0000 (16:50 +0000)]
new test for valid callback that fails for rewrite callback
Greg Beaver [Wed, 23 Apr 2008 16:47:12 +0000 (16:47 +0000)]
new test for invalid rewrite callback
Greg Beaver [Wed, 23 Apr 2008 16:06:59 +0000 (16:06 +0000)]
new test for SCRIPT_NAME not containing the filename
Greg Beaver [Wed, 23 Apr 2008 16:03:08 +0000 (16:03 +0000)]
new test for webPhar failure on opening file
Greg Beaver [Wed, 23 Apr 2008 16:00:06 +0000 (16:00 +0000)]
new test for webPhar with phar.extract_list
Ant Phillips [Wed, 23 Apr 2008 14:10:12 +0000 (14:10 +0000)]
open_basedir tests for file system functions (v5.2, 5.3 and 6.0 branches)
<changelog@php.net> [Wed, 23 Apr 2008 01:31:36 +0000 (01:31 +0000)]
ChangeLog update
Greg Beaver [Tue, 22 Apr 2008 17:34:00 +0000 (17:34 +0000)]
ensure freeing of cwd/name happens in all cases
Greg Beaver [Tue, 22 Apr 2008 17:29:11 +0000 (17:29 +0000)]
fix headers in test
Greg Beaver [Tue, 22 Apr 2008 17:28:50 +0000 (17:28 +0000)]
new test for fatal error in php file executed by front controller
Greg Beaver [Tue, 22 Apr 2008 17:19:06 +0000 (17:19 +0000)]
re-enable disabled cwd code
Greg Beaver [Tue, 22 Apr 2008 17:17:29 +0000 (17:17 +0000)]
remove unreachable code, add test for large non-php file
Greg Beaver [Tue, 22 Apr 2008 17:13:07 +0000 (17:13 +0000)]
remove unreachable code
Greg Beaver [Tue, 22 Apr 2008 17:11:30 +0000 (17:11 +0000)]
fix PATH_INFO munging, add to test case
Greg Beaver [Tue, 22 Apr 2008 17:03:10 +0000 (17:03 +0000)]
remove unreachable code, add test for no file extension and unknown file extension with Phar::webPhar
Ant Phillips [Tue, 22 Apr 2008 16:05:42 +0000 (16:05 +0000)]
New set of session extension tests for PHP 6.0 branch.
These hopefully test a reasonable set of basic, error and variations for
the twenty or so session functions. Note however that they do not
test all the session configuration settings.
Robin Fernandes [Tue, 22 Apr 2008 15:31:54 +0000 (15:31 +0000)]
Fix some ereg tests for 64bit platforms.
Antony Dovgal [Tue, 22 Apr 2008 13:31:17 +0000 (13:31 +0000)]
fix tests
Scott MacVicar [Tue, 22 Apr 2008 12:18:42 +0000 (12:18 +0000)]
Fix compiler warnings with redefinition of _WIN32_WINNT
Greg Beaver [Tue, 22 Apr 2008 05:17:04 +0000 (05:17 +0000)]
big ol code coverage test for bad parameters to Phar methods
<changelog@php.net> [Tue, 22 Apr 2008 01:31:37 +0000 (01:31 +0000)]
ChangeLog update
Greg Beaver [Mon, 21 Apr 2008 18:21:54 +0000 (18:21 +0000)]
fix Phar::mount() to also allow running externally with full phar:// path, add test
Greg Beaver [Mon, 21 Apr 2008 18:06:20 +0000 (18:06 +0000)]
fix Phar::running()
Greg Beaver [Mon, 21 Apr 2008 17:59:28 +0000 (17:59 +0000)]
fix discovery of files hidden in a URL - makes using any regular front controller possible
Greg Beaver [Mon, 21 Apr 2008 17:46:24 +0000 (17:46 +0000)]
new test for custom 404 handler, fix segfault found by test
Greg Beaver [Mon, 21 Apr 2008 17:04:15 +0000 (17:04 +0000)]
increase code coverage of phar.c significantly by ensuring signature algorithm test is actually run (duh)
Greg Beaver [Mon, 21 Apr 2008 16:56:45 +0000 (16:56 +0000)]
increase code coverage
Greg Beaver [Mon, 21 Apr 2008 16:51:26 +0000 (16:51 +0000)]
remove unused code
Greg Beaver [Mon, 21 Apr 2008 16:50:18 +0000 (16:50 +0000)]
another refactoring to combine an error and improve code coverage as a side effect
Greg Beaver [Mon, 21 Apr 2008 16:46:01 +0000 (16:46 +0000)]
minor re-factoring reduces code lines for an error (and evilly increases code coverage at gcov ;)
Greg Beaver [Mon, 21 Apr 2008 16:42:53 +0000 (16:42 +0000)]
minor re-factoring reduces code lines for an error (and evilly increases code coverage at gcov ;)
Greg Beaver [Mon, 21 Apr 2008 16:42:24 +0000 (16:42 +0000)]
cosmetics: same case as other tests
Greg Beaver [Mon, 21 Apr 2008 16:39:11 +0000 (16:39 +0000)]
new test for non-executable zip named as phar
Greg Beaver [Mon, 21 Apr 2008 16:29:09 +0000 (16:29 +0000)]
implement opendir for mounted directories - much simpler to do than I initially thought
Antony Dovgal [Mon, 21 Apr 2008 15:37:07 +0000 (15:37 +0000)]
[DOC] add hash_copy() to be able to copy hash resource
Felipe Pena [Mon, 21 Apr 2008 12:50:40 +0000 (12:50 +0000)]
- Added UEXPECTF
Dmitry Stogov [Mon, 21 Apr 2008 10:15:26 +0000 (10:15 +0000)]
Optimized function call helper
Greg Beaver [Mon, 21 Apr 2008 06:46:40 +0000 (06:46 +0000)]
finish code coverage for tar file format
Greg Beaver [Mon, 21 Apr 2008 06:33:49 +0000 (06:33 +0000)]
add test for huge filenames, fix huge filename reading
Greg Beaver [Mon, 21 Apr 2008 06:21:09 +0000 (06:21 +0000)]
new test for corrupted tar with hard link to nowhere
Greg Beaver [Mon, 21 Apr 2008 06:17:51 +0000 (06:17 +0000)]
implement symbolic link support within a tar-based phar archive
this also resulted in a major fix for mounted directories, which were recycling the 'link' field which
could cause stupid conflicts with actual links, so move that to new 'tmp' field.
<changelog@php.net> [Mon, 21 Apr 2008 01:31:33 +0000 (01:31 +0000)]
ChangeLog update
Greg Beaver [Sun, 20 Apr 2008 21:48:30 +0000 (21:48 +0000)]
use a tar generated by the tar command to test links. Test still fails
Greg Beaver [Sun, 20 Apr 2008 17:59:14 +0000 (17:59 +0000)]
add test for symbolic and hard links
Greg Beaver [Sun, 20 Apr 2008 17:28:54 +0000 (17:28 +0000)]
new test for bad checksum, fix tar.c to catch tar archives with a corrupted first entry, fix memleak on bad checksum
Greg Beaver [Sun, 20 Apr 2008 17:19:24 +0000 (17:19 +0000)]
fix tests to match CVS
Greg Beaver [Sun, 20 Apr 2008 16:58:08 +0000 (16:58 +0000)]
fix truncation test
Greg Beaver [Sun, 20 Apr 2008 15:12:09 +0000 (15:12 +0000)]
add failing test for truncated tar archive
Greg Beaver [Sun, 20 Apr 2008 14:54:05 +0000 (14:54 +0000)]
new test, increases code coverage slightly
Greg Beaver [Sun, 20 Apr 2008 05:50:40 +0000 (05:50 +0000)]
fix test to be OS-agnostic
Greg Beaver [Sun, 20 Apr 2008 05:49:06 +0000 (05:49 +0000)]
re-adding as binary
Greg Beaver [Sun, 20 Apr 2008 05:48:52 +0000 (05:48 +0000)]
added as text, removing in order to re-add