summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Remove some more interbase leftoversKalle Sommer Nielsen2019-05-014-70/+1
|
* Fix typoKalle Sommer Nielsen2019-05-011-1/+1
|
* NEWS for ext/interbase unbundlingKalle Sommer Nielsen2019-05-012-0/+9
|
* Move ext/interbase to pecl/database/interbaseKalle Sommer Nielsen2019-05-0136-7705/+0
| | | | https://wiki.php.net/rfc/deprecate-and-remove-ext-interbase
* Use ZEND_HASH_FOREACH with direct callback, instead of callbacksDmitry Stogov2019-04-302-230/+191
|
* Merge branch 'PHP-7.3' into PHP-7.4Christoph M. Becker2019-04-300-0/+0
|\ | | | | | | | | * PHP-7.3: Update NEWS wrt. sec fixes
| * Merge branch 'PHP-7.2' into PHP-7.3Christoph M. Becker2019-04-301-2/+11
| |\ | | | | | | | | | | | | * PHP-7.2: Update NEWS wrt. sec fixes
| | * Update NEWS wrt. sec fixesChristoph M. Becker2019-04-301-0/+13
| | |
* | | fix typo蝦米2019-04-301-1/+1
| | |
* | | Merge branch 'PHP-7.3' into PHP-7.4Stanislav Malyshev2019-04-303-1/+13
|\ \ \ | |/ / | | | | | | | | | * PHP-7.3: Fix bug #77950 - Heap-buffer-overflow in _estrndup via exif_process_IFD_TAG
| * | Merge branch 'PHP-7.2' into PHP-7.3Stanislav Malyshev2019-04-303-1/+13
| |\ \ | | |/ | | | | | | | | | * PHP-7.2: Fix bug #77950 - Heap-buffer-overflow in _estrndup via exif_process_IFD_TAG
| | * Merge branch 'PHP-7.1' into PHP-7.2Stanislav Malyshev2019-04-303-1/+13
| | |\ | | | | | | | | | | | | | | | | * PHP-7.1: Fix bug #77950 - Heap-buffer-overflow in _estrndup via exif_process_IFD_TAG
| | | * Fix bug #77950 - Heap-buffer-overflow in _estrndup via exif_process_IFD_TAGStanislav Malyshev2019-04-304-3/+22
| | | | | | | | | | | | | | | | | | | | | | | | I do not completely understand what is going on there, but I am pretty sure dir_entry <= offset_base if not a normal situation, so we better not to rely on such dir_entry.
* | | | Merge branch 'PHP-7.3' into PHP-7.4Stanislav Malyshev2019-04-291-6/+7
|\ \ \ \ | |/ / / | | | | | | | | | | | | * PHP-7.3: Fix #77821: Potential heap corruption in TSendMail()
| * | | Merge branch 'PHP-7.2' into PHP-7.3Stanislav Malyshev2019-04-291-6/+7
| |\ \ \ | | |/ / | | | | | | | | | | | | * PHP-7.2: Fix #77821: Potential heap corruption in TSendMail()
| | * | Merge branch 'PHP-7.1' into PHP-7.2Stanislav Malyshev2019-04-291-6/+7
| | |\ \ | | | |/ | | | | | | | | | | | | * PHP-7.1: Fix #77821: Potential heap corruption in TSendMail()
| | | * Fix #77821: Potential heap corruption in TSendMail()Christoph M. Becker2019-04-291-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `zend_string_tolower()` returns a copy (not a duplicate) of the given string, if it is already in lower case. In this case we must not not `zend_string_free()` both strings. The cleanest solution is to call ` zend_string_release()` on both strings, which properly handles the refcount.
* | | | Also, use ZEND_ACC_PRELOADED for classesDmitry Stogov2019-04-302-28/+29
| | | |
* | | | Remove TSRM configuration headerPeter Kokot2019-04-295-7/+3
| | | | | | | | | | | | | | | | | | | | | | | | TSRM configuration header file was once created by separate autoconf build system for TSRM and is with the current code not directly needed like this anymore.
* | | | Merge branch 'PHP-7.3' into PHP-7.4Christoph M. Becker2019-04-290-0/+0
|\ \ \ \ | |/ / / | | | | | | | | | | | | * PHP-7.3: Fix #77943: imageantialias($image, false); does not work
| * | | Merge branch 'PHP-7.2' into PHP-7.3Christoph M. Becker2019-04-290-0/+0
| |\ \ \ | | |/ / | | | | | | | | | | | | * PHP-7.2: Fix #77943: imageantialias($image, false); does not work
| | * | Fix #77943: imageantialias($image, false); does not workChristoph M. Becker2019-04-292-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Firstly, we must not call `gdImageSetAntiAliased()` (which sets the color to anti-alias), but rather modify the `gdImage.AA` flag. Furthermore, we have to actually use the supplied boolean value. We also make sure that we don't attempt to enable anti-aliasing for palette images.
* | | | Merge branch 'PHP-7.3' into PHP-7.4Christoph M. Becker2019-04-290-0/+0
|\ \ \ \ | |/ / / | | | | | | | | | | | | * PHP-7.3: Add tests for bug77943
| * | | Merge branch 'PHP-7.2' into PHP-7.3Christoph M. Becker2019-04-290-0/+0
| |\ \ \ | | |/ / | | | | | | | | | | | | * PHP-7.2: Add tests for bug77943
| | * | Add tests for bug77943Christoph M. Becker2019-04-292-0/+29
| | | |
* | | | Merge branch 'PHP-7.3' into PHP-7.4Christoph M. Becker2019-04-293-1/+34
|\ \ \ \ | |/ / / | | | | | | | | | | | | * PHP-7.3: Fix #77943: imageantialias($image, false); does not work
| * | | Merge branch 'PHP-7.2' into PHP-7.3Christoph M. Becker2019-04-294-1/+37
| |\ \ \ | | | | | | | | | | | | | | | | | | | | * PHP-7.2: Fix #77943: imageantialias($image, false); does not work
| | * | | Fix #77943: imageantialias($image, false); does not workChristoph M. Becker2019-04-294-1/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Firstly, we must not call `gdImageSetAntiAliased()` (which sets the color to anti-alias), but rather modify the `gdImage.AA` flag. Furthermore, we have to actually use the supplied boolean value. We also make sure that we don't attempt to enable anti-aliasing for palette images.
* | | | | Add UPGRADING entriesNikita Popov2019-04-291-0/+7
| | | | |
* | | | | Use PKG_CHECK_MODULES to detect the zip libraryHugh McMaster2019-04-291-78/+37
| | | | |
* | | | | Use PKG_CHECK_MODULES to detect the libsodium libraryHugh McMaster2019-04-291-53/+5
| | | | |
* | | | | Always use pkg-config from the host architectureHugh McMaster2019-04-297-17/+1
| | | | |
* | | | | Merge branch 'PHP-7.3' into PHP-7.4Nikita Popov2019-04-293-9/+28
|\ \ \ \ \ | |/ / / /
| * | | | Merge branch 'PHP-7.2' into PHP-7.3Nikita Popov2019-04-294-9/+32
| |\ \ \ \ | | | |/ / | | |/| |
| | * | | Fixed bug #77945Nikita Popov2019-04-294-9/+32
| | |/ / | | | | | | | | | | | | | | | | Make sure that we proper distinguish between empty string key and no key during SDL serialization.
* | | | Properly initialize out parameterChristoph M. Becker2019-04-291-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The MS docs on `SQLColAttribute()`[1] state regarding the `NumericAttributePtr` parameter: | Please note that some drivers may only write the lower 32-bit or | 16-bit of a buffer and leave the higher-order bit unchanged. | Therefore, applications should initialize the value to 0 before | calling this function. [1] <https://docs.microsoft.com/en-us/sql/odbc/reference/syntax/sqlcolattribute-function?view=sql-server-2017>
* | | | Adds json_encode test for unpacked arraysJury2019-04-291-0/+16
| | | |
* | | | Extend CURLFile to support streamsChristoph M. Becker2019-04-297-1/+152
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Due to former restrictions of the libcurl API, curl multipart/formdata file uploads supported only proper files. However, as of curl 7.56.0 the new `curl_mime_*()` API is available (and already supported by PHP[1]), which allows us to support arbitrary *seekable* streams, which is generally desirable, and particularly resolves issues with the transparent Unicode and long part support on Windows (see bug #77711). Note that older curl versions are still supported, but CURLFile is still restricted to proper files in this case. [1] <http://git.php.net/?p=php-src.git;a=commit;h=a83b68ba56714bfa06737a61af795460caa4a105>
* | | | Fix typo in TRY_ASSIGN macro nameNikita Popov2019-04-291-1/+1
| | | |
* | | | Merge branch 'PHP-7.3' into PHP-7.4Christoph M. Becker2019-04-292-89/+7
|\ \ \ \ | |/ / / | | | | | | | | | | | | * PHP-7.3: Fix tests
| * | | Merge branch 'PHP-7.2' into PHP-7.3Christoph M. Becker2019-04-292-89/+7
| |\ \ \ | | |/ / | | | | | | | | | | | | * PHP-7.2: Fix tests
| | * | Fix testsChristoph M. Becker2019-04-292-89/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These tests are obviously meant to test successful and failing uri: DSNs, but did not pass proper file:// URIs, so actually ended up testing for invalid data source URIs twice. We fix this, and adjust the expectations accordingly. We also unfork the -win32 variant, since both test cases are almost identical, and the expected error message may be either one.
* | | | Simplify checking of *nix build toolsPeter Kokot2019-04-296-92/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The buildmk.stamp file has been created by the *nix build checking step to run the check step only once. Instead of poluting the project root directory, the stamp file can be also omitted. Performance difference is very minimal to not justify having the stamp check at all today anymore. This patch integrates the buildcheck.sh to buildconf script directly.
* | | | Remove unused TSRM/readdir.h headerPeter Kokot2019-04-292-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This was once part of TSRM but then got refactored into the windows implementation win32/readdir.h directly. Instead of including such files directly code should use zend_virtual_cwd.h which is already part of the php.h file.
* | | | Merge branch 'PHP-7.3' into PHP-7.4Christoph M. Becker2019-04-282-2/+2
|\ \ \ \ | |/ / / | | | | | | | | | | | | * PHP-7.3: Make MySQLPDOTest::extractVersion() more liberal
| * | | Merge branch 'PHP-7.2' into PHP-7.3Christoph M. Becker2019-04-282-2/+2
| |\ \ \ | | |/ / | | | | | | | | | | | | * PHP-7.2: Make MySQLPDOTest::extractVersion() more liberal
| | * | Make MySQLPDOTest::extractVersion() more liberalChristoph M. Becker2019-04-282-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MySQL/MariaDB version strings may have suffixes which may contain dots; for instance, Debian stretch has 5.5.5-10.1.37-MariaDB-0+deb9u1 or such. Therefore, we make the version extraction more liberal, and only require that there are at least three parts separated by dot, and ignore additional parts. We also fix an erroneous test expectation, which would be triggered on CI now, right away. This patch has been provided by petk@.
* | | | Enhance the buildconf force optionPeter Kokot2019-04-281-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The force option used to only remove the Autoconf cache files. Now it also removes entire configure file so the configure file always gets rebuilt when needs be done. Additionally, the buildconf now also accepts the shorter version of the force option: buildconf -f
* | | | Automatically remove aclocal.m4 if presentPeter Kokot2019-04-282-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit 4e7064d173d2b5b22e159fcf52d22b10213b67b8 removed the usage of `aclocal.m4`. When using Git repositories, many times cleaning of the generated files is not done prior to running phpize or buildconf. For example: git clone git://github.com/php/php-src cd php-src git checkout PHP-7.3 ./buildconf ./configure git checkout PHP-7.4 ./buildconf # -> warnings ./configure # -> errors To not accidentally include `aclocal.m4` file in the generated configure this enhances build system experience a bit more by removing aclocal.m4 file prior to start building configure file using phpize or buildconf.
* | | | Update NEWS with added TLS 1.3 infoJakub Zelenka2019-04-281-0/+2
| | | |