History log of /PHP_TRUNK/ext/gd/libgd/gd_interpolation.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
20eaa18 13-Jul-2015 Christoph M. Becker <cmb@php.net> Merge branch 'PHP-5.6'

* PHP-5.6:
updated NEWS
Fix #66882: imagerotate by -90 degrees truncates image by 1px
2e34feb 13-Jul-2015 Christoph M. Becker <cmb@php.net> Fix #66882: imagerotate by -90 degrees truncates image by 1px

Contrary to the external libgd, the bundled libgd doesn't use optimized
rotation algorithms for negative square angles. We fix that now.

There are other improvements in gdImageRotateInterpolated() in the external
libgd. I'll leave them out for now, in the hope that we'll be able to rejoin
the two libraries rather soon.
/php-src/ext/gd/libgd/gd_interpolation.c
fabc1b7 13-Jul-2015 Christoph M. Becker <cmb@php.net> Merge branch 'PHP-5.6'

* PHP-5.6:
updated NEWS
Fix #70064: imagescale(..., IMG_BICUBIC) leaks memory
1a4722a 13-Jul-2015 Christoph M. Becker <cmb@php.net> Fix #70064: imagescale(..., IMG_BICUBIC) leaks memory

A temporary image (tmp_im) is created with gdImageTrueColor() and freed with
gdFree() instead of gdImageDestroy(). Let's fix that.
/php-src/ext/gd/libgd/gd_interpolation.c
959b2c3 13-Jul-2015 Christoph M. Becker <cmb@php.net> Merge branch 'PHP-5.6'

* PHP-5.6:
updated NEWS
Fix #69024: imagescale segfault with palette based image
fa53d84 13-Jul-2015 Christoph M. Becker <cmb@php.net> Fix #69024: imagescale segfault with palette based image

imagescale(..., IMG_BICUBIC) is not supposed to work with palette images, so we
fix that by converting to true color if necessary. Basically the same fix has
already been applied to the external libgd[1].

[1] <https://github.com/libgd/libgd/commit/723ea520bed3b5854df87393c687323d3930edf3>
/php-src/ext/gd/libgd/gd_interpolation.c
b7a7b1a 03-Jan-2015 Stanislav Malyshev <stas@php.net> trailing whitespace removal
/php-src/ext/gd/libgd/gd_interpolation.c
44c0581 12-Mar-2014 Remi Collet <remi@php.net> Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
NEWS
Fix bug #66887 imagescale - poor quality of scaled image
862c006 12-Mar-2014 Remi Collet <remi@php.net> Fix bug #66887 imagescale - poor quality of scaled image

Issue with signed char overflow.

Upstream fix:
https://bitbucket.org/libgd/gd-libgd/commits/4b86e06937bc5ff116be969137f8da9d1a7869d5
/php-src/ext/gd/libgd/gd_interpolation.c
5bd13c5 12-Mar-2014 Remi Collet <remi@php.net> Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
Fixed Bug #66893i imagescale ignore method argument
f2d5b2b 12-Mar-2014 Remi Collet <remi@php.net> Fixed Bug #66893i imagescale ignore method argument

We also have our goto fail; bug.

Upstream fix for libgd
https://bitbucket.org/libgd/gd-libgd/commits/5b42b1178c37ffd30c9a15733058656be0277da0
/php-src/ext/gd/libgd/gd_interpolation.c
d321941 09-Sep-2013 unknown <pajoye@php.net> Merge branch 'PHP-5.5'

* PHP-5.5:
ensure that the defined interpolation method is used by the generic scaling functions
b54b6e3 09-Sep-2013 unknown <pajoye@php.net> ensure that the defined interpolation method is used by the generic scaling functions
/php-src/ext/gd/libgd/gd_interpolation.c
a1d0a86 20-Jun-2013 Pierre Joye <pierre.php@gmail.com> Merge branch 'PHP-5.5'

* PHP-5.5:
fix #65070, bgcolor does not use the same format as the input image with imagerotate
fix #65070, bgcolor does not use the same format as the input image with imagerotate
Fix the spelling of the php_cli_server_http_response_status_code_pair typedef.
Change the search in get_status_string() to correctly handle unknown codes.
Update git rules (5.5 is stable, 5.3 sec only)
skip test for bug #64936 when tokenizer not built
Bump version
Update credits
Merge NEWS from PHP 5.4 branch
Reorder NEWS for PHP 5.5.0 final

Conflicts:
configure.in
ext/gd/libgd/gd_interpolation.c
main/php_version.h
07e5285 20-Jun-2013 Pierre Joye <pierre.php@gmail.com> fix #65070, bgcolor does not use the same format as the input image with imagerotate
/php-src/ext/gd/libgd/gd_interpolation.c
57dd91b 03-Jun-2013 Remi Collet <remi@php.net> Merge branch 'PHP-5.5'

