]> granicus.if.org Git - php/log
php
11 years agoFixed possible precision loss in microtime
Anatol Belski [Sat, 23 Mar 2013 16:40:06 +0000 (17:40 +0100)]
Fixed possible precision loss in microtime

This is related to the fix for bug #64370. MSVC natively supports __int64 type,
so calculating with 32 bit ints is neither necessary nor reliable. Therefore
an older piece of code is reused.

11 years agoFixed bug #64452 Zip PHPTs crash intermittently
Anatol Belski [Wed, 20 Mar 2013 08:10:10 +0000 (09:10 +0100)]
Fixed bug #64452 Zip PHPTs crash intermittently

11 years agoBackported fix for bug #62852
Anatol Belski [Tue, 19 Mar 2013 20:19:55 +0000 (21:19 +0100)]
Backported fix for bug #62852

11 years agoFixed bug #62343 (Show class_alias In get_declared_classes())
Dmitry Stogov [Tue, 19 Mar 2013 10:56:53 +0000 (14:56 +0400)]
Fixed bug #62343 (Show class_alias In get_declared_classes())

11 years agofix NEWS
Stanislav Malyshev [Mon, 18 Mar 2013 07:52:15 +0000 (00:52 -0700)]
fix NEWS

11 years agoRemove spurious int cast in between two longs
Etienne Kneuss [Sat, 16 Mar 2013 17:19:14 +0000 (18:19 +0100)]
Remove spurious int cast in between two longs

11 years agoBackported patch for #64370
Anatol Belski [Fri, 15 Mar 2013 18:04:40 +0000 (19:04 +0100)]
Backported patch for #64370

11 years agoexplain the step updating the git submodule reference in web/php.git
Ferenc Kovacs [Fri, 15 Mar 2013 08:40:28 +0000 (09:40 +0100)]
explain the step updating the git submodule reference in web/php.git

11 years agofix zts check
Anatol Belski [Thu, 14 Mar 2013 13:38:20 +0000 (14:38 +0100)]
fix zts check

11 years agofix for bug #63530 mysqlnd_stmt::bind_one_parameter uses wrong alloc for stmt-...
Andrey Hristov [Wed, 13 Mar 2013 12:37:51 +0000 (13:37 +0100)]
fix for bug  #63530  mysqlnd_stmt::bind_one_parameter uses wrong alloc for stmt->param_bind

11 years agofixed headers order
Anatol Belski [Tue, 12 Mar 2013 07:33:36 +0000 (08:33 +0100)]
fixed headers order

11 years ago- Updated to version 2013.2 (2013b)
Derick Rethans [Mon, 11 Mar 2013 21:36:36 +0000 (21:36 +0000)]
- Updated to version 2013.2 (2013b)

11 years agoFixed PCRE locale crash in Windows/TS
Stephen A. Zarkos [Mon, 4 Mar 2013 08:09:45 +0000 (09:09 +0100)]
Fixed PCRE locale crash in Windows/TS

11 years agorename NEWS back
Stanislav Malyshev [Sun, 3 Mar 2013 21:18:58 +0000 (13:18 -0800)]
rename NEWS back

11 years agoMerge branch 'PHP-5.3' of git.php.net:php-src into PHP-5.3
Anatol Belski [Sun, 3 Mar 2013 18:21:45 +0000 (19:21 +0100)]
Merge branch 'PHP-5.3' of git.php.net:php-src into PHP-5.3

* 'PHP-5.3' of git.php.net:php-src:
  Rename to create a NEWS file per version to fix the annoying merging issue with NEWS files.

11 years agoupdated NEWS
Anatol Belski [Sun, 3 Mar 2013 18:13:38 +0000 (19:13 +0100)]
updated NEWS

11 years agoRename to create a NEWS file per version to fix the annoying merging issue with NEWS...
Derick Rethans [Sun, 3 Mar 2013 18:08:19 +0000 (13:08 -0500)]
Rename to create a NEWS file per version to fix the annoying merging issue with NEWS files.

11 years agomerged PCRE 8.32
Anatol Belski [Sun, 3 Mar 2013 18:06:22 +0000 (19:06 +0100)]
merged PCRE 8.32

