]> granicus.if.org Git - php/log
php
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

13 years agoResolve the last of the xfails from Bug 55253.
Daniel Convissor [Wed, 28 Dec 2011 01:13:12 +0000 (01:13 +0000)]
Resolve the last of the xfails from Bug 55253.

13 years agoResolve more xfails due to Bug 55253 being fixed.
Daniel Convissor [Tue, 27 Dec 2011 19:44:13 +0000 (19:44 +0000)]
Resolve more xfails due to Bug 55253 being fixed.

13 years agoResolve some xfails due to Bug 55253 being fixed. (merged from 54)
Daniel Convissor [Tue, 27 Dec 2011 16:57:36 +0000 (16:57 +0000)]
Resolve some xfails due to Bug 55253 being fixed. (merged from 54)

13 years agohttp://gcov.php.net/viewer.php?version=PHP_5_3&func=tests&file=ext%2Fpdo_firebird...
Popa Adrian Marius [Tue, 27 Dec 2011 16:49:00 +0000 (16:49 +0000)]
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

13 years agoLooks like we need to explicity add libstdc++ on recent linux' too, like fedora 14...
Hannes Magnusson [Tue, 27 Dec 2011 13:53:11 +0000 (13:53 +0000)]
Looks like we need to explicity add libstdc++ on recent linux' too, like fedora 14 and ubuntu 11
This fixes build failures for ext/intl and several pecl exts

13 years agoPDO_Firebird: bug 48877 test
Popa Adrian Marius [Tue, 27 Dec 2011 10:54:47 +0000 (10:54 +0000)]
PDO_Firebird: bug 48877 test

13 years agoFix bug #60611 (Segmentation fault with Cls::{expr}() syntax)
Xinchen Hui [Tue, 27 Dec 2011 08:38:18 +0000 (08:38 +0000)]
Fix bug #60611 (Segmentation fault with Cls::{expr}() syntax)

13 years ago- fix bug 60326, fix crash introduce by the fix
Pierre Joye [Tue, 27 Dec 2011 02:39:14 +0000 (02:39 +0000)]
- fix bug 60326, fix crash introduce by the fix

13 years ago- Fix bug #60326, fix TS build (introduced by r321406)
Pierre Joye [Mon, 26 Dec 2011 12:32:05 +0000 (12:32 +0000)]
- Fix bug #60326, fix TS build (introduced by r321406)

13 years agofix bug #60326 - restore ob_gzhandler
Stanislav Malyshev [Mon, 26 Dec 2011 08:29:11 +0000 (08:29 +0000)]
fix bug #60326 - restore ob_gzhandler

13 years agofix test
Stanislav Malyshev [Mon, 26 Dec 2011 05:08:09 +0000 (05:08 +0000)]
fix test

13 years agofix bug #60322 (ob_get_clean() now raises an E_NOTICE if no buffers exist)
Stanislav Malyshev [Mon, 26 Dec 2011 05:01:46 +0000 (05:01 +0000)]
fix bug #60322 (ob_get_clean() now raises an E_NOTICE if no buffers exist)

13 years agofix test - paths may be expressed in different way
Stanislav Malyshev [Mon, 26 Dec 2011 03:55:29 +0000 (03:55 +0000)]
fix test - paths may be expressed in different way

13 years agotest fixes
Stanislav Malyshev [Mon, 26 Dec 2011 03:22:07 +0000 (03:22 +0000)]
test fixes

13 years agofix uninitialized var that may lead to crash
Stanislav Malyshev [Mon, 26 Dec 2011 02:16:37 +0000 (02:16 +0000)]
fix uninitialized var that may lead to crash

13 years agofix tests
Stanislav Malyshev [Mon, 26 Dec 2011 01:08:47 +0000 (01:08 +0000)]
fix tests

13 years agoCoding standards
Pierrick Charron [Fri, 23 Dec 2011 21:01:05 +0000 (21:01 +0000)]
Coding standards

