#
6493d548 |
| 03-Dec-2018 |
Jakub Zelenka |
Update UPGRADING with info about FPM logging changes
|
#
f0f4ab4b |
| 01-Dec-2018 |
Christoph M. Becker |
[ci skip] Fix names of the constants `GD_CROP_DEFAULT` and `GD_CROP_SIDES` are names of libgd constants, and as such they are not relevant for userland developers. Therefore, we rep
[ci skip] Fix names of the constants `GD_CROP_DEFAULT` and `GD_CROP_SIDES` are names of libgd constants, and as such they are not relevant for userland developers. Therefore, we replace them by the constant names of our wrapper, i.e. `IMG_CROP_DEFAULT` and `IMG_CROP_SIDES`, respectively.
show more ...
|
#
dcad13e8 |
| 25-Nov-2018 |
Christoph M. Becker |
Fix #73291: imagecropauto() $threshold differs from external libgd Since upstream does not appear to move in any way[1], we sync our behavior. Even though the BC break is ugly (which is
Fix #73291: imagecropauto() $threshold differs from external libgd Since upstream does not appear to move in any way[1], we sync our behavior. Even though the BC break is ugly (which is the reason we target master only), having to deal with different algorithms is even worse for portable userland code. [1] <https://github.com/libgd/libgd/issues/334>
show more ...
|
#
947ca9f4 |
| 25-Nov-2018 |
Christoph M. Becker |
Sync behavior of gdImageAutoCrop() with upstream Since cropping support has been added to our bundled libgd, `gdImageAutoCrop` differs from upstream in that `GD_CROP_DEFAULT` falls b
Sync behavior of gdImageAutoCrop() with upstream Since cropping support has been added to our bundled libgd, `gdImageAutoCrop` differs from upstream in that `GD_CROP_DEFAULT` falls back on `GD_CROP_SIDES` if there is no transparent color in the image. While this difference seem to be a useful improvement in our bundled libgd, upstream has not yet signaled that there willing to back-port it[1], so we revert it to stay in sync with upstream. We also remove the additional NULL bailout at the end of the function, which doesn't appear to be relevant any longer since bug 77198 has been fixed. [1] <https://github.com/libgd/libgd/issues/298>
show more ...
|
#
a757ebb5 |
| 29-Nov-2018 |
Christoph M. Becker |
Require SQLite ≥ 3.7.4 for ext/sqlite3 `SQLite3::readOnly()` uses `sqlite3_stmt_readonly()` which is only available as of libsqlite 3.7.4. For older SQLite3 versions we return alway
Require SQLite ≥ 3.7.4 for ext/sqlite3 `SQLite3::readOnly()` uses `sqlite3_stmt_readonly()` which is only available as of libsqlite 3.7.4. For older SQLite3 versions we return always `false`, which can be confusing. Instead of sticking with this behavior, or even undefining the method for old SQLite3 versions, we lift the requirements to SQLite 3.7.4 (released on 2010-12-08), according to a respective discussion[1]. Since pdo_sqlite doesn't use `sqlite3_stmt_readonly()`, we stick with the minimum requirement of SQLite 3.5.0. [1] <https://github.com/php/php-src/pull/3614>
show more ...
|
#
035de21d |
| 29-Nov-2018 |
Christoph M. Becker |
Deny (un)serialization of SQLite3, SQLite3Stmt and SQLite3Result Serializing `SQLite3`, `SQLite3Stmt` and `SQLite3Result` instances is possible but pointless, since unserializing results
Deny (un)serialization of SQLite3, SQLite3Stmt and SQLite3Result Serializing `SQLite3`, `SQLite3Stmt` and `SQLite3Result` instances is possible but pointless, since unserializing results in uninitialized instances, which will bail out of any method call. Therefore, we deny serialization and unserialization in the first place.
show more ...
|
#
28edeb2b |
| 26-Nov-2018 |
Nikita Popov |
User serialize_deny for PDOStatement as well
|
#
6e4b2026 |
| 26-Nov-2018 |
Nikita Popov |
Switch PDO to use serialize_deny And remove dummy __sleep/__wakeup. This switches the thrown exception type from PDOException to Exception.
|
#
a624c2bd |
| 26-Nov-2018 |
Nikita Popov |
Use serialize_deny for CURLFile Instead of a throwing __wakeup() method.
|
#
336d2086 |
| 19-Nov-2018 |
Stanislav Malyshev |
Disable rsh/ssh functionality in imap by default (bug #77153)
|
#
05782f01 |
| 19-Nov-2018 |
Stanislav Malyshev |
Disable rsh/ssh functionality in imap by default (bug #77153)
|
#
628df47e |
| 19-Nov-2018 |
Stanislav Malyshev |
Disable rsh/ssh functionality in imap by default (bug #77153)
|
#
e5bfea64 |
| 19-Nov-2018 |
Stanislav Malyshev |
Disable rsh/ssh functionality in imap by default (bug #77153)
|
#
022eea8b |
| 15-Nov-2018 |
Nikita Popov |
Check for zero SplPriorityQueue extract flags earlier Generate an exception during the SplPriorityQueue::setExtracFlags() call instead of generating E_RECOVERABLE_FATAL all over the plac
Check for zero SplPriorityQueue extract flags earlier Generate an exception during the SplPriorityQueue::setExtracFlags() call instead of generating E_RECOVERABLE_FATAL all over the place later.
show more ...
|
#
35a9ec1b |
| 15-Nov-2018 |
Peter Kokot |
[ci skip] Update UPGRADING
|
#
86c6b3bd |
| 11-Nov-2018 |
Christoph M. Becker |
Support SQLite3 @name notation Besides the common `:param` notation to designate named parameters in prepared statements, SQLite3 also supports `@param` and `$param`. While the latte
Support SQLite3 @name notation Besides the common `:param` notation to designate named parameters in prepared statements, SQLite3 also supports `@param` and `$param`. While the latter is mostly to support the Tcl programming language, and would be confusing for PHP's sqlite3 binding due to the similarity with string interpolation, the former is common under .NET and raises no such issue. Therefore we add support for it. This patch has been developed in cooperation with @BohwaZ.
show more ...
|
#
2d031977 |
| 14-May-2018 |
Eli Schwartz |
ext/gd: Use pkg-config to detect the availability of freetype2 The latest version of freetype2 does not install freetype-config by default, but pkg-config support has been there for appr
ext/gd: Use pkg-config to detect the availability of freetype2 The latest version of freetype2 does not install freetype-config by default, but pkg-config support has been there for approximately 15 years. In order to reliably detect freetype2, pkg-config *must* be used. See: https://savannah.nongnu.org/bugs/?53093 https://bugs.php.net/bug.php?id=76324
show more ...
|
#
eca3b962 |
| 28-Oct-2018 |
Christoph M. Becker |
[ci skip] Update UPGRADING PR #3317[1] is relevant for the migration guide, so we add a respective note in UPGRADING. [1] <https://github.com/php/php-src/pull/3317>
|
#
829b0df7 |
| 27-Oct-2018 |
Christoph M. Becker |
Fix #71592: External entity processing never fails If the callback set via `xml_set_external_entity_ref_handler()` returns a falsy value, parsing is supposed to stop and the error number
Fix #71592: External entity processing never fails If the callback set via `xml_set_external_entity_ref_handler()` returns a falsy value, parsing is supposed to stop and the error number set to `XML_ERROR_EXTERNAL_ENTITY_HANDLING`. This is already correctly done by the libexpat binding, but the libxml2 binding ignores the return value. We fix this by calling `xmlStopParser()` which is available as of libxml 2.1.0[1] (PHP-7.1 requires at least libxml 2.6.11 anyway), and setting the desired `errNo` ourselves. [1] <http://xmlsoft.org/news.html>
show more ...
|
#
0d649059 |
| 27-Oct-2018 |
Christoph M. Becker |
Add TIDY_TAG_* constants supported by libtidy 5 Cf. <http://api.html-tidy.org/tidy/tidylib_api_5.0.0/tidyenum_8h.html#ae5b597c0999422ff383f08ab595ef5e8a16d20becf3c3cb022ddabccc83d8c314>.
|
#
bca0a7e2 |
| 25-Oct-2018 |
Adam Harvey |
[ci skip] Fix indentation in UPGRADING.
|
#
24b67792 |
| 17-Oct-2018 |
Christoph M. Becker |
[ci skip] Update UPGRADING wrt. tidyp support This is especially noteworthy since `tidy_get_relase()` returns 'unknown' when built against libtidyp, which might break some code which
[ci skip] Update UPGRADING wrt. tidyp support This is especially noteworthy since `tidy_get_relase()` returns 'unknown' when built against libtidyp, which might break some code which relies on `tidy_get_release()` to return a date formatted as `yyyy/mm/dd`.
show more ...
|
#
1c850bfc |
| 14-Oct-2018 |
Peter Kokot |
Sync leading and final newlines in source code files This patch adds missing newlines, trims multiple redundant final newlines into a single one, and trims redundant leading newlines.
Sync leading and final newlines in source code files 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
show more ...
|
#
03f3b847 |
| 14-Oct-2018 |
Peter Kokot |
Sync leading and final newlines in source code files This patch adds missing newlines, trims multiple redundant final newlines into a single one, and trims redundant leading newlines.
Sync leading and final newlines in source code files 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
show more ...
|
#
37c329d7 |
| 13-Oct-2018 |
Peter Kokot |
Trim trailing whitespace in source code files
|