]> granicus.if.org Git - php/log
php
13 years agoFixed basic HTTP authentication for WSDL sub requests
Dmitry Stogov [Wed, 1 Feb 2012 11:26:57 +0000 (11:26 +0000)]
Fixed basic HTTP authentication for WSDL sub requests

13 years agofix usage of php_output_(de)activate; I guess this code doesn't bother about one...
Michael Wallner [Tue, 31 Jan 2012 10:47:21 +0000 (10:47 +0000)]
fix usage of php_output_(de)activate; I guess this code doesn't bother about one more hack;

13 years agofix headers print to stdout/stderr if no output written; need to make some more tests...
Michael Wallner [Tue, 31 Jan 2012 08:51:24 +0000 (08:51 +0000)]
fix headers print to stdout/stderr if no output written; need to make some more testsbefore committing to PHP_5_4; fix crashes and invalid usage of output control in cli server while passing by

13 years ago- fix #55226, WS
Pierre Joye [Tue, 31 Jan 2012 07:17:05 +0000 (07:17 +0000)]
- fix #55226, WS

13 years ago- fix #55226, fix build
Pierre Joye [Tue, 31 Jan 2012 07:14:36 +0000 (07:14 +0000)]
- fix #55226, fix build

13 years agoFix bug #60801 (strpbrk() mishandles NUL byte) on trunk only for now.
Adam Harvey [Mon, 30 Jan 2012 13:29:15 +0000 (13:29 +0000)]
Fix bug #60801 (strpbrk() mishandles NUL byte) on trunk only for now.

13 years agouse stderr before, stdout after php_output_startup() and sapi_module.ub_write() after...
Michael Wallner [Mon, 30 Jan 2012 12:17:51 +0000 (12:17 +0000)]
use stderr before, stdout after php_output_startup() and sapi_module.ub_write() after php_output_activate()

- fixes Bug #60920  CLI: php -v on STDERR
- fixes Bug #60923  Failing tests for sapi/cli

13 years ago- libssh2 1.3.0
Pierre Joye [Mon, 30 Jan 2012 11:04:19 +0000 (11:04 +0000)]
- libssh2 1.3.0

13 years agoFixed (disabled) inline-caching for ZEND_OVERLOADED_FUNCTION methods
Dmitry Stogov [Mon, 30 Jan 2012 10:51:02 +0000 (10:51 +0000)]
Fixed (disabled) inline-caching for ZEND_OVERLOADED_FUNCTION methods

13 years agoFixed bug #51860 (Include fails with toplevel symlink to /)
Dmitry Stogov [Mon, 30 Jan 2012 10:08:11 +0000 (10:08 +0000)]
Fixed bug #51860 (Include fails with toplevel symlink to /)

13 years ago- Reinstated correct return values after David's fix for #60218.
Derick Rethans [Sun, 29 Jan 2012 15:25:40 +0000 (15:25 +0000)]
- Reinstated correct return values after David's fix for #60218.

13 years agoCS fixes.
Derick Rethans [Sun, 29 Jan 2012 11:17:07 +0000 (11:17 +0000)]
CS fixes.

13 years agocreateCollation() for pdo_sqlite as well
Rasmus Lerdorf [Sun, 29 Jan 2012 04:22:23 +0000 (04:22 +0000)]
createCollation() for pdo_sqlite as well
Closes bug #55226

13 years agoMissed the test
Rasmus Lerdorf [Sun, 29 Jan 2012 04:20:50 +0000 (04:20 +0000)]
Missed the test

13 years agoGood patch from Brad Dewar that adds missing createCollation()
Rasmus Lerdorf [Sun, 29 Jan 2012 03:57:29 +0000 (03:57 +0000)]
Good patch from Brad Dewar that adds missing createCollation()
method. Fixes bug #60871 and is related to bug #55226

13 years agoSimple fix that just quotes the filenames in run-tests to support paths with spaces.
Rasmus Lerdorf [Sat, 28 Jan 2012 02:43:31 +0000 (02:43 +0000)]
Simple fix that just quotes the filenames in run-tests to support paths with spaces.
Fixes bug #60734