13 years agoInitialize structure (some fields may be missed in array returned from user handler).
Dmitry Stogov [Thu, 22 Dec 2011 15:33:48 +0000 (15:33 +0000)]
Initialize structure (some fields may be missed in array returned from user handler).

13 years agoChange fatal error into warning and ignore arguments over limit
Dmitry Stogov [Thu, 22 Dec 2011 15:31:41 +0000 (15:31 +0000)]
Change fatal error into warning and ignore arguments over limit

13 years agotest for bug 60591
Xinchen Hui [Thu, 22 Dec 2011 08:08:52 +0000 (08:08 +0000)]
test for bug 60591

13 years agoFix bug #60591 (Memory leak when access a non-exists file)
Xinchen Hui [Thu, 22 Dec 2011 07:39:44 +0000 (07:39 +0000)]
Fix bug #60591 (Memory leak when access a non-exists file)

13 years agoFix warning on non-numeric offsets
Stanislav Malyshev [Thu, 22 Dec 2011 03:22:42 +0000 (03:22 +0000)]
Fix warning on non-numeric offsets

13 years ago- Fixed bug #60570 (http wrapper leaks context resource if request fails/is
Gustavo André dos Santos Lopes [Wed, 21 Dec 2011 15:44:58 +0000 (15:44 +0000)]
- Fixed bug #60570 (http wrapper leaks context resource if request fails/is
  redirected).

13 years agoFix tests
Xinchen Hui [Mon, 19 Dec 2011 16:57:36 +0000 (16:57 +0000)]
Fix tests

13 years agoFixed bug #60558 (Invalid read and writes)
Xinchen Hui [Mon, 19 Dec 2011 16:48:18 +0000 (16:48 +0000)]
Fixed bug #60558 (Invalid read and writes)
Re-Fixed bug #60536 (Traits Segfault)
#Thanks to tony2001, I found the previous fix -r321089 is actually not a correct one.
#The key problem there is because the traits didn't correct set the property_info.offset
#for private properties. so here come the new fix.

13 years agoRevert previous bad fix, introduce memory leak
Xinchen Hui [Mon, 19 Dec 2011 12:00:09 +0000 (12:00 +0000)]
Revert previous bad fix, introduce memory leak

13 years agoCodes standard & Remove useless empty lines
Xinchen Hui [Mon, 19 Dec 2011 10:05:48 +0000 (10:05 +0000)]
Codes standard & Remove useless empty lines

13 years agoFixed bug #60558 (Invalid read and writes)
Xinchen Hui [Mon, 19 Dec 2011 09:58:29 +0000 (09:58 +0000)]
Fixed bug #60558 (Invalid read and writes)

13 years agoAdd tests for OpenSSL crash.
Scott MacVicar [Mon, 19 Dec 2011 03:09:05 +0000 (03:09 +0000)]
Add tests for OpenSSL crash.

13 years agoimplement the solution for isset/string offsets, fix bug #60362
Stanislav Malyshev [Mon, 19 Dec 2011 02:05:03 +0000 (02:05 +0000)]
implement the solution for isset/string offsets, fix bug #60362

13 years agoFix segfault in older versions of OpenSSL (before 0.9.8i)
Scott MacVicar [Sun, 18 Dec 2011 05:14:32 +0000 (05:14 +0000)]
Fix segfault in older versions of OpenSSL (before 0.9.8i)

13 years agoFixed inconsistent and broken handling of private properties in traits.
Stefan Marr [Sat, 17 Dec 2011 14:26:39 +0000 (14:26 +0000)]
Fixed inconsistent and broken handling of private properties in traits.
# The handling of private properties in classes is now consistent with private properties in traits.
# Perviously, privates could cause strict warnings, are were not properly merged into the class when
# the parent class had a private property of the same name. Now, we introduce it without notice,
# since it is a new and independent property, just like in normal classes.
# This problem was diagnosed while working on Bug #60536.

