Compare commits

...
5914 Commits
Author SHA1 Message Date
Johannes Schlüter f0799ceeb4 PHP 5.3.19 2012-11-21 21:07:23 +01:00
Johannes Schlüter ff65385742 5.3.19RC1 2012-11-07 23:58:36 +01:00
Xinchen Hui 7fcbe4d546 Fixed bug #63447 (max_input_vars doesn't filter variables when mbstring.encoding_translation = On) 2012-11-07 17:05:24 +08:00
Rasmus Lerdorf 0ee5d18f91 News entry for png memleak fix 2012-11-05 21:06:18 -08:00
Rasmus Lerdorf a983ded9bd Merge branch 'PHP-5.3' of git.php.net:php-src into PHP-5.3 2012-11-05 20:58:04 -08:00
Rasmus Lerdorf f8c280d85a These need to be volatile in order to prevent leaking after the
longjmp in the error handler
2012-11-05 20:57:15 -08:00
Xinchen Hui 3fe3029ecb Fixed bug #62444 (Handle leak in is_readable on windows). 2012-11-02 18:53:06 +08:00
Anatoliy Belsky a2e4404bc8 Fixed bug #63241 PHP fails to open Windows deduplicated files.
Fix by (daniel dot stelter-gliese at innogames dot de).
No test is supplied because the issue addresses
the new feature of the Windows Server 2012 and
would need a very specific filesystem setup.
2012-10-31 22:41:03 +01:00
Andrey Hristov a17559d422 read 1 instead of 2 bytes. The next 2 bytes are 2 and thus not a problem 2012-10-31 18:26:09 +01:00
David Soria Parra b3cd64afef NEWS for bug #62593 2012-10-30 15:26:39 +01:00
Will Fitch d864063a18 Bug #62593 Updated to account for INOUT parameters 2012-10-30 14:32:32 +01:00
Will Fitch d922e801ee Bug #62593 Updated test to verify bindParam doesn't change original value 2012-10-30 14:32:27 +01:00
Will Fitch 646c0e5738 Bug #62593 Updated to always treat zval by value 2012-10-30 14:32:22 +01:00
Will Fitch f0835c002d Bug #62593 Added test for change 2012-10-30 14:32:16 +01:00
Will Fitch 7ea4f73ad4 Bug #62593 Updated pdo_pgsql driver to convert boolean values to pg native format in emulation mode 2012-10-30 14:32:09 +01:00
Xinchen Hui 2f1c4064f8 Fixed bug #63389 (Missing context check on libxml_set_streams_context() causes memleak)
Simply change the expect parameter type, the valid of the resource will
be checked in using time.
2012-10-30 11:08:14 +08:00
Derick Rethans b5344e267a - Updated to version 2012.8 (2012h) 2012-10-27 15:19:54 +01:00
ULF WENDEL 848780606d Fix for bug #62820 well hidden beneath a ton of whitespace changes. Do not use this pdo factory stuff - you get a line with an error on it, use the mysql stuff in the tests 2012-10-23 14:58:16 +02:00
ULF WENDEL bac9d118ed Merge branch 'PHP-5.3' of git.php.net:php-src into PHP-5.3
* 'PHP-5.3' of git.php.net:php-src:
  fixed a typo in the error message
  Fixed bug #63297 Phar fails to write an openssl based signature
  enabled libxpm for gd on windows
2012-10-23 13:15:46 +02:00
Anatoliy Belsky 6e23cfeba4 fixed a typo in the error message 2012-10-25 09:26:44 +02:00
Anatoliy Belsky a88379e03d Fixed bug #63297 Phar fails to write an openssl based signature
Unitialized values warnings seem to be everyday life
when working with openssl. For more read
http://www.openssl.org/support/faq.html#PROG13
So just fixing so the bug, no care about those
warnings.
2012-10-24 13:38:44 +02:00
Anatoliy Belsky b48e163c35 enabled libxpm for gd on windows 2012-10-24 10:26:27 +02:00
ULF WENDEL dfeb91acc7 Merge branch 'PHP-5.3' of git.php.net:php-src into PHP-5.3
* 'PHP-5.3' of git.php.net:php-src: (123 commits)
  Re-fixed bug #60901 (Improve "tail" syntax for AIX installation)
  updated NEWS
  Fixed bug #63284 PCRE upgrade to 8.31
  preg indenpent test script for #63055
  Update libmagic.patch
  Add fix & missing fix
  Fixed bug #63307 (Unused variable in oci8.c)
  Fixed bug #63265 (Add ORA-00028 to the PHP_OCI_HANDLE_ERROR macro)
  - Updated to version 2012.7 (2012g)
  SUpport newer bisons.
  Merge the fix for #61964 to 5.3, which will fix #63304
  indent
  better fix for #63055
  Fixed bug #63055 (Segfault in zend_gc with SF2 testsuite)
  PHP 5.3.18 NEWS
  fix NEWS
  fix compilation failure on 32/64bit linux systems, when libmysql is used  with ext/mysql
  Remove executable permission on inc
  Remove executable permission on phpt
  Fixed bug #63236 (Executable permission on various source files)
  ...
2012-10-22 13:37:37 +02:00
Christopher Jones dbb72de6c7 Re-fixed bug #60901 (Improve "tail" syntax for AIX installation)
The original fix broke Solaris installs of OCI8
2012-10-21 22:17:47 -07:00
Anatoliy Belsky 7293cb7250 updated NEWS 2012-10-19 09:56:02 +02:00
Anatoliy Belsky 276c5de0d8 Fixed bug #63284 PCRE upgrade to 8.31 2012-10-19 09:49:28 +02:00
Xinchen Hui 90bd54c46e preg indenpent test script for #63055 2012-10-19 11:22:56 +08:00
Xinchen Hui 6444eef27b Update libmagic.patch 2012-10-19 11:14:14 +08:00
Christopher Jones 106c70e76e Add fix & missing fix 2012-10-18 18:50:18 -07:00
Christopher Jones af14da5714 Fixed bug #63307 (Unused variable in oci8.c)
An output section for oci_internal_debug() was setting but not using a variable
2012-10-18 17:53:00 -07:00
Christopher Jones 79a048f76f Merge branch 'PHP-5.3' of https://git.php.net/repository/php-src into PHP-5.3
* 'PHP-5.3' of https://git.php.net/repository/php-src:
  - Updated to version 2012.7 (2012g)
  SUpport newer bisons.
  Merge the fix for #61964 to 5.3, which will fix #63304
  indent
  better fix for #63055
  Fixed bug #63055 (Segfault in zend_gc with SF2 testsuite)
  PHP 5.3.18 NEWS
  fix NEWS
  fix compilation failure on 32/64bit linux systems, when libmysql is used  with ext/mysql
  Cover have_ssl=NO and have_ssl=DISABLED
  Minor changes for MySQL 5.6
  NEWS for 76601c4
  Fix bug #63240 on stream_get_line()
  extended the SKIPIF section with ICU 49 (sync with 5.4 branch)
  fixed tests for gd having freetype >= 2.4.10
2012-10-18 17:37:21 -07:00
Christopher Jones 131dd88505 Fixed bug #63265 (Add ORA-00028 to the PHP_OCI_HANDLE_ERROR macro)
Improve high availability for explicitly terminated connections.
2012-10-18 17:33:51 -07:00
Derick Rethans 8f7a6c3029 - Updated to version 2012.7 (2012g) 2012-10-18 21:53:03 +01:00
Derick Rethans 7aed21c557 SUpport newer bisons. 2012-10-18 17:53:21 +01:00
Xinchen Hui 0d7965f0a3 Merge the fix for #61964 to 5.3, which will fix #63304 2012-10-18 23:29:33 +08:00
Xinchen Hui db2dc7a6a4 indent 2012-10-18 20:13:14 +08:00
Xinchen Hui e88cdaa014 better fix for #63055 2012-10-18 20:10:35 +08:00
Xinchen Hui 8bd5e15ff7 Fixed bug #63055 (Segfault in zend_gc with SF2 testsuite) 2012-10-18 17:31:27 +08:00
Johannes Schlüter 3899adb46f PHP 5.3.18 NEWS 2012-10-17 18:25:40 +02:00
Andrey Hristov 505836e999 fix NEWS 2012-10-17 17:56:17 +02:00
Andrey Hristov 7314ed535f Merge branch 'PHP-5.3' of ssh://git.php.net/php-src into PHP-5.3 2012-10-17 17:23:37 +02:00
Andrey Hristov c50d732f76 fix compilation failure on 32/64bit linux systems, when libmysql is used
with ext/mysql
2012-10-17 17:22:31 +02:00
Christopher Jones 0da5517cb9 Merge branch 'PHP-5.3' of https://git.php.net/repository/php-src into PHP-5.3
* 'PHP-5.3' of https://git.php.net/repository/php-src:
  Remove executable permission on inc
2012-10-10 17:28:31 -07:00
Xinchen Hui 1b9e0de2cc Remove executable permission on inc 2012-10-10 10:44:34 +08:00
Christopher Jones 9ea862954b Merge branch 'PHP-5.3' of https://git.php.net/repository/php-src into PHP-5.3
* 'PHP-5.3' of https://git.php.net/repository/php-src:
  Remove executable permission on phpt
2012-10-09 19:37:02 -07:00
Xinchen Hui 610c7fbe7b Remove executable permission on phpt 2012-10-10 10:27:49 +08:00
Christopher Jones b597464905 Merge branch 'PHP-5.3' of https://git.php.net/repository/php-src into PHP-5.3
* 'PHP-5.3' of https://git.php.net/repository/php-src:
  Fixed bug #63236 (Executable permission on various source files)
  Fixed bug #63235 (buffer overflow in use of SQLGetDiagRec)
2012-10-08 22:51:54 -07:00
Xinchen Hui 6284ef112e Fixed bug #63236 (Executable permission on various source files) 2012-10-09 13:28:31 +08:00
Xinchen Hui 45e0d452c5 Fixed bug #63235 (buffer overflow in use of SQLGetDiagRec) 2012-10-09 13:13:51 +08:00
Christopher Jones 64cc5fc15d Merge branch 'PHP-5.3' of https://git.php.net/repository/php-src into PHP-5.3
* 'PHP-5.3' of https://git.php.net/repository/php-src:
  exposing the libxpm version in phpinfo
  PHP-5.3 branch is 5.3.19 now
  reverted the previous fix for libpng include
  fixed include checks for libpng under win
  Avoding superfluous function call
  Add test for #35895
  Update NEWS
  FD_ZERO file descriptors before calling curl_multi_fdset
  Fixed bug #62216
  - Fixed bug #62887 (Only /status?plain&full gives "last request cpu")
  - Fixed bug #62947 (Unneccesary warnings on FPM)
  - add missing php-fpm.service.in
  - Fixed bug #63085 (Systemd integration and daemonize)
  - Fixed bug #62954 (startup problems fpm / php-fpm) - Fixed bug #62886 (PHP-FPM may segfault/hang on startup)
  - Updated to version 2012.6 (2012f)
  - Updated to version 2012.5 (2012e)
  - Updated to version 2012.4 (2012d)
2012-10-08 16:13:03 -07:00
Anatoliy Belsky 5d9fb8ffeb exposing the libxpm version in phpinfo 2012-10-04 18:20:02 +02:00
Derick Rethans b004a04f0a Merge branch 'PHP-5.3' of git.php.net:/php-src into PHP-5.3 2012-10-04 08:39:34 +01:00
Johannes Schlüter 64c09f68ec PHP-5.3 branch is 5.3.19 now 2012-10-04 02:35:42 +02:00
Anatoliy Belsky 92a46fe07e reverted the previous fix for libpng include 2012-10-02 09:57:44 +02:00
Anatoliy Belsky 0165eec1ea fixed include checks for libpng under win 2012-10-02 09:39:34 +02:00
Xinchen Hui 4f860a4412 Avoding superfluous function call 2012-10-02 00:28:38 +08:00
Xinchen Hui af0c22537a Add test for #35895 2012-10-02 00:27:35 +08:00
ULF WENDEL da541ff561 Cover have_ssl=NO and have_ssl=DISABLED 2012-09-29 18:54:54 +02:00
ULF WENDEL 20e76f4487 Minor changes for MySQL 5.6 2012-09-29 12:10:24 +02:00
Gustavo Lopes 519f93ef99 NEWS for 76601c4 2012-10-12 20:27:53 +02:00
Gustavo Lopes 76601c4fd1 Fix bug #63240 on stream_get_line()
stream_get_line() could contain the delimiter string if that string
had more than one character. The bug manifested itself when a read on
the stream ended with part of the delimiter string and the read after
would start with the rest of the delimiter string; provided that
the data of first read did not complete the max length result of the
call to stream_get_line() with the partial delimiter used in that max
length return. In that case, the delimiter will still appear in
the result, divided in two subsequent return values. That is not a bug.

See <http://www.mail-archive.com/internals@lists.php.net/msg61325.html>
2012-10-12 20:23:43 +02:00
Anatoliy Belsky 5020b51d72 extended the SKIPIF section with ICU 49 (sync with 5.4 branch) 2012-10-12 19:50:35 +02:00
Anatoliy Belsky 131d7d7a89 fixed tests for gd having freetype >= 2.4.10 2012-10-12 19:34:31 +02:00
Pierrick Charron ec36192390 Update NEWS 2012-09-28 15:26:53 -04:00
Pierrick Charron 936553d666 FD_ZERO file descriptors before calling curl_multi_fdset
As per curl documentation http://curl.haxx.se/libcurl/c/curl_multi_fdset.html
we need to FD_ZERO file descriptors before calling the curl_multi_fdset function
2012-09-28 15:21:03 -04:00
Jerome Loyet 4358e90a8f Merge branch 'bug62216' into PHP-5.3
* bug62216:
  Fixed bug #62216
2012-09-28 11:20:47 +02:00
Jerome Loyet bb02fd5772 Fixed bug #62216
Add PID to php-fpm init.d script
2012-09-28 11:18:08 +02:00
Jerome Loyet 151b16cf7f - Fixed bug #62887 (Only /status?plain&full gives "last request cpu") 2012-09-28 01:24:52 +02:00
Jerome Loyet e31553c204 - Fixed bug #62947 (Unneccesary warnings on FPM) 2012-09-28 01:08:08 +02:00
Jerome Loyet 2259a8f18b - add missing php-fpm.service.in 2012-09-28 00:47:56 +02:00
Jerome Loyet 851a04bb7b - Fixed bug #63085 (Systemd integration and daemonize) 2012-09-28 00:33:05 +02:00
Jerome Loyet 75c63c5503 - Fixed bug #62954 (startup problems fpm / php-fpm)
- Fixed bug #62886 (PHP-FPM may segfault/hang on startup)
2012-09-27 23:54:35 +02:00
Christopher Jones bf50416744 Merge branch 'PHP-5.3' of https://git.php.net/repository/php-src into PHP-5.3
* 'PHP-5.3' of https://git.php.net/repository/php-src:
  Correct the test summary
  Fixed bug #60723 (error_log error time has changed to UTC ignoring default timezo)
  Avoid calling select if maxfd returned by curl_multi_fdset is -1
  Fixed bug #63111 (is_callable() lies for abstract static method)
  updated lib versions
2012-09-26 16:31:14 -07:00
Jerome Loyet a9db9efa0c Merge branch 'PHP-5.3' of git.php.net:php-src into PHP-5.3
* 'PHP-5.3' of git.php.net:php-src: (29 commits)
  Correct the test summary
  Fixed bug #60723 (error_log error time has changed to UTC ignoring default timezo)
  Avoid calling select if maxfd returned by curl_multi_fdset is -1
  Fixed bug #63111 (is_callable() lies for abstract static method)
  updated lib versions
  Fixed bug #61442 (exception threw in __autoload can not be catched)
  updated libary versions
  split tests for the new zlib version on win
  Fixed Bug #63103 (ext\curl\tests\bug62839.phpt broken)
  test should fail
  Fixed bug #63093 (Segfault while load extension failed in zts-build).
  Add XFAIL test for bug #62852
  Revert "Fixed bug #62852 (Unserialize invalid DateTime causes crash)"
  Change package.xml fix description
  Fixed bug #60901 (Improve "tail" syntax for AIX installation)
  This will become 5.3.18
  Update RELEASE PROCESS
  fix NEWS after releses
  Fix doc bug #63032 (Number of release in documentation).
  - Fixed bug #61767 (Shutdown functions not called in certain error situation) - Fixed bug #60909 (custom error handler throwing Exception + fatal error = no shutdown function)
  ...
2012-09-26 20:18:21 +02:00
Xinchen Hui 2cbc4053ae Correct the test summary 2012-09-24 19:46:40 +08:00
Xinchen Hui 923511d364 Fixed bug #60723 (error_log error time has changed to UTC ignoring default timezo)
Cherry pick to 5.3
2012-09-24 10:59:06 +08:00
Pierrick Charron 2e8ab65270 Avoid calling select if maxfd returned by curl_multi_fdset is -1
As per libcurl documentation :

When libcurl returns -1 in max_fd, it is because libcurl currently
does something that isn't possible for your application to monitor
with a socket and unfortunately you can then not know exactly when
the current action is completed using select().
2012-09-22 10:15:40 -04:00
Dmitry Stogov 46458c2c65 Merge branch 'PHP-5.3' of git.php.net:php-src into PHP-5.3
* 'PHP-5.3' of git.php.net:php-src:
  updated lib versions
2012-09-21 15:17:21 +04:00
Dmitry Stogov 4db74b7f19 Fixed bug #63111 (is_callable() lies for abstract static method) 2012-09-21 13:07:14 +04:00
Anatoliy Belsky d59c1371c2 updated lib versions 2012-09-21 09:57:22 +02:00
Christopher Jones f81c312945 Merge branch 'PHP-5.3' of https://git.php.net/repository/php-src into PHP-5.3
* 'PHP-5.3' of https://git.php.net/repository/php-src:
  Fixed bug #61442 (exception threw in __autoload can not be catched)
2012-09-19 17:09:21 -07:00
Xinchen Hui fd0b3ea663 Fixed bug #61442 (exception threw in __autoload can not be catched) 2012-09-19 19:40:59 +08:00
Christopher Jones 40afaa957b Merge branch 'PHP-5.3' of https://git.php.net/repository/php-src into PHP-5.3
* 'PHP-5.3' of https://git.php.net/repository/php-src:
  updated libary versions
  split tests for the new zlib version on win
  Fixed Bug #63103 (ext\curl\tests\bug62839.phpt broken)
2012-09-18 18:31:05 -07:00
Anatoliy Belsky 6752f38ccc updated libary versions 2012-09-18 10:18:26 +02:00
Anatoliy Belsky 3ad033ffba split tests for the new zlib version on win 2012-09-18 09:59:49 +02:00
Xinchen Hui e66a5ce56f Fixed Bug #63103 (ext\curl\tests\bug62839.phpt broken) 2012-09-18 10:46:58 +08:00
Christopher Jones f1af61de0b Merge branch 'PHP-5.3' of https://git.php.net/repository/php-src into PHP-5.3
* 'PHP-5.3' of https://git.php.net/repository/php-src:
  test should fail
2012-09-17 17:10:53 -07:00
Xinchen Hui eb881a1dd1 test should fail 2012-09-17 11:20:24 +08:00
Christopher Jones 836c4e3aef Merge branch 'PHP-5.3' of https://git.php.net/repository/php-src into PHP-5.3
* 'PHP-5.3' of https://git.php.net/repository/php-src:
  Fixed bug #63093 (Segfault while load extension failed in zts-build).
  Add XFAIL test for bug #62852
  Revert "Fixed bug #62852 (Unserialize invalid DateTime causes crash)"
2012-09-16 18:37:25 -07:00
Xinchen Hui 4c6678d605 Fixed bug #63093 (Segfault while load extension failed in zts-build). 2012-09-15 11:50:16 +08:00
Xinchen Hui 1b13ff6ec7 Add XFAIL test for bug #62852 2012-09-15 11:29:47 +08:00
Xinchen Hui e766f85405 Revert "Fixed bug #62852 (Unserialize invalid DateTime causes crash)"
see: http://news.php.net/php.bugs/173451

This reverts commit 46a3f25772.
2012-09-15 11:26:21 +08:00
Derick Rethans 78354f30d9 - Updated to version 2012.6 (2012f) 2012-09-14 09:38:31 +01:00
Christopher Jones 30981836fa Merge branch 'bug60901' into PHP-5.3
* bug60901:
  Change package.xml fix description
  Fixed bug #60901 (Improve "tail" syntax for AIX installation)
2012-09-13 22:43:37 -07:00
Christopher Jones 9f44844d7c Change package.xml fix description 2012-09-13 22:43:10 -07:00
Christopher Jones bbf5978e26 Fixed bug #60901 (Improve "tail" syntax for AIX installation) 2012-09-13 22:40:55 -07:00
Johannes Schlüter 9e91d621e3 This will become 5.3.18 2012-09-13 23:08:30 +02:00
David Soria Parra 33fcec5c4f Update RELEASE PROCESS
Some parts of the release process are outdated, not needed anymore
or still reference cvs.
2012-09-13 20:19:23 +02:00
Johannes Schlüter 0cc0f73fc3 fix NEWS after releses 2012-09-12 23:35:05 +02:00
Adam Harvey f66642aae1 Fix doc bug #63032 (Number of release in documentation).
Also add a bonus grammar fix.
2012-09-10 10:05:15 +08:00
Dmitry Stogov b29dc146b9 - Fixed bug #61767 (Shutdown functions not called in certain error situation)
- Fixed bug #60909 (custom error handler throwing Exception + fatal error = no shutdown function)
2012-09-06 11:26:40 +04:00
Xinchen Hui 94582f9398 year++
missed the .re files in 5.3
2012-09-05 23:47:51 +08:00
Xinchen Hui 5f9023ca38 Correct PHP version 2012-09-05 23:41:42 +08:00
Xinchen Hui d64d9e3351 year++ 2012-09-05 23:08:05 +08:00
Dmitry Stogov 485c09a376 Fixed bug #50997 (SOAP Error when trying to submit 2nd Element of a choice). 2012-09-03 11:49:58 +04:00
Dmitry Stogov 7e816c0921 Fixed bug #50997 (SOAP Error when trying to submit 2nd Element of a choice) 2012-09-03 11:46:47 +04:00
Xinchen Hui 67d7d03f00 Fixed bug #62987 (Assigning to ArrayObject[null][something] overrides all undefined variables)
The get_zval_ptr_ptr of spl_array handler should act as same as the vm's
2012-09-01 14:21:34 +08:00
Xinchen Hui 5dc2cef370 Fixed bug #62976 (Notice: could not be converted to int when comparing some builtin classes) 2012-08-31 11:22:43 +08:00
Felipe Pena 8afb848e18 - BFN 2012-08-30 09:33:35 -03:00
Felipe Pena de884997e0 - Fixed bug #62955 (Only one directive is loaded from "Per Directory Values" Windows registry) 2012-08-30 09:32:13 -03:00
Jerome Loyet 557200b472 Merge branch 'PHP-5.3' of git.php.net:php-src into PHP-5.3
* 'PHP-5.3' of git.php.net:php-src: (59 commits)
  Fixed defective cloning in ext/intl classes
  Fixed bug (segfault while build with zts and GOTO vm-kind)
  better fix
  Fix test
  Fixed bug #62904 (Crash when cloning an object which inherits SplFixedArray)
  ZTS fix introduced by Felipe must also go into 5.3
  Updated INSTALL. Generated from the XML Docs.
  Update NEWS given a5d0c1e2
  Fix handling of several uinitialized intl objects
  Fixed bug #62885 (mysqli_poll - Segmentation fault)
  - Removed PHP 6 checks
  skip test properly
  Added test for bug #51353. It'll be skipped by default and must be activated manually.
  Move test files to tests dir
  skip test for bug 43130 on firebird , not relevant
  - Value stored to var is never used
  - Value stored to var is never used
  - Value stored to var is never used
  - Value stored to var is never used
  - Value stored to var is never used
  ...
2012-08-30 08:53:36 +02:00
Gustavo Lopes 0410b4e60f Fixed defective cloning in ext/intl classes
See also bug #62915

Cherry picked from 886a50a (I forgot about 5.3)

Conflicts:
	ext/intl/spoofchecker/spoofchecker_class.c
	ext/intl/transliterator/transliterator_class.c
2012-08-26 23:53:57 +02:00
Xinchen Hui d92a89fe52 Fixed bug (segfault while build with zts and GOTO vm-kind) 2012-08-25 21:47:53 +08:00
Xinchen Hui 55d680e968 better fix 2012-08-24 18:21:49 +08:00
Xinchen Hui 7bedd275eb Fix test 2012-08-24 18:18:38 +08:00
Derick Rethans e5bfcd340a Merge branch 'PHP-5.3' of git.php.net:/php-src into PHP-5.3 2012-08-24 10:55:17 +02:00
Xinchen Hui 13bcf685cb Fixed bug #62904 (Crash when cloning an object which inherits SplFixedArray) 2012-08-23 23:27:16 +08:00
Anatoliy Belsky eca4fc6991 ZTS fix introduced by Felipe must also go into 5.3 2012-08-23 13:32:06 +02:00
Philip Olson 6a8db0c081 Updated INSTALL. Generated from the XML Docs. 2012-08-22 23:33:29 -07:00
Gustavo Lopes ca4dd76160 Update NEWS given a5d0c1e2 2012-08-22 23:04:46 +02:00
Gustavo Lopes a5d0c1e21b Fix handling of several uinitialized intl objects 2012-08-22 22:32:51 +02:00
Xinchen Hui e5bdd2c0ee Fixed bug #62885 (mysqli_poll - Segmentation fault) 2012-08-22 13:41:47 +08:00
Felipe Pena 85fa4d7747 - Removed PHP 6 checks 2012-08-21 20:15:34 -03:00
Xinchen Hui 60ad16e11f skip test properly 2012-08-21 22:11:22 +08:00
Anatoliy Belsky 92153dcfe3 Added test for bug #51353. It'll be skipped by default and must be
activated manually.
2012-08-21 13:22:00 +02:00
Reeze Xia 0cdc1f5626 Move test files to tests dir
There are 7 files duplicated, so those files was deleted
2012-08-21 14:32:39 +08:00
Popa Adrian Marius b9a050100c skip test for bug 43130 on firebird , not relevant 2012-08-20 16:56:37 +03:00
Felipe Pena f4054afe40 - Value stored to var is never used 2012-08-19 15:09:14 -03:00
Felipe Pena 3dd256a67b - Value stored to var is never used 2012-08-19 14:50:49 -03:00
Felipe Pena 50ab6c63a7 - Value stored to var is never used 2012-08-19 14:34:38 -03:00
Felipe Pena 6cd0e446dd - Value stored to var is never used 2012-08-19 12:55:38 -03:00
Felipe Pena 001966c754 - Value stored to var is never used 2012-08-19 12:44:44 -03:00
Felipe Pena dc1138b102 - Value stored to var is never read 2012-08-19 12:13:48 -03:00
Xinchen Hui 8b87c6df84 Update NEWS 2012-08-19 18:33:06 +08:00
Reeze Xia 46a3f25772 Fixed bug #62852 (Unserialize invalid DateTime causes crash) 2012-08-19 17:57:45 +08:00
Matt Ficken 1a23d42909 More intl tests extracted from symfony 2012-08-17 20:29:08 +02:00
Pierrick Charron 9cf0139460 Fixed bug #62839
curl_copy_handle segfault with CURLOPT_FILE. The refcount was incremented
before the assignement.
2012-08-16 14:48:44 -04:00
Antony Dovgal 8649e4236b Fixed bug #62838
enchant_dict_quick_check() destroys zval, but fails to initialize it
2012-08-16 14:32:55 +04:00
Christopher Jones 3e0b33ed62 Merge branch 'skipif1' into PHP-5.3
* skipif1:
  Fix skipifs
2012-08-14 14:12:27 -07:00
Christopher Jones 6524a530df Fix skipifs
Skipifs were referencing an unset variable
2012-08-14 14:10:20 -07:00
Christopher Jones 8c3bf96022 Small test tidy up
Make some test changes so the tests can be run with the CLI webserver
2012-08-14 11:41:36 -07:00
Xinchen Hui 8848778a59 Merge fix e7535e06e6 to 5.3
thanks for reeze.xia@gmail.com notice this
2012-08-15 01:06:10 +08:00
Xinchen Hui a5a409ebff Fixed bug (segfault due to retval is not initialized) 2012-08-15 00:44:47 +08:00
Nikita Popov e1c610fb44 Fix exif test failure
There are two slightly different error messages for invalid pointers, so
make the pattern slightly less strict to account for both.
2012-08-14 17:33:38 +02:00
Xinchen Hui da14cdd6f3 Merge branch 'skip-memory-exhaust-tests' of https://github.com/reeze/php-src into PHP-5.3 2012-08-14 13:58:15 +08:00
Nikita Popov 7aed239050 Ask for less random data in mcrypt_create_iv
Otherwise the RNG blocks and the test takes a lot of time to run (and
occasionally fails).
2012-08-13 22:01:19 +02:00
Nikita Popov 9bc1af1e58 Rename mcrypt_cbf -> mcrypt_cfb
Also fix ECB -> CFB in the initialization vector size call (not that it
makes a difference, they have the same size).
2012-08-13 22:01:03 +02:00
Xinchen Hui 4970926e45 Fixed bug #62763 (register_shutdown_function and extending class) 2012-08-12 20:58:09 +08:00
Xinchen Hui e1180b4f1a Fixed bug #62795 (Zip extension version not defined) 2012-08-11 15:59:06 +08:00
Reeze Xia 0239437903 Skip tests reply on Zend MM turned on
Those two tests have expect memory exhausted fatal error
2012-08-11 00:34:37 +08:00
Xinchen Hui 7130887719 Fix test, from PR 158 2012-08-11 00:22:52 +08:00
Daniel Veillard c4b26cc1b0 Update to work with libxml 2.9.0 2012-08-09 14:02:33 -04:00
Matt Ficken ed793b2a3f Added the intl tests extracted from Symfony. These are making the intl ext crash with ICU at least 4.6, but probably with earlier versions too. 2012-08-06 14:07:42 +02:00
Derick Rethans 0a2833bbef - Updated to version 2012.5 (2012e) 2012-08-06 12:59:38 +01:00
Stanislav Malyshev a239658b9e fix for #62460 2012-08-05 20:31:08 -07:00
Reeze Xia 07ee764e57 Fixed bug #62460 (php binaries installed as binary.dSYM)
See http://marc.info/?l=php-cvs&m=125961714419896
Mac OS X 10.7&10.8 affected too.
2012-08-05 20:22:07 -07:00
Xinchen Hui 228c288686 Fix 126 tests failed of phar when --enable-zend-multibyte 2012-08-05 12:40:59 +08:00
Xinchen Hui f4a315fce2 This becomes useless, since we have set that in the INIT macro 2012-08-04 11:03:21 +08:00
Xinchen Hui 03a1fcabf3 Fixed bug #62744 (dangling pointers made by zend_disable_class)
the test will be added while commit the fix for #62737
2012-08-04 10:41:26 +08:00
Xinchen Hui 49b202f2cf Fixed bug that can not get default value of parameter if it's not optional 2012-08-02 22:16:46 +08:00
Xinchen Hui 2b6ac9e1a0 Fix test, wrong exepct rule used 2012-08-02 19:31:34 +08:00
Xinchen Hui 9a690859f6 fix test due to float value 2012-08-02 19:14:06 +08:00
Xinchen Hui cd896d69d9 Fixed bug #62685 (Wrong return datatype in PDO::inTransaction()) 2012-08-02 12:52:11 +08:00
Xinchen Hui 433089ccb4 Fixed bug #62716 (munmap() is called with the incorrect length) 2012-08-02 12:30:07 +08:00
Xinchen Hui 10642aa9e4 Fixed bug #62715 (ReflectionParameter::isDefaultValueAvailable() wrong result) 2012-08-01 20:23:30 +08:00
Xinchen Hui 645f84e41b Test for bug #62680 2012-07-31 10:49:13 +08:00
Gustavo André dos Santos Lopes 7e3e1837c8 Limit test to ICU 49 2012-07-30 10:27:41 +02:00
Gustavo André dos Santos Lopes 9762609cec Remove executable bit from files 2012-07-30 10:25:17 +02:00
Xinchen Hui f419d614ba Sike test while there is no zend mm max_size guard 2012-07-29 14:30:01 +08:00
Xinchen Hui 880a6cee00 Skip test while zend mm is disabled 2012-07-29 13:25:31 +08:00
Xinchen Hui 14cebefb05 Merge branch 'PHP-5.3' of git.php.net:php-src into PHP-5.3 2012-07-29 12:18:07 +08:00
Xinchen Hui 015ee3b2c8 Skip test while zend_mm is disabled 2012-07-29 12:17:43 +08:00
Felipe Pena 068fc008c6 - Fixed bug #57933 (Wrong table type used in phpinfo output) patch by: selsky at columbia dot edu 2012-07-28 19:05:13 -03:00
Xinchen Hui b477a84026 Fixed bug #60194 for eavl
same reason here
2012-07-28 17:00:05 +08:00
Xinchen Hui ef7286a42f Fixed bug #60194 (--with-zend-multibyte and --enable-debug reports LEAK with run-test.php)
It's not a big deal, just because lexer will read the char after cursor before leaving
2012-07-28 00:50:45 +08:00
Rasmus Lerdorf 5799ebdb0c Fix bug #62654 2012-07-25 02:03:47 +02:00
Johannes Schlüter ffa8461bfe merge 5.3.15 NEWS 2012-07-22 22:45:39 +02:00
Xinchen Hui 777b6679a4 missed the test script 2012-07-21 23:30:32 +08:00
Xinchen Hui ead076bac6 Fix test failed 2012-07-21 23:27:09 +08:00
Xinchen Hui cc30524c89 Fixed bug #62616 (ArrayIterator::count() from IteratorIterator instance gives Segmentation fault) 2012-07-21 23:26:18 +08:00
Xinchen Hui 683b4f7a2b merge 9eb5cb6571 to 5.3 2012-07-21 00:46:32 +08:00
Derick Rethans d621a91a50 - Updated to version 2012.4 (2012d) 2012-07-20 10:07:23 +01:00
Anatoliy Belsky bd39495332 Fix for bug #62379 was missing in 5.3 2012-07-17 17:50:05 +02:00
Hannes Magnusson 88f7f3c00f Do not unload shared extensions when checking for leaks 2012-07-17 10:04:56 +01:00
Jille Timmermans 86b4252c8e Typofix in test-description 2012-07-14 22:07:50 -07:00
Felipe Pena 63f3962a90 - Fixed bug #62525 (sigabrt while converting floating point to string) 2012-07-14 15:15:11 -03:00
Felipe Pena 864575251a - Fixed memory leak when extending DOMXPath 2012-07-14 13:13:31 -03:00
Anatoliy Belsky 02b8362ec2 Fixed bug #61677 ext\zlib\tests\bug_52944.phpt fails
The test is known to fail on windows with zlib version < 1.2.7 (current dep is 1.2.5),
with 1.2.7 it works. As it's primarily a zlib 1.2.5 issue on windows, skip it for now.
2012-07-13 11:39:57 +02:00
Anatoliy Belsky ad7eeba3c1 reverted changes for #62477 2012-07-12 10:54:14 +02:00
Anatoliy Belsky 896d0fcd41 updated NEWS 2012-07-11 22:33:42 +02:00
Anatoliy Belsky b383ddf1e5 Fixed bug #62477 LimitIterator int overflow 2012-07-11 22:25:31 +02:00
Xinchen Hui bcf5853eaa Fixed Bug #62500 (Segfault in DateInterval class when extended) 2012-07-10 18:43:11 +08:00
Xinchen Hui c819cf9d6b Fixed bug #62499 (curl_setopt($ch, CURLOPT_COOKIEFILE, "") returns false)
this bc break is caused by the fix for #61948
2012-07-09 08:32:40 +08:00
Nuno Lopes b2b018d5f7 appease MSVC (doesnt like unary minus of unsigned ints) 2012-07-08 15:28:29 -04:00
Anthony Ferrara 26b37f1792 Fix two issues with run-tests.php
1. E_STRICT error due to passing return of array_intersect() into reset() directly
2. Details in junit output can produce invalid UTF-8 and XML due to unescaped characters
2012-07-06 22:37:50 -04:00
Nikita Popov 157ddd9577 Fix potential integer overflow in nl2br
The buffer size was calculated manually, thus creating integer overflows
for very large inputs, e.g. nl2br(str_repeat("\n", 613566757)).

The code now uses safe_emalloc, thus making the code throw an error
instead of crashing.
2012-07-05 20:41:54 +02:00
Nikita Popov 88f46b162b Fix potential integer overflow in bin2hex
The code was already using safe_emalloc but did the multiplication in
the first argument, thus making the use of safe_emalloc pretty useless.

The *2 is now moved to the second argument.
2012-07-05 20:14:49 +02:00
Johannes Schlüter 6b2b195267 This wil be PHP 5.3.16 2012-07-05 01:15:27 +02:00
johannes bcc87ba68e Revert change 3f3ad30c50: There shouldn't be new features in 5.3, especially
not if they aren't in 5.4, too.
2012-07-05 00:55:47 +02:00
Nuno Lopes d80ff39189 fix (signed) integer overflow (part of bug #52550 2012-07-02 01:35:28 -04:00
Nikita Popov 250393f925 Revert JSON changes to PHP 5.3
This reverts the following commits:

974324676b
4662151ea7
84fe2cc890

This does not revert the JSON changes released in PHP 5.3.14.
2012-07-01 16:28:57 +02:00
Stanislav Malyshev 5f31c81f07 remove duplicates, fix order 2012-06-30 17:36:22 -07:00
Felipe Pena 75d8af715c - Fixed bug #62415 (Undefined variable: diff in run-tests.php on line 2093 for successful XFAIL) 2012-06-30 16:29:30 -03:00
andrey 8fe87e7fea fix Bug #62273 Segmentation Fault in Mysqli/Mysqlnd 2012-06-29 14:42:36 +03:00
andrey 1ac611f24f Merge branch 'PHP-5.3' of ssh://git.php.net/php-src into PHP-5.3 2012-06-29 14:40:41 +03:00
Nikita Popov e6cf7d7745 Fix some lengths in crypt()
Use salt_len_in instead of strlen(salt) or PHP_MAX_SALT_LEN, otherwise too
much memory will be allocated.

sha512 has a 86 character checksum, not 43. That probably was a copy&paste
from the sha256 code which indeed has 43.

The allocation also was using sizeof(char *), thus allocating 4 or 8 times
as much memory as necessary. The sizeof(char *) was removed in the 5.4
branch in b7a92c9 but forgotten on 5.3.

The memset 0 call was using PHP_MAX_SALT_LEN which can be smaller than the
output buffer and thus not zeroing out everything. Use the size of the
output buffer (needed) instead.
2012-06-29 13:11:43 +02:00
andrey f826ea093f new charsets 2012-06-29 12:42:54 +03:00
Anthony Ferrara 7e8276ca68 Fixed bug #62443 (Crypt SHA256/512 Segfaults With Malformed Salt)
Fixed a memory allocation bug in crypt() SHA256/512 that can
cause segmentation faults when passed in salts with a null byte
early.
2012-06-28 20:00:03 -04:00
Nikita Popov 974324676b Add json_last_error_msg() function
This replaces json_last_error(true) and is consistent with other custom
error handling functions.
2012-06-28 20:11:27 +02:00
Johannes Schlüter b025b9d0cf Fix #62432 ReflectionMethod random corrupt memory on high concurrent
This fixes the same issue in multiple extensions. This isn't needed
in later branches as 5.4 introduced object_properties_init()
2012-06-27 23:26:33 +02:00
Nikita Popov 4662151ea7 Improve JSON error handling
json_encode() no longer throws warnings. Instead only the error code for
json_last_error() is set.

As it is hard to debug the error from just an error code an optional
$as_string parameter was added to json_last_error(), which returns an
error message instead of an error code.
2012-06-27 12:21:48 +02:00
Johannes Schlüter bc0972e78d Fix memleak in CLI 2012-06-27 11:42:43 +02:00
Stanislav Malyshev ad2bee193d ws fix 2012-06-26 15:22:29 -07:00
Moriyoshi Koizumi ce2082d24f BFN 2012-06-25 19:20:38 +09:00
Moriyoshi Koizumi e427182279 Fix bug #62373 (serialize() generates wrong reference to the object) 2012-06-25 19:13:23 +09:00
Nikita Popov 5b3f4d25ea Fix memory allocation checks for base64 encode
base64_encode used safe_emalloc, but one of the arguments was derived from a
multiplication, thus making the allocation unsafe again.

There was a size check in place, but it was off by a factor of two as it
didn't account for the signedness of the integer type.

The unsafe allocation is not exploitable, but still causes funny behavior
when the sized overflows into a negative number.

To fix the issue the *4 factor is moved into the size argument (where it is
known to be safe), so safe_emalloc can carry out the multiplication.

The size check is removed as it doesn't really make sense once safe_emalloc
works correctly. (Would only cause base64_encode to silently return false
instead of throwing an error. Also could cause problems with other uses of
the base64 encoding API, which all don't check for a NULL return value.)

Furthermore the (length + 2) < 0 check is replaced with just length < 0.
Allowing lengths -2 and -1 doesn't make sense semantically and also is not
honored in the following code (negative length would access unallocated
memory.)

Actually the length < 0 check doesn't make sense altogether, but I left it
there just to be safe.
2012-06-24 23:32:50 +02:00
Nikita Popov 84fe2cc890 Improve json_encode error handling
json_encode() now returns bool(false) for all possible errors, throws the
respective warning and also sets the respective json_last_error() error
code. Three new error codes have been added:

  * JSON_ERROR_RECURSION
  * JSON_ERROR_INF_OR_NAN
  * JSON_ERROR_UNSUPPORTED_TYPE

To get a partial JSON output instead of bool(false) the option
JSON_PARTIAL_OUTPUT_ON_ERROR can be specified. In this case the invalid
segments will be replaced either by null (for recursion, unsupported type
and invalid JSON) or 0 (for Inf and NaN).

The warning for invalid UTF-8 stays intact and is thrown also with
display_errors = On. If this behavior is undesired this can be remedied
later.
2012-06-23 20:51:52 +02:00
Felipe Pena cc90ac54be - BFN 2012-06-23 15:21:20 -03:00
Felipe Pena c3f34796a0 - Improved fix for #62384 2012-06-23 15:10:47 -03:00
Johannes Schlüter 84b1c568f4 Remove unneeded and outdated ChangeLog file 2012-06-22 20:00:20 +02:00
Johannes Schlüter a62d4e2c43 Remove extra ; 2012-06-22 17:32:46 +02:00
Felipe Pena b8e946b02e - Fixed bug #62384 (Attempting to invoke a Closure more than once causes segfaul) 2012-06-22 12:05:29 -03:00
Johannes Schlüter 055ecbc628 Improve check for :memory: pseudo-filename in SQlite 2012-06-22 12:48:39 +02:00
Johannes Schlüter d93892de7a Remove outdated and user-specific files 2012-06-20 19:46:32 +02:00
Nikita Popov 5d81fe6f12 Add NEWS for bug #62262 2012-06-19 18:40:46 +02:00
Nikita Popov fed1f2d124 Fixed bug RecursiveArrayIterator does not implement Countable
ArrayIterator implemented Countable only after it was already inherited by
RecursiveArrayIterator. Thus the interface was missing in RAI.
2012-06-19 18:32:44 +02:00
Anatoliy Belsky e793539678 sync zip ext version with pecl 2012-06-19 17:15:56 +02:00
Anatoliy Belsky f072662621 one more correction for COM upgrading notes 2012-06-19 14:42:59 +02:00
Anatoliy Belsky a8948d0808 split gzgetc_basic.phpt for zlib 1.2.7 2012-06-19 14:08:34 +02:00
Anatoliy Belsky 592917f91f com ext upgrading correction 2012-06-18 22:07:19 +02:00
Anatoliy Belsky 6176b96a23 com ext upgrading info 2012-06-18 21:56:17 +02:00
Anatoliy Belsky d3780f1f90 Reverted the BC fix regarding to #57905, test adopted
New 0.10.1 has a stronger archive integrity check. Restoring
the old behaviour of libzip < 0.10.1 makes no sense at this
place.
2012-06-17 16:04:36 +02:00
Johannes Schlüter 26cb570615 Merge PHP 5.3.14 NEWS 2012-06-13 10:35:58 +02:00
Stanislav Malyshev f0d6059389 re-add 61755 to NEWS 2012-06-12 11:52:22 -07:00
David Soria Parra f464ffd780 Make travis silent
Travis will always build all branches. As we just have a .travis.yml
on master, travis will go ahead and checkout PHP-5.3. It fails and
then sends mails. We really don't want to get spammed, so we add
a .travis.yml that is just silent.
2012-06-10 18:17:37 +04:00
michelangelo cda14b995c Adding a test for ext/posix/tests/posix_getegid_basic.phpt 2012-06-10 17:07:49 +04:00
Stanislav Malyshev 17c0ff1194 typo 2012-06-08 01:24:49 -07:00
Stanislav Malyshev fc74503792 improve overflow checks 2012-06-08 01:21:37 -07:00
Stanislav Malyshev 7d04e0fb2e fix potential overflow in _php_stream_scandir 2012-06-07 23:08:35 -07:00
Anatoliy Belsky baacc2cb13 set current versions for libzip and zip ext 2012-06-07 22:32:03 +02:00
Anatoliy Belsky 9ecb67d5a4 updated NEWS 2012-06-07 21:43:07 +02:00
Anatoliy Belsky bde0e8c2a1 zip windows fixes 2012-06-07 21:01:32 +02:00
Anatoliy Belsky 8ca457f64d fixed bc break related to #57905 2012-06-07 21:01:32 +02:00
Anatoliy Belsky e883892664 fixed a bit overlooked from the last libzip port 2012-06-07 21:01:32 +02:00
Anatoliy Belsky b8cdc731b8 brought the fix for #47667 back 2012-06-07 21:01:32 +02:00
Anatoliy Belsky a37e84e549 fixed zip entry freeing 2012-06-07 21:01:32 +02:00
Anatoliy Belsky f4a44f18b8 rechecked the merged libzip, took also the indents from the original to
avoid confusion next time
2012-06-07 21:01:31 +02:00
Anatoliy Belsky a39bcfc5ee fixed a double freeing crash 2012-06-07 21:01:31 +02:00
Anatoliy Belsky 9a2365412e fixed header include 2012-06-07 21:01:31 +02:00
Anatoliy Belsky 335a11b14b initial libzip upgrade patch to 0.10.1 2012-06-07 21:01:31 +02:00
Felipe Pena 7cae4ff02c - BFN 2012-06-07 14:23:17 -03:00
Felipe Pena 018a9b321f Merge commit '15213768e6cc098ab4e53cacc3b5eb86fa85284a' into PHP-5.3 2012-06-07 14:18:34 -03:00
Pierrick Charron 4e6f27f4db Regenerated files 2012-06-07 18:02:27 +02:00
Pierrick Charron fed5923dbc Fixed bug #51094 (parse_ini_file() with INI_SCANNER_RAW cuts a value that includes a semi-colon)
Modify the scanner to check if the first char of the raw data is an opening " in which case we
need to find the closing one. Otherwise just search for the next end of value char [\r\n;\000]
2012-06-07 17:44:20 +02:00
Till Klampaeckel c56ff39c05 Don't depend on a fixed path for PHP shebang but use /usr/bin/env
(cherry picked from commit 89c5d981603ed4a2a54f86c20cec4f263c58ded6)
2012-06-07 09:44:49 +02:00
Xinchen Hui 6ecc9f1d9d Remove unused codes 2012-06-07 14:31:35 +08:00
slayercat d9810af45a based on microsoft's description,the direct convert from FILETIME struct to __int64 is unsafe.
via http://technet.microsoft.com/en-us/library/ms724284(v=vs.85).aspx

"Do not cast a pointer to a FILETIME structure to either a
ULARGE_INTEGER* or __int64* value because it can cause alignment faults on 64-bit Windows."
2012-06-07 14:28:05 +08:00
Gustavo André dos Santos Lopes c1ac325228 Fix ext/intl build on ICU < 4.8 2012-06-06 12:10:00 +02:00
Gustavo André dos Santos Lopes 52d541a314 Optimization in ext/intl/msgformat
Don't transform the string to make it apostrophe friendly in ICU 4.8+
as that it is now the default.
2012-06-06 11:36:00 +02:00
Gustavo André dos Santos Lopes 45b3fa4dee Fixed tests in ext/intl
21 is not a valid value for UNUM_PADDING_POSITION. Changed the test to
use 2 instead.

Remove ICU 4.2- test. No one cares.
2012-06-05 16:47:00 +02:00
Felipe Pena 15213768e6 - Fixed bug #62227 (Invalid phar stream path causes crash) 2012-06-04 20:07:14 -03:00
Gustavo André dos Santos Lopes 9b233b7e5e Changed XFAILed collator_get_sort_key.phpt
Ressurected and limited to ICU 4.8 in the hope that the sort keys
will remain stable in more recent ICU versions. I have only tested
with ICU 4.8 so far.
2012-06-04 10:18:24 +02:00
Felipe Pena 4fc49c04df Merge commit 'e59b6dc0ae803d49c3f620818285f98dfb61fd57' into PHP-5.3 2012-06-03 19:00:49 -03:00
Felipe Pena d57b278ad1 - Optimize comparison between same HashTable pointer 2012-06-03 18:16:57 -03:00
Felipe Pena e59b6dc0ae - Fixed information leak in ext exif (discovered by Martin Noga, Matthew "j00ru" Jurczyk, Gynvael Coldwind) 2012-06-03 15:23:07 -03:00
Jerome Loyet 38ca8cb7a1 - Fixed bug #62205 (php-fpm segfaults (null passed to strstr)) 2012-06-01 11:18:48 +02:00
Jerome Loyet 35abf3f20c - fix missing include for unix sockets 2012-06-01 11:16:53 +02:00
Jerome Loyet 59e0930d37 - Comment unused function to avoid warnings 2012-06-01 11:16:00 +02:00
Xinchen Hui 1f5327a602 Fixed Bug #62202 (ReflectionParameter::getDefaultValue() memory leaks with constant) 2012-06-01 14:57:27 +08:00
Stanislav Malyshev fa05f038cb fix unchecked emalloc
(cherry picked from commit 158d8a6b08)
2012-05-30 21:37:28 +02:00
Jille Timmermans a331f43f8c Typofix in comment in proc_open.c 2012-05-30 14:42:39 +08:00
Stanislav Malyshev aab49e934d fix CVE-2012-2143 2012-05-29 23:07:04 -07:00
Anatoliy Belsky 8d5e953a19 updated the libmagic patch after Felipes regex fix 2012-05-29 17:38:30 +02:00
Matt Ficken ad0371ac7e Fix bug #62150 Test Bug - ext/fileinfo/tests/finfo_open_error.phpt 2012-05-29 16:38:57 +02:00
Matt Ficken b4b0aaae93 Bug #62177 deactivate the linux test version on win 2012-05-29 16:37:19 +02:00
Matt Ficken dbc727373c Fix bug #62177 Test Bug - finfo_file_regex.phpt 2012-05-29 16:31:47 +02:00
Matt Ficken 4054890b26 Fixed bug #62176 Test Bug - sapi/cli/tests/bug61546.phpt 2012-05-29 11:41:44 +02:00
Nuno Lopes 72911237b5 sync with HEAD 2012-05-27 20:13:09 -04:00
Jerome Loyet 2f7bd57f93 Fixed bug #61218 (the previous patch was not enough restritive on fcgi name string checks) 2012-05-26 19:36:01 +02:00
Jerome Loyet e7ff3e839b Fixed bug #61218 (FPM drops connection while receiving some binary valuesin FastCGI requests) 2012-05-26 19:27:02 +02:00
Jerome Loyet 0298b92b69 - Fixed bug #62033 (USR2 signal was sent even if not catch when daemonize and an error occured) 2012-05-26 18:44:35 +02:00
Jerome Loyet f6655b62d8 - Fixed bug #62160 (Add process.priority to set nice(2) priorities) 2012-05-26 18:22:12 +02:00
Jerome Loyet 63e11f9025 - add missing headers to avoid warnings 2012-05-26 17:37:33 +02:00
Jerome Loyet a7761262f7 - Fixed bug #62153 (when using unix sockets, multiples FPM instances can be launched without errors) 2012-05-25 21:21:44 +02:00
Jerome Loyet bf9120ecae - Fixed bug #62033 (php-fpm exits with status 0 on some failures to start) 2012-05-25 21:10:17 +02:00
Xinchen Hui c3547f1935 Fixed bug #62128 superfluous ";" 2012-05-25 22:31:49 +08:00
Matt Ficken 86d2fafded Fixed bug #62149 Test Bug - ext/curl/tests/bug61948 2012-05-25 10:44:59 +02:00
Matt Ficken 4aac4da673 Fixed bug #62148 mail_skipif doesn't skip imap tests on Release Build 2012-05-25 10:34:33 +02:00
Matt Ficken d4d36fba28 Fixed bug #62147 test bug - popen_pclose_basic-win32 2012-05-25 09:53:51 +02:00
Johannes Schlüter 8fc9df3f67 Fix bug #62146 com_dotnet cannot be built shared, tested by Anatoliy 2012-05-25 00:22:25 +02:00
Johannes Schlüter cfea8e5d04 Those changes are in 5.3.15 2012-05-25 00:20:29 +02:00
Felipe Pena 6c9056ceb7 Merge branch 'PHP-5.3' of git.php.net:php-src into PHP-5.3 2012-05-24 13:45:36 -03:00
Felipe Pena abe0f17e88 - BFN 2012-05-24 13:45:03 -03:00
Felipe Pena 11b4f3becd - Fixed magic file regex support 2012-05-24 13:42:47 -03:00
Xinchen Hui bde86a6639 Fixed bug #62073
(Different ways of iterating over an SplMaxHeap result in in different keys)
2012-05-24 23:31:05 +08:00
Gustavo André dos Santos Lopes 85c777d2f1 Fixed bug #55610: ResourceBundle and Traversable 2012-05-24 14:33:05 +02:00
Gustavo André dos Santos Lopes f1969d4b4c Update NEWS 2012-05-24 11:14:36 +02:00
Gustavo André dos Santos Lopes 2da2de46a8 Fixed bug #60785
Memory leak in IntlDateFormatter constructor.

udat_setCalendar() clones the calendar before it adopts it,
so we were leaking the original calendar.

Also we now validate the calendar type.
2012-05-24 11:06:21 +02:00
Gustavo André dos Santos Lopes e08566c613 Fixed bug #62017
IntlDateFormatter constructor would release some resources
under certain error conditions.
2012-05-23 15:52:19 +02:00
Reeze Xia 9205c4fd62 Fixed bug #62073 (Different ways of iterating over an SplMaxHeap result in different keys) 2012-05-23 20:42:06 +08:00
Gustavo André dos Santos Lopes c449bf1443 Fixed bug number in NEWS 2012-05-23 13:42:24 +02:00
Gustavo André dos Santos Lopes 1c19146f46 Updated NEWS w.r.t to ext/intl changes 2012-05-23 13:35:11 +02:00
Gustavo André dos Santos Lopes 1eff3b01b8 Fixed bug #6208: memory leak in grapheme_extract() 2012-05-23 13:25:45 +02:00
Gustavo André dos Santos Lopes 86ea921291 Fixed bug #62082
This was a buffer overflow in internal function
get_icu_disp_value_src_php().
2012-05-23 13:25:42 +02:00
Gustavo André dos Santos Lopes 07c0d714a5 Fixed bug #62081
Constructor of IntlDateFormatter would leak if called twice.

Made calling it more than once error out before starting
using resources.
2012-05-23 13:25:37 +02:00
Gustavo André dos Santos Lopes 51286bd8e5 Fixed bug #62070
Collator::getSortKey() was returning an unterminated string
due the length given to RETURN_STRINGL being off by one.
2012-05-23 13:25:32 +02:00
Jerome Loyet 5d61e56dd7 - Fixed bug #61026 (FPM pools can listen on the same address) 2012-05-23 11:52:04 +02:00
Jerome Loyet 812d248193 - Fixed bug #61295 (php-fpm should not fail with commented 'user' for non-root start) 2012-05-23 11:30:27 +02:00
Jerome Loyet f4c38016b6 - Fix help message for '-R' 2012-05-23 10:36:45 +02:00
Jerome Loyet 629273d11b - add missing help message for '-R' 2012-05-23 10:34:16 +02:00
Jerome Loyet 7b396c078c - Fixed bug #61835 (php-fpm is not allowed to run as root) 2012-05-23 09:49:13 +02:00
Xinchen Hui f733173b1f Fix typo while resolving conflicts 2012-05-23 13:43:49 +08:00
Xinchen Hui a7df6ce664 Revert "Implemented FR #61602 Allow access to name of constant used as default value"
This reverts commit 054f3e3ce5.

See: http://news.php.net/php.cvs/69137 and the author confirmed.
Will commit later after the author fixed this then make a new PR.

Conflicts:

	ext/reflection/php_reflection.c
2012-05-23 13:39:00 +08:00
Anatoliy Belsky 621fddab93 Fix bug #62109 tests\basic\bug46313-win.phpt fails 2012-05-22 18:41:03 +02:00
Jerome Loyet faca4e08b4 - Fixed bug #61045 (fpm don't send error log to fastcgi clients) 2012-05-22 08:34:27 +02:00
Matt Ficken c973fef48d Fix bug #62066 Test Bug - ext/tidy/tests/004.phpt 2012-05-21 12:51:24 +02:00
Matt Ficken 645d65f3e3 Fixed bug #62068 Test bug - gmp_nextprime and 022 2012-05-21 12:31:16 +02:00
zoe slattery 778d69ddfe Fix: 62067 Moved comments to FILE section 2012-05-19 16:33:36 +01:00
Felipe Pena 79d52503a4 - BFN 2012-05-18 19:38:02 -03:00
Felipe Pena 6d928fd26d - Fixed bug #62064 (memory leak in the XML Writer module) 2012-05-18 19:23:29 -03:00
Johannes Schlüter 72a9b595ca PHP 5.3.15-dev 2012-05-16 16:49:35 +02:00
Johannes Schlüter 67039363cd Merge branch 'PHP-5.3' of git.php.net:/php-src into PHP-5.3
* 'PHP-5.3' of git.php.net:/php-src:
  Fix for bug#62046
2012-05-16 16:46:08 +02:00
Stanislav Malyshev 6e51989501 fd fix 2012-05-16 16:35:16 +02:00
Stanislav Malyshev 4eb802bb14 fix bug #61065
(cherry picked from commit a10e778bfb)
2012-05-16 16:30:29 +02:00
andrey d4afbd487a Fix for bug#62046
Bug#62046 mysqli@mysqlnd can't iterate over stored sets after call to
mysqli_stmt_reset().

Stmt's state was changed to STMT_PREPARED and leads the driver to think
that the stmt was just prepared. Because result set exist also for only
prepared but not executed sets, the check for stmt->result isn't any good.
There is a result set, because as response for COM_PREPARE the server sends
metadata and metadata is part of a result set. After COM_EXECUTE the server
sends metadata again, which could be different and in this case more correct.
2012-05-16 14:28:55 +02:00
Felipe Pena 93c91c733c - Fixed bug #55299 (multiple null pointer in win32/registry.c) 2012-05-16 08:40:12 -03:00
zoe slattery 1af8b3f883 Change impl of GZIP_POST, DEFLATE_POST. See #62021 2012-05-15 11:05:20 +01:00
Xinchen Hui 3332943c9d Fixed Bug #62005 (unexpected behavior when incrementally assigning to a member of a null object) 2012-05-12 13:13:44 +08:00
Nuno Lopes 950d5ee590 fix stack overflow in php_intlog10abs()
bug uncovered by LLVM/clang's new -fbounds-checking switch
this patch fixes a crash in ext/standard/tests/math/round_large_exp.phpt
2012-05-11 13:07:00 -04:00
Anatoliy Belsky 81ba6b14c7 Fix bug #61990 ext\spl\examples\tests\dualiterator_001.phpt fails
This fixes a general issue. In this ticket and not for the first time
is being seen, that people are trying to use data from "examples"
in the tests. When extracting a test pack only "tests" and its siblings
was taken into account. Now "examples" are copied as well.
2012-05-11 14:24:12 +02:00
Anatoliy Belsky 266578f584 Fix bug #61992 ext\standard\tests\general_functions\bug44295.phpt fails
Exception text differ on windows
2012-05-10 17:07:38 +02:00
Anatoliy Belsky 652632a89b updated NEWS 2012-05-10 15:48:56 +02:00
Anatoliy Belsky f7d8b274c7 Fix bug ext\standard\tests\file\realpath_cache_win32.phpt fails
What happens here is trivial long overflow. Despite the bug attracted
attention on windows, the same story is on linux. Just wait for a big
anough bucket->key . The linux test had %i to check the key value
which should be %d all the way.
2012-05-10 15:27:44 +02:00
Anatoliy Belsky 7fb16d5bd9 Fix bug 61901 ext\phar\tests\phar_buildfromdirectory2.phpt fails
Another error message is produced by win specific code
2012-05-09 13:02:33 +02:00
Matt Ficken c12fdbde5f Fix bug 61746 Failing tests in ext/standard/tests/file/windows_links/*
Fixed that again for systems having their %SYSTEMROOT% not in
c:\windows
2012-05-08 19:31:41 +02:00
Anatoliy Belsky 838b4b8ff7 updated NEWS 2012-05-08 18:51:49 +02:00
Anatoliy Belsky d776a933eb Fix bug 61713 check also that mbstring's found any internal_encoding 2012-05-08 18:31:11 +02:00
Anatoliy Belsky 3a4a25358f Fix bug #61713 ext\standard\tests\strings\htmlentities10.phpt fails
There is a logic error in charset detection part for htmlentities.
When mbstring is compiled shared and mbstring.internal_encoding
is set to pass, it prevents default_charset from being checked
resulting iso-8859-1 being choosed.
2012-05-08 17:42:01 +02:00
Johannes Schlüter e120a0c7f3 This will be PHP 5.3.14 2012-05-08 11:28:15 +02:00
Stanislav Malyshev 000e84aa88 improve fix for CVE-2012-1823 2012-05-07 12:14:21 -07:00
Anatoliy Belsky 2068419ae5 Fix bug 61905 ext\phar\tests\zip\phar_commitwrite.phpt fails 2012-05-07 15:39:07 +02:00
Anatoliy Belsky ce59121c5f Fix bug 61903 ext\phar\tests\tar\phar_commitwrite.phpt fails 2012-05-07 15:37:29 +02:00
Xinchen Hui 99076bc24f Change the test folder 2012-05-06 20:31:40 +08:00
Xinchen Hui 7ccd594392 Fixed bug #61730 (Segfault from array_walk modifying an array passed by reference) 2012-05-06 20:01:10 +08:00
Nikita Popov 304ac568c5 Add NEWS entry for bug #61961 2012-05-06 13:19:17 +02:00
Nikita Popov 311ee8f69c Merge branch 'pull-request/76' into PHP-5.3 2012-05-06 12:45:45 +02:00
Reeze Xia 3e9923dd8d Fixed Bug #61961 (file_get_content leaks when access empty file with max length) 2012-05-06 18:27:26 +08:00
Xinchen Hui 4632fe0eef correct NEWS 2012-05-06 00:51:20 +08:00
Xinchen Hui 035ce937e1 Fixed bug #61948 (CURLOPT_COOKIEFILE '' raises open_basedir restriction) 2012-05-06 00:40:49 +08:00
Rasmus Lerdorf 168e8920be Fix for CVE-2012-1823
(cherry picked from commit 29300b1f9d)
2012-05-05 17:34:07 +02:00
Anatoliy Belsky 8a10259642 Fix bug #61906 ext\phar\tests\zip\phar_setsignaturealgo2.phpt fails 2012-05-04 11:40:49 +02:00
Anatoliy Belsky 6c12252790 Fix bug #61904 ext\phar\tests\tar\phar_setsignaturealgo2.phpt 2012-05-04 11:29:49 +02:00
Christopher Jones 0956c00af9 Bump to next version
Bump PHP version number
2012-05-03 12:03:49 -07:00
Xinchen Hui bbf8a50281 Fix typo
picked form pull request of reeze.xia@gmail.com
2012-05-03 18:39:03 +08:00
Anatoliy Belsky 69ed09a31c Fix bug 61902 ext\phar\tests\phar_setsignaturealgo2.phpt falis
openssl needs explicit openssl.cnf on windows
2012-05-02 21:38:32 +02:00
andrey b42d000471 Fix for bug#61411
Bug #61411 PDO Segfaults with PERSISTENT == TRUE && EMULATE_PREPARES == FALSE
Wrong allocation, that doesn't follow the scheme of using stmt->persistent
was the root cause of the problem and the crash at free.
2012-05-02 15:55:22 +02:00
Christopher Jones 72507d38fb Merge branch 'bug61810' into PHP-5.3
* bug61810:
  Make output order for dom007.phpt platform independent
2012-05-01 15:47:54 -07:00
Christopher Jones d14f23365c Make output order for dom007.phpt platform independent
This test has long been near the top of the reported output diffs.
For example, on http://qa.php.net/reports/?version=5.4.0 it has diffed
1307 times out of 3543 reports, at time of this commit.  (The second
highest diff has occurred 710 times.)
2012-05-01 15:43:31 -07:00
Christopher Jones 02e25df8b5 Merge branch 'fix-bug61115-1.phpt-for-no-debug' into PHP-5.3
* fix-bug61115-1.phpt-for-no-debug:
  Fix masking in bug61115-1.phpt
2012-05-01 14:33:57 -07:00
Christopher Jones c864b1ca2f Fix masking in bug61115-1.phpt
The test bug61115-1.phpt was diffing for non-debug builds
2012-05-01 14:32:09 -07:00
Anatoliy Belsky d26e006d7f Fix bug 61868 ext\dom\tests\DOMDocument_validate_on_parse_variation.phpt fails 2012-04-30 17:23:49 +02:00
Anatoliy Belsky ec5421d044 Additional fixs for bug 61746 - prepare/clean acls 2012-04-30 14:33:48 +02:00
Anatoliy Belsky 680685127f Fix bug 61870 ext\session\tests\bug42596.phpt fails 2012-04-30 12:06:28 +02:00
Anatoliy Belsky 8249581a2d Fix bug ext\filter\tests\bug52209.phpt fails 2012-04-30 10:25:54 +02:00
Xinchen Hui a601605f14 merge test from PHP-5.4 2012-04-30 12:33:55 +08:00
Xinchen Hui d80a3d9668 Revert "Merge branch 'fix-pro_nice-test' of https://github.com/reeze/php-src into PHP-5.3"
After pushed, I found the test script in 5.4 is already fixed this, so
revert this change, and be consistent with 5.4's test

This reverts commit 24d85e4bd8, reversing
changes made to bae56a87f8.
2012-04-30 12:31:33 +08:00
Xinchen Hui 24d85e4bd8 Merge branch 'fix-pro_nice-test' of https://github.com/reeze/php-src into PHP-5.3 2012-04-30 12:29:15 +08:00
Xinchen Hui bae56a87f8 Fixed bug #61546 (functions related to current script failed when chdir() in cli sapi). 2012-04-30 12:09:22 +08:00
Felipe Pena 9aff3a1156 - BFN 2012-04-29 19:44:27 -03:00
Felipe Pena d44a383986 - Added missing bound check in iptcparse() (path by chris at chiappa.net) 2012-04-29 19:12:12 -03:00
reeze e52be10b30 Fix test for proc_nice: bsd ps command didn't support option -o "%p %n" 2012-04-30 00:59:54 +08:00
Matt Ficken dc6d283b1c Fix bug 61685 putenv('TZ=UTC') doesn't update timezone for localtime() 2012-04-28 11:42:42 +02:00
Anatoliy Belsky 4daab0abec Fix bug #61791 ext\sqlite3\tests\sqlite3_15_open_error.phpt fails 2012-04-26 15:14:26 +02:00
Anatoliy Belsky 4e9db5ba9f Fix bug #61800 ext\standard\tests\streams\bug61371.phpt fails 2012-04-26 13:27:01 +02:00
Anatoliy Belsky 433290e199 Partial fix for bug 61743 to get correct icacls path 2012-04-25 18:38:27 +02:00
Anatoliy Belsky 270a406ac9 Fix bug #61413 ext\openssl\tests\openssl_encrypt_crash.phpt fails 5.3 only 2012-04-24 14:05:35 +02:00
Gustavo André dos Santos Lopes 8d748e5de5 Fixed bug #61764: 'I' unpacks n as signed if n > 2^31-1 on LP64
Also fixed possible invalid read on big endian LP64.
2012-04-23 22:09:38 +01:00
Felipe Pena c8865e3b84 - Fixed bug #61829 (Memory leak when calling MessageFormatter's constructor twice) 2012-04-23 15:18:12 -03:00
Anatoliy Belsky da1b534601 Fix bug #61811 three of finfo tests failed, see also #61812.
The remaining two was assidentially merged back from 5.4
2012-04-22 19:26:54 +02:00
Xinchen Hui f13b0ede07 Fixed warning implicit declaration of function 'file_printedlen' 2012-04-22 19:52:07 +08:00
Xinchen Hui c06e92a533 Fixed bug #61812 (Uninitialised value used in libmagic) 2012-04-22 19:38:14 +08:00
Xinchen Hui 2e9eb5e32f Fix test
Reported by cjones
2012-04-21 16:02:25 +08:00
Felipe Pena dd34fe52b9 - BFN 2012-04-19 23:23:46 -03:00
Felipe Pena c3b0fb4fbe - Fixed bug #54197 ([PATH=] sections incompatibility with user_ini.filename set to null) patch by ab@php.net 2012-04-19 23:12:47 -03:00
Stanislav Malyshev 5cbf2d6785 Merge branch 'pull-request/61' into PHP-5.3
* pull-request/61:
  Bug#59597 NumberFormatter::parse() with TYPE_INT64 results in a 32 bit integer
2012-04-19 11:28:30 -07:00
Johannes Schlüter c06ec6bde4 Commit generated file 2012-04-19 12:47:09 +02:00
Johannes Schlüter 1b78aef426 Fix bug #61755 parsing bug can lead to access violations 2012-04-19 12:46:02 +02:00
Anatoliy Belsky adfb4c62b7 Fix bug 61671 ext\spl\tests\fileobject_003.phpt fails
The solution was already introduced in 5.4 by Etienne Kneuss and
Pierre but wasn't merged back into 5.3 . SplFileObject should
not be used with directories. So just putting together all the
necessary pieces from 5.4
2012-04-19 11:33:12 +02:00
Sherif Ramadan 2827324c7c Bug#59597 NumberFormatter::parse() with TYPE_INT64 results in a 32 bit integer 2012-04-19 04:44:43 -04:00
Johannes Schlüter 4650b2164b Drop old README 2012-04-19 00:29:24 +02:00
Johannes Schlüter 710021d1d4 Fix slight grammar glitch (thanks Dan Brown) 2012-04-19 00:07:40 +02:00
Johannes Schlüter e946eaca0b Update generated file. 2012-04-18 22:49:03 +02:00
Johannes Schlüter dda60f3014 Ensure the SQL parser is regenerated after changes. 2012-04-18 22:48:49 +02:00
Anatoliy Belsky f3d86b314f Fix bug 61746 Failing tests in ext/standard/tests/file/windows_links/* 2012-04-16 17:06:30 +02:00
Anatoliy Belsky bceafee879 Fix bug 61720 ext\libxml\tests\bug61367-read.phpt fails 2012-04-16 15:45:03 +02:00
Anatoliy Belsky 9c8907ec10 Fix bug 61719 ext\soap\tests\bugs\bug31422.phpt fails 2012-04-16 15:38:46 +02:00
Anatoliy Belsky 1c435ae498 Fix bug 61718 ext\ldap\tests\ldap_set_rebind_proc_error.phpt fails 2012-04-16 15:25:20 +02:00
Anatoliy Belsky 47e7755785 Fix bug 61717 ext\ldap\tests\ldap_sasl_bind_basic.phpt fails 2012-04-16 15:20:03 +02:00
Anatoliy Belsky 4fa1743009 Fix bug 61716 tests\basic\021.phpt fails 2012-04-16 15:14:26 +02:00
Anatoliy Belsky aaed0af418 Fix bug 61683 tests\basic\bug20539.phpt fails 2012-04-16 14:38:16 +02:00
Anatoliy Belsky 163c1a393f Fix bug 61680 ext\zlib\tests\gzencode_variation1-win32.phpt fails 2012-04-16 14:04:29 +02:00
Anatoliy Belsky c981016e41 Fix bug 61676 ext\tidy\tests\bug54682.phpt fails 2012-04-16 13:38:13 +02:00
Anatoliy Belsky 9a4cb732ed Fix bug 61743 tests in ext\standard\tests\file\windows_acls\* fail 2012-04-16 13:30:58 +02:00
Johannes Schlüter 21d314a767 Rename README.SVN-RULES to README.GIT-RULES, here, too 2012-04-14 00:29:55 +02:00
David Soria Parra e9b978c374 configure.in: Check for README.GIT-RULES instead of README.SVN-RULES
We removed the README.SVN-RULES file. Configure checks for this file.
Let's check for the new README.GIT-RULES instead.
2012-04-13 16:32:41 +02:00
Johannes Schlüter e0d5138660 Move and update README.SVN-RULES to README.GIT-RULES 2012-04-13 02:12:47 +02:00
Xinchen Hui 8c4294bcb4 Fixed test faild
the sun_path will not be that much long:
 http://pubs.opengroup.org/onlinepubs/009695399/basedefs/sys/un.h.html
2012-04-13 00:07:07 +08:00
Johannes Schlüter 1461a40301 Remove cherry-picked items for 5.3.11 2012-04-12 11:21:41 +02:00
Adam Harvey 3f3ad30c50 Fix bug #61537 (json_encode() incorrectly truncates/discards information) and
remove a test case that's now mooted by this fix.
2012-04-11 08:24:38 +08:00
Gustavo André dos Santos Lopes 1c8fccdf6d Disabled EOL conversions on certain tests 2012-04-10 19:41:07 +01:00
Anatoliy Belsky ed0ddd20c5 Fixed bug #61669 ext\standard\tests\file\rename_variation7-win32.phpt fails 2012-04-10 15:16:48 +02:00
Anatoliy Belsky b0cb29db87 Fixed bug #61668 ext\standard\tests\file\rename_variation13-win32.phpt fails 2012-04-10 15:09:21 +02:00
Anatoliy Belsky b9cbb9e744 Fix bug #61667 ext\standard\tests\file\glob_variation-win32.phpt fails 2012-04-10 15:00:03 +02:00
Anatoliy Belsky fde96342e8 Fixed bug #61666 ext\standard\tests\file\file_put_contents_variation8-win32.phpt fails 2012-04-10 14:13:15 +02:00
Anatoliy Belsky b2f2e1d6cc Fix bug #61659 Test ext\spl\tests\bug60082.phpt fails 2012-04-10 14:03:19 +02:00
Anatoliy Belsky b3be5d920a Fixed bug #61638 Test ext\sockets\tests\unixloop.phpt fails 2012-04-10 13:58:15 +02:00
Anatoliy Belsky 15e26c6d4a Fixed bug #61637 ext\sockets\tests\socket_sentto_recvfrom_unix.phpt 2012-04-10 13:54:22 +02:00
Anatoliy Belsky af8646c188 Fixed bug #61635 ext\sockets\tests\socket_select-wrongparams-1.phpt 2012-04-10 13:40:20 +02:00
Anatoliy Belsky c4676ee99f Fixed bug #61634 Test ext\sockets\tests\socket_listen-wrongparams.phpt fails 2012-04-10 13:08:57 +02:00
Anatoliy Belsky 5594fcf423 Fixed bug #61633 Test ext\sockets\tests\socket_create_pair-wrongparams.phpt fails 2012-04-10 13:02:53 +02:00
Anatoliy Belsky 37cb29ae90 Fixed bug #61632 Test ext\sockets\tests\socket_create_listen.phpt fails 2012-04-10 12:57:10 +02:00
Anatoliy Belsky d80e2e069c Fixed bug 61621 Test fail in ext/standard/tests/dir 2012-04-10 12:47:01 +02:00
Anatoliy Belsky 26dbc5ecb4 Fixed bug #61611 ext\date\tests\date_default_timezone_get-2.phpt fails
The behaviour on windows is to select an arbitrary timezone from the
current system settings. This gives no chance to hardcode the timezone
name, for instance for UTC+1 it could choose from the multiple names
like Europe/Berlin or Europe/Paris . For this reason the test is
parametrized so there is no hardcoded timezone data.

The original test made to be skipped on windows and a duplicate was made
for windows. Tested on debian and win7 both x86.
2012-04-10 12:33:11 +02:00
Anatoliy Belsky 2ca49d39a3 Fixed bug #61631 mbstring mail related tests fail 2012-04-10 11:47:18 +02:00
Anatoliy Belsky d89b65f985 Fixed bug #61610 Test ext\date\tests\date_default_timezone_get-1.diff fails
The behaviour on windows is to select an arbitrary timezone from the current system settings.
This gives no chance to hardcode the timezone name, for instance for UTC+1 it could choose
from the multiple names like Europe/Berlin or Europe/Paris . For this reason the test is
parametrized so there is no hardcoded timezone data.

The original test made to be skipped on windows and a duplicate was made for windows.
2012-04-10 11:03:41 +02:00
Anatoliy Belsky 4ff55e646a Fix bug #61609 Test ext\date\tests\bug52062.phpt fails
As expressed in the comments http://de.php.net/manual/en/datetime.gettimestamp.php
this is the generic 32 bit timestamp issue
2012-04-10 10:18:10 +02:00
Gustavo André dos Santos Lopes 0f180a63eb Fixed bug in new stream_get_line() when using NUL as a delimiter.
This is the issue Derick spotted a few days ago..
2012-04-07 16:32:19 +01:00
Xinchen Hui 9bf8cd4b34 Fixed bug #61650 (ini parser crashes when using ${xxxx} ini variables (without apache2)) 2012-04-06 21:42:40 +08:00
Matt Ficken 381edb425e Fix bug #61480 test bug - ext/gd/tests/bug48555.phpt 2012-04-04 18:39:24 +02:00
Anatoliy Belsky db834fc460 updated the NEWS with the latest fileinfo changes 2012-04-04 12:36:34 +02:00
Xinchen Hui 94f1c05ff8 Fixed bug #61617 (Libxml tests failed(ht is already destroyed)) 2012-04-04 17:22:37 +08:00
Gustavo André dos Santos Lopes ca58cd01fc Cherry-pick 4cc74767
Headers: forbid \r and \n also after \0, allow CRLF followed by HT or SP and forbid \0. See bug #60227.

Conflicts:

	ext/standard/tests/general_functions/bug60227.phpt
	ext/standard/tests/general_functions/bug60227_1.phpt
	ext/standard/tests/general_functions/bug60227_2.phpt
	main/SAPI.c
2012-04-04 09:59:51 +01:00
Xinchen Hui f7bf83546e Fix warning "suggest parentheses around assignment" 2012-04-04 16:35:32 +08:00
Xinchen Hui 896c4539df Fixed bug #61605 (header_remove() does not remove all headers) 2012-04-04 16:01:43 +08:00
Xinchen Hui 7b04638c8c Fix test
cherry-pick from php-5.4
2012-04-04 15:20:28 +08:00
Matt Ficken 438536e45e Fix bug #61460 popen_close_error-win32 expected output is wrong 2012-04-03 14:19:43 +02:00
Anatoliy Belsky 14e74aeb57 Fix bug #61454 ext\standard\tests\general_functions\bug49847.phpt fails 2012-04-03 13:23:06 +02:00
Anatoliy Belsky 94cefaedaf Fix bug #61481 Test Bug - ext/com_dotnet/tests/bug49192 2012-04-03 13:07:51 +02:00
Anatoliy Belsky 469cd3abf1 Fix bug #61517 random test failure - ext/standard/tests/misc/time_sleep_until_basic.phpt 2012-04-03 11:04:52 +02:00
Xinchen Hui 6d97e28e42 Update NEWS for #61541 2012-04-03 12:13:59 +08:00
Moriyoshi Koizumi a6c95c8a00 Reset LIBS temporarily to make sure PHP_CHECK_FUNC will look into libc.
See Gentoo bug #364139. https://bugs.gentoo.org/show_bug.cgi?id=364139
Reported by Naohiro Aota.
2012-04-03 01:51:23 +09:00
Anatoliy Belsky 8684fb7fac updated the libmagic.patch 2012-04-02 17:27:23 +02:00
Anatoliy Belsky 909713e233 Bug #61566 Fileinfo ext\fileinfo\tests\finfo_file_002.phpt fails
This patch fixes the failure caused by the
posix lseek and read versions under windows in cdf_read() .
Additionally all the occurences of lseek and read
was replaced by _lseek and _reed for windows.
2012-04-02 17:22:46 +02:00
Anatoliy Belsky 0cdba53aae Fix bug #61565 Fileinfo ext\fileinfo\tests\finfo_file_001.phpt fails 2012-04-02 17:19:09 +02:00
Pierre Joye 55a6f3a12d - update to openssl 0.9.8u 2012-04-02 13:07:59 +02:00
Derick Rethans 0e53ac49e6 - Updated to version 2012.3 (2012c) 2012-04-02 10:40:01 +01:00
Popa Adrian Marius 66b3b44fd5 Merge branch 'PHP-5.3' of git.php.net:php-src into PHP-5.3 2012-04-02 10:02:45 +03:00
reeze ff8be9845f Cleanup Safe Mode related comment in SG(request_info) 2012-03-31 09:34:08 +02:00
Christopher Jones 132d7113ea Merge branch 'add-oci8-ini-tests' into PHP-5.3
* add-oci8-ini-tests:
  Add php.ini parameter checks for OCI8
2012-03-30 16:16:32 -07:00
Christopher Jones c56cfbd234 Add php.ini parameter checks for OCI8
Add tests for OCI8 php.ini parameters particularly to check
which parameters can be changes with ini_set().
2012-03-30 16:12:25 -07:00
Xinchen Hui 6b4112c98a Fix test, parameter signatures was introduced only into 5.4 2012-03-30 20:37:48 +08:00
Popa Adrian Marius 97f4fc22c5 Fix firebird bug #60947 , tested and now it prints the header page information from database 2012-03-29 18:28:01 +03:00
Shein Alexey c0f806a69c Merge branch 'fix-debug-build-bug61115-1.phpt' into PHP-5.3
* fix-debug-build-bug61115-1.phpt:
  Fixed bug61115-1.phpt for debug build version.
2012-03-29 17:01:40 +05:00
Shein Alexey e1352b0416 Fixed bug61115-1.phpt for debug build version. 2012-03-29 16:51:45 +05:00
Yasuo Ohgaki 8449e0ca89 Fixed bug #60718 Complie problem with libpq (PostgreSQL 7.3 or less) 2012-03-29 20:04:15 +09:00
Johannes Schlüter fb124764de This will be PHP 5.3.12 2012-03-29 11:22:44 +02:00
Johannes Schlüter 21fa9634c1 Merge remote branch 'security/PHP-5.3' into PHP-5.3
* security/PHP-5.3:
  fix bug #61367 - open_basedir bypass using libxml RSHUTDOWN
  open_basedir check for linkinfo
  NEWS entry for readline fix
  Add open_basedir checks to readline_write_history and readline_read_history
2012-03-29 10:54:08 +02:00
Gustavo André dos Santos Lopes 67bf07f3e7 Merge rebased pull request #24 onto 5.3 into 5.3 2012-03-29 08:46:37 +01:00
Jille Timmermans 710335b2a3 ext/pcntl/pcntl.c: Fix typo in comment
Signed-off-by: Jille Timmermans <jille@quis.cx>
2012-03-29 08:46:04 +01:00
Gustavo André dos Santos Lopes 117cdf384f Revert "ext/pcntl/pcntl.c: Fix typo in comment" (apply correct workflow)
This reverts commit 55b1e61242.
2012-03-29 08:44:19 +01:00
Jille Timmermans 55b1e61242 ext/pcntl/pcntl.c: Fix typo in comment
Signed-off-by: Jille Timmermans <jille@quis.cx>
2012-03-29 09:07:07 +09:00
Yasuo Ohgaki f38ee78344 Merge branch 'pull-request/25' into 5.3
* pull-request/25:
  - fix bug #61541, Segfault when using ob_* in output_callback
2012-03-29 08:51:29 +09:00
reeze abd2b2ee43 - fix bug #61541, Segfault when using ob_* in output_callback 2012-03-29 06:23:05 +09:00
Gustavo André dos Santos Lopes 5ddfdb8fd4 Merge commit rebase pull request 16 into 5.3 2012-03-28 21:41:59 +01:00
Shein Alexey 1e88d0033f Refactoring junit logger. Added generation of nested testsuites in junit.xml. 2012-03-28 21:39:24 +01:00
Anatoliy Belsky eeab3be303 Fix bug #61459 popen_close_basic-win32 can't run sort.exe 2012-03-28 19:25:29 +02:00
reeze 9bc91a21db - fix bug #61541, Segfault when using ob_* in output_callback 2012-03-29 00:18:02 +08:00
Anatoliy Belsky bff8152565 Fix bug #61401 ext\openssl\tests\004.phpt fails 2012-03-28 17:11:58 +02:00
Anatoliy Belsky bd7bb973b1 Fix bug #61404 ext\openssl\tests\021.phpt fails 2012-03-28 16:04:56 +02:00
Anatoliy Belsky bd928f0592 Fix bug #61448 intl tests fail with icu >= 4.8 2012-03-28 15:07:01 +02:00
Gustavo André dos Santos Lopes 4fa0c2a963 Merge remote branch 'origin/PHP-5.3' into 5.3 2012-03-28 13:12:12 +01:00
Gustavo André dos Santos Lopes f07dd29fdc Fixed problem introduced in a763929 (fixing bug #61347).
The test added in 8c44c85 should now pass.
2012-03-28 13:04:41 +01:00
Anatoliy Belsky 0b20329aaf Fix bug #61468 ext/phar/tests/phar_oo_005.phpt fails 2012-03-28 12:54:19 +02:00
Anatoliy Belsky 11f04c3524 Bug 61504 updated libmagic.patch 2012-03-28 12:06:09 +02:00
Anatoliy Belsky e7fa402c7c Bug #61504 TSRML_FETCH() must be last 2012-03-28 12:05:20 +02:00
Gustavo André dos Santos Lopes 067603106e Restored the good part of 74ee335 that was just reverted. 2012-03-28 08:43:41 +01:00
Gustavo André dos Santos Lopes c6e15455a3 Revert "- fix bug #61504, fix build errors on windows and possibly other"
This reverts commit 74ee335e3a.
2012-03-28 08:41:18 +01:00
Pierre Joye 74ee335e3a - fix bug #61504, fix build errors on windows and possibly other 2012-03-28 01:59:41 +02:00
Christopher Jones c8ced8c0a3 Merge branch 'readme1' into PHP-5.3
* readme1:
  Update README
2012-03-27 11:52:23 -07:00
Christopher Jones 968a330220 Update README
More updates to OCI8 README as an excuse to try the PHP multi-dir git
workflow instructions.
2012-03-27 11:19:33 -07:00
Anatoliy Belsky da85d5b4a0 Fix bug #61518 skip on windows, fix on linux - ext/standard/tests/streams/bug60106.phpt 2012-03-27 18:49:59 +02:00
Anatoliy Belsky bcfcfb2fc5 Fix bug #61519 test fails, should pass - ext/zlib/tests/bug60761.phpt 2012-03-27 18:02:31 +02:00
Anatoliy Belsky b638d3020c Fix bug #61405 ext\openssl\tests\022.phpt fails 2012-03-27 16:07:59 +02:00
Anatoliy Belsky e55718b091 Fix bug #61412 ext\openssl\tests\bug28382.phpt fails 2012-03-27 16:07:59 +02:00
Shein Alexey 8c44c85b06 Merge branch 'failed-arrayaccess-test' into PHP-5.3
* failed-arrayaccess-test:
  Added failing test for ArrayObject::offsetExists().
2012-03-27 19:00:05 +05:00
Shein Alexey ddac4688e8 Added failing test for ArrayObject::offsetExists(). 2012-03-27 18:59:04 +05:00
Pierre Joye d0e3289d12 - fix test for 5.11 2012-03-27 14:01:38 +02:00
Pierre Joye 12cf930a40 Fix bug #61504, potential vuln. in fileinfo. update to 5.11 2012-03-27 13:34:46 +02:00
Stanislav Malyshev 167e2fd782 fix bug #61367 - open_basedir bypass using libxml RSHUTDOWN 2012-03-25 12:50:25 -07:00
Stanislav Malyshev bc313f5e80 Merge branch 'grapheme_fix' into PHP-5.3
* grapheme_fix:
  fix bug #61487 - bad bounds check in grapheme_strpos
2012-03-25 01:03:02 -07:00
Stanislav Malyshev 4c478f9ca6 NEWS for bug #61487 2012-03-25 00:57:08 -07:00
Stanislav Malyshev cd9cd36d7e fix bug #61487 - bad bounds check in grapheme_strpos 2012-03-25 00:56:38 -07:00
Rasmus Lerdorf 900778731c open_basedir check for linkinfo 2012-03-25 05:32:21 +05:30
Pierrick Charron da2da13f93 Remove unused variable 2012-03-24 17:49:58 -04:00
Hannes Magnusson 948d326b29 Fix test on FreeBSD and other systems that have /etc/services 2012-03-24 17:58:40 +01:00
Hannes Magnusson 4fc4dd8760 This is a git checkout 2012-03-24 17:16:50 +01:00
Ilia Alshanetsky 8d0760f38a Revert incorrect fix 2012-03-24 12:27:55 -04:00
David Soria Parra cb54532b7f Merge commit '521ebec3e9bcd4fa75772d2bfa57a733dfe1d5fa' into PHP-5.3
This merge combines a accidentaly separated head, leading to two duplicated
commits in history (again).

* commit '521ebec3e9bcd4fa75772d2bfa57a733dfe1d5fa':
  Revert "Implemented FR #60738 (Allow 'set_error_handler' to handle NULL)"
2012-03-24 14:38:03 +01:00
Xinchen Hui 521ebec3e9 Revert "Implemented FR #60738 (Allow 'set_error_handler' to handle NULL)"
This reverts commit fcae164ea6.
2012-03-24 19:29:56 +08:00
Xinchen Hui 9c99a89e8e Revert "Implemented FR #60738 (Allow 'set_error_handler' to handle NULL)"
This reverts commit fcae164ea6.
2012-03-24 19:26:02 +08:00
Xinchen Hui 2d21149743 Revert "Merge from PHP-5.4"
This reverts commit 9a87fe1c52.
2012-03-24 19:25:21 +08:00
Xinchen Hui fcae164ea6 Implemented FR #60738 (Allow 'set_error_handler' to handle NULL) 2012-03-24 15:13:10 +08:00
Xinchen Hui 9a87fe1c52 Merge from PHP-5.4
Improve set_exception_handler
2012-03-24 14:33:00 +08:00
Xinchen Hui 56dac369ab Fix ZTS build 2012-03-24 14:22:04 +08:00
Gustavo André dos Santos Lopes f514856fbb Merge branch 'dom_debug_handler' into 5.3 2012-03-23 22:14:24 +00:00
Gustavo André dos Santos Lopes 15d7d460bd Updated NEWS (DOM object debug info handler). 2012-03-23 22:13:26 +00:00
Gustavo André dos Santos Lopes 372801d94c Fixed tests that var_dump/print_r DOM objects. 2012-03-23 22:08:33 +00:00
Gustavo André dos Santos Lopes b61017c9b6 Improved on DOM object debug info handler. Added test. 2012-03-23 21:23:24 +00:00
Joey Smith d04682766d Added DOM Debug handler 2012-03-23 21:23:23 +00:00
Gustavo André dos Santos Lopes 3960def881 Fixed bug #61482, caused by the fix to bug #61418.
Turns out I'd forgotten to also update the destructor for the iterator
returned by DirectoryIterator.
The iterator for DirectoryIterator maintains the same ->current pointer
throughout its existence (the DirectoryIterator itself) and returns it
(the same object) everytime a value is requested from the iterator.
Moving forward the iterator only changes the object. Previous code
added two references to the object in get_iterator on the account of
1) the iterator memory living in its DirectoryIterator object and
2) the object being stored in iterator->current. This seems to be
unnecessary. Iterators are not responsible for incrementing the refcount
of the values they yield, that's up to the caller (the engine). What
matters for the iterator is that the object exists as long as the
iterator exists and this can be guaranteed by incremented the refcount
only once. Consequently, I only add one reference in get_iterator
(and reclaim it in the iterator destructor).
2012-03-23 11:19:19 +00:00
Gustavo André dos Santos Lopes 85725337d5 Revert "Revert "- Fixed bug #61418 (Segmentation fault when DirectoryIterator's or" - causes bug #61482"
This reverts commit a89c4a34ee.
2012-03-23 09:40:27 +00:00
Gustavo André dos Santos Lopes e8ecb11449 Revert "revert from NEWS too"
This reverts commit 4990250f2d.
2012-03-23 09:40:20 +00:00
Stanislav Malyshev 4990250f2d revert from NEWS too 2012-03-22 22:34:32 -07:00
Stanislav Malyshev a89c4a34ee Revert "- Fixed bug #61418 (Segmentation fault when DirectoryIterator's or" - causes bug #61482
This reverts commit 714f1ff4b3.
2012-03-22 22:29:50 -07:00
Christopher Jones 7164175e85 Add initialization tests for SQLT_INT binds
Added tests for SQLT_INT binds particularly to check for uninitialized
variables.
2012-03-22 13:24:46 -07:00
Johannes Schlüter 1a0b0ead14 Fix NEWS 2012-03-22 16:40:13 +01:00
Ilia Alshanetsky b4aea52682 Fixed bug #61423 (gzip compression fails). 2012-03-22 09:13:45 -04:00
Dmitry Stogov 672fe54a00 Revert "Fixed reference counting"
This reverts commit 14af1fe692.
2012-03-22 15:51:58 +04:00
Dmitry Stogov 14af1fe692 Fixed reference counting 2012-03-22 15:03:16 +04:00
Xinchen Hui 523396cb28 Fix test, and merge the modification from trunk 2012-03-22 17:30:16 +08:00
Xinchen Hui 27208de763 Ignore the tempoary files 2012-03-22 17:22:17 +08:00
Xinchen Hui e96a172114 Fix test, which was broken by the fix for #61173 2012-03-22 17:10:03 +08:00
Gustavo André dos Santos Lopes cdc5d4a801 Merge branch 'PHP-5.3' of git.php.net:/php-src into 5.3 2012-03-21 21:13:35 +00:00
Gustavo André dos Santos Lopes 2d2995f343 Fixed bug #61043: Regression in magic_quotes_gpc fix (CVE-2012-0831)
Merge commit 'refs/pull/12/head' of git://github.com/php/php-src into 5.3

Signed-off-by: Gustavo André dos Santos Lopes <cataphract@php.net>
2012-03-21 21:12:31 +00:00
David Soria Parra ca797ca31e Use the NEWS merge driver if available
As described in https://wiki.php.net/vcs/gitworkflow#the_news_file it
is possible to setup a custom merge driver for NEWS so git doesnt try
to merge it.  This commit sets the default merge driver for the NEWS
file to the merge driver called NEWS.
2012-03-21 18:11:41 +01:00
Rasmus Lerdorf 24a57ae9a5 NEWS entry for readline fix 2012-03-21 09:15:35 -07:00
Rasmus Lerdorf 8b01a28bad Add open_basedir checks to readline_write_history and readline_read_history 2012-03-21 09:13:06 -07:00
Dmitry Stogov 657547f8c4 Fixed bug #49853 (Soap Client stream context header option ignored) 2012-03-21 16:32:49 +04:00
David Soria Parra 944e622821 Always keep the NEWS file from the branch when merging
We usually don't want to touch the NEWS files when we merge and have the
news items not merged by git. Therefore we tell git to use the 'ours' strategy
for the NEWS file.
2012-03-21 12:38:43 +01:00
Ondřej Surý d1fd5432e1 Fixed bug #61043 (Regression in magic_quotes_gpc fix for CVE-2012-0831) 2012-03-21 08:44:59 +01:00
Pierre Joye fda25d97ff - update NEWS 2012-03-21 07:06:07 +01:00
Pierre Joye baeaafd395 - add test for bug #55000 and #54374 2012-03-21 07:00:22 +01:00
Pierre Joye 95dcd799fb - merge fix bug #54374, bug #55500 - filter file names better, no dangling [s, svn revision 321664 2012-03-21 06:58:55 +01:00
Stanislav Malyshev cb4e82a1cc adapt makedist to git 2012-03-20 10:02:00 -07:00
David Soria Parra f7b10abae9 Replace $Revision$ with $Id$ in keyword expansion enable files 2012-03-20 17:53:47 +01:00
David Soria Parra eb8812e58b Enable $Id$ expansion for files with the $Revision$ keyword
Git supports a limited $Id$ keyword expansion. This $Id$ tag is similar to
$Revision$ in SVN. We enable the $Id$ expansion only for files that use
$Revision$.
2012-03-20 17:49:42 +01:00
Matt Nowack 76ef76d2f8 Adding Braces in json.c to conform with coding standards 2012-03-20 17:29:04 +01:00
Xinchen Hui 7aa2b75db2 Ignore the temporay files in sapi/*/tests/ 2012-03-20 17:20:15 +08:00
Christopher Jones 4a6d9b348f Minor text changes (to try new git repo) 2012-03-19 15:16:33 -07:00
Ilia Alshanetsky edb57810a7 Fixed bug #61430 (Transposed memset() params in sapi/fpm/fpm/fpm_shm.c). 2012-03-19 13:10:23 -04:00
Sebastian Bergmann bcd19cf649 Add missing files. 2012-03-19 18:25:37 +01:00
David Soria Parra 887ee455dc Add .gitignore
The gitignore file was created using git svn show-ignore and the overlapping
patterns were removed.
2012-03-19 15:58:34 +01:00
David Soria Parra 3fd0b5f18a Merge branch 'PHP-5.2' into PHP-5.3
This merge is a "fake". It was done with the merge strategy
"ours" to ensure Git thinks both branches are in sync after
the migration from SVN.
2012-03-19 06:11:40 -07:00
Gustavo André dos Santos Lopes 227112cb0f - Fixed bug #61388 (ReflectionObject:getProperties() issues invalid reads
when get_properties returns a hash table with (inaccessible) dynamic
  numeric properties).
2012-03-18 18:23:27 +00:00
Gustavo André dos Santos Lopes 714f1ff4b3 - Fixed bug #61418 (Segmentation fault when DirectoryIterator's or
FilesystemIterator's iterators are requested more than once without
  having had its dtor callback called in between).
2012-03-18 15:07:20 +00:00
Gustavo André dos Santos Lopes ef19fba2d5 - Fixed bug #61371 (resource leak). This bug had two parts, a long standing leak
already fixed in trunk/5.3 and now merged onto 5.4 and a leak introduced in
  fixing bug #61115. This better fix for #61115 fixes the leak (the inhibition
  for deleting the context was too broad) and so prevents segfaults in new
  circumstances (where the inhibition was not broad enough).
2012-03-17 19:37:30 +00:00
Michael Wallner a07759a013 add --PUT-- section support based on POST_RAW 2012-03-17 09:35:25 +00:00
Ilia Alshanetsky 1ef5fa8710 Fixed bug #60947 (Segmentation fault while executing ibase_db_info) 2012-03-15 19:59:26 +00:00
Ilia Alshanetsky 601d17d1ae Fixed bug #61212 (PDO ODBC Segfaults on SQL_SUCESS_WITH_INFO). 2012-03-14 20:20:33 +00:00
Ulf Wendel 8665e02ccd Test for MySQL version.Variable is deprecated in MySQL 5.6. 2012-03-14 14:55:09 +00:00
Christopher Jones 19c0803b77 Test portability and coverage changes 2012-03-12 18:08:34 +00:00
Ilia Alshanetsky 9c886ea553 Fixed bug #60222 (time_nanosleep() does validate input params). 2012-03-12 16:53:07 +00:00
Xinchen Hui 943a4fed4e reduce memory usage 2012-03-12 14:52:02 +00:00
Ilia Alshanetsky 2cc64c28f0 Fixed bug #60569 (Nullbyte truncates Exception $message). 2012-03-11 18:15:13 +00:00
Felipe Pena af2fc625df - Fixed memory leak when calling SplFileInfo's constructor twice 2012-03-11 15:42:57 +00:00
Xinchen Hui eac33b454c Typo when merging from trunk 2012-03-11 15:31:19 +00:00
Xinchen Hui 7536bf963d Fixed bug #61273 (call_user_func_array with more than 16333 arguments leaks / crashes) 2012-03-11 15:28:31 +00:00
Xinchen Hui 7ace6dd108 Fix wrong type in the marco of fetching thread globals 2012-03-11 15:12:28 +00:00
Xinchen Hui 41fa157c44 Fixed bug #61088 (Memory leak in readline_callback_handler_install). 2012-03-11 09:19:38 +00:00
Xinchen Hui e2efb68056 Sorry for wrong order again. 2012-03-11 09:06:12 +00:00
Xinchen Hui fc3e63e412 Re-order them according to README.SVN-RULES 2012-03-11 09:02:00 +00:00
Xinchen Hui eff668a596 Oops, sorry for my poor english 2012-03-11 08:34:06 +00:00
Xinchen Hui 533d90066e Fix test 2012-03-11 08:30:30 +00:00
Xinchen Hui a7639291b4 Fixed bug #61347 (inconsist isset behavior of Arrayobject) 2012-03-11 08:27:55 +00:00
Gustavo André dos Santos Lopes 7bbf5fe650 - Fixed bug #61326 (ArrayObject comparison). 2012-03-10 17:19:39 +00:00
Michael Wallner b39ffa3f34 merge 322758 (detect a php-cgi which is a sibling of php cli) 2012-03-09 19:51:09 +00:00
Ilia Alshanetsky b61f335b9d Fixed bug #60842, #51775 (Chunked response parsing error when chunksize length line is > 10 bytes). 2012-03-08 20:14:26 +00:00
Johannes Schlüter ecf87a96b9 Use correct property ctor, should fix threading issue in bug #55334
# The code was refactored in 5_4/trunk, no need to merge
2012-03-08 12:52:12 +00:00
Gustavo André dos Santos Lopes b976ebad35 - Oops committed old version of the patch in r324020. Fixed. See bug #61253. 2012-03-08 12:39:48 +00:00
Gustavo André dos Santos Lopes f413b3726c - Fixed bug #61253: Wrappers opened with errors concurrency problem
#NOTE: There is a very small possibility that this will further break
#extensions that access wrapper->{err_stack, err_count}. On PECL SVN, rar is the
#only one and it may leak memory after this. I say "further break" because
#extensions that do that are already broken (will segfault) under ZTS, which is
#why this patch is necessary.
#There was what I deem as tacit acceptance from 5.3/5.4 RMs on this.
2012-03-08 12:30:59 +00:00
Gustavo André dos Santos Lopes b7c9f8ae8a - Fixed bug #61267: pdo_pgsql's PDO::exec() returns the number of SELECTed
rows on postgresql >= 9
2012-03-08 08:52:28 +00:00
Ilia Alshanetsky f005f36cd6 Fixed bug #60634 (Segmentation fault when trying to die() in SessionHandler::write()) 2012-03-08 03:31:46 +00:00
Derick Rethans c9436c200e Fixed version numbers. 2012-03-06 18:34:10 +00:00
Derick Rethans ecf8986a9a Add the ZEND_DONT_UNLOAD_MODULES environment variable for debugging to 5.3 as
well.
2012-03-06 18:25:55 +00:00
Johannes Schlüter abd5670566 Apply test fix for bug #61288 pdo_mysql___construct_options_libmysql.phpt test fails 2012-03-06 01:43:49 +00:00
Johannes Schlüter 512fdb4cc2 Fix bug #61003 mysql_stat() require a valid connection 2012-03-06 00:15:40 +00:00
Johannes Schlüter dc0070e323 Fix bug #61194 PDO should export compression flag with myslqnd 2012-03-05 23:57:24 +00:00
Johannes Schlüter b526e0e410 Fix Bug #61207 PDO::nextRowset() after a multi-statement query doesn't always work 2012-03-05 23:38:15 +00:00
Pierre Joye 2c43149f21 - fix bug #61290, fix build 2012-03-05 20:53:40 +00:00
Dmitry Stogov a05a3a0a4a Fixed bug #60887 (SoapClient ignores user_agent option and sends no User-Agent header) 2012-03-05 12:59:01 +00:00
Dmitry Stogov e182aeec10 Fixed module numbering 2012-03-05 12:47:25 +00:00
Pierre Joye 3a24a0b76e - fix bug #54407, Incorrectly defined NTDDI_VERSION macro 2012-03-04 22:15:12 +00:00
Gustavo André dos Santos Lopes 02592974b4 - size_t may be shorter than long and definitely is not signed. Note that the
z modifier was only added in C99, so we can't use it.
2012-03-04 19:30:01 +00:00
Pierre Joye d85cc4a1a1 - fix bug #54407, Incorrectly defined NTDDI_VERSION macro 2012-03-04 15:23:24 +00:00
Nikita Popov 3bc1455496 Fix bug #60596: Code Cleanup Removing Superfluous If Statement
Cleanup only, no function change. Patch by ircmaxell.
2012-03-04 13:52:48 +00:00
Ilia Alshanetsky 0fe734b7c8 Fixed bug #60106 (stream_socket_server silently truncates long unix socket paths) 2012-03-03 20:36:14 +00:00
Nikita Popov 3e7792aed7 Fix bug #61264: xmlrpc_parse_method_descriptions leaks temporary variable 2012-03-03 12:46:17 +00:00
Nikita Popov 37d7df72a6 Fix bug #52719: array_walk_recursive crashes if third param of the function is by reference 2012-03-02 18:05:38 +00:00
Rasmus Lerdorf 950e6b3ea3 Missed 5.3 for the Armenia DST drop 2012-03-02 17:08:00 +00:00
Derick Rethans 282d601338 - Updated to version 2012.2 (2012b) 2012-03-02 17:00:33 +00:00
Adam Harvey 03f3d03ce0 MFH: Fix bug #60801 (strpbrk() mishandles NUL byte). (Trunk commit: r322934). 2012-03-02 03:39:04 +00:00
Christopher Jones 949ef40139 Fixed bug #61172 (Add Apache 2.4 support) 2012-03-02 00:07:41 +00:00
Christopher Jones 4fff4753ac Change PHP 6 refs to PHP 5.4 and sync some spelling with PHP_5_4 branch files 2012-03-01 20:05:18 +00:00
Derick Rethans 1476b02ca1 - Updated to version 2012.1 (2012a) 2012-03-01 15:09:49 +00:00
Christopher Jones b6427b8f5d Add the CVE numbers that were mentioned in the related php.net announcements 2012-02-29 20:48:17 +00:00
Christopher Jones c82d0a1e0b Remove "backported" from 5.4 comments since 5.3 is the base version these bugs are fixed. Reorder. 2012-02-29 18:46:17 +00:00
Rasmus Lerdorf 99c70829a0 Fix bug 61193 2012-02-27 12:16:39 +00:00
Xinchen Hui 5f4ae28459 Improve fix for #61165, the previous one cause #43450 test failed 2012-02-26 14:56:26 +00:00
Xinchen Hui c870ebe138 Fixed bug #61087 (Memory leak in parse_ini_file when specifying invalid scanner mode) 2012-02-25 14:15:11 +00:00
Olivier DOUCET 118dd43555 test for bug #61124 2012-02-25 13:27:57 +00:00
Nikita Popov f79e133360 NEWS for r323330
So cjones doesn't have nightmares :P
2012-02-25 13:04:43 +00:00
Olivier DOUCET f94237edf3 fix phpt : fopen(data://) requires allow_url_fopen=1 2012-02-25 12:44:46 +00:00
Olivier DOUCET ce535f1819 more verbose skip reason in test files with not so obvious extension requirements 2012-02-25 12:10:41 +00:00
Xinchen Hui 7334a4b14f merge test to 5.3, and remove xfail since the bug was fixed 2012-02-25 05:18:40 +00:00
Xinchen Hui 1ee93c83ff Fixed bug #61165 (Segfault - strip_tags()) 2012-02-25 04:36:08 +00:00
Gustavo André dos Santos Lopes bcefc31e68 - Better fix for #61115.
- Fixed resource leak in stream_socket_client().
2012-02-24 22:56:21 +00:00
Gustavo André dos Santos Lopes 48666d9ffc - Fixed bug #61173 (Unable to detect error from finfo constructor).
- Tidied up NEWS
2012-02-24 10:01:39 +00:00
Christopher Jones 31a100dccd Relocate orphan line 2012-02-23 19:43:38 +00:00
Scott MacVicar f424fe8aed Fixed bug #61124 (Crash when decoding an invalid base64 encoded string). 2012-02-23 01:26:46 +00:00
Nikita Popov 48a01d2b00 NEWS for r323362 2012-02-22 17:21:57 +00:00
Gustavo André dos Santos Lopes eb1ada852d - Fixed bug #61115 (stream related segfault on fatal error in
php_stream_context_link).
#run-tests.php is not currently detecting the segfault in the test
#Missing 5.4 merge
2012-02-22 11:45:26 +00:00
Rasmus Lerdorf 69f24fb502 Yup, these need to be escaped. Good catch. 2012-02-21 00:01:19 +00:00
Rasmus Lerdorf cc813032cd Fix bug 61149 2012-02-20 20:29:26 +00:00
Etienne Kneuss 86fcb9659e Fix #61095 (Lexing 0x0*+<NUM> incorrectly) 2012-02-20 18:28:57 +00:00
Nuno Lopes ba259f6bdc fix race condition in find (it was finding the copied files over and over again, and recursing forever) 2012-02-20 16:01:34 +00:00
Nikita Popov f9e8477b04 Fix bug #61139 gzopen leaks when specifying invalid mode
Needs to be merged to 5.4.
2012-02-19 14:39:29 +00:00
Nikita Popov bfcc199f28 Fix bug #61097 Memory leak in xmlrpc functions copying zvals
Needs to be merged to 5.4.
2012-02-18 14:58:19 +00:00
Nikita Popov daa190f8fd Fix headers generated by phar
sapi_header_line.line_len is the length without null terminator, so one has to
take sizeof - 1. This fixes some test failures as the NUL bytes were causing
warnings.

Needs to be merged to 5.4.
2012-02-18 13:39:13 +00:00
Adam Harvey 1551f20129 Merge 5.3.10 NEWS, per Ondřej's mailing list prod. 2012-02-18 04:32:45 +00:00
Rasmus Lerdorf f2e420a70e Weird, what happened here? 2012-02-16 17:48:30 +00:00
Mateusz Kocielski ddcf55b640 * fixed bug #60704 unlink() bug with some files path
Reviewed by: rasmus@
2012-02-14 14:14:30 +00:00
Rasmus Lerdorf 4ed1640b35 This one depends on max_input_vars as well 2012-02-14 09:50:46 +00:00
Rasmus Lerdorf 2a2af1bffc These tests fail unless max_input_vars and/or max_file_uploads is set high enough 2012-02-14 09:47:32 +00:00
Dmitry Stogov 282d3f2034 Improved max_input_vars directive to check nested variables 2012-02-14 08:58:52 +00:00
Xinchen Hui 8f7381a6ea Fixed bug #61072 (Memory leak when restoring an exception handler) 2012-02-14 05:35:34 +00:00
Rasmus Lerdorf fdd1977ea7 Unbreak these tests - please be careful with your Windows-based editors that
seem to mess up ^M's here.
2012-02-12 08:01:25 +00:00
Xinchen Hui 33125e2312 Improved fix for #61058, and add test script 2012-02-12 05:32:24 +00:00
Xinchen Hui c578917e30 Fixed bug #61058 (array_fill leaks if start index is PHP_INT_MAX) 2012-02-12 04:59:08 +00:00
Xinchen Hui 2e61d04f49 decrescent order
#<Felipe> laruence: yes, we used to use decrescent order of bug id in the NEWS entry.
2012-02-08 15:07:28 +00:00
Xinchen Hui 3f23b11151 Fixed bug #61000 (Exceeding max nesting level doesn't delete numerical vars). 2012-02-08 14:07:27 +00:00
Antony Dovgal ce1a1f5f49 fix bug #54682 (tidy null pointer dereference) 2012-02-07 20:49:10 +00:00
Christopher Jones b0678ea229 Fix OpenSSL version-dependent diff. "Time Stamp signing" is not in openssl 0.9. Skip current test for 0.9. New test for 0.9 approved by Stas 2012-02-07 01:15:13 +00:00
Christopher Jones e2ab222c13 Force allow_url_fopen to fix qa.php.net/reports diffs 2012-02-06 23:52:42 +00:00
Christopher Jones 2759e78afc Mask different curl message. Now passes on Oracle Linux 5 2012-02-06 23:31:51 +00:00
Christopher Jones dbefe8d8ea Allow alternative curl output shown in several qa.php.net/reports logs 2012-02-06 23:14:47 +00:00
Rasmus Lerdorf 4ecfa5abf5 Safer way to call pcre_fullinfo - bug 60986 2012-02-06 18:18:53 +00:00
Rasmus Lerdorf 0f6e3408db Fix for bug 60986 2012-02-06 18:11:56 +00:00
Rasmus Lerdorf d00be8ce0b Same thing here. "June 18, 1969 8:49:59 AM " does not contain a timezone, so there
is no way to know whether dst should be applied or not.
2012-02-05 10:35:56 +00:00
Rasmus Lerdorf 67fe1e2619 Without a timezone you can't know whether it is dst or not in this one 2012-02-05 10:29:34 +00:00
Rasmus Lerdorf f6f283c3e2 Another openssl test that is dependent on the openssl version. The output has
changed in more recent versions. Synch with newer output and consider changing
the test to only pick out the more stable fields instead of all of them.
2012-02-05 10:08:16 +00:00
Popa Adrian Marius f36a3113b6 fix gcov Warning: ibase_drop_db(): lock time-out on wait transaction object http://gcov.php.net/viewer.php?version=PHP_5_4&func=tests&file=ext%2Fpdo_firebird%2Ftests%2Fbug_53280.phpt 2012-02-05 09:58:50 +00:00
Rasmus Lerdorf 60df9abf95 Need EXPECTF here, of course 2012-02-05 09:52:41 +00:00
Rasmus Lerdorf e24b6cdf56 Getting different hashes here. But this test isn't testing the hashes,
it is just making sure we actually get a hash and don't crash.
2012-02-05 09:50:14 +00:00
Rasmus Lerdorf 21c776850c According to the reports on qa this test is failing the same way for everyone.
See: http://qa.php.net/reports/viewreports.php?version=5.3.10&test=%2Fext%2Fopenssl%2Ftests%2Fbug28382.phpt
I'm not sure if this is due to a change in the openssl library or in the extension, so perhaps the test
itself needs to change, but for now synch it with the new output and watch for failures.
2012-02-05 09:32:20 +00:00
Rasmus Lerdorf fe802ac2ad This test needs gc enabled 2012-02-05 06:09:22 +00:00
Xinchen Hui 30f63e4152 Fixed bug #60968 (Late static binding doesn't work with ReflectionMethod::invokeArgs()) 2012-02-03 16:27:35 +00:00
Gustavo André dos Santos Lopes 8e82bda330 - Merging r323033 into 5.3 (see bug #60227). 2012-02-03 08:48:34 +00:00
David Soria Parra fa579f2f9b mention git 2012-02-03 08:14:39 +00:00
Adam Harvey 479c22523c Fix bug #60933 (Testing asort with SORT_LOCALE_STRING fails on Mac OS X 10.6) on PHP_5_3 and trunk. 2012-02-03 01:21:24 +00:00
Johannes Schlüter 1e16c821aa This will be PHP 5.3.11, 5.3.10 will be released from other branch 2012-02-02 17:25:23 +00:00
Andrey Hristov d54bdbbbe4 assert 2012-02-02 15:00:42 +00:00
Dmitry Stogov 87c038be06 Always restore PG(magic_quote_gpc) on request shutdown 2012-02-02 12:58:54 +00:00
Dmitry Stogov 89bc5ece51 Fixed memory leaks 2012-02-02 10:26:53 +00:00
Stanislav Malyshev 40d8cd1f12 fix UMR in php_register_variable_ex, reported by Stefan Esser 2012-02-01 19:52:05 +00:00
Etienne Kneuss 78c8b4c8ff Fix test 2012-02-01 13:25:32 +00:00
Dmitry Stogov 0750f6aeed Fixed basic HTTP authentication for WSDL sub requests. 2012-02-01 12:16:52 +00:00
Dmitry Stogov 43a0ee73a1 Fixed basic HTTP authentication for WSDL sub requests 2012-02-01 11:26:57 +00:00
Pierre Joye 0e0d79218f - fix #55226, WS 2012-01-31 07:17:05 +00:00
Pierre Joye 3115e6497a - fix #55226, fix build 2012-01-31 07:14:36 +00:00
Pierre Joye e31a457c72 - libssh2 1.3.0 2012-01-30 11:04:19 +00:00
Dmitry Stogov ce9f1a4313 Fixed bug #51860 (Include fails with toplevel symlink to /) 2012-01-30 10:08:11 +00:00
Rasmus Lerdorf c5bb1710bd createCollation 2012-01-29 04:23:27 +00:00
Rasmus Lerdorf abff96d02e createCollation() for pdo_sqlite as well
Closes bug #55226
2012-01-29 04:22:23 +00:00
Rasmus Lerdorf 191cc014be Missed the test 2012-01-29 04:20:50 +00:00
Rasmus Lerdorf 996d91b6b9 createCollation() 2012-01-29 03:59:35 +00:00
Rasmus Lerdorf 8850050039 Good patch from Brad Dewar that adds missing createCollation()
method. Fixes bug #60871 and is related to bug #55226
2012-01-29 03:57:29 +00:00
Felipe Pena f78c9a9f4e - Fixed bug #60860 (session.save_handler=user without defined function core dumps) 2012-01-28 21:02:09 +00:00
Rasmus Lerdorf 510bb3131b Simple fix that just quotes the filenames in run-tests to support paths with spaces.
Fixes bug #60734
2012-01-28 02:43:31 +00:00
Pierre Joye f75f11857c - update libs 2012-01-27 17:35:01 +00:00
Pierre Joye 9c948ad564 - update libs 2012-01-27 17:31:17 +00:00
Pierre Joye 2e1e20b69b - update libs 2012-01-27 13:27:03 +00:00
Pierre Joye 4879a01b54 - fix #60895, possible invalid handler usage 2012-01-27 10:56:33 +00:00
Pierre Joye d997e578b7 - openssl 0.9.8t, curl 7.24.0 2012-01-26 12:11:02 +00:00
Xinchen Hui 6b1d3b3d10 Re-fixed bug #60825 (Segfault when running symfony 2 tests) 2012-01-24 14:39:45 +00:00
Nuno Lopes 773f4c5242 minor tweak to warning to fix the bug54682.phpt test 2012-01-23 09:22:38 +00:00
Gustavo André dos Santos Lopes 45a6f8d9a5 - Further fix for bug #60455 (stream_get_line misbehaves if EOF is not detected
together with the last read).
- Fixed bug #60817 (stream_get_line() reads from stream even when there is
  already sufficient data buffered). stream_get_line() now behaves more like
  fgets(), as is documented.
#withheld commit to 5.4
2012-01-22 20:30:37 +00:00
Nuno Lopes 4dd01451dd revert r319254 (fix bug #54682) since it is not correct
add test that was broken with that patch.
this bug is probably in libtidy itself and not in PHP. I didn't investigate it enough to confirm, though
2012-01-21 11:32:56 +00:00
Rasmus Lerdorf dd95d90509 . 2012-01-19 22:41:39 +00:00
Popa Adrian Marius d13feb83ed Added the bugfixing notes to the NEWS file 2012-01-19 22:35:35 +00:00
Rasmus Lerdorf 6f27b1f1a6 Missing ifdef here
Fixes bug 60811
2012-01-19 22:35:22 +00:00
Popa Adrian Marius d828944a61 Fix #60802 ibase_trans() gives segfault when passing params (The &argn passed to zend_parse_parameters shall be a pointer to an integer, not to an unsigned short.) 2012-01-19 22:25:54 +00:00
Ferenc Kovacs 8619b22ef3 merging the patch from #52078, fixes the test on disk with huge inode size(fileinode() can overflow and return negative values there). will merge this to PHP_5_4 after the commit freeze. 2012-01-19 00:20:04 +00:00
Pierre Joye 9e4669b3a6 - add test for bug #60761 2012-01-18 20:29:13 +00:00
Pierre Joye 1cc5588248 - add test for bug #60771 2012-01-18 20:22:47 +00:00
Pierre Joye 5b72785c68 - add test for bug #60761 2012-01-18 20:21:40 +00:00
Dmitry Stogov ccd1b15bd0 Fixed workaround for bug #48034 on Windows (Crash when script is 8192 (8KB) bytes long) 2012-01-17 09:30:12 +00:00
Johannes Schlüter 93ee94adb6 We should be back to -dev ... 2012-01-15 19:51:36 +00:00
Nuno Lopes 1578af3c03 regen to fix lcov issues 2012-01-15 00:07:26 +00:00
Rui Hirokawa 7ba37f7921 fixed failed tests (backport from PHP_5_4/trunk). 2012-01-14 09:07:10 +00:00
Rui Hirokawa 61088ce729 MFH: fixed bug #60227: header() cannot detect the multi-line header with CR. 2012-01-14 07:41:01 +00:00
Christopher Jones f115235a6e Fix configuration message typo and alignment (5.4 merge approved by Stas) 2012-01-12 23:23:05 +00:00
Johannes Schlüter c7904620d1 - Fix version number as used in Windows builds for 5.3.9 2012-01-10 13:27:39 +00:00
Johannes Schlüter 3eb4b024ee PHP 5.3.9 2012-01-10 11:21:57 +00:00
Pierre Joye c97197b377 - make it windows version independent, error msg differs, bad but well 2012-01-10 08:30:00 +00:00
Popa Adrian Marius 24e071c021 added fixed Pdo Firebird bugs to the NEWS section 2012-01-10 06:53:37 +00:00
Popa Adrian Marius b69f55c12e sync firebird test 003 with the 5.4 branch , eliminate failing test http://gcov.php.net/viewer.php?version=PHP_5_3&func=tests&file=ext%2Finterbase%2Ftests%2F003.phpt 2012-01-10 05:26:20 +00:00
Pierre Joye 5d85b02bca - error is windows version dependent and not what we test here 2012-01-09 15:31:33 +00:00
Pierre Joye 96e02805fb - spl tests are also under examples (sigh) 2012-01-09 13:56:46 +00:00
Rasmus Lerdorf ac5718cdd3 These tests don't work if run as root 2012-01-08 18:43:30 +00:00
Rasmus Lerdorf adc8c296ac Make sure gc is enabled 2012-01-08 18:22:50 +00:00
Nuno Lopes bf7df5aff5 do kill 9 to fix a race condition in this test. (should fix the debian 32-bit buildbot) 2012-01-08 18:03:56 +00:00
Jérôme Loyet ae7943a79d - Fixed credits for bug #60659 2012-01-04 21:19:55 +00:00
Jérôme Loyet b9fab77d13 - Fixed bug #60659 (FPM does not clear auth_user on request accept) 2012-01-04 21:18:26 +00:00
Arpad Ray e6ca31057e add more tests for #60634 (stems from #21306) and xfail them all for the moment 2012-01-04 11:44:05 +00:00
Jérôme Loyet 0ca9fbc0de - Fixed bug #60629 (memory corruption when web server closed the fcgi fd) 2012-01-03 22:26:11 +00:00
Arpad Ray 062b67ed06 add test for #60634 2012-01-03 21:47:16 +00:00
Shein Alexey 4e5b5d29e3 Fixed broken test (different error message wording in 5.3 branch) 2012-01-02 20:02:21 +00:00
Matteo Beccati bedc816a1e Bug #55663, fixed test for bug 43139 on Firebird. Per request from mariuz 2012-01-02 11:43:25 +00:00
Nuno Lopes 71843491d3 regen for r321655 2012-01-01 22:52:23 +00:00
Nuno Lopes bac57c94fb fix memory leak in compile_string when there's a parse error (used e.g. in eval or assert) 2012-01-01 22:45:58 +00:00
Felipe Pena e4ca0ed09f - Year++ 2012-01-01 13:15:04 +00:00
George Wang 3c1df3349a fixed a crash in cli mode when apache_request_headers() is called 2011-12-31 18:15:06 +00:00
Popa Adrian Marius 596b37daf1 Fixed PDO_Firebird: bug 53280 segfaults if query column count is less than param count 2011-12-28 19:58:37 +00:00
Popa Adrian Marius d9f334c633 fix tablename in testcase test->testz 2011-12-28 19:09:41 +00:00
Popa Adrian Marius c4c248c6e7 Added test case for PDO_Firebird: bug 53280 segfaults if query column count is less than param count 2011-12-28 18:52:39 +00:00
Popa Adrian Marius 9b00068363 fix Bug #47415 PDO_Firebird segfaults when passing lowercased column name to bindColumn() 2011-12-28 10:17:17 +00:00
Popa Adrian Marius e2c5167b7b one more error to fix Table unknown TEST , it should be TESTZ 2011-12-28 10:04:25 +00:00
Popa Adrian Marius a2c7c201ab fix table name in testcase 2011-12-28 09:59:53 +00:00
Popa Adrian Marius c436981a70 added testcase for Bug 47415 2011-12-28 09:53:15 +00:00
Popa Adrian Marius cc57d73844 cleanup for bug 48877 test, add description 2011-12-28 09:41:02 +00:00
Daniel Convissor 467ed9255b Resolve the last of the xfails from Bug 55253. 2011-12-28 01:13:12 +00:00
Daniel Convissor 7dc52a6b43 Resolve more xfails due to Bug 55253 being fixed. 2011-12-27 19:44:13 +00:00
Daniel Convissor 5b3551e4e3 Resolve some xfails due to Bug 55253 being fixed. (merged from 54) 2011-12-27 16:57:36 +00:00
Popa Adrian Marius 5cad53802e http://gcov.php.net/viewer.php?version=PHP_5_3&func=tests&file=ext%2Fpdo_firebird%2Ftests%2Fbug_43130.phpt
fix failure for bug 43130
2011-12-27 16:49:00 +00:00
Popa Adrian Marius 5e9cf83df7 Forgot to add the Pdo Firebird related bug to the News 2011-12-27 11:05:58 +00:00
Dmitry Stogov ce52784052 Initialize structure (some fields may be missed in array returned from user handler). 2011-12-22 15:33:48 +00:00
Dmitry Stogov 8dad134ad7 Change fatal error into warning and ignore arguments over limit 2011-12-22 15:31:41 +00:00
Johannes Schlüter af07705f97 Back to -dev 2011-12-22 12:36:40 +00:00
Johannes Schlüter 712be66d05 PHP 5.3.9RC4 2011-12-22 12:33:04 +00:00
Gustavo André dos Santos Lopes ae054ae502 - Fixed bug #60570 (http wrapper leaks context resource if request fails/is
redirected).
2011-12-21 15:44:58 +00:00
Scott MacVicar 6c841dfda3 Add tests for OpenSSL crash. 2011-12-19 03:09:05 +00:00
Scott MacVicar 095cbc48a8 Fix segfault in older versions of OpenSSL (before 0.9.8i) 2011-12-18 05:14:32 +00:00
Dmitry Stogov b8a08bf263 Added max_input_vars directive to prevent attacks based on hash collisions 2011-12-15 10:31:02 +00:00
Dmitry Stogov 0d1998e34f Added max_input_vars directive to prevent attacks based on hash collisions 2011-12-15 08:47:03 +00:00
Andrey Hristov 2f0d084ab8 fix for 5.5.19 2011-12-14 19:29:45 +00:00
Andrey Hristov f16c10898b another fix 2011-12-14 19:28:41 +00:00
Andrey Hristov 536e675bfa fix test 2011-12-14 18:37:49 +00:00
Andrey Hristov 63ded0f5e9 fix test 2011-12-14 18:36:04 +00:00
Andrey Hristov 8a65304a01 fix typo 2011-12-14 17:59:11 +00:00
Pierre Joye 83841052e0 - add announce steps, s,cvs,svn, MFH 2011-12-14 16:32:50 +00:00
Andrey Hristov 141905ce54 fix test 2011-12-14 16:27:52 +00:00
Pierre Joye 848d71da29 - tmp dir is system depedent 2011-12-13 23:18:12 +00:00
Pierre Joye 8e54a63133 - skip on win 2011-12-13 23:04:01 +00:00
Pierre Joye 603bfaaff4 - ignore notices here, not what we test (array to string conversion) 2011-12-13 13:46:27 +00:00
Pierre Joye 3a68270fcf - use the test itself, making the test passes when ran outside the src tree 2011-12-12 19:09:01 +00:00
Pierre Joye 4e03e70575 - copy run-test php 2011-12-12 15:10:40 +00:00
Pierre Joye 52e77c9bc8 - skip on win 2011-12-12 14:03:24 +00:00
Pierre Joye 7eee6fa759 - skip on win 2011-12-12 14:02:06 +00:00
Pierre Joye aa37291e20 - skip on win 2011-12-12 13:56:42 +00:00
Pierre Joye ec9b8149e1 - skip on win 2011-12-12 13:53:38 +00:00
Pierre Joye c0ba404054 - skip on win 2011-12-12 13:49:21 +00:00
Pierre Joye 1a7f05705f - skip on win 2011-12-12 13:34:21 +00:00
Pierre Joye a4ecf57a30 - skip on win 2011-12-12 13:31:43 +00:00
Derick Rethans 9cbf9472b6 This test should no longer fail, and is perfectly okay for Linux to test on too. 2011-12-12 12:57:46 +00:00
Gustavo André dos Santos Lopes 74d2b2f0bd - Fixed bug #60455: stream_get_line misbehaves if EOF is not detected together
with the last read.
2011-12-11 21:08:15 +00:00
Popa Adrian Marius c55f9258b9 bug fixed #48877 - bindValue and bindParam do not work for PDO Firebird 2011-12-10 22:09:59 +00:00
Felipe Pena fbe48da396 - Fixed bug #60489 (Simple Typo In php.ini Files)
patch by: danbrown at php.net
2011-12-09 22:43:01 +00:00
Patrick Allaert 183493d624 Added tests contributions on spl_autoload and stream_context_set_option()
Thank you Jean-Marc Fontaine and Alter Way
2011-12-09 11:23:19 +00:00
Christopher Jones 77b821d3c5 Fix skipif 2011-12-08 20:43:23 +00:00
Pierrick Charron e8eab79ac8 Fix curl_copy_handle_basic_008.phpt when display_errors is On
(Thanks Chris Jones)
2011-12-08 18:57:01 +00:00
Hannes Magnusson 0a7fd1962b Uhh.. Can't believe noone noticed the gc option was missing from our ini files 2011-12-08 14:57:02 +00:00
Johannes Schlüter 451263f7d0 - Back to -dev 2011-12-08 13:46:45 +00:00
Johannes Schlüter 4307bd57db - 5.3.9RC3 2011-12-08 11:01:37 +00:00
Johannes Schlüter 52169a44af - These changes were done after RC2. 2011-12-08 11:00:16 +00:00
Derick Rethans 109cc0bfab Test cosmetics. 2011-12-07 19:42:44 +00:00
Derick Rethans 60d195dc44 Sorting out the tests *once* more.
Please keep them consistent and only change them if you are 110% certain what
you're doing. Otherwise -> please ask.
2011-12-07 19:24:58 +00:00
Pierrick Charron bc8fc80049 Fix test 2011-12-07 16:46:48 +00:00
Pierrick Charron 4093e5e797 Add new test for CURLOPT_POSTFIELDS 2011-12-07 16:32:50 +00:00
Pierre Joye 2ae3a4d849 - print_r seems to display 0 or nothing for days, let make that test works in both cases, that's not the purpose of this test to test print_r 2011-12-07 09:03:07 +00:00
Pierre Joye 361c162058 - fix warning and fix buggy behavior of timelib_diff due to bad assumption of floor signature (fixes almost date_diff tests too) 2011-12-07 08:39:43 +00:00
Pierre Joye 7e2d5315ec - force LF 2011-12-06 13:42:08 +00:00
Pierre Joye c46e5a1b7d - add windows version of this test 2011-12-06 13:35:41 +00:00
Pierre Joye 0c4915d580 - add windows version of this test 2011-12-06 13:34:45 +00:00
Pierre Joye 4a91e36366 - force LF 2011-12-06 13:16:40 +00:00
Pierre Joye d2fad53032 - force LF 2011-12-06 13:07:08 +00:00
Pierre Joye b84d8a5050 - force LF as EOL as the code expects it.
however it sounds like a bug in the implementation
phar.c:720
	if (4 != php_stream_read(fp, buffer, 4)) {
		MAPPHAR_ALLOC_FAIL("internal corruption of phar \"%s\" (truncated manifest at manifest length)")
	}

that code will fail if non LF eol are used. Or does phar supports only LF?
2011-12-06 11:58:05 +00:00
Derick Rethans 9aaec1c6e0 - Fixed bug number. 2011-12-06 06:23:13 +00:00
Derick Rethans 5b2ce47f2e - Fixed bug #53502 (strtotime with timezone memory leak).
- Fixed bug #52062 (large timestamps with DateTime::getTimestamp and
  DateTime::setTimestamp).
- Fixed bug #51994 (date_parse_from_format is parsing invalid date using 'yz'
  format).
- Fixed bug #51223 (Seg fault while creating (by unserialization)
  DatePeriod).
2011-12-06 06:21:08 +00:00
Derick Rethans 2a0343fb18 Make tests similar to the ones in 5.4 and trunk. 2011-12-06 06:13:41 +00:00
Derick Rethans 9f78bca569 - Added a test case for #53437. 2011-12-06 06:07:41 +00:00
Derick Rethans 2679ccc50b - Fixed bug #52062: large timestamps with DateTime::getTimestamp and DateTime::setTimestamp. 2011-12-06 06:04:24 +00:00
Derick Rethans 300b3efff5 - Cosmetics for test case for #48678. 2011-12-06 06:00:45 +00:00
Derick Rethans 70b782bc9a - Fixed test case for #54851.
- Make test case for #32555 the same for all branches.
2011-12-06 05:59:24 +00:00
Derick Rethans 0dcf098efd This changes adds the --EXTENSION-- section to .phpt files as
described in http://marc.info/?t=132248616300007&r=1&w=2.
2011-12-06 05:44:54 +00:00
Pierrick Charron a204f8fcfd Added myself as curl maintainer 2011-12-04 16:46:45 +00:00
Ilia Alshanetsky 8222ae737c Fixed Bug #55478 (FILTER_VALIDATE_EMAIL fails with internationalized
domain name addresses containing >1 -).
2011-12-04 14:52:40 +00:00
Pierrick Charron 109346779a Fixed bug #60439curl_copy_handle segfault when used with CURLOPT_PROGRESSFUNCTION 2011-12-04 01:34:54 +00:00
Pierrick Charron 3fe47ef089 Cleans up test file 2011-12-02 04:16:46 +00:00
Felipe Pena 78742a33a7 - Replace possible esc char to <esc> in the XML output 2011-12-01 15:47:58 +00:00
Christopher Jones 5fdb19fba0 Miscellaneous: move misplaced entry; fix typos; note more precise OCI8 DLL dependency; remove session.entropy_file setting which was only in PHP_5_3 php.ini-development 2011-11-29 22:33:55 +00:00
Dmitry Stogov d1432d434c Fixed bug #54911 (Access to a undefined member in inherit SoapClient may cause Segmentation Fault) 2011-11-28 14:20:35 +00:00
Felipe Pena 43a373437d - Added JUnit output format option
patch by: Ferenc Kovacs (tyrael at php.net)
2011-11-26 20:18:03 +00:00
Ferenc Kovacs 6f8518fbf5 adding some tests for string offsets 2011-11-26 18:41:45 +00:00
Felipe Pena 350325d42a - Fixed bug #55788 (test redirects should abide SHOW_ONLY_GROUPS in run-tests.php)
patch by: tyrael at php.net
2011-11-26 17:56:43 +00:00
Felipe Pena 06bc6bdc29 - Fix test 2011-11-26 17:35:19 +00:00
Felipe Pena 3ee878169b - Clean up 2011-11-26 17:30:03 +00:00
Derick Rethans 92e9a0bd91 - Fixed bug #54851 (DateTime::createFromFormat() doesn't interpret "D"). 2011-11-26 16:44:21 +00:00
Derick Rethans 1324d5d9c5 - Fixed bug #54596 (incorrect years for DateTime objects created with 4-digit
years).
2011-11-25 15:51:37 +00:00
Derick Rethans 016e57a712 - Force setting for tests. 2011-11-25 15:47:11 +00:00
Derick Rethans 45ae82d3f1 - Fixed bug #60373 (Startup errors with log_errors on cause segfault). 2011-11-25 14:06:55 +00:00
Xinchen Hui aa5ce0b58d warning: suggest parentheses around && within || 2011-11-25 07:50:18 +00:00
Derick Rethans 7411ae09f5 - Fixed bug #60236 (TLA timezone dates are not converted properly from
timestamp).
- Fixed bug #55253 (DateTime::add() and sub() result -1 hour on objects with
  time zone type 2).

And fixed some test cases.
2011-11-24 17:13:47 +00:00
Johannes Schlüter fb573462ca - Back to -dev 2011-11-24 14:00:10 +00:00
Johannes Schlüter e9087c9d4a - PHP 5.3.9RC2 2011-11-24 12:57:59 +00:00
Pierre Joye 91983739e7 - add crt warning ini 2011-11-24 12:51:28 +00:00
Pierre Joye fb53dd80d8 - merge crt warning change (r216594) and rename the ini to windows.show_crt_warning 2011-11-24 12:46:45 +00:00
Xinchen Hui fe96e8e64c Fixed bug #60367 (Reflection and Late Static Binding) 2011-11-24 09:16:11 +00:00
Ulf Wendel 0f799cc410 Good to fix something, but don't forget to update tests 2011-11-23 17:30:59 +00:00
Ulf Wendel 1d1d88bec0 Good to fix something, but don't forget to update tests 2011-11-23 17:23:57 +00:00
Ulf Wendel 2bfd24071b Always good to fix something, but don't forget to update tests 2011-11-23 17:01:09 +00:00
Ulf Wendel b5054a7c7b Fix test 2011-11-23 16:47:22 +00:00
Ulf Wendel 6c1f4e58ce Message can vary depending on server version 2011-11-23 16:38:50 +00:00
Dmitry Stogov 48a5ab0eca Fixed bug #48216 (PHP Fatal error: SOAP-ERROR: Parsing WSDL: Extra content at the end of the doc, when server uses chunked transfer encoding with spaces after chunk size) 2011-11-23 10:49:42 +00:00
Felipe Pena b6137f4cb1 - Fixed memory leak when calling the Finfo constructor twice 2011-11-23 01:20:49 +00:00
Felipe Pena c446440235 - Fix the fix (thanks Chris Jones!) 2011-11-22 19:18:34 +00:00
Pierrick Charron b0b58c3d08 Fix test to remove dependancy over php.net 2011-11-22 18:50:57 +00:00
Ulf Wendel 09a9df8d59 Skipping with libmysql. If a documentation points to more or less unmaintained wiki contents, I take it as a request to stop testing a feature. Can't tell if I get false positive, hit a bug or not. This is not libmysql testing. Its PHP MySQL API testing. 2011-11-22 16:52:42 +00:00
Andrey Hristov 692e7f2bd9 use the method in all builds. Thus it can be used for detection
of state transitioning in every case
2011-11-22 16:38:06 +00:00
Felipe Pena 72ad61733a - Fix the fix 2011-11-22 15:12:44 +00:00
Felipe Pena 8a4d75fe85 - Fixed possible memory leak in finfo_open() 2011-11-22 15:04:19 +00:00
Felipe Pena 4fffb5f5e0 - Fixed invalid free in call_user_method() function 2011-11-22 12:47:08 +00:00
Felipe Pena 735dc01811 - Fixed memory leak in several Intl locale functions 2011-11-22 12:29:15 +00:00
Pierrick Charron 0f26db6956 Fix this test to work with all version (even old) of libcurl 2011-11-22 08:29:26 +00:00
Pierrick Charron a1f1e0bcf9 Fix memory leak when using libcurl < 7.17.0 2011-11-22 05:19:37 +00:00
Felipe Pena f7048d0925 - Fixed possible crash in mb_ereg_search_init() using empty pattern 2011-11-21 19:15:18 +00:00
Pierrick Charron 0d73c76bec Fix memory leak 2011-11-21 02:29:24 +00:00
Pierrick Charron 1260d8e1c3 Fix test to use PHP_CURL_HTTP_REMOTE_SERVER 2011-11-21 02:10:57 +00:00
Pierre Joye 72004f29c2 - restore correct window_size 2011-11-20 10:10:43 +00:00
Pierre Joye 1e8fc920e1 - fix build, ansi c requires constant value, no expresion, even constant var 2011-11-19 23:09:12 +00:00
Felipe Pena 0c5bb1702b - Fixed bug #60339 (valgrind reports LEAK --with-mm)
patch by: yohgaki at ohgaki dot net
2011-11-19 18:50:49 +00:00
Felipe Pena b3b3eb8c2f - Fix tests 2011-11-19 18:01:26 +00:00
Felipe Pena 31ef559712 - Fixed bug #43200 (Interface implementation / inheritence not possible in abstract classes) 2011-11-19 13:36:03 +00:00
Antony Dovgal 75adcc8db0 backport the line from trunk and fix uninitialized variables 2011-11-19 13:23:16 +00:00
Mateusz Kocielski 17b39638d0 - Fixed bug #60337 bcscale related crashed on 64bits platforms 2011-11-19 12:46:43 +00:00
Felipe Pena b7e84d6b83 - Removed C++ comment style 2011-11-19 12:16:47 +00:00
Stanislav Malyshev 449907fb76 fix bug #60164 (Stubs of a specific length break phar_open_from_fp scanning for __HALT_COMPILER) 2011-11-19 04:59:56 +00:00
Stanislav Malyshev 1d0d8abc5f fix NEWS 2011-11-19 04:52:06 +00:00
Stanislav Malyshev 1dfbe61e2a fix bug #60150 for 5.3 too 2011-11-19 04:49:36 +00:00
Christopher Jones 57de041b14 r319456 also fixed the OCI8 part of #55301 (multiple null pointer) 2011-11-18 18:14:15 +00:00
Dmitry Stogov f7278c161f Fixed bug #60138 (GC crash with referenced array in RecursiveArrayIterator) 2011-11-18 12:43:53 +00:00
Christopher Jones 092a21cde3 Sync to 5.3 and check additional cases for #55748 2011-11-18 09:59:35 +00:00
Antony Dovgal c3b83e833d fix bug #60082 (Crash in ArrayObject() when using recursive references)
--Tis line, and those below, will be ignored--

M    trunk/ext/spl/spl_array.c
M    branches/PHP_5_4/ext/spl/spl_array.c
M    branches/PHP_5_3/ext/spl/spl_array.c
M    branches/PHP_5_3/NEWS
2011-11-18 05:22:35 +00:00
Felipe Pena 7735ef1c2d - Fixed bug #60099 (__halt_compiler() works in braced namespaces) 2011-11-16 17:41:40 +00:00
Felipe Pena 48b853c82f - Fixed bug #60267 (Compile failure with freetds 0.91) 2011-11-16 12:13:22 +00:00
George Wang 56728f11a8 keep code to be compatible with PHP4 2011-11-16 03:58:57 +00:00
George Wang badd6a91d4 keep PHP_5_4 in sync with PHP_5_3 branch 2011-11-16 03:44:42 +00:00
Jérôme Loyet e5ccae408e - Added .phar to default authorized extensions 2011-11-16 00:21:38 +00:00
Jérôme Loyet 772164446a typo 2011-11-16 00:19:43 +00:00
Jérôme Loyet bc169ba823 - FR #60199 (enhance FPM error log when the primary script can't be open) 2011-11-15 22:29:59 +00:00
Christopher Jones bf4cc0d564 Minor NEWS grammar fixes 2011-11-15 22:03:40 +00:00
Felipe Pena 42776c0259 - Fixed bug #55874 (GCC does not provide __sync_fetch_and_add on some archs)
patch by: klightspeed at netspace dot net dot au
2011-11-15 20:33:26 +00:00
Ilia Alshanetsky b6530d8978 Fixed bug #60244 (pg_fetch_* functions do not validate that row param is >0). 2011-11-15 18:02:58 +00:00
Felipe Pena 5f0e6a74ba - Fixed bug #52624 (tempnam() by-pass open_basedir with inexistent directory) 2011-11-15 16:59:59 +00:00
Felipe Pena bb6835f727 - Fixed bug #54682 (Tidy::diagnose() NULL pointer dereference) 2011-11-15 15:16:20 +00:00
Mateusz Kocielski 7cac52f58f #- Added information about NPD bug fix in the OpenSSL extension. 2011-11-14 19:20:34 +00:00
Johannes Schlüter 2ec0a9c5c8 - Add missing include. 2011-11-14 17:56:33 +00:00
Florian Anderiasch d0c1bd9457 Fixed a typo in README.SVN-RULES. 2011-11-14 15:39:35 +00:00
Dmitry Stogov cf2803d463 Fixed bug #44686 (SOAP-ERROR: Parsing WSDL with references) 2011-11-14 08:43:00 +00:00
Gustavo André dos Santos Lopes edea1c7b45 - Fixed tests in ext/standard/tests/http by adding the INI setting value
allow_url_fopen=1
- Converted test file from dos line endings to unix line endings.
2011-11-14 01:12:23 +00:00
Mateusz Kocielski 2c970a52e8 - Fixed NULL pointer dereference in stream_socket_enable_crypto, case when
ssl_handle of session_stream is not initialized.
2011-11-12 10:36:55 +00:00
Christopher Jones 9a03ce581f I can only guess what "dos" is. Also added missing fullstops for consistency. 2011-11-11 22:28:20 +00:00
Felipe Pena 72a133f155 - Fixed bug #60261 (phar dos null pointer) 2011-11-11 21:39:11 +00:00
Christopher Jones 0c00f3a15c OCI8: Fixed bug #59985 (show normal warning text for OCI_NO_DATA). Sync NEWS. 2011-11-10 22:47:00 +00:00
Christopher Jones 1437890872 Add tests for unsupported types 2011-11-09 06:19:07 +00:00
Antony Dovgal 152aaba03f bail out if reading HTTP headers failed 2011-11-08 16:38:56 +00:00
Christopher Jones b44adcd5ce Improve OCI8 NLS env creation error messages (#58925) 2011-11-07 20:10:41 +00:00
Christopher Jones acd96cdebe Bump OCI8 version to 1.4.7 stable in preparation for PHP 5.3.9 2011-11-03 22:13:34 +00:00
Christopher Jones 2e6db16f51 Replace custom "stress_test" setting with generic SKIP_SLOW_TESTS 2011-11-03 21:52:59 +00:00
Ulf Wendel 52e836611f Improving test to reflect latest API changes 2011-11-03 17:39:39 +00:00
Florian Anderiasch 01317b6915 Added info to 2 fixed bugs 2011-11-03 16:23:48 +00:00
Florian Anderiasch 635e2c28fe Redid the fix for #60192 with suggestions by Pierre and Kalle 2011-11-03 16:20:11 +00:00
Jérôme Loyet 0e25118cc4 - Fixed bug #60179 (php_flag and php_value does not work properly) 2011-11-03 15:47:19 +00:00
Johannes Schlüter 98dfe36852 Back to -dev 2011-11-03 15:26:34 +00:00
Johannes Schlüter 60937c2cf6 - PHP 5.3.9RC1 2011-11-03 15:08:19 +00:00
Johannes Schlüter c819de692b - Minor NEWS cleanup
# 80 columns, indention, entries are sentences ending with a period.
2011-11-03 14:51:10 +00:00
Xinchen Hui a391535e00 Fixed bug #60206 (possible integer overflow in content_length) 2011-11-03 07:26:09 +00:00
Ferenc Kovacs 6c01aacc0d adding memory check for FreeBSD also, TODO: refactor the free memory check into a function in an include file 2011-11-02 21:27:03 +00:00
Johannes Schlüter 6781f17575 - Fix bug #60155 (pdo_mysql.default_socket ignored). 2011-11-02 15:45:53 +00:00
Derick Rethans e3269e029e - Updated to version 2011.14 (2011n) 2011-11-02 10:58:51 +00:00
Dmitry Stogov 19a0522a42 Prevent possible integer overflow 2011-11-02 08:07:12 +00:00
Florian Anderiasch fe5f6f9188 Fix #60192 SegFault when Collator not constructed properly 2011-11-02 07:36:52 +00:00
Dmitry Stogov e95bb57da9 Fixed bug #60139 (Anonymous functions create cycles not detected by the GC) 2011-11-02 06:31:33 +00:00
Christopher Jones 8b4890e18e Update for new Oracle patchset variation 2011-11-01 21:30:57 +00:00
Ferenc Kovacs 67e148a2ff allocating more than 2GB memory is slow. 2011-11-01 21:27:57 +00:00
Rasmus Lerdorf 09f8573a77 Fix bug 60183 2011-11-01 15:15:51 +00:00
Florian Anderiasch 6972b94ae5 Fixed #60160 and added a test for it 2011-11-01 11:51:53 +00:00
Ferenc Kovacs 28faed47c4 ignore this test on FreeBSD per #60186 2011-11-01 10:25:47 +00:00
Ferenc Kovacs bb4f96b2a1 duh 2011-11-01 10:20:39 +00:00
Ferenc Kovacs 5a2a02f655 marking ext/spl/tests/bug60082.phpt as slow test 2011-11-01 10:10:24 +00:00
Christopher Jones 677c7c974b OCI8: improve initialization error message (See bug 60154) 2011-10-31 20:48:25 +00:00
Christopher Jones 89a4d34646 oci8 - Increase Oracle error message length for 11.2.0.3+ 2011-10-25 22:01:42 +00:00
Xinchen Hui f6dfff1081 force LF, fix test faild on windows 2011-10-25 11:04:57 +00:00
Derick Rethans 117b150360 - Updated to version 2011.13 (2011m) 2011-10-24 15:19:08 +00:00
Pierre Joye 03b39896a6 - fixed bug #60120, proc_open's streams may hang with stdin/out/err when the data exceeds or is equal to 2048 bytes 2011-10-24 12:39:55 +00:00
Pierre Joye b7354a30cd - win9x is not supported anymore since 5.3 2011-10-24 10:53:17 +00:00
Ferenc Kovacs c18a8bfe63 duh, I didn't wanted to commit that modification 2011-10-23 20:14:26 +00:00
Ferenc Kovacs b38d56616b adding SKIP_SLOW_TESTS checks for the slow tests, and additionaly sync the domains used in the ext/standard/tests/network/getmxrr.phpt with the other branches 2011-10-23 10:09:29 +00:00
Ferenc Kovacs 6c67aa07b4 check the available memory on linux and skip if it is not enough 2011-10-23 00:07:01 +00:00
Ferenc Kovacs 1b556f6114 shave off 900M memory from this test 2011-10-22 23:47:52 +00:00
Ferenc Kovacs a7a5776be7 fix test, it was fixed for trunk and 5.4 in r314005 2011-10-22 22:57:55 +00:00
Ferenc Kovacs 263ab7e2d4 stream_socket_server("unix://..." has a length limit, so it is better to use the tmp dir instead of the current test dir for the socket file. see https://bugs.php.net/bug.php?id=60106 2011-10-22 21:44:05 +00:00
Ferenc Kovacs 8bbbfadcfe there is a length limit on the shebang line, ignore the tests for >= 127 2011-10-20 18:09:44 +00:00
Xinchen Hui dc31f1e99e Fixed bug #60094 (C++ comment fails in c89) 2011-10-19 15:08:50 +00:00
Xinchen Hui d2c8d30bb9 Test for #60082 2011-10-19 02:28:53 +00:00
Daniel Convissor 6da5dfd0ac Tests for the DST RFC. 2011-10-18 21:45:07 +00:00
Andrey Hristov 5117bf657e move change_user closer to connect 2011-10-18 14:10:44 +00:00
Ilia Alshanetsky 199b52c1d4 Fixed bug #55543 (json_encode() with JSON_NUMERIC_CHECK fails on objects with numeric string properties) 2011-10-17 23:51:25 +00:00
Andrey Hristov 1619ebbec6 this should be decided by configure 2011-10-14 14:12:16 +00:00
Ilia Alshanetsky f1eaaa5dc6 Fixed bug #60019 (Function time_nanosleep() is undefined on OS X). 2011-10-14 12:43:27 +00:00
Felipe Pena 1694d78769 - Fixed bug #60048 (sa_len a #define on IRIX)
patch by: china at thewrittenword dot com
2011-10-13 22:56:05 +00:00
Felipe Pena 83ca3c8ff9 - Fixed bug #60042 (spl_autoload_call may manipulate a dangling pointer)
patch by: tom at punkave dot com
2011-10-12 01:03:15 +00:00
Andrey Hristov 68ce999e18 MYSQLND_NET refactored not to use any direct reference to MYSQLND (the connection)
QC will need an ifdef-layer to compile with this
2011-10-10 20:49:28 +00:00
Derick Rethans f3d88a7bba - Updated to version 2011.12 (2011l) 2011-10-10 08:05:55 +00:00
Christian Stocker 777a29fce2 Added the xsl.security_prefs option to 5_4 and trunk and
mark it as deprecated for BC-reasons
Added tests for ini option and combination of both
2011-10-10 07:59:19 +00:00
Jérôme Loyet 92039e00b0 - ensure request_terminate_timeout >= request_slowlog_timeout 2011-10-09 15:21:06 +00:00
Jérôme Loyet f58cf75068 - Fixed bug #55526 (Heartbeat causes a lot of unnecessary events) 2011-10-09 15:12:26 +00:00
Jérôme Loyet 3982cda83b - Fixed bug #55533 (The -d parameter doesn't work) 2011-10-09 14:36:11 +00:00
Jérôme Loyet e7c6f9c62d - Implemented FR #52569 (Add the "ondemand" process-manager to allow zero children) 2011-10-08 21:04:10 +00:00
Jérôme Loyet 95bd5f1872 - fix r317913 2011-10-08 20:43:12 +00:00
Jérôme Loyet 0c2752169c - Fixed bug #55486 (status show BIG processes number) 2011-10-08 19:50:26 +00:00
Jérôme Loyet 4d554c45b9 - Fixed bug #55577 (status.html does not install) 2011-10-08 19:31:32 +00:00
Andrey Hristov 3701485d97 null the value before usage 2011-10-08 14:48:14 +00:00
Jérôme Loyet dd243e5c75 ws 2011-10-08 14:11:37 +00:00
Jérôme Loyet 509629d8b5 - Backported from 5.4 branch (Dropped restriction of not setting the same value multiple times, the last one holds). 2011-10-08 14:07:47 +00:00
Jérôme Loyet 4e396d7333 - Backported from 5.4 branch:
* enhanced log messages
  * code cosmetic
2011-10-08 14:04:09 +00:00
Jérôme Loyet 93c3c0abfa - Backported from 5.4 branch (order fpm configuration items the same way in php-fpm.conf.in, fpm_conf.h and fpm_conf.c) 2011-10-08 14:00:07 +00:00
Jérôme Loyet 7fc36a5210 - Backported from 5.4 branch (don't write directly to stderr, use the internal logger instead (zlog)) 2011-10-08 13:57:31 +00:00
Jérôme Loyet 4ef746ae25 remove unused variable 2011-10-08 13:53:49 +00:00
Jérôme Loyet 9018d9434e - backparted from 5.4 branch (remove is_fastcgi because FPM is always fastcgi) 2011-10-08 13:52:27 +00:00
Jérôme Loyet c6b633a32a - Backported FR #55166 from 5.4 branch (Added process.max to control the number of process FPM can fork) 2011-10-08 13:47:52 +00:00
Jérôme Loyet c4e961f06e - Backported FR #55181 from 5.4 branch (Enhance security by limiting access to user defined extensions) 2011-10-08 13:42:31 +00:00
Jérôme Loyet a0f2d34b19 - Backported FR #54098 from 5.4 branch (Lowered process manager default value) 2011-10-08 13:38:28 +00:00
Jérôme Loyet eccb940419 - Backported FR #52052 from 5.4 branch (Added partial syslog support) 2011-10-08 13:35:03 +00:00
Jérôme Loyet eb2878ceb7 fix ws 2011-10-08 13:33:38 +00:00
Jérôme Loyet 4a0cd3946f - commit r312812 again (dropped in r312913):
Implemented FR #54577 (Enhanced status page with full status and details
    about each processes. Also provide a web page (status.html) for
    real-time FPM status.
2011-10-08 13:29:14 +00:00
Pierre Joye e1ad60d3d5 - fix bug #55870, PDO ignores all SSL parameters when used with mysql native driver 2011-10-08 06:17:08 +00:00
Christian Stocker c9b5d92821 Fix wrong comment
Add new xsl ini options to php.ini
2011-10-06 18:30:55 +00:00
Andrey Hristov 48077f321f Add test case 2011-10-06 17:06:02 +00:00
Andrey Hristov 7a7b550003 Be consistent, add mysqli::stat property, as equivalent of mysqli_stat().
Fix for Bug #55859 mysqli->stat property access gives error
2011-10-06 11:25:05 +00:00
Christian Stocker 192511f75d Added test for Bug 54446
Init a variable to a default value to avoid issues
2011-10-05 18:11:29 +00:00
Christian Stocker b2287a42a0 Added xsl.security_prefs ini option to define forbidden operations within XSLT
stylesheets, default is not to enable write operations. This option won't be 
in 5.4, since there's a new method. Bug #54446
2011-10-05 09:56:01 +00:00
Ilia Alshanetsky 347a04711b Fixed bug #55750 (memory copy issue in sysvshm extension). 2011-10-03 18:17:12 +00:00
Xinchen Hui 554dd6cd02 A better fix for #55817 (thanks to bjori) 2011-09-30 15:08:32 +00:00
Hannes Magnusson f40e5204d4 Fixed bug #55807 (Wrong value for splFileObject::SKIP_EMPTY) 2011-09-30 14:17:23 +00:00
Xinchen Hui f9745282f3 Fix wrong codes #55817 2011-09-30 13:34:07 +00:00
Gustavo André dos Santos Lopes d3fdacb99f - Fixed #55798: serialize followed by unserialize with numeric object prop.
gives integer prop.
2011-09-28 14:47:42 +00:00
Gustavo André dos Santos Lopes cb33a3a2c0 - Oops missed return. Also improved the readability of a test. 2011-09-27 11:43:07 +00:00
Gustavo André dos Santos Lopes 74cc4c8cc6 - Added tests and NEWS for r306475; see bug #55797.
- Removed now redundant previous overflow check, which relied on
  undefined behavior (wraparound) and was ignored in optimized builds.
2011-09-27 10:57:25 +00:00
Alan Knowles d25f2d4e06 document fix for #55475 in NEWS 2011-09-27 09:35:50 +00:00
Antony Dovgal c0edddbebd fix bug #55768 (PDO_OCI can't resume Oracle session after it's been killed) 2011-09-27 09:12:13 +00:00
Alan Knowles 0db9b9b141 remove paths from is_a and is_subclass tests 2011-09-27 07:59:47 +00:00
Ferenc Kovacs 3945c4f9a6 split the ext/calendar/tests/bug53574.phpt into two test, as we expect different result on 32 and 64 bit 2011-09-27 00:53:41 +00:00
Alan Knowles 60093a0ca5 fix is_a errror test so they test correctly against new behaviour of is_a and is_subclass_of 2011-09-27 00:42:56 +00:00
Alan Knowles 779ca152bf move autoloaded is_a test to where all the other is_a tests are 2011-09-27 00:19:43 +00:00
Ferenc Kovacs b2f1ae9673 fix #49599, the eol-style is important here, as this is a regression test for #36459 2011-09-26 23:28:24 +00:00
Gustavo André dos Santos Lopes 43f215a463 - Fixed bug in SdnToGregorian (see comments on #53574, though that bug is about
another function). NEWS & tests tomorrow.
2011-09-26 22:38:21 +00:00
Christopher Jones 5ad03cd41a MFH to fix PHP_5_3 diffs shown on http://qa.php.net/reports/?version=5.3.9-dev 2011-09-26 20:31:11 +00:00
Christopher Jones fe6bd56020 Use TZ similar to easter_date.phpt else gcov et al give a diff for unixtojd(1000000000) 2011-09-26 19:13:06 +00:00
Derick Rethans 56c96790bb - Updated to version 2011.11 (2011k) 2011-09-26 17:23:00 +00:00
Pierre Joye 0f78629c28 - update news 2011-09-26 08:56:56 +00:00
Pierre Joye aeee365d72 - be sure to check if the var ha not been removed between the two calls 2011-09-26 08:49:28 +00:00
Pierre Joye 3e0e2820b8 - Fix bug #55622, better fix for this issue, old fix can break if sizeof(size_t) > sizeof(int) like on sparc 2011-09-26 08:36:33 +00:00
Johannes Schlüter a7410ea03d - Fix folding 2011-09-25 13:06:09 +00:00
Johannes Schlüter 127d7bc79e - Fix bug #55776 (PDORow to session bug) 2011-09-25 12:39:05 +00:00
Rui Hirokawa 3d888412da MFH: fixed #40685: removed '&' in mb_decode_numericentity(). 2011-09-24 02:20:38 +00:00
Alan Knowles d296cea9f1 clean up is_a test title 2011-09-24 01:34:46 +00:00
Alan Knowles 55573c1418 clean up is_a test, so that it covers more use cases - negative and positive testing 2011-09-24 01:29:48 +00:00
Alan Knowles dbc999c6e1 add is_a and is_subclass_of test with autoloader feature
Its a bit of an overkill, but should ensure breaks are easier to spot in future.
2011-09-24 01:18:29 +00:00
Rasmus Lerdorf 92f68921cf Re-committing Alan's is_a revert/fix for bug #55475
Dmitry had done so earlier, but reverted pending discussion.
It is completely clear that this should never have been changed in the
5.3 branch in the first place giving the number of things that broke
because of it.
2011-09-23 09:52:09 +00:00
Ferenc Kovacs ce68c06ece the TZ environment variable also needed to be set here, didn't dug up why date.timezone isn't sufficient 2011-09-22 22:29:28 +00:00
Ferenc Kovacs d26af683c9 skip the interbase tests if cannot connect to the server 2011-09-22 22:07:02 +00:00
Ferenc Kovacs f3af205bcb the julian date for timestamp 1000000000 is 2452161.5740741, which is rounded to 2452162 2011-09-22 21:50:45 +00:00
Ferenc Kovacs ee0ecceb80 it seems that easter_date doesn't use the date.timezone but the TZ environment variable, so it passing the return value of easter_date() to date() which uses the date.timezone will create wrong result. 2011-09-22 20:59:10 +00:00
Johannes Schlüter bb10815f7e - Fix folding 2011-09-19 12:31:06 +00:00
Xinchen Hui 2ec2b9e9f9 Update NEWS 2011-09-17 03:23:38 +00:00
Xinchen Hui 08201e11fe Fix Bug #55703(PHP crash when calling mysqli_fetch_fields)
Since the catalog values always is "def" now, see http://dev.mysql.com/doc/refman/5.0/en/c-api-data-structures.html
2011-09-17 03:12:23 +00:00
Felipe Pena 1ec077e060 - Fixed bug #55707 (undefined reference to `__sync_fetch_and_add_4' on Linux parisc) 2011-09-17 00:05:31 +00:00
Felipe Pena 3d34acbb5f - Fixed bug #55231 (Unsatisfied symbols __sync_fetch_and_add_4) 2011-09-17 00:01:45 +00:00
Christopher Jones bf9933573a Test portability fix 2011-09-16 19:56:32 +00:00
Pierrick Charron ee534ac62f Fixed test bug #55713 (Christopher Jones) 2011-09-16 18:29:22 +00:00
Hannes Magnusson 5382f03c9f bfn 2011-09-16 07:43:32 +00:00
Christopher Jones ef83bd744c Fix skipif for non zlib builds re message http://lxr.php.net/opengrok/xref/PHP_TRUNK/ext/phar/phar_object.c#351 2011-09-15 17:23:29 +00:00
Dmitry Stogov 77bda2614d Fixed bug #50982 (incorrect assumption of PAGE_SIZE size) 2011-09-15 11:30:17 +00:00
Dmitry Stogov 59ad27b0aa Reverted the fix for #55475 (is_a() triggers autoloader) before the common decision 2011-09-15 10:59:39 +00:00
Dmitry Stogov e98759eecf Fixed bug #55475 (is_a() triggers autoloader). (alan at akbkhome dot com) 2011-09-15 09:58:33 +00:00
Pierre Joye 9457ed351c - force LF 2011-09-15 09:15:07 +00:00
Gustavo André dos Santos Lopes da4a27333d - ext/openssl/tests/bug36732.phpt more portable. 2011-09-14 10:55:46 +00:00
Xinchen Hui 29bba1fd42 Fix test, Make warning message bison independed 2011-09-14 08:49:29 +00:00
Xinchen Hui 1acb5b2b0c Fix warning "implicit declaration of function `vasprintf'" 2011-09-14 02:19:22 +00:00
Ferenc Kovacs 6f39604ff3 I don't see why would be this a win only test. it works for me on linux, checked the history, find no explanation. 2011-09-13 21:06:06 +00:00
Pierre Joye 4fffbad733 - skip on win, runtime TZ via putenv is not supported with ext/date 2011-09-13 13:58:03 +00:00
Pierre Joye 14300717d8 - skip on win, runtime TZ via putenv is not supported with ext/date 2011-09-13 13:51:47 +00:00
Pierre Joye 65be07be67 - TZ auto detection varies, not always UTC 2011-09-13 13:42:03 +00:00
Pierre Joye 98171e881b - TZ auto detection varies, not always UTC 2011-09-13 13:39:49 +00:00
Pierre Joye 09507f0ba4 - fix test 2011-09-13 13:27:20 +00:00
Pierre Joye ec820e1454 - skip on win, runtime TZ via putenv is not supported with ext/date 2011-09-13 13:26:48 +00:00
Xinchen Hui 4c7cd475dc MFH, fix test 2011-09-13 13:20:09 +00:00
Xinchen Hui 71c9674e1c Fix test (gzdecode not valid in 5.3 branch, maybe need add ? ) 2011-09-13 13:18:57 +00:00
Xinchen Hui 07a2b4817f update news 2011-09-13 13:11:42 +00:00
Xinchen Hui 3331bfb604 MFH, fix test 2011-09-13 13:02:57 +00:00
Xinchen Hui 1bbda643f2 Fixed Bug #55674 (fgetcsv & str_getcsv skip empty fields in some tab-separated records) which was introduced by r311543 2011-09-13 12:44:13 +00:00
Pierre Joye 8815e14451 - fix test on win, putenv is not supported for TZ and ext/date 2011-09-13 12:04:57 +00:00
Dmitry Stogov 68365b6d32 sort changelog according to bug number 2011-09-13 07:08:36 +00:00
Dmitry Stogov 12c3dc1b00 Fixed Bug #55649 (Undefined function Bug()). (Laruence) 2011-09-13 07:07:06 +00:00
Dmitry Stogov 12864e4769 Fixed bug #55509 (segfault on x86_64 using more than 2G memory). (Laruence) 2011-09-13 07:01:46 +00:00
Pierre Joye 08a25c405e - skip on win, strftime uses system TZ 2011-09-12 23:31:22 +00:00
Hannes Magnusson f19a112185 Test for non-string replacement, bug#54304 2011-09-12 17:20:44 +00:00
Ilia Alshanetsky 2ef05a8fa4 Fixed bug #55273 (base64_decode() with strict rejects whitespace after pad) 2011-09-12 17:20:24 +00:00
Derick Rethans 5236225cb2 - Updated to version 2011.10 (2011j) 2011-09-12 15:49:12 +00:00
Ulf Wendel b509ba6dbd This should please gcov.php.net which hits error 1044 instead of 1049. 2011-09-12 15:05:10 +00:00
Tjerk Anne Meesters e29302576c Reverted changes in connect.inc based on Ulf's feedback
- Moved the ini_set() entries into a separate script 'setupdefault.inc'
- Let mysql_affected_rows and mysql_insert_id test cases use the newly created script

With the ini_set() statements inside connect.inc, some test cases would be forced to 'undo' them in order to test other scenarios.

Tested on all three dev lines with and without passing db credentials. No changes detected.
2011-09-12 14:35:45 +00:00
Ulf Wendel 019e96a7f6 Fix typo. 2011-09-12 13:55:28 +00:00
Popa Adrian Marius f86bd3407b fix gcov Warning: ibase_drop_db(): lock time-out on wait transaction object 2011-09-12 13:43:42 +00:00
Ulf Wendel 27c73aa542 Minor issue. Seems to fail the same way on various PHP + MySQL combinations. Setting XFAIL until we fix it. 2011-09-12 13:39:57 +00:00
Hannes Magnusson 75c4d6f888 Allow replacement to be any scalar value 2011-09-12 13:21:57 +00:00
Ulf Wendel c4de2c8654 Hits libmysql/MySQL bug, works with mysqlnd 2011-09-12 13:14:16 +00:00
Pierre Joye 43d20bca91 - revert incorrect fix introduced in r316528 2011-09-12 12:59:52 +00:00
Ulf Wendel 496d6d45e9 Those will fail with MySQL 5.5. Running them because they have unveiled a crash, which has been fixed already. Setting to XFAIL, need to be decide if and/or how the functionality shall be supported. 2011-09-12 12:14:56 +00:00
Hannes Magnusson 5e661cf904 Ensure we are working with strings here 2011-09-12 11:44:55 +00:00
Popa Adrian Marius ddac8c1789 fix test 006 for firebird driver 2011-09-12 09:56:45 +00:00
Hannes Magnusson 0a90ea4dcd curl news 2011-09-12 09:23:29 +00:00
Pierre Joye e3aaeaa857 - force LF 2011-09-12 09:16:19 +00:00
Hannes Magnusson e43c21e53a Fixed issues when streams were closed before curl read/write from them, or cleaning
Closing a original handle after copying it now no longer cleans up all resources (fixes missing CURLOPT_POSTFIELDS values among others)
2011-09-12 09:16:04 +00:00
Ulf Wendel 8ed1dc2fa9 Bug #55653 2011-09-09 12:12:08 +00:00
Hannes Magnusson 0cac42b482 Being smart and cleanup/rename/modify tests seconds before committing isn't very smart. 2011-09-09 08:28:57 +00:00
Hannes Magnusson 23010d52ad Merge tests from trunk 2011-09-09 08:14:04 +00:00
Pierre Joye 260df5e802 - force LF 2011-09-09 08:11:43 +00:00
Christopher Jones 4840a4a28b Update SKIPIFs for test portability 2011-09-08 20:13:32 +00:00
Christopher Jones e77138f7ae Fix skipifs 2011-09-08 17:52:45 +00:00
Christopher Jones 1c809df001 Fix skipifs to match other tests for the case when connection fails 2011-09-08 17:40:15 +00:00
Hannes Magnusson 33bee161f6 Fixed bug#54798 Segfault when CURLOPT_STDERR file pointer is closed before calling curl_exec 2011-09-08 14:37:18 +00:00
Ferenc Kovacs e1357bdbd1 skip these tests if can't connect to mysql 2011-09-08 11:30:58 +00:00
Pierre Joye 26255062b1 - force LF and fix... and blame me for not reading the code correctly, zlib tests pass now, linux/bsd/win 100% 2011-09-08 10:20:38 +00:00
Pierre Joye f81a30961e - force LF 2011-09-08 10:15:10 +00:00
Pierre Joye 255913f5f4 - skip if no hash 2011-09-08 10:00:47 +00:00
Hannes Magnusson 41db75ccbe Fix the path to the .pem 2011-09-08 09:27:47 +00:00
Christopher Jones 19d13e2521 Use unique object names to reduce potential clashes when testing in parallel 2011-09-07 19:19:00 +00:00
Rasmus Lerdorf d8a0b1a9e3 This test was added to verify that bug 39322 was fixed, which the test
does test for and this works. However, it consistently failed because
it relied on a SIGHUP not terminating a sh -c /usr/bin/nohup sleep 50
process which doesn't work because the SIGHUP goes to the sh process
not the nohup'ed sleep process. So, I have sped up the test and removed
the nohup and instead of trying to SIGHUP I am just doing the equivalent
of a kill 0 on it to verify that the resource sticks around.
2011-09-07 18:09:34 +00:00
Hannes Magnusson 797a1ce88f Fixed bug #55504 (Content-Type header is not parsed correctly on HTTP POST request 2011-09-07 16:19:09 +00:00
Hannes Magnusson 565cf8b76a Fix errormessage 2011-09-07 13:47:31 +00:00
Hannes Magnusson 5d8a5ed33d Add skip message 2011-09-07 12:06:21 +00:00
Hannes Magnusson a6c07ae0d3 Fix cleanup routines 2011-09-07 12:05:19 +00:00
Pierre Joye 618d638898 - skip on win, diff TZ format 2011-09-07 11:26:59 +00:00
Hannes Magnusson 631055c459 Update skipif 2011-09-07 10:39:55 +00:00
Hannes Magnusson c038ac2251 Sync tests between branches and fix the getcontent test 2011-09-07 10:38:53 +00:00
Hannes Magnusson d80adbcc93 Update skipif message 2011-09-07 10:34:58 +00:00
Pierre Joye 4426bfee51 - force LF (svn prop and config) 2011-09-07 10:14:18 +00:00
Pierre Joye bd858f3b3c - force LF 2011-09-07 09:41:54 +00:00
Pierre Joye 08d015d1db - force LF 2011-09-07 09:37:56 +00:00
Pierre Joye 34eebd4f58 - fix test for OS where dir sep is \ 2011-09-07 09:19:28 +00:00
Pierre Joye 8fca015947 - fix test for OS where dir sep is \ 2011-09-07 09:03:07 +00:00
Pierre Joye cb621bf1a0 - force LF 2011-09-07 08:41:59 +00:00
Pierre Joye 5687180f61 - force LF 2011-09-07 08:18:20 +00:00
Pierre Joye 1a166b2100 - add skipif for dom 2011-09-07 08:12:08 +00:00
Pierre Joye 4bb816605a - force LF 2011-09-07 08:01:19 +00:00
Pierre Joye 8affe814ed - force LF 2011-09-07 07:51:37 +00:00
Xinchen Hui 16d0023daf fix skipif description 2011-09-07 00:59:10 +00:00
Xinchen Hui 0f672ac0ba fixed typo 2011-09-07 00:56:52 +00:00
Andrey Hristov fd4fc39dc9 Fix problems with the unbuffered set detection, for libmysql, which resulted
in always true. Thanks Stas.
2011-09-06 19:52:19 +00:00
Pierre Joye c74679be0a - fix #55622, mem corruption on large input 2011-09-06 17:41:08 +00:00
Ulf Wendel 58e167974c Fixing SKIPIF 2011-09-06 16:39:55 +00:00
Johannes Schlüter 9554e24547 - Fix bug #55609 (mysqlnd cannot be built shared)
# This adds an option --enable-mysqlnd to explicitly built mysqlnd, like any
# other extension it can be used with =shared to build mysqlnd shared;
# mysqlnd will implicitly enabled when requested from another extension
2011-09-06 16:38:22 +00:00
Ulf Wendel 1ffe46c020 Fixing SKIPIF 2011-09-06 16:37:45 +00:00
Ulf Wendel 78b2f1c488 Fixing SKIPIF fatal error. 6.0 is history, thus SKIPIF might need further updates? 2011-09-06 16:30:53 +00:00
Ulf Wendel cc24c30307 More parenthesis, credits to Nikita Popov 2011-09-06 16:13:03 +00:00
Pierre Joye 8e330affd6 - useless skipif 2011-09-06 15:49:28 +00:00
Pierre Joye f6bdb6ff61 - fix skipif 2011-09-06 15:40:12 +00:00
Ulf Wendel 661a69b873 BORK hunting - Fixing SKIPIF 2011-09-06 14:47:57 +00:00
Ulf Wendel e21ea5e7ce Fix SKIPIF 2011-09-06 13:57:03 +00:00
Ulf Wendel 79b605a89b Fix SKIPIF 2011-09-06 13:50:45 +00:00
Ulf Wendel 85e6b8141d Prevent Notice 2011-09-06 13:39:46 +00:00
Ulf Wendel 64cca9fb95 Reverting to proper --INI-- section usage. Improve SKIPIF to skip test if open_basedir setting is too restrictive during test run for whatever reason. 2011-09-06 12:58:01 +00:00
Pierre Joye 1e30a4ecb0 - use only zlib function and reported the failure with base64 in #55620 2011-09-06 12:30:17 +00:00
Pierre Joye 23006f5089 - force LF 2011-09-06 12:24:16 +00:00
Florian Anderiasch c5741472b0 MFH: Fixed ext/sockets/tests/socket_strerror.phpt
So it seems a missing ) killed the test.
2011-09-06 11:15:23 +00:00
Xinchen Hui 1159cd2002 move it to right place 2011-09-06 09:45:21 +00:00
Xinchen Hui df2504b0ff Add skipif 2011-09-06 09:29:04 +00:00
Pierre Joye 423816ef64 - move it to the right place 2011-09-06 09:23:10 +00:00
Xinchen Hui 3d107d07ee Added skipif 2011-09-06 09:22:06 +00:00
Pierre Joye f15401086b - fix skipif msg 2011-09-06 09:20:14 +00:00
Xinchen Hui 30d1410817 Added skipif 2011-09-06 09:19:46 +00:00
Xinchen Hui 3901f5abb8 Added skipif 2011-09-06 09:17:12 +00:00
Xinchen Hui 13eb205d6c add skipif 2011-09-06 08:11:37 +00:00
Pierre Joye 84954e1869 - add skipif 2011-09-06 07:49:31 +00:00
Pierre Joye 09e3a1c2de - fix test 2011-09-06 07:47:20 +00:00
Pierre Joye e240c51632 - skip on win 2011-09-06 07:32:37 +00:00
Pierre Joye b660f32dab - add skipif 2011-09-06 07:29:59 +00:00
Pierre Joye 9fa90f8a90 - add skipif 2011-09-06 07:28:38 +00:00
Pierre Joye f438a87d90 - use something we know it exists... 2011-09-06 07:26:05 +00:00
Pierre Joye c97a56e77f - skip on win, name.. name. are not valid names 2011-09-06 07:23:20 +00:00
Pierre Joye 9d33b167af - add skipif 2011-09-06 07:09:56 +00:00
Pierre Joye 24f71e30cb - force LF 2011-09-06 07:03:48 +00:00
Pierre Joye 7bdb10f479 - force LF 2011-09-06 07:00:05 +00:00
Pierre Joye 9a6b6f3dc7 - add skipif 2011-09-06 06:57:53 +00:00
Pierre Joye 8f7fab9358 - add skipif 2011-09-06 06:52:26 +00:00
Pierre Joye 0295d0d1aa - add skipif 2011-09-06 06:50:56 +00:00
Pierre Joye 17f78b92c4 - add skipif 2011-09-06 06:47:12 +00:00
Pierre Joye 8ab88f2e72 - add skipif 2011-09-06 06:44:59 +00:00
Pierre Joye 7e9bc5f70b - add skipif 2011-09-05 19:59:42 +00:00
Ulf Wendel d6e15cc517 No more test failure for libmysql, http://news.php.net/php.internals/55210 2011-09-05 16:24:40 +00:00
Andrey Hristov 3a510c616d missing from previous commit for #55582 2011-09-05 15:37:58 +00:00
Andrey Hristov 13c5106f43 Fix for Bug #55582 mysqli_num_rows() returns always 0 for unbuffered, when mysqlnd is used 2011-09-05 15:29:45 +00:00
Shein Alexey 491df98386 Reduced timeout in this test to 1ms, no need to wait further. 2011-09-05 14:43:08 +00:00
Pierre Joye 5d62cd1530 - add skipif 2011-09-05 13:52:24 +00:00
Pierre Joye 07fae45eb7 - add skipif 2011-09-05 13:41:01 +00:00
Pierre Joye af203fc7c4 - close the stream before removing the file (win and other system may lock it) and use test dir for tmp data 2011-09-05 13:31:13 +00:00
Pierre Joye 3c3fa89bf5 - stupid me. 2011-09-05 13:06:51 +00:00
Pierre Joye 60a0348ccc - disable on win 2011-09-05 13:05:28 +00:00
Pierre Joye 8acede547d - disable on win 2011-09-05 13:04:12 +00:00
Pierre Joye df4515dec8 - other hostname can be defined or returned first 2011-09-05 12:34:55 +00:00
Hannes Magnusson ddb7740944 typo 2011-09-05 12:00:24 +00:00
Pierre Joye 4a99471b07 - force LF 2011-09-05 11:46:05 +00:00
Hannes Magnusson c6f9556f37 Fix the test in 5.4 and trunk.
older libraries will emmit error here, while new won't. So lets just suppress it rather then making the test uselessly fail for random people.
2011-09-05 11:07:38 +00:00
Pierre Joye a65e04be53 - not used anymore, one version to rule them all 2011-09-05 11:00:52 +00:00
Shein Alexey fae3000d44 Make the test faster, what was done:
1) replaced multiple htmlentities calls with one call to get_html_translation table since they share the same code internally
2) reduced the upper range of the "for" loop to 0x2710 (10000), according to http://www.w3.org/TR/html4/sgml/entities.html it's enough
3) placed additional check to make sure all entities from get_html_translation_table were checked in the test
2011-09-05 11:00:14 +00:00
Pierre Joye 4b17810a7a - force LF and enable it on windows now 2011-09-05 10:59:26 +00:00
Hannes Magnusson a1ecf8c887 Fix test to use microtime() as time() doesn't always catchup fast enough :] 2011-09-05 10:55:07 +00:00
Pierre Joye 25b4dfdc51 - force LF 2011-09-05 10:52:01 +00:00
Hannes Magnusson cd8f903d7e Fix test, one skipif is enough 2011-09-05 10:30:41 +00:00
Stanislav Malyshev cc9483f19e fix tests 2011-09-05 00:49:03 +00:00
Gustavo André dos Santos Lopes dbe8c7c4fa - Fixed bad xor in signed types due to integer promotion.
- Replaced undefined signed overflow with char -> unsigned char conversion.
2011-09-05 00:39:39 +00:00
Gustavo André dos Santos Lopes cc45ce4586 - Fixed bug #55576: Cannot conditionally move uploaded file without race
condition.
2011-09-04 23:00:47 +00:00
Gustavo André dos Santos Lopes 08f78070a5 - Fixed borked refactoring in r307437 (using SUCCESS/FAILURE return instead of
out parameter).
- Fixed signature of php_stream_copy_to_stream_ex to return int in 5.4/trunk
  instead of size_t, as the function only returns SUCCESS/FAILURE.
2011-09-04 22:36:33 +00:00
Pierre Joye d7be9cf675 - add skipif 2011-09-04 22:21:58 +00:00
Pierre Joye fdb22b418d - force LF eol 2011-09-04 22:12:42 +00:00
Pierre Joye c70b78c445 - skip on win, TZ cannot be set using putenv at runtime 2011-09-04 22:04:42 +00:00
Pierre Joye c3380e42c8 - skip on win, TZs differ with strftime 2011-09-04 21:59:27 +00:00
Pierre Joye 8d0096e2d9 - unify warning between win and unix and enable test 2011-09-04 21:48:22 +00:00
Pierre Joye 9ef72e259b - fix test on win, does not use putenv to set the TZ but date_default_timezone_set (should be the case on all platforms actually...) 2011-09-04 21:40:22 +00:00
Pierre Joye e0792c2590 - wrong variable used (ended as non initiazed usage) 2011-09-04 16:33:51 +00:00
Tjerk Anne Meesters 7170a996c5 Patch to run two more mysql test cases that would usually be skipped.
Replaced skipifdefaultconnectionfailure.inc by three additional ini_set() statements in connect.inc for the default connection settings

Patch also includes a typo in connect.inc concerning mysql.default_socket
2011-09-04 14:21:27 +00:00
Ferenc Kovacs 1313220640 These regexes don't fail under the new backtrack limit, so lower it just for the test to check the failure. 2011-09-04 13:27:19 +00:00
Christopher Jones 43e4d8cade gcov test fixes 2011-09-02 22:19:03 +00:00
Ferenc Kovacs c6d59bd2fa pass an absolute path for the php binary to proc_open, without this the test would fail if ran with a relative TEST_DEV_EXECUTABLE 2011-09-02 20:28:39 +00:00
Shein Alexey 920fa567bd Removed old (< 5.3) version of test and cleaned up the actual version. 2011-09-02 17:41:39 +00:00
Andrey Hristov ab99790eca Fix for Bug #54158 MYSQLND + PDO MySQL requires #define MYSQL_OPT_LOCAL_INFILE
and a bunch of other small preprocessor fixes
2011-09-02 13:53:41 +00:00
Ulf Wendel b23baaf0fc Coverage for bug#54704, of which I think it is bogus, thus no dedicated test. 2011-09-02 13:35:17 +00:00
Andrey Hristov 0c4e2acbe3 here comes the news 2011-09-02 13:24:05 +00:00
Andrey Hristov e35e394a79 fix message 2011-09-02 12:59:32 +00:00
Andrey Hristov d96e924b25 function rename to comply with the schema of other callbacks 2011-09-02 11:22:41 +00:00
Ulf Wendel 864f8106be Hopefully, this is an even better way to check for InnoDB support as of MySQL 5.6.1 2011-09-02 11:06:51 +00:00
Ulf Wendel 248a9a7f4d As of MySQL 5.6.1 the server variable have_innodb is no more. Updating InnoDB check... 2011-09-02 10:38:51 +00:00
Ulf Wendel 65a3b6e0bb MySQL 5.6 update 2011-09-02 09:27:23 +00:00
Ferenc Kovacs fbb4b70bad revert to the previous good revision, as the new improved parse error syntax only used in version >= 5.4 2011-09-01 22:45:18 +00:00
Ferenc Kovacs 9bb94d26f8 revert to the previous good revision, as the new improved parse error syntax only used in version >= 5.4 2011-09-01 22:42:35 +00:00
Ulf Wendel ec4eb7ab17 Check for LOAD DATA support during SKIPIF 2011-09-01 16:35:13 +00:00
Ulf Wendel 286d8afda9 Fixing error handling. Skip if load data is not allowed 2011-09-01 15:45:47 +00:00
Ulf Wendel afb0cce4c9 Can't reproduce the server has gone away messages, Andrey. Please, have a look. I tried MySQL 5.1, 5.5 and 5.6. 2011-09-01 15:25:15 +00:00
Johannes Schlüter e58f72b6a3 Improve speed of finding tests (no more CVS, we're on svn now) 2011-09-01 14:52:55 +00:00
Ulf Wendel 46910fd722 Fix test. First element within the parantheses is a SQL status code. Should please gcov 2011-09-01 14:04:52 +00:00
Christian Stocker e1813b69c5 Merge from Trunk
simplexml->query returns empty array if no nodes were found
and false if libxml thinks the xpath-expression was invalid.
Behaves now the same like DomXPath and fixes Bug #48601
Adjusted a test to reflect that change
2011-09-01 13:42:45 +00:00
Ulf Wendel 3c15d50c80 Fixing tests debug output 2011-09-01 13:37:49 +00:00
Pierre Joye f079dffe07 - use %s, bad c/p 2011-09-01 13:28:12 +00:00
Ulf Wendel 3eb3eb406e Check if MySQL server supports SSL and, if using mysqlnd, check if PHP streams will support SSL 2011-09-01 13:17:16 +00:00
Hannes Magnusson 958326c843 Move the XFAILED printout way up the list so we can actually notice the really failing ones 2011-09-01 13:06:12 +00:00
Pierre Joye 1f8c94b7e2 - win and nux work the same way 2011-09-01 12:42:54 +00:00
Pierre Joye ddf760eb60 - force LF eol style as this test depends on it 2011-09-01 12:35:41 +00:00
Ulf Wendel 80ec77df04 Simplify mysqlnd debug trace marginally for debugging 2011-09-01 11:48:18 +00:00
Pierre Joye 1cef55952f - consider that bison 2.x is used. updated our ci boxes accordingly (windows too), which were using 1.4 2011-09-01 11:40:37 +00:00
Pierre Joye d763969344 - consider that bison 2.x is used. updated our ci boxes accordingly (windows too), which were using 1.4 2011-09-01 11:40:23 +00:00
Ulf Wendel 04b6ce21d2 Hack around http://bugs.mysql.com/62320 2011-09-01 11:27:14 +00:00
Hannes Magnusson 2da2b54899 Seeing thousands of PASS tests flying by is meaningless.
Add an option to only print certain result groups.
2011-09-01 11:00:51 +00:00
Pierre Joye 53ee01975f - force LF eol style as this test depends on it 2011-09-01 09:33:43 +00:00
Matteo Beccati d66630f625 Fixed test randomly failing due to different error messages. Also added a skip
section in case "fakeURL" resolves to an IP address, as some empty error
messages and HTML can be seen in the reports
2011-09-01 00:45:56 +00:00
Johannes Schlüter 48c69c378a - Change PDO_oci connection defaults to match Oracle XE defaults, higher chance
to work out of the box
2011-08-31 23:42:04 +00:00
Pierre Joye 5d09938423 - error msg may vary (parser) 2011-08-31 23:12:35 +00:00
Matteo Beccati 953b10c59c Fixed test. Apparently it was already fixed on PHP_5_3 98% of the cases and
the fix wasn't ported to trunk/PHP_5_4. However the very same test was failing
on my FreeBSD 6.2 box, that appears to also decode the "ks_c_5601-1987" parts,
so I've made the test more generic.
2011-08-31 22:38:20 +00:00
Matteo Beccati f4e100e47f Fixed false positive failure on gcov 2011-08-31 22:12:53 +00:00
Pierre Joye 96abb9d611 - error msg may vary (parser) 2011-08-31 20:16:11 +00:00
Pierre Joye df3cb6f2a0 - error msg may vary (parser) 2011-08-31 20:14:13 +00:00
Pierre Joye 8b76f0f0d3 - error msg may vary 2011-08-31 20:10:22 +00:00
Pierre Joye 38eec652ce - typo 2011-08-31 20:07:44 +00:00
Tjerk Anne Meesters 323ee1fe4c Fixed expect format to ignore the textual error message from readlink().
Bug #55555
2011-08-31 18:26:23 +00:00
Andrey Hristov fa8a1c387a Fix valgrind error (sending of initialized bytes over the network).
When the compression was successful the compressed data + uninitialized data
at the end was sent to the server, because the length of the compressed payload
wasn't correctly calculated (actually the length of the uncompressed payload as assumed).
However, the uncompress() function has internally the length of the real payload and skips
the binary trash at the end - thus no data damage occurs!
2011-08-31 18:18:23 +00:00
Johannes Schlüter c25f0424c8 - Update PDO_mysql error mapping 2011-08-31 15:46:07 +00:00
Pierre Joye 6612bb1073 - force LF eol style as this test depends on it 2011-08-31 15:44:01 +00:00
Pierre Joye 5fcfc528c5 - force LF eol style as this test depends on it 2011-08-31 15:42:42 +00:00
Johannes Schlüter 262cc2f37a - Be less restrictive on the SQL state, some server versions might fool us 2011-08-31 15:25:18 +00:00
Ulf Wendel c05bfdf490 Please, whenever changing the mysqli API update the tests. Don't wait for me to catch up. 2011-08-31 13:59:28 +00:00
Ulf Wendel a7500f1c81 New utility function to check for '[1148] The used command is not allowed with this MySQL version' during SKIPIF 2011-08-31 13:50:58 +00:00
Ulf Wendel 4c3115a011 Check if server supports LOAD DATA LOCAL INFILE to catch [1148] The used command is not allowed with this MySQL version during SKIPIF 2011-08-31 12:58:25 +00:00
Pierre Joye bb988ee300 - force LF eol style as this test depends on it (size) 2011-08-31 12:26:55 +00:00
Pierre Joye 8e679c2fcf - force LF eol style as this test depends on it (size) 2011-08-31 11:26:27 +00:00
Pierre Joye ae896ddce4 - force LF eol style as this test depends on it (size) 2011-08-31 11:25:09 +00:00
Johannes Schlüter 1cb8c01f0d - Fix Bug #55550 mysql.trace_mode miscounts result sets,
fixes ext/mysql/tests/mysql_deprecated_api.phpt
2011-08-31 11:11:08 +00:00
Pierre Joye 3d74cffc20 - use only the test name 2011-08-31 10:30:39 +00:00
Hannes Magnusson 84fc76e94c Remove annoying extra newline on XFAIL summaries
and sync text to trunk
2011-08-31 10:09:54 +00:00
Pierre Joye 9bedfa520b - force LF eol style as this test depends on it (size) 2011-08-31 10:08:55 +00:00
Pierre Joye 3853e85a79 - make it parser version independent 2011-08-31 10:05:54 +00:00
Christian Stocker bbecdf57d3 fix xsl tests 2011-08-31 09:16:04 +00:00
Pierre Joye d892a4299c - force LF eol style as this test depends on it (size) 2011-08-31 08:35:57 +00:00
Arpad Ray 73eac3e5a2 fix news entries 2011-08-30 14:01:35 +00:00
Matteo Beccati 18b8a3bcb7 Fixed a few false positives on gcov for ext/pgsql 2011-08-30 14:01:03 +00:00
Hannes Magnusson 850d865551 Add skipifs for bug#54971 (patch by datibbaw@) 2011-08-30 13:46:24 +00:00
Hannes Magnusson a84c667e0e Fixed bug#48476 2011-08-30 13:41:57 +00:00
Pierre Joye 63fa1fb1ca - ws 2011-08-30 05:44:37 +00:00
Arpad Ray 84adf49281 news entry for r66021 Log: 2011-08-29 21:45:42 +00:00
Arpad Ray a6a08dc322 Fixed bug #55366: keys lost when using substr_replace an array 2011-08-29 21:35:28 +00:00
Hannes Magnusson e481f05470 fixed bug #55267 - session_regenerate_id fails after header sent even if session.use_cookies = 0 2011-08-29 21:20:41 +00:00
Arpad Ray f117d56170 NEWS entry for fix #55510: $_FILES 'name' missing first character after upload 2011-08-29 21:15:04 +00:00
Arpad Ray 1e1bfba576 fix #55510: $_FILES 'name' missing first character after upload 2011-08-29 21:11:07 +00:00
Derick Rethans 9d504da334 - Updated to version 2011.9 (2011i) 2011-08-29 16:37:56 +00:00
Hannes Magnusson e723c7631c Fixed bug#53872 (internal corruption of phar) 2011-08-29 16:05:45 +00:00
Hannes Magnusson 269724ebcc Whopsy, this change in 5.4, not 5.3 2011-08-29 14:27:17 +00:00
Hannes Magnusson 9e20746611 Fixed bug#52013 (Unable to decompress files in a compressed phar) 2011-08-29 14:19:54 +00:00
Hannes Magnusson abbf8be0d6 The Phar class extends RecursiveDirectoryIterator, which has changed the way it ensures its ctor is called 2011-08-29 14:17:41 +00:00
Christian Stocker 5250f01d15 fix xsl date tests 2011-08-29 11:44:30 +00:00
Rasmus Lerdorf 8348d96656 The link error on an out-of-sync command doesn't start with 0
uwe/andrey please double-check
2011-08-29 06:47:07 +00:00
Rasmus Lerdorf 78a46b87e3 Fix another broken test. root can read 0200 files. 2011-08-29 06:19:40 +00:00
Andrey Hristov 9756f766b6 fix valgrind warnings in debug builds 2011-08-26 12:14:31 +00:00
Joey Smith ec5b65473b Revert my previous change - getting different results in different environments, shouldn't have committed it 2011-08-24 16:15:35 +00:00
Joey Smith 864774c5b2 Fix tests/lang/bug45392.phpt to log expected error when run with -n flag 2011-08-24 15:56:12 +00:00
Shein Alexey 6feb8cb74b Fixed failed test to take into account printed warnings like in 5.4 and trunk branches. 2011-08-24 12:25:30 +00:00
Xinchen Hui 344136e8e9 Apply r315270 to 5.3
Fixed test script failed when host mysql doesn't listen on 3306
Fxied test script failed due to mysql_pconnect trigger a warning
2011-08-24 08:00:23 +00:00
Christopher Jones 04b5bb7d3c Update log, marking 5.4 and trunk as XFAIL due to bug #55496 2011-08-23 20:59:10 +00:00
Uwe Schindler e04fe7986d Fix NEWS entries for ongoing 5.3.9 development 2011-08-23 17:03:19 +00:00
Daniel Convissor 7473a889ec Fix differences in some sub() results that were causing tests to fail. 2011-08-23 16:40:19 +00:00
Xinchen Hui 9fb62f3382 Sync r314808 to 5_3 branch
Eliminated compiler warnings "comparison is always false",  "cast to pointer from integer of different siz" and tail zero warnings
2011-08-23 10:18:48 +00:00
Hannes Magnusson 5f38ffb167 Sync -development with -production 2011-08-23 10:00:18 +00:00
Adam Harvey 8c007d8179 Fix bug #55483 (extra > at the end of html tag in phpinfo). 2011-08-23 06:07:24 +00:00
Pierrick Charron c27da034d0 Reapply the commit of revision 315259 on 5.3.9 2011-08-23 03:09:09 +00:00
Christopher Jones dbf744ad78 Sync date with actual PECL release date for correctness 2011-08-22 23:56:34 +00:00
Johannes Schlüter e4a83170c7 Fix year (we won't make 2001 anymore, I assume) 2011-08-22 23:34:05 +00:00
Johannes Schlüter 5f502879ff Back to -dev 2011-08-22 23:24:22 +00:00
Johannes Schlüter 952b9a9695 - PHP 5.3.8 2011-08-22 22:08:48 +00:00
Johannes Schlüter e63bf6e63e - Update NEWS 2011-08-22 21:37:57 +00:00
Johannes Schlüter 0d2a921916 - Revert r313616 (When we have a blocking SSL socket, respect the timeout
option, scottmac)

# This caused bug #55283, we should investigate a proper solution without
# breaking anything.
2011-08-22 21:32:04 +00:00
Daniel Convissor 4e2cd3ee63 Fix spring tests for dst/st transition second. 2011-08-22 14:47:12 +00:00
Pierrick Charron 18aac27b28 Revert commit 315259 as requested
# Will apply the patch on this branch after 5.3.8
2011-08-22 11:35:19 +00:00
Andrey Hristov 36c11fcaf3 Don't run the test on windows, Unix specific 2011-08-22 11:07:35 +00:00
Andrey Hristov 1da5b05dbd Fix Bug #55473 mysql_pconnect leaks file descriptors on reconnect
The fix is for now in 5_4 and trunk, to be merged into 5_3 after 5.3.8
is packaged (expected today). The test case goes to all branches
2011-08-22 10:42:43 +00:00
Pierrick Charron ef48624cd3 - Fixed bug #55156 (ReflectionClass::getDocComment() returns comment even though the class has none)
# Patch was not committed on the PHP5.3 branch
2011-08-22 01:11:22 +00:00
Rasmus Lerdorf 0bea1fea8f Debian/Ubuntu don't have any special CFLAGS listed here for
gssapi which shouldn't break the build.
2011-08-21 22:57:13 +00:00
Pierre Joye 408d0a0420 - merge two mysqli section 2011-08-21 14:31:11 +00:00
Stanislav Malyshev 81ad401604 Unbreak crypt() (fix bug #55439)
# If you want to remove static analyser messages, be my guest,
# but please run unit tests after
2011-08-19 22:49:18 +00:00
Pierre Joye 0d82e0c266 - Fixed bug #52461 (Incomplete doctype and missing xmlns) 2011-08-19 09:59:47 +00:00
Uwe Schindler 2c0ab6fc33 Bug #55403: Don't set $_SERVER['HTTPS'] on unsecure connection 2011-08-18 19:12:49 +00:00
Ilia Alshanetsky eb1470aa3f Back to dev 2011-08-17 14:28:24 +00:00
Ilia Alshanetsky 6e284c6ce7 5.3.7 2011-08-17 13:30:04 +00:00
Christopher Jones f2b8b4879d More test portability fixes mostly for gcov.php.net 2011-08-13 00:43:34 +00:00
Andrey Hristov aa480a4f4f prevent a crash if cs is NULL, which can happen with MS and lazy connections 2011-08-12 14:55:00 +00:00
Ulf Wendel d3d7da14e6 MySQL 5.6 fractional seconds and PS 2011-08-12 11:51:44 +00:00
Ulf Wendel 12954aa27d Andrey, please have a look. Not sure if the test is correct, e.g. MySQL 5.5.3+ really needed? 2011-08-12 11:23:36 +00:00
Ulf Wendel e0cc7032f1 Andrey, please have a look. This should not cause errors. 2011-08-12 11:23:16 +00:00
Rasmus Lerdorf 6051aa795c Fix bug number there 2011-08-11 19:20:53 +00:00
Ilia Alshanetsky d090061f5e Back to dev 2011-08-11 14:35:08 +00:00
Ilia Alshanetsky db472c60cf 5.3.7RC5 2011-08-11 13:02:49 +00:00
Ilia Alshanetsky cc93e8e51f Fixed bug #55399 (parse_url() incorrectly treats ':' as a valid path) 2011-08-11 13:01:52 +00:00
Pierre Joye beea66d595 - fix build (introduce by r314641) 2011-08-11 07:11:39 +00:00
Dmitry Stogov cea8df3af5 Fixed possible memory leak 2011-08-11 06:38:42 +00:00
Rasmus Lerdorf de90c602e1 Use HOST_NAME_MAX constant here instead for the gethostname() func 2011-08-10 17:40:56 +00:00
Ilia Alshanetsky 9fd373d8b6 Fix win32 build 2011-08-10 15:59:32 +00:00
Ilia Alshanetsky 4ef26e2379 Fixed memset usage (identified by coverity) 2011-08-10 15:30:07 +00:00
Andrey Hristov 56d6f23196 relax constraint 2011-08-10 14:12:24 +00:00
Dmitry Stogov 6ddfa33aad Fixed bug #55323 (SoapClient segmentation fault when XSD_TYPEKIND_EXTENSION contains itself) 2011-08-10 13:44:48 +00:00
Nuno Lopes 8f54a74d60 terminate timeouting processes with SIGKILL (9) 2011-08-09 21:53:44 +00:00
Scott MacVicar e34dc6c6f7 Fix building of pure C++ extensions as static 2011-08-09 18:12:06 +00:00
Ilia Alshanetsky 1488704098 Make static analyzers happy 2011-08-09 14:11:56 +00:00
Ilia Alshanetsky d091516c31 Minimize stack usage and added missing dtors 2011-08-09 13:10:57 +00:00
Xinchen Hui 409022b742 Fixed built (missing 2nd arg for strncpy) 2011-08-09 13:04:35 +00:00
Xinchen Hui 0630945ac4 Avoiding strcpy, strcat, sprintf usage to make static analyzer happy 2011-08-09 12:16:58 +00:00
Xinchen Hui 79aa564f8d Avoiding strcpy usage, Make static analyzer happy 2011-08-09 09:35:42 +00:00
Scott MacVicar 929e0f185c Update SQLite3 to the latest version 2011-08-09 07:31:34 +00:00
Xinchen Hui a60513240f Eliminated compiler's warnings and make static analyzer silent 2011-08-09 05:11:19 +00:00
Pierrick Charron 6290b8814c Remove unused variable 2011-08-09 02:42:25 +00:00
Pierrick Charron f6c2511748 Remove unused variable 2011-08-09 02:37:02 +00:00
Xinchen Hui fa161f96fa Remove unnecessary(no sense) memset and making the static analyzer silent 2011-08-08 16:57:46 +00:00
Etienne Kneuss baf2e822cc Fix typo 2011-08-08 14:54:50 +00:00
Ilia Alshanetsky e2e96913bf Deadcode & sizeof fix for issues found by coverity
(different patch for 5.4+ will follow shortly)
2011-08-08 12:29:32 +00:00
Ilia Alshanetsky 92d68c62af Make static analyzers happy 2011-08-08 12:10:27 +00:00
Pierrick Charron 19b6735d86 Fix typo 2011-08-08 11:30:56 +00:00
Pierrick Charron cbd4f7602e Use snprintf to make the static analyzers happy 2011-08-08 11:19:49 +00:00
Xinchen Hui 6c0c4896b3 Prevented the warning about truncate int to char 2011-08-08 07:12:12 +00:00
Pierrick Charron 08a499f142 Use snprintf and strncat to make the static analyzers happy 2011-08-08 03:08:59 +00:00
Xinchen Hui 44e2c266c3 Remove no sense statements 2011-08-08 00:47:40 +00:00
Ilia Alshanetsky 42f3972e61 Avoid strcpy() usage 2011-08-08 00:07:54 +00:00
Ilia Alshanetsky 34f08a3715 Fixes for variety of issues identified by coverity scan 2011-08-07 23:46:00 +00:00
Gwynne Raskind 04b575f409 possible use without init fixed 2011-08-07 18:12:52 +00:00
Gwynne Raskind f4f7a32121 Front- and back-port rev 314431 (missing php.h include) 2011-08-07 17:15:40 +00:00
Gwynne Raskind 159635f4f5 Back- and front-port fixes for #55019 2011-08-07 17:14:14 +00:00
Rasmus Lerdorf 37c18f5ebe Fix more signed 1-bit bitfield, and let's use strlcpy/strlcat instead for these
static string copies
2011-08-07 16:10:34 +00:00
Rasmus Lerdorf 2449c41698 Not an issue here, but a good habit to follow consistently. Never use strcpy/strcat. 2011-08-07 15:45:18 +00:00
Rasmus Lerdorf bcf8485ef5 Make static analyzers happy 2011-08-07 15:38:36 +00:00
Xinchen Hui 57ec3758b7 revert -r314422
No need to check erealloc's return
2011-08-07 14:25:30 +00:00
Xinchen Hui b2110c3eea Fixed bug that may dereferenced NULL pointer before checking 2011-08-07 13:19:04 +00:00
Xinchen Hui 4c2e6c1cf6 Initialize variable with fixed value for avoiding compile warnings 2011-08-07 11:13:27 +00:00
Pierrick Charron bfd10cfee9 function_name cannot be false 2011-08-07 06:19:43 +00:00
Pierrick Charron 029d7f4c6c class entry is never used 2011-08-07 06:04:11 +00:00
Pierrick Charron 757a32cd0c Pointer returned is never used 2011-08-07 05:46:31 +00:00
Rasmus Lerdorf f2bc53b88b Oops 2011-08-07 05:08:08 +00:00
Rasmus Lerdorf b61c50a004 These naked strcpy()s scare me 2011-08-07 00:18:38 +00:00
Rasmus Lerdorf 636c61c1d5 Not our issue, but fixing here for now and reporting upstream 2011-08-06 23:34:13 +00:00
Rasmus Lerdorf 14e1bc89bc Fix another Coverity warning by initializing this to NULL prior to the strtok_r call 2011-08-06 21:10:29 +00:00
Felipe Pena 997f323e3a - Added ZEND_MOD_END macro to use in the end of zend_module_dep[] 2011-08-06 14:47:44 +00:00
Felipe Pena 13eb47a8bc - Added missing PHP_FE_END/ZEND_FE_END 2011-08-06 01:22:27 +00:00
Felipe Pena edfa1988fc - Fixed bug #55313 (Number of retries not set when params specified)
patch by: kevin at kevinlocke dot name
2011-08-06 00:59:21 +00:00
Rasmus Lerdorf 741f41ff18 efree match_sets on an error here - found by Coverity 2011-08-05 22:39:40 +00:00
Rasmus Lerdorf 2b6a290d55 Another potential missing va_end() found by Coverity 2011-08-05 22:26:16 +00:00
Christopher Jones ae1baaa592 Improve test portabilty 2011-08-05 22:18:50 +00:00
Rasmus Lerdorf 0c2bbe47b2 Fix missing va_end() found by Coverity 2011-08-05 22:18:42 +00:00
Andrey Hristov 8a929d8942 Fix for bug #55283 SSL options set by mysqli_ssl_set ignored for MySQLi persistent connections 2011-08-05 13:39:30 +00:00
Felipe Pena 32319a142f - Added missing check (thanks neweracracker at gmail dot com) 2011-08-04 10:56:59 +00:00
Felipe Pena 8b27b6d559 - Fixed possible efree(NULL) (bug #55296) 2011-08-04 00:59:43 +00:00
Pierre Joye bb78412b07 - update libcurl to 7.21.7 2011-08-03 13:19:03 +00:00
Andrey Hristov 395ebb5c8b Remove a warning by explicitly compiling out a non-used variable 2011-08-02 15:30:58 +00:00
Andrey Hristov 4a7bf95c90 completely compile out a currently non-needed function 2011-08-02 14:18:56 +00:00
Andrey Hristov 66bba32627 compile out both parts of the code that are currently unused - fixes a compilation warning 2011-08-02 14:02:21 +00:00
Dmitry Stogov 0ea2ef125b Fixed bug #55339 (Segfault with allow_call_time_pass_reference = Off) 2011-08-02 07:38:23 +00:00
Dmitry Stogov b0e5d35202 Fixed bug #50816 (Using class constants in array definition fails). 2011-08-01 11:21:23 +00:00
Stanislav Malyshev 44add6d195 fix termination in sha-512 too 2011-07-31 23:14:04 +00:00
Stanislav Malyshev 6e246ad0d5 fix salt truncation bug in sha256 2011-07-31 21:47:03 +00:00
Pierre Joye caf6a6dc7a - blowfish 1.2 update, 2nd part 2011-07-31 20:50:09 +00:00
Pierre Joye 673fe19b39 - add test for blowfish 1.2 (Solar Designer) 2011-07-31 10:11:20 +00:00
Pierre Joye 363b56f261 - Fix #55301 (sybase part, take #2) check if malloc succeded 2011-07-28 21:16:51 +00:00
Ilia Alshanetsky 5b0373b060 back to dev 2011-07-28 11:54:53 +00:00
Ilia Alshanetsky d69796f23f 5.3.7RC4 2011-07-28 11:53:46 +00:00
Pierre Joye a3796f27fb - Fix #55301 (mssql part) check if malloc succeded 2011-07-28 11:01:04 +00:00
Pierre Joye c8a621b191 - Fix #55301 (sybase part) check if malloc succeded 2011-07-28 10:57:31 +00:00
Pierre Joye b3ccd26eb4 - Fix #55301 (url scanner part) check if malloc succeded 2011-07-28 10:52:45 +00:00
Pierre Joye d3fd31b6dd - Fix #55301 (readline part) check if malloc succeded 2011-07-28 10:42:45 +00:00
Pierre Joye 7ec6d3ae47 - Fix #55301 (interbase part) check if malloc succeded 2011-07-28 10:39:19 +00:00
Pierre Joye a20deb1607 - Fix #55301 (pdo_odbc part) check if malloc succeded 2011-07-28 10:37:04 +00:00
Pierre Joye 8535adfb31 - Fix #55301 (com_dotnet part) check if malloc succeded 2011-07-28 10:34:16 +00:00
Pierre Joye 42c4b86c88 - Fix #55301 (curl part) check if malloc succeded 2011-07-28 10:31:34 +00:00
Pierre Joye 0e3ec21e6f - Fix #55295, check if malloc failed 2011-07-27 14:23:06 +00:00
Andrey Hristov 94ccf70c77 longer error messages, don't cut them 2011-07-27 10:26:59 +00:00
Christopher Jones cf8bf9f2f0 Add explicit casts to remove some of Pierre's snapshot build warnings 2011-07-27 00:04:23 +00:00
Ulf Wendel e2ad8e9c1c Double check if line is sill usable and connected to last successfully selected db. 2011-07-26 16:14:59 +00:00
Ulf Wendel 823de19461 Check what happens if switching DB via API fails. Expected: no change of current DB/schema. 2011-07-26 15:37:59 +00:00
Ulf Wendel 61b2568310 Would be nice if tests get updated whenever a feature is added by the person adding the feature... 2011-07-26 09:33:01 +00:00
Ulf Wendel ac9708ccf2 Fix mysqlnd detection 2011-07-26 09:30:49 +00:00
Christopher Jones 987db5f747 Fix cast warning seen on some platforms 2011-07-25 23:40:57 +00:00
Felipe Pena 2df7afeb1c - Revert accidental change 2011-07-25 21:39:53 +00:00
Christopher Jones fc83d523b8 Patch r313663 and r313665 to allow PECL builds to work with earlier releases 2011-07-25 17:30:09 +00:00
Christopher Jones 99049e2fdd Update skipif 2011-07-25 17:22:48 +00:00
Felipe Pena a10e7fe11d - Use ZEND_FE_END macro here 2011-07-25 11:50:10 +00:00
Felipe Pena 23e438594d - Make usage of new PHP_FE_END macro 2011-07-25 11:42:53 +00:00
Felipe Pena 054e1cafa0 - Added new macro to be used in the end of zend_function_entry declaration (Gwynne) 2011-07-25 11:30:53 +00:00
Scott MacVicar 04c2df66a3 When we have a blocking SSL socket, respect the timeout option.
reading from SSL sockets could block indefinitely due to the lack
of timeout
2011-07-23 01:29:44 +00:00
Felipe Pena fcb9e4b2b3 - Disable __sync_fetch_and_add for HPUX for now, gcc seems not provide __sync_fetch_and_add_4 for all targets 2011-07-23 01:08:24 +00:00
Daniel Convissor 3c63a836cf Fix spelling error. 2011-07-21 19:56:54 +00:00
Daniel Convissor 22710d1c44 Have test for add/sub/diff one second during ST/DST transition in spring. 2011-07-21 15:35:06 +00:00
Pierre Joye 83b69f4034 - Fixed bug #55258 (Windows Version Detecting Error) (already fixed in trunk/5.4) 2011-07-21 14:49:55 +00:00
Ryan Biesemeyer 5dc5c26a5f removing openssl test for bug #55169 per Scott MacVicar's request; duplicate coverage of opensssl_random_pseudo_bytes.phpt 2011-07-20 21:25:39 +00:00
Ryan Biesemeyer 7acdad749c update test for bug #55169, fix skipif 2011-07-20 21:13:03 +00:00
Ryan Biesemeyer 74d6fe4f00 update test for bug #55169, don't require the extension in INI 2011-07-20 20:57:17 +00:00
Ryan Biesemeyer 292abd1240 tests for bug #55169 (mcrypt and openssl) 2011-07-20 18:59:05 +00:00
Daniel Convissor d31c5e8a4d Rename and enhance test for bug 55253 now that bugs web is up. 2011-07-20 18:24:14 +00:00
Scott MacVicar 946456425e openssl_encrypt() / openssl_decrypt() were flawed and truncated the key to the default size for the case of a variable key length cipher.
The result is a key of 448 bits being passed to the blowfish algorithm would be truncated to 128 bit.

Also fixed an error in the zend_parse_parameters() having an invalid character being used.
2011-07-19 22:15:56 +00:00
Felipe Pena c3c761ffeb - Fixed bug #55231 (Unsatisfied symbols __sync_fetch_and_add_4) 2011-07-19 22:12:13 +00:00
Popa Adrian Marius 23e564762a Fix for bug http://bugs.php.net/54426
Checks for NULL are wrong as the values can be provided by the triggers
2011-07-19 20:25:51 +00:00
Pierre Joye e825d1b579 - update libpng to 1.2.46 2011-07-19 10:22:42 +00:00
Pierre Joye 8280b0a710 - update blowfish to 1.2 (Solar Designer) 2011-07-18 21:26:29 +00:00
Jérôme Loyet 627540cc0b fix a segfault when passing an empty value to a ini parameter from the web server (php_(admin_)?value) 2011-07-18 21:03:44 +00:00
Pierre Joye 8d1012b2c3 - MFH: Fixed bug #54204 (Can't set a value with a PATH section in php.ini). 2011-07-18 21:00:59 +00:00
Jérôme Loyet 1d3696eecb remove forgotten debug log 2011-07-18 20:59:18 +00:00
Jérôme Loyet 577d81faa2 - get rid of FPM_AUTOCONFIG_H which has never existed since FPM integration into core 2011-07-17 23:33:22 +00:00
Stanislav Malyshev 9c2b6c7b58 Register warning change 2011-07-17 07:03:19 +00:00
Philip Olson 0b9be2918d Updated is_a() and is_subclass_of() tests as per the removed E_WARNING from r313162 which was inspired by discussion after r312904 and PHP Bug #53727 2011-07-15 19:17:22 +00:00
Ilia Alshanetsky 329449f799 Back to dev 2011-07-14 12:02:33 +00:00
Ilia Alshanetsky 894cfb078b 5.3.7RC3 2011-07-14 12:01:37 +00:00
Jérôme Loyet b892d762e5 find option '-not' is not POSIX compliant 2011-07-13 23:28:48 +00:00
Daniel Convissor 6672b31c45 Have test for add/sub/diff one second during DST/ST transition. 2011-07-13 16:22:58 +00:00
Daniel Convissor cafb45221f Add test for constructing times during the dst/st conversion. 2011-07-13 16:21:10 +00:00
Pierre Joye 3be1f24fba - Fixed bug #55187, readlink returns weird characters when false result 2011-07-12 15:15:17 +00:00
Pierre Joye b8251d54a8 - Bug #55169, improve fix, allow non interactive user, hash-like ops only usage 2011-07-12 11:46:41 +00:00
Stanislav Malyshev 1ee8ff3b7d remove warning for is_a() BC 2011-07-12 05:20:40 +00:00
Ilia Alshanetsky 992d32c6a7 Fixed bug #55014 (Compile failure due to improper use of ctime_r()). 2011-07-11 17:01:23 +00:00
Dmitry Stogov ac1ae51a38 Fixed bug #54305 (Crash in gc_remove_zval_from_buffer) 2011-07-11 10:31:49 +00:00
Dmitry Stogov 7d1eef4aa7 Fixed bug #54332 (Crash in zend_mm_check_ptr // Heap corruption) 2011-07-11 09:47:59 +00:00
Pierre Joye 5d5951f247 - fix bug #55169, mcrypt_create_iv always fails to gather sufficient random data 2011-07-10 14:36:32 +00:00
Pierre Joye 8ec6ada087 - use warning here to match unix behavior 2011-07-10 14:19:51 +00:00
Felipe Pena ae40e5f400 - Year++ 2011-07-10 13:05:32 +00:00
Felipe Pena 7b68c1e634 - Missing to commit this change here... (thanks nikic) 2011-07-08 16:29:33 +00:00
Felipe Pena 1cf3ec5eab - Fixed bug #55156 (ReflectionClass::getDocComment() returns comment even though the class has none) 2011-07-07 23:07:14 +00:00
Andrey Hristov 774e127a00 free data in case of failure in the callee not in the caller 2011-07-05 20:31:53 +00:00
Ilia Alshanetsky 43edfb2710 Fixed bug relating to un-initialized memory access 2011-07-05 20:10:45 +00:00
Jérôme Loyet c4b7abb4ea - Fixed wrong value of log_level when invoking fpm with -tt 2011-07-05 18:09:07 +00:00
Gustavo André dos Santos Lopes 987c843674 - Fixed bug #52935 (call exit in user_error_handler cause stream relate core). 2011-07-05 16:09:06 +00:00
Jérôme Loyet d5899d0b33 - ws and cosmetics 2011-07-05 02:42:40 +00:00
Jérôme Loyet efcfbc953e Fixed memory leak 2011-07-05 01:43:50 +00:00
Jérôme Loyet c4d83a413c - moved STR2STR, BOOL2STR and PM2STR from fpm_conf.h to fpm_conf.c (Giovanni Giacobbi) 2011-07-05 01:24:10 +00:00
Stanislav Malyshev 5bd0be8a15 fix crypt() issue with overlong salt 2011-07-04 23:38:09 +00:00
Jérôme Loyet 46ac1e373a alloc SHM for all children at startup to ensure all SHM will be reachable from children over the ages 2011-07-04 22:39:15 +00:00
Jérôme Loyet 5c2477a0d8 child-pid can't be set when fpm_child_resources_use is called 2011-07-04 21:37:28 +00:00
Jérôme Loyet 8237737bd9 - Fixed missing Expires and Cache-Control headers for ping and status pages 2011-07-04 21:29:32 +00:00
Jérôme Loyet 4eb7fc8aa6 - revert commit 312812 until 5.3.7 is out 2011-07-04 21:22:56 +00:00
Dmitry Stogov 293f710827 Fixed bug #53727 (Inconsistent behavior of is_subclass_of with interfaces) 2011-07-04 14:55:39 +00:00
Jérôme Loyet 7fb6b5ca98 fix comment syntax 2011-07-04 12:49:46 +00:00
Felipe Pena 37dab6afee - Fixed bug #54329 (MSSql extension memory leak)
patch by: dotslashpok at gmail dot com
2011-07-03 19:01:42 +00:00
Jérôme Loyet 74b693f16b - Implemented FR #54172 (Overriding the pid file location of php-fpm) 2011-07-02 23:41:01 +00:00
Jérôme Loyet 6d64b2a4c9 - Implemented FR #54499 (FPM ping and status_path should handle HEAD request) 2011-07-02 16:34:39 +00:00
Jérôme Loyet 217382d4ef - Implemented FR #54577 (Enhanced status page with full status and details about each processes
- Added a web page (status.html) for real-time FPM status
- Fixed missing Expires and Cache-Control headers for ping and status pages
2011-07-02 16:10:18 +00:00
Felipe Pena 5f75a28d01 - Fixed bug #55080 (Deprecated call in run--test.php)
patch by: fedora at famillecollet dot com
2011-07-01 23:13:53 +00:00
Ilia Alshanetsky 8f80896718 Back to dev 2011-06-30 13:31:39 +00:00
Ilia Alshanetsky 05763e18bb 5.3.7RC2 2011-06-30 13:16:27 +00:00
Gustavo André dos Santos Lopes 3dafd9549d - Fixed bug #55082 (var_export() doesn't escape properties properly). 2011-06-30 09:26:35 +00:00
Adam Harvey 85bf6f0329 Fix bug #55066 (Missing linebreak in NEWS). 2011-06-30 06:14:41 +00:00
Ilia Alshanetsky aa2ec7517e Fixed test 2011-06-28 23:47:05 +00:00
Knut Urdalen 819be8a3b2 working on test coverage for ext/dom, here's 17 more tests 2011-06-28 20:17:15 +00:00
Pierrick Charron 1b416caeb1 Fixed bug #54971 (Wrong result when using iterator_to_array with use_keys on true) 2011-06-28 11:09:06 +00:00
Christopher Jones 0c2ee427d7 Keep the DBA DB4 test status quo after Berkeley DB 5.2 introduced error message prefixes 2011-06-27 22:58:59 +00:00
Hannes Magnusson e788932a91 Fix 5.1 detection on ubuntu natty 2011-06-27 20:28:30 +00:00
Christopher Jones cf6b208cab missed version sync with 5.4 2011-06-27 17:24:55 +00:00
Derick Rethans 93fcf04fc1 - Updated to version 2011.8 (2011h) 2011-06-27 11:47:43 +00:00
Jérôme Loyet c9a0fbe122 - fixed request_timeout and slowlog_timeout from last FPM commit (r312496)
- typo
2011-06-27 11:33:03 +00:00
Felipe Pena c1d43480cc - BFN 2011-06-27 01:39:01 +00:00
Felipe Pena 92ef080a2e - Fixed data type usage in 64bit
Reported by: Leonildo Costa
2011-06-27 01:36:39 +00:00
Jérôme Loyet f5b05ce162 - Replaced shm_slots with a real scoreboard
- Added several improvements to the status page
2011-06-26 15:48:11 +00:00
Pierre Joye 0d7226ed60 - reflection is always enabled 2011-06-25 10:47:54 +00:00
Knut Urdalen 778edca904 fixed temp directory names in spl tests 2011-06-25 07:45:41 +00:00
Knut Urdalen f8e21c395b fixed/refactored some spl tests related to owner/group retrieval 2011-06-25 04:50:42 +00:00
Christopher Jones d70a9f988d Add http_proxy env var support to run-tests.php result submission 2011-06-24 23:10:37 +00:00
Felipe Pena 10c20ceaf4 - Added SKIPIF 2011-06-24 19:18:06 +00:00
Felipe Pena 6c07bc8004 - BFN 2011-06-24 00:53:52 +00:00
Felipe Pena 08ddf683fc - Fixed crash in error_log() (strlen(NULL)) reported by: shm, Maksymilian Arciemowicz 2011-06-23 21:48:15 +00:00
Hannes Magnusson 71a5c3d7ec These are annoyingly slow 2011-06-23 21:27:42 +00:00
Jérôme Loyet bbe8518456 - Added custom access log (also added per request %CPU and memory mesurement) 2011-06-23 08:03:52 +00:00
Hannes Magnusson 12081f5659 Add charset, fixes the validate_on_parse test (confik) 2011-06-22 14:59:20 +00:00
Shein Alexey 113e304dcf Fixed dom tests. 2011-06-22 09:28:14 +00:00
Patrick Allaert d10755c0e6 Fixed typo 2011-06-20 20:42:02 +00:00
Jérôme Loyet 955b801fea Removed pid in debug logs written by chrildren processes 2011-06-20 00:03:39 +00:00
Daniel Convissor 887f30dc61 Make xfail text not reference a particular version now that 5.4 branch exists. 2011-06-19 16:46:32 +00:00
Felipe Pena 8d6e997315 - Opss, restore old behavior 2011-06-19 14:50:44 +00:00
Felipe Pena 0806f78f77 - Added missing void param check in sys_get_temp_dir
- Fixed param check of umask()
2011-06-19 14:27:33 +00:00
Felipe Pena f4554096e1 - New tests (code coverage++) 2011-06-19 12:33:49 +00:00
Felipe Pena 3964ddd1c4 - Added missing void param checks, and fix arginfo 2011-06-18 22:48:31 +00:00
Felipe Pena e3da6ac3da - Missing change 2011-06-18 17:46:16 +00:00
Felipe Pena 6481440f3f - Fixed ZTS build 2011-06-18 17:41:56 +00:00
Jérôme Loyet 23a5f873fb Added master rlimit_files and rlimit_core in the global configuration settings 2011-06-18 16:27:48 +00:00
Jérôme Loyet 6e1f77ef6b Fixed exit at FPM startup on fpm_resources_prepare 2011-06-18 16:15:15 +00:00
Jérôme Loyet 606d61bd1c ws 2011-06-18 16:05:56 +00:00
Felipe Pena 2b309c8f9e - Added missing arginfos for void params and void param checks 2011-06-18 15:56:14 +00:00
Jérôme Loyet 22be55e6da Remove timestamp in logs written by children process 2011-06-18 15:33:07 +00:00
Daniel Convissor 370d483bcb Provide test for DateTime::add() issue (for discussion on internals, bugs.php.net is down). 2011-06-18 01:00:56 +00:00
Daniel Convissor 249667f9e3 Split DateTime diff/add/sub tests into separate files to make things easier to see, test and (one hopes) fix. 2011-06-18 00:29:52 +00:00
Jérôme Loyet fd0009d8d6 missing doc in the conf file 2011-06-17 23:35:47 +00:00
Jérôme Loyet cff7a300d1 - added xml format to the status page
- clean fpm_status.c code
2011-06-17 23:19:54 +00:00
Christopher Jones 52cc62d825 Remove duplicate lines present in PHP_5_3's .phpt (dtajchreber) 2011-06-17 21:42:40 +00:00
Christopher Jones 21abc2f1c1 Fix skipif to resolve the common reason this test fails 2011-06-17 18:28:34 +00:00
Derick Rethans 4b9857e7a4 - Fixed bug where the DateTime object got changed while using date_diff(). 2011-06-17 16:38:23 +00:00
Felipe Pena f7ee12e928 - Fixed two "jump or move depends on uninitialised value" 2011-06-17 02:00:20 +00:00
Pierre Joye ccae79a2c3 - did I not kill that already? (do not use rand_screen, pointless on server and not TS) 2011-06-16 13:06:41 +00:00
Johannes Schlüter 262492a187 - Back to -dev 2011-06-16 12:47:39 +00:00
Johannes Schlüter 06d5c9a8f0 5.3.7RC1 2011-06-16 12:40:37 +00:00
Pierre Joye 0ff4d7d811 - fix nts build 2011-06-16 10:20:25 +00:00
Pierre Joye 23c4c46b36 - init win32 rng context once per process 2011-06-16 01:31:10 +00:00
Pierre Joye b498b5dfe5 - install extra headers 2011-06-16 01:21:01 +00:00
Gustavo André dos Santos Lopes ba3498ea33 - Broken overlong (>80 chars) lines.
- Added entry corresponding to r301991, as requested.
2011-06-14 22:18:29 +00:00
Scott MacVicar c2ca352598 Upgrade SQLite to 3.7.6.3 2011-06-14 17:00:49 +00:00
Felipe Pena d42a0aee91 - Added CVE id 2011-06-13 19:47:31 +00:00
Felipe Pena e854b05aea - Fix build on Windows 2011-06-13 17:52:23 +00:00
Timm Friebe 6210bf0dba - MFH suppression of compiler warning noted in bug #55009 2011-06-13 08:45:21 +00:00
Felipe Pena 209bfe82e5 - Fixed bug #54624 (class_alias and type hint) 2011-06-12 21:10:31 +00:00
Felipe Pena 9d80c25005 - Fix test again 2011-06-12 21:05:16 +00:00
Felipe Pena 1a615eeaa2 - Added Bison 2.5 to bison_version_list 2011-06-12 17:26:45 +00:00
Felipe Pena 75fa63b57f - Fixed bug #54939 (File path injection vulnerability in RFC1867 File upload filename)
Reported by: kkotowicz at gmail dot com
2011-06-12 15:14:18 +00:00
Felipe Pena bb16e23891 - Restore test (the change related to this test weren't committed to this branch) 2011-06-12 03:01:12 +00:00
Felipe Pena 0ec1758381 - Fixed bug #54680 (missing TRACK_VARS_SERVER check) 2011-06-12 02:47:48 +00:00
Felipe Pena 86ed2eeb5d - Avoid zend_do_ticks() call for each statement in parsing 2011-06-12 01:43:10 +00:00
Gustavo André dos Santos Lopes a54847a0fb - Reverted r301991, which is a (partial) fix to bug #52550, addressing an
overflow in a signed subtraction. This fixes the overflow without
  changing the algorithm.
2011-06-12 00:56:18 +00:00
Felipe Pena 6a504c6f6b - Fix missing change from r303357 (related to bug #48831) 2011-06-11 23:46:35 +00:00
Timm Friebe 55aab4e6de - MFH Bugfix for bug #53540 2011-06-11 18:55:15 +00:00
Felipe Pena 9b1ba00a1e - Missing fix for bug #54347 2011-06-11 15:11:49 +00:00
Pierre Joye c92904d160 - missing entry for curl.cainfo 2011-06-11 13:23:29 +00:00
Felipe Pena a76f790b58 - Possible fix for bug #55022 (memory_limit exhausted when set charset in sybase_connect) 2011-06-11 01:15:14 +00:00
Christopher Jones 17af8b0179 Fix TSRMLS for Windows build 2011-06-11 00:24:26 +00:00
Felipe Pena c776180f6e - Drop C++ style comments 2011-06-10 23:14:15 +00:00
Felipe Pena 0e37aa144f - Fixed bug #55028 (// is abad comment) 2011-06-10 22:48:36 +00:00
Christopher Jones c7a8bd6a4c Add new OCI8 tests. Refactor skipifs. Sync 5.3/5.4/trunk branches 2011-06-10 19:16:35 +00:00
Christopher Jones f4009b52a3 Add oci_client_version() returning the runtime Oracle client library version - predominantly useful for the test suite 2011-06-10 17:38:07 +00:00
Christopher Jones bc0d535f5a Missed trivial comment sync with PHP_5_4 and trunk 2011-06-10 17:16:00 +00:00
Felipe Pena 60857e013b - Fixed bug #54347 (reflection_extension does not lowercase module function name)
patch by: laruence at yahoo dot com dot cn
2011-06-09 22:45:35 +00:00
Shein Alexey ae2e75a657 Fixed test. 2011-06-09 13:09:25 +00:00
Shein Alexey 21fb2a42cc Changed session.save_path to /tmp to make test run. 2011-06-09 08:24:12 +00:00
Shein Alexey 3b37e152c3 Skip reason is now printed if session.save_path is not writable. 2011-06-09 08:18:49 +00:00
Shein Alexey 25adf56921 Fixed session test breakage due to serialize precision issue. 2011-06-09 07:44:10 +00:00
Ilia Alshanetsky cca899148a Fixed test 2011-06-08 23:30:02 +00:00
George Wang 0bcbaa1750 fix socket address parsing code 2011-06-08 16:51:59 +00:00
Ilia Alshanetsky 9277da7d9d Fixed test to account for smaller default floating point # precision 2011-06-08 02:03:14 +00:00
Gustavo André dos Santos Lopes cd7681d273 - Fixed bug #54992: Stream not closed and error not returned when SSL CN_match
fails.
2011-06-08 00:23:02 +00:00
Christopher Jones 031085e0a9 Sync OCI8 branches. Allow 'pecl install' to work on both PHP 5.3 & 5.4 2011-06-07 23:53:02 +00:00
Felipe Pena f75714650b - Fixed bug #55007 (compiler fail after previous fail) 2011-06-07 22:58:38 +00:00
Ilia Alshanetsky 14ed144318 Fixed test 008 2011-06-07 01:40:54 +00:00
Felipe Pena baf834a00a - BFN 2011-06-07 01:27:29 +00:00
Felipe Pena 68ff1463e7 - Restore fix for #39863 (do not accept paths with NULL in them)
# This was removed by regenerating the VM months ago
2011-06-06 02:34:38 +00:00
Ilia Alshanetsky d846d0e80a Fixed bug #51997 (SEEK_CUR with 0 value, returns a warning). 2011-06-05 21:57:01 +00:00
Hannes Magnusson 10da251565 Fixed bug#51819 (Case discrepancy in timezone names cause Uncaught exception and fatal error) 2011-06-05 13:30:01 +00:00
Philip Olson f472141549 Updated the note maintainers credits 2011-06-05 06:57:13 +00:00
Felipe Pena 0afd4bd18b - Possible fix for bug #54609 (Certain implementation(s) of SplFixedArray cause hard crash) 2011-06-05 01:38:12 +00:00
Felipe Pena 087a134b50 - Fixed bug #54929 (Parse error with single quote in sql comment) 2011-06-04 22:54:40 +00:00
Ilia Alshanetsky 00a6dd29b7 Show ICU Data version inside phpinfo() 2011-06-03 18:14:36 +00:00
Hannes Magnusson 14e7d404d9 Fix tests
#Note to self; do not rename tests just before committing
2011-06-03 17:38:37 +00:00
Hannes Magnusson a62829c09e Add tests for broken function arguments 2011-06-03 17:12:59 +00:00
Gustavo André dos Santos Lopes 479a47d8af Merge of fix for bug #54918 (r311745, scottmac) to 5.3. 2011-06-03 09:39:45 +00:00
Gustavo André dos Santos Lopes 7af15a41d9 - Fixed double registering of browscap ini directive. See bug #54896. 2011-06-02 08:46:40 +00:00
Felipe Pena 47315dfdf6 - Fixed bug #54970 (SplFixedArray::setSize() isn't resizing) 2011-06-02 00:40:27 +00:00
Ilia Alshanetsky f7cdabd118 More tests 2011-06-01 16:59:23 +00:00
Ilia Alshanetsky e6c9a31c54 Implemented FR #54561 (Expose ICU Version & ICU Data Version info). 2011-06-01 16:26:21 +00:00
Ilia Alshanetsky 83d01bd81b Fixed bug #52104 (bindColumn creates Warning regardless of ATTR_ERRMODE settings). 2011-06-01 13:23:25 +00:00
Ilia Alshanetsky f4f2aa7583 Fixed bug #54484 (Empty string in json_decode doesn't reset json_last_error()). 2011-06-01 09:44:38 +00:00
George Wang cb7f656de7 fix CLI mode timeout 2011-05-31 22:40:42 +00:00
Rafael Machado Dohms b903587268 Adding testcases to validate imageloadfont input parameter validation, tests were developed at #tek11 testfest 2011-05-31 21:24:10 +00:00
Andrey Hristov b97e76d512 reuse code 2011-05-31 20:42:44 +00:00
Shein Alexey e69b73e0b8 Fixed notice breaking the test. 2011-05-31 12:57:40 +00:00
Andrey Hristov e2ac61225f fix macros 2011-05-31 10:35:07 +00:00
Dmitry Stogov c989a36927 Fixed bug #54910 (Crash when calling call_user_func with unknown function name) 2011-05-31 09:20:51 +00:00
Ilia Alshanetsky 3d7a201eb4 Removed test for functionality available in 5.4+ 2011-05-31 09:01:44 +00:00
Ilia Alshanetsky e91cecb1d3 Removed unnecessary rinit/rshutdown 2011-05-31 08:59:32 +00:00
Philip Olson b7eefa0af7 Updated qa-release.php notes as per the new qa-release.php syntax 2011-05-30 23:26:33 +00:00
Ilia Alshanetsky a65eba016e Fixed bug #52496 (Zero exit code on option parsing failure). 2011-05-30 15:57:50 +00:00
Hannes Magnusson 3b030ec75f Fixed bug #54946 (stream_get_contents infinite loop) 2011-05-29 12:29:19 +00:00
Hannes Magnusson 07bcf1080d Fixed bug #54601 (Removing the doctype node segfaults) 2011-05-29 11:39:49 +00:00
Ilia Alshanetsky 69a12bfb3f Fixed bug #53848 (fgetcsv() ignores spaces at beginnings of fields). 2011-05-29 10:23:06 +00:00
Ilia Alshanetsky ef74038d1d Fixed bug #54137 (file_get_contents POST request sends additional line break). 2011-05-29 09:23:08 +00:00
Felipe Pena 6ff2f7040e - BFN 2011-05-27 23:32:48 +00:00
Felipe Pena 490b75d170 - Fixed bug #54934 (Unresolved symbol strtoull in HP-UX 11.11) 2011-05-27 23:31:30 +00:00
Ilia Alshanetsky 8267eaf1bf Fixed bug #54924 (assert.* is not being reset upon request shutdown). 2011-05-26 18:17:43 +00:00
Pierre Joye 885357a711 -fix bug 54935, php_win_err can lead to crash 2011-05-26 14:37:13 +00:00
Philip Olson 983cedfd94 Fixed test, as per r311323 2011-05-25 00:02:05 +00:00
Felipe Pena 4bf9334a82 - Fixed bug #50363 (Invalid parsing in convert.quoted-printable-decode filter)
Patch by: slusarz at curecanti dot org
2011-05-24 23:49:26 +00:00
Philip Olson 35c42425fa Fixed test 2011-05-24 23:49:04 +00:00
Philip Olson e2caad5f96 Updated test. touch() emits E_WARNING for bogus values. Updated 5.3 test to look the same. 2011-05-24 23:27:49 +00:00
Felipe Pena 6814cbec4b - Fix logic, it must check for both flags (as says the comment in the code) (bug #54912) 2011-05-24 22:34:07 +00:00
Felipe Pena bed49c931d - Fixed bug #54912 (filter/logical_filters.c:685:32: warning: use of logical || with constant op)
Initial patch by: crrodriguez at opensuse dot org
2011-05-24 22:24:06 +00:00
Pierre Joye e38369c532 - Fix #54721, different Hashes on Windows, BSD and Linux on wrong Salt size 2011-05-24 13:48:04 +00:00
Felipe Pena 5cf61f4d8b - Add CVE to bug entry 2011-05-24 12:23:51 +00:00
Pierre Joye 86eae702f2 - fix tests, keep EOL as unix style as the str len is used in expectf 2011-05-24 10:23:13 +00:00
Pierre Joye 0d8e83532a - make svn-eol LF and use one test for unix and windows 2011-05-24 09:44:55 +00:00
Felipe Pena ee920e12ec - Fix the fix
# Arghh, copy and paste error :(
2011-05-24 00:10:00 +00:00
Felipe Pena e9f4cfd6af - Fixed stack buffer overflow in socket_connect().
Found by: Mateusz Kocielski, Marek Kroemeke and Filip Palian
2011-05-24 00:05:50 +00:00
Felipe Pena 00169ec00f - Fixed bug #54529 (SAPI crashes on apache_config.c:197)
patch by: hebergement at riastudio dot fr
2011-05-23 01:47:06 +00:00
Felipe Pena 508f926604 - Fixed bug #54269 (Short exception message buffer causes crash) 2011-05-22 19:06:21 +00:00
Rasmus Lerdorf ba8ce4a6d4 Increase the overly conservative pcre backtrack limit from 100000 to 1000000 2011-05-21 19:48:37 +00:00
Felipe Pena f7e6e6cedf - Fixed bug #54895 (Fix compiling with older gcc version without need for membar_producer macro)
patch by: mhei at heimpold dot de
2011-05-20 21:24:51 +00:00
Felipe Pena 6f3c7a8b70 - Fixed bug #54804 (__halt_compiler and imported namespaces) (Pierrick) 2011-05-19 23:20:47 +00:00
Rasmus Lerdorf 00842d6996 Fix CS 2011-05-19 23:18:55 +00:00
Rasmus Lerdorf e40c470c9d Fix bug 54866 2011-05-19 23:09:58 +00:00
Pierre Joye 221a07b669 - initial import, will add all libs later 2011-05-19 13:36:29 +00:00
Scott MacVicar 8e314ae7fc Revert part of the fix for #53339
On OSX we need ssl AND crypto

The patch that was applied didn't even match what was in the bug
2011-05-19 05:43:48 +00:00
Rasmus Lerdorf edcc7dce4e Fix typo 2011-05-18 19:55:34 +00:00
Rasmus Lerdorf 8f71a6f673 Fix autoconf version check script to make sure people are
not using 2.60 or higher here. It might actually work up to
2.62 or 2.64. If someone could verify that these versions
still work I can massage this further.
2011-05-18 17:27:41 +00:00
Johannes Schlüter 9aa379c724 - handle out of memory 2011-05-18 11:49:49 +00:00
Dmitry Stogov f406858cc9 Fixed crash on recursive error handler invocation 2011-05-17 12:27:21 +00:00
Dmitry Stogov 2ee837aa5e Fixed crash on recursive error handler invocation 2011-05-17 12:27:21 +00:00
Andrey Hristov a417820be3 exchange a "trap" with an error 2011-05-17 09:44:11 +00:00
Johannes Schlüter 1eb7704974 - Move the field access behind the check
# Only called from one place where the connection is checked, but
# playing safe, again (parfait)
2011-05-17 00:16:57 +00:00
Ferenc Kovacs 2ea7c05d75 adding an XFAIL, as we have an open bug for this test 2011-05-16 23:43:12 +00:00
Ferenc Kovacs 85de397a23 adding an XFAIL, as we have an open bug for this test 2011-05-16 23:39:16 +00:00
Ferenc Kovacs 66d5eb12a9 set the timezone to UTC as suggested by Alexey Shein, and adding an SKIPIF as this test was originaly intended to be windows only 2011-05-16 23:35:23 +00:00
Ferenc Kovacs f551ed4189 fix the test with the removal of the unnecessary newline 2011-05-16 23:33:05 +00:00
Ferenc Kovacs 23cab07e4f adding the serialize_precision=100 for the tests, credits to Mats Lindh for reporting it 2011-05-16 23:31:14 +00:00
Ferenc Kovacs 36fde4043b removing XFAIL as #39863 has already been fixed 2011-05-16 23:28:46 +00:00
Ferenc Kovacs a944f7a663 reverting 311103,311105-311109, will commit them to all three branches 2011-05-16 23:22:17 +00:00
Johannes Schlüter c61d125986 - Handle error if tempfile can't be opened, found by parfait 2011-05-16 22:24:41 +00:00
Johannes Schlüter 38c1181cfa - Fix a few more memleaks found by parfait 2011-05-16 21:29:45 +00:00
Ferenc Kovacs 2957b7cbb6 adding an XFAIL, as we have an open bug for this test 2011-05-16 20:11:00 +00:00
Ferenc Kovacs e9efaea7c4 adding an XFAIL, as we have an open bug for this test 2011-05-16 20:10:04 +00:00
Ferenc Kovacs 2f5dc540e0 fix the test via setting the timezone to UTC as suggested by Alexey Shein, and adding an SKIPIF as this test was originaly intended for windows only, maybe we could drop this, as we don't support VC6 anymore 2011-05-16 20:07:55 +00:00
Ferenc Kovacs 76425aaca1 fix the test with the removal of the unnecessary newline 2011-05-16 19:51:39 +00:00
Ferenc Kovacs c4e6beebb3 adding the serialize_precision=100 for the tests, credits to Mats Lindh for reporting it 2011-05-16 19:49:59 +00:00
Johannes Schlüter 9ea582a76c - Fix possible memory leak
# Found by parfait - http://labs.oracle.com/projects/parfait/
2011-05-16 19:46:32 +00:00
Ferenc Kovacs df2ca16fa8 removing XFAIL as #39863 has already been fixed 2011-05-16 19:40:12 +00:00
Johannes Schlüter 3e17b49008 - Fix Bug #53782 (foreach throws irrelevant exception) 2011-05-16 15:37:39 +00:00
Johannes Schlüter 9e5bc2c138 - Move the access behind the check.
# I can't find an unsafe call, but let's play safe
2011-05-16 10:15:28 +00:00
Rasmus Lerdorf d257aa42ff Oops, can't cache it here because it won't work
in autoconf2.13 and we still support that version
in this branch
2011-05-15 05:49:34 +00:00
Rasmus Lerdorf 78a15091f9 Cache the pdo include path 2011-05-15 05:03:29 +00:00
Rasmus Lerdorf 24be7e2106 We can't really predict what will happen on an unknown host lookup
since bogus ISPs like Comcast and many others try to "help" by resolving
everything to their own search page.
2011-05-15 01:52:07 +00:00
Martin Jansen 2ce1fd71ea Fixed two failing tests that were caused by arbitrarily chosen
but apparently bogus upper resp. lower limits for mt_rand().
2011-05-14 20:29:46 +00:00
Rasmus Lerdorf 4ab19212e5 en_US locale preferred output has AM/PM and also the timezone 2011-05-14 17:51:38 +00:00
Rasmus Lerdorf d91d06af30 Fix the require in these tests 2011-05-14 17:34:18 +00:00
Rasmus Lerdorf 6613fefb80 Make sure 'E' is included in the variables_order, otherwise
this test won't work.
2011-05-13 21:54:25 +00:00
Scott MacVicar 74b8f72017 Fix Windows build, this really should be in a patch file / README.
I'll fix this up later.
2011-05-13 13:51:07 +00:00
Scott MacVicar 27fc1b889a Update bundled PCRE to 8.12 2011-05-13 07:00:45 +00:00
Scott MacVicar 66ce68e7a4 Update bundled SQLite to 3.7.6.2 2011-05-13 06:11:06 +00:00
Scott MacVicar df0ce635e4 Fix use after free() in XMLReader::xml() 2011-05-13 05:54:34 +00:00
Scott MacVicar a0857d56ac Fixed bug #54723 - getimagesize() doesn't check the full ico signature and misreports mpg files 2011-05-13 05:06:48 +00:00
Rasmus Lerdorf 2954832b97 Check headers first and let the CHECK_LIBRARY macro
handle checking for the library. This makes it 
correctly handle non-standard system paths as long
as gcc knows about them. Should fix the build on
Ubuntu natty.
2011-05-12 08:19:37 +00:00
Philip Olson c2a245f582 Added missing date_default_timezone_set('UTC'); to the appropriate tests. A few now pass by not showing the timezone warning. 2011-05-12 06:51:46 +00:00
Dmitry Stogov 5dcdf5c467 Fixed bug #54367 (Use of closure causes problem in ArrayAccess) 2011-05-11 06:58:33 +00:00
Scott MacVicar cab76530e7 Turns out that more than 1% of users clocks are more than a year out of date, this causes cookies to never get deleted since the date is in the future.
I can only guess its due to batteries on the motherboard being dead.
2011-05-10 19:09:24 +00:00
Adam Harvey a7dbf5a29e Fix bug #54692 (SQLite3::open() Return Value) by correcting the SQLite3::open()
prototype.
2011-05-10 08:14:55 +00:00
Andrey Hristov 229bdc7ccb Fix range
(thanks again nihen)
2011-05-10 07:15:22 +00:00
Andrey Hristov 20f4ea9de8 here comes the news 2011-05-09 16:22:54 +00:00
Andrey Hristov 6242101f2b Fix for bug 54674..typo in the check of SJIS 2011-05-09 16:20:35 +00:00
Johannes Schlüter 4a8eeb7afb - Fix bug #54644 (wrong pathes in php_pdo_mysql_int.h) 2011-05-09 11:34:17 +00:00
Gustavo André dos Santos Lopes 8f77168384 - Merged to 5.3 change in trunk in _php_stream_free. This prevents the segfault
in the testcase for bug #53624. The testcase still has to be fixed though,
  because it only works as intended on Windows.
2011-05-08 19:59:42 +00:00
Felipe Pena cde80bd812 - BFN #54681 2011-05-07 01:59:12 +00:00
Felipe Pena c11e307ae0 - Fixed bug #54681 (addGlob() crashes on invalid flags) 2011-05-07 01:58:26 +00:00
Andrey Hristov 9bf9b88f20 add the BLOCK_LEAVE macro for non-gcc and non-win 2011-05-04 19:09:12 +00:00
Andrey Hristov 3e46e95ac1 reorganize the DBG_ macros, add DBG_BLOCK_XXX 2011-05-04 19:05:19 +00:00
Antony Dovgal 8f8a54ab37 fix tests 2011-05-04 08:44:14 +00:00
Antony Dovgal 176c6fe901 fix test 2011-05-04 08:28:31 +00:00
Dmitry Stogov 13879d1d13 Fixed crash when passing invalid timestamp (negative integer on win32) 2011-05-04 07:53:22 +00:00
Dmitry Stogov 0bce4957e5 Fixed crash when passing invalid timestamp (negative integer on win32) 2011-05-04 07:53:22 +00:00
Antony Dovgal 278392a10b fix tests 2011-05-03 11:15:45 +00:00
Andrey Hristov 5bac59b7d1 extend the API in the backward compatible way 2011-05-03 09:37:53 +00:00
Antony Dovgal 93ce043480 fix segfault in ext/standard/tests/network/http-stream.phpt 2011-05-02 16:17:52 +00:00
Antony Dovgal f3cd7fdda4 fix ZTS build for 5_3, too 2011-05-01 19:46:27 +00:00
Gustavo André dos Santos Lopes a2e0e2564d - Fixed bug #54580 (get_browser() segmentation fault when the browscap ini
directive is set in activation time). This commit fixes this by adding a per
  request parsing of the browscap file that's when get_browser is called the
  first time and the directive is set on activation time.w
2011-05-01 18:37:20 +00:00
Gustavo André dos Santos Lopes 02302812e1 - Fixed accidental change. 2011-05-01 04:16:28 +00:00
Gustavo André dos Santos Lopes 6df67ace20 - Fixed bug #54623 (Segfault when when writing to a persistent socket after
closing a copy of the socket).
2011-05-01 03:57:01 +00:00
Derick Rethans 7a80c3a0ed - Updated to version 2011.7 (2011g) 2011-04-30 20:18:51 +00:00
Pierrick Charron 3841295b2a Added support for CURLOPT_MAX_RECV_SPEED_LARGE and CURLOPT_MAX_SEND_SPEED_LARGE. FR #51815
# MFH. This addition was already committed to trunk and is backported as requested in #54622
2011-04-29 10:41:44 +00:00
Ilia Alshanetsky fc7ee596f6 #doc
Added 3rd parameter to filter_var_array() and filter_input_array() 
functions that allows disabling addition of empty elements
2011-04-28 12:32:47 +00:00
Rasmus Lerdorf 6c564a7802 Fix test by pointing this at a smaller file that is less likely to break the test 2011-04-27 21:27:00 +00:00
Rasmus Lerdorf a44515caf9 Fix broken test 2011-04-27 15:08:44 +00:00
Hannes Magnusson 3d347be242 Regenerate from the doc sources 2011-04-27 09:29:10 +00:00
Rasmus Lerdorf 8192ba2b60 Someone fixed these in trunk and didn't backport to PHP_5_3 2011-04-27 05:05:32 +00:00
Martin Jansen 1a4897c88e MFH: The project calls itself OpenSSL and not openSSL, so let's keep it
that way in our code as well.
2011-04-25 16:51:12 +00:00
Pierre Joye 2d0ab7c98b - keep node creation check 2011-04-25 09:31:00 +00:00
Pierre Joye cd4928c99a - keep inode creation check 2011-04-25 09:28:08 +00:00
Dmitry Stogov e510daf20b Fixed bug #54585 (track_errors causes segfault) 2011-04-25 07:50:07 +00:00
Rasmus Lerdorf be3d70df4e SSLV2 patch cleanup 2011-04-24 23:27:48 +00:00
Pierre Joye be24877c84 - fix use of unitiliazed var 2011-04-24 22:08:11 +00:00
Rasmus Lerdorf e575557612 Support for openssl without SSLv2 supprot compiled in. Distros are starting to
remove support now and this wasn't compiling anymore on my Debian dev box.
2011-04-24 20:47:22 +00:00
Hannes Magnusson 21f71027e3 2011 2011-04-23 21:14:10 +00:00
Hannes Magnusson e85c367bc7 its force-quit, not -exit (yawk) 2011-04-23 21:12:25 +00:00
Pierrick Charron 1153eaf505 Revert bug #54454 fix from PHP_5_3 branch to avoid BC break in minor release 2011-04-21 01:51:24 +00:00
Dmitry Stogov c157f4b4e6 Fixed bug #54367 (Use of closure causes problem in ArrayAccess). 2011-04-20 12:59:18 +00:00
Pierre Joye 1dd5690af2 - fix build >(btw, has novell man pages too?) 2011-04-19 21:43:22 +00:00
Hannes Magnusson 5ca8ba7ab6 Add an --man-dir to php-config too 2011-04-18 11:13:37 +00:00
Hannes Magnusson a0d805035c Expose PHP_MANDIR
Useful for apps (like the pear installer, phd, .. etc) to install their manpages into the same dir as php did :]
2011-04-18 09:50:32 +00:00
Stanislav Malyshev 339f46237d implement FR #54540 - Allow loading of arbitrary resource bundles when fallback is disabled 2011-04-17 21:56:26 +00:00
Rob Richards 1b6dd18082 Implement FR #48587 (MySQL PDO driver doesn't support SSL connections) 2011-04-15 14:24:40 +00:00
Dmitry Stogov 92e5b10c41 Fixed bug #54268 (Double free when destroy_zend_class fails) 2011-04-15 12:43:20 +00:00
Stanislav Malyshev 833ec62d7c add CVE 2011-04-13 17:33:00 +00:00
Felipe Pena 782c00d744 - Remove undesired line (reported by Gökhan Özbulak) 2011-04-13 13:38:52 +00:00
Stanislav Malyshev 2e206e0761 fix bug #54238 (use-after-free in substr_replace()) 2011-04-13 06:32:41 +00:00
Ilia Alshanetsky 0e80f26207 Fixed bug #54121 (error message format string typo). 2011-04-12 18:33:08 +00:00
Gustavo André dos Santos Lopes 047ed8dfbb - Fixed bug #54440: libxml extension ignores default context. 2011-04-09 18:32:55 +00:00
Gustavo André dos Santos Lopes f2cfb997de - Fixed bug #54494: mb_substr() mishandles UTF-32LE and UCS-2LE. 2011-04-09 16:59:36 +00:00
Dmitry Stogov def1ab1e60 - Fixed bug #54358 (Closure, use and reference)
- Fixed bug #54039 (use() of static variables in lambda functions can break staticness)
2011-04-08 10:02:07 +00:00
Dmitry Stogov 3e36ecd98f Missed tests 2011-04-07 14:34:07 +00:00
Dmitry Stogov 03b6daed4f Fixed bug #54372 (Crash accessing global object itself returned from its __get() handle) 2011-04-07 13:35:27 +00:00
Adam Harvey 840308cfd0 Implement FR #54459 (Range function accuracy) by changing the way range()
calculates values when used with floating point bounds/step.
2011-04-06 10:23:06 +00:00
Adam Harvey f9721d03f7 Fix duplicated test. 2011-04-06 10:16:14 +00:00
Gustavo André dos Santos Lopes cd2cdd256a - Make SplFileInfo::_bad_state_ex final. 2011-04-05 08:38:09 +00:00
Gustavo André dos Santos Lopes 2975308e1a - Fixed bug #54384 (Dual iterators, GlobIterator, SplFileObject and
SplTempFileObject crash when user-space classes don't call the paren
  constructor).
2011-04-04 02:50:27 +00:00
Pierrick Charron e8486cc374 Fix common typos in the source code (Reported in Bug #54065)
# External libraries were excluded
# Thanks eitan at eitanadler dot com for the first patch :)
2011-04-03 21:46:52 +00:00
Ilia Alshanetsky 47012ccd8f Fixed bug #53037 (FILTER_FLAG_EMPTY_STRING_NULL is not implemented). 2011-04-03 16:30:31 +00:00
Pierrick Charron 4919f3286b Fixed bug #54454 (substr_compare incorrectly reports equality in some cases) 2011-04-03 07:18:27 +00:00
Felipe Pena 2c76af8538 - Improved message and version checking 2011-04-02 01:24:53 +00:00
Pierre Joye 689268a0ba - add CURLINFO_REDIRECT_URL 2011-04-01 17:19:08 +00:00
Derick Rethans 88c1755a14 - Updated to version 2011.5 (2011e) 2011-04-01 11:24:49 +00:00
Antony Dovgal dd5781bcdf fix bug #54423 (classes from dl()'ed extensions are not destroyed) 2011-03-31 11:59:34 +00:00
Christopher Jones ef777fc18e Refactor OCI8 config.m4: improve messages and merge similar conditionals 2011-03-29 21:37:45 +00:00
Felipe Pena 1dbfe6e310 - BFN 2011-03-29 18:44:52 +00:00
Felipe Pena 3c6104e180 - Fixed bug #44989 (64bit Oracle RPMs still not supported by pdo-oci)
patch by: jbnance at tresgeek dot net
2011-03-29 18:40:20 +00:00
Pierre Joye f335f27b7b - not applied yet 2011-03-28 16:45:57 +00:00
Pierre Joye 4551bd57f7 - Fixed bug #48465 (sys_get_temp_dir() possibly inconsistent, windows fix 2011-03-28 16:43:49 +00:00
Pierre Joye 4ad6108b7d - re enable static analyzer, crash fixed with snapshot builds 2011-03-28 10:55:34 +00:00
Nuno Lopes 9aec0c6806 fix last commit:
- fix code coverage build
 - spread static love
2011-03-28 09:10:23 +00:00
Felipe Pena 4929964a5d - Fixed bug #54395 (Phar::mount() crashes when calling with wrong parameters) 2011-03-26 17:02:34 +00:00
Andrey Hristov 018013e579 here comes the news 2011-03-24 16:19:01 +00:00
Andrey Hristov 8b33e6fae0 fix buffer overflow - overwriting with 0x0, due to
unchecked buffer size. This can be easily workarouned on 
existing unpatched systems by increasing
mysqlnd.net_cmd_buffer_size ini variable to more than 8k
2011-03-24 16:12:18 +00:00
Ulf Wendel a270348c24 Limit test with 65k params, should crash mysqlnd 2011-03-24 13:40:06 +00:00
Ilia Alshanetsky f2ce3e0201 Fixed a crash inside dtor for error handling. 2011-03-24 12:57:38 +00:00
Felipe Pena 0ab7f1cebf - Fixed bug #54292 (Wrong parameter causes crash in SplFileObject::__construct()) 2011-03-23 22:46:04 +00:00
Christopher Jones 8ca08487b7 Fixed bug #54084 (Fix apxs Apache version test to work with Oracle HTTP Server) (Chris Jones) 2011-03-23 18:56:47 +00:00
Andrey Hristov 3c364cbe52 Fix compressed build, make it easier 2011-03-23 17:14:28 +00:00
Adam Harvey 13a91f86b7 Implement request #54355 (Test for de_DE doesn't use UTF-8 locales). Patch by
Ondřej Surý.
2011-03-23 08:59:11 +00:00
Ulf Wendel 8307f9e892 Coverage for a 'silent server protocol change' from the past for which both mysqlnd and libmysql have workarounds. 2011-03-23 08:57:52 +00:00
Felipe Pena 5b85234b37 - Fixed bug #54283 (new DatePeriod(NULL) causes crash) 2011-03-23 01:22:18 +00:00
Gustavo André dos Santos Lopes 660aa6701d - Updating UPGRADING for r309516 and modest merge to 5.3. 2011-03-23 00:51:22 +00:00
Felipe Pena 0dd448cbf1 - Fixed bug #54281 (Crash in non-initialized RecursiveIteratorIterator) 2011-03-22 22:41:16 +00:00
Andrey Hristov 5572becc81 palloc is long dead, use more appropriate name 2011-03-22 14:39:58 +00:00
Andrey Hristov 3595f09c28 Fix message 2011-03-22 14:39:36 +00:00
Andrey Hristov 081b001ca1 remove more unneeded includes 2011-03-22 12:54:02 +00:00
Andrey Hristov 9484248c0a remove unneeded includes 2011-03-22 12:22:16 +00:00
Adam Harvey c5c87c5f37 Fix bug #54318 (Non-portable grep option used in PDO pgsql configuration).
Patch by Ben Walton <bwalton at artsci dot utoronto dot ca>.
2011-03-22 09:12:01 +00:00
Adam Harvey 334d2df892 Fix bug #54340 (DateTime::add() method bug). 2011-03-22 08:33:22 +00:00
Adam Harvey 68811c473d Fix bug #54316 (DateTime::createFromFormat does not handle trailing '|'
correctly).
2011-03-21 09:40:52 +00:00
Gustavo André dos Santos Lopes 95a3bfb1bc - Fixed SKIPIF section of bug51958.phpt. 2011-03-20 22:12:11 +00:00
Gustavo André dos Santos Lopes f06e3ba5c1 - Fixed bug #54291 (Crash iterating DirectoryIterator for dir name starting
with \0).
2011-03-19 23:15:04 +00:00
Felipe Pena 8a48311a60 - BFN 2011-03-19 17:47:54 +00:00
Felipe Pena ab7992fab2 - Fixed bug #54312 (soap_version logic bug)
Patch by: tom at samplonius dot org
2011-03-19 17:36:01 +00:00
Raphael Geissert 5b55a18622 Add the libraries we actually test and need for LDAP and OpenSSL, fixes bug #53339
Patch by Clint Byrum
2011-03-18 18:47:09 +00:00
Pierrick Charron 5a53a74304 Fixed bug #54180 (parse_url() incorrectly parses path when ? in fragment) 2011-03-17 18:02:58 +00:00
Gustavo André dos Santos Lopes be87834321 - Merged fix for bug #51958 socket_accept() fails on IPv6 server sockets.
See r309238 for commit in trunk.
2011-03-17 15:36:52 +00:00
Ulf Wendel 8bbd451647 Test coverage for some of the cases where LAST_INSERT_ID() and API *_insert_id() differ as documented in the MySQL manual in particular the C API reference section 2011-03-17 15:18:22 +00:00
Felipe Pena d37dea8b7b - BFN 2011-03-17 12:03:09 +00:00
Felipe Pena 1e86e8e12c - Fixed bug #54167 (PDO_DBLIB returns null on SQLUNIQUE field)
patch by: mjh at hodginsmedia dot com
2011-03-17 11:59:54 +00:00
Johannes Schlüter 07aa25b442 - Fixed bug #54265 (crash when variable gets reassigned in error handler)
(re-apply 309308, dmitry)
2011-03-17 11:49:18 +00:00
Felipe Pena 2b8d0edb45 - Fix infile return on duplicated key (related to bug #54242) 2011-03-17 11:43:05 +00:00
Andrey Hristov 5fb54640c9 here comes the news 2011-03-17 10:31:28 +00:00
Andrey Hristov 56cdee2def Fix for bug #54221 mysqli::get_warnings segfault when used in multi queries 2011-03-17 10:28:53 +00:00
Johannes Schlüter 27e640fdea - Back to dev 2011-03-17 10:13:20 +00:00
Johannes Schlüter f5687db392 PHP 5.3.6 2011-03-17 07:48:29 +00:00
Johannes Schlüter 6f15da050e - Revert r309308 temporarily to get 5.3.6 out 2011-03-17 07:46:57 +00:00
Pierre Joye 6e35b40b4c - news entry for the setlocale fix 2011-03-16 23:57:04 +00:00
Pierre Joye 0778bedbe1 - MFH: make setlocale thread only, drastically reduce TS related crashes in error mgt and other parts like pcre, and actually a good thing (tm) 2011-03-16 23:54:14 +00:00
Dmitry Stogov 98fc9750f9 Fixed bug #54265 (crash when variable gets reassigned in error handler) 2011-03-16 15:21:38 +00:00
Dmitry Stogov e90ac23f58 Fixed bug #54265 (crash when variable gets reassigned in error handler) 2011-03-16 15:21:38 +00:00
Dmitry Stogov f822fab4cb Fixed test 2011-03-16 13:02:00 +00:00
Dmitry Stogov b78ac8df82 Fixed bug #54262 (Crash when assigning value to a dimension in a non-array) 2011-03-16 11:14:33 +00:00
Dmitry Stogov 3c36336329 Fixed bug #54262 (Crash when assigning value to a dimension in a non-array) 2011-03-16 11:14:33 +00:00
Felipe Pena d7b8f23e2b - BFN 2011-03-14 22:27:40 +00:00
Derick Rethans 50b56c2c0f - Updated to version 2011.4 (2011d) 2011-03-14 18:56:02 +00:00
Felipe Pena 6da18ca967 - Missing fixes for bug #54247 2011-03-14 14:12:42 +00:00
Felipe Pena 8d816ed0ef - Fixed bug #54247 (format-string vulnerability on Phar) 2011-03-14 13:54:41 +00:00
Pierrick Charron e68e2893c0 # Revert bug fix (will commit it again on 5.3 branch when 5.3.6 will be released) 2011-03-13 17:14:18 +00:00
Pierrick Charron ee832705d1 Fixed bug #54180 (parse_url() incorrectly parses path when ? in fragment) 2011-03-13 04:02:56 +00:00
Sebastian Bergmann 7e34334d84 Fix prototype of zend_fetch_debug_backtrace(). 2011-03-11 03:52:39 +00:00
Eyal Teutsch 94b3d60a4f fixed tests to match the new float precision of 53, as described in bug 47168 2011-03-10 13:25:19 +00:00
Scott MacVicar dd68a6239a Add a version number to timelib for other projects that use it.
This has the same version scheme as timezonedb.

<year><release-padded-to-two>
2011-03-09 20:06:52 +00:00
Jim Jagielski 39d814a205 Close [PHP-BUG] Req #54152...
Apache 2.3.12 (and later) will now work correctly with PHP's fcgi
impl with this patch.
2011-03-09 18:27:30 +00:00
Johannes Schlüter 5009770d65 - PHP 5.3.6RC3 2011-03-09 16:37:58 +00:00
Felipe Pena c7e7de3485 - Fixed bug #49608 (Using CachingIterator on DirectoryIterator instance segfaults) 2011-03-08 19:56:29 +00:00
Felipe Pena 2843030fa1 - Version++ 2011-03-08 18:24:04 +00:00
Felipe Pena e1a746faec - assign CVE 2011-03-08 14:07:25 +00:00
Felipe Pena 4653ef06f9 - Missing "reported by" info 2011-03-08 13:12:52 +00:00
Felipe Pena 06e475e537 - Fixed bug #54193 (Integer overflow in shmop_read()) 2011-03-08 13:11:14 +00:00
Derick Rethans c256372636 - Updated to version 2011.3 (2011c) 2011-03-07 14:55:28 +00:00
Felipe Pena 3986e515da - Reverted fix for bug #54167 (to be committed in soon) 2011-03-06 13:36:44 +00:00
Felipe Pena 2f3f629fd4 - Fixed bug #54167 (PDO_DBLIB returns null on SQLUNIQUE field)
# initial patch by: mjh at hodginsmedia dot com (5.3)
# trunk version by me
2011-03-05 23:07:45 +00:00
Johannes Schlüter bf5a3715f4 Back to -dev 2011-03-02 22:03:38 +00:00
Johannes Schlüter 0ec8364402 PHP 5.2.6RC2 2011-03-02 21:26:43 +00:00
Moriyoshi Koizumi a497999481 - Merge from trunk. 2011-03-02 18:35:10 +00:00
Felipe Pena 53b1c76efe - Fixed SplObjectStorage::offsetSet arginfo, reported in bug #54118 2011-03-01 00:13:23 +00:00
Ilia Alshanetsky 5d83ad8c44 Fixed bug #54089 (token_get_all() does not stop after __halt_compiler). 2011-02-28 15:18:27 +00:00
Gustavo André dos Santos Lopes f657ba978b - Fixed bug #54092 (Segmentation fault when using HTTP proxy with the FTP
wrapper).
#php_stream->wrapperdata should hold an array zval (like its zval* type
#indicates...), it's not a place where the wrapper can drop an arbitrary
#pointer. For that, .wrapperthis should be used.
#Also, since the ftp dir wrapper defines its own stream type, it's more
#appropriate to use .abstract to store the stream instance specific data.
2011-02-27 20:23:54 +00:00
Felipe Pena 1f991c8e42 - Possible fix for Bug #54108 (valgrind can not be found if located outside of system's default PATH) 2011-02-27 17:55:39 +00:00
Andrey Hristov a5348bed31 use ifdef all-around in the revert 2011-02-25 13:11:49 +00:00
Andrey Hristov 2eb5b0fe4e revert also the version_id 2011-02-25 12:52:46 +00:00
Andrey Hristov d4a1f5ac06 revert to previous behavior 2011-02-25 12:52:21 +00:00
Andrey Hristov 113cd9dc0f move from macros to functions, which can be overwritten, if needed 2011-02-25 12:25:36 +00:00
Nuno Lopes e79bf567e8 fix lcov build 2011-02-25 09:32:17 +00:00
Felipe Pena a82a9e8f74 - Fixed possible off-by-one overflow in ibase_gen_id() 2011-02-24 02:42:38 +00:00
Ilia Alshanetsky f15452af96 Fixed compiler warning 2011-02-22 15:48:25 +00:00
Johannes Schlüter 0448336c2c - Fix tests. temp dir might be something other than /tmp 2011-02-22 14:49:32 +00:00
Andrey Hristov 7a1f54ff42 fix invalid memory read. Thank you, valgrind 2011-02-21 16:24:37 +00:00
Pierre Joye 00b10c6aa3 - fix bug #54061, memory leak in openssl_decrypt 2011-02-21 12:50:26 +00:00
Pierre Joye 69ba87b183 - fix bug #54061, memory leak in openssl_decrypt 2011-02-21 12:47:38 +00:00
Pierre Joye 7deec592fd - fix test 025 2011-02-21 10:09:50 +00:00
Pierre Joye 5261861d77 - fix bug #54060, memory leak in openssl_encrypt 2011-02-21 10:07:31 +00:00
Scott MacVicar 3242016f28 Fix Bug #54058, invalid utf-8 doesn't set json_encode() in all cases 2011-02-21 08:09:02 +00:00
Gustavo André dos Santos Lopes 1b2d14c5e1 - Fixed bug #54055 (buffer overrun with high values for precision ini
setting).
#This fix (for g/G/k/H modes) is done at a different level than that for the
#modes e/E/f/F, at a bit higher level and therefore with less coverage. I
#chose this because it addresses the problem where it is -- the calling function
#that passes a buffer too small to php_gcvt.
2011-02-21 06:53:24 +00:00
Felipe Pena 54a7e5d7c3 - Fixed memory leak in DirectoryIterator::getExtension() and SplFileInfo::getExtension() 2011-02-20 16:33:53 +00:00
Felipe Pena 5b442c82f0 - Fixed bug #54040 (Logical && where & probably needed in spl_iterators) 2011-02-20 16:09:50 +00:00
Pierre Joye e78a5127c8 - bug #54002 entry 2011-02-18 17:22:27 +00:00
Felipe Pena 5bef6665f9 - Fixed bug #43512 (same parameter name can be used multiple times in method/function definition) 2011-02-17 23:24:50 +00:00
Johannes Schlüter 18127da570 Back to -dev 2011-02-16 20:41:24 +00:00
Johannes Schlüter 4dc641e3f5 Remove dash 2011-02-16 20:21:45 +00:00
Johannes Schlüter 02d03711ec PHP 5.3.6RC1 2011-02-16 20:20:33 +00:00
Johannes Schlüter 88448a263c - WS 2011-02-16 20:12:08 +00:00
Andrey Hristov 1bdc780d30 fixed a problem in mysqlnd. 0 was always as num_rows returned for
unbuffered sets (text protocol and PS).
2011-02-16 16:36:33 +00:00
Derick Rethans d41c8bd74a - Updated to version 2011.2 (2011b) 2011-02-15 16:26:42 +00:00
Pierre Joye a8806be989 - fix the fix (Dmitry) and ensure that it builds everywhere, can someone test on solaris&co pls? 2011-02-15 14:02:26 +00:00
Pierre Joye 64f45d8fe8 - unused var 2011-02-15 09:07:34 +00:00
Pierre Joye 5a3c4892af - fix build with ICU < 4.2, add ICU_VERSION for m4 checks 2011-02-15 08:28:22 +00:00
Arnaud Le Blanc c97f651b03 MFH fixed bug #52784 (Race condition when handling many
concurrent signals)
2011-02-14 17:06:31 +00:00
Hannes Magnusson 594aaf1b1b bfn for #54016 2011-02-14 15:34:04 +00:00
Hannes Magnusson 7c1a9e37ca Bug#54016 (finfo_file() Cannot determine filetype in archives) 2011-02-14 15:32:02 +00:00
Ilia Alshanetsky 011143d1bf Fixed variable re-declarations 2011-02-14 14:05:46 +00:00
Dmitry Stogov 9b4ada5c0e Fixed Bug #53958 (Closures can't 'use' shared variables by value and by reference) 2011-02-14 10:52:16 +00:00
Pierre Joye 8a485c7c91 -Bug #54002, fix windows build, use the relevant values in the warnings 2011-02-14 09:40:10 +00:00
Pierre Joye 0f842f667a - fix bug #54002, exif_read_data crashes on crafted tags 2011-02-14 09:08:44 +00:00
Dmitry Stogov ac057c610c Fixed Bug #53971 (isset() and empty() produce apparently spurious runtime error) 2011-02-14 08:46:53 +00:00
Pierre Joye f87e92860a - add CVE 2011-02-12 20:25:48 +00:00
Peter Cowburn 82dd0b9db0 Oopsie, fix typo in UPGRADING 2011-02-11 22:31:52 +00:00
Peter Cowburn 14c6cc5b7f MFH - Added SplFileInfo::getExtension() (FR #48767) 2011-02-11 22:07:22 +00:00
Felipe Pena ed2cdf31d3 - Fixed bug #53991 (SimpleXMLElement::__construct shows no params via ReflectionMethod) 2011-02-11 21:10:48 +00:00
Christopher Jones 588ec26d2f Show XFAIL reasons (Daniel Convissor) 2011-02-11 01:37:06 +00:00
Christopher Jones ff5dffdabb rm trailing whitespace 2011-02-11 01:34:03 +00:00
Daniel Convissor 0814b80006 Add DateInterval format() tests. 2011-02-11 01:33:45 +00:00
Daniel Convissor 7ea26a58bc Add extensive tests for DateTime::diff(), add() and sub(). 2011-02-10 22:57:41 +00:00
Scott MacVicar 9b567fea6a Fix Bug #53963, error code isn't always set in certain error cases. 2011-02-09 08:05:00 +00:00
Gustavo André dos Santos Lopes 5fad615ff5 - Changed php.ini files to match the hard-coded default for serialize_precision. 2011-02-09 00:25:44 +00:00
Gustavo André dos Santos Lopes 6dfee4f877 - Changed default serialize_precision from 100 to 17, as discussed in internals. 2011-02-08 21:40:51 +00:00
Gustavo André dos Santos Lopes 6fba6737d5 - Fixed bug #53959 (reflection data for fgetcsv out-of-date). 2011-02-08 16:29:34 +00:00
Antony Dovgal 2cfc526bcb fix compile warning 2011-02-08 08:40:39 +00:00
Pierre Joye 5b521b71a2 - Fixed bug #53893 (Wrong return value for ZipArchive::extractTo()) 2011-02-07 16:20:16 +00:00
Pierre Joye 44b9942ef3 - null deref fix 2011-02-07 10:25:34 +00:00
Pierre Joye 555e42fb5a - disable realloc warning about not checking its return value, 100% valid but way too many of them for now, reduce noises 2011-02-07 10:17:14 +00:00
Ilia Alshanetsky 145c4cbc56 Fixed parse_url() tests to account for port validation 2011-02-06 17:23:57 +00:00
Gustavo André dos Santos Lopes a888ee434b - Changed port validation introduced in commit #308035 to consider
negative ports and ports > 65535 as invalid.
  The tests that fail due to #308035 in the standard ext were not
  fixed. If the behavior in those tests turns out to be the
  desirable one, both this commit and #308035 ought to be reverted
  or at least adapted.
2011-02-05 22:37:00 +00:00
Ilia Alshanetsky 218448bfa0 Fixed bug #53924 (FILTER_VALIDATE_URL doesn't validate port number). 2011-02-04 21:41:15 +00:00
Adam Harvey 07fb5ca429 Change the way HAVE_GLOB is dealt with in ext/zip per IRC conversation with
Pierre.
2011-02-04 11:51:29 +00:00
Adam Harvey ee36a3d313 Update 5.3.6 NEWS to use a consistent bug ordering. I've gone with Pierre's
order on Internals for now (new features, then non-bug tracker fixes, then bugs
in descending order of bug number) -- feel free to bikeshed this on Internals
or IRC, but we need to pick _something_, because it's all over the place at
present. (And yes, I'm partly to blame for that too.)
2011-02-04 10:55:34 +00:00
Adam Harvey 4bf6559ed0 Fix bug #53923 (Zip functions assume HAVE_GLOB is defined). 2011-02-04 10:50:42 +00:00
Adam Harvey a7d4b80ca2 Fix bug #53914 (SPL assumes HAVE_GLOB is defined). Original patch by Chris
Jones; test updates by myself.
2011-02-04 10:49:49 +00:00
Adam Harvey 521e5462ab Fix bug #53913 (Streams functions assume HAVE_GLOB is defined). Patch by Chris
Jones.
2011-02-04 10:47:41 +00:00
Ilia Alshanetsky 34a9ff9e49 Fixed compiler warnings caused by var re-declaration 2011-02-03 13:33:10 +00:00
Gustavo André dos Santos Lopes e15dd93e7e - Simpler fix for bug #53915. 2011-02-03 12:45:30 +00:00
Gustavo André dos Santos Lopes fac1e87171 - Fixed bug #53915: ReflectionClass::getConstant(s) emits fatal error on
constants with self::.
- Reflown some NEWS entries to have lines no longer than 80 chars.
2011-02-03 12:38:25 +00:00
Gustavo André dos Santos Lopes 36d82e8a85 - Fixed bug #53903 (userspace stream stat callback does not separate the
elements of the returned array before converting them).
2011-02-01 22:55:17 +00:00
Andrey Hristov c9e94fe753 Fix more warnings about size_t 2011-02-01 19:30:22 +00:00
Gustavo André dos Santos Lopes da0e2a416f - Fixed several comparisons that always result in true of false
due to signedness of one of the operands, either by removing
  dead code or fixing it.
- Thrown some comments around in php_stream_get_record.
- See http://www.mail-archive.com/internals@lists.php.net/msg49525.html
2011-02-01 18:10:35 +00:00
Andrey Hristov 6157793026 fix warnings. These checks are not needed because
param_no is unsigned, it wasn't in the beginning.
2011-02-01 16:55:20 +00:00
Gustavo André dos Santos Lopes 5ca051bf38 - Fixed bug #49072 (feof never returns true for damaged file in zip). 2011-02-01 14:44:29 +00:00
Ilia Alshanetsky baf5d66614 Fixed bug #53898 (PHAR reports invalid error message, when the directory does not exist). 2011-02-01 14:01:00 +00:00
Pierre Joye 973ca132a4 - WS 2011-02-01 10:57:51 +00:00
Derick Rethans e08473da6c - Don't lower case setting names; some of them actually have upper case
characters.
2011-01-31 23:11:42 +00:00
Andrey Hristov 23437f011c Add two new enums constants from the server 2011-01-31 13:52:21 +00:00
Boris Lytochkin c9a37f7898 revert commit 307876 2011-01-31 13:00:27 +00:00
Kalle Sommer Nielsen c924dedb73 Fixed bug #53795 (Connect Error from MySqli (mysqlnd) when using SSL) 2011-01-31 12:47:28 +00:00
Boris Lytochkin ddee7b1d77 Fixed bug #51336 2011-01-31 11:34:12 +00:00
Boris Lytochkin bd810ef9bc Fixed bug #51336 2011-01-31 11:34:12 +00:00
Stanislav Malyshev 4a2b458835 fix bug 53885 (ZipArchive segfault with FL_UNCHANGED on empty archive) 2011-01-30 22:28:57 +00:00
Jérôme Loyet 6e57a7792e - remove cpystrn from FPM and use strlcpy instead. 2011-01-30 13:51:20 +00:00
Stanislav Malyshev 71f3d3793d Fix bug #52290 (setDate, setISODate, setTime works wrong when DateTime created from timestamp) 2011-01-30 10:18:12 +00:00
Stanislav Malyshev 7eca674e59 Fix bug #52808 (Segfault when specifying interval as two dates) 2011-01-30 08:54:53 +00:00
Jérôme Loyet 5bab8ea920 - Fixed bug #53434 (php-fpm slowlog now also logs the original request).
- Fixed the missing peace of code on revision 307842
2011-01-29 11:41:45 +00:00
Jérôme Loyet 977d79a724 - Fixed bug #53434 (php-fpm slowlog now also logs the original request). 2011-01-29 11:38:19 +00:00
Jérôme Loyet f386967b77 - Fixed bug #53777 (php-fpm log format now match php_error log format). 2011-01-29 10:13:24 +00:00
Felipe Pena b45066df97 - Fixed bug #53867 (Test failure)
patch by: rquadling at php.net
2011-01-28 20:41:54 +00:00
Ulf Wendel 0b474317fd Don't expect a certain server reply, it is undefined what happens. 2011-01-28 13:41:02 +00:00
Dmitry Stogov 6464b4ef9f Added ability to connect to HTTPS sites through proxy with basic authentication using stream_context/http/header/Proxy-Authorization 2011-01-28 10:33:47 +00:00
Dmitry Stogov e9c6830e16 Added ability to connect to HTTPS sites through proxy with basic authentication using stream_context/http/header/Proxy-Authorization 2011-01-28 10:33:47 +00:00
Adam Harvey 4ac34cc84b Fix NEWS sorting. 2011-01-28 04:30:12 +00:00
Adam Harvey d56de24ce7 Fixed bug #53854 (Missing constants for compression type). Patch by Richard
Quadling.
2011-01-28 04:19:40 +00:00
Adam Harvey 0393cf77fc Fix NEWS typo. 2011-01-28 04:17:08 +00:00
Adam Harvey 7ac71b4f7f Fix zip test. 2011-01-28 03:55:34 +00:00
Pierre Joye 9d568bb4f5 - Fix bug #53166, missing parameters in reflections/docs 2011-01-27 11:47:24 +00:00
Pierre Joye 56316d25d4 - #53837 2011-01-26 18:38:44 +00:00
Derick Rethans ecbbe16a8b - Let's keep this consistent in the whole file. 2011-01-25 15:08:19 +00:00
Ulf Wendel cad4c34510 Handle deprecation messages differently in tests to reduce test differences between 5.3 and trunk: suppress warnings by default, check warnings in a dedicated test 2011-01-25 14:01:00 +00:00
Ilia Alshanetsky 8e57ad193b removed un-used variable 2011-01-24 20:58:09 +00:00
Derick Rethans 3050d45a95 - Updated to version 2011.1 (2011a) 2011-01-24 16:45:56 +00:00
Stanislav Malyshev 779e88e323 Add imap_fetchmime 2011-01-24 03:52:00 +00:00
Stanislav Malyshev 97fffa7826 fix tests 2011-01-24 02:48:15 +00:00
Stanislav Malyshev e9d18e09d9 Fixed bug #5273 (Can't use new properties in class extended from DateInterval) 2011-01-24 02:31:48 +00:00
Stanislav Malyshev 4756d7c2c8 Fixed Bug #52063 (DateTime constructor's second argument doesn't have a null default value) 2011-01-24 01:15:41 +00:00
Ilia Alshanetsky 266084e844 Fixed compiler warning 2011-01-23 16:44:58 +00:00
Pierre Joye 783285e62a - local redeclaration 2011-01-23 10:02:06 +00:00
Pierre Joye 0bbc886842 - kill local redeclaration by using a less common name 2011-01-23 09:46:06 +00:00
Ilia Alshanetsky f4c468481a Fixed variable overloading 2011-01-20 19:32:36 +00:00
Pierre Joye 131b658982 - this function is only in trunk 2011-01-20 13:57:40 +00:00
Pierre Joye af9406de8e - don't continue if no valid option value 2011-01-20 07:38:00 +00:00
Pierre Joye 0dcf2de5ac - be sure that we got tzid by adding a default case 2011-01-20 07:05:34 +00:00
Pierre Joye 54e9aa9110 - fail when no known op are given 2011-01-20 06:58:04 +00:00
Pierre Joye d83d01a32e - unused var 2011-01-20 06:55:11 +00:00
Pierre Joye a0708af925 - fail when no known op are given 2011-01-20 06:54:28 +00:00
Pierre Joye ed5594f135 - kill local redeclaration 2011-01-20 06:49:17 +00:00
Pierre Joye 17c1ba460d - init err (and simplify) 2011-01-20 06:45:52 +00:00
Pierre Joye 7f3100976f - no need of assert here 2011-01-20 06:32:59 +00:00
Pierre Joye 28d95f8e63 - check if strdup succeeds 2011-01-20 06:23:35 +00:00
Pierre Joye 0e61859b1f - force static, can't be built yet shared anyway 2011-01-19 21:19:45 +00:00
Andrey Hristov f1cb5e6253 fix zts build 2011-01-19 18:09:17 +00:00
Pierre Joye 230177d73c - WS 2011-01-19 17:17:52 +00:00
Pierre Joye 44e2fa1025 - avoid local redeclaration 2011-01-19 17:06:50 +00:00
Pierre Joye c278fb01d0 - malloc may fail 2011-01-19 15:23:07 +00:00
Pierre Joye 434f3654da - path len check and fix buffer overrun 2011-01-19 14:21:46 +00:00
Ilia Alshanetsky e0c1332537 Win32 build fix 2011-01-19 13:09:05 +00:00
Dmitry Stogov 068a78014f Added checks for malformated FastCGI requests (Edgar Frank) 2011-01-19 08:38:25 +00:00
Gustavo André dos Santos Lopes fdbc42611c - Hopefully finally fixed the mess in rev 307562 and rev 307563. 2011-01-19 00:22:06 +00:00
Pierre Joye 0a35d91854 - clarity 2011-01-18 23:31:53 +00:00
Pierre Joye 15bcc34994 - #53577 and cleanup 2011-01-18 22:22:28 +00:00
Pierre Joye e3c920ecf3 - fix regression introduced in 5.3.4 in open_basedir on windows/novell with trailing fwd slash 2011-01-18 22:20:09 +00:00
Gustavo André dos Santos Lopes 8cdcdb1b1e - Fixed wrong function call in original commit to FR #39771. 2011-01-18 19:56:09 +00:00
Gustavo André dos Santos Lopes d6ac882106 - Implemented FR #39771 (Made DOMDocument::saveHTML accept an optional
DOMNode like DOMDocument::saveXML).
2011-01-18 19:45:38 +00:00
Ilia Alshanetsky 2c657ee27e Fixed variable re-declaration 2011-01-18 13:17:23 +00:00
Pierre Joye b3efabda4c - fix the fix (wrong test) 2011-01-18 10:29:26 +00:00
Jérôme Loyet 326f50b1ea - Enforce security in the fastcgi protocol parsing. 2011-01-17 22:22:39 +00:00
Pierre Joye c8219466e4 - path len sanity check 2011-01-17 14:29:16 +00:00
Pierre Joye e3785f253e - don't try to access if calloc fails (quick review of its usage: seems that the stats member is validated in other places, to be confirmed) 2011-01-17 14:07:40 +00:00
Pierre Joye 5c23366d6b - fix NULL derefencing 2011-01-17 14:01:01 +00:00
Ilia Alshanetsky df5f8c91ce Fixed compiler warning 2011-01-17 13:44:54 +00:00
Ulf Wendel ad8892f91d Fix tests: don't expect people to use a certain db/schema for testing 2011-01-17 13:06:44 +00:00
Kalle Sommer Nielsen d244ac46a1 MFT: Added 'db' and 'catalog' keys to the field fetching functions (FR #39847) 2011-01-17 11:20:54 +00:00
Kalle Sommer Nielsen ba4fbb05ae Remove this void comment (c/p mistake) 2011-01-17 09:59:07 +00:00
Kalle Sommer Nielsen 504b6f695e MFT: Implemented FR #47802 (Support for setting character sets in DSN strings) 2011-01-17 09:54:22 +00:00
Stanislav Malyshev ff4982784a Fix bug #47143, bug #51458 - provide more useful info in bad exception cases 2011-01-16 21:24:43 +00:00
Stanislav Malyshev 3a3f369678 Add options to debug_backtrace functions 2011-01-16 20:39:22 +00:00
Andrey Hristov 97fe653692 fix more parameter stuff, now it is complete 2011-01-14 15:37:49 +00:00
Andrey Hristov f144bb7153 pass data which is available 2011-01-14 15:10:09 +00:00
Johannes Schlüter 22b42afaee - Fix #53551 (PDOStatement execute segfaults for pdo_mysql driver) 2011-01-14 14:57:57 +00:00
Johannes Schlüter 6553823c8b - Fix 5.3.5 date in NEWS 2011-01-14 14:54:18 +00:00
Antony Dovgal 25a43268fd add missing dl() function to FPM SAPI 2011-01-14 13:53:59 +00:00
Pierre Joye 1ec3ec1326 -disable the analyzer for the snapshot in 5.3 too 2011-01-13 19:44:00 +00:00
Ilia Alshanetsky c33795b25b Fixed variable re-declaration 2011-01-13 12:56:28 +00:00
Stanislav Malyshev 9acdcd93a7 revert non-BC change in 5.3 2011-01-13 07:27:46 +00:00
Felipe Pena 64bbdd76c3 - Fixed bug #53717 (checking the number of arguments is wrong in zend_parse_method_parameters_ex())
patch by: klaus at triendl dot eu
2011-01-12 22:17:10 +00:00
Derick Rethans 58810bd055 - Fixed bug #53729 (DatePeriod fails to initialize recurrences on 64bit
big-endian systems). (Patch by rein@basefarm.no)
2011-01-12 19:50:09 +00:00
Ilia Alshanetsky c83278ef22 Fixed variable re-declaration 2011-01-12 13:21:27 +00:00
Felipe Pena 92d82619d7 - Fixed compiler warnings 2011-01-12 00:29:59 +00:00
Felipe Pena b85380f7d0 - Fixed bug #53568 (swapped memset arguments in struct initialization) [backported] 2011-01-11 20:55:06 +00:00
Ilia Alshanetsky 3abf598b53 Added missing success check around chmod() for windows during temp file creation 2011-01-11 12:57:19 +00:00
Ilia Alshanetsky 484a35373e Fixed bug #53630 (Fixed parameter handling inside readline() function). 2011-01-10 18:19:02 +00:00
Andrey Hristov 21fba3513a new flag 2011-01-10 15:14:56 +00:00
Pierre Joye a209aad993 - remove local redeclaration 2011-01-10 08:28:47 +00:00
Pierre Joye 639d3fbcfb - possible NULL deref 2011-01-10 08:07:38 +00:00
Pierre Joye 10a1f90ab0 - local redeclaration 2011-01-10 01:04:36 +00:00
Pierre Joye ab4ce5516d - some more possible NULL deref 2011-01-10 00:43:08 +00:00
Pierre Joye 8640b61c68 - fix possible NULL deref 2011-01-10 00:30:07 +00:00
Pierre Joye eddd9b7510 - new sec flags should not be on by default for 5.3, yet 2011-01-09 21:41:54 +00:00
Pierre Joye 0d3c6914ad - add configure option to enable the builtin static analyzer (will be enabled for snaps' log) 2011-01-09 21:38:46 +00:00
Pierre Joye 92894b3a81 - debug code-- 2011-01-09 15:19:03 +00:00
Pierre Joye fb6778c241 - let try to fix pecl header install so we can do the same than unix, install them in ext/<extname> instead of pecl<extname> 2011-01-09 14:01:21 +00:00
Rui Hirokawa 279a65eb09 MFH: added an option to http_build_query for RFC-3986
based url-encoding.
2011-01-08 02:34:33 +00:00
Pierre Joye 55077a81f5 - define the php*.lib/dll names 2011-01-07 15:51:36 +00:00
Andrey Hristov eaaef0d870 Proper fix for
Bug #53503      mysqli::query returns false after successful LOAD DATA query
which fixes als #56349, same behavior but in ext/mysql. Both due to a bug
in mysqlnd. Never was a problem with libmysql.
Also fixed the 53503's test case as it always reported PASS, even when there
should have been a failure.
2011-01-07 14:22:30 +00:00
Adam Harvey 39210df0ed Implement request #53684 (Deprecated HTML in sample php.ini). 2011-01-07 03:43:20 +00:00
Felipe Pena 29a82ceb56 - Fixed memory leak on SQLite3Result and SQLite3Stmt when assigning to a reference. 2011-01-07 01:11:16 +00:00
Ilia Alshanetsky 92f7256ef1 back to dev 2011-01-06 23:02:27 +00:00
Ilia Alshanetsky 30e646497e re-tag 2011-01-06 23:01:19 +00:00
Rasmus Lerdorf 9107b209ea Fix bug #53682 2011-01-06 22:48:20 +00:00
Rasmus Lerdorf f3643fde6b Fix bug #53682 2011-01-06 22:48:20 +00:00
Pierre Joye 6e6ad94882 - fix vc6 random behavior for Fix bug #53632 with x87 fpu 2011-01-06 17:19:16 +00:00
Pierre Joye 84ff832f46 - fix vc6 random behavior for Fix bug #53632 with x87 fpu 2011-01-06 17:08:46 +00:00
Pierre Joye c9cf4337ac - add CVE (too late for the release tho') 2011-01-06 12:51:35 +00:00
Pierre Joye e14c8f39f1 - add CVE (too late for the release tho') 2011-01-06 12:51:35 +00:00
Adam Harvey e4fe297006 Remove empty files left when r306542 was reverted in r306552. 2011-01-06 02:24:49 +00:00
Scott MacVicar e1c1cc0ed5 Implemented FR #53466 (SQLite3Result::columnType() should return false after all of the rows have been fetched). 2011-01-06 00:08:59 +00:00
Etienne Kneuss 47fc5e06f0 Implement SplObjectStorage::removeAllExcept (Patch by Matthey Turland) 2011-01-05 15:01:18 +00:00
Ilia Alshanetsky 921abf906a Back to dev 2011-01-05 14:50:13 +00:00
Ilia Alshanetsky 17f4cf457e 5.2.17 2011-01-05 14:48:13 +00:00
Ilia Alshanetsky e41b42a6f6 MFH: Optimize unix timestamp to date-string conversion for very high year values 2011-01-05 14:47:27 +00:00
Ilia Alshanetsky 6f66356d56 Added test 2011-01-05 14:41:50 +00:00
Johannes Schlüter df344ea7d6 - This will be PHP 5.3.6 2011-01-05 13:39:30 +00:00
Ilia Alshanetsky 02bdb521e2 Optimize unix timestamp to date-string conversion for very high year values 2011-01-05 04:13:23 +00:00
Pierre Joye 09d73b67e2 - revert rev. 307044 2011-01-05 00:59:31 +00:00
Scott MacVicar 9e080606bf Add test for bug #53632 2011-01-04 23:36:56 +00:00
Scott MacVicar 0017586f5d Add test for bug #53632 2011-01-04 23:36:56 +00:00
Scott MacVicar bbf128759d Fix bug #53632 with x87 fpu 2011-01-04 22:36:23 +00:00
Scott MacVicar 66753ff6c7 Fix bug #53632 with x87 fpu 2011-01-04 22:36:23 +00:00
Stanislav Malyshev f01a0cba6b fix unit tests for intl in accordance with new ICU releases 2011-01-04 03:24:38 +00:00
Kalle Sommer Nielsen ec040e9657 Fixed linking of extensions that would use a static .lib file (libname_a.lib rather than libname.lib)
# This fixes `configure --with-mcrypt=shared' to properly find and 
# link against libmcrypt.lib rather than libmcrypt_a.lib
2011-01-03 23:08:47 +00:00
Hannes Magnusson d1eb2cd737 My name is Hannes
# And today is my birthday \o/
2011-01-03 23:08:08 +00:00
Scott MacVicar 27177c9868 Change DEBUG() to TIMELIB_DEBUG(), there are potential conflicts with other libraries that also use this. 2011-01-03 19:24:04 +00:00
Scott MacVicar 9e0c423bc4 Fix error with initialisation flag being set too early. If encryption is enabled and fails to decrypt a crash can occur.
Also fix a WS error.
2011-01-03 19:15:36 +00:00
Ilia Alshanetsky 3f5ad237e1 Fixed Bug #53629 (memory leak inside highlight_string()). 2011-01-03 14:39:48 +00:00
Stanislav Malyshev 7d3a0e15f5 Imlement clone for formatters that support it
# also some test fixes, more to follow
2011-01-03 03:58:57 +00:00
Pierre Joye b059dfa1e7 - prevent php(version)lib.(dll|lib) to be overriden 2011-01-03 01:22:07 +00:00
Pierre Joye b4ae112dae - we need the core config.w32 only once 2011-01-03 01:08:21 +00:00
Pierre Joye bfb9b6d06e - use the ext deps list for phpize's ADD_EXTENSION_DEP function 2011-01-02 18:29:56 +00:00
Pierre Joye ec3003ade1 - typo, and remove undesired committed part 2011-01-02 18:14:50 +00:00
Pierre Joye 5bd1fd410f - typo 2011-01-02 18:13:20 +00:00
Pierre Joye f62ca3e4bf - generate a list of ext and how they are built, should be updated by phpize'd make (un)install as well, later 2011-01-02 18:03:00 +00:00
Pierre Joye e13c26a141 - fix ADD_EXTENSION_DEP detection 2011-01-01 20:00:21 +00:00
Felipe Pena 914152d6d8 - Year++ 2011-01-01 02:51:27 +00:00
Felipe Pena 12d2104277 - Year++ 2011-01-01 02:48:19 +00:00
Felipe Pena 927bf09c29 - Year++ 2011-01-01 02:19:59 +00:00
Scott MacVicar 3870e58759 Add SQLite3_Stmt::readOnly for checking if a statement is read only 2010-12-31 16:37:12 +00:00
Gustavo André dos Santos Lopes 5eb264677c - Do not violate php_stream abstraction and use php_stream_tell instead of accessing the field .position.
#Should have no behavior changes.
2010-12-30 19:00:19 +00:00
Hannes Magnusson ac216eb88c New test for stream_meta_data($zipstream) 2010-12-30 17:41:36 +00:00
Eyal Teutsch 8d9307ace4 removed extra ?> from the FILE section 2010-12-30 14:36:01 +00:00
Pierre Joye 19ba599166 - WS 2010-12-28 17:20:10 +00:00
Antony Dovgal c4a5af24e0 fix segfault when node is NULL 2010-12-27 21:47:52 +00:00
Rob Richards 6fab69a17d typo 2010-12-27 19:00:13 +00:00
Rob Richards 2479cd6ec9 fix crash with entity declarations 2010-12-27 18:57:49 +00:00
Gustavo André dos Santos Lopes 9ec9210fbc - Fixed bug #53612 (Segmentation fault when using several cloned intl
objects).
2010-12-27 01:10:08 +00:00
Eyal Teutsch cc1759598f SplFileObject_fgetcsv files: SplFileObject__fgetcsv.csv used instead of SplFileObject::fgetcsv.csv, as to make this naming convetion windows legitimate 2010-12-26 13:29:29 +00:00
Eyal Teutsch 43dbfebb58 fixed 6 tests to pass on non-linux os, by removing the generic linux error string from the exp result. on socket_strerror on the other hand, added to the SKIPIF a condition to run on linux only, as the test checks specifically various error strings 2010-12-26 13:10:23 +00:00
Eyal Teutsch 8e47365a97 fixed 6 tests to pass on non-linux os, by removing the generic linux error string from the exp result. on socket_strerror on the other hand, added to the SKIPIF a condition to run on linux only, as the test checks specifically various error strings 2010-12-26 13:10:23 +00:00
Eyal Teutsch 5b5e89bb36 using PWD which is supported by run-tests.php, rather than $cwd 2010-12-26 09:47:50 +00:00
Gustavo André dos Santos Lopes e7d5c4a8fd - Fixed bug #53603 (ZipArchive should quiet stat errors).
#It is unclear if url_stat handlers should emit a warning in case
#PHP_STREAM_URL_STAT_QUIET is not specified and the resource does
#not exist. Most url_stat handlers never emit messages; the plain
#one does only so in the extraordinary event of an open_basedir
#restriction.
#But in case, php_stat uses PHP_STREAM_URL_STAT_QUIET for the
#FS_EXISTS, which suggests that mere checks on file existence are
#supposed to use this flag (arguably).
#The downside is that important diagnostic messages might be
#omitted.
2010-12-24 22:38:36 +00:00
Gustavo André dos Santos Lopes ff32c32fba - Fix PCRE build on Windows; closes bug #53606. 2010-12-24 19:01:25 +00:00
Ilia Alshanetsky 34c6447e9e Upgraded\ bundled\ PCRE\ to\ version\ 8.11. 2010-12-24 15:03:29 +00:00
Gustavo André dos Santos Lopes cd34d68cdd - Fixed bug #53592 (stream_socket_enable_crypto() busy-waits in client mode).
- Fixed stream_socket_enable_crypto() not honoring the socket timeout in
  server mode.
2010-12-23 01:44:54 +00:00
Ilia Alshanetsky a68864969e Fixed bug #52209 (INPUT_ENV returns NULL for set variables (CLI)). 2010-12-22 16:18:59 +00:00
Ilia Alshanetsky 880d61e9c6 removed unused var 2010-12-21 22:05:15 +00:00
Gustavo André dos Santos Lopes 8f44d2ca36 - Revert of revision 306542, turns out the semantics of compare() are
different in SplMinHeap and SplMaxHeap.
2010-12-21 19:52:17 +00:00
Gustavo André dos Santos Lopes e427e312d4 - Fixed bug #53588 (SplMinHeap bad sorting with custom compare
function).
2010-12-21 17:29:14 +00:00
Ilia Alshanetsky 399182de3f Fixed compiler warnings 2010-12-20 23:00:11 +00:00
Hannes Magnusson 3ce18aa852 Fixed bug#53579 (stream_get_contents() segfaults on ziparchive streams)
Also added the filename being access to the stream_get_meta_data() array
2010-12-20 11:00:27 +00:00
Gustavo André dos Santos Lopes f13d9c0e03 - Fixed bug #53574 (Integer overflow in SdnToJulian, sometimes leading to
segfault).
2010-12-19 23:47:00 +00:00
Stanislav Malyshev 25c5841160 Fix bad args to grapheme_extract(), reported by Maksymilian Arciemowicz 2010-12-19 05:07:31 +00:00
Felipe Pena 671ac356e6 - Cosmetics again 2010-12-18 18:06:34 +00:00
Felipe Pena b0fa53adcc - Cosmetics 2010-12-18 18:04:19 +00:00
Pierre Joye 0d7487da46 - fix test 2010-12-18 13:34:22 +00:00
Pierre Joye 1be3dc76af - NEWS update and test related to the NULL poisoning recent fixes 2010-12-18 12:51:23 +00:00
Pierre Joye fd161b8ea1 - fix possible crash introduced by the null poisoning patch 2010-12-18 12:08:50 +00:00
Pierre Joye 349082267f - fix leak introduced by the null poisoning patch 2010-12-18 12:06:58 +00:00
Pierre Joye 96b6130930 - fix leak introduced by the null poisoning patch 2010-12-18 12:05:55 +00:00
Jérôme Loyet e77d3268d7 - Fixed bug #53527 (php-fpm --test doesn't set a valuable return value). 2010-12-18 11:22:11 +00:00
Gustavo André dos Santos Lopes 2070f153f9 - Fixed bug #53568 (swapped memset arguments in struct initialization). 2010-12-17 23:05:26 +00:00
Jani Taskinen 9cb1b1e948 - Update credits 2010-12-17 10:49:02 +00:00
Jani Taskinen 4a8438b3e1 - Revert 2010-12-17 10:43:52 +00:00
Hannes Magnusson 6f94e2dd2a Throw some credit around 2010-12-17 10:16:50 +00:00
Andrey Hristov 17b8336047 fix a small bug about affected_rows in the text protocol 2010-12-16 12:56:19 +00:00
Andrey Hristov 4e08abeead Fix sprintf modifier to be right, wrong data reported in the log 2010-12-16 12:18:54 +00:00
Derick Rethans 1cf5713dd3 - Fixed a bug in DateTime->modify() where absolute date/time statements had no
effect.
2010-12-15 21:45:25 +00:00
Andrey Hristov f35b89c7c4 count preciser in case of error 2010-12-15 14:14:58 +00:00
Ilia Alshanetsky e3e7c70da5 back to dev 2010-12-15 13:47:14 +00:00
Ilia Alshanetsky 643629a7b7 5.2.16 2010-12-15 13:37:15 +00:00
Pierre Joye c4f631b275 - we don't bundled fbclient, system version is used 2010-12-15 02:01:21 +00:00
Pierre Joye c05b1228db - typo 2010-12-15 00:39:07 +00:00
Pierre Joye f56ab54feb - devel must be done before dist 2010-12-14 23:21:01 +00:00
Pierre Joye f7b5a73383 - fix build with out of src obj dir 2010-12-14 23:09:31 +00:00
Pierre Joye e2ea0f5d98 - we just reached the tiny cmd lenght limit, let reduce the size of dirs 2010-12-14 18:49:15 +00:00
Ilia Alshanetsky 07607df542 Fixed compiler warning 2010-12-14 17:01:54 +00:00
Ilia Alshanetsky c946ff2f51 Fixed bug #53541 (format string bug in ext/phar). 2010-12-14 17:00:36 +00:00
Pierre Joye 64d49da654 - fix header install 2010-12-14 13:10:25 +00:00
Eyal Teutsch 02a84b309f added value for PHP_MAXPATHLEN for os which is not windows/linux 2010-12-14 13:07:51 +00:00
Pierre Joye 630d411c5c - that's not in 5.3 2010-12-14 12:12:26 +00:00
Pierre Joye 101bb97773 - that's not in 5.3 2010-12-14 12:11:39 +00:00
Pierre Joye d14417f8ea - add nmake install-sdk (create the devel package) and related sub rules 2010-12-14 02:55:26 +00:00
Pierre Joye acd87493ec -add a link to snmp install doc about the MIBS data, remove static or removed exts 2010-12-13 21:07:13 +00:00
Pierre Joye 12a3e339f4 - MFH trailing slashes detection 2010-12-13 20:57:06 +00:00
Pierre Joye 0beae1e558 - that should not have been applied 2010-12-13 18:45:53 +00:00
Pierre Joye aea6771d19 - add phpize support for windows, need a nmake install for now (nmake devel-pkg version is coming), works exactly the same as on unix, or should :) 2010-12-13 18:43:10 +00:00
Pierre Joye 4ee6b4dfbb -ws 2010-12-13 18:07:08 +00:00
Ilia Alshanetsky 8afdb7cd49 Fixed bug #48607 (fwrite() doesn't check reply from ftp server before exiting) 2010-12-13 16:53:26 +00:00
Kalle Sommer Nielsen 5a6288297d Revert fix for bug #53493 to be compliant with the XML specification 2010-12-13 14:29:42 +00:00
Kalle Sommer Nielsen a990ce69b1 Fixed bug #53493 (xmlrpc_decode should not be sensitive to leading whitespace) 2010-12-13 09:52:05 +00:00
Adam Harvey 75a9b76a3e MFH: fixed bug #53377 (imap_mime_header_decode() doesn't ignore \t during long
MIME header unfolding).
2010-12-13 08:38:01 +00:00
Adam Harvey e87fbccfd8 MFH: implement FR #53447 (Cannot disable SessionTicket extension for servers
that do not support it). Includes Tony's subsequent commit to fix a segfault.
2010-12-13 08:29:44 +00:00
Gustavo André dos Santos Lopes 75de05cead - Fixed bug #53530 (php_crypt tests gcc version incorrectly due to
typo) (vapier at gmail dot com)
2010-12-12 22:27:02 +00:00
Felipe Pena 2fbc49793e - Cosmetics 2010-12-12 21:11:54 +00:00
Ilia Alshanetsky fbe4532b48 Fixed bug #47435 (FILTER_FLAG_NO_RES_RANGE don't work with ipv6). 2010-12-12 19:54:21 +00:00
Ilia Alshanetsky 82287511ad Fixed bug 48484 (array_product() always returns 0 for an empty array). 2010-12-12 19:27:04 +00:00
Ilia Alshanetsky c1e9f628a0 Fixed bug #53150 (FILTER_FLAG_NO_RES_RANGE is missing some IP ranges) 2010-12-12 18:36:21 +00:00
Kalle Sommer Nielsen 071513562d Fixed bug #53425 (mysqli_real_connect() ignores client flags when built to call libmysql)
# Based on patch by tre-php-net at crushedhat dot com
2010-12-12 18:00:25 +00:00
Kalle Sommer Nielsen b529d43c0d Fixed bug #53503 (mysqli::query returns false after successful LOAD DATA query) 2010-12-12 16:17:50 +00:00
Derick Rethans 79aaaf4179 - Fixed a few test cases
- Updated timezone mapping table; to remove unparsable timezones.
2010-12-12 16:06:41 +00:00
Eyal Teutsch 6a911cd901 moved the second unlink() to the CLEAN section in the SplFileObject_fwrite_variation* tests 2010-12-12 07:24:51 +00:00
Eyal Teutsch 95c4e449d1 moved the second unlink() to the CLEAN section in the SplFileObject_fwrite_variation* tests 2010-12-12 07:24:51 +00:00
Martin Jansen f6cedd2ad5 Merge from trunk:
* Fixed parameter check introduced with the recent fix for bug #53492.

* Improved the error message along the way.
2010-12-11 20:10:39 +00:00
Martin Jansen cedbc50f9d Merge from trunk:
* Fixed parameter check introduced with the recent fix for bug #53492.

* Improved the error message along the way.
2010-12-11 20:10:15 +00:00
Ilia Alshanetsky 9e48381b28 Upgraded bundled Sqlite3 to version 3.7.4. 2010-12-11 14:57:34 +00:00
Gustavo André dos Santos Lopes ff77814d03 - Tests and small parsing correction for php://fd wrapper 2010-12-11 02:08:02 +00:00
Gustavo André dos Santos Lopes 3c8c56fb98 - Implemented request #26158/bug #53465 (open arbitrary file descriptor with fopen) 2010-12-11 01:52:13 +00:00
Felipe Pena 9864040e35 - Fixed bug #53515 (property_exists incorrect on ArrayObject null and 0 values) 2010-12-10 23:58:33 +00:00
George Wang cccba0fa4d fixed keyLen validation point 2010-12-10 22:51:08 +00:00
Felipe Pena 67db416711 - Fixed bug #53517 (segfault in pgsql_stmt_execute() when postgres is down)
patch by: gyp at balabit dot hu
2010-12-10 17:50:26 +00:00
Felipe Pena 83a7831760 - Fixed bug #53517 (segfault in pgsql_stmt_execute() when postgres is down)
patch by: gyp at balabit dot hu
2010-12-10 17:50:26 +00:00
Ilia Alshanetsky 726db3f295 Fixed bug #53516 (Regression in open_basedir handling). 2010-12-10 12:50:25 +00:00
Felipe Pena 215917d711 - Fixed ZTS build 2010-12-10 11:33:35 +00:00
Felipe Pena df5f526cbd - Cosmetics 2010-12-10 11:26:14 +00:00
Scott MacVicar d9187596c9 MFH: Fix indirect reference of $this 2010-12-10 06:34:03 +00:00
Christopher Jones 35c47c58df Update for PECL upload that is synced with PHP 5.3.4 2010-12-10 04:36:29 +00:00
Felipe Pena 8b1d477052 - Added test for bug #53512 2010-12-10 00:59:50 +00:00
Felipe Pena 7d2b089860 - Fixed bug #53512 (NumberFormatter::setSymbol crash on bogus $attr values) 2010-12-10 00:47:51 +00:00
Felipe Pena 573475a848 - Fixed bug #39199 (Cannot load Lob data with more than 4000 bytes on ORACLE 10)
patch by: spatar at mail dot nnov dot ru
2010-12-10 00:33:48 +00:00
Ilia Alshanetsky 20d7d216a9 back to dev 2010-12-09 19:36:06 +00:00
Ilia Alshanetsky 953b01e2f5 Re-branch 5.2.15 2010-12-09 19:35:13 +00:00
Pierre Joye ec20844001 - missing merge fix for #53352 2010-12-09 17:04:29 +00:00
Eyal Teutsch 7eb70247a3 test bug42364 included a superfluous ?> 2010-12-09 12:39:21 +00:00
Eyal Teutsch 30d290a31e pdo_025 expected a certain extra character that is not part of windows output. changed to optional char: %a -> %A 2010-12-09 12:04:18 +00:00
Adam Harvey 5ab2577d63 Fix the next version number in NEWS. 2010-12-09 02:47:47 +00:00
Johannes Schlüter 78a2762e88 Back to -dev 2010-12-08 22:48:36 +00:00
Ilia Alshanetsky d08a99eaca Back to dev, one final time ;-) 2010-12-08 22:33:02 +00:00
Ilia Alshanetsky d85168ae7d 5.2.15 2010-12-08 22:30:48 +00:00
Ilia Alshanetsky 9501a3b81e Fixed bug #53492 (fix crash if anti-aliasing steps are invalid). 2010-12-08 22:30:12 +00:00
Andrey Hristov 85b434465c enable again after 5.3.4 has already been tagged 2010-12-08 21:55:29 +00:00
Johannes Schlüter 3d76289c59 PHP 5.3.4 2010-12-08 21:38:51 +00:00
Eyal Teutsch 140a3a80df curl_setopt() arg: using DIRECTORY_SEPARATOR rather then "/" to make windows tests pass too 2010-12-08 14:16:17 +00:00
Eyal Teutsch eabb9be2ac curl_setopt() arg: using DIRECTORY_SEPARATOR rather then "/" to make windows tests pass too 2010-12-08 14:16:17 +00:00
Pierre Joye f9207e3187 - new warning in imagepstext 2010-12-08 09:38:47 +00:00
Pierre Joye a0eb5848b5 - Fix #53492, fix crash if aa steps are invalid 2010-12-08 08:45:56 +00:00
Pierre Joye cba0322c81 - not anymore in core or builtin 2010-12-07 23:53:51 +00:00
Andrey Hristov fc6e70d8e4 switch this off for the release 2010-12-07 11:13:55 +00:00
Pierre Joye 1504071cb1 - add CVE 2010-12-07 01:22:23 +00:00
Andrey Hristov 5efdfee8c6 Skip additional result sets sent by MySQL 5.5 servers
which break the Protocol API 
(see http://bugs.mysql.com/bug.php?id=58700)
2010-12-06 13:59:14 +00:00
Andrey Hristov 03fd10c479 don't crash if the API is used incorrectly 2010-12-06 13:50:51 +00:00
Felipe Pena 863ade64d8 - Fixed test (Eyal Teutsch) 2010-12-04 15:57:08 +00:00
Felipe Pena 75eeee8f24 - Fixed test (Eyal Teutsch) 2010-12-04 15:57:08 +00:00
Felipe Pena 0aa36e2d97 - Fixed test 2010-12-04 15:48:45 +00:00
Felipe Pena 0ef0372be2 - Fixed tests 2010-12-04 12:40:00 +00:00
Felipe Pena 0f53b4e515 - Fixed tests 2010-12-04 12:28:23 +00:00
Felipe Pena 76ba9b44b4 - Fixed test 2010-12-03 23:25:27 +00:00
Felipe Pena 3dc4f14c6b - Fixed test 2010-12-03 22:58:21 +00:00
Felipe Pena 3e0b63312e - Order 2010-12-03 21:09:47 +00:00
Felipe Pena 689d1d9e4b - Fixed bug #53463 (sqlite3 columnName() segfaults on bad column_number) 2010-12-03 21:05:44 +00:00
Jani Taskinen 686c7fec26 - CS + reorder to match trunk better, removed trailing dots from error messages 2010-12-03 16:04:24 +00:00
Jani Taskinen 85ef85a0b4 - Fix test 2010-12-03 16:02:47 +00:00
Jani Taskinen f561727ee0 - Add test for the ob_start($foo); leak/crash bug 2010-12-03 15:30:21 +00:00
Jani Taskinen c8e40e49d7 - Fix leaks and crash bug when passing the callback as variable 2010-12-03 13:20:13 +00:00
Ilia Alshanetsky 8b7fe19996 Back to dev 2010-12-03 00:29:16 +00:00
Ilia Alshanetsky 0ad7e9b70c 5.2.15RC2 2010-12-03 00:13:07 +00:00
Pierre Joye 63d87a0adb - Fix #29085, bad default include_path on Windows 2010-12-02 23:23:14 +00:00
Felipe Pena 06c183b761 - Cosmetics 2010-12-02 23:01:04 +00:00
Pierre Joye aef55bc5f3 - some missing entries 2010-12-02 22:56:57 +00:00
Andrey Hristov 9f045cd40e fix test after newly introduced constant 2010-12-02 19:11:41 +00:00
Johannes Schlüter 094bcdff8b - Back to -dev 2010-12-02 14:34:32 +00:00
Andrey Hristov 334e62a77d and export the new constant 2010-12-02 14:21:23 +00:00
Andrey Hristov 3da811a124 new server constant as of 5.5 2010-12-02 13:59:56 +00:00
Johannes Schlüter f915973c1e - PHP 5.3.4RC2 2010-12-02 13:59:38 +00:00
Pierre Joye cd62a70863 - not TS and useless on server, also not required anymore with the supported windows versions 2010-12-02 11:37:43 +00:00
Adam Harvey 92fa280b96 Minimal fix for bug #53440 (INSTALL file refers to php.ini-dist, should refer
to php.ini-production). There are a lot more issues with the INSTALL file,
though, which I'll file another bug for.
2010-12-02 03:26:37 +00:00
Christopher Jones 24c87d760d Remove OCI8 devel status in preparation for PHP 5.3.4 release 2010-12-01 23:30:28 +00:00
Christopher Jones 2024790fd2 Add Berkeley DB 5.1 support to the DBA extension 2010-12-01 19:20:16 +00:00
Ilia Alshanetsky d506ce8d94 Fixed bug #51250 (iconv_mime_decode() does not ignore malformed Q-encoded words) 2010-12-01 14:03:36 +00:00
Andrey Hristov 4adcc3c7bc add a comment 2010-12-01 10:16:51 +00:00
Jérôme Loyet 4c76006fe3 - Fixed bug #53412 (segfault when using -y) 2010-11-30 19:37:10 +00:00
Ilia Alshanetsky 964eff5276 Missing bits from last commit 2010-11-30 16:11:27 +00:00
Ilia Alshanetsky 085e8b781c Fixed bug #52202 (CURLOPT_PRIVATE gets corrupted). 2010-11-30 13:40:02 +00:00
Pierre Joye 61924ece78 Fixed crash in zip extract method (possible CWE-170) 2010-11-30 11:04:06 +00:00
Pierre Joye 761c62267f Fixed crash in zip extract method (possible CWE-170) 2010-11-30 11:04:06 +00:00
Ilia Alshanetsky f719d3707d Fixed bug #52656 (DOMCdataSection does not work with splitText). 2010-11-29 14:48:53 +00:00
Ilia Alshanetsky dd92188d76 Fixed bug #52828 (curl_setopt does not accept persistent streams). 2010-11-29 14:40:59 +00:00
Adam Harvey 7111501381 Update INI files per doc bug #53420 (mail.log is poorly documented). 2010-11-29 03:44:56 +00:00
Derick Rethans e16265aa0e - Reorganize slightly as there was already a date and an intl extension
header/section.
2010-11-28 16:33:07 +00:00
Derick Rethans 688b347d84 - Fixed two more test cases. 2010-11-28 16:27:49 +00:00
Derick Rethans 8cf9513bb9 - Fixed a few test cases. 2010-11-28 13:41:06 +00:00
Ilia Alshanetsky 3239a25e53 Missing bit from previous commit 2010-11-26 21:00:03 +00:00
Ilia Alshanetsky f28cff1925 Fixed bug #52327 (base64_decode() improper handling of leading padding in strict mode) 2010-11-26 20:59:13 +00:00
Pierre Joye c70397b3a9 - Fixed #53409, sleep() return NULL on Windows 2010-11-26 18:25:13 +00:00
Jérôme Loyet f13f4bc872 - Fixed bug #52501 (libevent made FPM crashed when forking -- libevent has been removed) 2010-11-26 13:46:15 +00:00
Johannes Schlüter 222e0bc0f6 - Remove outdated, unmaintained, misleading ChangeLog files 2010-11-26 13:21:25 +00:00
Ilia Alshanetsky 523da85c11 Fixed bug #53304 (quot_print_decode does not handle lower-case hex digits) 2010-11-25 21:38:06 +00:00
Gustavo André dos Santos Lopes 05abc63d14 - Fixed bug #53403 (use of unitialized values). Fixes the fix for bug #46587.
- Added test for bug #46587.
2010-11-25 16:44:20 +00:00
Felipe Pena dbeef88661 - Ordering 2010-11-25 00:05:03 +00:00
Pierre Joye 2ba369cdfa - fixed #53352 2010-11-23 22:14:54 +00:00
Felipe Pena a9a2eb4a14 - Fixed compile warnings 2010-11-23 21:49:18 +00:00
Felipe Pena b010e9fd50 - Fixed test 2010-11-23 21:45:22 +00:00
Felipe Pena ac15afe9c1 - Fixed test 2010-11-23 21:45:22 +00:00
Ilia Alshanetsky 4f3ab10786 Fixed bug #46587 (mt_rand() does not check that max is greater than min). 2010-11-23 13:09:15 +00:00
Christopher Jones 8ed386997f Explicitly name the added constant 2010-11-22 22:18:30 +00:00
Ilia Alshanetsky a40667d756 Fixed bug #51003 (unaligned memory access in ext/hash/hash_tiger.c). 2010-11-22 13:12:28 +00:00
Ilia Alshanetsky 534395e4ae Fixed bug #51003 (unaligned memory access in ext/hash/hash_tiger.c) 2010-11-22 13:10:13 +00:00
Gustavo André dos Santos Lopes 2a545be57f - Fix tests for \0 patch in PHP 5.3.
- Fix constants_error_004.phpt (closes bug #51901)
2010-11-22 05:10:14 +00:00
Felipe Pena 167e51f36c - Fixed ZTS build 2010-11-21 17:41:33 +00:00
Felipe Pena abb7038cbf - New NEWS structure (to be improved) 2010-11-21 14:07:22 +00:00
Johannes Schlüter ac4f3422bc - Improve test 2010-11-21 12:28:10 +00:00
Johannes Schlüter 9ea04e1e46 - Fix #52854 (ReflectionClass::newInstanceArgs does not work for classes without constructors 2010-11-21 12:24:09 +00:00
Felipe Pena 1ac484d1a1 - Fixed bug #53366 (Reflection doesnt get dynamic property value from getProperty()) 2010-11-20 22:53:55 +00:00
Kalle Sommer Nielsen 78f10489ca Added second fix from #50987 that wasn't apart of Ilia's commit 2010-11-20 20:59:28 +00:00
Ilia Alshanetsky 5f1b91a6bf Fixed bug #50987 (unaligned memory access in phar.c) 2010-11-20 19:27:31 +00:00
Stanislav Malyshev 4415b3af51 Add support for DateTime in datefmt_format 2010-11-20 02:09:04 +00:00
Christopher Jones c8462df127 Remove unreverted duplicate fix for nulls 2010-11-20 01:29:03 +00:00
Stanislav Malyshev f061627899 report intl fix 2010-11-19 23:27:52 +00:00
Stanislav Malyshev e6c213b8ea Fix invalid args bugs by Maksymilian Arciemowicz 2010-11-19 23:22:55 +00:00
Felipe Pena d5d2580ac6 - Fixed extract() to do not overwrite $GLOBALS and $this when using EXTR_OVERWRITE.
patch by: jorto at redhat dot com
2010-11-19 22:06:44 +00:00
Felipe Pena 93a4e0d1fa - Fixed extract() to do not overwrite $GLOBALS and $this when using EXTR_OVERWRITE.
patch by: jorto at redhat dot com
2010-11-19 22:06:44 +00:00
Felipe Pena f16059d697 - Fixed bug #53362 (Segmentation fault when extending SplFixedArray) 2010-11-19 20:07:32 +00:00
Martin Jansen 61d97af18b Fixed two typos in NEWS. 2010-11-19 18:38:23 +00:00
Ilia Alshanetsky a8b4724747 Fixed bug #47168 (printf of floating point variable prints maximum of 40 decimal places). 2010-11-19 16:36:10 +00:00
Jani Taskinen caf792940f - Merged check from trunk to prevent building multiple SAPIs (bug #52419) 2010-11-19 08:26:47 +00:00
Christopher Jones 64f21f63ad Update fix proviso now the mentioned Oracle bugfix is available in an Oracle patchset 2010-11-19 00:14:58 +00:00
Gustavo André dos Santos Lopes cdab5577c0 - Fixed borked test bug52820.phpt.
- Synced htmlentities17.phpt with trunk; there's no &wreath; entity
  in HTML 4.01.
2010-11-18 21:44:42 +00:00
Johannes Schlüter 63f65b6e8f Back to -dev 2010-11-18 19:03:59 +00:00
Johannes Schlüter 7a8d9ad16a - 5.3.4RC1 2010-11-18 17:57:54 +00:00
Pierre Joye f5570be3a9 - path with null entries 2010-11-18 17:09:27 +00:00
Pierre Joye ff26185322 - revert part of the null fix, was already applied by Chris 2010-11-18 16:16:26 +00:00
Pierre Joye ce96fd6b07 - fix #39863, do not accept paths with NULL in them. See http://news.php.net/php.internals/50191, trunk will have the patch later (adding a macro and/or changing (some) APIs. Patch by Rasmus 2010-11-18 15:22:22 +00:00
Ilia Alshanetsky 73d45d3ff3 Back to dev 2010-11-18 14:40:49 +00:00
Ilia Alshanetsky 3594dd8ceb One more try 2010-11-18 14:38:25 +00:00
Ilia Alshanetsky 938d2a4333 Back to dev 2010-11-18 14:35:34 +00:00
Ilia Alshanetsky de5d12e4f8 5.2.15RC1 2010-11-18 14:30:55 +00:00
Gustavo André dos Santos Lopes 75631ab8ac - Implemented alternative strategy for change in rev #304985 so as to
not to break binary compatibility in the 5.3 branch.
2010-11-18 12:10:17 +00:00
Felipe Pena 60ad3e54af - Fix build 2010-11-18 11:33:42 +00:00
Derick Rethans 95a88f04a9 - Fixed the call as well. 2010-11-18 11:28:07 +00:00
Derick Rethans a2434bb66c - Revert the ABI changing commit. 2010-11-18 11:24:59 +00:00
Gustavo André dos Santos Lopes 267634b766 - Fixed NULL dereference in lex_scan on zend multibyte builds where the script
had a flex incompatible encoding and there was no converter.
#see rev #305464 and rev #305466.
2010-11-18 04:14:49 +00:00
Gustavo André dos Santos Lopes a31f379367 - Reversed implementation of FR #44164, pending further consideration.
See rev #304903.
2010-11-18 04:09:02 +00:00
Felipe Pena e516b7a964 - Fixed bug #53335 (pdo_firebird did not implement rowCount())
patch by: preeves at ibphoenix dot com
2010-11-18 01:24:00 +00:00
Pierrick Charron 6f7821a82d Remove unused variables 2010-11-17 17:55:18 +00:00
Pierre Joye 4ced44323d - test for NULL deref fix 2010-11-17 17:26:33 +00:00
Pierre Joye 7b27de9f0b - NULL deref fix, patch by Gustavo 2010-11-17 16:46:19 +00:00
Jani Taskinen d225fe4e58 - Fix test 2010-11-17 14:54:37 +00:00
Felipe Pena 4fc90faa39 - Fixed typo (reported by eyal.t at zend dot com) 2010-11-17 14:49:26 +00:00
Felipe Pena 5d2e201c3d - Fixed typo (reported by eyal.t at zend dot com) 2010-11-17 14:49:26 +00:00
Felipe Pena b13f58ea5c - Revert bad changes 2010-11-17 14:15:57 +00:00
Felipe Pena 4a6376afd8 - Updated QA and User note maintainers credits 2010-11-17 00:02:22 +00:00
Felipe Pena 7716873a5b - Updated QA and User note maintainers credits 2010-11-16 23:02:00 +00:00
Jérôme Loyet 404580d95c - fix (log with level < WARNING before daemonizing were not written to /dev/stderr) 2010-11-16 22:53:47 +00:00
Felipe Pena bbf58f9234 - Fixed bug #53319 (strip_tags() may strip '<br />' incorrectly) 2010-11-16 22:16:44 +00:00
Jérôme Loyet 5ddbeffc6f - Fixed #53310 (sparc < v9 won't is not supported) 2010-11-16 22:02:36 +00:00
Felipe Pena be51eb9c56 - Fixed bug #53323 (pdo_firebird getAttribute() crash)
patch by: preeves at ibphoenix dot com
2010-11-16 21:02:14 +00:00
Felipe Pena 49493e226d - Fixed bug #53323 (pdo_firebird getAttribute() crash)
patch by: preeves at ibphoenix dot com
2010-11-16 21:02:14 +00:00
Christopher Jones 2bc233e856 Improve test cross- DB version portability 2010-11-16 20:50:29 +00:00
Christopher Jones f819965513 Added missing news 2010-11-16 19:38:31 +00:00
Christopher Jones 2ea52b1fb4 Protect against null bytes in LOB filenames (rasmus) 2010-11-16 19:33:31 +00:00
Pierre Joye 4af7de49aa - fix build 2010-11-15 23:46:21 +00:00
Felipe Pena e6de920a27 - Fix wrong argument to read_property call 2010-11-15 18:48:48 +00:00
Gustavo André dos Santos Lopes 1045aa2a7c - Fixed bug #52820 (writes to fopencookie FILE* not commited when seeking the
stream).
2010-11-15 18:22:52 +00:00
Rasmus Lerdorf d91c4be0d6 ws fix 2010-11-15 09:04:27 +00:00
Pierre Joye f6b3d22218 - allow firebird header to be in the normal deps directory and restore firebird support on win (5.3.4+) 2010-11-14 22:40:30 +00:00
Jérôme Loyet 5ef0100b4d - extend the 'i-t' fpm argument to dump configuration file when called twice (-tt) 2010-11-14 22:22:07 +00:00
Jérôme Loyet c95477e729 - Fixed #52691 (allow multiple instance of FPM using a custom prefix) 2010-11-14 22:01:34 +00:00
Felipe Pena 6958cb4a14 - Added missing void arg checks 2010-11-14 18:40:08 +00:00
Felipe Pena 46983d532e - Add missing check 2010-11-14 01:38:52 +00:00
Jani Taskinen e0858b424a - Using ifelse() here is safer, also eases debugging generated configure. 2010-11-13 22:51:11 +00:00
Felipe Pena a0ccf0f14a - Fix the constant detection 2010-11-13 19:50:55 +00:00
Felipe Pena 8901635d73 - Fixed bug #53305 (E_NOTICE when defining a constant starts with __COMPILER_HALT_OFFSET__)
- Fixed a part of bug #53260 (the __COMPILER_HALT_OFFSET__ name is not shown in the E_NOTICE)
2010-11-13 18:46:11 +00:00
Derick Rethans bb1dbdf62c - Sync from HEAD. 2010-11-13 16:31:01 +00:00
Derick Rethans 28b41c811d - MFH: Added support for the ( and ) delimiters/separators to
DateTime::createFromFormat().
- Regenerated the parsers for HEAD and PHP_5_3.
2010-11-13 15:01:48 +00:00
Derick Rethans 9b4999881f - Don't show timezone if it wasn't found while parsing. 2010-11-13 14:57:47 +00:00
Jani Taskinen 47713462ce - WS 2010-11-13 11:07:38 +00:00
Jani Taskinen 0e72e5897e - Sync with trunk 2010-11-13 10:18:35 +00:00
Felipe Pena c095bec250 - Fixed bug #53136 (Invalid read on openssl_csr_new()) 2010-11-12 23:34:03 +00:00
Gustavo André dos Santos Lopes 3332c5be08 - Fixed bug #53297 (gettimeofday implementation in php/win32/time.c can return
1 million microsecs). (ped at 7gods dot org)
- Moved line out of order in NEWS.
2010-11-12 18:37:02 +00:00
Ulf Wendel b343748d56 Testing for the two new statistics 'bytes_received_real_data_normal' and 'bytes_received_real_data_ps' 2010-11-12 12:21:35 +00:00
Jérôme Loyet c28f44e409 - Fixed #52660 (custom process title for FPM) 2010-11-12 00:30:35 +00:00
Jérôme Loyet 5a416465a0 - Fixed #52692 (Added '-t/--test' to php-fpm to check and validate FPM conf file) 2010-11-11 23:27:15 +00:00
Jérôme Loyet da29092159 - Fixed bug #52693 (configuration file errors are not logged to stderr) 2010-11-11 22:48:46 +00:00
Jérôme Loyet 7bc07ff884 - get rid of ZLOG_STUFF code redundancy 2010-11-11 21:38:18 +00:00
Jérôme Loyet 8dd82c5fde - comment out fpm_php_set_fcgi_mgmt_vars to remove compilation warning 2010-11-11 21:30:55 +00:00
Felipe Pena d0b8d0201b - Fixed bug #47643 (array_diff() takes over 3000 times longer than php 5.2.4) 2010-11-11 21:25:34 +00:00
Jérôme Loyet 71a8b75c51 - remove useless check 2010-11-11 12:56:44 +00:00
Jérôme Loyet 8977fc8ace - add missing timer* macros (for solaris)
- ws
2010-11-11 12:49:11 +00:00
Jérôme Loyet d7e8aaea46 here come the new 2010-11-11 02:43:51 +00:00
Jérôme Loyet 0a1e29d74b - add "listen queue len" stat (thx to Andrei Nigmatulin) 2010-11-11 02:34:47 +00:00
Kalle Sommer Nielsen 4cc8073839 Added new constant; ZEND_MULTIBYTE to check whether PHP was compiled using --enable-zend-multibyte or not instead of sniffing phpinfo() (FR #52348) 2010-11-11 01:43:53 +00:00
Jérôme Loyet 7e56681670 - syntax and minor optimizations 2010-11-11 01:01:56 +00:00
Jérôme Loyet 07abcdc031 - don't call shutdown functions after child ends softly, let the master process call them 2010-11-10 23:54:14 +00:00
Christopher Jones f4b2664e2c Prepare for PECL OCI8 1.4.4 2010-11-10 19:08:13 +00:00
Christopher Jones 29bdf30880 Improve startup failure error messages 2010-11-10 18:59:56 +00:00
Christopher Jones 7a42845d80 Fixed bug #53284 (Valgrind warnings in oci_set_* functions) 2010-11-10 18:49:55 +00:00
Christopher Jones 2bf58d8c70 Improve test portability 2010-11-10 18:46:05 +00:00
Andrey Hristov 77d160772f Fix bad types, because zend_parse_xxx expect signed integers
for lengths, no matter how stupid this is :)
2010-11-10 13:57:09 +00:00
Adam Harvey 4df2980242 Fix line wrapping. 2010-11-09 14:54:10 +00:00
Adam Harvey 84dc845ff8 Fix bug #53279 (SplFileObject doesn't initialise default CSV escape character). 2010-11-09 14:53:23 +00:00
Moriyoshi Koizumi 8b47bc81f6 - Remove duplicate portion. 2010-11-09 03:27:11 +00:00
Moriyoshi Koizumi 89d372ba27 - Fix bug #53273 (mb_strcut() returns garbage with the excessive length parameter). 2010-11-09 03:23:04 +00:00
Moriyoshi Koizumi 1568b94545 - Fix bug #53273 (mb_strcut() returns garbage with the excessive length parameter). 2010-11-09 03:23:04 +00:00
Felipe Pena 22f7998a0d - Fix the fix (wrong behavior) 2010-11-08 20:26:14 +00:00
Dmitry Stogov 37f3ce6232 Fixed WSDL loading using https through proxy 2010-11-08 11:34:32 +00:00
Dmitry Stogov b01b2e6d0b Fixed WSDL loading using https through proxy 2010-11-08 11:34:32 +00:00
Patrick Allaert 2dd4a2915c - Fixed tests not passing under windows because of the directory separator
difference (thanks Eyal Teutsch for reporting)
2010-11-08 09:29:15 +00:00
Patrick Allaert 817776d1b9 - Fixed tests not passing under windows because of the directory separator
difference (thanks Eyal Teutsch for reporting)
2010-11-08 09:29:15 +00:00
Adam Harvey 53544e36f2 Update the tests committed in r305098 (as part of the fix for bug #53226) to
use the PHP_MAXPATHLEN constant, as recommended by Pierre.
2010-11-08 09:14:48 +00:00
Gustavo André dos Santos Lopes c3557ba32e - Fixed the filter extension accepting IPv4 octets with a leading 0 as that
belongs to the unsupported "dotted octal" representation.
- Fixed bug #53236 (problems in the validation of IPv6 addresses with leading
  and trailing :: in the filter extension).
- Fixed bug #50117 (problems in the validation of IPv6 addresses with IPv4
  addresses and ::).
2010-11-08 04:36:15 +00:00
Jérôme Loyet f407fc4e01 - correct time comparison for determining the last idle child 2010-11-07 21:47:14 +00:00
Jérôme Loyet 0399b83ccb - change signal from SIGTERM to SIGQUIT for killing a child process by the dynamic process manager 2010-11-07 19:41:28 +00:00
Felipe Pena e6bef6735f - Fixed bug #52512 (Broken error handling in odbc_execute)
patch by: mkoegler at auto dot tuwien dot ac dot at
2010-11-07 18:13:53 +00:00
Felipe Pena 50863932a6 - Fixed bug #53248 (rawurlencode RFC 3986 EBCDIC support misses tilde char).
patch by: Justin Martin (frozenfire@php)
2010-11-07 12:59:22 +00:00
Felipe Pena 1db7472a73 - Coding standards 2010-11-06 18:35:38 +00:00
Felipe Pena f4927c28bc - Fixed bug #52732 (Docs say preg_match() returns FALSE on error, but it returns int(0))
patch by: slugonamission at gmail dot com
2010-11-06 18:32:10 +00:00
Felipe Pena 996f45b688 - Fixed bug #47199 (pg_delete() fails on NULL)
patch by: ewgraf at gmail dot com
2010-11-06 17:43:25 +00:00
Felipe Pena 7636635ec5 - Fixed bug #50579 (RegexIterator::REPLACE doesn't work) 2010-11-06 00:09:50 +00:00
Andrey Hristov 837391a9a7 two new stats 2010-11-05 20:07:34 +00:00
Gustavo André dos Santos Lopes 8342c36f09 - Renamed php_stream_rep_nonstand_mode to
php_stream_mode_sanitize_fdopen_fopencookie, made it not
  exported and movied it from php_streams.h to
  php_streams_int.h.
2010-11-05 18:53:48 +00:00
Adam Harvey b84e262f63 Fix bug #53226 (file_exists fails on big filenames). 2010-11-05 05:28:07 +00:00
Gustavo André dos Santos Lopes dd038a9c89 - Added CLEAN section to recently committed test. 2010-11-05 01:56:28 +00:00
Gustavo André dos Santos Lopes 68107ae1c3 - Fixed bug #53241 (stream casting that relies on fdopen/fopencookie fails
with streams opened with, inter alia, the 'xb' mode).
2010-11-05 01:29:08 +00:00
Pierre Joye 8efec79ffe - expose php_sys_(l)stat, doing will prevent me to have to provide pecl's builds for <5.3.3 and another set for 5.3.4+. Trunk remains the same, A(B/P)I can be broken there 2010-11-04 01:16:20 +00:00
Pierre Joye e61005f712 - fix type and silent warning 2010-11-03 21:50:03 +00:00
Pierre Joye 6c3ddc70ed - add stat support for zip:// 2010-11-03 21:48:08 +00:00
Pierre Joye e07cf51051 - add CVE 2010-11-03 20:22:08 +00:00
Pierre Joye 535033074a - add CVE 2010-11-03 20:22:08 +00:00
Etienne Kneuss 9d25e7ee7b Fixed covariance of return-by-ref constraints 2010-11-03 15:40:24 +00:00
Gustavo André dos Santos Lopes da38018b56 - Added fix to bug #49687 to PHP 5.2. 2010-11-03 14:18:28 +00:00
Felipe Pena 21638aed88 - BFN 2010-11-03 01:46:52 +00:00
Felipe Pena 815d0e549b - Reverted fix for bug #51176 2010-11-03 01:35:26 +00:00
Felipe Pena 7b4cbadfce - Fixed config.m4 to complete the fix for bug #53141 (thanks Johannes) 2010-11-02 20:51:02 +00:00
Felipe Pena 7ded7577b2 - Fixed bug #53141 (autoload misbehaves if called from closing session)
patch by: ladislav at marek dot su
2010-11-02 18:34:56 +00:00
Ilia Alshanetsky 785bf5b31e Fixed a possible double free in imap extension (Identified by Mateusz Kocielski). 2010-11-02 17:50:39 +00:00
Ilia Alshanetsky a1632696a8 Fixed a possible double free in imap extension (Identified by Mateusz Kocielski). 2010-11-02 17:50:39 +00:00
Pierre Joye e547a0dfec - add CVE id 2010-11-02 15:33:49 +00:00
Jani Taskinen 309aefc7e7 - Fixed -g adding for gcc and g++ (former got it twice, latter not at all) 2010-11-02 09:58:08 +00:00
Arnaud Le Blanc 3ac257f344 MFH fixed bug #52784 (Race condition when handling many
concurrent signals)
2010-11-01 22:43:59 +00:00
Arnaud Le Blanc cd63986283 MFH Fix bug #52173 (ext/pcntl doesn't store/report errors)
(patch by nick dot telford at gmail dot com)
2010-11-01 20:22:23 +00:00
Derick Rethans 6e0f2daf65 - Updated to version 2010.15 (2010o) 2010-11-01 17:55:42 +00:00
Felipe Pena f4d15d8226 - Fixed bug #47643 (array_diff() takes over 3000 times longer than php 5.2.4) 2010-11-01 17:16:47 +00:00
Gustavo André dos Santos Lopes 231da1a5cb - Fixed bug #53198 (changing INI setting "from" with ini_set did not have any
effect)
#Made "from" a proper INI setting and bound it to a global variable.
#Previously, it was simply read from the hash table with the parsed ini file
#by using cfg_get_string (I wonder why this mechanism still exists...)
2010-10-29 15:29:15 +00:00
Andrey Hristov c10af225c4 - More features for the profiling, create aggregates and dump them
on file close.
- Also add a trace modifier to switch on and off the profiling.
- With additional compiler switch the profiling can be completely omitted,
of course it makes sense only when --enable-debug. Because otherwise
there is no tracing, thus no profiling.
- Added a fix for Windows for handling trace files on different devices
 (special handing of ':' )
2010-10-29 15:02:39 +00:00
Andrey Hristov cd6ea54deb gettimeofday for windows 2010-10-28 14:14:06 +00:00
Andrey Hristov 443bedf204 show tracing 2010-10-28 14:07:36 +00:00
Andrey Hristov 4c34cd9f38 fix windows debug build
better zlib detection
2010-10-28 13:46:54 +00:00
Gustavo André dos Santos Lopes db75ce41a3 - Fixed bug #49687 (utf8_decode vulnerabilities and deficiencies in the number
of reported malformed sequences). (Gustavo)
#Made a public interface for get_next_char/utf-8 in trunk to use in utf8_decode.
#In PHP 5.3, trunk's get_next_char was copied to xml.c because 5.3's
#get_next_char is different and is not prepared to recover appropriately from
#errors.
2010-10-27 18:13:25 +00:00
Gustavo André dos Santos Lopes ee80871a15 - Fixed bug #53180 (post_max_size=0 not disabling the limit when the content
type is application/x-www-form-urlencoded or is not registered with PHP).
2010-10-27 14:56:51 +00:00
Gustavo André dos Santos Lopes b5b4f94a4c - Fixed ReflectionProperty::isDefault() giving a wrong result for properties
obtained with ReflectionClass::getProperties().
2010-10-26 18:47:10 +00:00
Gustavo André dos Santos Lopes 0086bc8a96 - Implemented request #44164, zlib.output_compression is now implicitly
disabled when the header "Content-length" is set.
#One could argue that any output handler could change the size of the
#response, so this exception for zlib.output_compression is an
#inconsistency. However, zlib.output_compression is presented as a
#performance setting, whose value should have no effect on the
#correctness of the scripts. This was not the case. Setting the
#header "content-length" and enabling zlib.output_compression was
#a recipe for infringing section 4.4 of RFC 2616.
2010-10-26 02:16:21 +00:00
Andrey Hristov 762a1b2d26 rename and remove usage of inttypes.h, not needed 2010-10-25 13:44:11 +00:00
Gustavo André dos Santos Lopes 384cd8cda5 - Small optimization of the fix of bug #53071. It's not necessary to destroy
the debug info as it's not holding references anymore (the fix removed
  the refcount increments).
2010-10-25 02:03:20 +00:00
Gustavo André dos Santos Lopes 5721132c29 - Fixed bug #53071 (SPLObjectStorage defeats gc_collect_cycles). 2010-10-25 01:41:54 +00:00
Pierre Joye b37ecc1a2d - fix Isotopp 2010-10-24 21:51:54 +00:00
Pierre Joye 3cb6a460a6 - fix Isotopp 2010-10-24 21:51:54 +00:00
Felipe Pena eabf03f436 - BFN 2010-10-24 14:05:10 +00:00
Felipe Pena 6887b97a8d - Fixed bug #53144 (SplObjectStorage::removeAll()) 2010-10-24 14:03:07 +00:00
Andrey Hristov 924bb78167 profiling in trace mode 2010-10-22 15:46:26 +00:00
Andrey Hristov 4cedb6d08a last piece to enable trace logging on windows 2010-10-22 14:34:33 +00:00
Andrey Hristov f7c44c8c4d enable debug logging on windows, in debug builds, of course 2010-10-22 14:12:45 +00:00
Ilia Alshanetsky 8a2a6dbe21 Upgraded bundled sqlite to version 3.7.3 2010-10-20 19:27:34 +00:00
Pierre Joye ab935ee86f - update #52929 and zip NULL deref 2010-10-19 10:16:58 +00:00
Pierre Joye 8c5921bfb8 - update #52929 and zip NULL deref 2010-10-19 09:56:59 +00:00
Pierre Joye 80bea65348 - fix Fixed NULL pointer dereference in ZipArchive::getArchiveComment, (CVE-2010-3709), report&patch from Maksymilian Arciemowicz 2010-10-19 09:55:36 +00:00
Pierre Joye 6ab767262c - fix Fixed NULL pointer dereference in ZipArchive::getArchiveComment, (CVE-2010-3709), report&patch from Maksymilian Arciemowicz 2010-10-19 09:55:36 +00:00
Adam Harvey 6a289f4d10 Fix bug #53089 (php.ini should use portable example of find) by using POSIX
compliant syntax in the suggested find command for cleaning up session files in
the shipped php.ini files.
2010-10-18 02:10:29 +00:00
Felipe Pena 946f95c0fc - Fixed bug #53070 (Calling enchant_broker_get_dict_path before set_path crashes php) 2010-10-16 17:52:01 +00:00
Gustavo André dos Santos Lopes 3ab0b74de9 - Updated NEWS to note fix of bug #53006 now that it's confirmed it's fixed. 2010-10-15 23:54:24 +00:00
Gustavo André dos Santos Lopes a3cef7b435 - Three tests were "broken" by rev #304404, not two. Commit the change
to remaining one.
2010-10-14 19:33:12 +00:00
Gustavo André dos Santos Lopes 30d6cc8919 - Fixed get_next_char(), used by htmlentities/htmlspecialchars, accepting
certain ill-formed UTF-8 sequences.
2010-10-14 19:14:06 +00:00
Gustavo André dos Santos Lopes c99251f87e - [DOC] Reverted rev #304382 and rev #304380, as I figured out a way to
fix the erratic behavior without breaking backwards compatibility. Namely,
  $offset retains SEEK_SET behavior but actually SEEK_CUR is passed to
  _php_stream_seek, if possible, by moving the offset stream->position bytes.
- Addresses bug #53006.
2010-10-14 03:15:15 +00:00
Adam Harvey db633fb71d Fix vim marker folds. 2010-10-13 09:23:39 +00:00
Dmitry Stogov b88f7753a1 Fixed bug #52939 (zend_call_function does not respect ZEND_SEND_PREFER_REF) 2010-10-13 08:51:39 +00:00
Gustavo André dos Santos Lopes 14a54b903e - Fixed forward stream seeking emulation in streams that don't support seeking
in situations where the read operation gives back less data than requested
  and when there was data in the buffer before the emulation started. Also made
  more consistent its behavior -- should return failure every time less data
  than was requested was skipped.
- Small performance improvement by correcting off-by-one error that generate an
  invalid call to the seek handler or read handler. in _php_stream_seek.
2010-10-13 03:13:29 +00:00
Dmitry Stogov d46dcd301e Added test 2010-10-12 07:38:36 +00:00
Gustavo André dos Santos Lopes 99b613cbc8 - Added a 3rd parameter to get_html_translation_table. It now takes a charset
hint, like htmlentities et al.
- Fixed bug #49407 (get_html_translation_table doesn't handle UTF-8).
- Fixed bug #25927 (get_html_translation_table calls the ' &#39; instead of
  &#039;).
- Fixed tests for get_html_translation_table and unified the Windows and
  non-Windows versions of the tests.
2010-10-12 02:51:11 +00:00
Gustavo André dos Santos Lopes 40c3aefafb - Removed redundant local variable in dns_get_record.
- (5.3) Fixed bug in the Windows implementation of
  dns_get_record, where the two last parameters wouldn't be
  filled unless the type were DNS_ANY (Gustavo).
2010-10-11 03:07:03 +00:00
Gustavo André dos Santos Lopes 4e2fd7eeba - Fixed a typo in rev #304208 (24 instead of 34/'"').
- Improved the test bug53021.phpt to reflect other fixes in rev #304208.
- Updated NEWS to reflect other fixes in rev #304208.
2010-10-08 17:27:19 +00:00
Gustavo André dos Santos Lopes 485a094334 - Fixed bug #53021 (In html_entity_decode, failure to convert numeric entities with ENT_NOQUOTES and ISO-8859-1). 2010-10-08 16:19:58 +00:00
Andrey Hristov 93d7715e7b new collations 2010-10-08 09:15:31 +00:00
Felipe Pena f7582fc43b - Added bison 2.4.3 version to the bison version list 2010-10-07 21:44:41 +00:00
Andrey Hristov 2d2d6f84ba fix some uninitialized variables. also fix shadowing of global symbols 2010-10-07 13:49:00 +00:00
Ilia Alshanetsky a4252ab2be Fixed extrenous warning inside openssl_encrypt() for cases where iv not provided, but algo does not require an iv 2010-10-07 12:32:00 +00:00
Gustavo André dos Santos Lopes 8d34fe0d22 - Fixed test for bug #50590 on systems with 64-bit longs. 2010-10-06 17:05:05 +00:00
Andrey Hristov 1f86f6be31 here comes the news 2010-10-06 11:12:53 +00:00
Andrey Hristov 4f62c099cd Fix for Bug #52686 mysql_stmt_attr_[gs]et arg. points to incorrect type 2010-10-06 11:11:02 +00:00
Andrey Hristov 1cca9d4bf1 more variable hiding fixes 2010-10-06 07:09:37 +00:00
Andrey Hristov 062ddaa700 fix shadowing of parameters 2010-10-06 06:08:55 +00:00
Kalle Sommer Nielsen c1b7bd348e Update copyright year for the license 2010-10-05 22:58:19 +00:00
Kalle Sommer Nielsen 58a15c2cf5 Update copyright year for the license 2010-10-05 22:58:19 +00:00
Andrey Hristov 82de444f9a rename parameter name - should not shadow the global symbol alloca 2010-10-05 17:20:00 +00:00
Andrey Hristov eb2908c3f7 two more compiler warnings fixed - size does matter 2010-10-05 17:10:47 +00:00
Andrey Hristov 25e84b6a23 Rename a method so it doesn't clash with a global symbol - a function
Fix compiler waring by extening the type of a variable
2010-10-05 17:03:50 +00:00
Andrey Hristov 3daf54ffa0 Fix compiler warnings - on 32bit size_t is smaller than uint64_t, although
we will never hit this the compiler should be happy.
2010-10-05 16:54:14 +00:00
Andrey Hristov 548661d96d rename parameter, should not conflict with global symbol -
the socket function
2010-10-05 16:27:49 +00:00
Andrey Hristov e97a07ae9e remove trailing commas in enums 2010-10-05 14:56:49 +00:00
Ulf Wendel bd73903efb Fix test: third parameter can be false. 2010-10-05 14:41:08 +00:00
Antony Dovgal 421b86ed5e fix bug #50345 (nanosleep not detected properly on some solaris versions) 2010-10-05 13:43:35 +00:00
Ulf Wendel ccaff0e994 Greetings from SunCC.
ext/mysqli/mysqli_driver.c", line 127|128|129: warning: syntax error:  empty declaration
2010-10-05 12:42:53 +00:00
Dmitry Stogov 105f312e99 Fixed bug #44248 (RFC2616 transgression while HTTPS request through proxy with SoapClient object). 2010-10-05 11:43:59 +00:00
Dmitry Stogov 1b60eb8813 Fixed bug #44248 (RFC2616 transgression while HTTPS request through proxy with SoapClient object). 2010-10-05 11:43:59 +00:00
Dmitry Stogov be89f9d922 Fixed bug #51008 (Zend/tests/bug45877.phpt fails) 2010-10-05 11:28:56 +00:00
Dmitry Stogov 455db21e06 Fixed bug #51008 (Zend/tests/bug45877.phpt fails) 2010-10-05 11:28:56 +00:00
Andrey Hristov bf7e6f930c add some safe casts 2010-10-05 11:08:21 +00:00
Patrick Allaert bf6440d00a Fixed typo in tests (thx Eyal) 2010-10-05 10:42:13 +00:00
Andrey Hristov c4e145b0bc fixing more types 2010-10-05 10:30:00 +00:00
Kalle Sommer Nielsen 33c99f9a44 Fixed constness compiler warning in pdo_mysql 2010-10-05 09:58:15 +00:00
Kalle Sommer Nielsen efe22e3bfa Fix constness warnings 2010-10-05 09:48:07 +00:00
Kalle Sommer Nielsen 87edd143ed Fixed compiler warnings in mysqli
- mysqli.c: Fix unused variables, they are only used in non-mysqlnd mode
 - mysqli_api.c (PHP_5_3 only): Fix constness, add_property_string expects a char *, not a const char *
 - mysqli_prop.c: Cast to long, as its below the LONG_MAX and therefore safe
 - mysqli_result_iterator.c: Cast to ulong as the iterator member expects that rather than a my_longlong

# In trunk only warnings regarding the zend_property_info 
# structure is present and PHP_5_3 is warning free now
2010-10-05 09:40:36 +00:00
Andrey Hristov df2261df2a fix types 2010-10-05 08:56:21 +00:00
Ulf Wendel 234181f690 Fix warnings
ext\mysqlnd\mysqlnd_result_meta.c(57) : warning C4090: 'initializing' : different 'const' qualifiers
ext\mysqlnd\mysqlnd_result_meta.c(64) : warning C4090: 'initializing' : different 'const' qualifiers
ext\mysqli\mysqli_report.c(50) : warning C4013: 'php_mysqli_throw_sql_exception' undefined; assuming extern returning int
2010-10-05 08:29:54 +00:00
Andrey Hristov 4c88033aa2 fix recent TSRM build break, with --enable-debug 2010-10-05 08:17:33 +00:00
Gustavo André dos Santos Lopes b3a3c8f7a6 - Moved ucgendat.c to a separate directory and included the
OpenLDAP license there, as required by the license itself.
2010-10-05 02:34:35 +00:00
Gustavo André dos Santos Lopes 7e61cffb0d - Fixed bug #52981 (Unicode casing table was out-of-date).
Updated with UnicodeData-6.0.0d7.txt and included the
  source of the generator program with the distribution.
#The replaced tables, generated circa 2002, seem to reflect
#Unicode 3.2. I was unable to generate the same property
#offsets with Unicode 3.2 data, but all the tests I made
#indicate php_unicode_is_prop() is returning the correct
#values. The replaced file merely says it used a "modified
#version" of ucgendat, which is not very helpful. The results
#I got were not significantly different, only slightly higher
#offsets at two properties, which were carried over to the
#subsequent properties.
#I was, however, able to replicate precisely the casing table.
#The extent of the "modifications" besides omitting most of
#the tables, a slightly different layout and the casing table
#offsets having been multiplied by 3 is unclear.
#The test suite showed no regressions; however, it's very poor
#in testing the modified portion of the extension.
2010-10-05 01:54:17 +00:00
Kalle Sommer Nielsen 54624f9902 We do not need this TSRMLS_FETCH() call as we do not use any TSRM stuff in here, so we can get
a minor boost here in ZTS mode.
2010-10-04 21:04:25 +00:00
Andrey Hristov a4ad111454 fix two more warnings 2010-10-04 14:52:14 +00:00
Andrey Hristov 9f73a4e045 add some safe casts - lower the number of warnings by 2 2010-10-04 14:12:31 +00:00
Andrey Hristov 4c63a2232d Fix const-ness 2010-10-04 13:54:30 +00:00
Ulf Wendel 5aca10ee13 Trying to fix compiler warnings (on Windows). 2010-10-04 13:36:23 +00:00
Andrey Hristov 159ed311cc Even better patch 2010-10-04 12:59:29 +00:00
Andrey Hristov cacd5ad924 don't define twice the macro on some platforms 2010-10-04 12:41:12 +00:00
Ulf Wendel 1f9a7fd758 Fixing compiler warning. 2010-10-04 10:58:05 +00:00
Ulf Wendel ee2a82e327 Fixing "ext/mysqlnd/mysqlnd.h", line 287: warning: syntax error: empty declaration" 2010-10-04 10:51:44 +00:00
Ulf Wendel 122179478a Next one... ext/mysqli/mysqli_fe.c", line [many]: warning: syntax error: empty declaration 2010-10-04 10:43:21 +00:00
Ulf Wendel 4113fad4ec Fixing compiler warning "ext/mysqli/mysqli_prop.c", line [...]: warning: syntax error: empty declaration" 2010-10-04 10:40:16 +00:00
Ulf Wendel 71bbb24ff0 Sorry again, nothing but removal of white space from the end of the lines.
- fix compile warning "ext/mysql/php_mysql.c:640:11: warning: extra tokens at end of #ifdef directive"
2010-10-04 10:08:10 +00:00
Ulf Wendel 2d925fb216 Sorry for the commit but compiler warnings are annoying and so are white spaces at the end of a line, if one uses an editor which removes them on save and diff's get blown
up by white space changes...

Changes: 
- remove end of line white space
- fix compiler warning "ext/mysqli/mysqli_priv.h:156:27: warning: no newline at end of file"
- fix compiler warning "ext/mysqli/mysqli_fe.h:135:25: warning: no newline at end of file"
- fix compiler warning "ext/mysqli/mysqli.c:896:11: warning: extra tokens at end of #ifdef directive"
2010-10-04 10:02:58 +00:00
Gustavo André dos Santos Lopes 817c28c867 - Implemented FR #50692, not uploaded files don't count towards
max_file_uploads limit.
- As a side improvement, temporary files are not opened for
  empty uploads and, in debug mode, 0-length uploads.
2010-10-04 01:27:33 +00:00
Felipe Pena 090a9b3331 - Fixed bug #52971 (PCRE-Meta-Characters not working with utf-8)
#   In  PCRE,  by  default, \d, \D, \s, \S, \w, and \W recognize only ASCII
#       characters, even in UTF-8 mode. However, this can be changed by setting
#       the PCRE_UCP option.
2010-10-03 16:01:38 +00:00
Gustavo André dos Santos Lopes 4b0927b042 - Fixed a small mistake in the fix for bug #50953 that made connection timeouts not be detected as such. 2010-10-02 18:32:20 +00:00
Dmitry Stogov 01e081cfa7 Fixed bug #52879 (Objects unreferenced in __get, __set, __isset or __unset can be freed too early). (mail_ben_schmidt at yahoo dot com dot au, Dmitry) 2010-10-01 09:49:20 +00:00
Dmitry Stogov 4d8503a212 Fixed bug #52879 (Objects unreferenced in __get, __set, __isset or __unset can be freed too early). (mail_ben_schmidt at yahoo dot com dot au, Dmitry) 2010-10-01 09:49:20 +00:00
Ulf Wendel bc6e920ebc Fix leak with persistent connections when using mysqli.default_host is used 2010-10-01 08:54:16 +00:00
Stanislav Malyshev b55d4ecb41 Fix bug #52906 gmp_mod returns negative result when non-negative is expected 2010-10-01 00:12:23 +00:00
Andrey Hristov 60327d87a7 Plug a leak in mysqli when in the same script
a pconn is reused.
Call end_psession earlier - so will mysqlnd and
the plugins free data earlier.
2010-09-30 18:10:03 +00:00
Dmitry Stogov 5c6f0ebeab Prevented crash in GC because of incorrect reference counting 2010-09-30 14:11:51 +00:00
Adam Harvey 6df70d9e8f Loosen the valgrind version check slightly in run-tests.php so that it works
with the packaged valgrind in Ubuntu 10.04.
2010-09-30 11:16:45 +00:00
Adam Harvey 104bf57ae7 Loosen the valgrind version check slightly in run-tests.php so that it works
with the packaged valgrind in Ubuntu 10.04.
2010-09-30 11:16:45 +00:00
Adam Harvey 5f9956397f Fixed bug #52941 (The 'iconv_mime_decode_headers' function is skipping
headers).
2010-09-30 11:04:21 +00:00
Adam Harvey dfea17c282 MFH: Fix for bug #52929 (Segfault in filter_var with FILTER_VALIDATE_EMAIL with
large amount of data).
2010-09-30 02:35:37 +00:00
Gustavo André dos Santos Lopes 0db999a94f - Fixed bug #52944 (Invalid write on second and subsequent reads with an inflate filter fed invalid data). 2010-09-29 18:58:58 +00:00
Gustavo André dos Santos Lopes 1abeb58093 - Fixed bug #52944 (Invalid write on second and subsequent reads with an inflate filter fed invalid data). 2010-09-29 18:58:58 +00:00
Andrey Hristov 3113744c57 Fix a problem that leads to leaks in plugins that
use stmt local data - no free is called for statements
that are over-prepared
2010-09-29 13:18:07 +00:00
Andrey Hristov 517fd63c32 fix the test 2010-09-29 11:40:57 +00:00
Felipe Pena a5459c09c9 - Fixed bug #52947 (segfault when ssl stream option capture_peer_cert_chain used) 2010-09-29 01:25:35 +00:00
Andrey Hristov 22d73027d0 add another hook, maybe the last one, for MYSQLND_STMT, which
was missed before
2010-09-28 14:36:18 +00:00
Pierre Joye 6bae8fbd9c - Fixed possible flaw in open_basedir (CVE-2010-3436) 2010-09-28 13:30:30 +00:00
Pierre Joye 83d7a705ad - Fixed possible flaw in open_basedir (CVE-2010-3436) 2010-09-28 13:30:20 +00:00
Pierre Joye edb4351004 - Fixed possible flaw in open_basedir (CVE-2010-3436) 2010-09-28 13:29:33 +00:00
Pierre Joye 93cd101966 - Fixed possible flaw in open_basedir (CVE-2010-3436) 2010-09-28 13:28:55 +00:00
Felipe Pena 2cd1661e2d - Fixed bug #52931 (strripos not overloaded with function overloading enabled) 2010-09-27 23:09:00 +00:00
Derick Rethans 761cc30055 - Updated to version 2010.13 (2010m) 2010-09-27 13:57:42 +00:00
Andrey Hristov 42a80fac8c Fixed bug #45921 (Can't initialize character set hebrew) 2010-09-27 12:35:59 +00:00
Andrey Hristov b080cfcc71 Fix the value, it was bumped 2010-09-27 11:23:01 +00:00
Adam Harvey 2d4c7b4033 Fix bug #52929 (Segfault in filter_var with FILTER_VALIDATE_EMAIL with large
amount of data).
2010-09-27 07:08:04 +00:00
Pierre Joye 4839387edd - fix bug #52926, zlib fopen wrapper does not use the context 2010-09-26 20:46:54 +00:00
Adam Harvey fc2ed1b5d0 MFH: fix phar phpinfo() tests. 2010-09-24 12:13:33 +00:00
Andrey Hristov 216effe4f5 WS fixes 2010-09-23 16:03:22 +00:00
Ulf Wendel 8bb124394b Let's try not to have 'uft8'-only tests and avoid setting the charset upon connect. I've changed the tests to make no assumptions on the server charset setting. var_dump()/EXPECTF tests got replaced with dynamic tests which try to take the current charset into account. 2010-09-23 15:08:43 +00:00
Ulf Wendel 389965f1de Merge from head: do not use deprecated function aliases. The test logic is unchanged. 2010-09-23 14:59:13 +00:00
Adam Harvey 107f916322 Fix up the vim folds in phar_object.c and add a note that the two prototypes
before Phar::__construct() are actually valid and not a mistake, per bug
#52909.
2010-09-23 04:41:14 +00:00
Pierre Joye f1d2e1453c - Fix #52908, fix declaration 2010-09-22 21:28:37 +00:00
Andrey Hristov bdaec773b5 Unify, force one charset at connect, thus fixing
test failures because different servers have different
system charsets.
2010-09-22 18:25:33 +00:00
Ulf Wendel 7f0ec2a127 Test update for sql_mode = ansi 2010-09-22 15:22:22 +00:00
Ulf Wendel 841c151b64 Test update for sql_mode = ANSI 2010-09-22 15:16:07 +00:00
Andrey Hristov ff27146950 small macro fix 2010-09-22 14:54:43 +00:00
Andrey Hristov 86c1364695 fix for bug 52891 - optimize a bit 2010-09-22 14:26:43 +00:00
Andrey Hristov b962a566af hier comes the news 2010-09-22 11:40:20 +00:00
Andrey Hristov 1de4cfb791 Fix for
Bug #52891 Wrong data inserted with mysqli/mysqlnd when using bind_param,value>LONG_MAX
2010-09-22 11:38:49 +00:00
Andrey Hristov 047f0e4d88 update tests 2010-09-22 11:09:29 +00:00
Ulf Wendel 2ff0c392e7 Trying to pimp gcov.php.net code coverage tests.. trying to cover mysqlnd compress code with a standard test run 2010-09-20 19:01:13 +00:00
Ulf Wendel 7f6d8e53fd Align test to the style used in the other tests 2010-09-20 18:26:11 +00:00
Ulf Wendel 1a40f20729 No reason not to run the tests with libmysql. Its long, long ago that pconnect has been a mysqlnd only feature 2010-09-20 17:26:39 +00:00
Ilia Alshanetsky 9aafc5d1c6 Fixed a compiler warning 2010-09-20 12:48:27 +00:00
Ulf Wendel c30edd027f Dont be strict on error messages, they can vary by server version 2010-09-20 09:04:48 +00:00
Andrey Hristov 531085785b add test case for 52891 2010-09-20 09:02:31 +00:00
Pierre Joye 63883d4970 - not needed here anymore 2010-09-18 14:54:40 +00:00
Ulf Wendel 2d656381f8 Skip if PDO_SQLITE is not available 2010-09-17 17:11:21 +00:00
Ulf Wendel fe726b1beb Remove OS dependent directory separator from EXPECT 2010-09-17 16:40:02 +00:00
Pierre Joye 88117e6128 - restore VOLUME_NAME_NT and VOLUME_NAME_DOS definition, thx Andrey for the headup 2010-09-17 11:34:49 +00:00
Pierre Joye 064578114f - WS 2010-09-16 19:15:26 +00:00
Pierre Joye 664f06616a - fix news 2010-09-15 16:59:57 +00:00
Andrey Hristov 17ae7c1659 remove unneeded proxy function _mysqlnd_restart_psessoin 2010-09-15 12:23:45 +00:00
Andrey Hristov d99ee78503 Remove unneeded proxy function _mysqlnd_end_psession 2010-09-15 12:11:33 +00:00
Adam Harvey 416240947b Fix bug #52849 (GNU MP invalid version match). 2010-09-15 10:51:55 +00:00
Ulf Wendel 0dc0d76854 Fix test 2010-09-15 08:20:15 +00:00
Felipe Pena 09ca429157 - Fixed bug #52843 (Segfault when optional parameters are not passed in to mssql_connect) 2010-09-15 02:12:46 +00:00
Andrey Hristov fc2143b993 unify magic quotes handling. Also fix a problem which
resulted in a longjmp in debug PHP,because of usage of
zval that is NULL in a hash context.
2010-09-14 16:09:42 +00:00
Jérôme Loyet 8c1582c9ad - remove a memory leak (missing efree()) 2010-09-14 15:33:43 +00:00
Johannes Schlüter 0631d2c59d - Don't be silent on bailout 2010-09-14 14:26:37 +00:00
Adam Harvey 877a6f92f0 Fix bug #52827 (cURL leaks handle and causes assertion error (CURLOPT_STDERR)).
Patch by Gustavo.
2010-09-14 10:58:59 +00:00
Pierre Joye 992991fe1b - fix #48831 php -i has different output to php --ini 2010-09-14 10:36:21 +00:00
Adam Harvey 1f06a6a4e8 Fix English in the error message emitted when json_decode() is called with
depth <= 0.
2010-09-14 03:46:28 +00:00
Kalle Sommer Nielsen 02f2359ad5 Fixed bug #52772 (var_dump() doesn't check for the existence of get_class_name before calling it) 2010-09-13 20:14:18 +00:00
Kalle Sommer Nielsen 4119b09a1a Fixed bug #52772 (var_dump() doesn't check for the existence of get_class_name before calling it) 2010-09-13 20:14:18 +00:00
Pierre Joye f4da90705b - use php_sys_sat 2010-09-13 11:17:40 +00:00
Pierre Joye 25ac985422 - ws 2010-09-13 11:06:18 +00:00
Pierre Joye 65942d343f - sanity check for the path length and don't treat UNC as local path (no functional change, only less ops) 2010-09-13 10:58:18 +00:00
Pierre Joye 013727e1c7 - MFH 2010-09-13 10:30:21 +00:00
Pierre Joye e5323bde9a - silent warning 2010-09-13 10:28:45 +00:00
Pierre Joye ffd60af473 - use php_sys_lstat 2010-09-13 10:27:55 +00:00
Pierre Joye eafd04d172 - use php_sys_readlink 2010-09-13 09:30:07 +00:00
Pierre Joye 3a2f5c2219 - WS 2010-09-13 09:08:42 +00:00
Adam Harvey a7da07a15f Fix bug #52826 (phpinfo is incorrect for bzip2 stream wrapper). 2010-09-13 07:41:39 +00:00
Pierre Joye d97c07c265 - remove dummy wrapper for readfile 2010-09-11 19:07:43 +00:00
Felipe Pena 6ca2ea7109 - Fixed bug #49215 (make fails on glob_wrapper) 2010-09-10 21:33:50 +00:00
Pierre Joye 20944e2516 - use php_sys_readlink 2010-09-10 19:25:56 +00:00
Pierre Joye cd727b4e9a - remove 'UNC' from the target 2010-09-10 19:21:02 +00:00
Pierre Joye 77d307ccbf - open_basedir symlink support for Windows 2010-09-10 17:45:13 +00:00
Pierre Joye 2b04364852 - Implement bug #51804, splFileInfo::getLinkTarget() on Windows 2010-09-10 14:17:40 +00:00
Pierre Joye 391ff7682c - add php_sys_readlink 2010-09-10 14:01:44 +00:00
Adam Harvey 6e06a45f24 Fix bug #52802 (Out-of-date comment for
file_get_contents/php_stream_copy_to_mem) by updating the relevant comments.
2010-09-10 03:08:05 +00:00
Felipe Pena 03df7fce82 - Fixed test 2010-09-09 21:46:29 +00:00
Adam Harvey 97f6da74a1 Fixed bug #52744 (cal_days_in_month incorrect for December 1 BCE). Original
patch by gpap at internet dot gr.
2010-09-09 06:41:23 +00:00
Adam Harvey bcea4e69bb Fix bug #52786 (PHP should reset section to [PHP] after ini sections). Patch by
Fedora at famillecollet dot com.
2010-09-09 05:11:05 +00:00
Adam Harvey 7a2c4afa91 Fix bug ordering in NEWS. 2010-09-09 05:08:58 +00:00
Pierre Joye abd1af951c - fix the fix for bug #52323 2010-09-08 11:51:11 +00:00
Pierre Joye b310ce9ccc - WS 2010-09-08 10:26:59 +00:00
Pierre Joye ce82e028b2 - Fix bug #52323, return value of php_network_connect_socket should be set even if the caller does not care about the error_string 2010-09-08 10:25:40 +00:00
Pierre Joye 266ff49a9a - Fix #50524, proc_open should respect cwd as it does on other platforms 2010-09-08 08:34:57 +00:00
Jérôme Loyet 9a1623dc5f - remove FPM specific version which is irrelevant since FPM integration into core. 2010-09-07 22:03:43 +00:00
Jérôme Loyet c725c054d6 - Fixed bug #52498 (libevent was not only linked to php-fpm) 2010-09-07 21:12:28 +00:00
Pierre Joye f696aece3f - fix bug #50953, socket will not connect to IPv4 address when the host has both ipv4 and ipv6 addresses 2010-09-07 09:47:36 +00:00
Pierre Joye c286d482aa - links related fixes 2010-09-06 14:54:43 +00:00
Pierre Joye 80ddb8d95c - fix bug #52260, catch all DNS not found error 2010-09-06 10:57:42 +00:00
Pierre Joye 4275e7428b - timeval element are always 32bit long on Windows 2010-09-06 10:39:26 +00:00
Pierre Joye 6c08709bd6 - kill warning 2010-09-06 10:28:04 +00:00
Pierre Joye 329cab2942 - restore credits, fix 5.3 as well, aka do it right /cc Deric 2010-09-05 14:38:35 +00:00
Derick Rethans d30323b867 - Clean up the generated tmp-php.ini after make test has run. 2010-09-05 12:29:47 +00:00
Rasmus Lerdorf 8022e383ff This incorrect contraction started to get on my eyes after I saw it for the
87th time while struggling with an annoying SOAP service.
2010-09-03 22:24:08 +00:00
Ulf Wendel 4789901728 Test for http://bugs.php.net/52221. Test will fail with mysqlnd but should pass with libmysql. 2010-09-03 14:20:32 +00:00
Dmitry Stogov c7b95db5ab Fixed GC bug 2010-09-03 09:27:47 +00:00
Ulf Wendel 48814f96ef Fix test failure. Add new test for MYSQLI_OPT_INT_AND_FLOAT_NATIVE mysqlnd feature. 2010-09-02 14:57:38 +00:00
Pierre Joye edfe2e11db - add it for 5.3 as well 2010-09-02 10:32:32 +00:00
Stanislav Malyshev a54ac71371 Fix bug #50590 - IntlDateFormatter::parse result is limited to the integer range 2010-09-01 20:34:59 +00:00
Andrey Hristov 292785ed61 fix build on windows, seems this macro is not defined 2010-09-01 16:54:20 +00:00
Andrey Hristov 8220c2e4ce OPT_COMPRESS support for mysqlnd_conn::set_client_option
To be used by mysqli_options
2010-09-01 14:47:36 +00:00
Pierre Joye 13fd8fcded - WS 2010-09-01 10:16:48 +00:00
Pierre Joye 87bf415853 - sb needed only in safemode 2010-09-01 10:13:46 +00:00
Pierre Joye 6396a3272c - add lstat support for Windows 2010-09-01 09:49:53 +00:00
Jérôme Loyet 6b2b7046ed - Fixed bug #52725 (gcc builtin atomic functions were sometimes used when they were not available). 2010-09-01 08:17:18 +00:00
Jérôme Loyet 5fd50c99cb - add 'max children reached' to the FPM status page. It shows how many times
a pool has reached the max_children parameter.
2010-08-31 14:49:16 +00:00
Ulf Wendel d27642fece PHP has changed (undefined) behaviour from 5.3.2 to 5.3.3: ->{} = , which seems to have been never an officially supported syntax and have never been a valid property name, is no longer allowed and PHP bails. 2010-08-31 14:43:02 +00:00
Timm Friebe c37b0c690a - MFT: Add ".so" suffix to checks on libsybct[64] bundles
# See patch by royanee at yahoo dot com @ bug #45357
2010-08-31 12:28:30 +00:00
Jérôme Loyet cbd21afae9 - Add libevent version to the startup debug log in FPM. 2010-08-31 09:41:04 +00:00
Jérôme Loyet 0605d5f309 - Changed listen.backlog in the FPM configuration file to default to 128
instead of -1 (except on FreeBSD and OpenBSD). This is the same value 
  as the one used in the cgi sapi. This patch completes revision 302725.
2010-08-31 09:33:53 +00:00
Felipe Pena c0840f18f3 - Fixed crash on non-Windows build 2010-08-30 21:34:54 +00:00
Andrey Hristov 77d650908d here comes the news 2010-08-30 18:13:28 +00:00
Andrey Hristov 72bef34918 Fix for MySQL Bug #49406
Binding params doesn't work when selecting a date inside a CASE-WHEN
(http://bugs.mysql.com/bug.php?id=49406)
The MySQL server sends MYSQL_TYPE_NEWDATE values as clear text, even
when PS are used and thus the binary protocol are used. Changing the
handler for the type.
2010-08-30 18:10:23 +00:00
Pierre Joye c55632007e - fix possible leak and error while fetching PHPRC 2010-08-30 17:05:56 +00:00
Ulf Wendel f671ad6275 Adding MYSQLI_OPT_SSL_VERIFY_SERVER_CERT for use with mysqli_options(). 2010-08-30 16:59:10 +00:00
Pierre Joye 71966d1e5a - WS 2010-08-30 16:52:48 +00:00
Derick Rethans b8837a79b2 - Tests for bug #52342 (DateTime setIsoDate results in wrong timestamp). 2010-08-30 16:48:21 +00:00
Derick Rethans adbf9e766e - Added test file that I forgot to commit. 2010-08-30 16:47:46 +00:00
Derick Rethans bb8ec8d629 - Fixed bug #52430 (date_parse parse 24:xx:xx as valid time). (Derick) 2010-08-30 16:40:29 +00:00
Derick Rethans aa82af78e4 - Fixed bug #52454 (Relative dates and getTimestamp increments by one day) 2010-08-30 16:25:52 +00:00
Derick Rethans 83a2d6e96e - Test for (non-)bug #52577. 2010-08-30 15:40:36 +00:00
Derick Rethans 550e18eaed - Added test for bug #46874 (same as #52668). 2010-08-30 15:35:41 +00:00
Derick Rethans bd184cc572 - Fixed bug #52668 (Iterating over a dateperiod twice is broken). 2010-08-30 15:32:09 +00:00
Jérôme Loyet a7057e4e49 - only one process (for all pools) could be killed by the 'dynamic' process manager. Now it's one process per pool which can be killed by the 'dynamic' process manager.
- rename nonsense variable (i)
2010-08-30 15:21:31 +00:00
Ulf Wendel d0e7e5aa2a If you add functions to the PDO core, take care not to break other PDO drivers tests, document the function and provide a function test for the PDO core to check your default/fallback implementation. 2010-08-30 09:20:48 +00:00
Ilia Alshanetsky a12d2bf747 Fixed a compiler warning 2010-08-27 19:43:08 +00:00
Pierre Joye 3c3ddb39b4 - WS 2010-08-27 10:09:52 +00:00
Andrey Hristov d9f50d95e3 Add proper magic_quotes_runtime support for mysqlnd, but
in mysqli, so we don't need to tamper myslqnd.
magic_quotes_runtime are deprecated and not existant in 5.4, thus
only fixing in the branch.
2010-08-26 14:51:58 +00:00
Pierre Joye a5e51efff8 - Symlink resolution fails when target is a DFS path 2010-08-26 14:23:17 +00:00
Ulf Wendel 6338f99d52 Test for http://bugs.mysql.com/bug.php?id=49406, Binding params doesn't work when selecting a date inside a CASE-WHEN 2010-08-26 13:35:20 +00:00
Felipe Pena 8fba11c57b - Fixed bug #52699 (PDO bindValue writes long int 32bit enum) 2010-08-25 22:03:03 +00:00
Andrey Hristov 07986a53e3 here comes the news 2010-08-25 15:07:34 +00:00
Andrey Hristov ab778e7414 Fix for bug #52221 Misbehaviour of magic_quotes_runtime (get/set)) 2010-08-25 15:06:47 +00:00
Andrey Hristov 7a83093a3b fix the build. two mysqli functions were missing after
recent commit - set_charset and get_charset
2010-08-25 15:02:02 +00:00
Pierre Joye adcf926b80 - CVE # for mops 2010-24 2010-08-25 14:27:39 +00:00
Adam Harvey c783495edf Fixed bug #52681 (mb_send_mail() appends an extra MIME-Version header). 2010-08-25 06:07:22 +00:00
Adam Harvey 0b9437483c Sorry, forgot the news update for the previous commit. 2010-08-24 17:00:23 +00:00
Adam Harvey 05fe229ea7 MFB5.3: The fix (and the fix to the fix) for bug #52546 (pdo_dblib segmentation
fault when iterating MONEY values).
2010-08-24 16:58:16 +00:00
Jérôme Loyet f9c6bb1ad8 - Fixed bug #52674 (FPM Status page returns inconsistent Content-Type headers). 2010-08-23 20:40:44 +00:00
Pierre Joye 411d090895 -fix logic (and BC break) 2010-08-23 18:05:05 +00:00
Pierre Joye b9d73bb910 - WS 2010-08-23 17:16:17 +00:00
Pierre Joye a6c5363f05 - revert fix for #52655, rev. 302614 2010-08-23 17:01:44 +00:00
Pierre Joye 6326528127 - add follow_location support for http stream, enabled by default to keep BC. Allows one to ignore the location header, w/o having to ignore errors or other tricks, the location data is however still available (meta) 2010-08-23 16:54:57 +00:00
Pierre Joye 1d7ce1aae0 - fix string validation entry, mops-2010-24 2010-08-23 14:25:48 +00:00
Kalle Sommer Nielsen 3947bfeadf Fixed bug #52655 (SimpleXMLIterator supports ArrayAccess without implementing the interface) 2010-08-21 16:22:46 +00:00
Kalle Sommer Nielsen 1f34be323f Revert fix for #52636 in 5.2 2010-08-21 16:19:30 +00:00
Felipe Pena da3743b7b9 - Added missing void parameter checks 2010-08-21 16:09:18 +00:00
Jérôme Loyet 6db49b7864 - Fix #52407 (use __sync_bool_compare_and_swap in fpm_atomic.h if gcc >= 4.1 is used - credit to geissert) 2010-08-21 06:46:18 +00:00
Jérôme Loyet 1f3aaf508c - typo (thx to sixd) 2010-08-20 17:00:57 +00:00
Pierre Joye 0f58370215 - fix string validation, MOPS-2010-24 2010-08-20 16:37:33 +00:00
Andrey Hristov 4348f9e163 svn up messed this 2010-08-20 15:39:03 +00:00
Andrey Hristov bb89f5c275 here comes the news 2010-08-20 12:29:59 +00:00
Andrey Hristov 27567040d2 Fix for bug #52654 mysqli doesn't install headers with structures it uses 2010-08-20 12:25:17 +00:00
Jérôme Loyet 72064e1a28 Fix #52609 (INI scanner did not use ZEND_INI_SCANNER_NORMAL) 2010-08-20 08:33:57 +00:00
Ilia Alshanetsky 06c460c995 Fixed bug #52599 (iconv output handler outputs incorrect content type when flags are used). 2010-08-19 12:27:13 +00:00
Kalle Sommer Nielsen 7e2721e1b6 Use userland function name, not internal name for NEWS 2010-08-18 20:26:42 +00:00
Kalle Sommer Nielsen 0b1477a716 Use userland function name, not internal name for NEWS 2010-08-18 20:26:42 +00:00
Kalle Sommer Nielsen e6ef7dd895 Fixed possible crash in php_mssql_get_column_content_without_type()
# Also fix NEWS entry in PHP_5_2 for previous commit
2010-08-18 20:16:05 +00:00
Kalle Sommer Nielsen e92ebce7f8 Fixed possible crash in php_mssql_get_column_content_without_type()
# Also fix NEWS entry in PHP_5_2 for previous commit
2010-08-18 20:16:05 +00:00
Kalle Sommer Nielsen 31824b2c04 Fixed bug #52636 (php_mysql_fetch_hash writes long value into int)
# Tested by rein at basefarm dot no
2010-08-18 20:00:18 +00:00
Kalle Sommer Nielsen c2c3467ab4 Fixed bug #52636 (php_mysql_fetch_hash writes long value into int)
# Tested by rein at basefarm dot no
2010-08-18 20:00:18 +00:00
Felipe Pena 2fb2f81538 - Improved fix for bug #52573 2010-08-18 01:59:37 +00:00
Andrey Hristov ed806c4461 here comes the news 2010-08-17 18:10:08 +00:00
Andrey Hristov 2a926ec6ec Fix for Bug #52613 crash in mysqlnd 2010-08-17 18:08:25 +00:00
Andrey Hristov 33c7b63c6c Update with PHP_DEF_FE, also update the test 2010-08-17 18:07:11 +00:00
Kalle Sommer Nielsen a109c3538f Fix my fix for arginfo, trunk patch will follow shortly 2010-08-17 13:34:11 +00:00
Kalle Sommer Nielsen 5a3624221b Fixed the $context parameter on copy() to have an effect (approved for 5.3 by Johannes)
# To not change a PHPAPI in a point release, a new function have been added to support contexts:
# php_copy_file_ctx(), php_copy_file_ex() now simply wraps to that
2010-08-17 12:17:28 +00:00
Kalle Sommer Nielsen a780e73f62 Fix arginfo for copy(), see r302376 for more info 2010-08-16 21:59:42 +00:00
Kalle Sommer Nielsen e3ec38a90f Fixed bug #50836 (run_tests.php alerts syntax errors while testing session) 2010-08-16 20:56:00 +00:00
Kalle Sommer Nielsen cee97080d1 Fixed bug #50836 (run_tests.php alerts syntax errors while testing session) 2010-08-16 20:56:00 +00:00
Andrey Hristov c204922c7f Added utf16 and utf32 support, as in MySQL 5.5, in mysqlnd.
Fixed tests, so they don't try to use SET NAMES utf16|utf32,
as character_set_client can't be set to those (the lexer can't
read ucs2, utf16 and utf32).
Added support for 4-byte utf8, as found in MySQL 5.5
2010-08-16 17:44:50 +00:00
Andrey Hristov 0a9ca62a77 Fix test, so it doesn't fail with MySQL 5.5, where InnoDB
is the default engine
2010-08-16 16:15:15 +00:00
Andrey Hristov 4d72dba301 detect easily which charset doesn't work 2010-08-16 16:13:55 +00:00
Derick Rethans e577899507 - Updated to version 2010.12 (2010l) 2010-08-16 12:48:53 +00:00
Pierre Joye 894dc2480c - WS 2010-08-16 10:29:01 +00:00
Andrey Hristov f8e312ea27 Here comes the news 2010-08-16 09:45:26 +00:00
Andrey Hristov 2f2cdc6a51 Sync with trunk, fixes build failure on MacOSX.
Fix for Bug #52417 MySQLi build failure with mysqlnd
2010-08-16 09:44:13 +00:00
Derick Rethans 6c579efc43 - Updated to version 2010.11 (2010k) 2010-08-16 09:32:51 +00:00
Dmitry Stogov 7ca414f5e7 Bug #52361 (Throwing an exception in a destructor causes invalid catching) 2010-08-16 09:20:46 +00:00
Dmitry Stogov 890c709036 Fixed memory leaks (related to bug #52361) 2010-08-16 08:11:08 +00:00
Kalle Sommer Nielsen 2f129db790 Fix Windows build 2010-08-16 01:44:33 +00:00
Kalle Sommer Nielsen 61a1bad720 Fixed bug #52593 (exif is placed before mbstring in php.ini) 2010-08-16 00:26:39 +00:00
Kalle Sommer Nielsen f9a562f63b Fixed bug #52593 (exif is placed before mbstring in php.ini) 2010-08-16 00:26:39 +00:00
Pierre Joye 4588d5d79f - #52607, fix ENV conflit with win SDK 7.1 2010-08-15 13:54:03 +00:00
Pierre Joye bb669f2c1b - year++ 2010-08-15 13:40:29 +00:00
Pierre Joye 1bd381890d - #52607, fix ENV conflit with win SDK 7.1 2010-08-15 03:38:08 +00:00
Ilia Alshanetsky bbeafa1dcf Win32 build fixes 2010-08-14 14:47:49 +00:00
Ilia Alshanetsky 842bc947e2 Upgraded bundled Sqlite3 to version 3.7.0.1 2010-08-14 14:44:39 +00:00
Ilia Alshanetsky c5602787fc MFH: Upgraded bundled PCRE to version 8.10. 2010-08-14 14:37:13 +00:00
Felipe Pena c101964325 - Fixed the fix for bug #52546 2010-08-13 22:12:37 +00:00
Kalle Sommer Nielsen a954bcae9e Changed mysqli_report() to be per-request specific rather than per-process specific (Fixes #52390) 2010-08-13 10:43:15 +00:00
Kalle Sommer Nielsen e72a69aae6 Changed mysqli_report() to be per-request specific rather than per-process specific (Fixes #52390) 2010-08-13 10:43:15 +00:00
Andrey Hristov a6100682d0 Fix for bug #52413 MySQLi build failure on OS X 2010-08-13 09:57:04 +00:00
Andrey Hristov 973e134d2d Fix for bug #52433 Call to undefined method mysqli::poll() 2010-08-13 09:18:06 +00:00
Sascha Schumann 14edb68858 - fix cast 2010-08-12 17:28:08 +00:00
Sascha Schumann 984560f93d separate properties of internal classes in ZTS mode fully,
otherwise multiple threads will modify the zvals' contents
without any synchronisation.
2010-08-12 17:27:16 +00:00
Andrey Hristov 8409cb44b2 Make this function static, as it is used only in this file.
Add additional comment about how it works.
2010-08-12 14:17:31 +00:00
Andrey Hristov 6fc06f265e Allocate memory in a burst mode, and later use it. Increases
locality of the data.
Also use MYSQLND_INC_CONN_STATISTIC in one place, instead of
two, thus removing code duplication from macro expansion - less
code to fit in the instruction cache.
2010-08-12 13:23:16 +00:00
Andrey Hristov 92ef63a07b Switch from using PHP_MAJOR_VERSION to separate define for
unicode. Unicode is no more, but these are "bookmarks" where
to change mysqlnd, if Unicode becomes trendy again.
2010-08-12 12:02:02 +00:00
Andrey Hristov 8bf7114691 ws + cs 2010-08-12 11:38:08 +00:00
Sascha Schumann 50a0ea7b8c separate properties of internal classes in ZTS mode fully,
otherwise multiple threads will modify the zvals' contents
without any synchronisation.
2010-08-12 07:58:14 +00:00
Kalle Sommer Nielsen 49f22527cc Fixed bug #50804 (Document configure.js --enable-crt-debug) 2010-08-11 22:38:15 +00:00
Kalle Sommer Nielsen 1e4d963734 Ignore the x64 directory for Windows x64 builds 2010-08-11 21:26:09 +00:00
Kalle Sommer Nielsen 1178d719ea Seems like this one skipped the commit (E_ERROR -> E_CORE_ERROR) for zend.ze1_compatibility_mode (re #52570) 2010-08-11 21:18:45 +00:00
Kalle Sommer Nielsen 8deefa8780 Changed deprecated ini options on startup from E_WARNING to E_DEPRECATED (Fixes #52570)
# Trunk patch will follow shortly
2010-08-11 21:12:18 +00:00
Dmitry Stogov b6ffe2f92b In ZTS mode default properties and constants of internal classes can't be modified in place and have to be separated 2010-08-11 09:38:41 +00:00
Dmitry Stogov 7d55780ca0 In ZTS mode default properties and constants of internal classes can't be modified in place and have to be separated 2010-08-11 09:38:41 +00:00
Felipe Pena 658272c9ee - Fixed bug #52573 (SplFileObject::fscanf Segmentation fault) 2010-08-10 22:37:24 +00:00
Andrey Hristov 0d3d292633 Fix Request #52302 mysqli_fetch_all does not work with MYSQLI_USE_RESULT 2010-08-09 17:29:30 +00:00
Andrey Hristov f8c2680509 Lay foundations for named pipe support in mysqlnd 2010-08-09 17:01:57 +00:00
Pierre Joye cf7d0fb4e7 - #52523, fix logic (0 is perfectly valid as part of the data, bin data) 2010-08-09 08:14:14 +00:00
Pierre Joye 1e26362d4b - WS 2010-08-09 07:32:21 +00:00
Felipe Pena 904b9282fe - Fixed bug #50481 (Storing many SPLFixedArray in an array crashes) 2010-08-08 23:56:29 +00:00
Ilia Alshanetsky 7ab1a74f49 Additional fix for bug #52550 & fix test & warning from previous fixes 2010-08-08 15:45:02 +00:00
Christopher Jones d0dc4810eb Fixed bug #51610 (Using oci_connect causes PHP to take a long time to exit). Do PECL OCI8 1.4.3 release 2010-08-07 00:24:26 +00:00
Felipe Pena afed1468e4 - Added missing SKIPIF 2010-08-06 23:05:39 +00:00
Felipe Pena f4644c8c85 - Fix test 2010-08-06 23:01:32 +00:00
Felipe Pena 07c1929a7a - Fixed bug #52533 (ext/curl/tests/curl_multi_getcontent_basic3.phpt broken due php.net/robots.txt)
patch by: glen at delfi dot ee
2010-08-06 22:57:41 +00:00
Felipe Pena 8be696d143 - Updated generated file 2010-08-06 22:23:10 +00:00
Felipe Pena 7e8ec822a5 - Fix build 2010-08-06 22:21:13 +00:00
Johannes Schlüter 97317c7b1e - ext_skelshould create a .svnignore not .cvsignore these days 2010-08-06 22:19:47 +00:00
Christopher Jones a59ffde6bc Release PECL OCI8 1.4.2 2010-08-06 22:12:48 +00:00
Ilia Alshanetsky fbe6499d46 WS 2010-08-06 20:16:11 +00:00
Ilia Alshanetsky 231d8dd526 Another fix for issue indentified in bug #52550 2010-08-06 20:04:29 +00:00
Ilia Alshanetsky c0edb4afce Fixed issues inside str_pad() identified by bug #52550 2010-08-06 19:55:10 +00:00
David Soria Parra 9d02d50df2 make ssl_set return value in mysqlnd compatible with libmysqli return value 2010-08-06 19:47:03 +00:00
Ilia Alshanetsky 64ceec13f2 Use correct order of operations. Second of many fixes for bug #52550 2010-08-06 19:11:34 +00:00
Rasmus Lerdorf 0d1ab2f6ac Fix 5.3 as well 2010-08-06 18:20:41 +00:00
Felipe Pena f171aefb31 - Fixed bug #52546 (pdo_dblib segmentation fault when iterating MONEY values) 2010-08-05 23:32:18 +00:00
Felipe Pena 1e17bb2aab - Fixed bug #52534 (var_export array with negative key) 2010-08-04 23:11:44 +00:00
Jérôme Loyet 5fe988518a BUG: all value comparaisons were not case insensitive in the conf file parser 2010-08-02 21:46:52 +00:00
Jérôme Loyet c80e055c9c typo 2010-08-02 09:28:54 +00:00
Jérôme Loyet 1c50d5385d correct php-fpm.conf: slowlog has no default value 2010-08-02 09:02:48 +00:00
Felipe Pena 6150174941 - Fixed bug #52468 (wddx_deserialize corrupts integer field value when left empty) 2010-08-01 17:34:09 +00:00
Felipe Pena 3ef14fc609 - Fixed bug #52508 (newline problem with parse_ini_file+INI_SCANNER_RAW) 2010-08-01 15:26:54 +00:00
Felipe Pena c0e6f37cb9 - Fixed bug #52484 (__set() ignores setting properties with empty names) 2010-08-01 13:27:02 +00:00
Felipe Pena cb1d315b7d - Fix tests 2010-07-31 22:10:43 +00:00
Felipe Pena 30a8dcff1b - New test 2010-07-29 23:46:49 +00:00
Felipe Pena e3ddef53b4 - Fixed bug #52487 (PDO::FETCH_INTO leaks memory) 2010-07-29 23:38:55 +00:00
Jérôme Loyet 4445c85d4f - Fixed bug #52476 (move php-fpm man page from section 1 to section 8) 2010-07-29 22:07:00 +00:00
Raphael Geissert 444bba79ba Fix required facilities for php-fpm's init script
$all should only be used in rare, and very specific, cases.
2010-07-29 19:13:42 +00:00
Pierre Joye 110fab9803 - fix build 2010-07-29 11:58:41 +00:00
Sriram Natarajan f810ef5359 - Fixed bug #52436 (Compile error in pcre if systems do not have stdint.h)
# PCRE's config.h can very well reuse the definitions made available from
# PHP's configure script output available within php_config.h
2010-07-27 21:42:22 +00:00
Sriram Natarajan a0bf0739a9 - Fixed bug #52436 (Compile error in pcre if systems do not have stdint.h)
# PCRE's config.h can very well reuse the definitions made available from
# PHP's configure script output available within php_config.h
2010-07-27 21:42:22 +00:00
Pierre Joye ed4f6dbd36 - make libsasl optional (as vc6 bins do not have it) 2010-07-26 22:28:38 +00:00
Rasmus Lerdorf 94286b35e3 Let's keep NEWS entries to things that might affect users.
A typo in a comment isn't very news-worthy.
2010-07-23 15:52:34 +00:00
Adam Harvey 3aceb07efd MFH: fix bug #52380 (Typo in lcfirst comment docs). 2010-07-23 09:02:14 +00:00
Adam Harvey ebc6982eb8 Correct bug ID in the NEWS file for posterity. 2010-07-23 08:58:03 +00:00
Johannes Schlüter 200b139c69 - Back to -dev 2010-07-22 11:08:31 +00:00
Johannes Schlüter 60cda42612 - back to -dev 2010-07-22 11:06:58 +00:00
Johannes Schlüter 95fb5ed9f2 - Add lost entries 2010-07-21 14:19:59 +00:00
Johannes Schlüter 6212b88ef3 - PHP 5.3.3 2010-07-21 10:50:07 +00:00
Johannes Schlüter c863f476a5 PHP 5.2.14 2010-07-21 10:32:07 +00:00
Johannes Schlüter 72ff4aac7e - merge NEWS for 5.2.14 and 5.3.3 2010-07-21 09:02:45 +00:00
Johannes Schlüter 5fdf15ea49 - merge NEWS for 5.2.14 and 5.3.3 2010-07-21 09:02:45 +00:00
Pierre Joye 426e14a6ed - add CVE # 2010-07-20 09:26:29 +00:00
Pierre Joye 7bc386b8dc - add CVE # 2010-07-20 09:26:18 +00:00
Adam Harvey 5ce0bb46f6 MFH: fix for bug #52317 (Segmentation fault when using mail() on a rhel 4.x
(only 64 bit)).
2010-07-19 13:38:53 +00:00
Adam Harvey 32e2c573d5 MFH: fix for bug #52317 (Segmentation fault when using mail() on a rhel 4.x
(only 64 bit)).
2010-07-19 13:38:53 +00:00
Adam Harvey 2e1cd1e133 Revert r301354, since we don't need a test for a bogus bug. 2010-07-19 09:58:19 +00:00
Kai Schroeder 5126ac9ab0 Test for #50475 2010-07-17 23:29:52 +00:00
Kai Schroeder c11850b406 Test for #51819 2010-07-17 23:20:24 +00:00
Kai Schroeder b1fb44660d Test for #48187 2010-07-17 22:47:13 +00:00
Kai Schroeder 221c71032f Test for #51994 2010-07-17 22:17:48 +00:00
Kai Schroeder d53e8cfb83 Test for #52290 2010-07-17 21:57:16 +00:00
Kai Schroeder ede218d54c Test for #52359 2010-07-17 21:26:01 +00:00
Andrey Hristov a30113b617 Fix for Bug #51583 Bus error due to wrong alignment in mysqlnd 2010-07-15 16:57:14 +00:00
Pierre Joye 1dc9e43cd0 - fix vc6 build 2010-07-15 00:13:20 +00:00
Johannes Schlüter 50554563af Back to -dev 2010-07-14 23:40:42 +00:00
Johannes Schlüter 6d85947b52 PHP 5.3.3RC3 2010-07-14 23:01:42 +00:00
Johannes Schlüter 8370d1a864 Back to -dev 2010-07-14 22:59:20 +00:00
Johannes Schlüter c99bdaf6de PHP 5.2.14RC3 2010-07-14 22:03:47 +00:00
Dmitry Stogov 4c961e9045 Fixed incorrect reinitialization 2010-07-14 10:27:08 +00:00
Dmitry Stogov 4eb9ceae9c Fixed incorrect reinitialization 2010-07-14 10:27:08 +00:00
Kalle Sommer Nielsen d733338225 Update the re2c files aswell (bug #51943) 2010-07-14 00:04:43 +00:00
Kalle Sommer Nielsen dcf54a9b4d Update the re2c files aswell (bug #51943) 2010-07-14 00:04:43 +00:00
Kalle Sommer Nielsen e71ee33358 Fixed bug #51943 (Several files are out of ANSI spec)
# Based on patch by CoreyStup at gmail dot com
2010-07-13 23:59:54 +00:00
Kalle Sommer Nielsen f407ad9511 Fixed bug #51943 (Several files are out of ANSI spec)
# Based on patch by CoreyStup at gmail dot com
2010-07-13 23:59:54 +00:00
Pierre Joye d3e8ab4266 - merge news for var_export fix 2010-07-13 18:56:05 +00:00
Pierre Joye e246625a57 - MFH: Fix a bug when var_export() causes a fatal error that could inadvertently display data due to flushing of the output buffer. 2010-07-13 18:53:12 +00:00
Kalle Sommer Nielsen e92d4a936d MFT: Fixed bug #52037 (Concurrent builds fail in install-programs) -- Patch by Seanius at debian dot org
# Sorry for the non sparse commit, due to a broken co
2010-07-13 17:24:44 +00:00
Kalle Sommer Nielsen 00fabe553a MFT: Fixed bug #52037 (Concurrent builds fail in install-programs) -- Patch by Seanius at debian dot org
# Sorry for the non sparse commit, due to a broken co
2010-07-13 17:24:13 +00:00
Andrey Hristov e6dc3a5cbc Give an error when USE_RESULT is used with fetch_all 2010-07-13 13:02:00 +00:00
Scott MacVicar c02f6724a8 Doing this as a seperate commit unless we need to back it out.
Fix a bug when var_export() causes a fatal error that could inadvertently display data due to flushing of the output buffer.

Examples include, memory limit, execution time and recursion.
2010-07-09 21:19:27 +00:00
Andrey Hristov f20dd1f9ae adding arginfo to mysqli fixed the bug 2010-07-08 10:18:46 +00:00
Felipe Pena 5f790678ec - Fixed ZTS build 2010-07-07 22:46:54 +00:00
Etienne Kneuss a3bf7aa4fe Fixed #51697 (Unsafe operations in free_storage of SPL iterators,
causes crashes during shutdown)
2010-07-07 21:55:17 +00:00
George Wang 6106c44c10 applied patch from bug report 51452 2010-07-07 20:03:04 +00:00
Andrey Hristov e670162315 Cleanup in trunk. Remove some functions, noted in
UPGRADING. sed-ed the tests to change the usage
to the real function name.
2010-07-07 12:09:36 +00:00
Andrey Hristov ce1bd65d29 arginfo for mysqli, was too fast to commit in trunk instead of one
directory up, thus the patch was split in two.
2010-07-07 11:37:35 +00:00
Timm Friebe 97033293d1 - MFT: Added -DSYB_LP64 to CFLAGS on 64 bit platforms
- MFT: Added checks for 64 bit versions of sybase libraries
- MFT: Added checks for sybase libraries prefixed with "libsyb"
2010-07-07 10:16:48 +00:00
Timm Friebe a4ff8bce62 - MFT: Added -DSYB_LP64 to CFLAGS on 64 bit platforms
- MFT: Added checks for 64 bit versions of sybase libraries
- MFT: Added checks for sybase libraries prefixed with "libsyb"
2010-07-07 10:15:24 +00:00
Scott MacVicar e1ce0a64ea Fix bug #52262 - Invalid UTF-8 documents don't set an error code when they fail to decode. 2010-07-06 17:01:30 +00:00
Antony Dovgal 336b5af34b fix typos and use correct directive names in error messages 2010-07-06 11:37:19 +00:00
Felipe Pena 08bdfef92a - Fixed tests 2010-07-06 00:25:52 +00:00
Felipe Pena a4d1188313 - Fixed tests 2010-07-06 00:25:52 +00:00
Dmitry Stogov 9d3069ca51 Fixed bug #52237 (Crash when passing the reference of the property of a non-object) 2010-07-05 09:08:35 +00:00
Dmitry Stogov 09d8bbb2ee Fixed bug #52237 (Crash when passing the reference of the property of a non-object) 2010-07-05 09:08:35 +00:00
Felipe Pena 0891e86ed8 - Fixed bug #52240 (hash_copy() does not copy the HMAC key, causes wrong results and PHP crashes) 2010-07-03 13:06:14 +00:00
Johannes Schlüter 832fb5a6ea Fix bug #52238: Crash when an Exception occured in iterator_to_array 2010-07-02 19:17:45 +00:00
Johannes Schlüter e46fee1d1a Fix bug #52238: Crash when an Exception occured in iterator_to_array 2010-07-02 19:17:45 +00:00
Felipe Pena 51db77f424 - Added CVE id 2010-07-02 19:16:21 +00:00
Johannes Schlüter c06a26a524 Back to -dev 2010-07-02 07:32:05 +00:00
Eric Stewart 3b38626603 Added test for bug 52013 to PHP_5_3. 2010-07-02 02:46:43 +00:00
Felipe Pena d71b9d508e - Fixed a possible interruption array leak in trim() 2010-07-02 00:33:42 +00:00
Felipe Pena 22dcb6114f - BFN 2010-07-01 21:59:41 +00:00
Felipe Pena 631f9905f2 - Fixed a possible memory corruption in substr(), chunk_split(), strtok(), addcslashes(), str_repeat() 2010-07-01 19:51:36 +00:00
Felipe Pena 4b0840e246 - Fixed a possible memory corruption in strchr(), strstr().
- MFH: Fixed a possible memory corruption in substr_replace() (Dmitry)
2010-07-01 19:11:01 +00:00
Felipe Pena 01149527a9 - Fixed a possible memory corruption in strrchr(). (Reported by Péter Veres) 2010-07-01 18:43:52 +00:00
Johannes Schlüter 2b48156eab 5.3.3 RC2 2010-07-01 15:44:18 +00:00
Ilia Alshanetsky 97518d37b3 Back to dev 2010-07-01 14:41:17 +00:00
Ilia Alshanetsky 802bc19f76 5.2.14RC2 2010-07-01 14:39:57 +00:00
Felipe Pena 92ba590555 - BFN 2010-07-01 01:12:21 +00:00
Pierre Joye 1fe5265c3e - WS 2010-06-30 22:06:49 +00:00
Ilia Alshanetsky e0b76f3725 Fixed bug #33210 (getimagesize() fails to detect width/height on certain JPEGs). 2010-06-30 12:21:35 +00:00
Ilia Alshanetsky 112ac7e978 Fixed bug #33210 (getimagesize() fails to detect width/height on certain JPEGs). 2010-06-30 12:21:35 +00:00
Stanislav Malyshev af2d266a09 sync version with PECL 2010-06-30 04:23:32 +00:00
Felipe Pena 4e606e3ceb - Fixed bug #48930 (__COMPILER_HALT_OFFSET__ incorrect in PHP >= 5.3) 2010-06-30 02:45:10 +00:00
Felipe Pena 96bb25e8e7 - Reverted fix for bug #48930 (due binary compatibility breakage) 2010-06-29 11:37:13 +00:00
Stanislav Malyshev e04a7b8cc4 fix SplObjectStorage unserialization (CVE-2010-2225) 2010-06-29 00:58:31 +00:00
Stanislav Malyshev 865f85718f fix SplObjectStorage unserialization (CVE-2010-2225) 2010-06-29 00:58:31 +00:00
Pierre Joye 9c60bd8df7 - typo for iconv DLL .lib 2010-06-28 23:26:48 +00:00
Felipe Pena 9a2a615af2 - Reverted fix for bug #51421 2010-06-28 16:37:57 +00:00
Felipe Pena a8e80ec235 - Reverted fix for bug #51421 2010-06-28 16:37:57 +00:00
Felipe Pena 0488a86634 - Fix arginfo name 2010-06-28 01:19:08 +00:00
Felipe Pena ced29dd706 - Improved initialization 2010-06-27 22:13:41 +00:00
Felipe Pena 9b07568c43 - Fixed bug #48930 (__COMPILER_HALT_OFFSET__ incorrect in PHP >= 5.3) 2010-06-27 21:46:16 +00:00
Felipe Pena ec29c67a5a - BFN 2010-06-26 22:07:04 +00:00
Felipe Pena 0cc45e7bdb - BFN 2010-06-26 22:07:04 +00:00
Felipe Pena dcb44b5ed7 - Fixed bug #51421 (Abstract __construct constructor argument list not enforced) 2010-06-26 22:05:13 +00:00
Felipe Pena 10a9634bc9 - Fixed bug #51421 (Abstract __construct constructor argument list not enforced) 2010-06-26 22:05:13 +00:00
Felipe Pena 2cd05f8579 - Fixed bug #52160 (Invalid E_STRICT redefined constructor error) 2010-06-26 19:19:16 +00:00
Felipe Pena eb5e97adf5 - Fixed bug #52160 (Invalid E_STRICT redefined constructor error) 2010-06-26 19:19:16 +00:00
Felipe Pena 419f589580 - Fixed tests 2010-06-26 17:17:47 +00:00
Felipe Pena 9ea7a70e24 - Fixed bug #52193 (converting closure to array yields empty array) 2010-06-26 17:14:33 +00:00
Felipe Pena e64734f986 - Fixed bug #52183 (Reflectionfunction reports invalid number of arguments for function aliases) 2010-06-26 16:03:39 +00:00
Christopher Jones 22458ed4d5 Remove hard coded lib extension. Prepare for OCI8 1.4.2 release 2010-06-25 21:18:09 +00:00
Christopher Jones 86544f5971 Fix bug #52186 (phpinfo shows 10.1 or 11.1 when installed with ORACLE_HOME 10.2 or 11.2) 2010-06-25 21:09:13 +00:00
Felipe Pena 4b0ca8a569 - Fixed bug #52163 (SplFileObject::fgetss() fails due to parameter that can't be set) [already fixed on other branches] 2010-06-24 23:10:39 +00:00
Felipe Pena 5a3a34e3e6 - Fixed bug #52138 (Constants are parsed into the ini file for section names) 2010-06-24 22:32:42 +00:00
Andrey Hristov 89bd3af6b9 Two functions, which should be methods so one can catch
their output, for example
2010-06-24 19:52:13 +00:00
Pierre Joye d27d572a7d - typo 2010-06-24 00:15:12 +00:00
Sriram Natarajan 9ce4941ec9 - Fixed bug #52162 (custom request header variables with numbers are removed) 2010-06-23 19:06:33 +00:00
Sriram Natarajan 2bb9bbb803 - Fixed bug #52162 (custom request header variables with numbers are removed) 2010-06-23 19:06:33 +00:00
Johannes Schlüter 08e1471c16 Install SQLite3 header 2010-06-23 15:11:02 +00:00
Felipe Pena 1b59a2cb3c - Fixed bug #49730 (Firebird - new PDO() returns NULL) 2010-06-21 21:38:35 +00:00
Andrey Hristov 53324e8830 Fix sprintf modifiers all around the place. In most cases
%u should be used. Where size_t is used then MYSQLND_SZ_T_SPEC should be
the modifier
2010-06-21 15:32:26 +00:00
Andrey Hristov 698539fa79 fix valgrind warnings on 64bit, thread_is is strictly 32bit 2010-06-21 14:49:45 +00:00
Ilia Alshanetsky 6b990988f1 MFB: Implemented FR #51295 (SQLite3::busyTimeout not existing). (Mark) 2010-06-21 11:06:31 +00:00
Pierre Joye 6ee4060bfa - #45808, stream_socket_enable_crypto() blocks and eats CPU 2010-06-20 16:33:16 +00:00
Felipe Pena 31321a87ac - Completed the fix for bug #52010
# Fixing pdo drivers
2010-06-20 14:12:06 +00:00
Felipe Pena c6e852d7db - Completed the fix for bug #52010
# Fixing pdo drivers
2010-06-20 14:12:06 +00:00
Felipe Pena eb6862369b - BFN 2010-06-19 22:24:51 +00:00
Felipe Pena 1342ff0075 - Lets use zend_atol() here too (sync with 5_3) 2010-06-19 22:23:01 +00:00
Felipe Pena b0e2e6f752 - Fixed bug #52061 (memory_limit above 2G)
# MFH: zend_atol()
2010-06-19 20:47:24 +00:00
Jérôme Loyet ffdd175918 - Fixed bug #52086 (No new line at the end of a included file crahes the PHP FPM daemon) 2010-06-19 16:31:19 +00:00
Andrey Hristov 5a4a66cdd5 Fix for bug #52115 mysqli_result::fetch_all returns null, not an empty array 2010-06-18 17:25:41 +00:00
Andrey Hristov 6b730a04ae missed this one in the last commit, the real type 2010-06-18 12:00:57 +00:00
Andrey Hristov 7f79e86886 fix type mismatch, this is fresh misunderstanding 2010-06-18 11:56:25 +00:00
Johannes Schlüter 7d0eedf08c - Ignore empty filename for mail.log, treat it like none given 2010-06-18 10:16:35 +00:00
Ulf Wendel f3448471df Don't bail if there is another extension that exports constants starting with mysql<something> 2010-06-18 09:56:18 +00:00
Johannes Schlüter d52e132203 back to -dev 2010-06-18 08:22:14 +00:00
Johannes Schlüter 8661e8d298 PHP 5.3.3RC1 2010-06-17 17:16:57 +00:00
Johannes Schlüter 8a142cb861 5.3.3RC1 2010-06-17 17:10:16 +00:00
Pierre Joye a46cb6b513 - fix build 2010-06-17 16:56:48 +00:00
Johannes Schlüter 06c987663a - 80 lines are nice, sentences stop with a period
- Merge in 5.3.2 NEWS ...
2010-06-17 12:31:57 +00:00
Ilia Alshanetsky bce3eee5be back to dev 2010-06-17 11:55:17 +00:00
Ilia Alshanetsky a71f036ed4 5.2.14RC1 2010-06-17 11:53:21 +00:00
Andrey Hristov ae4ae5a313 split mysqlnd_connect() in two parts, one doing the authorization 2010-06-17 11:37:49 +00:00
Pierre Joye c4c6b69b64 - #51424 2010-06-17 10:22:51 +00:00
Pierre Joye 84f3b13264 - #51424, solaris part 2010-06-17 10:22:03 +00:00
Pierre Joye 49418ce7da - Fix bug #52101, dns_get_record()garbage in 'ipv6' field 2010-06-17 09:26:29 +00:00
Felipe Pena bdf58d657d - BFN 2010-06-16 23:40:23 +00:00
Felipe Pena d4746a659e - BFN 2010-06-16 23:40:23 +00:00
Felipe Pena 5bf26f9a90 - New tests related to #52098 2010-06-16 23:33:01 +00:00
Felipe Pena 42c4bafbbd - New tests related to #52098 2010-06-16 23:33:01 +00:00
Felipe Pena 93cd95fb35 - Fix crash when calling a method of a class that inherits PDOStatement if instantiated directly 2010-06-16 23:13:29 +00:00
Felipe Pena d596ea742a - Fix crash when calling a method of a class that inherits PDOStatement if instantiated directly 2010-06-16 23:13:29 +00:00
Andrey Hristov d47e50a9ff no more needed because of the charset fix in the previous changeset 2010-06-16 19:01:13 +00:00
Pierre Joye cfd930d218 - #50563, removing E_WARNING from parse_url() 2010-06-16 18:56:24 +00:00
Pierre Joye 4029454a0d - Fix bug #50578, incorrect shebang in phar.phar 2010-06-16 18:30:35 +00:00
Timm Friebe 0be3000729 - MFT: Fixed segmentation fault when reading rows
# Problem surfaces when using FreeTDS, ASE 12.5 and reading text fields
# with NULL values. This is essentially a workaround for a bug in Free-
# TDS which is not setting the NULL indicators correctly, but provides
# a protection against possible segfaults if any other driver ever does
# this again:-)
2010-06-16 09:53:51 +00:00
Timm Friebe ec54570362 - MFT: Fixed segmentation fault when reading rows
# Problem surfaces when using FreeTDS, ASE 12.5 and reading text fields
# with NULL values. This is essentially a workaround for a bug in Free-
# TDS which is not setting the NULL indicators correctly, but provides
# a protection against possible segfaults if any other driver ever does
# this again:-)
2010-06-16 09:49:25 +00:00
Antony Dovgal 3896e7403d improve ptrace() test
change error to warning - there can be no trace method available at all
2010-06-16 08:58:42 +00:00
Ben Longden ddc9246071 Merged SplFileObject::fgetcsv tests from trunk 2010-06-15 21:42:04 +00:00
Felipe Pena 72f2f30daa - New entries 2010-06-15 19:37:20 +00:00
Felipe Pena f310305fc2 - New entries 2010-06-15 19:37:20 +00:00
Pierre Joye 2cfb5e4254 - Fix #51002, fix possible memory corruption with very long names 2010-06-15 18:48:33 +00:00
Pierre Joye 33ac0d0e33 - cleanup, no vc6 support in trunk 2010-06-15 13:50:14 +00:00
Pierre Joye d686b7579a - #51424, silent warnings on win 2010-06-15 13:43:15 +00:00
Ben Longden d1c912628d Merged SplTempFileObject tests from trunk 2010-06-15 11:20:21 +00:00
Ilia Alshanetsky 24b8bc3489 Removed the in_transaction handler for 5.3 to avoid BC break due to structure change 2010-06-15 11:13:20 +00:00
Pierre Joye 8fcd33ed18 - Fix #51424, crypt() function hangs after 3rd call 2010-06-15 09:26:06 +00:00
Dmitry Stogov 113d07c981 Fixed bug #52041 (Memory leak when writing on uninitialized variable returned from function) 2010-06-15 08:22:51 +00:00
Dmitry Stogov 3d5f729181 Fixed bug #52041 (Memory leak when writing on uninitialized variable returned from function) 2010-06-15 08:22:51 +00:00
Andrey Hristov 0da5464a81 Fix the test for libmysql, which expects the certificates
to be in the directory where the interpreter is started. When
using mysqlnd they should not include path and will be found
in the directory of the script.
2010-06-14 18:23:17 +00:00
Andrey Hristov 83051b1a86 And a fix for MySQL Server which is pre 5.1.23, which doesn't support
preserving of the charset when performing change_user. This is libmysql
only code.
2010-06-14 18:19:13 +00:00
Andrey Hristov 1d9c49bb3c Fixed bug #52082 (character_set_client & character_set_connection reset after
mysqli_change_user())

libmysql >= 5.1.23 will PASS, older library versions will fail
2010-06-14 17:16:20 +00:00
Pierre Joye 0296501274 - MFH 2010-06-14 09:56:50 +00:00
Pierre Joye 22df3125d5 - drop comment 2010-06-14 09:15:20 +00:00
Pierre Joye d652e02235 - #52043,GD doesn't recognize latest libJPEG version 2010-06-14 08:12:10 +00:00
Jérôme Loyet 205775507a Fix #52067, chroot and chdir path were not checked at startup. If configured with unexistant directories, FPM entered in an error loop. 2010-06-13 10:30:35 +00:00
Felipe Pena 6b74d61957 - Fix entry 2010-06-12 22:09:13 +00:00
Felipe Pena 764a95f6f3 - Fixed bug #49320 (PDO returns null when SQLite connection fails) 2010-06-12 22:04:48 +00:00
Felipe Pena f6da451f59 - Fixed bug #49320 (PDO returns null when SQLite connection fails) 2010-06-12 22:04:48 +00:00
Felipe Pena f1e02c5cc7 - Fixed bug #52051 (handling of case sensitivity of old-style constructors changed in 5.3+) 2010-06-12 15:30:21 +00:00
Felipe Pena 4d3944f941 - Fixed bug #52057 (ReflectionClass fails on Closure class) 2010-06-11 23:37:55 +00:00
Felipe Pena 5eb64a4957 - Fixed bug #52060 (Memory leak when passing a closure to method_exists()) 2010-06-11 23:20:13 +00:00
Patrick Allaert 64ab802e47 - Fixed bug #52019 (make lcov doesn't support TESTS variable anymore) 2010-06-11 14:04:57 +00:00
Patrick Allaert 899bc2f582 - Fixed bug #52019 (make lcov doesn't support TESTS variable anymore) 2010-06-11 14:04:57 +00:00
Dmitry Stogov 7690b8dad4 Fixed bug #51552 (debug_backtrace() causes segmentation fault and/or memory issues) 2010-06-11 08:53:31 +00:00
Dmitry Stogov d24c14cb59 Fixed bug #51552 (debug_backtrace() causes segmentation fault and/or memory issues) 2010-06-11 08:53:31 +00:00
Ulf Wendel afcb62ba1e Fixing tests 2010-06-10 13:40:13 +00:00
Andrey Hristov 7aaef918a6 export mysqlnd_globals_id, per Johannes 2010-06-10 12:24:03 +00:00
Ilia Alshanetsky 90906a91e9 Added inTransaction() method to PDO, with specialized support for Postgres 2010-06-10 12:11:19 +00:00
Dmitry Stogov 2c0763aeb4 Fixed bug #51822i (Segfault with strange __destruct() for static class variables) 2010-06-10 11:45:51 +00:00
Dmitry Stogov 748dd20476 Fixed bug #51822i (Segfault with strange __destruct() for static class variables) 2010-06-10 11:45:51 +00:00
Ilia Alshanetsky 9daa864c4f Added support for copy to/from array/file for pdo_pgsql extension.
# original patch by Denis Gasparin
2010-06-10 11:11:29 +00:00
Andrey Hristov e692080fc5 void functions return nothing 2010-06-10 09:37:58 +00:00
Dmitry Stogov cac310d87e Fixed bug #52001 (Memory allocation problems after using variable variables) 2010-06-10 09:13:22 +00:00
Christopher Jones 442fa8dc1b Explicitly use db-5.0 and don't default to db sym link 2010-06-09 17:33:44 +00:00
Ilia Alshanetsky f7d82d0e0d Fixed bug #52010 (open_basedir restrictions mismatch on vacuum command). 2010-06-09 16:04:54 +00:00
Ilia Alshanetsky 432acf6178 Fixed bug #51273 (Faultstring property does not exist when the faultstring is empty)
# Patch by dennis at transip dot nl
2010-06-09 15:48:22 +00:00
Ilia Alshanetsky 0d4720a61b Fixed bug #51273 (Faultstring property does not exist when the faultstring is empty)
# Patch by dennis at transip dot nl
2010-06-09 15:48:22 +00:00
Pierre Joye 9e5313fdca - [DOC] MFH: add session.entropy* support to windows 2010-06-08 22:30:16 +00:00
Pierre Joye 32447e4902 - restore previous setting 2010-06-08 22:27:14 +00:00
Sriram Natarajan 708cd15924 - Fixed Bug #51168 (fails to compile with Sun Studio)
# C99 standard supports inline keyword and supported by
 # by major compilers like GCC, HP C, IBM C and Sun C
2010-06-08 21:23:48 +00:00
Sriram Natarajan dbddbb6e34 - Fixed Bug #51168 (fails to compile with Sun Studio)
# C99 standard supports inline keyword and supported by
 # by major compilers like GCC, HP C, IBM C and Sun C
2010-06-08 21:23:48 +00:00
Felipe Pena 178ee9325d - Fix order 2010-06-08 19:47:04 +00:00
Antony Dovgal 3c9e1e6d70 support both 'warn' and 'warning' as error levels 2010-06-08 18:59:11 +00:00
Pierre Joye 73a413bdea - use new function to get random bytes 2010-06-08 18:27:23 +00:00
Pierre Joye 481f77890d - WS 2010-06-08 18:26:03 +00:00
Ulf Wendel 20f6aaeca9 Make the tests pass with sql strict mode enabled 2010-06-08 15:47:51 +00:00
Ulf Wendel aeae0d1bad Portability improvement 2010-06-08 14:57:10 +00:00
Ulf Wendel 3e5ac35bd9 Portability improvements 2010-06-08 14:29:05 +00:00
Pierre Joye 761dbeedbb - duplicate entry 2010-06-08 13:48:02 +00:00
Pierre Joye f8b17007e0 - [DOC] add session.entropy* support to windows 2010-06-08 13:46:19 +00:00
Antony Dovgal 9badd4f0fb fix bug #50101 (name clash between global and local variable) 2010-06-08 13:27:30 +00:00
Ulf Wendel 6b1d256af5 More SQL strict mode updates 2010-06-08 13:05:49 +00:00
Pierre Joye 68cd943189 - add striped down version of RNG layer to have a reliable random src on windows 2010-06-08 13:00:54 +00:00
Pierre Joye 5afc8e2c83 - add striped down version of RNG layer to have a reliable random src on windows 2010-06-08 13:00:11 +00:00
Antony Dovgal ae01c146d1 fix bug #51276 (php_load_extension() is missing when HAVE_LIBDL is undefined) 2010-06-08 12:54:11 +00:00
Antony Dovgal a8be1c1d4b fix micro-memleaks (happened once per process) 2010-06-08 12:02:55 +00:00
Ulf Wendel 0fb528edee Making tests pass strict sql mode. 2010-06-08 10:55:12 +00:00
Felipe Pena b65a473efb - Let's generate this #ifdef only on zend_vm_execute.h 2010-06-07 23:04:30 +00:00
Felipe Pena d78fb2b14a - Fix script 2010-06-07 14:37:35 +00:00
Pierre Joye 6d1d27bc3a - show the free_op1 warning only once, until a fix is applied 2010-06-07 01:37:59 +00:00
Pierre Joye 707980c2be - show the free_op1 warning only once, until a fix is applied 2010-06-06 20:32:51 +00:00
Pierre Joye badf05a8ea - silent warning (unary minus operator applied to unsigned type) 2010-06-06 15:28:30 +00:00
Pierre Joye b690b940ca - label only used when mmap is available 2010-06-06 12:32:25 +00:00
Christopher Jones 4a80c7f0a5 New test for file_exists (bug #39863). It currently xfail's 2010-06-05 19:44:48 +00:00
Christopher Jones 5441c86936 New test for file_exists (bug #39863). It currently xfail's 2010-06-05 19:44:48 +00:00
Felipe Pena 73f91cbbb1 - Fix tests 2010-06-05 15:37:25 +00:00
Felipe Pena 81b03712d2 - Fix wrong zval_ptr_dtor call 2010-06-05 15:25:18 +00:00
Felipe Pena a14dd7502b - Fixed bug #51991 (spl_autoload and *nix support with namespace) 2010-06-04 00:10:15 +00:00
Felipe Pena c42d8b3776 - Fix proto and argname 2010-06-03 18:39:21 +00:00
Felipe Pena 7deae5022d - Added ZipArchive arginfo 2010-06-03 18:23:14 +00:00
Christopher Jones 9ef6a73dee Add Berkeley DB 5 support. (An outstanding issue with BDB 4.8 related to 51086 that also affects BDB 5 is not yet resolved) 2010-06-03 07:03:05 +00:00
Felipe Pena b56a3804fd - Fix memleak when passing a non string/object parameter 2010-06-03 00:43:37 +00:00
Felipe Pena 8454cca44c - Fix memleak when passing a non string/object parameter 2010-06-03 00:43:37 +00:00
Rasmus Lerdorf 281a546df9 vim fail 2010-06-02 19:26:10 +00:00
Rasmus Lerdorf a259f797bf vim fail 2010-06-02 19:26:10 +00:00
Rasmus Lerdorf c7d29533a1 Tweak the fix for bug #51847 to still call libintl_setlocale
when libintl has done that redefine.
2010-06-02 19:24:36 +00:00
Rasmus Lerdorf 6ba6263817 Tweak the fix for bug #51847 to still call libintl_setlocale
when libintl has done that redefine.
2010-06-02 19:24:36 +00:00
Pierre Joye 24ef65019f - silent warning 2010-06-02 19:20:04 +00:00
Pierre Joye c453a8fcda - fix leak on error in mcrypt_create_iv on windows 2010-06-02 15:27:38 +00:00
Pierre Joye 7c1d43dd95 - allow shared build 2010-06-02 10:00:58 +00:00
Rasmus Lerdorf 83e13b2f2b Fix for bug #51847
Someone in libintl world decided it was a good idea to do:

#undef setlocale
#define setlocale libintl_setlocale

That means, of course, that any use of "setlocale" by the
preprocessor now becomes libintl_setlocale which means we
no longer have a _zif_setlocale symbol in string.o, but we
magically have a _zif_libintl_setlocale symbol.  The linker
is obviously not very happy about this when basic_functions.o
tries to find _zif_setlocale.

So, let's not do that again.
2010-06-02 05:53:13 +00:00
Rasmus Lerdorf d4cca6da93 Fix for bug #51847
Someone in libintl world decided it was a good idea to do:

#undef setlocale
#define setlocale libintl_setlocale

That means, of course, that any use of "setlocale" by the
preprocessor now becomes libintl_setlocale which means we
no longer have a _zif_setlocale symbol in string.o, but we
magically have a _zif_libintl_setlocale symbol.  The linker
is obviously not very happy about this when basic_functions.o
tries to find _zif_setlocale.

So, let's not do that again.
2010-06-02 05:53:13 +00:00
Johannes Schlüter d7b1fa9d35 Berkeley DB 5's SQL frontend gives a slightly different error than libsqlite 2010-06-01 16:39:36 +00:00
Andrey Hristov 4a0b4494d4 defensive programming, check before using a resource 2010-06-01 14:16:27 +00:00
Andrey Hristov 41406516b6 Perform later initialization 2010-06-01 09:47:46 +00:00
Andrey Hristov 2a043ed2d3 More check for valid MYSQLND_STMT before using it 2010-05-31 18:26:19 +00:00
Andrey Hristov 38f6c131e5 Don't reference row_packet before checking if dereferencing is possible 2010-05-31 18:18:37 +00:00
Andrey Hristov b472636375 Check if data is correct and initialize in a safe manner 2010-05-31 18:10:25 +00:00
Andrey Hristov 047d6f2855 Handle problems in the row_decoder, return type used to be void,
now it can return on problems.
2010-05-31 17:57:03 +00:00
Andrey Hristov b61d7501c9 Bail if allocation fails 2010-05-31 17:09:13 +00:00
Andrey Hristov 4cd5db922b Fix test 2010-05-31 16:53:33 +00:00
Andrey Hristov cf140b3bf7 try to workaround problems with non-c99 on HPUX 2010-05-31 16:51:03 +00:00
Ulf Wendel c0a8ce2f61 Updating test to reflect the latest and more verbose mysqlnd error messages, updating mysqlnd error message as well. 2010-05-31 13:56:42 +00:00
Ulf Wendel 0ab82cecc2 Fixing test - see also gcov results 2010-05-31 13:28:15 +00:00
Ulf Wendel 9b334da667 Fixing test - make sure it checks the same conditions for libmysql and mysqlnd 2010-05-31 12:55:59 +00:00
Ulf Wendel fb80ebe102 Fixing test 2010-05-31 12:22:48 +00:00
Ulf Wendel 4b5666a539 Fixing mysqli_stmt_attr_set @ libmysql 2010-05-31 12:10:04 +00:00
Ulf Wendel 2613069cd4 Improve EXPECTF to work with other than default schemata 2010-05-31 10:52:14 +00:00
Pierre Joye 46c0f21386 - Added recent Windows versions to php_uname and fix undefined windows version 2010-05-30 07:46:45 +00:00
Pierre Joye e2d9e0ae70 - ws 2010-05-30 07:36:19 +00:00
Jérôme Loyet dbe35d87d6 fix commit 299383 2010-05-29 22:00:43 +00:00
Jérôme Loyet e750930899 typo (thx to Brian P. Mercer) 2010-05-29 10:39:35 +00:00
Dmitry Stogov 54caf22325 Fixed bug #50976 (Soap headers Authorization not allowed) 2010-05-28 12:18:03 +00:00
Dmitry Stogov c554397e1a Fixed bug #50762 (in WSDL mode Soap Header handler function only being called if defined in WSDL). (mephius at gmail dot com) 2010-05-28 10:52:16 +00:00
Dmitry Stogov 42d25dc2b2 Fixed bug #50762 (in WSDL mode Soap Header handler function only being called if defined in WSDL). (mephius at gmail dot com) 2010-05-28 10:52:16 +00:00
Johannes Schlüter 901fc6f3a4 These files talk about PHP 3, flex, CVS, ... interesting to archeologists only 2010-05-27 23:12:44 +00:00
Johannes Schlüter 9cfcc89a0b Update EXTENSIONS file 2010-05-27 23:08:39 +00:00
Johannes Schlüter 435405f5da Update credits 2010-05-27 22:51:28 +00:00
Johannes Schlüter bb3faf2d25 Make the credits script more verbose 2010-05-27 22:50:31 +00:00
Johannes Schlüter a622dd6bfb From user's perspective this was added 2010-05-27 22:41:36 +00:00
Jérôme Loyet 66ef4d185c bug: include paths were not evaluated to to full path 2010-05-27 22:31:28 +00:00
Jérôme Loyet ce03ced4d7 typo 2010-05-27 22:18:58 +00:00
Ulf Wendel ba6ee3fc06 Open server bug: mysqlnd works around it, libmysql fails. Let's skip because MySQL Server version tests are tricky and error prone. 2010-05-27 13:01:17 +00:00
Andrey Hristov 3aa95c59cc Check before use, because mysqlnd can return NULL
and this will crash. However, this can happen only in case of OOM.
2010-05-27 12:44:10 +00:00
Andrey Hristov 6ebe80be5d Don't use NULL pointer, always check before use 2010-05-27 12:39:12 +00:00
Ulf Wendel 6356bcbbb9 Test fixes and updates to work with a wider range of MySQL server configs 2010-05-27 12:09:39 +00:00
Andrey Hristov ce2fbe1931 Fix possible crashes, in case of OOM, due to half-baken
objects.
2010-05-27 12:05:02 +00:00
Andrey Hristov 5efee3d587 Fix crashes in the allocator in case of OOM. 2010-05-27 12:00:48 +00:00
Andrey Hristov b7385f02fd Fix deallocation which can crash if the object is half-baken.
Happens during OOM.
2010-05-27 08:51:46 +00:00
Antony Dovgal 4d005a8e65 merge FPM SAPI from trunk (as agreed with Johannes) 2010-05-26 15:14:43 +00:00
Andrey Hristov ce136a825c Don't use conn->net without checking if it is NULL, because
it can be NULL in OOM conditions. This would cause a crash.
2010-05-26 13:47:43 +00:00
Andrey Hristov 0d468290be Fix test 2010-05-26 13:36:49 +00:00
Andrey Hristov d6458c3b1e Add checks to check the underlying pointer in the resource.
It can happen that the underlying pointer is freed (like in
the case of connection reconnect), and then it cannot be allocated
anymore, which means that NULL will be used consequently by the
functions that fetch the resource and the crash is immediate.
2010-05-26 07:28:43 +00:00
Felipe Pena 00191c3c34 - Fixed bug #51899 (Parse error in parse_ini_file() function when empy value followed by no newline) 2010-05-26 02:18:17 +00:00
Felipe Pena f17687150b - Fixed bug #51905 (ReflectionParameter fails if default value is an array with an access to self::) 2010-05-26 00:00:58 +00:00
Felipe Pena c4be9c3890 - Fixed bug #51905 (ReflectionParameter fails if default value is an array with an access to self::) 2010-05-26 00:00:58 +00:00
Andrey Hristov 58f13c3c9f Handle the situation when MYSQLND_PROTOCOL's methods return NULL.
mysqlnd should not crash but gracefully return with an error.
2010-05-25 23:18:13 +00:00
Andrey Hristov bccf2cea5d Handle the situation when mysql_init()/mysqlnd_init()
return NULL. It is a rare case of OOM but PHP shouldn't crash, if possible.
2010-05-25 22:55:10 +00:00
Felipe Pena bb43ac40d2 - Fixed bug #51911 (ReflectionParameter::getDefaultValue() memory leaks with constant array) 2010-05-25 22:46:17 +00:00
Felipe Pena f3009cb596 - Fixed bug #51911 (ReflectionParameter::getDefaultValue() memory leaks with constant array) 2010-05-25 22:46:17 +00:00
Andrey Hristov c5ff0eb5b8 Gracefully handle OOM in mysqlnd_stmt_init. Release the handle
and return NULL.
2010-05-25 22:42:25 +00:00
Andrey Hristov bcdc3b30f7 Init should return status value because initialization can fail.
In this case mysqlnd_init() should return NULL to the end-user.
2010-05-25 22:40:47 +00:00
Andrey Hristov 621cdd9019 Use the specialized macro for this case 2010-05-25 22:38:11 +00:00
Andrey Hristov c389adb96a Use only memory that has been allocated 2010-05-25 22:36:33 +00:00
Andrey Hristov 4abc7a1e69 Access memory which was really allocated 2010-05-25 22:34:47 +00:00
Andrey Hristov 348880ce66 Fix shared build 2010-05-25 21:54:21 +00:00
Andrey Hristov 337513ffa0 Handle OOM in the code that generates PS Execute requests
to the server. Fixes crashes in case of OOM.
2010-05-25 19:19:29 +00:00
Andrey Hristov ed4ce335d8 Fix metadata duplicatin which wasn't crash-safe in case of OOM. 2010-05-25 18:14:37 +00:00
Rasmus Lerdorf 5583cd237f Check for -1 as well here 2010-05-24 23:52:11 +00:00
Rasmus Lerdorf 159369c68c Let's have a sane error message here instead of some cryptic zlib error 2010-05-24 23:27:39 +00:00
Andrey Hristov 29c99daa0f Check set->data for validity before using it.
Prevents crashes after OOM.
2010-05-21 13:37:18 +00:00
Andrey Hristov ef1eeff882 When OOM hits the wire, don't crash. 2010-05-21 13:06:52 +00:00
Andrey Hristov 9c90bf42c1 Fix for Bug #51870
PDO::fetchAll after a PDO::execute with bindings lead to a segv.

It is only in unreleased code and thus doesn't deserve a NEWS entry
2010-05-21 11:09:28 +00:00
Ilia Alshanetsky ea3a6539dc Added support for JSON_NUMERIC_CHECK option in json_encode() that converts
numeric strings to integers.
2010-05-20 19:37:52 +00:00
Christopher Jones 3bdc7518a2 New current()/next() test 2010-05-20 17:55:58 +00:00
Felipe Pena b4500e9b85 - Added arginfo 2010-05-20 17:28:16 +00:00
Antony Dovgal 797bb31e24 fix ZTS build 2010-05-20 11:20:44 +00:00
Sara Golemon 2655e63e10 MFH: Add IV to openssl_(en|de)crypt()
Add openssl_cipher_iv_length()
2010-05-19 21:18:16 +00:00
Michael Wallner 60c236be92 * fixed bug #47842 sscanf() does not support 64-bit values 2010-05-19 11:28:08 +00:00
Pierre Joye 0d47dff287 - #51854, fix logic (patch by Tjerk) 2010-05-18 19:39:39 +00:00
Andrey Hristov c91c86b743 Remove duplicated code.
Use one centralized functions for data extraction.
2010-05-18 11:50:31 +00:00
Michael Wallner 8a402bf368 fix typo 2010-05-18 08:02:10 +00:00
Michael Wallner f4994234e2 add missing news about backlog socket context option for stream_socket_server() 2010-05-18 07:49:15 +00:00
Michael Wallner a1de9f382a * fixed bug #49819: STDOUT losing data with posix_isatty() 2010-05-18 07:25:29 +00:00
Pierre Joye 50a1b1d06c - #43233 2010-05-17 20:22:20 +00:00
Pierre Joye 57cfa703bf - #43233, sasl support for ldap on windows 2010-05-17 20:09:42 +00:00
Pierre Joye df59ed1c11 - 51844 2010-05-17 18:56:43 +00:00
Pierre Joye a22cd02f2f - #51844, checkdnsrr does not support types other than MX 2010-05-17 18:55:35 +00:00
Dmitry Stogov 059e2be153 Fixed a possible crash because of recursive GC invocation 2010-05-17 07:50:33 +00:00
Rasmus Lerdorf 9db78b574b typo 2010-05-15 15:37:18 +00:00
Felipe Pena c9fc939be0 - Fixed bug #51827 (Bad warning when register_shutdown_function called with wrong num of parameters) 2010-05-14 23:48:03 +00:00
Andrey Hristov e3be1e0bea result_meta local storage 2010-05-14 16:42:17 +00:00
Andrey Hristov c881ee30ea Allow overloading of mysqlnd_result_meta_init().
Add free space for future hooks.
2010-05-14 15:11:56 +00:00
Andrey Hristov 34ffc8a6c4 Export MYSQLND_PROTOCOL methods 2010-05-14 13:32:27 +00:00
Andrey Hristov b86ebe46cb - 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 ce0ea97850 OOM fixes 2010-05-14 13:04:33 +00:00
Andrey Hristov a78fa3fcaf - 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 90f16527af Export the methods of MYSQLND_NET 2010-05-13 14:15:23 +00:00
Andrey Hristov aad53cbdec Export the result_metadata methods to external modules. 2010-05-13 11:16:11 +00:00
Andrey Hristov 87bac04bf1 Better fix for #51605 2010-05-13 11:05:09 +00:00
Dmitry Stogov 32a09f39be Fixed a possible resource destruction issues in shm_put_var() 2010-05-13 08:34:06 +00:00
Dmitry Stogov 24704df3a8 Fixed a possible memory corruption in ArrayObject::uasort() Reported by Stefan Esser 2010-05-13 08:09:54 +00:00
Felipe Pena a8cad398fc - Fixed bug #51791 (constant() aborts execution when fail to check undefined constant) 2010-05-13 02:13:30 +00:00
Christopher Jones c5a068e025 Errors using reserved words as methods 2010-05-12 21:34:32 +00:00
Dmitry Stogov 24a1dbabc8 Fixed a possible memory corruption in parse_str(). Reported by Stefan Esser 2010-05-12 11:32:25 +00:00
Dmitry Stogov f94a437d9d Fixed a possible information leak because of interruption of XOR operator 2010-05-12 11:10:06 +00:00
Dmitry Stogov 27ef344f2b Fixed a possible memory corruption in pack(). Reported by Stefan Esser 2010-05-12 11:04:57 +00:00
Michael Wallner ad15797925 Fixed bug #51725 (xmlrpc_get_type() returns true on invalid dates). (Mike) 2010-05-12 09:37:25 +00:00
Christopher Jones 87b4f2a79d Restructure into PHP/PECL/PEAR component areas (at the expense of duplication) 2010-05-11 18:25:44 +00:00
Dmitry Stogov c2b911a0ec Fixed bug #49893 (Crash while creating an instance of Zend_Mail_Storage_Pop3) 2010-05-11 16:09:43 +00:00
Andrey Hristov d3b7aaa3fc 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 d4828ccd23 here comes the news, too 2010-05-11 15:50:21 +00:00
Andrey Hristov ab232ebb09 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 fd6f3961f8 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
Raphael Geissert ec1478e8c2 Document CGI options in the manpage (bug #51718)
Patch by Daniel Egeberg
2010-05-11 15:07:31 +00:00
Raphael Geissert 7d4dde57d9 Document CGI options in the manpage (bug #51718)
Patch by Daniel Egeberg
2010-05-11 15:07:31 +00:00
Ilia Alshanetsky c7a553a7fb Removed double allocation of buffer inside openssl_random_pseudo_bytes() and cleanup code 2010-05-11 14:31:00 +00:00
Dmitry Stogov 57f8649eac Fixed a possible memory corruption in substr_replace() 2010-05-11 11:59:13 +00:00
Dmitry Stogov 5b18acdcc9 Fixed a possible memory corruption because of unexpected call-time pass by refernce and following memory clobbering through callbacks. 2010-05-11 10:41:19 +00:00
Andrey Hristov 962aa93ec7 Fix for bug #51605 (Mysqli zombie links) 2010-05-11 10:03:16 +00:00
Felipe Pena 0eec9e1932 - Fixed bug #51740 (acinclude.m4 macro PHP_CHECK_SIZEOF is not properly quoted)
Patch by: dave dot mulford at gmail dot com
2010-05-05 21:55:44 +00:00
Felipe Pena d787d545d2 - Fixed bug #51740 (acinclude.m4 macro PHP_CHECK_SIZEOF is not properly quoted)
Patch by: dave dot mulford at gmail dot com
2010-05-05 21:55:44 +00:00
Rob Richards 5c12e104ad fix bug #48601 (xpath() returns FALSE for legitimate query)
add test
2010-05-05 11:40:11 +00:00
Rob Richards 1e96fbe4a8 fix bug #48601 (xpath() returns FALSE for legitimate query)
add test
2010-05-05 11:40:11 +00:00
Dmitry Stogov 67cfe5fca1 Fixed bug #50698 (SoapClient should handle wsdls with some incompatiable endpoints). (Justin Dearing) 2010-05-05 07:43:45 +00:00
Dmitry Stogov 6597e85562 Fixed bug #50698 (SoapClient should handle wsdls with some incompatiable endpoints). (Justin Dearing) 2010-05-05 07:43:45 +00:00
Rob Richards 617e8a4f8c fix bug #49490 (XPath namespace prefix conflict)
add test
2010-05-04 15:41:49 +00:00
Derick Rethans 7cf3911cb8 - 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 ebae62d7c4 OOM stability fixes 2010-05-04 14:02:42 +00:00
Andrey Hristov 04d24bde20 Add possibility to control the allocator in when PHP is compiled
with debug
2010-05-04 13:49:43 +00:00
Rob Richards 3860164101 fix bug #51721 (mark DOMNodeList and DOMNamedNodeMap as Traversable) 2010-05-04 12:55:26 +00:00
Adam Harvey e32090a163 Fix misordered news item. 2010-05-04 11:59:54 +00:00
Adam Harvey a44f1c17bc 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 73ddb79613 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 9d67273740 Well, as long as we're dealing with typos... :) 2010-05-04 11:01:46 +00:00
Felipe Pena f8b1db2d0d - Fix typo 2010-05-04 10:59:26 +00:00
Pierre Joye af567e7d54 - fix build 2010-05-04 09:51:03 +00:00
Adam Harvey e0e0147003 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 fdf0395e49 - Fixed bug #51732, Fileinfo __construct or open does not work with NULL 2010-05-04 08:48:58 +00:00
Dmitry Stogov 3a15e98155 Fixed a possible memory corruption in addcslashes(). 2010-05-04 08:02:51 +00:00
Pierre Joye 08b100677e - revert #51273 2010-05-03 19:53:02 +00:00
Pierre Joye 11040eae16 - revert fix for #51723 in 5.2, vc6 does not support strtoi64, use builtin functioon in 5.3 (trunk is vc9+ only) 2010-05-03 19:51:59 +00:00
Andrey Hristov 6202b46f2a Handle OOM in mysqlnd_res::store_result_fetch_data 2010-05-03 19:32:07 +00:00
Pierre Joye 55320ca1b8 - fix build (declaration must be first) 2010-05-03 19:29:05 +00:00
Andrey Hristov cac3520882 Handle OOM in mysqlnd_fetch_row_buffered_c() 2010-05-03 19:09:45 +00:00
Pierre Joye 90f3d470c3 - revert as vc6 does not support strtoi64, update to 5.3 will be the fix 2010-05-03 19:08:26 +00:00
Andrey Hristov 4a8d751cff Handle OOM in mysqlnd_fetch_row_unbuffered_c() 2010-05-03 19:02:48 +00:00
Andrey Hristov d0cef550a3 Handle OOM stemming from mysqlnd_result_init in the same
function and up the stack.
2010-05-03 18:50:47 +00:00
Pierre Joye e779300748 - #51273, Content-length header is limited to 32bit integer with apache2/windows 2010-05-03 17:47:58 +00:00
Pierre Joye 43f4d46cb3 - #51273, Content-length header is limited to 32bit integer with apache2/windows 2010-05-03 17:47:58 +00:00
Andrey Hristov 6dff9e55be Handle gracefully OOM in mysqlnd_mempool_create and up the stack 2010-05-03 17:07:18 +00:00
Felipe Pena e37b16bbd6 - Replaced 'zend_hash_find' to 'zend_hash_quick_find' on zend_hash_compare() function 2010-05-03 16:36:04 +00:00
Felipe Pena 44bcdeeb77 - Replaced 'zend_hash_find' to 'zend_hash_quick_find' on zend_hash_compare() function 2010-05-03 16:36:04 +00:00
Andrey Hristov f9fe805abe 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 864f2da733 Remove unused parameter 2010-05-03 16:09:05 +00:00
Ilia Alshanetsky 813e3cf14d Fixed bug #51690 (Phar::setStub looks for case-sensitive __HALT_COMPILER()) 2010-05-03 14:41:40 +00:00
Pierre Joye cbe5199c42 - WS 2010-05-03 14:29:07 +00:00
Andrey Hristov 88bf630798 One more case to handle in case of OOM, in block_alloc_resize_chunk 2010-05-03 14:26:08 +00:00
Andrey Hristov de4a5156e6 Handle OOM when resizing blocks during data fetch 2010-05-03 14:16:04 +00:00
Andrey Hristov 8fd0407b3a Fix compiler warnings - unused functions 2010-05-03 13:51:30 +00:00
Andrey Hristov d0abd9510e Better handing of OOM in mysqlnd::set_client_option 2010-05-03 13:45:58 +00:00
Pierre Joye 0871df60a3 - update bison version (mike) 2010-05-03 09:05:30 +00:00
Felipe Pena 151fc3b7c0 - Revert accidental changes 2010-05-02 20:11:22 +00:00
Ilia Alshanetsky c3d73d417a - Fixed a possible stack exaustion inside fnmatch(). Reporeted by Stefan Esser 2010-05-02 19:34:21 +00:00
Ilia Alshanetsky 90c336026e - Fixed a possible stack exaustion inside fnmatch(). Reporeted by Stefan Esser 2010-05-02 19:34:21 +00:00
Raphael Geissert eca9e10bc0 Fix bug in unaligned memory access fix 2010-05-02 05:01:51 +00:00
Raphael Geissert 803869d6ff Fix unaligned memory accesses in enchant (bug #51289) 2010-05-01 23:32:40 +00:00
Felipe Pena dd3a994c75 - Fixed bug #51719 (typo in function prototype) 2010-05-01 18:54:49 +00:00
Felipe Pena 2b0464c3a9 - Fixed bug #51719 (typo in function prototype) 2010-05-01 18:54:49 +00:00
Raphael Geissert 9fda15e2ba Fix another typo s/exlcusive/exclusive 2010-05-01 18:30:38 +00:00
Raphael Geissert b373d8e184 Fix another typo s/exlcusive/exclusive 2010-05-01 18:30:38 +00:00
Raphael Geissert f4ee6c0a8e Fix typos s/connnection/connection 2010-05-01 18:27:42 +00:00
Raphael Geissert 174d2528b1 Fix typos s/connnection/connection 2010-05-01 18:27:42 +00:00
Pierre Joye 91bcba0343 - Fix #51688, ini per dir crashes when invalid document root are given 2010-04-30 08:15:09 +00:00
Andrey Hristov a3168a398c 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
Andrey Hristov 2c38266536 Fix valgrind warning, usage of nirvana memory 2010-04-29 15:17:44 +00:00
Andrey Hristov b72437494b Add a test case for the recently fixed memleak 2010-04-29 13:19:57 +00:00
Andrey Hristov fa40847263 Fix possible crashes in case of OOM, as well as a leak. 2010-04-29 13:13:41 +00:00
Andrey Hristov 16e4bd5d58 Try blob columns instead of int, and insert a lot of data at once 2010-04-29 12:07:02 +00:00
Andrey Hristov 9b468d9577 Fix crash if OOM and USE_ZEND_ALLOC=0 2010-04-29 11:49:08 +00:00
Christopher Jones c033a81b50 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
Derick Rethans e7fb6837b4 - Updated to version 2010.9 (2010i) 2010-04-28 23:03:36 +00:00
Derick Rethans 9d24798b38 - Updated to version 2010.9 (2010i) 2010-04-28 23:03:36 +00:00
Pierre Joye f4735e72e4 - we don't need that anymore 2010-04-28 22:25:31 +00:00
Christopher Jones 9b3e080098 Mask schemaname in error messages 2010-04-28 17:26:59 +00:00
Andrey Hristov ad4b429633 Fixed few buffer overflows reported by Stefan Esser. 2010-04-28 15:35:52 +00:00
Pierre Joye 7a3d3323b9 - - Fixed #51128, imagefill() doesn't work with large images 2010-04-28 14:35:42 +00:00
Pierre Joye 0688e6ef01 - - Fixed #51128, imagefill() doesn't work with large images 2010-04-28 14:35:42 +00:00
Pierre Joye 17f5a9d2a2 - fix possible Dechunking Filter Buffer Overflow 2010-04-28 14:10:01 +00:00
Andrey Hristov 1838fcc7b0 const-ify fields 2010-04-28 12:29:13 +00:00
Ilia Alshanetsky 5fa3f0b849 Fixed a possible arbitrary memory access inside sqlite extension. Reported by Mateusz Kocielski. 2010-04-28 12:10:10 +00:00
Ilia Alshanetsky 5031bfc395 Fixed a possible arbitrary memory access inside sqlite extension. Reported by Mateusz Kocielski. 2010-04-28 12:10:10 +00:00
Pierre Joye 45c13817be - Fix #51671, imagefill does not work correctly for small images 2010-04-28 08:23:44 +00:00
Pierre Joye 07446082c8 - Fix #51671, imagefill does not work correctly for small images 2010-04-28 08:23:44 +00:00
Pierre Joye da97b79aa6 - WS 2010-04-28 08:04:52 +00:00
Pierre Joye eaab2fbc4b - WS 2010-04-28 08:04:52 +00:00
Ilia Alshanetsky 7174b6ec78 Fixed string format validation inside phar extension. Reported by Stefan Esser 2010-04-27 17:13:24 +00:00
Andrey Hristov 3d900d4cad Fixed very rare memory leak in mysqlnd, when binding thousands of columns 2010-04-27 12:32:34 +00:00
Andrey Hristov eba793fa1f Of course, 64*4 is 256, not 1024 2010-04-27 11:02:51 +00:00
Andrey Hristov be5920b3e9 Move the macro to mysqlnd_enum_n_def.h, because it can be reused
in other places. Also, premultiply the values by 4 and add some
reserve for future releases of the server.
2010-04-27 10:53:27 +00:00
Etienne Kneuss a5d361e3ea Fixed #48361 (SplFileInfo::getPathName() should return the parent 2010-04-27 08:56:01 +00:00
Andrey Hristov 8525f7bb02 Test case for the buffer overflow in mysqlnd_change_user 2010-04-27 08:45:23 +00:00
Andrey Hristov 5bb74e6562 Fixed buffer overflow in mysqlnd_change_user 2010-04-27 08:26:24 +00:00
Hannes Magnusson 3283b811eb - Unifiy that message
- Mention php.ini
2010-04-27 08:23:25 +00:00
Hannes Magnusson 257a192095 Fix test 2010-04-27 08:17:17 +00:00
Andrey Hristov c92c788c85 Fixed possible buffer overflow in mysqlnd_conn__list_fields. 2010-04-27 08:02:08 +00:00
Etienne Kneuss 6edecbf5d9 Fix #51374 (Wrongly initialized object properties) 2010-04-27 05:58:39 +00:00
Etienne Kneuss c200eeeb61 Fix #51374 (Wrongly initialized object properties) 2010-04-27 05:58:39 +00:00
Pierrick Charron 3f159fb7d8 Fixed bug #51670 getColumnMeta causes segfault when re-executing query after calling nextRowset 2010-04-27 05:56:56 +00:00
Pierrick Charron 8f128b2b13 Fixed bug #51670 getColumnMeta causes segfault when re-executing query after calling nextRowset 2010-04-27 05:56:56 +00:00
Etienne Kneuss e9237c98d7 Merge fix for #51532 2010-04-27 05:03:17 +00:00
Etienne Kneuss a3e9455945 Fix #49723 (Skip seek when unnecessary) 2010-04-27 04:58:44 +00:00
Etienne Kneuss 9f16874a53 Fix #49723 (Skip seek when unnecessary) 2010-04-27 04:57:48 +00:00
Etienne Kneuss 10de8803f7 Fix #49723 (Skip seek when unnecessary) 2010-04-27 04:57:48 +00:00
Kalle Sommer Nielsen cb30330800 Merge safe_mode changes into extensions that are in sync in both branches 2010-04-26 23:55:03 +00:00
Ilia Alshanetsky a1db561d6b Fixed handling of session variable serialization on certain prefix characters. Reported by Stefan Esser 2010-04-26 18:35:54 +00:00
Ilia Alshanetsky 64f372fae2 Fixed handling of session variable serialization on certain prefix characters. Reported by Stefan Esser 2010-04-26 18:35:54 +00:00
Pierre Joye 0f88851e92 - Fix #51582, Don't assume UINT64_C it's ever available 2010-04-26 10:34:53 +00:00
Felipe Pena 72ede78ebb - BFN #51624 2010-04-25 23:25:15 +00:00
Hannes Magnusson 267b5cea14 mention which setting! 2010-04-25 18:55:06 +00:00
Etienne Kneuss eb88d58e6c Fix #51532 (Invalid prototype for SplFileInfo::fscanf) 2010-04-25 05:18:42 +00:00
Felipe Pena 7248900b87 - Fixed memory leak 2010-04-24 16:59:09 +00:00
Felipe Pena 1c0ed3433e - Fixed memory leak 2010-04-24 16:59:09 +00:00
Christopher Jones eb0a3ff1af Initialize vars to prevent valgrind warnings in some cases 2010-04-24 00:44:56 +00:00
Andrey Hristov af6dd192b3 Fix for bug #51647 Certificate file without private key (pk in another file) doesn't work 2010-04-23 13:54:40 +00:00
Felipe Pena 36bc835bce - Fixed compiler warnings 2010-04-23 13:32:03 +00:00
Felipe Pena a5142d18cb - Fixed compiler warnings 2010-04-23 13:32:03 +00:00
Felipe Pena e86710ce11 - Fixed bug #51435 (Missing ifdefs / logic bug in crypt code cause compile errors) 2010-04-22 20:54:35 +00:00
Andrey Hristov 4842f96e2d Change the way the allocator is called - through an abstraction
to give the possibility of pluggability. Thanks to the macros
already used the changes are not pervasive.
2010-04-22 16:28:50 +00:00
Andrey Hristov 5431f235db Fix problem spotted by Felipe. 2010-04-22 16:22:56 +00:00
Antony Dovgal c996aea40d revert most of the Andrey's patch that causes segfaults
(as agreed with Pierre)
2010-04-22 15:59:44 +00:00
Andrey Hristov f71444c756 adding what last commit was missing 2010-04-22 15:14:45 +00:00
Andrey Hristov 34e56fea0b Remove dead code and add possibility to fine tune the size of
a mempool (used for result sets).
2010-04-22 15:07:40 +00:00
Andrey Hristov 2556733787 Add the posibility to switch off the compilation of statistics
collection, for those who want to optimize the last percent of their
binaries.
2010-04-22 13:03:44 +00:00
Antony Dovgal a1f753c8e3 initialize variable. this code still segfaults in OpenSSL, no idea why 2010-04-22 11:56:08 +00:00
Pierre Joye c3484056ed - Bug #51629, CURLOPT_FOLLOWLOCATION error message is misleading 2010-04-22 11:49:10 +00:00
Pierre Joye edc961cc66 - Bug #51629, CURLOPT_FOLLOWLOCATION error message is misleading 2010-04-22 11:49:10 +00:00
Pierre Joye 033d28b5d5 - Bug #51629, CURLOPT_FOLLOWLOCATION error message is misleading 2010-04-22 08:58:07 +00:00
Pierre Joye 0fecc8c6a0 - Bug #51629, CURLOPT_FOLLOWLOCATION error message is misleading 2010-04-22 08:58:07 +00:00
Adam Harvey a3de8acb21 Fix for bug #51604 (newline in end of header is shown in start of message).
Patch by Daniel Egeberg.
2010-04-22 02:22:49 +00:00
Adam Harvey 592daf8453 Fix for bug #51604 (newline in end of header is shown in start of message).
Patch by Daniel Egeberg.
2010-04-22 02:22:49 +00:00
Felipe Pena ab81ddd1de - Changed order to FR 2010-04-21 22:30:06 +00:00
Felipe Pena ee185c604a - Fixed bug #51627 (script path not correctly evaluated)
Patch by: russell dot tempero at rightnow dot com
2010-04-21 22:22:31 +00:00
Felipe Pena 8aa47cc57d - Fixed bug #51562 (query timeout in mssql can not be changed per query)
Patch by: ejsmont dot artur at gmail dot com
2010-04-21 14:19:27 +00:00
Felipe Pena 5a7786c63f - Fixed bug #51562 (query timeout in mssql can not be changed per query)
Patch by: ejsmont dot artur at gmail dot com
2010-04-21 14:19:27 +00:00
Felipe Pena f45c8ec761 - Fix mem. leak 2010-04-21 12:52:24 +00:00
Felipe Pena 45b68febe9 - Fix mem. leak 2010-04-21 12:52:24 +00:00
Felipe Pena b678abf579 - Fixed bug #51617 (PDO PGSQL still broken against PostGreSQL < 7.4)
# Just in this branch, as config.m4 in the 5_3 branch states that 7.4+ is required
2010-04-21 01:18:19 +00:00
Andrey Hristov 691522780f Hardening the reads of mysqlnd.
All packets but the row data packet are read into preallocated buffer,
either on the stack or on the heap (cmd_buffer). The size of the buffer
is always checked to skip buffer overruns. Only up to the size of the
buffer is stored into the buffer but packet->header.size has the size of
all data sent. In this case network layer bails.

This patch hardenes the reads, so if packets are malformed and shorter
than they should be there will be no further reads in the buffer.
In short, detection of malformed packets.
2010-04-20 20:02:32 +00:00
Andrey Hristov efa0077e08 put the trigger in the right place 2010-04-20 19:09:56 +00:00
Andrey Hristov 804b950562 It is possible that change user tries an user who has old password.
Instead of error message that doesn't say much there is more information now.
2010-04-20 18:04:24 +00:00
Felipe Pena 08a540afef - Improve test 2010-04-20 16:45:46 +00:00
Felipe Pena 0cbfc91628 - Improve test 2010-04-20 16:45:46 +00:00
Felipe Pena 247c85bbb6 - Fixed bug #51615 (PHP crash with wrong HTML in SimpleXML) 2010-04-20 16:24:21 +00:00
Felipe Pena df43d76e62 - Fixed bug #51615 (PHP crash with wrong HTML in SimpleXML) 2010-04-20 16:24:21 +00:00
Felipe Pena 4934e2f072 - Fixed bug #51607 (pg_copy_from does not allow schema in the tablename argument)
Patch by: cbandy at jbandy dot com
2010-04-20 15:59:01 +00:00
Felipe Pena 1efc049863 - Fixed bug #51607 (pg_copy_from does not allow schema in the tablename argument)
Patch by: cbandy at jbandy dot com
2010-04-20 15:59:01 +00:00
Dmitry Stogov 336e957951 Fixed bug #49700 (memory leaks in php_date.c if garbage collector is enabled) 2010-04-20 15:41:35 +00:00
Felipe Pena c4fa1da07a - Fixed bug #51609 (pg_copy_to: Invalid results when using fourth parameter) 2010-04-20 14:11:53 +00:00
Felipe Pena 5aedea7179 - Fixed bug #51609 (pg_copy_to: Invalid results when using fourth parameter) 2010-04-20 14:11:53 +00:00
Felipe Pena a175419f84 - Fix copyrights 2010-04-20 13:50:34 +00:00
Antony Dovgal 5d2f7ab843 fix build 2010-04-20 12:50:02 +00:00
Dmitry Stogov 4c252d805d Fixed bug #48781 (Cyclical garbage collector memory leak) 2010-04-20 12:30:35 +00:00
Felipe Pena d150a2a0b1 - Fixed bug #51608 (pg_copy_to: WARNING: nonstandard use of \\ in a string literal)
Patch by: cbandy at jbandy dot com
2010-04-20 11:49:23 +00:00
Felipe Pena 0b401e1289 - Fixed bug #51608 (pg_copy_to: WARNING: nonstandard use of \\ in a string literal)
Patch by: cbandy at jbandy dot com
2010-04-20 11:49:23 +00:00
Antony Dovgal 9c97c26832 fix infinite loop in the test 2010-04-20 10:04:26 +00:00
Adam Harvey 4b039d65ed Added explanatory comments to filter_input and filter_input_array to document
why some code that looks intuitively wrong is actually correct. Related to
bug #51344 (FILTER_NULL_ON_FAILURE flag automatically set in filter_input()
functions).
2010-04-20 04:31:11 +00:00
Adam Harvey b47136d332 Added explanatory comments to filter_input and filter_input_array to document
why some code that looks intuitively wrong is actually correct. Related to
bug #51344 (FILTER_NULL_ON_FAILURE flag automatically set in filter_input()
functions).
2010-04-20 04:31:11 +00:00
Stanislav Malyshev 8088be390f fix 64-bit integer overflow in mhash_keygen_s2k 2010-04-20 00:45:07 +00:00
Felipe Pena 45c090f3e7 - Fixed bug #51590 (JSON_ERROR_UTF8 is undefined) 2010-04-18 18:07:27 +00:00
Christopher Jones de174766f8 Add fix made previously 2010-04-16 22:34:25 +00:00
Christopher Jones 7a4b40efc5 Add attribution (thanks Felipe) 2010-04-16 22:06:52 +00:00
Christopher Jones a812818670 Fixed Bug #51577 (Uninitialized memory reference with oci_bind_array_by_name) 2010-04-16 20:36:40 +00:00
Christopher Jones e79a8d440e Merge Kalle's tidy-up from trunk to keep files in sync 2010-04-16 19:47:23 +00:00
Christopher Jones ff515d0ee4 Fix php.ini comment typo 2010-04-15 19:22:01 +00:00
Andrey Hristov 664b2389ca Last batch of int/uint comparison fixes 2010-04-15 15:58:26 +00:00
Andrey Hristov 76d64590b0 More int/uint comparison warning fixes 2010-04-15 15:53:58 +00:00
Andrey Hristov cdac2b4ecf Fix some int/uint comparison warnings 2010-04-15 15:28:00 +00:00
Andrey Hristov 6cc57e0d0d Remove unused file 2010-04-15 15:22:56 +00:00
Andrey Hristov 48e413eb28 more WS 2010-04-15 15:16:29 +00:00
Andrey Hristov 6aa682f564 CS + WS changes 2010-04-15 12:55:04 +00:00
Antony Dovgal 187a0d9b28 final fix for long opts in getopt() 2010-04-15 11:50:43 +00:00
Andrey Hristov dd9fc198ce Fix for bug#49234 method not found ssl_set
Patch was tested and compiles on Windows. (Thanks Kalle)
2010-04-15 11:01:30 +00:00
Antony Dovgal 2404c4c84f discard first TWO symbols of a long argument 2010-04-14 15:49:38 +00:00
Pierre Joye 632c03de71 - #35638, add udate to imap_fetch_overview 2010-04-14 09:45:37 +00:00
Antony Dovgal 913970cebf simplify configure check for nanosleep() 2010-04-13 12:41:46 +00:00
Pierre Joye 036c5f9f31 - begintransaction entry 2010-04-12 19:57:07 +00:00
Pierre Joye ebba322d54 - pdo::begintransaction entry 2010-04-12 19:56:57 +00:00
Ilia Alshanetsky 213e155713 Fixed bug #51512 (mb_send_mail* fail when mail.add_x_header is on by default) 2010-04-12 14:04:45 +00:00
Pierre Joye b298ed5b70 - [doc] merge stream_set_read_buffer, equivalent of stream_set_write_buffer for read operations. Fixing possible bad effects while reading devices 2010-04-12 13:10:05 +00:00
Rob Richards f53f94d24d fix bug #50828 (DOMNotation is not subclass of DOMNode) 2010-04-09 11:34:34 +00:00
Antony Dovgal dda73e99f2 make sure the actual length of the argument passed matches the
length of the argument declared
this fixes things like `php --zend-exten=1` or `php-fpm --fpm-con=conf`
2010-04-08 15:27:21 +00:00
Andrey Hristov 3bd2faff8c Fixint INT_AND_FLOAT_AS native. It was working ok on 64bit but
because on 32bit SIZEOF_LONG is 4 and INT64 from MySQL is 8 everything
was converted to string, even if it was able to put it in a long.
This closes Request #50651 Native type cast returns wrong result
2010-04-08 13:20:37 +00:00
Andrey Hristov be73f948d2 Fixing the second test 2010-04-08 13:18:52 +00:00
Andrey Hristov 48c3d20dd4 one more fix and both work with libmysql and mysqlnd 2010-04-08 10:53:38 +00:00
Antony Dovgal d2699793e0 fix build 2010-04-08 09:56:18 +00:00
Andrey Hristov 8338d48828 Fix for bug #51026 ssl not working 2010-04-08 09:01:21 +00:00
Pierre Joye 517d9bb1f2 - WS 2010-04-08 07:55:35 +00:00
Pierre Joye c4eafddbda - WS 2010-04-08 07:50:05 +00:00
Andrey Hristov 48392f04fa Another fix for the 16 chars user limitation of MySQL 2010-04-07 18:28:46 +00:00
Andrey Hristov 7670d2948d Fix test. The usernames in the server are 16 chars long 2010-04-07 18:05:42 +00:00
Andrey Hristov 798103d4e0 Fix the Windows build (void* arithmetic) as well as --disable-zlib
build.
2010-04-06 18:14:23 +00:00
Andrey Hristov dda0320c5c Stricly C 2010-04-06 14:33:55 +00:00
Antony Dovgal d7e716b8f0 fix typo 2010-04-06 13:42:21 +00:00
Andrey Hristov aa8f43fad9 Recommit with an Windows build fix:
Fix inconsistencies
- memory allocated with spprintf, or likes, outside of mysqlnd's
allocator functions should not be freed by the mysqlnd's allocator
(a wrapper around emalloc/malloc).
- memory allocated by the mysqlnd's allocator should only be freed
  by it.
- add a mode to track memory usage (malloc/free)
2010-04-06 13:28:23 +00:00
Stanislav Malyshev 5f11cd5693 change namespaced ctors - only __construct would work 2010-04-04 23:28:20 +00:00
Felipe Pena 2c6cdb410f - Fixed test 2010-04-04 17:39:26 +00:00
Felipe Pena 462580cd7d - Fix tests 2010-04-04 17:21:27 +00:00
Felipe Pena b0c99eedf7 - Fix tests 2010-04-04 17:21:27 +00:00
Felipe Pena 49a81742ef - Fix test 2010-04-04 16:57:44 +00:00
Felipe Pena 00ed3f7ca6 - Fixed tests 2010-04-03 16:21:15 +00:00
Felipe Pena 4d571dee74 - Fixed tests 2010-04-03 15:42:42 +00:00
Felipe Pena 91690a13e0 - Fixed bug #51445 (var_dump() invalid/slow *RECURSION* detection) 2010-04-02 21:44:09 +00:00
Felipe Pena a140e70661 - Fixed bug #51445 (var_dump() invalid/slow *RECURSION* detection) 2010-04-02 21:44:09 +00:00
Rob Richards 0758c8794d fix bug #48983 (DomDocument : saveHTMLFile wrong charset) 2010-04-02 20:08:15 +00:00
Rasmus Lerdorf 17542db25f Fix tests 2010-04-02 18:27:48 +00:00
Rasmus Lerdorf 9744284109 Fix tests 2010-04-02 18:27:48 +00:00
Rasmus Lerdorf 63bc90a304 Update the FILTER_VALIDATE_EMAIL filter to fix bug #49576 2010-04-02 17:56:37 +00:00
Rasmus Lerdorf 6d77506cfd Update the FILTER_VALIDATE_EMAIL filter to fix bug #49576 2010-04-02 17:56:37 +00:00
Rob Richards f1af56fb4e fix WS 2010-04-02 16:19:23 +00:00
Rob Richards 12b71200be re-apply bug fix #35673 (formatOutput does not work with saveHTML) from old trunk
add test
BFN
2010-04-02 16:15:06 +00:00
Stanislav Malyshev 44a5b8e459 fix #49192 - crash in GC when get_properties handler returns null 2010-04-01 22:54:03 +00:00
Pierre Joye 96e2651fa2 - revert revision 297277, break the builds (declaration must go 1st, size of void * and other known situations). Also Johannes, can you check that commit pls? Thought we were in bugs fixing only for 5.3 2010-04-01 20:21:50 +00:00
Stanislav Malyshev a3857fd963 fix #51394 - try harder to find script lineno when exception happens 2010-04-01 19:36:56 +00:00
Rasmus Lerdorf 8b1d84a6ce Add new full_special_chars filter to tests 2010-04-01 18:04:57 +00:00
Andrey Hristov f534df710e Fix inconsistencies
- memory allocated with spprintf, or likes, outside of mysqlnd's
allocator functions should not be freed by the mysqlnd's allocator
(a wrapper around emalloc/malloc).
- memory allocated by the mysqlnd's allocator should only be freed
  by it.
- add a mode to track memory usage (malloc/free)
2010-04-01 13:26:41 +00:00
Andrey Hristov a712d9cefb Better fix for bug #51347 mysqli_close / connection memory leak 2010-04-01 12:46:21 +00:00
Ilia Alshanetsky 4ba90d0807 On beginTransaction() reset error state 2010-04-01 12:08:55 +00:00
Ilia Alshanetsky c2e16d3c5b On beginTransaction() reset error state 2010-04-01 12:08:55 +00:00
Andrey Hristov 311ab2c822 Fixed bug #51347 mysqli_close / connection memory leak
Streams API registers every stream as resource, which lands then
in EG(regular_list), however doesn't clean that when the stream is
closed. At the end this is a para-leak. At the end of the script
all memory is cleaned, however this is a problem for long runnig
scripts that open connections. For every opened and closed connection
about 150 Bytes on 32bit and 250 Bytes on 64bit will be "lost",
according to memory_get_usage().
2010-04-01 11:50:24 +00:00
Pierre Joye 8fb5bf5405 - add it to 5.2 too, cannot hurt and will spare some work later with pcre&co 2010-04-01 10:52:28 +00:00
Pierre Joye d3a09a2fee - fix build 2010-04-01 10:38:21 +00:00
Pierre Joye 60176163f1 - fix build 2010-04-01 10:34:05 +00:00
Rasmus Lerdorf 61e72d1a40 Fix FILTER_VALIDATE_URL - Host names can't start with '.' or '-' 2010-03-31 23:56:30 +00:00
Rasmus Lerdorf b529350d4a Fix FILTER_VALIDATE_URL - Host names can't start with '.' or '-' 2010-03-31 23:56:30 +00:00
Rasmus Lerdorf a5b5743d71 full_special_chars filter from trunk - approved by johannes 2010-03-31 22:59:09 +00:00
Johannes Schlüter 1bc32d17f2 It's 2010 already 2010-03-30 21:09:07 +00:00
Johannes Schlüter 53d35553c6 It's 2010 already 2010-03-30 21:09:07 +00:00
Johannes Schlüter 4dc1cef4fe Use php_error_docref instead of zend_error 2010-03-30 21:02:32 +00:00
Ilia Alshanetsky 658fe1d0c3 Upgraded bundled sqlite to version 3.6.23.1 2010-03-30 11:52:25 +00:00
Derick Rethans edd382fe9f - Updated to version 2010.7 (2010g) 2010-03-29 17:22:53 +00:00
Derick Rethans 462399b78b - Updated to version 2010.7 (2010g) 2010-03-29 17:22:53 +00:00
Andrey Hristov 94cd357f5b Make it coupled - what is allocated with mnd_ should be freed
with mnd_ and vice versa.
Added mnd_pestrndup and mnd_pestrdup, which wrap the normal
calls to be able to track this calls.
Fixed some failing tests.
2010-03-29 17:04:16 +00:00
Ilia Alshanetsky b26e261e3c Upgraded bundled PCRE to version 8.02. 2010-03-29 11:58:06 +00:00
Ilia Alshanetsky e99039d692 Upgraded bundled PCRE to version 8.02. 2010-03-29 11:58:06 +00:00
Christopher Jones 3e58dee19a Fix #51220 by adding . Also improve reliability for tests using undefined behavior. 2010-03-26 19:38:26 +00:00
Andrey Hristov ec36ac1610 Fix tests that fail when the MySQL's socket file is not /tmp/mysql.sock
as it is in when compiled from source and the default for mysqlnd.
SuSE for example uses /var/run/mysql/mysql.sock . Also, sql.safe_mode
(ext/mysql and ingres) needs the socket.
Fix possible crashes in mysqlnd. When packets are shorter, functions should
return error.
2010-03-26 16:58:25 +00:00
Adam Harvey 82d44802be Backported the fix for bug #51393 (DateTime::createFromFormat() fails if format
string contains timezone) to PHP_5_2 per discussion with Derick.
2010-03-26 10:12:43 +00:00
Adam Harvey 53cfb3d53d Fixed bug #51393 (DateTime::createFromFormat() fails if format string contains timezone). 2010-03-26 04:31:26 +00:00
Stanislav Malyshev 252082192a fix the protos 2010-03-25 19:17:17 +00:00
Christopher Jones 1a6f4efbad Fixed bug #51291 (oci_error doesn't report last error when called two times) 2010-03-24 22:08:55 +00:00
Hannes Magnusson abd893a2ae Fix tests 2010-03-24 22:06:21 +00:00
Hannes Magnusson a1cce74e96 Fix test (the key can be negative) 2010-03-24 21:57:30 +00:00
Andrey Hristov 78887ff757 Fix a segfault when using a mysqli object after unsuccesssful connect, the
handle should have been allocated with mysqli_init().
2010-03-24 15:17:57 +00:00
Andrey Hristov 9f20131311 fix build failure after recent commit by Kalle 2010-03-24 10:06:42 +00:00
Takeshi Abe c358dff36f Fixed bug #51263 (imagettftext and rotated text uses wrong baseline) 2010-03-24 04:12:19 +00:00
Takeshi Abe a46e108b83 Fixed bug #51263 (imagettftext and rotated text uses wrong baseline) 2010-03-24 04:12:19 +00:00
Ilia Alshanetsky 13c05cf83c Added test for bug #51338 2010-03-23 11:51:38 +00:00
Ilia Alshanetsky 7c3ca34410 Fixed bug #51338 (URL-Rewriter is still enabled if use_only_cookies is on). 2010-03-22 12:16:45 +00:00
Felipe Pena a440b82b03 - BFN 2010-03-18 22:40:29 +00:00
Andrei Zmievski 5bbe0ee078 I am sorry I tried fixing PHP without extensive discussion on the mailing list.
I am sorry I tried fixing PHP without extensive discussion on the mailing list.
I am sorry I tried fixing PHP without extensive discussion on the mailing list.

Hope all the relevant parties are satisfied.
2010-03-18 22:37:25 +00:00
Felipe Pena fed2532180 Revert 290786: Fixed bug #49521 (PDO fetchObject sets values before calling constructor) 2010-03-18 22:07:51 +00:00
Andrei Zmievski 8316d437fa Fix a few problems with large (2G-4G) file uploads. Added
--enable-large-uploads-fix switch because one change was in SAPI.h structure.
2010-03-18 21:07:38 +00:00
Moriyoshi Koizumi 78e7cf04ca - Fix win32 build. (notified by Rob. Thanks) 2010-03-15 14:19:51 +00:00
Ilia Alshanetsky e27e18d6cd news update 2010-03-15 11:24:36 +00:00
Felipe Pena a630164441 - Fix mem. leak 2010-03-13 20:26:51 +00:00
Raphael Geissert 7822b323b6 Fix CVE-2010-0397: null pointer dereference when processing invalid XML-RPC
requests (bug #51288)
2010-03-13 18:40:29 +00:00
Moriyoshi Koizumi e2cd0ae9fd - Revert accidental commit. 2010-03-12 16:23:18 +00:00
Moriyoshi Koizumi fc9dbca404 - Forgot to commit this patch. Sorry. 2010-03-12 16:19:25 +00:00
Adam Harvey 3be951ae89 Fixed bug #51269 (zlib.output_compression Overwrites Vary Header). 2010-03-11 06:20:22 +00:00
Raphael Geissert c15857413c Properly skip tests that require the bundled gd lib when the external is used 2010-03-11 05:49:50 +00:00
Christopher Jones dc4388d750 Mask name of older DB4 versions 2010-03-09 18:06:20 +00:00
Ilia Alshanetsky 6c96fd1f2f Fixed test (was already fixed in 5.3+) 2010-03-09 12:52:32 +00:00
Felipe Pena cd70c00317 - Fixed bug #51237 (milter SAPI crash on startup)
patch by: igmar at palsenberg dot com
2010-03-08 23:29:46 +00:00
Felipe Pena 14488c2fd7 - Fix php-milter sample usage (-r option doesn't exists here) 2010-03-08 22:58:31 +00:00
Derick Rethans 37cfff0b7e - Updated to version 2010.5 (2010e) 2010-03-08 20:08:51 +00:00
Kalle Sommer Nielsen cb95f062fb Rename the HAVE_LIBICONV_IN_LIBICONV macro to ICONV_ALIASED_LIBICONV, making it less cryptic 2010-03-08 15:51:08 +00:00
William Martin 3d5135dad6 Add some bcmath tests 2010-03-08 15:16:51 +00:00
Kalle Sommer Nielsen 757183990d Fix linking of iconv on Windows 2010-03-08 14:04:35 +00:00
Ilia Alshanetsky b0f7d1c9cb Fixed bug #51213 (pdo_mssql is trimming value of the money column). 2010-03-08 12:39:44 +00:00
Derick Rethans 1a57308c9d - Fixed bug #46111 (Some timezone identifiers can not be parsed). 2010-03-07 19:18:06 +00:00
Derick Rethans cdae64c30a - Re-generate mapping files, but now with BC zones as well.
#- Fixes the test case for bug #17988 that used a few of those.
2010-03-07 19:13:19 +00:00
Derick Rethans d18dc7bb20 - Fixed bug #48902 (Timezone database fallback map is outdated). 2010-03-07 18:21:23 +00:00
Ilia Alshanetsky 653e2ad8eb semantics 2010-03-07 15:33:46 +00:00
Felipe Pena 7043a8aace - Fixed bug #50383 (Exceptions thrown in __call / __callStatic do not include file and line in trace) 2010-03-07 02:17:11 +00:00
Felipe Pena 20a81f7c08 - Fixed tests 2010-03-06 23:58:35 +00:00
Raphael Geissert 865520d872 Add NEWS entries for filter overflow fix 2010-03-06 20:02:25 +00:00
Raphael Geissert 7d4660d7a4 Detect overflows before they occur in the filter extension (bug #51023)
Thanks to Sean Finney for the patch
2010-03-06 18:54:55 +00:00
Derick Rethans fc2d11943e - Fixed bug #51096 ('last day' and 'first day' are handled incorrectly when
parsing date strings).
- For 5.2 I just added the test case minus new 5.3 additions.
2010-03-06 16:04:47 +00:00
Moriyoshi Koizumi 3d8172d4a9 - Fixed bug #49267 (linking fails for iconv) 2010-03-05 09:12:13 +00:00
Christopher Jones 7f771e2066 Fixed bug #51086 (DBA DB4 doesn't work with Berkeley DB 4.8) 2010-03-05 06:45:28 +00:00
Christopher Jones 8de3a80b83 Auto detect recent versions of Berkeley DB4 2010-03-05 05:23:01 +00:00
Christopher Jones a00b12f3d5 DBA tests: cleanup and sycn. Add new Berkeley DB 4 tests 2010-03-05 00:23:26 +00:00
Ilia Alshanetsky a4043f2ef5 Fixed bug #51190 (ftp_put() returns false when transfer was successful). 2010-03-04 12:52:58 +00:00
Rasmus Lerdorf 03a6cf9503 Fix test 2010-03-03 18:19:35 +00:00
Ilia Alshanetsky 39fd01e3b5 BFN 2010-03-03 12:43:00 +00:00
Adam Harvey 8acc64a336 Fix for bug #51192 (FILTER_VALIDATE_URL will invalidate a hostname that includes '-'). Original patch by solar@azrael.ws. 2010-03-03 09:25:50 +00:00
Hannes Magnusson 52b7fc3586 - The ctor requires both arguments
- Sync/fix ctor and export arguments to 5_2
2010-03-02 22:16:24 +00:00
Christopher Jones 31686e451d make portable 2010-03-02 17:00:18 +00:00
William Martin 277de95d05 Added SKIP sections in case extension isn't enabled 2010-03-02 13:21:25 +00:00
Ilia Alshanetsky 79c7a6f8b2 Fixed bug #51171 (curl_setopt() doesn't output any errors or warnings when an invalid option is provided) 2010-03-02 12:54:23 +00:00
Rasmus Lerdorf 626e20af3b Fix bug #43314
Assume worst case all-encoded case here
2010-03-01 23:49:01 +00:00
Christopher Jones c21a9f21bb Improve basic code coverage 2010-03-01 20:33:18 +00:00
Derick Rethans 26b2703407 - Updated to version 2010.3 (2010c) 2010-03-01 14:59:24 +00:00
Raphael Geissert 685919b127 Add some sysvmsg coverage tests 2010-03-01 01:59:14 +00:00
Moriyoshi Koizumi 58a4eead20 - Merge from upstream (note: this is no behavioral change, so need not to be
merged to 5.3.2 branch)
2010-02-28 09:33:05 +00:00
Moriyoshi Koizumi bc803a5736 - Whitespaces. 2010-02-28 07:49:36 +00:00
Adam Harvey 69ed41e3c5 Fix for bug #23229 (syslog function truncates messages): remove the hard-coded
500 character error message limit imposed when using error_log=syslog.
2010-02-26 18:01:03 +00:00
Ilia Alshanetsky aae06676ae Back to dev 2010-02-24 12:24:58 +00:00
Ilia Alshanetsky 6822134c9d 5.2.13 2010-02-24 12:23:46 +00:00
Peter Cowburn d10ba88769 Corrected typo in LimitIterator offset exception. Fixes #51119 2010-02-22 23:55:30 +00:00
Raphael Geissert 4c05243fc0 Fix the name of the locale in some tests 2010-02-21 18:22:46 +00:00
Jani Taskinen e836dcafc6 - Update shtool to 2.0.8 2010-02-18 08:33:48 +00:00
Raphael Geissert 6d6b3749e5 Fix race condition in shtool's mkdir -p implementation (bug #51076) 2010-02-18 00:30:12 +00:00
Kalle Sommer Nielsen 1f11fe617e Fixed bug #50795 (man pages have bad whatis entries)
- Patch by Debian
2010-02-17 05:32:52 +00:00
Raphael Geissert 7b0a379880 Correct description of getservbyname_basic.phpt (bug #51022) 2010-02-16 05:38:50 +00:00
Felipe Pena 652f4f0126 - Fix test (Bug #51036) 2010-02-15 21:46:45 +00:00
Felipe Pena 43b5a6ca0d - Fix the fix :P 2010-02-15 21:37:46 +00:00
Felipe Pena 215902863b - Added missing SKIPIF 2010-02-15 21:32:25 +00:00
Felipe Pena 05d058f7e3 - Fix test (Bug #51035) 2010-02-15 21:24:17 +00:00
Felipe Pena 3f10ea45cf - Fix test (bug #51040) 2010-02-15 21:16:34 +00:00
Raphael Geissert 485516635c Fix strtolower.phpt (bug #51031) 2010-02-13 16:43:04 +00:00
Jani Taskinen 0f994515d6 - Fix test 2010-02-13 15:43:45 +00:00
Jani Taskinen 1cf02b73ea - Fixed tests 2010-02-13 01:08:04 +00:00
Jani Taskinen 5356524bc7 - Removed duplicate tests (bug #51007) 2010-02-12 17:09:09 +00:00
Jani Taskinen bfd88e6e8d - Added missing SKIPIF section to tests (bug #51014) 2010-02-12 16:53:44 +00:00
Ilia Alshanetsky 98bf6c78e3 back to dev 2010-02-12 00:03:13 +00:00
Ilia Alshanetsky f11c2a21d5 5.2.13RC2 2010-02-12 00:00:26 +00:00
Pierre Joye 149908c561 - fix php_date_llabs declaration 2010-02-11 22:37:50 +00:00
Ilia Alshanetsky 20ce3f280a Back to dev 2010-02-11 12:35:44 +00:00
Ilia Alshanetsky 14391b64f6 5.2.13RC2 2010-02-11 12:33:17 +00:00
Ilia Alshanetsky 76c6534e65 Fixed safe_mode validation inside tempnam() when the directory path does not end with a /). 2010-02-11 12:32:21 +00:00
Derick Rethans d3e1abb1f7 - Fixed bug #49585 (date_format buffer not long enough for >4 digit years).
#- Was already partly fixed with my previous commit.
2010-02-10 16:55:40 +00:00
Derick Rethans 16b232737d - Added a test case for bug #45866
- Fixed tests: oo_002, bug46268
- Fixed bug #50930 (Wrong date by php_date.c patch with ancient gcc/glibc
  versions).
- Make sure faulty strings passed to DateTime::modify() notify the user.
- Revert fix for bug #50392 as it was fixed wrongly without a proper test case.
- Fixed a bug with the 'r' formatting function as the default buffer size that
  was allocated only fit 4 digit years.
2010-02-10 16:23:30 +00:00
Derick Rethans bec5505745 - Update in trunk and PHP 5.2 as well. 2010-02-10 14:04:27 +00:00
Ilia Alshanetsky 9be8c2ba3c Fixed bug #47601 (defined() requires class to exist when testing for class constants).
# Unifies behaviour with 5.3+
2010-02-08 12:31:33 +00:00
Pierre Joye 0b8fba3401 - Fixed #44098, imap_utf8() returns only capital letters 2010-02-07 13:06:54 +00:00
Rasmus Lerdorf 6652657f12 Fix bug #50940 2010-02-05 18:59:05 +00:00
Ilia Alshanetsky 2e2b84faca Fixed typo 2010-02-04 12:48:44 +00:00
Johannes Schlüter a8e59c543c Allow newer oracle versions 2010-02-04 01:12:14 +00:00
Ilia Alshanetsky 91eb2dea64 Downgrade bundled PCRE to version 7.9 due to 8.0+ version use of C99 2010-02-03 12:59:00 +00:00
Etienne Kneuss 43d5429381 Fix tests 2010-02-02 13:08:11 +00:00
Etienne Kneuss c716fca4fd Remove trailing dots 2010-02-02 04:49:02 +00:00
Pierre Joye 497decc7e8 - missing patch (update to 0.9.3) 2010-02-01 21:20:07 +00:00
Pierre Joye 62e6de389f - update to 0.9.3 2010-02-01 20:56:03 +00:00
Pierre Joye ee93a6ec0a - fix test 2010-02-01 19:30:32 +00:00
Pierre Joye 3b1e87afd3 - fix leak 2010-02-01 18:58:42 +00:00
Jani Taskinen 6e249d305d - Fix order. (this can not be so hard? :) 2010-02-01 13:54:10 +00:00
Etienne Kneuss e8c5d8d5d4 Fix #48667 (Implementing Iterator and IteratorAggregate is now restricted in both orders) 2010-02-01 13:45:57 +00:00
Ilia Alshanetsky 24e831b7eb Fixed bug #50847 (strip_tags() removes all tags greater then 1023 bytes long) 2010-02-01 12:59:08 +00:00
Ulf Wendel c375228190 Tests related to #50727 2010-02-01 12:18:50 +00:00
Jani Taskinen 5aea85a621 fix news 2010-02-01 11:46:57 +00:00
Andrey Hristov 4bb969249f and the NEWS entry 2010-02-01 11:38:50 +00:00
Andrey Hristov da6bd3b7b7 backport checks from 5.3 which fix one known segfault,
and maybe others unknown.
Bug #50727 	Accesing mysqli->affected_rows on no connection causes segfault
2010-02-01 11:37:48 +00:00
Ilia Alshanetsky 7df1c95ea1 Fixed a possible open_basedir/safe_mode bypass in session extension identified by Grzegorz Stachowiak. 2010-01-31 18:06:29 +00:00
William Martin 62567b90b3 Backport some SplObjectStorage tests to 5.2 2010-01-29 15:43:39 +00:00
Ilia Alshanetsky 12d607672f Back to dev 2010-01-28 12:49:33 +00:00
Ilia Alshanetsky 47505059e3 RC1 news 2010-01-28 12:44:54 +00:00
Ilia Alshanetsky 45029333bb 5.2.13RC1 2010-01-28 12:44:45 +00:00
Ilia Alshanetsky cbe25fd397 Fixed bug #50859 (build fails with openssl 1.0 due to md2 deprecation) 2010-01-27 12:55:01 +00:00
Jani Taskinen d70e5544be - Fixed bug #50832 (HTTP fopen wrapper does not support passwordless HTTP authentication) 2010-01-25 16:28:13 +00:00
Derick Rethans 4ac63fb8a1 - Updated to 2010.2. 2010-01-25 15:01:48 +00:00
Pierre Joye f8ad3de95d - make it work on win, simplify expect using expectf 2010-01-25 13:49:47 +00:00
Andrey Hristov fbd7db1f50 Fix for bug#50772
mysqli constructor without parameters does not return a working mysqli object
2010-01-25 13:23:32 +00:00
Ilia Alshanetsky c5435361ba Added test case for bug #44827 2010-01-25 13:08:43 +00:00
Ilia Alshanetsky 18da4f4c01 tz news 2010-01-24 21:44:00 +00:00
Derick Rethans 9503ebd6db - Updated to version 2010.1 (./tzdata2010a) 2010-01-24 15:23:14 +00:00
Pierre Joye 7b34e6b382 - \n or \r\n as phpt are txt file in svn 2010-01-24 12:27:29 +00:00
Pierre Joye 6fbbdee56a - skip if proc_nice is not available 2010-01-24 12:05:58 +00:00
Jani Taskinen 2e543f9b07 - Fixed bug #50823 (ReflectionFunction::isDeprecated producing "cannot be called statically" error)
# Partial MF53 of r273045 by Felipe :)
2010-01-22 14:21:17 +00:00
Pierre Joye 78e283a2f6 - fix win build 2010-01-22 09:06:13 +00:00
Ilia Alshanetsky 10849087e8 Upgraded bundled PCRE to version 8.01 2010-01-21 17:49:38 +00:00
Ilia Alshanetsky de1631f3c1 Added missing INI settings 2010-01-20 13:06:27 +00:00
Jani Taskinen 21131cab06 BFN 2010-01-20 09:55:04 +00:00
Takeshi Abe b6c7e36db9 fix libgd FS100 (spurious horizontal line drawn by gdImageFilledPolygon) 2010-01-20 09:39:06 +00:00
Jani Taskinen 7339ef249f - Fixed bug #50791 (Compile failure: Bad logic in defining fopencookie emulation) 2010-01-19 13:44:08 +00:00
Ilia Alshanetsky a873779c08 Fixed test 2010-01-19 12:42:50 +00:00
Jani Taskinen 27cb7623e9 - Add missing skipif 2010-01-19 12:31:29 +00:00
Jani Taskinen a87b46e065 - WS + CS fixes 2010-01-19 12:03:07 +00:00
Ilia Alshanetsky 59dbdbf89d Fixed bug #50787 (stream_set_write_buffer() has no effect on socket streams). 2010-01-18 12:50:08 +00:00
Ilia Alshanetsky 4cb5d7ae42 Fixed bug #50761 (system.multiCall crashes in xmlrpc extension). 2010-01-17 17:19:38 +00:00
Hannes Magnusson 45776b87a4 Kill very old export of the docs.
Fixes bug#50784
2010-01-17 16:25:20 +00:00
Rob Richards 45bce8f3d5 fix bug #49463 (setAttributeNS fails setting default namespace)
add test
2010-01-15 21:29:56 +00:00
Rasmus Lerdorf 73b13d76d0 Fix gcc version check - bug #50771 2010-01-15 18:26:53 +00:00
Takeshi Abe bc88aaf103 fix wrong type and useless assignments 2010-01-15 17:09:14 +00:00
Ilia Alshanetsky 051ba5ce74 Added test for bug #50680 2010-01-14 15:45:49 +00:00
Takeshi Abe 0d237cea54 imagepolygon() and imagefilledpolygon() does not allow negative number of points causing invalid allocation 2010-01-14 11:11:56 +00:00
Ilia Alshanetsky 2285390313 Added missing \n at the end of the file 2010-01-13 13:45:26 +00:00
Ilia Alshanetsky cde494e659 Fixed bug #50732 (exec() adds single byte twice to $output array). 2010-01-13 13:44:58 +00:00
Takeshi Abe d83f314a68 fix NEWS entry 2010-01-13 07:32:45 +00:00
Frank M. Kromann 68414f081c MFB. Don't free soap_headers just before comparing the length. This causes SoapClient to fail when requesting a URL 2010-01-13 07:26:08 +00:00
Takeshi Abe a6819600fa removed an unused variable 2010-01-13 06:55:03 +00:00
Ilia Alshanetsky d8a32814f7 Fixed bug #50728 (All PDOExceptions hardcode 'code' property to 0) 2010-01-12 12:46:54 +00:00
Andrey Hristov 69f6532758 revert 2010-01-11 19:10:37 +00:00
Andrey Hristov a059cf4685 missed to commit in 5_3, here it comes, reusability of stats 2010-01-11 18:31:02 +00:00
Ilia Alshanetsky 988cadc2d0 year++ 2010-01-11 12:34:10 +00:00
Johannes Schlüter e28d042bb9 Install ext/json/php_son.h, too.
# already done in other branches
2010-01-09 16:49:46 +00:00
Takeshi Abe 167cca4993 Bug #49600 (imageTTFText text shifted right)
- fix difference of horizontal position between imagettftext() and imagettfbbox()
2010-01-08 12:18:52 +00:00
Jani Taskinen 65aeba977b fix news 2010-01-08 09:56:38 +00:00
Rasmus Lerdorf ea2d12a534 Worked with Samy Kamkar to improve LCG entropy. 2010-01-08 09:43:14 +00:00
Ilia Alshanetsky 23f49cf4ef Fixed bug #50680 (strtotime() does not support eighth ordinal number). 2010-01-07 12:54:44 +00:00
Rob Richards a31c58003b fix bug #50661 (DOMDocument::loadXML does not allow UTF-16)
add test
2010-01-06 13:13:17 +00:00
Ilia Alshanetsky 5e781314b0 Fixed bug #50657 (copy() with an empty (zero-byte) HTTP source succeeds but returns false). 2010-01-06 12:54:53 +00:00
Sebastian Bergmann 13a78acbbe sed -i "s#1998-2009#1998-2010#g" **/*.c **/*.h **/*.php 2010-01-05 20:46:53 +00:00
Sebastian Bergmann 84995ce497 sed -i "s#1998-2009#1998-2010#g" **/*.re **/*.y **/*.l 2010-01-05 20:40:23 +00:00
Sriram Natarajan ad853ae339 - Addressing minor leak noticed while addressing bug #48590 2010-01-05 19:25:23 +00:00
Pierrick Charron 0d44abd524 Fixed bug #50576 (XML_OPTION_SKIP_TAGSTART option has no effect). 2010-01-05 13:03:40 +00:00
Ilia Alshanetsky b1c8b9f48b Added test case for bug #50632 2010-01-05 12:25:00 +00:00
Sriram Natarajan bb0b2d9a9b - Fixed bug #48590 (SoapClient does not honor max_redirects) 2010-01-05 03:07:43 +00:00
Ilia Alshanetsky 8664551037 Update copyright year in the man file 2010-01-04 12:38:07 +00:00
Ilia Alshanetsky 57399bceea Fixed bug #50632 (filter_input() does not return default value if the variable does not exist) 2010-01-03 22:58:37 +00:00
Pierrick Charron d005f1d2ee Fixed bug #50636 (MySQLi_Result sets values before calling constructor) 2010-01-03 16:59:33 +00:00
Sebastian Bergmann 16cb1cd469 sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php 2010-01-03 09:23:27 +00:00
Sebastian Bergmann dffb0fe616 sed -i "s#1997-2009#1997-2010#g" **/*.re **/*.y **/*.l 2010-01-03 08:22:14 +00:00
Ilia Alshanetsky 667a7680b1 Fixed bug #44827 (define() allows :: in constant names). 2009-12-30 19:15:11 +00:00
Jani Taskinen ae911242a1 - Sync with HEAD 2009-12-29 19:25:09 +00:00
Jani Taskinen ab679ab5c0 MF53: ws + cs + folding tags (99% sync :) 2009-12-29 19:01:03 +00:00
Jani Taskinen 55fbe18b38 MFH: clean some dead code (with static analysis help) (Approved by Ilia) 2009-12-29 18:54:08 +00:00
Pierrick Charron 93abcd9bb7 Add a test for tidyNode::__construct() 2009-12-29 16:06:27 +00:00
Ilia Alshanetsky 37d2b97469 Fixed bug #48190 (Content-type parameter "boundary" is not case-insensitive in HTTP uploads). 2009-12-29 15:57:54 +00:00
Jani Taskinen c2526b7516 order 2009-12-29 10:27:54 +00:00
Pierrick Charron a29f6a0f8a Set the tidyNode constructor private 2009-12-28 17:01:24 +00:00
Derick Rethans d5d8a595d7 - Updated to version 2009.21 (2009u) 2009-12-28 14:30:50 +00:00
Rasmus Lerdorf 66a07efa07 Along with the valid char set, also add a length check to the
session id here to avoid a lower-level error on the open() 
later on in case we exceed MAX_PATH.  The lower level open()
error includes the session dir path in it, so this is a very
low-priority security fix.  People should not be running
production systems with display_errors turned on.
2009-12-26 23:38:25 +00:00
Pierrick Charron 0c92b32d37 Changed tidyNode class to disallow manual node creation. 2009-12-25 21:24:36 +00:00
Matteo Beccati b328d3dab9 Removed spurious high-ascii char from previous commmit 2009-12-25 21:01:06 +00:00
Matteo Beccati 824bcc9fc9 - Updated ext/pgsql tests to work w/ PostgreSQL 8.5
# tested w/ 8.5alpha3
2009-12-25 20:56:00 +00:00
Antony Dovgal 5ef0a90184 remove automatic file unlocking on shutdown and/or stream close
(make it win32-specific for 5_2, as discussed with Ilia)
2009-12-25 20:34:59 +00:00
Antony Dovgal 2d1e066e6f fix minor leak (merge from trunk) 2009-12-25 20:17:27 +00:00
Matteo Beccati 526fde9a66 - Updated pdo_pgsql tests to be 8.5+ friendly 2009-12-25 20:11:07 +00:00
Matteo Beccati 37960040c1 - Fixed bug #50575 (PDO_PGSQL LOBs are not compatible with PostgreSQL 8.5)
# Affects 5.2 only, no need to MFB
2009-12-25 20:09:08 +00:00
Pierrick Charron dea4465779 Fixed bug #50558 (Broken object model when extending tidy) 2009-12-25 01:35:57 +00:00
Ilia Alshanetsky 7d35e2b92d Added missing host validation for HTTP urls inside FILTER_VALIDATE_URL. 2009-12-24 18:47:15 +00:00
Antony Dovgal a7d787bdff fix the fix for #47409
use correct comparison and add missing scope checks to trunk
2009-12-24 13:07:33 +00:00
Sriram Natarajan dda78a28c3 - Update test from 5.3 branch 2009-12-24 02:25:08 +00:00
Sriram Natarajan 596a40a585 - Update tests to reflect current behavior after fix for bug #50185 2009-12-24 02:08:23 +00:00
Stanislav Malyshev eb99d265ab fix interruption problem with array_pad 2009-12-24 00:27:11 +00:00
Stanislav Malyshev 29ac18dda2 fix flags handling in zend_parse_method_parameters_ex 2009-12-24 00:15:13 +00:00
Jani Taskinen af58149827 - ws 2009-12-23 21:06:26 +00:00
Jani Taskinen 2db62b491d I really like the extra space. 2009-12-23 21:00:46 +00:00
Ilia Alshanetsky c8d4d751a9 Fixed bug #47409 (extract() problem with array containing word "this"). 2009-12-23 16:33:58 +00:00
Ilia Alshanetsky a13844b4cd Fixed bug #47002 (Field truncation when reading from dbase dbs with more then 1024 fields) 2009-12-23 04:16:13 +00:00
Jani Taskinen d76209823b - Fixed bug #50517 (EXTRA_LDFLAGS polluted by wrong entries)
# Until someone shows me use case for LDFLAGS, this is gone.
# This was wrong place to import it anyway.
2009-12-22 09:57:19 +00:00
Ilia Alshanetsky b4c18745d9 Fixed bug #45599 (strip_tags() truncates rest of string with invalid attribute). 2009-12-22 02:04:12 +00:00
Derick Rethans f735c6318c - Updated to version 2009.20 (2009t) 2009-12-21 20:46:12 +00:00
Sriram Natarajan a8bba71613 Fixed bug #50540 (Crash within ldap_first_reference function) 2009-12-21 20:39:48 +00:00
Jani Taskinen ff3da6b299 - Sync (and KEEP it synced!) 2009-12-21 15:44:58 +00:00
Jani Taskinen 9ba2988958 - Tune the fix for bug #50508 and make it work with MacOSX, bug #50541. 2009-12-21 15:22:40 +00:00
Ilia Alshanetsky d702697713 MFH: Fixed bug #49851 (http wrapper breaks on 1024 char long headers). 2009-12-20 19:14:30 +00:00
Stanislav Malyshev 354931dc34 Fixed bug #50394 (Reference argument converted to value in __call) 2009-12-18 19:20:33 +00:00
Stanislav Malyshev 08f4721e73 fix regression bug #50394: Reference argument converted to value in __call 2009-12-18 19:12:11 +00:00
Jani Taskinen 75d5ae95c2 - Fixed bug #50508 (compile fails: Conflicting HEADER type declarations)
# NEVER ever include nameser_compat.h, it's included in various ways in different OSes by nameser.h if needed
2009-12-18 11:02:07 +00:00
Felipe Pena 837d8c5d87 - Fixed typo (ncruses) 2009-12-17 22:57:44 +00:00
Andrey Hristov f0edab5e1b Fix build against 5.5.0-m2 . Does not need upmerging because
this functionality doesn't exist in PHP 5.3+
2009-12-17 10:14:40 +00:00
Jani Taskinen b451eee71c - Fix news again 2009-12-16 13:05:43 +00:00
Ilia Alshanetsky 72f688df0a back to dev 2009-12-16 12:49:06 +00:00
Ilia Alshanetsky 38af726f28 5.2.12 2009-12-16 12:45:18 +00:00
Jani Taskinen 6c0b2a3a0e - Make $sbindir be usable in C code as well (like $bindir and co.) 2009-12-15 11:17:47 +00:00
Jani Taskinen eb84243d04 - Allow using $sbindir as well 2009-12-15 10:55:27 +00:00
Jani Taskinen 3a30b7dfca - Fix test 2009-12-14 09:42:32 +00:00
Pierrick Charron 2ded6af198 - Fixed bug #50469 (Fixed typo in imagepsencodefont error string). 2009-12-14 04:09:18 +00:00
Felipe Pena e4fb981bf0 - Improved the bug#49174 entry summary 2009-12-13 20:51:15 +00:00
Felipe Pena 0d4bf4110f - Fixed bug #49174 (crash on queryString set) 2009-12-13 19:53:44 +00:00
Felipe Pena 6b838aa6d2 - Opss, wrong place 2009-12-13 17:13:58 +00:00
Felipe Pena ef54c9c5ed - Fixed bug #50209 (Compiling with libedit cannot find readline.h)
(patch by tcallawa at redhat dot com)
2009-12-13 17:06:47 +00:00
Felipe Pena 481a5d8b18 - Fixed tests for when running using libedit 2009-12-13 16:53:24 +00:00
Felipe Pena cf9e914754 - Fixed bug #50445 (PDO-ODBC stored procedure call from Solaris 64-bit causes seg fault).
(Original patch by davbrown4 at yahoo dot com)
2009-12-11 22:30:46 +00:00
Jani Taskinen 9c445100c8 fix test 2009-12-11 15:06:50 +00:00
Jani Taskinen ff8c39c8e9 - Fix problem with SKIPIF failing to skip in some cases (deprecated warnings f.e.) 2009-12-11 07:34:06 +00:00
Ilia Alshanetsky 2e9192926f Back to dev 2009-12-10 13:16:23 +00:00
Ilia Alshanetsky 6512c8669f 5.2.12RC4 2009-12-10 13:07:39 +00:00
William Martin faee4c72b8 Backported 5.3 tests to 5.2 and added more RecursiveIteratorIterator tests 2009-12-08 19:51:56 +00:00
Dmitry Stogov f79bc0ac21 - Forgotten patch for trunk
- Fixed stdin filename in error messages
2009-12-08 10:16:38 +00:00
Sriram Natarajan 028ffa75f3 - Fix NEWS (48752 not relevant for 5.2 release) 2009-12-07 20:13:16 +00:00
Moriyoshi Koizumi 428088c848 - Take account of surrogate pairs. 2009-12-07 15:41:43 +00:00
Jani Taskinen 9fca678c47 - Fix NEWS 2009-12-07 07:30:41 +00:00
Pierrick Charron fcf959ad3e Fixed bug #50323 (Allow use of ; in values via ;; in PDO DSN even in the middle of a string). 2009-12-06 21:32:58 +00:00
Ilia Alshanetsky c21c2da229 Fixed bug #50323 (Allow use of ; in values via ;; in PDO DSN). 2009-12-06 19:34:12 +00:00
Felipe Pena be06106d62 - Fixed bug #50162 (Memory leak when fetching timestamp column from Oracle database)
- Fixed bug #34852 (Failure in odbc_exec() using oracle-supplied odbc driver) (patch by tim dot tassonis at trivadis dot com)
2009-12-06 18:53:16 +00:00
Ilia Alshanetsky cfa096dd4d BFN 2009-12-04 14:18:11 +00:00
Felipe Pena 69097f305c - Fixed tests 2009-12-04 11:32:39 +00:00
Stanislav Malyshev 86529ad73c protect http_session_vars from interrupt corruption
improve save_path check
2009-12-04 01:21:32 +00:00
Jani Taskinen b109e5bd82 bfn 2009-12-03 22:24:04 +00:00
Rob Richards 69ed9840ef fix bug #47848 (importNode doesn't preserve attribute namespaces)
add tests
2009-12-03 20:19:38 +00:00
Pierrick Charron 5a64467cba Fixed bug #45120 (PDOStatement->execute() returns true then false for same statement). 2009-12-03 15:24:43 +00:00
Felipe Pena 553191ea5c - Fixed bug #49472 (Constants defined in Interfaces can be overridden) 2009-12-03 12:34:50 +00:00
Jani Taskinen 84bc7c449c - Fixed bug #50345 (nanosleep not detected properly on some solaris versions) 2009-12-02 08:54:50 +00:00
Jani Taskinen eb3a2ee1b7 - Sync files 2009-12-02 08:22:05 +00:00
Ilia Alshanetsky 596dd39fa3 fixed typo 2009-12-01 13:23:28 +00:00
Felipe Pena 1ca7c27638 - Fixed bug #49660 (libxml 2.7.3+ limits text nodes to 10MB). (Felipe)
- Added LIBXML_PARSEHUGE constant to overrides the maximum text size of a
  single text node when using libxml2.7.3+. (Kalle)
[DOC]
2009-12-01 02:05:28 +00:00
Gwynne Raskind aa1904f4ab The old Darwin hack is BROKEN and INCORRECT. It works only for Darwin 9, not 10, and uses an ugly CFLAGS hack that messes with the entire build. This version sets one cached value to the correct result for Darwin 9 and 10. It's cleaner, has no side effects, has nothing to do with Autoconf versions, and works for everyone. 2009-11-30 21:38:44 +00:00
Jani Taskinen 565cec5cfc - Fix tests assuming wrong ini options and extensions that might not be there 2009-11-30 20:31:52 +00:00
Jani Taskinen be62e2c702 MFH: removed last test for MAX_INT, did not work on x64 and this case is covered by bug47745.phpt 2009-11-30 19:52:16 +00:00
Ilia Alshanetsky fb44cca847 bfn 2009-11-30 15:22:01 +00:00
Dmitry Stogov 38ba16b060 Fixed bug #50168 (FastCGI fails with wrong error on HEAD request to non-existant file) 2009-11-30 14:43:22 +00:00
Jani Taskinen 3487ab7eb9 MF53: sync 2009-11-30 14:10:11 +00:00
Stanislav Malyshev 43d6b87ccb proper fix for bug #50006
add modify protection to all user array sorts
2009-11-29 08:35:01 +00:00
Rasmus Lerdorf 42c4e5c148 Revert attempt at supporting both autoconf 2.13 and
modern versions in the same build chain.  There are
simply too many broken things in 2.13 to make it work.
Cache handling is broken as well which is why I need
to revert the pdo_inc_path cache fix as well.

trunk is now 2.60+ only and I'll work on cleaning out
all the legacy cruft from there.
2009-11-29 06:13:22 +00:00
Stanislav Malyshev 50e31fe9c1 fix interrupt problem in serialize() 2009-11-29 04:38:46 +00:00
Jani Taskinen f34f334638 - Use correct revision 2009-11-28 00:47:42 +00:00
Jani Taskinen 87230feb91 - Fixed bug #50266 (conflicting types for llabs) 2009-11-28 00:38:05 +00:00
Jani Taskinen 8eb333ffa2 - No dots here 2009-11-28 00:35:56 +00:00
Jani Taskinen af0595c40b - Fix bad merge (Sorry Ilia..) 2009-11-28 00:06:54 +00:00
Rasmus Lerdorf c4ec9018f5 Fix bug #50315 2009-11-27 23:41:13 +00:00
Ilia Alshanetsky abb6a035d3 back to dev 2009-11-27 14:50:28 +00:00
Ilia Alshanetsky ee12cbd751 5.2.12RC3 2009-11-27 14:25:58 +00:00
Jani Taskinen e85a2dd296 - Partially revert the autoconf 2.6x "fix" to make configure work with release 2009-11-27 12:51:41 +00:00
Jani Taskinen 01ba3e44b3 - Re-fixed bug #47104 (Linking shared extensions fails with icc) 2009-11-27 12:50:29 +00:00
Ilia Alshanetsky 14909202a8 Back to dev 2009-11-27 03:17:06 +00:00
Ilia Alshanetsky df4b288737 5.2.12RC2 2009-11-27 03:14:36 +00:00
Ilia Alshanetsky ea3faadf6a Revert gmp patches as they require a newer lib 2009-11-27 03:13:59 +00:00
Ilia Alshanetsky 5ef06b0c62 Fixe build 2009-11-27 03:02:01 +00:00
David Soria Parra fa955848f6 Also allow base 62 for gmp_init as requested in (#50283) 2009-11-25 23:38:34 +00:00
Rasmus Lerdorf ce6bb055e1 There is no ENT_IGNORE in 5.2 2009-11-25 18:58:14 +00:00
David Soria Parra 6bdc96f68b Really use 62 as the upper boundary as requested and not 32. 2009-11-25 18:15:25 +00:00
Rasmus Lerdorf fbd9757a39 Missing _cv_ here 2009-11-25 16:53:23 +00:00
Ilia Alshanetsky a08f0425de Fixed bug #50195 (pg_copy_to() fails when table name contains schema). 2009-11-25 14:28:00 +00:00
Jani Taskinen 8c3509c894 - Fixed bug #49677 (ini parser crashes with apache2 and using ${something} ini variables) 2009-11-25 12:35:42 +00:00
Jani Taskinen 1eaf99d866 ws 2009-11-25 12:26:10 +00:00
Jani Taskinen 4e4cd57658 - Do not forget NEWS for 5.2.. 2009-11-25 07:21:38 +00:00
Rasmus Lerdorf fbfef72ba5 Another test that doesn't work as root 2009-11-25 04:00:55 +00:00
Rasmus Lerdorf 707074aa6f These tests don't work when run as root 2009-11-25 03:53:50 +00:00
Felipe Pena 50ca6f0fa1 - Fixed bug #50285 (xmlrpc does not preserve keys in encoded indexed arrays) 2009-11-25 02:03:02 +00:00
Rasmus Lerdorf e5f42bfd06 Missed a few - now it really works with autoconf-2.64+ 2009-11-25 01:36:41 +00:00
Rasmus Lerdorf cb397e86ea Someone strap down Jani and give him a sedative please.
This makes our toolchain work with the latest versions
of autoconf and avoids a lot of end-user grief.
2009-11-25 01:30:06 +00:00
Felipe Pena a12e272b9a - Fixed bug #50255 (isset() and empty() silently casts array to object) 2009-11-24 21:54:12 +00:00
Jani Taskinen eba3dd019e - Fix news 2009-11-24 14:14:13 +00:00
Rasmus Lerdorf bee4607345 Fix null deref found by Michael Maclean 2009-11-24 13:57:39 +00:00
Ilia Alshanetsky e91b12acc7 Add myself as pdo_pgsql maintainer 2009-11-24 13:51:53 +00:00
David Soria Parra 0dc1918687 Implement feature request #50283 (allow base in gmp_strval to use full range: 2 to 62, and -2 to -36) 2009-11-24 13:33:35 +00:00
Felipe Pena 7a5348280e - Fixed bug #50282 (xmlrpc_encode_request() changes object into array in calling function) 2009-11-24 11:32:31 +00:00
Jani Taskinen 0dd637ea57 - Upgraded bundled libtool to 1.5.26 2009-11-23 21:54:46 +00:00
Rasmus Lerdorf 452ffe21a2 Need the PCNTL extension loaded since that is where the SIGKILL constant comes from 2009-11-23 21:24:20 +00:00
Rasmus Lerdorf 89a570638b This will only get a permission defined error if not running as root. 2009-11-23 21:13:26 +00:00
Rasmus Lerdorf 87a7fa0abf Don't try to remove an empty output_obj here.
This gets rid of the annoying:
rm: invalid argument: `'
I was seeing.
(I really shouldn't be hacking libtool)
2009-11-23 16:51:45 +00:00
Rasmus Lerdorf 84a4d1c20c When Ilia fixed bug #49470 and removed the '/' as a valid
email char, he forgot to make the corresponding change in
filter test 033.
2009-11-23 14:54:57 +00:00
Ilia Alshanetsky 54727670c3 Extend the previously added large string concatenation validation 2009-11-23 04:12:36 +00:00
Jani Taskinen 6c621b15cd - Fixed error_log() to be binary safe when using message_type 3 (message appended to file). 2009-11-22 18:31:01 +00:00
Pierre Joye d2c593017d - add tests dir 2009-11-22 12:34:10 +00:00
Felipe Pena 07db754f8d - Fixed bug #50258 (typos in error strings) 2009-11-21 19:43:00 +00:00
Pierrick Charron 8f3677601e Fixed bug #50219 (soap call Segmentation fault on a redirected url). 2009-11-21 01:22:32 +00:00
Ilia Alshanetsky d3949380b8 Don't ignore the 2nd parameter to PDO's quote() method that identifies the data type 2009-11-20 18:54:08 +00:00
Ilia Alshanetsky 1a174b0828 Fixed bug #50207 (segmentation fault when concatenating very large strings
on 64bit linux).
2009-11-19 14:04:34 +00:00
Jani Taskinen 237feb2149 - Fix news 2009-11-18 17:59:18 +00:00
Jani Taskinen da729f3874 - Fixed "make test" in phpize builds when ini file(s) contain extension directives 2009-11-18 17:52:22 +00:00
Jani Taskinen 2ce1d0056d - Fixed bug #50185 (ldap_get_entries() return false instead of an empty array when there is no error).
# This is also revert of bad patch to bug #48469 and fixes it properly.
2009-11-18 17:44:58 +00:00
Rasmus Lerdorf 9a7db58096 News entry for post_max_size fix 2009-11-17 20:41:47 +00:00
Rasmus Lerdorf 456c790c63 Make it possible to disable post_max_size 2009-11-17 20:33:51 +00:00
Ilia Alshanetsky dea8172f6d tz news 2009-11-17 15:04:20 +00:00
Derick Rethans 2767484162 - Updated to version 2009.19 (2009s) 2009-11-16 15:57:13 +00:00
Ilia Alshanetsky 87c7c2a3d1 Simpify the max_file_uploads handling code 2009-11-16 13:34:57 +00:00
Felipe Pena 0e8c20106f - Improve test 2009-11-15 17:05:48 +00:00
Felipe Pena ff62865fc0 - Fixed bug #50158 (FILTER_VALIDATE_EMAIL fails with valid addresses containing = or ?).
(Patch by Pierrick)
2009-11-15 16:53:40 +00:00
Felipe Pena ae35c47a4b - Fixed bug #49521 (PDO fetchObject sets values before calling constructor)
(patch by Pierrick)
2009-11-15 16:20:37 +00:00
Jani Taskinen 0d71754a2e - Temporary hack to fix bug #49816 (works fine in HEAD which has working output buffering..) 2009-11-15 00:13:19 +00:00
Felipe Pena df042dc98e - Fixed bug #50174 (Incorrectly matched docComment) 2009-11-14 19:17:22 +00:00
Ilia Alshanetsky 38e95f692f Back to dev 2009-11-12 15:52:23 +00:00
Ilia Alshanetsky 6880bcc319 5.2.12RC1 2009-11-12 15:42:52 +00:00
Jani Taskinen 84543c1ee7 bfn 2009-11-12 09:07:51 +00:00
Rasmus Lerdorf d5dacfc274 NEWS entries for mysqli crash fix bug 2009-11-12 08:26:43 +00:00
Rasmus Lerdorf 9dc54d8483 Fix for bug #49098 2009-11-12 08:20:57 +00:00
Felipe Pena bb524935a3 - Fixed bug #50005 (Throwing through Reflection modified Exception object makes segmentation fault) 2009-11-12 00:10:00 +00:00
Ilia Alshanetsky 1d2a24f530 tz news 2009-11-10 13:18:33 +00:00
Jani Taskinen c94ac24231 - Fix bad section names (extra - in the end..) 2009-11-09 17:08:48 +00:00
Rasmus Lerdorf d6fd508045 Fix bug #50128 2009-11-09 16:47:47 +00:00
Derick Rethans cd1195c44e - Updated to version 2009.18 (2009r) 2009-11-09 15:39:15 +00:00
Ilia Alshanetsky 57b251cee8 Fixed typo 2009-11-09 13:28:13 +00:00
Rasmus Lerdorf 67259ce03b Fix bug #50115 2009-11-08 15:18:10 +00:00
Felipe Pena 4f8253338c - Added SKIPIF 2009-11-08 15:02:54 +00:00
Felipe Pena 4f6fa0ba12 - Fixed bug #50090 (Typo in IteratorIterator constructor) 2009-11-07 21:27:15 +00:00
andy wharmby b614214638 Fix tests 2009-11-05 22:44:02 +00:00
Ilia Alshanetsky 53952fef26 Make sure that max_file_uploads is set to 20 by-default in all places 2009-11-05 13:29:34 +00:00
Jani Taskinen 9096aef11a - The dot 2009-11-05 11:32:53 +00:00
Dmitry Stogov 1d5c137b00 Avoid invoking setitimer when timeouts have been disabled (Arvind Srinivasan) 2009-11-05 10:38:56 +00:00
Dmitry Stogov 1e52beff0f Fixed unnecessary invokation of setitimer when timeouts have been disabled (Arvind Srinivasan) 2009-11-05 09:33:19 +00:00
Matteo Beccati 2a481b01fb - Properly fixed bug #49985 (pdo_pgsql prepare() re-use previous aborted transaction).
# Removed usage of the memory address when generating prepared statemend names
# as uniqueness can't be enforced. Used a statment counter instead.
2009-11-04 19:32:27 +00:00
Matteo Beccati c4bee3fa96 - Reverting previous fix for bug #49985
# Unmerged changes from revision 289924
2009-11-04 19:16:39 +00:00
Ilia Alshanetsky 18a433f0d9 Fixed bug #50073 (parse_url() incorrect when ? in fragment). 2009-11-04 13:44:10 +00:00
Guenter Knauf c6b89853ef fixed build-in module list for NetWare. 2009-11-03 19:03:49 +00:00
Guenter Knauf 170b33dec0 cleaned up includes for NetWare. 2009-11-03 18:56:47 +00:00
Guenter Knauf 2dcdcd8d5f added magic.mine path define for NetWare. 2009-11-03 18:44:11 +00:00
Guenter Knauf 5703dbea03 added timezone define for NetWare. 2009-11-03 18:24:57 +00:00
Guenter Knauf 389811a6c5 removed now obsolete NetWare hack since I fixed this
with Novell some longer time ago in their SDK header.
2009-11-03 18:03:02 +00:00
Guenter Knauf b256c06592 removed now obsolete NetWare hack since I fixed this
with Novell some longer time ago in their SDK header.
2009-11-03 17:58:17 +00:00
Guenter Knauf c75d7f3af5 removed now obsolete NetWare hack since I fixed this
with Novell some longer time ago in their SDK header.
2009-11-03 17:50:10 +00:00
Guenter Knauf 693e138d5d removed now obsolete NetWare hack since I fixed this
with Novell some longer time ago in their SDK header.
2009-11-03 17:38:44 +00:00
Guenter Knauf 1434f64b7d removed now obsolete NetWare hack since I fixed this
with Novell some longer time ago in their SDK header.
2009-11-03 17:32:58 +00:00
Guenter Knauf 44f8c63ff5 removed now obsolete NetWare hack since I fixed this
with Novell some longer tiem ago in their SDK header.
2009-11-03 17:16:45 +00:00
Guenter Knauf dad7ada835 removed now obsolete NetWare hack since I fixed this
with Novell some longer tiem ago in their SDK header.
2009-11-03 17:11:09 +00:00
Ilia Alshanetsky 9676c4b0ea TZ update 2009-11-03 13:14:33 +00:00
Felipe Pena 4dbc65c7b7 - Fixed bug #49244 (Floating point NaN cause garbage characters). (patch by Sjoerd) 2009-11-02 17:37:32 +00:00
Derick Rethans a1fe3c1401 - Updated to version 2009.17 (2009q) 2009-11-02 16:12:20 +00:00
Ilia Alshanetsky 0b4c25d916 Fixed compiler warnings 2009-11-02 13:33:24 +00:00
Ilia Alshanetsky 31a64059ca TZ news 2009-11-02 04:06:57 +00:00
Felipe Pena fa23faaca4 - Fixed bug #50006 (Segfault caused by uksort()) [5_2 only] 2009-11-01 17:30:55 +00:00
Felipe Pena caa28c2a22 - Fixed bug #49719 (ReflectionClass::hasProperty returns true for a private property in base class) 2009-11-01 15:12:34 +00:00
Takeshi Abe 494877cbd1 Fixed a possible memory leak in case that FT_Glyph_To_Bitmap() fails 2009-11-01 05:04:35 +00:00
Pierre Joye b7fe1fe3d8 - back to dev #2 and fix snap :) 2009-10-31 09:45:53 +00:00
Ilia Alshanetsky 6105b12333 Lower the max upload default to 20 2009-10-28 13:04:42 +00:00
Jani Taskinen a3268aef52 - Fix news 2009-10-27 22:18:25 +00:00
Jani Taskinen 094bb76bbf - You add, remove, fix or implement. Introduce yourself to someone else. 2009-10-27 22:15:19 +00:00
Felipe Pena cf7e439938 - Fixed bug #50018 (Typo in spl_limit_it_seek()) 2009-10-27 21:57:26 +00:00
Felipe Pena dda3dfff9b - Fixed memory leak in openssl_pkcs12_export_to_file() 2009-10-27 21:37:03 +00:00
Pierre Joye 1d51c0f7d6 - Fixed crash in com_print_typeinfo when an invalid typelib is given 2009-10-27 19:16:55 +00:00
Felipe Pena 7b6dce6a62 - Fix build 2009-10-27 16:21:03 +00:00
Ilia Alshanetsky 10a048bc3f Introduced a max_file_uploads INI setting, which is set to limit the
number of file uploads per-request to 100 by default, to prevent possible
DOS via temporary file exhaustion.
2009-10-27 16:13:48 +00:00
Pierre Joye 0b18abd2f2 - #48752 2009-10-27 10:44:11 +00:00
Pierre Joye 2c210cadd6 - #48752, crash during date parsing with invalid date 2009-10-27 10:41:45 +00:00
Derick Rethans a5f518f00a - Updated to version 2009.16 (2009p) 2009-10-26 14:09:23 +00:00
Ilia Alshanetsky 91be772174 Fixed bug #49921 (Curl post upload functions changed). 2009-10-26 12:57:01 +00:00
Ilia Alshanetsky 4d7a588951 - Fixed bug #49985 (pdo_pgsql prepare() re-use previous aborted transaction). 2009-10-26 02:02:28 +00:00
Jani Taskinen 1719e7c300 - Fixed bug #49990 (SNMP3 warning message about security level printed twice). 2009-10-25 20:17:04 +00:00
Johannes Schlüter e5e26d817e Fix #49972 (AppendIterator undefined function crash) 2009-10-23 16:47:35 +00:00
Ilia Alshanetsky e94965d0a7 Fixed test 2009-10-22 19:39:08 +00:00
Derick Rethans 697277d152 - Updated to version 2009.15 (2009o) 2009-10-19 16:29:13 +00:00
Jani Taskinen 880b090479 - It is not const in PHP_5_2 but it is in HEAD and PHP_5_3 2009-10-19 15:34:50 +00:00
Jani Taskinen c0677af865 - It is close to next 5.2 release, ILIA! 2009-10-19 12:42:10 +00:00
Scott MacVicar eb9ca1bf82 Fix bug #49332 - Unable to compile with Snow Leopard due to some DNS funsies 2009-10-16 16:09:49 +00:00
Ilia Alshanetsky 33b43d710f Fixed bug #49855 (import_request_variables() always returns NULL). 2009-10-15 12:26:54 +00:00
Guenter Knauf 85037bbfad zend_module_dep is no const and breaks strict compilers
like CodeWarrior for NetWare.
2009-10-14 19:29:37 +00:00
Ilia Alshanetsky 22d7581a9b tz update news 2009-10-14 12:28:37 +00:00
Ilia Alshanetsky 1bc451744f Fixed bug #49847 (exec() fails to return data inside 2nd parameter, given output lines >4095 bytes). 2009-10-14 01:32:07 +00:00
Derick Rethans 29aa08e3a8 - Updated to version 2009.14 (2009n) 2009-10-13 08:16:35 +00:00
Moriyoshi Koizumi f77a222897 - Bug #49785: take 5. What the hell happened to me... 2009-10-13 05:18:37 +00:00
Felipe Pena ac2bdbaeb0 - BFN 2009-10-12 19:23:07 +00:00
Felipe Pena b46243e2e2 - Fixed possible crash when calling SQLiteDatabase::{ArrayQuery, SingleQuery} methods using Reflection 2009-10-12 19:04:00 +00:00
Felipe Pena 3ef866882a - Fixed PDORow and PDOStatement crashes when instantiating throught Reflection 2009-10-12 17:09:11 +00:00
Moriyoshi Koizumi 040871458c - Bug #49785: take 4 - typo. this flaw is unharmful since the return value of get_next_char() is only used when UTF-8 is specified to the third argument. 2009-10-12 14:29:45 +00:00
Moriyoshi Koizumi 18b0a78708 - Bug #49785: take 3 - fixed infinite loop bug (only for 5.2) (reported by T.Komura. Thanks) 2009-10-12 14:25:51 +00:00
Pierre Joye e394a130f6 - check max colors while loading gd2 palette image (patch by Tomas Hoger) 2009-10-12 10:01:37 +00:00
Moriyoshi Koizumi b8175c7919 - A couple more fix for my previous fix.
(one of the fix by Arnaud Le Blanc. Thanks!)
2009-10-11 23:52:33 +00:00
Moriyoshi Koizumi efacbfff88 - More tests to go. 2009-10-09 17:13:05 +00:00
Moriyoshi Koizumi 2594c77511 - Fixed bug #49785 (insufficient input string validation of htmlspecialchars()). 2009-10-09 10:02:38 +00:00
Ilia Alshanetsky 2595252ebf Syntax 2009-10-09 02:15:22 +00:00
Jani Taskinen 98a8665383 - Fixed bug #49809 (time_sleep_until is not available on solaris) 2009-10-08 14:21:53 +00:00
Jani Taskinen 875c91b415 - Fixed bug #49503 (invalid warning for failed semaphore file creation)
# I have no idea why I had added this. Might have been some debug code.. :(
2009-10-08 10:33:26 +00:00
Ilia Alshanetsky f9b8139e65 Revert fix, not relavent for this branch 2009-10-08 02:21:36 +00:00
Matteo Beccati 29b7b871b7 - Fixed bug #48764 (PDO_pgsql::query always uses implicit prepared statements if v3 proto available)
# original patch by Mark Kirkwood
2009-10-07 17:40:16 +00:00
Ilia Alshanetsky a6321016da Fixed bug #49800 (SimpleXML allow (un)serialize() calls without warning).
# original patch by wmeler at wp-sa dot pl
2009-10-07 12:46:29 +00:00
Etienne Kneuss cf2c0f3ee3 Fix bug #49263 (Offset error when unserializing self-references in SplObjectStorage) 2009-10-06 13:34:56 +00:00
Ilia Alshanetsky 5007c77a31 Formatting tweaks 2009-10-06 12:52:32 +00:00
Jani Taskinen bf34edee8f pff 2009-10-06 10:00:53 +00:00
Ilia Alshanetsky c21d59c08e Fixed bug #49757 (long2ip() can return wrong value in a multi-threaded applications).
# original patch by Florian Anderiasch
2009-10-05 14:45:54 +00:00
Dmitry Stogov 25209f9a71 Fixed bug #49627 (error_log to specified file does not log time according to date.timezone) 2009-10-05 13:56:49 +00:00
Sriram Natarajan 0de483dcf4 - Fixed bug #49738 (calling mcrypt after mcrypt_generic_deinit crashes). 2009-10-02 00:13:53 +00:00
Ilia Alshanetsky bbc9b86f0d Fixed typo 2009-10-01 23:21:36 +00:00
Ilia Alshanetsky ce1b22fd85 Fixed bug #48805 (IPv6 socket transport is not working). 2009-09-30 20:48:41 +00:00
Felipe Pena 4c2d3cace1 - Fix build 2009-09-30 11:25:13 +00:00
Ilia Alshanetsky 67303f2999 Fixed bug #49517 (cURL's CURLOPT_FILE prevents file from being deleted after fclose). 2009-09-30 02:34:17 +00:00
Felipe Pena c5d06308b1 - Fix build 2009-09-29 23:36:30 +00:00
Rafael Machado Dohms 98ce43e431 Fixing tests for head and wrong SKIPIF blocks 2009-09-29 14:34:06 +00:00
Rasmus Lerdorf bbd230d119 Fixed a safe_mode bypass in tempnam() identified by Grzegorz Stachowiak. 2009-09-29 14:14:02 +00:00
Rasmus Lerdorf d5ee6d613d Add missing open_basedir check in posix_mkfifo 2009-09-29 14:02:50 +00:00
Rasmus Lerdorf 4ddffe7b35 Fix date_sunrise/date_sunset tests 2009-09-29 13:56:51 +00:00
Rafael Machado Dohms 198361e012 Adding tests for bug #49692 2009-09-28 22:57:41 +00:00
Kalle Sommer Nielsen bc72db169b NEWS for Rasmus' bug fix 2009-09-28 15:07:37 +00:00
Rasmus Lerdorf 5803d3b029 Fix for bug #49698 2009-09-28 13:29:53 +00:00
Ilia Alshanetsky 3758a57bba Fixed build 2009-09-28 13:11:21 +00:00
Felipe Pena 22693aa7fb - Fixed tests 2009-09-26 17:59:33 +00:00
Felipe Pena 6a1736de17 - Fixed tests 2009-09-26 16:55:11 +00:00
Rasmus Lerdorf 2b2fb3fd49 Refix bug #49558 as per bug #49676 2009-09-26 00:53:59 +00:00
Andrey Hristov ef17ae4ecb Fix returned value, if mysql_stmt_attr_set fails
then mysqli returns true, otherwise false. Wrong logic.
2009-09-25 12:35:58 +00:00
Antony Dovgal d5cf5939f8 MFH: save LDFLAGS in EXTRA_LDFLAGS before unsetting
this patch makes sure that LDFLAGS are taken into account when
configuring the build
2009-09-25 07:10:29 +00:00
Felipe Pena 845bfd0a0c - Reverted last Ilia's change (looks as accidental in this branch, as it was in popen() not tempnam(), and it doesnt need to be changed here) 2009-09-25 01:53:02 +00:00
Jani Taskinen fc79d27624 fn 2009-09-24 22:40:15 +00:00
Ilia Alshanetsky 722b937b8f Make tempnam() return FALSE on error as documented 2009-09-24 18:59:28 +00:00
Sriram Natarajan cc83bf0be2 - Rollback fix for bug #49571 (CURLOPT_POSTREDIR not implemented).
# - Features don't go into PHP 5.2
2009-09-24 18:45:09 +00:00
Sriram Natarajan bbba732e79 - Fixed bug #49571 (CURLOPT_POSTREDIR not implemented). 2009-09-24 18:20:49 +00:00
Rob Richards 8324654b13 MFH: Fixed bug #49647 (DOMUserData does not exist) 2009-09-24 15:10:21 +00:00
Rob Richards 976fbc7006 fix memleak 2009-09-24 12:40:59 +00:00
Moriyoshi Koizumi c2471b4950 - Fixed bug #49354 (mb_strcut() cuts wrong length when offset is within a
multibyte character).

(This bug was introduced by the commit by r202895. Please double-check the
 specification of the function you are going to *fix*.)
2009-09-23 15:22:47 +00:00
Moriyoshi Koizumi 4a391f68d5 * Merge two patches from 5.3 branch (intentionally uncommited because 5.2.11
was about to come at that time).
2009-09-23 14:26:51 +00:00
Dmitry Stogov 5bd58e538e Fixed ext/standard/tests/streams/stream_get_contents_002.phpt 2009-09-23 10:25:54 +00:00
Felipe Pena c0735c68da - Fixed bug #49531 (CURLOPT_INFILESIZE sometimes causes warning "CURLPROTO_FILE cannot be set ...") 2009-09-23 02:08:19 +00:00
Felipe Pena 7cbdfd2757 - Fixed bug #49630 (imap_listscan function missing)
# Missing PHP_FE(), though nowdays it is used through of two aliases. (imap_scan() and imap_scanmailbox())
2009-09-22 18:18:57 +00:00
Dmitry Stogov 02dd12385b Fixed tests which fail from time to time because of race conditions ("echo" command didn't wait for all the data php tried to send and as result php got a SIGPIPE) 2009-09-22 14:52:47 +00:00
Dmitry Stogov 5c51b3f11a Fixed test (it failed from time to time because of very small timeouts) 2009-09-22 10:15:10 +00:00
Jani Taskinen ca1692fe16 - Move tests in the right location 2009-09-22 09:41:39 +00:00
Dmitry Stogov c2dbf60325 Fixed test 2009-09-22 08:47:30 +00:00
Dmitry Stogov d5d77c1beb Fixed test (removed "bad" locale) 2009-09-22 08:22:29 +00:00
Dmitry Stogov 88586426d4 Fixed tests ("none" is an alias of "false" and it can't be used as a string value of ini option) 2009-09-21 14:32:20 +00:00
Dmitry Stogov 943d08ee0f Fixed tests/lang/bug22592.phpt 2009-09-21 13:32:10 +00:00
Dmitry Stogov b164d2b97c Fixed memleak in tests/lang/engine_assignExecutionOrder_001.phpt 2009-09-21 13:01:17 +00:00
Dmitry Stogov 76ff5590c2 Fixed tests 2009-09-21 11:30:38 +00:00
Dmitry Stogov 4061a72664 Fixed memory leak 2009-09-21 11:22:13 +00:00
Ilia Alshanetsky 6db1f59938 WS 2009-09-21 02:51:15 +00:00
Hannes Magnusson c6bc88db3a BFN 2009-09-17 11:43:29 +00:00
Hannes Magnusson dc2f690377 Fixed bug#49578 (make install-pear fails)
# Apparently this script was using 5.3 functionality
# Workaround would be to install 'wget'
2009-09-17 11:36:29 +00:00
Sriram Natarajan b91f37fdc0 - Fixed bug #49572 (use of C++ style comments causes build failure) 2009-09-17 02:45:25 +00:00
Ilia Alshanetsky 77fd5b8075 5.2.11 news cleanup 2009-09-16 22:46:37 +00:00
Ilia Alshanetsky ba855e4824 Back to dev 2009-09-16 12:55:51 +00:00
Ilia Alshanetsky 9a983f9ccf 5.2.11 2009-09-16 12:54:51 +00:00
andy wharmby 80e91e8f0d Fix SKIPIF sections 2009-09-15 21:44:08 +00:00
Rasmus Lerdorf 4c92f98c4e Fix for bug #49558 for 5.2 and HEAD as well. 2009-09-15 20:34:54 +00:00
Moriyoshi Koizumi 911228f106 - WS fix (spaces to tabs) 2009-09-15 00:09:13 +00:00
Jani Taskinen 80fee52884 pfft 2009-09-14 17:18:27 +00:00
Ulf Wendel 58c3410689 Backport of http://news.php.net/php.cvs/60381 to PHP 5_2 which fixes a potential crash with ext/mysqli and Prepared Statements if the MySQL Server sends faulty metadata, see also http://news.php.net/php.cvs/60389 . I don't know of a way to crash PHP using a recent MySQL. But metadata has been a troublemaker in the past. Just in case... 2009-09-14 16:51:11 +00:00
Ilia Alshanetsky 4d4871f578 Fixed certificate validation inside php_openssl_apply_verification_policy 2009-09-14 12:50:30 +00:00
Moriyoshi Koizumi e5b872a817 - Looks like bug #48697 has already been fixed in RC1. 2009-09-14 04:11:29 +00:00
andy wharmby c6849dc9ba Add missing SKIPIF 2009-09-11 21:57:04 +00:00
Ilia Alshanetsky d32efcaeaf Back to dev 2009-09-10 12:16:30 +00:00
Ilia Alshanetsky 82d6e7855d 5.2.11RC3 2009-09-10 12:14:51 +00:00
Ilia Alshanetsky 275909c813 Fixed test 2009-09-10 02:15:08 +00:00
Felipe Pena c068f17a31 - Possible fix for bug #49344 on Windows (pdo_mssql fails to connect,throws PDOException SQLSTATE[] (null) (severity 0)) 2009-09-10 01:20:42 +00:00
Jani Taskinen 5f4a55c67f Ihnetd. 2009-09-09 07:38:03 +00:00
Ilia Alshanetsky 8f584b3207 TZ news 2009-09-08 22:14:29 +00:00
Derick Rethans dbac748812 - Updated to version 2009.13 (2009m) 2009-09-08 14:03:53 +00:00
Ilia Alshanetsky f21a5b2332 Fixed tests 2009-09-07 14:18:46 +00:00
Ilia Alshanetsky 27fb503751 Fixed bug #49470 (FILTER_SANITIZE_EMAIL allows disallowed characters). 2009-09-07 02:35:25 +00:00
Pierre Joye d5ab5a6452 - revert last commit, breaks the build and needs test case(s) 2009-09-06 15:56:58 +00:00
Moriyoshi Koizumi 1fee2957ae - Fix leaks. 2009-09-06 14:43:09 +00:00
Pierre Joye 98c32cf3b0 - WS 2009-09-05 19:01:06 +00:00
Pierre Joye ac40eed89d - don't hide early declaration 2009-09-05 19:00:05 +00:00
Pierre Joye 8d17f0c2cc - fix #49274, filter_var does not accept object without a toString implementation 2009-09-05 17:35:26 +00:00
Jani Taskinen 0be7c56f86 - This was not supposed to be committed.. 2009-09-05 17:11:44 +00:00
Jani Taskinen 06f5b207c9 - Fixed bug #49182 (PHP CGI always outputs the shebang line) 2009-09-05 17:07:14 +00:00
Jani Taskinen d12cfe5b07 - some styling 2009-09-04 22:11:32 +00:00
Sriram Natarajan 8926fbaf26 - Fixed bug #49447 (php engine need to correctly check for socket API
return status on windows). (Sriram Natarajan)
2009-09-04 07:59:48 +00:00
Matteo Beccati 2acedb40e6 MFH
- Fixed bug #48060 (pdo_pgsql - large objects are returned as empty)
# Backported from 5.3.0, per gripe from Konstantin Ryabitsev
# Permission granted by Ilia
2009-09-03 22:53:25 +00:00
Sebastian Bergmann d9eeb2e6e6 Make invokeArgs() error messages consistent with invoke(). 2009-09-03 14:02:51 +00:00
Pierre Joye 1b7cad9a28 - missing ) 2009-09-03 12:54:46 +00:00
Jani Taskinen 9c6d53b68c - Prepare for b-day :D 2009-09-03 12:20:26 +00:00
Ilia Alshanetsky efcefa9fd9 Back to dev 2009-09-03 12:16:47 +00:00
Ilia Alshanetsky a2c78531df 5.2.11RC2 2009-09-03 12:14:58 +00:00
Pierre Joye 79868f8566 - Fix sanity check for the color index in imagecolortransparent 2009-09-03 09:45:56 +00:00
Ilia Alshanetsky e46f05a0a2 Fixed return value to comply with tests 2009-09-02 13:07:44 +00:00
Jani Taskinen ca5c15efe4 - Add missing bug fixing news 2009-09-02 06:30:47 +00:00
Patrick Allaert 3891e2a52e Merging last tests made in HEAD 2009-09-01 13:41:18 +00:00
Patrick Allaert 7c56a4d498 Fixing #49424 (#48696): segfault while using ldap_search(), ldap_read(),... 2009-09-01 08:42:10 +00:00
Jani Taskinen 9251699926 fix typo 2009-08-31 21:19:29 +00:00
Jani Taskinen 532e142459 - Fixed zlib.deflate compress filter to actually accpet level parameter. 2009-08-31 21:18:55 +00:00
Zoe Slattery f03552c27d add missing skipifs 2009-08-31 19:22:29 +00:00
Ilia Alshanetsky ec9c7a4599 Fixed bug #49361 (wordwrap() wraps incorrectly on end of line boundaries). 2009-08-31 12:28:46 +00:00
Jani Taskinen 780bda4ce1 MF53: - Fixed bug #49000 (PHP CLI in Interactive mode (php -a) crashes when including files from function), see also bug #49405 2009-08-31 12:07:27 +00:00
Zoe Slattery 58aeff1978 The last of the 2009 testfest tests 2009-08-30 18:18:50 +00:00
Pierre Joye a966ab428a - Fixed leak on error in popen/exec (and related functions) 2009-08-30 17:13:45 +00:00
Zoe Slattery 7aa125747e More tests from 2009 testfest 2009-08-30 12:19:50 +00:00
Zoe Slattery ffa06648fd bc math tests from testfest 2009 2009-08-30 11:10:20 +00:00
Zoe Slattery 076ada3a46 server for ftp tests 2009-08-30 09:31:54 +00:00
Zoe Slattery 28c5f6948b More tests from 2009 testfest 2009-08-30 09:30:13 +00:00
Zoe Slattery 77cd4db9cc Fixed to allow for http etc 2009-08-30 08:18:53 +00:00
andy wharmby 62426919df New basic network function tests. Tested on Windows, Linux and Linux 64 bit 2009-08-28 22:46:43 +00:00
Zoe Slattery fa2b95c95a More tests from 2009 testfest 2009-08-28 14:31:19 +00:00
andy wharmby b5145cb74d Fix time_sleep_until() tests; not supported on Windows on 5.2 2009-08-27 19:30:35 +00:00
andy wharmby 9ea28dd365 Fix tests. Add missing SKIPIF sections so test do not run when POSIX extension not available. 2009-08-27 12:21:19 +00:00
Rasmus Lerdorf e71fee906e This needs to be larger to avoid an overflow on the bit-shifting in this function 2009-08-27 05:05:42 +00:00
Pierre Joye 0d332b4edb - fix #49372, segfault in php_curl_option_url 2009-08-26 22:24:10 +00:00
Pierre Joye 1cbf3eb6c3 - silent warning (fix for #28038) 2009-08-26 21:59:54 +00:00
Pierre Joye b80812021e - update 2009-08-26 20:03:49 +00:00
Pierre Joye f19b49815c - fix #44683, popen crashes when an invalid mode is passed (works on 2k8/vista/win7) 2009-08-26 19:57:01 +00:00
Pierre Joye 963575b07f - fix build (pls at least try to compile before committing) 2009-08-26 19:15:13 +00:00
Zoe Slattery 7e791e6e19 Test from 2009 testfest 2009-08-26 17:17:58 +00:00
Ilia Alshanetsky 56510b5aaf Fixed variable clobbering 2009-08-26 15:29:06 +00:00
Dmitry Stogov a56bb8e06e Fixed bug #47273 (Encoding bug in SoapServer->fault) 2009-08-26 14:05:48 +00:00
Guenter Knauf 7a4e20ca25 fix bug #48640: cleaned up ifdef whoes, removed duplicate code. 2009-08-26 02:16:41 +00:00
Ilia Alshanetsky ef5691ff42 Don't clober variables 2009-08-24 18:40:13 +00:00
Rafael Machado Dohms bfa792bb3c Adding tests for imagecolorallocatealpha 2009-08-24 02:50:19 +00:00
Mikko Koppanen 6b20ef8197 Fixes a memory leak in ssl streams. The context was not properly freed 2009-08-22 02:31:23 +00:00
Jani Taskinen 2d8ddcb682 - Fixed bug #49286 (php://input (php_stream_input_read) is broken) 2009-08-20 12:40:15 +00:00
Jani Taskinen af7d5f950d - WS + CS + sync 2009-08-20 12:17:32 +00:00
Jani Taskinen c935d23791 - Fixed bug #49289 (bcmath module does not compile with phpize configure). 2009-08-20 11:19:20 +00:00
andy wharmby c934b1e7c9 New basic test for md5(). Tested on Windows, Linux and Linux 64 bit 2009-08-19 08:39:33 +00:00
Stanislav Malyshev 50fa1e7a2f fix crash when unexpectedly passed by-ref parameter is modified 2009-08-18 20:51:49 +00:00
Garrett Serack 2b682228e2 - Fixed bug #28038 (Sent incorrect RCPT TO commands to SMTP server) 2009-08-18 18:58:33 +00:00
Ilia Alshanetsky c3e759372e NULL the value after free 2009-08-18 12:44:32 +00:00
andy wharmby 8c84e5256b New str_replace() tests. All tested on Windows, Linux and Linux 64 2009-08-17 22:41:30 +00:00
Jani Taskinen 223a8da69d - Fix news 2009-08-17 20:14:25 +00:00
Dmitry Stogov 161dbf90ad Fixed bug #49144 (import of schema from different host transmits original authentication details) 2009-08-17 18:23:48 +00:00
Jani Taskinen 844d49f80c - Fixed bug #49236 (Missing PHP_SUBST(PDO_MYSQL_SHARED_LIBADD)). 2009-08-17 17:57:40 +00:00
Jani Taskinen b589d82176 - Fixed bug #49248 by fixing bug #48994 properly 2009-08-17 17:30:32 +00:00
Jani Taskinen d6439e0920 - Try disabling zlib.output_compression always for images. (zlib extension might be compiled as shared and not same time as the main PHP binary) 2009-08-17 16:54:39 +00:00
andy wharmby 09e01d4384 Make test more portable. 2009-08-17 15:54:51 +00:00
Derick Rethans f5f8a3cee2 - Updated to version 2009.12 (2009l) 2009-08-17 14:46:58 +00:00
andy wharmby b000227f0a New basic tests for uniqid(). Tested on Windows, Linux and Linux 64 bit 2009-08-17 14:22:02 +00:00
andy wharmby 78846dab86 New basic string tests - includes back-porting a few existing tests back to 5.2. All tested on Windows, Linux and Linux 64 2009-08-17 10:37:30 +00:00
Dmitry Stogov 2a6b53de4b Fixed bug #49269 (Ternary operator fails on Iterator object when used inside foreach declaration). (Etienne, Dmitry) 2009-08-17 07:40:18 +00:00
Ilia Alshanetsky 60d0e60d87 Added missing sanity checks around exif processing 2009-08-16 14:31:27 +00:00
Dmitry Stogov 85cee656e4 Fixed crash in usort() and uasort() in case user comparison function modifyes the array. 2009-08-14 06:18:47 +00:00
Ilia Alshanetsky ae38f7ad1c Back to dev 2009-08-13 12:34:56 +00:00
Ilia Alshanetsky 672cf89dea Back to RC1 for a second (still learning svn ;( ) 2009-08-13 12:33:19 +00:00
Ilia Alshanetsky 872d28d545 Back to dev 2009-08-13 12:22:12 +00:00
Ilia Alshanetsky 51b01fca74 5.2.11RC1 2009-08-13 12:17:04 +00:00
Scott MacVicar 42aa79cd97 BFN 2009-08-12 00:21:42 +00:00
Scott MacVicar ed57e50fca MFB 5.3: Fix bug #48284 (r283144) - adler32 is in the wrong order. Changed to match what zlib produces. 2009-08-12 00:18:36 +00:00
Sriram Natarajan 77e32a6371 - Simplify default flags for Sun C compiler. 2009-08-11 23:45:35 +00:00
Stanislav Malyshev e88345d268 fix potential memory issue on serialization
# When internal class uses zend_mangle_property_name it's malloc()
# so it should be freed with free()
2009-08-11 22:46:07 +00:00
Scott MacVicar 0125a3620b We should check /usr/local/include last 2009-08-11 21:40:15 +00:00
Ilia Alshanetsky fdd4a42546 Fixed typo 2009-08-11 16:11:23 +00:00
Pierre Joye a212a16419 - fixed bug #49072, feof never returns true for damaged file in zip 2009-08-11 15:12:00 +00:00
Scott MacVicar bae879486a Search /usr/include too for those wanting to use a system PCRE. 2009-08-11 12:03:29 +00:00
David Soria Parra 60a8b1f6fb Add actions for the gitclean target. 2009-08-11 02:21:09 +00:00
Rasmus Lerdorf 545b5fcd54 Tweak a few tests that failed on OSX 2009-08-10 06:53:49 +00:00
Rasmus Lerdorf a207b7ea69 Make these socket tests less Linux-specific 2009-08-09 14:50:51 +00:00
Rasmus Lerdorf 73de7b29b6 The system error here may not be "Filename too long". On OSX, for example,
it is "Invalid ioctl" in this case.
2009-08-09 14:20:54 +00:00
Rasmus Lerdorf 1c439aacf8 Skip this test on osx because ceil(-0.5) doesn't return -0 like
everywhere else because of weird optimizations.
2009-08-09 05:16:17 +00:00
Rasmus Lerdorf 5c729bb28c Restore intra-string whitespace collapsing broken in the previous change. 2009-08-08 14:39:34 +00:00
Rasmus Lerdorf a63ce91cd6 Oops, true/false are not defined on Linux. They are on OSX. 2009-08-07 17:32:31 +00:00
Rasmus Lerdorf a2b373d224 Only skip leading 0's - fixes a test I broke a while ago 2009-08-07 17:14:19 +00:00
Scott MacVicar 6d78ad0f01 Merge r286857: Change dns.h to php_dns.h, part of my dns cleanup 2009-08-06 14:07:16 +00:00
Rasmus Lerdorf bcabef3c9f More eol crap 2009-08-06 13:31:03 +00:00
Rasmus Lerdorf 2ce7143347 Fix more tests messed up by svn 2009-08-06 13:26:43 +00:00
Rasmus Lerdorf 4638a9c78e Fix test 2009-08-06 13:08:13 +00:00
Ilia Alshanetsky a358e4d0dd Make test more generic 2009-08-06 12:23:35 +00:00
Jani Taskinen ababa2eabd - Fix CS and remove extra strlen() call 2009-08-06 11:11:15 +00:00
Rasmus Lerdorf 76f8041036 The user argument cannot be NULL here - fixes 2 tests 2009-08-06 10:56:00 +00:00
Kalle Sommer Nielsen aaea1e8b58 MFH: Fixed compiler warnings in ext/date 2009-08-05 21:25:39 +00:00
andy wharmby 3b9ebac846 Basic test for is_resource() and isset() functions. tested on Windows, Linux and Linux 64 2009-08-05 16:10:46 +00:00
andy wharmby a00d5aa5bd Add new use-case to parse_str() test. Tested on Windows, Linux and Linux 64 2009-08-05 08:54:27 +00:00
andy wharmby 316d82625a Fix tests 2009-08-04 23:16:25 +00:00
Jani Taskinen caa09a360e - Add test (yes, it fails still :) 2009-08-04 12:16:40 +00:00
Jani Taskinen 07c8bb9d6c - Fixed bug #48608 (Invalid libreadline version not detected during configure) 2009-08-04 11:20:49 +00:00
Antony Dovgal 4ee2949d68 cosmetic fix 2009-08-04 09:27:15 +00:00
Antony Dovgal cebcb49215 fix memleak and possible segfault in HTTP fopen wrapper 2009-08-04 09:24:48 +00:00
Jani Taskinen 1f4ba45991 - Fix title 2009-08-04 02:55:24 +00:00
Jani Taskinen b1fbbea818 - Fixed bug #49056 (parse_ini_file() regression in 5.3.0 when using non-ASCII strings as option keys) 2009-08-04 02:34:04 +00:00
andy wharmby fbb3bc2b8c New basic tests for get_defined_constants(), get_loaded_extensions() and get_resource_type() functions. Tested on Windows, Linux and Linux 64 bit 2009-08-03 23:12:43 +00:00
andy wharmby cb28009c72 Add missing SKIPIF sections to tests 2009-08-03 22:40:58 +00:00
Felipe Pena 017670317f - Fixed bug #49095 (proc_get_status['exitcode'] fails on win32) 2009-08-03 19:05:56 +00:00
Jani Taskinen 329c258148 - Fixed bug #48994 (zlib.output_compression does not ouput HTTP headers when set to a string value)
# also fixes bug #35936 (ini.zlib.output-compression Documentation :)
2009-08-03 18:15:30 +00:00
Felipe Pena 748590c6ab - CS 2009-08-03 15:58:18 +00:00
Felipe Pena 1e21fd1777 - Improved. No ugly copy. (Tony) 2009-08-03 13:26:15 +00:00
Felipe Pena c46c584f97 - Re-fix stream_is_local() memory leaks 2009-08-03 13:16:24 +00:00
Jani Taskinen 28e248da9b - Fixed bug #48400 (imap crashes when closing stream opened with OP_PROTOTYPE flag) 2009-08-03 13:02:53 +00:00
Jani Taskinen 4bc219eadb - Fixed bBug #48873 (Using both --with-libedit and --with-readline cause unknown option warning)
# This isn't worth of NEWS entry, it's just cosmetic
2009-08-03 11:21:44 +00:00
Jani Taskinen f3d7bf9cf3 - These tests fail if mbstring is enabled, not because of bad libc.. 2009-08-03 10:23:23 +00:00
Uwe Schindler a525ea8c5b MFH: Fix bug #46020: With Sun Java System Web Server 7.0 on HPUX, #define HPUX 2009-08-03 10:14:20 +00:00
Antony Dovgal b691c34579 revert bogus memleak fix causing Valgrind to scream 2009-08-03 08:45:28 +00:00
Rasmus Lerdorf 7f594baaa3 Fix broken json tests in all branches 2009-08-03 04:01:57 +00:00
Rasmus Lerdorf 5624073f74 Missed a merge 2009-08-02 23:12:04 +00:00
Greg Beaver c624bfb376 add missing fetch.php 2009-08-02 19:13:43 +00:00
Greg Beaver 63a7abc493 fix Bug #43857 2009-08-02 19:11:15 +00:00
Jani Taskinen 4bf6310b15 - More and more missing svn:ignore entries. 2009-08-02 01:48:27 +00:00
Jani Taskinen b36044f633 - No ignore here 2009-08-02 01:42:40 +00:00
Jani Taskinen 5ef997b7eb - More missing svn:ignore entries 2009-08-02 01:16:41 +00:00
Felipe Pena 888669dd69 - Fixed paths 2009-08-01 23:26:02 +00:00
Felipe Pena 3135976b14 - Fixed bug #49125 (Error in dba_exists C code)
patch by: jdornan at stanford dot edu
2009-08-01 23:10:11 +00:00
Felipe Pena a4a09a00ab - Fixed ReflectionClass::getStaticProperties() to do not return the private properties from parent class;
behavior already adopted in ReflectionClass::getDefaultProperties() and ReflectionClass::getProperties().
2009-08-01 20:44:00 +00:00
Felipe Pena da73057c2a - Fixed bug #49132 (posix_times returns false without error)
patch by: phpbugs at gunnu dot us
2009-08-01 18:22:31 +00:00
Derick Rethans 3627bd185a - Added a function to print all CVs from the local scope. 2009-08-01 12:55:36 +00:00
Jani Taskinen df61b3c6eb - Fixed bug #43510 (stream_get_meta_data() does not return same mode as used in fopen) 2009-08-01 03:17:31 +00:00
Jani Taskinen 2f577607b0 - Missing svn:ignore 2009-08-01 01:32:57 +00:00
Jani Taskinen 4caca3b57d - Missing svn:ignore 2009-08-01 01:32:34 +00:00
Jani Taskinen 1679a25308 - Added test for bug #49074 2009-08-01 01:01:43 +00:00
Jani Taskinen f9e548a9e5 - Fixed bug #49074 (private class static fields can be modified by using reflection) 2009-08-01 00:48:04 +00:00
Garrett Serack bdcc7e1460 - Updated fix for bug #48911 (embed sapi misses SAPI_API)
#- Windows didn't need SAPI_API
2009-07-30 20:20:56 +00:00
Jani Taskinen 24e68ba62c - Fixed compile failure with older openssl libs (< 0.9.8), fixes bug #49012 2009-07-30 11:32:08 +00:00
Kalle Sommer Nielsen 14e9fd36cd Test case for bug #42434 2009-07-30 03:54:27 +00:00
Felipe Pena 628d1d59d7 - Fixed memleak in stream_is_local() 2009-07-29 19:09:17 +00:00
Johannes Schlüter d07fcfd636 Remove .project files (doesn't exist in trunk) 2009-07-29 13:51:52 +00:00
Ilia Alshanetsky 334d154acc Fixed bug #45141 (setcookie will output expires years of >4 digits). 2009-07-29 13:44:16 +00:00
Jani Taskinen b2449e38f2 - fuck bom 2009-07-29 12:50:19 +00:00
Greg Beaver 45194181d2 sync run-tests.php with revision 286499 changes making php 6 tests with EXPECTF that can have arbitrary binary data in output work 2009-07-29 10:06:55 +00:00
Jani Taskinen 5024e00b78 - Fix news 2009-07-29 09:10:52 +00:00
Moriyoshi Koizumi 0754517cb2 * Fix bug #48645 (mb_convert_encoding() doesn't understand hexadecimal html-entities) 2009-07-29 04:44:08 +00:00
Hannes Magnusson 650ece0b75 MFH: Fixed bug #44144 & add test 2009-07-28 22:25:31 +00:00
Jani Taskinen 18d7a1b461 - Fixed bug #48911 (embed sapi misses SAPI_API) 2009-07-28 21:07:43 +00:00
Kalle Sommer Nielsen 420c0ccda9 Fixed bug #42434 (ImageLine w/ antialias = 1px shorter)
- patch by wojjie at gmail dot com
2009-07-28 20:35:06 +00:00
Sriram Natarajan 501b9f7894 - 48182 ssl handshake fails during asynchronous socket connection 2009-07-28 19:28:08 +00:00
Jani Taskinen e4e8e7b46a - Skip some tests in 32bit systems, add cleanups where missing 2009-07-28 19:16:02 +00:00
Derick Rethans 1f9610b81d - Updated to version 2009.11 (2009k) 2009-07-28 15:25:16 +00:00
Rasmus Lerdorf 0b311264b8 Get rid of this platform-specific test 2009-07-28 14:56:08 +00:00
Antony Dovgal 64ee5ebffb configure dependency has to be optional as well 2009-07-28 08:59:08 +00:00
Antony Dovgal c380c743fc fix segfault in session/tests/031.phpt by adding optional extension
dependency (php_hash_hashtable has to be initialized when setting
session.hash_function)
2009-07-28 08:54:23 +00:00
Rasmus Lerdorf 48ce6230b0 The version check was completely bogus in this test 2009-07-27 23:37:40 +00:00
Rasmus Lerdorf 007f0fd43c We don't support . as a delimiter here in PHP 5.2. Support was added in 5.3 2009-07-27 23:08:23 +00:00
Takeshi Abe 2147f3e1f5 MFB: added test for #43073 2009-07-27 22:12:35 +00:00
Takeshi Abe 93ceb2ada5 MFH: fixed #48732 (TTF Bounding box wrong for letters below baseline) and #48801 (Problem with imagettfbbox) 2009-07-27 15:11:46 +00:00
Felipe Pena 91676429a5 - Fix ZTS build 2009-07-26 23:44:59 +00:00
Jani Taskinen 802daf8f7c - Regenerated 2009-07-26 23:22:27 +00:00
Jani Taskinen acbfafef3c - Fixed bug #49064 (--enable-session=shared does not work: undefined symbol:
php_url_scanner_reset_vars). (Jani)

# Note: This does not exist in PHP_5_2. Merged there as well to keep these files synced.
2009-07-26 23:20:34 +00:00
Jani Taskinen f67eeca1ef - Removed unused code (replaced long time ago by url_scanner_ex.* 2009-07-26 22:59:46 +00:00
Rasmus Lerdorf 540bab3e67 More mime-type cleanups 2009-07-26 21:44:54 +00:00
Ilia Alshanetsky 72550b4f0a Fixed bug #49026 (proc_open() can bypass safe_mode_protected_env_vars
restrictions).
2009-07-26 15:14:18 +00:00
Rasmus Lerdorf 459b3bfa6a The test for bug #46739 doesn't actually need the remote
responder, so get rid of the skipif in PHP 5, and it was
broken in PHP 6 because the keys in the curl_info array 
were not unicode.  All internally-generated arrays should
have unicode keys.
2009-07-26 02:12:38 +00:00
Jani Taskinen 4abb6878fd - Fix tests to be more comptatible AND to test what they are supposed to test 2009-07-25 22:20:18 +00:00
Felipe Pena 3bb252a461 - Opss, fix the fix... 2009-07-25 21:56:31 +00:00
Felipe Pena 0b75925a6f - Fix test 2009-07-25 21:52:33 +00:00
Rasmus Lerdorf d1b5964a6e Fix dumb typo in the skipif 2009-07-25 21:37:04 +00:00
Jani Taskinen e30acaa428 - Fix this again :) 2009-07-25 21:07:02 +00:00
Jani Taskinen ee9e684705 - Add missing EXPERIMENTAL note (this thing REALLY is experimental at best..) 2009-07-25 20:58:51 +00:00
Jani Taskinen 6e1f000090 - Fixed bug #48637 ("file" wrapper is overwritten when using --with-curlwrappers)
# Also fixes bug #48603, basically same issue.
2009-07-25 20:44:19 +00:00
Felipe Pena 4b9b4ad0dd - Making Valgrind happy 2009-07-25 20:39:01 +00:00
Derick Rethans 5e0d5f2fa0 - MF53: Added - to the list of "unsafe" characters so that the pecl dir can
have the - character in the name.
2009-07-25 15:51:02 +00:00
Derick Rethans e5bbeae477 - Updated to version 2009.11 (2009k) 2009-07-25 15:14:33 +00:00
Jani Taskinen a231624c60 - Fix bad environment usage 2009-07-25 14:52:52 +00:00
Jani Taskinen 7c2896d60c - Fix test when responder is something like lighttpd 2009-07-25 14:49:17 +00:00
Jani Taskinen 728069b96b - Fix test 2009-07-25 14:20:38 +00:00
Jani Taskinen 89de347f92 - Merge from PHP_5_3:
r280810 | kalle: Fixed compiler warnings
r276286 | iliaa: Fixed bug #47477 (php_curl_stream_read() unnecessarily sleeps 15 secs under heavy load)
2009-07-25 13:09:03 +00:00
Jani Taskinen 1941fb2bf1 - Fixed bug #49052 (context option headers freed too early when using --with-curlwrappers) 2009-07-25 13:00:25 +00:00
Jani Taskinen fb3b83b85a - Fix test 2009-07-25 00:35:25 +00:00
Moriyoshi Koizumi 3e3099f0d0 - MFH 2009-07-24 23:50:12 +00:00
Jani Taskinen c912e1c07b - Fix test 2009-07-24 19:51:55 +00:00
Rafael Machado Dohms 918889c957 Adding tests for imagesetthickness, basic and errors for both params, and complementing imagetruecolortopalette with out of bound params 2009-07-24 03:06:05 +00:00
Jani Taskinen 1cee22e83f - Fixed tests to be more portable 2009-07-23 19:06:56 +00:00
Jani Taskinen ff9403f4c0 - Allow using huge values for chunklen in this branch too 2009-07-23 17:39:21 +00:00
Jani Taskinen bf7764ce57 - Fix test 2009-07-23 16:24:24 +00:00
Jani Taskinen ed14e50435 - fix test 2009-07-23 15:16:08 +00:00
Jani Taskinen eddb79e0ab - Fixed bug #48802 (printf() returns incorrect outputted length) 2009-07-23 14:54:04 +00:00
Jani Taskinen e02a2ac8e8 - Fixed bug #49032 (SplFileObject::fscanf() variables passed by reference) 2009-07-23 14:42:46 +00:00
Patrick Allaert 6dacd1d269 MFH: The exact error message might differ (it's "Not owner" on Solaris) (r265951) 2009-07-22 12:20:56 +00:00
Jani Taskinen ad6945538c - PHP_5_2 branch does not have these macros 2009-07-21 23:06:18 +00:00
Jani Taskinen 913ca7786c - Fix badly applied patch (bug #48774) 2009-07-21 22:57:08 +00:00
Rasmus Lerdorf 954bb8e35e Fix bug #49003 by tweaking the fix to bug #44929 slightly.
A 0 followed by any punctuation is now significant instead
of just 0's in front of a period.
2009-07-21 21:15:48 +00:00
Sriram Natarajan 7f87b7e15c - Fixed bug #48774 (SIGSEGVs when using curl_copy_handle()). 2009-07-21 20:32:32 +00:00
Ilia Alshanetsky 3050decf1e Fixed bug #48962 (cURL does not upload files with specified filename). 2009-07-21 15:56:08 +00:00
Zoe Slattery 0dab567bcc Remove empty sections. Fix bad use of --SKIP-- 2009-07-21 14:02:24 +00:00
Jani Taskinen 854ddd8c6e - There is only one Makefile that needs removing 2009-07-21 13:57:33 +00:00
Jani Taskinen e8ca212c9d - Fixed problem with vcsclean which caused it not to really clean whole tree 2009-07-21 12:01:26 +00:00
Johannes Schlüter 1d1cafd4cc CVS->SVN 2009-07-20 14:34:09 +00:00
Jani Taskinen 0158a15046 Fixed bug #48929 (Double \r\n after HTTP headers when "header" context option is an array) 2009-07-20 10:54:37 +00:00
Jani Taskinen 12a666b7e0 - Removed unused parts 2009-07-20 10:51:40 +00:00
Rafael Machado Dohms 8d3123a0a1 Removing deprecated test replaced by individual tests for imageistruecolor and imagetruecolortopalette 2009-07-20 03:48:55 +00:00
Rafael Machado Dohms 563b6ba594 Separating and complementing imageistruecolor and imagetruecolortopalette tests 2009-07-20 03:47:29 +00:00
Felipe Pena c16d5d946c - Fixed bug #48057 (Only the date fields of the first row are fetched, others are empty)
patch by: info at programmiernutte dot net
2009-07-20 00:17:24 +00:00
Felipe Pena 22bd02b4b8 - Fixed bug #48980 (Crash when compiling with pdo_firebird) 2009-07-19 23:33:50 +00:00
Felipe Pena 6346c75d15 - Revert my mistake 2009-07-19 22:46:03 +00:00
Rafael Machado Dohms d5045b3697 Adjusting tests to use EXPECTF (faster testing) and adjusting 5_2 version to lack of parameter validation 2009-07-19 22:16:35 +00:00
Felipe Pena 790b65617a - Fixed module check (Related to bug #48785) 2009-07-19 20:53:26 +00:00
Felipe Pena 995950facb - Fixed bug #48773 (Incorrect error when setting PDO::ATTR_STATEMENT_CLASS with ctor_args)
[HEAD only]
2009-07-19 18:55:31 +00:00
Pierre Joye d4afadbfbe - #49763 entry (and test commit in multiple branches :) 2009-07-19 17:02:03 +00:00
Christopher Jones 964baec5e6 MFH: Bug #48722 (Update OCI8 --enable-sigchild warning) 2009-07-19 16:28:15 +00:00
Christopher Jones 757a492651 make it easier for maintainers to set un/pw in environments that don't pass shell variables 2009-07-19 16:21:35 +00:00
Pierre Joye 1d16a525a5 - Fix #48763, create corrupt archive 2009-07-19 15:31:05 +00:00
Pierre Joye 19059ef91e - MF53 2009-07-19 15:21:13 +00:00
Felipe Pena e03540f80e - Removed unnecessary strlen() call and if statement. 2009-07-19 14:36:16 +00:00
Felipe Pena d7db4660ee - Tests related to bug #48770 2009-07-19 03:25:49 +00:00
Rafael Machado Dohms 874e9e0006 Adding tests for imagecreatetruecolor for PHP_5_2 and trunk 2009-07-19 01:44:19 +00:00
Pierre Joye 86659d4de0 - let try to be smart, read the bug report.... 2009-07-18 17:08:11 +00:00
Zoe Slattery a809e1429e Adding explanation 2009-07-18 16:53:54 +00:00
Zoe Slattery b718e008f5 removing empty XFAIL sections 2009-07-18 16:41:16 +00:00
Zoe Slattery 920290d0dc Removing unnecessary SKIPIF sections 2009-07-18 13:47:08 +00:00
Rasmus Lerdorf d13a8c30df Fix TTF Files 2009-07-18 03:18:36 +00:00
andy wharmby b2f934d74b New cURL tests. Tested on Windows, Linux and Linux 64 bit 2009-07-17 20:46:30 +00:00
andy wharmby 6cb2f1cabc Fix cURL tests 2009-07-17 20:44:50 +00:00
Alexey Zakhlestin 9ec93445a8 MFB: fixed tests. money_format() is implemented in underlying system, not in php. So, we shouldn't test for actual values returned. They are different between systems 2009-07-17 16:04:06 +00:00
Felipe Pena c9b0466df1 - Fix test 2009-07-17 14:04:51 +00:00
Jani Taskinen fe7cc3b1cf - Add missing file exts 2009-07-17 12:31:58 +00:00
Jani Taskinen 6b46e3b7b9 - Fixed bug #48947 (vcsclean does not remove all created files) 2009-07-17 12:14:21 +00:00
Jani Taskinen b7e602d74c CS 2009-07-17 11:49:50 +00:00
Jani Taskinen 5278a956f0 - Fixed bug #47481 (natcasesort() does not sort extended ASCII characters correctly) 2009-07-17 11:13:51 +00:00
Rasmus Lerdorf 7705411a87 Multi-branch test commit to see if email notifications are working 2009-07-17 04:26:33 +00:00
Stanislav Malyshev ff9a0a7811 fix memory leak 2009-07-17 00:57:28 +00:00
Felipe Pena 3e5c792a6e - MFH: Fixed bug #48762 (IPv6 address filter still rejects valid address) 2009-07-16 23:32:16 +00:00
Jani Taskinen 4e48207626 - Not supposed to be here.. 2009-07-16 16:09:18 +00:00
Jani Taskinen ae424dbb83 MFH 2009-07-16 12:19:02 +00:00
Gwynne Raskind 2c3bd3bc30 one more attempt at ridding us of some of those annoying mime types 2009-07-16 08:10:50 +00:00
Gwynne Raskind e9b85ae00c MFH: dropped some more mime types, svnclean -> clean for multiple VCS 2009-07-16 04:54:26 +00:00
Felipe Pena 86101f6162 - MFH: Removed trailing zeros on double to string conversion (noticed on #48924) 2009-07-16 01:00:22 +00:00
Stanislav Malyshev ffe840983b fix ini_restore problem 2009-07-16 00:03:18 +00:00
Stanislav Malyshev 05687be885 fix freed mem reference 2009-07-15 23:57:10 +00:00
Rasmus Lerdorf 13878ae91e Fix the buffer handling here 2009-07-15 23:50:59 +00:00
Rasmus Lerdorf 4bf10270c7 Limit db connection strings to 255 chars here - I don't trust the underlying libs 2009-07-15 19:16:58 +00:00
Pierre Joye 4b5fddfdc4 - cvs > svn 2009-07-15 17:09:19 +00:00
Pierre Joye 07530e05c4 - cvs > svn 2009-07-15 16:51:35 +00:00
Alexey Zakhlestin 53de77421d fix tests corrupted by svn's eol-style=native 2009-07-15 13:55:39 +00:00
Alexey Zakhlestin 187336aaff MFH: fix broken test 2009-07-15 10:17:04 +00:00
andy wharmby 795a087448 Fix test 2009-07-15 08:19:05 +00:00
Felipe Pena b723416322 - MFH: Fixed bug #48913 (Too long error code strings in pdo_odbc driver) 2009-07-15 02:35:43 +00:00
Gwynne Raskind 722657e641 kill bad mime types 2009-07-14 21:52:43 +00:00
Gwynne Raskind a20f01aef7 MFH: CVS->SVN 2009-07-14 21:49:36 +00:00
Stanislav Malyshev 5ae716a724 fix build 2009-07-14 18:55:06 +00:00
David Soria Parra d0a312e573 MFH: cvs->svn 2009-07-14 09:57:09 +00:00
Pierre Joye 2ad2cb4054 - remove app/js mime 2009-07-13 22:01:21 +00:00
Rasmus Lerdorf 7a2141e48a cvs->svn 2009-07-13 19:15:58 +00:00
Rasmus Lerdorf 2ec070bb56 cvs->svn 2009-07-13 17:17:19 +00:00
Pierre Joye 06eb625f50 - rename to svn 2009-07-13 16:09:39 +00:00
Pierre Joye 47d3c72622 - rename to svn 2009-07-13 16:09:21 +00:00
Pierre Joye ccfabf9644 - cvs to svn changes 2009-07-13 16:01:40 +00:00
David Soria Parra ed20cc0d63 MFB: remove ZendEngine* detection, we always have Zend now (svn) 2009-07-13 06:42:59 +00:00
Gwynne Raskind 74190c4d5e MFB: cvsclean -> svnclean 2009-07-12 22:06:53 +00:00
Ilia Alshanetsky 1e0340a447 MFB: Fixed a possible crash inside OnUpdateErrorLog() when restoring an empty value 2009-07-12 16:42:16 +00:00
Rasmus Lerdorf 79a8116f02 Test commit - but pseudo useful 2009-07-11 04:14:29 +00:00
David Soria Parra 6b560284dd MFH: Get rid of PHP 4 related buildconf and moving around directories. As we switched to svn ZE2 is in Zend by default. 2009-07-11 02:47:38 +00:00
andy wharmby fbe70a47ea Fix test 2009-07-09 11:45:36 +00:00
Ilia Alshanetsky 6295278dfc BFN 2009-07-08 03:10:32 +00:00
Ilia Alshanetsky c79ec97b29 MFB: Fixed bug #48788 (RecursiveDirectoryIterator doesn't descend into
symlinked directories).
2009-07-08 03:08:03 +00:00
David Soria Parra 36d03e10a4 MFH: Reset TZ environment variable. Some tests assume that it's not set. 2009-07-07 23:05:33 +00:00
Jani Taskinen 9eafbf0998 MFH:- Fixed bug #48247 (Infinite loop and possible crash during startup with errors) 2009-07-07 16:43:35 +00:00
Pierre Joye 910bd85c7a - #48116 2009-07-07 15:15:46 +00:00
Pierre Joye 42df1c901d - MF53: #48116, fix build with openssl 1.0 2009-07-07 15:14:03 +00:00
Jani Taskinen 66e3ea2c17 F*ckin bom 2009-07-07 12:19:42 +00:00
Pierre Joye 305f104687 - #45905 2009-07-07 11:07:50 +00:00
Pierre Joye 307bd5a23b - MF53: #45905, imagefilledrectangle() clipping error 2009-07-07 11:06:21 +00:00
Ilia Alshanetsky 043a282d1b Fixed bug #48808 (FILTER_VALIDATE_EMAIL allows some invalid e-mail syntaxes) 2009-07-07 00:44:07 +00:00
andy wharmby c6116d0ca4 Fix test 2009-07-06 19:34:56 +00:00
Jani Taskinen 0496b37bf0 - Added missing file 2009-07-06 14:10:38 +00:00
Ilia Alshanetsky 74d7af3194 Fixed bug #48718 (FILTER_VALIDATE_EMAIL does not allow numbers in domain
components).
2009-07-05 16:07:24 +00:00
Zoe Slattery 86d682ca7f fix test 2009-07-05 14:46:53 +00:00
Felipe Pena 82f9a77f57 - New tests (DutchUG testfest) 2009-07-03 22:21:09 +00:00
Antony Dovgal ef04c97e2a merge from 5_3 2009-07-03 14:03:17 +00:00
Patrick Allaert ad07fa214e MFH: Tests for ext/ldap from PHPBelgium TestFest 2009-07-03 10:57:04 +00:00
Ilia Alshanetsky 8062b50a07 Fixed bug #48733 (CURLOPT_WRITEHEADER|CURLOPT_FILE|CURLOPT_STDERR warns on
files that have been opened with r+).
2009-07-02 13:41:29 +00:00
Felipe Pena 979ed8e3f1 - MFH: New tests (NorwayUG testfest) 2009-07-02 00:07:08 +00:00
Kalle Sommer Nielsen e493bbae1d BFN #45280 2009-07-01 18:46:53 +00:00
Kalle Sommer Nielsen d972b5de5b Fixed #45280 (Reflection of instantiated COM classes causes PHP to crash) (Paul Richards, Kalle) 2009-07-01 18:45:32 +00:00
Felipe Pena c6f719b915 - Fix test 2009-07-01 12:20:08 +00:00
Felipe Pena 984737ae63 - New tests 2009-07-01 02:36:28 +00:00
Derick Rethans 25e8f839d5 - MFH: Fixed bug #47351 (Memory leak in DateTime). 2009-06-30 16:18:34 +00:00
Ilia Alshanetsky 40fff3e335 WS 2009-06-29 12:40:46 +00:00
andy wharmby 724c464ad0 Basic test for max() on 64 bit platforms. Tested on Linux 64 bit 2009-06-29 07:52:25 +00:00
andy wharmby ceee572c0b Fix tests 2009-06-29 07:45:12 +00:00
andy wharmby 9d9e57236d Basic tests for sleep() and usleep(). Tested on Windows, Linux and Linux 64 bit 2009-06-29 07:31:14 +00:00
Felipe Pena 9c602f1e6b - MFH: Fixed bug #48709 (metaphone and 'wh') 2009-06-28 18:44:28 +00:00
Jani Taskinen 9729792378 - Typo, removed BOM (this file was supposed to be just ascii..right? :) 2009-06-28 15:40:00 +00:00
Ilia Alshanetsky 6c2782c92b FN 2009-06-28 14:15:32 +00:00
Pierre Joye fdd7bbac0f - MFH: fix regression introduced by the fix for #48518 (Ilia, Rasmus) 2009-06-28 10:00:28 +00:00
Pierre Joye 0f79478716 - calloc must actually clearing the requested size (Andrei) 2009-06-28 09:47:42 +00:00
Felipe Pena ec1d2c8dc9 - MFH: Fixed bug #48539 (pdo_dblib fails to connect, throws empty PDOException "SQLSTATE[] (null)") 2009-06-28 02:09:50 +00:00
Felipe Pena ef600a05a5 - MFH: Fixed bug #48693 (Double declaration of __lambda_func when lambda wrongly formatted) 2009-06-28 01:16:36 +00:00
Rob Richards c4e0f38aa7 MFH: add libxml_disable_entity_loader function 2009-06-26 20:27:44 +00:00
Zoe Slattery 5c3c95d224 fix skipif 2009-06-25 14:49:47 +00:00
Zoe Slattery c615df97f3 fix skipif 2009-06-25 14:42:38 +00:00
Zoe Slattery 44807c9bbe fix skipif 2009-06-25 12:37:45 +00:00
Ilia Alshanetsky f01baf3965 Handle instances where TMPDIR = "" 2009-06-25 01:35:05 +00:00
Scott MacVicar bcf5793b56 MFH Fix bug #48679 - Crash in SQLite with count on an unbuffered query set 2009-06-25 00:07:20 +00:00
Ilia Alshanetsky 13cd2683cc Fixed bug #48465 (sys_get_temp_dir() possibly inconsistent when using
TMPDIR).
2009-06-24 12:21:20 +00:00
Jani Taskinen 8bb00a20d4 MFH:- Fixed bug #48661 (phpize broken with non-bash shells) 2009-06-24 07:43:18 +00:00
andy wharmby 960ac2b4b0 Fix test 2009-06-23 23:00:57 +00:00
andy wharmby 30cadad903 New and fixed html tests. Tested in Windows, Linux and Linux 64. 2009-06-23 22:45:33 +00:00
andy wharmby 4a6df1caf8 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:46 +00:00
Ilia Alshanetsky 4482bfd2e4 Fixed build 2009-06-23 12:43:10 +00:00
Hannes Magnusson 025891e50f MFH: fix arginfo for libxml_use_internal_errors() 2009-06-23 12:38:32 +00:00
Kalle Sommer Nielsen 5ff316f1d6 Whops, nobody saw this :) 2009-06-23 07:09:19 +00:00
Kalle Sommer Nielsen feef90243a BFN 2009-06-23 01:02:03 +00:00
Pierre Joye 5db5d77cdb - news for #48619 2009-06-22 20:43:24 +00:00
Pierre Joye db4411e768 - MF53: #48619, imap_search ALL segfaults 2009-06-22 20:42:04 +00:00
Stanislav Malyshev 34b0f569e1 fix shared build on Windows 2009-06-22 18:41:13 +00:00
Kalle Sommer Nielsen 3b4eb71a05 Should have been in previous commit 2009-06-22 15:52:59 +00:00
Kalle Sommer Nielsen 030aea969b MFH: Use correct data types here, and gdImageSaveAlpha for the alpha flag 2009-06-22 15:51:12 +00:00
Takeshi Abe c7c937fb9b MFH: fixed bug #48555 (ImageFTBBox() differs from previous versions for texts with new lines) 2009-06-22 15:50:18 +00:00
Ilia Alshanetsky 5ee03b46d2 Fixed bug #48636 (Error compiling of ext/date on netware). 2009-06-22 13:42:29 +00:00
Felipe Pena 01c9097c74 - Fixed bug #48629 (get_defined_constants() ignores categorize parameter) 2009-06-22 00:03:24 +00:00
Scott MacVicar 74de9b7c6f BFN 2009-06-21 22:33:48 +00:00
Scott MacVicar 49638f0f8f MFH Specific test for bug #48276 2009-06-21 22:32:19 +00:00
Scott MacVicar 624930c22f MFH Fix bug #48276 - year is a long long so we need %lld so big endian systems print the correct value. 2009-06-21 22:19:19 +00:00
andy wharmby f558744785 New lang tests. 2009-06-21 17:42:16 +00:00
Johannes Schlüter 564ea0fb1c MFH: It's 2009 2009-06-21 16:45:24 +00:00
Felipe Pena 09b3411803 - MFH: old strlen cleanup 2009-06-20 18:45:18 +00:00
Kalle Sommer Nielsen b77d833eaf MFH: Fixed arginfo for array_map, patch by Matthew Fonda <matthewfonda@gmail.com> 2009-06-20 06:07:46 +00:00
Kalle Sommer Nielsen c174177a50 MFH: Fix memleak 2009-06-19 22:15:44 +00:00
andy wharmby 6ae535aaf8 Fix test; remove spurious code 2009-06-18 21:53:18 +00:00
andy wharmby c1412ea367 Basic tests for strftime(). Tested on Windows (all tests skip), Linux and Liinux 64 bit 2009-06-18 21:14:16 +00:00
andy wharmby edd936517a Backport ob test to php 5.2 and 53. 2009-06-18 21:03:32 +00:00
Derick Rethans 9a29989bfd - Updated to version 2009.10 (2009j) 2009-06-18 09:03:02 +00:00
Zoe Slattery 01a2453496 Tests from Berlin test fest 2009-06-18 07:31:10 +00:00
andy wharmby 57e2723ce9 New test for standard object compare handler. Tested on Windows, Linux and Linux 64 2009-06-17 19:15:20 +00:00
andy wharmby 38db2b869c New foreach tests. Tested on Windows, Linux and Linux 64 bit. 2009-06-17 19:07:19 +00:00
Ilia Alshanetsky 3c56aa38e8 Back to dev 2009-06-17 12:31:58 +00:00
Ilia Alshanetsky e1583cd82e 5.2.10 2009-06-17 12:22:41 +00:00
Robin Fernandes 282eab49fb Additional class related tests. 2009-06-17 10:38:23 +00:00
Hannes Magnusson 191307c968 fix skipif 2009-06-17 10:17:52 +00:00
Rasmus Lerdorf c572a7fd8b Need the gcc version check here too 2009-06-17 08:57:04 +00:00
Felipe Pena d509bf07bd - Fixed tests 2009-06-16 19:50:38 +00:00
andy wharmby eaf01568a1 New strcoll error test. Tested on Windows, Linux and Linux 64. 2009-06-16 19:39:40 +00:00
Rasmus Lerdorf 96ea9c6e5b Another tweak to make 5.2 compile on gcc2 2009-06-16 16:09:04 +00:00
andy wharmby 2aa9a15641 Fix typo in test 2009-06-16 11:37:14 +00:00
andy wharmby 3b92265bc3 New class related tests. Tested on Windows, Linux and Linux 64. Tests written by Iain Lewis 2009-06-16 08:59:55 +00:00
Felipe Pena ee780e60b8 - MFH: Fixed bug #48562 (Reference recursion causes segfault when used in wddx_serialize_vars()) 2009-06-16 02:59:10 +00:00
Pierre Joye 30b25d0229 - #48441 and encoding 2009-06-15 22:11:47 +00:00
Felipe Pena 273bda7b21 - Drop unused code 2009-06-15 17:55:11 +00:00
andy wharmby 7f492c7f66 New test for bitwise operators. Tested on Linux 64 bit 2009-06-15 17:38:55 +00:00
Felipe Pena 51781931e2 - MFH: 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:36:00 +00:00
Patrick Allaert 13594f8a98 MFH: Fixing #48441 (ldap_search() with sizelimit/timelimit/deref options makes those options persistent) 2009-06-15 15:18:48 +00:00
Patrick Allaert 08c7d57d73 MFH: Refactoring that will help fixing #48441 2009-06-15 15:04:31 +00:00
Ilia Alshanetsky c570bed1da MFB: Simplify original fix for bug #33475 2009-06-15 12:38:11 +00:00
andy wharmby 04961ad0c0 New POSIX extension tests from Berlin UG TestFest 2009. 2009-06-15 12:14:59 +00:00
andy wharmby 7012611307 Backport ob test to php 5.2 and 53. 2009-06-14 16:47:12 +00:00
andy wharmby 5cd01fa48b New foreach tests. Tested on Windows, Linux and Linux 64 bit. 2009-06-14 14:17:48 +00:00
andy wharmby e4ba76cdec Basic tests for function_exists() and get_defined_functions(). Tested on Windows, Linux and Linux 64 bit. 2009-06-14 13:49:19 +00:00
andy wharmby 9e6779cfac New json extension tests. Tested on Windows, Linux and Linux 64 bit. 2009-06-14 12:08:32 +00:00
Pierre Joye 96271ff8fb - MF53: fix build (void alarm) 2009-06-14 10:05:11 +00:00
Greg Beaver aac2b9464d fix missing erealloc in fix for bug #40091, spl_autoload_register of more than 1 copy of the same method in different objects 2009-06-13 17:35:37 +00:00
andy wharmby 946c404c5d New iconv extension tests. Tested on Windows, Linux and Linux 64 bit. 2009-06-13 12:17:46 +00:00
Felipe Pena a2e4ef3ba4 - MFH some changes (from last fix on 5.3+)
- Constified method_name arg in zend_get_user_call_function()
2009-06-12 21:33:46 +00:00
Felipe Pena c34ba188cc - MFH: Fixed bug #48514 (cURL extension uses same resource name for simple and multi APIs) 2009-06-12 20:50:58 +00:00
andy wharmby f071936f47 New iconv extension tests. Tested on Windows, Linux and Linux 64 bit. 2009-06-12 18:57:12 +00:00
andy wharmby 8e2850fe3c New iconv extension tests. Tested on Windows, Linux and Linux 64 bit 2009-06-12 17:16:11 +00:00
andy wharmby 4a1ae192a6 Delete duplicate test 2009-06-11 23:04:37 +00:00
andy wharmby 1c4a6d3f32 New intval() tests. Tested on Windows, Linux and linux 64 2009-06-11 22:26:57 +00:00
andy wharmby 3f1bdda498 New 64 bit math tests. Tested on Windows, Linux and Linux 64 bit. Tests authored by Dave Kelsey 2009-06-11 21:17:10 +00:00
andy wharmby aa152b1c50 Add/Fix SKIPIF sections of cURL tests 2009-06-11 21:11:23 +00:00
andy wharmby 32c8f50ea9 New POISX tests. Tested on Windows (all test SKIP), Linux and Linux 64 2009-06-11 12:30:57 +00:00
Ilia Alshanetsky e933031ccb Back to dev 2009-06-11 12:13:55 +00:00
Ilia Alshanetsky 344a9b2c7e RC2 not final 2009-06-11 12:12:43 +00:00
Ilia Alshanetsky 823224ef8d 5.2.10RC2 2009-06-11 12:10:43 +00:00
Antony Dovgal 6b1bd0d0dc MFH: fix bug #48518 (curl crashes when writing into invalid file handle) 2009-06-11 09:49:57 +00:00
Felipe Pena 838402a1bc - MFH: Fix the fix (Bug #46973 - IPv6 address filter rejects valid address) 2009-06-10 19:05:49 +00:00
Antony Dovgal d4d49f4f12 MFH: fix arginfo for curl_multi_info_read() 2009-06-10 11:10:19 +00:00
andy wharmby de3f385e5c Fix test - remove bogus variation 2009-06-09 20:18:28 +00:00
Pierre Joye 12ab20c4fe - fix NEWS 2009-06-09 14:04:28 +00:00
David Soria Parra c52581d95e Fix bug #47042 (cgi sapi is incorrectly removing the SCRIPT_FILENAME for non apache).
The fix was provided by Sriram Natarajan.
2009-06-09 13:29:39 +00:00
Ilia Alshanetsky 8d699be646 TZ update news 2009-06-09 12:16:31 +00:00
Scott MacVicar 2229ab084c BFN 2009-06-09 01:09:28 +00:00
Scott MacVicar f250ef7824 Add test 2009-06-09 01:04:35 +00:00
Scott MacVicar 813dd91af8 MFH #46019 - Memory leak when Mysqli::init() is called multiple times. 2009-06-09 01:00:47 +00:00
Scott MacVicar ebce70c20e BFN 2009-06-09 00:43:04 +00:00
Scott MacVicar 17dc898a72 MFH fix bug #44214: crash with preg_replace_callback and global variables 2009-06-08 21:52:08 +00:00
Pierre Joye a48b65d6f5 - typo 2009-06-08 21:17:12 +00:00
Derick Rethans 3c624f108e - Updated to version 2009.9 (2009i) 2009-06-08 13:53:45 +00:00
Ilia Alshanetsky 71b075062b Re-apply patch with fixed build 2009-06-08 13:34:45 +00:00
Antony Dovgal 8ab86d944a fix build, revert faulty patch 2009-06-08 13:09:30 +00:00
Robert Nicholson 14620596ab New tests for operators. These tests were auto generated to verify correctness for a number of significant values. The work was done by Dave Kelsey. 2009-06-08 12:02:57 +00:00
Jani Taskinen 135f4ebc10 fix news 2009-06-08 10:39:25 +00:00
Pierre Joye 18ecb768d0 - #48469 2009-06-08 08:39:25 +00:00
Ilia Alshanetsky 9066f91b01 BFN 2009-06-08 01:26:53 +00:00
Ilia Alshanetsky a747855425 MFB: Fixed bug #44827 (define() is missing error checks for class constants) 2009-06-08 01:26:47 +00:00
Patrick Allaert 0ab4f57c99 MFH: Removed credit 2009-06-07 21:27:42 +00:00
Robert Nicholson 9818b12488 New tests for foreach loops. These were written by another member of the Projectzero team. 2009-06-07 21:05:10 +00:00
Matt Wilmas dd4b27e943 MFH: 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:33 +00:00
Patrick Allaert 6555a5a93e MFH: Fixed bug #48469 (ldap_get_entries() memory leaks on empty search results) 2009-06-07 13:14:30 +00:00
Rasmus Lerdorf 53a63b82d4 Make this happy on gcc2 2009-06-05 22:34:30 +00:00
Rasmus Lerdorf 077ff24ef9 We don't have these in gcc2 2009-06-05 22:24:53 +00:00
Arnaud Le Blanc c3e1afc2a3 better fix for #48409 , #48428 , #48228 2009-06-05 11:21:47 +00:00
Andrei Zmievski 6a05922020 Fix invalid test against addr6 result. 2009-06-04 18:17:28 +00:00
Jani Taskinen 3999ac15b4 MFH:- Fixed bug #48419 (non-portable STDIN fileno in cgi_main.c)
# This doesn't really fix it since it's some weird Windows thing but this
# does make this code slightly more portable :)
2009-06-04 11:53:38 +00:00
Felipe Pena 3b43d3002b - Fixed tests 2009-06-04 01:16:58 +00:00
Ilia Alshanetsky 3e79cbe9b1 MFB: Fixed bug #46386 (Digest authentication with SOAP module fails against
MSSQL SOAP services)
2009-06-03 12:41:46 +00:00
Zoe Slattery ba836422c6 Commiting testfest tests from tek 2009-06-03 12:31:05 +00:00
Kalle Sommer Nielsen 09ac5ebe7f Fixed #48448 (Compile failure under IRIX 6.5.30 building cast.c)
# Only in this branch, looks like a missing merge compared to PHP_5_3/HEAD
2009-06-03 08:59:19 +00:00
Jani Taskinen ff6862b7e1 bfn 2009-06-02 19:55:07 +00:00
Jani Taskinen f68866c487 MFH:- Fixed bug #48456 (CPPFLAGS not restored properly in phpize.m4) 2009-06-02 19:54:22 +00:00
Jani Taskinen bfebb9c6aa fix test 2009-06-02 08:03:35 +00:00
Arnaud Le Blanc 1493336708 MFH: New tests
# These tests were failing on different configurations, so adding them
# all to get more chances of seeing one failing in case of problem.
2009-06-01 16:10:47 +00:00
Arnaud Le Blanc 687f673bb9 MFH: better fix for #48409 , #48428 , #48228 2009-06-01 15:08:00 +00:00
Antony Dovgal 00a461a989 fix ZTS build 2009-06-01 14:03:24 +00:00
Ilia Alshanetsky 8e7fa70fd5 Fixed bug #48273 (snmp*_real_walk() returns SNMP errors as values). 2009-06-01 13:10:57 +00:00
Zoe Slattery d033f6904a Engine execution order tests 2009-06-01 13:01:27 +00:00
Zoe Slattery e69b4a743e Fixes to work on Windows as well as Linux 2009-06-01 12:58:14 +00:00
Jani Taskinen bfa336e891 fix news 2009-06-01 09:00:54 +00:00
Stanislav Malyshev ac345b5915 fix for #48247 2009-05-31 21:31:15 +00:00
Stanislav Malyshev dc4bfd4d80 fix for #48247 2009-05-31 20:43:57 +00:00
Andrei Zmievski 63b6c3bab3 MFB 2009-05-31 18:55:36 +00:00
Ilia Alshanetsky 355ffae8dc MFB: Fixed bug #48359 (Script hangs on snmprealwalk if OID is not
increasing)
2009-05-31 14:14:07 +00:00
Jani Taskinen e636ed5789 MFH: no dots in errors 2009-05-31 13:51:23 +00:00
Andrei Zmievski 426522f4e0 Expose encode/decode API. 2009-05-31 01:43:45 +00:00
Arnaud Le Blanc 06a48156f0 BFN 2009-05-30 16:42:50 +00:00
Arnaud Le Blanc 82655fb856 MFH: Take small blocks cache into account in memory_get_usage() 2009-05-30 16:42:24 +00:00
Arnaud Le Blanc 48fc6c5237 BFN 2009-05-30 16:36:01 +00:00
Arnaud Le Blanc 32a9ff9aef MFH: Fix aliasing issue (fixes #48409 , #48428 , #48228) 2009-05-30 16:35:26 +00:00
Zoe Slattery 0bae389aa4 better fix 2009-05-29 11:45:55 +00:00
Zoe Slattery 93ed844901 fixing to work with older levels of libcurl 2009-05-29 09:46:34 +00:00
Zoe Slattery e4a93c6d0a Engine execution order tests 2009-05-29 07:52:28 +00:00
Pierre Joye 1627157cdd - #42143, the constant NAN is reported as 0 on Windows 2009-05-29 07:29:20 +00:00
Scott MacVicar b702ce45ce Bug number was wrong. 2009-05-29 02:35:56 +00:00
Ilia Alshanetsky 47fcac267c Adjust news order 2009-05-29 01:31:58 +00:00
Scott MacVicar 6621987732 BFN 2009-05-29 00:05:56 +00:00
Scott MacVicar 4b5eda20ae MFH: Fix bug #48416 - Force a cache size for ereg to stop it getting out of control. Lazy LRU here. 2009-05-29 00:03:28 +00:00
Pierre Joye f5bf2d7ed7 - fix build with system gd 2009-05-28 14:06:06 +00:00
Pierre Joye 884c20439c - #48738 2009-05-28 14:04:19 +00:00
Pierre Joye 1a836712f0 - MFB: #48378, exif_read_data() segfaults on certain corrupted .jpeg files 2009-05-28 14:03:09 +00:00
Arnaud Le Blanc 7055f3bae5 MFH: New tests 2009-05-28 13:26:52 +00:00
Antony Dovgal a524e99076 fix test 2009-05-28 13:22:50 +00:00
Arnaud Le Blanc 721fe01e55 MFH: merged http ignore_errors context option
# [DOC] "since 5.2.10". See also bug #38802.
2009-05-28 13:20:22 +00:00
Arnaud Le Blanc 632c5a775f Fix "request_startup() for zlib module failed" when client does not
accepts compression and zlib.output_compression is On
2009-05-28 10:14:22 +00:00
Pierre Joye 99eede75b1 - mf53: fix build, stderr cannot be used as var or struct member 2009-05-27 22:38:53 +00:00
Robert Nicholson e29517872b Language Tests: returnByReference 2009-05-27 22:36:04 +00:00
Ilia Alshanetsky fea7c24372 Back to dev 2009-05-27 13:51:16 +00:00
Ilia Alshanetsky d6ddd48ed0 5.2.10RC1 2009-05-27 13:47:34 +00:00
Antony Dovgal 3197576f2c fix build 2009-05-27 09:57:13 +00:00
Jani Taskinen 91e968462f - Test for bug #48203 2009-05-26 17:19:35 +00:00
Jani Taskinen 572cd2000b MFH:- Fixed bug #48203 (Crash when CURLOPT_STDERR is set to regular file) 2009-05-26 15:50:44 +00:00
Ilia Alshanetsky d080807957 timezone update news 2009-05-26 14:38:34 +00:00
Derick Rethans a6fdd53b90 - Updated to version 2009.8 (2009h) 2009-05-26 14:27:08 +00:00
Arnaud Le Blanc fb69372707 MFH: Fix return value of pcntl_wexitstatus() (fixes #47566,
patch by james at jamesreno dot com)
2009-05-26 14:02:34 +00:00
Felipe Pena 886690219d - Removed XFAIL section 2009-05-26 13:51:04 +00:00
Felipe Pena d9722865f7 - Fixed compile warning 2009-05-26 12:37:52 +00:00
Jani Taskinen b90c2e7cb1 - Revert this, was not supposed to be merged yet 2009-05-26 10:15:08 +00:00
Jani Taskinen 0b6182b683 fix test 2009-05-26 10:13:01 +00:00
Pierre Joye f974d42e18 - add a note about the actual problen so we don't forget it 2009-05-26 08:09:37 +00:00
Jani Taskinen 7d8ff0b3fc - Added note about omitted break 2009-05-26 08:03:29 +00:00
Eric Stewart ddf40dc32d Add tests:
DOMComment::__construct() with constructor called twice.
DOMDocumentFragment::appendXML() with unbound fragment.
DOMDocumentFragment::appendXML() with unbalanced chunks.
DOMDocumentFragment::__construct() called twice.
DOMDocumentType: basic access to all properties.
DOMDocumentType::name with invalid state.
DOMDocumentType::entities with invalid state.
DOMDocumentType::notations with invalid state.
DOMDocumentType::publicId with invalid state.
DOMDocumentType::publicId with empty value.
DOMDocumentType::systemId with invalid state.
DOMDocumentType::systemId with empty value.
DOMDocumentType::internalSubset with invalid state.
2009-05-26 06:06:40 +00:00
Jani Taskinen 011ec5b1af MF53: - Fixed bug #45202 (zlib.output_compression can not be set with ini_set()
# This is fixed in HEAD already. :)
2009-05-26 05:57:40 +00:00
Jani Taskinen 6abaea16ef MFH:- Fixed bug #42362 (HTTP status codes 204 and 304 should not be gzipped) 2009-05-26 04:47:05 +00:00
Jani Taskinen e3d54cd30e cs + ws 2009-05-26 04:45:21 +00:00
Kalle Sommer Nielsen 3e6435e3c4 MFH: Typo 2009-05-25 19:41:41 +00:00
Pierre Joye a42f47071f - #48202 2009-05-25 16:30:37 +00:00
Pierre Joye 88667674e2 - MFH: #48202, Out of memory error when passing non-existing filename, enable related tests (marked as XFAIL now) 2009-05-25 16:27:45 +00:00
Rasmus Lerdorf 13c65dd8f7 Argh! Please do not include entire GPL'ed packages in the PHP
distribution.  Removing test and entire phpMyAdmin distribution
in bug.tar.
2009-05-25 11:57:25 +00:00
Eric Stewart 802706c8a9 Add the following new tests:
DOMCharacterData::appendData() with no arguments.
DOMCharacterData::deleteData() with count exceeding string size.
DOMCharacterData::deleteData() with no arguments.
DOMCharacterData::deleteData() with offset exceeding string size.
DOMCharacterData::insertData() with no arguments.
DOMCharacterData::replaceData() with no arguments.
DOMComment::__construct() with more arguments than acceptable.
DOMDocumentFragment::__construct().
DOMDocumentFragment::__construct() with too many errors.
DOMDocumentFragment::appendXML() with no arguments.
DOMDocumentFragment::appendXML() with children with properties.
2009-05-25 05:58:47 +00:00
Ilia Alshanetsky 0008c005b9 Improve fix for bug #48313 2009-05-24 16:02:22 +00:00
Felipe Pena 4f89db675d - New tests (testfest BerlinUG) 2009-05-23 14:52:54 +00:00
Felipe Pena afbe0bfb19 - Fix error message 2009-05-23 14:31:15 +00:00
Eric Stewart 39d82c35c3 New test: DOMAttr read $name property.
New test: DOMAttr read $ownerElement with null parent.
New test: DOMAttr write non-string $value property
New test: DOMCDATASection __construct() with no arguments.
New test: DOMCharacterData - Invalid State Error when getting data out of content.
2009-05-23 01:43:48 +00:00
Eric Stewart 9f6c828f63 New test: DOMAttr __construct() with no arguments. 2009-05-23 01:34:05 +00:00
Felipe Pena f14ec051af - MFH: Fixed invalid date checking 2009-05-22 12:50:44 +00:00
Felipe Pena 0be28396ae - New test 2009-05-22 12:39:14 +00:00
Arnaud Le Blanc 72f551ca66 BFN 2009-05-22 11:23:21 +00:00
Arnaud Le Blanc 80f98df54e MFH: Use zend_get_property_info() in get_class_vars() (fixes #46812) 2009-05-22 11:23:11 +00:00
Arnaud Le Blanc 415b75e3f5 MFH: Fixed bug #48336 (ReflectionProperty::getDeclaringClass() does not
work with redeclared property)
(patch by Markus dot Lidel at shadowconnect dot com)
2009-05-21 16:05:11 +00:00
Arnaud Le Blanc ecf2cabcdd MFH: set second argument of gettimeofday() to NULL (fixes #48346,
patch by adriano at guiadohardware dot net)
2009-05-21 14:21:53 +00:00
Arnaud Le Blanc 011547bd36 MFH: Better fix for #45622 (patch by robinf at php do net) 2009-05-21 13:26:29 +00:00
Ilia Alshanetsky 0c3d8accbb MFB: Fixed bug #48207 (CURLOPT_(FILE|WRITEHEADER options do not error out
when working with a non-writable stream)
2009-05-21 12:53:24 +00:00
Ilia Alshanetsky 1bebeea29c Re-introduce the Matteo's patch and combine default & text handling since
they appear to be the same irregardless on notes inside sqlite3.h
2009-05-20 15:03:16 +00:00
Jani Taskinen 77816c4ed9 - Fix win32 build 2009-05-20 12:09:33 +00:00
Kalle Sommer Nielsen 020749e160 MFH: Fixed shared build 2009-05-20 10:19:28 +00:00
Arnaud Le Blanc bcfdedd53f MFH: Fix skipif 2009-05-20 10:08:42 +00:00
Antony Dovgal e0ca27fc23 sync with HEAD 2009-05-20 09:26:20 +00:00
Arnaud Le Blanc d3ec090688 MFH: set default value of "precision" ini setting,
many tests depend on this
2009-05-20 09:23:15 +00:00
Arnaud Le Blanc b43345ec0c MFH: Fix skipif 2009-05-20 09:13:39 +00:00
Arnaud Le Blanc 7728a703f6 MFH: Fixed bug #48326 (constant MSG_DONTWAIT not defined) 2009-05-20 09:06:31 +00:00
Jani Taskinen fbaed2ba81 ws 2009-05-19 19:38:00 +00:00
Ilia Alshanetsky a607ee15a8 MFB: The \0 removal is only needed prior to 3.4.0 2009-05-19 19:20:01 +00:00
Ilia Alshanetsky 1989085325 MFB: Revert faulty warning fix 2009-05-19 16:14:37 +00:00
Jani Taskinen bb33de84b0 - Revert bad compile warning fix which causes compile failures with older glibc 2009-05-19 15:37:38 +00:00
Jani Taskinen 3c984d6d4f MFH:- Fix test: since cURL 7.19.4 CURLINFO_CONTENT_LENGTH_* return -1 if the size is unknown 2009-05-19 14:05:49 +00:00
Jani Taskinen bdfcb7ca73 MFH: Sync with PHP_5_3 the WS/CS and some missing constant fixes 2009-05-19 13:50:32 +00:00
Jani Taskinen 61abd918e7 MFH: Unify macros 2009-05-19 11:12:33 +00:00
Kalle Sommer Nielsen 70ebbdea0a MFH: Fix --with-pdo-mssql build and add some warnings if header/libs are not found 2009-05-19 10:22:31 +00:00
Ilia Alshanetsky 558d25649d MFB: Fixed bug #48313 (fgetcsv() does not return null for empty rows) 2009-05-18 18:46:06 +00:00
Jani Taskinen 422a101fae MFH: Sync WS / CS changes where applicable 2009-05-18 17:23:42 +00:00
Hannes Magnusson 2b72a6df0a MFH: Print out WARNed 2009-05-18 14:08:56 +00:00
Pierre Joye d6e3b89d9b - WS 2009-05-18 09:11:31 +00:00
Felipe Pena 40cabb39c6 - New tests (testfest BerlinUG) 2009-05-17 18:08:27 +00:00
Felipe Pena fe6bbdca72 - New tests (testfet LondonUG) 2009-05-17 15:46:37 +00:00
Arnaud Le Blanc ea8bdf5d8f MFH: Fixed bug #48309 (stream_copy_to_stream() and fpasstru() do not
update stream position of plain files)
2009-05-17 14:59:24 +00:00
Felipe Pena 7323f24b58 - New tests (testfest DutchUG) 2009-05-16 23:56:23 +00:00
Arnaud Le Blanc bcfdf04cbf MFH: Fix warning when inner stream of a temp:// stream is closed before
the stream ifself
2009-05-16 20:28:02 +00:00
Arnaud Le Blanc 49fa689d5b MFH: Fixed bug #48307 (stream_copy_to_stream() copies 0 bytes when $source
is a socket)
2009-05-16 20:24:01 +00:00
Felipe Pena 8d7a9aa9a3 - New tests (testfest Quebec) 2009-05-16 18:27:19 +00:00
Felipe Pena 30ef00c15c - Added responder dir (synced) 2009-05-16 17:08:10 +00:00
Felipe Pena c299ac0bd4 - New tests (testfest ParisUG) 2009-05-16 16:38:17 +00:00
Felipe Pena 4324c10d24 - New tests (testfest DutchUG) 2009-05-16 15:14:25 +00:00
Felipe Pena 2a39c5e435 - New tests (testfest CataloniaUG) 2009-05-16 14:41:48 +00:00
Jani Taskinen 16d4cad828 - Reverted is such a strong word.. :) 2009-05-15 17:18:18 +00:00
Moriyoshi Koizumi 22ce11b711 - Not a news actually. 2009-05-15 17:06:35 +00:00
Moriyoshi Koizumi 9ebb304ed5 - MFH: Roll it back. 2009-05-15 17:03:43 +00:00
Christopher Jones 255d78111a MFH: New array_multisort() test (Simon Westcott) 2009-05-15 16:47:36 +00:00
Felipe Pena 56274f384a - Fix tests 2009-05-14 23:29:27 +00:00
Jani Taskinen 36b2ebf95f - Fix the harmless patch that caused harm :) 2009-05-14 21:23:03 +00:00
Jani Taskinen 4d82ed968e MFH 2009-05-14 21:00:37 +00:00
Moriyoshi Koizumi 3bb8d604c7 - MFH:Add a new test for the additional delimiter of the encoding conversion
filter
2009-05-14 19:07:41 +00:00
Moriyoshi Koizumi afc82c756c - MFH: Update the test as newer libc gets the bogus input through rather than
rejecting it.
2009-05-14 19:07:18 +00:00
Arnaud Le Blanc 996920a889 moved from 5.3 2009-05-14 19:04:14 +00:00
Jani Taskinen 71b329c703 MFH: Fixed module loading order and made request shutdown functions also to
be loaded in reverse like all other shutdowns are.
2009-05-14 18:34:27 +00:00
Felipe Pena 5f6b9cf5f6 - MFH: Improved fix for #42414 2009-05-14 17:25:51 +00:00
Arnaud Le Blanc 4710871ab8 MFB: Fixed bug #45622 (isset($arrayObject->p) misbehaves with
ArrayObject::ARRAY_AS_PROPS set)
2009-05-14 16:44:54 +00:00
Arnaud Le Blanc efdaf53cf5 MFB: Fixed bug #45614 (ArrayIterator::current(), ::key() can show 1st
private prop of wrapped object)
2009-05-14 16:43:38 +00:00
Arnaud Le Blanc 3008404116 moved from 5.3 2009-05-14 16:24:12 +00:00
Arnaud Le Blanc 0a9e3e3d86 MFB: Fixed #42663 (gzinflate() try to allocate all memory with truncated
data)
2009-05-14 16:17:47 +00:00
Arnaud Le Blanc f6f23616b0 MFB: fix skipifs 2009-05-14 16:17:10 +00:00
Arnaud Le Blanc f7e075e4b9 MFB: Fix test (use canonical name, fixes #45493) 2009-05-14 16:16:33 +00:00
Arnaud Le Blanc 947b9ce3f3 MFB: Fixed #45540 (stream_context_create creates bad http request) 2009-05-14 16:15:38 +00:00
Jani Taskinen 2cce527199 MFH: prevent freeing NULL 2009-05-14 13:49:50 +00:00
Jani Taskinen 33bcc088ca MFH:- Fixed bug #48256 (Crash due to double-linking of history.o) 2009-05-14 13:43:52 +00:00
Ilia Alshanetsky eaf1121b7e MFB: Fixed\ compiler\ warnings 2009-05-14 12:36:19 +00:00
Dmitry Stogov b2ce675b6a Fixed wrong return value 2009-05-14 08:21:38 +00:00
Felipe Pena 9c0cfe0d6c BFN 2009-05-14 01:31:50 +00:00
Felipe Pena 00a0efa5a2 - New tests 2009-05-14 01:29:37 +00:00
Matt Wilmas 938763c753 MFH: Fixed bug #45877 (Array key '2147483647' left as string) 2009-05-14 01:28:15 +00:00
Felipe Pena 913c81d4ad MFH:
- Fixed bug #42414 (some odbc_*() functions incompatible with Oracle ODBC driver)
  patch by: jhml at gmx dot net
2009-05-14 01:27:23 +00:00
Ilia Alshanetsky 82b940adf2 MFB: Fixed bug #44996 (xmlrpc_decode() ignores time zone on iso8601.datetime). 2009-05-13 14:25:58 +00:00
Felipe Pena 040a647481 - MFH: Fixed bug #48240 (DBA Segmentation fault dba_nextkey) 2009-05-13 02:16:36 +00:00
Felipe Pena 20fd5b9932 - MFH: Fixed bug #48248 (SIGSEGV when access to private property via &__get) 2009-05-12 23:01:38 +00:00
Matteo Beccati 299a6a2baf Added proper credits for the last commit 2009-05-12 22:01:55 +00:00
Matteo Beccati 865194fa4d MFH
- Backported fix for #44301
- Fixed bug #48070
# The backport was required to also fix #48070
2009-05-12 21:57:42 +00:00
Ilia Alshanetsky fb7437d7f1 MFB: Fixed bug #47564 (unpacking unsigned long 32bit bit endian returns
wrong result)
2009-05-12 12:35:45 +00:00
Felipe Pena e40df88ad6 - MFH: Fix code && new test 2009-05-11 15:13:35 +00:00
Felipe Pena aa1be9514f - Added missing param checks 2009-05-11 14:15:07 +00:00
Ilia Alshanetsky 3222df99d9 MFB: Fixed bug #48204 (xmlwriter_open_uri() does not emit warnings on invalid
paths)
2009-05-11 12:35:00 +00:00
Pierre Joye 3e738e7a46 - MFH: define HAVE_PQPROTOCOLVERSION and HAVE_PG_LO_CREATE (Tim Starling) 2009-05-11 10:44:25 +00:00
Jani Taskinen a05ca2c6d3 - Fix paths 2009-05-11 05:01:48 +00:00
Felipe Pena 5626bcabf2 - Starting tests for this extension 2009-05-11 03:10:31 +00:00
Etienne Kneuss a7b3f59f7b Add test for #48224 2009-05-10 20:11:37 +00:00
Etienne Kneuss c94580895f Fix #48224 (Remove incorrect shuffle) 2009-05-10 16:45:01 +00:00
Felipe Pena 8a15edc308 - Simplify test (cweiske) 2009-05-10 15:48:53 +00:00
Felipe Pena 6fbed2a9f3 - MFH: Fixed bug #48221 (memory leak when passing invalid xslt parameter) 2009-05-10 15:15:47 +00:00
Ilia Alshanetsky a18c0be994 WS 2009-05-10 13:44:13 +00:00
Felipe Pena 7e62c98201 - MFH: Fixed memory leak (patch by Christian Weiske) 2009-05-10 01:07:01 +00:00
Etienne Kneuss 251d108d58 Add test for bug #47534 2009-05-09 20:58:34 +00:00
Scott MacVicar 2c3579fdd7 BFN 2009-05-09 20:42:56 +00:00
Jani Taskinen 84208a6740 MFH: Add support for Sun CC 2009-05-09 20:36:35 +00:00
Jani Taskinen c7bc9053e1 MFH: sync + - Fixed bug #47468 (enable cli|cgi-only extensions for embed sapi) 2009-05-09 20:28:03 +00:00
Scott MacVicar a2d837585e MFH Fix bug #48206 - Iterating over an invalid data structure leads to a segfault 2009-05-09 19:48:15 +00:00
Matt Wilmas 4ad3ac09c1 MFH: Better fix for bug #42767 (at source instead of workaround); also fixes unclosed comments in tokenizer
- Plus minor cleanup of unnecessary code, to match 5.3...
2009-05-08 17:50:58 +00:00
Arnaud Le Blanc 78ecc18710 MFB5.3 fix for bug #44034 (FILE_IGNORE_NEW_LINES in file() does not work as
expected when lines end in \r\n) (fixes #48175)
2009-05-08 09:49:27 +00:00
Jani Taskinen 48c50e616a - Bug 45392 was never fixed in PHP_5_2 2009-05-07 13:45:48 +00:00
Jani Taskinen 51735ad33f MFH 2009-05-06 19:03:23 +00:00
Ilia Alshanetsky 7f3ba73b3d MFB: Fixed bug #48156 (Added support for lcov v1.7) 2009-05-06 14:05:54 +00:00
Pierre Joye 0b6e00cd64 - fix conf 2009-05-05 13:49:05 +00:00
Pierre Joye 95b9e430f4 - MFH: fix build 2009-05-05 10:58:24 +00:00
Jani Taskinen 271b03b6f7 MFH: - Fixed Bug #45092 header HTTP context option not being used (--with-curlwrappers) 2009-05-05 00:33:03 +00:00
Jani Taskinen d3d84cc152 MFH: sync 2009-05-05 00:25:40 +00:00
Derick Rethans 4ece5a103e - MFH: Fixed warnings 2009-05-04 19:55:42 +00:00
Pierre Joye a07b780bc6 - fix build 2009-05-04 17:08:43 +00:00
Antony Dovgal e3685d6918 MFH: use correct function 2009-05-04 14:46:37 +00:00
Ilia Alshanetsky d48cc34211 Fixed a possible crash 2009-05-04 14:43:14 +00:00
Ilia Alshanetsky bb451fe8ac Fixed bad merge 2009-05-04 14:12:23 +00:00
Ilia Alshanetsky 34f39a1086 MFB: Fixed bug #48131 (Don't try to bind ipv4 addresses to ipv6 ips via
bindto)
2009-05-04 13:12:35 +00:00
Derick Rethans 0bc4075753 - MFH: Fixed bug #45191 (error_log ignores date.timezone php.ini val when
setting logging timestamps).
2009-05-03 19:09:23 +00:00
Derick Rethans 6d32ad3c1f - MFH: Fixed bug #48058 (Year formatter goes wrong with out-of-int range).
- MFH: Fixed bug #45822 (Near infinite-loops while parsing huge relative offsets).
2009-05-03 18:22:59 +00:00
Derick Rethans 0c040fc5d3 - MFH: Added test for (bogus) bug #48097. 2009-05-03 14:28:38 +00:00
Jani Taskinen ca6a024965 MFH:- Fixed bug #48132 (configure fails to test curl ssl support if --disable-rpath is set) 2009-05-02 19:55:14 +00:00
Jani Taskinen 3cea6c7bf4 - SPL can be disabled in PHP_5_2 2009-05-02 18:10:44 +00:00
Jani Taskinen b6b8b5ffc6 - SPL can be disabled in PHP_5_2 2009-05-02 18:02:09 +00:00
Ilia Alshanetsky a0ef3cc010 Fixed build, zend_parse_parameters_none() does not exist in 5.2 branch 2009-05-02 15:58:39 +00:00
Jani Taskinen 30bc1b72ef - Fix test 2009-05-02 03:17:51 +00:00
Kalle Sommer Nielsen 5b05a2da10 MFH: Update copyright year + line feeds 2009-05-02 01:54:25 +00:00
Kalle Sommer Nielsen c7c4b92b38 MFH: Fix proto + use zend_parse_parameters_none() 2009-05-02 01:38:36 +00:00
Jani Taskinen c9a717fcb8 MFH:- Fix compile warning in debug mode 2009-05-01 21:47:05 +00:00
Jani Taskinen 38450822ae - ws / cs (separated from another commit coming next) 2009-05-01 20:30:59 +00:00
Felipe Pena 4b90dd8f06 - MFH: Fixed bug #48038 (odbc_execute changes variables used to form params array) 2009-05-01 03:06:39 +00:00
Felipe Pena 4121be50e9 - MFH: Fixed bug #48120 (Implementing abstract class FilterIterator in regexiterator.inc) 2009-05-01 01:55:52 +00:00
Antony Dovgal c133062470 fix test (for real) 2009-04-30 20:35:37 +00:00
Pierre Joye 802cbbd49b - #47940, memory leaks in imap_body 2009-04-30 18:55:44 +00:00
Ilia Alshanetsky 5812e33052 Fixed typo 2009-04-30 17:43:25 +00:00
Pierre Joye 5759108ed0 - 45997 2009-04-30 15:26:54 +00:00
Pierre Joye 4d2e295344 - #45997, safe_mode bypass with exec/sytem/passthru (windows only) 2009-04-30 15:25:05 +00:00
Jani Taskinen 8d7ecdfdbb MFH: fix tests 2009-04-30 13:22:24 +00:00
Jani Taskinen b91afb10af - Fix test: It is still possible to enable/disable fastcgi in PHP_5_2 2009-04-30 13:02:43 +00:00
Jani Taskinen 0bdbd69561 - Added missing tests from this branch..*sigh* 2009-04-30 11:39:01 +00:00
Jani Taskinen 0445f9025b - Reflection can be disabled in PHP_5_2 2009-04-30 11:14:09 +00:00
Jani Taskinen 6712e8680c - Fix test + add missing test 2009-04-30 10:41:32 +00:00
Jani Taskinen eb0ae9417b - It is possible to disable reflection extension in PHP_5_2 2009-04-30 09:56:15 +00:00
Jani Taskinen 8294411819 - It is possible to disable reflection extension in PHP_5_2 2009-04-30 09:50:48 +00:00
Ilia Alshanetsky 51eb7b4aea Update tests to accomodate new parameter parsing API and make long2ip() use
it as well
2009-04-29 22:06:28 +00:00
Ilia Alshanetsky a4bc21cbe5 timezone db upgrade news 2009-04-29 21:56:12 +00:00
Derick Rethans 323769820f - Updated to version 2009.7 (2009g) 2009-04-29 11:12:13 +00:00
Zoe Slattery 38576823b1 Refixing to follow documented behaviour 2009-04-29 07:52:03 +00:00
Felipe Pena 7b62380d6b - Fix test 2009-04-28 23:46:39 +00:00
Ilia Alshanetsky 1e09a216e4 MFB: Fixed bug #47365 (ip2long() may allow some invalid values on certain
64bit systems)
2009-04-28 22:31:25 +00:00
Pierre Joye de44ff21e5 - mail_criteria entry and revert previous wrong one 2009-04-28 13:01:04 +00:00
Pierre Joye 323984a1ae - MFH: SEARCHPGM struct has to be freed 2009-04-28 12:43:10 +00:00
Antony Dovgal 1ae79dfe28 fix test 2009-04-28 09:04:17 +00:00
Antony Dovgal ba70e77b43 nuke unicode crap, fix test 2009-04-28 09:02:37 +00:00
Pierre Joye f2445c083a - space to tabs
- CS
2009-04-28 08:33:25 +00:00
Felipe Pena f096e27011 - BFN 2009-04-27 20:03:16 +00:00
Felipe Pena ff12af6133 - MFH: Fixed bug #47254 (Wrong Reflection for extends class) 2009-04-27 19:54:35 +00:00
Scott MacVicar 7fbf3433c7 MFH Fix bug #47695 - xmlrpc --with-iconv-dir mangles --with-iconv if they use different iconv versions. Could also just add a dependency on iconv to fix this. 2009-04-27 18:38:58 +00:00
Pierre Joye 9f8376ead3 - utf8_mime2text is present in 5.2's cclient 2009-04-27 08:23:29 +00:00
Pierre Joye 6c80425fb1 - MFH: add latest cclient versions 2009-04-27 00:01:15 +00:00
Sebastian Schürmann 82be89d366 - fixes to tests
- spl_classes only checks  for is_array(), the output in 5_3_0 and 5_2_0 is very different,
test will run this way in 5.2 and 5.3 w.o. problems
- call user method recognizes the different errormessage in 5_2_0 now
- the php_sap_name_variation001 check now goes for cgi instead of the cgi-fcgi output string
2009-04-26 23:54:12 +00:00
Jani Taskinen 9f729f9c6b MF53: Sync the session.c file structure and some bug fixes forgotten to merge. 2009-04-26 01:20:56 +00:00
Jani Taskinen ff9c528454 - Fix test cleanup 2009-04-26 01:20:03 +00:00
Jani Taskinen 7f97b581c2 - Missing skip section 2009-04-25 21:37:00 +00:00
Sebastian Schürmann 3f511f6ddb Initial import 2009-04-25 19:06:58 +00:00
Sebastian Schürmann dd7d7e2b6e Initial commit 2009-04-25 18:59:54 +00:00
Sebastian Schürmann cb22f59dbd Initial commit 2009-04-25 18:51:52 +00:00
Sebastian Schürmann 706152d40d Initial commit 2009-04-25 18:44:42 +00:00
Sebastian Schürmann 35d506b942 - Initial commit 2009-04-25 18:36:04 +00:00
Sebastian Schürmann 055622caf2 Initial commit 2009-04-25 18:29:23 +00:00
Jani Taskinen 22717a0c8c fix .cvsignore (Tony, it is not illegal to MFH to PHP_5_2..) 2009-04-25 18:26:49 +00:00
Jani Taskinen 7c7b7b4042 - In PHP_5_2 it is still possible to disable reflection. 2009-04-25 17:29:46 +00:00
Jani Taskinen 0608b239ab MFH: add .cvsignore file 2009-04-25 17:16:59 +00:00
Jani Taskinen f5748aab6c - Added missing entry 2009-04-25 17:15:38 +00:00
Jani Taskinen 631e6fc427 MFH: Sync 2009-04-25 17:12:11 +00:00
Jani Taskinen 030bfc24ab - Fix bad check (Hannes, please test stuff you commit..) 2009-04-25 16:54:50 +00:00
Pierre Joye 89f977c117 - ws 2009-04-25 16:36:02 +00:00
Pierre Joye 28e7780326 - #47940, pass body_len 2009-04-24 14:53:59 +00:00
Pierre Joye fab09bda92 - #47940 entry 2009-04-23 22:34:47 +00:00
Pierre Joye 8abacb0292 - MFH: #47940, leaks in imap_body() 2009-04-23 22:32:41 +00:00
Takeshi Abe 4b0df64a46 MFH: check non-null before any use. 2009-04-23 16:28:39 +00:00
andy wharmby ce125a6d46 Fix test 2009-04-21 08:53:26 +00:00
Jani Taskinen 97400732ad MFH:- Added path sanity check (autotools + libtool do not cope with whitespace..) 2009-04-20 15:03:57 +00:00
Mikko Koppanen 12e8c8ddc7 NEWS entry related to #47991 2009-04-20 10:03:21 +00:00
Mikko Koppanen d34a636598 MFH: Closes #47991 SSL streams fail if error stack contains items 2009-04-20 10:00:41 +00:00
Arnaud Le Blanc b6dc5c0574 MFH: Fix test 2009-04-19 22:02:06 +00:00
Arnaud Le Blanc 91e30c22d1 MFH: Better fix for #47997 2009-04-19 17:10:52 +00:00
Ilia Alshanetsky 8b083a9938 MFB: Fixed bug #47937 (system() calls sapi_flush() regardless of output
buffering)
2009-04-19 15:01:11 +00:00
Arnaud Le Blanc ce2c662791 MFB5.3: Fixed bug #47997 (stream_copy_to_stream returns 1 on empty streams) 2009-04-19 14:44:09 +00:00
Felipe Pena 1a9b6363f4 - MFH: Fix build 2009-04-18 18:56:58 +00:00
Ilia Alshanetsky 96ec5091f5 MFB: Fixed compiler warning 2009-04-16 22:14:52 +00:00
Pierre Joye 4aab8b21ac - fix zts build 2009-04-16 14:26:09 +00:00
Hannes Magnusson 9d028122b4 BFN 2009-04-16 13:53:24 +00:00
Hannes Magnusson c3fd834e3a MFH: Fixed bug#47981 (error handler not called regardless) 2009-04-16 13:52:23 +00:00
Pierre Joye c557abeb04 - improve file:// deactivation in curl_init and do not allow to enable it again manually 2009-04-16 13:51:55 +00:00
Hannes Magnusson 3fcaf01902 MFH: sync WS 2009-04-16 13:43:28 +00:00
Hannes Magnusson a61ac8cfe6 MFH: make it possible to run on 5.2.7 2009-04-16 13:41:50 +00:00
Pierre Joye 4ebb71d265 - disable file:// when safe_mode or open_basedir are enabled 2009-04-16 09:47:33 +00:00
Pierre Joye 716cc044ef - #47978, typo in ext/sockets/sockets.c 2009-04-16 05:32:38 +00:00
Moriyoshi Koizumi adefeac748 - MFH: Just a paranoiac test. This works perfectly. 2009-04-16 02:07:53 +00:00
Antony Dovgal f2e15c11c4 sync test with other branches 2009-04-15 20:57:26 +00:00
Antony Dovgal d60e754107 fix test 2009-04-15 20:54:59 +00:00
Ilia Alshanetsky 0a68541055 MFB: Fixed bug #47969 (ezmlm_hash() returns different values depend on OS) 2009-04-15 14:25:06 +00:00
Nuno Lopes 925c892dc9 MFH: fix bug #47662: support more than 127 named subpatterns 2009-04-14 20:31:32 +00:00
Nuno Lopes 66ec8d9632 upgrade to pcre 7.9 2009-04-14 20:29:09 +00:00
Antony Dovgal 5765def870 MFH: revert wrong fix for bug #47930 2009-04-14 14:18:49 +00:00
Stanislav Malyshev 077c6ea03b add fix #47930 2009-04-13 19:38:52 +00:00
Stanislav Malyshev 3e2513d8f3 fix #47930 2009-04-13 19:37:35 +00:00
Derick Rethans af99e4e438 - Updated to version 2009.6 (2009f) 2009-04-13 13:41:47 +00:00
Ilia Alshanetsky 6b719df163 MFB: Fixed bug #47946 (ImageConvolution overwrites background) 2009-04-12 14:44:34 +00:00
Rasmus Lerdorf 629eecbf7c Don't strip leading zeros on floating point numbers
And fix the test case
2009-04-09 16:04:15 +00:00
Ilia Alshanetsky 3ac8882dc1 Added test for php_sapi_name() 2009-04-09 13:28:22 +00:00
Hannes Magnusson a987ae115d Engelsk grammatikk 2009-04-09 10:20:39 +00:00
Hannes Magnusson 053c91d1ce MFH: Fixed bug#47427 (-s outputs, not displays) 2009-04-09 10:08:14 +00:00
Rasmus Lerdorf 9f9266cd88 Fixed bug #44929 - Better handling of leading zeros 2009-04-08 18:16:06 +00:00
Sebastian Bergmann 7aea024b69 MFH: Rename reflection*.phpt to Reflection*.phpt for consistency. 2009-04-08 16:09:30 +00:00
Felipe Pena db53404011 - Fixed bug #47801 (__call() accessed via parent:: operator is provided incorrect method name) 2009-04-08 00:28:06 +00:00
Felipe Pena 22c4a22379 - MFH: Fix ZTS build 2009-04-08 00:16:50 +00:00
Ilia Alshanetsky 944f02b46d Let's actually say what was updates ;-)
# Thanks Jani & Johannes
2009-04-07 17:06:53 +00:00
Arnaud Le Blanc 2b3e1ecece MFH: Fixed bug #47893 (CLI aborts on non blocking stdout) 2009-04-07 16:11:57 +00:00
Rob Richards ff4522e7dc BFN 2009-04-07 15:34:37 +00:00
Rob Richards 8728f276f9 MFH: fix bug #47849 (Non-deep import loses the namespace)
add test
2009-04-07 15:33:20 +00:00
Ilia Alshanetsky 4399a96a6b News 2009-04-07 14:08:39 +00:00
Kalle Sommer Nielsen 88c8ecb0a7 MFB53: Revert previous commit as it was causing alot more trouble than expected 2009-04-07 11:45:50 +00:00
Felipe Pena d52ad52511 - Fixed bug #47903 ("@" operator does not work with string offsets (PHP_5_2 only!))
(MFH: #39018)
2009-04-06 23:56:20 +00:00
Ilia Alshanetsky 792218240f Fixed test 2009-04-06 14:22:51 +00:00
Derick Rethans 8e5a9e931d - Updated to version 2009.5 (2009e) 2009-04-06 13:28:44 +00:00
Hannes Magnusson 7126bbbd9e MFH: Add test for bug#42596 2009-04-06 12:13:21 +00:00
Hannes Magnusson e3fb9c3e8f MFH: Fixed segfault on invalid session.save_path 2009-04-06 11:49:33 +00:00
Hannes Magnusson 9011deb604 MFH: Use an obscure name 2009-04-06 09:32:39 +00:00
Kalle Sommer Nielsen db1fa7fa80 MFB53: Kill warning about php_localtime_r not being defined 2009-04-06 09:17:47 +00:00
Dave Kelsey 51d28a7b17 bug 47886: fix test which failed during DST. Microsoft api working as designed, but unexpected. 2009-04-06 08:30:20 +00:00
Ilia Alshanetsky 3100dc31f0 Define _php_rfc822_len() only when needed 2009-04-05 14:10:49 +00:00
Felipe Pena d602767ec5 - Backported fix for #35386 (originally commited in 5.3+), reported recently as 5.2 bug #47845 2009-04-03 22:14:05 +00:00
Felipe Pena e5912d6486 - MFH: Fixed bug #47818 (Segfault due to bound callback param) 2009-04-02 15:55:02 +00:00
Matt Wilmas 77e3667550 MFH: Fixed tests, reverted changes from bug #47546 2009-04-02 09:42:32 +00:00
Matt Wilmas 8cad08f9a3 MFH: Fixed bug #47560 (explode()'s limit parameter odd behaviour) by reverting change for bug #47546 2009-04-01 17:07:46 +00:00
Felipe Pena 79dbf136b0 - MFH: Fixed bug #47852 (Compilation failure in zend_alloc.c) (Matteo) 2009-04-01 16:56:08 +00:00
Ilia Alshanetsky 72fed70e47 WS 2009-03-31 17:21:02 +00:00
Matt Wilmas 9c3e1e96b8 - MFH: Removed unused LONG_SIGN_MASK definition, and a stray \
- Changed sign flag to int (it's no longer being used in a calculation)
2009-03-31 11:22:19 +00:00
Dmitry Stogov 02f8fe6aa0 Fixed bug #47745 (FILTER_VALIDATE_INT doesn't allow minimum integer) 2009-03-31 10:05:38 +00:00
Ilia Alshanetsky ff9bc5c5e1 Fixed bug #47831 (Compile warning for strnlen() in main/spprintf.c)
# Patch by rainer\ dot\ jung\ at\ kippdata\ dot\ de
2009-03-30 19:59:08 +00:00
Pierre Joye 0bde38f6d2 - #47828 2009-03-30 18:05:42 +00:00
Pierre Joye 252f09fbe6 - better test case, it crashes on more architecture 2009-03-30 18:05:17 +00:00
andy wharmby 65e12bbf74 Fix date tests which started failing after change to BST 2009-03-30 12:35:30 +00:00
Scott MacVicar 4904830ca5 MFH Add test for bug #47828 2009-03-30 09:18:21 +00:00
Scott MacVicar 10d64bd4a9 MFH Fix test, -2147483648 is a valid unsigned int where -2147483649 isn't. 2009-03-30 00:41:39 +00:00
Scott MacVicar 966e1e6833 BFN 2009-03-29 23:35:58 +00:00
Scott MacVicar 6e617627f6 MFH Fix bug #47828 - Converting to UTF-8 can sometimes fail, check error codes and avoid segfault. 2009-03-29 23:33:01 +00:00
Ilia Alshanetsky 947df429ca Fixed compiler warning 2009-03-29 17:04:05 +00:00
Felipe Pena 9118a6ba7d - Add test 2009-03-27 16:53:03 +00:00
Felipe Pena 65d1a3a441 MFH: - Fixed bug #47769 (Strange extends PDO) 2009-03-27 16:50:38 +00:00
Christian Seiler bf8ac5f70c MFB: Fixed memory leak in ob_get_clean/ob_get_flush. 2009-03-26 00:00:18 +00:00
Ilia Alshanetsky 255422ab1e MFB: Fixed bug #47772 (FILTER_VALIDATE_EMAIL allows foo@bar. addresses) 2009-03-25 18:53:04 +00:00
Dmitry Stogov 5dda7e709c Fixed double efree() 2009-03-24 16:36:20 +00:00
Derick Rethans c95f7e8bb7 - Updated to version 2009.4 (2009d) 2009-03-23 21:40:11 +00:00
Derick Rethans 3fdd12683f - Updated to version 2009.3 (2009c) 2009-03-22 11:50:20 +00:00
Steph Fox 4219951e86 BFN 2009-03-20 22:14:45 +00:00
Steph Fox d92e82edc2 MFH: Fixed bug #38805 ( PDO Truncates Text from SQL Server Text Data Type Field)
- Bring behaviour into line with ext/mssql
  - Several memleaks plugged
2009-03-20 22:14:17 +00:00
Uwe Schindler 2b43578d54 Fix a sigsegv on server shutdown, add missing sapi_shutdown(). 2009-03-20 15:54:36 +00:00
Zoe Slattery ea9f303dd2 clarification of wwwhether 'make test' needs the PHP xecutable to be set 2009-03-20 15:44:14 +00:00
Zoe Slattery bdfafa3dd4 added skipif for root 2009-03-20 08:57:30 +00:00
Kalle Sommer Nielsen a2ad68d054 Fix typo 2009-03-20 08:39:42 +00:00
Ilia Alshanetsky aa89f171fa Fixed bug #47721 (Aligment issues in mbstring and sysvshm extension) 2009-03-19 23:10:44 +00:00
Matt Wilmas 85c513c1fc MFH: Handle overflow when decoding large numbers and avoid 2 conversions 2009-03-19 19:27:14 +00:00
Arnaud Le Blanc d72e47f4af MFH: Better fix for #44607. Fixes #47487 (php_stream_fill_read_buffer()
performance degraded after fix of bug 44607).
2009-03-19 17:56:01 +00:00
andy wharmby 1ed6d9109e New tests for various date extension functions. Tested on Windows, Linux and linux 64 2009-03-18 23:34:57 +00:00
Moriyoshi Koizumi d2e781ff7e - MFH: Synching .dsp file (I am not sure whether I really should do this) 2009-03-18 17:34:43 +00:00
Moriyoshi Koizumi bbd2a36b74 - MFH: staticise private symbols 2009-03-18 16:53:46 +00:00
Dmitry Stogov 9e48089f65 Fixed bug #47704 (PHP crashes on some "bad" operations with string offsets) 2009-03-18 13:11:32 +00:00
andy wharmby 007685a39d New tests for date extension DateTime methods Tested on Windows, Linux and linux 64 2009-03-18 11:32:53 +00:00
andy wharmby baa0e628be New tests for date extension DateTimeZone methods Tested on Windows, Linux and linux 64 2009-03-18 11:13:00 +00:00
Pierre Joye c4e040a468 - #43073, TrueType bounding box is wrong for angle<>0 2009-03-18 08:15:27 +00:00
Felipe Pena 9d8330a389 - MFH: Year++ 2009-03-17 23:10:13 +00:00
Matt Wilmas c06fb2f274 MFH: Fixed bug #46882 (Serialize / Unserialize misbehaviour under OS with different bit numbers) 2009-03-17 22:04:57 +00:00
Christopher Jones 9d638e65c7 Fix INI blocks 2009-03-17 03:08:16 +00:00
Scott MacVicar a2374d6a81 BFN 2009-03-17 02:03:58 +00:00
Scott MacVicar 17530bbccd MFH Fix bug #47644 - Valid integers are truncated with json_decode() 2009-03-17 02:02:45 +00:00
Zoe Slattery b3542a6ec4 test for /ext/tidy from stefan priebsch 2009-03-16 20:38:51 +00:00
Felipe Pena 7e9fd69bd8 - MFH: Fixed bug #47616 (curl keeps crashing) 2009-03-16 15:09:51 +00:00
Mikko Koppanen 7edf0f9e96 Updated news file 2009-03-16 12:03:57 +00:00
Mikko Koppanen 109dc1e6f6 Closes bug #47667 2009-03-16 10:22:13 +00:00
Ilia Alshanetsky 9075bfd1d9 MFB53: Fix for get_defined_constants() 2009-03-16 00:39:09 +00:00
Moriyoshi Koizumi b48436eb77 - MFH: Fix a bug that mbstring.internal_encoding doesn't take effect within
the request encoding converter.
2009-03-15 20:44:17 +00:00
Takeshi Abe 7dcb90d877 MFH: Fixed bug #45799 (imagepng() crashes on empty image) 2009-03-14 17:48:42 +00:00
Stanislav Malyshev 0d161c7bfb record new curl options 2009-03-13 19:46:09 +00:00
Stanislav Malyshev 00f576cc97 add new CURL options 2009-03-13 19:43:49 +00:00
Rob Richards e6d3c85e89 fix build for VC9 2009-03-13 14:39:08 +00:00
Rob Richards 4103f0bfbd BFN 2009-03-13 13:45:07 +00:00
Rob Richards e5a211bafc fix bug #47430 (Errors after writing to nodeValue parameter of an absent previousSibling)
add test
2009-03-13 13:41:42 +00:00
Ilia Alshanetsky 32027f5944 MFB: Fixed bug #47639 (pg_copy_from() WARNING: nonstandard use of \\ in a string
literal)
2009-03-12 22:54:15 +00:00
Zoe Slattery d189d478e3 refixing %r in run-tests.php (thanks iain lewis for the fix) 2009-03-12 20:45:43 +00:00
Andrei Zmievski baa869110b MFH 2009-03-12 16:13:39 +00:00
Ilia Alshanetsky b4c07450d2 MFB: Fixed bug #47598 (FILTER_VALIDATE_EMAIL is locale aware) 2009-03-08 18:22:26 +00:00
Kalle Sommer Nielsen ba65b35b7f MFH: Fix tests 2009-03-08 06:20:12 +00:00
Kalle Sommer Nielsen 4d8283a3ad MFH: Fixed bug #47546 (Default value for limit parameter in explode is 0, not -1) 2009-03-03 11:50:32 +00:00
Zoe Slattery f1092fb663 Added %r section 2009-03-03 10:54:16 +00:00
Moriyoshi Koizumi 023a3caf05 - MFH: Fix typo. 2009-03-02 04:44:35 +00:00
Ilia Alshanetsky 536ed996a0 MFB: Fixed bug #47435 (FILTER_FLAG_NO_PRIV_RANGE does not work with ipv6
addresses in the filter extension)
2009-03-01 17:36:09 +00:00
Ilia Alshanetsky ae31c3c66a MFB: Fixed 2 memory corruptions in zip extension idenfied by
oo_properties.phpt test
2009-03-01 17:35:25 +00:00
Uwe Schindler 2b2874eafd Fix Bug 47495: Keep header in internal list after add, so headers_list() works correctly. Other SAPIs have the same problem, but PHP 5.3 fixes this more elegant. 2009-02-25 19:52:06 +00:00
Ilia Alshanetsky 2d1f1b1b68 Back to dev 2009-02-25 15:34:33 +00:00
Ilia Alshanetsky e95f0a0058 5.2.9 2009-02-25 14:56:50 +00:00
Moriyoshi Koizumi 7db52b84b7 - Revert the patch then. 2009-02-24 15:09:43 +00:00
Moriyoshi Koizumi c5903bd6ab - MFH: strictly check UTF-8 and UTF-32 validity 2009-02-24 13:22:47 +00:00
Kalle Sommer Nielsen 6788dcf3bc Fixed #37209 (mssql_execute with non fatal errors) 2009-02-23 21:21:23 +00:00
Felipe Pena da3fad6285 - Fix test 2009-02-20 13:30:04 +00:00
Jani Taskinen ba9cdc0ad1 - spl is not forced on everyone in 5.2 branch. 2009-02-20 13:16:21 +00:00
Ilia Alshanetsky b764a1a782 Back to dev 2009-02-19 18:33:37 +00:00
Ilia Alshanetsky 98d0c1fade .2.9RC3 2009-02-19 18:31:25 +00:00
Dmitry Stogov 80e1950121 Fixed bug #47049 (SoapClient::__soapCall causes a segmentation fault) 2009-02-18 13:25:32 +00:00
Zoe Slattery eb829c6bbc fix test 2009-02-17 20:26:11 +00:00
Ilia Alshanetsky e808403250 FN 2009-02-17 17:09:24 +00:00
Ilia Alshanetsky 013c7f1f92 Fixed bug #45327 (memory leak if offsetGet throws exception)
# Patch by Greg
2009-02-17 17:09:05 +00:00
Zoe Slattery cc96a72170 Increased the sleep() from 1 to 5 to prevent intermittent failures 2009-02-17 15:21:10 +00:00
Matt Wilmas df22f1e09a MFH: Overflow comment 2009-02-17 15:15:36 +00:00
Matt Wilmas 56fcbaa848 Entry for bug #47422 2009-02-17 14:28:15 +00:00
Matt Wilmas 0d4da18bdd MFH: Fixed bug #47422 (modulus operator returns incorrect results on 64 bit linux) 2009-02-17 14:16:36 +00:00
Johannes Schlüter 7d8db13f39 MFH: Fix #45940 MySQLI OO does not populate connect_error property on failed connect 2009-02-17 10:40:18 +00:00
Felipe Pena ccd4958088 - Missing "DROP TABLE" 2009-02-16 19:49:03 +00:00
Zoe Slattery a44816ed09 exit -1 and exit -2 don't work for all sh. changed to exit 1 2009-02-16 13:18:40 +00:00
Moriyoshi Koizumi 63a6a6ee56 - MFH 2009-02-16 02:11:02 +00:00
Moriyoshi Koizumi f456fffe04 - MFH: Fix bug #47399 mb_check_encoding() return true for some illegal SJIS
characrters.
2009-02-16 01:58:16 +00:00
Felipe Pena d87c493722 - Fix tests 2009-02-15 16:50:33 +00:00
Felipe Pena 69084a71a6 - Supressing error message for SKIPIF check works as expected 2009-02-15 16:03:49 +00:00
Ilia Alshanetsky c243cd8610 reverted fix 2009-02-15 14:31:55 +00:00
Ilia Alshanetsky 9ca087df12 Revert patch for bug #46701 as it introduces a BC break 2009-02-15 14:31:17 +00:00
Moriyoshi Koizumi 488cd17ff5 - MFH: these should have been in the previous commit. 2009-02-15 07:18:43 +00:00
Moriyoshi Koizumi ef65c8ca60 - BFN 2009-02-15 07:12:15 +00:00
Moriyoshi Koizumi c2724d08fb - MFH: Refix bug #43840.
- MFH: Fix bug #43841.
- MFH: Remove redundant trailing dots from the error messages.
- MFH: Fix tests.
2009-02-15 07:11:23 +00:00
Rasmus Lerdorf af6d9528ce 2.4.1 is safe to use. Perhaps we should just drop the 3rd part from
the check there?  Might be unsafe if they break 2.4.2 though
2009-02-14 21:04:07 +00:00
Zoe Slattery 59596a527c splitting array_chunk into smaller tests 2009-02-14 10:34:22 +00:00
Moriyoshi Koizumi fb8c6db95a - MFH: prevent unwanted overflow 2009-02-14 08:16:21 +00:00
Moriyoshi Koizumi 1557e35034 - MFH: Fix Bug #45923 (mb_st[r]ripos() offset not handled correctly) 2009-02-14 07:35:01 +00:00
Moriyoshi Koizumi 17eb9361e1 - MFH: these should be E_WARNING for consistency with strpos() 2009-02-14 07:00:24 +00:00
Andrei Zmievski c2d0db2a3a Revert bogus fix for #47370. 2009-02-13 22:26:46 +00:00
Kalle Sommer Nielsen 87a91cb7b6 MFH: Revert previous change 2009-02-13 16:55:18 +00:00
Ilia Alshanetsky 2dc6d844ef Back to dev 2009-02-12 20:32:17 +00:00
Ilia Alshanetsky 46a6126e34 5.2.9RC2 2009-02-12 20:29:36 +00:00
Moriyoshi Koizumi afeef64609 * Update for bug #47370. 2009-02-12 18:32:14 +00:00
Moriyoshi Koizumi d719c020e6 * MFH: Fix bug #47370 (BC breakage of array_unique()) 2009-02-12 18:30:31 +00:00
Kalle Sommer Nielsen d9e457bbad MFH: Fixed wrong usage of error_reporting directive 2009-02-12 14:37:27 +00:00
Scott MacVicar 921ea6a428 MFH Fix bug #45989 - json_decode() doesn't return NULL on certain invalid strings 2009-02-12 00:36:23 +00:00
Scott MacVicar 519e4c1158 MFH Fix bug #46944 - UTF-8 characters outside the BMP aren't encoded correctly.
Forgot to merge this back in January
2009-02-12 00:15:46 +00:00
Felipe Pena 2a9bb86383 MFH: Fixed test bug #47311 (PDO::PARAM_LOB columns need to be bound before execute() on PgSQL) 2009-02-11 10:44:48 +00:00
Antony Dovgal a19fb50fd6 add test 2009-02-11 10:02:28 +00:00
Antony Dovgal 120b469bb4 MFH: fix bug #47353 (crash when creating a lot of objects in object destructor) 2009-02-11 09:58:58 +00:00
Antony Dovgal 49cf106aa4 MFH: fix check for zend_extension type 2009-02-11 09:11:35 +00:00
Scott MacVicar 5ee54f12af MFH Fix debug builds for OSX, PHP_DEBUG is set to 1 at the top 2009-02-11 00:08:44 +00:00
Ilia Alshanetsky c752e95c36 MFB: Adjust condition 2009-02-10 16:14:27 +00:00
Ilia Alshanetsky 3b4540f926 Fixed typo 2009-02-10 14:21:10 +00:00
Ilia Alshanetsky 0cb1a19851 Added path truncation E_NOTICE to let people now when path resolving caused
the file path to be truncated.
2009-02-10 14:18:29 +00:00
Felipe Pena 54f742e30d - MFH: Fix tests 2009-02-09 16:59:47 +00:00
Ilia Alshanetsky 6d3be89192 MFB: Initialize optional var 2009-02-09 15:34:32 +00:00
Felipe Pena 8d06c2cf2a - MFH: Fix test 2009-02-09 12:56:09 +00:00
Felipe Pena 99afacffcd - MFH: Fix mem. leak 2009-02-09 12:07:35 +00:00
Felipe Pena 09f6582694 - MFH: Fixed test 2009-02-09 11:58:02 +00:00
Greg Beaver 300f28b58e MFB fix Bug #46026 (this is a refinement of the previous fix) 2009-02-09 03:44:59 +00:00
Ilia Alshanetsky fcc80dcb86 MFB52: Fixed bug #44874 (dead pfsockopen'ed sockets aren't reaped when the
remote end restarts)

# Patch by Richard dot Krehbiel at gmail dot com
2009-02-08 16:54:43 +00:00
Antony Dovgal 0136b5cec6 fix typo 2009-02-06 10:42:54 +00:00
Felipe Pena 79f0466eff - Improve test 2009-02-06 10:40:42 +00:00
Felipe Pena ac2a97209b - MFH: Fixed bug #47322 (sscanf %d does't work) 2009-02-06 10:22:34 +00:00
Moriyoshi Koizumi c940701612 - MFH: Fix bug #45239 (encoding detector hangs with mbstring.strict_detection
enabled).
2009-02-06 08:49:05 +00:00
Ilia Alshanetsky f492ccfec6 Back to dev 2009-02-05 20:56:12 +00:00
Ilia Alshanetsky c77343ea9e 5.2.9RC1 2009-02-05 20:53:45 +00:00
Pierre Joye 34f117411e - zip fix entry 2009-02-05 19:53:43 +00:00
Pierre Joye 74f431ed45 - Fixed a crash on extract in zip when files or directories entry names contain
a relative path. (affects only 5.2 as it is a limitation in 5.2's virtual_file_ex)
2009-02-05 19:53:22 +00:00
Felipe Pena 4cf377704b - MFH: Fixed bug #47297 (pdo_033.phpt fails on PgSQL)
Patch by matteo at beccati dot com
2009-02-04 16:41:18 +00:00
Ilia Alshanetsky c4a9c79e28 Syn spprintf fix with that of 5.3 and above 2009-02-04 15:03:12 +00:00
Ilia Alshanetsky 7f2d38d966 Return empty string when recv() does not fetch any data 2009-02-03 19:22:40 +00:00
Ilia Alshanetsky 6131780061 MFB: Fixed bug #47282 (FILTER_VALIDATE_EMAIL is marking valid email
addresses as invalid)
2009-02-02 23:51:58 +00:00
Felipe Pena 1ad22f19e2 - MFH: Fixed bug #47269 (Typo: SoapSlient instead of SoapClient) 2009-02-02 10:00:32 +00:00
Moriyoshi Koizumi 90d7d1004c - MFH: Fix bug #46843 (CP936 euro symbol is not converted properly) 2009-02-02 04:54:11 +00:00
David Soria Parra f148e5a64f MFH: Fix a typo 2009-02-01 21:52:32 +00:00
Ilia Alshanetsky e721d542ee Fixed a possible invalid read when string is not null terminated 2009-02-01 19:42:48 +00:00
andy wharmby 9acebf6f4a New set_magic_quotes() tests. Tested on Windows, Linux and linux 64 2009-02-01 19:29:34 +00:00
andy wharmby cccb875ecd New php_uname() tests. Tested on Windows, Linux and linux 64 2009-02-01 19:17:50 +00:00
andy wharmby a43447aad6 New get_defined_vars(), get_included_files(), get_magic_quotes() and getmypid() tests. Tested on Winows, Linux and Linux 64 2009-02-01 18:55:28 +00:00
andy wharmby 008ca451c1 New escapeshellarg() tests. Tested on Windows, Linux and Linux 64 2009-02-01 18:39:52 +00:00
andy wharmby b43e2722ab New floatval() tests. Tested on Windows, Linux and Linux 64 2009-02-01 18:32:42 +00:00
Felipe Pena a7e664e216 - MFH: Fixed bug #47255 (Typo in php.ini files) 2009-01-31 19:26:02 +00:00
Kalle Sommer Nielsen 783b7b5cac MFH: Fix arginfo for imagefilter() 2009-01-31 15:28:34 +00:00
Felipe Pena 23b814a8b7 - MFH: Fix test 2009-01-30 14:50:38 +00:00
Ilia Alshanetsky adfdb7a77f MFB: Improved validation checks inside str_pad() 2009-01-30 00:17:05 +00:00
Scott MacVicar d84d3e47f3 Fix bug #47245 - Double free in mb_detect_encoding() 2009-01-29 22:58:52 +00:00
Johannes Schlüter ca779b84f9 - Add .cvsignore 2009-01-28 22:35:50 +00:00
Antony Dovgal 23db743e46 fix test 2009-01-28 12:59:08 +00:00
Felipe Pena 0e3465a61f MFH:
- Fix compile warning
- Fixed test
2009-01-27 15:02:43 +00:00
Felipe Pena 13ac985397 - Fixed parameter format 2009-01-27 14:44:07 +00:00
Felipe Pena 855e9fb998 - Removed wrong '/' in parameter format 2009-01-27 14:40:13 +00:00
Felipe Pena 42b58608e5 - Fixed tests 2009-01-27 14:32:59 +00:00
andy wharmby 7f4cdc8719 Split-ip var_export.phpt and add new error tests. Tested on Windows, Linux and Linux 64 bit 2009-01-26 22:27:05 +00:00
David Soria Parra f60f40afaa Fix indention 2009-01-26 21:27:41 +00:00
Rob Richards 3ba6c9f870 BFN 2009-01-26 19:12:10 +00:00
Rob Richards 566babac58 MFH: fix bug #47220 (segfault in dom_document_parser in recovery mode) 2009-01-26 19:11:19 +00:00
Ilia Alshanetsky 3959313932 MFB: Fixed bug #47217 (content-type is not set properly for file uploads) 2009-01-26 15:25:25 +00:00
Dmitry Stogov a012002652 Fixed bug #46419 (Elements of associative arrays with NULL value are lost) 2009-01-26 11:09:14 +00:00
Antony Dovgal 78c4bc3086 MFH use example.com 2009-01-25 23:28:18 +00:00
andy wharmby a12e0a69b8 Split is_callable test. Test on Windows, Linux and Linux 64 bit 2009-01-25 22:16:28 +00:00
Ilia Alshanetsky 38969d726b MFB: Improved fix for bug #47174 & added a test 2009-01-25 18:27:39 +00:00
David Soria Parra 49b4865adb MFH: Fix compiler warning. munmap expects a void pointer. 2009-01-25 14:04:09 +00:00
David Soria Parra 8b52d17a9b MFB: Fix WS 2009-01-25 13:42:39 +00:00
David Soria Parra 8d362208e1 MFH: Fix WS 2009-01-25 13:41:01 +00:00
Zoe Slattery 29980934c0 Added INI sections 2009-01-25 11:08:21 +00:00
Sebastian Bergmann 612a5d30db MFH: Patch by David Soria Parra <dsp@php.net>. 2009-01-25 11:07:56 +00:00
Antony Dovgal 09ec05ee72 fix test 2009-01-24 22:03:06 +00:00
Antony Dovgal 59305cdc08 add missing .cvsignore 2009-01-24 13:01:06 +00:00
andy wharmby c9745da78e New get_extension_funcs() and getrusage() tests. Tested on Windows, Linux and Linux 64 bit 2009-01-24 12:47:31 +00:00
andy wharmby 8ce15a6cc3 Make test more robust; avoid hangs if fsockopen() fails. Tested on Windows, Linux and Linux 64 bit 2009-01-23 23:49:31 +00:00
andy wharmby 39c67fe48d New gzuncompress() test.Tested on WIndows, Linux and Linux 64 bit 2009-01-23 23:31:48 +00:00
andy wharmby 7861cec3ef Fix tests. Add missing SKIPIF. Tested on Windows, Linux and Linux 64 2009-01-23 20:23:25 +00:00
Dave Kelsey 58ed732623 deleted invalid test. 2009-01-23 18:56:57 +00:00
Dave Kelsey 22f64f09f2 added some mail tests. Tested on windows, linux and linux 64bit 2009-01-23 17:12:19 +00:00
Dave Kelsey 71376a9789 various network tests. tested on windows, linux, linux 64 bit 2009-01-23 15:34:27 +00:00
Zoe Slattery b0ef277d3a IMPA fetchheader tests 2009-01-23 15:32:48 +00:00
andy wharmby 3f2bc9daa6 Fix names of new image files. 2009-01-23 11:18:31 +00:00
andy wharmby 3371e54109 New image tests. Tested on WIndows, Linux and Linux 64 bit 2009-01-22 22:59:51 +00:00
Pierre Joye 5f21f1e7c8 - call the right script 2009-01-22 22:07:21 +00:00
Dave Kelsey e815e613ac fstat tests. tested on windows, linux and linux 64 bit 2009-01-22 20:49:50 +00:00
andy wharmby 21aa7d168a New date tests for getdate() and gmstrftime(). Tested on WIndows, Linux and Linux 64 bit 2009-01-22 18:47:34 +00:00
Dave Kelsey d34a68db52 final collection of zlib tests. tested on linux, windows and linux 64 bit 2009-01-22 14:15:01 +00:00
andy wharmby 18e73c14a2 New basic time()and microtime() tests. Tested on Windows, Linux and Linux 64 bit 2009-01-22 14:11:12 +00:00
andy wharmby 3cdae46259 Fix test after #46732 fix. Tested on WIndows, Linux and Linux 64 bit 2009-01-22 13:50:33 +00:00
andy wharmby a7653d9485 New image tests. Tested on Windows, LInux and Linux 64 bit 2009-01-22 13:27:22 +00:00
Dave Kelsey 81af2ad666 fixed subtle bugs regarding attempting to chdir, plus cleanup issues. improved tempnam test, removed hardcoded line number. tested on windows, linux and linux 64bit. 2009-01-22 07:57:09 +00:00
andy wharmby 0d6a4b2d12 Fix test 2009-01-22 00:23:05 +00:00
Jani Taskinen b60437a4ad MFH: fix typo 2009-01-21 19:23:03 +00:00
Ilia Alshanetsky 3a78a01817 MFB: Fixed bug #47174 (base64_decode() interprets pad char in mid string as
terminator)
2009-01-21 15:45:29 +00:00
Derick Rethans aa6595916b - Updated to version 2009.1 (2009a) 2009-01-21 15:25:24 +00:00
Dave Kelsey 3fc347d251 new tests for zlib extension, tested on windows, linux and linux64 2009-01-21 15:24:16 +00:00
Antony Dovgal 7631655051 fix tests 2009-01-21 12:49:39 +00:00
andy wharmby a16133c719 New gzuncompress() test. php6 tets fails currentlly due to #47179. Tested on Windows, Linux and Linux 64 bit 2009-01-21 12:28:35 +00:00
andy wharmby e6bca5b8a5 New gzencode() test. php6 tets fails currentlly due to #47178. Tested on Windows, Linux and Linux 64 bit 2009-01-21 11:39:14 +00:00
Sanjay Mantoor 677debbd11 New testcases for strftime function 2009-01-21 10:52:34 +00:00
Dave Kelsey 5cebc6e703 Some basic tests for mime_magic. Tested on windows only 2009-01-21 10:46:38 +00:00
Dmitry Stogov 85489ac01a Fixed bug #47165 (Possible memory corruption when passing return value by reference) 2009-01-21 10:15:49 +00:00
andy wharmby 21e8496b72 New gzinflate() error test. Tested on WIndows, Linux and Linux 64 bit 2009-01-20 23:37:50 +00:00
andy wharmby 7d1ff9b203 Fix SKIPIF logic 2009-01-20 23:19:48 +00:00
andy wharmby 574a268345 New stripcslashes() tests. Tested on Window, Linux and Linux 64 bit 2009-01-20 22:54:41 +00:00
Ilia Alshanetsky 32ecd29b07 MFB: Added an E_NOTICE when precision value is truncated 2009-01-20 18:03:19 +00:00
Felipe Pena 91ec3a8141 - MFH: Fixed bug #47152 (gzseek/fseek using SEEK_END produces strange results) 2009-01-20 15:43:06 +00:00
andy wharmby 17bf5aa167 New vfprintf() tests. Tested on Window, Linux and Linux 64 bit 2009-01-20 14:19:43 +00:00
Felipe Pena 3404865719 - MFH: Added missing "return;" 2009-01-20 00:47:03 +00:00
Ilia Alshanetsky a0d1b54bf1 Fixed bug #47131 (SOAP Extension ignores "user_agent" ini setting). 2009-01-19 21:57:46 +00:00
David Soria Parra 72eeac2581 MFH: Fix #47149. Remove check for script_filename = path_translated, as this the actual value that we get from apache. 2009-01-19 18:17:59 +00:00
andy wharmby a55dc942cd New substr_replace() and unpack() error tests. Tested on Windows, Linux and Linux 64 bit. 2009-01-19 17:13:16 +00:00
andy wharmby c72618c48c New vprintf() tests. Tested on Windows, Linux and Linux 64 bit. 2009-01-19 16:03:35 +00:00
andy wharmby e9148ca0e3 New strval() tests. Tested on Windows, Linux and Linux 64 bit. 2009-01-19 15:54:43 +00:00
andy wharmby 64c8147b91 New tests for str_pad(), str_shuffle(), stristr() and strlen(). Tested on WIndows, Linux and Linux 64 bit 2009-01-19 15:46:31 +00:00
Antony Dovgal 910107f3f4 MFH: fix memleaks in sscanf() 2009-01-19 14:41:52 +00:00
Dave Kelsey ae37ab1364 new tests for zlib extension, tested on windows, linux and linux64 2009-01-19 14:03:18 +00:00
Felipe Pena 9c1837e8da - MFH: Fixed bug #47048 (Segfault with new pg_meta_data) 2009-01-18 23:51:15 +00:00
andy wharmby 8d1e2fdfda Port similar_text test to 5.2. Tested on Windows, Linux and Linux 64 bit 2009-01-18 23:11:06 +00:00
andy wharmby 4db72b092f New nl_langinfo(), number_format() and ord() tests. Tested on Windows. Linux and Linux 64 bit 2009-01-18 22:50:58 +00:00
andy wharmby 921ed1e76e New hebrev() and hebrevc() tests. Tested on Windows. Linux and Linux 64 bit 2009-01-18 21:59:33 +00:00
andy wharmby 942cea640f New sha1f() tests. Tested on Windows. Linux and Linux 64 bit 2009-01-18 19:37:41 +00:00
andy wharmby 9331f6554a New sscanf() tests. Tested on Windows. Linux and Linux 64 bit 2009-01-18 14:40:21 +00:00
andy wharmby 4b9d2da517 New explode() tests. Tested on Windows. Linux and Linux 64 bit 2009-01-18 14:34:52 +00:00
Felipe Pena 3ed65d36f9 - New tests 2009-01-18 13:28:58 +00:00
Felipe Pena ffccfdd9ec - Fixed test 2009-01-18 13:28:03 +00:00
andy wharmby 157f45242a New money_format() tests. Tested on Windows, Linux and Linux 64 bit 2009-01-17 22:52:41 +00:00
Felipe Pena d9a51ce483 - New test 2009-01-17 17:34:45 +00:00
Felipe Pena a92f5edb70 - BFN #46282 2009-01-17 17:24:59 +00:00
Felipe Pena 30dbcfe1c8 - Fixed bug #46282 (Corrupt DBF When Using DATE)
Patch by: arne at bukkie dot nl
2009-01-17 17:21:49 +00:00
andy wharmby e0c2374a93 New trim() tests. Tested on Windows, Linux and Linux 64 bit 2009-01-17 16:41:32 +00:00
andy wharmby 91eb3c5a54 New ltrim() tests. Tested on Windows, Linux and Linux 64 bit 2009-01-17 15:48:24 +00:00
andy wharmby 89af9ac202 New string tests. Tested on Windows, Linux and Linux 64 bit 2009-01-16 22:46:31 +00:00
andy wharmby 85261c8268 New string function tests. Tested on Windows, Linux and Linux 64 bit. 2009-01-16 12:53:40 +00:00
Jani Taskinen c542cf02a1 MFH:- Fixed bug #47104 (Linking shared extensions fails with icc) 2009-01-15 14:38:19 +00:00
Dmitry Stogov 8b93b4e373 Fixed possible crash because of argument stack reallocation 2009-01-15 14:23:42 +00:00
andy wharmby b26e125eda New test for strripos() string function. All tests checked on Windows, Linux and Linux 64 bit. 2009-01-15 13:40:22 +00:00
Dmitry Stogov 84d76e82bb Fixed bug #47109 (Memory leak on $a->{"a"."b"} when $a is not an object) 2009-01-15 08:48:41 +00:00
Antony Dovgal 53e5f104e4 fix typo 2009-01-14 16:32:02 +00:00
andy wharmby a3409dc80d Fix date_suninfo_tests; add missing date_default_timezone_set() to ensure they PASS when run in any timezone. Tested on WIndows, Linux and Linux 64bit. 2009-01-14 16:28:54 +00:00
andy wharmby 638ced7d36 Fixed base64_decode variation tests and new base64_encode test. Tested on Windows, Linux and Linux64 bit 2009-01-14 14:39:20 +00:00
Jani Taskinen e649bf4aa6 Fix order 2009-01-14 10:51:35 +00:00
andy wharmby 9a86c92895 Fix new date tests. Tested on Windows, Linux and Linux 64 bit 2009-01-13 23:10:52 +00:00
Andrei Zmievski ddccfe7a12 *** empty log message *** 2009-01-13 19:25:20 +00:00
Andrei Zmievski d305bc31aa Fix bug #44336 in PHP 5.2 as well. 2009-01-13 19:23:31 +00:00
andy wharmby b405a2c230 Fix test. Tested on Windows, Linux and Linux 64 bit 2009-01-13 18:51:50 +00:00
andy wharmby 92926978a2 New date extension tests. Tested on Windows, Linux and Linux 64 bit 2009-01-13 13:38:34 +00:00
Antony Dovgal 07fb812d50 fix test 2009-01-13 12:01:00 +00:00
andy wharmby 056c0c4324 New zlib extension tests. Tested on Windows, Linux and Linux 64 bit 2009-01-13 10:08:48 +00:00
andy wharmby 984f01c1ed New math tests. Tested on Windows, Linux and Linux 64 bit 2009-01-12 17:56:45 +00:00
andy wharmby e2e013662d Fix Windows tests after #47037 2009-01-12 15:59:20 +00:00
andy wharmby 1ea392bb55 New math tests. Tested on Windows, Linux and Linux 64 bit 2009-01-12 14:31:07 +00:00
Scott MacVicar b3e3d679c5 MFH The previous error was masked by a missing entry, sync them back up. 2009-01-12 14:30:21 +00:00
Scott MacVicar 7f512a75b7 MFH This entry doesn't exist upstream any more, it also caused all error messages to be one off. 2009-01-12 13:42:15 +00:00
Rob Richards b09626373f BFN 2009-01-11 12:03:43 +00:00
Rob Richards 5db40d5a2f MFH: fix bug #45996 (libxml2 2.7 causes breakage with character data in xml_parse()) 2009-01-11 12:01:55 +00:00
Felipe Pena 646a8aabba - MFH Fix SEGV if get_method() returns a non bound function 2009-01-10 20:30:48 +00:00
Felipe Pena a0f2b8ff27 - Removed entry (not solved yet) 2009-01-10 17:39:28 +00:00
Felipe Pena 4b06c31923 - MFH: Fixed test (patch by Timm Friebe [thekid@php]) 2009-01-10 17:07:33 +00:00
Antony Dovgal 3c001f3279 cleanup garbage 2009-01-09 23:17:01 +00:00
Antony Dovgal fa4b164375 fix test: don't create tmp files in "." and clean up when done 2009-01-09 23:11:52 +00:00
David Soria Parra aa3fc14911 MFH: Fixed bug #47042 (PHP cgi sapi is removing SCRIPT_FILENAME for non apache). 2009-01-09 22:14:20 +00:00
Jani Taskinen 20eee2e5e4 fix news 2009-01-09 07:17:57 +00:00
Sanjay Mantoor c5d0d152a9 New testcases for localtime function 2009-01-09 05:08:44 +00:00
Felipe Pena ab029cf81a - Fixed tests 2009-01-09 02:35:37 +00:00
Antony Dovgal 7bad8ec1ca fix tests 2009-01-08 22:03:40 +00:00
Andrei Zmievski 7ac1f7eee7 Handle __call() on protected/private method access for callbacks too. 2009-01-08 21:39:06 +00:00
andy wharmby c957a3ae9c New PHPT tests for math functions (batch 1 of 3). Tested on Windows, Linux and Linux 64 bit. 2009-01-08 21:21:17 +00:00
Felipe Pena a6f3a6b470 - MFH: Fixed tests 2009-01-08 20:03:32 +00:00
Felipe Pena e28ad0cd28 MFH:
- Fixed bug #47037 (No error when using fopen with emty string)
Patch by Cristian Rodriguez R.
2009-01-08 19:21:25 +00:00
Arnaud Le Blanc d6296c9f33 MFH: XFAIL test 2009-01-08 18:58:46 +00:00
Arnaud Le Blanc b27f9a96e7 MFH:
Fix memleak when a user filter appends a bucket and returns != PSFS_PASS_ON
Improved tests
2009-01-08 18:40:56 +00:00
Felipe Pena 3af972a44b - BFN #47035 2009-01-08 17:28:08 +00:00
Felipe Pena 6c3a5e8d05 - MFH: Fixed bug #47035 (dns_get_record returns a garbage byte at the end of a TXT record) 2009-01-08 17:20:21 +00:00
Arnaud Le Blanc b512bab367 MFH: Fixed error conditions handling in stream_filter_append() 2009-01-08 17:03:42 +00:00
andy wharmby 74469110b3 Fix bogus file tests - addresses 2 failures in PHP GCOV reports. Tested on Windows, Linux and Linux 64 bit 2009-01-08 10:41:07 +00:00
Andrei Zmievski 518f9a3586 MFB 2009-01-08 00:39:15 +00:00
Antony Dovgal 0d08b726b2 MFH: fix test 2009-01-07 21:23:18 +00:00
Felipe Pena a49254c325 MFH:
- Added check for EWOULDBLOCK
- Using EWOULDBLOCK instead of EAGAIN by portability issues
(Related to #46917)
2009-01-07 20:41:47 +00:00
Felipe Pena 80589d3bf6 - Fixed test 2009-01-07 20:33:06 +00:00
Felipe Pena 6324a1f35c - Revert in this branch (attention++, thanks Hannes :D) 2009-01-07 17:38:13 +00:00
Felipe Pena bbced47e80 - BFN #47029 2009-01-07 17:26:20 +00:00
Felipe Pena ddb4a69a98 - Fixed bug #47029 (quoted_printable_decode() produces duplicate warning)
Patch by Andy wharmby
2009-01-07 17:24:20 +00:00
andy wharmby bf29902c14 New pcre extension tests. Tested on Windows, Linux and Linux 64-bit 2009-01-07 14:49:56 +00:00
Derick Rethans 3c15c00891 - MFH: Fixed bug #47027 (var_export doesn't show numeric indices on ArrayObject). 2009-01-07 14:36:49 +00:00
andy wharmby 3247a9c40b New hash extension tests. Tested on Windows, Linux and Linux 64-bit 2009-01-07 14:33:00 +00:00
Uwe Schindler f732dfba27 MFH: the #ifdef was never working. If Sun extends its NSAPI to support subrequests, much of this code must be rewritten. Because of that it is better to have a clean start. This commit does not change behaviour. 2009-01-06 13:46:49 +00:00
Felipe Pena 7c1d04ece1 - BFN #46701 2009-01-06 01:33:16 +00:00
Felipe Pena cde0b736c5 MFH:
- Fixed bug #46701 (Creating associative array with long values in the key fails on 32bit linux)
Patch by Shire
2009-01-06 01:29:22 +00:00
Felipe Pena 3be9fae529 - BFN 2009-01-05 22:27:31 +00:00
Felipe Pena df71cbc0d5 - Fixed bug #46760 (SoapClient doRequest fails when proxy is used) [only in this branch] 2009-01-05 22:16:58 +00:00
Antony Dovgal 962243af08 create temporary db in the current dir and cleanup on completion 2009-01-05 16:01:45 +00:00
Antony Dovgal 217b40b1aa MFH: Fix build where __USE_GNU is used instead of _GNU_SOURCE to define utsname.domainname
(c) felipe, Sun Jun 22 21:45:42 2008 UTC
2009-01-04 15:08:34 +00:00
Felipe Pena 67bbebf598 - BFN 2009-01-03 17:02:55 +00:00
Kalle Sommer Nielsen b47ae1bdb7 MFH:
* Redirect the "1 file(s) copied" message to nul
* Check if configure script was copied, and output an error if it wasn't
2009-01-03 03:27:47 +00:00
Felipe Pena 38d47b02df - MFH: Windows part 2009-01-03 00:06:59 +00:00
Felipe Pena e812a31c9b - MFH: Errr, rule nº 1: be portable :) 2009-01-02 21:43:07 +00:00
Felipe Pena 11c47b663f - MFH: Working with unintialized errno (#46917, noticed by Jost Boekemeier) 2009-01-02 21:29:04 +00:00
Scott MacVicar 1f4754a0bf Duplicate INI sections 2009-01-02 12:13:10 +00:00
Andi Gutmans 3fc970cc4f - MF PHP_5_3 2009-01-02 05:00:35 +00:00
Pierre Joye ed32a8a6e2 - news entry for #46985 and zip property read 2009-01-02 00:17:44 +00:00
Pierre Joye ab61e0138e - MFH: fix filename property read 2009-01-02 00:12:29 +00:00
Pierre Joye 597f0acfaa - restore overwrite feature (regression introduced in 5.2.8) 2009-01-01 19:32:45 +00:00
Pierre Joye 704599d3a9 - restore fix for binary mode on win (regression introduced in 5.2.8) 2009-01-01 19:32:24 +00:00
Zoe Slattery 71539c429e removing xfail sections as test passes 2008-12-31 20:17:41 +00:00
Zoe Slattery 3f41dea857 new test from Nat Mcugh 2008-12-31 20:07:47 +00:00
Zoe Slattery 575e56649c Fixed bug #46845 Test expected to fail, but pass, don't cause error 2008-12-31 17:37:21 +00:00
Felipe Pena c6dca00fbb - BFN 2008-12-31 15:42:43 +00:00
Felipe Pena 154d823ad0 - MFH: Fixed bug #46973 (IPv6 address filter rejects valid address) 2008-12-31 15:39:48 +00:00
Sebastian Bergmann ef49b9a8de MFH: Bump copyright year, 3 of 3. 2008-12-31 11:17:49 +00:00
Sebastian Bergmann 83a893a5d6 MFH: Bump copyright year, 2 of 3. 2008-12-31 11:16:23 +00:00
Sebastian Bergmann b9259ff9d1 MFH: Bump copyright year, 1 of 3. 2008-12-31 11:16:12 +00:00
Ant Phillips 73ef7ed458 Revert to the previous version for these tests as they were overwritten by mistake (checked on Windows but not on Linux... so the six skipped tests may not work correctly... but they should be ok and I'll watch the test results). 2008-12-31 10:36:10 +00:00
Ant Phillips 8fd7172306 Revert to the previous version for these tests as they were overwritten by mistake (checked on Windows but not on Linux... so the six skipped tests may not work correctly... but they should be ok and I'll watch the test results). 2008-12-31 10:18:20 +00:00
Ilia Alshanetsky 132ad2d26c Fixed bug #46964 (Fixed pdo_mysql build with older version of MySQL). 2008-12-30 19:10:59 +00:00
Ant Phillips 8bddde3f80 Revert to the previous version for these tests as they were overwritten by mistake (checked on Windows but not on Linux... so the six skipped tests may not work correctly... but they should be ok and I'll watch the test results). 2008-12-30 17:11:57 +00:00
Ant Phillips aa90a2d3e0 Revert to the previous version for these tests as they were overwritten by mistake (checked on Windows but not on Linux... so the six skipped tests may not work correctly... but they should be ok and I'll watch the test results). 2008-12-30 17:06:50 +00:00
Zoe Slattery 0f1d65592b re-adding skipifs 2008-12-30 15:36:45 +00:00
Zoe Slattery f8bcc8c15f removed commented out SKIPIF 2008-12-30 13:06:25 +00:00
Scott MacVicar 3813ffa6f9 BFN 2008-12-29 15:44:49 +00:00
Scott MacVicar 9c332b4b9e Fix bug #46959 - Can't disable PCRE in 5.2.x, too much was backported from 5.3. 2008-12-29 15:27:11 +00:00
Jani Taskinen 52252ef91d - Fix news 2008-12-29 10:02:22 +00:00
Brian Shire 29401ca5a9 MFH: fix explode behavior to respect negative limit when string is empty. 2008-12-27 05:20:27 +00:00
Arnaud Le Blanc e27731f3db MFH: Fixed bug #46873 (extract($foo) crashes if $foo['foo'] exists) 2008-12-27 03:07:46 +00:00
Felipe Pena 0540f6ddb1 - Errr, that is 32bit. and cosmetic 2008-12-25 13:40:59 +00:00
Felipe Pena dd44c11b55 - Fix tests for different platforms 2008-12-25 13:30:38 +00:00
Felipe Pena bedf300691 - Fix test 2008-12-25 13:21:35 +00:00
Felipe Pena 43c88da822 - Fixed tests (because we get different error message on different SO) 2008-12-25 12:15:51 +00:00
Felipe Pena 99e6a560dc - Fixed BC in array_unique (HASH_OF stuff), warning and CS in another part 2008-12-25 11:05:19 +00:00
Felipe Pena 89e6d5bd22 - MFH: Fixed memory leak in imap_rfc822_parse_adrlist 2008-12-24 13:31:40 +00:00
Felipe Pena e7057c6825 - New test 2008-12-24 11:51:29 +00:00
Felipe Pena 584ced66d5 BFN 2008-12-24 11:32:45 +00:00
Felipe Pena a1a4c02290 - Fixed bug #46918 (imap_rfc822_parse_adrlist host part not filled in correctly) [only in this branch] 2008-12-24 11:24:38 +00:00
Sanjay Mantoor a2de42599b New testcases for idate function 2008-12-23 09:13:28 +00:00
Sanjay Mantoor 8867ffc100 New testcases for gmmktime function 2008-12-23 07:47:00 +00:00
Scott MacVicar 99614941d7 MFH: Invalid string causes segfault within json_decode() 2008-12-19 02:13:41 +00:00
Scott MacVicar b5ca904be2 Add name of reported to security issues because we apparently need to let everyone know. 2008-12-18 21:05:55 +00:00
Derick Rethans 9fbc798d63 - Added a test case for bug #46268. (Bug itself is not present in 5.2). 2008-12-18 20:30:06 +00:00
Ilia Alshanetsky 444aba4d5f MFB: Fixed bug #46887 (Invalid calls to php_error_docref()) 2008-12-18 20:08:00 +00:00
Pierre Joye abda35380f - MFH: export php_scandir and php_alphasort 2008-12-18 17:41:59 +00:00
Arnaud Le Blanc 3572d5f2b0 MFH: Fixed test 2008-12-18 16:05:14 +00:00
Robin Fernandes dae1582b66 Additional output buffering tests. 2008-12-18 15:20:46 +00:00
Derick Rethans e3388ff043 - MFH: Fixed bug #46889: Memory leak in strtotime(). 2008-12-18 14:57:04 +00:00
Stanislav Malyshev e179d4e86b bug #46005 -> 5.2 2008-12-18 14:29:38 +00:00
Stanislav Malyshev d3dce9e02e MFH fix #46005 2008-12-18 14:28:35 +00:00
Ilia Alshanetsky eaa3298b4a MFB: remove fprintf usage 2008-12-17 21:45:31 +00:00
Zoe Slattery a54f690ae0 README for ext/imap tests 2008-12-17 15:36:44 +00:00
Zoe Slattery e780773ee6 Miscellaneous tests for ext/imap 2008-12-17 15:09:21 +00:00
Jani Taskinen 3c1bcc2c8c MFH:- Fixed bug #45161 (Reusing a curl handle leaks memory) 2008-12-17 14:20:30 +00:00
Jani Taskinen 1cd04d8739 MFH: bug tests 2008-12-17 14:05:52 +00:00
Zoe Slattery 3fff948321 New FTP test from Nathaniel McHugh 2008-12-17 12:35:53 +00:00
Ilia Alshanetsky 435cf74f45 MFH: removed unused var 2008-12-17 00:30:48 +00:00
Zoe Slattery 9919125435 bug #46837 fix 2008-12-16 21:35:42 +00:00
Zoe Slattery 2b5cd5b7fe bug #46884 fix 2008-12-16 21:11:49 +00:00
Steve Seear 071a3c3c7a call_user_func_array() tests 2008-12-15 14:12:16 +00:00
Zoe Slattery b0994638ee fixed test 2008-12-15 13:19:23 +00:00
Steve Seear 5591b9fabb Add find_tested script to 5_2 branch (for use by gcov.php.net) 2008-12-15 11:29:18 +00:00
Sanjay Mantoor d0eaa59d0f New testcases for gmdate function 2008-12-15 10:36:53 +00:00
Sanjay Mantoor 29c885c8bd New testcases for gettimeofday function 2008-12-15 08:23:58 +00:00
Scott MacVicar c9e793df5e Add CVE 2008-12-13 13:37:58 +00:00
Andrei Zmievski 844799cfd5 MFH 2008-12-13 00:38:29 +00:00
Rob Richards d6b537e8ca fix entry 2008-12-12 04:21:01 +00:00
Rob Richards dba2bf64dd BFN 2008-12-12 04:18:12 +00:00
Rob Richards f9020054d2 MFH: fix bug #46699: (xml_parse crash when parser is namespace aware)
fix a couple warnings
add test
2008-12-12 04:17:26 +00:00
Pierre Joye 22955ad4bf - fix build (all platforms) 2008-12-11 15:30:18 +00:00
Pierre Joye b2483079bb - MFH: fix build (was never used like that before recent commit to session) > local include use quotes not <> 2008-12-11 13:12:54 +00:00
Stefan Esser f2d5b34f26 Added test for magic_quotes_gpc 2008-12-11 13:06:29 +00:00
Ant Phillips 99e65a945e MCrypt tests: checked on PHP 5.2.6, 5.3 and 6.0 (Windows and Linux but not Linux 64 bit or 5.3). 2008-12-11 10:20:37 +00:00
Lars Strojny d5b6ae48f7 MFB: Fixing strict warning 2008-12-11 02:38:44 +00:00
Scott MacVicar b2863d6ecc BFN 2008-12-11 01:23:40 +00:00
Scott MacVicar 08e90b069f MFH Fix bug #35975 - Session cookie expires date format isn't the most compatible. Sync to that of setcookie(). 2008-12-11 01:21:42 +00:00
Pierre Joye 422eb1b8f6 - ws 2008-12-11 00:12:20 +00:00
Ilia Alshanetsky 8424c90476 MFB: Fixed bug #46798 (Crash in mssql extension when retrieving a NULL value
inside a binary or image column type)
2008-12-10 20:54:47 +00:00
Scott MacVicar c0defbdc81 BFN 2008-12-10 13:40:20 +00:00
Scott MacVicar ec469a9f6a MFH Fix segfault and potential security issue in imagerotate(). 2008-12-10 13:33:10 +00:00
Ant Phillips 0397dd836b Tests for bug #43841 and #45923 2008-12-10 10:35:40 +00:00
Arnaud Le Blanc 74a872c001 MFH: fixed test 2008-12-09 22:54:16 +00:00
Nuno Lopes 6499ce4847 update PCRE symbol list (sync with php 5.3). this should fix bug #46800 2008-12-09 22:00:19 +00:00
Jani Taskinen 0cc37e4a06 MFH 2008-12-09 16:05:57 +00:00
Jani Taskinen 84f868ded7 MFH: fix tests 2008-12-09 15:44:47 +00:00
Jani Taskinen 8808ffa0ff MFH 2008-12-09 15:21:33 +00:00
Zoe Slattery 7d2735fbef fix resource id 2008-12-09 13:40:25 +00:00
Jani Taskinen 6414245da6 MFH 2008-12-09 10:54:04 +00:00
Pierre Joye e3b599807c - not used anymore 2008-12-09 09:21:59 +00:00
Scott MacVicar 864632a1b1 MFB 5.3 Add test for the recent magic_quotes_gpc regression. 2008-12-09 01:48:32 +00:00
Pierre Joye 6bbb6b7df7 - MFH:
- buildconf accepts arguments (pecl dir for ex.)
 - copy configure.bat
2008-12-08 22:42:51 +00:00
Pierre Joye 743e7d8cb7 - MFH: add configure script 2008-12-08 22:40:30 +00:00
Nuno Lopes 3f3da95a4c remove unused file to avoid confusion 2008-12-08 20:18:14 +00:00
Zoe Slattery bb46ef5a6e tests for imap_fetch_overview 2008-12-08 19:14:03 +00:00
Jani Taskinen bb46aa5f97 - Sync with HEAD 2008-12-08 12:35:54 +00:00
Scott MacVicar b364219ade Fix bug #46748, segfault when SSL has more than one error message. 2008-12-08 02:33:46 +00:00
Antony Dovgal de78386d8f fix .cvsignore 2008-12-07 19:33:15 +00:00
Ilia Alshanetsky 1fa754ffd3 Back to dev 2008-12-07 19:28:01 +00:00
Ilia Alshanetsky 3cb41ad94d 5.2.8 2008-12-07 19:23:26 +00:00
Ilia Alshanetsky 34455b8ab8 5.2.8 2008-12-07 19:18:20 +00:00
Ilia Alshanetsky ff209bb97c Move active branch to 5.2.9 2008-12-07 19:08:35 +00:00
Matt Wilmas af5cb849ee MFH: Fixed bug #46782 (fastcgi.c parse error) 2008-12-07 10:55:47 +00:00
Scott MacVicar ab165076a9 Back out bugfix for #42718 as this broke magic_quotes_gpc 2008-12-06 17:16:36 +00:00
Zoe Slattery 488d12c2e5 More changes to allow the same tests to be used with PHP5 and PHP6 2008-12-06 12:02:24 +00:00
Robin Fernandes 27c06db0bd Add some class related tests, fix hard-coded object ID in serialize_001.phpt. 2008-12-05 22:12:06 +00:00
Rob Richards 3bfe758475 MFH: fix arginfo - these also accept SimpleXMLElement 2008-12-05 18:36:16 +00:00
Zoe Slattery dee98d2d9e FTP test from Nathaniel McHugh 2008-12-05 16:27:01 +00:00
Ant Phillips 19c4363c8a Remove duff comment produced by the test generator tool 2008-12-05 14:17:58 +00:00
Zoe Slattery 7c375c4879 bug #46731 fix 2008-12-05 11:59:01 +00:00
Zoe Slattery 51e0152170 Update to use norsh flag 2008-12-05 11:02:55 +00:00
Sanjay Mantoor 59338d84b7 New testcases for date_sunset function 2008-12-05 06:12:11 +00:00
Sanjay Mantoor 8f00f19419 New testcases for date_sunrise function 2008-12-05 05:35:39 +00:00
Mikko Koppanen df7ba6eb86 Fixed #46739 2008-12-04 13:17:28 +00:00
Mikko Koppanen d6593aa472 Fixes bug #46739 2008-12-04 13:13:41 +00:00
Antony Dovgal 3fbb9f50c5 fix test 2008-12-03 21:29:19 +00:00
Felipe Pena 5be5df48c9 - Fixed strange typos 2008-12-03 20:45:25 +00:00
Ant Phillips b337c7ad95 XML tests: checked on PHP 5.2.6, 5.3 and 6.0 (Windows, Linux and Linux 64 bit). 2008-12-03 19:09:22 +00:00
Felipe Pena 1000e22750 - Coverage++ 2008-12-03 16:27:50 +00:00
Ilia Alshanetsky 4efe92fa7c Back to dev 2008-12-03 15:57:52 +00:00
Ilia Alshanetsky b822f24748 PHP 5.2.7 2008-12-03 15:54:03 +00:00
Robin Fernandes 1ff15e8260 Add support for %u|b% and %unicode_string_optional% to facilitate writing tests compatible with both 5_2 and HEAD. 2008-12-03 14:27:43 +00:00
Ant Phillips 0ff050f076 MBString tests: checked on PHP 5.2.6 (Windows, Linux and Linux 64 bit). 2008-12-03 13:04:38 +00:00
Felipe Pena 2689a74cee - BFN 2008-12-03 10:15:13 +00:00
Ant Phillips b11ad90dfc Delete duff commit files 2008-12-03 09:25:42 +00:00
Felipe Pena bc7d3a9484 - Fixed tests 2008-12-02 23:06:52 +00:00
Felipe Pena 03eb1fd623 MFH:
- Fixed memory leaks
- Added new tests (Coverage++)
2008-12-02 21:02:44 +00:00
Derick Rethans 24a764e086 - MFH: Fixed bug #46732 (mktime.year description is wrong). 2008-12-02 18:01:58 +00:00
Matt Wilmas 7c53e81273 MFH: Changed logic for LONG_MIN 2008-12-02 14:50:37 +00:00
Ant Phillips 173069cead Array tests: checked on PHP 5.2.6, 5.3 and 6.0 (Windows, Linux and Linux 64 bit). 2008-12-02 13:37:21 +00:00
Ilia Alshanetsky 0902cc8651 Fixed typo 2008-12-01 20:57:11 +00:00
Iain Lewis 1b3ea47dbc Adding tests for array_multisort 2008-12-01 14:25:24 +00:00
Felipe Pena fb11097b06 - MFH: Fixed memory leak 2008-12-01 12:28:27 +00:00
Ant Phillips 0722818374 Exif tests: checked on PHP 5.2.6, 5.3 and 6.0 (Windows, Linux and Linux 64 bit). 2008-12-01 12:23:33 +00:00
Ant Phillips 72e8a2ec60 DOM tests: checked on PHP 5.2.6, 5.3 and 6.0 (Windows, Linux and Linux 64 bit). 2008-12-01 11:29:35 +00:00
Uwe Schindler e073d72618 remove unneeded includes (not needed since NSAPI 3.0, wich is very old). This is needed for cleanup of the windows build. 2008-12-01 10:11:57 +00:00
Pierre Joye 21f74ba99e - c/p fix, correct description 2008-12-01 00:03:03 +00:00
Pierre Joye 279c926f8b - Enable fix fo #42862 (IMAP toolkit crash: rfc822.c legacy routine buffer overflow) on windows (we use the latest imap) 2008-11-30 23:58:17 +00:00
Pierre Joye 26eeef7599 - fix line ending 2008-11-30 23:56:36 +00:00
Pierre Joye 07fde460a3 - fix line ending 2008-11-30 22:35:39 +00:00
Pierre Joye d70eefbaa0 - #44900 2008-11-30 21:41:57 +00:00
Pierre Joye 3d1a87fb88 - #44900, OpenSSL extension fails to link with OpenSSL 0.9.6 (5.2 only, 5.3+ requires a decent version) 2008-11-30 21:39:57 +00:00
Hannes Magnusson df9603aae0 MFH: Fix proto 2008-11-30 00:12:45 +00:00
Uwe Schindler 4560601437 MFH: support stat cache of webserver (like apache does) 2008-11-29 23:44:44 +00:00
Uwe Schindler 77972bc68a MFH: Some nsapi.h specific ifdefs unified & corrected (same like last commit, only cleanup) 2008-11-29 19:59:27 +00:00
Uwe Schindler 877cdf6862 MFH: remove one stat call and replace by cached one
(release-manager: the same like with last commit)
2008-11-29 19:38:04 +00:00
Uwe Schindler 75b081d0d1 Hallo release manager: This patch is not release critical (affects only NSAPI, but I want it to be fixed in the last version of PHP 5.2). If you do not want to have it in, revert it, a new RC is definitely not needed because of this (and I am sure nobody who tests RCs is using NSAPI :)!
MFH: Implement flushing in NSAPI, fix some problems with output buffering if the response was not started (no headers sent) before doing something in ub_write() or flush() - Writing or flushing output will fail in NSAPI, if headers were not sent before.
2008-11-29 14:51:45 +00:00
Stanislav Malyshev f9a2648d61 report fix 2008-11-29 00:49:58 +00:00
Stanislav Malyshev 8a0fc77582 properly initialize BG(page_uid) and BG(page_gid) 2008-11-28 23:27:46 +00:00
Stanislav Malyshev 7a67e94f17 init SG(server_context) before processing configs 2008-11-28 23:22:39 +00:00
Matt Wilmas 2826401afe MFH: Updated description to match docs 2008-11-28 19:07:09 +00:00
Zoe Slattery b51bb4132f Committing include files required for tests. Tests and bug reports to follow. 2008-11-28 17:41:03 +00:00
Dmitry Stogov 281fb1f2ed Fixed bug #46366 (bad cwd with / as pathinfo) 2008-11-28 11:56:50 +00:00
Ant Phillips fbdf0ba4e5 Language tests: checked on PHP 5.2.6, 5.3 and 6.0 (Windows, Linux and Linux 64 bit). 2008-11-28 10:40:37 +00:00
Stanislav Malyshev 311e37c4b1 report fix 2008-11-27 23:51:45 +00:00
Ilia Alshanetsky e0beb2850f Back to dev 2008-11-27 21:28:37 +00:00
Ilia Alshanetsky c66894df94 5.2.7RC5 2008-11-27 21:21:42 +00:00
Ilia Alshanetsky 460b6552cd Updated NEWS file with CVE #s 2008-11-27 17:29:20 +00:00
Ilia Alshanetsky e12dba474e MFB: Fixed bug #46696 (cURL fails in upload files with specified
content-type)
2008-11-27 17:01:29 +00:00
Ant Phillips 39de96fa50 Directory tests: checked on PHP 5.2.6, 5.3 and 6.0 (Windows, Linux and Linux 64 bit). 2008-11-27 14:51:16 +00:00
Dmitry Stogov ac0fc54ec4 Fixed bug #44882 (SOAP extension object decoding bug) 2008-11-27 14:49:46 +00:00
Ant Phillips 7446484181 Latest and greatest versions of these session tests - checked on 5.2.X snap on Windows, Linux and Linux 64 bit. 2008-11-27 14:30:58 +00:00
Ant Phillips bc80465549 Latest and greatest versions of these session tests - checked on 5.2.X snap on Windows, Linux and Linux 64 bit. 2008-11-27 13:51:07 +00:00
Dmitry Stogov 84ce97f43d Fixed bug #46427 (SoapClient() stumbles over its "stream_context" parameter) 2008-11-27 11:25:22 +00:00
Arnaud Le Blanc 9ed3965300 MFH: Fixed bug #46673 (stream_lock call with wrong paramater) 2008-11-26 04:20:41 +00:00
Arnaud Le Blanc fbde968865 MFH: Missed file from commit for #44181 & #44182 2008-11-26 04:08:30 +00:00
Arnaud Le Blanc 5673f9f2c1 MFH: Fixed bug #42473 (ob_start php://output and headers) 2008-11-26 01:21:10 +00:00
Arnaud Le Blanc 22f994ad4e MFH: Fixed bugs #44181 & #44182 (extract() and references)
(robin_fernandes at uk dot ibm dot com)
2008-11-26 01:00:36 +00:00
Ant Phillips 701c5a64a4 File system tests: checked on PHP 5.2.6, 5.3 and 6.0 (Windows, Linux and Linux 64 bit). There seems to be an issue with trailing slashes on 5.2.7 RC1 which may cause some tests to fail... 2008-11-25 11:33:41 +00:00
Arnaud Le Blanc 3e82b3d3ae MFH: Fixed endless loop in cli when ignore_user_abort is on 2008-11-25 03:53:00 +00:00
Stanislav Malyshev 40607b254a fix php_value application order for Apache 2008-11-24 22:18:25 +00:00
Ilia Alshanetsky 0d56cd2dfc MFB: Fixed bug #46626 (mb_convert_case does not handle apostrophe correctly) 2008-11-24 21:23:45 +00:00
Arnaud Le Blanc 90f9f11fbe MFH 2008-11-24 19:17:56 +00:00
David Soria Parra 6686c41e3d MFH: Revert fix for 43782, as it caused problems. 2008-11-24 15:37:33 +00:00
Jani Taskinen d9204dbce2 - Keep the style ;) 2008-11-24 12:49:00 +00:00
Arnaud Le Blanc d6b86e9d4d MFH: Fixed bug #46649 (Setting array element with that same array produces
inconsistent results)
2008-11-23 20:36:32 +00:00
Ilia Alshanetsky d2bb47958f BFN: Fixed bug #46643 (Upgraded PCRElib to 7.8) 2008-11-23 18:31:05 +00:00
Ilia Alshanetsky d8b835620c MFB: Fixed bug #46643 (Upgraded PCRElib to 7.8) 2008-11-23 18:30:38 +00:00
Felipe Pena 3d8b5526af - BFN 2008-11-22 11:24:15 +00:00
Felipe Pena c22036851a - Missing SKIPIF :( 2008-11-21 22:56:20 +00:00
Felipe Pena 958fcd4c65 - Fixed tests 2008-11-21 22:50:22 +00:00
Felipe Pena 572b3f83a3 - MFH: Fixed memory leak in readline_callback_handler_remove() 2008-11-21 22:48:27 +00:00
Felipe Pena f358f96deb - New tests 2008-11-21 21:44:32 +00:00
Felipe Pena d5e2d221cd - Fix test 2008-11-21 21:03:47 +00:00
Felipe Pena bec4b5a45e - New tests 2008-11-21 21:01:23 +00:00
Ilia Alshanetsky 42066c72d1 Back to dev 2008-11-21 00:12:18 +00:00
Ilia Alshanetsky 574d2c8987 5.2.7RC4 2008-11-21 00:08:49 +00:00
Felipe Pena c9f76fb96f - BFN 2008-11-20 22:29:49 +00:00
Felipe Pena 22851007ca - MFH: Fixed memory leaks in readline_completion_function() 2008-11-20 22:26:32 +00:00
Iain Lewis 2b251dc603 Adding some tests for array_product 2008-11-20 15:49:09 +00:00
Mark Karpeles dddacf337a - ext/wddx: fixed test 003 which depended on arch (32bits vs 64bits) 2008-11-20 15:12:28 +00:00
Felipe Pena f4cc20d972 - MFH: Added ZEND_FETCH_RESOURCE_NO_RETURN 2008-11-20 14:51:30 +00:00
Mark Karpeles c139ff0ae1 - MFH: ext/wddx: classes providing __sleep() are stored without properties (fixed) 2008-11-20 14:35:22 +00:00
Ilia Alshanetsky d65d363741 Proper bug id 2008-11-19 23:53:18 +00:00
Pierre Joye 6f24d39212 - #46497 2008-11-19 17:02:33 +00:00
Pierre Joye fa0e88725c - #46497, wddx_serialize treats input as ISO-8859-1 (Mark Karpeles) 2008-11-19 17:01:17 +00:00
Felipe Pena 50e05895c0 - Fixed test 2008-11-19 17:00:13 +00:00
Ant Phillips dfd31ff703 Reflection tests: checked on PHP 5.2.6, 5.3 and 6.0 (Windows, Linux and Linux 64 bit). 2008-11-18 15:36:32 +00:00
Pierre Joye 0d3534ac1d - #41033 2008-11-18 02:15:54 +00:00
Pierre Joye 0f50210635 - fix title 2008-11-18 02:03:19 +00:00
Pierre Joye a46b6655a4 - MFH: #41033, enable signing with DSA keys 2008-11-18 02:02:19 +00:00
Ilia Alshanetsky bb592b40ab More detailed bug fix description 2008-11-17 23:40:54 +00:00
Ant Phillips 29023692ce Commit tests for ext/reflection 2008-11-17 11:20:19 +00:00
Pierre Joye bb80704332 - skip if pcntl is missing 2008-11-16 23:19:33 +00:00
Pierre Joye f38c96e85f - MFH: manage references of stream context properly (Tony)
- add tests for bug #46127
2008-11-16 23:12:38 +00:00
Ilia Alshanetsky aea970fbc2 MFB: Fixed memory leak inside readline_callback_handler_install() function 2008-11-16 18:01:25 +00:00
Felipe Pena 8c6eedb868 - MFH: Better fix 2008-11-13 23:23:11 +00:00
Stanislav Malyshev 682f0c5343 add error_log change 2008-11-13 19:23:51 +00:00
Stanislav Malyshev d3376cb591 Add option to send error_log directly to SAPI 2008-11-13 19:22:01 +00:00
Hannes Magnusson 8c5fafcdb9 MFH: Document the xmlrpc_errors option 2008-11-13 19:06:59 +00:00
Ilia Alshanetsky 88dbe358e0 MFB: Fixed a bug inside dba_replace() that could cause file truncation with
invalid keys
2008-11-13 18:22:23 +00:00
Felipe Pena 83308cedf9 - Reverted last change, only in this branch 2008-11-13 14:53:55 +00:00
Felipe Pena 614d00ca89 - MFH: Fixed invalid reads 2008-11-13 13:09:47 +00:00
Felipe Pena 9bb9f270fa - MFH: Fixed a macro redefinition on BSD for different purpose 2008-11-12 23:38:15 +00:00
Felipe Pena 1bedb57dd4 - MFH: Removed unused variables 2008-11-12 17:50:37 +00:00
Felipe Pena c18fd01775 - Fix test 2008-11-12 17:29:50 +00:00
Pierre Joye 7e2f15eb3a - update NEWS for #14962 2008-11-12 12:01:29 +00:00
Pierre Joye 36b9272e3c - MFH:
- #14962, makes extractTo 2nd argument really optional
 - replace ZEND_ENGINE_2_1 by PHP_ZIP_USE_OO
 - sync tests
2008-11-12 11:59:26 +00:00
Felipe Pena cac8a72989 - Fixes and new tests 2008-11-11 18:42:00 +00:00
Felipe Pena d7a80059bb - New test 2008-11-11 16:16:20 +00:00
Felipe Pena a3de4d224a - BFN #46543 2008-11-11 13:32:55 +00:00
Felipe Pena ea70058067 MFH:
- Added ZEND_FETCH_RESOURCE2_NO_RETURN() (a version of ZEND_FETCH_RESOURCE2 but without the ZEND_VERIFY_RESOURCE() which contains RETURN_FALSE)
- Fixed bug #46543 (ibase_trans() memory leaks when using wrong parameters)
2008-11-11 13:29:50 +00:00
Arnaud Le Blanc c7411c2c96 MFH: Fixed stream_get_contents() when using $maxlength and socket is not
closed. indeyets@php.net on #46049.
2008-11-11 01:56:33 +00:00
Arnaud Le Blanc 3c01491e89 MFH: Fixed bug #44818 (php://memory writeable when opened read only) 2008-11-11 00:45:36 +00:00
Felipe Pena edd46ec6f7 - Make expected result compatible with recent Firebird version 2008-11-10 22:35:02 +00:00
Felipe Pena 13c8beed63 - New tests 2008-11-10 18:04:41 +00:00
Derick Rethans ffef452b62 - MFH: Make it work with bison 2.4. 2008-11-10 12:06:10 +00:00
Kalle Sommer Nielsen 63130eadc0 Fix NEWS 2008-11-09 11:39:27 +00:00
Timm Friebe b0419a1ef1 - Added note on bugfix for #30312
- Added entry on CS_ROW_FAIL patch fix
2008-11-09 10:33:53 +00:00
Rasmus Lerdorf 058a282133 Potential fix for bug #46525 2008-11-08 22:45:29 +00:00
Felipe Pena ab5e85b27d - MFH: Added connection checking on SKIPIF 2008-11-08 15:39:32 +00:00
Timm Friebe 6d6138d9d9 - MFB: Initial release 2008-11-08 14:28:26 +00:00
Timm Friebe 839b81668c - Adjusted tests to reality
# We select 123456789.12345679, we should have this returned and not
# something 123456789.123457 (rounded)
2008-11-08 14:24:55 +00:00
Timm Friebe ea1453a741 - MFB: Made this test independent of date format 2008-11-08 14:24:38 +00:00
Timm Friebe 00772abea5 - MFB: Fixed problems with segmentation faults when using unbuffered queries
# Double-freeing results caused these
2008-11-08 14:15:08 +00:00
Timm Friebe b42da54e51 - MFB: Changed while loop in php_sybase_fetch_result_row() to also read rows with
retcode == CS_ROW_FAIL.
# Reported by Detlef Neumerkel and Frank Irnich of Sybase
2008-11-08 12:06:08 +00:00
Timm Friebe ef15af78dd - MFB: Made this test independent of field types in master..sysprocesses
# char on ASE 11, varchar on ASE 15
2008-11-08 12:01:10 +00:00
Timm Friebe c5b45f2281 - Changed source to read host, user and password from environment
# E.g. nmake test TESTS=ext/sybase_ct PHP_SYBASE_HOST=db PHP_SYBASE_USER=sa PHP_SYBASE_PASS=***
2008-11-08 11:59:57 +00:00
Scott MacVicar df7f836d31 MFH: Support versions of valgrind from SVN. The version is shown as 3.4.0.SVN
Save the bunnies
2008-11-08 02:05:03 +00:00
Felipe Pena 9d052f239f MFH:
- Fixed bug #46521 (Curl ZTS OpenSSL, error in config.m4 fragment)
  Noticed by: jd at cpanel dot net
2008-11-07 21:18:45 +00:00
Ilia Alshanetsky 482d6ad927 Back to dev 2008-11-06 21:53:48 +00:00
Ilia Alshanetsky f2445bd57a 5.2.7RC3 2008-11-06 21:50:36 +00:00
Felipe Pena a054d74c4a BFN #45166 2008-11-06 01:36:40 +00:00
Felipe Pena 779adcc113 MFH:
- Fixed wrong check
- Improved test
2008-11-05 23:42:05 +00:00
Felipe Pena 347fa0eb1b - Fixed bug #45166 (substr() overflow changes) (now synced with other branches) 2008-11-05 18:55:02 +00:00
Hannes Magnusson ac10dfa0ce Fixed bug#46445 (run-tests2.php is missing or README.TESTING2 is unneeded) 2008-11-05 17:16:07 +00:00
Kalle Sommer Nielsen def82c26f2 MFH: New tests for syslog 2008-11-05 09:59:46 +00:00
Arnaud Le Blanc 9ecba09de6 BFN 2008-11-04 21:07:44 +00:00
Arnaud Le Blanc be8c7c0988 MFH: Open STDIN and php://stdin streams with the relevant
wrapper when the file descriptor is a socket (inetd, etc)
Fixes bug #43731
2008-11-04 21:05:55 +00:00
Arnaud Le Blanc 695b43a535 MFH: initialize memory 2008-11-04 20:41:37 +00:00
Arnaud Le Blanc 1ba7b093a6 MFH: Fixed stream_get_line() to behave as documented on non-blocking
streams
2008-11-04 17:07:20 +00:00
Arnaud Le Blanc 930a8feb66 MFH: Avoids fclose() from complaining that stream_socket_pair() streams
have not been closed
2008-11-04 16:48:07 +00:00
Arnaud Le Blanc c6aca784f9 MFH: Fixed bug #46024 (stream_select() doesn't return the correct number) 2008-11-04 00:43:06 +00:00
Felipe Pena 7c76add7fe - MFH: Improved fix 2008-11-03 23:45:17 +00:00
Arnaud Le Blanc 736f29a9a9 cleanup 2008-11-03 23:34:36 +00:00
Arnaud Le Blanc c644ba688b MFH: Fixed bug #44607 (stream_get_line unable to correctly identify the
"ending" in the stream content)
2008-11-03 23:29:50 +00:00
Arnaud Le Blanc 07fe6986cc Fixed bug #46379 (Infinite loop when parsing '#' in one line file)
# PHP_5_2 only
2008-11-03 23:26:24 +00:00
Felipe Pena 8290469bd6 - New test 2008-11-03 21:49:49 +00:00
Felipe Pena fc53f0b6ea MFH:
- Fixed endless loop in PDOStatement::debugDumpParams()
  patch by: Jonah H. Harris <jonah.harris at gmail dot com>
2008-11-03 20:55:01 +00:00
Elizabeth Marie Smith 3591f8b356 MFH 2008-11-03 19:28:23 +00:00
Arnaud Le Blanc 5e5e4293c3 MFH: Fixed bug #45303 (Opening php:// wrapper in append mode results
in a warning)
2008-11-03 16:59:18 +00:00
Arnaud Le Blanc 2d36d06f35 credit 2008-11-03 16:08:07 +00:00
Arnaud Le Blanc 77f82b1401 MFH: Fixed bug #43353 (wrong detection of 'data' wrapper causes notice) 2008-11-03 15:48:05 +00:00
Felipe Pena 378bd3060e - MFH: Fixed bug #44327 (PDORow::queryString property & numeric offsets / Crash) 2008-11-03 15:41:35 +00:00
Felipe Pena f4d34bb28e - MFH: Fixed bug #42855 (dns_get_record() doesn't return all text from TXT record)
patch by: a dot u dot savchuk at gmail dot com
2008-11-03 11:39:34 +00:00
Arnaud Le Blanc 2f29a1240e MFH: Fixed bug #42718 (FILTER_UNSAFE_RAW not applied when configured as
default filter)
2008-11-02 22:04:40 +00:00
Jani Taskinen ea8aea176a - Ignore crap 2008-11-02 14:48:52 +00:00
Jani Taskinen 29b9bddb0c MF53: added missing constants 2008-11-02 14:12:15 +00:00
Jani Taskinen f848fb0fa1 MFH: fixed the macros 2008-11-01 23:09:51 +00:00
Jani Taskinen 1d608d09f2 - Fix skip conditions 2008-11-01 22:48:52 +00:00
Jani Taskinen 07c3dbdc8c MF53: Sync with HEAD and PHP_5_3 2008-11-01 22:42:38 +00:00
Jani Taskinen 7fc67ed4a9 [DOC] MF53: Forward compatibility 2008-11-01 22:39:14 +00:00
Jani Taskinen 98e3ad366a - Fix for real: Actually one of these "let's not commit to other branches"
fixes some people like to do..
2008-11-01 22:12:11 +00:00
Jani Taskinen f7ced2b8af - Fix tests 2008-11-01 22:06:23 +00:00
Felipe Pena 416679fae5 - Fixed test (#46438) 2008-10-31 22:43:32 +00:00
Felipe Pena 192e130e52 - Fixed test 2008-10-31 12:55:10 +00:00
Felipe Pena cc6e678224 - MFB: Fixed memory leak when using offset out of range. (php_stream_copy_to_mem returns 0, but the empty string is alloced) 2008-10-30 15:56:23 +00:00
Felipe Pena 94e5be1bdc MFH:
- Fix the fix
- Improved test
2008-10-30 14:36:34 +00:00
Lars Strojny 930fad7381 MFH: #44938 2008-10-30 14:23:03 +00:00
Jani Taskinen 3e32e77243 - had nothing else to do :) 2008-10-30 11:04:10 +00:00
Felipe Pena 756ab17389 - MFH: Fixed bug #46426 (3rd parameter offset of stream_get_contents not works for "0") 2008-10-30 10:11:52 +00:00
Dmitry Stogov 4c3bc2ab43 Fixed contributors 2008-10-30 08:56:38 +00:00
Dmitry Stogov e173d61581 Fixed ability to use "internal" heaps in extensions. 2008-10-30 08:55:09 +00:00
Antony Dovgal 250fec018a fix test 2008-10-30 08:45:21 +00:00
Rob Richards dcba47f8dc BFN 2008-10-29 21:23:45 +00:00
Rob Richards a27ca9810a MFH: fix bug #46406 (Unregistering nodeclass throws E_FATAL) 2008-10-29 21:22:34 +00:00
Ilia Alshanetsky b0ab190e62 MFB: Fixed bug #44938 (gettext functions crash with overly long domain). 2008-10-29 20:41:43 +00:00
Ilia Alshanetsky 3f9d6e9d7c MFB: Fixed bug #42294 (Unified solution for round() based on C99 round). 2008-10-29 20:17:33 +00:00
Felipe Pena acecc06940 - BFN #46064 2008-10-29 13:36:47 +00:00
Felipe Pena a04ec69406 - MFH: Fixed bug #46064 (Exception when creating ReflectionProperty object on dynamicly created property) 2008-10-29 13:34:08 +00:00
Ilia Alshanetsky 3b7b54ac68 NEWS 2008-10-28 21:23:12 +00:00
Derick Rethans 7922a83ac0 - Updated to version 2008.9 (2008i) 2008-10-28 08:17:47 +00:00
Arnaud Le Blanc 617a8855b8 MFH: Fix compile error 2008-10-27 14:59:14 +00:00
Andrey Hristov dc710ce12f MFH: Fix an issue with mysql.default_port not being used 2008-10-27 14:36:02 +00:00
Felipe Pena 77bce434a0 - Fixed test 2008-10-26 23:00:53 +00:00
Kalle Sommer Nielsen e486197f1e MFB: Fixed #44748 (php.ini comments on magic_quotes_gpc promote bad practices) 2008-10-26 15:39:44 +00:00
Ilia Alshanetsky a5e30d595f MFB: Fixed compiler warning 2008-10-26 14:35:59 +00:00
Felipe Pena d1eb03eec7 - MFH: Fixed bug #46388 (stream_notification_callback inside of object destroys object variables) 2008-10-26 13:48:16 +00:00
Derick Rethans 21490362dd - MFH: Fixed weekdays adding/subtracting algorithm.
- MFH: Fixed some ambiguities in the date parser.
- MFH: Fixed bug #45529 (new DateTimeZone() and date_create()->getTimezone()
  behave different).
- MFH: Fixed bug #43452 (strings containing a weekday, or a number plus weekday
  behaved incorrect of the current day-of-week was the same as the one in the
  phrase).
- MFH: Fixed a bug with the YYYY-MM format not resetting the day correctly.
- MFH: Fixed a bug in the DateTime->modify() methods, it would not use the
  advanced relative time strings.
- MFH: Fixed a segfault - simply a forgotten return;
2008-10-26 11:27:32 +00:00
Felipe Pena 93d952884d - BFN #46389 2008-10-26 02:24:23 +00:00
Felipe Pena e18c762764 - MFH: Fixed bug #46389 (NetWare needs small patch for _timezone) (patch by guenter at php.net) 2008-10-26 02:02:05 +00:00
Felipe Pena 48d1b3a51a - MFH: Fixed bug #46382 (Mismatching allocation and deallocation in stresstest.cpp) (dvice_null at yahoo dot com) 2008-10-24 23:17:04 +00:00
Antony Dovgal 334e8973db fix test 2008-10-24 20:15:34 +00:00
Antony Dovgal d3bf8e3016 BFN 2008-10-24 13:56:27 +00:00
Antony Dovgal 340bd30aa6 fix bug #46381 (wrong $this passed to internal methods causes segfault) 2008-10-24 13:55:37 +00:00
Felipe Pena 9fca0051a6 - MFH: Fixed bug #46082 (stream_set_blocking() can cause a crash in some circumstances) 2008-10-24 10:46:05 +00:00
Felipe Pena 44c184862b - MFH: Removed unnecessary check for array (#46273, noticed by serovov at gmail dot com) 2008-10-24 10:28:56 +00:00
Ilia Alshanetsky 51466116c0 Back to dev 2008-10-23 22:38:19 +00:00
Ilia Alshanetsky 705f67c884 5.2.7RC2 2008-10-23 22:36:05 +00:00
Arnaud Le Blanc 6928982fb3 BFN 2008-10-23 20:23:38 +00:00
Arnaud Le Blanc 8b969f44d7 MFH: Fixed bug #46360 (TCP_NODELAY constant for socket_{get,set}_option)
[DOC] Added TCP_NODELAY constant to sockets extension, to be used with
socket_set_option() to disable TCP's Nagle algorithm. Avail in PHP>=5.2.7.
2008-10-23 20:21:30 +00:00
Felipe Pena a29aef485a - BFN #43925 2008-10-23 18:57:07 +00:00
Felipe Pena 8d88e230fc - MFH: Fixed bug #43925 (Incorrect argument counter in prepared statements with pgsql) 2008-10-23 18:56:05 +00:00
Jani Taskinen baccc9b2e9 - It is past, not command. Reorder. 2008-10-23 17:55:57 +00:00
Pierre Joye c49953a8f6 - entries for zip changes 2008-10-23 16:22:01 +00:00
Pierre Joye 08a1795767 - remove unused files 2008-10-23 16:16:56 +00:00
Pierre Joye 4fc1246d11 - add missing files 2008-10-23 16:15:54 +00:00
Pierre Joye 047bda3cb8 - MFH
- Update ziplib
 - flatten path and make them relative before extraction
 - remove unnecessary export
2008-10-23 16:13:51 +00:00
Ilia Alshanetsky 8d916b2ec6 MFB: revert define() fix for now 2008-10-22 23:29:28 +00:00
Arnaud Le Blanc bb9e8e6924 MFH: Fixed FCGI_GET_VALUES requests (fixes #45522) 2008-10-21 16:43:59 +00:00
Zoe Slattery f432258b02 Committing test for till 2008-10-21 09:37:41 +00:00
Ilia Alshanetsky 1b0d1d6bcb MFB:Fixed bug #46343 (IPv6 address filter accepts invalid address) 2008-10-20 23:23:45 +00:00
Rob Richards c9e4d5b668 BFN 2008-10-20 19:30:56 +00:00
Rob Richards 8767f16ff3 MFH: fix bug #46323 (compilation of simplexml for NetWare breaks) 2008-10-20 19:29:40 +00:00
Arnaud Le Blanc f31c8fb4aa MFB PHP_5_3: Fixed #46313 (Magic quotes broke $_FILES) 2008-10-20 18:45:24 +00:00
Rob Richards 68a04f616b BFN 2008-10-20 12:46:57 +00:00
Rob Richards 6a2fe2ad1a MFH: fix bug #46335 (DOMText::splitText doesn't handle multibyte characters)
add test
2008-10-20 12:46:23 +00:00
Ilia Alshanetsky 0e91f80a4d MFB: Fixed bug #46341 (Added missing validation checks into define() for
class constants)
2008-10-19 18:16:43 +00:00
Johannes Schlüter 0e306ec3bc Add %S and %A to EXPECTF, they work like %s and %a but match empty strings, too 2008-10-19 18:07:04 +00:00
Etienne Kneuss c31e0c803e MFB: Fix #46317 (Iterator class not properly checked) 2008-10-19 18:00:42 +00:00
Antony Dovgal 8d7590996d revert the patch, it's not needed in this branch 2008-10-18 09:33:21 +00:00
Antony Dovgal 4768b28fb1 MFH: fix memleak 2008-10-17 22:10:27 +00:00
Zoe Slattery a82df14bef missed one! 2008-10-17 15:00:54 +00:00
Zoe Slattery 7d46d0480e Replacing explicit object ID with %d 2008-10-17 14:57:03 +00:00
Zoe Slattery 867546efca Committing for Robin Fernandes 2008-10-17 14:26:46 +00:00
Dmitry Stogov 739c75b050 Fixed bug #46308 (Invalid write when changing property from inside getter) 2008-10-17 10:25:56 +00:00
Ilia Alshanetsky 0621602408 MFB: Fixed bug #46319 (PHP sets default Content-Type header for HTTP 304
response code, in cgi sapi)
2008-10-17 01:32:59 +00:00
Moriyoshi Koizumi f87643038f * MFH remainder 2008-10-16 17:38:42 +00:00
Dmitry Stogov e0f657a729 Fixed bug #42862 (IMAP toolkit crash: rfc822.c legacy routine buffer overflow) 2008-10-16 16:20:53 +00:00
Dmitry Stogov 9973dfd839 ws 2008-10-16 15:49:18 +00:00
Dmitry Stogov 35f7c44a7d Fixed bug #43723 (SOAP not sent properly from client for <choice>) 2008-10-16 15:36:46 +00:00
Moriyoshi Koizumi d896ea0b9a - MFH & BFN 2008-10-16 01:02:39 +00:00
Felipe Pena 0f6f3c4771 MFH:
- Fixed:
  . Memory leak in pg_delete() when using PGSQL_DML_STRING.
  . Bug #24679 (pg_insert problem!)
  . Bug #35996 (pg_meta_data should take the schema into account)
  . Bug #40808 (pg_insert problem)
  . Bug #42078 (pg_meta_data mix tables metadata from different schemas)
- Improved:
  . Error messages
- Added:
  . Tests
2008-10-16 00:45:21 +00:00
Felipe Pena 2976c867a1 - Fixed possible efree(NULL) 2008-10-15 13:34:45 +00:00
Ilia Alshanetsky 208d8e75f1 MFB: Fixed bug #46271 (local_cert option is not resolved to full path) 2008-10-14 23:40:25 +00:00
Felipe Pena eff30bdfcb - MFH: Fixed bug #46292 (PDO::setFetchMode() shouldn't requires the 2nd arg when using FETCH_CLASSTYPE) 2008-10-14 17:43:20 +00:00
Felipe Pena 4045a51376 - BFN #37100 2008-10-13 13:47:24 +00:00
Felipe Pena 043c66806a MFH:
- Fixed bug #37100 (data is returned truncated with BINARY CURSOR)
  Patch by Tony
2008-10-13 13:46:25 +00:00
Derick Rethans 78253b53e3 - Updated to version 2008.8 (2008h) 2008-10-13 11:45:48 +00:00
Ilia Alshanetsky 09b63f25d8 WS 2008-10-12 19:00:58 +00:00
Felipe Pena 338d7dbca0 - MFB: Fixed compiler warnings 2008-10-12 15:01:40 +00:00
Felipe Pena 736efdcfc1 - MFB: Removed unnecessary strcmp call (thanks Tony) 2008-10-12 13:46:51 +00:00
Felipe Pena 7429cd2181 - New tests 2008-10-12 13:25:35 +00:00
Felipe Pena 5adf804213 - MFB: Complete the fix for #46274, and tests 2008-10-12 13:03:31 +00:00
Felipe Pena 9c16e1d9d2 - BFN: #46274, #46249 2008-10-11 19:20:41 +00:00
Greg Beaver fcec48fcc2 fix Bug #46026: bz2.decompress/zlib.inflate filter tries to decompress after end of stream 2008-10-11 19:12:11 +00:00
Felipe Pena 5feb5e5a89 MFH:
- Fixed bug #46249 (pdo_pgsql always fill in NULL for empty BLOB)
- Fixed bug #46274 (pdo_pgsql - Segfault when using PDO::ATTR_STRINGIFY_FETCHES and blob)
2008-10-11 19:05:30 +00:00
Pierre Joye 8e87cdf7ac - MFH: add nts postfix to the dist filenames 2008-10-10 23:38:15 +00:00
Felipe Pena 661569eba6 - Fixed test 2008-10-10 22:10:11 +00:00
Felipe Pena c073b42ba2 - Added skipif 2008-10-10 19:53:38 +00:00
Felipe Pena 64fcd3b4e1 - New test 2008-10-10 19:50:04 +00:00
Felipe Pena 6843a38b2c - MFH: Static'fication 2008-10-10 19:35:49 +00:00
Felipe Pena 7b952b33c6 - BFN #46139 2008-10-10 16:49:26 +00:00
Felipe Pena 177c1f128b MFH:
- Fixed bug #46139 (PDOStatement->setFetchMode() forgets FETCH_PROPS_LATE)
  Initial patch by: chsc at peytz dot dk
2008-10-10 16:48:13 +00:00
Dmitry Stogov a1a1249753 Fixed bug #46246 (difference between call_user_func(array($this, $method)) and $this->$method()) 2008-10-10 15:53:31 +00:00
Antony Dovgal 27fbfa3d08 backport convenience macro 2008-10-10 14:47:17 +00:00
Felipe Pena 16021cb6e3 - BFN: #44251, #41125 2008-10-10 12:15:43 +00:00
Felipe Pena f6221397ac MFH:
- Fixed bug #44251 (Question mark and an escaped singel quote lead to an exception)
- Fixed bug #41125 (PDO mysql + quote() + prepare() can result in seg fault)
  Patch by: tsteiner at nerdclub dot net
2008-10-10 12:11:36 +00:00
Ilia Alshanetsky d4523d6678 Back to dev 2008-10-09 23:16:41 +00:00
Ilia Alshanetsky 3e92d040f6 5.2.7RC1 2008-10-09 23:12:20 +00:00
Felipe Pena b66673da7d - MFH: Fixed bug pecl#9641 (Unable to add driver specific methods to PDOStatement) (patch by Christopher Jones) 2008-10-09 13:01:40 +00:00
Felipe Pena 4237bea6fe - MFH: Fixed bug #45575 (Segfault with invalid non-string as event handler callback)
patch by Christian seiler
2008-10-07 18:23:05 +00:00
Felipe Pena afc82532cc - MFH: Fixed bug #46247 (ibase_set_event_handler() is allowing to pass callback without event) 2008-10-07 15:31:48 +00:00
Ilia Alshanetsky bef0a451e3 MFB:
Fixed bug #46042 (memory leaks with reflection of mb_convert_encoding())
 Fixed bug #46110 (XMLWriter - openmemory() and openuri() leak memory on
  multiple calls).
 Fixed bug #46206 (pg_query_params/pg_execute convert passed values to
  strings).
2008-10-07 14:35:04 +00:00
Felipe Pena 73042afe10 - MFH: Fixed code ("Division by zero" anymore) 2008-10-07 12:53:08 +00:00
Felipe Pena 2f2a0d8259 - MFH: Fixed compiler warning 2008-10-06 15:14:17 +00:00
Felipe Pena 8b603dfa07 - BFN #45373 2008-10-06 15:11:43 +00:00
Felipe Pena 32f7c6a42d - MFH: Fixed bug #45373 (php crash on query with errors in params) 2008-10-06 14:37:13 +00:00
Derick Rethans 5bade4dcab - Updated to version 2008.7 (2008g) 2008-10-06 14:27:51 +00:00
Etienne Kneuss af17616e0e MFH: bug #46115 (Fixes nothing in 5.2, but sync code) 2008-10-06 13:45:42 +00:00
Etienne Kneuss 47d935664a Fix #46222 (Allow indirect modifications of Arrays inside ArrayObject + fix EG(uninitialized_zval_ptr) overwrite) 2008-10-05 14:49:25 +00:00
Arnaud Le Blanc 487e14d89c MFH: Fixed #46164 (stream_filter_remove() closes the stream) 2008-10-05 01:40:38 +00:00
Felipe Pena e5a7ea3293 MFH:
- Fixed bug #44991 (Compile Failure With freetds0.82)
  patch by:
  - jklowden at freetds dot org (ext/mssql)
  - matthias at dsx dot at (ext/pdo_dblib)
2008-10-04 13:19:22 +00:00
Felipe Pena 5e95dc593a - Fixed compiler warning 2008-10-04 13:11:36 +00:00
Jani Taskinen 619b8bb5ea reorder 2008-10-03 14:52:52 +00:00
Mikko Koppanen 4273a9b4dc Adds signal handling around popen/pclose in mail.c.
Related information on bugs #8992 and #14032
Original patch by D. Parthey
2008-10-03 13:59:33 +00:00
Felipe Pena df9dc12b1e - MFH: Fixed bug #46215 (json_encode mutates its parameter and has some class-specific state) 2008-10-02 03:41:24 +00:00
Antony Dovgal 3a4b2c8437 remove BOM 2008-10-01 12:37:15 +00:00
Kalle Sommer Nielsen 9cd9d67790 Fix bugs order 2008-10-01 11:09:02 +00:00
Scott MacVicar 33addf0ac5 MFH: Fix bug #46209 - Remove license condition that is no longer required. 2008-10-01 11:04:27 +00:00
Dmitry Stogov f289abf4d7 Fixed bug #43045 (SOAP encoding violation on "INF" for type double/float) 2008-10-01 08:42:26 +00:00
Rob Richards 9370d047ef BFN 2008-09-28 12:02:59 +00:00
Rob Richards 87ddfb9fbd MFH: fix bug #46191 (BC break: DOMDocument saveXML() doesn't accept null) 2008-09-28 12:01:21 +00:00
Antony Dovgal 763eda2f57 fix test 2008-09-24 13:13:26 +00:00
Felipe Pena eff8a93ded - MFH: Fixed bug #46157 (PDOStatement::fetchObject prototype error) 2008-09-23 23:10:01 +00:00
Rob Richards 842b350891 MFH: fix hints causing phpdoc crash 2008-09-22 15:10:24 +00:00
Felipe Pena d7064d84cb - BFN #46088 2008-09-22 13:17:58 +00:00
Felipe Pena c1b5abf605 - MFH: Fixed bug #46088 (RegexIterator::accept - segfault) 2008-09-22 13:15:16 +00:00
Greg Beaver e6f7b32deb fix Bug #46147: after stream seek, appending stream filter reads incorrect data 2008-09-22 01:25:44 +00:00
Arnaud Le Blanc fe49acfcb9 MFH: Fixed #46059 (Compile failure under IRIX 6.5.30 building posix.c) 2008-09-20 22:12:59 +00:00
Antony Dovgal 10b69e0f0f fix test 2008-09-18 13:26:05 +00:00
Antony Dovgal 31458c1a0d fix typo 2008-09-18 13:23:00 +00:00
Antony Dovgal 64125d247f fix test 2008-09-18 08:39:23 +00:00
Johannes Schlüter 0f6e281034 MFH Fix #44424 (Extending PDO/MySQL class with a __call() function doesn't work) 2008-09-16 23:37:35 +00:00
Antony Dovgal 03f74b711e MFH 2008-09-16 14:36:39 +00:00
Derick Rethans 8f037b3fe4 - Updated to version 2008.6 (2008f) 2008-09-15 18:03:10 +00:00
Dmitry Stogov 11900b10a3 Fixed bug #43053 (Regression: some numbers shown in scientific notation). (int-e at gmx dot de)
some 64bit test files may need to be fixed
2008-09-15 11:47:03 +00:00
Ilia Alshanetsky 929a21247c MFB: Fixed bug #45580 (levenshtein() crashes with invalid argument) 2008-09-14 05:15:15 +00:00
Moriyoshi Koizumi 772cf98e95 - MFH: Reenable ini_set("mbstring.internal_encoding", VALUE) to work on runtime.
(noticed by Antony. Thanks!)
2008-09-13 19:53:53 +00:00
Moriyoshi Koizumi 6a4057d932 - MFH: Properly initialize/finalize the library. This plugs the leaks caused by
onig_new().
2008-09-13 02:34:23 +00:00
Moriyoshi Koizumi a86756745c - MFH: WS 2008-09-13 00:24:12 +00:00
Moriyoshi Koizumi 0caab530d5 - MFH: Add missing =DIR 2008-09-13 00:14:49 +00:00
Moriyoshi Koizumi 1d7f071044 - Remove unexposed functions. 2008-09-12 23:56:06 +00:00
Moriyoshi Koizumi 2dd8e6ec27 - MFH: Use memcmp() for binary safety. 2008-09-12 23:37:21 +00:00
Felipe Pena 071deec12a - MFH: Fixed unexpected zval changes 2008-09-12 01:16:55 +00:00
Arnaud Le Blanc 114982b068 MFH: Fixed #46053 (SplFileObject::seek - Endless loop) 2008-09-11 15:32:15 +00:00
Arnaud Le Blanc 9b04ebc3c8 MFH: Fixed #46051 (SplFileInfo::openFile - memory overlap) 2008-09-11 15:24:12 +00:00
Rob Richards 914437fd97 BFN 2008-09-11 14:24:28 +00:00
Rob Richards 7d5fe7701b MFH: fix bug #46047 (SimpleXML converts empty nodes into object with nested array)
add test
2008-09-11 14:23:33 +00:00
Rob Richards 88bce658af MFH: fix bug #45901 (wddx_serialize_value crash with SimpleXMLElement object)
add test
2008-09-11 14:18:27 +00:00
Rob Richards 6a2daa2673 BFN 2008-09-10 16:29:42 +00:00
Rob Richards 01d4ee611e MFH: fix bug #46003 (isset on nonexisting node return unexpected results)
add test
2008-09-10 16:29:18 +00:00
Rob Richards 972a2192f4 BFN 2008-09-10 15:41:04 +00:00
Rob Richards 77494520a4 MFH: fix bug #46029 (Segfault in DOMText when using with Reflection) 2008-09-10 15:40:34 +00:00
Felipe Pena 56ed148d64 - MFB: Fixed mem. leak 2008-09-10 13:48:14 +00:00
Felipe Pena 098c1b5397 - Union #45226 + #18916 2008-09-10 13:26:38 +00:00
Rob Richards c5ff10fdc9 BFN
fix order
2008-09-10 11:22:40 +00:00
Rob Richards 6dc4be7100 MFH: fix bug #45553 (Using XPath for attributes with a namespace does not work)
add test
2008-09-10 11:21:48 +00:00
Arnaud Le Blanc 667a563da0 MFH: Fix test 2008-09-10 11:12:38 +00:00
Felipe Pena e4c744789d BFN #45226, #18916 2008-09-10 00:20:49 +00:00
Felipe Pena da2f2ab130 MFH:
- Merged fix from SF project (Import Jeff Lawsons patches for XML datetime bug fixes)
  Fixed bugs:
  #45226 (xmlrpc_set_type() segfaults with valid ISO8601 date string)
  #18916 (xmlrpc_set_type() "not working")
2008-09-10 00:09:04 +00:00
Arnaud Le Blanc fe30db5faf MFH: Fixed bug #46031 (Segfault in AppendIterator::next) 2008-09-09 19:44:25 +00:00
Antony Dovgal b1b7471f73 add missing file 2008-09-08 10:24:38 +00:00
Felipe Pena d4979adb80 BFN #46010 2008-09-07 23:10:07 +00:00
Felipe Pena b886771f69 - MFH: Fixed bug #46010 (warnings incorrectly generated for iv in ecb mode) 2008-09-07 23:00:31 +00:00
Johannes Schlüter 7b668c6a7d - MFH: The exact error message might differ (it's "Not owner" on Solaris) 2008-09-07 22:35:15 +00:00
Arnaud Le Blanc 21482dd1e6 MFH: More accurate max_file_size / upload_max_filesize (fixes #45124) 2008-09-07 14:18:11 +00:00
Arnaud Le Blanc 3062692e49 MFH: Fixed #43540 (rfc1867 handler newlength problem) 2008-09-06 17:19:15 +00:00
Alexey Zakhlestin 2450cf4c0f MFB: Fixed bug #45405 (snmp extension memory leak) 2008-09-06 08:18:38 +00:00
Dmitry Stogov f45b732abf Fixed bug #45860 (header() function fails to correctly replace all Status lines) 2008-09-02 13:22:00 +00:00
Dmitry Stogov bc053b7628 Fixed Bug #43958 (class name added into the error message) 2008-09-02 09:45:36 +00:00
Jani Taskinen 42eaadd128 - Fixed bug entries 2008-09-02 08:58:00 +00:00
Patrick van Kleef 331c423dbe MFH: - Added odbc.default_cursortype to control the ODBC cursormodel
(bug #43668)
2008-09-01 15:48:09 +00:00
Patrick van Kleef e624492e40 MFH: - Fixed code to use ODBC 3.52 datatypes for 64bit systems (bug #43666) 2008-09-01 15:36:56 +00:00
Dmitry Stogov 70063c1195 Fixed bug #42318 (problem with nm on AIX, not finding object files) 2008-09-01 13:15:15 +00:00
Jani Taskinen 69378b449c [DOC]- Fixed bug #45956 (parse_ini_file() does not return false with syntax errors in parsed file)
[DOC] note: change will be in since 5.2.7
2008-08-31 00:21:19 +00:00
Rasmus Lerdorf 6e1fad3505 Fix the assert 2008-08-30 18:28:01 +00:00
Rasmus Lerdorf a1ee496a50 Fix for bugs 13961, 39927 and 45947 2008-08-30 16:50:24 +00:00
David Soria Parra 8555d34ba5 MFH: Fixed bug #43782 (feof() does not detect timeout on socket) 2008-08-27 07:48:37 +00:00
Jani Taskinen 77e07a631a MFH 2008-08-26 23:26:27 +00:00
Jani Taskinen e83e18b8f8 MFH: sendmail mess cleared (PHP_PROG_SENDMAIL was not used at all, see also bug #42946) 2008-08-26 23:19:22 +00:00
Dmitry Stogov 9a4918af76 Fixed destruction of dl() loaded extensions 2008-08-22 15:31:38 +00:00
Antony Dovgal 72daf80c47 MFH: fix zend_register_functions() not displaying duplicate functions (reported by Gopal) 2008-08-22 14:52:47 +00:00
Felipe Pena 500d715ed3 - New tests 2008-08-22 13:40:54 +00:00
Sebastian Bergmann 20cc5b498f Fix ZTS build. 2008-08-22 08:17:02 +00:00
Felipe Pena ebdf8d3637 MFH:
- Fixed bug #45862 (get_class_vars is inconsistent with 'protected' and 'private' variables)
- Added some tests
2008-08-22 01:06:55 +00:00
Stanislav Malyshev 55612e2b06 report merged fix 2008-08-21 18:11:49 +00:00
Stanislav Malyshev 279f79570d merge fix for #43941 2008-08-21 18:10:48 +00:00
Dmitry Stogov a1672ca3e2 Fixed bug #45751 (Using auto_prepend_file crashes (out of scope stack address use)). (basant dot kukreja at sun dot com) 2008-08-21 13:42:36 +00:00
Dmitry Stogov d0c05b2643 Adder error code into error message 2008-08-21 11:27:42 +00:00
Rasmus Lerdorf b94207ccb8 Fix OSX build problem in this branch as well 2008-08-20 20:04:52 +00:00
Jani Taskinen 3a6cac2e6c MFH: - Fixed bug #44925 (preg_grep() modifies input array). (Nuno) 2008-08-20 01:21:47 +00:00
Jani Taskinen 244b57f272 MFH: test for bug #42737 2008-08-20 01:11:06 +00:00
Jani Taskinen 81d5bba936 MFH: Fix for bug #42737 (and #45850) 2008-08-20 00:52:13 +00:00
Felipe Pena 5b9e18dd61 - New test 2008-08-18 17:52:35 +00:00
Antony Dovgal 79b6a241ab MFH: fix bug #45028 (CRC32 output endianness is different between crc32() and hash()) 2008-08-18 14:33:00 +00:00
Jani Taskinen 1fd9b3f536 MFH: fix include 2008-08-18 10:50:10 +00:00
Antony Dovgal 2781ddf65e reverted because of test failures 2008-08-18 07:47:04 +00:00
Arnaud Le Blanc 42a2c5308e MFH: Fix tests (closes #45841) 2008-08-18 04:46:05 +00:00
Arnaud Le Blanc 6f44413558 MFH: Fixed bug #45392 (ob_start()/ob_end_clean() and memory_limit). 2008-08-18 04:09:38 +00:00
Moriyoshi Koizumi 6d8afbca87 - MFH: beware of signedness 2008-08-18 03:26:40 +00:00
Dmitry Stogov 16e6e2f04a Fixed double call to MSHUTDOWN in case of php-cgi -m 2008-08-15 07:30:31 +00:00
Felipe Pena 345ae37686 - Fixed tests (synced with 5_3 and HEAD) 2008-08-15 02:26:56 +00:00
Jani Taskinen 0e8700167a MFH: fix skipifs 2008-08-14 23:46:55 +00:00
Jani Taskinen 2712eb9b31 MFH 2008-08-14 23:45:22 +00:00
Jani Taskinen c901678ab1 MFH: fix tests 2008-08-14 23:42:01 +00:00
Jani Taskinen cb2b9fcf8b MFH 2008-08-14 22:51:50 +00:00
Jani Taskinen 26d7d2519d MFH:fix test 2008-08-14 21:56:13 +00:00
Jani Taskinen 1cd7ce6cf8 MFH: fix tests, add missing test 2008-08-14 20:57:13 +00:00
Jani Taskinen 8b0cd10768 do not leave crap behind 2008-08-14 20:55:31 +00:00
Jani Taskinen 84c5066dec MFH: fix tests 2008-08-14 20:53:31 +00:00
Jani Taskinen 7489a81e38 - Nuke annoying errors already silenced elsewhere too 2008-08-14 20:53:00 +00:00
Felipe Pena f26f786362 - New test 2008-08-14 19:17:13 +00:00
Felipe Pena 9915046344 - MFH: move declaration on top and fix build error 2008-08-14 16:34:30 +00:00
Jani Taskinen 85b00d1dd4 typoh 2008-08-13 19:43:48 +00:00
Antony Dovgal 02f8e3770d MFH: fix compile warnings (patch by Phil Oleson) 2008-08-13 08:09:55 +00:00
Dmitry Stogov fbb885cd6c Fixed bug #45805 (Crach on throwing exception from error handler) 2008-08-13 07:19:43 +00:00
Jani Taskinen 26f13b4b70 MFH: [DOC]- Added methods to change/disable --with-config-file-scan-dir=PATH at
MFH: [DOC]  startup:
MFH: [DOC]
MFH: [DOC]  To disable: Override default php.ini by using both -c and -n with
MFH: [DOC]              CGI/CLI or set "PHP_INI_SCAN_DIR" environment variable
MFH: [DOC]              to an empty string.
MFH: [DOC]
MFH: [DOC]  To change: Simply set "PHP_INI_SCAN_DIR" environment variable to point
MFH: [DOC]             to another path.
MFH: - Fixed bug #42604 ("make test" fails with  --with-config-file-scan-dir=/some/path)
MFH: - Implemented FR #45114 (Option to change --with-config-file-scan-dir)
2008-08-13 01:01:29 +00:00
Christian Seiler e08c90c68d - News: http://news.php.net/php.cvs/52239 2008-08-12 21:03:35 +00:00
Arnaud Le Blanc 43709499f9 MFH: clear stat cache in chroot() 2008-08-11 23:16:41 +00:00
Arnaud Le Blanc 6057b04dd0 news 2008-08-11 22:40:02 +00:00
Arnaud Le Blanc a1311b8bc2 MFH: Fixed #45181 (chdir() should clear relative entries in stat cache) 2008-08-11 22:39:42 +00:00
Christian Seiler b9ab70c0d2 - Fixed segmentation fault (test added) 2008-08-11 22:08:58 +00:00
Arnaud Le Blanc b28b6977bf MFH: Missing files in previous commit (Check the relevant path for open_basedir
in symlink())
2008-08-11 15:33:14 +00:00
Arnaud Le Blanc cf273715fb MFH: Check the relevant path for open_basedir in symlink() 2008-08-11 15:31:01 +00:00
Felipe Pena e249e02481 - BFN: #45765 2008-08-11 00:52:41 +00:00
Felipe Pena e0e1648359 - MFH: Fixed bug #45765 (ReflectionObject with default parameters of self::xxx cause an error) 2008-08-11 00:50:03 +00:00
Arnaud Le Blanc 02fc0f0255 MFH: Fixed bug #45581 (htmlspecialchars() double encoding &#x hex items) 2008-08-10 13:26:25 +00:00
Arnaud Le Blanc 969e64ad33 MFH:
Do not expand $target in symlink(). This made it impossible to symlink to a
symlink. This also caused the target to be wrongly expanded relatively to
the CWD when target was not an absolute path.
2008-08-10 11:55:26 +00:00
Felipe Pena 8df7dc9693 - Fixed test (LF) 2008-08-10 00:44:55 +00:00
Antony Dovgal 476aa6b90d disable the test on AIX 2008-08-09 22:35:34 +00:00
Antony Dovgal 1dd367b62d MFH: do not fail & segfault if malloc(0) returns NULL, that's expected 2008-08-09 22:01:35 +00:00
Arnaud Le Blanc 23cea0a4df *** empty log message *** 2008-08-08 09:34:08 +00:00
Antony Dovgal 5dd6078c14 not experimental anymore 2008-08-07 13:11:28 +00:00
Antony Dovgal ec9c01b2b2 remove EXPERIMENTAL flag 2008-08-07 13:07:33 +00:00
Antony Dovgal 78acd746d4 fix test
NaN != NaN
2008-08-07 08:52:11 +00:00
Kalle Sommer Nielsen 718da04673 Backport #45406 (session.serialize_handler declared by shared extension fails) to PHP_5_2 2008-08-06 21:33:13 +00:00
Kalle Sommer Nielsen b6c6759799 Backport fix for #45406 - Patch by oleg dot grenrus at dynamoid dot com 2008-08-06 21:28:38 +00:00
Jani Taskinen d9535fbf69 useless entry 2008-08-05 21:48:18 +00:00
Stanislav Malyshev dda8d74cb5 ok, clarify :) 2008-08-05 21:40:48 +00:00
Stanislav Malyshev 1ce390f2c2 add bugfix 2008-08-05 21:24:42 +00:00
Stanislav Malyshev adf6be4bfb fix memnstr bug, by Laurent Gaffie 2008-08-05 20:11:17 +00:00
Jani Taskinen ddcb5042f5 MFH:- Add test for bug #45712 2008-08-05 12:37:09 +00:00
Jani Taskinen c078127291 MFH:- Fixed bug #45705 (rfc822_parse_adrlist() modifies passed address parameter) 2008-08-04 21:16:22 +00:00
Moriyoshi Koizumi fecf5bc681 - MFH: Added .libs to .cvsignore 2008-08-04 21:11:19 +00:00
Moriyoshi Koizumi 108d9dd8e7 - MFH: More fixes for bug #45691 2008-08-04 21:06:50 +00:00
Jani Taskinen 09eebe78d8 MFH: proper version check 2008-08-04 20:54:20 +00:00
Jani Taskinen 59b98545e8 MFH 2008-08-03 12:11:13 +00:00
Jani Taskinen 843d6eecc3 MFH: no c++ comments in c files 2008-08-03 11:59:00 +00:00
Moriyoshi Koizumi cf4e80bd50 - MFH:Forgot to take account of the case when mbstring.language is processed
afterwards.
2008-08-03 00:04:30 +00:00
Moriyoshi Koizumi 2184c092d4 - MFH: Fixed bug #45691 (Some per-dir or runtime settings may leak into other requests). 2008-08-02 20:49:48 +00:00
Arnaud Le Blanc 70143b88a2 MFH: Avoid leaks when zlib streams can not be closed properly. 2008-08-02 02:36:59 +00:00
Moriyoshi Koizumi 840e508dc6 - MFH: Fixed bug #43993 (mb_substr_count() behaves differently to substr_count() with overlapping needles) 2008-08-01 22:58:20 +00:00
Moriyoshi Koizumi c530921598 - Move finalization code to the proper place 2008-08-01 22:53:20 +00:00
Moriyoshi Koizumi 22a0734469 - MFH: Fixed bug #44617 (wrong HTML entity output when substitute_character=entity). 2008-07-31 17:39:14 +00:00
Jani Taskinen ecc135ae21 MFH:- fix test 2008-07-31 11:50:54 +00:00
Rasmus Lerdorf 17d4ecdbb1 Fix test to test higher nesting level 2008-07-31 11:49:55 +00:00
Rasmus Lerdorf 7305654b69 Fix for bug #45030 2008-07-31 09:22:17 +00:00
Jani Taskinen 51a01a9a6d typo 2008-07-31 00:51:06 +00:00
Jani Taskinen 874a609723 MFH:- Fixed bug #45568 (ISAPI does not property clear auth_digest in header). 2008-07-31 00:49:16 +00:00
Jani Taskinen 461e12bb47 MFH:- Applied the missing parts to phpize.m4 for zend extension builds 2008-07-31 00:45:46 +00:00
Jani Taskinen d235cfb948 MFH: sync build stuff 2008-07-30 23:57:14 +00:00
Jani Taskinen fbca704073 MFH: sync 2008-07-30 23:27:26 +00:00
Rasmus Lerdorf a948a2605d We can afford a larger stack here and other json parsers out there
go deeper than 128.
2008-07-30 13:55:27 +00:00
Antony Dovgal 9ce5ea020f MFH: fix copy/paste error (patch by Mikko) 2008-07-29 10:42:59 +00:00
Antony Dovgal 635ce992a6 this shouldn't have been backported 2008-07-29 08:33:52 +00:00
Derick Rethans 7d8a27b3d1 - Updated to version 2008.5 (2008e) 2008-07-28 19:32:08 +00:00
David Soria Parra 4331f57597 - Fixed the fix for not requiring C++ always 2008-07-27 20:42:56 +00:00
Jani Taskinen e36ce120ae MFH:- Fixed the fix for not requiring C++ always 2008-07-27 15:05:48 +00:00
Jani Taskinen 68fb7a1252 MFH: Partial sync 2008-07-27 15:01:41 +00:00
Dmitry Stogov d3aa5682b1 Fix for bug #43487 (Wrong conversion of float to string) 2008-07-27 11:28:53 +00:00
Jani Taskinen 96fe692335 MFH: Fixed a minor problem in not enabling c++/g++ when not needed. 2008-07-25 12:36:59 +00:00
Felipe Pena 9c51f3c841 - MFB: Removed unused variable. 2008-07-24 16:01:59 +00:00
Dmitry Stogov d2f478af6a Fixed bug #45178 (memory corruption on assignment result of "new" by reference) 2008-07-24 11:47:14 +00:00
Dmitry Stogov ec1e964f5c Fixed test 2008-07-24 11:23:57 +00:00
Jani Taskinen 2b667e86f2 MFH: Fix test (bug #44985) 2008-07-23 14:15:37 +00:00
Jani Taskinen 4fafb9bddc MFH: some fixes to allow certain tests to pass regardless of system php.ini settins 2008-07-23 13:43:05 +00:00
Felipe Pena 99487f9ce3 - Change credits for #44246 2008-07-23 12:05:21 +00:00
Antony Dovgal 990de890fa MFH: invert the logics - FLAG_FCLOSE -> FLAG_NO_FCLOSE 2008-07-23 11:25:50 +00:00
Jani Taskinen 41e64a728c MFH: missing test 2008-07-23 10:30:41 +00:00
Antony Dovgal 8673660619 fix test 2008-07-23 10:26:55 +00:00
Antony Dovgal c7b3bc0d99 fix test 2008-07-23 09:29:32 +00:00
Antony Dovgal b54305bc7d MFH: add PHP_STREAM_FLAG_FCLOSE to zip streams 2008-07-23 09:09:20 +00:00
Antony Dovgal cffe7a2d3c MFH: add PHP_STREAM_FLAG_FCLOSE, bz2 streams can be closed with fclose() 2008-07-23 08:56:37 +00:00
Felipe Pena 20de4ba98f - BFN: #44246 2008-07-22 14:12:54 +00:00
Felipe Pena 4ca3f3b99a - MFH: Fixed bug #44246 (closedir() accepts a file resource opened by fopen()) 2008-07-22 14:11:25 +00:00
Jani Taskinen fbc897f4bb Tidy language and order 2008-07-21 20:02:34 +00:00
Felipe Pena 16fb63384c - MFB: Fixed securities issue detailed in CVE-2008-2665 and CVE-2008-2666.
(patch by Christian Hoffmann)
2008-07-21 19:34:45 +00:00
Dmitry Stogov 69bbae848e Added check for small ZEMD_MM_SEG_SIZE 2008-07-21 17:06:55 +00:00
Felipe Pena 71a5d27676 - BFN: #45556, #45555 2008-07-18 17:41:59 +00:00
Felipe Pena e6087a0548 - New test 2008-07-18 17:35:18 +00:00
Felipe Pena 157856f0d0 - Fixed bug #45556 (Return value from callback isn't freed) 2008-07-18 17:34:07 +00:00
Felipe Pena f3549c2276 - Fixed bug #45555 (Segfault with invalid non-string as register_introspection_callback)
(patch by chris_se at gmx dot ne)
2008-07-18 15:52:38 +00:00
Felipe Pena 721be7f87c - MFB: Fix ws 2008-07-18 14:56:58 +00:00
Derick Rethans 8a1172fe8f - Updated to version 2008.4.1 (2008d) 2008-07-18 13:46:15 +00:00
Pierre Joye 9df7af2326 - MFB: fix crash when some crafted font are given 2008-07-17 22:58:23 +00:00
Jani Taskinen e1fdf15fee -nuke weird char 2008-07-16 16:30:04 +00:00
Jani Taskinen 00fb7be378 MFH:- Prevent errors in CVS builds when bison is not there (for Sean :) 2008-07-16 16:23:59 +00:00
Jani Taskinen 273b3b8ac0 - Regenerated using more recent re2c 2008-07-16 14:26:30 +00:00
Jani Taskinen 65c908dcfe MFH:- Fixed bug #44127 (UNIX abstract namespace socket connect does not work) 2008-07-16 14:10:50 +00:00
Moriyoshi Koizumi 5b603fb1b7 * MFH: indentation fix only. 2008-07-15 18:07:42 +00:00
Jani Taskinen 2975bbb347 MFH: Fixed potentially confusing error message on failure when no errors are logged 2008-07-15 16:10:32 +00:00
Scott MacVicar 56f7e28f5d MFH: Fix bug when < is used within attribute. 2008-07-15 14:58:58 +00:00
Dmitry Stogov f4617349f8 Fixed bug #45151 (Crash with URI/file..php (filename contains 2 dots)) 2008-07-15 13:38:29 +00:00
Jani Taskinen 8fc55787d5 Fix news 2008-07-15 13:16:25 +00:00
Dmitry Stogov 51619fa391 Fixed bug #45423 (fastcgi parent process doesn't invoke php_module_shutdown before shutdown) (basant dot kukreja at sun dot com) 2008-07-15 13:10:07 +00:00
Felipe Pena 0bccc60ec2 - Reverted fix for #44197 (unsuitable for minor versions) 2008-07-15 11:20:06 +00:00
Jani Taskinen 9f0c8398d6 MFH: fix test 2008-07-15 01:57:37 +00:00
Jani Taskinen 02c937c251 MFH:- Fix tests (do NOT assume things in php.ini always to be same...or sane) 2008-07-15 01:00:17 +00:00
Rui Hirokawa 9609669572 MFPHP5_3 2008-07-13 01:36:15 +00:00
Felipe Pena b56b2d3013 BFN: #45220 2008-07-12 21:14:57 +00:00
Felipe Pena 0a0f24f8bf - Fixed bug #45220 (curl_read callback returns -1 when needs to return size_t (unsigned)) 2008-07-12 21:11:56 +00:00
Felipe Pena a256d977ff BFN: #45485 2008-07-12 01:44:04 +00:00
Felipe Pena 198a9af479 - BFN: #45449, #45486 2008-07-11 18:31:56 +00:00
Felipe Pena 6074163f74 - Fixed bug #45449 (filesize() regression using ftp wrapper) (patch by crrodriguez at suse dot de) 2008-07-11 18:28:25 +00:00
Felipe Pena 9a58cb0b3c - Fixed bug #45486 (mb_send_mail(); header 'Content-Type: text/plain; charset=' parsing incorrect) 2008-07-11 13:48:11 +00:00
Jani Taskinen 596f8bf885 MFH: silence warning 2008-07-11 13:12:18 +00:00
Felipe Pena fc2cf6e19f - Fixed bug #45485 (strip_tags and <?XML tag) 2008-07-11 12:16:06 +00:00
Felipe Pena b2f1de8924 - BFN: #45460 2008-07-11 11:18:58 +00:00
Felipe Pena a8c4bc3257 - Fixed the string sizes in imap_headerinfo 2008-07-11 11:09:05 +00:00
Felipe Pena 26da69af35 - Fixed bug #45460 (imap patch for fromlength fix in imap_headerinfo doesn't accept lengths of 1024) 2008-07-10 17:44:09 +00:00
Derick Rethans 72c5f9c02d - MFH: Memory issues
- MFH: // style comments
2008-07-08 18:02:32 +00:00
Scott MacVicar 6732d3f170 This change was backed out of 5.2 and is now in 5.3+ 2008-07-08 10:31:34 +00:00
Derick Rethans 5a70cfb8d7 - Updated to version 2008.4 (2008d) 2008-07-07 14:36:26 +00:00
Etienne Kneuss 1cd238a5df Avoid a leak on return_value 2008-07-07 00:02:22 +00:00
Dmitry Stogov 9132607dc7 Fixed bug #45352 (Segmentation fault because of tick function on second request) 2008-06-25 12:18:22 +00:00
Uwe Schindler c1bb953c71 MFH: Response to: [PHP-DEV] cleaning up the functions - any volunteers? :) 2008-06-22 18:10:33 +00:00
Christopher Jones 79301a3677 MFH:
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:41:33 +00:00
Dmitry Stogov 764f6144d3 Fixed bug #45312 (Segmentation fault on second request for array functions). 2008-06-19 12:09:22 +00:00
Dmitry Stogov c55fc5cfa4 Fixed SOAP binding selection 2008-06-18 07:23:42 +00:00
Philip Olson cf6ae88c42 MFH: updated website team info 2008-06-18 05:21:08 +00:00
Felipe Pena c4bc06b480 - MF5.3: Improved warning message to call-time pass-by-reference when used with internal function
(http://news.php.net/php.internals/38252)
2008-06-15 18:31:10 +00:00
Rob Richards 4c65f7b0a2 BFN
fix ordering
2008-06-14 11:25:52 +00:00
Rob Richards b3a2fffb83 MFH: fixed bug #45251 (double free or corruption with setAttributeNode())
add test
2008-06-14 11:24:00 +00:00
Rui Hirokawa d2f21677d5 MFH 2008-06-13 14:49:19 +00:00
Steve Seear a640702789 Filesystem tests. 2008-06-11 12:38:16 +00:00
Dmitry Stogov 6cd3a97ce2 closeder/readdir/rewinddir must work only with directories 2008-06-11 09:02:09 +00:00
Dmitry Stogov 32b6c60dea Fixed memory leaks 2008-06-11 07:46:43 +00:00
Dmitry Stogov d3d8886e3e Fixed test (5.2 doesn't contain GC) 2008-06-11 07:46:28 +00:00
Philip Olson 4b898c5e57 MFH: fixed imap_listscan() proto 2008-06-11 02:32:22 +00:00
Antony Dovgal 26e2d61588 fix typo 2008-06-10 08:14:59 +00:00
Rasmus Lerdorf a583cad157 Merge from 5.3 branch - no point in echoeing the raw values here 2008-06-09 14:03:44 +00:00
Scott MacVicar c4fa4d5361 Backout fix for spaces in both the program name and argument name, this will be fixed in PHP 5.3+ only 2008-06-06 23:05:37 +00:00
Christopher Jones 50db74684d Update 2008-06-06 01:00:20 +00:00
Christopher Jones 8c9e028a76 (Bugs 41348, 41563, 42456, 42939) Appease the masses and fix
compilation with Oracle 8.1.  This gives cleaner support for older
releases now that PHP 5.3 is firmly Oracle 9.2+ only.  No plans to
MTH.
2008-06-06 00:59:44 +00:00
Christopher Jones 44e82f5789 Sync for PECL OCI8 1.2.5 release 2008-06-05 23:26:01 +00:00
Felipe Pena fba1e9d0c5 - Fixed bug #45139 (ReflectionProperty returns incorrect declaring class) 2008-06-01 03:08:59 +00:00
Matt Wilmas b3abcd8a34 MFH: 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) 2008-05-30 10:55:44 +00:00
Matt Wilmas 76a95184ef MFH: Fixed overflow crash (at least on Windows) in div_function with LONG_MIN / -1 2008-05-29 11:45:28 +00:00
Scott MacVicar 8063c11142 MFH: Fix a bug when command is quoted and parameters are quoted during call to exec, the result is that cmd.exe /c strips the first and last quote. 2008-05-29 11:41:50 +00:00
Matt Wilmas 70c5d7fcb5 Fixed tests on Windows 2008-05-29 07:33:03 +00:00
Ant Phillips 6e79f8f999 DOM tests from TestFest 2008-05-27 12:44:52 +00:00
Derick Rethans 8df7662306 - Updated to version 2008.3 (2008c) 2008-05-27 12:20:02 +00:00
Ilia Alshanetsky c29dac2f32 When dumping entire document to file via asXml() don't lose the encoding 2008-05-23 15:46:54 +00:00
Antony Dovgal fa6c5d5429 MFH 2008-05-21 12:31:31 +00:00
Dmitry Stogov e9b91783c2 proper fix 2008-05-20 07:41:23 +00:00
Ilia Alshanetsky 92512da2b0 MFB: Fixed bug #45004 (pg_insert() does not accept 4 digit timezone format) 2008-05-19 15:18:39 +00:00
Dmitry Stogov a806380376 Fixed win32 related realpath cache bug 2008-05-19 10:49:13 +00:00
Felipe Pena a0e34ecfee - Reverted the accidental previous commit 2008-05-18 22:32:33 +00:00
Felipe Pena 0f3bde23fd - MFB: Making compatible with 64bit platform 2008-05-18 21:50:58 +00:00
Ilia Alshanetsky 9d3385ff08 MFB: Added missing INI handler 2008-05-18 14:36:59 +00:00
David Soria Parra bb1840dcf9 Wrong file 2008-05-18 14:27:52 +00:00
David Soria Parra e3fbf25a02 MFH: Tests from Munich PHP Testfest 2008 2008-05-17 23:31:31 +00:00
Ilia Alshanetsky 4b7d16ec33 BFn 2008-05-14 23:53:54 +00:00
Antony Dovgal c7d2788311 fixed more titles 2008-05-14 13:10:30 +00:00
Antony Dovgal d01d7450a7 fix test titles 2008-05-14 13:07:17 +00:00
Felipe Pena 908b6e7808 - MFH: Add check for avoid segfault when trying instantiate PDORow manually 2008-05-14 12:34:10 +00:00
Christopher Jones 20eb83c3fe MFH: PECL #13523 (x86_64 build) 2008-05-13 16:06:55 +00:00
Christopher Jones d89a570ad0 MFH: new test 2008-05-13 00:17:59 +00:00
Antony Dovgal cafbf45c13 MFH 2008-05-12 15:31:20 +00:00
Felipe Pena 670ed18df4 - Fixed test 2008-05-12 11:24:07 +00:00
Antony Dovgal 86cf005ca2 MFH: revert patch that causes invalid reads/crashes on Linux 2008-05-12 08:47:29 +00:00
Matt Wilmas 1d30a554a4 MFH: Fixed test after fixing bug #44830 2008-05-12 05:09:28 +00:00
Matt Wilmas e4f6cab2c3 MFH: Fixed error message typo 2008-05-11 11:47:01 +00:00
Sebastian Bergmann 3bf703845f MFH: Add tests for ReflectionFunction::getExtension*(). 2008-05-11 04:57:27 +00:00
Sebastian Bergmann 032d0355e7 MFH: dos2unix *.phpt 2008-05-11 04:53:26 +00:00
Matt Wilmas e8d5d67ff2 MFH: Restore end check for "escape" strings 2008-05-10 09:18:27 +00:00
Matt Wilmas fcef7403cf MFH 2008-05-09 14:41:31 +00:00
Felipe Pena daf04269f5 - New tests 2008-05-09 14:17:42 +00:00
Scott MacVicar f73f5c1aa5 MFH: Fix compile error if _GNU_SOURCE is defined 2008-05-09 12:59:41 +00:00
Matt Wilmas 6c7ae8825d MFH: Test for loss of backslash at end of heredoc; For bug #44830 (Very minor issue with backslash in heredoc) 2008-05-09 11:06:45 +00:00
Matt Wilmas 4d478c9b67 MFH: Fix loss of backslash at end of heredoc; For bug #44830 (Very minor issue with backslash in heredoc) 2008-05-09 10:29:01 +00:00
Ant Phillips c6822cd936 Collect all the open_basedir security tests into one place 2008-05-09 08:36:41 +00:00
Ant Phillips f6b00dcf5b open_basedir tests for error_log 2008-05-09 08:33:55 +00:00
Dmitry Stogov c36ea5eb07 Fixed test 2008-05-08 09:15:49 +00:00
Antony Dovgal 9af8ebe9c7 fix test 2008-05-08 07:09:17 +00:00
Hannes Magnusson 88d4da5097 BFN 2008-05-07 20:03:26 +00:00
Hannes Magnusson 58be64ce2b MFH: Fixed bug #44712 (stream_context_set_params segfaults on invalid
arguments).
2008-05-07 20:02:42 +00:00
Hannes Magnusson fa6ab4ca82 MFH: Fixed bug #44716 (Progress notifications incorrect) 2008-05-07 20:01:56 +00:00
Christopher Jones fc4cfc3c83 MFH: new tests and test cleanup 2008-05-07 15:29:27 +00:00
Antony Dovgal fbbbd2b334 fix test title 2008-05-07 15:23:11 +00:00
Antony Dovgal 845e9001b3 reorder 2008-05-07 15:08:42 +00:00
David Coallier e5f281acf1 - Added NEWS item for fixation of bug 44811 2008-05-07 15:03:17 +00:00
David Coallier 3a37e3f5eb - Fixed Bug #44811: Improved error message when creating a new
SoapClient has invalid data.
2008-05-07 14:57:56 +00:00
David Coallier 8a346e1257 - Test for bug #44811 (Improve error message when new SoapClient has invalid data) 2008-05-07 14:56:37 +00:00
Ilia Alshanetsky fe5e6c081e MFB: Fixed bug #44836 (putenv() crashes, avoid direct reference of environ
in POSIX systems).
2008-05-06 18:03:52 +00:00
Ilia Alshanetsky 3ffd3e8b8c MFB: Specify the necessary precision 2008-05-05 23:05:06 +00:00
Ilia Alshanetsky 8fde9d7701 MFB: Fixed bug #44798 (Memory leak assigning value to attribute). 2008-05-05 23:00:13 +00:00
Andrey Hristov 05b2a03297 Fix build with libmysql 6.0.x 2008-05-05 12:30:38 +00:00
Etienne Kneuss c54c42dcf3 MFH: Fix protos 2008-05-04 21:19:18 +00:00
Rob Richards 029a4c8213 BFN 2008-05-04 15:26:25 +00:00
Rob Richards f5bf8c94f7 MFH: fix bug #44891 Memory leak using registerPHPFunctions and XSLT Variable 2008-05-04 15:15:01 +00:00
Zoe Slattery 8e23d68942 Committing corrected test from Eric Stewart 2008-05-03 20:34:16 +00:00
Etienne Kneuss b6e7b8e09a MFB: Fix #44838 (static class reference restricting overwriting) 2008-05-03 16:00:40 +00:00
Derick Rethans 0685a79356 - Fixed an issue in date() where a : was printed for the O modifier after a P
modifier was used.
2008-05-02 21:36:00 +00:00
Ant Phillips 6bec04b0a3 open_basedir tests for directory functions 2008-05-01 12:36:45 +00:00
Ant Phillips 18da1a2ff4 open_basedir tests for directory functions 2008-05-01 11:46:20 +00:00
Ilia Alshanetsky ba307b2aff Back to dev 2008-04-30 18:33:33 +00:00
Ilia Alshanetsky 6a7f02001d 5.2.6 2008-04-30 18:27:56 +00:00
Ant Phillips ab211d72a3 Fix session test failures as reported by Antony Dovgal.
These were caused by the tests assuming default values for some session
configuration settings, in particular session.save_path and session.name.
The tests now explicitly set these settings in the --INI-- section.
2008-04-30 15:20:16 +00:00
Ant Phillips 3946b4727b Break up complicated rename tests into some smaller more consumable chunks 2008-04-30 13:53:49 +00:00
Ant Phillips 3a30d703c0 Fix session test failures as reported by Antony Dovgal.
These were caused by the tests assuming default values for some session
configuration settings, in particular session.save_path and session.name.
The tests now explicitly set these settings in the --INI-- section.
2008-04-30 09:27:59 +00:00
Scott MacVicar ad86c485cd MFH Fixed bug #44720 (Prevent infinite recursion within session_register) 2008-04-29 14:42:38 +00:00
Ant Phillips 597adbfef1 More session tests to improve code coverage for untested extension code 2008-04-29 09:24:17 +00:00
Ant Phillips 2d2ad8e8d3 More session tests to improve code coverage for untested extension code 2008-04-29 08:57:12 +00:00
Jani Taskinen f2c9167ebb MFH 2008-04-28 12:30:33 +00:00
Ant Phillips 0ccb772f10 Extra open_basedir tests 2008-04-24 16:40:53 +00:00
Ant Phillips 138a1160ab Allow for chmod() to fail on symbolic links 2008-04-24 13:58:29 +00:00
Ant Phillips e9da49eaf5 open_basedir tests for file system functions (v5.2, 5.3 and 6.0 branches) 2008-04-23 14:10:23 +00:00
Ant Phillips 64de2d2d45 New set of session extension tests for PHP 5.2 branch.
These hopefully test a reasonable set of basic, error and variations for
the twenty or so session functions. Note however that they do not
test all the session configuration settings, nor do they test anything
with register_globals enabled.
2008-04-22 16:04:00 +00:00
Ant Phillips 1f4fa0ba1f These tests were backported from the PHP 6.0 branch, which in turn were ported from this branch and then updated to remove any dependencies on register_globals. With register_globals removed they are useful tests to run against the 5.X branches. 2008-04-22 15:58:34 +00:00
Robin Fernandes 1d943ee85e Fix some ereg tests for 64bit platforms. 2008-04-22 15:31:56 +00:00
Felipe Pena 5c605854b8 - Fixed tests 2008-04-20 01:55:05 +00:00
Felipe Pena 11d09ac646 - Better error message 2008-04-20 01:43:18 +00:00
Antony Dovgal 269aac9ee9 fix test 2008-04-18 08:22:01 +00:00
Ilia Alshanetsky 7204e7ba5a BFN 2008-04-18 01:00:56 +00:00
Antony Dovgal 59dde7cbeb make Matt happy =) 2008-04-17 11:48:53 +00:00
Felipe Pena 11a13337ff - Fix typo 2008-04-17 11:04:49 +00:00
Derick Rethans 8649483a69 - Fixed bug #44703 (htmlspecialchars() does not detect bad character set
argument).
2008-04-16 17:21:46 +00:00
Antony Dovgal d9b443095f change %d to %ld and silence the warning 2008-04-16 08:54:44 +00:00
Felipe Pena 9db0be61ad Fixed bug #44703 (htmlspecialchars() does not detect bad character set argument) (patch by Andy Wharmby) 2008-04-11 19:01:25 +00:00
Robin Fernandes 29c12bd254 Fix test parse_url_variation_002.phpt for 64bit platforms. 2008-04-11 14:35:04 +00:00
Antony Dovgal ef1f2c1b7b fix tests 2008-04-11 11:06:18 +00:00
Antony Dovgal 1e20b1ed7d MFH: fix 2 segfaults in ZTS mode 2008-04-11 11:00:24 +00:00
Steve Seear 9d700f942f POSIX extension error tests 2008-04-11 09:32:32 +00:00
Steve Seear 35ca4a5cb4 POSIX extension variation tests 2008-04-11 09:27:42 +00:00
Robin Fernandes fdb9b9d8c8 Adding some tests for ereg and url functions. 2008-04-11 08:57:11 +00:00
Ilia Alshanetsky a1f0e80436 Back to dev 2008-04-10 22:31:09 +00:00
Ilia Alshanetsky 1e29c1716d 5.2.6RC5 2008-04-10 22:24:05 +00:00
Christopher Jones 7788b67557 Bump OCI8 version to 1.2.5 (This change is for 5.2 branch only) 2008-04-10 21:53:46 +00:00
Nuno Lopes 5baa766b21 MFB53 2008-04-10 19:16:00 +00:00
Nuno Lopes 60d622bdb0 MFB5.3: fix SKIPIF 2008-04-10 19:09:49 +00:00
Philip Olson 63ca897356 MFH: Updated the documentation credits 2008-04-10 05:32:26 +00:00
Scott MacVicar b584600e1d Fix heredoc handling. (Patch by Matt Wilmas) 2008-04-09 21:40:13 +00:00
Felipe Pena 52127174e2 Fixed bug #44678 (spliti error message includes wrong function name) 2008-04-09 13:47:35 +00:00
Dmitry Stogov a548d2f19b Fixed bug #44673 (With CGI argv/argc starts from arguments, not from script) 2008-04-09 09:16:40 +00:00
Ilia Alshanetsky edf54b5468 MFB: Bug #44650 escaepshellscmd() does not check arg count (port from 5.3) 2008-04-08 17:17:07 +00:00
Joe Orton 8611785073 MFH: Fixed bug #32979 (OpenSSL stream->fd casts broken in 64-bit build)
(stotty at tvnet dot hu)
MFH: Fix another case of a broken stream->fd cast in 64-bit builds.
2008-04-08 14:11:49 +00:00
Jani Taskinen 8f6f281866 MFH: Fixed test on systems where order is not guaranteed 2008-04-08 10:35:36 +00:00
Jani Taskinen a9f2587716 MFH: - Fixed bug #44667 (proc_open() does not handle pipes with the mode "wb" correctly) 2008-04-08 08:45:52 +00:00
Jani Taskinen 5f7df8099a MF53: Fix tests 2008-04-08 08:45:04 +00:00
Ilia Alshanetsky b615180021 MFB: various bug fixes 2008-04-08 00:03:34 +00:00
Antony Dovgal 7a4f2f9a00 fix test 2008-04-07 12:14:46 +00:00
Antony Dovgal 339414deea initialize variable 2008-04-07 10:44:03 +00:00
Marcus Boerger 98f4d8c5f6 - MFH add new tests 2008-04-06 17:53:35 +00:00
Felipe Pena e8795126ea Fixed bug #44591 (imagegif's filename parameter) 2008-04-04 17:39:52 +00:00
Derick Rethans d80a51181a - Fixed typo. 2008-04-04 07:26:41 +00:00
Ilia Alshanetsky cb9be83c31 Back to dev 2008-04-04 00:16:53 +00:00
Ilia Alshanetsky 62c865e21f 5.2.6RC4 2008-04-04 00:12:22 +00:00
Felipe Pena 1054bfbb0b - Fixed tests 2008-04-03 22:01:59 +00:00
Dmitry Stogov 889ba3c824 fixed name 2008-04-03 14:44:19 +00:00
Dmitry Stogov 1dd17ad54a - Fixed possible stack buffer overflow in FastCGI SAPI. (Andrey Nigmatulin)
- Fixed sending of uninitialized paddings which may contain some information.
  (Andrey Nigmatulin)
2008-04-03 10:24:44 +00:00
Ilia Alshanetsky 357cadb362 MFB: imap bug fixes 2008-04-02 16:31:51 +00:00
Antony Dovgal 8f16e0b75c MFH 2008-04-02 14:56:43 +00:00
Derick Rethans b0b7f4eed1 - MFH: Fixed a bug in formatting timestamps when DST is active in the default
timezone.
2008-03-31 09:12:15 +00:00
Felipe Pena 3e663ebfef Fixed bug #44564 (escapeshellarg removes UTF-8 multi-byte characters) 2008-03-30 12:17:39 +00:00
Felipe Pena fd6f77d569 Fixed bug #44557 (Crash in imap_setacl when supplied integer as username) (patch by Thomas Jarosch) 2008-03-28 16:43:49 +00:00
Ilia Alshanetsky dd040e75c3 Back to dev 2008-03-27 22:53:49 +00:00
Ilia Alshanetsky 1de0c2f27c 5.2.6RC3 2008-03-27 22:44:02 +00:00
Andrey Hristov 64af7df7d0 Recreate 2008-03-27 14:48:00 +00:00
Jani Taskinen 40655e4104 MF53:- Fix test (readdir() does not sort the results..) 2008-03-27 10:45:06 +00:00
Steve Seear 8cc6227b45 Adding tests for gethostbyaddr() and gethostbynamel() 2008-03-26 18:18:07 +00:00
Marcus Boerger 13a67db7f5 MFH:
- Fix memory leak found by Osman
- Merge strlen to sizof change from CLI
2008-03-26 13:21:57 +00:00
Antony Dovgal b103a34cda MFH: check if return value of write() is -1 and abort upload, setting the correct error status 2008-03-26 12:59:42 +00:00
Dmitry Stogov c6aef571dd Fixed test (removed leaks becaue of cyrcular references) 2008-03-25 07:01:22 +00:00
Antony Dovgal 00779cc424 MFH: disabled mmap() when copying files to memory 2008-03-24 16:28:56 +00:00
Derick Rethans 94cfbb5448 - Updated to version 2008.2 (2008b) 2008-03-24 13:01:10 +00:00
Dmitry Stogov 193801fbda Fixed tests (file order is undefined, so we need to sort() them) 2008-03-24 09:00:18 +00:00
Marcus Boerger 7e071024d3 - MFH Add .cvsignore 2008-03-23 16:53:57 +00:00
Marcus Boerger 03c3cfbde3 - MFH Add tests 2008-03-23 13:39:27 +00:00
Marcus Boerger 978886a3a8 - Make multibyte a tad bit less crappy 2008-03-22 18:53:08 +00:00
Antony Dovgal 708cbe15d1 add missing .cvsignore 2008-03-21 08:30:02 +00:00
Antony Dovgal 28331f99e2 fix ZTS build 2008-03-21 08:28:36 +00:00
Ilia Alshanetsky 8c4653fbb6 MFB: Refine fix for multibyte char hanling inside command names and args 2008-03-20 23:25:42 +00:00
Rob Richards 5a94926037 BFN
re-order
2008-03-20 16:49:41 +00:00
Rob Richards 4a4711eb36 MFH: fix bug #44478 (Inconsistent behaviour when assigning new nodes)
add test
2008-03-20 16:48:45 +00:00
Antony Dovgal 3baf31907a MFH 2008-03-20 12:14:15 +00:00
Antony Dovgal 83a3d76e37 fix tests 2008-03-20 11:34:50 +00:00
David Soria Parra bb4e8b10e3 MFH: Fix bug #44487 (call_user_method_array issues a warning when throwing an exception). 2008-03-20 00:55:26 +00:00
Steve Seear bc8c649878 Adding language tests. 2008-03-19 18:06:26 +00:00
Steve Seear 9e8d58e54b Added some class tests; Replaced some hardcoded instance ids with %d. 2008-03-19 17:56:12 +00:00
Steve Seear c441dafbf4 Adding tokenizer test 2008-03-19 17:43:52 +00:00
Steve Seear 6744f65d51 Adding streams tests 2008-03-19 17:38:25 +00:00
Steve Seear 946190d453 Adding filesystem tests 2008-03-19 17:23:29 +00:00
Antony Dovgal 236b0c1bde fix test 2008-03-19 12:36:17 +00:00
Dmitry Stogov 9b8fdcf63f Fixed test 2008-03-19 09:17:21 +00:00
Felipe Pena b781627d85 Fixed bug #43614 (incorrect processing of numerical string keys of array in arbitrary serialized data) 2008-03-19 03:00:40 +00:00
Ilia Alshanetsky 34f0981808 MFB: Bug #44445 (email validator does not handle domains starting/ending
with a -)
2008-03-18 23:32:42 +00:00
Robin Fernandes dc2a59a970 Adding more tests for serialize() and unserialize(). 2008-03-18 15:11:12 +00:00
Felipe Pena d202354263 Fix build 2008-03-18 00:25:24 +00:00
Stanislav Malyshev 7be2f35865 report printf fix 2008-03-17 23:09:06 +00:00
Ilia Alshanetsky 233c3ade12 MFB: Properly address incomplete multibyte chars inside escapeshellcmd() 2008-03-17 23:02:26 +00:00
Stanislav Malyshev 5273e2163b fix integer overflow in length calculation 2008-03-17 23:00:41 +00:00
Josie Messa 9a859a31ab - new tests for ctype functions 2008-03-17 09:50:42 +00:00
Derick Rethans d1e3634d13 - Updated to version 2008.1 (2008a) 2008-03-16 07:22:10 +00:00
Felipe Pena 681859cdc4 BFN: #41828, #44440 2008-03-15 10:46:48 +00:00
Felipe Pena 27f2d54784 Fixed bug #44440 (st_blocks undefined under BeOS) 2008-03-15 10:28:53 +00:00
Felipe Pena 655610a5bb Add SKIPIF (32bit platform only) 2008-03-14 23:13:07 +00:00
Ilia Alshanetsky 62b1449e47 Fixed bug #43677 (Inconsistent behaviour of include_path set with
php_value).
2008-03-13 15:56:21 +00:00
Felipe Pena a8fc46afa7 Fix valgrind version validation (accepting "valgrind-3.2.1-Debian") 2008-03-13 13:51:40 +00:00
Felipe Pena 3958a09990 Sync with fix for #44394 2008-03-12 19:33:46 +00:00
Felipe Pena 69663666c1 Fixed bug #42177 (Warning "array_merge_recursive(): recursion detected" comes again...) 2008-03-12 19:13:00 +00:00
Christopher Jones 0befe23833 MFH: New test for existing behavior 2008-03-12 17:52:48 +00:00
Ilia Alshanetsky 0f1e56bc3a MFB: Fixed bug #44388 (Crash inside exif_read_data() on invalid images) 2008-03-12 17:33:14 +00:00
Etienne Kneuss f2c14fd8b0 Fix bug #41828 (Fix crash on wrong instantiation) 2008-03-12 13:24:24 +00:00
Felipe Pena a000cbd955 Fixed bug #44394 (Last two bytes missing from output) 2008-03-12 11:27:42 +00:00
Antony Dovgal 40f85eb585 MFH: fix segfault - error_string may be NULL, in this case we have to follow the old behavior 2008-03-11 10:27:23 +00:00
Josie Messa c857ec6c98 - Replace with previous commit 2008-03-11 10:15:18 +00:00
Josie Messa 02be1a8d19 - Fix test 2008-03-11 10:01:31 +00:00
Josie Messa 052670121b - Modified tests 2008-03-11 09:55:26 +00:00
Josie Messa 2a93e109e1 - Added extra whitespace around error messages in expected output 2008-03-11 09:45:30 +00:00
Andrey Hristov 031e443b44 char **error_string was passed but not used. This causes problems in cases
of getaddrinfo() failure, because the upper layers don't get the error.
initialize a variable because we were reading initialized in case of error.
2008-03-10 20:09:22 +00:00
Josie Messa 977f7b6716 - New tests for getcwd() function 2008-03-10 15:21:17 +00:00
Josie Messa 63c1185096 - Modified expected output to allow tests to work on all platforms 2008-03-10 15:07:20 +00:00
Felipe Pena d4888d7410 Fixed compilation warnings 2008-03-10 14:54:47 +00:00
Josie Messa 14a393d6a2 - New tests for scandir() function 2008-03-10 14:09:05 +00:00
Felipe Pena d39fbb1548 Fix typo (#44381) 2008-03-09 16:06:33 +00:00
David Coallier ff962d9de1 - MFH . Libxml version < 2.6.21 it fails. Patch from scoates 2008-03-08 19:14:38 +00:00
Zoe Slattery 4ec1845b52 Countable requires SPL 2008-03-08 17:13:06 +00:00
Andrey Hristov ecf84f8b6b Fix introduced in 5.0.46, not in 5.0.42 2008-03-08 14:59:37 +00:00
Felipe Pena 1c9c9daa78 BFN: #44373 2008-03-08 14:10:34 +00:00
Felipe Pena e1cf7f0ca6 Fixed bug #44373 (PDO_OCI extension compile failed) 2008-03-08 14:01:49 +00:00
Nuno Lopes 2e161037fa MFB53 skipif patch as asked by gentoo guys 2008-03-08 12:12:22 +00:00
Pierre Joye 6d3101b8f4 - #44355, compilation breaks due illegal const usage (Guenter Knauf)
I suppose it must break on other platform, it is not used anywhere else
  but here, and it was introduced after 5.2.5 (why no news)
2008-03-07 18:41:02 +00:00
Josie Messa 1b07a0988b - Tests awaiting fix of bug #44246 2008-03-07 16:19:40 +00:00
Josie Messa 46db94819f - New tests for rewinddir() function 2008-03-07 16:08:59 +00:00
Josie Messa f9f818959a - New tests for closedir() function 2008-03-07 15:58:39 +00:00
Scott MacVicar 216e57bf23 Typo, bundled version is really 3.3.7 2008-03-07 10:38:33 +00:00
Antony Dovgal 77f40d6d5b fix build 2008-03-07 08:56:45 +00:00
Stanislav Malyshev 0d6cdac9ff improve seed calculation
# better solution would be to port mt's multi-value seed procedure
2008-03-07 03:34:47 +00:00
Ilia Alshanetsky 3e51cc7a8c Back to dev 2008-03-07 00:36:12 +00:00
Ilia Alshanetsky d4689143e1 5.2.6RC2 2008-03-07 00:27:39 +00:00
Antony Dovgal ba9ad966c3 MFH: fix segfault when trying to clone uncloneable object 2008-03-06 17:28:47 +00:00
Robin Fernandes 1af0116cf0 Add new tests for class/object functions and features. 2008-03-06 10:56:07 +00:00
Ilia Alshanetsky abc6363462 MFB: Revert patch for bug #44325 2008-03-05 23:53:23 +00:00
Pierre Joye 77fee69a7e - #40013, php_uname() does not return nodename on Netware (Guenter Knauf) 2008-03-05 21:09:29 +00:00
Pierre Joye 38b94446a4 - #42505, new sendmail default path breaks on Novell (Guenter Knauf) 2008-03-05 20:58:08 +00:00
Jani Taskinen 2a4a4fbcaf MF53: Fix tests 2008-03-05 15:37:53 +00:00
Jani Taskinen 90f420baa5 - fix test (MF53) 2008-03-05 15:12:27 +00:00
Antony Dovgal 6eee168067 add missing .cvsignore 2008-03-05 12:13:00 +00:00
Jani Taskinen 26116d7285 - Fix tests 2008-03-05 12:10:38 +00:00
Antony Dovgal eb81041b0a MFH: apply better fix 2008-03-05 12:10:18 +00:00
Antony Dovgal 1a65748249 cosmetic fixes 2008-03-05 10:46:46 +00:00
Antony Dovgal 31683f4bfa MFH: fix memory corruption due to double destruction of default dir handle 2008-03-05 09:29:37 +00:00
Felipe Pena b47aea1094 Fixed bug #44333 (SEGFAULT when using mysql_pconnect() with client_flags) 2008-03-04 22:25:35 +00:00
Ilia Alshanetsky c36af9e2b5 MFB: Fixed bug #44325 (mssql_bind not correctly bind empty strings as
parameter value)
2008-03-04 19:39:08 +00:00
Josie Messa 6d48ddaf8f - new tests for readdir() function 2008-03-04 17:06:47 +00:00
Zoe Slattery 77a1339755 re-fixing to skip on 64 bit 2008-03-04 13:25:30 +00:00
Dmitry Stogov f4068e65ba Fixed SIGSEGV because of acess to uninitialized data 2008-03-04 12:23:10 +00:00
Dmitry Stogov 0d7d139700 Fixed wrong result of cascading assignment to string offset 2008-03-04 11:49:31 +00:00
Dmitry Stogov 43a9fd4c4a Fixed wrong result of cascading assignment to string offset
Fixed memory corruption on cascading assignment of IS_TMP_VAR into string offset
Fixed opcode caches shared memory corruption on cascading assignment of IS_CONST into string offset
2008-03-04 11:48:53 +00:00
Dmitry Stogov 7089db25e0 Fixed shared memory corruption of opcode caches 2008-03-04 11:46:09 +00:00
Antony Dovgal f3213ecacd MFH 2008-03-04 11:16:39 +00:00
Josie Messa 94565fb450 - new tests for opendir() function 2008-03-04 10:39:32 +00:00
Ilia Alshanetsky 0418676cc6 MFB: Fixed bug #44166 (Parameter handling flaw in
PDO::getAvailableDrivers())
2008-03-03 21:14:33 +00:00
Ilia Alshanetsky 5d66c33385 MFB: Fixed bug #44166 (Parameter handling flaw in
PDO::getAvailableDrivers())
2008-03-03 21:14:19 +00:00
Ilia Alshanetsky c4d4183f96 MFB: Fixed bug #44306 (Better detection of MIPS processors on Windows) 2008-03-02 15:36:09 +00:00
Ilia Alshanetsky 73550dd6b5 Set proper RC version (Thanks Hannes) 2008-02-28 15:36:07 +00:00
Ilia Alshanetsky 0dd068331a Back to dev 2008-02-28 00:35:26 +00:00
Ilia Alshanetsky 743bb87a57 5.2.6RC1 2008-02-28 00:30:35 +00:00
Ilia Alshanetsky 9c3f699ed8 Fixed security issue detailed in CVE-2008-0599 2008-02-28 00:29:29 +00:00
Antony Dovgal 0c0fb4be83 MFH 2008-02-27 09:35:10 +00:00
Felipe Pena 5db9cbbc40 MFB: Fixed bug #43559 (array_merge_recursive() doesn't behave as expected with duplicate NULL values) 2008-02-27 02:04:09 +00:00
Felipe Pena 45e379b49d Improved fix for #44242 2008-02-27 01:10:56 +00:00
Ilia Alshanetsky 45c443576e MFB: Fixed bug #44233 (MSG_PEEK undefined under BeOS R5) 2008-02-27 00:32:39 +00:00
Josie Messa 7c28ec2e54 - New tests for chdir() function 2008-02-26 09:31:16 +00:00
Christopher Jones 8b43d4de96 Fix test noise 2008-02-26 01:06:37 +00:00
Ilia Alshanetsky 86647d648f MFB: Better fix for bug #44189 2008-02-26 00:14:04 +00:00
Christopher Jones 8bdaeafc23 Add recent OCI8 bug fixes 2008-02-26 00:04:18 +00:00
Christopher Jones 2ce86f5e5a OCI8: fix bug #44008 (OCI-Lob->close) & bug #44206 (ref cursor leak) 2008-02-25 23:52:10 +00:00
Felipe Pena 9b730870a1 Fixed bug #44242 (metaphone(CMXFXM) crashes PHP) 2008-02-25 22:40:45 +00:00
Derick Rethans a58f8d2a9b - MFH: Fixed tests on 64bit platform. 2008-02-25 22:34:11 +00:00
Derick Rethans 08e237cc6d - MFH: Fixed a problem with parsing timezones as part of a format.
#- It doesn't actually fix anything, but atleast it's consistent with HEAD.
2008-02-25 18:28:18 +00:00
Steve Seear d4e61a3042 Replace hardcoded resource ids with %d in fgetc() tests. 2008-02-25 10:28:43 +00:00
Felipe Pena 7af1de82e3 New test 2008-02-24 18:49:40 +00:00
Felipe Pena f75a2de1c1 Fixed segfault in filter extension when using callbacks. (reported & patched by Arnar Mar Sig) 2008-02-24 18:34:30 +00:00
Ilia Alshanetsky c2805b88e5 MFB: Fixed bug #44200 (A crash in PDO when no bound targets exists and yet
bound parameters are present)
2008-02-24 16:09:05 +00:00
Derick Rethans 8241ee2226 - MFH: Fixed bug #44216 (strftime segfaults on large negative value). 2008-02-22 17:49:30 +00:00
Derick Rethans dfd8f3f735 - MFH: Fixed bug #44209: strtotime doesn't support 64 bit timestamps. 2008-02-22 09:48:18 +00:00
Josie Messa 6dc4795a66 - New tests for reset() function 2008-02-22 09:18:25 +00:00
Dmitry Stogov 6c7fe8df9f Fixed test 2008-02-22 08:16:32 +00:00
Felipe Pena fcffdf2285 Fix test 2008-02-22 02:45:37 +00:00
Josie Messa d8794230ed - New tests for end() and next() function 2008-02-21 16:38:12 +00:00
Dmitry Stogov 7eb1befffe Fixed bug #43483 (get_class_methods() does not list all visible methods) 2008-02-21 15:14:13 +00:00
Josie Messa ffa42113ff - New tests for key() function 2008-02-21 14:34:02 +00:00
Felipe Pena 3ed933811b Fix test 2008-02-21 14:22:04 +00:00
Dmitry Stogov 28306e3439 Fixed bug #44141 (private parent constructor callable through static function) 2008-02-21 13:55:22 +00:00
Ilia Alshanetsky 744d8992b3 MFB: Fixed bug #44189 (PDO setAttribute() does not properly validate values
for native numeric options)
2008-02-21 13:37:52 +00:00
Felipe Pena 4421fc2204 Cosmetics change 2008-02-21 13:32:03 +00:00
Antony Dovgal 00315b1d42 MF53 2008-02-21 11:53:51 +00:00
Dmitry Stogov 7c40e93b69 Fixed test 2008-02-21 08:17:00 +00:00
Felipe Pena 48952c1b1d Fix typo 2008-02-21 02:39:43 +00:00
Felipe Pena e0379278af Fixed Bug #44197 (socket array keys lost on socket_select) 2008-02-21 02:34:50 +00:00
Felipe Pena 50bdcc203b Fixed Bug #44191 (preg_grep messes up array index) 2008-02-20 22:08:18 +00:00
Felipe Pena 2778d2ad59 New test 2008-02-20 21:56:45 +00:00
Ilia Alshanetsky de270b4d6e MFB: Fixed bug #44152 (Possible crash with syslog logging on ZTS builds). 2008-02-20 15:28:37 +00:00
Josie Messa 18dc5aaed6 - New tests for current() function 2008-02-20 14:19:44 +00:00
Dmitry Stogov 39c4c3971d Fixed bug #44184 (Double free of loop-variable on exception) 2008-02-20 12:04:50 +00:00
Ilia Alshanetsky 766b688c8e MFB: Fixed bug #44171 (Invalid FETCH_COLUMN index does not raise an error) 2008-02-20 03:12:16 +00:00
Josie Messa 5c394578de - New tests for each() function 2008-02-19 17:00:58 +00:00
Dmitry Stogov 981603b55c Reverted wrong commit (debug code) 2008-02-19 16:44:43 +00:00
Dmitry Stogov 12e8e280c7 Fixed memory leaks 2008-02-19 16:39:02 +00:00
Dmitry Stogov 59f4a9381f Fixed test 2008-02-19 16:33:17 +00:00
Felipe Pena 5ccd0528fe New test 2008-02-19 14:53:44 +00:00
Felipe Pena d0fea14428 Fixed Bug #44159 (Crash: $pdo->setAttribute(PDO::STATEMENT_ATTR_CLASS, NULL)) 2008-02-19 12:09:47 +00:00
Dmitry Stogov ee82eac68a Fixed memory leak 2008-02-19 12:00:36 +00:00
Josie Messa ae105adfd9 - New tests for natcasesort() function 2008-02-19 10:51:44 +00:00
Sebastian Bergmann 87784c32b3 MFH: Fugbix typo. 2008-02-19 06:52:58 +00:00
Dmitry Stogov 8187dbfa4d Made code opcode-cache friendly. (It is disallowed to change code during execution) 2008-02-18 14:30:25 +00:00
Rui Hirokawa f17936083a fixed some failures on test scripts caused by bug fix. 2008-02-18 14:28:13 +00:00
Ilia Alshanetsky 304923d187 MFB:Fixed a possible crash 2008-02-18 13:29:00 +00:00
Dmitry Stogov 4a3df17f43 Removed redundant refcount manipulations 2008-02-18 12:11:34 +00:00
Dmitry Stogov 63fbdfb3e1 Fixed test 2008-02-18 09:02:16 +00:00
Ilia Alshanetsky f506f6254a Mbstring bug fixing news 2008-02-17 17:20:40 +00:00
Rui Hirokawa 65ef397b3c MF PHP5_3 (fixed #43841) 2008-02-17 02:06:56 +00:00
Rui Hirokawa 419b7283d3 MF PHP5_3 (fixed #43994) 2008-02-17 02:04:12 +00:00
Rui Hirokawa e2fa604b0a MF PHP5_3 (fixed #43998) 2008-02-17 02:01:41 +00:00
Rui Hirokawa bd98b8a3e0 MF PHP5_3 (fixed #43840) 2008-02-17 01:59:03 +00:00
Rui Hirokawa ba670d01b5 MF PHP5_3 2008-02-16 08:32:57 +00:00
Rui Hirokawa ee71417ef0 MF PHP5_3 2008-02-16 08:25:11 +00:00
Christopher Jones 7ac84b8607 Test existing LOB error messages 2008-02-16 03:01:17 +00:00
Christopher Jones 6c0abfe077 Bug #44113 (New collection creation can fail with OCI-22303) 2008-02-15 23:05:19 +00:00
Josie Messa 9da1ec78c0 - New tests for rsort() function 2008-02-15 16:05:28 +00:00
Antony Dovgal e3189410c4 MFH: recursion protection in count() 2008-02-15 09:33:26 +00:00
Dmitry Stogov f29c6b45a8 MFH: Fixed bug #43128 (Very long class name causes segfault) 2008-02-15 07:44:46 +00:00
Dmitry Stogov 5ef434d175 Fixed bug #43507 (SOAPFault HTTP Status 500 - would like to be able to set the HTTP Status) 2008-02-15 06:50:39 +00:00
Dmitry Stogov 0be31f3f3c Fixed test 2008-02-15 06:38:37 +00:00
Josie Messa 5ae0fb0628 - New tests for count() function 2008-02-14 16:49:17 +00:00
Josie Messa 5ce503459d - removing .project file 2008-02-14 16:20:19 +00:00
Josie Messa 87e2a75f70 - New variation test for array_values() 2008-02-14 16:15:16 +00:00
Dmitry Stogov af3aecb688 Fixed bug #44069 (Huge memory usage with concatenation using . instead of .=) 2008-02-14 14:47:25 +00:00
Josie Messa 592f5f384e - New tests for array_values() function 2008-02-14 14:21:48 +00:00
Felipe Pena a69ea8773d Fixed Bug #42838 (Wrong results in array_diff_uassoc) 2008-02-14 14:02:02 +00:00
Felipe Pena cf2c1c59aa New test 2008-02-14 13:49:55 +00:00
Josie Messa f56d34a230 - New tests for array_slice() function 2008-02-14 11:15:54 +00:00
Dmitry Stogov 8448591096 Fixed memory leak 2008-02-14 08:46:08 +00:00
Josie Messa 079c7f0cd6 - New tests for array_shift() function 2008-02-13 16:41:27 +00:00
Josie Messa b289acb3af - New tests for array_push() function 2008-02-13 16:10:43 +00:00
Josie Messa 2554f5ca00 - committing tests for array_merge() function 2008-02-13 14:20:22 +00:00
Josie Messa 064bbbb04e - committing tests for array_key_exists() function 2008-02-13 13:15:11 +00:00
Marcus Boerger 697b79f6a3 - MFH Make this behave like in <= 5.2.5 and test for it 2008-02-13 12:23:26 +00:00
Greg Beaver 26f6c26c8c MFH: fix potential memleak due to destruction of filterparams zval 2008-02-12 23:29:18 +00:00
Johannes Schlüter 201a2ec1f0 - MFH: Make clear what's going on and avoid overwriting parameters 2008-02-12 20:43:50 +00:00
Hannes Magnusson 8fbb789d04 Fix test 2008-02-12 20:06:10 +00:00
Josie Messa fa7ab79523 - committing array_change_key_case variation tests 2008-02-12 17:43:54 +00:00
Felipe Pena d1f536595e MFB: array_slice() - Fixed behavior when NULL is given in third parameter (BC) 2008-02-12 12:47:30 +00:00
Felipe Pena 13e939679b MFB: Fixed Bug #44094 (SEGFAULT when using mysql_connect()) 2008-02-12 10:24:35 +00:00
Zoe Slattery a628bc8856 Fixing 44092 2008-02-12 07:27:49 +00:00
Ilia Alshanetsky 2e6320425b MFB: Fixed test on 64bit machines 2008-02-11 16:23:12 +00:00
Johannes Schlüter eaa1662a75 MFH: The exact message differs on different systems 2008-02-11 00:03:30 +00:00
Johannes Schlüter c04ac43efa - Fix typo (see #44095) 2008-02-11 00:01:29 +00:00
Jani Taskinen 839abfabcc MFH 2008-02-06 19:14:07 +00:00
Jani Taskinen c717b41784 MFH:- Fixed bug in handling arrays which caused the original array being modified too. 2008-02-06 19:07:36 +00:00
Marcus Boerger 745fe9004f - BFN 2008-02-06 11:10:07 +00:00
Marcus Boerger dd570d65ce - WS 2008-02-06 11:09:48 +00:00
Zoe Slattery 44b091a30d Tests for assorted Maths functions 2008-02-06 09:51:19 +00:00
Ilia Alshanetsky 5b0fbbefe1 MFB: Fixed bug #44046 (crash inside array_slice() function with an invalid
by-ref offset).
2008-02-05 16:01:21 +00:00
Robert Nicholson 95121ed073 - fix arsort_variation3.phpt which was missing its EXPECT section 2008-02-05 11:18:00 +00:00
Marcus Boerger f26c177b2d - Damnit you flags (wrong commit) 2008-02-04 21:49:44 +00:00
Marcus Boerger 9a90cfc99c - MFH Really last flag change (got confused with code) 2008-02-04 21:37:55 +00:00
Ilia Alshanetsky 2c92d82a02 Revert fix for bug #43981, not yet ready for 5.2 2008-02-04 21:31:52 +00:00
Marcus Boerger 80907e4a91 - MFH Flag handling and documentation 2008-02-04 20:43:50 +00:00
Sebastian Bergmann 0d516bf7ec Add NEWS entry for ext/dom arginfo changes. 2008-02-04 19:43:34 +00:00
Sebastian Bergmann cc0b2dd120 MFH: Add missing Reflection API metadata for DOM classes. 2008-02-04 15:23:11 +00:00
Robert Nicholson 622504d7a3 - added some new tests for arsort 2008-02-04 00:04:26 +00:00
Ilia Alshanetsky e002e2ec1c MFB: Fixed bug #44028 (crash inside stream_socket_enable_crypto() when
enabling encryption without crypto type)
2008-02-03 16:15:30 +00:00
Derick Rethans 3bcef3b39d - Fixed invalid read errors as found by GCOV. 2008-02-03 14:22:55 +00:00
Antony Dovgal 20b39a9806 fix test, add 64bit version 2008-02-02 23:44:39 +00:00
Derick Rethans d7ae91bea7 - MFH: Make timezone_open() work again. 2008-02-02 17:26:23 +00:00
Zoe Slattery cc0b147a2f A few new tests for math functions - Note the "constants" test will fail on Windows - Bug 42143. 2008-02-01 17:27:43 +00:00
Robert Nicholson 801ce5ee03 - a few more gd tests (committed on behalf of andy wharmby) 2008-02-01 16:33:37 +00:00
Josie Messa bb5f5da561 - Committing new tests for MBString extension.
More details can be found here: http://news.php.net/php.qa/62382
2008-02-01 15:27:57 +00:00
Rob Richards 390b033755 BFN 2008-01-31 22:00:22 +00:00
Rob Richards 1dc8e72874 MFH: fix bug #42369 (Implicit conversion to string leaks memory)
add test
2008-01-31 21:59:41 +00:00
Antony Dovgal caf57b0532 BFN 2008-01-31 20:23:33 +00:00
Christopher Jones dece018a41 Fixed bug #42841 (REF CURSOR and oci_new_cursor PHP crash) 2008-01-31 00:26:44 +00:00
Ilia Alshanetsky 6f1c2f04a0 MFB: Fixed bug #43981 (gmp_div_r() does not preserve the sign of 1st
argument)
2008-01-30 18:27:03 +00:00
Zoe Slattery 51f63718cf Removing superfluous --INI-- section 2008-01-30 17:44:54 +00:00
Rob Richards 82a3271eda BFN 2008-01-30 15:30:44 +00:00
Rob Richards 005ece078a MFH: fix bug #41562 (SimpleXML memory issue) 2008-01-30 15:29:51 +00:00
Robin Fernandes 5912128780 Adding tests for class features, including __autoload(), property inheritance rules and class constants. 2008-01-30 14:24:47 +00:00
Rasmus Lerdorf 529092df9b Copy-paste typo 2008-01-30 08:50:02 +00:00
Sebastian Bergmann 410fb2b6d4 MFH: Fix arginfo. 2008-01-30 06:48:20 +00:00
Rasmus Lerdorf b8af6b08db This one depends on the precision setting 2008-01-30 05:37:23 +00:00
Rasmus Lerdorf 7b624a37bc Fixed bug #43957 (utf8_decode() bogus conversion of partial multibyte UTF8 char) 2008-01-29 23:21:20 +00:00
Sebastian Bergmann 088d2d98b8 MFH: Fix arginfo and prototype. 2008-01-29 21:21:28 +00:00
Nuno Lopes 8cb33d2c04 upgrade to pcre 7.6 2008-01-29 20:25:47 +00:00
Dmitry Stogov 7c51430b37 Fixed bug #43968 (Extending internal class causes a crash)
The fix is a workaround for GCC optizer bug.
2008-01-29 20:01:14 +00:00
Sebastian Bergmann fef277ab76 MFH: Add Reflection API metadata for DOMXPath. 2008-01-29 15:55:29 +00:00
Sebastian Bergmann 0c685dc3c0 MFH: Add Reflection API metadata for DOMNode. 2008-01-29 15:23:25 +00:00
Dmitry Stogov f8d7d6fc90 Fixed bug #43491 (Under certain conditions, file_exists() never returns) 2008-01-29 14:23:19 +00:00
Antony Dovgal 1a4c15d5e1 MFH: fix #43927 (koi8r is missing from html_entity_decode())
patch by andy at demos dot su
2008-01-29 13:39:03 +00:00
Dmitry Stogov e4782cddf4 Fixed bug #43505 (Assign by reference bug) 2008-01-29 10:44:53 +00:00
Dmitry Stogov c9fd5b3010 Fixed test 2008-01-29 10:43:42 +00:00
Antony Dovgal c86f396edf BFN 2008-01-29 09:30:08 +00:00
Sebastian Bergmann 984b2c84a5 MFH: Add Reflection API metadata for XSLTProcessor. 2008-01-29 07:51:46 +00:00
Antony Dovgal 65d0aca95c MFH: fix type and bug #43646 2008-01-29 00:08:08 +00:00
Scott MacVicar 20809972dc MFH: Fixed bug #43954 (Memory leak when sending the same HTTP status code more than once.) 2008-01-28 16:12:55 +00:00
Hannes Magnusson 1e0125e9a4 Remove bogus test (should be in HEAD) 2008-01-27 18:20:27 +00:00
Marcus Boerger f2e8119bf5 - Add second parameter to SplObjectStorage::attach()
- Add SplObjectStorage::setInfo()
- Add SplObjectStorage::getInfo()
2008-01-27 18:04:56 +00:00
Rob Richards 86ae2781fb MFH: add missing export 2008-01-27 16:33:22 +00:00
Derick Rethans da11bc2b32 - MFH Bugfixes:
- Fixed bug #43808 (date_create never fails (even when it should)).
	- Fixed bug #43527 (DateTime created from a timestamp reports environment
	  timezone).
	- Fixed bug #43003 (Invalid timezone reported for DateTime objects
	  constructed using a timestamp).
	- Fixed bug #42190 (Constructing DateTime with TimeZone Indicator
	  invalidates DateTimeZone).
	- Fixed bug #41599 (setTime() fails after modify() is used).
2008-01-26 16:26:47 +00:00
Robert Nicholson 905f0d086b - Add a basic test for array_shuffle() 2008-01-25 00:30:52 +00:00
Robert Nicholson db0c290db4 - add some basic tests for array diff and intersection functions 2008-01-25 00:16:14 +00:00
Antony Dovgal ab8436fc87 MFH 2008-01-24 23:11:15 +00:00
Robert Nicholson 6b7d50ead4 - New tests for compact() 2008-01-24 14:52:38 +00:00
Rob Richards e660e038a4 MFH: fix zts build 2008-01-24 14:10:21 +00:00
Dmitry Stogov bab919b91b Fixed error message 2008-01-24 08:51:04 +00:00
Ilia Alshanetsky cfcb262dfb MFB:Fixed bug #43912 (Interbase column names are truncated to 31 characters) 2008-01-23 01:22:57 +00:00
Antony Dovgal 5331163715 add new test 2008-01-22 15:43:09 +00:00
Hannes Magnusson 66d39db51e MFH: Fixed bug #43875 (Two error messages returned for $new and $flag argument in mysql_connect()) 2008-01-20 14:13:11 +00:00
Christopher Jones a4c915c855 MFH: Add ifdef 2008-01-18 16:03:35 +00:00
Antony Dovgal 45353a5c39 fix test 2008-01-18 12:41:24 +00:00
Antony Dovgal f66f94b4b0 fix test 2008-01-18 12:12:19 +00:00
Antony Dovgal ff7be14077 BFN 2008-01-18 07:10:21 +00:00
Pierre Joye c1fa811b5c - reflect the correct version 2008-01-18 00:51:38 +00:00
Greg Beaver 736e23a4c5 MF5.3: install headers, use correct zip version 2008-01-18 00:31:23 +00:00
Greg Beaver 42b320bca1 MFH: add errors when missing dependencies (Steph) 2008-01-17 21:17:29 +00:00
Ilia Alshanetsky 23994f9150 MFB: Fixed bug #42779 (Incorrect forcing from HTTP/1.0 request to HTTP/1.1
response)
2008-01-16 15:50:37 +00:00
Antony Dovgal b42398f850 MFH: fix #43863 (str_word_count() breaks on cyrillic "ya" in locale cp1251)
patch by phprus at gmail dot com
2008-01-16 08:35:59 +00:00
Dmitry Stogov bb084caec1 Fixed wrong type cast 2008-01-16 06:14:45 +00:00
Christopher Jones 65bec2edc8 MFH: fix #41941 (oci8 extension not lib64 savvy) 2008-01-16 00:42:02 +00:00
Christopher Jones ea2d2d6bb6 MFH: Testcase for #43492 (nested cursors) 2008-01-15 20:54:22 +00:00
Christopher Jones f4a29d5432 fix #43497 (OCI8 XML/getClobVal aka temporary LOBs leak UGA memory) 2008-01-15 20:42:13 +00:00
Rob Richards 844d6ee35b MFH: fix memleak in sign and verify functions 2008-01-15 15:13:37 +00:00
Brian Shire 751b0807b1 MFH: Fix bug #42850 array_walk_recursive() leaves references, refix bug #34982 2008-01-14 22:10:09 +00:00
Ilia Alshanetsky a2581f81d1 MFB: Missing patch bit from the FETCH_GROUP fix 2008-01-14 18:41:41 +00:00
Nuno Lopes 0f9729404f MFH: fix bug #42945, as asked by Ilia 2008-01-14 09:46:55 +00:00
Nuno Lopes 255a7b9cf0 upgrade PCRE to version 7.5 (as asked by Ilia 2008-01-14 09:39:41 +00:00
Greg Beaver c98f8dc302 merge in cgi fixes from PHP_5_3 2008-01-14 04:34:17 +00:00
Greg Beaver b24c96616a add missing alias .h files 2008-01-14 03:58:03 +00:00
Greg Beaver 1d3604c1b1 MFH: export libzip symbols 2008-01-14 03:19:41 +00:00
Greg Beaver 1d28516b79 MFH: far better fix for bug #40189 2008-01-12 22:04:03 +00:00
Greg Beaver ee16647cfd MFH: fix faulty fix for Bug #40189, and provide real fix for the bug 2008-01-12 21:35:44 +00:00
Greg Beaver 5d96f54cf9 revert last commit, was to wrong branch 2008-01-12 03:46:47 +00:00
Greg Beaver 9ce5990880 MFH: export symbols for use by other extensions like phar 2008-01-12 03:43:06 +00:00
Rob Richards 0d1fe9c73b MFH: starting with 2.6.30, standard libxml2 build can be used 2008-01-11 13:37:24 +00:00
Ilia Alshanetsky aa51dce93a MFB: Fixed a bug with PDO::FETCH_COLUMN|PDO::FETCH_GROUP mode when a column
# by which to group by data is specified.
2008-01-11 01:47:55 +00:00
Brian Shire 0c855571c3 - MFH fix truncation of large values on 64-bit systems in http_build_query 2008-01-10 20:32:41 +00:00
Antony Dovgal c2f8930033 correct number of symbols 2008-01-10 08:45:39 +00:00
Antony Dovgal 2fe13db7ac fix test 2008-01-10 08:45:06 +00:00
Dmitry Stogov d5bd104d9d Fixed broken soap.wsdl_cache_enabled 2008-01-09 16:45:30 +00:00
Greg Beaver 8a1cd11e0b apply proper fix of bug #43793 to zlib.deflate (window+16 = gzip) 2008-01-09 08:12:26 +00:00
Dmitry Stogov b58a5db130 Fixed bug #43703 (Signature compatibility check broken) 2008-01-09 07:57:23 +00:00
Greg Beaver a603c8d71b apply same fix of bug #43793 to zlib.deflate 2008-01-09 07:03:41 +00:00
Greg Beaver ad7f030c6d fix Bug #43793: zlib filter is unable to auto-detect gzip/zlib file headers 2008-01-09 06:45:15 +00:00
Pierre Joye 3dd5e7854c - #43790, fix crash when no family name has been found 2008-01-09 01:50:59 +00:00
Ilia Alshanetsky c73247fe2c MFB: Fixed bug #43498 (file_exists() on a proftpd server got SIZE not
allowed in ASCII mode).
2008-01-08 19:10:16 +00:00
Ilia Alshanetsky 0b25a9fb8c Fixed a safe_mode bypass in cURL identified by Maksymilian Arciemowicz. 2008-01-06 17:12:29 +00:00
Greg Beaver 4490673e0e remove potential preg warnings if --EXPECTHEADERS-- is combined with --EXPECTF-- or --EXPECTRE-- 2008-01-05 21:39:47 +00:00
Greg Beaver 32f4ff69b5 implement --FILE_EXTERNAL-- section for using an external file as --FILE--, use CGI for --EXPECTHEADERS--, fix --POST_RAW-- 2008-01-05 21:05:14 +00:00
Raghubansh Kumar d380d052af New testcases for array_diff() function 2008-01-04 14:04:26 +00:00
Raghubansh Kumar 5fe2521143 New testcases for array_diff_assoc() function 2008-01-04 14:03:57 +00:00
Ulf Wendel 8e0bb2d72c MFH: Fix for bug #43036 2008-01-04 09:19:49 +00:00
Ilia Alshanetsky 0c882b2645 MFB: Skip test for PostgreSQL driver since error is too dissimilar to other
drivers
2008-01-03 16:47:08 +00:00
Raghubansh Kumar b054ae8716 this testcase has been split into many smaller testcases and committed. 2008-01-03 09:50:05 +00:00
Raghubansh Kumar 5a6c4393cb new smaller testcases for array_map() function 2008-01-03 09:48:42 +00:00
Steve Seear 425646f98b Adding PHPT tests for the ReflectionMethod class. 2008-01-03 09:06:08 +00:00
Ilia Alshanetsky 02967f7040 MFB: Fixed bug #43647 (Make FindFile use PATH_SEPARATOR instead of ";") 2008-01-02 19:20:15 +00:00
Ilia Alshanetsky 660fac9dc0 MFB: Update copyright 2008-01-01 18:30:41 +00:00
Hartmut Holzgraefe 3e34e202d5 MFH: Fix for bug #42548 "PROCEDURE xxx can't return a result set" 2008-01-01 16:51:09 +00:00
Derick Rethans aaeded2ac7 - Updated to version 2007.11 2008-01-01 15:32:28 +00:00
Hannes Magnusson 30ff9a85cf MFH: Fix test 2008-01-01 14:36:08 +00:00
Sebastian Bergmann 58fea2b990 MFB: Leftover: Bump copyright year. 2008-01-01 06:15:48 +00:00
Sebastian Bergmann dfa693b392 Leftover: Bump copyright year. 2007-12-31 07:25:08 +00:00
Sebastian Bergmann d9f3a1305f MFH: Bump copyright year, 2 of 2. 2007-12-31 07:20:42 +00:00
Sebastian Bergmann e78105b103 MFH: Bump copyright year, 1 of 2. 2007-12-31 07:17:40 +00:00
David Soria Parra e81a660bae - Fixed bug #43663 (Extending PDO class with a __call() function doesn't work). 2007-12-30 17:59:31 +00:00
Jani Taskinen 3b2ca90699 MFH:- This makes no sense with non-ipv6 builds. (and fixes lot of issues with misconfigured servers) 2007-12-29 18:46:37 +00:00
Hannes Magnusson 5a5f3e6dff Fix test when additional ini files are used (patch by <confins_de_l_univers at yahoo dot fr>) 2007-12-29 11:38:06 +00:00
Antony Dovgal 6db1f40e32 correct fix for bug #43522 2007-12-29 10:52:51 +00:00
Hannes Magnusson dbbd4bf1b8 MFH: Update the class method documentation links 2007-12-29 02:22:23 +00:00
Dmitry Stogov df9e324f35 Fixed test related to bug #38469 2007-12-28 13:38:30 +00:00
Dmitry Stogov 2705adc4b9 Fixed bug #38469 (Unexpected creation of cycle). 2007-12-28 13:38:20 +00:00
Hannes Magnusson 97c1cc8925 BFN 2007-12-27 02:12:48 +00:00
Hannes Magnusson 7c9ab52ca4 MFB5.3: Fixed bug#43105 (PHP seems to fail to close open files.) 2007-12-27 02:10:26 +00:00
Hannes Magnusson 6bcf63c567 MFH: Fix typo (TAKAGI Masahiro) 2007-12-26 21:03:12 +00:00
Raghubansh Kumar 8774eb1ae9 fix test : do not run when run as root 2007-12-25 16:16:32 +00:00
Dmitry Stogov 24957a15e0 Fixed %f regex 2007-12-25 12:06:22 +00:00
Raghubansh Kumar cb165e184d new testcases for dir() function 2007-12-24 05:21:08 +00:00
Raghubansh Kumar 63ff78e2f3 fix tests 2007-12-24 04:26:41 +00:00
Raghubansh Kumar 77245e4907 Changing the regex for %f so the it will match e-, e+ and e. 2007-12-24 04:24:20 +00:00
Johannes Schlüter bb52c198ce -Fix name (arg, new keyboard is coming...) 2007-12-21 21:18:01 +00:00
Johannes Schlüter 0bc875c9ca -Fix name 2007-12-21 21:17:31 +00:00
Johannes Schlüter 42add0f2e1 - MFH: Fix #43450 (Memory leak on some functions with implicit object
__toString() call) (Davic C.)
2007-12-21 20:58:11 +00:00
Dmitry Stogov ab6121f686 Fixed test 2007-12-21 09:44:13 +00:00
Raghubansh Kumar 59ddc3b287 fix tests 2007-12-20 17:28:36 +00:00
Dmitry Stogov 6789574da2 x86_64 assembler optimization (Brain Shire) 2007-12-20 13:22:22 +00:00
Robert Nicholson 6194af1343 New test - Indexing - various special cases 2007-12-20 11:41:40 +00:00
Robert Nicholson 847f462905 new tests for array_map usage variations - string keys and references 2007-12-20 11:18:55 +00:00
Ilia Alshanetsky c21ef044a7 MFB: Fixed bug #43635 (mysql extension ingores INI settings on NULL values
passed to mysql_connect())
2007-12-20 00:31:49 +00:00
Raghubansh Kumar a81fccc47d fix test 2007-12-19 10:40:18 +00:00
Derick Rethans dc30b0035d - MFH: Fixed var_export() for array keys
- MFH: Fixed broken explode() test
2007-12-19 08:45:16 +00:00
Steve Seear fd81f61e0d Adding PHPT tests for the ReflectionProperty class. 2007-12-18 17:20:05 +00:00
Ilia Alshanetsky a68454f659 MFB: Fixed bug #43620 (Workaround for a bug inside libcurl 7.16.2 that can
result in a crash)
2007-12-18 13:47:37 +00:00
Jani Taskinen b9fabc8ae6 MFH:- Fix indent of macros 2007-12-17 08:52:30 +00:00
Johannes Schlüter bbfe422bd1 - MFH: Fix #43611 SplObjectStorage is available since 5.1.2 2007-12-16 22:19:58 +00:00
Hannes Magnusson 327109fab1 MFB5.3: Fix test 2007-12-16 19:18:44 +00:00
Ilia Alshanetsky 1643c14e5f MFB: Fixed bug #43589 (a possible infinite loop in bz2_filter.c) 2007-12-16 17:22:31 +00:00
Ilia Alshanetsky 6dc859da75 MFB: Fixed bug #43606 (define missing depencies of the exif extension) 2007-12-16 17:14:54 +00:00
Hannes Magnusson 25a7740600 Fix protos 2007-12-15 12:52:11 +00:00
Raghubansh Kumar ee8d2395e1 New testcases for token_get_all() function 2007-12-14 16:23:12 +00:00
Antony Dovgal eb324c4cce MFH 2007-12-13 22:30:28 +00:00
Douglas Goldstein 45dba3ecc7 add tests for ldap_dn2ufn() 2007-12-13 17:59:52 +00:00
Douglas Goldstein 2013cd57cd expand ldap_explode_dn() tests. 2007-12-13 17:46:46 +00:00
Dmitry Stogov 853adf67f9 Fixed test 2007-12-13 07:57:24 +00:00
Ilia Alshanetsky c35249d45e MFB Fixed bug #43580 (removed bogus declaration of a non-existent php_is_url()
function)
2007-12-13 00:33:26 +00:00
Antony Dovgal 0e70b8fea0 MFH: add valgrind 3.3.0 support 2007-12-12 20:21:57 +00:00
Douglas Goldstein 8f8e19dc7b add skipif case if the ldap extension is not loaded 2007-12-11 17:35:11 +00:00
Douglas Goldstein 57dbd0837a put ldap_explode_dn.phpt in proper directory 2007-12-11 17:33:51 +00:00
Douglas Goldstein becf94003a Adding initial tests for LDAP module. Adding tests for ldap_explode_dn() function 2007-12-11 17:20:58 +00:00
Jani Taskinen 0644aff586 MFH:- Revert previous patch, it was correct to do this, error is logged if logging is enabled 2007-12-11 12:26:16 +00:00
Jani Taskinen 882bd652df MFH: fix error displaying 2007-12-11 11:29:37 +00:00
Raghubansh Kumar b1c09efa90 New testcases for array_walk() function 2007-12-11 10:50:17 +00:00
Raghubansh Kumar 1ed9911cfa New testcases for array_merge_recursive() function 2007-12-11 09:09:12 +00:00
Christopher Jones e2c7f9c485 Fix #42496. Cursor leak fetching LOBs 2007-12-11 06:07:13 +00:00
Ilia Alshanetsky 8a9ad0081d MFB: Fixed bug #43522 (stream_get_line() eats additional characters) 2007-12-10 14:18:02 +00:00
Derick Rethans 63dcbb73f0 - MFH: Fixed Bug #42272 (var_export() incorrectly escapes char(0)). 2007-12-09 16:55:46 +00:00
Ilia Alshanetsky 2caccf3136 Fixed bug #43533 (escapeshellarg('') returns null).
# Backport of code from 5.3
2007-12-09 16:37:02 +00:00
Raghubansh Kumar e31fd8027f new testcases for array_unique() function 2007-12-09 14:44:18 +00:00
Marcus Boerger f012dee00c -MFH: db 4.6 detection 2007-12-06 14:17:43 +00:00
Ilia Alshanetsky f6829cf90f MFB: Fixed bug #43495 (array_merge_recursive() crashes with recursive
arrays)
2007-12-05 20:04:13 +00:00
Ilia Alshanetsky e3ec29a3f1 MFB: fixed test 2007-12-04 13:05:24 +00:00
Ilia Alshanetsky bb9384cb8a MFB: Fixed bug #43493 (pdo_pgsql does not send username on connect when
password is not available)
2007-12-04 13:05:03 +00:00
Antony Dovgal 33885b64a4 MFH 2007-12-04 08:56:14 +00:00
Antony Dovgal fe8771ec81 fix typos
use the earliest bug report in the description
2007-12-03 16:33:37 +00:00
Dmitry Stogov aeae1ce48a bug numbers 2007-12-03 16:20:55 +00:00
Dmitry Stogov 0c2edc588d Fixed crash because of uninitialized SG(sapi_headers).mimetype 2007-12-03 16:04:26 +00:00
Derick Rethans 3f9a50c5bf - Updated to version 2007.10 2007-12-03 15:16:40 +00:00
Dmitry Stogov b68b2e029c Fixed weired behavior in CGI parameter parsing 2007-12-03 15:08:01 +00:00
Ilia Alshanetsky 32463e7af9 Fixed bug #43482 (array_pad() does not warn on very small pad numbers). 2007-12-03 14:11:09 +00:00
Raghubansh Kumar f0570bce0b fix tests : better float values 2007-12-03 13:04:45 +00:00
Raghubansh Kumar 0bf84145b2 fix tests: better float values 2007-12-03 11:59:55 +00:00
Raghubansh Kumar e12bef98c6 New testcases for array_pad() function 2007-12-03 11:53:04 +00:00
Raghubansh Kumar d47d025881 New testcases for array_chunk() function 2007-12-03 03:55:55 +00:00
Ilia Alshanetsky e2ed7b551f MFB: Fixed bug #43457 (Prepared statement with incorrect parms doens't
throw exception with pdo_pgsql driver)
2007-12-02 21:00:06 +00:00
Ilia Alshanetsky 83156cf04d Fixed a typo 2007-11-30 00:12:18 +00:00
Ilia Alshanetsky 056197037d MFB: Fixed tests 2007-11-28 14:50:24 +00:00
Rob Richards ff8e1a32f9 BFN 2007-11-28 10:47:36 +00:00
Rob Richards d5afff5286 MFH: Fix bug #43364 (recursive xincludes don't remove internal nodes properly)
add test
2007-11-28 10:45:16 +00:00
Raghubansh Kumar 1a8b3e0923 Marked with defect 2007-11-28 03:42:43 +00:00
Ilia Alshanetsky b1407d3709 MFB: Fixed bug #43373 (pcntl_fork() should not raise E_ERROR on error) 2007-11-27 17:14:27 +00:00
Raghubansh Kumar ea4f3ac8a3 New testcases for array_combine() function 2007-11-27 15:18:11 +00:00
Raghubansh Kumar 9de95af3db New testcases for array_sum() function 2007-11-27 15:00:55 +00:00
Antony Dovgal d3aff8310c fix test 2007-11-27 11:14:17 +00:00
Antony Dovgal 14902c89cc fix test 2007-11-27 06:44:32 +00:00
Ilia Alshanetsky 8330f31750 MFB: Revert addition of - char support for bound param names 2007-11-26 21:10:41 +00:00
Jani Taskinen a109ecaacf MFH:- Fixed bug #43365 (Several enums have trailing commas) 2007-11-26 10:59:18 +00:00
Ilia Alshanetsky 947cebee3c MFB: Fixed bug #43386 (array_globals not reset to 0 properly on init) 2007-11-25 15:56:47 +00:00
Robert Nicholson dc75c7c2a1 Fix incorrect use of assignment in where equality was intended - class tests. 2007-11-23 15:41:05 +00:00
Ilia Alshanetsky 3acbcf448f MFB: Fixed bug #43377 (PHP crashes with invalid argument for DateTimeZone) 2007-11-23 00:16:48 +00:00
Robert Nicholson 202e7f5b28 Add some more pcre tests 2007-11-21 18:21:19 +00:00
Jani Taskinen 14d5ba8aec MFH:- Fixed bug #43035: ignore_repeated_errors=On causes lot of tests to fail 2007-11-21 08:20:45 +00:00
Ilia Alshanetsky fdc2dab50b MFB: Adjusted fix for bug #42978 2007-11-20 23:12:30 +00:00
Ilia Alshanetsky a4bc590ec1 MFB: Fixed bug #42978 (mismatch between number of bound params and values
causes a crash in pdo_pgsql)
2007-11-20 14:23:47 +00:00
Antony Dovgal c39a2f7143 fix test 2007-11-19 11:12:36 +00:00
Dmitry Stogov 06a116cd53 Fixed tests 2007-11-19 08:01:56 +00:00
Derick Rethans 62fb0402db - MFH: Initialize the reserved resource bits so that they can be reliably used. 2007-11-18 21:30:30 +00:00
Ilia Alshanetsky 99a1f9e0b2 MFB: Fixed bug #42261 (Incorrect lengths for date and boolean data types) 2007-11-18 14:20:17 +00:00
Sara Golemon d92f11b9d6 MFH(r-1.192) Remove extraneous space in error/notice messages (felipe) 2007-11-17 21:52:06 +00:00
Raghubansh Kumar b99048d5c7 New testcases for sizeof() function 2007-11-16 17:55:55 +00:00
Raghubansh Kumar 9b85655327 fix tests: removed values that generate diff. output on Linux64 2007-11-16 17:04:19 +00:00
Jani Taskinen 369a97713c MFH: - Fixed bug #43092 (curl_copy_handle() crashes with > 32 chars long URL) 2007-11-16 14:19:35 +00:00
Jani Taskinen aaa295fa35 MFH:- Fixed bug #43301 (mb_ereg*_replace() crashes when replacement string is
invalid PHP expression and 'e' option is used)
2007-11-16 12:28:34 +00:00
Antony Dovgal 332e1b8482 MFH: fix test 2007-11-15 22:14:29 +00:00
Ilia Alshanetsky 81676a4b6e MFB: Fixed bug #43276 (Incomplete fix for bug #42739, mkdir() under
safe_mode).
2007-11-15 18:58:43 +00:00
Hannes Magnusson 177ed895d3 MFH test 2007-11-15 13:14:19 +00:00
Ilia Alshanetsky dbdbfe37f2 MFB: Don't show file names being examined 2007-11-14 23:45:39 +00:00
Elizabeth Marie Smith b9580cd54e MFB 2007-11-14 19:48:57 +00:00
Raghubansh Kumar b298641605 New testcases for uasort() function 2007-11-14 17:17:51 +00:00
Raghubansh Kumar bfe5708953 fix test for linux64 - choosing smaller float values 2007-11-14 16:30:09 +00:00
Hannes Magnusson d3fd30265a MFB5.3: Fixed bug#43293 (Multiple segfaults in getopt()) 2007-11-14 15:19:29 +00:00
Hannes Magnusson 1dd3064045 Fix test 2007-11-14 13:07:07 +00:00
Ilia Alshanetsky 916ad03b84 MFB: Fixed bug #43279 (pg_send_query_params() converts all elements in
'params' to strings)
2007-11-13 20:08:04 +00:00
Dmitry Stogov 5c6a2679c8 Fixed bug #42692 (Procedure 'int1' not present with doc/lit SoapServer) 2007-11-13 15:10:05 +00:00
Antony Dovgal 3258e0cef2 fix typo 2007-11-13 10:31:34 +00:00
Dmitry Stogov 6c7761c807 Fixed Bug #43248 (backward compatibility break in realpath()) 2007-11-13 09:46:39 +00:00
Zoe Slattery 332c87b12a MFH: Changing the regex for %f so the it will match E-, E+ and E. 2007-11-12 21:16:27 +00:00
Rob Richards fe13ae813d BFN 2007-11-12 19:00:04 +00:00
Rob Richards 376d5f828d MFH: fix bug #43221 (SimpleXML adding default namespace in addAttribute)
add test
2007-11-12 18:59:26 +00:00
Ilia Alshanetsky 5d09ce66a3 Fixed bug #43182 (file_put_contents() LOCK_EX does not work properly on
file
2007-11-12 18:47:46 +00:00
Antony Dovgal 144419b3a1 MFH: fix error message (reported by Felipe Nascimento) 2007-11-12 16:56:39 +00:00
Raghubansh Kumar 7a39cd0117 New testcases for ksort() function 2007-11-12 15:55:10 +00:00
Raghubansh Kumar 09e35a5107 New testcases for krsort() function 2007-11-12 15:54:35 +00:00
Antony Dovgal 7a369dc593 MFH: fix #42736 (xmlrpc_server_call_method() crashes) 2007-11-12 11:24:13 +00:00
Dmitry Stogov 2ea3105939 Fixed bug #42937 (__call() method not invoked when methods are called on parent from child class). 2007-11-12 09:11:49 +00:00
Ilia Alshanetsky 9ed8465d1b MFB: Fixed parse error described in bug #43228 2007-11-11 13:38:28 +00:00
Johannes Schlüter 6ff45cf55e - Use #if instead of #ifdef there (by Mikko Koppanen) 2007-11-10 19:52:08 +00:00
Raghubansh Kumar ad732b6140 fix tests 2007-11-09 12:00:57 +00:00
Dmitry Stogov 1ea2e504e3 Fixed bug #43216 (stream_is_local() returns false on "file://") 2007-11-09 09:37:42 +00:00
Dmitry Stogov 84c1ac4385 Fixed bug #43201 (Crash on using unitialized vals and __get/__set) 2007-11-09 09:28:18 +00:00
Dmitry Stogov 85a2d87bae Fixed bug #43175 (__destruct() throwing an exception with __call() causes segfault) 2007-11-09 09:16:45 +00:00
Raghubansh Kumar a91fe5ca49 fix test: better float values 2007-11-09 08:57:18 +00:00
Raghubansh Kumar 6ca1fdbc25 fix tests: better float values 2007-11-09 07:09:52 +00:00
Ilia Alshanetsky 9623aa59eb Fixed win32 build 2007-11-09 03:51:12 +00:00
Ilia Alshanetsky 0125436439 Back to dev 2007-11-08 13:53:14 +00:00
Ilia Alshanetsky af81b9d973 5.2.5 2007-11-08 13:44:12 +00:00
Antony Dovgal e9e1ba64e9 MFH 2007-11-08 11:39:59 +00:00
Antony Dovgal 2bb2bcdcce fix tests 2007-11-08 11:19:46 +00:00
Antony Dovgal f237b06942 fix test 2007-11-08 10:30:08 +00:00
Antony Dovgal 9958658fc3 MFH: fix test 2007-11-08 10:13:47 +00:00
Antony Dovgal 527f581a6b MFH 2007-11-08 08:12:01 +00:00
Dmitry Stogov 76a5faaf8f Fixed tests 2007-11-08 07:06:55 +00:00
Antony Dovgal 0e6b470417 fix tests 2007-11-07 12:07:59 +00:00
Antony Dovgal 295c1cc04e MFH 2007-11-07 08:31:04 +00:00
Jani Taskinen df35a307cc MFH: - Fixed bug #43196 (array_intersect_assoc() crashes with non-array input) 2007-11-06 13:28:21 +00:00
Raghubansh Kumar c6779ec584 New testcases for asort() function 2007-11-05 16:37:45 +00:00
Raghubansh Kumar f87b27a84e better test title 2007-11-05 16:24:37 +00:00
Raghubansh Kumar bbc87a14eb New testcases for sort() function 2007-11-05 15:38:03 +00:00
Raghubansh Kumar c1ee9eeecf New testcases for array_intersect_assoc() function 2007-11-05 14:39:42 +00:00
Derick Rethans db4b1f7f46 - Updated to version 2007.9 2007-11-05 10:36:50 +00:00
Mattias Bengtsson 5697c1a9ac - Right filename 2007-11-05 01:14:18 +00:00
Mattias Bengtsson 7f57a366dc - Fixed Bug #43121 (gdImageFill with IMG_COLOR_TILED crashes httpd) 2007-11-04 23:56:00 +00:00
Raghubansh Kumar 72c994d464 fix tests: proper temp file names 2007-11-02 03:54:05 +00:00
Raghubansh Kumar 5302a164b1 fix tests: proper temp file names 2007-11-02 03:16:22 +00:00
Raghubansh Kumar 72a009a2f2 Fix test: better float values 2007-11-02 03:00:18 +00:00
Ilia Alshanetsky 79cd4dc1c3 back to dev 2007-11-01 22:37:35 +00:00
Ilia Alshanetsky e3eb1b9bed 5.2.5RC2 2007-11-01 22:33:31 +00:00
Antony Dovgal f6966f28d0 MFH: initialize correct variable 2007-11-01 19:13:49 +00:00
Jani Taskinen e207cc58ac MFH: nuke unused variables 2007-11-01 17:32:26 +00:00
Dmitry Stogov 67f6979df2 Another fix for bug #42773 2007-11-01 15:41:13 +00:00
Dmitry Stogov e468aa44a2 Fixed bug #42848 (Status: header incorrect under FastCGI) 2007-11-01 15:23:14 +00:00
Dmitry Stogov fc6d3652f9 Fixed bug #41635 (SoapServer and zlib.output_compression with FastCGI result in major slowdown) 2007-11-01 14:11:47 +00:00
Dmitry Stogov 375bf36e42 Fixed bug #42773 (WSDL error causes HTTP 500 Response) 2007-11-01 14:10:19 +00:00
Robert Nicholson 997925db9f delete .project file 2007-11-01 10:34:38 +00:00
Robert Nicholson fa0e4863a2 update min_error and max_error testcases to take into account bug fix for bug#43125 2007-11-01 08:42:32 +00:00
Dmitry Stogov 2e869a00ac Added CGI SAPI -T option, to measure execution time of script repeated several times. 2007-10-31 18:24:42 +00:00
Jani Taskinen 171184b64d MFH: fix typo 2007-10-31 13:39:14 +00:00
Jani Taskinen bdbcc4b6d3 MFH: - Fixed Bug #43137 (rmdir() and rename() do not clear statcache) 2007-10-31 13:23:07 +00:00
Ilia Alshanetsky f4cd343b6c MFB: Fixed bug #43139 PDO ignores ATTR_DEFAULT_FETCH_MODE in some cases with
fetchAll()
2007-10-31 12:58:24 +00:00
Ilia Alshanetsky e5db0d8077 MFB: Test not relavent for sqlite that uses built-in bound syntax 2007-10-30 23:03:54 +00:00
Ilia Alshanetsky 68893b0cb4 MFB: Fixed bug #43130 (Bound parameters cannot have - in their name) 2007-10-29 22:37:25 +00:00
Jani Taskinen caa0de9205 MFH 2007-10-29 09:05:55 +00:00
Ilia Alshanetsky 39f1f2fcd3 MFB: Fixed bug #42976 (Crash when constructor for newInstance() or
newInstanceArgs() fails)
2007-10-28 13:47:14 +00:00
Raghubansh Kumar b89ab4a4d5 New testcases for shuffle() function 2007-10-27 12:29:25 +00:00
Raghubansh Kumar 6d9165b332 New testcases for array_intersect() function 2007-10-27 12:16:57 +00:00
Stanislav Malyshev b196fbece9 add attribution 2007-10-26 17:45:26 +00:00
Robert Nicholson 85122b5ae6 Remove unneeded INI sections 2007-10-26 16:08:34 +00:00
Raghubansh Kumar 8ba0f7f275 more testcases for array_unshift() function 2007-10-26 11:47:50 +00:00
Robert Nicholson 8ae4fa2810 new testcases for array_splice 2007-10-26 11:07:31 +00:00
Robert Nicholson b6900cb61d new testcases for max and min 2007-10-26 11:02:04 +00:00
Jani Taskinen 9a6012ff21 fix news 2007-10-26 08:13:15 +00:00
Antony Dovgal ef0652c7f3 MFH 2007-10-25 13:01:16 +00:00
Antony Dovgal 54e44a4707 MFH 2007-10-25 11:54:23 +00:00
Dmitry Stogov 602f26dc08 Added ability to control memory consumption between request using ZEND_MM_COMPACT environment variable 2007-10-25 07:30:29 +00:00
Ilia Alshanetsky 68f328560d MFB: Fixed bug #43099 (XMLWriter::endElement() does not check # of params) 2007-10-24 22:50:19 +00:00
Dmitry Stogov 1155200b02 Fixed realpath cache for existent file with CWD_FILEPATH flag on win32 2007-10-23 05:57:35 +00:00
Mattias Bengtsson a04472df2e - Be paranoid and dont allow multiplication with zero 2007-10-23 01:58:08 +00:00
Ilia Alshanetsky 521048a9ae MFB: Fixed bug #4294 (Move *timeout initialization from RINIT to connect
time)
2007-10-22 22:43:44 +00:00
Raghubansh Kumar 4846f7e349 more testcase for array_filter() function 2007-10-22 11:13:51 +00:00
Andrey Hristov 7c21b37a2f Make it compile with libmysql 3.23 2007-10-22 10:35:33 +00:00
Dmitry Stogov f8e5189286 forgotten description 2007-10-22 07:52:03 +00:00
Dmitry Stogov 9926736605 Fixed move_uploaded_file() to always set file permissions of resulting file according to UMASK (Andrew Sitnikov) 2007-10-22 07:37:20 +00:00
Ilia Alshanetsky 0139100668 MFB: Fixed bug #42944 (test failing due to expectation that /etc/passwd has
0644 permissions).
2007-10-21 15:41:45 +00:00
Raghubansh Kumar 083c7f05ca New tetscases for array_rand() function 2007-10-19 18:39:52 +00:00
Raghubansh Kumar ff9f6404dd New testcases for array_fill() function 2007-10-19 18:34:16 +00:00
Raghubansh Kumar ee0c90556e New testcases for array_filter() function 2007-10-19 18:18:17 +00:00
Raghubansh Kumar 5516f0a247 New testcases for array_unshift() function 2007-10-19 09:12:22 +00:00
Robert Thompson 586ceb9d40 formatting 2007-10-19 05:35:05 +00:00
Robert Thompson 08433295c4 News for getcwd() failure fix. 2007-10-19 01:22:24 +00:00
Ilia Alshanetsky c6ec417654 Back to dev 2007-10-18 23:09:54 +00:00
Ilia Alshanetsky 63f4dc835e 5.2.5RC1 2007-10-18 22:59:43 +00:00
Scott MacVicar 3e47b3cb7b MFB53: Fixed bug #43020 (Warning message is missing with shuffle() and more than one argument) 2007-10-18 14:39:08 +00:00
Dmitry Stogov 168f127abb Fixed bug #42722 (display_errors setting ignored for E_PARSE and HTTP 500 page) 2007-10-18 13:11:30 +00:00
Marcus Boerger 2e2a566c15 - BFN 2007-10-18 05:32:50 +00:00
Marcus Boerger 9f6936fc0c - MF53 Fix for #41692, #42703
# Now in correct branch with fixed checkout and so on
2007-10-18 05:26:55 +00:00
Marcus Boerger efc78b635b - Fix test expectation 2007-10-18 04:51:53 +00:00
Marcus Boerger 017fa36d3f - MFB #42654, #42704 2007-10-18 04:49:55 +00:00
Dmitry Stogov c43fe1c6cf Fixed possible crash because of uninitialized value (Zdash Urf) 2007-10-17 12:08:46 +00:00
Dmitry Stogov 82264b0b45 Fixed bug #42637 (SoapFault : Only http and https are allowed) 2007-10-17 11:17:46 +00:00
Antony Dovgal 7a9cd0a4fd MFH 2007-10-17 08:19:50 +00:00
Antony Dovgal 36e950eb5f avoid double free and use zval_dtor() where neccessary 2007-10-16 13:20:29 +00:00
Andrey Hristov c8f8766461 MFB5_3 : Shadowing of params bring undefined results. 2007-10-16 13:00:32 +00:00
Raghubansh Kumar 7a97b74637 New testcases for array_flip() function 2007-10-15 06:29:37 +00:00
Raghubansh Kumar 92642d0189 New testcases for array_reverse() function 2007-10-15 06:09:27 +00:00
Hannes Magnusson a029117eb5 MFH: fix typo and remove dots in error message 2007-10-13 11:35:35 +00:00
Ilia Alshanetsky accfde57ca MFB: Fixed bug #42917 (PDO::FETCH_KEY_PAIR doesn't work with setFetchMode) 2007-10-11 20:56:22 +00:00
Derick Rethans 94a3bb327e - Updated to version 2007.8 2007-10-11 18:54:37 +00:00
Raghubansh Kumar d7e424acbe fix test (temp. file name) 2007-10-11 11:53:16 +00:00
Jani Taskinen 979e8b5896 MFB53 2007-10-11 09:33:53 +00:00
Jani Taskinen 3c9eb61d04 MF53 2007-10-11 08:28:02 +00:00
Robert Thompson 98505945f2 Fix for bug 41899, safe mode and relative paths with Solaris's broken getcwd(). 2007-10-10 23:54:39 +00:00
Jani Taskinen 6f128d2dd7 - Generated with more recent re2c version 2007-10-10 09:28:51 +00:00
Ilia Alshanetsky 00f18d764a MFB: Fixed bug #42869 (automatic session id insertion adds sessions id to
non-local forms)
2007-10-10 00:35:52 +00:00
Scott MacVicar 6928bdc6bf MFH: Add constant to allow setting of character set with mysqli_options prior to connection. 2007-10-09 16:56:38 +00:00
Raghubansh Kumar 2a078d14c9 New testcases for strip_tags() function 2007-10-09 12:47:00 +00:00
Raghubansh Kumar 1993c9a384 fix test 2007-10-09 12:19:27 +00:00
Raghubansh Kumar ecf81d1529 fix tests 2007-10-09 12:12:19 +00:00
Raghubansh Kumar bf428e90a5 fix tests 2007-10-09 10:56:45 +00:00
Scott MacVicar 7deeb54fe1 MFH: Fix expand_filepath when including relative files, ideally you should test your code... 2007-10-09 10:06:34 +00:00
Jani Taskinen 6d078cea10 MFH: ws + cs 2007-10-09 08:40:47 +00:00
Raghubansh Kumar fdf4c22696 fix tests 2007-10-09 06:18:47 +00:00
Raghubansh Kumar be49c27d17 more tests for fseek(), ftell() & rewind() for win32 2007-10-09 04:55:14 +00:00
Raghubansh Kumar 0c9f9f8ef9 fix tests 2007-10-09 04:07:24 +00:00
Andrey Hristov 8cc2f5d576 News entry 2007-10-08 18:27:18 +00:00
Andrey Hristov 3f6b49a340 Fix for bug #42890 Constant "LIST" defined by mysqlclient and c-client 2007-10-08 18:25:52 +00:00
Raghubansh Kumar 393a686507 fix test 2007-10-08 16:02:55 +00:00
Raghubansh Kumar b8e0f7e78a fix test 2007-10-08 15:44:26 +00:00
Raghubansh Kumar 40098256fb fix tests 2007-10-08 15:36:01 +00:00
Raghubansh Kumar 50a4e50d03 New testcases for strtr() function 2007-10-08 15:19:56 +00:00
Raghubansh Kumar 99d99a0ba0 New testcases for get_html_translation_table() function 2007-10-08 15:19:27 +00:00
Raghubansh Kumar f075e78ac1 fix test 2007-10-08 06:19:11 +00:00
Robert Thompson 477e2b315b Fix for bug 41822 and 41899. expand_filepath() will now return a relative path under the specific situation where getcwd() returns NULL and the file is
still readable.  As far as I have been able to tell, this fix only applies to the Solaris OS where files in directories with (--x) cannot getcwd().
2007-10-08 02:49:26 +00:00
Antony Dovgal 98599a1c23 MFH: fix ws & folding 2007-10-06 21:35:53 +00:00
Raghubansh Kumar ea8fc31bf3 New testcases for setlocale() function 2007-10-05 19:30:51 +00:00
Raghubansh Kumar b84873aa96 New testcases for nl2br() function 2007-10-05 18:44:35 +00:00
Raghubansh Kumar 7cf81e0fe0 New testcases for strrpos() function 2007-10-05 18:31:51 +00:00
Raghubansh Kumar 620b1c63d0 New testcases for str_split() function 2007-10-05 18:16:34 +00:00
Raghubansh Kumar 2a05dfadb2 New testcases for vsprintf() function 2007-10-05 18:07:28 +00:00
Jani Taskinen 5a8c9a7d1c MFH: fix test 2007-10-05 14:57:51 +00:00
Nuno Lopes e1a402b6da allow lcov 1.6 2007-10-05 14:51:36 +00:00
Ilia Alshanetsky f9137cddf6 BFN 2007-10-04 23:26:04 +00:00
Ilia Alshanetsky 07710a5fb9 MFB: Fixed bug #42817 (clone() on a non-object does not result in a fatal
error)
2007-10-04 23:23:43 +00:00
Jani Taskinen 1be447eb95 MFH: Removed ending dots from error messages 2007-10-04 13:31:11 +00:00
Ilia Alshanetsky 91e99495af MFB: Fixed bug #42783 (pg_insert() does not accept an empty list for
insertion)
2007-10-03 23:31:58 +00:00
Michael Wallner b260f03830 MFH: fix CURLOPT_TIMEOUT_MS support 2007-10-03 20:34:48 +00:00
Dmitry Stogov 0cd4039af2 Fixed bug #42818 ($foo = clone(array()); leaks memory) 2007-10-03 09:47:25 +00:00
Dmitry Stogov c7047381f5 Fixed bug #42772 (Storing $this in a static var fails while handling a cast to string) 2007-10-03 08:02:19 +00:00
Stanislav Malyshev f422acca26 add html* utf fix 2007-10-03 05:03:12 +00:00
Stanislav Malyshev ecc9d28fed add test with invalid sequences 2007-10-03 04:58:41 +00:00
Stanislav Malyshev 5e82a38f0a do not accept partial multibyte sequences in html* functions 2007-10-03 04:53:05 +00:00
Antony Dovgal 63b3528cb1 improved recursion detection in array_walk()
fixes #42752, though the leaks are still there
2007-10-02 10:04:13 +00:00
Ilia Alshanetsky 139996e1ac MFB: Added test for bug #42785 2007-10-01 15:33:21 +00:00
Ilia Alshanetsky f89aae49a7 MFB: Fixed bug #42785 (json_encode() formats doubles according to locale
rather then following standard syntax).
2007-10-01 15:23:15 +00:00
Ilia Alshanetsky 94eb3ed91b MFB: Fixed typo in previous patch 2007-10-01 15:00:15 +00:00
Ilia Alshanetsky 191bf235ed MFB: Refactor code to make fixes for coverity issues #385 and #386 a bit
more obvious
2007-10-01 14:53:01 +00:00
Antony Dovgal 7d889d818a fix test 2007-10-01 10:41:36 +00:00
Antony Dovgal d70e63458f fix tests 2007-10-01 10:25:50 +00:00
Antony Dovgal 23d9af29d7 these dots exist since PHP3
even though Jani removed them in 5_3, I can't see how they can cause any BUGS
2007-10-01 10:22:43 +00:00
Pierre Joye 73219c9cb0 - add notice about glob regression (Lukas) 2007-10-01 08:14:03 +00:00
Raghubansh Kumar e538e493d7 smaller tests already exist 2007-09-29 17:21:41 +00:00
Raghubansh Kumar 2770262bad New testcases for sprintf() function 2007-09-29 14:13:53 +00:00
Raghubansh Kumar 69158b5e18 New testcases for chunk_split() function 2007-09-29 12:55:34 +00:00
Raghubansh Kumar f0435592a0 New testcases for stripos() function 2007-09-29 09:19:43 +00:00
Raghubansh Kumar 6eaef0712e New testcases for strrchr() function 2007-09-29 09:18:07 +00:00
Raghubansh Kumar 64f7dafa74 New testcases for join() function 2007-09-29 09:10:18 +00:00
Raghubansh Kumar 16242cd2df New testcases for htmlspecialchars_decode() function 2007-09-29 09:00:48 +00:00
Johannes Schlüter 11d5f9c7c4 - MFH: Fix type in example 2007-09-28 22:04:47 +00:00
Ilia Alshanetsky 3447b26334 MFB: Fixed coverity issue #470 Unitialized integer value used inside
zend_ini_boolean_displayer_cb
2007-09-27 17:27:15 +00:00
Jani Taskinen 12760053c1 missing folding tag 2007-09-27 16:42:11 +00:00
Jani Taskinen 52095f58a5 MFH: use Z_STR* macros 2007-09-27 16:29:27 +00:00
Jani Taskinen b024bedbdb MFH: ws 2007-09-27 16:00:20 +00:00
Jani Taskinen 5cb0b7609a MFH: ws + cs (to keep in sync with HEAD/PHP_5_3 only!) 2007-09-27 15:54:49 +00:00
Jani Taskinen 2c841333ee ws + cs fixes 2007-09-27 13:15:09 +00:00
Antony Dovgal 474f6eef5e MFH: fix coverity issue #412 2007-09-27 09:19:06 +00:00
Antony Dovgal eb2659c7b2 MFH: fix coverity issue #411 2007-09-27 09:15:20 +00:00
4376 changed files with 306302 additions and 203649 deletions

No files matched your search

+2 -2
View File
@@ -1,8 +1,8 @@
define ____executor_globals
if basic_functions_module.zts
set $tsrm_ls = ts_resource_ex(0, 0)
set $eg = ((zend_executor_globals) (*((void ***) $tsrm_ls))[executor_globals_id-1])
set $cg = ((zend_compiler_globals) (*((void ***) $tsrm_ls))[compiler_globals_id-1])
set $eg = ((zend_executor_globals*) (*((void ***) $tsrm_ls))[executor_globals_id-1])
set $cg = ((zend_compiler_globals*) (*((void ***) $tsrm_ls))[compiler_globals_id-1])
else
set $eg = executor_globals
set $cg = compiler_globals
+174
View File
@@ -0,0 +1,174 @@
ext/mysqlnd/mysqlnd.h ident
ext/simplexml/simplexml.c ident
ext/iconv/php_iconv.h ident
ext/posix/posix.c ident
ext/recode/recode.c ident
ext/skeleton/create_stubs ident
ext/phar/phar/pharcommand.inc ident
ext/phar/phar.c ident
ext/sysvmsg/sysvmsg.c ident
ext/enchant/enchant.c ident
ext/reflection/php_reflection.c ident
ext/oci8/oci8.c ident
ext/dba/libinifile/inifile.c ident
ext/dba/libflatfile/flatfile.c ident
ext/dba/libcdb/cdb_make.c ident
ext/dba/libcdb/cdb.c ident
ext/filter/filter.c ident
ext/zip/php_zip.c ident
README.input_filter ident
run-tests.php ident
sapi/nsapi/nsapi.c ident
sapi/continuity/capi.c ident
Zend/RFCs/002.txt ident
Zend/RFCs/003.txt ident
NEWS merge=NEWS
/ext/bz2/tests/005.phpt -crlf
/ext/dom/tests/dom005.phpt -crlf
/ext/dom/tests/DOMImplementation_createDocumentType_basic.phpt -crlf
/ext/ereg/tests/009.phpt -crlf
/ext/iconv/tests/eucjp2sjis.phpt -crlf
/ext/iconv/tests/eucjp2utf8.phpt -crlf
/ext/iconv/tests/iconv_stream_filter_delimiter.phpt -crlf
/ext/iconv/tests/iconv_stream_filter.phpt -crlf
/ext/mbstring/tests/mb_split-compat-01.phpt -crlf
/ext/phar/tests/005.phpt -crlf
/ext/phar/tests/phar_commitwrite.phpt -crlf
/ext/phar/tests/phar_create_in_cwd.phpt -crlf
/ext/phar/tests/phar_mount.phpt -crlf
/ext/reflection/tests/009.phpt -crlf
/ext/reflection/tests/025.phpt -crlf
/ext/standard/tests/general_functions/highlight_heredoc.phpt -crlf
/ext/standard/tests/general_functions/parse_ini_file.phpt -crlf
/ext/standard/tests/general_functions/parse_ini_string_002.phpt -crlf
/ext/standard/tests/strings/006.phpt -crlf
/ext/standard/tests/strings/addslashes_variation2.phpt -crlf
/ext/standard/tests/strings/addslashes_variation3.phpt -crlf
/ext/standard/tests/strings/bug21453.phpt -crlf
/ext/standard/tests/strings/chop_variation3.phpt -crlf
/ext/standard/tests/strings/chunk_split_variation11.phpt -crlf
/ext/standard/tests/strings/chunk_split_variation12.phpt -crlf
/ext/standard/tests/strings/chunk_split_variation4.phpt -crlf
/ext/standard/tests/strings/crc32_variation2.phpt -crlf
/ext/standard/tests/strings/crc32_variation3.phpt -crlf
/ext/standard/tests/strings/crc32_variation4.phpt -crlf
/ext/standard/tests/strings/highlight_file.phpt -crlf
/ext/standard/tests/strings/htmlentities_html4.phpt -crlf
/ext/standard/tests/strings/lcfirst.phpt -crlf
/ext/standard/tests/strings/ltrim.phpt -crlf
/ext/standard/tests/strings/nl2br_variation2.phpt -crlf
/ext/standard/tests/strings/php_strip_whitespace.phpt -crlf
/ext/standard/tests/strings/rtrim.phpt -crlf
/ext/standard/tests/strings/sprintf_f_2.phpt -crlf
/ext/standard/tests/strings/sprintf_variation15.phpt -crlf
/ext/standard/tests/strings/strcspn_variation6.phpt -crlf
/ext/standard/tests/strings/strcspn_variation7.phpt -crlf
/ext/standard/tests/strings/strcspn_variation8.phpt -crlf
/ext/standard/tests/strings/stripos_variation1.phpt -crlf
/ext/standard/tests/strings/stripos_variation3.phpt -crlf
/ext/standard/tests/strings/stripos_variation4.phpt -crlf
/ext/standard/tests/strings/stripos_variation5.phpt -crlf
/ext/standard/tests/strings/stripos_variation6.phpt -crlf
/ext/standard/tests/strings/stripslashes_variation2.phpt -crlf
/ext/standard/tests/strings/stripslashes_variation3.phpt -crlf
/ext/standard/tests/strings/stripslashes_variation4.phpt -crlf
/ext/standard/tests/strings/stripslashes_variation5.phpt -crlf
/ext/standard/tests/strings/str_ireplace.phpt -crlf
/ext/standard/tests/strings/strnatcmp_basic.phpt -crlf
/ext/standard/tests/strings/strncasecmp_variation9.phpt -crlf
/ext/standard/tests/strings/strpos.phpt -crlf
/ext/standard/tests/strings/strrchr_variation1.phpt -crlf
/ext/standard/tests/strings/strrchr_variation2.phpt -crlf
/ext/standard/tests/strings/strrchr_variation3.phpt -crlf
/ext/standard/tests/strings/strrchr_variation4.phpt -crlf
/ext/standard/tests/strings/strrchr_variation6.phpt -crlf
/ext/standard/tests/strings/strrchr_variation7.phpt -crlf
/ext/standard/tests/strings/str_replace.phpt -crlf
/ext/standard/tests/strings/strrev_variation3.phpt -crlf
/ext/standard/tests/strings/strrev_variation4.phpt -crlf
/ext/standard/tests/strings/strripos_variation1.phpt -crlf
/ext/standard/tests/strings/strripos_variation2.phpt -crlf
/ext/standard/tests/strings/strripos_variation3.phpt -crlf
/ext/standard/tests/strings/strripos_variation4.phpt -crlf
/ext/standard/tests/strings/strripos_variation5.phpt -crlf
/ext/standard/tests/strings/strrpos_variation1.phpt -crlf
/ext/standard/tests/strings/strrpos_variation2.phpt -crlf
/ext/standard/tests/strings/strrpos_variation3.phpt -crlf
/ext/standard/tests/strings/strrpos_variation4.phpt -crlf
/ext/standard/tests/strings/strrpos_variation5.phpt -crlf
/ext/standard/tests/strings/strrpos_variation6.phpt -crlf
/ext/standard/tests/strings/strspn_variation5.phpt -crlf
/ext/standard/tests/strings/strspn_variation6.phpt -crlf
/ext/standard/tests/strings/strspn_variation7.phpt -crlf
/ext/standard/tests/strings/strspn_variation8.phpt -crlf
/ext/standard/tests/strings/strstr.phpt -crlf
/ext/standard/tests/strings/strtok_variation1.phpt -crlf
/ext/standard/tests/strings/strtok_variation3.phpt -crlf
/ext/standard/tests/strings/strtr_variation1.phpt -crlf
/ext/standard/tests/strings/strtr_variation2.phpt -crlf
/ext/standard/tests/strings/str_word_count.phpt -crlf
/ext/standard/tests/strings/trim1.phpt -crlf
/ext/standard/tests/strings/ucfirst.phpt -crlf
/ext/standard/tests/strings/vfprintf_variation10.phpt -crlf
/ext/standard/tests/strings/vfprintf_variation12.phpt -crlf
/ext/standard/tests/strings/vfprintf_variation16.phpt -crlf
/ext/standard/tests/strings/vfprintf_variation18.phpt -crlf
/ext/standard/tests/strings/vfprintf_variation4.phpt -crlf
/ext/standard/tests/strings/vfprintf_variation6.phpt -crlf
/ext/standard/tests/strings/vfprintf_variation7.phpt -crlf
/ext/standard/tests/strings/vfprintf_variation8.phpt -crlf
/ext/standard/tests/strings/vprintf_variation10.phpt -crlf
/ext/standard/tests/strings/vprintf_variation12.phpt -crlf
/ext/standard/tests/strings/vprintf_variation14.phpt -crlf
/ext/standard/tests/strings/vprintf_variation18.phpt -crlf
/ext/standard/tests/strings/vprintf_variation4.phpt -crlf
/ext/standard/tests/strings/vprintf_variation6.phpt -crlf
/ext/standard/tests/strings/vprintf_variation7.phpt -crlf
/ext/standard/tests/strings/vprintf_variation8.phpt -crlf
/ext/standard/tests/strings/vsprintf_variation10.phpt -crlf
/ext/standard/tests/strings/vsprintf_variation12.phpt -crlf
/ext/standard/tests/strings/vsprintf_variation14.phpt -crlf
/ext/standard/tests/strings/vsprintf_variation16.phpt -crlf
/ext/standard/tests/strings/vsprintf_variation4.phpt -crlf
/ext/standard/tests/strings/vsprintf_variation6.phpt -crlf
/ext/standard/tests/strings/vsprintf_variation7.phpt -crlf
/ext/standard/tests/strings/vsprintf_variation8.phpt -crlf
/ext/standard/tests/strings/wordwrap.phpt -crlf
/ext/tidy/tests/010.phpt -crlf
/ext/tidy/tests/012.phpt -crlf
/ext/tidy/tests/025.phpt -crlf
/ext/tidy/tests/030.phpt -crlf
/ext/tokenizer/tests/bug26463.phpt -crlf
/ext/tokenizer/tests/token_get_all_variation12.phpt -crlf
/ext/tokenizer/tests/token_get_all_variation13.phpt -crlf
/ext/tokenizer/tests/token_get_all_variation14.phpt -crlf
/ext/tokenizer/tests/token_get_all_variation15.phpt -crlf
/ext/tokenizer/tests/token_get_all_variation16.phpt -crlf
/ext/tokenizer/tests/token_get_all_variation17.phpt -crlf
/ext/tokenizer/tests/token_get_all_variation18.phpt -crlf
/ext/tokenizer/tests/token_get_all_variation19.phpt -crlf
/ext/tokenizer/tests/token_get_all_variation4.phpt -crlf
/ext/tokenizer/tests/token_get_all_variation5.phpt -crlf
/ext/tokenizer/tests/token_get_all_variation6.phpt -crlf
/ext/tokenizer/tests/token_get_all_variation7.phpt -crlf
/ext/tokenizer/tests/token_get_all_variation8.phpt -crlf
/ext/tokenizer/tests/token_get_all_variation9.phpt -crlf
/ext/xml/tests/bug26614_libxml.phpt -crlf
/ext/xmlwriter/tests/004.phpt -crlf
/ext/xmlwriter/tests/OO_004.phpt -crlf
/ext/zlib/tests/005.phpt -crlf
/ext/zlib/tests/gzfile_basic2.phpt -crlf
/ext/zlib/tests/gzfile_basic.phpt -crlf
/ext/zlib/tests/gzfilegzreadfile.phpt -crlf
/ext/zlib/tests/readgzfile_basic2.phpt -crlf
/ext/zlib/tests/readgzfile_basic.phpt -crlf
/sapi/cli/tests/014.phpt -crlf
/tests/run-test/test010.phpt -crlf
/Zend/tests/bug35655.phpt -crlf
/Zend/tests/bug48930.phpt -crlf
/Zend/tests/bug61095.phpt -crlf
/Zend/tests/heredoc_017.phpt -crlf
/Zend/tests/heredoc_018.phpt -crlf
/Zend/tests/nowdoc_013.phpt -crlf
/Zend/tests/nowdoc_014.phpt -crlf
/Zend/tests/nowdoc_015.phpt -crlf
+254
View File
@@ -0,0 +1,254 @@
# General Ignores
*~
.#*
*.
*.slo
*.mk
*.mem
*.gcda
*.gcno
*.la
*.lo
*.o
*.a
*.ncb
*.opt
*.plg
*swp
*.patch
*.tgz
*.tar.gz
*.tar.bz2
.FBCIndex
.FBCLockFolder
.deps
.libs
phpt.*
core
dynlib.m4
Debug
Debug_TS
Makefile
Makefile.fragments
Makefile.objects
Release
Release_TS
Release_TSDbg
Release_TS_inline
Release_inline
ZendEngine1
_libs
acconfig.h
aclocal.m4
autom4te.cache
bsd_converted
buildconf.stamp
buildmk.stamp
confdefs.h
config.h
config.guess
config.cache
config.h.in
config.log
config.nice
config.nice.bat
config.status
config.sub
config_vars.mk
configuration-parser.c
configuration-parser.h
configuration-parser.output
configuration-scanner.c
configure
configure.bat
configure.js
conftest
conftest.c
debug.log
diff
generated_lists
include
install-sh
internal_functions.c
lcov_data
lcov_html
libs
libtool
meta_cc
meta_ccld
missing
mkinstalldirs
modules
php
php-*.tar.gz
php5.spec
php_lcov.info
php_test_results_*.txt
php_version.h
results.txt
shlibtool
stamp-h
test.php3
tmp-php.ini
want_dependencies
x64
stamp-h.in
scan_makefile_in.awk
TSRM/tsrm_config.h
Zend/zend_config.h
Zend/zend_ini_parser.c
Zend/zend_ini_parser.h
Zend/zend_ini_parser.output
Zend/zend_language_parser.c
Zend/zend_language_parser.h
Zend/zend_language_parser.output
ext/date/lib/timelib_config.h
ext/iconv/php_iconv_aliased_libiconv.h
ext/phar/phar.php
main/php_config.h
main/php_config.h.in
# Test specific Ignores
tests/*/*.diff
tests/*/*.out
tests/*/*.php
tests/*/*.exp
tests/*/*.log
tests/*/*.sh
*/tests/*.diff
*/tests/*.out
*/tests/*.php
*/tests/*.exp
*/tests/*.log
*/tests/*.sh
*/tests/*/*.diff
*/tests/*/*.out
*/tests/*/*.php
*/tests/*/*.exp
*/tests/*/*.log
*/tests/*/*.sh
*/*/tests/*.diff
*/*/tests/*.out
*/*/tests/*.php
*/*/tests/*.exp
*/*/tests/*.log
*/*/tests/*.sh
*/*/tests/*/*.diff
*/*/tests/*/*.out
*/*/tests/*/*.php
*/*/tests/*/*.exp
*/*/tests/*/*.log
*/*/tests/*/*.sh
# Extension specifc ignores
ext/*/configure.in
ext/*/ltmain.sh
ext/*/libs.mk
ext/*/build
ext/*/scan_makefile_in.awk
ext/*/Makefile.global
ext/*/acinclude.m4
ext/*/config.sub
# Extension specific
ext/iconv/scan_makefile_in.awk
ext/iconv/php_have_bsd_iconv.h
ext/iconv/php_have_ibm_iconv.h
ext/iconv/php_have_libiconv.h
ext/iconv/php_php_iconv_h_path.h
ext/iconv/php_have_glibc_iconv.h
ext/iconv/php_php_iconv_impl.h
ext/iconv/php_have_iconv.h
ext/iconv/php_iconv_supports_errno.h
ext/mbstring/libmbfl/Makefile.in
ext/mbstring/libmbfl/autoscan.log
ext/mbstring/libmbfl/config.sub
ext/mbstring/libmbfl/depcomp
ext/mbstring/libmbfl/ltmain.sh
ext/mbstring/libmbfl/stamp-h1
ext/mbstring/libmbfl/*.dll
ext/mbstring/libmbfl/*.lib
ext/mbstring/libmbfl/*.RES
ext/mbstring/libmbfl/*.res
ext/mbstring/libmbfl/*.obj
ext/mbstring/libmbfl/*.tds
ext/mbstring/libmbfl/filters/Makefile.in
ext/mbstring/libmbfl/mbfl/Makefile.in
ext/mbstring/libmbfl/mbfl/EastAsianWidth.txt
ext/mbstring/libmbfl/nls/Makefile.in
ext/mssql/#*#
ext/mssql/Makefile.global
ext/mssql/acinclude.m4
ext/mssql/config.sub
ext/mssql/configure.in
ext/mssql/ltmain.sh
ext/mysql/weztest.sqlite
ext/oci8/tests/*.tmp
ext/oci8/tests/*.vglog
ext/pdo/conftest*
ext/pdo/tests/*.db
ext/pdo/tests/*.tmp
ext/pdo_firebird/conftest*
ext/pdo_mysql/conftest*
ext/pdo_mysql/tests/*.db
ext/pdo_mysql/tests/*.tmp
ext/pdo_oci/conftest*
ext/pdo_odbc/tests/*.db
ext/pdo_odbc/tests/*.tmp
ext/pdo_odbc/tests/*.mdb
ext/pdo_pgsql/conftest*
ext/pdo_pgsql/tests/*.db
ext/pdo_pgsql/tests/*.tmp
ext/pdo_sqlite/conftest*
ext/pdo_sqlite/sqlite3.h
ext/pdo_sqlite/tests/*.db
ext/pdo_sqlite/tests/*.tmp
ext/phar/phar.phar
ext/pspell/tests/*.tmp
ext/reflection/xml
ext/reflection/html
ext/reflection/spl.chm
ext/simplexml/examples/security.new.xml
ext/spl/examples/.htaccess
ext/spl/examples/*.phps
ext/sqlite/weztest.sqlite
ext/sqlite/libsqlite/src/sqlite.h
ext/sqlite/libsqlite/src/parse.out
ext/sqlite/libsqlite/src/libsqlite.dsw
ext/sqlite3/tests/phpsql*
ext/sqlite3/tests/*.db
ext/sqlite3/tests/*.tmp
ext/standard/tests/misc/*.txt
ext/standard/tests/strings/*.txt
main/build-defs.h
main/internal_functions_cli.c
main/config.w32.h
main/stamp-h1
main/streams/build-defs.h
main/streams/stamp-h1
pear/install-pear-nozlib.phar
pear/phpize
pear/run-tests
pear/php-config
pear/scripts
sapi/apache/libphp5.module
sapi/apache2handler/libphp5.module
sapi/apache_hooks/libphp5.module
sapi/cgi/php-cgi
sapi/cli/php.1
sapi/fpm/php-fpm
sapi/fpm/php-fpm.1
sapi/fpm/init.d.php-fpm
sapi/fpm/php-fpm.conf
sapi/fpm/fpm/php-cgi
scripts/php-config
scripts/phpize
scripts/man1/*.1
win32/*.suo
win32/*.aps
win32/*.positions
win32/ext
win32/phpts.def
win32/wsyslog.h
win32/win32.dsp
win32/php.dsw
+10
View File
@@ -0,0 +1,10 @@
language: php
php:
# We only specify one version so we only get one worker
- 5.4
notifications:
email: false
script: exit 0
+3 -3
View File
@@ -2,11 +2,11 @@
PHP Coding Standards
========================
This file lists several standards that any programmer, adding or changing
code in PHP, should follow. Since this file was added at a very late
This file lists several standards that any programmer adding or changing
code in PHP should follow. Since this file was added at a very late
stage of the development of PHP v3.0, the code base does not (yet) fully
follow it, but it's going in that general direction. Since we are now
well into the version 4 releases, many sections have been recoded to use
well into version 5 releases, many sections have been recoded to use
these rules.
Code Implementation
-14191
View File
File diff suppressed because it is too large. Load diff
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
+7 -1
View File
@@ -73,6 +73,12 @@ PRIMARY MAINTAINER: Edin Kadribasic <edink@php.net>
MAINTENANCE: Maintained
STATUS: Working
-------------------------------------------------------------------------------
EXTENSION: fpm
PRIMARY MAINTAINER: Antony Dovgal <tony2001@php.net>, Jerome Loyet <fat@php.net>
MAINTENANCE: Maintained
STATUS: Working
SINCE: 5.3.3
-------------------------------------------------------------------------------
EXTENSION: isapi
MAINTENANCE: Unknown
STATUS: Working
@@ -331,7 +337,7 @@ MAINTENANCE: Maintained
STATUS: Working
-------------------------------------------------------------------------------
EXTENSION: curl
PRIMARY MAINTAINER: Sterling Hughes <sterling@php.net>,Ilia Alshanetsky <iliaa@php.net>
PRIMARY MAINTAINER: Sterling Hughes <sterling@php.net>, Ilia Alshanetsky <iliaa@php.net>, Pierrick Charron <pierrick@php.net>
MAINTENANCE: Maintained
STATUS: Working
SINCE: 4.0.2
+1393 -1326
View File
File diff suppressed because it is too large. Load diff
+1 -1
View File
@@ -1,6 +1,6 @@
--------------------------------------------------------------------
The PHP License, version 3.01
Copyright (c) 1999 - 2009 The PHP Group. All rights reserved.
Copyright (c) 1999 - 2010 The PHP Group. All rights reserved.
--------------------------------------------------------------------
Redistribution and use in source and binary forms, with or without
+5 -19
View File
@@ -5,31 +5,15 @@
lcov: lcov-html
lcov-test: all
@echo "Running test suite"
@find . -name \*.gcda -o -name \*.da -o -name \*.bbg? | xargs rm -f
-@if test ! -z "$(PHP_EXECUTABLE)" && test -x "$(PHP_EXECUTABLE)"; then \
NO_INTERACTION=1 \
TEST_PHP_EXECUTABLE=$(PHP_EXECUTABLE) \
TEST_PHP_SRCDIR=$(top_srcdir) \
CC="$(CC)" \
$(PHP_EXECUTABLE) -d 'open_basedir=' -d 'safe_mode=0' -d 'output_buffering=0' -d 'memory_limit=-1' $(top_srcdir)/run-tests.php -d 'extension_dir=modules/' -d `( . $(PHP_MODULES) ; echo extension=$$dlname)` tests/; \
elif test ! -z "$(SAPI_CLI_PATH)" && test -x "$(SAPI_CLI_PATH)"; then \
NO_INTERACTION=1 \
TEST_PHP_EXECUTABLE=$(top_builddir)/$(SAPI_CLI_PATH) \
TEST_PHP_SRCDIR=$(top_srcdir) \
CC="$(CC)" \
$(top_builddir)/$(SAPI_CLI_PATH) -d 'open_basedir=' -d 'safe_mode=0' -d 'output_buffering=0' -d 'memory_limit=-1' $(top_srcdir)/run-tests.php $(TESTS); \
else \
echo "ERROR: Cannot run tests without CLI sapi."; \
fi
lcov-test: lcov-clean-data test
php_lcov.info: lcov-test
@echo "Generating data for $@"
@rm -rf lcov_data/
@$(mkinstalldirs) lcov_data/
@echo
-@find . -name \*.gcda -o -name \*.gcno -o -name \*.da -o -name \*.h | sed -e 's/^\.\///' | sed -e 's/\.gcda//g' -e 's/\.gcno//g' -e 's/\.da//g' | uniq | while read x; do \
-@files=`find . -name \*.gcda -o -name \*.gcno -o -name \*.da -o -name \*.h | sed -e 's/^\.\///' | sed -e 's/\.gcda//g' -e 's/\.gcno//g' -e 's/\.da//g' | uniq` ;\
for x in $$files; do \
echo -n . ;\
y=`echo $$x | sed -e 's!\.libs/!!'`; \
dir=lcov_data/`dirname $$x`; \
@@ -77,3 +61,5 @@ lcov-clean:
rm -rf lcov_data/
rm -rf lcov_html/
lcov-clean-data:
@find . -name \*.gcda -o -name \*.da -o -name \*.bbg? | xargs rm -f
+1
View File
@@ -98,6 +98,7 @@ test: all
TEST_PHP_SRCDIR=$(top_srcdir) \
CC="$(CC)" \
$(PHP_EXECUTABLE) -n -c $(top_builddir)/tmp-php.ini $(PHP_TEST_SETTINGS) $(top_srcdir)/run-tests.php -n -c $(top_builddir)/tmp-php.ini -d extension_dir=$(top_builddir)/modules/ $(PHP_TEST_SHARED_EXTENSIONS) $(TESTS); \
rm $(top_builddir)/tmp-php.ini; \
else \
echo "ERROR: Cannot run tests without CLI sapi."; \
fi
+1846 -29
View File
File diff suppressed because it is too large. Load diff
+124
View File
@@ -0,0 +1,124 @@
====================
Git Commit Rules
====================
This is the first file you should be reading when contributing code via Git.
We'll assume you're basically familiar with Git, but feel free to post
your questions on the mailing list. Please have a look at
http://git-scm.com/ for more detailed information on Git.
PHP is developed through the efforts of a large number of people.
Collaboration is a Good Thing(tm), and Git lets us do this. Thus, following
some basic rules with regards to Git usage will::
a. Make everybody happier, especially those responsible for maintaining
Git itself.
b. Keep the changes consistently well documented and easily trackable.
c. Prevent some of those 'Oops' moments.
d. Increase the general level of good will on planet Earth.
Having said that, here are the organizational rules::
1. Respect other people working on the project.
2. Discuss any significant changes on the list before committing and get
confirmation from the release manager for the given branch.
3. Look at EXTENSIONS file to see who is the primary maintainer of
the code you want to contribute to.
4. If you "strongly disagree" about something another person did, don't
start fighting publicly - take it up in private email.
5. If you don't know how to do something, ask first!
6. Test your changes before committing them. We mean it. Really.
To do so use "make test".
7. For development use the --enable-maintainer-zts switch to ensure your
code handles TSRM correctly and doesn't break for those who need that.
Currently we have the following branches in use::
master The active development branch.
PHP-5.4 Is used to release the PHP 5.4.x series. It still allows for
larger enhancements.
PHP-5.3 Is used to release the PHP 5.3.x series. This is current
stable version and is open for bugfixes only.
PHP-5.2 Is used to release the PHP 5.2.x series. It is closed for
changes now.
PHP-5.1 This branch is closed.
PHP-4.4 This branch is closed.
The next few rules are more of a technical nature::
1. All changes should first go to the lowest branch (i.e. 5.3) and then
get merged up to all other branches. If a change is not needed for
later branches (i.e. fixes for features which where dropped from later
branches) an empty merge should be done.
2. All news updates intended for public viewing, such as new features,
bug fixes, improvements, etc., should go into the NEWS file of the
*first* to be released version with the given change. In other words
any NEWS file change only needs to done in one branch.
3. Do not commit multiple file and dump all messages in one commit. If you
modified several unrelated files, commit each group separately and
provide a nice commit message for each one. See example below.
4. Do write your commit message in such a way that it makes sense even
without the corresponding diff. One should be able to look at it, and
immediately know what was modified. Definitely include the function name
in the message as shown below.
5. In your commit messages, keep each line shorter than 80 characters. And
try to align your lines vertically, if they wrap. It looks bad otherwise.
6. If you modified a function that is callable from PHP, prepend PHP to
the function name as shown below.
The format of the commit messages is pretty simple.
<max 79 characters short description>\n
\n
<long description, 79 chars per line>
\n
An Example from the git project (commit 2b34e486bc):
pack-objects: Fix compilation with NO_PTHREDS
It looks like commit 99fb6e04 (pack-objects: convert to use
parse_options(), 2012-02-01) moved the #ifdef NO_PTHREDS around but
hasn't noticed that the 'arg' variable no longer is available.
If you fix some bugs, you should note the bug ID numbers in your
commit message. Bug ID should be prefixed by "#" for easier access to
bug report when developers are browsing CVS via LXR or Bonsai.
Example::
Fixed bug #14016 (pgsql notice handler double free crash bug.)
When you change the NEWS file for a bug fix, then please keep the bugs
sorted in decreasing order under the fixed version.
You can use OpenGrok (http://lxr.php.net/) and gitweb (http://git.php.net/)
to look at PHP Git repository in various ways.
For further information on the process and further details please refer to
https://wiki.php.net/vcs/gitworkflow and https://wiki.php.net/vcs/gitfaq
Happy hacking,
PHP Team
-57
View File
@@ -1,57 +0,0 @@
QNX4 Installation Notes
-----------------------
NOTE: General installation instructions are in the INSTALL file
1. To compile and test PHP3 you have to grab, compile and install:
- GNU dbm library or another db library;
- GNU bison (1.25 or later; 1.25 tested);
- GNU flex (any version supporting -o and -P options; 2.5.4 tested);
- GNU diffutils (any version supporting -w option; 2.7 tested);
2. To use CVS version you may need also:
- GNU CVS (1.9 tested);
- GNU autoconf (2.12 tested);
- GNU m4 (1.3 or later preferable; 1.4 tested);
3. To run configure define -lunix in command line:
LDFLAGS=-lunix ./configure
4. To use Sybase SQL Anywhere define ODBC_QNX and CUSTOM_ODBC_LIBS in
command line and run configure with --with-custom-odbc:
CFLAGS=-DODBC_QNX LDFLAGS=-lunix CUSTOM_ODBC_LIBS="-ldblib -lodbc" ./configure --with-custom-odbc=/usr/lib/sqlany50
If you have SQL Anywhere version 5.5.00, then you have to add
CFLAGS=-DSQLANY_BUG
to workaround its SQLFreeEnv() bug. Other versions has not been tested,
so try without this flag first.
5. To build the Apache module, you may have to hardcode an include path for
alloc.h in your Apache base directory:
- APACHE_DIRECTORY/src/httpd.h:
change #include "alloc.h"
to #include "APACHE_DIRECTORY/src/alloc.h"
Unless you want to use system regex library, you have to hardcode also
a path to regex.h:
- APACHE_DIRECTORY/src/conf.h:
change #include <regex.h>
to #include "APACHE_DIRECTORY/src/regex/regex.h"
I don't know so far why this required for QNX, may be it is Watcom
compiler problem.
If you building Apache module with SQL Anywhere support, you'll get
symbol conflict with BOOL. It is defined in Apache (httpd.h) and in
SQL Anywhere (odbc.h). This has nothing to do with PHP, so you have to
fix it yourself someway.
6. With above precautions, it should compile as is and pass regression
tests completely:
make
make check
make install
Don't bother me unless you really sure you made that all but it
still doesn't work.
June 28, 1998
Igor Kovalenko -- owl@infomarket.ru
+20 -7
View File
@@ -51,27 +51,40 @@ SUCH DAMAGE.
6. ext/standard crypt's blowfish implementation
The crypt_blowfish homepage is:
http://www.openwall.com/crypt/
This code comes from John the Ripper password cracker, with reentrant
and crypt(3) interfaces added, but optimizations specific to password
cracking removed.
Written by Solar Designer <solar at openwall.com> in 1998-2002 and
placed in the public domain.
Written by Solar Designer <solar at openwall.com> in 1998-2011.
No copyright is claimed, and the software is hereby placed in the public
domain. In case this attempt to disclaim copyright and place the software
in the public domain is deemed null and void, then the software is
Copyright (c) 1998-2011 Solar Designer and it is hereby released to the
general public under the following terms:
There's absolutely no warranty.
Redistribution and use in source and binary forms, with or without
modification, are permitted.
There's ABSOLUTELY NO WARRANTY, express or implied.
It is my intent that you should be able to use this on your system,
as a part of a software package, or anywhere else to improve security,
as part of a software package, or anywhere else to improve security,
ensure compatibility, or for any other purpose. I would appreciate
it if you give credit where it is due and keep your modifications in
the public domain as well, but I don't require that in order to let
you place this code and any modifications you make under a license
of your choice.
This implementation is compatible with OpenBSD bcrypt.c (version 2a)
by Niels Provos <provos at citi.umich.edu>, and uses some of his
This implementation is mostly compatible with OpenBSD's bcrypt.c (prefix
"$2a$") by Niels Provos <provos at citi.umich.edu>, and uses some of his
ideas. The password hashing algorithm was designed by David Mazieres
<dm at lcs.mit.edu>.
<dm at lcs.mit.edu>. For more information on the level of compatibility,
please refer to the comments in BF_set_key() and to the crypt(3) man page
included in the crypt_blowfish tarball.
There's a paper on the algorithm that explains its design decisions:
+50 -58
View File
@@ -20,12 +20,18 @@ php/QA/bug websites try to have someone from the webmaster team (Bjori) on hand.
5. Verify the tags to be extra sure everything was tagged properly.
6. Moving extensions from/to PECL requires root level access to the CVS server.
Contact systems@php.net to get this taken care of.
6. Moving extensions from/to PECL requires write acces to the destination.
Most developers should have this.
Moving extensions from php-src to PECL
- Filesystem: cp -r php-src/ext/foo pecl/foo
- cvs rm php-src/ext/foo
- Checkout the pecl directory, most likely you want a sparse-root checkout
svn co --depth=empty https://svn.php.net/repository/pecl
- Create an directory for the extension incl. branch and tag structure,
no trunk at this point and commit this to svn
cd pecl; mkdir foo foo/tags foo/branches; svn add foo; svn commit
- Move the extension from php-src to the new location
svn mv https://svn.php.net/repository/php/php-src/trunk/ext/foo \
https://svn.php.net/repository/pecl/foo/trunk
If the extension is still usable or not dead, in cooperation with the extension
maintainers if any:
@@ -33,26 +39,24 @@ maintainers if any:
- create the package.xml, commit
- release the package
Moving extensions from PECL to php-src
- Filesystem: cp -r pecl/foo php-src/ext/foo
OR depending on the wishes from the PECL extension maintainer.
- Filesystem: ln -s pecl/foo php-src/ext/foo
For Moving extensions from PECL to php-src the svn mv has to be tone the other
way round.
Rolling a non stable release (alpha/beta/RC)
--------------------------------------------
1. Check windows snapshot builder logs (http://snaps.php.net/win32/snapshot-STABLE.log f.e.)
1. Check windows snapshot builder logs (http://windows.php.net/downloads/snaps/ the last revision)
2. Bump the version numbers in ``main/php_version.h``, ``configure.in`` and possibly ``NEWS``.
Do not use abbreviations for alpha and beta.
3. Commit those changes
4. run the "scripts/dev/credits" script in php-src and commit the changes in the
2. run the "scripts/dev/credits" script in php-src and commit the changes in the
credits files in ext/standard.
5. tag the repository with the version f.e. "``cvs tag php_4_4_1RC1``"
(of course, you need to change that to the version you're rolling an RC for).
3. Bump the version numbers in ``main/php_version.h``, ``configure.in`` and possibly ``NEWS``.
Do not use abbreviations for alpha and beta.
4. Commit those changes and note the revision id.
5. tag the repository with the version. To do the tag in a fast way do a svn copy on the server using full URLs. You should use the revision id from the above commit to prevent mistakes in case there was a commit in between. f.e. "``svn cp https://svn.php.net/repository/php/php-src/branches/PHP_5_3@308399 https://svn.php.net/repository/php/php-src/tags/php_5_3_6RC1``"
(of course, you need to change that to the version you're rolling an RC for). Mail php-internals to announce the tag so tests/validation/check can be done prior to package it. It is especially important for RCs.
6. Bump up the version numbers in ``main/php_version.h``, ``configure.in``
and possibly ``NEWS`` again, to the **next** version. F.e. if the release
@@ -65,7 +69,7 @@ correctly work.
8. Log in onto the snaps box and go into the correct tree (f.e. the PHP_4_4
branch if you're rolling 4.4.x releases).
9. You do not have to update the tree, but of course you can with "``cvs up -dP``".
9. You do not have to update the tree, but of course you can with "``svn up``".
10. run: ``./makedist php 4.4.1RC1``, this will export the tree, create configure
and build two tarballs (one gz and one bz2).
@@ -100,33 +104,30 @@ Derick) run the following commands for you:
``sudo -u ezmlm ezmlm-sub ~ezmlm/primary-qa-tester/mod moderator-email-address``
3. Update the MD5 sums in ``web/qa/trunk/include/rc-md5sums.txt`` (no empty lines).
3. Update ``qa.git/include/release-qa.php`` with the appropriate information.
See the documentation within release-qa.php for more information, but all releases
and RCs are configured here. Only $QA_RELEASES needs to be edited.
4. Update in ``web/qa/trunk/include/release-qa.php`` constants with the new RC and
commit this.
Example: When rolling an RC, set the 'rc' with appropriate information for the
given version.
a. ``$BUILD_TEST_RELEASES`` = array("4.4.7RC1", "5.2.2RC1")
Note: Remember to update the MD5 checksum information.
b. ``$CURRENT_QA_RELEASE_4`` = "4.4.7RC1" (``$CURRENT_QA_RELEASE_5`` for PHP5)
c. ``$RELEASE_PROCESS`` = array(4 => true, 5 => true)
1. Update in ``php-bugs/trunk/include/functions.inc`` the ``show_version_option``
function to include the new RC and commit.
2. Update ``phpweb/include/version.inc`` (x=major version number)
4. Update ``php.git/include/version.inc`` (x=major version number)
a. ``$PHP_x_RC`` = "5.3.0RC1"
b. ``$PHP_x_RC_DATE`` = "06 September 2007"
3. Commit those changes:
5. Commit and push those changes:
a. ``cvs commit include/version.inc include/releases.inc``
a. ``git commit -a && git push origin master``
4. For the first RC, write the doc team (phpdoc@lists.php.net) about updating the
6. For the first RC, write the doc team (phpdoc@lists.php.net) about updating the
INSTALL and win32/install.txt files which are generated from the PHP manual sources.
7. Publish the announce on www.php.net as well (for all releases, alpha, RCs or other)
Rolling a stable release
------------------------
@@ -134,37 +135,38 @@ Rolling a stable release
2. Bump the version numbers in ``main/php_version.h``, ``configure.in`` and possibly ``NEWS``.
3. **Merge** all related sections in NEWS (f.e. merge the 4.4.1RC1 and 4.4.0 sections)
3. **Merge** all related sections in NEWS (f.e. merge the 5.4.1RC1 and 5.4.0 sections)
4. Commit those changes
5. run the "scripts/dev/credits" script in php-src and commit the changes in the
credits files in ext/standard.
6. tag the repository with the version f.e. "``cvs tag php_4_4_1``"
6. tag the repository with the version f.e. "``git tag -s php-5.4.1``"
(of course, you need to change that to the version you're rolling an RC for).
When making 5.X release, you need to tag the Zend directory separately!!
7. Bump up the version numbers in ``main/php_version.h``, ``configure.in`` and
possibly ``NEWS`` again, to the **next** version. F.e. if the release candidate
was "4.4.1RC1" then the new one should be "4.4.1RC2-dev" - regardless if we get
was "5.4.1RC1" then the new one should be "5.4.1RC2-dev" - regardless if we get
a new RC or not. This is to make sure ``version_compare()`` can correctly work.
8. Commit those changes
9. Log in onto the snaps box and go into the correct tree (f.e. the PHP_4_4
branch if you're rolling 4.4.x releases).
9. Log in onto the snaps box and go into the correct tree (f.e. the PHP-5.4
branch if you're rolling 5.5.x releases).
10. You do not have to update the tree, but of course you can with "``cvs up -dP``".
10. You do not have to update the tree, but of course you can with "``git pull
origin <branch>``".
11. run: ``./makedist php 4.4.1``, this will export the tree, create configure
11. run: ``./makedist php 5.4.1``, this will export the tree, create configure
and build two tarballs (one gz and one bz2).
12. Commit those two tarballs to CVS (phpweb/distributions)
12. Commit those two tarballs to Git (php-distributions.git)
13. Once the release has been tagged, contact the PHP Windows development team
(internals-win@lists.php.net) so that Windows binaries can be created. Once
those are made, they should be committed to CVS too.
those are made, they should be committed to SVN too.
14. Check if the pear files are updated (phar for 5.1+ or run pear/make-pear-bundle.php with 4.4)
@@ -178,6 +180,9 @@ Getting the stable release announced
a. ``php bin/bumpRelease 5`` (or ``php bin/bumpRelease 4`` for PHP4)
b. In case multiple PHP minor versions are in active development you have
to manually copy the old information to include/releases.inc
2. Edit ``phpweb/include/version.inc`` and change (X=major release number):
a. ``$PHP_X_VERSION`` to the correct version
@@ -194,7 +199,7 @@ Getting the stable release announced
f. if the windows builds aren't ready yet prefix the "windows" key with a dot (".windows")
3. Update the ChangeLog file for the given major version
f.e. ``ChangeLog-4.php`` from the NEWS file
f.e. ``ChangeLog-5.php`` from the NEWS file
a. go over the list and put every element on one line
@@ -214,9 +219,9 @@ f.e. ``ChangeLog-4.php`` from the NEWS file
V. ``s/FR #\([0-9]\+\)/FR <?php bugl(\1); ?>/``
4. ``cp releases/4_4_0.php releases/4_4_1.php``
4. ``cp releases/5_4_0.php releases/5_4_1.php``
5. ``cvs add releases/4_4_1.php``
5. ``git add releases/5_4_1.php``
6. Update the ``releases/*.php`` file with relevant data. The release
announcement file should list in detail:
@@ -239,19 +244,6 @@ to upgrade.
php-general@lists.php.net and internals@lists.php.net with a text similar to
http://news.php.net/php.internals/17222.
10. Update ``php-bugs-web/include/functions.php`` to include the new version
number, and remove the RC from there.
11. Update ``qaweb/include/release-qa.php``
a. Update the $BUILD_TEST_RELEASES array with the release name
b. Update $RELEASE_PROCESS array (set to false)
I. For PHP4: Set $CURRENT_QA_RELEASE_4 to false
II. For PHP5: Set $CURRENT_QA_RELEASE_5 to false
Re-releasing the same version (or -pl)
--------------------------------------
+125 -95
View File
@@ -1,74 +1,134 @@
Submitting Patches to PHP
=========================
Submitting Enhancements and Patches to PHP
==========================================
This document describes how to submit a patch for PHP. Creating a
patch for PHP is easy!
This document describes how to submit an enhancement or patch for PHP.
It's easy!
You don't need any login accounts or special access to download,
build, debug and begin submitting PHP code, tests or documentation for
inclusion in PHP. Once you've followed this README and had several
patches accepted, PHP commit privileges are often quickly granted.
build, debug and begin submitting PHP, PECL or PEAR code, tests or
documentation. Once you've followed this README and had several
patches accepted, commit privileges are often quickly granted.
An excellent article to read first is:
http://phpadvent.org/2008/less-whining-more-coding-by-elizabeth-smith
Prework
-------
If you are fixing broken functionality then create a bug or identify
an existing bug at http://bugs.php.net/. This can be used to track
the patch progress and prevent your changes getting lost in the PHP
mail archives.
Online Forums
-------------
There are several IRC channels where PHP developers are often
available to discuss questions. They include #php.pecl, #php.doc and
#pear on the EFNet network and #php-dev-win on FreeNode.
If your code change is large, then first discuss it with the extension
maintainer and/or a development mail list. Extension maintainers can
be found in the EXTENSIONS file in the PHP source. Use the
internals@lists.php.net mail list to discuss changes to the base PHP
code. Use pecl-dev@lists.php.net for changes to code that is only
available from PECL (http://pecl.php.net/). Use pear-dev@lists.php.net
for PEAR modules (http://pear.php.net/). Use phpdoc@lists.php.net for
PHP documentation questions. Mail list subscription is explained on
http://www.php.net/mailing-lists.php.
If a PHP or PECL patch affects user functionality or makes significant
internal changes then create a simple Request For Comment (RFC) page
on http://wiki.php.net/rfc before starting discussion. This RFC can be
used for initial discussion and later for documentation. Wiki accounts
can be requested on http://wiki.php.net/start?do=register
PHP Patches
-----------
If you are fixing broken functionality in PHP C source code first
create a bug or identify an existing bug at http://bugs.php.net/. A
bug can be used to track the patch progress and prevent your changes
getting lost in the PHP mail archives.
Online information on PHP internal C functions is at
http://www.php.net/internals, though this is considered
incomplete. Various external resources can be found on the web. A
standard reference is the book "Extending and Embedding PHP" by Sara
If your change is large then create a Request For Comment (RFC) page
on http://wiki.php.net/rfc, discuss it with the extension maintainer,
and discuss it on the development mail list internals@lists.php.net.
RFC Wiki accounts can be requested on
http://wiki.php.net/start?do=register. PHP extension maintainers can
be found in the EXTENSIONS file in the PHP source. Mail list
subscription is explained on http://www.php.net/mailing-lists.php.
Information on PHP internal C functions is at
http://www.php.net/internals, though this is considered incomplete.
Various external resources can be found on the web. A standard
printed reference is the book "Extending and Embedding PHP" by Sara
Golemon.
Information on contributing to PEAR is available at
http://pear.php.net/manual/en/guide-developers.php
Attach the patch to the PHP bug and consider sending a notification
email about the change to internals@lists.php.net. Also CC the
extension maintainer. Explain what has been changed by your patch.
Test scripts should be included.
Please make the mail subject prefix "[PATCH]". If attaching a patch,
ensure it has a file extension of ".txt". This is because only MIME
attachments of type 'text/*' are accepted.
PHP Documentation Patches
-------------------------
If you are fixing incorrect PHP documentation first create a bug or
identify an existing bug at http://bugs.php.net/. A bug can be used
to track the patch progress and prevent your changes getting lost in
the PHP mail archives.
If your change is large, then first discuss it with the mail list
phpdoc@lists.php.net. Subscription is explained on
http://www.php.net/mailing-lists.php.
Information on contributing to PHP documentation is at
http://php.net/dochowto and http://wiki.php.net/doc/howto
There are several IRC channels where PHP developers are often
available to discuss questions. They include #php.pecl and #php.doc
on the EFNet network and #php-dev-win on FreeNode.
Attach the patch to the PHP bug and consider sending a notification
email about the change to phpdoc@lists.php.net. Explain what has been
fixed/added/changed by your patch.
Please make the mail subject prefix "[PATCH]". Include the bug id(s)
which can be closed by your patch. If attaching a patch, ensure it
has a file extension of ".txt". This is because only MIME attachments
of type 'text/*' are accepted.
How to create your patch
------------------------
PHP uses Subversion (SVN) for revision control. Read
PECL Extension Patches: http://pecl.php.net/
--------------------------------------------
If you are fixing broken functionality in a PECL extension then create
a bug or identify an existing bug at http://pecl.php.net/bugs/. A bug
can be used to track the patch progress and prevent your changes
getting lost in the PHP mail archives.
If your change is large then create a Request For Comment (RFC) page
on http://wiki.php.net/rfc, discuss it with the extension maintainer,
and discuss it on the development mail list pecl-dev@lists.php.net.
PECL mail list subscription is explained on
http://pecl.php.net/support.php. RFC Wiki accounts can be requested
on http://wiki.php.net/start?do=register
Information on PHP internal C functions is at
http://www.php.net/internals, though this is considered incomplete.
Various external resources can be found on the web. A standard
printed reference is the book "Extending and Embedding PHP" by Sara
Golemon.
Update any open bugs and add a link to the source of your patch. Send
the patch or pointer to the bug to pecl-dev@lists.php.net. Also CC
the extension maintainer. Explain what has been changed by your
patch. Test scripts should be included.
Please make the mail subject prefix "[PATCH] ...". Include the patch
as an attachment with a file extension of ".txt". This is because
only MIME attachments of type 'text/*' are accepted.
PEAR Package Patches: http://pear.php.net/
------------------------------------------
Information on contributing to PEAR is available at
http://pear.php.net/manual/en/developers-newmaint.php and
http://pear.php.net/manual/en/guide-developers.php
How to create your PHP, PHP Documentation or PECL patch
-------------------------------------------------------
PHP and PECL use Subversion (SVN) for revision control. Read
http://www.php.net/svn.php for help on using SVN to get and build PHP
source code. We recommend using a Sparse Directory checkout described
in http://wiki.php.net/vcs/svnfaq. If you are new to SVN, read
source code. We recommend using a Sparse Directory checkout described
in http://wiki.php.net/vcs/svnfaq. If you are new to SVN, read
http://svnbook.red-bean.com.
Generally we ask that patches work on the current stable PHP
development branch and on "trunk".
Generally we ask that bug fix patches work on the current stable PHP
development branches and on "trunk". New PHP features only need to
work on "trunk".
Read CODING_STANDARDS before you start working.
After modifying the source see README.TESTING and
http://qa.php.net/write-test.php for how to test. Submitting test
scripts helps us to understand what functionality has changed. It is
http://qa.php.net/write-test.php for how to test. Submitting test
scripts helps us to understand what functionality has changed. It is
important for the stability and maintainability of PHP that tests are
comprehensive.
@@ -80,73 +140,43 @@ For ease of review and later troubleshooting, submit individual
patches for each bug or feature.
Checklist for submitting your patch
-----------------------------------
Checklist for submitting your PHP or PECL code patch
----------------------------------------------------
- Update SVN source just before running your final 'diff' and
before testing.
- Add in-line comments and/or have external documentation ready.
Use only "/* */" style comments, not "//".
- Create test scripts for use with "make test".
- Run "make test" to check your patch doesn't break other features.
- Rebuild PHP with --enable-debug (which will show some kinds of
memory errors) and check the PHP and web server error logs after
running the PHP tests.
- Rebuild PHP with --enable-maintainer-zts to check your patch compiles
on multi-threaded web servers.
- Create test scripts for use with "make test".
- Add in-line comments and/or have external documentation ready.
running your PHP tests.
- Rebuild PHP with --enable-maintainer-zts to check your patch
compiles on multi-threaded web servers.
- Review the patch once more just before submitting it.
Where to send your patch
------------------------
If you are patching PHP C source then email the patch to
internals@lists.php.net
If you patching a PECL extension then send the patch to
pecl-dev@lists.php.net
If you are patching PEAR then send the patch to
pear-dev@lists.php.net
If you are patching PHP's documentation then send the patch to
phpdoc@lists.php.net
The mail can be CC'd to the extension maintainer (see EXTENSIONS).
Please make the subject prefix "[PATCH]", for example "[PATCH] Fix
return value of all array functions"
Include the patch as an attachment with a file extension of ".txt".
This is because only MIME attachments of type 'text/*' are accepted.
Explain what has been fixed/added/changed by your patch. Test scripts
should be included in the email.
Include the bug id(s) which can be closed by your patch.
Finally, update any open bugs and add a link to the source of your
patch.
What happens after you submit your patch
----------------------------------------
What happens after submitting your PHP, PHP Documentation or PECL patch
-----------------------------------------------------------------------
If your patch is easy to review and obviously has no side-effects,
it might be committed relatively quickly.
Because PHP is a volunteer-driven effort more complex patches will
require patience on your side. If you do not receive feedback in a few
days, consider resubmitting the patch. Before doing this think about
these questions:
require patience on your side. If you do not receive feedback in a
few days, consider resubmitting the patch. Before doing this think
about these questions:
- Did I send the patch to the right mail list?
- Did I review the mail list archives to see if these kind of
changes had been discussed before?
- Did I explain my patch clearly?
- Is my patch too hard to review? Because of which factors?
- Are there any unwanted white space changes?
- Is my patch too hard to review? Because of what factors?
What happens when your patch is applied
---------------------------------------
Your name will be included in the SVN commit log. If your patch
affects end users, a brief description and your name might be added to
the NEWS file.
What happens when your PHP or PECL patch is applied
---------------------------------------------------
Your name will likely be included in the SVN commit log. If your
patch affects end users, a brief description and your name might be
added to the NEWS file.
Thank you for patching PHP!
-146
View File
@@ -1,146 +0,0 @@
====================
SVN Commit Rules
====================
This is the first file you should be reading after you get your SVN account.
We'll assume you're basically familiar with SVN, but feel free to post
your questions on the mailing list. Please have a look at
http://svnbook.red-bean.com/ for more detailed information on SVN.
PHP is developed through the efforts of a large number of people.
Collaboration is a Good Thing(tm), and SVN lets us do this. Thus, following
some basic rules with regards to SVN usage will::
a. Make everybody happier, especially those responsible for maintaining
the SVN itself.
b. Keep the changes consistently well documented and easily trackable.
c. Prevent some of those 'Oops' moments.
d. Increase the general level of good will on planet Earth.
Having said that, here are the organizational rules::
1. Respect other people working on the project.
2. Discuss any significant changes on the list before committing and get
confirmation from the release manager for the given branch.
3. Look at EXTENSIONS file to see who is the primary maintainer of
the code you want to contribute to.
4. If you "strongly disagree" about something another person did, don't
start fighting publicly - take it up in private email.
5. If you don't know how to do something, ask first!
6. Test your changes before committing them. We mean it. Really.
To do so use "make test".
7. For development use the --enable-maintainer-zts switch to ensure your
code handles TSRM correctly and doesn't break for thos who need that.
Currently we have the following branches in use::
trunk Will become PHP 6.0. This CVS branch is for active development.
branches/PHP_5_3 Is used to release the PHP 5.3.x series. It still allows for
larger enhancements.
branches/PHP_5_2 Is used to release the PHP 5.2.x series. Only bugfixes are permitted
on this branch (Consult the releasemaster prior to commit).
branches/PHP_5_1 This branch is closed.
branches/PHP_4_4 This branch is closed.
The next few rules are more of a technical nature::
1. All changes should first go to trunk and then get merged from trunk
(aka MFH'ed) to all other relevant branches.
2. DO NOT TOUCH ChangeLog! It is automagically updated from the commit
messages every day. Woe be to those who attempt to mess with it.
3. All news updates intended for public viewing, such as new features,
bug fixes, improvements, etc., should go into the NEWS file of the
*first* to be released version with the given change. In other words
any NEWS file change only needs to done in one branch.
NB! Lines, starting with @ will go automagically into NEWS file, but
this is NOT recommended, though. Please, add news entries directly to
NEWS file and don't forget to keep them adjusted and sorted.
4. Do not commit multiple file and dump all messages in one commit. If you
modified several unrelated files, commit each group separately and
provide a nice commit message for each one. See example below.
5. Do write your commit message in such a way that it makes sense even
without the corresponding diff. One should be able to look at it, and
immediately know what was modified. Definitely include the function name
in the message as shown below.
6. In your commit messages, keep each line shorter than 80 characters. And
try to align your lines vertically, if they wrap. It looks bad otherwise.
7. If you modified a function that is callable from PHP, prepend PHP to
the function name as shown below.
The format of the commit messages is pretty simple.
Use a - to start a new item in your commit message.
If a line begins with #, it is taken to be a comment and will not appear
in the ChangeLog. Everything else goes into the ChangeLog.
It is important to note that if your comment or news logline spans multiple
lines, you have to put # at the beginning of **every** such line.
Example. Say you modified two files, datetime.c and string.c. In datetime.c you
added a new format option for the date() function, and in string.c you fixed a
memory leak in php_trim(). Don't commit both of these at once. Commit them
separately and try to make sure your commit messages look something like the
following.
For datetime.c::
- Added new 'K' format modifier to date() for printing out number of days
until New Year's Eve.
For string.c::
- Fixed a memory leak in php_trim() resulting from improper use of zval_dtor().
#- Man, that thing was leaking all over the place!
The # lines will be omitted from the ChangeLog automagically.
Use the [DOC] tag in your log message whenever you feel that your changes
imply a documentation modification. The php-doc team will automatically
get notified about your commit through the php-doc mailing list.
If you fix some bugs, you should note the bug ID numbers in your
commit message. Bug ID should be prefixed by "#" for easier access to
bug report when developers are browsing CVS via LXR or Bonsai.
Example::
Fixed bug #14016 (pgsql notice handler double free crash bug.)
If you don't see your messages in ChangeLog right away, don't worry!
These files are updated once a day, so your stuff will not show up until
somewhat later.
When you change the NEWS file for a bug fix, then please keep the bugs
sorted in decreasing order under the fixed version.
You can use LXR (http://lxr.php.net/) and Bonsai (http://bonsai.php.net/)
to look at PHP SVN repository in various ways.
To receive daily updates to ChangeLog and NEWS, send an empty message to
php-cvs-daily-subscribe@lists.php.net.
Happy hacking,
PHP Team
-112
View File
@@ -1,112 +0,0 @@
Using PHP 5 with the Zeus Web Server
-----------------------------------
Zeus fully supports running PHP in combination with our
webserver. There are three different interfaces that can be used to
enable PHP:
* CGI
* ISAPI
* FastCGI
Of the three, we recommend using FastCGI, which has been tested and
benchmarked as providing the best performance and reliability.
Full details of how to install PHP are available from our
website, at:
http://support.zeus.com/products/php.html
If you have any problems, please check the support site for more
up-to-date information and advice.
Quick guide to installing CGI/FastCGI with Zeus
-----------------------------------------------
Step 1 - Compile PHP as FastCGI.
Compile as follows:
./configure --enable-fastcgi
make
Note that PHP has many options to the configure script -
e.g. --with-mysql. You will probably want to select your usual options
before compiling; the above is just a bare minimum, for illustration.
After compilation finishes, you will be left with an executable
program called 'php'. Copy this into your document root, under a
dedicated FastCGI directory (e.g. $DOCROOT/fcgi-bin/php)
Step 2 - configure Zeus
Four stages:
- enable FastCGI
- configure FastCGI
- setup alias for FastCGI
- setup alias for PHP
1) Using the admin server, go to the 'module configuration' page for
your virtual server, and ensure that 'fastcgi' is enabled (select the
tickbox to the left).
2) While we can run FastCGI's locally, there are known problems with
some OS's (specifically, the communication between web server and
FastCGI happens over a unix domain socket, and some OS's have trouble
sustaining high connection rates over these sockets). So instead, we
are going to set up the PHP FastCGI to run 'remotely' over localhost
(this uses TCP sockets, which do not suffer this problem). Go to the
'fastcgi configuration' page, and under 'add remote fastcgi':
Add Remote FastCGI
Docroot path /fcgi-bin/php
Remote machine localhost:8002
The first entry is where you saved PHP, above.
The second entry is localhost:<any unused port>
We will start the FastCGI listening on this port shortly.
Click 'update' to commit these changes.
3) Go to the path mapping module and add an alias for FastCGI:
Add Alias
Docroot path /fcgi-bin
Filesystem directory /path/to/docroot/fcgi-bin
Alias type fastcgi
Click 'update' to commit these changes
4) Also on the path mapping module, add a handler for PHP:
Add handler
File extension php
Handler /fcgi-bin/php
Click 'update' to commit these changes
Finally restart your virtual server for these changes to take effect.
Step 3 - start PHP as a FastCGI runner
When you start PHP, it will pre-fork a given number of child processes
to handle incoming PHP requests. Each process will handle a given
number of requests before exiting (and being replaced by a newly
forked process). You can control these two parameters by setting the
following environment variables BEFORE starting the FastCGI runner:
PHP_FCGI_CHILDREN - the number of child processes to pre-fork. This
variable MUST be set, if not then the PHP will not run as a FastCGI.
We recommend a value of 8 for a fairly busy site. If you have many,
long-running PHP scripts, then you may need to increase this further.
PHP_FCGI_MAX_REQUESTS - the number of requests each PHP child process
handles before exiting. If not set, defaults to 500.
To start the FastCGI runner, execute '$ZEUSHOME/web/bin/fcgirunner
8002 $DOCROOT/fcgi-bin/php'. Substitute the appropriate values for
$ZEUSHOME and $DOCROOT; also substitute for 8002 the port you chose,
above.
To stop the runner (e.g. to experiment with the above environment
variables) you will need to manually stop and running PHP
processes. (Use 'ps' and 'kill'). As it is PHP which is forking lots
of children and not the runner, Zeus unfortunately cannot keep track
of what processes are running, sorry. A typical command line may look
like 'ps -efl | grep $DOCROOT/fcgi-bin/php | grep -v grep | awk
'{print $4}' | xargs kill'
+1 -1
View File
@@ -88,7 +88,7 @@ PHP_MINFO_FUNCTION(my_input_filter)
{
php_info_print_table_start();
php_info_print_table_row( 2, "My Input Filter Support", "enabled" );
php_info_print_table_row( 2, "Revision", "$Revision$");
php_info_print_table_row( 2, "Revision", "$Id$");
php_info_print_table_end();
}
+1 -1
View File
@@ -2,7 +2,7 @@
+----------------------------------------------------------------------+
| Thread Safe Resource Manager |
+----------------------------------------------------------------------+
| Copyright (c) 1999-2010, Andi Gutmans, Sascha Schumann, Zeev Suraski |
| Copyright (c) 1999-2011, Andi Gutmans, Sascha Schumann, Zeev Suraski |
| This source file is subject to the TSRM license, that is bundled |
| with this package in the file LICENSE |
+----------------------------------------------------------------------+
+1 -1
View File
@@ -2,7 +2,7 @@
+----------------------------------------------------------------------+
| Thread Safe Resource Manager |
+----------------------------------------------------------------------+
| Copyright (c) 1999-2010, Andi Gutmans, Sascha Schumann, Zeev Suraski |
| Copyright (c) 1999-2011, Andi Gutmans, Sascha Schumann, Zeev Suraski |
| This source file is subject to the TSRM license, that is bundled |
| with this package in the file LICENSE |
+----------------------------------------------------------------------+
-5
View File
@@ -1,10 +1,5 @@
// vim:ft=javascript
// $Id$
if (CHECK_HEADER_ADD_INCLUDE("NewAPIs.h", "CFLAGS_PHP", php_usual_include_suspects)) {
// Need to add the flag directly, since TSRM doesn't include the config
// header
ADD_FLAG("CFLAGS_PHP", "/DHAVE_NEWAPIS_H=1");
}
ADD_SOURCES("TSRM", "TSRM.c tsrm_strtok_r.c tsrm_virtual_cwd.c tsrm_win32.c");
+1 -1
View File
@@ -2,7 +2,7 @@
+----------------------------------------------------------------------+
| PHP Version 5 |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2010 The PHP Group |
| Copyright (c) 1997-2012 The PHP Group |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
+1 -1
View File
@@ -2,7 +2,7 @@
+----------------------------------------------------------------------+
| PHP Version 5 |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2010 The PHP Group |
| Copyright (c) 1997-2012 The PHP Group |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
+293 -103
View File
@@ -2,7 +2,7 @@
+----------------------------------------------------------------------+
| PHP Version 5 |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2010 The PHP Group |
| Copyright (c) 1997-2012 The PHP Group |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
@@ -14,6 +14,7 @@
+----------------------------------------------------------------------+
| Authors: Andi Gutmans <andi@zend.com> |
| Sascha Schumann <sascha@schumann.cx> |
| Pierre Joye <pierre@php.net> |
+----------------------------------------------------------------------+
*/
@@ -38,6 +39,22 @@
# ifndef IO_REPARSE_TAG_SYMLINK
# define IO_REPARSE_TAG_SYMLINK 0xA000000C
# endif
# ifndef IO_REPARSE_TAG_DEDUP
# define IO_REPARSE_TAG_DEDUP 0x80000013
# endif
# ifndef VOLUME_NAME_NT
# define VOLUME_NAME_NT 0x2
# endif
# ifndef VOLUME_NAME_DOS
# define VOLUME_NAME_DOS 0x0
# endif
#endif
#ifndef S_IFLNK
# define S_IFLNK 0120000
#endif
#ifdef NETWARE
@@ -83,14 +100,14 @@ cwd_state main_cwd_state; /* True global */
#include <tchar.h>
#define tsrm_strtok_r(a,b,c) _tcstok((a),(b))
#define TOKENIZER_STRING "/\\"
static int php_check_dots(const char *element, int n)
static int php_check_dots(const char *element, int n)
{
while (n-- > 0) if (element[n] != '.') break;
return (n != -1);
}
#define IS_DIRECTORY_UP(element, len) \
(len >= 2 && !php_check_dots(element, len))
@@ -124,7 +141,7 @@ static int php_check_dots(const char *element, int n)
/* define this to check semantics */
#define IS_DIR_OK(s) (1)
#ifndef IS_DIR_OK
#define IS_DIR_OK(state) (php_is_dir_ok(state) == 0)
#endif
@@ -137,7 +154,7 @@ static int php_check_dots(const char *element, int n)
#define CWD_STATE_FREE(s) \
free((s)->cwd);
#ifdef TSRM_WIN32
#ifdef CTL_CODE
@@ -202,21 +219,98 @@ static inline time_t FileTimeToUnixTime(const FILETIME FileTime)
return (time_t)UnixTime;
}
CWD_API int php_sys_readlink(const char *link, char *target, size_t target_len){ /* {{{ */
HINSTANCE kernel32;
HANDLE hFile;
DWORD dwRet;
typedef BOOL (WINAPI *gfpnh_func)(HANDLE, LPTSTR, DWORD, DWORD);
gfpnh_func pGetFinalPathNameByHandle;
kernel32 = LoadLibrary("kernel32.dll");
if (kernel32) {
pGetFinalPathNameByHandle = (gfpnh_func)GetProcAddress(kernel32, "GetFinalPathNameByHandleA");
if (pGetFinalPathNameByHandle == NULL) {
return -1;
}
} else {
return -1;
}
hFile = CreateFile(link, // file to open
GENERIC_READ, // open for reading
FILE_SHARE_READ, // share for reading
NULL, // default security
OPEN_EXISTING, // existing file only
FILE_FLAG_BACKUP_SEMANTICS, // normal file
NULL); // no attr. template
if( hFile == INVALID_HANDLE_VALUE) {
return -1;
}
dwRet = pGetFinalPathNameByHandle(hFile, target, MAXPATHLEN, VOLUME_NAME_DOS);
if(dwRet >= MAXPATHLEN) {
return -1;
}
CloseHandle(hFile);
if(dwRet > 4) {
/* Skip first 4 characters if they are "\??\" */
if(target[0] == '\\' && target[1] == '\\' && target[2] == '?' && target[3] == '\\') {
char tmp[MAXPATHLEN];
unsigned int offset = 4;
dwRet -= 4;
/* \??\UNC\ */
if (dwRet > 7 && target[4] == 'U' && target[5] == 'N' && target[6] == 'C') {
offset += 2;
dwRet -= 2;
target[offset] = '\\';
}
memcpy(tmp, target + offset, dwRet);
memcpy(target, tmp, dwRet);
}
}
target[dwRet] = '\0';
return dwRet;
}
/* }}} */
CWD_API int php_sys_stat(const char *path, struct stat *buf) /* {{{ */
{
return php_sys_stat_ex(path, buf, 0);
}
/* }}} */
CWD_API int php_sys_lstat(const char *path, struct stat *buf) /* {{{ */
{
return php_sys_stat_ex(path, buf, 1);
}
/* }}} */
CWD_API int php_sys_stat_ex(const char *path, struct stat *buf, int lstat) /* {{{ */
{
WIN32_FILE_ATTRIBUTE_DATA data;
__int64 t;
const size_t path_len = strlen(path);
if (!GetFileAttributesEx(path, GetFileExInfoStandard, &data)) {
return stat(path, buf);
}
if (path[1] == ':') {
if (path_len >= 1 && path[1] == ':') {
if (path[0] >= 'A' && path[0] <= 'Z') {
buf->st_dev = buf->st_rdev = path[0] - 'A';
} else {
buf->st_dev = buf->st_rdev = path[0] - 'a';
}
} else if (IS_UNC_PATH(path, path_len)) {
buf->st_dev = buf->st_rdev = 0;
} else {
char cur_path[MAXPATHLEN+1];
DWORD len = sizeof(cur_path);
@@ -245,19 +339,56 @@ CWD_API int php_sys_stat(const char *path, struct stat *buf) /* {{{ */
}
if (tmp != cur_path) {
free(tmp);
}
}
}
buf->st_uid = buf->st_gid = buf->st_ino = 0;
buf->st_mode = (data.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) ? (S_IFDIR|S_IEXEC|(S_IEXEC>>3)|(S_IEXEC>>6)) : S_IFREG;
buf->st_mode |= (data.dwFileAttributes & FILE_ATTRIBUTE_READONLY) ? (S_IREAD|(S_IREAD>>3)|(S_IREAD>>6)) : (S_IREAD|(S_IREAD>>3)|(S_IREAD>>6)|S_IWRITE|(S_IWRITE>>3)|(S_IWRITE>>6));
if (lstat && data.dwFileAttributes & FILE_ATTRIBUTE_REPARSE_POINT) {
/* File is a reparse point. Get the target */
HANDLE hLink = NULL;
REPARSE_DATA_BUFFER * pbuffer;
unsigned int retlength = 0;
TSRM_ALLOCA_FLAG(use_heap_large);
hLink = CreateFile(path, GENERIC_READ, 0, NULL, OPEN_EXISTING, FILE_FLAG_OPEN_REPARSE_POINT|FILE_FLAG_BACKUP_SEMANTICS, NULL);
if(hLink == INVALID_HANDLE_VALUE) {
return -1;
}
pbuffer = (REPARSE_DATA_BUFFER *)tsrm_do_alloca(MAXIMUM_REPARSE_DATA_BUFFER_SIZE, use_heap_large);
if(!DeviceIoControl(hLink, FSCTL_GET_REPARSE_POINT, NULL, 0, pbuffer, MAXIMUM_REPARSE_DATA_BUFFER_SIZE, &retlength, NULL)) {
tsrm_free_alloca(pbuffer, use_heap_large);
CloseHandle(hLink);
return -1;
}
CloseHandle(hLink);
if(pbuffer->ReparseTag == IO_REPARSE_TAG_SYMLINK) {
buf->st_mode = S_IFLNK;
buf->st_mode |= (data.dwFileAttributes & FILE_ATTRIBUTE_READONLY) ? (S_IREAD|(S_IREAD>>3)|(S_IREAD>>6)) : (S_IREAD|(S_IREAD>>3)|(S_IREAD>>6)|S_IWRITE|(S_IWRITE>>3)|(S_IWRITE>>6));
}
#if 0 /* Not used yet */
else if(pbuffer->ReparseTag == IO_REPARSE_TAG_MOUNT_POINT) {
buf->st_mode |=;
}
#endif
tsrm_free_alloca(pbuffer, use_heap_large);
} else {
buf->st_mode = (data.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) ? (S_IFDIR|S_IEXEC|(S_IEXEC>>3)|(S_IEXEC>>6)) : S_IFREG;
buf->st_mode |= (data.dwFileAttributes & FILE_ATTRIBUTE_READONLY) ? (S_IREAD|(S_IREAD>>3)|(S_IREAD>>6)) : (S_IREAD|(S_IREAD>>3)|(S_IREAD>>6)|S_IWRITE|(S_IWRITE>>3)|(S_IWRITE>>6));
}
if ((data.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) == 0) {
int len = strlen(path);
if (path[len-4] == '.') {
if (_memicmp(path+len-3, "exe", 3) == 0 ||
_memicmp(path+len-3, "com", 3) == 0 ||
_memicmp(path+len-3, "bat", 3) == 0 ||
_memicmp(path+len-3, "cmd", 3) == 0) {
_memicmp(path+len-3, "com", 3) == 0 ||
_memicmp(path+len-3, "bat", 3) == 0 ||
_memicmp(path+len-3, "cmd", 3) == 0) {
buf->st_mode |= (S_IEXEC|(S_IEXEC>>3)|(S_IEXEC>>6));
}
}
@@ -298,19 +429,19 @@ static int php_is_file_ok(const cwd_state *state) /* {{{ */
}
/* }}} */
static void cwd_globals_ctor(virtual_cwd_globals *cwd_globals TSRMLS_DC) /* {{{ */
static void cwd_globals_ctor(virtual_cwd_globals *cwd_g TSRMLS_DC) /* {{{ */
{
CWD_STATE_COPY(&cwd_globals->cwd, &main_cwd_state);
cwd_globals->realpath_cache_size = 0;
cwd_globals->realpath_cache_size_limit = REALPATH_CACHE_SIZE;
cwd_globals->realpath_cache_ttl = REALPATH_CACHE_TTL;
memset(cwd_globals->realpath_cache, 0, sizeof(cwd_globals->realpath_cache));
CWD_STATE_COPY(&cwd_g->cwd, &main_cwd_state);
cwd_g->realpath_cache_size = 0;
cwd_g->realpath_cache_size_limit = REALPATH_CACHE_SIZE;
cwd_g->realpath_cache_ttl = REALPATH_CACHE_TTL;
memset(cwd_g->realpath_cache, 0, sizeof(cwd_g->realpath_cache));
}
/* }}} */
static void cwd_globals_dtor(virtual_cwd_globals *cwd_globals TSRMLS_DC) /* {{{ */
static void cwd_globals_dtor(virtual_cwd_globals *cwd_g TSRMLS_DC) /* {{{ */
{
CWD_STATE_FREE(&cwd_globals->cwd);
CWD_STATE_FREE(&cwd_g->cwd);
realpath_cache_clean(TSRMLS_C);
}
/* }}} */
@@ -332,7 +463,7 @@ CWD_API void virtual_cwd_startup(void) /* {{{ */
}
}
#else
result = getcwd(cwd, sizeof(cwd));
result = getcwd(cwd, sizeof(cwd));
#endif
if (!result) {
cwd[0] = '\0';
@@ -382,8 +513,11 @@ CWD_API char *virtual_getcwd_ex(size_t *length TSRMLS_DC) /* {{{ */
*length = 1;
retval = (char *) malloc(2);
if (retval == NULL) {
return NULL;
}
retval[0] = DEFAULT_SLASH;
retval[1] = '\0';
retval[1] = '\0';
return retval;
}
@@ -394,6 +528,9 @@ CWD_API char *virtual_getcwd_ex(size_t *length TSRMLS_DC) /* {{{ */
*length = state->cwd_length+1;
retval = (char *) malloc(*length+1);
if (retval == NULL) {
return NULL;
}
memcpy(retval, state->cwd, *length);
retval[0] = toupper(retval[0]);
retval[*length-1] = DEFAULT_SLASH;
@@ -493,10 +630,17 @@ CWD_API void realpath_cache_del(const char *path, int path_len TSRMLS_DC) /* {{{
while (*bucket != NULL) {
if (key == (*bucket)->key && path_len == (*bucket)->path_len &&
memcmp(path, (*bucket)->path, path_len) == 0) {
memcmp(path, (*bucket)->path, path_len) == 0) {
realpath_cache_bucket *r = *bucket;
*bucket = (*bucket)->next;
CWDG(realpath_cache_size) -= sizeof(realpath_cache_bucket) + r->path_len + 1 + r->realpath_len + 1;
/* if the pointers match then only subtract the length of the path */
if(r->path == r->realpath) {
CWDG(realpath_cache_size) -= sizeof(realpath_cache_bucket) + r->path_len + 1;
} else {
CWDG(realpath_cache_size) -= sizeof(realpath_cache_bucket) + r->path_len + 1 + r->realpath_len + 1;
}
free(r);
return;
} else {
@@ -510,9 +654,9 @@ static inline void realpath_cache_add(const char *path, int path_len, const char
{
long size = sizeof(realpath_cache_bucket) + path_len + 1;
int same = 1;
if (realpath_len != path_len ||
memcmp(path, realpath, path_len) != 0) {
memcmp(path, realpath, path_len) != 0) {
size += realpath_len + 1;
same = 0;
}
@@ -521,6 +665,10 @@ static inline void realpath_cache_add(const char *path, int path_len, const char
realpath_cache_bucket *bucket = malloc(size);
unsigned long n;
if (bucket == NULL) {
return;
}
#ifdef PHP_WIN32
bucket->key = realpath_cache_key(path, path_len TSRMLS_CC);
#else
@@ -567,10 +715,17 @@ static inline realpath_cache_bucket* realpath_cache_find(const char *path, int p
if (CWDG(realpath_cache_ttl) && (*bucket)->expires < t) {
realpath_cache_bucket *r = *bucket;
*bucket = (*bucket)->next;
CWDG(realpath_cache_size) -= sizeof(realpath_cache_bucket) + r->path_len + 1 + r->realpath_len + 1;
/* if the pointers match then only subtract the length of the path */
if(r->path == r->realpath) {
CWDG(realpath_cache_size) -= sizeof(realpath_cache_bucket) + r->path_len + 1;
} else {
CWDG(realpath_cache_size) -= sizeof(realpath_cache_bucket) + r->path_len + 1 + r->realpath_len + 1;
}
free(r);
} else if (key == (*bucket)->key && path_len == (*bucket)->path_len &&
memcmp(path, (*bucket)->path, path_len) == 0) {
memcmp(path, (*bucket)->path, path_len) == 0) {
return *bucket;
} else {
bucket = &(*bucket)->next;
@@ -582,21 +737,21 @@ static inline realpath_cache_bucket* realpath_cache_find(const char *path, int p
CWD_API realpath_cache_bucket* realpath_cache_lookup(const char *path, int path_len, time_t t TSRMLS_DC) /* {{{ */
{
return realpath_cache_find(path, path_len, t TSRMLS_CC);
return realpath_cache_find(path, path_len, t TSRMLS_CC);
}
/* }}} */
CWD_API int realpath_cache_size(TSRMLS_D)
CWD_API int realpath_cache_size(TSRMLS_D)
{
return CWDG(realpath_cache_size);
}
CWD_API int realpath_cache_max_buckets(TSRMLS_D)
CWD_API int realpath_cache_max_buckets(TSRMLS_D)
{
return (sizeof(CWDG(realpath_cache)) / sizeof(CWDG(realpath_cache)[0]));
}
CWD_API realpath_cache_bucket** realpath_cache_get_buckets(TSRMLS_D)
CWD_API realpath_cache_bucket** realpath_cache_get_buckets(TSRMLS_D)
{
return CWDG(realpath_cache);
}
@@ -622,6 +777,9 @@ static int tsrm_realpath_r(char *path, int start, int len, int *ll, time_t *t, i
while (1) {
if (len <= start) {
if (link_is_dir) {
*link_is_dir = 1;
}
return start;
}
@@ -638,6 +796,10 @@ static int tsrm_realpath_r(char *path, int start, int len, int *ll, time_t *t, i
continue;
} else if (i == len - 2 && path[i] == '.' && path[i+1] == '.') {
/* remove '..' and previous directory */
is_dir = 1;
if (link_is_dir) {
*link_is_dir = 1;
}
if (i - 1 <= start) {
return start ? start : len;
}
@@ -650,14 +812,14 @@ static int tsrm_realpath_r(char *path, int start, int len, int *ll, time_t *t, i
if (!start) {
/* leading '..' must not be removed in case of relative path */
if (j == 0 && path[0] == '.' && path[1] == '.' &&
IS_SLASH(path[2])) {
IS_SLASH(path[2])) {
path[3] = '.';
path[4] = '.';
path[5] = DEFAULT_SLASH;
j = 5;
} else if (j > 0 &&
path[j+1] == '.' && path[j+2] == '.' &&
IS_SLASH(path[j+3])) {
} else if (j > 0 &&
path[j+1] == '.' && path[j+2] == '.' &&
IS_SLASH(path[j+3])) {
j += 4;
path[j++] = '.';
path[j++] = '.';
@@ -673,7 +835,7 @@ static int tsrm_realpath_r(char *path, int start, int len, int *ll, time_t *t, i
}
return j;
}
path[len] = 0;
save = (use_realpath != CWD_EXPAND);
@@ -683,18 +845,18 @@ static int tsrm_realpath_r(char *path, int start, int len, int *ll, time_t *t, i
if (!*t) {
*t = time(0);
}
if ((bucket = realpath_cache_find(path, len, *t TSRMLS_CC)) != NULL) {
if (is_dir && !bucket->is_dir) {
if ((bucket = realpath_cache_find(path, len, *t TSRMLS_CC)) != NULL) {
if (is_dir && !bucket->is_dir) {
/* not a directory */
return -1;
} else {
if (link_is_dir) {
*link_is_dir = bucket->is_dir;
}
} else {
if (link_is_dir) {
*link_is_dir = bucket->is_dir;
}
memcpy(path, bucket->realpath, bucket->realpath_len + 1);
return bucket->realpath_len;
return bucket->realpath_len;
}
}
}
}
#ifdef TSRM_WIN32
@@ -706,7 +868,7 @@ static int tsrm_realpath_r(char *path, int start, int len, int *ll, time_t *t, i
/* continue resolution anyway but don't save result in the cache */
save = 0;
}
if (save) {
FindClose(hFind);
}
@@ -714,9 +876,9 @@ static int tsrm_realpath_r(char *path, int start, int len, int *ll, time_t *t, i
tmp = tsrm_do_alloca(len+1, use_heap);
memcpy(tmp, path, len+1);
if(save &&
!(IS_UNC_PATH(path, len) && len >= 3 && path[2] != '?') &&
(data.dwFileAttributes & FILE_ATTRIBUTE_REPARSE_POINT)) {
if(save &&
!(IS_UNC_PATH(path, len) && len >= 3 && path[2] != '?') &&
(data.dwFileAttributes & FILE_ATTRIBUTE_REPARSE_POINT)) {
/* File is a reparse point. Get the target */
HANDLE hLink = NULL;
REPARSE_DATA_BUFFER * pbuffer;
@@ -739,6 +901,9 @@ static int tsrm_realpath_r(char *path, int start, int len, int *ll, time_t *t, i
}
pbuffer = (REPARSE_DATA_BUFFER *)tsrm_do_alloca(MAXIMUM_REPARSE_DATA_BUFFER_SIZE, use_heap_large);
if (pbuffer == NULL) {
return -1;
}
if(!DeviceIoControl(hLink, FSCTL_GET_REPARSE_POINT, NULL, 0, pbuffer, MAXIMUM_REPARSE_DATA_BUFFER_SIZE, &retlength, NULL)) {
tsrm_free_alloca(pbuffer, use_heap_large);
CloseHandle(hLink);
@@ -751,7 +916,7 @@ static int tsrm_realpath_r(char *path, int start, int len, int *ll, time_t *t, i
reparsetarget = pbuffer->SymbolicLinkReparseBuffer.ReparseTarget;
printname_len = pbuffer->MountPointReparseBuffer.PrintNameLength / sizeof(WCHAR);
isabsolute = (pbuffer->SymbolicLinkReparseBuffer.Flags == 0) ? 1 : 0;
if (!WideCharToMultiByte(CP_THREAD_ACP, 0,
if (!WideCharToMultiByte(CP_THREAD_ACP, 0,
reparsetarget + pbuffer->MountPointReparseBuffer.PrintNameOffset / sizeof(WCHAR),
printname_len + 1,
printname, MAX_PATH, NULL, NULL
@@ -763,7 +928,7 @@ static int tsrm_realpath_r(char *path, int start, int len, int *ll, time_t *t, i
printname[printname_len] = 0;
substitutename_len = pbuffer->MountPointReparseBuffer.SubstituteNameLength / sizeof(WCHAR);
if (!WideCharToMultiByte(CP_THREAD_ACP, 0,
if (!WideCharToMultiByte(CP_THREAD_ACP, 0,
reparsetarget + pbuffer->MountPointReparseBuffer.SubstituteNameOffset / sizeof(WCHAR),
substitutename_len + 1,
substitutename, MAX_PATH, NULL, NULL
@@ -777,7 +942,7 @@ static int tsrm_realpath_r(char *path, int start, int len, int *ll, time_t *t, i
isabsolute = 1;
reparsetarget = pbuffer->MountPointReparseBuffer.ReparseTarget;
printname_len = pbuffer->MountPointReparseBuffer.PrintNameLength / sizeof(WCHAR);
if (!WideCharToMultiByte(CP_THREAD_ACP, 0,
if (!WideCharToMultiByte(CP_THREAD_ACP, 0,
reparsetarget + pbuffer->MountPointReparseBuffer.PrintNameOffset / sizeof(WCHAR),
printname_len + 1,
printname, MAX_PATH, NULL, NULL
@@ -788,7 +953,7 @@ static int tsrm_realpath_r(char *path, int start, int len, int *ll, time_t *t, i
printname[pbuffer->MountPointReparseBuffer.PrintNameLength / sizeof(WCHAR)] = 0;
substitutename_len = pbuffer->MountPointReparseBuffer.SubstituteNameLength / sizeof(WCHAR);
if (!WideCharToMultiByte(CP_THREAD_ACP, 0,
if (!WideCharToMultiByte(CP_THREAD_ACP, 0,
reparsetarget + pbuffer->MountPointReparseBuffer.SubstituteNameOffset / sizeof(WCHAR),
substitutename_len + 1,
substitutename, MAX_PATH, NULL, NULL
@@ -797,35 +962,42 @@ static int tsrm_realpath_r(char *path, int start, int len, int *ll, time_t *t, i
return -1;
};
substitutename[substitutename_len] = 0;
}
else if (pbuffer->ReparseTag == IO_REPARSE_TAG_DEDUP) {
isabsolute = 1;
memcpy(substitutename, path, len + 1);
substitutename_len = len;
} else {
tsrm_free_alloca(pbuffer, use_heap_large);
return -1;
}
if(isabsolute && substitutename_len > 4) {
/* Do not resolve volumes (for now). A mounted point can
/* Do not resolve volumes (for now). A mounted point can
target a volume without a drive, it is not certain that
all IO functions we use in php and its deps support
all IO functions we use in php and its deps support
path with volume GUID instead of the DOS way, like:
d:\test\mnt\foo
\\?\Volume{62d1c3f8-83b9-11de-b108-806e6f6e6963}\foo
*/
if (strncmp(substitutename, "\\??\\Volume{",11) == 0
|| strncmp(substitutename, "\\\\?\\Volume{",11) == 0) {
isVolume = TRUE;
if (strncmp(substitutename, "\\??\\Volume{",11) == 0
|| strncmp(substitutename, "\\\\?\\Volume{",11) == 0
|| strncmp(substitutename, "\\??\\UNC\\", 8) == 0
) {
isVolume = TRUE;
substitutename_off = 0;
} else
/* do not use the \??\ and \\?\ prefix*/
if (strncmp(substitutename, "\\??\\", 4) == 0
if (strncmp(substitutename, "\\??\\", 4) == 0
|| strncmp(substitutename, "\\\\?\\", 4) == 0) {
substitutename_off = 4;
}
}
if (!isVolume) {
char * tmp = substitutename + substitutename_off;
char * tmp2 = substitutename + substitutename_off;
for(bufindex = 0; bufindex < (substitutename_len - substitutename_off); bufindex++) {
*(path + bufindex) = *(tmp + bufindex);
*(path + bufindex) = *(tmp2 + bufindex);
}
*(path + bufindex) = 0;
@@ -887,7 +1059,7 @@ static int tsrm_realpath_r(char *path, int start, int len, int *ll, time_t *t, i
tmp = tsrm_do_alloca(len+1, use_heap);
memcpy(tmp, path, len+1);
#else
if (save && lstat(path, &st) < 0) {
if (save && php_sys_lstat(path, &st) < 0) {
if (use_realpath == CWD_REALPATH) {
/* file not found */
return -1;
@@ -900,8 +1072,8 @@ static int tsrm_realpath_r(char *path, int start, int len, int *ll, time_t *t, i
memcpy(tmp, path, len+1);
if (save && S_ISLNK(st.st_mode)) {
if (++(*ll) > LINK_MAX || (j = readlink(tmp, path, MAXPATHLEN)) < 0) {
/* too many links or broken symlinks */
if (++(*ll) > LINK_MAX || (j = php_sys_readlink(tmp, path, MAXPATHLEN)) < 0) {
/* too many links or broken symlinks */
tsrm_free_alloca(tmp, use_heap);
return -1;
}
@@ -913,10 +1085,10 @@ static int tsrm_realpath_r(char *path, int start, int len, int *ll, time_t *t, i
return -1;
}
} else {
if (i + j >= MAXPATHLEN-1) {
if (i + j >= MAXPATHLEN-1) {
tsrm_free_alloca(tmp, use_heap);
return -1; /* buffer overflow */
}
}
memmove(path+i, path, j+1);
memcpy(path, tmp, i-1);
path[i-1] = DEFAULT_SLASH;
@@ -937,6 +1109,7 @@ static int tsrm_realpath_r(char *path, int start, int len, int *ll, time_t *t, i
}
if (is_dir && !directory) {
/* not a directory */
tsrm_free_alloca(tmp, use_heap);
return -1;
}
}
@@ -1038,18 +1211,18 @@ CWD_API int virtual_file_ex(cwd_state *state, const char *path, verify_path_func
state_cwd_length = 2;
while (IS_SLASH(state->cwd[state_cwd_length])) {
state_cwd_length++;
}
}
while (state->cwd[state_cwd_length] &&
!IS_SLASH(state->cwd[state_cwd_length])) {
!IS_SLASH(state->cwd[state_cwd_length])) {
state_cwd_length++;
}
}
while (IS_SLASH(state->cwd[state_cwd_length])) {
state_cwd_length++;
}
}
while (state->cwd[state_cwd_length] &&
!IS_SLASH(state->cwd[state_cwd_length])) {
!IS_SLASH(state->cwd[state_cwd_length])) {
state_cwd_length++;
}
}
}
}
#endif
@@ -1057,11 +1230,16 @@ CWD_API int virtual_file_ex(cwd_state *state, const char *path, verify_path_func
return 1;
}
memcpy(resolved_path, state->cwd, state_cwd_length);
resolved_path[state_cwd_length] = DEFAULT_SLASH;
memcpy(resolved_path + state_cwd_length + 1, path, path_length + 1);
path_length += state_cwd_length + 1;
if (resolved_path[state_cwd_length-1] == DEFAULT_SLASH) {
memcpy(resolved_path + state_cwd_length, path, path_length + 1);
path_length += state_cwd_length;
} else {
resolved_path[state_cwd_length] = DEFAULT_SLASH;
memcpy(resolved_path + state_cwd_length + 1, path, path_length + 1);
path_length += state_cwd_length + 1;
}
}
} else {
} else {
#ifdef TSRM_WIN32
if (path_length > 2 && path[1] == ':' && !IS_SLASH(path[2])) {
resolved_path[0] = path[0];
@@ -1072,11 +1250,11 @@ CWD_API int virtual_file_ex(cwd_state *state, const char *path, verify_path_func
} else
#endif
memcpy(resolved_path, path, path_length + 1);
}
}
#ifdef TSRM_WIN32
if (memchr(resolved_path, '*', path_length) ||
memchr(resolved_path, '?', path_length)) {
memchr(resolved_path, '?', path_length)) {
return 1;
}
#endif
@@ -1126,12 +1304,12 @@ CWD_API int virtual_file_ex(cwd_state *state, const char *path, verify_path_func
add_slash = (use_realpath != CWD_REALPATH) && path_length > 0 && IS_SLASH(resolved_path[path_length-1]);
t = CWDG(realpath_cache_ttl) ? 0 : -1;
path_length = tsrm_realpath_r(resolved_path, start, path_length, &ll, &t, use_realpath, 0, NULL TSRMLS_CC);
if (path_length < 0) {
errno = ENOENT;
return 1;
}
if (!start && !path_length) {
resolved_path[path_length++] = '.';
}
@@ -1184,7 +1362,7 @@ verify:
memcpy(state->cwd, resolved_path, state->cwd_length+1);
ret = 0;
}
#if VIRTUAL_CWD_DEBUG
fprintf (stderr, "virtual_file_ex() = %s\n",state->cwd);
#endif
@@ -1207,7 +1385,7 @@ CWD_API int virtual_chdir_file(const char *path, int (*p_chdir)(const char *path
if (length == 0) {
return 1; /* Can't cd to empty string */
}
}
while(--length >= 0 && !IS_SLASH(path[length])) {
}
@@ -1241,17 +1419,25 @@ CWD_API char *virtual_realpath(const char *path, char *real_path TSRMLS_DC) /* {
/* realpath("") returns CWD */
if (!*path) {
new_state.cwd = (char*)malloc(1);
if (new_state.cwd == NULL) {
retval = NULL;
goto end;
}
new_state.cwd[0] = '\0';
new_state.cwd_length = 0;
if (VCWD_GETCWD(cwd, MAXPATHLEN)) {
path = cwd;
new_state.cwd_length = 0;
if (VCWD_GETCWD(cwd, MAXPATHLEN)) {
path = cwd;
}
} else if (!IS_ABSOLUTE_PATH(path, strlen(path))) {
CWD_STATE_COPY(&new_state, &CWDG(cwd));
} else {
new_state.cwd = (char*)malloc(1);
if (new_state.cwd == NULL) {
retval = NULL;
goto end;
}
new_state.cwd[0] = '\0';
new_state.cwd_length = 0;
new_state.cwd_length = 0;
}
if (virtual_file_ex(&new_state, path, NULL, CWD_REALPATH)==0) {
@@ -1265,7 +1451,7 @@ CWD_API char *virtual_realpath(const char *path, char *real_path TSRMLS_DC) /* {
}
CWD_STATE_FREE(&new_state);
end:
return retval;
}
/* }}} */
@@ -1317,7 +1503,7 @@ CWD_API int virtual_access(const char *pathname, int mode TSRMLS_DC) /* {{{ */
{
cwd_state new_state;
int ret;
CWD_STATE_COPY(&new_state, &CWDG(cwd));
if (virtual_file_ex(&new_state, pathname, NULL, CWD_REALPATH)) {
CWD_STATE_FREE(&new_state);
@@ -1329,9 +1515,9 @@ CWD_API int virtual_access(const char *pathname, int mode TSRMLS_DC) /* {{{ */
#else
ret = access(new_state.cwd, mode);
#endif
CWD_STATE_FREE(&new_state);
return ret;
}
/* }}} */
@@ -1352,12 +1538,12 @@ static void UnixTimeToFileTime(time_t t, LPFILETIME pft) /* {{{ */
TSRM_API int win32_utime(const char *filename, struct utimbuf *buf) /* {{{ */
{
FILETIME mtime, atime;
HANDLE hFile;
HANDLE hFile;
hFile = CreateFile(filename, GENERIC_WRITE, FILE_SHARE_WRITE|FILE_SHARE_READ, NULL,
OPEN_ALWAYS, FILE_FLAG_BACKUP_SEMANTICS, NULL);
/* OPEN_ALWAYS mode sets the last error to ERROR_ALREADY_EXISTS but
/* OPEN_ALWAYS mode sets the last error to ERROR_ALREADY_EXISTS but
the CreateFile operation succeeds */
if (GetLastError() == ERROR_ALREADY_EXISTS) {
SetLastError(0);
@@ -1477,7 +1663,7 @@ CWD_API int virtual_open(const char *path TSRMLS_DC, int flags, ...) /* {{{ */
f = open(new_state.cwd, flags, mode);
} else {
f = open(new_state.cwd, flags);
}
}
CWD_STATE_FREE(&new_state);
return f;
}
@@ -1556,7 +1742,6 @@ CWD_API int virtual_stat(const char *path, struct stat *buf TSRMLS_DC) /* {{{ */
}
/* }}} */
#if !defined(TSRM_WIN32)
CWD_API int virtual_lstat(const char *path, struct stat *buf TSRMLS_DC) /* {{{ */
{
cwd_state new_state;
@@ -1568,13 +1753,12 @@ CWD_API int virtual_lstat(const char *path, struct stat *buf TSRMLS_DC) /* {{{ *
return -1;
}
retval = lstat(new_state.cwd, buf);
retval = php_sys_lstat(new_state.cwd, buf);
CWD_STATE_FREE(&new_state);
return retval;
}
/* }}} */
#endif
CWD_API int virtual_unlink(const char *path TSRMLS_DC) /* {{{ */
{
@@ -1738,7 +1922,7 @@ CWD_API FILE *virtual_popen(const char *command, const char *type TSRMLS_DC) /*
}
*ptr++ = '\'';
}
*ptr++ = ' ';
*ptr++ = ';';
*ptr++ = ' ';
@@ -1760,19 +1944,25 @@ CWD_API char *tsrm_realpath(const char *path, char *real_path TSRMLS_DC) /* {{{
/* realpath("") returns CWD */
if (!*path) {
new_state.cwd = (char*)malloc(1);
if (new_state.cwd == NULL) {
return NULL;
}
new_state.cwd[0] = '\0';
new_state.cwd_length = 0;
if (VCWD_GETCWD(cwd, MAXPATHLEN)) {
path = cwd;
new_state.cwd_length = 0;
if (VCWD_GETCWD(cwd, MAXPATHLEN)) {
path = cwd;
}
} else if (!IS_ABSOLUTE_PATH(path, strlen(path)) &&
VCWD_GETCWD(cwd, MAXPATHLEN)) {
VCWD_GETCWD(cwd, MAXPATHLEN)) {
new_state.cwd = strdup(cwd);
new_state.cwd_length = strlen(cwd);
} else {
new_state.cwd = (char*)malloc(1);
if (new_state.cwd == NULL) {
return NULL;
}
new_state.cwd[0] = '\0';
new_state.cwd_length = 0;
new_state.cwd_length = 0;
}
if (virtual_file_ex(&new_state, path, NULL, CWD_REALPATH)) {
+14 -10
View File
@@ -2,7 +2,7 @@
+----------------------------------------------------------------------+
| PHP Version 5 |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2010 The PHP Group |
| Copyright (c) 1997-2012 The PHP Group |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
@@ -14,6 +14,7 @@
+----------------------------------------------------------------------+
| Authors: Andi Gutmans <andi@zend.com> |
| Sascha Schumann <sascha@schumann.cx> |
| Pierre Joye <pierre@php.net> |
+----------------------------------------------------------------------+
*/
@@ -107,7 +108,7 @@ typedef unsigned short mode_t;
#define COPY_WHEN_ABSOLUTE(path) 0
#endif
#ifndef IS_ABSOLUTE_PATH
#ifndef IS_ABSOLUTE_PATH
#define IS_ABSOLUTE_PATH(path, len) \
(IS_SLASH(path[0]))
#endif
@@ -129,9 +130,16 @@ typedef unsigned short mode_t;
#endif
#ifdef TSRM_WIN32
CWD_API int php_sys_stat_ex(const char *path, struct stat *buf, int lstat);
CWD_API int php_sys_stat(const char *path, struct stat *buf);
CWD_API int php_sys_lstat(const char *path, struct stat *buf);
CWD_API int php_sys_readlink(const char *link, char *target, size_t target_len);
#else
# define php_sys_stat stat
# define php_sys_lstat lstat
# ifdef HAVE_SYMLINK
# define php_sys_readlink(link, target, target_len) readlink(link, target, target_len)
# endif
#endif
typedef struct _cwd_state {
@@ -155,9 +163,7 @@ CWD_API int virtual_open(const char *path TSRMLS_DC, int flags, ...);
CWD_API int virtual_creat(const char *path, mode_t mode TSRMLS_DC);
CWD_API int virtual_rename(char *oldname, char *newname TSRMLS_DC);
CWD_API int virtual_stat(const char *path, struct stat *buf TSRMLS_DC);
#if !defined(TSRM_WIN32)
CWD_API int virtual_lstat(const char *path, struct stat *buf TSRMLS_DC);
#endif
CWD_API int virtual_unlink(const char *path TSRMLS_DC);
CWD_API int virtual_mkdir(const char *pathname, mode_t mode TSRMLS_DC);
CWD_API int virtual_rmdir(const char *pathname TSRMLS_DC);
@@ -188,7 +194,7 @@ CWD_API int virtual_chmod(const char *filename, mode_t mode TSRMLS_DC);
CWD_API int virtual_chown(const char *filename, uid_t owner, gid_t group, int link TSRMLS_DC);
#endif
/* One of the following constants must be used as the last argument
/* One of the following constants must be used as the last argument
in virtual_file_ex() call. */
#define CWD_EXPAND 0 /* expand "." and ".." but dont resolve symlinks */
@@ -216,7 +222,7 @@ typedef struct _realpath_cache_bucket {
unsigned char is_wvalid;
unsigned char is_writable;
#endif
struct _realpath_cache_bucket *next;
struct _realpath_cache_bucket *next;
} realpath_cache_bucket;
typedef struct _virtual_cwd_globals {
@@ -244,7 +250,7 @@ CWD_API realpath_cache_bucket** realpath_cache_get_buckets(TSRMLS_D);
/* The actual macros to be used in programs using TSRM
* If the program defines VIRTUAL_DIR it will use the
* virtual_* functions
* virtual_* functions
*/
#ifdef VIRTUAL_DIR
@@ -261,9 +267,7 @@ CWD_API realpath_cache_bucket** realpath_cache_get_buckets(TSRMLS_D);
#define VCWD_REALPATH(path, real_path) virtual_realpath(path, real_path TSRMLS_CC)
#define VCWD_RENAME(oldname, newname) virtual_rename(oldname, newname TSRMLS_CC)
#define VCWD_STAT(path, buff) virtual_stat(path, buff TSRMLS_CC)
#if !defined(TSRM_WIN32)
# define VCWD_LSTAT(path, buff) virtual_lstat(path, buff TSRMLS_CC)
#endif
#define VCWD_LSTAT(path, buff) virtual_lstat(path, buff TSRMLS_CC)
#define VCWD_UNLINK(path) virtual_unlink(path TSRMLS_CC)
#define VCWD_MKDIR(pathname, mode) virtual_mkdir(pathname, mode TSRMLS_CC)
#define VCWD_RMDIR(pathname) virtual_rmdir(pathname TSRMLS_CC)
+9 -2
View File
@@ -2,7 +2,7 @@
+----------------------------------------------------------------------+
| PHP Version 5 |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2010 The PHP Group |
| Copyright (c) 1997-2012 The PHP Group |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
@@ -193,7 +193,7 @@ Finished:
TSRM_API int tsrm_win32_access(const char *pathname, int mode)
{
time_t t;
HANDLE thread_token;
HANDLE thread_token = NULL;
PSID token_sid;
SECURITY_INFORMATION sec_info = OWNER_SECURITY_INFORMATION | GROUP_SECURITY_INFORMATION | DACL_SECURITY_INFORMATION;
GENERIC_MAPPING gen_map = { FILE_GENERIC_READ, FILE_GENERIC_WRITE, FILE_GENERIC_EXECUTE, FILE_ALL_ACCESS };
@@ -365,6 +365,9 @@ Finished_Impersonate:
}
Finished:
if(thread_token != NULL) {
CloseHandle(thread_token);
}
if(real_path != NULL) {
free(real_path);
real_path = NULL;
@@ -532,6 +535,10 @@ TSRM_API FILE *popen_ex(const char *command, const char *type, const char *cwd,
}
cmd = (char*)malloc(strlen(command)+strlen(TWG(comspec))+sizeof(" /c ")+2);
if (!cmd) {
return NULL;
}
sprintf(cmd, "%s /c \"%s\"", TWG(comspec), command);
if (asuser) {
res = CreateProcessAsUser(token_user, NULL, cmd, &security, &security, security.bInheritHandle, dwCreateFlags, env, cwd, &startup, &process);
+1 -1
View File
@@ -2,7 +2,7 @@
+----------------------------------------------------------------------+
| PHP Version 5 |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2010 The PHP Group |
| Copyright (c) 1997-2012 The PHP Group |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
+38 -1
View File
@@ -40,6 +40,9 @@ UPGRADE NOTES - PHP 5.3
2. Changes made to existing functions
=====================================
- Paths containing NULL (like /some/path\0foo.txt) are now considered invalid.
See http://news.php.net/php.internals/50191
- The HTTP stream wrapper now considers all status codes from 200 to 399 to be
successful.
@@ -150,6 +153,20 @@ UPGRADE NOTES - PHP 5.3
- SplObjectStorage now has ArrayAccess support. It is also now possible to
store associative information with objects in SplObjectStorage.
=====================
4.1 New in PHP 5.3.9
=====================
- Write operations within XSLT (for example with the extension sax:output) are
disabled by default. You can define what is forbidden with the INI option
xsl.security_prefs. This option will be marked as deprecated in 5.4 again.
Use the method XsltProcess::setSecurityPrefs($options) there.
- the following new directives were added
- max_input_vars - specifies how many GET/POST/COOKIE input variables may be
accepted. default value 1000.
=============
5. Deprecated
@@ -273,6 +290,8 @@ UPGRADE NOTES - PHP 5.3
- MySQLi: Now supports persistent connections by prepending the hostname
with "p:".
- imagepstext now rejects invalid antialiasing steps and raises a warning.
d. no longer possible to disable
- PCRE
@@ -329,6 +348,9 @@ UPGRADE NOTES - PHP 5.3
- A new directive, request_order, controls the behavior of $_REQUEST
independently of variables_order.
- A new directive, called windows.show_crt_warning, has been introduced.
This directive shows the CRT warnings when enabled. These warnings were
displayed by default until now. It is disabled by default.
- New INI directives:
- mail.add_x_header
@@ -457,6 +479,19 @@ UPGRADE NOTES - PHP 5.3
- Firebird and SNMP support are no longer available on Windows. Firebird support
may be reintroduced in the future.
- As of PHP 5.3.15 and above the COM extension isn't compiled statically in PHP
anymore but shared. It'll still be delivered with the standard PHP release but
must be activated manually with the "extension = php_com_dotnet.dll" directive
in php.ini.
=====================
11.1 New in PHP 5.3.4
=====================
- open_basedir supports now symbolic links (checks the target).
- is_link and SplFileInfo symbolic links related method are now fully supported
(on Windows Vista or later).
===================
12. New in PHP 5.3:
===================
@@ -657,7 +692,9 @@ UPGRADE NOTES - PHP 5.3
ReflectionClass::inNamespace()
ReflectionClass::getNamespaceName()
ReflectionClass::getShortName()
- SPL SplObjectStorage::addAll()
- SPL: DirectoryIterator::getExtension()
SplFileInfo::getExtension()
SplObjectStorage::addAll()
SplObjectStorage::removeAll()
- XSL: XSLTProcessor::setProfiling()
+23
View File
@@ -0,0 +1,23 @@
$Id$
UPGRADE NOTES - PHP 5.3.4
1. Internal API changes
========================
1. Internal API changes
========================
a. stat/lstat support
lstat is now available on all platforms. On unix-like platform
php_sys_lstat is an alias to lstat (when avaible). On Windows it is now
available using php_sys_lstat. php_sys_stat and php_sys_lstat usage is recommended
instead of calling lstat directly, to ensure portability.
b. readlink support
readlink is now available on all platforms. On unix-like platform
php_sys_readlink is an alias to readlink (when avaible). On Windows it is now
available using php_sys_readlink. php_sys_readlink usage is recommended
instead of calling readlink directly, to ensure portability.
-22097
View File
File diff suppressed because it is too large. Load diff
+8
View File
@@ -24,6 +24,14 @@ Zend MM disabled:
$ USE_ZEND_ALLOC=0 valgrind --leak-check=full sapi/cli/php -r 'leak();'
Shared extensions:
------------------
Since PHP 5.3.11 it is possible to prevent shared extensions from unloading so
that valgrind can correctly track the memory leaks in shared extensions. For
this there is the ZEND_DONT_UNLOAD_MODULES environment variable. If set, then
DL_UNLOAD() is skipped during the shutdown of shared extensions.
Tweaking:
---------
+1 -1
View File
@@ -1,5 +1,5 @@
Title: Zend 2.0 Namespaces
Version: $Revision$
Version: $Id$
Status: declined
Maintainer: Stig S. Bakken <ssb@php.net>
Created: 2001-09-08
+1 -1
View File
@@ -1,5 +1,5 @@
Title: Loose type requirements for functions
Version: $Revision$
Version: $Id$
Status: draft
Maintainer: Brian Moon <brianm@dealnews.com>
Created: 2001-09-17
+1 -1
View File
@@ -2,7 +2,7 @@
+----------------------------------------------------------------------+
| Zend Engine |
+----------------------------------------------------------------------+
| Copyright (c) 1998-2010 Zend Technologies Ltd. (http://www.zend.com) |
| Copyright (c) 1998-2012 Zend Technologies Ltd. (http://www.zend.com) |
+----------------------------------------------------------------------+
| This source file is subject to version 2.00 of the Zend license, |
| that is bundled with this package in the file LICENSE, and is |
+1 -1
View File
@@ -4,7 +4,7 @@ dnl This file contains local autoconf functions.
AC_DEFUN([LIBZEND_BISON_CHECK],[
# we only support certain bison versions
bison_version_list="1.28 1.35 1.75 1.875 2.0 2.1 2.2 2.3 2.4 2.4.1"
bison_version_list="1.28 1.35 1.75 1.875 2.0 2.1 2.2 2.3 2.4 2.4.1 2.4.2 2.4.3 2.5 2.5.1 2.6 2.6.1 2.6.2"
# for standalone build of Zend Engine
test -z "$SED" && SED=sed
View File
File mode changed.
Executable → Regular
View File
File mode changed.
Executable → Regular
View File
File mode changed.
Executable → Regular
View File
File mode changed.
Executable → Regular
View File
File mode changed.
Executable → Regular
View File
File mode changed.
Executable → Regular
View File
File mode changed.
Executable → Regular
View File
File mode changed.
Executable → Regular
View File
File mode changed.
Executable → Regular
View File
File mode changed.
Executable → Regular
View File
File mode changed.
Executable → Regular
View File
File mode changed.
Executable → Regular
View File
File mode changed.
Executable → Regular
View File
File mode changed.
Executable → Regular
View File
File mode changed.
Executable → Regular
View File
File mode changed.
Executable → Regular
View File
File mode changed.
Executable → Regular
View File
File mode changed.
Executable → Regular
View File
File mode changed.
Executable → Regular
View File
File mode changed.
Executable → Regular
View File
File mode changed.
Executable → Regular
View File
File mode changed.
Executable → Regular
View File
File mode changed.
Executable → Regular
View File
File mode changed.
Executable → Regular
View File
File mode changed.
Executable → Regular
View File
File mode changed.
Executable → Regular
View File
File mode changed.
Executable → Regular
View File
File mode changed.
Executable → Regular
View File
File mode changed.
Executable → Regular
View File
File mode changed.
Executable → Regular
View File
File mode changed.
Executable → Regular
View File
File mode changed.
Executable → Regular
View File
File mode changed.
Executable → Regular
View File
File mode changed.
Executable → Regular
View File
File mode changed.
Executable → Regular
View File
File mode changed.
Executable → Regular
View File
File mode changed.
Executable → Regular
View File
File mode changed.
Executable → Regular
View File
File mode changed.
Executable → Regular
View File
File mode changed.
Executable → Regular
View File
File mode changed.
Executable → Regular
View File
File mode changed.
Executable → Regular
View File
File mode changed.
Executable → Regular
View File
File mode changed.
Executable → Regular
View File
File mode changed.
Executable → Regular
View File
File mode changed.
Executable → Regular
View File
File mode changed.
Executable → Regular
View File
File mode changed.
-2
View File
@@ -1,7 +1,5 @@
--TEST--
Bug #31683 (changes to $name in __get($name) override future parameters)
--SKIPIF--
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
Executable → Regular
View File
File mode changed.
Executable → Regular
View File
File mode changed.
Executable → Regular
View File
File mode changed.
Executable → Regular
View File
File mode changed.
Executable → Regular
View File
File mode changed.
Executable → Regular
View File
File mode changed.
Executable → Regular
View File
File mode changed.
Executable → Regular
View File
File mode changed.
Loaded 100 of 4376 files, more files were not shown because too many files have changed in this diff. Show more