summaryrefslogtreecommitdiff
path: root/sapi/embed
Commit message (Collapse)AuthorAgeFilesLines
* Add stubs for SAPIsMáté Kocsis2020-07-101-6/+1
| | | | Closes GH-5295.
* Fix warning in embed sapiNikita Popov2020-07-101-1/+1
|
* Fixed bug #79737 (Building embed as static fails during install step).Dmitry Stogov2020-06-291-0/+3
|
* Constify char * arguments of APIstwosee2020-06-081-2/+2
| | | | Closes GH-5676.
* Remove mention of PHP major version in Copyright headersGabriel Caruso2019-09-252-4/+0
| | | | Closes GH-4732.
* Merge branch 'PHP-7.3' into PHP-7.4Nikita Popov2019-06-041-1/+0
|\
| * Merge branch 'PHP-7.2' into PHP-7.3Nikita Popov2019-06-041-1/+0
| |\
| | * Reload tsrmls_id in release builds as wellNikita Popov2019-06-041-1/+0
| | | | | | | | | | | | | | | | | | If TSRM is shut down and started again (something that phpdbg does), then tsrmls_id needs to be reloaded everywhere. As tsrmls_id update is a rare operation, doing that shouldn't be a problem.
| | * Sync leading and final newlines in source code filesPeter Kokot2018-10-141-1/+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-131-3/+3
| | |
| | * year++Xinchen Hui2018-01-022-2/+2
| | |
| * | Sync leading and final newlines in source code filesPeter Kokot2018-10-141-1/+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-131-3/+3
| | |
* | | Normalize comments in *nix build system m4 filesPeter Kokot2019-05-121-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Remove HAVE_SIGNAL_HPeter Kokot2019-04-071-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `<signal.h>` header file is part of the standard C89 headers [1] and on current systems can be included unconditionally. Since file requires at least C89 or greater, the `HAVE_SIGNAL_H` symbol defined by Autoconf in Zend.m4 [2] can be ommitted and simplifed. The bundled libmagic (file) also ommits the usage of HAVE_SIGNAL_H since 5.35 however current version in PHP is very modified 5.34 version and will be refactored separately. Check for HAVE_SIGNAL_H is therefore still done in the configure.ac. Refs: [1] https://port70.net/~nsz/c/c89/c89-draft.html#4.1.2 [2] https://git.savannah.gnu.org/cgit/autoconf.git/tree/lib/autoconf/headers.m4
* | | Implemented a faster way to access predefined TSRM resources - CG(), EG(), etc.Dmitry Stogov2019-03-141-2/+1
| | |
* | | Avoid reinitailization of ZTS cache pointer. Initialize it once in TSRM.cDmitry Stogov2019-03-121-0/+2
| | |
* | | Add AS_HELP_STRING to *nix build configure optionsPeter Kokot2019-03-071-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Remove local variablesPeter Kokot2019-02-031-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch removes the so called local variables defined per file basis for certain editors to properly show tab width, and similar settings. These are mainly used by Vim and Emacs editors yet with recent changes the once working definitions don't work anymore in Vim without custom plugins or additional configuration. Neither are these settings synced across the PHP code base. A simpler and better approach is EditorConfig and fixing code using some code style fixing tools in the future instead. This patch also removes the so called modelines for Vim. Modelines allow Vim editor specifically to set some editor configuration such as syntax highlighting, indentation style and tab width to be set in the first line or the last 5 lines per file basis. Since the php test files have syntax highlighting already set in most editors properly and EditorConfig takes care of the indentation settings, this patch removes these as well for the Vim 6.0 and newer versions. With the removal of local variables for certain editors such as Emacs and Vim, the footer is also probably not needed anymore when creating extensions using ext_skel.php script. Additionally, Vim modelines for setting php syntax and some editor settings has been removed from some *.phpt files. All these are mostly not relevant for phpt files neither work properly in the middle of the file.
* | | Remove yearly range from copyright noticeZeev Suraski2019-01-302-2/+2
| | |
* | | Sync leading and final newlines in source code filesPeter Kokot2018-10-141-1/+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-131-3/+3
|/ /
* | Remove unused Git attributes identPeter Kokot2018-07-254-6/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | year++Xinchen Hui2018-01-022-2/+2
|/
* Fixed bug #75735 ([embed SAPI] Segmentation fault in sapi_register_post_entry)Xinchen Hui2017-12-271-0/+1
|
* Update copyright headers to 2017Sammy Kaye Powers2017-01-042-2/+2
|
* Pass error severity to SAPI modules and raise corresponding error level in ↵Martin Vobruba2016-07-111-1/+1
| | | | Apache
* Cleanup zend_signal APIDmitry Stogov2016-06-201-2/+0
|
* Move semicolon into TSRMLS_CACHE_EXTERN/DEFINENikita Popov2016-03-032-2/+2
| | | | Also re bug #71575.
* 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
| |
| * bump yearXinchen Hui2015-01-152-2/+2
| |
* | fix zend signal and tsrm compatzend-signal-ztsJoe Watkins2015-09-011-0/+4
| |
* | made ZEND_TSRMLS_CACHE_* macros look like function callsAnatol Belski2015-02-162-3/+3
| | | | | | | | which also comply with the current semantics for such macros
* | bump yearXinchen Hui2015-01-152-2/+2
| |
* | trailing whitespace removalStanislav Malyshev2015-01-102-14/+14
| |
* | enable static tsrmls cache in the embed SAPIAnatol Belski2014-12-172-2/+2
| |
* | get rid of TSRMLS_* in the embed SAPIAnatol Belski2014-12-172-26/+12
| |
* | first shot remove TSRMLS_* thingsAnatol Belski2014-12-132-15/+15
| |
* | "extern" shouldn't be used for definitionsAnatol Belski2014-11-181-1/+1
| |
* | removed *.dsw and *.dsp filesAnatol Belski2014-09-281-100/+0
| |
* | Merge branch 'master' into issue-67910Florian MARGAINE2014-09-202-2/+2
|\ \ | | | | | | | | | | | | | | | Conflicts: README.PARAMETER_PARSING_API ext/gmp/tests/001.phpt
| * | s/PHP 5/PHP 7/Johannes Schlüter2014-09-192-2/+2
| | |
* | | Replaces php5 with php7, without whitespace changes.Florian MARGAINE2014-09-201-12/+12
|/ /
* | master renames phase 3Anatol Belski2014-08-251-3/+3
| |
* | master renames phase 1Anatol Belski2014-08-251-1/+1
| |
* | fixed some incompatible typesAnatol Belski2014-08-201-4/+4
| |
* | Merge branch 'PHP-5.6'Anatol Belski2014-03-241-0/+2
|\ \ | |/ | | | | | | | | | | | | * PHP-5.6: updated NEWS updated NEWS updated NEWS Fixed bug #65715 php5embed.lib isn't provided anymore
| * Merge branch 'PHP-5.4' into PHP-5.5Anatol Belski2014-03-241-0/+2
| |\ | | | | | | | | | | | | | | | * PHP-5.4: updated NEWS Fixed bug #65715 php5embed.lib isn't provided anymore
| | * Fixed bug #65715 php5embed.lib isn't provided anymoreAnatol Belski2014-03-241-0/+2
| | |