]> granicus.if.org Git - php/log
php
17 years agofix APC compile hook interception, now APC actually caches files
Greg Beaver [Sat, 26 Apr 2008 23:16:49 +0000 (23:16 +0000)]
fix APC compile hook interception, now APC actually caches files

17 years agofix ridiculously critical omission in zip flush - we never set compressed file size...
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

17 years agoadd checking for invalid alias on opening tar, and test
Greg Beaver [Sat, 26 Apr 2008 22:31:44 +0000 (22:31 +0000)]
add checking for invalid alias on opening tar, and test

17 years agoadd screening of alias to reading of zip archives, and test for bad aliases
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

17 years agonew test/updated test to ensure stub integrity (I was wrong, zip is fine)
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)

17 years agoadd logic test to ensure stub is not overwritten when adding a file (zip currently...
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)

17 years agoincrease code coverage
Greg Beaver [Sat, 26 Apr 2008 17:34:14 +0000 (17:34 +0000)]
increase code coverage

17 years agoreally fix test by fixing the regex
Greg Beaver [Sat, 26 Apr 2008 17:32:18 +0000 (17:32 +0000)]
really fix test by fixing the regex

17 years agoincrease code coverage (and magically, mysteriously this tests passes with no other...
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)

17 years agofix clean
Greg Beaver [Sat, 26 Apr 2008 17:28:28 +0000 (17:28 +0000)]
fix clean

17 years agoincrease code coverage
Greg Beaver [Sat, 26 Apr 2008 17:27:47 +0000 (17:27 +0000)]
increase code coverage

17 years agonew test increases code coverage
Greg Beaver [Sat, 26 Apr 2008 17:20:50 +0000 (17:20 +0000)]
new test increases code coverage

17 years agoadd failing portion of test for compressed alias read
Greg Beaver [Sat, 26 Apr 2008 17:18:15 +0000 (17:18 +0000)]
add failing portion of test for compressed alias read

17 years agoadd failing portion of test for bz2 compressed file on open
Greg Beaver [Sat, 26 Apr 2008 17:14:27 +0000 (17:14 +0000)]
add failing portion of test for bz2 compressed file on open

17 years agofix buildfromiterator base to exclude directory separator on unix or windows, fix...
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

17 years agofix cleanup
Greg Beaver [Sat, 26 Apr 2008 16:57:14 +0000 (16:57 +0000)]
fix cleanup

17 years ago- Added a RecursiveIterator/buildFromIterator test
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

17 years agoadd Phar::extractTo(dest_directory[, mixed files[, bool overwrite]])
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]

17 years agofinish code coverage work (whew)
Greg Beaver [Sat, 26 Apr 2008 05:28:56 +0000 (05:28 +0000)]
finish code coverage work (whew)

17 years ago- cs
Steph Fox [Sat, 26 Apr 2008 02:04:09 +0000 (02:04 +0000)]
- cs

17 years ago- fixed those pesky memleaks
Steph Fox [Sat, 26 Apr 2008 01:52:22 +0000 (01:52 +0000)]
- fixed those pesky memleaks

17 years agoChangeLog update
<changelog@php.net> [Sat, 26 Apr 2008 01:31:39 +0000 (01:31 +0000)]
ChangeLog update

17 years ago- implemented Phar::buildFromDirectory
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.

17 years agomake dang sure this ridiculous test cleans up after itself
Greg Beaver [Fri, 25 Apr 2008 16:54:37 +0000 (16:54 +0000)]
make dang sure this ridiculous test cleans up after itself

17 years agoadd test for bug #13727, fix bug #13727
Greg Beaver [Fri, 25 Apr 2008 16:50:22 +0000 (16:50 +0000)]
add test for bug #13727, fix bug #13727

