Commit Graph

108238 Commits

Author SHA1 Message Date
Pedro Magalhães
97b2558b76 Fix #76700 - Methods with altered visibility need to be added again 2018-08-03 17:30:03 +01:00
Anatol Belski
2ea7222440 Remove asan incompatible options 2018-08-03 14:10:37 +02:00
Christoph M. Becker
4faf135d90 Update UPGRADING.INTERNALS wrt. Same Site Cookies 2018-08-03 10:52:31 +02:00
Anatol Belski
7aca2bdbb1 Update maintainer info [skip ci] 2018-08-03 07:49:29 +02:00
Anatol Belski
4bb44e0f44 Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
  Improve cleanup
2018-08-03 07:11:23 +02:00
Anatol Belski
0872e80dd8 Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
  Improve cleanup
2018-08-03 07:10:27 +02:00
Anatol Belski
41c69766a4 Improve cleanup
The persistent connection locks the file which might prevent deletion.
2018-08-03 07:08:53 +02:00
Anatol Belski
cd07fa48ba Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
  Fix callbacks
  bump version
2018-08-02 21:40:50 +02:00
Anatol Belski
91a0a10f71 Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
  Fix callbacks
  bump version
2018-08-02 21:20:04 +02:00
Anatol Belski
19592519c2 Fix callbacks
The signatures wasn't synced in 7.0
2018-08-02 18:59:34 +02:00
Anatol Belski
9d7c510893 Cleanup unused items 2018-08-02 18:28:56 +02:00
Sara Golemon
ba1a90ea89 Merge branch 'PHP-7.2' into HEAD
* PHP-7.2:
  Roll NEWS for 7.2.10
2018-08-02 11:23:14 -04:00
Sara Golemon
0ba49597b9
Roll NEWS for 7.2.10 2018-08-02 11:21:40 -04:00
Michael Moravec
196e5f0e06 [ci skip] Fix wrong dash character in UPGRADING 2018-08-02 14:13:09 +02:00
Anatol Belski
d53978bd59 Suppress more irrelevant clang warnings 2018-08-01 18:18:37 +02:00
Xinchen Hui
642bb9f376 Unused var 2018-08-01 16:45:15 +02:00
Anatol Belski
36857ab52b Fix clang compilation
By usage of -fmodules, all the intrinsic items are loaded automatically.
The headers included come however from Visual Studio, thus bringing some
conflicting declarations. On the other hand, -fmodules is needed to
mitigate linking issues with clang in VS compatibility mode.
2018-08-01 16:19:54 +02:00
Anatol Belski
b1d2a89ac1 Fix length to copy 2018-07-31 17:31:57 +02:00
Joe Watkins
74988eed99
bump version 2018-07-31 16:38:35 +02:00
Christoph M. Becker
f6ee308143 Fix ZEND_EXTENSION_API_NO 2018-07-31 14:11:39 +02:00
Christoph M. Becker
144e8d1f83 Update API version numbers
These are supposed to be final now for PHP 7.3.
2018-07-31 13:33:48 +02:00
Christoph M. Becker
bf5cf79456 Fix UPGRADING 2018-07-31 13:31:28 +02:00
Christoph M. Becker
974abd8b43 Update UPGRADING wrt. samesite cookie RFC
Cf. <https://wiki.php.net/rfc/same-site-cookie>.
2018-07-31 12:48:33 +02:00
Pedro Magalhães
2b58ab23c6 Support for samesite cookies with array syntax
Allows using an alternative array argument with
support for the samesite option on the following
functions:
setcookie
setrawcookie
session_set_cookie_params
2018-07-31 12:40:26 +02:00
Frederik Bosch
08b9310e6d implement same site cookie see https://bugs.php.net/bug.php?id=72230 see https://tools.ietf.org/html/draft-west-first-party-cookies-07 see https://scotthelme.co.uk/csrf-is-dead/ 2018-07-31 12:40:24 +02:00
Dmitry Stogov
3ccd985478 Improved method visibility checks 2018-07-31 13:05:57 +03:00
Dmitry Stogov
57527455eb Simplified property name to string conversion 2018-07-31 12:24:53 +03:00
Dmitry Stogov
c42f0ba4f7 Removed useless IS_UNDEF checks 2018-07-31 12:23:46 +03:00
Peter Kokot
7c1e0930c4 Remove TSRM_CHECK_GCC_ARG and LIBZEND_CPLUSPLUS_CHECKS
This removes two old Autoconf macro definitions since they are not used
anymore.
2018-07-31 05:59:05 +02:00
Peter Kokot
b719aa41f4 Fix minor Autoconf coding style
This fixes two minor Autoconf coding styles. Double quotes in arguments
don't need to be escaped. This removes warning given by autoreconf:
- warning: back quotes and double quotes must not be escaped in...
2018-07-31 03:09:44 +02:00
Anatol Belski
160353688b Update NEWS [ci skip] 2018-07-30 19:44:59 +02:00
Anatol Belski
b49891aa90 Merge branch 'PHP-7.2'
* PHP-7.2:
  Update NEWS [ci skip]
  Update NEWS [ci skip]