- defined HAVE_CONFIG_H to simplify the future merges
- PCRE NEWS http://pcre.org/news.txt

11 years ago- Updated to version 2013.1 (2013a)
Derick Rethans [Sun, 3 Mar 2013 17:53:22 +0000 (12:53 -0500)]
- Updated to version 2013.1 (2013a)

11 years agoFixed timestamp update on Phar contents modification.
Dmitry Stogov [Fri, 1 Mar 2013 15:17:08 +0000 (19:17 +0400)]
Fixed timestamp update on Phar contents modification.

11 years ago5.4.24-dev
Stanislav Malyshev [Fri, 1 Mar 2013 05:25:36 +0000 (21:25 -0800)]
5.4.24-dev

11 years ago5.3.23RC1 php-5.3.23RC1
Stanislav Malyshev [Fri, 1 Mar 2013 05:22:06 +0000 (21:22 -0800)]
5.3.23RC1

11 years agoBug #52861: unset fails with ArrayObject and deep arrays
Mike Willbanks [Fri, 22 Feb 2013 21:05:38 +0000 (13:05 -0800)]
Bug #52861: unset fails with ArrayObject and deep arrays

When checking to make into a reference write, readwrite are checked but not unset

11 years agoFixed bug #64264 (SPLFixedArray toArray problem)
Xinchen Hui [Sun, 24 Feb 2013 04:55:46 +0000 (12:55 +0800)]
Fixed bug #64264 (SPLFixedArray toArray problem)

11 years agoFix TSRM (after afc1debb)
Johannes Schlüter [Thu, 21 Feb 2013 14:08:58 +0000 (15:08 +0100)]
Fix TSRM (after afc1debb)

11 years agoPHAR should modify entry timestamp when it's modified
Dmitry Stogov [Thu, 21 Feb 2013 11:55:20 +0000 (15:55 +0400)]
PHAR should modify entry timestamp when it's modified

11 years agohttp-stream test requires network connectivity
Sara Golemon [Thu, 21 Feb 2013 11:21:23 +0000 (03:21 -0800)]
http-stream test requires network connectivity

11 years agoupdated lib versions
Anatol Belski [Thu, 21 Feb 2013 08:46:50 +0000 (09:46 +0100)]
updated lib versions

11 years agoFixed external entity loading
Dmitry Stogov [Wed, 20 Feb 2013 18:14:59 +0000 (22:14 +0400)]
Fixed external entity loading

11 years ago5.3.22 NEWS
Johannes Schlüter [Wed, 20 Feb 2013 10:56:29 +0000 (11:56 +0100)]
5.3.22 NEWS

11 years agofix the test for curl 7.29.0+
Anatol Belski [Tue, 19 Feb 2013 08:04:06 +0000 (09:04 +0100)]
fix the test for curl 7.29.0+

11 years agoFixed bug #64228 (RecursiveDirectoryIterator always assumes SKIP_DOTS)
Xinchen Hui [Sun, 17 Feb 2013 03:04:36 +0000 (11:04 +0800)]
Fixed bug #64228 (RecursiveDirectoryIterator always assumes SKIP_DOTS)

11 years agoProper bit reset code
Dmitry Stogov [Wed, 13 Feb 2013 18:06:37 +0000 (22:06 +0400)]
Proper bit reset code

11 years agoDisabled external entities loading
Dmitry Stogov [Thu, 7 Feb 2013 12:07:05 +0000 (16:07 +0400)]
Disabled external entities loading

11 years agoCheck if soap.wsdl_cache_dir confirms to open_basedir
Dmitry Stogov [Thu, 7 Feb 2013 09:04:47 +0000 (13:04 +0400)]
Check if soap.wsdl_cache_dir confirms to open_basedir

11 years agoThis will be PHP 5.3.23
Johannes Schlüter [Wed, 30 Jan 2013 23:57:29 +0000 (00:57 +0100)]
This will be PHP 5.3.23

11 years agoFixed bug #64106: Segfault on SplFixedArray[][x] = y when extended
Nikita Popov [Wed, 30 Jan 2013 19:23:39 +0000 (20:23 +0100)]
Fixed bug #64106: Segfault on SplFixedArray[][x] = y when extended

