Commit Graph

24688 Commits

Author SHA1 Message Date
Derick Rethans
1bc9247651 - Added scalar typehinting. 2010-05-20 19:18:35 +00:00
Christopher Jones
f291a1253d New current()/next() test 2010-05-20 17:55:58 +00:00
Felipe Pena
b7004eda82 - Added arginfo 2010-05-20 17:28:16 +00:00
Antony Dovgal
4463284456 fix ZTS build 2010-05-20 11:20:44 +00:00
Derick Rethans
2bc3611c74 - Fixed name. 2010-05-19 20:20:10 +00:00
Sara Golemon
340d57b13a Add parameter to openssl_(en|de)crypt 2010-05-19 20:05:09 +00:00
Michael Wallner
e012b36ac2 * fixed bug #47842 sscanf() does not support 64-bit values 2010-05-19 11:28:08 +00:00
Andrey Hristov
bf31c00948 And I thought I fixed that...
Part of the previous changeset - remove duplicated code/
The ifdefs were for debug purposes.
2010-05-18 16:35:17 +00:00
Andrey Hristov
fb28410d8f Fix comment 2010-05-18 15:02:50 +00:00
Pierre Joye
fa78b4497e - #51793, Add alpha argument to imagecolorset 2010-05-18 12:38:57 +00:00
Andrey Hristov
940e64dba3 Remove duplicated code.
Use one centralized functions for data extraction.
2010-05-18 11:50:31 +00:00
Andrey Hristov
560169068d Update test file 2010-05-18 11:36:54 +00:00
Andrey Hristov
7dd13d56cc Add iterator to mysqli_result. Works both for :
- USE_RESULT, can be iterated only once, kind of forward iterator
- STORE_RESULT, can be iterated multiple times
2010-05-18 10:39:26 +00:00
Michael Wallner
50cda403b1 * fixed bug #49819: STDOUT losing data with posix_isatty() 2010-05-18 07:25:29 +00:00
Pierre Joye
6d6b037001 - #43233, sasl support for ldap on windows 2010-05-17 20:09:42 +00:00
Pierre Joye
46c4029341 - #51844, checkdnsrr does not support types other than MX 2010-05-17 18:55:35 +00:00
Dmitry Stogov
04e72491bb Fixed a possible crash because of recursive GC invocation 2010-05-17 07:50:33 +00:00
Rasmus Lerdorf
2ef8ef9029 typo 2010-05-15 15:37:57 +00:00
Andrey Hristov
3ea05600e9 result_meta local storage 2010-05-14 16:42:17 +00:00
Andrey Hristov
8a093b3811 Allow overloading of mysqlnd_result_meta_init().
Add free space for future hooks.
2010-05-14 15:11:56 +00:00
Andrey Hristov
faf4659295 Export MYSQLND_PROTOCOL methods 2010-05-14 13:32:27 +00:00
Andrey Hristov
8691786ebd - Give possibility to overload mysqlnd_result_init().
- Always use conn->m->stmt_init instead of mysqlnd_stmt_init()
2010-05-14 13:18:39 +00:00
Andrey Hristov
dd85f9c2f2 OOM fixes 2010-05-14 13:04:33 +00:00
Pierrick Charron
1386a6fcc6 Added support for CURLOPT_MAX_RECV_SPEED_LARGE and CURLOPT_MAX_SEND_SPEED_LARGE. 2010-05-14 06:29:54 +00:00
Andrey Hristov
07619b7190 - initialize some variables
- initialize the methods in a shorter way, use the compiler.
 = on structures copies them. Allows also exportability of
 the methods.
2010-05-13 15:29:08 +00:00
Andrey Hristov
fccec600eb Export the methods of MYSQLND_NET 2010-05-13 14:15:23 +00:00
Andrey Hristov
4c1487577c Export the result_metadata methods to external modules. 2010-05-13 11:16:11 +00:00
Andrey Hristov
76fd19998d Somehow missed to commit this, for better fix for #51605 2010-05-13 11:06:00 +00:00
Andrey Hristov
6cefa510d6 Better fix for #51605 2010-05-13 11:05:09 +00:00
Dmitry Stogov
fdfdb1480e Fixed a possible resource destruction issues in shm_put_var() 2010-05-13 08:34:06 +00:00
Dmitry Stogov
f5ef32e7ab Fixed a possible memory corruption in ArrayObject::uasort() Reported by Stefan Esser 2010-05-13 08:09:54 +00:00
Felipe Pena
bcd9a87e2a - Fixed bug #51791 (constant() aborts execution when fail to check undefined constant) 2010-05-13 02:13:30 +00:00
Sara Golemon
1fd85e29de Rename JSON_Serializable to JsonSerializable per ML discussion 2010-05-12 16:42:48 +00:00
Dmitry Stogov
214d3bc248 Fixed a possible memory corruption in parse_str(). Reported by Stefan Esser 2010-05-12 11:32:25 +00:00
Dmitry Stogov
5fc060e671 Fixed a possible memory corruption in pack(). Reported by Stefan Esser 2010-05-12 11:04:57 +00:00
Michael Wallner
0bb08c61f8 Fixed bug #51725 (xmlrpc_get_type() returns true on invalid dates). (Mike) 2010-05-12 09:37:25 +00:00
Arnaud Le Blanc
4f3b619625 - code cleanups
- cleanup progress data from session vars as soon as all
   post data has been readden (upload_progress.cleanup
   ini setting allows to disable this)