17 years agofinish code coverage testing of phar_object.c (except for iterator building, which...
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

17 years agonew test with code coverage for PharFileInfo::setMetadata/delMetadata, improve error...
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

17 years agoremove unneeded skipif conditions
Greg Beaver [Fri, 25 Apr 2008 15:56:20 +0000 (15:56 +0000)]
remove unneeded skipif conditions

17 years agonew code coverage test, improve clarity of error message when chmod is used on a...
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

17 years ago- MF53: Added new date/time functionality:
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.

17 years agofix potentially serious security issue: buffer overrun if the tar filename > 101...
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

17 years agofix access fault on windows, fix memleak on all platforms when accessing a temp direc...
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

17 years agofix tests on windows
Greg Beaver [Fri, 25 Apr 2008 04:31:44 +0000 (04:31 +0000)]
fix tests on windows

17 years agoadd missing file (Steph: this fixes tests/tar/truncated.phpt, sorry :)
Greg Beaver [Fri, 25 Apr 2008 04:29:08 +0000 (04:29 +0000)]
add missing file (Steph: this fixes tests/tar/truncated.phpt, sorry :)

17 years agoChangeLog update
<changelog@php.net> [Fri, 25 Apr 2008 01:31:41 +0000 (01:31 +0000)]
ChangeLog update

17 years agofix test (except for memleaks)
Greg Beaver [Thu, 24 Apr 2008 20:02:04 +0000 (20:02 +0000)]
fix test (except for memleaks)

17 years agorework PharFileInfo->decompress and add failing test
Greg Beaver [Thu, 24 Apr 2008 19:57:22 +0000 (19:57 +0000)]
rework PharFileInfo->decompress and add failing test

17 years agonew test
Greg Beaver [Thu, 24 Apr 2008 17:25:23 +0000 (17:25 +0000)]
new test

17 years agonew test for PharFileInfo::__destruct
Greg Beaver [Thu, 24 Apr 2008 17:19:01 +0000 (17:19 +0000)]
new test for PharFileInfo::__destruct

17 years ago- clean the right file :)
Steph Fox [Thu, 24 Apr 2008 17:02:27 +0000 (17:02 +0000)]
- clean the right file :)

17 years ago- kill a couple of (release build) MS compiler warnings
Steph Fox [Thu, 24 Apr 2008 16:59:23 +0000 (16:59 +0000)]
- kill a couple of (release build) MS compiler warnings

17 years agoExtra open_basedir tests
Ant Phillips [Thu, 24 Apr 2008 16:40:55 +0000 (16:40 +0000)]
Extra open_basedir tests

17 years ago- Removed unused variables
Felipe Pena [Thu, 24 Apr 2008 16:15:33 +0000 (16:15 +0000)]
- Removed unused variables

17 years ago- Fix Windows build
Steph Fox [Thu, 24 Apr 2008 16:03:40 +0000 (16:03 +0000)]
- Fix Windows build

17 years agoOptimized handlers for ZEND_RECV and ZEND_RECV_INIT opocdes
Dmitry Stogov [Thu, 24 Apr 2008 15:46:28 +0000 (15:46 +0000)]
Optimized handlers for ZEND_RECV and ZEND_RECV_INIT opocdes

17 years agoUpdate ext/mysql's and ext/mysqli's tests
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.

17 years agoAllow for chmod() to fail on symbolic links
Ant Phillips [Thu, 24 Apr 2008 13:58:27 +0000 (13:58 +0000)]
Allow for chmod() to fail on symbolic links

17 years ago- improve test and remove files on exit
Pierre Joye [Thu, 24 Apr 2008 08:45:11 +0000 (08:45 +0000)]
- improve test and remove files on exit

17 years agoFixed bug #44805 (rename() function is not portable to Windows). (Pierre)
Dmitry Stogov [Thu, 24 Apr 2008 07:46:10 +0000 (07:46 +0000)]
Fixed bug #44805 (rename() function is not portable to Windows). (Pierre)

17 years agotest PharFileInfo::__construct, fix potential segfault, and bad logic in phar detection
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

17 years agoincrease code coverage
Greg Beaver [Thu, 24 Apr 2008 05:03:12 +0000 (05:03 +0000)]
increase code coverage

