Commit Graph

41406 Commits

Author SHA1 Message Date
Derick Rethans
64b888c0fa - 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.
2008-04-25 12:55:16 +00:00
Greg Beaver
7c7b387cc3 fix potentially serious security issue: buffer overrun if the tar filename > 101 characters in length. This fixes tests/tar/bignames.phpt 2008-04-25 04:35:10 +00:00
Greg Beaver
efe519c194 fix access fault on windows, fix memleak on all platforms when accessing a temp directory via offsetGet 2008-04-25 04:34:03 +00:00
Greg Beaver
6036559d35 fix tests on windows 2008-04-25 04:31:44 +00:00
Greg Beaver
fc9aba79f5 add missing file (Steph: this fixes tests/tar/truncated.phpt, sorry :) 2008-04-25 04:29:08 +00:00
7fabaa6564 ChangeLog update 2008-04-25 01:31:41 +00:00
Greg Beaver
218b975485 fix test (except for memleaks) 2008-04-24 20:02:04 +00:00
Greg Beaver
0db641af3e rework PharFileInfo->decompress and add failing test 2008-04-24 19:57:22 +00:00
Greg Beaver
d28dcfaf60 new test 2008-04-24 17:25:23 +00:00
Greg Beaver
84c622c2ab new test for PharFileInfo::__destruct 2008-04-24 17:19:01 +00:00
Steph Fox
aaf5498ff4 - clean the right file :) 2008-04-24 17:02:27 +00:00
Steph Fox
21584ed029 - kill a couple of (release build) MS compiler warnings 2008-04-24 16:59:23 +00:00
Ant Phillips
72d15b9bba Extra open_basedir tests 2008-04-24 16:40:55 +00:00
Felipe Pena
d69738604f - Removed unused variables 2008-04-24 16:15:33 +00:00
Steph Fox
28459132cb - Fix Windows build 2008-04-24 16:03:40 +00:00
Dmitry Stogov
00b006ce74 Optimized handlers for ZEND_RECV and ZEND_RECV_INIT opocdes 2008-04-24 15:46:28 +00:00
Andrey Hristov
5da78b297b 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.
2008-04-24 14:04:58 +00:00
Ant Phillips
dedb146a69 Allow for chmod() to fail on symbolic links 2008-04-24 13:58:27 +00:00
Pierre Joye
09c7d21237 - improve test and remove files on exit 2008-04-24 08:45:11 +00:00
Dmitry Stogov
937b1b7ab6 Fixed bug #44805 (rename() function is not portable to Windows). (Pierre) 2008-04-24 07:46:10 +00:00
Greg Beaver
91e67a4fbd test PharFileInfo::__construct, fix potential segfault, and bad logic in phar detection 2008-04-24 05:18:50 +00:00
Greg Beaver
1f98c6526b increase code coverage 2008-04-24 05:03:12 +00:00
Greg Beaver
24d83fa7f8 fix break when uncompressed files are re-saved, fixes phar_copy.phpt test 2008-04-24 04:56:22 +00:00
Greg Beaver
8f0c9caac5 remove redundant unreachable code in Phar::copy, augment test, and add failing condition that needs to be fixed 2008-04-24 04:14:05 +00:00
Greg Beaver
696dafa370 new test for Phar::decompress() 2008-04-24 04:05:20 +00:00
09aa78c440 ChangeLog update 2008-04-24 01:32:05 +00:00
Greg Beaver
b721660ec7 increase code coverage 2008-04-23 19:01:52 +00:00
Greg Beaver
9c60d2dcaf increase code coverage 2008-04-23 19:00:42 +00:00
Greg Beaver
207a093186 increase code coverage 2008-04-23 18:59:41 +00:00
Greg Beaver
3190bd0884 increase code coverage, fix minor memleak 2008-04-23 18:54:09 +00:00
Greg Beaver
cebd8a5864 increase code coverage 2008-04-23 18:46:48 +00:00
Greg Beaver
ba2182d795 increase code coverage 2008-04-23 18:46:21 +00:00
Greg Beaver
e5309e4aad increase code coverage 2008-04-23 18:45:42 +00:00
Greg Beaver
ab1d8adb96 fix default format conversion, increase code coverage 2008-04-23 18:44:43 +00:00
Greg Beaver
26d2062305 increase code coverage slightly 2008-04-23 18:32:59 +00:00
Greg Beaver
3b8fc7309f new test increases code coverage, fix memleak found by test 2008-04-23 18:30:53 +00:00
Greg Beaver
4a0b06af82 increase code coverage 2008-04-23 18:22:55 +00:00
Greg Beaver
3d890f09a8 fix extension detection for executable=2 2008-04-23 18:22:09 +00:00
Greg Beaver
c034683550 new test for Phar::isValidPharFilename. Fix Phar::isValidPharFilename. Fix extension detection for all cases 2008-04-23 18:11:20 +00:00
Greg Beaver
faaa9261e5 new test for Phar::loadPhar with phar.extract_list 2008-04-23 17:27:31 +00:00
Greg Beaver
d3689baf53 new test for Phar::mapPhar with phar.extract_list 2008-04-23 17:25:52 +00:00
Greg Beaver
19088c1930 remove/move unreachable code 2008-04-23 17:23:32 +00:00
Greg Beaver
1dc190e680 improve rewrite callback support, add test for callback that does not return string/false 2008-04-23 17:18:28 +00:00
Johannes Schlüter
5105552d5a - Fix Windows build 2008-04-23 16:55:51 +00:00
Greg Beaver
22878f0ea2 new test for valid callback that fails for rewrite callback 2008-04-23 16:50:19 +00:00
Greg Beaver
ce5732112e new test for invalid rewrite callback 2008-04-23 16:47:12 +00:00
Greg Beaver
50835e4bb7 new test for SCRIPT_NAME not containing the filename 2008-04-23 16:06:59 +00:00
Greg Beaver
2aa87329db new test for webPhar failure on opening file 2008-04-23 16:03:08 +00:00
Greg Beaver
76b8f30659 new test for webPhar with phar.extract_list 2008-04-23 16:00:06 +00:00
Ant Phillips
6b21c9a335 open_basedir tests for file system functions (v5.2, 5.3 and 6.0 branches) 2008-04-23 14:10:12 +00:00