]> granicus.if.org Git - php/log
php
6 years agoNote additional RM tasks
Christoph M. Becker [Fri, 7 Dec 2018 13:35:14 +0000 (14:35 +0100)]
Note additional RM tasks

6 years agoAdd note that release manager karma is required
Christoph M. Becker [Fri, 7 Dec 2018 11:53:24 +0000 (12:53 +0100)]
Add note that release manager karma is required

Cf. <http://svn.php.net/viewvc?view=revision&revision=346164>.

6 years agoRemove outdated note regarding Windows
Christoph M. Becker [Fri, 7 Dec 2018 11:50:51 +0000 (12:50 +0100)]
Remove outdated note regarding Windows

As of PHP 5.3, there are no more Windows specific version keys.

6 years agoMD5 checksums are history
Christoph M. Becker [Fri, 7 Dec 2018 11:41:25 +0000 (12:41 +0100)]
MD5 checksums are history

According to a respective RFC[1], the MD5 checksums have been removed
from the release notes and the API.  Also, no checksums are generated
after uploading the tarballs to the user directories
on downloads.php.net.

[1] <https://wiki.php.net/rfc/release-md5-deprecation>

6 years agoMerge branch 'PHP-7.3'
Christopher Jones [Fri, 7 Dec 2018 12:22:49 +0000 (23:22 +1100)]
Merge branch 'PHP-7.3'

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Christopher Jones [Fri, 7 Dec 2018 12:22:30 +0000 (23:22 +1100)]
Merge branch 'PHP-7.2' into PHP-7.3

6 years agoDrop unnecessary HASH_OF uses in ext/oci8
Nikita Popov [Thu, 11 Oct 2018 10:33:26 +0000 (12:33 +0200)]
Drop unnecessary HASH_OF uses in ext/oci8

These only operate on arrays.

6 years agoMerge branch 'PHP-7.3'
Christopher Jones [Fri, 7 Dec 2018 12:20:58 +0000 (23:20 +1100)]
Merge branch 'PHP-7.3'

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Christopher Jones [Fri, 7 Dec 2018 12:20:27 +0000 (23:20 +1100)]
Merge branch 'PHP-7.2' into PHP-7.3

6 years agoSimplify based on feedback from nikic
Christopher Jones [Fri, 7 Dec 2018 12:07:37 +0000 (23:07 +1100)]
Simplify based on feedback from nikic

6 years agoMerge branch 'PHP-7.3'
Christopher Jones [Fri, 7 Dec 2018 10:41:57 +0000 (21:41 +1100)]
Merge branch 'PHP-7.3'

6 years agoSync with test files
Christopher Jones [Fri, 7 Dec 2018 10:41:34 +0000 (21:41 +1100)]
Sync with test files

6 years agoStable releases also should be on frontpage
Christoph M. Becker [Thu, 6 Dec 2018 17:20:13 +0000 (18:20 +0100)]
Stable releases also should be on frontpage

6 years agoMerge branch 'PHP-7.3'
Christoph M. Becker [Thu, 6 Dec 2018 16:21:50 +0000 (17:21 +0100)]
Merge branch 'PHP-7.3'

* PHP-7.3:
  [ci skip] Fix NEWS wrt. ChangeLog conversion

6 years ago[ci skip] Fix NEWS wrt. ChangeLog conversion
Christoph M. Becker [Thu, 6 Dec 2018 16:15:43 +0000 (17:15 +0100)]
[ci skip] Fix NEWS wrt. ChangeLog conversion

We have to be rather picky in this regard; otherwise we need to
manually post process the ChangeLog.

6 years agoscripts/dev/gen_verify_stub can also be used for stable releases
Christoph M. Becker [Wed, 5 Dec 2018 23:43:17 +0000 (00:43 +0100)]
scripts/dev/gen_verify_stub can also be used for stable releases

6 years agoMerge branch 'PHP-7.3'
Christoph M. Becker [Wed, 5 Dec 2018 23:24:51 +0000 (00:24 +0100)]
Merge branch 'PHP-7.3'

* PHP-7.3:
  [ci skip] Fix typo

