Commit Graph

25349 Commits

Author SHA1 Message Date
andy wharmby
a1fdddce49 New class related tests. Tested on Windows, Linux and Linux 64. Tests written by Iain Lewis 2009-06-16 08:59:56 +00:00
Andrey Hristov
9ac36809f0 Use Zend's allocator instead of libc's and also don't try to work on
zvals that are NULLs.
2009-06-16 07:53:03 +00:00
Felipe Pena
edb136aed3 - Fixed bug #48562 (Reference recursion causes segfault when used in wddx_serialize_vars()) 2009-06-16 02:53:50 +00:00
Felipe Pena
3bc8b0519d - Drop unused code 2009-06-15 17:57:05 +00:00
Felipe Pena
8f83dcdb0a - Fixed bug #48557 (Numeric string keys in Apache Hashmaps are not cast to integers) patch by David Zülke <david.zuelke at bitextender.com> 2009-06-15 17:25:28 +00:00
Patrick Allaert
0d91efd894 Fixing #48441 (ldap_search() with sizelimit/timelimit/deref options makes those options persistent) 2009-06-15 15:18:12 +00:00
Pierre Joye
6afc513391 - add TODO about int definition cleanup 2009-06-15 15:08:41 +00:00
Patrick Allaert
03220cb04a Refactoring that will help fixing #48441 2009-06-15 15:03:31 +00:00
Pierre Joye
700a0697c6 - simplify, use correct type and silent warnings 2009-06-15 14:39:37 +00:00
Scott MacVicar
d20553953c sync SQLite 3.6.15 2009-06-15 13:14:46 +00:00
Ilia Alshanetsky
a69fb1bcfc MFB: 48518 2009-06-15 12:38:57 +00:00
andy wharmby
facd8866d8 New POSIX extension tests from Berlin UG TestFest 2009. 2009-06-15 12:14:58 +00:00
Pierre Joye
1c9d43d430 - silent warning 2009-06-15 08:32:18 +00:00
andy wharmby
845595eb7c New json extension tests. Tested on Windows, Linux and Linux 64 bit. 2009-06-14 12:08:33 +00:00
Greg Beaver
1d43c910df fix Bug #48541: spl_autoload_register only registers first closure, then leaks the others 2009-06-13 17:28:35 +00:00
andy wharmby
0e8ecad7f3 New iconv extension tests. Tested on Windows, Linux and Linux 64 bit. 2009-06-13 12:17:47 +00:00
Felipe Pena
a3d7eab5a3 - Refix the fix :| (missing skipif) 2009-06-12 20:46:30 +00:00
Felipe Pena
dd3cc066f1 - Fix test 2009-06-12 20:44:50 +00:00
Felipe Pena
4d5aaf0571 - Fixed bug #48514 (cURL extension uses same resource name for simple and multi APIs) 2009-06-12 20:43:29 +00:00
andy wharmby
7c35094c3f New iconv extension tests. Tested on Windows, Linux and Linux 64 bit. 2009-06-12 18:57:10 +00:00
andy wharmby
23019a1543 New iconv extension tests. Tested on Windows, Linux and Linux 64 bit 2009-06-12 17:16:06 +00:00
Felipe Pena
d25cb5c73f - Sync with 5_3 2009-06-12 14:00:10 +00:00
Felipe Pena
7193fe3e03 - Dropped unused var (HEAD only) 2009-06-12 13:27:39 +00:00
Andrey Hristov
dc9d37998f Fix crash when tracing is enabled. Position after buffer was used also
direct usage of MYSQLND_STRING pointer instead of the "s" property of the
structure.
2009-06-12 13:24:37 +00:00
Kalle Sommer Nielsen
4b17fee3b9 Fixed static build of mbstring on Windows (makes static build of exif possible too) 2009-06-11 23:37:51 +00:00
andy wharmby
7b438a20cb Delete duplicate test 2009-06-11 23:04:36 +00:00
andy wharmby
f586200746 New intval() tests. Tested on Windows, Linux and linux 64 2009-06-11 22:26:54 +00:00
andy wharmby
b4ef9c4950 New 64 bit math tests. Tested on Windows, Linux and Linux 64 bit. Tests authored by Dave Kelsey 2009-06-11 21:17:05 +00:00
andy wharmby
568879c484 Add/Fix SKIPIF sections of cURL tests 2009-06-11 21:11:22 +00:00
Andrey Hristov
b2f0e08307 Revert by adding an ifdef 2009-06-11 17:53:13 +00:00
Pierre Joye
54ac8205a0 - nuke unused var 2009-06-11 17:16:35 +00:00
Pierre Joye
c590f68297 - MF53: silent warning and make it less ambiguous 2009-06-11 17:14:34 +00:00
andy wharmby
6cebe90238 New POISX tests. Tested on Windows (all test SKIP), Linux and Linux 64 2009-06-11 12:30:59 +00:00
Johannes Schlüter
361c9d353f Use a better extension version 2009-06-11 10:08:09 +00:00
Antony Dovgal
c6cd73e7d1 fix bug #48518 (curl crashes when writing into invalid file handle) 2009-06-11 09:46:27 +00:00
Andrey Hristov
433286f150 Protect the code when variable is NULL, which should never happen, but
anyway, you know about "never happens"
2009-06-11 08:51:20 +00:00
Andrey Hristov
6f90ebd669 Check the pointer before calling a function on it, or we will crash.
This is a very rare situation where the server is totally broken.
2009-06-11 08:32:34 +00:00
Andrey Hristov
18f107f94c MFB: Reference decrement in own function. Make a function which is not
called externally static, from PHPAPI.
2009-06-11 08:31:10 +00:00
Felipe Pena
c3b2427610 - Fix the fix (Bug #46973 - IPv6 address filter rejects valid address) 2009-06-10 19:00:54 +00:00
Pierre Joye
f29591ceb5 - look for static lib too 2009-06-10 16:05:55 +00:00
Hannes Magnusson
929d82eec4 Fix extension loading order 2009-06-10 14:28:06 +00:00
Hannes Magnusson
f7887e7c54 Fix exception message 2009-06-10 13:43:43 +00:00
Ilia Alshanetsky
aafa45d804 Fixed bug #48512 (DOMDocument::validate() fails with both a E_NOTICE and
E_WARN if no DTD)