11 years agoMerge branch 'PHP-5.3' of git.php.net:/php-src into PHP-5.3
Johannes Schlüter [Tue, 29 Jan 2013 18:49:13 +0000 (19:49 +0100)]
Merge branch 'PHP-5.3' of git.php.net:/php-src into PHP-5.3

11 years agoFix bug #64099 (Wrong TSRM usage in zend_register_class_alias)
Johannes Schlüter [Tue, 29 Jan 2013 18:47:45 +0000 (19:47 +0100)]
Fix bug #64099 (Wrong TSRM usage in zend_register_class_alias)

11 years agoNEWS for bug #64023 (see aa0adce)
Gustavo Lopes [Wed, 23 Jan 2013 12:30:40 +0000 (13:30 +0100)]
NEWS for bug #64023 (see aa0adce)

11 years agoFix bug #64023 (__toString() & SplFileInfo)
Gustavo Lopes [Sat, 19 Jan 2013 15:21:26 +0000 (16:21 +0100)]
Fix bug #64023 (__toString() & SplFileInfo)

Defining a __toString() method was having no effect when concatenating
the object. This was because the cast_object() handler would ignore
__toString().

Using echo() directly would actually use __toString(), but this was a
bug: the ECHO handler would try zend_std_cast_object_tostring() before
cast_object(), but cast_object() should have priority as
zend_std_cast_object_tostring() assumes an object with a
zend_class_entry.

11 years agofix bug #63462 (Magic methods called twice for unset protected properties)
Stanislav Malyshev [Mon, 14 Jan 2013 08:06:09 +0000 (00:06 -0800)]
fix bug #63462 (Magic methods called twice for unset protected properties)

11 years agoFix NEWS after 5.3.21
Johannes Schlüter [Wed, 16 Jan 2013 16:38:17 +0000 (17:38 +0100)]
Fix NEWS after 5.3.21

11 years agoUpdate the arguments in the prototype of fpm_socket_unix_test_connect().
Adam Harvey [Wed, 16 Jan 2013 02:06:56 +0000 (10:06 +0800)]
Update the arguments in the prototype of fpm_socket_unix_test_connect().

Fixes bug #63999 (php with fpm fails to build on Solaris 10 or 11).

11 years agoRevert "Update fputcsv() to escape all characters equally."
Adam Harvey [Tue, 15 Jan 2013 09:33:54 +0000 (17:33 +0800)]
Revert "Update fputcsv() to escape all characters equally."

On second thoughts, while the behaviour _is_ broken, this isn't the right fix.

This reverts commit 9b5cb0e8059b1e8bec096067491ed8d75f878938.

11 years agoUpdate fputcsv() to escape all characters equally.
Adam Harvey [Tue, 15 Jan 2013 07:17:45 +0000 (15:17 +0800)]
Update fputcsv() to escape all characters equally.

At present, backslashes have special case handling within fputcsv(): when one
is encountered within a field that's being escaped, escaping stops until the
next instance of the enclosure character is hit.  This can result in malformed
CSV.

Fixes bug #43225 (fputcsv incorrectly handles cells ending in \ followed by ").

12 years agoFixed uninitialized zval.type (Yoram)
Dmitry Stogov [Thu, 10 Jan 2013 14:53:10 +0000 (18:53 +0400)]
Fixed uninitialized zval.type (Yoram)

12 years agoFix test after fix for bug #63943 (Bad warning text from strpos() on empty needle)
Remi Collet [Thu, 10 Jan 2013 10:14:38 +0000 (11:14 +0100)]
Fix test after fix for bug #63943 (Bad warning text from strpos() on empty needle)
See commit c05ee74e7ff28b49018bf3e8f452bfd5386d1b68

12 years agoUse during connect the flags set with set_client_option()
Andrey Hristov [Wed, 9 Jan 2013 17:27:06 +0000 (18:27 +0100)]
Use during connect the flags set with set_client_option()

12 years agoFixed compilator bug that might cause jump depended on unitialized value
Dmitry Stogov [Wed, 9 Jan 2013 13:16:47 +0000 (17:16 +0400)]
Fixed compilator bug that might cause jump depended on unitialized value