17 years agofix break when uncompressed files are re-saved, fixes phar_copy.phpt test
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

17 years agoremove redundant unreachable code in Phar::copy, augment test, and add failing condit...
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

17 years agonew test for Phar::decompress()
Greg Beaver [Thu, 24 Apr 2008 04:05:20 +0000 (04:05 +0000)]
new test for Phar::decompress()

17 years agoChangeLog update
<changelog@php.net> [Thu, 24 Apr 2008 01:32:05 +0000 (01:32 +0000)]
ChangeLog update

17 years agoincrease code coverage
Greg Beaver [Wed, 23 Apr 2008 19:01:52 +0000 (19:01 +0000)]
increase code coverage

17 years agoincrease code coverage
Greg Beaver [Wed, 23 Apr 2008 19:00:42 +0000 (19:00 +0000)]
increase code coverage

17 years agoincrease code coverage
Greg Beaver [Wed, 23 Apr 2008 18:59:41 +0000 (18:59 +0000)]
increase code coverage

17 years agoincrease code coverage, fix minor memleak
Greg Beaver [Wed, 23 Apr 2008 18:54:09 +0000 (18:54 +0000)]
increase code coverage, fix minor memleak

17 years agoincrease code coverage
Greg Beaver [Wed, 23 Apr 2008 18:46:48 +0000 (18:46 +0000)]
increase code coverage

17 years agoincrease code coverage
Greg Beaver [Wed, 23 Apr 2008 18:46:21 +0000 (18:46 +0000)]
increase code coverage

17 years agoincrease code coverage
Greg Beaver [Wed, 23 Apr 2008 18:45:42 +0000 (18:45 +0000)]
increase code coverage

17 years agofix default format conversion, increase code coverage
Greg Beaver [Wed, 23 Apr 2008 18:44:43 +0000 (18:44 +0000)]
fix default format conversion, increase code coverage

17 years agoincrease code coverage slightly
Greg Beaver [Wed, 23 Apr 2008 18:32:59 +0000 (18:32 +0000)]
increase code coverage slightly

17 years agonew test increases code coverage, fix memleak found by test
Greg Beaver [Wed, 23 Apr 2008 18:30:53 +0000 (18:30 +0000)]
new test increases code coverage, fix memleak found by test

17 years agoincrease code coverage
Greg Beaver [Wed, 23 Apr 2008 18:22:55 +0000 (18:22 +0000)]
increase code coverage

17 years agofix extension detection for executable=2
Greg Beaver [Wed, 23 Apr 2008 18:22:09 +0000 (18:22 +0000)]
fix extension detection for executable=2

17 years agonew test for Phar::isValidPharFilename. Fix Phar::isValidPharFilename. Fix extensio...
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

17 years agonew test for Phar::loadPhar with phar.extract_list
Greg Beaver [Wed, 23 Apr 2008 17:27:31 +0000 (17:27 +0000)]
new test for Phar::loadPhar with phar.extract_list

17 years agonew test for Phar::mapPhar 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

17 years agoremove/move unreachable code
Greg Beaver [Wed, 23 Apr 2008 17:23:32 +0000 (17:23 +0000)]
remove/move unreachable code

17 years agoimprove rewrite callback support, add test for callback that does not return string...
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

17 years ago- Fix Windows build
Johannes Schlüter [Wed, 23 Apr 2008 16:55:51 +0000 (16:55 +0000)]
- Fix Windows build

17 years agonew test for valid callback that fails for rewrite callback
Greg Beaver [Wed, 23 Apr 2008 16:50:19 +0000 (16:50 +0000)]
new test for valid callback that fails for rewrite callback

17 years agonew test for invalid rewrite callback
Greg Beaver [Wed, 23 Apr 2008 16:47:12 +0000 (16:47 +0000)]
new test for invalid rewrite callback

