summaryrefslogtreecommitdiff
path: root/main/rfc1867.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix #78880: Another bunch of spelling errorsMáté Kocsis2020-01-161-1/+1
|
* 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
|
* Replace zend_hash_apply... with ZEND_HASH_FOREACH...Dmitry Stogov2018-12-191-10/+6
|
* Clean up unnecessary ternary expressions and simplify some returnsGabriel Caruso2018-12-031-5/+1
| | | | | | | - Simplify conditions - Use ZEND_HASH_APPLY_* instead of hard-coded booleans - Use ZEND_NORMALIZE_BOOL - Drop sign in favor of ZEND_NORMALIZE_BOOL
* Fix typos in code commentsPeter Kokot2018-07-251-1/+1
|
* 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.
* Use zend_string_release_ex() instread of zend_string_release() in places, ↵Dmitry Stogov2018-05-281-2/+2
| | | | where we sure about string persistence.
* year++Xinchen Hui2018-01-021-1/+1
|
* Update copyright headers to 2017Sammy Kaye Powers2017-01-021-1/+1
|
* Move smart_string to ZendNikita Popov2017-01-011-1/+1
| | | | smart_str is already in Zend.
* Decouple DEBUG_FILE_UPLOAD from ZEND_DEBUGNikita Popov2016-08-191-1/+3
| | | | | Enabling ZEND_DEBUG should not result in intrusive program behavior changes.
* Merge branch 'PHP-7.0' into PHP-7.1Nikita Popov2016-08-031-1/+1
|\
| * Fix bug #72724Nikita Popov2016-08-031-1/+1
| |
* | Fixed compilation warningsDmitry Stogov2016-06-211-2/+2
| |
* | Added ZEND_ATTRIBUTE_FORMAT to some middind functions.Dmitry Stogov2016-06-211-3/+3
|/ | | | | "%p" replaced by ZEND_LONG_FMT to avoid compilation warnings. Fixed most incorrect use cases of format specifiers.
* 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
| |
* | Use ZSTR_ API to access zend_string elements (this is just renaming without ↵Dmitry Stogov2015-06-301-3/+3
| | | | | | | | semantick changes).
* | code standardXinchen Hui2015-05-161-5/+4
| |
* | Merge branch 'PHP-5.6'Stanislav Malyshev2015-05-121-21/+25
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.6: fix format update NEWS Add test for bug #69522 Update tests Fix bug #69522 - do not allow int overflow Forgot test file Fix bug #69403 and other int overflows Fixed bug #69418 - more s->p fixes for filenames Fixed bug #69364 - use smart_str to assemble strings Fix bug #69453 - don't try to cut empty string Fix bug #69545 - avoid overflow when reading list Conflicts: Zend/zend_alloc.c Zend/zend_operators.c ext/ftp/ftp.c ext/pcntl/pcntl.c ext/standard/basic_functions.c ext/standard/dir.c ext/standard/file.c ext/standard/pack.c ext/standard/string.c main/rfc1867.c
| * Merge branch 'PHP-5.5' into PHP-5.6Stanislav Malyshev2015-05-121-24/+27
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.5: fix format update NEWS Add test for bug #69522 Update tests Fix bug #69522 - do not allow int overflow Forgot test file Fix bug #69403 and other int overflows Fixed bug #69418 - more s->p fixes for filenames Fixed bug #69364 - use smart_str to assemble strings Fix bug #69453 - don't try to cut empty string Fix bug #69545 - avoid overflow when reading list Conflicts: ext/standard/pack.c
| | * Merge branch 'PHP-5.4' into PHP-5.5Stanislav Malyshev2015-05-121-24/+27
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.4: fix format update NEWS Add test for bug #69522 Update tests Fix bug #69522 - do not allow int overflow Forgot test file Fix bug #69403 and other int overflows Fixed bug #69418 - more s->p fixes for filenames Fixed bug #69364 - use smart_str to assemble strings Fix bug #69453 - don't try to cut empty string Fix bug #69545 - avoid overflow when reading list Conflicts: ext/pcntl/pcntl.c ext/standard/basic_functions.c ext/standard/pack.c ext/standard/tests/dir/opendir_variation1-win32.phpt
| | | * Fixed bug #69364 - use smart_str to assemble stringsStanislav Malyshev2015-05-091-24/+27
| | | |
| | | * Bump yearXinchen Hui2014-01-031-1/+1
| | | |
| | * | Bump yearXinchen Hui2015-01-151-1/+1
| | | |
| | * | Bump yearXinchen Hui2014-01-031-1/+1
| | | |
| * | | bump yearXinchen Hui2015-01-151-1/+1
| | | |
* | | | expose destroy_uploaded_files_hash in the API (used by apfd extension)Remi Collet2015-03-251-1/+1
| | | |
* | | | Use zend_string* instead of char* for opened_patch handling. Avoid ↵Dmitry Stogov2015-03-041-13/+22
| | | | | | | | | | | | | | | | reallocations and improve string reuse.
* | | | fix warningsMichael Wallner2015-01-301-1/+1
| | | |
* | | | avoid duplicate array_initMichael Wallner2015-01-221-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | custom request body handling firing the rfc1867 handler after the environment has been hashed might create a memory leak by calling array_init() twice on PG(http_globals)[TRACK_VARS_FILES]
* | | | bump yearXinchen Hui2015-01-151-1/+1
| | | |
* | | | trailing whitespace removalStanislav Malyshev2015-01-101-1/+1
| | | |
* | | | first shot remove TSRMLS_* thingsAnatol Belski2014-12-131-85/+85
| | | |
* | | | fix datatype mismatchesAnatol Belski2014-10-271-11/+15
| | | |
* | | | s/PHP 5/PHP 7/Johannes Schlüter2014-09-191-1/+1
| | | |
* | | | master renames phase 3Anatol Belski2014-08-251-12/+12
| | | |
* | | | master renames phase 1Anatol Belski2014-08-251-14/+14
| | | |
* | | | mostly fixes to spl, but also some otherAnatol Belski2014-08-171-2/+2
| | | |
* | | | fix some cases with fast zppAnatol Belski2014-08-161-3/+3
| | | |
* | | | first shot on merging the core fro the int64 branchAnatol Belski2014-08-161-22/+22
| | | |
* | | | Merge branch 'master' into phpngDmitry Stogov2014-07-221-0/+1
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: fix nmake snap when ext name is different in target dll force atoll macro usage on windows Enable $ replacement in exif, ldap, pdo_pgsql and tidy See bug #67635 NEWS NEWS improve previous, add message during configure Fixed bug #67635 php links to systemd libraries without using pkg-config Improve fix for #66608 Fixed segfault with empty break New added opcodes don't need to be resloved Update NEWS Update NEWS Update NEWS Fixed bug #66827 Session raises E_NOTICE when session name variable is array implemented copy libs of core exts in phpize mode fix copy the ext dll into the prefix path in phpize mode fix default prefix in phpize mode fix file with zero size usage in phpize mode Conflicts: Zend/zend_opcode.c Zend/zend_vm_def.h Zend/zend_vm_execute.h ext/session/session.c
| * | | force atoll macro usage on windowsAnatol Belski2014-07-211-0/+1
| | | |
* | | | Merge remote-tracking branch 'origin/master' into phpngXinchen Hui2014-07-181-0/+4
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | Conflicts: Zend/zend_compile.h ext/openssl/xp_ssl.c
| * | | Enable build without atoll (e.g old AIX flavours)Lior Kaplan2014-07-171-0/+4
| | | |
* | | | Combine HashTable.flags and HashTable.nApplyCount into single 32-bit wordDmitry Stogov2014-04-211-2/+2
| | | |
* | | | Fixed memory leakXinchen Hui2014-03-051-1/+7
| | | |
* | | | Fixed unlink fileXinchen Hui2014-03-051-3/+4
| | | |