#
4fa32d67 |
| 15-May-2019 |
Sara Golemon |
Bump for 7.2.20
|
Revision tags: php-7.2.19RC1, php-7.3.6RC1 |
|
#
2d93cce0 |
| 14-May-2019 |
Christoph M. Becker |
Prepare 7.3.7-dev
|
#
75fb7486 |
| 12-May-2019 |
Peter Kokot |
Normalize comments in *nix build system m4 files Normalization include: - Use dnl for everything that can be ommitted when configure is built in favor of the shell comment characte
Normalize comments in *nix build system m4 files Normalization include: - Use dnl for everything that can be ommitted when configure is built in favor of the shell comment character # which is visible in the output. - Line length normalized to 80 columns - Dots for most of the one line sentences - Macro definitions include similar pattern header comments now
show more ...
|
#
f7b62b11 |
| 07-May-2019 |
Peter Kokot |
Remove dead code from configure.ac SAPI apache has been removed and now there is apache2handler so this warning hasn't been used for a while.
|
Revision tags: php-7.1.29, php-7.2.18, php-7.3.5 |
|
#
adc3b720 |
| 25-Apr-2019 |
Sebastian Pop |
speed up add and sub operators with overflow detection On A72, google-benchmark measure before and after the patch: -------------------------------------------------------- Benchmark
speed up add and sub operators with overflow detection On A72, google-benchmark measure before and after the patch: -------------------------------------------------------- Benchmark Time CPU Iterations -------------------------------------------------------- BM_add_before 13.3 ns 13.3 ns 52626058 BM_sub_before 8.72 ns 8.72 ns 80259343 BM_add_after 4.80 ns 4.80 ns 145926004 BM_sub_after 4.80 ns 4.80 ns 145936496 Before the patch: fast_long_add_function: ldr x1, [x1] ldr x2, [x2] add x3, x1, x2 eor x4, x1, x2 tbz x4, #63, .L5 .L2: mov w1, 4 str x3, [x0] str w1, [x0, 8] ret .p2align 2 .L5: eor x4, x1, x3 tbz x4, #63, .L2 scvtf d0, x1 scvtf d1, x2 mov w1, 5 str w1, [x0, 8] fadd d0, d0, d1 str d0, [x0] ret With the patch: fast_long_add_function: ldr x5, [x1] ldr x6, [x2] adds x5, x5, x6 bvs .L2 mov w6, 4 str x5, [x0] str w6, [x0, 8] ret .L2: ldr x1, [x1] mov w3, 5 ldr x2, [x2] str w3, [x0, 8] scvtf d0, x1 scvtf d1, x2 fadd d0, d0, d1 str d0, [x0] ret php$ ./sapi/cli/php Zend/bench.php Base: Patch: simple 0.091 simple 0.091 simplecall 0.014 simplecall 0.014 simpleucall 0.041 simpleucall 0.041 simpleudcall 0.045 simpleudcall 0.045 mandel 0.193 mandel 0.193 mandel2 0.229 mandel2 0.229 ackermann(7) 0.044 ackermann(7) 0.044 ary(50000) 0.010 ary(50000) 0.010 ary2(50000) 0.008 ary2(50000) 0.008 ary3(2000) 0.096 ary3(2000) 0.095 fibo(30) 0.149 fibo(30) 0.148 hash1(50000) 0.016 hash1(50000) 0.016 hash2(500) 0.020 hash2(500) 0.020 heapsort(20000) 0.055 heapsort(20000) 0.054 matrix(20) 0.057 matrix(20) 0.057 nestedloop(12) 0.091 nestedloop(12) 0.091 sieve(30) 0.032 sieve(30) 0.032 strcat(200000) 0.010 strcat(200000) 0.010 ------------------------ ------------------------ Total 1.199 Total 1.197 php$ ./sapi/cli/php Zend/micro_bench.php Base: Patch: empty_loop 0.051 empty_loop 0.051 func() 0.181 0.130 func() 0.181 0.130 undef_func() 0.186 0.135 undef_func() 0.186 0.135 int_func() 0.116 0.064 int_func() 0.116 0.064 $x = self::$x 0.235 0.183 $x = self::$x 0.233 0.182 self::$x = 0 0.198 0.147 self::$x = 0 0.198 0.147 isset(self::$x) 0.229 0.178 isset(self::$x) 0.229 0.178 empty(self::$x) 0.231 0.180 empty(self::$x) 0.231 0.180 $x = Foo::$x 0.144 0.093 $x = Foo::$x 0.144 0.093 Foo::$x = 0 0.107 0.056 Foo::$x = 0 0.107 0.056 isset(Foo::$x) 0.140 0.088 isset(Foo::$x) 0.140 0.088 empty(Foo::$x) 0.148 0.097 empty(Foo::$x) 0.148 0.097 self::f() 0.238 0.187 self::f() 0.238 0.187 Foo::f() 0.209 0.158 Foo::f() 0.209 0.158 $x = $this->x 0.123 0.072 $x = $this->x 0.123 0.072 $this->x = 0 0.124 0.073 $this->x = 0 0.124 0.073 $this->x += 2 0.151 0.099 $this->x += 2 0.153 0.101 ++$this->x 0.137 0.086 ++$this->x 0.138 0.086 --$this->x 0.137 0.086 --$this->x 0.138 0.086 $this->x++ 0.170 0.119 $this->x++ 0.172 0.121 $this->x-- 0.171 0.119 $this->x-- 0.172 0.121 isset($this->x) 0.170 0.119 isset($this->x) 0.170 0.119 empty($this->x) 0.179 0.128 empty($this->x) 0.179 0.128 $this->f() 0.194 0.143 $this->f() 0.194 0.143 $x = Foo::TEST 0.188 0.137 $x = Foo::TEST 0.188 0.136 new Foo() 0.482 0.431 new Foo() 0.479 0.427 $x = TEST 0.109 0.058 $x = TEST 0.109 0.058 $x = $_GET 0.190 0.138 $x = $_GET 0.190 0.139 $x = $GLOBALS['v'] 0.242 0.191 $x = $GLOBALS['v'] 0.242 0.191 $x = $hash['v'] 0.196 0.145 $x = $hash['v'] 0.196 0.145 $x = $str[0] 0.146 0.094 $x = $str[0] 0.145 0.094 $x = $a ?: null 0.144 0.093 $x = $a ?: null 0.144 0.093 $x = $f ?: tmp 0.174 0.123 $x = $f ?: tmp 0.174 0.123 $x = $f ? $f : $a 0.153 0.101 $x = $f ? $f : $a 0.153 0.101 $x = $f ? $f : tmp 0.148 0.097 $x = $f ? $f : tmp 0.148 0.097 ------------------------ ------------------------ Total 6.143 Total 6.143
show more ...
|
#
ce65d235 |
| 29-Apr-2019 |
Peter Kokot |
Remove TSRM configuration header TSRM configuration header file was once created by separate autoconf build system for TSRM and is with the current code not directly needed like this
Remove TSRM configuration header TSRM configuration header file was once created by separate autoconf build system for TSRM and is with the current code not directly needed like this anymore.
show more ...
|
#
33e8a7b3 |
| 23-Apr-2019 |
Nikita Popov |
Enable -Werror in CI Add --enable-werror configure option and use it on Travis. It's not possible to directly use CFLAGS, because it also affects configure checks which often throw w
Enable -Werror in CI Add --enable-werror configure option and use it on Travis. It's not possible to directly use CFLAGS, because it also affects configure checks which often throw warnings. We can't enable something similar for Windows builds at this time, because they throw a lot more warnings.
show more ...
|
#
beb58ca1 |
| 23-Apr-2019 |
Peter Kokot |
Move Autoconf Archive macros to a common m4 dir In PHP the build dir is used as a directory for external macros including Autoconf Archive macros.
|
Revision tags: php-7.2.18RC1, php-7.3.5RC1, php-7.2.17, php-7.3.4, php-7.1.28, php-7.3.4RC1, php-7.2.17RC1 |
|
#
4e7064d1 |
| 12-Mar-2019 |
Peter Kokot |
Move acinclude.m4 to build/php.m4 The acinclude.m4 file is in a usual Autotools build processed with Automake's aclocal tool. Since PHP currently doesn't use Automake and aclocal thi
Move acinclude.m4 to build/php.m4 The acinclude.m4 file is in a usual Autotools build processed with Automake's aclocal tool. Since PHP currently doesn't use Automake and aclocal this file can be moved into the build directory. PHP build system currently generates a combined aclocal.m4 file that Autoconf can processes automatically. However, a newer practice is writing all local macros in separate dedicated files prefixed with package name, in PHP's case PHP_MACRO_NAME and putting them in a common `m4` directory. PHP uses currently `build` directory for this purpose. Name `php.m4` probably most resembles such file for PHP's case. PHP manually created the aclocal.m4 file from acinclude.m4 and build/libtool.m4. Which is also not a particularly good practice [1], so this patch also removes the generated alocal.m4 usage and uses m4_include() calls manually in the configure.ac and phpize.m4 files manually. - sort order is not important but can be alphabetical - list of *.m4 files prerequisites for configure script generation updated - Moving m4_include() before AC_INIT also removes all comments starting with hash character (`#`) in the included files. [1] https://autotools.io/autoconf/macros.html
show more ...
|
#
b1d3509e |
| 20-Apr-2019 |
Peter Kokot |
Refactor Zend/acinclude.m4 local macro There is now only a single M4 macro in the legacy acinclude.m4 file. A separate acinclude file was once used with a standalone Zend engine buil
Refactor Zend/acinclude.m4 local macro There is now only a single M4 macro in the legacy acinclude.m4 file. A separate acinclude file was once used with a standalone Zend engine building but with current build system this can be simplified a bit.
show more ...
|
#
6c44a71e |
| 16-Apr-2019 |
Remi Collet |
next is 7.2.19
|
#
5ae49c43 |
| 16-Apr-2019 |
Christoph M. Becker |
Prepare main branch for PHP 7.3.6
|
#
769db423 |
| 13-Apr-2019 |
Peter Kokot |
Remove PHP_READDIR_R_TYPE The PHP_READDIR_R_TYPE m4 macro has been removed via 2b28f7189144a21e753dbc09efadd571121a82b9. HAVE_POSIX_READDIR_R in windows header file is also not
Remove PHP_READDIR_R_TYPE The PHP_READDIR_R_TYPE m4 macro has been removed via 2b28f7189144a21e753dbc09efadd571121a82b9. HAVE_POSIX_READDIR_R in windows header file is also not needed anymore.
show more ...
|
#
8021d52f |
| 09-Apr-2019 |
Peter Kokot |
Remove duplicated substitude for Makefile The substitution is already done in the CLI's config.m4 file. Current SAPIs only provide one PHP_EXECUTABLE variable, i.e. PHP CLI so the one
Remove duplicated substitude for Makefile The substitution is already done in the CLI's config.m4 file. Current SAPIs only provide one PHP_EXECUTABLE variable, i.e. PHP CLI so the one in the configure.ac can be removed.
show more ...
|
Revision tags: php-7.1.27, php-7.3.3, php-7.2.16 |
|
#
e06836a1 |
| 24-Feb-2019 |
Peter Kokot |
Remove checks for locale.h, setlocale, localeconv The `<loccale.h>` header file, setlocale, and localeconv are part of the standard C89 [1] and on current systems can be used uncondition
Remove checks for locale.h, setlocale, localeconv The `<loccale.h>` header file, setlocale, and localeconv are part of the standard C89 [1] and on current systems can be used unconditionally. Since PHP 7.4 requires at least C89 or greater, the `HAVE_LOCALE_H`, `HAVE_SETLOCALE`, and `HAVE_LOCALECONV` symbols defined by Autoconf in configure.ac [2] can be ommitted and simplifed. The bundled libmagic (file) has also been patched already in version 5.35 and up in upstream location so when it will be patched also in php-src the check for locale.h header is still left in the configure.ac and in windows headers definition file. [1] https://port70.net/~nsz/c/c89/c89-draft.html#4.4 [2] https://git.savannah.gnu.org/cgit/autoconf.git/tree/lib/autoconf/headers.m4 Omit the bundled libmagic files
show more ...
|
#
afd52f9d |
| 19-Mar-2019 |
Peter Kokot |
Refactor AC_INIT in configure.ac and PHP versions Since Autoconf 2.53 the AC_INIT call with only a single argument has been made obsolete and now includes several other optional argument
Refactor AC_INIT in configure.ac and PHP versions Since Autoconf 2.53 the AC_INIT call with only a single argument has been made obsolete and now includes several other optional arguments to make installation experience a bit better by providing program version and links to the project in the `./configure -h` output. This patch also updates win build version. The phpize.m4 AC_INIT has been updated with the call without arguments.
show more ...
|
#
9a068760 |
| 01-Apr-2019 |
Dmitry Stogov |
Added JIT compiler for x86 and x86_64
|
#
a8e879c5 |
| 25-Mar-2019 |
Peter Kokot |
Join README.GIT-RULES and CONTRIBUTING.md This patch joins two very much related pieces of docs together in a single file dedicated to all sorts of contributing info. Some more
Join README.GIT-RULES and CONTRIBUTING.md This patch joins two very much related pieces of docs together in a single file dedicated to all sorts of contributing info. Some more changes: - Branches info copied from the current master branch - LXR and bonsai info removed - Duplicated info reduced a bit - Security branch updated to 7.1 - Refactor intro for Git commit rules - Updated README.GIT-RULES file usage in win32/build/confutils.js - Refactored configure.ac
show more ...
|
#
3207741d |
| 17-Mar-2019 |
Peter Kokot |
Refactor PHP_PROG_BISON and PHP_PROG_RE2C This patch refactors these macros to also checks for the required given versions of bison and re2c. - PHP_PROG_RE2C and PHP_PROG_BISON
Refactor PHP_PROG_BISON and PHP_PROG_RE2C This patch refactors these macros to also checks for the required given versions of bison and re2c. - PHP_PROG_RE2C and PHP_PROG_BISON take optional args - minmimum version required, and bison also excluded versions. - Instead of caching values this uses manual checking and messaging outputs. - It looks like the minimum version of RE2C 0.13.4 is working ok so far. The genfiles script improvements: - Add make override in genfiles - Move checkings from makedist to genfiles - Refactored output messages - Various minor enhancements
show more ...
|
#
5e16f5b8 |
| 27-Mar-2019 |
Peter Kokot |
Remove php7.spec.in file RPM specification file was introduced via 7c2f1384d45876bbdef255c4a57301e6406f6964 for PHP to include official RPM packages long time agon. With removal of t
Remove php7.spec.in file RPM specification file was introduced via 7c2f1384d45876bbdef255c4a57301e6406f6964 for PHP to include official RPM packages long time agon. With removal of the makerpm script via 3d51d4c90c77a30a7b88aae7184dcce4b6e26b07 and Linux repositories to manage such updated and customized info in their repositories this file is most likely not needed anymore.
show more ...
|
#
f43ce705 |
| 26-Mar-2019 |
Joe Watkins |
remove last enable-maintainer-zts mention from source
|
#
bd73607b |
| 23-Mar-2019 |
Joe Watkins |
TSRM cleanup for PHP8
|
#
161adfff |
| 22-Mar-2019 |
Joe Watkins |
For consistency with Windows, and because ZTS is not experimental or a "maintainer" feature, this commits renames --enable-maintainer-zts to --enable-zts in the autotools build, and related documenta
For consistency with Windows, and because ZTS is not experimental or a "maintainer" feature, this commits renames --enable-maintainer-zts to --enable-zts in the autotools build, and related documentation
show more ...
|
#
963428a7 |
| 19-Mar-2019 |
Sara Golemon |
Bump versions for 7.2.18
|
#
a2de4204 |
| 19-Mar-2019 |
Christoph M. Becker |
Prepare main branch for PHP 7.3.5
|