13 years ago- Fixed bug #60860 (session.save_handler=user without defined function core dumps)
Felipe Pena [Sat, 28 Jan 2012 01:24:54 +0000 (01:24 +0000)]
- Fixed bug #60860 (session.save_handler=user without defined function core dumps)

13 years ago- update libs
Pierre Joye [Fri, 27 Jan 2012 17:35:01 +0000 (17:35 +0000)]
- update libs

13 years ago- update libs
Pierre Joye [Fri, 27 Jan 2012 17:31:17 +0000 (17:31 +0000)]
- update libs

13 years ago- update libs
Pierre Joye [Fri, 27 Jan 2012 13:27:03 +0000 (13:27 +0000)]
- update libs

13 years ago- fix #60895, possible invalid handler usage
Pierre Joye [Fri, 27 Jan 2012 10:56:33 +0000 (10:56 +0000)]
- fix #60895, possible invalid handler usage

13 years ago- openssl 0.9.8t, curl 7.24.0
Pierre Joye [Thu, 26 Jan 2012 12:11:02 +0000 (12:11 +0000)]
- openssl 0.9.8t, curl 7.24.0

13 years agoWS, merged from trunk cause this issue, sorry
Xinchen Hui [Thu, 26 Jan 2012 01:28:37 +0000 (01:28 +0000)]
WS, merged from trunk cause this issue, sorry

13 years agoFixed bug #60825 (Segfault when running symfony 2 tests)
Xinchen Hui [Thu, 26 Jan 2012 01:21:35 +0000 (01:21 +0000)]
Fixed bug #60825 (Segfault when running symfony 2 tests)

13 years agofind a php-cgi which is a sibling of the php executable
Michael Wallner [Wed, 25 Jan 2012 19:36:36 +0000 (19:36 +0000)]
find a php-cgi which is a sibling of the php executable

13 years agofix crash with display_startup_errors=1
Michael Wallner [Wed, 25 Jan 2012 17:22:46 +0000 (17:22 +0000)]
fix crash with display_startup_errors=1

13 years agoRe-fixed bug #60825 (Segfault when running symfony 2 tests)
Xinchen Hui [Tue, 24 Jan 2012 14:39:45 +0000 (14:39 +0000)]
Re-fixed bug #60825 (Segfault when running symfony 2 tests)

13 years agoLTP/gcov/lcov
Michael Wallner [Mon, 23 Jan 2012 09:48:18 +0000 (09:48 +0000)]
LTP/gcov/lcov

- allow ltp v1.9
- make sure `test`s are catched by `if`s
- introduce LCOV_INCLUDE make variable, simple coverage for your extension:
  ./configure --enable-gcov && make lcov TESTS=~/src/pecl/http/test LCOV_INCLUDE=/http/
  coverage takes just a few seconds instead of a few minutes for the full source tree

13 years agoPlease test your tests
Rasmus Lerdorf [Mon, 23 Jan 2012 06:39:01 +0000 (06:39 +0000)]
Please test your tests

13 years ago- Further fix for bug #60455 (stream_get_line misbehaves if EOF is not detected
Gustavo André dos Santos Lopes [Sun, 22 Jan 2012 20:30:37 +0000 (20:30 +0000)]
- 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

13 years agoFixed bug #60825 (Segfault when running symfony 2 tests)
Xinchen Hui [Sat, 21 Jan 2012 17:13:53 +0000 (17:13 +0000)]
Fixed bug #60825 (Segfault when running symfony 2 tests)