2018-07-30 19:44:01 +02:00
Anatol Belski
095a30e11b Update NEWS [ci skip] 2018-07-30 19:43:23 +02:00
Anatol Belski
e111ef5626 Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
  Update NEWS [ci skip]
2018-07-30 19:42:45 +02:00
Anatol Belski
2870178720 Update NEWS [ci skip] 2018-07-30 19:42:10 +02:00
Anatol Belski
093cb1d7c6 Merge branch 'PHP-7.2'
* PHP-7.2:
  Fixed bug #75402 Possible Memory Leak using PDO::CURSOR_SCROLL option
2018-07-30 18:29:40 +02:00
Anatol Belski
d207d6a57f Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
  Fixed bug #75402 Possible Memory Leak using PDO::CURSOR_SCROLL option
2018-07-30 18:28:53 +02:00
Anatol Belski
cc69950b15 Fixed bug #75402 Possible Memory Leak using PDO::CURSOR_SCROLL option 2018-07-30 18:27:59 +02:00
Dmitry Stogov
5674cf888d Use better macros 2018-07-30 16:48:34 +03:00
Dmitry Stogov
909f943fe5 Loop optimization 2018-07-30 16:08:45 +03:00
Gabriel Caruso
9c8b3ae43f
Make more tests run on 64bit plataforms 2018-07-30 09:43:09 -03:00
Gabriel Caruso
4a1336de7c
Give a reason why the test was skipped 2018-07-30 09:03:21 -03:00
Gabriel Caruso
745f6627bd
Remove superfluous SKIPIF sections of always available functions 2018-07-30 09:01:39 -03:00
Dmitry Stogov
be805f146c Added missing define 2018-07-30 13:29:09 +03:00
Dmitry Stogov
3ced766da9 Removed duplicate code. zend_fetch_dimension_address_LIST_w() was a copy of zend_fetch_dimension_address_W(), ZEND_FETCH_LIST_W_SPEC_CV_... a copy of ZEND_FETCH_DIM_W_SPEC_CV_... 2018-07-30 10:53:39 +03:00
Peter Kokot
f2e4de8b56 Fix AC_RUN_IFELSE calls when cross-compiling
AC_RUN_IFELSE program can't be run when cross-compiling. This fix removes
warnings given by autotools scripts.
2018-07-30 06:38:59 +02:00
Peter Kokot
6399fa1eea [ci skip] Fix typo 2018-07-30 06:28:40 +02:00
Gabriel Caruso
d88bbcea82
Remove superfluous SKIPIF sections of always available constants 2018-07-30 00:53:28 -03:00
Peter Kokot
4371945b8b Replace obsolete AC_TRY_FOO with AC_FOO_IFELSE
Autoconf 2.50 released in 2001 made several macros obsolete including
the AC_TRY_RUN, AC_TRY_COMPILE and AC_TRY_LINK:
http://git.savannah.gnu.org/cgit/autoconf.git/tree/ChangeLog.2

These macros should be replaced with the current AC_FOO_IFELSE instead:
- AC_TRY_RUN with AC_RUN_IFELSE and AC_LANG_SOURCE
- AC_TRY_LINK with AC_LINK_IFELSE and AC_LANG_PROGRAM
- AC_TRY_COMPILE with AC_COMPILE_IFELSE and AC_LANG_PROGRAM

PHP 5.4 to 7.1 require Autoconf 2.59+ version, PHP 7.2 and above require
2.64+ version, and the PHP 7.2 phpize script requires 2.59+ version which
are all greater than above mentioned 2.50 version therefore systems
should be well supported by now.

This patch was created with the help of autoupdate script:
autoupdate <file>

Reference docs:
- https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Obsolete-Macros.html
- https://www.gnu.org/software/autoconf/manual/autoconf-2.59/autoconf.pdf
2018-07-30 02:36:38 +02:00
Gabriel Caruso
aac5cdc7d7
Remove superfluous SKIPIF sections of always available interfaces 2018-07-29 18:03:34 -03:00