Commit Graph

41340 Commits

Author SHA1 Message Date
Greg Beaver
4e98585ff7 new corrupt zip test 2008-04-19 05:35:03 +00:00
Greg Beaver
531caa6393 new test for corrupted zip with mis-matched entry counts, and fix memleaks in this test case 2008-04-19 05:30:48 +00:00
Greg Beaver
410ce457ab add utility for creating corrupted zip archives for testing purposes 2008-04-19 05:15:24 +00:00
8979e4bc88 ChangeLog update 2008-04-19 01:31:36 +00:00
Felipe Pena
d4245df7d6 - New tests 2008-04-18 13:54:46 +00:00
Greg Beaver
c4f502fae0 COMPLETELY rework filename extension detection. Now the only requirements are:
1 - executable phars must contain '.phar' in the filename
2 - non-executable phars must not contain '.phar' and must have an extension of at least 1 character

In addition, phar filenames must exist if opened for read, and the directory containing the phar must exist if opened for creation
if opened for creation, the file must not already exist
[DOC]
2008-04-18 04:13:13 +00:00
Christopher Jones
bd6696c639 MFB: Set extension status back to dev 2008-04-18 02:35:08 +00:00
9c1ba80062 ChangeLog update 2008-04-18 01:31:37 +00:00
Christopher Jones
7f3604bbab Code:
- Do scope-end release for oci_pconnect (oci8.old_oci_close_semantics=1 gives old behavior)
  - Fix session reuse with 10.2 client libs
  - Fix the Ping macro version check for 10.2
  - Add type check associated with zend_list_find
  - Code connection re-organized for reuse
  - Format comments
  - WS changes
  - Prepare for new PECL release
Tests:
  - Add new tests
  - Rationalize password tests
  - Revert use of __DIR__ so tests will work with PHP 5.2
  - Update some skipifs to make tests more portable
2008-04-18 00:04:45 +00:00
Rob Richards
30800f4b12 fix bug #44648 (Attribute names not checked for wellformedness)
fix some warnings
2008-04-17 20:19:53 +00:00
Felipe Pena
b2b47a525f - New test 2008-04-17 18:16:34 +00:00
Felipe Pena
5d8c35d561 - Fixed typo 2008-04-17 11:08:32 +00:00
Dmitry Stogov
0699d994c6 Fixed bug #44226 (Throwing an exception causes crash in multithreaded SAPI) 2008-04-17 10:21:25 +00:00
22c8b906b8 ChangeLog update 2008-04-17 01:31:40 +00:00
Greg Beaver
26e10f8cca fix compression zip tests 2008-04-16 20:26:22 +00:00
Greg Beaver
a3e723b935 add failing tests for compression of zip files internally 2008-04-16 20:15:19 +00:00
Greg Beaver
31e6629895 fix large zip test 2008-04-16 20:08:02 +00:00
Greg Beaver
159e39d81d load entire end of zip instead of weird 8k looping, logic is much simpler, and it's only 65k instead of 8k 2008-04-16 19:48:31 +00:00
Greg Beaver
8bc9ec5466 make test OS-agnostic 2008-04-16 19:47:41 +00:00
Derick Rethans
62a4aff5f8 - MF52: Fixed bug #44703 (htmlspecialchars() does not detect bad character set
argument).
#- WIll merge to 5.3 later, that branch has some more modifications.
2008-04-16 17:24:00 +00:00
Antony Dovgal
fa7f1fce98 always initialize mod_type 2008-04-16 13:19:31 +00:00
Antony Dovgal
6b3698f2ed unicode support and minor leak fix 2008-04-16 13:17:44 +00:00
Antony Dovgal
b19791609a convert ext/ldap to use new parameter parsing API
also restructure the extension to get rid of some garbage
2008-04-16 13:02:26 +00:00
Andrey Hristov
c931468b88 Update ext/mysql, ext/mysqli and ext/mysqlnd from development tree 2008-04-16 12:53:18 +00:00
Pierre Joye
372be75ef5 - add test 2008-04-16 09:56:36 +00:00
Pierre Joye
19363e515d - prepare 1.0.2 2008-04-16 09:41:05 +00:00
Pierre Joye
6b58f235b2 - Fix protos 2008-04-16 09:30:16 +00:00
Greg Beaver
4e584728e5 fix end of directory locator detection code, add failing test for large zips 2008-04-16 04:34:25 +00:00
Greg Beaver
398bcf4dd0 fix test - metadata works now 2008-04-16 04:16:20 +00:00
Greg Beaver
8c4477cde5 fix segfault in meta-data parsing of zip archives 2008-04-16 04:15:08 +00:00
Greg Beaver
f513caa0a6 add failing test for metadata support in zip archives 2008-04-16 04:11:14 +00:00
Greg Beaver
dc837b5f53 rename is_zip parameter of phar_parse_metadata to more accurately reflect what it is 2008-04-16 04:01:33 +00:00
Greg Beaver
6eabae560b increase code coverage 2008-04-16 03:55:13 +00:00
Greg Beaver
21b84bb728 forgot F in EXPECTF 2008-04-16 03:54:06 +00:00
Greg Beaver
cd9ecb53ae increase code coverage 2008-04-16 03:54:05 +00:00
Greg Beaver
6387155b3d add another test for alias overloading and make sure we disallow it when passed in constructor 2008-04-16 03:42:29 +00:00
Greg Beaver
ae3837851a fix tests so $Revision$ does not screw with things 2008-04-16 03:27:45 +00:00
Greg Beaver
6c0564c721 increase code coverage for phpinfo(), rework CLI phpinfo for phar.extract_list to be legible 2008-04-16 03:26:20 +00:00
5eb69afc78 ChangeLog update 2008-04-16 01:31:42 +00:00
Greg Beaver
a12dc0ba3d increase code coverage 2008-04-15 23:46:44 +00:00
Greg Beaver
277ba45f8f re-add as binary 2008-04-15 19:26:35 +00:00
Greg Beaver
bf716e8e98 aha - added as ascii, removing in order to re-add 2008-04-15 19:25:46 +00:00
Greg Beaver
2d6ad98ed9 this was corrupted on my windows box. $1m question: is this newly regenerated phar valid on Steph's box and my unix box?
withphar.phpt and withphar_web.phpt use it
2008-04-15 19:25:06 +00:00
Greg Beaver
77b6ed3861 further big-endian systems fixes for zip 2008-04-15 19:16:47 +00:00
Felipe Pena
4ec4c5c77f - Fixed test 2008-04-15 18:59:27 +00:00
Greg Beaver
189b936ba3 fix test on windows 2008-04-15 18:41:03 +00:00
George Wang
cd6bdb6fbe use nonblock listener socket to avoid blocking 2008-04-15 18:36:48 +00:00
Greg Beaver
df32c25175 forgot to commit this yesterday - make error message test PHP-version agnostic 2008-04-15 18:33:47 +00:00
Felipe Pena
04d0bb1e10 - Fixed tests (NULL is allowed where binary string is expected) 2008-04-15 17:13:08 +00:00
Elizabeth Marie Smith
8c285a77a3 MFB 2008-04-15 16:59:40 +00:00