]> granicus.if.org Git - php/log
php
10 years agoFixed phar test segfault after merged engine exception
Xinchen Hui [Tue, 10 Mar 2015 07:04:01 +0000 (15:04 +0800)]
Fixed phar test segfault after merged engine exception

10 years agoRevert "Fixed phar file action failure after engine exception rfc been merged"
Xinchen Hui [Tue, 10 Mar 2015 07:03:15 +0000 (15:03 +0800)]
Revert "Fixed phar file action failure after engine exception rfc been merged"

This reverts commit f174859acdb9d99176440a30b6608388a383de3f.

10 years agoUpdate NEWS/UPGRADING
Daniel Lowrey [Tue, 10 Mar 2015 05:15:04 +0000 (23:15 -0600)]
Update NEWS/UPGRADING

10 years agoDeprecate "session_meta_capture" SSL context option
Daniel Lowrey [Tue, 10 Mar 2015 04:55:17 +0000 (22:55 -0600)]
Deprecate "session_meta_capture" SSL context option

Meta data about encrypted streams is now available as part of the
"crypto" key in the array returned by stream_get_meta_data(). This
update deprecates the use of the "session_meta_capture" ssl
context option in encrypted streams.

10 years agoRevert "Add stream_socket_crypto_info() function"
Daniel Lowrey [Tue, 10 Mar 2015 04:41:36 +0000 (22:41 -0600)]
Revert "Add stream_socket_crypto_info() function"

This reverts commit 13acb7ec653c543c56437ed417c3889fbf54f608.

With the added capability to negotiate application layer protocols
via the TLS ALPN extension userland needs a method to access the
negotiated protocol on a given stream. The reverted commit added
a new stream_socket_crypto_info() function for this purpose.

This original approach was discarded in favor of using the
already-existing stream_get_meta_data() API which specifically
exists for just such purposes and requires the addition of no new
functions.

10 years agoAdd crypto info to stream_get_meta_data() result on encrypted streams
Daniel Lowrey [Tue, 10 Mar 2015 04:30:38 +0000 (22:30 -0600)]
Add crypto info to stream_get_meta_data() result on encrypted streams

A "crypto" key is added to the output of stream_get_meta_data() calls
when invoked using a stream on which crypto is currently active. The
new key's associated array contains the following keys:

 - protocol (string e.g. TLSv1.2, TLSv1.1, etc)
 - cipher_name (string)
 - cipher_bits (int)
 - cipher_version (string)

If the TLS ALPN extension was used to successfully negotiate an
application protocol that protocol's identifier is stored in the
following key:

 - alpn_protocol

If no ALPN protocol was negotiated the "alpn_protocol" key is not
present in the crypto meta data array. More meta information
concerning the stream's active encryption state may be added in the
future.

10 years agoMerge branch 'fixed-build' of https://github.com/zxcvdavid/php-src
Xinchen Hui [Tue, 10 Mar 2015 02:31:36 +0000 (10:31 +0800)]
Merge branch 'fixed-build' of https://github.com/zxcvdavid/php-src

