Commit Graph

25447 Commits

Author SHA1 Message Date
Pierre Joye
4c82b63e44 - add license 2009-06-26 07:25:38 +00:00
Johannes Schlüter
0da1b677b3 Add test 2009-06-25 15:04:14 +00:00
Felipe Pena
a27158a76c - Fixed bug #48696 (ldap_read() segfaults with invalid parameters) 2009-06-25 14:48:53 +00:00
Ilia Alshanetsky
ac88f10ea0 Fixed bug #48678 (DateInterval segfaults when unserialising) 2009-06-25 12:41:41 +00:00
Scott MacVicar
0dc0af527b Fix bug #48679 - Crash in SQLite with count on an unbuffered query set 2009-06-25 00:04:07 +00:00
Greg Beaver
5010fec2f0 fix Bug #48681: openssl signature verification for tar archives broken in ext/phar, merge small fixes to phar.phar generation from PHP_5_3 2009-06-24 22:19:47 +00:00
Felipe Pena
d5cb9c95b4 - Fixed memleak when depth arg is less than zero 2009-06-24 17:39:36 +00:00
Pierre Joye
f4aa4c3272 - MF53: license for libgd 2009-06-24 11:47:46 +00:00
Dmitry Stogov
2cdd26b0b7 Fixed bug #48643 (String functions memory issue) 2009-06-24 08:53:44 +00:00
andy wharmby
a6967d58e2 Fix test 2009-06-23 23:00:54 +00:00
andy wharmby
7d60127c1e New and fixed html tests. Tested in Windows, Linux and Linux 64. 2009-06-23 22:45:30 +00:00
andy wharmby
0dfd8754a6 New basic parse_str() tests. Tested on Windows,Linux and Lnux 64 bit. Some tests fail on PHP 6 (tagged with XFAIL) due to bug 48658 2009-06-23 22:39:42 +00:00
Gwynne Raskind
4817cf6b78 add S_IRWXU and friends as defined POSIX constants 2009-06-23 21:11:12 +00:00
Johannes Schlüter
6255234a6d Fix build problem (Kalle) 2009-06-23 18:14:03 +00:00
David Soria Parra
565e6bdbdf Fix bug #48644 mysqlnd does not compile with '--enable-mysqlnd-threading' 2009-06-23 14:14:32 +00:00
Johannes Schlüter
ed4b37eb39 The experimental warning sohuld be in the configure output... 2009-06-23 13:19:22 +00:00
Johannes Schlüter
8279c03681 The json header should be installed so other exts can use it 2009-06-23 13:09:20 +00:00
Hannes Magnusson
fb35a562ef Fix arginfo for libxml_disable_entity_loader() and
libxml_use_internal_errors()
2009-06-23 12:27:36 +00:00
Rob Richards
b408366658 add libxml_disable_entity_loader function 2009-06-23 10:49:00 +00:00
Kalle Sommer Nielsen
535e251612 Move these defines to config.w32.h 2009-06-23 06:55:45 +00:00
Pierre Joye
aa382805f6 - MF53: #48619, imap_search ALL segfaults 2009-06-22 20:35:46 +00:00
Christian Seiler
b5ffb2d9af - Fixed spl_autoload_functions/spl_autoload_unregister wrt. closures and
invokables.
2009-06-22 18:14:14 +00:00
Ilia Alshanetsky
8a5511cfc8 MFB: Fixed bug #48636 (Error compiling of ext/date on netware). 2009-06-22 13:43:06 +00:00
Scott MacVicar
ef76d96812 Specific test for bug #48276 2009-06-21 22:30:37 +00:00
Scott MacVicar
5345eec0b8 Fix bug #48276 - year is a long long so we need %lld so big endian systems print the correct value. 2009-06-21 22:18:53 +00:00
Hannes Magnusson
d19b44b95d MFB: Fix proto and arginfo 2009-06-21 20:41:51 +00:00
Ilia Alshanetsky
ca74bf9e44 MFB: Fixed bug #48620 (X-PHP-Originating-Script assumes no trailing CRLF in
existing headers)
2009-06-21 15:30:23 +00:00
Takeshi Abe
8990a91fd7 fixed bug #48555 (ImageFTBBox() differs from previous versions for texts with new lines) 2009-06-21 05:59:25 +00:00
Kalle Sommer Nielsen
663600b41d Fixed arginfo for array_map, patch by Matthew Fonda <matthewfonda@gmail.com> 2009-06-20 06:05:26 +00:00
Kalle Sommer Nielsen
6442cfaaf6 Fix memleak 2009-06-19 22:12:20 +00:00
andy wharmby
e4ef8e925a Fix test; remove spurious code 2009-06-18 21:53:14 +00:00
andy wharmby
a2dd5c26cd Basic tests for strftime(). Tested on Windows (all tests skip), Linux and Liinux 64 bit 2009-06-18 21:14:14 +00:00
Greg Beaver
c816d49384 fix EXPECT section of test 2009-06-18 18:12:10 +00:00
Derick Rethans
826378be43 - Updated to version 2009.10 (2009j) 2009-06-18 09:02:43 +00:00
Zoe Slattery
fe6e83b3aa Tests from Berlin test fest 2009-06-18 07:25:55 +00:00
Andrey Hristov
64046529f0 Fix two problems:
- The value of mysqli_get_client_info() has been changed recently and did
not include "mysqlnd" anymore thus the test suite was thinking the build
is always libmysql. This did not kept the suite from running pconn tests
- Going back to the libc allocator because the memory arena could be on a
  persistent connections. If the build is not debug there will be no error
  but the memory will be freed and in the second use of this pconn freed
  memory will be used - not good! For now the arena doesn't take an argument
  whether it should allocate persistently or not, thus persistent is safe
  for now.

