History log of /PHP-8.4/ext/gd/gd.c (Results 51 – 75 of 734)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: php-8.0.2, php-7.4.15, php-7.3.27, php-8.0.2RC1, php-7.4.15RC2, php-7.4.15RC1
# 3e01f5af 15-Jan-2021 Nikita Popov

Replace zend_bool uses with bool

We're starting to see a mix between uses of zend_bool and bool.
Replace all usages with the standard bool type everywhere.

Of course, zend_bool

Replace zend_bool uses with bool

We're starting to see a mix between uses of zend_bool and bool.
Replace all usages with the standard bool type everywhere.

Of course, zend_bool is retained as an alias.

show more ...


Revision tags: php-8.0.1, php-7.4.14, php-7.3.26, php-7.4.14RC1, php-8.0.1RC1, php-7.3.26RC1
# a89aaf6c 02-Dec-2020 Nikita Popov

Don't throw from imagecreatefromstring() with too short string

If the string is too short, we should treat this the same way as
an unrecognized image type. This function should be usable

Don't throw from imagecreatefromstring() with too short string

If the string is too short, we should treat this the same way as
an unrecognized image type. This function should be usable to
determine whether something is a valid image without doing any
checks beforehand.

show more ...


Revision tags: php-8.0.0, php-7.3.25, php-7.4.13, php-8.0.0RC5, php-7.4.13RC1, php-8.0.0RC4, php-7.3.25RC1, php-7.4.12, php-8.0.0RC3, php-7.3.24
# 38b3d430 22-Oct-2020 Nikita Popov

Fix zpp for GdFont|int

Use Z_PARAM_OBJ_OF_TYPE_OR_LONG to get standard behavior.


# 9d974aa1 22-Oct-2020 Nikita Popov

Don't allow properties on former resource objects


# dd363934 22-Oct-2020 Nikita Popov

Don't allow properties on GdImage

Just like all the other former resources... we missed this case.


# bc40bce8 21-Oct-2020 Sara Golemon

Convert gdFont from resource to object


# 521c36c8 18-Oct-2020 Christoph M. Becker

Remove IGNORE_URL_WIN macro

This macro is defined to zero as of PHP 5.0.0, and as the comment
indicates, is no longer relevant. Thus, we remove the definition and
all usages from th

Remove IGNORE_URL_WIN macro

This macro is defined to zero as of PHP 5.0.0, and as the comment
indicates, is no longer relevant. Thus, we remove the definition and
all usages from the core and bundled extensions.

Closes GH-6351.

show more ...


# 187efc64 14-Oct-2020 Nikita Popov

Fix null foreground in imagewbmp

The variable was not actually passed to zpp...


Revision tags: php-8.0.0RC2, php-7.4.12RC1, php-7.3.24RC1
# 14a26db3 09-Oct-2020 Nikita Popov

Update ext/gd parameter names

Closes GH-6308.


# 62c6d695 01-Oct-2020 Nikita Popov

Add test instantiating all objects

Intended to find issues in opaque object destructors.

Closes GH-6251.


Revision tags: php-7.2.34, php-8.0.0rc1, php-7.4.11, php-7.3.23
# e950ca13 20-Sep-2020 Máté Kocsis

Consolidate the usage of "either" and "one of" in error messages

Closes GH-6173


Revision tags: php-8.0.0beta4, php-7.4.11RC1, php-7.3.23RC1
# 628db3f3 04-Sep-2020 Máté Kocsis

Fix UNKNOWN default values in various extensions

Closes GH-6075


Revision tags: php-8.0.0beta3, php-7.4.10, php-7.3.22
# 4e6fbb0a 19-Aug-2020 Máté Kocsis

Promote warnings to exceptions in ext/gd

Closes GH-6023


Revision tags: php-8.0.0beta2, php-7.3.22RC1, php-7.4.10RC1, php-8.0.0beta1, php-7.4.9, php-7.2.33, php-7.3.21
# d94d426f 31-Jul-2020 Máté Kocsis

Fix the default value handling of imagegif()


Revision tags: php-8.0.0alpha3, php-7.4.9RC1, php-7.3.21RC1, php-7.4.8, php-7.2.32, php-8.0.0alpha2, php-7.3.20, php-8.0.0alpha1, php-7.4.8RC1, php-7.3.20RC1, php-7.4.7, php-7.3.19, php-7.4.7RC1, php-7.3.19RC1
# ac0da090 18-May-2020 Máté Kocsis

Fix UNKNOWN default values in ext/mbstring and ext/gd

Closes GH-5598


# 19bf66a9 06-Jul-2020 Máté Kocsis

Explode _php_image_output_ctx() into multiple functions

Closes GH-5844


# 340e2ead 11-Jul-2020 Christoph M. Becker

Export php_gd_libgdimageptr_from_zval_p()

Some extension may need to retrieve the `gdImagePtr` from an `GdImage`
object; thus, we export the respective function. To not being forced

Export php_gd_libgdimageptr_from_zval_p()

Some extension may need to retrieve the `gdImagePtr` from an `GdImage`
object; thus, we export the respective function. To not being forced
to include gd.h in php_gd.h, we use the opaque `struct gdImageStruct *`
as return type.

We also rename php_gd2.dll to php_gd.dll, since there's not really much
point in giving the DLL a version number, since there is no php_gd.dll
for years (if there ever has been). Renaming, on the other hand,
matches the name on other systems (gd.so), and allows to actually use
`ADD_EXTENSION_DEP()`.

show more ...


# d30cd7d7 26-May-2020 Máté Kocsis

Review the usage of apostrophes in error messages

Closes GH-5590


# 2b5de6f8 01-Jul-2020 Max Semenik

Remove proto comments from C files

Closes GH-5758


# 92c4b065 16-Jun-2020 Christoph M. Becker

Use ZEND_UNREACHABLE() instead of ZEND_ASSERT(0)

Instead of marking unreachable code with `ZEND_ASSERT(0)`, we introduce
`ZEND_UNREACHABLE()`, so that MSVC which does not consider `asser

Use ZEND_UNREACHABLE() instead of ZEND_ASSERT(0)

Instead of marking unreachable code with `ZEND_ASSERT(0)`, we introduce
`ZEND_UNREACHABLE()`, so that MSVC which does not consider `assert(0)`
to mark unreachable code does no longer trigger C4715[1] warnings in
debug builds. This may be useful for other compilers as well.

[1] <https://docs.microsoft.com/de-de/cpp/error-messages/compiler-warnings/compiler-warning-level-1-c4715?view=vs-2019>

show more ...


# 2f0dcf2a 20-May-2020 George Peter Banyard

Fix [-Wundef] warning in GD extension


Revision tags: php-7.4.6, php-7.2.31
# 8ddaf13e 29-Apr-2020 Alex Dowad

Code tweaks: Remove unneeded semicolons


Revision tags: php-7.4.6RC1, php-7.3.18RC1
# ed179c2e 15-Apr-2020 Remi Collet

workaround typo in system libgd 2.3.0


Revision tags: php-7.2.30, php-7.4.5, php-7.3.17
# 1f48feeb 13-Apr-2020 Máté Kocsis

Improve some TypeError and ValueError messages

Closes GH-5377


# 50765075 01-Apr-2020 Máté Kocsis

Improve some ValueError messages

Closes GH-5340


12345678910>>...30