summaryrefslogtreecommitdiff
path: root/main/php_network.h
Commit message (Collapse)AuthorAgeFilesLines
* Constify char * arguments of APIstwosee2020-06-081-2/+2
| | | | Closes GH-5676.
* Remove mention of PHP major version in Copyright headersGabriel Caruso2019-09-251-2/+0
| | | | Closes GH-4732.
* 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-301-1/+1
|
* Remove HAVE_STDDEF_HPeter Kokot2018-09-051-2/+0
| | | | | | | | | | | | | | | | | The `<stddef.h>` header file is part of the standard C89 headers [1] and on current systems there is no need for a manual check if header is present. Since PHP requires at least C89 the `HAVE_STDDEF_H` symbol isn't defined by Autoconf anywhere else anymore [2] and accross the PHP source code the header is included unconditionally already. This patch syncs this also for the bundled libmbfl which is maintaned as a fork in php-src. 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
* Remove unused Git attributes identPeter Kokot2018-07-251-2/+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.
* year++Xinchen Hui2018-01-021-1/+1
|
* Move constants into read-only data segmentDmitry Stogov2017-12-141-2/+2
|
* sync vim mode lines in mainAnatol Belski2017-07-091-2/+4
|
* Merge branch 'PHP-7.0' into PHP-7.1Jakub Zelenka2017-04-301-2/+6
|\
| * Fix compiler warnings when compiled against musl libcMichael Heimpold2017-04-301-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | musl libc is complaining when <sys/poll.h> is used instead of <poll.h> so change this. This issue was reported for OpenWrt/LEDE where musl libc is the standard C library instead of e.g. glibc, see the following link for the original PR: https://github.com/openwrt/packages/pull/4263 Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com> Signed-off-by: Michael Heimpold <mhei@heimpold.de> -- v3: refined checks/fallback paths as suggested by @bukka v2: rebased to resolve merge conflict in main/php_network.h v1: initial PR
* | Merge branch 'PHP-7.0' into PHP-7.1Joe Watkins2017-04-201-1/+1
|\ \ | |/ | | | | | | * PHP-7.0: Update php_network.h
| * Update php_network.hAlexander Ilyin2017-04-201-1/+1
| | | | | | | | | | | | | | | | | | | | ``` In file included from /usr/local/include/php/main/php_network.h:124:0, from /var/www/html/php-ext-handlersocketi-0.0.1/hs_response.c:3: /usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include <sys/poll.h> to <poll.h> [-Wcpp] #warning redirecting incorrect #include <sys/poll.h> to <poll.h> ^ ```
| * Update copyright headers to 2017Sammy Kaye Powers2017-01-041-1/+1
| |
* | Update copyright headers to 2017Sammy Kaye Powers2017-01-041-1/+1
| |
* | Merge branch 'PHP-7.0'Joe Watkins2016-05-291-0/+2
|\ \ | |/ | | | | | | * PHP-7.0: This is exported at implementation site, but no forward declaration can cause compile warnings
| * This is exported at implementation site, but no forward declaration can ↵Joe Watkins2016-05-291-0/+2
| | | | | | | | cause compile warnings
* | Implement #51879 stream context socket option tcp_nodelayJoe Watkins2016-04-291-1/+4
|/
* fix #71609: Segmentation fault on ZTS with gethostbynameJoe Watkins2016-03-311-0/+6
|
* Merge branch 'PHP-5.6' into PHP-7.0Lior Kaplan2016-01-011-1/+1
|\ | | | | | | | | * PHP-5.6: Happy new year (Update copyright to 2016)
| * Happy new year (Update copyright to 2016)Lior Kaplan2016-01-011-1/+1
| |
* | Add support for IPV6_V6ONLY on socketsBob Weinand2015-11-061-3/+5
| |
* | Merge branch 'PHP-5.6'Stanislav Malyshev2015-01-311-0/+4
|\ \ | |/ | | | | | | | | | | | | | | | | * PHP-5.6: Use better constant since MAXHOSTNAMELEN may mean shorter name use right sizeof for memset Conflicts: ext/sockets/sockaddr_conv.c ext/standard/dns.c
| * Merge branch 'PHP-5.4' into PHP-5.5Stanislav Malyshev2015-01-311-0/+4
| |\ | | | | | | | | | | | | | | | * PHP-5.4: Use better constant since MAXHOSTNAMELEN may mean shorter name use right sizeof for memset
| | * Use better constant since MAXHOSTNAMELEN may mean shorter nameStanislav Malyshev2015-01-311-0/+4
| | |
| | * Bump yearXinchen Hui2014-01-031-1/+1
| | |
| | * Happy New YearXinchen Hui2013-01-011-1/+1
| | |
| | * - Year++Felipe Pena2012-01-011-1/+1
| | |
| | * - Forgot to commit these.Moriyoshi Koizumi2011-06-201-0/+5
| | |
| * | Bump yearXinchen Hui2015-01-151-1/+1
| | |
| * | Bump yearXinchen Hui2014-01-031-1/+1
| | |
* | | bump yearXinchen Hui2015-01-151-1/+1
| | |
* | | trailing whitespace removalStanislav Malyshev2015-01-101-3/+3
| | |
* | | second shot on removing TSRMLS_*Anatol Belski2014-12-141-6/+6
| | |
* | | first shot remove TSRMLS_* thingsAnatol Belski2014-12-131-9/+9
| | |
* | | s/PHP 5/PHP 7/Johannes Schlüter2014-09-191-1/+1
| | |
* | | master renames phase 1Anatol Belski2014-08-251-1/+1
| | |
* | | first shot on merging the core fro the int64 branchAnatol Belski2014-08-161-1/+1
| | |
* | | cleanup (use zend_string* instead of char*)Dmitry Stogov2014-08-131-9/+10
| | |
* | | Add SO_REUSEPORT + SO_BROADCAST support via socket stream context optionDaniel Lowrey2014-08-051-2/+7
| | |
* | | Bump yearXinchen Hui2014-01-031-1/+1
|/ /
* | Fix non-Windows buildGustavo Lopes2013-02-021-0/+2
| |
* | Happy New YearXinchen Hui2013-01-011-1/+1
| |
* | - Year++Felipe Pena2012-01-011-1/+1
| |
* | - Forgot to commit these.Moriyoshi Koizumi2011-06-201-0/+5
|/
* - Year++Felipe Pena2011-01-011-1/+1
|
* sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.phpSebastian Bergmann2010-01-031-1/+1
|
* MFT: VC10 build supportKalle Sommer Nielsen2009-12-031-4/+10
|
* MFH:Felipe Pena2009-01-071-0/+4
| | | | | | | - Added check for EWOULDBLOCK - Using EWOULDBLOCK instead of EAGAIN by portability issues (Related to #46917)
* MFH: Bump copyright year, 3 of 3.Sebastian Bergmann2008-12-311-1/+1
|