]>
granicus.if.org Git - php/log
Greg Beaver [Mon, 28 Apr 2008 06:49:56 +0000 (06:49 +0000)]
fix off-by-one for writing of timestamp and file modes in tar files
Greg Beaver [Mon, 28 Apr 2008 06:03:33 +0000 (06:03 +0000)]
more fixes for PHAR_G(cwd)
Greg Beaver [Mon, 28 Apr 2008 04:38:07 +0000 (04:38 +0000)]
fix crash (this area really needs code coverage)
<changelog@php.net> [Mon, 28 Apr 2008 01:31:41 +0000 (01:31 +0000)]
ChangeLog update
Greg Beaver [Sun, 27 Apr 2008 23:59:41 +0000 (23:59 +0000)]
add open_basedir/safe_mode checks for files in Phar::addFile()
Greg Beaver [Sun, 27 Apr 2008 23:59:14 +0000 (23:59 +0000)]
fix test
Derick Rethans [Sun, 27 Apr 2008 19:12:10 +0000 (19:12 +0000)]
- Fixed "this week", "previous week"/"last week" and "next week" phrases by
actually meaning the week.
#- For now the week starts on Monday, but I plan on making that configurable.
Steph Fox [Sun, 27 Apr 2008 16:42:03 +0000 (16:42 +0000)]
- Kill another one from the gcov site's parameter parsing report
Steph Fox [Sun, 27 Apr 2008 12:22:36 +0000 (12:22 +0000)]
- Another test that gives completely different results if readonly=0
Steph Fox [Sun, 27 Apr 2008 11:36:22 +0000 (11:36 +0000)]
- Deleting files we cannot see...
Steph Fox [Sun, 27 Apr 2008 11:31:27 +0000 (11:31 +0000)]
- Fix a couple of failing tests/bad cleanup
@Greg: the phpinfo() ones assumed no php.ini - this isn't always the case, even if it should be
Steph Fox [Sun, 27 Apr 2008 11:26:15 +0000 (11:26 +0000)]
- Make it possible to extract all *and* overwrite
Steph Fox [Sun, 27 Apr 2008 10:18:35 +0000 (10:18 +0000)]
- Always give reasons for skipped tests
Steph Fox [Sun, 27 Apr 2008 10:14:00 +0000 (10:14 +0000)]
- Kill a few uninitialized vars (thanks gcov)
Greg Beaver [Sun, 27 Apr 2008 07:20:02 +0000 (07:20 +0000)]
fix out-of-bounds read potential by replacing strstr with a custom strnstr
Greg Beaver [Sun, 27 Apr 2008 07:04:56 +0000 (07:04 +0000)]
fix invalid free
Greg Beaver [Sat, 26 Apr 2008 23:16:49 +0000 (23:16 +0000)]
fix APC compile hook interception, now APC actually caches files
Greg Beaver [Sat, 26 Apr 2008 23:02:51 +0000 (23:02 +0000)]
fix ridiculously critical omission in zip flush - we never set compressed file size! Augment zip test for bz2/zlib-compressed alias files to increase code coverage
Greg Beaver [Sat, 26 Apr 2008 22:31:44 +0000 (22:31 +0000)]
add checking for invalid alias on opening tar, and test
Greg Beaver [Sat, 26 Apr 2008 22:04:04 +0000 (22:04 +0000)]
add screening of alias to reading of zip archives, and test for bad aliases
Greg Beaver [Sat, 26 Apr 2008 17:47:31 +0000 (17:47 +0000)]
new test/updated test to ensure stub integrity (I was wrong, zip is fine)
Greg Beaver [Sat, 26 Apr 2008 17:43:53 +0000 (17:43 +0000)]
add logic test to ensure stub is not overwritten when adding a file (zip currently does this - bad zip)
Greg Beaver [Sat, 26 Apr 2008 17:34:14 +0000 (17:34 +0000)]
increase code coverage
Greg Beaver [Sat, 26 Apr 2008 17:32:18 +0000 (17:32 +0000)]
really fix test by fixing the regex
Greg Beaver [Sat, 26 Apr 2008 17:29:55 +0000 (17:29 +0000)]
increase code coverage (and magically, mysteriously this tests passes with no other changes - weird)
Greg Beaver [Sat, 26 Apr 2008 17:28:28 +0000 (17:28 +0000)]
fix clean
Greg Beaver [Sat, 26 Apr 2008 17:27:47 +0000 (17:27 +0000)]
increase code coverage
Greg Beaver [Sat, 26 Apr 2008 17:20:50 +0000 (17:20 +0000)]
new test increases code coverage
Greg Beaver [Sat, 26 Apr 2008 17:18:15 +0000 (17:18 +0000)]
add failing portion of test for compressed alias read
Greg Beaver [Sat, 26 Apr 2008 17:14:27 +0000 (17:14 +0000)]
add failing portion of test for bz2 compressed file on open
Greg Beaver [Sat, 26 Apr 2008 17:09:58 +0000 (17:09 +0000)]
fix buildfromiterator base to exclude directory separator on unix or windows, fix 10 test to have new tests
Greg Beaver [Sat, 26 Apr 2008 16:57:14 +0000 (16:57 +0000)]
fix cleanup
Steph Fox [Sat, 26 Apr 2008 13:22:38 +0000 (13:22 +0000)]
- Added a RecursiveIterator/buildFromIterator test
- Fixed up bug13727.phpt to take < 15 minutes :\\ and clean up after itself
- Cleaned up protos/reflection data
- Added myself to package.xml credits
Greg Beaver [Sat, 26 Apr 2008 05:31:00 +0000 (05:31 +0000)]
add Phar::extractTo(dest_directory[, mixed files[, bool overwrite]])
this is very similar to ext/zip's extractTo and is based on that code, with the addition of the third parameter, which
is used to allow overwriting existing files (disallowed by default, unlike ext/zip's implementation)
[DOC]
Greg Beaver [Sat, 26 Apr 2008 05:28:56 +0000 (05:28 +0000)]
finish code coverage work (whew)
Steph Fox [Sat, 26 Apr 2008 02:04:09 +0000 (02:04 +0000)]
- cs
Steph Fox [Sat, 26 Apr 2008 01:52:22 +0000 (01:52 +0000)]
- fixed those pesky memleaks
<changelog@php.net> [Sat, 26 Apr 2008 01:31:39 +0000 (01:31 +0000)]
ChangeLog update
Steph Fox [Fri, 25 Apr 2008 21:37:41 +0000 (21:37 +0000)]
- implemented Phar::buildFromDirectory
@Greg: There are two (identical) recurring memleaks I can't seem to kill, both marked FIXME. Would you please take a look?
[DOC] $phar->buildFromDirectory(dirname[, regex]). Return value is an array pairing each file in the archive index with the original path on the filesystem.
Greg Beaver [Fri, 25 Apr 2008 16:54:37 +0000 (16:54 +0000)]
make dang sure this ridiculous test cleans up after itself
Greg Beaver [Fri, 25 Apr 2008 16:50:22 +0000 (16:50 +0000)]
add test for bug #13727, fix bug #13727
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