2010-05-11 16:39:07 +00:00
Andrey Hristov
70b6fd2ae4 One more time fixing the tests, lets use $IS_MYSQLND which comes from connect.inc 2010-05-11 15:55:07 +00:00
Andrey Hristov
cab261ea16 Fix for mysqli_stmt_execute.phpt, should be ran only against
4.1+ servers. MySQL's SLEEP function is available since 5.0.12, thus
the tests that use this function should be ran only if the server
is at least 5.0.12.
2010-05-11 15:49:03 +00:00
Andrey Hristov
98585ccb37 These tests should be run only if mysqli uses mysqlnd. Part of fix for
Bug #51712 Test mysql_mysqlnd_read_timeout_long must fail on MySQL4
2010-05-11 15:27:03 +00:00
Ilia Alshanetsky
5d9b0a4a6f Removed double allocation of buffer inside openssl_random_pseudo_bytes() and cleanup code 2010-05-11 14:31:00 +00:00
Dmitry Stogov
2c5fecfeb4 Fixed a possible memory corruption in substr_replace() 2010-05-11 11:59:13 +00:00
Andrey Hristov
41ad139d17 Fix for bug #51605 (Mysqli zombie links) 2010-05-11 10:03:16 +00:00
Arnaud Le Blanc
6f3cea3870 Added session upload progress tests 2010-05-10 16:10:09 +00:00
Arnaud Le Blanc
da9448f3fd Added upload progress feedback in session data as describied
in RFC : http://wiki.php.net/rfc/session_upload_progress
2010-05-10 16:09:00 +00:00
Arnaud Le Blanc
d5a646480d Fix tests 2010-05-10 15:53:54 +00:00
Etienne Kneuss
74396cf3d2 fix the fix for the fix 2010-05-10 13:03:33 +00:00
Etienne Kneuss
815db040a9 Fix crash 2010-05-10 12:38:13 +00:00
Felipe Pena
8d46707889 - Fix crash when instantiating MultipleIterator 2010-05-10 01:39:58 +00:00
Kalle Sommer Nielsen
a31a2083af Well we do need zend_throw_exception_ex ;-) 2010-05-06 13:44:35 +00:00
Dmitry Stogov
77b2e54658 Fixed PDO objects binary incompatibility 2010-05-06 08:37:41 +00:00
Sara Golemon
1381b14eaa Add JSON_Serializable interface
Objects implementing JSON_Serializable will have
their ->jsonSerialize() method called

