History log of /PHP-8.1/ext/gd/gd.c (Results 1 – 25 of 824)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# d50532be 18-Oct-2022 Christoph M. Becker

Fix #81739: OOB read due to insufficient validation in imageloadfont()

If we swap the byte order of the relevant header bytes, we need to make
sure again that the following multiplicatio

Fix #81739: OOB read due to insufficient validation in imageloadfont()

If we swap the byte order of the relevant header bytes, we need to make
sure again that the following multiplication does not overflow.

show more ...


# bc8e52f6 23-Jun-2022 Christoph M. Becker

Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
Fix GH-8848: imagecopyresized() error refers to the wrong argument


# 9405f43b 23-Jun-2022 Christoph M. Becker

Fix GH-8848: imagecopyresized() error refers to the wrong argument

Closes GH-8849.

Revision tags: php-8.1.7RC1, php-8.1.4RC1, php-8.1.3, php-8.1.2RC1
# 54f1f8cf 25-Nov-2021 Remi Collet

add missing conditions

# f566cba0 25-Nov-2021 Remi Collet

fix [-Wstrict-prototypes] build warnings in ext/gd

# 96a0ff73 25-Nov-2021 Remi Collet

Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
add missing cond.


# f6621037 25-Nov-2021 Remi Collet

add missing cond.

# 80d63e9d 25-Nov-2021 Remi Collet

Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
fix gdImagePngCtxEx call with system libgd


# e713890d 24-Nov-2021 Remi Collet

fix gdImagePngCtxEx call with system libgd

Revision tags: php-8.1.0, php-7.3.33, php-7.3.32, php-7.3.31
# b3646440 13-Sep-2021 Remi Collet

Don't rely on libgd unused constants

Revision tags: php-7.3.30
# eb6c9eb9 12-Aug-2021 Ben Morss

Lossless conversion for webp

Propagating lossless conversion from libgd to our bundled gd.
Changing "quantization" to "quality" as in libgd.
Adding test.

IMG_WEBP_LOSSLESS i

Lossless conversion for webp

Propagating lossless conversion from libgd to our bundled gd.
Changing "quantization" to "quality" as in libgd.
Adding test.

IMG_WEBP_LOSSLESS is only defined, if lossless WebP encoding is
supported by the libgd used.

Closes GH-7348.

show more ...

# 570d9b63 20-Jul-2021 Joe Watkins

Not serializable flag permeation

Revision tags: php-7.3.29, php-7.3.28
# e1285c4a 21-Mar-2021 Christoph M. Becker

Deprecate $num_points parameter of image(open|filled)polygon

Cf. <https://wiki.php.net/rfc/deprecations_php_8_1#num_points_parameter_of_image_open_filled_polygon>.

Co-authored-by: M

Deprecate $num_points parameter of image(open|filled)polygon

Cf. <https://wiki.php.net/rfc/deprecations_php_8_1#num_points_parameter_of_image_open_filled_polygon>.

Co-authored-by: Máté Kocsis <kocsismate@woohoolabs.com>
Co-authored-by: George Peter Banyard <7906688+Girgias@users.noreply.github.com>

Closes GH-6789.

show more ...

# cee33bab 05-Jul-2021 Ben Morss

AVIF support for getimagesize() and imagecreatefromstring()

Thanks to Joe Drago for help with the AVIF detection code.

Co-authored-by: Nikita Popov <nikita.ppv@googlemail.com>
C

AVIF support for getimagesize() and imagecreatefromstring()

Thanks to Joe Drago for help with the AVIF detection code.

Co-authored-by: Nikita Popov <nikita.ppv@googlemail.com>
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-7091.

show more ...

# 81f6d36c 05-May-2021 Ben Morss

Add avif support to ext/gd

This backports avif support from upstream libgd into bundled libgd
and exposes the functionality through new imagecreatefromavif()
and imageavif() function

Add avif support to ext/gd

This backports avif support from upstream libgd into bundled libgd
and exposes the functionality through new imagecreatefromavif()
and imageavif() functions.

Closes GH-7026.

Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

show more ...

# 3f890635 14-May-2021 Christoph M. Becker

Merge branch 'PHP-8.0'

* PHP-8.0:
Fix #81032: GD install is affected by external libgd installation


# c455f49a 14-May-2021 Christoph M. Becker

Merge branch 'PHP-7.4' into PHP-8.0

* PHP-7.4:
Fix #81032: GD install is affected by external libgd installation


# 28e7addb 12-May-2021 Flavio Heleno

Fix #81032: GD install is affected by external libgd installation

This PR replaces the bundled libgd includes from #include <foo.h> with
#include "foo.h" for gd-related headers to avoid

Fix #81032: GD install is affected by external libgd installation

This PR replaces the bundled libgd includes from #include <foo.h> with
#include "foo.h" for gd-related headers to avoid including headers that
may be available in system directories instead of the expected local
headers.

Closes GH-6975.

show more ...

# c40231af 12-May-2021 George Peter Banyard

Mark various functions with void arguments.

This fixes a bunch of [-Wstrict-prototypes] warning,
because in C func() and func(void) have different semantics.

# 01b3fc03 06-May-2021 KsaR

Update http->https in license (#6945)

1. Update: http://www.php.net/license/3_01.txt to https, as there is anyway server header "Location:" to https.
2. Update few license 3.0 to 3.01 as

Update http->https in license (#6945)

1. Update: http://www.php.net/license/3_01.txt to https, as there is anyway server header "Location:" to https.
2. Update few license 3.0 to 3.01 as 3.0 states "php 5.1.1, 4.1.1, and earlier".
3. In some license comments is "at through the world-wide-web" while most is without "at", so deleted.
4. fixed indentation in some files before |

show more ...

# a6fc427b 17-Mar-2021 George Peter Banyard

Use zend_string_equals() API instead of strcmp() in various places

Closes GH-6784

# db538775 17-Mar-2021 Nikita Popov

Merge branch 'PHP-8.0'

* PHP-8.0:
Return bool from imageinterlace()


# c1743442 17-Mar-2021 Nikita Popov

Return bool from imageinterlace()

The function accepts a bool since PHP 8.0, so it should also return
a bool to keep things consistent.

Furthermore a null return from this funct

Return bool from imageinterlace()

The function accepts a bool since PHP 8.0, so it should also return
a bool to keep things consistent.

Furthermore a null return from this functions is not possible.

show more ...

# ce0bc58c 16-Feb-2021 Nikita Popov

Merge branch 'PHP-8.0'

* PHP-8.0:
Mark resource-like objects as non-comparable


# b63ea104 16-Feb-2021 Nikita Popov

Mark resource-like objects as non-comparable

As these hold on to some internal resource, there can't be two
"equal" objects with different identity. Make sure the lack of
public prop

Mark resource-like objects as non-comparable

As these hold on to some internal resource, there can't be two
"equal" objects with different identity. Make sure the lack of
public properties doesn't result in these being treated as always
equal.

show more ...

12345678910>>...33