Commit Graph

23543 Commits

Author SHA1 Message Date
Derick Rethans
b30cdcd5a7 - Fixed bug #45459 (date_create_from_format() fails on DATE_RFC3339) by
allowing a few more format specifiers in date_create_from_format() /
  date_parse_from_format().
2008-07-08 20:23:38 +00:00
Derick Rethans
d5bc2d0682 - Fixed a memleak (Original patch by Hannes Magnusson). 2008-07-08 19:29:06 +00:00
Pierre Joye
739450edb7 - use _a for static lib
- fix logic for shared zlib
2008-07-08 19:07:53 +00:00
Derick Rethans
3042898466 - Fixed some ambiguities in the date parser. 2008-07-08 18:27:07 +00:00
Derick Rethans
a339c57e1d - Replaced // by /* .. */ comments. 2008-07-08 17:56:36 +00:00
Derick Rethans
698b0f818f - Fixed memory leaks and segfaults, patch by Joe Orton.
- Fixed bug #45038 (Crash when using DateTimeZone object returned by
  Date::getTimezone).
2008-07-08 17:40:35 +00:00
Henrique do Nascimento Angelo
4e39ede17f Fix the expected FileDateTime 2008-07-08 15:34:23 +00:00
Dmitry Stogov
8d2e0a7e0f Added closures support 2008-07-08 07:05:04 +00:00
Stanislav Malyshev
3e74c7848d Merge intl extension to HEAD
# do not use yet in HEAD, needs some adjustment
2008-07-07 23:42:30 +00:00
David Soria Parra
5632fc1dea Exif tests from Eric Steward. Testfest task 82. 2008-07-07 23:30:29 +00:00
Felipe Pena
e3c002621f MFB: - Added arginfo 2008-07-07 17:34:07 +00:00
Felipe Pena
1b347b09d3 - MFB: Added arginfo 2008-07-07 17:19:07 +00:00
Derick Rethans
bbdb2416d0 - Updated to version 2008.4 (2008d) 2008-07-07 14:36:11 +00:00
Felipe Pena
77c2eb1dcd - MFB: Removed unused variables 2008-07-07 13:55:42 +00:00
Felipe Pena
f2655e0e5d MFB:
- Added arginfo
- Removed unnecessary #include "zend_arg_defs.c"
2008-07-07 13:52:44 +00:00
Jani Taskinen
c344b35cc8 - Update credits 2008-07-07 10:38:16 +00:00
Alexey Zakhlestin
df6701892b MFB: string length -> int 2008-07-07 10:00:30 +00:00
Alexey Zakhlestin
9951e4822e MFB: updated to the new parameter-parsing api 2008-07-07 09:57:12 +00:00
Alexey Zakhlestin
e7ee0d709d MFB: added arginfo (fixes #45388) 2008-07-07 09:47:02 +00:00
Pierre Joye
c9d7050fa1 - add support for old named zlib (no _a or dynamic)
- nuke the right unused vars
2008-07-07 08:40:04 +00:00
Pierre Joye
579a044be3 - restore wrongly removed vars
- test if zlib is shared or not (possible conflict)
2008-07-07 08:36:04 +00:00
Etienne Kneuss
b6c53b8c73 Remove .htaccess file(??) 2008-07-07 00:06:05 +00:00
Etienne Kneuss
e6fe25f589 Add missing test 2008-07-06 23:52:44 +00:00
Etienne Kneuss
e8cbf4c663 First part of count/handlers related fixes 2008-07-06 23:45:38 +00:00
Pierre Joye
d4b47f1276 - has been moved to PECL 2008-07-06 19:29:29 +00:00
Pierre Joye
152dae2160 - has been moved to siberia (the true one) 2008-07-06 19:28:28 +00:00
Pierre Joye
ed1e8ca285 - update lib/headers detection
- nuke unused variables
2008-07-06 17:06:43 +00:00
Pierre Joye
1e32f6a14d - update lib detection and does not enable it when lib/headers are missing 2008-07-06 16:58:51 +00:00
Pierre Joye
bdb6726abe - MFB: don't enable xmlrpc when libxml is missing 2008-07-06 16:55:01 +00:00
Nuno Lopes
b24f6f8253 MFB: fix CVE-2008-2371 2008-07-06 15:23:44 +00:00
Nuno Lopes
8a5db93312 upgrade to pcre 7.7 2008-07-06 15:18:00 +00:00
Felipe Pena
fb588a3776 MFB: Added arginfo 2008-07-06 05:02:40 +00:00
Felipe Pena
bc0af0579e MFB:
- Added arginfo
- Removed #include "zend_arg_defs.c"
2008-07-05 22:36:55 +00:00
Felipe Pena
1679ebdb9a - MFB: Removed unnecessary #include "zend_arg_defs.c" 2008-07-05 20:19:47 +00:00
Felipe Pena
747837087e MFB:
- Added arginfo (methods)
- Removed #include "zend_arg_defs.c"
2008-07-05 20:16:34 +00:00
Felipe Pena
e9e01d4950 - MFB: zend_arg_defs.c is unnecessary now 2008-07-05 20:10:41 +00:00
Pierre Joye
8f0b882137 - silent redefinition warning 2008-07-05 18:17:02 +00:00
Pierre Joye
60dbdea125 - fix build (function was never implemented), even if noone uses it (or complained about broken build ;) 2008-07-05 13:12:57 +00:00
Scott MacVicar
fa42e815a8 MFB: Fix break caused by previous commit, warning and remove zend_get_parameters() 2008-07-05 00:34:24 +00:00
Pierre Joye
dad71addef - MFB: fix compile error with VC6 2008-07-04 21:01:26 +00:00
Alexey Zakhlestin
30ab26af8b MFB: fixed tests not to rely on actual strings of errors, as those are not defined by any standard and are platform-dependent 2008-07-04 14:56:30 +00:00
Felipe Pena
543de6df1c MFB:
- Added arginfo
- Removed #include "zend_arg_defs.c" (it's unnecessary now)
2008-07-04 14:10:24 +00:00
Pierre Joye
b23f7298fb - MFB: add 2007a/b info
- update config.w32 to detect static lib
2008-07-03 18:28:41 +00:00
Felipe Pena
0703032a7b - MFB: New parameter parsing API 2008-07-03 12:40:48 +00:00
Felipe Pena
4b50d12a48 - MFB: Added arginfo (functions) 2008-07-03 12:21:25 +00:00
Pierre Joye
b00408f2da - MFB: does not enable zlib when a lib or header is missign 2008-07-02 20:52:35 +00:00
Antony Dovgal
6c94aa02ab fix test 2008-07-02 12:24:45 +00:00
Antony Dovgal
15e70c34e2 use zend_ascii_hash_find() and check its return value to prevent crash when function not found 2008-07-02 10:46:52 +00:00
Felipe Pena
913ae1b492 - MFB: Added arginfo 2008-07-02 00:13:26 +00:00
Felipe Pena
d1dba3fc3c - MFB: Added arginfo 2008-07-01 19:44:18 +00:00
Felipe Pena
97695562da - MFB: Added arginfo 2008-07-01 19:14:28 +00:00
Felipe Pena
ea3cba1cc2 - MFB: Added arginfo (functions) 2008-07-01 18:30:20 +00:00
Felipe Pena
ac4474b6a7 MFB:
- Added arginfo
- Fixed
  - PHP_SYBASE check
  - compile warning
2008-07-01 17:29:48 +00:00
Felipe Pena
017a9016f7 - MFB: Added arginfo 2008-07-01 15:50:09 +00:00
Felipe Pena
2c69f7796b - MFB: Added arginfo 2008-07-01 15:35:17 +00:00
Antony Dovgal
0830b0026d cleanup on test failure 2008-07-01 11:20:15 +00:00
Dmitry Stogov
d8aad16dd0 Use new parameter parsing API 2008-07-01 10:01:25 +00:00
Antony Dovgal
485a57c37d fix typo 2008-07-01 08:21:57 +00:00
Antony Dovgal
26a0ce4cb1 misc parse_parameters fixes 2008-07-01 08:19:53 +00:00
Antony Dovgal
640cdfa3ad int -> long 2008-07-01 08:17:19 +00:00
Antony Dovgal
9c6362a1dd this should be long 2008-07-01 08:15:44 +00:00
Antony Dovgal
56dd2ba708 MF53 2008-07-01 08:12:42 +00:00
Antony Dovgal
f5d82e28ce fix curl_init()
"s" in HEAD accepts zstr
2008-07-01 08:10:47 +00:00
Felipe Pena
e391202c0b - MFB: Added arginfo 2008-06-30 14:53:45 +00:00
Felipe Pena
f7a93a0350 - MFB: zend_arg_defs.c is unnecessary now 2008-06-30 13:47:22 +00:00
Felipe Pena
e97b54db43 MFB:
- Added arginfo
- Removed #include "zend_arg_defs.c"
2008-06-30 13:27:45 +00:00
Felipe Pena
effcd82e54 - MFB: New parameter parsing API
- Fixed tests
2008-06-30 01:59:35 +00:00
Felipe Pena
5d2b1e7eb7 MFB: - Added arginfo 2008-06-29 15:21:42 +00:00
Felipe Pena
b5222d3bb2 MFB:
- New parameter parsing API
- Added arginfo
2008-06-29 14:34:39 +00:00
Felipe Pena
73c3c58771 - MFB: Added arginfo 2008-06-28 22:19:24 +00:00
Scott MacVicar
d2bbad4f1b Sort Windows changes for mhash BC layer 2008-06-28 15:30:45 +00:00
Scott MacVicar
bbc1ff0e9e MFB: Make the old mhash API a wrapper around hash, this removes a dependency. 2008-06-28 15:20:49 +00:00
Henrique do Nascimento Angelo
d44509418e Fix a memory leak on openssl_decrypt() 2008-06-28 09:24:18 +00:00
Felipe Pena
61a01e1c20 - MFB: Added arginfo 2008-06-27 19:17:29 +00:00
Christopher Jones
8a23c1d2d8 OCI8: (PECL #14219) Improve README 2008-06-27 18:26:05 +00:00
Felipe Pena
474bcc8cc1 - MFB: Added arginfo 2008-06-27 16:37:03 +00:00
Felipe Pena
a9b4ed2118 - MFB: Added arginfo 2008-06-27 15:47:21 +00:00
Felipe Pena
433cfbcdda - MFB: Added arginfo 2008-06-27 15:35:49 +00:00
Felipe Pena
82123ead4a - MFB: Added arginfo 2008-06-27 13:17:27 +00:00
Dmitry Stogov
8565522d49 ws 2008-06-27 06:43:38 +00:00
Felipe Pena
c110a49b03 - Fixed tests 2008-06-26 11:07:14 +00:00
Felix De Vliegher
8c22747b68 MFB: tests for lchown(), testfest.php.net task number 129. 2008-06-26 09:12:40 +00:00
Felipe Pena
2751fe0354 - New parameter parsing API 2008-06-25 16:22:13 +00:00
Dmitry Stogov
c306b42658 Added support for namespaces 2008-06-25 12:34:14 +00:00
Raghubansh Kumar
05fccba7fc New testcases for hash_file(), Committed for Felix De Vliegher, TestFest Task No: 75 & 76, Tested on RHEL5 -32bit, WinXP-32bit 2008-06-24 15:46:24 +00:00
Felipe Pena
97a2917cad MFB: Added arginfo 2008-06-24 12:10:35 +00:00
Andrey Hristov
fd699ce7d3 Fix possible bug with persistent connections 2008-06-24 11:19:07 +00:00
Felix De Vliegher
0a7198a297 MFB: tests for ob_get_flush(), testfest task number #131 2008-06-24 10:33:38 +00:00
Andrey Hristov
e5f72d0685 Add missing header 2008-06-24 08:02:06 +00:00
Andrey Hristov
c9d53ab74c Even more debug info 2008-06-24 06:56:59 +00:00
Andrey Hristov
f3cf29671a Added more debug info for tracking problems 2008-06-23 22:21:55 +00:00
Felipe Pena
41f3cfb923 - MFB: Added arginfo 2008-06-23 17:54:14 +00:00
Felipe Pena
898cf23f74 - Added arginfo 2008-06-23 17:25:01 +00:00
Felipe Pena
cdacf4487a - Added XFAIL 2008-06-23 14:05:35 +00:00
Felipe Pena
dcca384b8c - MFB: Fix build where __USE_GNU is used instead of _GNU_SOURCE to define utsname.domainname 2008-06-23 01:16:49 +00:00
Etienne Kneuss
422bc27588 Add some tests to increase code coverage 2008-06-22 16:23:33 +00:00
Alexey Zakhlestin
d3b4f8b69b updated to the new parameter-parsing api 2008-06-22 15:44:19 +00:00
Felix De Vliegher
d54cf79cbc Testcases for vfprintf(), testfest task #133. 2008-06-22 13:31:10 +00:00
Felix De Vliegher
ce79e30177 Basic test for ob_get_length(), testfest.php.net task #132 2008-06-22 12:51:37 +00:00
David Soria Parra
964718cd95 Testfest task 93. Written by Sebastian Deutsch. 2008-06-22 05:09:43 +00:00
Christopher Jones
1b4e6e0480 Fix bug #45266 (Fix build with BDB 4)
Fix bug #45267 (Revert invalid assumption about BDB 4 locking; let DBA handle locking)
Fix bug #45268 (Fix error callback prototype)
2008-06-19 22:39:03 +00:00
Christopher Jones
98730e6b45 MFB: sync with 5.3 2008-06-19 20:24:00 +00:00
Dmitry Stogov
c5031f96bb Added test for bug #45312 2008-06-19 12:10:00 +00:00
Etienne Kneuss
c6472bfd80 Rename everything from SplFastArray to SplFixedArray 2008-06-18 14:54:28 +00:00
Etienne Kneuss
6444ec388c Fix #45216 (Add a default size for fgetss) 2008-06-18 10:05:15 +00:00
Dmitry Stogov
b5ae77e33d Fixed SOAP binding selection 2008-06-18 07:24:14 +00:00
Philip Olson
dd0b906ec6 updated website team info 2008-06-18 05:17:55 +00:00
Raghubansh Kumar
9d2cea0d4e Committed for Felix De Vliegher, TestFest Task No: 123, Tested on RHEL5-32bit, WinXP 2008-06-17 13:18:08 +00:00
Raghubansh Kumar
d26c78a2dd Committed for Felix De Vliegher, TestFest Task No: 122, Tested on RHEL5, WinXP 2008-06-17 13:17:15 +00:00
Zoe Slattery
3b99caaa7d Test committed for felixdv 2008-06-16 19:23:43 +00:00
Rob Richards
dc761b1af1 add parameter allowing node to be exported into existing Document context
add test
fix warnings
2008-06-16 15:44:22 +00:00
Etienne Kneuss
53b6c68a90 Add tests for iterators when instanciated without argument (by Sebastian Schürmann) 2008-06-15 11:45:48 +00:00
Rob Richards
8c284d9640 fixed bug #45251 (double free or corruption with setAttributeNode())
add test
2008-06-14 11:21:47 +00:00
Zoe Slattery
de67854ff7 Commited for Sanjay, reviewed by Pierre. Testfest task 5. 2008-06-13 15:59:31 +00:00
Zoe Slattery
4576f6348a Commited for Sanjay, reviewed by Pierre. Testfest task 117. 2008-06-13 15:22:42 +00:00
Rui Hirokawa
19047cfd2e fixed bug #27421 (by david at dfoerster dot de) mbstring.func_overload set in .htaccess becomes global 2008-06-13 14:47:48 +00:00
Zoe Slattery
d88bbe3434 Commited for Sanjay, reviewed by Pierre. Testfest task 79. 2008-06-13 13:51:22 +00:00
Felipe Pena
5b4685d724 - Fixed tests 2008-06-13 13:43:55 +00:00
Zoe Slattery
c108d791fc Commited for Sanjay, reviewed by Pierre. Testfest task 117. 2008-06-13 13:33:15 +00:00
Zoe Slattery
9b5e867bdc Commited for Sanjay, reviewed by Pierre. Testfest task 118. 2008-06-13 13:14:20 +00:00
Felipe Pena
7504d57043 - Fixed tests (unicode results, UEXPECT, line endings) 2008-06-13 00:18:57 +00:00
Lars Strojny
99ffc8701a Testfest: various tests for ReflectionParameter 2008-06-12 21:41:09 +00:00
Lars Strojny
8b9f0454fb Testfest test cases for ReflectionExtension 2008-06-12 21:25:28 +00:00
Lars Strojny
0b76b9b921 Testfest: ReflectionExtension tests by Gerrit te Sligte and Leon Luijkx 2008-06-12 20:55:54 +00:00
Etienne Kneuss
0e213d1628 Add tests from testfest 2008-06-12 20:51:25 +00:00
Lars Strojny
0e34d9c841 Testfest: ReflectionExtension::info()-test by Stefan Koopmanschap 2008-06-12 20:46:05 +00:00
Etienne Kneuss
3dcd9ca7a2 Add tests from testfest 2008-06-12 20:46:00 +00:00
Lars Strojny
5598ae06ed Reflection::getModifierNames()-test by Felix De Vliegher (Testfest) 2008-06-12 20:30:46 +00:00
Antony Dovgal
5be006d48b avoid invalid reads when reached memory_limit during initialization 2008-06-12 12:40:07 +00:00
Antony Dovgal
ae56a0a11f fix build 2008-06-12 10:31:40 +00:00
Steve Seear
79cb128c59 Filesystem tests. 2008-06-11 12:40:34 +00:00
Dmitry Stogov
c7d50cb478 Fixed test 2008-06-11 10:07:20 +00:00
Dmitry Stogov
d01509ced8 Fixed test 2008-06-11 09:58:45 +00:00
Dmitry Stogov
00ea3108ea closeder/readdir/rewinddir must work only with directories 2008-06-11 09:01:44 +00:00
Dmitry Stogov
fbe28c49b3 Fixed memory leak 2008-06-11 07:45:26 +00:00
Philip Olson
408461654e fixed imap_listscan() proto 2008-06-11 02:29:39 +00:00
Zoe Slattery
bc84bcc19c Written by Sanjay Mantoor and reviewed by Pierre. 2008-06-10 18:31:37 +00:00
Antony Dovgal
bfda5b1b58 fix typo 2008-06-10 08:14:45 +00:00
Etienne Kneuss
a917479c19 add get_Debug_info + fix proto 2008-06-09 17:29:09 +00:00
Felipe Pena
9f2d50a887 - Removed unnecessary SKIPIF (unicode/tests/*)
- Removed non-unicode tests (tests that uses SKIPIF like "die('skip unicode.semantics=on');")
2008-06-09 15:54:08 +00:00
Rasmus Lerdorf
3dc903400b Merge from PHP_5 - don't echo raw cookie values here 2008-06-09 14:05:49 +00:00
Pierre Joye
01b9c1291a - MFB: do not export the api or install the headers 2008-06-08 11:42:35 +00:00
Antony Dovgal
a9ebb2170b fix ZTS build 2008-06-07 22:41:02 +00:00
Antony Dovgal
b519f3c83e more checks and tests 2008-06-07 21:35:53 +00:00
Henrique do Nascimento Angelo
08189d6255 Update exif tests to conform with the unicode functions 2008-06-07 20:38:38 +00:00
Henrique do Nascimento Angelo
1c1523ec75 Add Unicode support 2008-06-07 20:37:11 +00:00
Henrique do Nascimento Angelo
f97aeaa334 Update tests to conform with the unicode functions 2008-06-07 20:33:35 +00:00
Henrique do Nascimento Angelo
15b3e07f5a Add Unicode support and set as unicode compatible 2008-06-07 20:30:30 +00:00
Antony Dovgal
a5c08c6a6d more tests (by Felipe) 2008-06-07 14:10:21 +00:00
Antony Dovgal
b38279abf4 fix several memleaks and invalid reads 2008-06-07 14:08:59 +00:00
Antony Dovgal
67630e0cd7 disallow $a[] = value syntax 2008-06-07 12:46:54 +00:00
Antony Dovgal
77ba2ab567 update credits 2008-06-07 08:05:48 +00:00
Etienne Kneuss
7df366675e Fix segfault caused by get_current_data on an uninitialized element 2008-06-07 01:46:27 +00:00
Etienne Kneuss
bd233197fd Implements C arrays wrapper 2008-06-06 23:53:10 +00:00
Christopher Jones
ae46d3ca77 OCI8: Remove macros obsoleted by rev 1.71 when Oracle 8 support was dropped 2008-06-05 23:40:42 +00:00
Christopher Jones
307edab6ee Make tests interruptible; clean up tables at start 2008-06-05 23:27:41 +00:00
Rob Richards
cb972c1da6 rawurlencode now conforms to rfc 3986 (~ is not encoded) [DOC] 2008-06-04 19:34:45 +00:00
Antony Dovgal
988a68798c fix test
(the test still fails because of broken preg_match())
2008-06-04 09:10:34 +00:00
Antony Dovgal
af74288a41 fix test 2008-06-04 07:52:04 +00:00
Scott MacVicar
f78b458ecd MFB: Add snefru256 as an alias for snefru, since in reality that is the implementation. 2008-06-03 17:27:10 +00:00
Zoe Slattery
55d9f96ca4 Tests from London test fest 2008 2008-06-03 12:44:46 +00:00
Scott MacVicar
9e209e8928 MFB: Add sha224 support. 2008-06-02 14:13:49 +00:00
Jani Taskinen
32842a00bc - Simplify a bit and make a bit more readable 2008-06-02 14:12:04 +00:00
Matt Wilmas
0cc9f01212 Initialize with length instead of 0 (and thanks Antony for finding) 2008-06-02 11:20:17 +00:00
Antony Dovgal
e58b49fc4c fix uninitialized variable 2008-06-02 10:27:42 +00:00
Hannes Magnusson
64896ef3f9 MFB5.3: arginfo & fix protos 2008-06-01 18:50:00 +00:00
Hannes Magnusson
4b6a31d286 MFB: fix arginfo 2008-06-01 18:25:29 +00:00
Hannes Magnusson
0fcbb305cc MFB: Add arginfo & fix protos 2008-06-01 18:21:05 +00:00
Felipe Pena
a9e910eebd - MFB: Fixed bug #45139 (ReflectionProperty returns incorrect declaring class) 2008-06-01 03:13:54 +00:00
Greg Beaver
6db7baba99 MFB: fix corrupted zips, fix postprocess for compressed zip file 2008-05-30 22:49:46 +00:00
Greg Beaver
ca6d36efb8 MFB: refactor function names for clarity. No functionality change 2008-05-30 22:39:33 +00:00
Scott MacVicar
ba1e3103b3 Fixed bug #43261
(Use ^ as an escape character for Windows escapeshellcmd)
2008-05-30 16:52:06 +00:00
Matt Wilmas
3a9eea4a8d Only check args once in php_array_diff_key/intersect_key, not on each iteration. This also makes sure ALL args are checked (pre-5.2.5 behavior)
- Also, use new hash_quick_del function where possible
2008-05-30 10:54:16 +00:00
Greg Beaver
195ee5ca73 MFB: fix PECL bug #13981: Third-party zips fail entry interrogation 2008-05-29 17:34:58 +00:00
Andrey Hristov
8a72f8d6ed MFB 2008-05-29 15:50:10 +00:00
Stanislav Malyshev
f6af23d30e MF5: Fix code path in phar_open_compiled_file() that tries
to open not-yet-loaded phar and fails on compressed files
# By Gregory's request
# Sorry, can't find how to write test case for that - it reproduces
# for me only under bytecode-caching. Suggestions welcome.
2008-05-28 21:50:41 +00:00
Felipe Pena
e4fc964ab3 - Added check for encoding optional parameter (avoiding the segfault in filter.c: strlen(encoding))
If the parameter is not suplied, it will try to use the UG(stream_enconding)
2008-05-28 18:02:52 +00:00
Felipe Pena
4fd6a040b9 - Added zval separation (avoid crash when using fwrite($fp, $fp)). 2008-05-28 17:24:47 +00:00
Pierre Joye
99250fba7e - c/p evilness 2008-05-27 18:27:23 +00:00
Pierre Joye
d3bff02b63 - Add compiler informations on Windows (will add more info later, like x86 or x64 and makes it available in userland) 2008-05-27 18:23:21 +00:00
Steph Fox
4be7f4aecd - killed off UEXPECT
- com_dotnet gets a .cvsignore
- Ulf will take care of mysql extensions, rest complete
2008-05-27 18:16:04 +00:00
Felipe Pena
6c06a591f2 - Removed UEXPECT(F) 2008-05-27 16:53:36 +00:00
Felipe Pena
f859bd1b4f - Removed UEXPECT(F) 2008-05-27 14:30:38 +00:00
Felipe Pena
b3ac16e584 - Removed UEXPECT(F) 2008-05-27 13:54:30 +00:00
Felipe Pena
06a7527c65 - Removed UEXPECT(F) 2008-05-27 13:16:27 +00:00
Ant Phillips
6e19f956d9 DOM tests from TestFest 2008-05-27 12:44:51 +00:00
Derick Rethans
02a5dc7764 - Updated to version 2008.3 (2008c) 2008-05-27 12:19:47 +00:00
Felipe Pena
52c0057c63 - Removed UEXPECT(F) 2008-05-27 12:17:40 +00:00
Matt Wilmas
25958acac4 Regenerate 2008-05-27 11:27:58 +00:00
Steph Fox
87fac43ac0 - killed off UEXPECT
- html_translation_table and setlocale tests are no longer relevant
- there are a number of ANSI-encoded files. Is this deliberate?
2008-05-27 10:50:48 +00:00
Matt Wilmas
9c37df900c Add array_init_size() and use it where array size is known at initialization 2008-05-27 10:28:25 +00:00
Scott MacVicar
6db10b2bf1 DOM Tests from London Testfest 2008-05-27 10:21:16 +00:00
Steph Fox
a4cb8c536f - killed off UEXPECT 2008-05-27 09:34:55 +00:00
Steph Fox
4ccb8869e7 - killed off UEXPECT 2008-05-27 07:46:51 +00:00
Steph Fox
08253045d4 - killed off UEXPECT
- no getmxrr() under doze
2008-05-27 07:41:44 +00:00
Steph Fox
5078c3a00a - killed off UEXPECT 2008-05-27 07:38:00 +00:00
Felipe Pena
554810af62 - Removed UEXPECT(F) 2008-05-27 03:22:42 +00:00
Felipe Pena
77080b64d9 - Removed UEXPECT(F) 2008-05-27 02:55:52 +00:00
Steph Fox
1b04aaf1ed - killed off UEXPECT 2008-05-27 00:08:03 +00:00
Steph Fox
fa3d01975b - killed off UEXPECT
- E_DEPRECATED doesn't always allow stuff to pass?
2008-05-27 00:04:31 +00:00
Steph Fox
24d1d8459c - killed off UEXPECT
- everything passes here on my box, yay
2008-05-26 23:54:20 +00:00
Steph Fox
8c15398ca6 - killed off UEXPECT 2008-05-26 23:48:29 +00:00
Steph Fox
f6cc4ee4df - killed off UEXPECT
- Tony has a patch that should fix all these
2008-05-26 23:45:15 +00:00
Steph Fox
b00be96ec2 - killed off UEXPECT
- another of those parser differences in assert_02.phpt. Please check.
2008-05-26 23:42:10 +00:00
Steph Fox
833f4150a1 - killed off UEXPECT
- could someone please fix var_export2.phpt? NUL is corrupted, can't fix here
2008-05-26 23:36:10 +00:00
Etienne Kneuss
8210627fc1 ws 2008-05-25 12:23:22 +00:00
Etienne Kneuss
be6d55935c Add a prepend param to spl_autoload_register 2008-05-25 12:17:27 +00:00
Etienne Kneuss
e28bcbbf60 remove the skipif 2008-05-25 12:10:14 +00:00
Sebastian Bergmann
1517e12411 Drop SKIPIF check for ext/spl. 2008-05-25 06:03:44 +00:00
Etienne Kneuss
649f10fd3f New tests from testfest 2008-05-24 16:48:15 +00:00
Etienne Kneuss
72f61bfc4f Also register the get_iterator handler for Max/Min Heap 2008-05-24 14:37:53 +00:00
Pierre Joye
dac1a1014d - [DOC] restore get_magic_quotes_gpc and get_magic_quotes_runtime
they always return false.
  (let save the world, spare bandwidth and kill the trolls 1/2)
2008-05-24 14:36:16 +00:00
Steph Fox
76a9ec377b - MFB major fixes
* found felipe's segfault in util.c and fixed the segfault (3 tests fail due to odd behavior of . and .. on this machine)
   * fixed serious flaws in the setting/resetting of is_data - now it works properly.  Assume
     all new PharData are tar-based, and allow passing Phar::ZIP to PharData constructor to override this
   * fix broken earlier commit, introduced segfault that broke 20 tests here
2008-05-24 14:18:31 +00:00
Sebastian Bergmann
7efb792fe8 Drop SKIPIF check for ext/spl. 2008-05-24 14:17:44 +00:00
Sebastian Bergmann
28d77dff61 MFB: Drop SKIPIF check for ext/spl. 2008-05-24 14:12:00 +00:00
Steph Fox
bdca5a12b0 - MFB fix offset detection in tar files 2008-05-24 13:59:56 +00:00
Etienne Kneuss
fa3ae04c28 Add tests from testfest 2008-05-24 13:40:33 +00:00
Sebastian Bergmann
5aa7732d2f MFB: Drop SKIPIF check for ext/reflection. 2008-05-24 13:35:03 +00:00
Marcus Boerger
42c955d77b - Add constants and new test (test from testfest.php.net) 2008-05-24 11:53:35 +00:00
Robin Fernandes
f684c221c4 More basic ReflectionClass tests from Dutch TestFest. 2008-05-23 21:14:05 +00:00
Antony Dovgal
afe0aa6ea4 use bundled PCRE library when both yes & no passed as argument,
look for headers and the lib otherwise
2008-05-23 19:06:36 +00:00
Ilia Alshanetsky
b55e780166 MFB:When dumping entire document to file via asXml() don't lose the encoding 2008-05-23 15:46:24 +00:00
Matt Wilmas
e2730a196f Fixed Windows build now that HAVE_INET_PTON is defined 2008-05-23 09:40:19 +00:00
Kalle Sommer Nielsen
3273ed8ec0 Enable inet_pton() and inet_ntop() on Windows in HEAD 2008-05-22 22:07:21 +00:00
Robin Fernandes
50cd9a0382 Basic ReflectionClass tests (from Dutch TestFest) 2008-05-22 21:54:01 +00:00
Greg Beaver
8589859191 MFB fix convertTo\*() for same-named archives with no files 2008-05-21 20:39:33 +00:00
Josie Messa
b895dc0f9b - Committing tests reviewed after London TestFest 08
- Credits to: Mike Sullivan and James Lewis
2008-05-21 15:04:13 +00:00
Antony Dovgal
2953951544 use macros instead of hardcoded encoding names
(%$#@# AIX is totally broken..)
2008-05-21 15:03:11 +00:00
Antony Dovgal
76d9064cc7 use ZEND_U_CONVERTER() macro to prevent segfaults when the converter is not set (i.e. NULL) 2008-05-21 12:01:55 +00:00
Etienne Kneuss
e35e5b93e3 Fix path lookup when include_path is used 2008-05-20 21:46:13 +00:00
David Soria Parra
d94c197637 Coding style 2008-05-20 13:28:31 +00:00
David Soria Parra
60b27ed62a Allow non-long values for proxy_port, connection_timeout and convert them 2008-05-20 13:15:01 +00:00
Antony Dovgal
1db4d44c7b fix function signature and silence compile warning 2008-05-20 12:07:13 +00:00
Antony Dovgal
24cc4b72c3 nuke unused variables 2008-05-20 12:04:37 +00:00
Greg Beaver
a08acfb080 s/zend_hash_exists/zend_hash_find/ 2008-05-20 05:01:08 +00:00
Greg Beaver
ccf430ca93 MFB relax rename requirements 2008-05-20 04:09:41 +00:00
Steph Fox
2c20c55716 - unicodify expected output 2008-05-19 19:37:39 +00:00
Steph Fox
f08aea109b - IS_UNICODE checks and conversions
- stub and creation file updates
- far too many test updates to think about
2008-05-19 19:05:42 +00:00
Felipe Pena
69deb7bc42 - Fixed wrong fix 2008-05-19 16:21:30 +00:00
Felipe Pena
5840963846 - Fixed test 2008-05-19 16:19:33 +00:00
Ilia Alshanetsky
8be988a8a4 MFB: Fixed bug #45004 (pg_insert() does not accept 4 digit timezone format) 2008-05-19 15:18:49 +00:00
Felipe Pena
fc7497fe1e - Fixed test (duplicated UEXPECTF section) 2008-05-19 15:17:08 +00:00
Felipe Pena
259e6f18a1 - Fixed tests 2008-05-19 15:13:21 +00:00
Steve Seear
6eec0905b0 Tests from PHP London TestFest 2008 2008-05-19 12:57:28 +00:00
Steve Seear
b18686bc63 Moving DOM tests to correct folder. 2008-05-19 12:49:54 +00:00
Steve Seear
363df894a9 Tests from PHP London TestFest 2008 2008-05-19 12:22:23 +00:00
Greg Beaver
eb99aa475e MFH fix mem leak, add test for previous segfault fix 2008-05-18 23:41:17 +00:00
Greg Beaver
3d953abaf3 MFB fix segfault 2008-05-18 23:12:47 +00:00
David Soria Parra
ea74d59d3a Revert. 2008-05-18 19:52:46 +00:00
David Soria Parra
024c25fc59 MFB: Make mcrypt_enc_self_test() return value compatible with documentation and mcrypt_module_self_test() 2008-05-18 17:15:08 +00:00
Felipe Pena
ad69a4c588 - MFB: Making compatible with 64bit platform 2008-05-18 15:52:42 +00:00
Felipe Pena
87d80cf81a - Added UEXPECTF 2008-05-18 00:47:22 +00:00
David Soria Parra
02eb39d64b Tests from Munich PHP Testfest 2008 2008-05-17 23:27:42 +00:00
Greg Beaver
11fb7561f0 enable by default statically instead of shared
this is done by removing zlib/bz2 explicit dependencies because they are unnecessary
we only ever use the stream filter, and the check for existence has
been moved to runtime where it is after startup
2008-05-17 20:07:38 +00:00
Greg Beaver
1e4b633721 MFB fix test (again) 2008-05-17 20:04:18 +00:00
Zoe Slattery
8ced03e026 Tests from London test fest 2008 2008-05-17 13:26:51 +00:00
Zoe Slattery
3d65cd0103 Tests from Testfest 2008 2008-05-16 17:14:57 +00:00
Etienne Kneuss
1d2bfff3a9 Fix FilesystemIterator with ./.. 2008-05-16 13:22:02 +00:00
Felipe Pena
f4458df3d4 - Improved fix (used 's' in parameter parsing) 2008-05-16 12:11:15 +00:00
Felipe Pena
7bfcde4894 - MFB: Added conversion to string. 2008-05-16 03:11:56 +00:00
Greg Beaver
25b8e6cc3f MFB: add full metadata support for tar-based archives and test 2008-05-15 23:46:54 +00:00
Etienne Kneuss
c2593307f3 Replace the iterator correctly after being cloned (related to #44964) 2008-05-15 17:22:03 +00:00
Etienne Kneuss
db0e4fac8b Implement SplPriorityQueue::getExtractFlags() 2008-05-15 17:05:20 +00:00
Greg Beaver
144e472967 MFB: plug security hole of unfettered creation access to .phar magic directory 2008-05-15 16:09:21 +00:00
Zoe Slattery
c8e160e477 Tests from Testfest 2008 2008-05-15 12:50:28 +00:00
Steph Fox
c1ae13b985 - Make internal code back-compatible. This included a binary cast in the default stub, hence many test updates.
- Just over a third of tests pass. Test manifests are broken currently.
2008-05-14 21:27:31 +00:00
Antony Dovgal
b3e245110d and the last one.. 2008-05-14 13:13:02 +00:00
Antony Dovgal
9b028e77b3 fix test names 2008-05-14 13:05:55 +00:00
Felipe Pena
8778ef1d21 - Add check for avoid segfault when trying instantiate PDORow manually 2008-05-14 12:28:28 +00:00
Elizabeth Marie Smith
132ecdfa7d MFB and steph's pecl fixes into confutils 2008-05-14 03:32:27 +00:00
Felipe Pena
ede5c8dd09 - Fixed tests (added default_charset=) 2008-05-13 19:18:11 +00:00
Steph Fox
ce586bf826 - MF53 dotted.path support 2008-05-13 18:43:18 +00:00
Greg Beaver
cfa135cb17 MFB fix tests 2008-05-13 18:38:35 +00:00
Steph Fox
247d91e780 - 'It builds on my box'.
- Don't expect any tests to pass.
2008-05-13 18:35:25 +00:00
Felipe Pena
461006fa97 - Added SKIPIF 2008-05-13 14:49:36 +00:00
Christopher Jones
f31693b736 New/updated tests 2008-05-13 00:04:52 +00:00
Greg Beaver
2734ed6c4f back to dev 2008-05-12 21:03:48 +00:00
Greg Beaver
5974e9ccff prepare for release 2008-05-12 20:43:04 +00:00
Greg Beaver
82dc03941a fix weird alias issues, add tests to check for new-found problems 2008-05-12 20:42:07 +00:00
Steph Fox
ac8ea81588 - Update package/TODO as best memory allows 2008-05-12 19:11:24 +00:00
Greg Beaver
30eca098e4 fix minor memleak 2008-05-12 17:40:14 +00:00
Steph Fox
dba1c11685 - Make sure default alias is set in phar.zip
- Add test
2008-05-12 17:12:56 +00:00
Steph Fox
7416b0cd91 - Fix tests 2008-05-12 12:46:41 +00:00
Antony Dovgal
a7ec33a1ef revert patch that causes invalid reads/crashes on Linux 2008-05-12 08:46:49 +00:00
Matt Wilmas
49800ec22c Fixed test after fixing bug #44830 2008-05-12 05:06:53 +00:00
Greg Beaver
ae789a055e increase code coverage 2008-05-12 00:45:05 +00:00
Greg Beaver
51a1d6a3b7 increase code coverage in util.c 2008-05-12 00:43:11 +00:00
Greg Beaver
e6558c56a3 increase code coverage to test mounting of phar URLs to internal file, and fix odd semi-race condition
where stream resources were not properly freed at script end
2008-05-12 00:16:59 +00:00
Greg Beaver
b3bab5022a increase code coverage 2008-05-11 23:07:12 +00:00
Greg Beaver
24efbb759b simplify phar_get_link_location and increase its coverage to 100% 2008-05-11 23:03:56 +00:00
Greg Beaver
70d0a4c045 increase code coverage and fix tiny bug in handling of absolute links 2008-05-11 22:59:16 +00:00
Greg Beaver
ad1be25d8c don't copy contents of linked/mounted files when converting an archive, and be sure to dupe mounted value 2008-05-11 22:45:03 +00:00
Greg Beaver
92f0dc842f fix test 2008-05-11 22:44:33 +00:00
Greg Beaver
4ccf0b846e slightly increase efficiency of function interception, and ensure that nothing fails even if the archive is unlinked mid-process 2008-05-11 21:30:05 +00:00
Greg Beaver
7149523766 add safety check to prevent unlinkArchive() from being called by a file within the archive 2008-05-11 21:15:47 +00:00
Greg Beaver
5d168ad544 fix memleak 2008-05-11 20:53:38 +00:00
Greg Beaver
376deb39d6 split test into two versions for differences in parameter parsing in PHP 5.3+ 2008-05-11 19:41:45 +00:00
Greg Beaver
a0969ed78f make test version-agnostic 2008-05-11 19:37:43 +00:00
Greg Beaver
38d5943ee6 increase code coverage of funcinterceptors to 90%+, fix many bugs, fix errant wrong test condition in fgc_edgecases 2008-05-11 19:17:51 +00:00
Sebastian Bergmann
360409b776 Add tests for ReflectionFunction::getExtension*(). 2008-05-11 04:56:12 +00:00
Scott MacVicar
a2ef7d48d0 Fix compile error if _GNU_SOURCE is defined 2008-05-09 12:58:50 +00:00
Ant Phillips
b6c0148fc0 Collect all the open_basedir security tests into one place 2008-05-09 08:44:44 +00:00
Felipe Pena
27c72fd2e1 - Fix data size 2008-05-08 17:22:07 +00:00
Felipe Pena
496099274b - Fixed detection of invalid class name 2008-05-08 16:58:43 +00:00
Etienne Kneuss
abd85a3ec1 Sync spl tests with 5.3 2008-05-08 12:03:18 +00:00
Felipe Pena
77a38f1a6a - Fixed double free 2008-05-08 12:00:36 +00:00
Dmitry Stogov
7a42f42d13 Fixed test 2008-05-08 09:15:20 +00:00
Antony Dovgal
47040f4eb0 fix test 2008-05-08 07:09:03 +00:00
Greg Beaver
25a6be6cde fix windows build 2008-05-08 03:10:18 +00:00
Greg Beaver
53e02373d0 fix handling of mounted entries when flushing in all phars, and of deleted entries with open references in tar-based phars, do not extract mounted entries, add to test 2008-05-08 02:58:45 +00:00
Greg Beaver
a919e2f858 fix serious logic error and potential security issue with phar_compiled_file and
phar_find_in_include_path.  We were allowing data-based phars to be executed, and actually marking phar-based phar archives
without '.phar' in the name as data-based phars, which would allow modifying them even if phar.readonly=0.  Add test for this sinister case
2008-05-08 00:49:37 +00:00
Ilia Alshanetsky
5576983a3e MFB: kill unused vars 2008-05-07 23:46:11 +00:00
Greg Beaver
0773c7f6a2 fix tar extension detection in open code 2008-05-07 17:35:20 +00:00
Greg Beaver
f134a909c3 optimize phar filename extension detection to first search through known phars. This eliminates several stat/realpath calls for archives with lots of files 2008-05-07 17:24:22 +00:00
David Coallier
b9af1cc162 - Test for bug #44811 2008-05-07 15:45:56 +00:00
David Coallier
0e2f6d8c6f - Fixed bug #44811 (Improve error message when creating new SoapClient
that contains invalid data)
2008-05-07 15:45:02 +00:00
Andrey Hristov
493b0bb51b Update mysqlnd - new ini variable 2008-05-07 15:16:27 +00:00
Greg Beaver
0f5f61c071 prepare for 2.0.0b1 release, pending review (finally) 2008-05-07 06:43:07 +00:00
Greg Beaver
e765e8f6ca remove files created 2008-05-07 06:39:05 +00:00
Greg Beaver
eda25ddb34 validate user-supplied aliases when converting archives to other formats 2008-05-07 06:36:24 +00:00
Greg Beaver
549bf83bd1 [DOC]
remove phar.extract_list
remove Phar::getExtractList()
2008-05-07 05:38:31 +00:00
Greg Beaver
f8db86b008 remove APC fanciness - this was causing non-caching of some files include()d inside a phar archive 2008-05-07 05:13:41 +00:00
Etienne Kneuss
17bce65262 Add a flag that defines whether the objects should get iterated through or not 2008-05-06 22:59:59 +00:00
Greg Beaver
96d4c2b62f fix zip metadata for archive/fix perms for file in zip/all.phpt test 2008-05-06 21:46:26 +00:00
Greg Beaver
04735b675d new failing test for testing all zip creation facets 2008-05-06 21:34:19 +00:00
Greg Beaver
196f0ef42b fix segfault in buildfromdirectory2 test and potential segfault 2008-05-06 21:23:48 +00:00
Greg Beaver
5ba8ca70a4 fix alias overloading handling for archives that are not in use 2008-05-06 21:14:53 +00:00
Greg Beaver
3d388e71d2 new test for unset behavior 2008-05-06 18:25:33 +00:00
Ilia Alshanetsky
7e68effe43 MFB: Fixed bug #44836 (putenv() crashes, avoid direct reference of environ
in POSIX systems).
2008-05-06 18:04:25 +00:00
Kalle Sommer Nielsen
76606319c0 Changed php_*h() + php_log1p() + php_expm1() to be static 2008-05-06 10:57:54 +00:00
Rasmus Lerdorf
f0f6e70406 No domainname element in utsname on OSX 2008-05-05 21:28:47 +00:00
Kalle Sommer Nielsen
f914d50dd6 Implemented Windows support for asinh(), acosh(), atanh(), log1p() and expm1() + removed Windows check on tests
[DOC] Windows support for asinh(), acosh(), atanh(), log1p() and expm1()
2008-05-05 06:28:03 +00:00
Etienne Kneuss
5f4e5fa60a Fix protos 2008-05-04 21:16:22 +00:00
Steph Fox
21460875fc - Some tests for buildFromDirectory() 2008-05-04 20:58:43 +00:00
Derick Rethans
c070512ee4 - Added support for "<xth> <weekday of" and "last <weekday> of" phrases to be
used with months - like in "last saturday of februari 2008".
2008-05-04 20:50:46 +00:00
Rob Richards
97256c625f fix bug #44891 Memory leak using registerPHPFunctions and XSLT Variable 2008-05-04 15:13:39 +00:00
Derick Rethans
92975a6319 - Added support for using ISO 8601 time intervals to define a DatePeriod
iterator.
2008-05-04 09:59:42 +00:00
Antony Dovgal
77403f0c94 fix folding 2008-05-04 09:33:56 +00:00
Steph Fox
c322c1a94a - Kill Windows warning when int meets short
- All tests still pass
2008-05-03 21:09:56 +00:00
Zoe Slattery
50902f0ec6 Committing corrected test from Eric Stewart 2008-05-03 20:39:07 +00:00
Etienne Kneuss
6e7d66eebd MFB: Fix #44838 (static class reference restricting overwriting) 2008-05-03 16:01:00 +00:00
Etienne Kneuss
d0577693da Fix #44484 (define SimpleXMLElement::__toString()) 2008-05-03 15:09:24 +00:00
Derick Rethans
a49676e4f3 - Added support for using an end date to limit the amount of recursions
with the DatePeriod iterator.
2008-05-03 10:59:14 +00:00
Derick Rethans
4d6933d254 - Fixed weekdays algorithm. 2008-05-03 10:03:21 +00:00
Greg Beaver
a180fcc9bc add Phar::unlinkArchive() to allow complete removal of a parsed phar archive from memory and disk 2008-05-03 02:04:24 +00:00
Antony Dovgal
9c8b9b8d1f fix build 2008-05-02 23:04:50 +00:00
Derick Rethans
7599f7384b - Fixed an issue in date() where a : was printed for the O modifier after a P
modifier was used.
2008-05-02 21:32:13 +00:00
Elizabeth Marie Smith
7a01c2c738 MFB 2008-05-02 14:10:05 +00:00
Lars Strojny
8ea8cd611a Hard enabling it for Windows, readding define for UNIX [DOC] 2008-05-02 13:12:02 +00:00
Lars Strojny
b190fdca65 Hard enabling ext/reflection on UNIX too [DOC] 2008-05-02 13:06:27 +00:00