Johannes gave his +1 to commit this.
2009-06-17 16:21:34 +00:00
Felipe Pena
a26dc7bd50 - Fixed bug #48578 (Can't build 5.3 on FBSD 4.11) (Rasmus) 2009-06-17 16:19:48 +00:00
Scott MacVicar
1217eab950 Update test to test a few more cases and another for calling prev() on a blank DLL. 2009-06-17 13:15:39 +00:00
Scott MacVicar
88994ce758 Add SplDoublyLinkedList::prev(), no point in having a DLL that only goes one way 2009-06-17 12:57:38 +00:00
Hannes Magnusson
ae9ba9cd60 fix skipf 2009-06-17 10:18:42 +00:00
Felipe Pena
ccfdb9b9ad - Fixed tests 2009-06-16 19:49:04 +00:00
andy wharmby
62b2bc8d55 New strcoll error test. Tested on Windows, Linux and Linux 64. 2009-06-16 19:39:37 +00:00
Andrey Hristov
56b1c8fe39 C-comments should be used 2009-06-16 17:59:19 +00:00
Pierre Joye
a6b40a6e88 - MF53: fix readlink in TS SAPI 2009-06-16 16:53:56 +00:00
Felipe Pena
8654130af4 - Fixed build (removed trailing comma) patch by Seiji Masugata <s.masugata at digicom.dnp.co.jp> 2009-06-16 14:29:18 +00:00
Andrey Hristov
7289831fe0 Memory usage optimisation. mysqlnd is not libmysql. mysqlnd does use the
Zend allocator, which means that is easier to hit memory_limit if you
have big stored (buffered) result sets. Before with libmysql you won't
hit memory_limit because libmysql uses libc's allocator and nothing is
checked. Now, with mysqlnd the situation is stricter and it is easier to
hit memory_limit. We try to optimize for big result sets. If a result set
is larger than 10 rows we will start freeing some data to keep memory usage
after 10 rows constant. This will help in the cases where a buffered result
set is scrolled forward only and just only once, or mysqlnd will need to
decode data from the network buffers again - yes, it is a trade-off between
CPU time and memory size. The best for big result sets is of course using
unbuffered queries - for comparison : 3 Million rows with buffered take
at least 180MB, with buffered you will stay at 3MB, and unbuffered will be
just 7-8% slower.
2009-06-16 13:06:45 +00:00
andy wharmby
9faad585d4 Fix typo in test 2009-06-16 11:37:11 +00:00
Andrey Hristov
5d3ea92ee9 Hardwire function call instead of using callbacks. We don't actually need
callbacks, it was done for making 2 functions static, not to pollute the
global functions space but that had its price of 8 bytes overheat per
allocation, which is just too much. Also making the app member 32b instead
of 64b, which should save additional 4 byte, to the total of 12 byte per
allocation of a row buffer.
2009-06-16 09:15:09 +00:00
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
Kalle Sommer Nielsen
9cc941b31a zstr should be used here, this nukes another compiler warning 2009-05-28 20:53:09 +00:00
Kalle Sommer Nielsen
f490cdfae3 % shouldn't be escaped here 2009-05-28 20:46:05 +00:00