Commit Graph

41428 Commits

Author SHA1 Message Date
Greg Beaver
15f9f20c3c really fix test by fixing the regex 2008-04-26 17:32:18 +00:00
Greg Beaver
76c78a480e increase code coverage (and magically, mysteriously this tests passes with no other changes - weird) 2008-04-26 17:29:55 +00:00
Greg Beaver
eb6b941d2a fix clean 2008-04-26 17:28:28 +00:00
Greg Beaver
f37605ec0c increase code coverage 2008-04-26 17:27:47 +00:00
Greg Beaver
b22cc67e6b new test increases code coverage 2008-04-26 17:20:50 +00:00
Greg Beaver
2227f10f3e add failing portion of test for compressed alias read 2008-04-26 17:18:15 +00:00
Greg Beaver
8e7f6d6662 add failing portion of test for bz2 compressed file on open 2008-04-26 17:14:27 +00:00
Greg Beaver
79a45a9666 fix buildfromiterator base to exclude directory separator on unix or windows, fix 10 test to have new tests 2008-04-26 17:09:58 +00:00
Greg Beaver
c6b617eca8 fix cleanup 2008-04-26 16:57:14 +00:00
Steph Fox
cf7f50e42c - 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
2008-04-26 13:22:38 +00:00
Greg Beaver
0c2f3b760a 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]
2008-04-26 05:31:00 +00:00
Greg Beaver
c5fc383cb7 finish code coverage work (whew) 2008-04-26 05:28:56 +00:00
Steph Fox
dbb4618bd5 - cs 2008-04-26 02:04:09 +00:00
Steph Fox
f040cb6492 - fixed those pesky memleaks 2008-04-26 01:52:22 +00:00
0fe495975f ChangeLog update 2008-04-26 01:31:39 +00:00
Steph Fox
9bf8d7429e - 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.
2008-04-25 21:37:41 +00:00
Greg Beaver
68dc76a9ab make dang sure this ridiculous test cleans up after itself 2008-04-25 16:54:37 +00:00
Greg Beaver
8657ab7e5a add test for bug #13727, fix bug #13727 2008-04-25 16:50:22 +00:00
Greg Beaver
2bf5042d74 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 2008-04-25 16:10:59 +00:00
Greg Beaver
84004bf248 new test with code coverage for PharFileInfo::setMetadata/delMetadata, improve error messages 2008-04-25 16:05:05 +00:00
Greg Beaver
3864211c00 remove unneeded skipif conditions 2008-04-25 15:56:20 +00:00
Greg Beaver
13dc477de2 new code coverage test, improve clarity of error message when chmod is used on a temp directory 2008-04-25 15:53:02 +00:00
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