#
bb35da33 |
| 11-Aug-2024 |
Peter Kokot |
Autotools: Sync CS in extensions (#15343) - Redundant double quotes removed - AS_* macros used - Few nits adjusted here and there
|
#
da5362c9 |
| 06-Aug-2024 |
Peter Kokot |
Autotools: Add ext/readline preprocessor macros help texts (#15241) This adds the missing macros help texts for easier understanding. The AC_DEFINE can be called with only 2 arguments if
Autotools: Add ext/readline preprocessor macros help texts (#15241) This adds the missing macros help texts for easier understanding. The AC_DEFINE can be called with only 2 arguments if there is another definition in the code where template (see AH_TEMPLATE Autoconf macro) is read by autoheader (the 2nd AC_DEFINE sets the template for all other definitions with the same name).
show more ...
|
#
0b25e26b |
| 05-Aug-2024 |
Peter Kokot |
Fix bug #51558: shared readline build fails (#15242) The 'rl_pending_input' is a variable in Readline library and checking it with PHP_CHECK_LIBRARY wouldn't find it on some systems.
Fix bug #51558: shared readline build fails (#15242) The 'rl_pending_input' is a variable in Readline library and checking it with PHP_CHECK_LIBRARY wouldn't find it on some systems. Library check works on most systems but not on the mentioned AIX in the bug as it exports variables and functions differently whereas the linker couldn't resolve the variable as a function. This should fix the build on systems where this caused issues, such as AIX. The <readline/readline.h> is not self-contained header and needs to also have <stdio.h> included before to have FILE type available. This fixes the issue on unpatched default readline installations, such as macOS. Checking this variable ensures that the found library is the correct library and also that it is of minimum version needed by current PHP code (https://bugs.php.net/48608). The library check: ```c | char rl_pending_input (); | int main (void) { | return rl_pending_input (); | } ``` The declaration check: ```c | #include <stdio.h> | #include <readline/readline.h> | int main (void) { | #ifndef rl_pending_input | #ifdef __cplusplus | (void) rl_pending_input; | #else | (void) rl_pending_input; | #endif | #endif | ; | return 0; | } ``` Closes https://bugs.php.net/51558
show more ...
|
#
d6a75e19 |
| 04-Aug-2024 |
Peter Kokot |
Sync preprocessor macros help texts (#15218) This partially syncs help texts a bit further for: - ext/ffi - ext/ldap - ext/opcache - ext/pcre - ext/pdo_mysql - ext/re
Sync preprocessor macros help texts (#15218) This partially syncs help texts a bit further for: - ext/ffi - ext/ldap - ext/opcache - ext/pcre - ext/pdo_mysql - ext/readline - ext/standard
show more ...
|
#
dcdcb3cb |
| 04-Aug-2024 |
Peter Kokot |
Autotools: Replace AC_MSG_ERROR with AC_MSG_FAILURE (#15209) This replaces the AC_MSG_ERROR with AC_MSG_FAILURE, where appropriate. The AC_MSG_ERROR outputs given message and exits
Autotools: Replace AC_MSG_ERROR with AC_MSG_FAILURE (#15209) This replaces the AC_MSG_ERROR with AC_MSG_FAILURE, where appropriate. The AC_MSG_ERROR outputs given message and exits the configure step. The AC_MSG_FAILURE does the same but also automatically outputs additional message "See 'config.log' for more details." which might help directing the user where to look further. The AC_MSG_ERROR is used for errors where current test step isn't logged in the config.log and wouldn't make sense, and AC_MSG_FAILURE is mostly used in cases of library checks, compilation tests, headers checked with AC_CHECK_HEADER* and similar tests that are also logged in the config.log. AC_MSG_ERROR([Sanity check failed.]) output: ``` configure: error: Sanity check failed. ``` AC_MSG_FAILURE([Sanity check failed.]) output: ``` configure: error: in '/path/to/php-src': configure: error: Sanity check failed. See 'config.log' for more details ```
show more ...
|
#
2b97c84d |
| 28-Jul-2024 |
Peter Kokot |
Autotools: Quote PHP_CHECK_LIBRARY arguments (#15136) This syncs the quotes across the PHP_CHECK_LIBRARY macro arguments.
|
#
c53b272f |
| 27-Jul-2024 |
Peter Kokot |
Autotools: Quote AC_CHECK_LIB arguments (#15116) This syncs CS for AC_CHECK_LIB where possible, and adds minor help texts to gettext extension AC_DEFINE symbols, including the HAVE_LIBIN
Autotools: Quote AC_CHECK_LIB arguments (#15116) This syncs CS for AC_CHECK_LIB where possible, and adds minor help texts to gettext extension AC_DEFINE symbols, including the HAVE_LIBINTL.
show more ...
|
#
2141094b |
| 26-Jul-2024 |
Peter Kokot |
Autotools: Fix rl_erase_empty_line check (#15109) When building with readline/libedit installed at non-standard or non-system paths the check flags also need to be adjusted a bit to be
Autotools: Fix rl_erase_empty_line check (#15109) When building with readline/libedit installed at non-standard or non-system paths the check flags also need to be adjusted a bit to be able to check for the declared variable.
show more ...
|
#
ff4b99e2 |
| 26-Jul-2024 |
Peter Kokot |
Autotools: Quote PHP_ADD_LIB* arguments (#15112) Following previous CS syncs, this quotes arguments in PHP_ADD_LIB* M4 macros: - PHP_ADD_LIBRARY - PHP_ADD_LIBRARY_WITH_PATH -
Autotools: Quote PHP_ADD_LIB* arguments (#15112) Following previous CS syncs, this quotes arguments in PHP_ADD_LIB* M4 macros: - PHP_ADD_LIBRARY - PHP_ADD_LIBRARY_WITH_PATH - PHP_ADD_LIBPATH
show more ...
|
#
d22abb5f |
| 24-Jul-2024 |
Peter Kokot |
Autotools: Quote PHP_NEW_EXTENSION arguments (#15081) This removes redundant shell double quotes as PHP_NEW_EXTENSION macro already wraps the flags argument in quotes.
|
#
97afc864 |
| 20-Jul-2024 |
Peter Kokot |
Autotools: Quote M4 arguments (#15045) - AC_MSG_CHECKING - AC_MSG_RESULT - AC_MSG_WARN - AC_MSG_ERROR - AC_MSG_NOTICE
|
#
68ae4777 |
| 20-Jul-2024 |
Peter Kokot |
Autotools: Quote M4 arguments (#15033) - PHP_ADD_INCLUDE - PHP_EVAL_INCLINE - PHP_EVAL_LIBLINE
|
#
2acd4c2b |
| 07-Jul-2024 |
Peter Kokot |
Autotools: Sync HAVE_ERASE_EMPTY_LINE help text (#14857) HAVE_ERASE_EMPTY_LINE always gets the last AC_DEFINE help text, so it is simpler to have the same help message for both definitio
Autotools: Sync HAVE_ERASE_EMPTY_LINE help text (#14857) HAVE_ERASE_EMPTY_LINE always gets the last AC_DEFINE help text, so it is simpler to have the same help message for both definitions (readline and editline). First text never got into header via autoheader anyway.
show more ...
|
#
af29403e |
| 07-Jul-2024 |
Peter Kokot |
Enable erase_empty_line in ext/readline (#14526) This wasn't activated due to inconsistent availability over the editline/readline versions and variants. This now checks whether the
Enable erase_empty_line in ext/readline (#14526) This wasn't activated due to inconsistent availability over the editline/readline versions and variants. This now checks whether the rl_erase_empty_line variable is available in library headers and enables it based on that. On Windows this is for now still disabled due to wineditline library, which doesn't have this yet. Documentation already mentions the erase_empty_line setting: https://www.php.net/manual/en/function.readline-info.php
show more ...
|
#
bee84c04 |
| 02-Jul-2024 |
Peter Kokot |
Autotools: Quote PHP_SUBST arguments in extensions (#14748)
|
Revision tags: php-8.2.0RC1, php-8.1.10, php-8.0.23, php-8.0.23RC1, php-8.1.10RC1, php-8.2.0beta3, php-8.2.0beta2, php-8.1.9, php-8.0.22, php-8.1.9RC1, php-8.2.0beta1, php-8.0.22RC1, php-8.0.21, php-8.1.8, php-8.2.0alpha3, php-8.1.8RC1, php-8.2.0alpha2, php-8.0.21RC1, php-8.0.20, php-8.1.7, php-8.2.0alpha1, php-7.4.30, php-8.1.7RC1, php-8.0.20RC1, php-8.1.6, php-8.0.19, php-8.1.6RC1, php-8.0.19RC1, php-8.0.18, php-8.1.5, php-7.4.29, php-8.1.5RC1, php-8.0.18RC1, php-8.1.4, php-8.0.17, php-8.1.4RC1, php-8.0.17RC1, php-8.1.3, php-8.0.16, php-7.4.28, php-8.1.3RC1, php-8.0.16RC1, php-8.1.2, php-8.0.15, php-8.1.2RC1, php-8.0.15RC1, php-8.0.14, php-8.1.1, php-7.4.27, php-8.1.1RC1, php-8.0.14RC1, php-7.4.27RC1, php-8.1.0, php-8.0.13, php-7.4.26, php-7.3.33, php-8.1.0RC6, php-7.4.26RC1, php-8.0.13RC1, php-8.1.0RC5, php-7.3.32, php-7.4.25, php-8.0.12, php-8.1.0RC4, php-8.0.12RC1, php-7.4.25RC1, php-8.1.0RC3, php-8.0.11, php-7.4.24, php-7.3.31, php-8.1.0RC2, php-7.4.24RC1, php-8.0.11RC1, php-8.1.0RC1, php-7.4.23, php-8.0.10, php-7.3.30, php-8.1.0beta3, php-8.0.10RC1, php-7.4.23RC1, php-8.1.0beta2, php-8.0.9, php-7.4.22, php-8.1.0beta1, php-7.4.22RC1, php-8.0.9RC1, php-8.1.0alpha3, php-7.4.21, php-7.3.29, php-8.0.8, php-8.1.0alpha2, php-7.4.21RC1, php-8.0.8RC1, php-8.1.0alpha1, php-8.0.7, php-7.4.20, php-8.0.7RC1, php-7.4.20RC1 |
|
#
96adc806 |
| 12-May-2021 |
George Peter Banyard |
Add -Wstrict-prototypes compiler warning Disable it for the following extensions: - GD - pspell - readline Closes GH-5888 |
Revision tags: php-8.0.6, php-7.4.19, php-7.4.18, php-7.3.28, php-8.0.5, php-8.0.5RC1, php-7.4.18RC1, php-8.0.4RC1, php-7.4.17RC1, php-8.0.3, php-7.4.16, php-8.0.3RC1, php-7.4.16RC1, php-8.0.2, php-7.4.15, php-7.3.27, php-8.0.2RC1, php-7.4.15RC2, php-7.4.15RC1, php-8.0.1, php-7.4.14, php-7.3.26, php-7.4.14RC1, php-8.0.1RC1, php-7.3.26RC1, php-8.0.0, php-7.3.25, php-7.4.13, php-8.0.0RC5, php-7.4.13RC1, php-8.0.0RC4, php-7.3.25RC1, php-7.4.12, php-8.0.0RC3, php-7.3.24, php-8.0.0RC2, php-7.4.12RC1, php-7.3.24RC1, php-7.2.34, php-8.0.0rc1, php-7.4.11, php-7.3.23, php-8.0.0beta4, php-7.4.11RC1, php-7.3.23RC1, php-8.0.0beta3, php-7.4.10, php-7.3.22, php-8.0.0beta2, php-7.3.22RC1, php-7.4.10RC1, php-8.0.0beta1, php-7.4.9, php-7.2.33, php-7.3.21, php-8.0.0alpha3, php-7.4.9RC1, php-7.3.21RC1, php-7.4.8, php-7.2.32, php-8.0.0alpha2, php-7.3.20, php-8.0.0alpha1, php-7.4.8RC1, php-7.3.20RC1, php-7.4.7, php-7.3.19, php-7.4.7RC1, php-7.3.19RC1, php-7.4.6, php-7.2.31, php-7.4.6RC1, php-7.3.18RC1, php-7.2.30, php-7.4.5, php-7.3.17, php-7.4.5RC1, php-7.3.17RC1, php-7.3.18, php-7.4.4, php-7.2.29, php-7.3.16, php-7.4.4RC1, php-7.3.16RC1, php-7.4.3, php-7.2.28, php-7.3.15RC1, php-7.4.3RC1, php-7.3.15, php-7.2.27, php-7.4.2, php-7.3.14, php-7.3.14RC1, php-7.4.2RC1, php-7.4.1, php-7.2.26, php-7.3.13, php-7.4.1RC1, php-7.3.13RC1, php-7.2.26RC1, php-7.4.0, php-7.2.25, php-7.3.12, php-7.4.0RC6, php-7.3.12RC1, php-7.2.25RC1, php-7.4.0RC5, php-7.1.33, php-7.2.24, php-7.3.11, php-7.4.0RC4, php-7.3.11RC1, php-7.2.24RC1, php-7.4.0RC3, php-7.2.23, php-7.3.10, php-7.4.0RC2, php-7.2.23RC1, php-7.3.10RC1, php-7.4.0RC1, php-7.1.32, php-7.2.22, php-7.3.9, php-7.4.0beta4, php-7.2.22RC1, php-7.3.9RC1, php-7.4.0beta2, php-7.1.31, php-7.2.21, php-7.3.8, php-7.4.0beta1, php-7.2.21RC1, php-7.3.8RC1, php-7.4.0alpha3, php-7.3.7, php-7.2.20, php-7.4.0alpha2, php-7.3.7RC3, php-7.3.7RC2, php-7.2.20RC2, php-7.4.0alpha1, php-7.3.7RC1, php-7.2.20RC1, php-7.2.19, php-7.3.6, php-7.1.30, php-7.2.19RC1, php-7.3.6RC1 |
|
#
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 ...
|
Revision tags: php-7.1.29, php-7.2.18, php-7.3.5, 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, php-7.1.27, php-7.3.3, php-7.2.16 |
|
#
9df6a1e4 |
| 03-Mar-2019 |
Peter Kokot |
Add AS_HELP_STRING to *nix build configure options The Autoconf's default AS_HELP_STRING macro can properly format help strings [1] so watching out if columns are aligned manually is not
Add AS_HELP_STRING to *nix build configure options The Autoconf's default AS_HELP_STRING macro can properly format help strings [1] so watching out if columns are aligned manually is not anymore. [1] https://www.gnu.org/software/autoconf/manual/autoconf.html#Pretty-Help-Strings
show more ...
|
Revision tags: php-7.3.3RC1, php-7.2.16RC1 |
|
#
b537203d |
| 19-Feb-2019 |
Remi Collet |
use pkg-config for libedit |
#
2850e09c |
| 19-Feb-2019 |
Remi Collet |
add readline_list_history with libedit >= 3.1 and mingweditline |
Revision tags: php-7.2.15, php-7.3.2, php-7.2.15RC1, php-7.3.2RC1 |
|
#
b35a20e9 |
| 11-Jan-2019 |
Nikita Popov |
Merge branch 'PHP-7.2' into PHP-7.3
|
Revision tags: php-5.6.40, php-7.1.26, php-7.3.1, php-7.2.14, php-7.2.14RC1, php-7.3.1RC1 |
|
#
1ea58b6e |
| 17-Dec-2018 |
Ondřej Surý |
Fix rl_completion_matches detection Also fix a typo when checking for rl_on_new_line in readline library. |
Revision tags: php-5.6.39, php-7.1.25, php-7.2.13, php-7.0.33, php-7.3.0, php-7.1.25RC1, php-7.2.13RC1, php-7.3.0RC6, php-7.1.24, php-7.2.12, php-7.3.0RC5, php-7.1.24RC1, php-7.2.12RC1, php-7.3.0RC4 |
|
#
902d39a3 |
| 13-Oct-2018 |
Peter Kokot |
Trim trailing whitespace in source code files |
Revision tags: php-7.1.23, php-7.2.11, php-7.3.0RC3, php-7.1.23RC1, php-7.2.11RC1, php-7.3.0RC2, php-5.6.38, php-7.1.22, php-7.3.0RC1, php-7.2.10, php-7.0.32, php-7.1.22RC1, php-7.3.0beta3, php-7.2.10RC1, php-7.1.21, php-7.2.9, php-7.3.0beta2, php-7.1.21RC1, php-7.3.0beta1, php-7.2.9RC1 |
|
#
cf3b8521 |
| 29-Jul-2018 |
Peter Kokot |
Trim trailing whitespaces in build files Some editors utilizing .editorconfig automatically trim whitespaces. For convenience this patch removes whitespaces in certain build files: -
Trim trailing whitespaces in build files Some editors utilizing .editorconfig automatically trim whitespaces. For convenience this patch removes whitespaces in certain build files: - ext/*/config*.m4 - configure.ac - acinclude.m4
show more ...
|
Revision tags: php-5.6.37, php-7.1.20, php-7.3.0alpha4, php-7.0.31, php-7.2.8, php-7.1.20RC1, php-7.2.8RC1, php-7.3.0alpha3 |
|
#
8d3f8ca1 |
| 03-Jul-2018 |
Peter Kokot |
Remove unused Git attributes ident The $Id$ keywords were used in Subversion where they can be substituted with filename, last revision number change, last changed date, and last use
Remove unused Git attributes ident The $Id$ keywords were used in Subversion where they can be substituted with filename, last revision number change, last changed date, and last user who changed it. In Git this functionality is different and can be done with Git attribute ident. These need to be defined manually for each file in the .gitattributes file and are afterwards replaced with 40-character hexadecimal blob object name which is based only on the particular file contents. This patch simplifies handling of $Id$ keywords by removing them since they are not used anymore.
show more ...
|