]> granicus.if.org Git - php/log
php
10 years agoFix unrelated tests and zlib window size
Bob Weinand [Fri, 15 May 2015 11:59:47 +0000 (13:59 +0200)]
Fix unrelated tests and zlib window size

10 years agoMinor typo in warning message
Bob Weinand [Fri, 15 May 2015 00:42:11 +0000 (02:42 +0200)]
Minor typo in warning message

10 years agoAdd strategy option to deflate_init()
Bob Weinand [Fri, 15 May 2015 00:28:22 +0000 (02:28 +0200)]
Add strategy option to deflate_init()

10 years agoAdd dictionary option to {in,de}flate_init()
Bob Weinand [Fri, 15 May 2015 00:18:53 +0000 (02:18 +0200)]
Add dictionary option to {in,de}flate_init()

10 years agoAdd window option to {de,in}flate_init()
Bob Weinand [Thu, 14 May 2015 20:58:13 +0000 (22:58 +0200)]
Add window option to {de,in}flate_init()

10 years agoMerge branch 'PHP-5.6'
Ferenc Kovacs [Thu, 14 May 2015 23:09:45 +0000 (01:09 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  fix NEWS

10 years agofix NEWS
Ferenc Kovacs [Thu, 14 May 2015 23:00:53 +0000 (01:00 +0200)]
fix NEWS

10 years agoadded the inclusion guard
Anatol Belski [Thu, 14 May 2015 22:00:06 +0000 (00:00 +0200)]
added the inclusion guard

the vc check can be likely removed, to be checked

10 years agoOptimized === and !== with NULL, FALSE, TRUE.
Dmitry Stogov [Thu, 14 May 2015 22:11:29 +0000 (01:11 +0300)]
Optimized === and !== with NULL, FALSE, TRUE.

10 years agoAdd NEWS/UPGRADING for ReflectionGenerator class
Bob Weinand [Thu, 14 May 2015 20:30:01 +0000 (22:30 +0200)]
Add NEWS/UPGRADING for ReflectionGenerator class

10 years agoAdd ReflectionGenerator class
Bob Weinand [Thu, 14 May 2015 18:10:35 +0000 (20:10 +0200)]
Add ReflectionGenerator class

10 years agoFix memleak in generators using symtable
Bob Weinand [Thu, 14 May 2015 15:17:39 +0000 (17:17 +0200)]
Fix memleak in generators using symtable

10 years agoFixed memory leak
Dmitry Stogov [Thu, 14 May 2015 14:07:32 +0000 (17:07 +0300)]
Fixed memory leak

10 years agoFixed phpdbg build
Dmitry Stogov [Thu, 14 May 2015 13:47:22 +0000 (16:47 +0300)]
Fixed phpdbg build

10 years agoRefactored custom storage API.
Dmitry Stogov [Thu, 14 May 2015 11:56:13 +0000 (14:56 +0300)]
Refactored custom storage API.

10 years agoMerged fastcgi.* reated changes from sapi/cgi
Dmitry Stogov [Wed, 13 May 2015 15:54:41 +0000 (18:54 +0300)]
Merged fastcgi.* reated changes from sapi/cgi

10 years agoFixed build
Dmitry Stogov [Wed, 13 May 2015 15:53:58 +0000 (18:53 +0300)]
Fixed build

10 years agoUpdated NEWS
Julien Pauli [Wed, 13 May 2015 13:43:03 +0000 (15:43 +0200)]
Updated NEWS

10 years agofix tests
Antony Dovgal [Thu, 22 Jan 2015 14:56:41 +0000 (17:56 +0300)]
fix tests

10 years agomerge similar if conditions
Antony Dovgal [Fri, 19 Dec 2014 11:57:41 +0000 (14:57 +0300)]
merge similar if conditions

10 years agoadd rusage support to wait() and waitpid()
Antony Dovgal [Thu, 11 Dec 2014 14:01:55 +0000 (17:01 +0300)]
add rusage support to wait() and waitpid()

patch by Anton Stepanenko

10 years agoMerge branch 'PHP-5.6'
Ferenc Kovacs [Wed, 13 May 2015 13:30:01 +0000 (15:30 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  fix release dates for 5.6.9/5.6.10. spotted by @Jan-E on github

10 years agofix release dates for 5.6.9/5.6.10. spotted by @Jan-E on github
Ferenc Kovacs [Wed, 13 May 2015 13:29:08 +0000 (15:29 +0200)]
fix release dates for 5.6.9/5.6.10. spotted by @Jan-E on github

10 years agoextend libxml exports
Anatol Belski [Wed, 13 May 2015 13:19:48 +0000 (15:19 +0200)]
extend libxml exports

10 years agofix libxml2 headers lookup
Anatol Belski [Wed, 13 May 2015 11:28:58 +0000 (13:28 +0200)]
fix libxml2 headers lookup

10 years agoMerge branch 'PHP-5.6'
Julien Pauli [Wed, 13 May 2015 12:30:11 +0000 (14:30 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Updated NEWS
  Updated NEWS

10 years agoUpdated NEWS
Julien Pauli [Wed, 13 May 2015 12:29:53 +0000 (14:29 +0200)]
Updated NEWS

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Julien Pauli [Wed, 13 May 2015 12:29:29 +0000 (14:29 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Updated NEWS

10 years agoUpdated NEWS
Julien Pauli [Wed, 13 May 2015 12:29:02 +0000 (14:29 +0200)]
Updated NEWS

10 years agoMerge branch 'PHP-5.6'
Julien Pauli [Wed, 13 May 2015 12:21:19 +0000 (14:21 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Close fd at the end, otherwise people complain
  Add file descriptor caching to mcrypt_create_iv()

Conflicts:
ext/mcrypt/mcrypt.c

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Julien Pauli [Wed, 13 May 2015 12:19:04 +0000 (14:19 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Close fd at the end, otherwise people complain
  Add file descriptor caching to mcrypt_create_iv()

10 years agoClose fd at the end, otherwise people complain
Leigh [Fri, 27 Mar 2015 19:14:33 +0000 (20:14 +0100)]
Close fd at the end, otherwise people complain

Even though it's closed when the process terminates!

10 years agoAdd file descriptor caching to mcrypt_create_iv()
Leigh [Fri, 27 Mar 2015 13:33:30 +0000 (14:33 +0100)]
Add file descriptor caching to mcrypt_create_iv()

This improves performance for applications that make repeated calls to
mcrypt_create_iv()

10 years agoMerge branch 'PHP-5.6'
Julien Pauli [Wed, 13 May 2015 11:06:19 +0000 (13:06 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Updated NEWS

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Julien Pauli [Wed, 13 May 2015 11:06:08 +0000 (13:06 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Updated NEWS

10 years agoUpdated NEWS
Julien Pauli [Wed, 13 May 2015 11:05:46 +0000 (13:05 +0200)]
Updated NEWS

10 years agoMerged FE_FETCH_R[W] with the following ASSIGN[_REF] when assigne to CV.
Dmitry Stogov [Wed, 13 May 2015 09:55:42 +0000 (12:55 +0300)]
Merged FE_FETCH_R[W] with the following ASSIGN[_REF] when assigne to CV.

10 years agoups, it should have used Zend MM
Anatol Belski [Wed, 13 May 2015 09:08:15 +0000 (11:08 +0200)]
ups, it should have used Zend MM

10 years agoMerge branch 'master' of git.php.net:php-src
Dmitry Stogov [Wed, 13 May 2015 07:10:14 +0000 (10:10 +0300)]
Merge branch 'master' of git.php.net:php-src

* 'master' of git.php.net:php-src:
  fix build, catch up with linux part for #66048

10 years agoRemoved deprecated conditions
Dmitry Stogov [Wed, 13 May 2015 07:09:06 +0000 (10:09 +0300)]
Removed deprecated conditions

10 years agofix build, catch up with linux part for #66048
Anatol Belski [Wed, 13 May 2015 07:05:58 +0000 (09:05 +0200)]
fix build, catch up with linux part for #66048

10 years agoPartial revert of 6a819bba40661a9a8d7080994cb2f24b73c5d46c.
Dmitry Stogov [Wed, 13 May 2015 06:43:05 +0000 (09:43 +0300)]
Partial revert of 6a819bba40661a9a8d7080994cb2f24b73c5d46c.

10 years agoMerge branch 'PHP-5.6'
Stanislav Malyshev [Tue, 12 May 2015 21:31:52 +0000 (14:31 -0700)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  fix format
  update NEWS
  Add test for bug #69522
  Update tests
  Fix bug #69522 - do not allow int overflow
  Forgot test file
  Fix bug #69403 and other int overflows
  Fixed bug #69418 - more s->p fixes for filenames
  Fixed bug #69364 - use smart_str to assemble strings
  Fix bug #69453 - don't try to cut empty string
  Fix bug #69545 - avoid overflow when reading list

Conflicts:
Zend/zend_alloc.c
Zend/zend_operators.c
ext/ftp/ftp.c
ext/pcntl/pcntl.c
ext/standard/basic_functions.c
ext/standard/dir.c
ext/standard/file.c
ext/standard/pack.c
ext/standard/string.c
main/rfc1867.c

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Stanislav Malyshev [Tue, 12 May 2015 21:26:06 +0000 (14:26 -0700)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  fix format
  update NEWS
  Add test for bug #69522
  Update tests
  Fix bug #69522 - do not allow int overflow
  Forgot test file
  Fix bug #69403 and other int overflows
  Fixed bug #69418 - more s->p fixes for filenames
  Fixed bug #69364 - use smart_str to assemble strings
  Fix bug #69453 - don't try to cut empty string
  Fix bug #69545 - avoid overflow when reading list

Conflicts:
ext/standard/pack.c

10 years agoMerge branch 'PHP-5.4' into PHP-5.5
Stanislav Malyshev [Tue, 12 May 2015 21:24:15 +0000 (14:24 -0700)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  fix format
  update NEWS
  Add test for bug #69522
  Update tests
  Fix bug #69522 - do not allow int overflow
  Forgot test file
  Fix bug #69403 and other int overflows
  Fixed bug #69418 - more s->p fixes for filenames
  Fixed bug #69364 - use smart_str to assemble strings
  Fix bug #69453 - don't try to cut empty string
  Fix bug #69545 - avoid overflow when reading list

Conflicts:
ext/pcntl/pcntl.c
ext/standard/basic_functions.c
ext/standard/pack.c
ext/standard/tests/dir/opendir_variation1-win32.phpt

10 years agofix format
Stanislav Malyshev [Tue, 12 May 2015 19:37:28 +0000 (12:37 -0700)]
fix format

10 years agoupdate NEWS
Stanislav Malyshev [Tue, 12 May 2015 19:17:54 +0000 (12:17 -0700)]
update NEWS

10 years agofix #66048 for PHP7
Julien Pauli [Tue, 12 May 2015 14:15:10 +0000 (16:15 +0200)]
fix #66048 for PHP7

* fix-66048:
  Fix for #66048

10 years agoFix for #66048
Julien Pauli [Wed, 29 Apr 2015 12:35:35 +0000 (14:35 +0200)]
Fix for #66048

10 years agoMerge branch 'PHP-5.6'
Julien Pauli [Tue, 12 May 2015 14:14:07 +0000 (16:14 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Updated NEWS
  Fix for #66048

10 years agoUpdated NEWS
Julien Pauli [Tue, 12 May 2015 14:13:39 +0000 (16:13 +0200)]
Updated NEWS

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Julien Pauli [Tue, 12 May 2015 14:12:51 +0000 (16:12 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Fix for #66048

10 years agoFix for #66048
Julien Pauli [Tue, 12 May 2015 14:12:29 +0000 (16:12 +0200)]
Fix for #66048

10 years agoMerge branch 'PHP-5.6'
Nikita Popov [Tue, 12 May 2015 13:09:25 +0000 (15:09 +0200)]
Merge branch 'PHP-5.6'

Conflicts:
Zend/zend_vm_def.h
Zend/zend_vm_execute.h

10 years agoFix bug #69599
Nikita Popov [Tue, 12 May 2015 13:08:12 +0000 (15:08 +0200)]
Fix bug #69599

10 years agoMark first call frames of stack segment with ZEND_CALL_ALLOCATED flag to simplify...
Dmitry Stogov [Tue, 12 May 2015 12:56:42 +0000 (15:56 +0300)]
Mark first call frames of stack segment with ZEND_CALL_ALLOCATED flag to simplify checks on stack deallocation.

10 years agoUpdated NEWS
Julien Pauli [Tue, 12 May 2015 12:34:14 +0000 (14:34 +0200)]
Updated NEWS

10 years agoreturn FALSE instead of NULL from ZipArchive::getStream when php_stream_zip_open...
Christoph M. Becker [Fri, 1 May 2015 17:25:31 +0000 (19:25 +0200)]
return FALSE instead of NULL from ZipArchive::getStream when php_stream_zip_open() fails (fixes #67161)

10 years agoHTTP 506 status code added.
Adil Ilhan [Wed, 1 Apr 2015 07:39:53 +0000 (10:39 +0300)]
HTTP 506 status code added.

HTTP 506 status code added in main http status codes file. Reference: RFC 2295

10 years agoUpdate www.conf.in
Matthias Breddin [Sat, 9 May 2015 11:42:15 +0000 (13:42 +0200)]
Update www.conf.in

10 years agoDetailed information about the strftime access.log format
Matthias Breddin [Fri, 1 May 2015 23:05:39 +0000 (01:05 +0200)]
Detailed information about the strftime access.log format

More descriptive usage of a custom timeformat

10 years agoUpdated NEWS
Julien Pauli [Tue, 12 May 2015 11:36:13 +0000 (13:36 +0200)]
Updated NEWS

10 years agoAdd support for $callable() sytnax with 'Class::method'
Aaron Piotrowski [Fri, 8 May 2015 05:28:54 +0000 (00:28 -0500)]
Add support for $callable() sytnax with 'Class::method'

Using the $callable() syntax when used with a string of
the form 'Class::method' would error as an undefined
function, even if the string passed is_callable() or the
callable type-hint. The fix adds support for the $callable()
syntax for any string accepted by is_callable() or the
callable type-hint.

Fix bug 68475 test with deprecated notice

Reduced scope of unit test.

Added tests with arguments.

10 years agoReworked NEWS for PHP 7
Julien Pauli [Tue, 12 May 2015 11:29:23 +0000 (13:29 +0200)]
Reworked NEWS for PHP 7

10 years agoFixed string handling (string cached in SHM marked as permanent, strings stored in...
Dmitry Stogov [Tue, 12 May 2015 10:45:52 +0000 (13:45 +0300)]
Fixed string handling (string cached in SHM marked as permanent, strings stored in CG(arena) as not)
Fixed anonymous class support

10 years agoMerge branch 'phpize-zts-display' of https://github.com/monque/php-src
Xinchen Hui [Tue, 12 May 2015 09:42:23 +0000 (17:42 +0800)]
Merge branch 'phpize-zts-display' of https://github.com/monque/php-src

10 years agoFix wrong display in ZTS checking
Yuchen Wang [Tue, 12 May 2015 09:32:01 +0000 (17:32 +0800)]
Fix wrong display in ZTS checking

10 years agoUpdated NEWS
Julien Pauli [Tue, 12 May 2015 09:29:47 +0000 (11:29 +0200)]
Updated NEWS

10 years agoAdd comment about SEARCH HTTP Verb being possible as well
Mats Lindh [Thu, 16 Apr 2015 12:06:43 +0000 (14:06 +0200)]
Add comment about SEARCH HTTP Verb being possible as well

10 years agoAdd test for the SEARCH HTTP verb in the CLI HTTP server.
Mats Lindh [Thu, 16 Apr 2015 11:40:48 +0000 (13:40 +0200)]
Add test for the SEARCH HTTP verb in the CLI HTTP server.

10 years agoAdd "SEARCH" as supported HTTP verb.
Mats Lindh [Thu, 16 Apr 2015 11:36:01 +0000 (13:36 +0200)]
Add "SEARCH" as supported HTTP verb.

The "SEARCH" HTTP request method is described in RFC5323 as part of
WebDAV, and allows a client to initiate a server side search.

10 years agoUpdated UPGRADING
Julien Pauli [Tue, 12 May 2015 09:20:12 +0000 (11:20 +0200)]
Updated UPGRADING

10 years agoFixed tests
Julien Pauli [Tue, 12 May 2015 09:18:35 +0000 (11:18 +0200)]
Fixed tests

10 years agoBan rebinding closures to different internal classes
Stanislav Malyshev [Tue, 28 Apr 2015 04:43:43 +0000 (21:43 -0700)]
Ban rebinding closures to different internal classes

10 years agoUpdated UPGRADING
Julien Pauli [Tue, 12 May 2015 08:47:02 +0000 (10:47 +0200)]
Updated UPGRADING

10 years agoprohibit empty cookie names for setcookie()
Christoph M. Becker [Fri, 1 May 2015 22:10:28 +0000 (00:10 +0200)]
prohibit empty cookie names for setcookie()

10 years agoMerge branch 'fpm-trace' of https://github.com/laruence/php-src
Xinchen Hui [Tue, 12 May 2015 08:38:40 +0000 (16:38 +0800)]
Merge branch 'fpm-trace' of https://github.com/laruence/php-src

10 years agoUse explicit type here
Xinchen Hui [Tue, 12 May 2015 08:35:57 +0000 (16:35 +0800)]
Use explicit type here

10 years agoImplements extended error messages
Andreas Heigl [Tue, 5 May 2015 19:30:29 +0000 (21:30 +0200)]
Implements extended error messages

This commit introduces a new constant that can be used to retrieve more
detailed error messages.

This fixes #47222

The new constant LDAP_OPT_DIAGNOSTIC_MESSAGE is defined in PHP when the
underlying library provides (and understands) it. This is the case in
the current OpenLDAP-implementation.

Tanks to Johnny Willer who provided the solution at http://stackoverflow.com/questions/28765077/get-number-of-ad-errors-with-ldap-and-php-ldap-function-return-unprecise-error/28816473#28816473

10 years agoFix typo in INSTALL
Loïck Piera [Thu, 7 May 2015 14:59:08 +0000 (16:59 +0200)]
Fix typo in INSTALL

10 years agoRemove MSIE 5-specific Cache-Control fields.
Josef Šimánek [Sun, 12 Apr 2015 20:35:57 +0000 (22:35 +0200)]
Remove MSIE 5-specific Cache-Control fields.

reverts 04daa55

10 years agoAdd test for bug #69522
Stanislav Malyshev [Mon, 11 May 2015 08:10:35 +0000 (01:10 -0700)]
Add test for bug #69522

10 years agoUpdate tests
Stanislav Malyshev [Mon, 11 May 2015 06:33:44 +0000 (23:33 -0700)]
Update tests

10 years agoFix bug #69522 - do not allow int overflow
Stanislav Malyshev [Mon, 11 May 2015 06:06:08 +0000 (23:06 -0700)]
Fix bug #69522 - do not allow int overflow

10 years agoImplemented fpm_trace for PHP7
Xinchen Hui [Mon, 11 May 2015 03:22:38 +0000 (11:22 +0800)]
Implemented fpm_trace for PHP7

10 years agocatch more places for libxml headers search
Anatol Belski [Sun, 10 May 2015 19:56:41 +0000 (21:56 +0200)]
catch more places for libxml headers search

10 years agoimprove searchability for libxml2 headers
Anatol Belski [Sun, 10 May 2015 19:28:20 +0000 (21:28 +0200)]
improve searchability for libxml2 headers

and bring the configs inline with the current libxml2 build

10 years agofix snprintf redefinition in libxmlrpc under vc14
Anatol Belski [Sun, 10 May 2015 19:27:20 +0000 (21:27 +0200)]
fix snprintf redefinition in libxmlrpc under vc14

10 years agofix timezone usage in soap for vc14
Anatol Belski [Sun, 10 May 2015 19:16:56 +0000 (21:16 +0200)]
fix timezone usage in soap for vc14

10 years agoTidy up and regenerate json parser with latest bison version
Jakub Zelenka [Sun, 10 May 2015 17:08:16 +0000 (18:08 +0100)]
Tidy up and regenerate json parser with latest bison version

10 years agofix _timezone usage for vc14
Anatol Belski [Sat, 9 May 2015 20:57:56 +0000 (22:57 +0200)]
fix _timezone usage for vc14

10 years agorandom_int: Fix power of two check.
Lauri Kenttä [Sun, 10 May 2015 10:40:29 +0000 (13:40 +0300)]
random_int: Fix power of two check.

(x & ~x) is always 0.
((x & (~x + 1)) != x) works.
((x & (x - 1)) != 0) works too.

10 years agoForgot test file
Stanislav Malyshev [Sun, 10 May 2015 09:24:29 +0000 (02:24 -0700)]
Forgot test file

10 years agoFix bug #69403 and other int overflows
Stanislav Malyshev [Sun, 10 May 2015 09:20:08 +0000 (02:20 -0700)]
Fix bug #69403 and other int overflows

10 years agoFixed bug #69418 - more s->p fixes for filenames
Stanislav Malyshev [Sun, 10 May 2015 06:13:06 +0000 (23:13 -0700)]
Fixed bug #69418 - more s->p fixes for filenames

10 years agoFixed bug #69364 - use smart_str to assemble strings
Stanislav Malyshev [Sun, 10 May 2015 06:04:25 +0000 (23:04 -0700)]
Fixed bug #69364 - use smart_str to assemble strings

10 years agoMerge branch 'PHP-5.6'
Stanislav Malyshev [Sun, 10 May 2015 02:00:40 +0000 (19:00 -0700)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Fix #48147 - implement manual handling of  //IGNORE for broken libc

Conflicts:
ext/iconv/iconv.c

10 years agoMerge branch 'fix48147'
Stanislav Malyshev [Sun, 10 May 2015 01:59:10 +0000 (18:59 -0700)]
Merge branch 'fix48147'

* fix48147:
  Fix #48147 - implement manual handling of  //IGNORE for broken libc

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Stanislav Malyshev [Sun, 10 May 2015 01:56:25 +0000 (18:56 -0700)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Fix #48147 - implement manual handling of  //IGNORE for broken libc

10 years agoFix #48147 - implement manual handling of //IGNORE for broken libc
Stanislav Malyshev [Fri, 8 May 2015 07:03:54 +0000 (00:03 -0700)]
Fix #48147 - implement manual handling of  //IGNORE for broken libc

Conflicts:
ext/iconv/iconv.c