History log of /php-src/ext/gd/gd.c (Results 1 – 25 of 841)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# df85c255 13-Jan-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Follow-up fix for GH-13082

The font_obj should actually be NULL initialised, not the font gd
pointer.

Closes GH-13139.


# 97267215 10-Jan-2024 David CARLIER

general signatures discrepencies fixes (#13122)


# 1e464e5b 09-Jan-2024 David Carlier

ext/gd: Fix GH-13082

Issue occur when compiling with recent clang releases (> 13) and
with the '-Os' optimisation level, after using
`imageloadfont` which returns a proper GdFont cl

ext/gd: Fix GH-13082

Issue occur when compiling with recent clang releases (> 13) and
with the '-Os' optimisation level, after using
`imageloadfont` which returns a proper GdFont class leads to
a subtle bug when attempting to use via the imagefont* function.

show more ...


# b0d8c10f 11-Jun-2023 David CARLIER

ext/gd: imagerotate removes ignore_transparent argument.

seems to be a relic of PHP 5 but no longer makes sense in regard of gdImageRotateInterpolated.

Close GH-11426


# 10117821 23-Feb-2023 Máté Kocsis

Declare proper parameter default values for imagegd2 (#10569)


# 7936c808 23-Jan-2023 Máté Kocsis

Fix GH-8329 Print true/false instead of bool in error and debug messages (#8385)


# 58d741c0 08-Jan-2023 Niels <7771979+nielsdos@users.noreply.github.com>

Remove unnecessary NULL-checks on ctx (#10256)

ctx can never be zero in these functions because they are dispatched
virtually by looking up their entries in ctx. Furthermore, 2 of these

Remove unnecessary NULL-checks on ctx (#10256)

ctx can never be zero in these functions because they are dispatched
virtually by looking up their entries in ctx. Furthermore, 2 of these
checks never actually worked because ctx was dereferenced before ctx was
NULL-checked.

show more ...


# 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 ...


# a01dd9fe 14-Sep-2022 Bob Weinand

Revert "Port all internally used classes to use default_object_handlers"

This reverts commit 94ee4f9834743ca74f6c9653863273277ce6c61a.

The commit was a bit too late to be included i

Revert "Port all internally used classes to use default_object_handlers"

This reverts commit 94ee4f9834743ca74f6c9653863273277ce6c61a.

The commit was a bit too late to be included in PHP 8.2 RC1. Given it's a massive ABI break, we decide to postpone the change to PHP 8.3.

show more ...


Revision tags: php-8.2.0RC1, php-8.1.10
# 1ad59b32 30-Aug-2022 George Peter Banyard

Update INI validator and displayers depending on INI type

Closes GH-9451


Revision tags: php-8.0.23
# 94ee4f98 24-Aug-2022 Bob Weinand

Port all internally used classes to use default_object_handlers

Signed-off-by: Bob Weinand <bobwei9@hotmail.com>


Revision tags: php-8.0.23RC1, php-8.1.10RC1, php-8.2.0beta3, php-8.2.0beta2, php-8.1.9, php-8.0.22
# 056e968c 30-Jul-2022 Máté Kocsis

Declare ext/gd constants in stubs (#9180)

Revision tags: php-8.1.9RC1, php-8.2.0beta1, php-8.0.22RC1, php-8.0.21, php-8.1.8, php-8.2.0alpha3
# 365537fd 23-Jun-2022 Christoph M. Becker

Merge branch 'PHP-8.1'

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


# 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.8RC1, php-8.2.0alpha2, php-8.0.21RC1, php-8.0.20, php-8.1.7, php-8.2.0alpha1, php-7.4.30, php-8.1.7RC1, php-8.0.20RC1, php-8.1.6, php-8.0.19, php-8.1.6RC1, php-8.0.19RC1, php-8.0.18, php-8.1.5, php-7.4.29, php-8.1.5RC1, php-8.0.18RC1, php-8.1.4, php-8.0.17, php-8.1.4RC1, php-8.0.17RC1, php-8.1.3, php-8.0.16, php-7.4.28, php-8.1.3RC1, php-8.0.16RC1, php-8.1.2, php-8.0.15, php-8.1.2RC1, php-8.0.15RC1, php-8.0.14, php-8.1.1, php-7.4.27, php-8.1.1RC1, php-8.0.14RC1, php-7.4.27RC1
# baeba4b0 25-Nov-2021 Remi Collet

Merge branch 'PHP-8.1'

* PHP-8.1:
add missing conditions
fix [-Wstrict-prototypes] build warnings in ext/gd


# 54f1f8cf 25-Nov-2021 Remi Collet

add missing conditions

# 1241ec8c 25-Nov-2021 Remi Collet

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

# f566cba0 25-Nov-2021 Remi Collet

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

# 7c0f2b4d 25-Nov-2021 Remi Collet

Merge branch 'PHP-8.1'

* PHP-8.1:
add missing cond.
Enable encoding detection for Polish text


# 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.

# 73d5dd77 25-Nov-2021 Remi Collet

Merge branch 'PHP-8.1'

* PHP-8.1:
fix gdImagePngCtxEx call with system libgd


# 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

12345678910>>...34