# Will MFH to 5.3 after RC
2009-06-10 12:25:41 +00:00
Antony Dovgal
b775205cec fix arginfo for curl_multi_info_read() 2009-06-10 11:09:48 +00:00
Pierre Joye
be5391a6d5 - MFB: put mpir headers in their own directory 2009-06-10 10:19:11 +00:00
andy wharmby
6b6c38043b Fix test - remove bogus variation 2009-06-09 20:18:29 +00:00
Pierre Joye
251b711eac - MFB: #41874, separate STDOUT and STDERR in exec functions 2009-06-09 14:07:06 +00:00
Pierre Joye
7cc3ad6313 - fix TS build 2009-06-09 10:03:42 +00:00
Pierre Joye
67f88a0c3f - ws 2009-06-09 09:51:56 +00:00
Scott MacVicar
518ad70390 Fix bug #48493 - spl_autoload_register can leave the HT in an inconsistent way.
Need to point the second elements previous item to head so we can traverse upwards.
2009-06-09 01:57:57 +00:00
Derick Rethans
edb4262bae - Updated to version 2009.9 (2009i) 2009-06-08 13:53:24 +00:00
Andrey Hristov
efc752375e Merge with the branch, someone made changes in PHP5_3 and did not merge.
Also switch off the zval cache for now.
2009-06-08 10:19:29 +00:00
Pierre Joye
4ab529f058 - MFB: sync with 1.0.2, improve perf x86-64 (patch by Solar Designer) 2009-06-08 08:45:36 +00:00
Scott MacVicar
3474172eb9 Change more things to the UTF-16 API and make SQLite3::enableExceptions() return the previous value. 2009-06-08 02:15:42 +00:00
Patrick Allaert
33fe2ad27f Removed credit 2009-06-07 21:26:45 +00:00
Patrick Allaert
77693a80b7 Fixed ldap_(first|next)_attribute() function producing 2 warning messages in case wrong parameters given 2009-06-07 20:00:32 +00:00
Matt Wilmas
756d134c45 Fixed bug #47836 (array operator [] inconsistency when the array has PHP_INT_MAX index value)
Also simplified related array_push() test
2009-06-07 19:28:02 +00:00
Patrick Allaert
e2d2ce43ad Fixed bug #48469 (ldap_get_entries() memory leaks on empty search results) 2009-06-07 13:06:03 +00:00
Matt Wilmas
fa54a9d0f3 Fixed error message grammar:
- "cannot" instead of "can not" (meaning "also can")
 - "than" instead of "then" (Hint: "then" should hardly be needed;
     you're not telling the order in which to do something)

... plus removed a couple ending. dots
2009-06-06 02:40:14 +00:00
Matt Wilmas
e9b382cc2e Added zend_eval_stringl and made create_function(), etc. binary-safe 2009-06-05 18:50:10 +00:00
Matt Wilmas
88127e2328 Fixed tests again after double->long conversion change (to match 5.2) 2009-06-05 17:15:18 +00:00
Greg Beaver
9948c520ca fixed isset() on sub-directories (isset('blah') if file 'blah/foo.php' exists) 2009-06-05 04:44:55 +00:00
Greg Beaver
4846e56d40 MFPECL: fix security vulnerability in phar's handling of long tar filenames 2009-06-04 20:00:01 +00:00
Matt Wilmas
9061bf39bd Updated tests after double->long conversion change (basically to match 5.2)
# Let me know about other failing tests I missed
2009-06-04 18:24:09 +00:00
Andrei Zmievski
14dc87e0ae MFB 2009-06-04 18:18:24 +00:00
Etienne Kneuss
f357b310a2 Include other flags as well 2009-06-04 14:46:08 +00:00
Hannes Magnusson
872e9725ee Fixed creating directory structure when extracting phars 2009-06-04 12:21:59 +00:00
Kalle Sommer Nielsen
de20dd7ac8 Fix build 2009-06-04 08:18:32 +00:00
Felipe Pena
59b0990c1c - Fixed tests 2009-06-04 01:14:48 +00:00
Brian Shire
08f7c7f016 Add test for Bug #47859 parse_ini_file() does not like asterisk (*) in key in the beginning 2009-06-03 19:37:22 +00:00
Ilia Alshanetsky
8768015b07 MFB: Fixed bug #46386 (Digest authentication with SOAP module fails against
MSSQL SOAP services)
2009-06-03 12:40:01 +00:00
Zoe Slattery
ab4ec6a5b4 Commiting testfest tests from tek 2009-06-03 12:29:57 +00:00
Pierre Joye
08528b4856 - fix title 2009-06-03 08:31:07 +00:00
Pierre Joye
0a170204f4 - MFB: fix parameter order and return value check in windows (Venkat Raman Don, Pierre)' link 2009-06-03 08:07:30 +00:00
Kalle Sommer Nielsen
5da75298a0 config.h is in this directory, not in ext/bcmath root, fixes re-compilation for me 2009-06-03 01:18:42 +00:00
Ilia Alshanetsky
ce046a899b ----------------------------------------------------------------------
Fixed test
2009-06-02 12:20:24 +00:00
Ilia Alshanetsky
5904ee8f8e MFB: Fixed bug #48273 (snmp*_real_walk() returns SNMP errors as values). 2009-06-01 13:11:09 +00:00
Zoe Slattery
f488c10b45 Fixes to work on Windows as well as Linux 2009-06-01 08:59:18 +00:00
Stanislav Malyshev
30846e5d0e fix for #48247 2009-05-31 21:29:54 +00:00
Ilia Alshanetsky
a1df5c8cb3 MFB: Fixed bug #48359 (Script hangs on snmprealwalk if OID is not
increasing)
2009-05-31 14:11:14 +00:00
Jani Taskinen
96d5773eb3 - No dots in error messages 2009-05-31 13:50:50 +00:00
Andrei Zmievski
3c3ae2812e Make a note. 2009-05-31 01:45:05 +00:00
Ulf Wendel
e92bf65c4c Fixing tests - messages/warnings can vary by version 2009-05-29 13:36:54 +00:00
Ulf Wendel
b592b26ff2 Updating test to reflect API changes. 2009-05-29 13:22:47 +00:00
Ulf Wendel
ce638000ae Skip test for libmysql. The MySQL C-API does not support it, mysqlnd does... 2009-05-29 13:12:24 +00:00
Andrey Hristov
1683d46dc9 Add support for mysql_stmt_store_result() from libmysql 6.0.8+ and 5.4.x 2009-05-29 13:09:22 +00:00
Ulf Wendel
d8d9ef2c62 1) The wording of a message can differ by version and by libmysql vs. mysqlnd. 2) %i is better than %s 2009-05-29 13:02:30 +00:00
Ulf Wendel
0653a585d1 Behaviour is undefined with libmysql, accept whatever libmysql may return. With mysqlnd you get the defined value of -1 to indicate 'no value'. 2009-05-29 12:55:39 +00:00
Andrey Hristov
37234bb393 Fix for the failing mysql_stmt_execute() test. Data was cleaned after
stmt_reset() but it should stay and be freed as later as next stmt_execute()
2009-05-29 12:19:26 +00:00
Ulf Wendel
3da36d58dc 'Fixing' test to reflect a libmysql vs. mysqlnd difference. With libmysql it is not defined what mysql_stmt_store_result() shall return when one tries to store the (non-existing) result set of a failed SQL statement, http://dev.mysql.com/doc/refman/6.0/en/mysql-stmt-store-result.html . mysqlnd will detect the SQL failure and return false. libmysql will return true. If you want libmysql to change, file a bug report at MySQL... I don't think there is a good way to work around this in the extension itself. 2009-05-29 11:59:09 +00:00
Zoe Slattery
9421908753 better fix 2009-05-29 11:47:42 +00:00
Ulf Wendel
b59d4f6ffc Another detail where mysqlnd is superior than libmysql. The mysql_info() from libmysql does not support SELECT: http://dev.mysql.com/doc/refman/6.0/en/mysql-info.html . mysqlnd does support it. Libmysql feature request filed http://bugs.mysql.com/bug.php?id=45189 2009-05-29 11:00:53 +00:00
Ulf Wendel
64c8da2ff0 Weaker test - libmysql/server error messages can differ by version 2009-05-29 10:34:07 +00:00
Ulf Wendel
12c301e7ec Weaker test: functions are only available if HAVE_EMBEDDED_MYSQLI is set. There is probably no proper way to check this condition in the user land. 2009-05-29 10:25:37 +00:00
Ulf Wendel
05fdee2c65 Skip when using libmysql. Likely a regression bug - http://bugs.mysql.com/bug.php?id=45184 2009-05-29 10:15:32 +00:00
Zoe Slattery
0106b6e2df fixing to work with older levels of libcurl 2009-05-29 09:45:42 +00:00
Andrey Hristov
6b21010022 The option has changed the name, hence we change the test 2009-05-29 08:58:10 +00:00
Andrey Hristov
9230362631 Fix a very well hidden error because of not being careful with CPP.
I usually don't make this mistake :)
2009-05-29 08:05:21 +00:00
Kalle Sommer Nielsen
8a84716527 * Cast long to float in the T1* functions, we don't loose any data here
* Fix min/max redefs
2009-05-29 00:18:53 +00:00
Scott MacVicar
d8d4c1d188 Fix bug #48416 - Force a cache size for ereg to stop it getting out of control. Lazy LRU here. 2009-05-28 21:56:35 +00:00