Similar to serialize() and __sleep()
2010-05-05 22:48:14 +00:00
Pierre Joye
754cb92b2b - nuke unused vars 2010-05-05 13:51:54 +00:00
Pierre Joye
bd2f9d56ec - #51063, news and test 2010-05-05 13:39:35 +00:00
Pierre Joye
b9730786a7 - #51063, implement getimagesizefromstring 2010-05-05 13:37:40 +00:00
Rob Richards
8a0450698d fix bug #48601 (xpath() returns FALSE for legitimate query)
add test
2010-05-05 11:40:11 +00:00
Dmitry Stogov
fa0a07ba97 Fixed bug #50698 (SoapClient should handle wsdls with some incompatiable endpoints). (Justin Dearing) 2010-05-05 07:43:45 +00:00
Rob Richards
d920d6226e fix bug #49490 (XPath namespace prefix conflict)
add test
2010-05-04 15:41:49 +00:00
Derick Rethans
e743bcd862 - Fixed bug #49081 (DateTime::diff() mistake if start in January and interval >
28 days). (Derick)
2010-05-04 15:11:41 +00:00
Andrey Hristov
d53337bbe7 OOM stability fixes 2010-05-04 14:02:42 +00:00
Andrey Hristov
447c693b2d Add possibility to control the allocator in when PHP is compiled
with debug
2010-05-04 13:49:43 +00:00
Rob Richards
798aca0d83 fix bug #51721 (mark DOMNodeList and DOMNamedNodeMap as Traversable) 2010-05-04 12:55:26 +00:00
Adam Harvey
5c5fd74fdb Fix for bug #48289 (iconv_mime_encode() quoted-printable scheme is broken).
Thanks to Hiroaki Kawai for the original patch.
2010-05-04 11:56:59 +00:00
Adam Harvey
574e578629 Alter the getmxrr() test to use lists.php.net (which we presumably control)
instead of ez.no (which we presumably don't) for the single MX record test.
2010-05-04 09:41:47 +00:00
Pierre Joye
cdadeed834 - Fixed bug #51732, Fileinfo __construct or open does not work with NULL 2010-05-04 08:48:58 +00:00
Andrey Hristov
5ca71c00f5 Handle OOM in mysqlnd_res::store_result_fetch_data 2010-05-03 19:32:07 +00:00
Pierre Joye
05ac8f5c52 - fix build (declaration must be first) 2010-05-03 19:31:50 +00:00
Andrey Hristov
9c276eee6c Handle OOM in mysqlnd_fetch_row_buffered_c() 2010-05-03 19:09:45 +00:00
Andrey Hristov
2b00096004 Handle OOM in mysqlnd_fetch_row_unbuffered_c() 2010-05-03 19:02:48 +00:00
Andrey Hristov
2b18a3ff93 Handle OOM stemming from mysqlnd_result_init in the same
function and up the stack.
2010-05-03 18:50:47 +00:00
Andrey Hristov
7de2607c12 Handle gracefully OOM in mysqlnd_mempool_create and up the stack 2010-05-03 17:07:18 +00:00
Andrey Hristov
c32bae720c Handle OOM in block_alloc_get_chunk, and also in the caller
in mysqlnd_wireprotocol.c
2010-05-03 16:20:46 +00:00
Andrey Hristov
ec0fe858c6 Remove unused parameter 2010-05-03 16:09:05 +00:00
Ilia Alshanetsky
676a8338a1 Fixed bug #51690 (Phar::setStub looks for case-sensitive __HALT_COMPILER()) 2010-05-03 14:41:40 +00:00
Andrey Hristov
57059d4e31 One more case to handle in case of OOM, in block_alloc_resize_chunk 2010-05-03 14:26:08 +00:00
Andrey Hristov
8e8348a4b0 Handle OOM when resizing blocks during data fetch 2010-05-03 14:16:04 +00:00
Andrey Hristov
2da3f5ba90 Fix compiler warnings - unused functions 2010-05-03 13:51:30 +00:00
Andrey Hristov
333581fcb4 Better handing of OOM in mysqlnd::set_client_option 2010-05-03 13:45:58 +00:00
Kalle Sommer Nielsen
5c628d550b Fix build, declarings first 2010-05-03 09:21:21 +00:00
Ilia Alshanetsky
74d4ddea3d - Fixed a possible stack exaustion inside fnmatch(). Reporeted by Stefan Esser 2010-05-02 19:34:21 +00:00
Raphael Geissert
1fc377bc99 Fix bug in unaligned memory access fix 2010-05-02 05:01:51 +00:00
Raphael Geissert
fbaef48278 Fix unaligned memory accesses in enchant (bug #51289) 2010-05-01 23:32:40 +00:00
Raphael Geissert
7d716f8373 Fix another typo s/exlcusive/exclusive 2010-05-01 18:30:38 +00:00
Raphael Geissert
59fa776c53 Fix typos s/connnection/connection 2010-05-01 18:27:42 +00:00
Etienne Kneuss
f9532adcc6 Fix misplaced code 2010-04-29 17:14:37 +00:00
Andrey Hristov
3010485d44 Handle OOM cases, in case of persistent connections this is real
and the Zend MM won't help.
2010-04-29 15:49:51 +00:00
Etienne Kneuss
e6ee260b25 Implement SplObjectStorage::getHash() 2010-04-29 15:47:41 +00:00
Andrey Hristov
aec94a464b Fix valgrind warning, usage of nirvana memory 2010-04-29 15:17:44 +00:00
Andrey Hristov
60db5154d2 Add a test case for the recently fixed memleak 2010-04-29 13:19:57 +00:00
Andrey Hristov
ac172db01f Fix possible crashes in case of OOM, as well as a leak. 2010-04-29 13:13:41 +00:00
Antony Dovgal
c23d902e0b fix tests 2010-04-29 12:48:06 +00:00
Andrey Hristov
d7abb57745 Try blob columns instead of int, and insert a lot of data at once 2010-04-29 12:07:02 +00:00
Andrey Hristov
6c1a2831f6 Fix crash if OOM and USE_ZEND_ALLOC=0 2010-04-29 11:49:08 +00:00
Christopher Jones
2b024611de Bug #51691 (Unnecessary realloc causes crashes in PHP trunk tests with interned strings). Updated tests check some other edge cases 2010-04-29 05:07:16 +00:00
Christopher Jones
1238d48abf Remove obsolete test 2010-04-29 05:07:03 +00:00
Derick Rethans
63a153eefd - Updated to version 2010.9 (2010i) 2010-04-28 23:03:36 +00:00
Christopher Jones
14014553c3 Mask schemaname in error messages 2010-04-28 17:26:59 +00:00
Felipe Pena
69efd7f5c7 - Fix test 2010-04-28 16:33:36 +00:00
Andrey Hristov
6d88d1a75e Fixed few buffer overflows reported by Stefan Esser. 2010-04-28 15:35:52 +00:00
Rob Richards
0a34d10783 revert change #298288: Remove old dsp/dsw/makefile files 2010-04-28 14:41:51 +00:00