summaryrefslogtreecommitdiff
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'PHP-7.2' into PHP-7.3Peter Kokot2018-10-192-2/+1
|\ | | | | | | | | | | | | * PHP-7.2: [ci skip] Update NEWS [ci skip] Update NEWS Fix #77035: The phpize and ./configure create redundant .deps file
| * Merge branch 'PHP-7.1' into PHP-7.2Peter Kokot2018-10-192-2/+1
| |\ | | | | | | | | | | | | | | | * PHP-7.1: [ci skip] Update NEWS Fix #77035: The phpize and ./configure create redundant .deps file
| | * Fix #77035: The phpize and ./configure create redundant .deps filePeter Kokot2018-10-192-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `.deps` file(s) was once used by Automake and created to write dependencies to it. The file creation has been removed via the commit 779c11af21cf8a627b8f2f2edef9e9073c76ed94. The phpize and ./configure script create a redundant .deps file in a PECL extension directory which might cause confusions why is it used. Today it is no longer relevant so this redundant artefact can be removed in the phpize configure script.
| | * Sync leading and final newlines in source code filesPeter Kokot2018-10-1467-74/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds missing newlines, trims multiple redundant final newlines into a single one, and trims redundant leading newlines. According to POSIX, a line is a sequence of zero or more non-' <newline>' characters plus a terminating '<newline>' character. [1] Files should normally have at least one final newline character. C89 [2] and later standards [3] mention a final newline: "A source file that is not empty shall end in a new-line character, which shall not be immediately preceded by a backslash character." Although it is not mandatory for all files to have a final newline fixed, a more consistent and homogeneous approach brings less of commit differences issues and a better development experience in certain text editors and IDEs. [1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206 [2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2 [3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
| | * Trim trailing whitespace in source code filesPeter Kokot2018-10-1350-228/+228
| | |
| * | Sync leading and final newlines in source code filesPeter Kokot2018-10-1467-74/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds missing newlines, trims multiple redundant final newlines into a single one, and trims redundant leading newlines. According to POSIX, a line is a sequence of zero or more non-' <newline>' characters plus a terminating '<newline>' character. [1] Files should normally have at least one final newline character. C89 [2] and later standards [3] mention a final newline: "A source file that is not empty shall end in a new-line character, which shall not be immediately preceded by a backslash character." Although it is not mandatory for all files to have a final newline fixed, a more consistent and homogeneous approach brings less of commit differences issues and a better development experience in certain text editors and IDEs. [1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206 [2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2 [3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
| * | Trim trailing whitespace in source code filesPeter Kokot2018-10-1350-228/+228
| | |
* | | Sync leading and final newlines in source code filesPeter Kokot2018-10-143-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds missing newlines, trims multiple redundant final newlines into a single one, and trims redundant leading newlines. According to POSIX, a line is a sequence of zero or more non-' <newline>' characters plus a terminating '<newline>' character. [1] Files should normally have at least one final newline character. C89 [2] and later standards [3] mention a final newline: "A source file that is not empty shall end in a new-line character, which shall not be immediately preceded by a backslash character." Although it is not mandatory for all files to have a final newline fixed, a more consistent and homogeneous approach brings less of commit differences issues and a better development experience in certain text editors and IDEs. [1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206 [2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2 [3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
* | | Trim trailing whitespace in source code filesPeter Kokot2018-10-134-17/+17
| | |
* | | Bump minimum Autoconf requirement to 2.68Peter Kokot2018-10-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch syncs and bumps the minimum required version of Autoconf for the `phpize.m4` script and the main `configure.ac` from previously mixed 2.64 and 2.59 to 2.68. At the time of this writing Autoconf 2.63 is still the version on Centos 6, however by the PHP 7.3 release current systems out there should all have pretty much updated Autoconf versions to 2.64+ at least. Centos 7 already has Autoconf 2.69, for example. This provides more options to update and get current with the *nix build system and also avoids broken builds in certain cases as pointed out in the relevant discussion [1]. Additionally, phpize also already provides the `AX_CHECK_COMPILE_FLAG` Autoconf Archive m4 file that has Autoconf 2.64 minimum requirement. Autoconf 2.68 was released in 2010, 8 years ago, relative to this patch. [1] https://github.com/php/php-src/pull/3562
* | | Remove some old parts of the phpPeter Kokot2018-08-251-0/+0
| | | | | | | | | | | | | | | | | | Since ba138a3746b3077ebe5b7356b5b49f21cfc30438 the generate-phpt library has been unbundled from the php-src. This patch cleans two remaining parts.
* | | Upgrade deprecated AC_OUTPUT macro callsPeter Kokot2018-07-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Autoconf 2.50 made several changes to macro calls. These include also arguments passed to AC_OUTPUT macro. The upgrading chapter in Autoconf documentation include an example of using AC_OUTPUT with AC_CONFIG_FILES and AC_CONFIG_COMMANDS: - https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Obsolete-Macros.html PHP 5.4 to 7.1 require Autoconf 2.59+, PHP 7.2+ require Autoconf 2.64+, and PHP 7.2 phpize script requires Autoconf 2.59+ which are all greater than above mentioned 2.50 version. Systems out there should well support this by now. This patch was created with the help of autoupdate script: autoupdate <file> More info on where exactly this got deprecated: - ftp://ftp.gnu.org/old-gnu/Manuals/autoconf-2.13/html_mono/autoconf.html - ftp://ftp.auckland.ac.nz/pub/gnu/Manuals/autoconf-2.52/html_chapter/autoconf_15.html - http://git.savannah.gnu.org/cgit/autoconf.git/tree/NEWS
* | | Trim trailing whitespaces in build filesPeter Kokot2018-07-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Some editors utilizing .editorconfig automatically trim whitespaces. For convenience this patch removes whitespaces in certain build files: - ext/*/config*.m4 - configure.ac - acinclude.m4
* | | Remove unused Git attributes identPeter Kokot2018-07-251-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Removed the generated-tests library, this is a left Zöe's phpruntests ↵Kalle Sommer Nielsen2018-07-2377-2827/+0
| | | | | | | | | | | | | | | | | | repository it seems and never fully implemented. The only times this part of the code has been touched throughout the years has been minor PRs and entire php-src grep commits. If anything this belongs to the phpruntests.git repository.
* | | Replace AC_CONFIG_HEADER with AC_CONFIG_HEADERSPeter Kokot2018-07-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Autoconf doesn't mention the AC_CONFIG_HEADER macro since the v2.13 released in 1999 anywhere in the documentation. Future of this macro is unclear and commented as possible candidate for obsoletion in the autoconf source code. Since it is just a wrapper around the main AC_CONFIG_HEADERS macro, the functionality is the same, and also more clear to find it in the autoconf documentation and avoid possible future obsoletion.
* | | [ci skip] Remove trailing WSChristoph M. Becker2018-06-051-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | Since commit 2238403 removed respective trailing WS in files generated by this script, we remove the trailing WS in the first place, to avoid further mundane merge conflicts. [1] http://git.php.net/?p=php-src.git;a=commit;h=2238403892ccf87143a59814538d9f764509d9e7
* | | Fix some misspellingsGabriel Caruso2018-02-061-1/+1
| | |
* | | Simplify returns in generate-phptGabriel Caruso2018-01-266-43/+17
| | |
* | | Fixed build extension by phpizeXinchen Hui2018-01-172-1/+2
|/ /
* | Merge branch 'PHP-7.1' into PHP-7.2Xinchen Hui2018-01-034-7/+7
|\ \ | |/ | | | | | | * PHP-7.1: Happy new year (Update copyright to 2018)
| * Happy new year (Update copyright to 2018)Lior Kaplan2018-01-024-7/+7
| |
* | Set default value for some properties in generate-phptDanilo Correa2017-12-131-2/+2
| |
* | Merge branch 'PHP-7.1' into PHP-7.2Joe Watkins2017-07-242-4/+4
|\ \ | |/ | | | | | | * PHP-7.1: Update copyright year to 2017
| * Update copyright year to 2017Peter Kokot2017-07-242-4/+4
| |
* | Use modern autotools name of configure.ac instead of configure.inBrian Evans2017-01-272-3/+3
|/ | | | | | | | | | configure.ac was introduced in 2001 with automake-1.15 and autoconf-2.50 to replace the file named configure.in. Autotools is preparing to remove configure.in in Automake 2.0. All new software should be using configure.ac. This also fixes Bug #69770 where extensions are creating configure.in Signed-off-by: Brian Evans <grknight@gentoo.org>
* fix stub to accept user properlyJoe Watkins2017-01-091-1/+1
|
* fix build broken by #2124Joe Watkins2017-01-062-1/+2
|
* Merge branch 'PHP-5.6' into PHP-7.0Julien Pauli2016-01-042-2/+2
|\ | | | | | | | | | | | | | | | | * PHP-5.6: Happy new year (Update copyright to 2016) Conflicts: ext/json/php_json_encoder.h sapi/continuity/capi.c
| * Happy new year (Update copyright to 2016)Lior Kaplan2016-01-032-2/+2
| |
* | Merge branch 'PHP-5.6' into PHP-7.0Lior Kaplan2016-01-012-2/+2
|\ \ | |/ | | | | | | * PHP-5.6: Happy new year (Update copyright to 2016)
| * Happy new year (Update copyright to 2016)Lior Kaplan2016-01-012-2/+2
| |
| * fix timelib build configurationAnatol Belski2015-01-211-2/+0
| |
| * make timelib_config.h inclusion configurableAnatol Belski2015-01-211-0/+2
| |
| * Fix bug #67878 program_prefix not honoured in man pagesRemi Collet2014-08-212-14/+14
| | | | | | | | | | | | - add @program_prefix@ in php, phpize and php-config man pages - set date to 2014 - fix "SEE ALSO" alignment
* | More check_parameters improvementsNikita Popov2015-10-021-23/+37
| | | | | | | | | | | | | | | | | | * Switch default REPORT_LEVEL to 1 to cut down on the noise * Make initialization of 'C' variable always required * Don't require init of lLdb variable if ! is used * Don't throw error about missing init of not detected parameters (This was a regression in the last changeset) * Support method_parameters and throw variations
* | More check_parameters improvementsNikita Popov2015-10-011-11/+23
| | | | | | | | | | | | | | | | * Allow / on everything but lLdb (on which it will work, but makes no sense). * For ! on lLdb add additional zend_bool* parameter. * For optional s and p only require one of the variables to be initialized. The length is usually not initialized.
* | Update scripts/dev/check_parameters.php for PHP 7Sean DuBois2015-10-011-40/+22
| | | | | | | | | | Also fix deprecation errors and move from preg_replace -> preg_replace_callback.
* | one new line too muchAnatol Belski2015-08-201-1/+1
| |
* | use the bare tarball filename for the stub, no path elementsAnatol Belski2015-08-191-2/+2
| |
* | Merge branch 'pull-request/1454'Christoph M. Becker2015-08-131-3/+9
|\ \ | | | | | | | | | | | | * pull-request/1454: Docs for find_tested.php
| * | Docs for find_tested.phpNikhil Vimal2015-08-041-3/+9
| | | | | | | | | Initial Pass, also fixing the extra space before the extract_tests function name to keep with standards.
* | | make use of PHPROOT for possible mkdist integrationAnatol Belski2015-08-101-2/+5
| | |
* | | make scripts/dev/gen_verify_stub executableAnatol Belski2015-08-101-0/+0
| | |
* | | initial add verification stub generatorAnatol Belski2015-08-101-0/+48
|/ /
* | Revert "Fix arginfo for built-in engine functions"Dmitry Stogov2015-06-221-74/+0
| | | | | | | | This reverts commit d2356541d0386e3f0b6d593e2cc046ced68ff050.
* | Revert "Fix genarginfo to respect by-ref passing"Dmitry Stogov2015-06-221-12/+4
| | | | | | | | This reverts commit db6990a91b2ca931074b29886c7f7819b14bb021.
* | Fix genarginfo to respect by-ref passingBob Weinand2015-06-221-4/+12
| |
* | Fix arginfo for built-in engine functionsRasmus Lerdorf2015-06-211-0/+74
| |
* | Fix wrong display in ZTS checkingYuchen Wang2015-05-121-1/+1
| |