12 years agoFixed bug #63943 (Bad warning text from strpos() on empty needle)
Xinchen Hui [Wed, 9 Jan 2013 02:53:20 +0000 (10:53 +0800)]
Fixed bug #63943 (Bad warning text from strpos() on empty needle)

12 years agoUpdate news with new bug fix.
Derick Rethans [Sun, 6 Jan 2013 15:08:26 +0000 (15:08 +0000)]
Update news with new bug fix.

12 years agoFixed bug #55397: Comparsion of incomplete DateTime causes SIGSEGV.
Derick Rethans [Sun, 6 Jan 2013 13:38:22 +0000 (13:38 +0000)]
Fixed bug #55397: Comparsion of incomplete DateTime causes SIGSEGV.

12 years agobump year
Xinchen Hui [Sun, 6 Jan 2013 02:19:09 +0000 (10:19 +0800)]
bump year

12 years agoFixed bug #63899 (Use after scope error in zend_compile)
Xinchen Hui [Fri, 4 Jan 2013 03:02:21 +0000 (11:02 +0800)]
Fixed bug #63899 (Use after scope error in zend_compile)

12 years agoThis will be PHP 5.3.22
Johannes Schlüter [Thu, 3 Jan 2013 21:56:46 +0000 (22:56 +0100)]
This will be PHP 5.3.22

12 years agoHappy New Year
Xinchen Hui [Tue, 1 Jan 2013 08:23:31 +0000 (16:23 +0800)]
Happy New Year

12 years agoHappy New Year~
Xinchen Hui [Tue, 1 Jan 2013 08:02:16 +0000 (16:02 +0800)]
Happy New Year~

12 years agoRevert "Remove a useless memory write in zend_llist_del_element"
Pierrick Charron [Wed, 26 Dec 2012 15:13:56 +0000 (10:13 -0500)]
Revert "Remove a useless memory write in zend_llist_del_element"

This reverts commit fad960a4045da86cdbd8308a165ffc47892f05b9 as
required by Stas and Christopher

12 years agoRemove a useless memory write in zend_llist_del_element
Pierrick Charron [Wed, 26 Dec 2012 01:45:24 +0000 (20:45 -0500)]
Remove a useless memory write in zend_llist_del_element

The zend_llist_element *next pointer is not necessary and removing
it will also remove a write on memory

12 years agoFixed segfault due to libcurl connection caching
Pierrick Charron [Sun, 23 Dec 2012 00:03:24 +0000 (19:03 -0500)]
Fixed segfault due to libcurl connection caching

Libcurl is doing connection caching. When easy handle is cleaned up,
if the handle was previously used by the curl_multi_api, the connection
remains open un the curl multi handle is cleaned up. Some protocols are
sending content like the FTP one, and libcurl try to use the
WRITEFUNCTION or the HEADERFUNCTION. Since structures used in those
callback are freed, we need to use an other callback to which avoid
segfaults.

Libcurl commit d021f2e8a00 fix this issue and should be part of 7.28.2

12 years agoUpdate NEWS file
Pierrick Charron [Sat, 22 Dec 2012 00:19:25 +0000 (19:19 -0500)]
Update NEWS file

12 years agoFixed bug #63352 (Can't enable hostname validation when using curl stream wrappers)
Pierrick Charron [Sat, 22 Dec 2012 00:12:43 +0000 (19:12 -0500)]
Fixed bug #63352 (Can't enable hostname validation when using curl stream wrappers)

12 years agoCURL >= 7.28.0 no longer support value 1 for CURLOPT_SSL_VERIFYHOST)
Pierrick Charron [Sat, 22 Dec 2012 00:10:55 +0000 (19:10 -0500)]
CURL >= 7.28.0 no longer support value 1 for CURLOPT_SSL_VERIFYHOST)

Fixed bug #63795

12 years agoFix test to work on every libcurl version
Pierrick Charron [Fri, 21 Dec 2012 17:19:54 +0000 (12:19 -0500)]
Fix test to work on every libcurl version

12 years ago- Fixed typo on "SKIPIF" (causing make test to abort on some systems)
Felipe Pena [Fri, 21 Dec 2012 00:35:05 +0000 (22:35 -0200)]
- Fixed typo on "SKIPIF" (causing make test to abort on some systems)