13 years agofix tests
Xinchen Hui [Sat, 17 Dec 2011 04:21:14 +0000 (04:21 +0000)]
fix tests

13 years agoReduce memory usage
Xinchen Hui [Sat, 17 Dec 2011 03:57:01 +0000 (03:57 +0000)]
Reduce memory usage

13 years agoFixed bug #60523 (PHP Errors are not reported in browsers using built-in SAPI)
Xinchen Hui [Fri, 16 Dec 2011 19:25:03 +0000 (19:25 +0000)]
Fixed bug #60523 (PHP Errors are not reported in browsers using built-in SAPI)

13 years agoFixed bug #60536 (Traits Segfault)
Xinchen Hui [Fri, 16 Dec 2011 19:02:52 +0000 (19:02 +0000)]
Fixed bug #60536 (Traits Segfault)
# this is a tough one, I think I should explain
# Zend use zend_object->properties_table both as zval ** and zval ***
# if a zend_object->properties is not initialized, the properties_table is zval **
# while in rebuild_object_properties, zend will store the zval ** to zend_object->properties
# then stash the zval ***(ie, zobj->properties_table[0] is zval ** now) to  zobj->properties_table[0]
# so when a zend_object inherit form multi parent and these parent have a same property_info->offset
# properties, will result in a repeat zval **->zval ** transform, which will lead to a segmentfault
# *may be* this fix is not the best fix, we should not use this tricky way, and rewrite this mechanism.

13 years agoAdded max_input_vars directive to prevent attacks based on hash collisions
Dmitry Stogov [Thu, 15 Dec 2011 10:31:02 +0000 (10:31 +0000)]
Added max_input_vars directive to prevent attacks based on hash collisions

13 years agofix for 5.5.19
Andrey Hristov [Wed, 14 Dec 2011 19:29:45 +0000 (19:29 +0000)]
fix for 5.5.19

13 years agoanother fix
Andrey Hristov [Wed, 14 Dec 2011 19:28:41 +0000 (19:28 +0000)]
another fix

13 years agofix test
Andrey Hristov [Wed, 14 Dec 2011 18:37:49 +0000 (18:37 +0000)]
fix test

13 years agofix test
Andrey Hristov [Wed, 14 Dec 2011 18:36:04 +0000 (18:36 +0000)]
fix test

13 years agofix typo
Andrey Hristov [Wed, 14 Dec 2011 17:59:11 +0000 (17:59 +0000)]
fix typo

13 years ago- add announce steps, s,cvs,svn, MFH
Pierre Joye [Wed, 14 Dec 2011 16:32:50 +0000 (16:32 +0000)]
- add announce steps, s,cvs,svn, MFH

13 years agoadd some PHPAPI
Andrey Hristov [Wed, 14 Dec 2011 16:28:13 +0000 (16:28 +0000)]
add some PHPAPI

13 years agofix test
Andrey Hristov [Wed, 14 Dec 2011 16:27:52 +0000 (16:27 +0000)]
fix test

13 years agoAdded max_input_vars directive to prevent attacks based on hash collisions
Dmitry Stogov [Wed, 14 Dec 2011 08:56:35 +0000 (08:56 +0000)]
Added max_input_vars directive to prevent attacks based on hash collisions

13 years agoUnregister appropriate curl wrappers
Pierrick Charron [Wed, 14 Dec 2011 04:02:56 +0000 (04:02 +0000)]
Unregister appropriate curl wrappers

13 years agoRemove dead code
Pierrick Charron [Wed, 14 Dec 2011 03:45:44 +0000 (03:45 +0000)]
Remove dead code
# curl_version_info was introduced in 7.10 and the PHP requirement is 7.10.5

13 years ago- tmp dir is system depedent
Pierre Joye [Tue, 13 Dec 2011 23:18:12 +0000 (23:18 +0000)]
- tmp dir is system depedent

13 years ago- skip on win
Pierre Joye [Tue, 13 Dec 2011 23:04:01 +0000 (23:04 +0000)]
- skip on win