* PHP-5.5:
Fixed Bug #64962 imagerotate produce corrupted image
3579e81 03-Jun-2013 Remi Collet <remi@php.net> Fixed Bug #64962 imagerotate produce corrupted image

See https://bitbucket.org/libgd/gd-libgd/issue/67/problem-with-gdrotate

This computation need to be done in signed range.
/php-src/ext/gd/libgd/gd_interpolation.c
8059ec1 27-May-2013 Pierre Joye <pierre.php@gmail.com> Merge branch 'PHP-5.5'

* PHP-5.5:
fix #64898imagerotate is broken with bilinear interpolation
2f01e06 27-May-2013 Pierre Joye <pierre.php@gmail.com> fix #64898imagerotate is broken with bilinear interpolation
/php-src/ext/gd/libgd/gd_interpolation.c
fc666bd 30-Apr-2013 Pierre Joye <pierre.php@gmail.com> Merge branch 'PHP-5.5'

* PHP-5.5:
fix #64738, fix implicit type declaration
1a335d2 30-Apr-2013 Pierre Joye <pierre.php@gmail.com> fix #64738, fix implicit type declaration
/php-src/ext/gd/libgd/gd_interpolation.c
396b110 09-Apr-2013 Pierre Joye <pierre.php@gmail.com> Merge branch 'PHP-5.5'

* PHP-5.5:
ws and comment for recommended aa method
8350012 09-Apr-2013 Pierre Joye <pierre.php@gmail.com> ws and comment for recommended aa method
/php-src/ext/gd/libgd/gd_interpolation.c
21cfbdf 09-Apr-2013 Pierre Joye <pierre.php@gmail.com> Merge branch 'PHP-5.5'

* PHP-5.5:
fix some unitialized values and typo
85ad65e 09-Apr-2013 Pierre Joye <pierre.php@gmail.com> fix some unitialized values and typo
/php-src/ext/gd/libgd/gd_interpolation.c
8a85da4 26-Mar-2013 Pierre Joye <pierre.php@gmail.com> merging conflict left over
/php-src/ext/gd/libgd/gd_interpolation.c
111123a 26-Mar-2013 Pierre Joye <pierre.php@gmail.com> conflict
5ae6f58 26-Mar-2013 Pierre Joye <pierre.php@gmail.com> fix regression, take #2 (merge issue due to git 1.8 default setting changes)
/php-src/ext/gd/libgd/gd_interpolation.c
c1ac5a2 25-Mar-2013 Stanislav Malyshev <stas@php.net> fix typo
/php-src/ext/gd/libgd/gd_interpolation.c
504ef64 25-Mar-2013 Stanislav Malyshev <stas@php.net> fix typo
/php-src/ext/gd/libgd/gd_interpolation.c
f21f37b 25-Mar-2013 Pierre Joye <pierre.php@gmail.com> Merge branch 'PHP-5.5'

* PHP-5.5:
remove comments
1b34ab8 25-Mar-2013 Pierre Joye <pierre.php@gmail.com> remove comments
/php-src/ext/gd/libgd/gd_interpolation.c
94c083b 24-Mar-2013 Pierre Joye <pierre.php@gmail.com> fix conflict
be3e2bb 24-Mar-2013 Pierre Joye <pierre.php@gmail.com> fix generic rotation and 90 degrees & multiples rotation, take #2
/php-src/ext/gd/libgd/gd_interpolation.c
f39a236 22-Mar-2013 Pierre Joye <pierre.php@gmail.com> - fix regression (imagerotate_overflow.phpt), fix for all cases
/php-src/ext/gd/libgd/gd_interpolation.c
f05972d 22-Mar-2013 Pierre Joye <pierre.php@gmail.com> - fix regression bug24155.phpt and bug39366.phpt
/php-src/ext/gd/libgd/gd_interpolation.c
4e6d54f 22-Mar-2013 Pierre Joye <pierre.php@gmail.com> - fix regression (imagerotate_overflow.phpt)
/php-src/ext/gd/libgd/gd_interpolation.c
f007889 19-Mar-2013 Pierre Joye <pierre.php@gmail.com> - update the comment to match the code/features
/php-src/ext/gd/libgd/gd_interpolation.c
1ec484d 19-Mar-2013 Pierre Joye <pierre.php@gmail.com> - add imageaffinematrixget and imagematrixconcat
/php-src/ext/gd/libgd/gd_interpolation.c
a46065e 20-Mar-2013 Pierre Joye <pierre.php@gmail.com> - fix unix build
/php-src/ext/gd/libgd/gd_interpolation.c
a7a53d3 20-Mar-2013 Pierre Joye <pierre.php@gmail.com> - add new files for interpolation
/php-src/ext/gd/libgd/gd_interpolation.c