]> granicus.if.org Git - php/commitdiff
Merge branch 'PHP-5.5'
authorPierre Joye <pierre.php@gmail.com>
Thu, 20 Jun 2013 20:32:52 +0000 (22:32 +0200)
committerPierre Joye <pierre.php@gmail.com>
Thu, 20 Jun 2013 20:32:52 +0000 (22:32 +0200)
* 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

1  2 
ext/gd/libgd/gd_interpolation.c

index 2641f9766121142c9df2a63429f21b0ecaf52b8b,e3247a78c1bf7517a8dc471b4248f6764fcba15a..b6e7c69201f9b3e5f8472470ae7bd2b9b00c9dd5
@@@ -1735,17 -1729,7 +1728,11 @@@ gdImagePtr gdImageRotateGeneric(gdImage
                                                        f_slop_x > f_slop_y ? gd_divfx(f_slop_y, f_slop_x) : gd_divfx(f_slop_x, f_slop_y)
                                                : 0;
  
-       /* impact perf a bit, but not that much. Implementation for palette
-          images can be done at a later point.
-       */
-       if (src->trueColor == 0) {
-               gdImagePaletteToTrueColor(src);
-       }
 +      if (bgColor < 0) {
 +              return NULL;
 +      }
 +
        dst = gdImageCreateTrueColor(new_width, new_height);
        if (!dst) {
                return NULL;