13 years ago - ignore notices here, not what we test (array to string conversion)
Pierre Joye [Tue, 13 Dec 2011 13:46:27 +0000 (13:46 +0000)]
 - ignore notices here, not what we test (array to string conversion)

13 years ago- use the test itself, making the test passes when ran outside the src tree
Pierre Joye [Mon, 12 Dec 2011 19:09:01 +0000 (19:09 +0000)]
- use the test itself, making the test passes when ran outside the src tree

13 years ago- copy run-test php
Pierre Joye [Mon, 12 Dec 2011 15:09:52 +0000 (15:09 +0000)]
- copy run-test php

13 years ago- skip on win
Pierre Joye [Mon, 12 Dec 2011 14:03:24 +0000 (14:03 +0000)]
- skip on win

13 years ago- skip on win
Pierre Joye [Mon, 12 Dec 2011 14:02:06 +0000 (14:02 +0000)]
- skip on win

13 years ago- skip on win
Pierre Joye [Mon, 12 Dec 2011 13:56:42 +0000 (13:56 +0000)]
- skip on win

13 years ago- skip on win
Pierre Joye [Mon, 12 Dec 2011 13:53:38 +0000 (13:53 +0000)]
- skip on win

13 years ago- skip on win
Pierre Joye [Mon, 12 Dec 2011 13:49:21 +0000 (13:49 +0000)]
- skip on win

13 years ago- skip on win
Pierre Joye [Mon, 12 Dec 2011 13:34:21 +0000 (13:34 +0000)]
- skip on win

13 years ago- skip on win
Pierre Joye [Mon, 12 Dec 2011 13:31:43 +0000 (13:31 +0000)]
- skip on win

13 years agoThis test should no longer fail, and is perfectly okay for Linux to test on too.
Derick Rethans [Mon, 12 Dec 2011 12:57:46 +0000 (12:57 +0000)]
This test should no longer fail, and is perfectly okay for Linux to test on too.

13 years ago- Fixed bug #60455: stream_get_line misbehaves if EOF is not detected together
Gustavo André dos Santos Lopes [Sun, 11 Dec 2011 21:08:15 +0000 (21:08 +0000)]
- Fixed bug #60455: stream_get_line misbehaves if EOF is not detected together
  with the last read.

13 years agobug fixed #48877 - bindValue and bindParam do not work for PDO Firebird
Popa Adrian Marius [Sat, 10 Dec 2011 22:08:39 +0000 (22:08 +0000)]
bug fixed #48877 - bindValue and bindParam do not work for PDO Firebird

13 years ago- Fixed bug #60489 (Simple Typo In php.ini Files)
Felipe Pena [Fri, 9 Dec 2011 22:43:01 +0000 (22:43 +0000)]
- Fixed bug #60489 (Simple Typo In php.ini Files)
  patch by: danbrown at php.net

13 years agoadd $_SERVER["SERVER_NAME"] since it's handy
Xinchen Hui [Fri, 9 Dec 2011 16:16:31 +0000 (16:16 +0000)]
add $_SERVER["SERVER_NAME"] since it's handy

13 years agofix memory leak
Xinchen Hui [Fri, 9 Dec 2011 14:05:26 +0000 (14:05 +0000)]
fix memory leak

13 years agoAdded tests contributions on spl_autoload and stream_context_set_option()
Patrick Allaert [Fri, 9 Dec 2011 11:15:12 +0000 (11:15 +0000)]
Added tests contributions on spl_autoload and stream_context_set_option()

Thank you Jean-Marc Fontaine and Alter Way

13 years agoFixed bug #60477 (Segfault after two multipart/form-data POST requests)
Xinchen Hui [Fri, 9 Dec 2011 05:37:41 +0000 (05:37 +0000)]
Fixed bug #60477 (Segfault after two multipart/form-data POST requests)

13 years agoFix skipif
Christopher Jones [Thu, 8 Dec 2011 20:43:23 +0000 (20:43 +0000)]
Fix skipif

