History log of /PHP-8.1/ext/gd/gd.c (Results 76 – 100 of 824)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 4a1f0eb9 03-Sep-2019 Mark

Warnings to errors in imageaffinematrix*()

# 06a3dd53 03-Sep-2019 Mark

Warnings to errors in imagecrop(auto)

# d1f9ab11 03-Sep-2019 Mark

Warnings to errors imageconvolution

# 34865f54 03-Sep-2019 Mark

Warnings become errors for imagepolygon et al

# 87dbb322 03-Sep-2019 Mark

Negative checks for gamma

# af8ecb39 04-Sep-2019 Mark

Warnings for image colour range check now throw exceptions

# 6c6c109e 03-Sep-2019 Mark

Warnings to errors for imagecreatefromgd2part

We also delete tests which were duplicates of a completely unrelated
test.

# 6a05e424 03-Sep-2019 Mark

Warnings to Errors imagetruecolortopalette

# fde52e8a 03-Sep-2019 Mark

Warnings to Errors imagecreate(truecolor)

We also add a test helper which we will be using for other GD functions
as well.

Revision tags: php-7.4.0RC1, php-7.1.32, php-7.2.22, php-7.3.9, php-7.4.0beta4, php-7.2.22RC1, php-7.3.9RC1
# 4281b137 12-Aug-2019 Christoph M. Becker

Don't explicitly set return value on ZPP/ZFR failure

Failing `zend_parse_parameters()` and `zend_fetch_resource()` throw as
of PHP 8.0.0, so explicitly setting a return value is useless,

Don't explicitly set return value on ZPP/ZFR failure

Failing `zend_parse_parameters()` and `zend_fetch_resource()` throw as
of PHP 8.0.0, so explicitly setting a return value is useless, and also
slightly confusing.

show more ...

# 429378d7 12-Aug-2019 Nikita Popov

Remove some misleading RETURN_FALSE

These functions throw, so they can't return false.

This is just a subset...

# f30501b1 11-Aug-2019 Christoph M. Becker

Merge branch 'PHP-7.4'

* PHP-7.4:
Fix parameter order


# 9818f863 11-Aug-2019 Christoph M. Becker

Fix parameter order

`imagecopymerge()` and `imagecopymergegray()` expect the destination
image first, not the other way round.

# f2732040 11-Aug-2019 Christoph M. Becker

Merge branch 'PHP-7.4'

* PHP-7.4:
Extend color component range checks


# 092571c1 11-Aug-2019 Christoph M. Becker

Extend color component range checks

We also check for alpha components to be within range, and we add yet
missing range checks for other functions as well.

# c90a2738 11-Aug-2019 Christoph M. Becker

Add GD function stubs

Revision tags: php-7.4.0beta2, php-7.1.31, php-7.2.21, php-7.3.8, php-7.4.0beta1
# a1e2c887 22-Jul-2019 Nikita Popov

Merge branch 'PHP-7.4'


# d59aac58 18-Jul-2019 Nikita Popov

Report errors from stream read and write operations

The php_stream_read() and php_stream_write() functions now return
an ssize_t value, with negative results indicating failure. Function

Report errors from stream read and write operations

The php_stream_read() and php_stream_write() functions now return
an ssize_t value, with negative results indicating failure. Functions
like fread() and fwrite() will return false in that case.

As a special case, EWOULDBLOCK and EAGAIN on non-blocking streams
should not be regarded as error conditions, and be reported as
successful zero-length reads/writes instead. The handling of EINTR
remains unclear and is internally inconsistent (e.g. some code-paths
will automatically retry on EINTR, while some won't).

I'm landing this now to make sure the stream wrapper ops API changes
make it into 7.4 -- however, if the user-facing changes turn out to
be problematic we have the option of clamping negative returns to
zero in php_stream_read() and php_stream_write() to restore the
old behavior in a relatively non-intrusive manner.

show more ...

# 92d6720d 22-Jul-2019 Remi Collet

Merge branch 'PHP-7.4'

* PHP-7.4:
cleanup gd build with system libgd - drop need to use libpng with system libgd - drop need to use libjpeg with system libgd - drop need to use libXpm

Merge branch 'PHP-7.4'

* PHP-7.4:
cleanup gd build with system libgd - drop need to use libpng with system libgd - drop need to use libjpeg with system libgd - drop need to use libXpm with system libgd - drop need to use libfreetype with system libgd - improve configure comments

show more ...


# 31d85b84 22-Jul-2019 Remi Collet

cleanup gd build with system libgd - drop need to use libpng with system libgd - drop need to use libjpeg with system libgd - drop need to use libXpm with system libgd - drop need to use libfreetype

cleanup gd build with system libgd - drop need to use libpng with system libgd - drop need to use libjpeg with system libgd - drop need to use libXpm with system libgd - drop need to use libfreetype with system libgd - improve configure comments

show more ...

# ebe91a00 22-Jul-2019 Christoph M. Becker

Merge branch 'PHP-7.4'

* PHP-7.4:
Drop superfluous ENABLE_GD_TTF


# d3d3404d 21-Jul-2019 Christoph M. Becker

Drop superfluous ENABLE_GD_TTF

If we `HAVE_LIBFREETYPE`, we define `ENABLE_GD_TTF` if it is not
defined. Therefore we can check for `HAVE_LIBFREETYPE` in the first
place.

# e36118a5 16-Jul-2019 Nikita Popov

Merge branch 'PHP-7.4'


# 290e520c 16-Jul-2019 Nikita Popov

Use ZEND_HASH_FOREACH APIs in a few more places

Revision tags: php-7.2.21RC1, php-7.3.8RC1, php-7.4.0alpha3, php-7.3.7, php-7.2.20, php-7.4.0alpha2
# 611c57ea 21-Jun-2019 Christoph M. Becker

Merge branch 'PHP-7.4'

* PHP-7.4:
Properly shut down font cache mutex


12345678910>>...33