Changeset 475

Show
Ignore:
Timestamp:
10/26/09 19:05:08 (4 weeks ago)
Author:
cristy
Message:
 
Files:
9 modified

Legend:

Unmodified
Added
Removed
  • ImageMagick/trunk/ChangeLog

    r471 r475  
    22  * Only call InstantiateXComponent() if X11 support is included. 
    33  * Correct hue computation for the HSB colorspace. 
     4  * Convert SVG clipping path points from unsigned to long. 
    45 
    562009-10-23  6.5.7-1 Samuel Thibault  <samuel.thibault@ens-l...> 
  • ImageMagick/trunk/ImageMagick.spec

    r474 r475  
    11%define VERSION  6.5.7 
    2 %define Patchlevel  3 
     2%define Patchlevel  2 
    33 
    44Name:           ImageMagick 
  • ImageMagick/trunk/config/configure.xml

    r474 r475  
    99  <configure name="NAME" value="ImageMagick"/> 
    1010  <configure name="LIB_VERSION" value="0x657"/> 
    11   <configure name="LIB_VERSION_NUMBER" value="6,5,7,3"/> 
     11  <configure name="LIB_VERSION_NUMBER" value="6,5,7,2"/> 
    1212  <configure name="RELEASE_DATE" value="2009-10-26"/> 
    1313  <configure name="CONFIGURE" value="./configure "/> 
  • ImageMagick/trunk/libtool

    r474 r475  
    22 
    33# libtool - Provide generalized library-building support services. 
    4 # Generated automatically by config.status (ImageMagick) 6.5.7-3 
     4# Generated automatically by config.status (ImageMagick) 6.5.7-2 
    55# Libtool was configured on host magick.imagemagick.org: 
    66# NOTE: Changes made to this file will be lost: look at ltmain.sh. 
  • ImageMagick/trunk/magick/property.c

    r373 r475  
    16601660        for (i=0; i < 3; i++) 
    16611661        { 
    1662           y=(long) ReadPropertyMSBLong(&blob,&length); 
    1663           x=(long) ReadPropertyMSBLong(&blob,&length); 
     1662          unsigned long  
     1663            xx, 
     1664            yy; 
     1665 
     1666          yy=ReadPropertyMSBLong(&blob,&length); 
     1667          xx=ReadPropertyMSBLong(&blob,&length); 
     1668          x=(long) xx; 
     1669          if (xx > 2147483647) 
     1670            x=xx-4294967295-1; 
     1671          y=(long) yy; 
     1672          if (yy > 2147483647) 
     1673            y=yy-4294967295-1; 
    16641674          point[i].x=(double) x/4096/4096; 
    16651675          point[i].y=1.0-(double) y/4096/4096; 
     
    18401850            blob+=24; 
    18411851            length-=24; 
     1852            break; 
     1853          } 
     1854        /* 
     1855          Add sub-path knot 
     1856        */ 
     1857        for (i=0; i < 3; i++) 
     1858        { 
     1859          unsigned long  
     1860            xx, 
     1861            yy; 
     1862 
     1863          yy=ReadPropertyMSBLong(&blob,&length); 
     1864          xx=ReadPropertyMSBLong(&blob,&length); 
     1865          x=(long) xx; 
     1866          if (xx > 2147483647) 
     1867            x=xx-4294967295-1; 
     1868          y=(long) yy; 
     1869          if (yy > 2147483647) 
     1870            y=yy-4294967295-1; 
     1871          point[i].x=(double) x*columns/4096/4096; 
     1872          point[i].y=(double) y*rows/4096/4096; 
     1873        } 
     1874        if (in_subpath == MagickFalse) 
     1875          { 
     1876            (void) FormatMagickString(message,MaxTextExtent,"M %g,%g\n", 
     1877              point[1].x,point[1].y); 
     1878            for (i=0; i < 3; i++) 
     1879            { 
     1880              first[i]=point[i]; 
     1881              last[i]=point[i]; 
     1882            } 
    18421883          } 
    18431884        else 
    18441885          { 
    1845             /* 
    1846               Add sub-path knot 
    1847             */ 
     1886            if ((last[1].x == last[2].x) && (last[1].y == last[2].y) && 
     1887                (point[0].x == point[1].x) && (point[0].y == point[1].y)) 
     1888              (void) FormatMagickString(message,MaxTextExtent,"L %g,%g\n", 
     1889                point[1].x,point[1].y); 
     1890            else 
     1891              (void) FormatMagickString(message,MaxTextExtent, 
     1892                "C %g,%g %g,%g %g,%g\n",last[2].x,last[2].y, 
     1893                point[0].x,point[0].y,point[1].x,point[1].y); 
    18481894            for (i=0; i < 3; i++) 
    1849             { 
    1850               y=(long) ReadPropertyMSBLong(&blob,&length); 
    1851               x=(long) ReadPropertyMSBLong(&blob,&length); 
    1852               point[i].x=(double) x*columns/4096/4096; 
    1853               point[i].y=(double) y*rows/4096/4096; 
    1854             } 
    1855             if (in_subpath == MagickFalse) 
    1856               { 
    1857                 (void) FormatMagickString(message,MaxTextExtent,"M %g,%g\n", 
    1858                   point[1].x,point[1].y); 
    1859                 for (i=0; i < 3; i++) 
    1860                 { 
    1861                   first[i]=point[i]; 
    1862                   last[i]=point[i]; 
    1863                 } 
    1864               } 
     1895              last[i]=point[i]; 
     1896          } 
     1897        (void) ConcatenateString(&path,message); 
     1898        in_subpath=MagickTrue; 
     1899        knot_count--; 
     1900        /* 
     1901          Close the subpath if there are no more knots. 
     1902        */ 
     1903        if (knot_count == 0) 
     1904          { 
     1905            if ((last[1].x == last[2].x) && (last[1].y == last[2].y) && 
     1906                (first[0].x == first[1].x) && (first[0].y == first[1].y)) 
     1907              (void) FormatMagickString(message,MaxTextExtent,"L %g,%g Z\n", 
     1908                first[1].x,first[1].y); 
    18651909            else 
    18661910              { 
    1867                 if ((last[1].x == last[2].x) && (last[1].y == last[2].y) && 
    1868                     (point[0].x == point[1].x) && (point[0].y == point[1].y)) 
    1869                   (void) FormatMagickString(message,MaxTextExtent,"L %g,%g\n", 
    1870                     point[1].x,point[1].y); 
    1871                 else 
    1872                   (void) FormatMagickString(message,MaxTextExtent, 
    1873                     "C %g,%g %g,%g %g,%g\n",last[2].x,last[2].y, 
    1874                     point[0].x,point[0].y,point[1].x,point[1].y); 
    1875                 for (i=0; i < 3; i++) 
    1876                   last[i]=point[i]; 
     1911                (void) FormatMagickString(message,MaxTextExtent, 
     1912                  "C %g,%g %g,%g %g,%g Z\n",last[2].x,last[2].y, 
     1913                  first[0].x,first[0].y,first[1].x,first[1].y); 
     1914                (void) ConcatenateString(&path,message); 
    18771915              } 
    1878             (void) ConcatenateString(&path,message); 
    1879             in_subpath=MagickTrue; 
    1880             knot_count--; 
    1881             /* 
    1882               Close the subpath if there are no more knots. 
    1883             */ 
    1884             if (knot_count == 0) 
    1885               { 
    1886                 if ((last[1].x == last[2].x) && (last[1].y == last[2].y) && 
    1887                     (first[0].x == first[1].x) && (first[0].y == first[1].y)) 
    1888                   (void) FormatMagickString(message,MaxTextExtent,"L %g,%g Z\n", 
    1889                     first[1].x,first[1].y); 
    1890                 else 
    1891                   { 
    1892                     (void) FormatMagickString(message,MaxTextExtent, 
    1893                       "C %g,%g %g,%g %g,%g Z\n",last[2].x,last[2].y, 
    1894                       first[0].x,first[0].y,first[1].x,first[1].y); 
    1895                     (void) ConcatenateString(&path,message); 
    1896                   } 
    1897                 in_subpath=MagickFalse; 
    1898               } 
     1916            in_subpath=MagickFalse; 
    18991917          } 
    1900           break; 
     1918        break; 
    19011919      } 
    19021920      case 6: 
  • ImageMagick/trunk/magick/version.h

    r474 r475  
    3131#define MagickLibVersionText  "6.5.7" 
    3232#define MagickLibVersionNumber  2,0,0 
    33 #define MagickLibSubversion  "-3" 
     33#define MagickLibSubversion  "-2" 
    3434#define MagickReleaseDate  "2009-10-26" 
    3535#define MagickChangeDate   "20091026" 
  • ImageMagick/trunk/version.sh

    r474 r475  
    1313PACKAGE_VERSION='6.5.7' 
    1414PACKAGE_LIB_VERSION="0x657" 
    15 PACKAGE_RELEASE="3" 
     15PACKAGE_RELEASE="2" 
    1616PACKAGE_LIB_VERSION_NUMBER="6,5,7,${PACKAGE_RELEASE}" 
    1717PACKAGE_RELEASE_DATE=`date +%F` 
  • VisualMagick/trunk/bin/configure.xml

    r474 r475  
    99  <configure name="NAME" value="ImageMagick"/> 
    1010  <configure name="LIB_VERSION" value="0x657"/> 
    11   <configure name="LIB_VERSION_NUMBER" value="6,5,7,3"/> 
     11  <configure name="LIB_VERSION_NUMBER" value="6,5,7,2"/> 
    1212  <configure name="RELEASE_DATE" value="2009-11-15"/> 
    1313  <configure name="VERSION" value="6.5.7"/> 
  • VisualMagick/trunk/installer/inc/version.isx

    r474 r475  
    1919#define public MagickPackageName "ImageMagick" 
    2020#define public MagickPackageVersion "6.5.7" 
    21 #define public MagickPackageVersionAddendum "-3" 
     21#define public MagickPackageVersionAddendum "-2" 
    2222#define public MagickPackageReleaseDate "2009-11-15"