13 years agoFix curl_copy_handle_basic_008.phpt when display_errors is On
Pierrick Charron [Thu, 8 Dec 2011 18:57:01 +0000 (18:57 +0000)]
Fix curl_copy_handle_basic_008.phpt when display_errors is On
(Thanks Chris Jones)

13 years agoUhh.. Can't believe noone noticed the gc option was missing from our ini files
Hannes Magnusson [Thu, 8 Dec 2011 14:57:02 +0000 (14:57 +0000)]
Uhh.. Can't believe noone noticed the gc option was missing from our ini files

13 years agoMake sure that we set the strong crypto result to false as well as returning false.
Scott MacVicar [Wed, 7 Dec 2011 20:50:33 +0000 (20:50 +0000)]
Make sure that we set the strong crypto result to false as well as returning false.

13 years agoTest cosmetics.
Derick Rethans [Wed, 7 Dec 2011 19:42:44 +0000 (19:42 +0000)]
Test cosmetics.

13 years agoSorting out the tests *once* more.
Derick Rethans [Wed, 7 Dec 2011 19:24:58 +0000 (19:24 +0000)]
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.

13 years agoFix test
Pierrick Charron [Wed, 7 Dec 2011 16:46:48 +0000 (16:46 +0000)]
Fix test

13 years agoAdd new test for CURLOPT_POSTFIELDS
Pierrick Charron [Wed, 7 Dec 2011 16:32:50 +0000 (16:32 +0000)]
Add new test for CURLOPT_POSTFIELDS

13 years ago- tests require 64bit integer
Pierre Joye [Wed, 7 Dec 2011 10:38:35 +0000 (10:38 +0000)]
- tests require 64bit integer

13 years agoImplemented FR #54514 (Get php binary path during script execution).
Xinchen Hui [Wed, 7 Dec 2011 10:33:13 +0000 (10:33 +0000)]
Implemented FR #54514 (Get php binary path during script execution).

13 years agoMerge -r317306 to trunk
Xinchen Hui [Wed, 7 Dec 2011 10:28:56 +0000 (10:28 +0000)]
Merge -r317306 to trunk

13 years ago- print_r seems to display 0 or nothing for days, let make that test works in both...
Pierre Joye [Wed, 7 Dec 2011 09:03:07 +0000 (09:03 +0000)]
- 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

13 years ago- fix warning and fix buggy behavior of timelib_diff due to bad assumption of floor...
Pierre Joye [Wed, 7 Dec 2011 08:39:43 +0000 (08:39 +0000)]
- fix warning and fix buggy behavior of timelib_diff due to bad assumption of floor signature (fixes almost date_diff tests too)

13 years ago- rename to correct bug #
Pierre Joye [Wed, 7 Dec 2011 08:37:48 +0000 (08:37 +0000)]
- rename to correct bug #

13 years ago- set TZ
Pierre Joye [Wed, 7 Dec 2011 08:33:41 +0000 (08:33 +0000)]
- set TZ

13 years ago- fix the fix, wrong endif pos
Pierre Joye [Tue, 6 Dec 2011 16:09:06 +0000 (16:09 +0000)]
- fix the fix, wrong endif pos

13 years ago- fix build, CURLOPT_FNMATCH_DATA exists since 7.21.0 only
Pierre Joye [Tue, 6 Dec 2011 15:57:43 +0000 (15:57 +0000)]
- fix build, CURLOPT_FNMATCH_DATA exists since 7.21.0 only

13 years ago- fix build, CURLOPT_FNMATCH_DATA exists since 7.21.0 only
Pierre Joye [Tue, 6 Dec 2011 15:35:07 +0000 (15:35 +0000)]
- fix build, CURLOPT_FNMATCH_DATA exists since 7.21.0 only

13 years ago- force LF
Pierre Joye [Tue, 6 Dec 2011 13:42:08 +0000 (13:42 +0000)]
- force LF