]> granicus.if.org Git - php/log
php
8 years agoMerge branch 'pull-request/1945'
Christoph M. Becker [Sun, 3 Jul 2016 10:33:27 +0000 (12:33 +0200)]
Merge branch 'pull-request/1945'

8 years agoupdate NEWS
Xinchen Hui [Sun, 3 Jul 2016 01:31:06 +0000 (09:31 +0800)]
update NEWS

8 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Sun, 3 Jul 2016 01:30:48 +0000 (09:30 +0800)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  Fixed bug #72531 (ps_files_cleanup_dir Buffer overflow)

8 years agoFixed bug #72531 (ps_files_cleanup_dir Buffer overflow)
Xinchen Hui [Sun, 3 Jul 2016 01:30:33 +0000 (09:30 +0800)]
Fixed bug #72531 (ps_files_cleanup_dir Buffer overflow)

8 years agoupdate NEWS
Anatol Belski [Fri, 1 Jul 2016 16:45:27 +0000 (18:45 +0200)]
update NEWS

8 years agoMerge branch 'PHP-7.0'
Anatol Belski [Fri, 1 Jul 2016 16:45:02 +0000 (18:45 +0200)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  update NEWS
  Fixed bug #72498 variant_date_from_timestamp null dereference

8 years agoupdate NEWS
Anatol Belski [Fri, 1 Jul 2016 16:44:20 +0000 (18:44 +0200)]
update NEWS

8 years agoFixed bug #72498 variant_date_from_timestamp null dereference
Anatol Belski [Fri, 1 Jul 2016 16:41:50 +0000 (18:41 +0200)]
Fixed bug #72498 variant_date_from_timestamp null dereference

8 years agoFixed bug #72523 (dtrace issue with reflection (failed test))
Xinchen Hui [Fri, 1 Jul 2016 10:50:35 +0000 (18:50 +0800)]
Fixed bug #72523 (dtrace issue with reflection (failed test))

8 years agoPrevent inlining through call_user_func() and call_user_func_array()
Dmitry Stogov [Thu, 30 Jun 2016 21:16:54 +0000 (00:16 +0300)]
Prevent inlining through call_user_func() and call_user_func_array()

8 years agoFixed ext/opcache/tests/bug70207.phpt
Dmitry Stogov [Thu, 30 Jun 2016 18:50:57 +0000 (21:50 +0300)]
Fixed ext/opcache/tests/bug70207.phpt

8 years agoIntroduce new CHECK_VAR instruction to keep warnings about undefined variables.
Dmitry Stogov [Thu, 30 Jun 2016 18:40:34 +0000 (21:40 +0300)]
Introduce new CHECK_VAR instruction to keep warnings about undefined variables.

8 years agoDisable inlining for $this->foo(), because $this may be not in object context
Dmitry Stogov [Thu, 30 Jun 2016 18:05:48 +0000 (21:05 +0300)]
Disable inlining for $this->foo(), because $this may be not in object context

8 years agoDisable inlining for $this->foo(), because $this may be used not in object context
Dmitry Stogov [Thu, 30 Jun 2016 18:03:08 +0000 (21:03 +0300)]
Disable inlining for $this->foo(), because $this may be used not in object context

8 years agoFixed incorrect constant propagation
Dmitry Stogov [Thu, 30 Jun 2016 17:48:16 +0000 (20:48 +0300)]
Fixed incorrect constant propagation

8 years agoFix RT_CONSTANT_EX typo
Nikita Popov [Thu, 30 Jun 2016 15:42:57 +0000 (17:42 +0200)]
Fix RT_CONSTANT_EX typo

8 years agoInline simple constant functions
Dmitry Stogov [Thu, 30 Jun 2016 14:04:25 +0000 (17:04 +0300)]
Inline simple constant functions

8 years agoMerge branch 'json_api_return_codes'
Jakub Zelenka [Wed, 29 Jun 2016 19:51:10 +0000 (20:51 +0100)]
Merge branch 'json_api_return_codes'

8 years agoRemove openssl test 029 as it is incomplete
Jakub Zelenka [Wed, 29 Jun 2016 19:49:14 +0000 (20:49 +0100)]
Remove openssl test 029 as it is incomplete

8 years agoclanup
Dmitry Stogov [Wed, 29 Jun 2016 14:53:39 +0000 (17:53 +0300)]
clanup

8 years agoRevert "Skip new OpenSSL ECC tests on 32bit"
Dmitry Stogov [Wed, 29 Jun 2016 08:43:31 +0000 (11:43 +0300)]
Revert "Skip new OpenSSL ECC tests on 32bit"

This reverts commit 0a4f89bc292c3c82ff719cd79e66ef96c2079526.

8 years agoImprove php-fpm systemd unit file
Remi Collet [Wed, 29 Jun 2016 04:48:06 +0000 (06:48 +0200)]
Improve php-fpm systemd unit file

- use PrivateTmp, now available everwhere, for better security
- add comment about how to customize the unit file

8 years agoAdd return code from json API functions
Jakub Zelenka [Tue, 28 Jun 2016 19:49:38 +0000 (20:49 +0100)]
Add return code from json API functions

It will allow fix few json bugs in a better way

8 years agoSkip new OpenSSL ECC tests on 32bit
Jakub Zelenka [Tue, 28 Jun 2016 19:39:31 +0000 (20:39 +0100)]
Skip new OpenSSL ECC tests on 32bit

There has been reported that they fail on 32bit so
they will be skipped till the issue is investigated.

8 years agoMerge branch 'PHP-7.0'
Nikita Popov [Tue, 28 Jun 2016 19:36:28 +0000 (21:36 +0200)]
Merge branch 'PHP-7.0'

8 years agoDon't use FUNC_ARG fetches for call_user_func()
Nikita Popov [Tue, 28 Jun 2016 19:34:20 +0000 (21:34 +0200)]
Don't use FUNC_ARG fetches for call_user_func()

This makes no sense -- SEND_USER can't even handle INDIRECTs.

8 years agoFix typos in UPGRADING
Jakub Zelenka [Tue, 28 Jun 2016 19:27:11 +0000 (20:27 +0100)]
Fix typos in UPGRADING

8 years agoMerge branch 'PHP-7.0'
Nikita Popov [Tue, 28 Jun 2016 18:57:55 +0000 (20:57 +0200)]
Merge branch 'PHP-7.0'

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

8 years agoMake call_user_func() on reference args consistent
Nikita Popov [Tue, 28 Jun 2016 18:43:38 +0000 (20:43 +0200)]
Make call_user_func() on reference args consistent

Previously reference arguments were allowed if call_user_func()
was compiled to SEND_USER and not otherwise. Make it consistent
by always forbidding them.

8 years agoRemove assert for now
Nikita Popov [Tue, 28 Jun 2016 16:47:29 +0000 (18:47 +0200)]
Remove assert for now

8 years agoUse DO_UCALL for method calls
Nikita Popov [Tue, 28 Jun 2016 09:57:04 +0000 (11:57 +0200)]
Use DO_UCALL for method calls

8 years agoMore type inferences fixes
Nikita Popov [Thu, 16 Jun 2016 12:41:33 +0000 (14:41 +0200)]
More type inferences fixes

8 years agoFixed compilation warnings
Dmitry Stogov [Tue, 28 Jun 2016 08:37:51 +0000 (11:37 +0300)]
Fixed compilation warnings

8 years agoFix bug #72099: xml_parse_into_struct segmentation fault
Stanislav Malyshev [Tue, 28 Jun 2016 08:22:55 +0000 (01:22 -0700)]
Fix bug #72099: xml_parse_into_struct segmentation fault

8 years agoFixed build
Xinchen Hui [Tue, 28 Jun 2016 07:54:20 +0000 (15:54 +0800)]
Fixed build

8 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Tue, 28 Jun 2016 07:39:10 +0000 (15:39 +0800)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  Fixed test

8 years agoFixed test
Xinchen Hui [Tue, 28 Jun 2016 07:39:02 +0000 (15:39 +0800)]
Fixed test

8 years agoUpdate NEWS
Xinchen Hui [Tue, 28 Jun 2016 07:37:33 +0000 (15:37 +0800)]
Update NEWS

8 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Tue, 28 Jun 2016 07:36:58 +0000 (15:36 +0800)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  Fixed bug #72508 (strange references after recursive function call and "switch" statement)

8 years agoFixed bug #72508 (strange references after recursive function call and "switch" state...
Xinchen Hui [Tue, 28 Jun 2016 07:36:50 +0000 (15:36 +0800)]
Fixed bug #72508 (strange references after recursive function call and "switch" statement)

8 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Tue, 28 Jun 2016 03:37:20 +0000 (11:37 +0800)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  MFH: Fixed fd leak (the origin commit can not be cherry-picked)

Conflicts:
main/fastcgi.c
sapi/cli/ps_title.c

8 years agoMFH: Fixed fd leak (the origin commit can not be cherry-picked)
Xinchen Hui [Tue, 28 Jun 2016 03:32:41 +0000 (11:32 +0800)]
MFH: Fixed fd leak (the origin commit can not be cherry-picked)

8 years agoMerge branch 'master' of https://github.com/devnexen/php-src
Xinchen Hui [Tue, 28 Jun 2016 03:29:31 +0000 (11:29 +0800)]
Merge branch 'master' of https://github.com/devnexen/php-src

* 'master' of https://github.com/devnexen/php-src:
  couple of resource leaks fixes and use after free's

8 years agoUpdated NEWS
Xinchen Hui [Tue, 28 Jun 2016 03:12:22 +0000 (11:12 +0800)]
Updated NEWS

8 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Tue, 28 Jun 2016 03:12:01 +0000 (11:12 +0800)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  Fixed bug #72505 (readfile() mangles files larger than 2G)

8 years agoMerge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0
Xinchen Hui [Tue, 28 Jun 2016 03:11:39 +0000 (11:11 +0800)]
Merge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0

* 'PHP-7.0' of git.php.net:/php-src:
  Fix the fix for #72403 on nl2br
  Update NEWS
  Update NEWS
  Fix #70628: Clearing bindings on an SQLite3 statement doesn't work
  5.5.38 now

8 years agoFixed bug #72505 (readfile() mangles files larger than 2G)
Xinchen Hui [Tue, 28 Jun 2016 03:11:25 +0000 (11:11 +0800)]
Fixed bug #72505 (readfile() mangles files larger than 2G)

8 years agoUpdate NEWS
Davey Shafik [Mon, 27 Jun 2016 21:23:00 +0000 (14:23 -0700)]
Update NEWS

8 years agoMerge support for HTTP/2 Server Push in ext/curl
Davey Shafik [Mon, 27 Jun 2016 20:34:37 +0000 (13:34 -0700)]
Merge support for HTTP/2 Server Push in ext/curl

8 years agoMerge branch 'PHP-7.0'
Stanislav Malyshev [Mon, 27 Jun 2016 19:33:53 +0000 (12:33 -0700)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  Fix the fix for #72403 on nl2br
  5.5.38 now

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Stanislav Malyshev [Mon, 27 Jun 2016 19:32:58 +0000 (12:32 -0700)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Fix the fix for #72403 on nl2br
  5.5.38 now

Conflicts:
ext/standard/string.c

8 years agoMerge branch 'PHP-5.5' into PHP-5.6
Stanislav Malyshev [Mon, 27 Jun 2016 19:32:11 +0000 (12:32 -0700)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Fix the fix for #72403 on nl2br
  5.5.38 now

Conflicts:
configure.in
main/php_version.h

8 years agoFix the fix for #72403 on nl2br
Stanislav Malyshev [Mon, 27 Jun 2016 19:30:42 +0000 (12:30 -0700)]
Fix the fix for #72403 on nl2br

8 years agoMerge branch 'precise_float'
Jakub Zelenka [Mon, 27 Jun 2016 18:40:44 +0000 (19:40 +0100)]
Merge branch 'precise_float'

8 years agoUpdate NEWS and UPGRADING
Jakub Zelenka [Mon, 27 Jun 2016 18:40:17 +0000 (19:40 +0100)]
Update NEWS and UPGRADING

8 years agoUpdate NEWS
Christoph M. Becker [Mon, 27 Jun 2016 15:25:06 +0000 (17:25 +0200)]
Update NEWS

8 years agoMerge branch 'PHP-7.0'
Christoph M. Becker [Mon, 27 Jun 2016 15:18:44 +0000 (17:18 +0200)]
Merge branch 'PHP-7.0'

8 years agoUpdate NEWS
Christoph M. Becker [Mon, 27 Jun 2016 15:17:34 +0000 (17:17 +0200)]
Update NEWS

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Christoph M. Becker [Mon, 27 Jun 2016 15:09:55 +0000 (17:09 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoUpdate NEWS
Christoph M. Becker [Mon, 27 Jun 2016 15:07:26 +0000 (17:07 +0200)]
Update NEWS

8 years agoFix #70628: Clearing bindings on an SQLite3 statement doesn't work
Christoph M. Becker [Mon, 27 Jun 2016 14:55:15 +0000 (16:55 +0200)]
Fix #70628: Clearing bindings on an SQLite3 statement doesn't work

Obiously, it isn't sufficient to call sqlite3_clear_bindings() alone, but
also the bound_params of the php_sqlite3_stmt have to be cleared.

8 years agoMerge branch 'master' of https://github.com/php/php-src
David Carlier [Mon, 27 Jun 2016 10:49:57 +0000 (11:49 +0100)]
Merge branch 'master' of https://github.com/php/php-src

8 years agoImplement curl server push
Davey Shafik [Fri, 2 Oct 2015 07:31:10 +0000 (09:31 +0200)]
Implement curl server push

8 years agoRefactor easy handle lookup
Davey Shafik [Wed, 2 Dec 2015 21:47:52 +0000 (16:47 -0500)]
Refactor easy handle lookup

8 years agoRefactor setup of handlers on copied curl handles
Davey Shafik [Wed, 2 Dec 2015 21:47:28 +0000 (16:47 -0500)]
Refactor setup of handlers on copied curl handles

8 years agoFixed executor without global register variales (gcc warnings or clang errors)
Dmitry Stogov [Mon, 27 Jun 2016 07:36:41 +0000 (10:36 +0300)]
Fixed executor without global register variales (gcc warnings or clang errors)

8 years agoMerge branch 'master' of https://github.com/php/php-src
David Carlier [Mon, 27 Jun 2016 06:45:27 +0000 (07:45 +0100)]
Merge branch 'master' of https://github.com/php/php-src

8 years agocouple of resource leaks fixes and use after free's
David Carlier [Mon, 27 Jun 2016 06:42:49 +0000 (07:42 +0100)]
couple of resource leaks fixes and use after free's

8 years agoUpdate NEWS
Pierrick Charron [Sun, 26 Jun 2016 17:36:44 +0000 (13:36 -0400)]
Update NEWS

8 years agoAdd curl_multi/share_errno() curl_share_strerror()
Pierrick Charron [Sun, 26 Jun 2016 17:29:42 +0000 (13:29 -0400)]
Add curl_multi/share_errno() curl_share_strerror()

Add 3 new functions :
- curl_multi_errno()
- curl_share_errno()
- curl_share_strerror()

https://wiki.php.net/rfc/new-curl-error-functions

8 years agoMerge branch 'openssl_ecc_keypair'
Jakub Zelenka [Sun, 26 Jun 2016 16:29:29 +0000 (17:29 +0100)]
Merge branch 'openssl_ecc_keypair'

8 years agoUpdate NEWS with ECC curve support info
Jakub Zelenka [Sun, 26 Jun 2016 16:29:02 +0000 (17:29 +0100)]
Update NEWS with ECC curve support info

8 years agoImprove openssl ecc keypair support implementation
Jakub Zelenka [Sun, 26 Jun 2016 15:55:51 +0000 (16:55 +0100)]
Improve openssl ecc keypair support implementation

8 years agoAdds initial support to generate and work with ECC public key pair
Dominic Luechinger [Wed, 15 Jun 2016 20:31:42 +0000 (22:31 +0200)]
Adds initial support to generate and work with ECC public key pair

New features:
- openssl_get_curve_names => list ECC curve names
- generate a ECC public key pair
- generate an CSR with an ECC key
- export x,y,d params of ECC public/private key

Thanks to @bukka for the review and feedback

8 years agoUse one place to define max length of double
Jakub Zelenka [Sun, 26 Jun 2016 13:03:01 +0000 (14:03 +0100)]
Use one place to define max length of double

Introduce new constant PHP_DOUBLE_MAX_LENGTH for that purpose

8 years agoChange default for serialize_precision to -1 (use mode 0)
Jakub Zelenka [Sun, 26 Jun 2016 12:41:22 +0000 (13:41 +0100)]
Change default for serialize_precision to -1 (use mode 0)

8 years agoAdd decimal point in double serialization
Jakub Zelenka [Sun, 26 Jun 2016 11:29:57 +0000 (12:29 +0100)]
Add decimal point in double serialization

8 years agoReplace json.precision with serialize_precision
Jakub Zelenka [Thu, 23 Jun 2016 19:13:49 +0000 (20:13 +0100)]
Replace json.precision with serialize_precision

8 years agoAvoid magic number. NUM_BUF_SIZE may be in header. Suggestions are appreciated
Yasuo Ohgaki [Thu, 3 Sep 2015 22:17:44 +0000 (07:17 +0900)]
Avoid magic number. NUM_BUF_SIZE may be in header. Suggestions are appreciated

8 years agoAdd better value to test
Yasuo Ohgaki [Mon, 31 Aug 2015 10:20:28 +0000 (19:20 +0900)]
Add better value to test

8 years agoRemove unneeded WS change
Yasuo Ohgaki [Mon, 31 Aug 2015 10:12:21 +0000 (19:12 +0900)]
Remove unneeded WS change

8 years agoRemove unneeded output from test
Yasuo Ohgaki [Mon, 31 Aug 2015 10:07:17 +0000 (19:07 +0900)]
Remove unneeded output from test

8 years agoFix mode when precision=0. Add test
Yasuo Ohgaki [Mon, 31 Aug 2015 09:59:32 +0000 (18:59 +0900)]
Fix mode when precision=0. Add test

8 years agoAdd cast
Yasuo Ohgaki [Mon, 31 Aug 2015 07:10:32 +0000 (16:10 +0900)]
Add cast

8 years agoEnable 0 mode for echo/print
Yasuo Ohgaki [Mon, 31 Aug 2015 06:50:15 +0000 (15:50 +0900)]
Enable 0 mode for echo/print

8 years agoSimply use ndigit for flag for zend_dtoa mode
Yasuo Ohgaki [Sun, 30 Aug 2015 08:13:24 +0000 (17:13 +0900)]
Simply use ndigit for flag for zend_dtoa mode

8 years agoAdd JSON_G(precision)
Yasuo Ohgaki [Wed, 5 Aug 2015 05:36:37 +0000 (14:36 +0900)]
Add JSON_G(precision)

8 years agoInitial patch for 0 mode float conversion. The magic number is better to be improved...
Yasuo Ohgaki [Tue, 4 Aug 2015 23:12:10 +0000 (08:12 +0900)]
Initial patch for 0 mode float conversion. The magic number is better to be improved. Any suggestion where to define it?

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Lior Kaplan [Sat, 25 Jun 2016 18:32:38 +0000 (21:32 +0300)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Add CVE info for PHP 5.6.22
  Add CVE info for PHP 5.6.23
  Add missing entries for PHP 5.6.23

8 years agoAlign NEWS files with 7.0.8 and Changelog
Lior Kaplan [Sat, 25 Jun 2016 18:25:57 +0000 (21:25 +0300)]
Align NEWS files with 7.0.8 and Changelog

8 years agoAdd CVE info for PHP 5.6.22
Lior Kaplan [Sat, 25 Jun 2016 17:31:26 +0000 (20:31 +0300)]
Add CVE info for PHP 5.6.22

8 years agoAdd CVE info for PHP 5.6.23
Lior Kaplan [Sat, 25 Jun 2016 17:28:51 +0000 (20:28 +0300)]
Add CVE info for PHP 5.6.23

8 years agoAdd missing entries for PHP 5.6.23
Lior Kaplan [Sat, 25 Jun 2016 16:56:00 +0000 (19:56 +0300)]
Add missing entries for PHP 5.6.23

8 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Sat, 25 Jun 2016 01:08:28 +0000 (18:08 -0700)]
Merge branch 'PHP-7.0'

8 years agoFixed bug #72484 (SCRIPT_FILENAME shows wrong path if the user specify router.php)
Xinchen Hui [Sat, 25 Jun 2016 01:08:16 +0000 (18:08 -0700)]
Fixed bug #72484 (SCRIPT_FILENAME shows wrong path if the user specify router.php)

8 years agoFallback to kill() if raise() doesn't work
Dmitry Stogov [Fri, 24 Jun 2016 16:32:24 +0000 (19:32 +0300)]
Fallback to kill() if raise() doesn't work

8 years agoAdd temporary workaround for raise() failure
Dmitry Stogov [Fri, 24 Jun 2016 15:00:47 +0000 (18:00 +0300)]
Add temporary workaround for raise() failure

8 years agoFixed unused var
Xinchen Hui [Fri, 24 Jun 2016 13:15:00 +0000 (21:15 +0800)]
Fixed unused var

8 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Fri, 24 Jun 2016 13:14:02 +0000 (21:14 +0800)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  Fixed format

Conflicts:
ext/opcache/zend_shared_alloc.c

8 years agoFixed format
Xinchen Hui [Fri, 24 Jun 2016 13:13:04 +0000 (21:13 +0800)]
Fixed format