10 years agoMerge branch 'PHP-5.6'
Daniel Lowrey [Mon, 9 Mar 2015 22:02:04 +0000 (16:02 -0600)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Fix crypto stream timeout regressions

Conflicts:
ext/openssl/xp_ssl.c

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Daniel Lowrey [Mon, 9 Mar 2015 21:55:33 +0000 (15:55 -0600)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Fix crypto stream timeout regressions

10 years agoFix crypto stream timeout regressions
Daniel Lowrey [Mon, 9 Mar 2015 21:53:26 +0000 (15:53 -0600)]
Fix crypto stream timeout regressions

10 years agoFixed phar file action failure after engine exception rfc been merged
Reeze Xia [Mon, 9 Mar 2015 17:07:18 +0000 (17:07 +0000)]
Fixed phar file action failure after engine exception rfc been merged

10 years agoRemove PHAR_GLOBALS (make it respect ZEND_ENABLE_STATIC_TSRMLS_CACHE)
Xinchen Hui [Mon, 9 Mar 2015 14:58:53 +0000 (22:58 +0800)]
Remove PHAR_GLOBALS (make it respect ZEND_ENABLE_STATIC_TSRMLS_CACHE)

10 years agoFixed compile warnings
Wei Dai [Mon, 9 Mar 2015 13:25:43 +0000 (21:25 +0800)]
Fixed compile warnings

10 years agoFix CLI test and drop some now unnecessary code
Nikita Popov [Mon, 9 Mar 2015 13:08:01 +0000 (14:08 +0100)]
Fix CLI test and drop some now unnecessary code

10 years agoImplement engine exceptions
Dmitry Stogov [Mon, 9 Mar 2015 12:57:15 +0000 (13:57 +0100)]
Implement engine exceptions

RFC: https://wiki.php.net/rfc/engine_exceptions_for_php7

Pending changes regarding naming of BaseException and whether it
should be an interface.

10 years agoAdd UPDRADING note about yield operator behavior
Nikita Popov [Mon, 9 Mar 2015 11:38:46 +0000 (12:38 +0100)]
Add UPDRADING note about yield operator behavior

Fixes bug #69160.
[ci skip]

10 years agoFix ReflectionFunction::isDeprecated() test
Nikita Popov [Mon, 9 Mar 2015 11:27:06 +0000 (12:27 +0100)]
Fix ReflectionFunction::isDeprecated() test

We currently don't have deprecated functions ... so just switch
this to testing a non-deprecated function.

10 years agoRemoved deprecated mcrypt_ecb() etc
Nikita Popov [Mon, 9 Mar 2015 10:14:35 +0000 (11:14 +0100)]
Removed deprecated mcrypt_ecb() etc

10 years agoRemove deprecated mcrypt_generic_end() alias
Nikita Popov [Mon, 9 Mar 2015 10:10:52 +0000 (11:10 +0100)]
Remove deprecated mcrypt_generic_end() alias

10 years agoRemove xsl.security_prefs ini option
Nikita Popov [Wed, 10 Sep 2014 16:06:21 +0000 (18:06 +0200)]
Remove xsl.security_prefs ini option

Conflicts:
ext/xsl/php_xsl.c
ext/xsl/xsltprocessor.c

10 years agoRemove unsafe curl file uploads
Nikita Popov [Mon, 9 Mar 2015 10:00:04 +0000 (11:00 +0100)]
Remove unsafe curl file uploads

The option CURLOPT_SAFE_UPLOAD still exists, but cannot be disabled.

10 years agoRevert commit by mistake
Xinchen Hui [Mon, 9 Mar 2015 09:27:51 +0000 (17:27 +0800)]
Revert commit by mistake

10 years agoMerge branch 'PHP-5.6'
Xinchen Hui [Mon, 9 Mar 2015 09:23:34 +0000 (17:23 +0800)]
Merge branch 'PHP-5.6'

Conflicts:
ext/mysqli/php_mysqli_structs.h

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Xinchen Hui [Mon, 9 Mar 2015 09:23:04 +0000 (17:23 +0800)]
Merge branch 'PHP-5.5' into PHP-5.6

10 years agoRevert "Fix #63486"
Xinchen Hui [Mon, 9 Mar 2015 09:22:56 +0000 (17:22 +0800)]
Revert "Fix #63486"

This reverts commit f4c96ffcb565c1daa76aa58256e4df6f111f8803.

10 years agoMerge branch 'PHP-5.6'
Xinchen Hui [Mon, 9 Mar 2015 09:14:55 +0000 (17:14 +0800)]
Merge branch 'PHP-5.6'

10 years agoFix #69202: FILTER_FLAG_STRIP_BACKTICK ignored unless other flags are used.
Jeff Welch [Mon, 9 Mar 2015 07:54:19 +0000 (03:54 -0400)]
Fix #69202: FILTER_FLAG_STRIP_BACKTICK ignored unless other flags are used.

10 years agoUpdate NEWs
Xinchen Hui [Mon, 9 Mar 2015 09:13:47 +0000 (17:13 +0800)]
Update NEWs

10 years agoUpdate news
Xinchen Hui [Mon, 9 Mar 2015 09:09:57 +0000 (17:09 +0800)]
Update news

10 years agoFix #69202: FILTER_FLAG_STRIP_BACKTICK ignored unless other flags are used.
Jeff Welch [Mon, 9 Mar 2015 07:54:19 +0000 (03:54 -0400)]
Fix #69202: FILTER_FLAG_STRIP_BACKTICK ignored unless other flags are used.

10 years agoNow opened_path is a zend_string
Reeze Xia [Mon, 9 Mar 2015 08:12:53 +0000 (16:12 +0800)]
Now opened_path is a zend_string

10 years agoFixed build
Xinchen Hui [Mon, 9 Mar 2015 07:50:52 +0000 (15:50 +0800)]
Fixed build

10 years agoFixed build
Wei Dai [Mon, 9 Mar 2015 07:21:08 +0000 (15:21 +0800)]
Fixed build

10 years agoadded missing parentheses
Masaki Kagaya [Wed, 18 Feb 2015 14:17:39 +0000 (23:17 +0900)]
added missing parentheses

added test case for bug #68846
replaced tab with space
added missing parentheses again
See also: http://icu-project.org/docs/papers/gb18030.html#h7

10 years agoFix #67626
Julien Pauli [Tue, 15 Jul 2014 15:18:56 +0000 (17:18 +0200)]
Fix #67626

10 years agoFix #63486
Julien Pauli [Fri, 20 Feb 2015 12:38:35 +0000 (13:38 +0100)]
Fix #63486

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Stanislav Malyshev [Mon, 9 Mar 2015 06:41:30 +0000 (23:41 -0700)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  added missing parentheses
  Fix #67626
  Fix #63486

Conflicts:
main/streams/userspace.c

10 years agoadded missing parentheses
Masaki Kagaya [Wed, 18 Feb 2015 14:17:39 +0000 (23:17 +0900)]
added missing parentheses

added test case for bug #68846
replaced tab with space
added missing parentheses again
See also: http://icu-project.org/docs/papers/gb18030.html#h7

10 years agoFix #67626
Julien Pauli [Tue, 15 Jul 2014 15:18:56 +0000 (17:18 +0200)]
Fix #67626

10 years agoFix #63486
Julien Pauli [Fri, 20 Feb 2015 12:38:35 +0000 (13:38 +0100)]
Fix #63486

10 years agoadded missing parentheses
Masaki Kagaya [Wed, 18 Feb 2015 14:17:39 +0000 (23:17 +0900)]
added missing parentheses

added test case for bug #68846
replaced tab with space
added missing parentheses again
See also: http://icu-project.org/docs/papers/gb18030.html#h7

10 years agoMerge branch 'pull-request/1104' into PHP-5.5
Stanislav Malyshev [Mon, 9 Mar 2015 06:20:50 +0000 (23:20 -0700)]
Merge branch 'pull-request/1104' into PHP-5.5

* pull-request/1104:
  Fix #63486

10 years agoMerge branch 'pull-request/1106' into PHP-5.5
Stanislav Malyshev [Mon, 9 Mar 2015 05:45:47 +0000 (22:45 -0700)]
Merge branch 'pull-request/1106' into PHP-5.5

* pull-request/1106:
  Fix #67626

10 years agoAdd note of group use
Xinchen Hui [Mon, 9 Mar 2015 04:08:34 +0000 (12:08 +0800)]
Add note of group use

10 years agoMerge branch 'filter/adjust-logic' of https://github.com/whatthejeff/php-src
Xinchen Hui [Mon, 9 Mar 2015 03:43:10 +0000 (11:43 +0800)]
Merge branch 'filter/adjust-logic' of https://github.com/whatthejeff/php-src

10 years agoTemorary fix for phpdbg segfault while use zend_mm_set_custom_handlers
Xinchen Hui [Mon, 9 Mar 2015 03:19:05 +0000 (11:19 +0800)]
Temorary fix for phpdbg segfault while use zend_mm_set_custom_handlers

10 years agoMerge branch 'pull-request/1049'
Stanislav Malyshev [Mon, 9 Mar 2015 00:57:47 +0000 (17:57 -0700)]
Merge branch 'pull-request/1049'

* pull-request/1049:
  Rename __callstatic (internal name) to __callStatic (userland name) in error message

10 years agoMerge branch 'pull-request/1135'
Stanislav Malyshev [Mon, 9 Mar 2015 00:24:11 +0000 (17:24 -0700)]
Merge branch 'pull-request/1135'

* pull-request/1135:
  Return void like other functions
  Use zend_parse_parameters_none()
  Implemented FR #45235 A way to clear or reset the results for error_get_last()

10 years agoMerge branch 'PHP-5.6'
Stanislav Malyshev [Mon, 9 Mar 2015 00:13:32 +0000 (17:13 -0700)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Regression tests for SplFileInfo class setters

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Stanislav Malyshev [Mon, 9 Mar 2015 00:13:25 +0000 (17:13 -0700)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Regression tests for SplFileInfo class setters

10 years agoMerge branch 'pull-request/1134' into PHP-5.5
Stanislav Malyshev [Mon, 9 Mar 2015 00:13:02 +0000 (17:13 -0700)]
Merge branch 'pull-request/1134' into PHP-5.5

* pull-request/1134:
  Regression tests for SplFileInfo class setters

10 years agoMerge branch 'PHP-5.6'
Stanislav Malyshev [Mon, 9 Mar 2015 00:05:59 +0000 (17:05 -0700)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Add missing value for error_reporting directive

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Stanislav Malyshev [Mon, 9 Mar 2015 00:05:51 +0000 (17:05 -0700)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Add missing value for error_reporting directive

10 years agoMerge branch 'pull-request/1130' into PHP-5.5
Stanislav Malyshev [Mon, 9 Mar 2015 00:05:37 +0000 (17:05 -0700)]
Merge branch 'pull-request/1130' into PHP-5.5

* pull-request/1130:
  Add missing value for error_reporting directive

10 years agoMerge branch 'pull-request/1129'
Stanislav Malyshev [Mon, 9 Mar 2015 00:04:13 +0000 (17:04 -0700)]
Merge branch 'pull-request/1129'

* pull-request/1129:
  Array - make krsort FAST_ZPP compatibility

10 years agoMerge branch 'pull-request/1127'
Stanislav Malyshev [Mon, 9 Mar 2015 00:02:48 +0000 (17:02 -0700)]
Merge branch 'pull-request/1127'

* pull-request/1127:
  merge ZEND_SIGNED_MULTIPLY_LONG for i386 and x86_64

10 years agoAdding notes regarding implementation of FR #69089
Stanislav Malyshev [Sun, 8 Mar 2015 23:51:00 +0000 (16:51 -0700)]
Adding notes regarding implementation of FR #69089

10 years agoMerge branch 'pull-request/1070'
Stanislav Malyshev [Sun, 8 Mar 2015 23:46:15 +0000 (16:46 -0700)]
Merge branch 'pull-request/1070'

* pull-request/1070:
  More docs for /win32/build/confutils.js
  Adding some inline docs/docs cleanup

10 years agoMerge remote-tracking branch 'weltling/libmagic_upgrade'
Anatol Belski [Sun, 8 Mar 2015 19:31:02 +0000 (20:31 +0100)]
Merge remote-tracking branch 'weltling/libmagic_upgrade'

* weltling/libmagic_upgrade: (29 commits)
  partially revert wrong merge
  after merge fix
  updated libmagic.patch
  catching up
  catching up
  regenerated data file
  more after patch fixes
  restore good patch parts
  stat is done by php
  use zend_strndup
  started to patch for libmagic.next
  fix test outputs
  catch up with the previous cve-2014-3538 patch
  catching up
  catching up
  catching up
  updated the test magic file
  add patchlevel info
  portable off_t
  regenerated data file
  ...

10 years agoAdjust logic in sanity checks.
Jeff Welch [Sun, 8 Mar 2015 15:31:26 +0000 (11:31 -0400)]
Adjust logic in sanity checks.

The code should return false when the provided options argument is neither an
array nor a valid filter.

10 years agopartially revert wrong merge
Anatol Belski [Sun, 8 Mar 2015 19:05:34 +0000 (20:05 +0100)]
partially revert wrong merge

10 years agoafter merge fix
Anatol Belski [Sun, 8 Mar 2015 18:56:31 +0000 (19:56 +0100)]
after merge fix

10 years agoupdated libmagic.patch
Anatol Belski [Sun, 8 Mar 2015 16:24:44 +0000 (17:24 +0100)]
updated libmagic.patch

10 years agocatching up
Anatol Belski [Fri, 6 Mar 2015 15:52:14 +0000 (16:52 +0100)]
catching up

10 years agocatching up
Anatol Belski [Fri, 6 Mar 2015 14:16:08 +0000 (15:16 +0100)]
catching up

10 years agoregenerated data file
Anatol Belski [Fri, 6 Mar 2015 08:43:00 +0000 (09:43 +0100)]
regenerated data file

10 years agomore after patch fixes
Anatol Belski [Fri, 6 Mar 2015 08:28:34 +0000 (09:28 +0100)]
more after patch fixes

10 years agorestore good patch parts
Anatol Belski [Thu, 5 Mar 2015 21:43:41 +0000 (22:43 +0100)]
restore good patch parts

10 years agostat is done by php
Anatol Belski [Thu, 5 Mar 2015 13:08:22 +0000 (14:08 +0100)]
stat is done by php

10 years agouse zend_strndup
Anatol Belski [Thu, 5 Mar 2015 13:01:36 +0000 (14:01 +0100)]
use zend_strndup

10 years agostarted to patch for libmagic.next
Anatol Belski [Thu, 5 Mar 2015 12:50:29 +0000 (13:50 +0100)]
started to patch for libmagic.next

everything is broken yet

10 years agofix test outputs
Anatol Belski [Sun, 8 Mar 2015 12:16:28 +0000 (13:16 +0100)]
fix test outputs

10 years agocatch up with the previous cve-2014-3538 patch
Anatol Belski [Sun, 8 Mar 2015 12:09:58 +0000 (13:09 +0100)]
catch up with the previous cve-2014-3538 patch

10 years agocatching up
Anatol Belski [Sat, 7 Mar 2015 22:42:44 +0000 (23:42 +0100)]
catching up

10 years agocatching up
Anatol Belski [Fri, 6 Mar 2015 15:52:14 +0000 (16:52 +0100)]
catching up

10 years agocatching up
Anatol Belski [Fri, 6 Mar 2015 14:16:08 +0000 (15:16 +0100)]
catching up

10 years agoupdated the test magic file
Anatol Belski [Fri, 6 Mar 2015 12:45:27 +0000 (13:45 +0100)]
updated the test magic file

10 years agoadd patchlevel info
Anatol Belski [Fri, 6 Mar 2015 10:43:49 +0000 (11:43 +0100)]
add patchlevel info

10 years agoportable off_t
Anatol Belski [Fri, 6 Mar 2015 10:19:28 +0000 (11:19 +0100)]
portable off_t

10 years agoregenerated data file
Anatol Belski [Fri, 6 Mar 2015 08:43:00 +0000 (09:43 +0100)]
regenerated data file

10 years agomore after patch fixes
Anatol Belski [Fri, 6 Mar 2015 08:28:34 +0000 (09:28 +0100)]
more after patch fixes

10 years agorestore good patch parts
Anatol Belski [Thu, 5 Mar 2015 21:43:41 +0000 (22:43 +0100)]
restore good patch parts

10 years agomissing prototype
Anatol Belski [Thu, 5 Mar 2015 14:42:03 +0000 (15:42 +0100)]
missing prototype

10 years agolibmagic.patch so far
Anatol Belski [Thu, 5 Mar 2015 14:32:04 +0000 (15:32 +0100)]
libmagic.patch so far

10 years agoupdated test magic file
Anatol Belski [Thu, 5 Mar 2015 14:04:51 +0000 (15:04 +0100)]
updated test magic file

10 years agouse right memory api
Anatol Belski [Thu, 5 Mar 2015 13:12:08 +0000 (14:12 +0100)]
use right memory api

10 years agostat is done by php
Anatol Belski [Thu, 5 Mar 2015 13:08:22 +0000 (14:08 +0100)]
stat is done by php

10 years agouse zend_strndup
Anatol Belski [Thu, 5 Mar 2015 13:01:36 +0000 (14:01 +0100)]
use zend_strndup

10 years agostarted to patch for libmagic.next
Anatol Belski [Thu, 5 Mar 2015 12:50:29 +0000 (13:50 +0100)]
started to patch for libmagic.next

everything is broken yet

10 years agoRevert "Fixed memleak while using custom mm"
Xinchen Hui [Sun, 8 Mar 2015 16:41:19 +0000 (00:41 +0800)]
Revert "Fixed memleak while using custom mm"

This reverts commit 5eabd979ffb2f0edb996baf91100197066a81a09.

10 years agoFixed memleak while using custom mm
Xinchen Hui [Sun, 8 Mar 2015 16:18:54 +0000 (00:18 +0800)]
Fixed memleak while using custom mm

10 years agoRevert "Fixed memleak in alloc_globals_ctor"
Xinchen Hui [Sun, 8 Mar 2015 16:17:52 +0000 (00:17 +0800)]
Revert "Fixed memleak in alloc_globals_ctor"

This reverts commit 85316b4bf02f75e6a89efb8b10416a0505a2ae4d.

10 years agoDeclares in top
Xinchen Hui [Sun, 8 Mar 2015 16:01:55 +0000 (00:01 +0800)]
Declares in top

10 years agoMerge branch 'batch-use' of https://github.com/marcioAlmada/php-src
Xinchen Hui [Sun, 8 Mar 2015 15:54:46 +0000 (23:54 +0800)]
Merge branch 'batch-use' of https://github.com/marcioAlmada/php-src

10 years agofix compilation warnings, rename batch_use to group_use
Márcio Almada [Sat, 7 Mar 2015 20:59:20 +0000 (17:59 -0300)]
fix compilation warnings, rename batch_use to group_use

10 years agoAdd ZEND_ARG_CALLABLE_INFO to allow internal function to type hint against callable
Rouven Weßling [Sun, 8 Mar 2015 14:55:23 +0000 (22:55 +0800)]
Add ZEND_ARG_CALLABLE_INFO to allow internal function to type hint against callable

10 years agoAdd configtest option to fpm init.d script
xingxing [Sun, 8 Mar 2015 14:48:29 +0000 (22:48 +0800)]
Add configtest option to fpm init.d script

10 years agoFixed bug #69201 (Memory leak using iterator and get by reference on PHP 7)
Xinchen Hui [Sun, 8 Mar 2015 12:22:02 +0000 (20:22 +0800)]
Fixed bug #69201 (Memory leak using iterator and get by reference on PHP 7)

10 years agoZTS cleanup
Reeze Xia [Sun, 8 Mar 2015 11:24:50 +0000 (19:24 +0800)]
ZTS cleanup

10 years agoMerge branch 'pull-request/1151'
Jakub Zelenka [Sun, 8 Mar 2015 10:47:22 +0000 (10:47 +0000)]
Merge branch 'pull-request/1151'