6 years ago[ci skip] Fix typo
Christoph M. Becker [Wed, 5 Dec 2018 23:24:25 +0000 (00:24 +0100)]
[ci skip] Fix typo

6 years agoMerge branch 'PHP-7.3'
Ferenc Kovacs [Wed, 5 Dec 2018 08:53:01 +0000 (09:53 +0100)]
Merge branch 'PHP-7.3'

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Ferenc Kovacs [Wed, 5 Dec 2018 08:44:22 +0000 (09:44 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Ferenc Kovacs [Wed, 5 Dec 2018 08:36:31 +0000 (09:36 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

6 years agoMerge branch 'PHP-7.0' into PHP-7.1
Ferenc Kovacs [Wed, 5 Dec 2018 08:30:20 +0000 (09:30 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

6 years agoMerge branch 'PHP-5.6' into PHP-7.0 PHP-7.0
Ferenc Kovacs [Wed, 5 Dec 2018 08:25:53 +0000 (09:25 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

6 years ago5.6.40 will be next. probably not
Ferenc Kovacs [Wed, 5 Dec 2018 08:13:30 +0000 (09:13 +0100)]
5.6.40 will be next. probably not

6 years agoMerge branch 'PHP-7.3'
Christoph M. Becker [Tue, 4 Dec 2018 22:43:32 +0000 (23:43 +0100)]
Merge branch 'PHP-7.3'

* PHP-7.3:
  Add LDAP information in UPGRADING

6 years agoRemove commented zend_ini_displayer_cb
Nikita Popov [Tue, 4 Dec 2018 18:02:13 +0000 (19:02 +0100)]
Remove commented zend_ini_displayer_cb

6 years agoFix unused variable warnings
Nikita Popov [Tue, 4 Dec 2018 18:01:36 +0000 (19:01 +0100)]
Fix unused variable warnings

6 years agoRemove unused import_used_extension utility value
Nikita Popov [Tue, 4 Dec 2018 18:01:01 +0000 (19:01 +0100)]
Remove unused import_used_extension utility value

6 years agoAdd LDAP information in UPGRADING
Côme Chilliet [Tue, 4 Dec 2018 16:15:55 +0000 (17:15 +0100)]
Add LDAP information in UPGRADING

6 years agoMerge branch 'PHP-7.3'
Anatol Belski [Tue, 4 Dec 2018 11:50:57 +0000 (12:50 +0100)]
Merge branch 'PHP-7.3'

* PHP-7.3:
  Sync NEWS [ci skip]

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Anatol Belski [Tue, 4 Dec 2018 11:50:40 +0000 (12:50 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Sync NEWS [ci skip]

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Tue, 4 Dec 2018 11:50:04 +0000 (12:50 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Sync NEWS [ci skip]

6 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Tue, 4 Dec 2018 11:49:42 +0000 (12:49 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Sync NEWS [ci skip]

6 years agoSync NEWS [ci skip]
Anatol Belski [Tue, 4 Dec 2018 11:49:10 +0000 (12:49 +0100)]
Sync NEWS [ci skip]

6 years agoMerge branch 'PHP-7.3'
Jakub Zelenka [Mon, 3 Dec 2018 18:32:12 +0000 (18:32 +0000)]
Merge branch 'PHP-7.3'

6 years agoUpdate UPGRADING with info about FPM logging changes
Jakub Zelenka [Mon, 3 Dec 2018 18:30:41 +0000 (18:30 +0000)]
Update UPGRADING with info about FPM logging changes

6 years agoMerge branch 'PHP-7.3'
Stanislav Malyshev [Mon, 3 Dec 2018 18:20:17 +0000 (10:20 -0800)]
Merge branch 'PHP-7.3'

* PHP-7.3:
  Fix null pointer deref in qprint-encode filter (bug #77231)

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Stanislav Malyshev [Mon, 3 Dec 2018 18:20:07 +0000 (10:20 -0800)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Fix null pointer deref in qprint-encode filter (bug #77231)

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Stanislav Malyshev [Mon, 3 Dec 2018 18:20:02 +0000 (10:20 -0800)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fix null pointer deref in qprint-encode filter (bug #77231)

6 years agoMerge branch 'PHP-7.0' into PHP-7.1
Stanislav Malyshev [Mon, 3 Dec 2018 18:19:57 +0000 (10:19 -0800)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Fix null pointer deref in qprint-encode filter (bug #77231)

6 years agoMerge branch 'PHP-5.6' into PHP-7.0
Stanislav Malyshev [Mon, 3 Dec 2018 18:19:49 +0000 (10:19 -0800)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Fix null pointer deref in qprint-encode filter (bug #77231)

6 years agoFix null pointer deref in qprint-encode filter (bug #77231)
Stanislav Malyshev [Mon, 3 Dec 2018 10:12:11 +0000 (02:12 -0800)]
Fix null pointer deref in qprint-encode filter (bug #77231)

6 years agoMark preloaded op_arrays
Dmitry Stogov [Mon, 3 Dec 2018 13:57:27 +0000 (16:57 +0300)]
Mark preloaded op_arrays

6 years agoMerge branch 'PHP-7.3'
Christoph M. Becker [Mon, 3 Dec 2018 12:56:48 +0000 (13:56 +0100)]
Merge branch 'PHP-7.3'

* PHP-7.3:
  [ci skip] Prepare NEWS for 7.3 GA

6 years ago[ci skip] Prepare NEWS for 7.3 GA
Christoph M. Becker [Mon, 3 Dec 2018 12:56:14 +0000 (13:56 +0100)]
[ci skip] Prepare NEWS for 7.3 GA

6 years agoMerge branch 'PHP-7.3'
Stanislav Malyshev [Mon, 3 Dec 2018 08:43:00 +0000 (00:43 -0800)]
Merge branch 'PHP-7.3'

* PHP-7.3:
  Fix bug #77143 - add more checks to buffer reads
  Fix bug #77143 - add more checks to buffer reads
  Fix #77020: null pointer dereference in imap_mail

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Stanislav Malyshev [Mon, 3 Dec 2018 08:42:55 +0000 (00:42 -0800)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Fix bug #77143 - add more checks to buffer reads
  Fix bug #77143 - add more checks to buffer reads
  Fix #77020: null pointer dereference in imap_mail
  Don't need interactive progress on git clones in Travis
  Fix TSRM signature - php_stream_stat macro has it's own TSRM
  Regenerate certificates for openssl tests
  Improve test for bug77022

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Stanislav Malyshev [Mon, 3 Dec 2018 08:42:50 +0000 (00:42 -0800)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fix bug #77143 - add more checks to buffer reads
  Fix bug #77143 - add more checks to buffer reads
  Fix #77020: null pointer dereference in imap_mail

6 years agoMerge branch 'PHP-7.0' into PHP-7.1
Stanislav Malyshev [Mon, 3 Dec 2018 08:42:45 +0000 (00:42 -0800)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Fix bug #77143 - add more checks to buffer reads
  Fix bug #77143 - add more checks to buffer reads
  Fix #77020: null pointer dereference in imap_mail

6 years agoMerge branch 'PHP-5.6' into PHP-7.0
Stanislav Malyshev [Mon, 3 Dec 2018 08:42:35 +0000 (00:42 -0800)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Fix bug #77143 - add more checks to buffer reads

6 years agoFix bug #77143 - add more checks to buffer reads
Stanislav Malyshev [Mon, 12 Nov 2018 22:02:26 +0000 (14:02 -0800)]
Fix bug #77143 - add more checks to buffer reads

6 years agoMerge branch 'PHP-5.6' into PHP-7.0
Stanislav Malyshev [Mon, 3 Dec 2018 08:39:03 +0000 (00:39 -0800)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Fix bug #77143 - add more checks to buffer reads
  Fix #77020: null pointer dereference in imap_mail

6 years agoFix bug #77143 - add more checks to buffer reads
Stanislav Malyshev [Mon, 12 Nov 2018 22:02:26 +0000 (14:02 -0800)]
Fix bug #77143 - add more checks to buffer reads

6 years agoFix #77020: null pointer dereference in imap_mail
Stanislav Malyshev [Sun, 11 Nov 2018 18:04:01 +0000 (10:04 -0800)]
Fix #77020: null pointer dereference in imap_mail

If an empty $message is passed to imap_mail(), we must not set message
to NULL, since _php_imap_mail() is not supposed to handle NULL pointers
(opposed to pointers to NUL).

6 years agoRemove old generated files
Gabriel Caruso [Mon, 3 Dec 2018 00:45:34 +0000 (22:45 -0200)]
Remove old generated files

These files were remove in f0251a8, as well 22c2493

6 years agoAdd forked and maintained extension in php-src from GCOV
Gabriel Caruso [Mon, 3 Dec 2018 00:36:52 +0000 (22:36 -0200)]
Add forked and maintained extension in php-src from GCOV

The libbcmath, libmagic libmbfl and libxmlrpc are maintained in php-src,
so we should ensure these with tests.

6 years agoReplace LT_AC_PROG_SED with AC_PROG_SED
Peter Kokot [Sat, 1 Dec 2018 21:03:31 +0000 (22:03 +0100)]
Replace LT_AC_PROG_SED with AC_PROG_SED

The LT_AC_PROG_SED libtool's macro has been integrated in the Autoconf
since Autoconf 2.59b [1] and is recommended to be replaced with it [2].

[1] https://git.savannah.gnu.org/cgit/autoconf.git/tree/NEWS
[2] http://git.savannah.gnu.org/cgit/libtool.git/tree/m4/libtool.m4

6 years agoClean up unnecessary ternary expressions and simplify some returns
Gabriel Caruso [Sun, 19 Aug 2018 04:32:00 +0000 (01:32 -0300)]
Clean up unnecessary ternary expressions and simplify some returns

- Simplify conditions
- Use ZEND_HASH_APPLY_* instead of hard-coded booleans
- Use ZEND_NORMALIZE_BOOL
- Drop sign in favor of ZEND_NORMALIZE_BOOL

6 years agoMerge remote-tracking branch 'github/pr/3375'
Stanislav Malyshev [Mon, 3 Dec 2018 00:05:38 +0000 (16:05 -0800)]
Merge remote-tracking branch 'github/pr/3375'

* github/pr/3375:
  Don't need interactive progress on git clones in Travis

6 years agoMerge branch 'PHP-7.2'
Stanislav Malyshev [Mon, 3 Dec 2018 00:05:14 +0000 (16:05 -0800)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Don't need interactive progress on git clones in Travis

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Stanislav Malyshev [Mon, 3 Dec 2018 00:04:33 +0000 (16:04 -0800)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Don't need interactive progress on git clones in Travis

6 years agoDon't need interactive progress on git clones in Travis
Philip Prindeville [Sun, 8 Jul 2018 16:55:54 +0000 (10:55 -0600)]
Don't need interactive progress on git clones in Travis

Travis logs are usually inspected after the build completes, by which time
progress info is useless.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
6 years agoMerge remote-tracking branch 'github/pr/3345'
Stanislav Malyshev [Mon, 3 Dec 2018 00:00:44 +0000 (16:00 -0800)]
Merge remote-tracking branch 'github/pr/3345'

* github/pr/3345:
  Update Coding style

6 years agoMerge branch 'PHP-7.2'
Stanislav Malyshev [Sun, 2 Dec 2018 23:12:21 +0000 (15:12 -0800)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fix TSRM signature - php_stream_stat macro has it's own TSRM
  Regenerate certificates for openssl tests
  Improve test for bug77022

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Stanislav Malyshev [Sun, 2 Dec 2018 23:12:15 +0000 (15:12 -0800)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fix TSRM signature - php_stream_stat macro has it's own TSRM
  Regenerate certificates for openssl tests
  Improve test for bug77022

6 years agoMerge branch 'PHP-7.0' into PHP-7.1
Stanislav Malyshev [Sun, 2 Dec 2018 21:38:59 +0000 (13:38 -0800)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Fix TSRM signature - php_stream_stat macro has it's own TSRM
  Regenerate certificates for openssl tests
  Improve test for bug77022

6 years agoMerge branch 'PHP-5.6' into PHP-7.0
Stanislav Malyshev [Sun, 2 Dec 2018 21:18:07 +0000 (13:18 -0800)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Fix TSRM signature - php_stream_stat macro has it's own TSRM
  Regenerate certificates for openssl tests
  Improve test for bug77022

6 years agoFix TSRM signature - php_stream_stat macro has it's own TSRM
Stanislav Malyshev [Sun, 2 Dec 2018 20:54:19 +0000 (12:54 -0800)]
Fix TSRM signature - php_stream_stat macro has it's own TSRM

6 years agoRegenerate certificates for openssl tests
Alexander Kurilo [Sun, 2 Dec 2018 07:53:45 +0000 (10:53 +0300)]
Regenerate certificates for openssl tests

6 years agoImprove test for bug77022
Stanislav Malyshev [Sun, 2 Dec 2018 20:06:13 +0000 (12:06 -0800)]
Improve test for bug77022

6 years agoMerge branch 'PHP-7.3'
Jakub Zelenka [Sun, 2 Dec 2018 19:39:25 +0000 (19:39 +0000)]
Merge branch 'PHP-7.3'

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Jakub Zelenka [Sun, 2 Dec 2018 19:38:38 +0000 (19:38 +0000)]
Merge branch 'PHP-7.2' into PHP-7.3

6 years agoRegenerate certificates for openssl tests
Alexander Kurilo [Sun, 2 Dec 2018 07:53:45 +0000 (10:53 +0300)]
Regenerate certificates for openssl tests

6 years agoRemove support for Rhapsody code name
Peter Kokot [Sat, 1 Dec 2018 20:10:03 +0000 (21:10 +0100)]
Remove support for Rhapsody code name

The Rhapsody code name was once used for computers with operating system
by Apple and was mostly replaced with a newer code name Darwin:
- https://en.wikipedia.org/wiki/Rhapsody_(operating_system)
- https://en.wikipedia.org/wiki/Darwin_(operating_system)

This patch removes obsolete checks from the *nix build script files.

6 years agoMerge branch 'PHP-7.3'
Stanislav Malyshev [Sun, 2 Dec 2018 05:49:53 +0000 (21:49 -0800)]
Merge branch 'PHP-7.3'

* PHP-7.3:
  Fix bug #77022 - use file mode or umask for new files

6 years agoFix bug #77022 - use file mode or umask for new files
Stanislav Malyshev [Sun, 2 Dec 2018 05:04:56 +0000 (21:04 -0800)]
Fix bug #77022 - use file mode or umask for new files

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Stanislav Malyshev [Sun, 2 Dec 2018 05:48:44 +0000 (21:48 -0800)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Stanislav Malyshev [Sun, 2 Dec 2018 05:48:40 +0000 (21:48 -0800)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:

6 years agoMerge branch 'PHP-7.0' into PHP-7.1
Stanislav Malyshev [Sun, 2 Dec 2018 05:48:35 +0000 (21:48 -0800)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:

6 years agoMerge branch 'PHP-5.6' into PHP-7.0
Stanislav Malyshev [Sun, 2 Dec 2018 05:07:05 +0000 (21:07 -0800)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Fix bug #77022 - use file mode or umask for new files

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Stanislav Malyshev [Sun, 2 Dec 2018 05:47:49 +0000 (21:47 -0800)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Fix bug #77022 - use file mode or umask for new files

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Stanislav Malyshev [Sun, 2 Dec 2018 05:47:44 +0000 (21:47 -0800)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fix bug #77022 - use file mode or umask for new files

6 years agoMerge branch 'PHP-7.0' into PHP-7.1
Stanislav Malyshev [Sun, 2 Dec 2018 05:47:37 +0000 (21:47 -0800)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Fix bug #77022 - use file mode or umask for new files

6 years agoMerge branch 'PHP-5.6' into PHP-7.0
Stanislav Malyshev [Sun, 2 Dec 2018 05:07:05 +0000 (21:07 -0800)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Fix bug #77022 - use file mode or umask for new files

6 years agoFix bug #77022 - use file mode or umask for new files
Stanislav Malyshev [Sun, 2 Dec 2018 05:04:56 +0000 (21:04 -0800)]
Fix bug #77022 - use file mode or umask for new files

6 years ago[ci skip] Fix names of the constants
Christoph M. Becker [Sat, 1 Dec 2018 22:54:17 +0000 (23:54 +0100)]
[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.

6 years agoReplace AC_CHECK_FILE with test -f
Peter Kokot [Sat, 1 Dec 2018 20:36:40 +0000 (21:36 +0100)]
Replace AC_CHECK_FILE with test -f

The AC_CHECK_FILE macro is designed to emit a warning about possible
cross compiling issues if file is not present on the target system.
Since the generated PHP lexer file is part of the build files and not
target system this can be simplified by a usual shell check with
`test -f` instead as in other usages.

6 years agoFix #73291: imagecropauto() $threshold differs from external libgd
Christoph M. Becker [Sun, 25 Nov 2018 22:26:12 +0000 (23:26 +0100)]
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>

6 years agoMerge branch 'PHP-7.3'
Anatol Belski [Sat, 1 Dec 2018 16:11:31 +0000 (17:11 +0100)]
Merge branch 'PHP-7.3'

* PHP-7.3:
  Update NEWS [ci skip]

6 years agoUpdate NEWS [ci skip]
Anatol Belski [Sat, 1 Dec 2018 16:10:43 +0000 (17:10 +0100)]
Update NEWS [ci skip]

6 years agoSync behavior of gdImageAutoCrop() with upstream
Christoph M. Becker [Sun, 25 Nov 2018 15:33:14 +0000 (16:33 +0100)]
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>

6 years agoMerge branch 'PHP-7.3'
Anatol Belski [Sat, 1 Dec 2018 09:28:56 +0000 (10:28 +0100)]
Merge branch 'PHP-7.3'

* PHP-7.3:
  Fixed bug #77193 Infinite loop in preg_replace_callback

6 years agoFixed bug #77193 Infinite loop in preg_replace_callback
Anatol Belski [Sat, 1 Dec 2018 09:24:06 +0000 (10:24 +0100)]
Fixed bug #77193 Infinite loop in preg_replace_callback

Don't return preallocated match data more than once in nested calls.

6 years agoFix illogical strncpy size
Christoph M. Becker [Fri, 30 Nov 2018 23:13:58 +0000 (00:13 +0100)]
Fix illogical strncpy size

While both source and destination buffers have the same size (6 bytes),
and this is unlikely to change in the future, we nonetheless fix the
illogical `strncpy` size.

Based on a pull request provided by Cristian Rodríguez.

6 years ago[ci skip] remove test per discussion on github
Steve Walk [Thu, 29 Nov 2018 21:57:07 +0000 (13:57 -0800)]
[ci skip] remove test per discussion on github

6 years agofix bad assumption of strncmp return value
Steve Walk [Wed, 28 Nov 2018 19:49:05 +0000 (11:49 -0800)]
fix bad assumption of strncmp return value

6 years agoRequire SQLite ≥ 3.7.4 for ext/sqlite3
Christoph M. Becker [Thu, 29 Nov 2018 14:10:39 +0000 (15:10 +0100)]
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>

6 years ago[ci skip] Add myself as sqlite3 maintainer, officially
Christoph M. Becker [Thu, 29 Nov 2018 12:49:21 +0000 (13:49 +0100)]
[ci skip] Add myself as sqlite3 maintainer, officially

6 years agoHandle potential sqlite3_bind_*() call failures
Christoph M. Becker [Thu, 29 Nov 2018 12:19:26 +0000 (13:19 +0100)]
Handle potential sqlite3_bind_*() call failures

Since bug 77051 has been fixed, it is unlikely that any of the
 `sqlite3_bind_*` calls will ever fail, but we add respective checks
nonetheless, and call `php_sqlite3_error()` in case of bind failures.

6 years agoMerge branch 'PHP-7.3'
Christoph M. Becker [Thu, 29 Nov 2018 01:20:20 +0000 (02:20 +0100)]
Merge branch 'PHP-7.3'

* PHP-7.3:
  Fix #77051: Issue with re-binding on SQLite3