Commit Graph

41428 Commits

Author SHA1 Message Date
Greg Beaver
d90aa1a587 fix test 2008-04-13 21:41:45 +00:00
Greg Beaver
dc4da5e2f9 make tests php version-agnostic with regards to stream errors 2008-04-13 21:31:46 +00:00
Greg Beaver
02bbb72f6d add test for fopen interception, fix fopen interception 2008-04-13 20:46:45 +00:00
Greg Beaver
24d5595a8f add test for file_get_contents interception, fix file_get_contents interception 2008-04-13 19:36:33 +00:00
Greg Beaver
72daaf1d44 add test for opendir, fix bugs found 2008-04-12 22:21:29 +00:00
Greg Beaver
0814b2df09 fix build if SPL is disabled 2008-04-12 21:43:39 +00:00
937178d14d ChangeLog update 2008-04-12 01:31:40 +00:00
Hannes Magnusson
3a0776965a Update url for go-pear 2008-04-11 21:57:19 +00:00
Hannes Magnusson
780c3958c5 Apparenty go-pear no longer exists (bug#44699) 2008-04-11 21:53:37 +00:00
Felipe Pena
f6639abf7d MFB: Fixed bug #44703 (htmlspecialchars() does not detect bad character set argument) 2008-04-11 19:08:05 +00:00
Dmitry Stogov
111954d7f1 Speedup GC initialization 2008-04-11 17:32:18 +00:00
Robin Fernandes
30fd5ba517 Fix test parse_url_variation_002.phpt for 64bit platforms. 2008-04-11 14:35:07 +00:00
Greg Beaver
b0f281b159 restore Phar->compress/decompress() to simplify $phar->convertToExecutable(NULL, Phar::GZ) to $phar->compress(Phar::GZ)
[DOC]
2008-04-11 13:41:59 +00:00
Greg Beaver
8f28d19d4e cosmetics, extra space 2008-04-11 13:26:36 +00:00
Greg Beaver
3493fb6561 combine PharFileInfo->setCompressedGZ/setCompressedBZIP2 into compress() with parameter Phar::GZ or Phar::BZ2
use ZEND_ACC_PUBLIC in PharFileInfo definitions, to be consistent
[DOC]
2008-04-11 13:26:03 +00:00
Greg Beaver
ab34fcac05 merge PharFileInfo->isCompressed/isCompressedGZ/isCompressedBZIP2 by adding an
optional parameter to isCompressed for testing specific compression algorithm
[DOC]
2008-04-11 13:07:14 +00:00
Greg Beaver
c07a07ea68 change PharFileInfo->setUncompressed to decompress
[DOC]
2008-04-11 12:56:53 +00:00
Antony Dovgal
3c48de1912 fix tests 2008-04-11 11:05:33 +00:00
Antony Dovgal
0e7655209a fix 2 segfaults in ZTS mode 2008-04-11 10:59:50 +00:00
Dmitry Stogov
b287ccf508 Optimized ZEND_RETURN opcode to not allocate and copy return value if it is not
used.
2008-04-11 09:43:49 +00:00
Steve Seear
20b755c30e POSIX extension error tests 2008-04-11 09:33:59 +00:00
Steve Seear
bd6292a700 POSIX extension variation tests (failing due to spurious array to string conversion notices). 2008-04-11 09:29:08 +00:00
Robin Fernandes
91df70bdaa Adding some tests for ereg and url functions. 2008-04-11 08:57:06 +00:00
Greg Beaver
c0d82e966f refactor compress/convertToTar/convertToPhar/convertToZip/convertToExecutable/convertToData
into 2 methods:
convertToExecutable/convertToData.  Both methods accept 3 optional parameters
1 archive type, Phar::PHAR, Phar::TAR, or Phar::ZIP
2 compression Phar::NONE, Phar::GZ, or Phar::BZ2
3 file extension.  Default is <format>.<compression> where .phar.tar is executable .tar
convertToExecutable always returns a Phar object
convertToData always returns a PharData object
also added Phar::PHAR, Phar::TAR, and Phar::ZIP class constants
[DOC]
2008-04-11 04:20:15 +00:00
d90bf2ca0c ChangeLog update 2008-04-11 01:31:42 +00:00
Marcus Boerger
3bfa3d163d - No longer allow to disable pcre 2008-04-10 19:41:24 +00:00
Nuno Lopes
5d183af5f4 MFB 2008-04-10 19:14:23 +00:00
Nuno Lopes
c7e53aa963 MFB 2008-04-10 18:51:54 +00:00
Greg Beaver
f0ff6fb109 s/getContents/getContent/ 2008-04-10 13:41:29 +00:00
Greg Beaver
61b5fc48e3 re-factor all-file compression. Remove compressAllFilesGZ/compressAllFilesBZ2 in favor of
unifying compressFiles which accepts Phar::GZ or Phar::BZ2 as argument.  rename uncompressAllFiles to decompressFiles
2008-04-10 13:40:26 +00:00
Philip Olson
9de8833bea Updated the documentation credits 2008-04-10 05:30:34 +00:00
Greg Beaver
06df9bff83 add Phar->isWritable() for detecting whether a phar archive can be written to based on phar.readonly combined with actual file permissions
[DOC]
2008-04-10 03:32:10 +00:00
Greg Beaver
1c3097fcbe make built-in SplFileInfo->isWriteable() work for PharFileInfo as well, by ensuring phar->is_writeable is set/reset when phar.readonly is changed 2008-04-10 03:12:08 +00:00
1f041c143b ChangeLog update 2008-04-10 01:31:43 +00:00
Marcus Boerger
54502e978c - SPL can no longer be disabld as discussed some time ago (checked back with RM) 2008-04-09 21:47:29 +00:00
Scott MacVicar
a000866c43 MFB: Fixes to heredoc and cleanup of new re2c scanner. (Patch by Matt Wilmas) 2008-04-09 21:07:45 +00:00
Greg Beaver
abfc228f36 add addFile/addFromString/addEmptyDir. API is identical to ext/zip
[DOC]
2008-04-09 19:23:31 +00:00
Etienne Kneuss
f6df935264 Fix #44511 (Ensure no exception was already thrown by php_stream_opendir) 2008-04-09 19:00:48 +00:00
Greg Beaver
e56beeeefd add PharFileInfo->getContents() to retrieve file contents
[DOC]
2008-04-09 18:12:41 +00:00
Felipe Pena
bb8b904eec MFB: Fixed bug #44678 (spliti error message includes wrong function name) 2008-04-09 13:52:53 +00:00
Dmitry Stogov
afbc0c20ab Fixed bug #44673 (With CGI argv/argc starts from arguments, not from script) 2008-04-09 09:17:01 +00:00
Dmitry Stogov
3e7fc16078 Bug #44653 (Invalid namespace name resolution) 2008-04-09 08:55:31 +00:00
d667dce681 ChangeLog update 2008-04-09 01:31:39 +00:00
Jani Taskinen
defea67cf5 - Add missing basic test (see also bug #44574) 2008-04-08 12:32:51 +00:00
Jani Taskinen
6fa8f52e7d - fix test 2008-04-08 11:58:03 +00:00
Jani Taskinen
30d057d32c - Fixed bug #44667 (proc_open does not handle pipes with the mode "wb" correctly) 2008-04-08 08:42:05 +00:00
Andrey Hristov
212c00cd1a Fix snapshot build 2008-04-08 07:46:05 +00:00
4f13555cc5 ChangeLog update 2008-04-08 01:31:43 +00:00
Ilia Alshanetsky
01ef65015b MFB: Fixed bug #44663 (Crash in imap_mail_compose if "body" parameter
invalid)
2008-04-08 00:02:01 +00:00
Christopher Jones
bb4c6a7267 MFB: PECL #13523 (x86_64 build) and versioning sync 2008-04-07 22:34:03 +00:00