17 years agonew test for SCRIPT_NAME not containing the filename
Greg Beaver [Wed, 23 Apr 2008 16:06:59 +0000 (16:06 +0000)]
new test for SCRIPT_NAME not containing the filename

17 years agonew test for webPhar failure on opening file
Greg Beaver [Wed, 23 Apr 2008 16:03:08 +0000 (16:03 +0000)]
new test for webPhar failure on opening file

17 years agonew test for webPhar with phar.extract_list
Greg Beaver [Wed, 23 Apr 2008 16:00:06 +0000 (16:00 +0000)]
new test for webPhar with phar.extract_list

17 years agoopen_basedir tests for file system functions (v5.2, 5.3 and 6.0 branches)
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)

17 years agoChangeLog update
<changelog@php.net> [Wed, 23 Apr 2008 01:31:36 +0000 (01:31 +0000)]
ChangeLog update

17 years agoensure freeing of cwd/name happens in all cases
Greg Beaver [Tue, 22 Apr 2008 17:34:00 +0000 (17:34 +0000)]
ensure freeing of cwd/name happens in all cases

17 years agofix headers in test
Greg Beaver [Tue, 22 Apr 2008 17:29:11 +0000 (17:29 +0000)]
fix headers in test

17 years agonew test for fatal error in php file executed by front controller
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

17 years agore-enable disabled cwd code
Greg Beaver [Tue, 22 Apr 2008 17:19:06 +0000 (17:19 +0000)]
re-enable disabled cwd code

17 years agoremove unreachable code, add test for large non-php file
Greg Beaver [Tue, 22 Apr 2008 17:17:29 +0000 (17:17 +0000)]
remove unreachable code, add test for large non-php file

17 years agoremove unreachable code
Greg Beaver [Tue, 22 Apr 2008 17:13:07 +0000 (17:13 +0000)]
remove unreachable code

17 years agofix PATH_INFO munging, add to test case
Greg Beaver [Tue, 22 Apr 2008 17:11:30 +0000 (17:11 +0000)]
fix PATH_INFO munging, add to test case

17 years agoremove unreachable code, add test for no file extension and unknown file extension...
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

17 years agoNew set of session extension tests for PHP 6.0 branch.
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.

17 years agoFix some ereg tests for 64bit platforms.
Robin Fernandes [Tue, 22 Apr 2008 15:31:54 +0000 (15:31 +0000)]
Fix some ereg tests for 64bit platforms.

17 years agofix tests
Antony Dovgal [Tue, 22 Apr 2008 13:31:17 +0000 (13:31 +0000)]
fix tests

17 years agoFix compiler warnings with redefinition of _WIN32_WINNT
Scott MacVicar [Tue, 22 Apr 2008 12:18:42 +0000 (12:18 +0000)]
Fix compiler warnings with redefinition of _WIN32_WINNT

17 years agobig ol code coverage test for bad parameters to Phar methods
Greg Beaver [Tue, 22 Apr 2008 05:17:04 +0000 (05:17 +0000)]
big ol code coverage test for bad parameters to Phar methods

17 years agoChangeLog update
<changelog@php.net> [Tue, 22 Apr 2008 01:31:37 +0000 (01:31 +0000)]
ChangeLog update

17 years agofix Phar::mount() to also allow running externally with full phar:// path, add test
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

17 years agofix Phar::running()
Greg Beaver [Mon, 21 Apr 2008 18:06:20 +0000 (18:06 +0000)]
fix Phar::running()

17 years agofix discovery of files hidden in a URL - makes using any regular front controller...
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

17 years agonew test for custom 404 handler, fix segfault found by test
Greg Beaver [Mon, 21 Apr 2008 17:46:24 +0000 (17:46 +0000)]
new test for custom 404 handler, fix segfault found by test

17 years agoincrease code coverage of phar.c significantly by ensuring signature algorithm 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)

17 years agoincrease code coverage
Greg Beaver [Mon, 21 Apr 2008 16:56:45 +0000 (16:56 +0000)]
increase code coverage