12 years agoFixed bug #55438 (Curlwapper is not sending http header randomly)
Pierrick Charron [Thu, 20 Dec 2012 00:40:29 +0000 (19:40 -0500)]
Fixed bug #55438 (Curlwapper is not sending http header randomly)

Since curl multi is used, it sometime happen that the resource is freed before
the curl multi really execute the query. The patch will store the headers
slist in the curlstream handle and free it only when the stream will be closed

12 years agoUpdate release date
Johannes Schlüter [Wed, 19 Dec 2012 15:15:39 +0000 (16:15 +0100)]
Update release date

12 years agodos2unix & skip on connect fail
Xinchen Hui [Mon, 17 Dec 2012 06:29:13 +0000 (14:29 +0800)]
dos2unix & skip on connect fail

12 years agoFix failed test
Xinchen Hui [Mon, 17 Dec 2012 04:56:55 +0000 (12:56 +0800)]
Fix failed test

12 years agoNeed connect.inc here
Rasmus Lerdorf [Fri, 14 Dec 2012 00:54:16 +0000 (16:54 -0800)]
Need connect.inc here

12 years agoFix broken test
Rasmus Lerdorf [Fri, 14 Dec 2012 00:41:56 +0000 (16:41 -0800)]
Fix broken test
Need to use the configured connection parameters here. We can't assume
the test user has access.

12 years agoFix broken test
Rasmus Lerdorf [Fri, 14 Dec 2012 00:13:37 +0000 (16:13 -0800)]
Fix broken test
This was missing a %s for the path here

12 years agoFix Bug #63762 Sigsegv when Exception::$trace is changed by user
Johannes Schlüter [Thu, 13 Dec 2012 21:39:35 +0000 (22:39 +0100)]
Fix Bug #63762 Sigsegv when Exception::$trace is changed by user

12 years agoMFH
Xinchen Hui [Thu, 13 Dec 2012 02:44:14 +0000 (10:44 +0800)]
MFH

12 years agoMerge branch 'PHP-5.3' of git.php.net:/php-src into PHP-5.3
Johannes Schlüter [Mon, 10 Dec 2012 12:35:27 +0000 (13:35 +0100)]
Merge branch 'PHP-5.3' of git.php.net:/php-src into PHP-5.3

12 years agoFix typo
Johannes Schlüter [Mon, 10 Dec 2012 12:32:08 +0000 (13:32 +0100)]
Fix typo

12 years agoFixed bug #63726 (Memleak with static properties and internal/user classes)
Xinchen Hui [Mon, 10 Dec 2012 12:28:27 +0000 (20:28 +0800)]
Fixed bug #63726 (Memleak with static properties and internal/user classes)

12 years agoskip 32-bit OS
Xinchen Hui [Mon, 10 Dec 2012 10:47:21 +0000 (18:47 +0800)]
skip 32-bit OS

12 years agoMerge branch 'PHP-5.3' of git.php.net:php-src into PHP-5.3
Xinchen Hui [Mon, 10 Dec 2012 10:28:26 +0000 (18:28 +0800)]
Merge branch 'PHP-5.3' of git.php.net:php-src into PHP-5.3

12 years agoNeed more that 2G memory
Xinchen Hui [Mon, 10 Dec 2012 10:28:01 +0000 (18:28 +0800)]
Need more that 2G memory

12 years agothis will become PHP 5.3.21
Johannes Schlüter [Wed, 5 Dec 2012 17:55:05 +0000 (18:55 +0100)]
this will become PHP 5.3.21

12 years agoTwo tests deactivated until #63688 was fixed
Anatoliy Belsky [Wed, 5 Dec 2012 08:55:49 +0000 (09:55 +0100)]
Two tests deactivated until #63688 was fixed

12 years agoNEWS
Remi Collet [Sat, 1 Dec 2012 09:25:37 +0000 (10:25 +0100)]
NEWS

12 years agoFixed Bug #63435 Datetime::format('u') sometimes wrong by 1 microsecond
Remi Collet [Sat, 1 Dec 2012 09:20:39 +0000 (10:20 +0100)]
Fixed Bug #63435 Datetime::format('u') sometimes wrong by 1 microsecond