13 years agorevert r319254 (fix bug #54682) since it is not correct
Nuno Lopes [Sat, 21 Jan 2012 11:32:56 +0000 (11:32 +0000)]
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

13 years agoRemove memory leak in substr_replace (to commit in 5.4 after code freeze)
Pierrick Charron [Fri, 20 Jan 2012 13:20:14 +0000 (13:20 +0000)]
Remove memory leak in substr_replace (to commit in 5.4 after code freeze)

13 years agoFixed Bug #60809 (TRAITS - PHPDoc Comment Style Bug)
Dmitry Stogov [Fri, 20 Jan 2012 12:30:57 +0000 (12:30 +0000)]
Fixed Bug #60809 (TRAITS - PHPDoc Comment Style Bug)
Fixed some other traits related bugs (uninitialized variable, return => continue)
Removed some trait related redundant code and variables

13 years agoFix CVE-2011-3389. Possible attack on CBC mode with TLS 1.0.
Scott MacVicar [Fri, 20 Jan 2012 05:31:53 +0000 (05:31 +0000)]
Fix CVE-2011-3389. Possible attack on CBC mode with TLS 1.0.

See http://www.openssl.org/~bodo/tls-cbc.txt

The biggest reason for this mode being in SSL_OP_ALL was older versions
of IE (2002) talking to servers using OpenSSL.

Can hopefully get this into 5.4.

13 years agoMissing ifdef here
Rasmus Lerdorf [Thu, 19 Jan 2012 22:35:22 +0000 (22:35 +0000)]
Missing ifdef here
Fixes bug 60811

13 years agomerging the patch from #52078, fixes the test on disk with huge inode size(fileinode...
Ferenc Kovacs [Thu, 19 Jan 2012 00:20:04 +0000 (00:20 +0000)]
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.

13 years ago- add test for bug #60761
Pierre Joye [Wed, 18 Jan 2012 20:29:13 +0000 (20:29 +0000)]
- add test for bug #60761

13 years ago- add test for bug #60771
Pierre Joye [Wed, 18 Jan 2012 20:22:47 +0000 (20:22 +0000)]
- add test for bug #60771

13 years ago- add test for bug #60761
Pierre Joye [Wed, 18 Jan 2012 20:21:40 +0000 (20:21 +0000)]
- add test for bug #60761

13 years agoremove XFAIL for bug #47178
Michael Wallner [Wed, 18 Jan 2012 10:16:37 +0000 (10:16 +0000)]
remove XFAIL for bug #47178

13 years agomerge ext/hash from trunk
Michael Wallner [Wed, 18 Jan 2012 09:15:34 +0000 (09:15 +0000)]
merge ext/hash from trunk

13 years agofix tests I borked
Michael Wallner [Tue, 17 Jan 2012 17:21:32 +0000 (17:21 +0000)]
fix tests I borked

13 years agoremove Salsa10/Salsa20, which are actually stream ciphers not hash functions
Michael Wallner [Tue, 17 Jan 2012 16:35:32 +0000 (16:35 +0000)]
remove Salsa10/Salsa20, which are actually stream ciphers not hash functions

13 years agoadapted tiger hash byte print order to those of md5 and sha1
Michael Wallner [Tue, 17 Jan 2012 15:25:54 +0000 (15:25 +0000)]
adapted tiger hash byte print order to those of md5 and sha1

see http://en.wikipedia.org/wiki/Tiger_(cryptography)
    http://www.cs.technion.ac.il/~biham/Reports/Tiger/test-vectors-nessie-format.dat

Closes Bug #60221 Tiger hash output byte order

13 years agounnecessay slash
Xinchen Hui [Tue, 17 Jan 2012 14:32:01 +0000 (14:32 +0000)]
unnecessay slash

13 years agoRevert r322390.
Sebastian Bergmann [Tue, 17 Jan 2012 13:46:31 +0000 (13:46 +0000)]
Revert r322390.

13 years agoImplement ReflectionClass::setFinal() and ReflectionMethod::setFinal().
Sebastian Bergmann [Tue, 17 Jan 2012 12:59:33 +0000 (12:59 +0000)]
Implement ReflectionClass::setFinal() and ReflectionMethod::setFinal().

Patch by Jan Dolecek <juzna.cz@gmail.com>.

13 years agoFixed workaround for bug #48034 on Windows (Crash when script is 8192 (8KB) bytes...
Dmitry Stogov [Tue, 17 Jan 2012 09:30:12 +0000 (09:30 +0000)]
Fixed workaround for bug #48034 on Windows (Crash when script is 8192 (8KB) bytes long)

13 years agoRegenerated scanners
Dmitry Stogov [Tue, 17 Jan 2012 08:11:32 +0000 (08:11 +0000)]
Regenerated scanners

13 years agoImproved traits implementation. Now to support __CLASS__ constant in traits php doesn...
Dmitry Stogov [Tue, 17 Jan 2012 08:09:13 +0000 (08:09 +0000)]
Improved traits implementation. Now to support __CLASS__ constant in traits php doesn't have to copy the complete compiled method, but can reuse the same code. The resolution of __CLASS__ constants in methods defined in traits are delayed till run-time. This approach also made possible to use __CLASS__ constant as default value for traits properties and method arguments.

13 years agoFix bug #60768 Output buffer not discarded
Michael Wallner [Mon, 16 Jan 2012 17:51:35 +0000 (17:51 +0000)]
Fix bug #60768  Output buffer not discarded

 in php_output_handler_op():
  * if appending to buffer succeeds, just return HANDLER_NO_DATA
    and do nothing else
  * if a zero sized string or true is returned from the handler
    function, reset the context as well as the handler's buffer

13 years agotypo
Xinchen Hui [Mon, 16 Jan 2012 10:20:18 +0000 (10:20 +0000)]
typo

13 years agoFixed Bug #60573 (type hinting with "self" keyword causes weird errors)
Xinchen Hui [Mon, 16 Jan 2012 09:53:45 +0000 (09:53 +0000)]
Fixed Bug #60573 (type hinting with "self" keyword causes weird errors)

13 years agoFixed bug #60585 (php build fails with USE flag snmp when IPv6 support is disabled)
Boris Lytochkin [Fri, 13 Jan 2012 18:34:21 +0000 (18:34 +0000)]
Fixed bug #60585 (php build fails with USE flag snmp when IPv6 support is disabled)
Fixed bug #60749 (SNMP module should not strip non-standard SNMP port from hostname)
Fixed ipv6 test skipto if IPv6 support is disabled

13 years agoFix configuration message typo and alignment (5.4 merge approved by Stas)
Christopher Jones [Thu, 12 Jan 2012 23:23:05 +0000 (23:23 +0000)]
Fix configuration message typo and alignment (5.4 merge approved by Stas)

13 years ago- add new build type, optional. has been used for the last 2 RCs
Pierre Joye [Wed, 11 Jan 2012 15:46:45 +0000 (15:46 +0000)]
- add new build type, optional. has been used for the last 2 RCs

13 years agoFixed incorrect type cast
Dmitry Stogov [Wed, 11 Jan 2012 15:04:14 +0000 (15:04 +0000)]
Fixed incorrect type cast

13 years ago- make it windows version independent, error msg differs, bad but well
Pierre Joye [Tue, 10 Jan 2012 08:30:00 +0000 (08:30 +0000)]
- make it windows version independent, error msg differs, bad but well

13 years ago- any other dir may not exist or may not be used
Pierre Joye [Tue, 10 Jan 2012 07:33:36 +0000 (07:33 +0000)]
- any other dir may not exist or may not be used

13 years ago - error is windows version dependent and not what we test here
Pierre Joye [Mon, 9 Jan 2012 15:31:33 +0000 (15:31 +0000)]
 - error is windows version dependent and not what we test here

13 years ago- rm
Pierre Joye [Mon, 9 Jan 2012 14:29:06 +0000 (14:29 +0000)]
- rm

13 years ago - spl tests are also under examples (sigh)
Pierre Joye [Mon, 9 Jan 2012 13:56:46 +0000 (13:56 +0000)]
 - spl tests are also under examples (sigh)

13 years agoThese tests don't work if run as root
Rasmus Lerdorf [Sun, 8 Jan 2012 18:43:30 +0000 (18:43 +0000)]
These tests don't work if run as root

13 years ago- Added the ability for the intl exception to throw exceptions when a global error...
Gustavo André dos Santos Lopes [Sun, 8 Jan 2012 18:41:53 +0000 (18:41 +0000)]
- Added the ability for the intl exception to throw exceptions when a global error is set.

13 years agoMake sure gc is enabled
Rasmus Lerdorf [Sun, 8 Jan 2012 18:22:50 +0000 (18:22 +0000)]
Make sure gc is enabled

13 years agodo kill 9 to fix a race condition in this test. (should fix the debian 32-bit buildbot)
Nuno Lopes [Sun, 8 Jan 2012 18:03:56 +0000 (18:03 +0000)]
do kill 9 to fix a race condition in this test. (should fix the debian 32-bit buildbot)

13 years agoRemove test for bug 60675, the change in behavior between 5.3 and 5.4 is intentional.
Daniel Convissor [Sat, 7 Jan 2012 23:09:49 +0000 (23:09 +0000)]
Remove test for bug 60675, the change in behavior between 5.3 and 5.4 is intentional.

13 years agoTest for bug 60675.
Daniel Convissor [Fri, 6 Jan 2012 22:10:04 +0000 (22:10 +0000)]
Test for bug 60675.

13 years agoChanged: restoring REQUEST_TIME as a long, introducing REQUEST_TIME_FLOAT instead...
Patrick Allaert [Fri, 6 Jan 2012 13:37:51 +0000 (13:37 +0000)]
Changed: restoring REQUEST_TIME as a long, introducing REQUEST_TIME_FLOAT instead as discussed on the ML

13 years ago- Fixed bug #60659 (FPM does not clear auth_user on request accept)
Jérôme Loyet [Wed, 4 Jan 2012 21:18:26 +0000 (21:18 +0000)]
- Fixed bug #60659 (FPM does not clear auth_user on request accept)

13 years agomove to XFAIL since it fails on 32-bit
Stanislav Malyshev [Wed, 4 Jan 2012 20:40:13 +0000 (20:40 +0000)]
move to XFAIL since it fails on 32-bit

13 years agoadd more tests for #60634 (stems from #21306) and xfail them all for the moment
Arpad Ray [Wed, 4 Jan 2012 11:44:05 +0000 (11:44 +0000)]
add more tests for #60634 (stems from #21306) and xfail them all for the moment

13 years agoFixed bug #60627 (httpd.worker segfault on startup with php_value)
Xinchen Hui [Wed, 4 Jan 2012 08:25:06 +0000 (08:25 +0000)]
Fixed bug #60627 (httpd.worker segfault on startup with php_value)

13 years agofix test
Xinchen Hui [Wed, 4 Jan 2012 08:13:58 +0000 (08:13 +0000)]
fix test

13 years agofix return values of inherited session handler to match user handlers - #60640
Arpad Ray [Wed, 4 Jan 2012 01:31:30 +0000 (01:31 +0000)]
fix return values of inherited session handler to match user handlers - #60640

13 years agoadd SessionHandlerInterface for session_set_save_handler() - #60551
Arpad Ray [Wed, 4 Jan 2012 01:16:45 +0000 (01:16 +0000)]
add SessionHandlerInterface for session_set_save_handler() - #60551

13 years ago- Fixed bug #60629 (memory corruption when web server closed the fcgi fd)
Jérôme Loyet [Tue, 3 Jan 2012 22:26:11 +0000 (22:26 +0000)]
- Fixed bug #60629 (memory corruption when web server closed the fcgi fd)

13 years agoadd test for #60634
Arpad Ray [Tue, 3 Jan 2012 21:47:16 +0000 (21:47 +0000)]
add test for #60634

13 years agoBug #55663, fixed test for bug 43139 on Firebird. Per request from mariuz
Matteo Beccati [Mon, 2 Jan 2012 11:43:25 +0000 (11:43 +0000)]
Bug #55663, fixed test for bug 43139 on Firebird. Per request from mariuz

13 years agofix bug #55871 - Interruption in substr_replace()
Stanislav Malyshev [Mon, 2 Jan 2012 00:47:57 +0000 (00:47 +0000)]
fix bug #55871 - Interruption in substr_replace()

13 years agofix bug #54374, bug #55500 - filter file names better, no dangling [s
Stanislav Malyshev [Sun, 1 Jan 2012 23:54:25 +0000 (23:54 +0000)]
fix bug #54374, bug #55500 - filter file names better, no dangling [s

13 years agoadd test for ob_gzhandler
Stanislav Malyshev [Sun, 1 Jan 2012 23:51:21 +0000 (23:51 +0000)]
add test for ob_gzhandler

13 years agoregen for r321655
Nuno Lopes [Sun, 1 Jan 2012 22:52:23 +0000 (22:52 +0000)]
regen for r321655

13 years agofix memory leak in compile_string when there's a parse error (used e.g. in eval or...
Nuno Lopes [Sun, 1 Jan 2012 22:45:58 +0000 (22:45 +0000)]
fix memory leak in compile_string when there's a parse error (used e.g. in eval or assert)

13 years ago- Year++
Felipe Pena [Sun, 1 Jan 2012 13:15:04 +0000 (13:15 +0000)]
- Year++

13 years agofollow naming convention
Michael Wallner [Fri, 30 Dec 2011 09:20:07 +0000 (09:20 +0000)]
follow naming convention

13 years agoAdded an API call to return active output handler
Dmitry Stogov [Fri, 30 Dec 2011 08:50:49 +0000 (08:50 +0000)]
Added an API call to return active output handler

13 years agoFixed PDO_Firebird: bug 53280 segfaults if query column count is less than param...
Popa Adrian Marius [Wed, 28 Dec 2011 19:58:37 +0000 (19:58 +0000)]
Fixed  PDO_Firebird: bug 53280 segfaults if query column count is less than param count

13 years agofix tablename in testcase test->testz
Popa Adrian Marius [Wed, 28 Dec 2011 19:09:41 +0000 (19:09 +0000)]
fix tablename in testcase test->testz

13 years agoAdded test case for PDO_Firebird: bug 53280 segfaults if query column count is less...
Popa Adrian Marius [Wed, 28 Dec 2011 18:52:39 +0000 (18:52 +0000)]
Added test case for PDO_Firebird: bug 53280 segfaults if query column count is less than param count

13 years agofix Bug #47415 PDO_Firebird segfaults when passing lowercased column name to bindColumn()
Popa Adrian Marius [Wed, 28 Dec 2011 10:17:17 +0000 (10:17 +0000)]
fix Bug #47415 PDO_Firebird segfaults when passing lowercased column name to bindColumn()

13 years agoFixed tests
Dmitry Stogov [Wed, 28 Dec 2011 10:12:43 +0000 (10:12 +0000)]
Fixed tests

13 years agoone more error to fix Table unknown TEST , it should be TESTZ
Popa Adrian Marius [Wed, 28 Dec 2011 10:04:25 +0000 (10:04 +0000)]
one more error to fix Table unknown TEST , it should be TESTZ

13 years agofix table name in testcase
Popa Adrian Marius [Wed, 28 Dec 2011 09:59:53 +0000 (09:59 +0000)]
fix table name in testcase

13 years agoFixed bug #60613 (Segmentation fault with $cls->{expr}() syntax)
Dmitry Stogov [Wed, 28 Dec 2011 09:59:39 +0000 (09:59 +0000)]
Fixed bug #60613 (Segmentation fault with $cls->{expr}() syntax)

13 years agoadded testcase for Bug 47415
Popa Adrian Marius [Wed, 28 Dec 2011 09:53:15 +0000 (09:53 +0000)]
added testcase for Bug 47415

13 years agocleanup for bug 48877 test, add description
Popa Adrian Marius [Wed, 28 Dec 2011 09:41:02 +0000 (09:41 +0000)]
cleanup for bug 48877 test, add description

13 years agoremove experimental status for pdo_Firebird , see the general status http://www.fireb...
Popa Adrian Marius [Wed, 28 Dec 2011 09:31:18 +0000 (09:31 +0000)]
remove experimental status for pdo_Firebird , see the general status http://www.firebirdnews.org/?p=6619

13 years agoFix #60613 (Segmentation fault with $cls->{expr}() syntax)
Xinchen Hui [Wed, 28 Dec 2011 06:46:12 +0000 (06:46 +0000)]
Fix #60613 (Segmentation fault with $cls->{expr}() syntax)
#now the behavior is like 5.3, a COMPILER_ERROR will be triggered