History log of /PHP-8.3/ext/gd/gd.c (Results 176 – 200 of 718)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: php-5.6.23RC1, php-7.0.8RC1, php-7.1.0alpha1
# f8012595 07-Jun-2016 Pierre Joye

#72337 invalid dimensions can lead to segv


Revision tags: php-5.6.22, php-5.5.36, php-7.0.7, php-5.6.22RC1, php-7.0.7RC1, php-7.0.6, php-5.6.21, php-5.5.35
# c02301b6 20-Apr-2016 Stanislav Malyshev

Better fix for #71952


# f061867f 19-Apr-2016 Stanislav Malyshev

Fix bug #71952: Corruption inside imageaffinematrixget


Revision tags: php-5.6.21RC1, php-7.0.6RC1
# f5f94d9c 03-Apr-2016 Mark Plomer

fix left-shifted/misaligned bounding-box + wrong kerning in imagettfbbox/imageftbbox

- load glyph with FT_LOAD_IGNORE_TRANSFORM for bbox as final bbox is rotated at once later (fixes "double

fix left-shifted/misaligned bounding-box + wrong kerning in imagettfbbox/imageftbbox

- load glyph with FT_LOAD_IGNORE_TRANSFORM for bbox as final bbox is rotated at once later (fixes "double-rotation" per glyph for calculating bbox)
- reload the rotated glyph for painting after that (only if angle != 0)
- rotate the original bbox at 0,0 and do not throw away xMin/yMin (drawing-rotation is also based at "origin" point - including the bearingX, see http://www.freetype.org/freetype2/docs/glyphs/glyphs-3.html#section-3) - this fixes the "left-shift"-problem also when angle = 0
- removed "xb/yb" and use "x/y" directly for offsetting brect (no need for adding "x1/y1" and substracting "yd" later)
- removed therefore unused "yd" helper var which seems tried to fix parts of the original problems
- initialize x/y with 0 instead of -1 in php_imagettftext_common() to make image*text() and image*bbox() results identical (there was a -1px shift in image*bbox() before)
- fixed gdroundupdown() for negative numbers (-256 / 64 gives -5 instead of -4 before)
- rotate kerning-delta by given angle (fixes completely wrong kerning and therefore wrong bounding box if angle != 0)
- changed 3 tests and added a new one to test for the new (better) coordinates

show more ...


Revision tags: php-5.6.20, php-5.5.34, php-7.0.5, php-5.6.20RC1, php-7.0.5RC1, php-5.6.19, php-5.5.33, php-7.0.4, php-5.6.19RC1, php-7.0.4RC1, php-5.6.18, php-7.0.3, php-5.5.32, php-5.6.18RC1, php-7.0.3RC1, php-5.6.17, php-5.5.31, php-7.0.2
# 49493a2d 01-Jan-2016 Lior Kaplan

Happy new year (Update copyright to 2016)


Revision tags: php-7.0.2RC1, php-5.6.17RC1, php-7.0.1RC1, php-7.0.0, php-5.6.16, php-7.0.0RC8, php-7.0.0RC7, php-5.6.16RC1, php-5.6.15, php-7.0.0RC6, php-7.0.1, php-5.6.15RC1, php-7.0.0RC5, php-5.5.30, php-5.6.14, php-7.0.0RC4
# ad4fa8f7 24-Sep-2015 Dmitry Stogov

Fixed incorrect usage of HASH_OF() macro. Replaced HASH_OF() with more appropriate Z_ARRVAL_P() or Z_OBJPROP_P().


Revision tags: php-5.6.14RC1, php-7.0.0RC3, php-5.6.13, php-7.0.0RC2, php-5.5.29, php-5.4.45, php-5.6.13RC1, php-7.0.0RC1, php-5.6.12, php-5.5.28, php-7.0.0beta3, php-5.4.44, php-5.6.12RC1, php-7.0.0beta2
# af0f857c 18-Jul-2015 Anatol Belski

fix comment


# 5c95226d 17-Jul-2015 Nikita Popov

Various warning fixes


# 450fbdc7 11-Jul-2015 Christoph M. Becker

Fix #70047: gd_info() doesn't report WebP support

Despite being documented, the array returned by gd_info() doesn't have a 'WebP
Support' key. This patch adds it.


Revision tags: php-7.0.0beta1, php-5.6.11, php-5.5.27, php-5.4.43
# 4a2e40bb 30-Jun-2015 Dmitry Stogov

Use ZSTR_ API to access zend_string elements (this is just renaming without semantick changes).


Revision tags: php-5.6.11RC1, php-5.5.27RC1
# 28d7bb97 23-Jun-2015 Rasmus Lerdorf

Fix more proto comments


Revision tags: php-7.0.0alpha2, php-5.5.26, php-7.0.0alpha1, php-5.6.10, php-5.4.42
# 7469c7e7 06-Jun-2015 Christoph M. Becker

Fixed bug #61221 - imagegammacorrect function loses alpha channel

When applying imagegammacorrect() the alpha channel is now fully retained, instead of being completely lost.


# f7d7befa 01-Jun-2015 Stanislav Malyshev

Fix #69719 - more checks for nulls in paths


Revision tags: POST_PHP7_NSAPI_REMOVAL, PRE_PHP7_NSAPI_REMOVAL
# 7dcfdbbe 29-May-2015 Kalle Sommer Nielsen

Remove T1Lib support (see #69698)

# Also removes imagepscopyfont() which was never available (commented out)


Revision tags: php-5.6.10RC1, php-5.5.26RC1, php-5.5.25, php-5.6.9, php-5.4.41, php-5.6.9RC1, php-5.5.25RC1, php-5.6.8, php-5.5.24, php-5.4.40
# 4435b914 05-Apr-2015 Stanislav Malyshev

Fixed bug #69353 (Missing null byte checks for paths in various PHP extensions)


Revision tags: php-5.6.8RC1, php-5.5.24RC1
# 2d780232 23-Mar-2015 Anatol Belski

cleanup the mod version macros, round 2


Revision tags: php-5.6.7
# 1df033c5 18-Mar-2015 Anthony Ferrara

Revert gd and mysqli to former calls for arg count errors. Fix first identified issues with zend_compile.c from nikic. Add tests for generator returns prior to first yield


Revision tags: php-5.5.23, php-5.4.39, php-5.6.7RC1, php-5.5.23RC1, POST_PHP7_EREG_MYSQL_REMOVALS, PRE_PHP7_EREG_MYSQL_REMOVALS
# 2fa8d67a 03-Mar-2015 Dmitry Stogov

Use zend_string* instead of char* for opened_patch handling. Avoid reallocations and improve string reuse.


Revision tags: php-5.6.6, php-5.5.22, php-5.4.38, POST_PHP7_REMOVALS, PRE_PHP7_REMOVALS, php-5.6.6RC1, php-5.5.22RC1
# 44ed070a 01-Feb-2015 Andrea Faulds

Fix Gd usages of ZEND_WRONG_PARAM_COUNT, add usage note


# 4a1e4e28 04-Feb-2015 Anatol Belski

fix unitialized val usage


# 94280990 02-Feb-2015 Xinchen Hui

Cleanup resource handling APIs


Revision tags: php-5.5.21
# f9664ce8 21-Jan-2015 Rasmus Lerdorf

PHP7 API updates


Revision tags: php-5.6.5, php-5.4.37
# fc33f52d 15-Jan-2015 Xinchen Hui

bump year


# 0579e827 15-Jan-2015 Xinchen Hui

bump year


# 73c1be26 15-Jan-2015 Xinchen Hui

Bump year


12345678910>>...29