When storing '015700' microseconds in a Datetime object,
Datetime::format('u') returns '015699'

Already known per bug45554 reproducer (also fixed).

12 years agoFixed bug #63377 (Segfault on output buffer)
Xinchen Hui [Fri, 30 Nov 2012 06:48:51 +0000 (14:48 +0800)]
Fixed bug #63377 (Segfault on output buffer)

12 years agoFormat
Xinchen Hui [Fri, 30 Nov 2012 06:32:15 +0000 (14:32 +0800)]
Format

12 years agoFixed bug #63398 (Segfault when polling closed link)
Xinchen Hui [Fri, 30 Nov 2012 06:28:32 +0000 (14:28 +0800)]
Fixed bug #63398 (Segfault when polling closed link)

12 years agoFixed bug #63271 (SOAP wsdl cache is not enabled after initial requests)
Dmitry Stogov [Thu, 29 Nov 2012 12:31:08 +0000 (16:31 +0400)]
Fixed bug #63271 (SOAP wsdl cache is not enabled after initial requests)

12 years agoFixed bug #63635 (Segfault in gc_collect_cycles)
Dmitry Stogov [Thu, 29 Nov 2012 08:25:20 +0000 (12:25 +0400)]
Fixed bug #63635 (Segfault in gc_collect_cycles)

12 years agoFixed Bug #63581 Possible buffer overflow
Remi Collet [Wed, 28 Nov 2012 09:35:04 +0000 (10:35 +0100)]
Fixed Bug #63581 Possible buffer overflow

In fpm-log, possible buffer overflow. Check for length is done at
the beginning of the loop, so is not done when overflow occurs
on the last loop (len = 1024 or 1025). (ack from fat).

This issue where found from by static code analysis tool and, so,
I can't provide any reproducer.

12 years agoFixed Bug #63581 Possible null dereference
Remi Collet [Wed, 28 Nov 2012 09:28:18 +0000 (10:28 +0100)]
Fixed Bug #63581 Possible null dereference

Possible NULL dereference when trying to delete the single item
of a list (ack from fat).

This issues where found from by static code analysis tool and,
so, I can't provide any reproducer.

12 years agoMerge branch 'PHP-5.3' of git.php.net:php-src into PHP-5.3
Remi Collet [Wed, 28 Nov 2012 09:24:32 +0000 (10:24 +0100)]
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 bug #63590 Fileinfo delivers ifferent results in TS and NTS under Windows
  This test isn't supposed to pass on windows
  Fixed Bug #63614 (Fatal error on Reflection)

12 years agoFixed bug #63590 Fileinfo delivers ifferent results in TS and NTS under Windows
Anatoliy Belsky [Tue, 27 Nov 2012 15:33:58 +0000 (16:33 +0100)]
Fixed bug #63590 Fileinfo delivers ifferent results in TS and NTS under Windows

12 years agoThis test isn't supposed to pass on windows
Anatoliy Belsky [Tue, 27 Nov 2012 15:02:55 +0000 (16:02 +0100)]
This test isn't supposed to pass on windows

12 years agoFixed Bug #63614 (Fatal error on Reflection)
Xinchen Hui [Tue, 27 Nov 2012 05:34:36 +0000 (13:34 +0800)]
Fixed Bug #63614 (Fatal error on Reflection)

12 years agoadd unit test for bug 63126
Remi Collet [Sat, 24 Nov 2012 16:30:48 +0000 (17:30 +0100)]
add unit test for bug 63126

12 years agoNEWS
Remi Collet [Sat, 24 Nov 2012 14:23:25 +0000 (15:23 +0100)]
NEWS

12 years agoFixed Bug #63126 DISABLE_AUTHENTICATOR ignores array
Remi Collet [Sat, 24 Nov 2012 14:00:03 +0000 (15:00 +0100)]
Fixed Bug #63126 DISABLE_AUTHENTICATOR ignores array

12 years agoBackported the fix for bug #63248 from 5.4+
Anatoliy Belsky [Fri, 23 Nov 2012 12:58:22 +0000 (13:58 +0100)]
Backported the fix for bug #63248 from 5.4+