summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update CREDITS for PHP 7.1.24PHP-7.1.24Sara Golemon2018-11-072-11/+11
|
* set versions for RCphp-7.1.24RC1Joe Watkins2018-10-243-4/+4
|
* Updated to version 2018.6 (2018f)Derick Rethans2018-10-221-30584/+30242
|
* Fix tests for ICU 63.1Anatol Belski2018-10-202-12/+12
| | | | The most of change is U+00A0 vs. new U+202F used in some outputs.
* [ci skip] Update NEWSPeter Kokot2018-10-201-0/+2
|
* Fix #77041: buildconf should output error messages to stderrMizunashi Mana2018-10-204-11/+11
|
* [ci skip] Update NEWSPeter Kokot2018-10-191-0/+2
|
* Fix #77035: The phpize and ./configure create redundant .deps filePeter Kokot2018-10-194-4/+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.
* Fix test when it's run on another driveAnatol Belski2018-10-181-3/+3
|
* Fix #77027: tidy::getOptDoc() not available on WindowsChristoph M. Becker2018-10-172-0/+4
| | | | | | | | | We define the `HAVE_TIDYOPTGETDOC` macro unconditionally, since the Windows PHP SDK ships libtidy 2009/04/06 or newer for a long time. We do not add a regression test, since 021.phpt already tests `tidy_get_opt_doc`, but has previously been skipped due to unavailability of the function.
* Add support for getting SKIP_TAGSTART and SKIP_WHITE optionsChristoph M. Becker2018-10-163-0/+36
| | | | | | | | When `XML_OPTION_SKIP_TAGSTART` and `XML_OPTION_SKIP_WHITE` had been introduced[1], it had been overlooked to also support them for `xml_parser_get_option()`. We catch up on that. [1] <http://git.php.net/?p=php-src.git;a=commit;h=b57dc275950b228f2399990471c4f22b7d154c6c>
* Sync leading and final newlines in *.phpt sectionsPeter Kokot2018-10-153558-4189/+1673
| | | | | | | | | | | | | | | | | | | | | | | This patch adds missing newlines, trims multiple redundant final newlines into a single one, and trims redundant leading newlines in all *.phpt sections. 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 *.phptPeter Kokot2018-10-146463-17677/+17668
|
* Fix failing ext/session/tests due to final newlinesPeter Kokot2018-10-148-8/+0
|
* Sync leading and final newlines in source code filesPeter Kokot2018-10-14578-747/+196
| | | | | | | | | | | | | | | | | | | | | | 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
* Fix failing tests/lang due to whitespacePeter Kokot2018-10-132-69/+69
|
* Fix failing ext/zlib/tests due to whitespacePeter Kokot2018-10-131-13/+13
|
* Trim trailing whitespace in source code filesPeter Kokot2018-10-13458-4719/+4716
|
* Convert CRLF line endings to LFPeter Kokot2018-10-13210-12159/+12159
| | | | | | | | | | | | | | | | | | | | | | | | This patch simplifies line endings tracked in the Git repository and syncs them to all include the LF style instead of the CRLF files. Newline characters: - LF (\n) (*nix and Mac) - CRLF (\r\n) (Windows) - CR (\r) (old Mac, obsolete) To see which line endings are in the index and in the working copy the following command can be used: `git ls-files --eol` Git additionally provides `.gitattributes` file to specify if some files need to have specific line endings on all platforms (either CRLF or LF). Changed files shouldn't cause issues on modern Windows platforms because also Git can do output conversion is core.autocrlf=true is set on Windows and use CRLF newlines in all files in the working tree. Unless CRLF files are tracked specifically, Git by default tracks all files in the index using LF newlines.
* Fix #30875: xml_parse_into_struct() does not resolve entitiesChristoph M. Becker2018-10-093-1/+45
| | | | | | | | | | | | | Setting up an empty default handler is not only useless, but actually harmful, since internal entity-references are not resolved anymore. From the libexpat docs[1]: | Setting the handler with this call has the side effect of | turning off expansion of references to internally defined general | entities. Instead these references are passed to the default | handler. [1] <https://www.xml.com/pub/1999/09/expat/reference.html#setdefhandler>
* Fixed bug #76965 INI_SCANNER_RAW doesn't strip trailing whitespacePierrick Charron2018-10-094-86/+140
|
* Fix #76954: apache_response_headers removes last character from header namestodorovic2018-10-083-2/+52
|
* Fix #75851: Year component overflow with date formats "c", "o", "r" and "y"Adam Saponara2018-10-084-7/+60
|
* Remove unstable dns testsPedro Magalhães2018-10-062-240/+0
|
* [ci skip] Update NEWSAnatol Belski2018-10-051-0/+3
|
* Add test for bug #76942Anatol Belski2018-10-051-0/+33
|
* Fixed Bug #76942 U_ARGUMENT_TYPE_MISMATCHAnatol Belski2018-10-052-0/+5
| | | | ref bug #74484
* Fix #76972: FTP data truncation due to forceful ssl socket shutdownManuel Mausz2018-10-052-7/+71
| | | | Do a correct bidirectional shutdown instead
* Update NEWS [ci skip]Anatol Belski2018-10-031-0/+3
|
* Avoid code duplication and don't miss env restoreAnatol Belski2018-10-031-2/+2
|
* Fixed bug #76948 Failed shutdown/reboot or end session in WindowsAnatol Belski2018-10-031-1/+16
|
* Reflection: Copy invoke function also in the variadic caseNikita Popov2018-10-031-7/+5
| | | | | It doesn't matter how the parameters are provided, we always have to copy the trampoline invoke function.
* Fixed bug #75479Nikita Popov2018-09-301-1/+8
| | | | Wrap the zend_signal_init() call, so the hook arguments line up.
* Fixed bug #76946Nikita Popov2018-09-283-0/+65
|
* Bump versions for 7.1.24-devSara Golemon2018-09-283-5/+8
|
* Fix test for release buildsNikita Popov2018-09-281-2/+1
|
* Fixed bug #76846Nikita Popov2018-09-283-2/+33
|
* Fixed bug #76918 Repeated parameter name in arg infoSara Golemon2018-09-251-1/+1
|
* Terminate smart string correctlyChristopher Jones2018-09-241-2/+2
| | | | This is related to Zend VM regression bug #75881. The regression was fixed in the VM, so there is no user visible change from the termination correction.
* Make usable for PECL OCI8 release for PHP 7.xChristopher Jones2018-09-245-2/+125
|
* Backport master branch comment typo fixChristopher Jones2018-09-241-1/+1
|
* Make tests portable across PHP 7.x versionsChristopher Jones2018-09-245-7/+7
|
* Remove $id from phpinfo as already done in PHP-7.3Christopher Jones2018-09-241-1/+0
|
* And strip trailing tabs too...Christopher Jones2018-09-24151-462/+462
|
* Sync EXPECT usage with PHP-7.3Christopher Jones2018-09-2491-98/+95
|
* Remove trailing whitespace to help keep branches in syncChristopher Jones2018-09-24267-624/+623
|
* Remove trailing whitespace to help keep branches in sycnChristopher Jones2018-09-248-44/+44
|
* Fix #66828: iconv_mime_encode Q-encoding longer than it should beChristoph M. Becker2018-09-223-2/+27
| | | | | | | | | | | | | | | | | Before the fix for bug 48289 has been applied, the algorithm to construct a Q-encoded-word has been optimistic, i.e. try to encode as many bytes that *may* fit in the remaining space, calculate the actual length of the Q-encoded word, and if it's too long, try again with a reduced size. However, the fix for the mentioned bug replaced this by a pessimistic algorithm, which always terminates[1] the for loop[2] during the first iteration (which renders the following 3 lines as dead code), and as such easily produces unnecessarily short encoded-words. Instead the proper fix for the bug would have been to make sure that `out_size` is always decremented, if the space isn't sufficient for the encoded-word. [1] <https://github.com/php/php-src/blob/php-7.3.0beta3/ext/iconv/iconv.c#L1421> [2] <https://github.com/php/php-src/blob/php-7.3.0beta3/ext/iconv/iconv.c#L1360>
* Fix getColumnMeta() testNikita Popov2018-09-191-8/+8
| | | | | | | | | | | Newer MySQL versions are stricter about invalid values. Three issues are fixed: * Don't use negative values with ZEROFILL. ZEROFILL implies UNSIGNED. * Use a legal TIMESTAMP value. TIMESTAMP does not accept a Unix timestamp. * Specify BIGINT values as strings, to avoid overflows. This is a cherry-pick of d2dc0a32911c0e08986da799ce11e18c3fa5ca57 from master.
* Fix intermittent failures in mysqli_stmt_bind_result_format.phptNikita Popov2018-09-191-4/+4
| | | | | | | | | | | | | There were two distinct issues here: * $trend was compared against 'NULL' using !=, which does not work as intended in the case where $trend==0.0. * current_targets was declared as double(17,0), which means that the fractional part was rounded, so that the same comparison in SQL (rounded) and in PHP (not rounded) did not necessarily match. Please don't write mt_rand based tests, it takes ages to debug this crap...