Commits

Anonymous committed cc33b00

- sync to 1.6.3

Comments (0)

Files changed (8)

-  Credits and license terms
-  
-   In order to resolve any possible confusion regarding the authorship of
-   gd, the following copyright statement covers all of the authors who
-   have required such a statement. _If you are aware of any oversights in
-   this copyright notice, please contact Thomas Boutell who will be
-   pleased to correct them._
-
 COPYRIGHT STATEMENT FOLLOWS THIS LINE
 
      Portions copyright 1994, 1995, 1996, 1997, 1998, 1999, by Cold
      (ellson@lucent.com).
      
      _Permission has been granted to copy and distribute gd in any
-     context, including a commercial application, provided that this
-     notice is present in user-accessible supporting documentation._
+     context without fee, including a commercial application, provided
+     that this notice is present in user-accessible supporting
+     documentation._
      
      This does not affect your ownership of the derived work itself, and
      the intent is to assure proper credit for the authors of gd, not to
      ask. "Derived works" includes all programs that utilize the
      library. Credit must be given in user-accessible documentation.
      
-     Permission to use, copy, modify, and distribute this software and
-     its documentation for any purpose and without fee is hereby
-     granted, provided that the above copyright notice appear in all
-     copies and that both that copyright notice and this permission
-     notice appear in supporting documentation. This software is
-     provided "as is" without express or implied warranty.
+     _This software is provided "AS IS."_ The copyright holders disclaim
+     all warranties, either express or implied, including but not
+     limited to implied warranties of merchantability and fitness for a
+     particular purpose, with respect to this code and accompanying
+     documentation.
      
-     Although their code does not appear in gd 1.6.2, the authors wish
+     Although their code does not appear in gd 1.6.3, the authors wish
      to thank David Koblas, David Rowley, and Hutchison Avenue Software
      Corporation for their prior contributions.
      
-     Permission to use, copy, modify, and distribute this software and
-     its documentation for any purpose and without fee is hereby
-     granted, provided that the above copyright notice appear in all
-     copies and that both that copyright notice and this permission
-     notice appear in supporting documentation. _This software is
-     provided "AS IS."_ The copyright holders disclaim all warranties,
-     either express or implied, including but not limited to implied
-     warranties of merchantability and fitness for a particular purpose,
-     with respect to this code and accompanying documentation.
-     
 END OF COPYRIGHT STATEMENT
 
+990729 Thomas Boutell (TBB)
+	- It would probably be a good idea to free the 
+	  png_write_struct, wouldn't it.
 990727 Thomas Boutell (TBB)
 	- Sorted out -lm problem that prevented PNG library
 	  from being correctly detected or flagged as absent
+990729 Thomas Boutell (TBB)
+	- It would probably be a good idea to free the 
+	  png_write_struct, wouldn't it.
 990727 Thomas Boutell (TBB)
 	- Sorted out -lm problem that prevented PNG library
 	  from being correctly detected or flagged as absent
-         A MUCH BETTER MANUAL IS IN THE HYPERTEXT DOCUMENT index.html!
-         A MUCH BETTER MANUAL IS IN THE HYPERTEXT DOCUMENT index.html!
-         A MUCH BETTER MANUAL IS IN THE HYPERTEXT DOCUMENT index.html!
-         A MUCH BETTER MANUAL IS IN THE HYPERTEXT DOCUMENT index.html!
+                    THERE IS A BETTER MANUAL IN index.html.
+                    THERE IS A BETTER MANUAL IN index.html.
+                    THERE IS A BETTER MANUAL IN index.html.
+                    THERE IS A BETTER MANUAL IN index.html.
 
-                                   gd 1.6.2
+                                   gd 1.6.3
                                        
 A graphics library for fast image creation
 
 Follow this link to the latest version of this document.
 
-     _HEY! READ THIS!_
-
-     gd 1.6.2 creates PNG images, not GIF images. This is a good thing.
-     PNG is a more compact format, and full compression is available. 
-     Existing code will need modification to call gdImagePng instead
-     of gdImageGif. <strong>Please do not ask us to send you the old GIF
-     version of GD.</strong> Unisys holds a patent on the LZW compression
-     algorithm, which is used in fully compressed GIF images. We are 
-     still investigating the legal issues surrounding various 
-     alternative means of producing a valid GIF file.
-
-     gd 1.6.2 _requires_ that the following libraries also be installed:
+     _HEY! READ THIS!_ gd 1.6.3 creates PNG images, not GIF images. This
+     is a good thing. PNG is a more compact format, and full compression
+     is available. Existing code will need modification to call
+     gdImagePng instead of gdImageGif. _Please do not ask us to send you
+     the old GIF version of GD._ Unisys holds a patent on the LZW
+     compression algorithm, which is used in fully compressed GIF
+     images. We are still investigating the legal issues surrounding
+     various alternative means of producing a valid GIF file.
+     
+     gd 1.6.3 _requires_ that the following libraries also be installed:
      
      libpng
      
   Table of Contents
   
      * Credits and license terms
+     * What's new in version 1.6.3?
      * What's new in version 1.6.2?
      * What's new in version 1.6.1?
      * What's new in version 1.6?
      (ellson@lucent.com).
      
      _Permission has been granted to copy and distribute gd in any
-     context, including a commercial application, provided that this
-     notice is present in user-accessible supporting documentation._
+     context without fee, including a commercial application, provided
+     that this notice is present in user-accessible supporting
+     documentation._
      
      This does not affect your ownership of the derived work itself, and
      the intent is to assure proper credit for the authors of gd, not to
      ask. "Derived works" includes all programs that utilize the
      library. Credit must be given in user-accessible documentation.
      
-     Permission to use, copy, modify, and distribute this software and
-     its documentation for any purpose and without fee is hereby
-     granted, provided that the above copyright notice appear in all
-     copies and that both that copyright notice and this permission
-     notice appear in supporting documentation. This software is
-     provided "as is" without express or implied warranty.
+     _This software is provided "AS IS."_ The copyright holders disclaim
+     all warranties, either express or implied, including but not
+     limited to implied warranties of merchantability and fitness for a
+     particular purpose, with respect to this code and accompanying
+     documentation.
      
-     Although their code does not appear in gd 1.6.2, the authors wish
+     Although their code does not appear in gd 1.6.3, the authors wish
      to thank David Koblas, David Rowley, and Hutchison Avenue Software
      Corporation for their prior contributions.
      
-     Permission to use, copy, modify, and distribute this software and
-     its documentation for any purpose and without fee is hereby
-     granted, provided that the above copyright notice appear in all
-     copies and that both that copyright notice and this permission
-     notice appear in supporting documentation. _This software is
-     provided "AS IS."_ The copyright holders disclaim all warranties,
-     either express or implied, including but not limited to implied
-     warranties of merchantability and fitness for a particular purpose,
-     with respect to this code and accompanying documentation.
-     
 END OF COPYRIGHT STATEMENT
 
   What is gd?
    
    gd does not provide for every possible desirable graphics operation.
    It is not necessary or desirable for gd to become a kitchen-sink
-   graphics package, but version 1.6.2 incorporates most of the commonly
+   graphics package, but version 1.6.3 incorporates most of the commonly
    requested features for an 8-bit 2D package. Support for scalable
    fonts, and truecolor images, JPEG and truecolor PNG is planned for
    version 2.0.
     
    gd can also be used from Perl, courtesy of Lincoln Stein's GD.pm
    library, which uses gd as the basis for a set of Perl 5.x classes. Not
-   yet updated for gd 1.6.2.
+   yet updated for gd 1.6.3.
+   
+    Tcl
+    
+   gd can be used from Tcl with John Ellson's Gdtclft dynamically loaded
+   extension package. (Gdtclft2.0 or later is needed for gd-1.6.3 with
+   PNG output.)
    
     Any Language
     
    text file from whatever scripting language you prefer to use, then
    invoke the interpreter.
    
-   These packages have not been updated to gd 1.6.2 as of this writing.
+   These packages have not been updated to gd 1.6.3 as of this writing.
      * tgd, by Bradley K. Sherman
      * fly, by Martin Gleeson
        
+  What's new in version 1.6.3?
+  
+   Version 1.6.3 corrects a memory leak in gd_png.c. This leak caused a
+   significant amount of memory to be allocated and not freed when
+   writing a PNG image.
+   
   What's new in version 1.6.2?
   
    Version 1.6.2 from John Ellson adds two new functions:
    (Windows), please consult with an experienced user of your system.
    Sorry, we cannot answer questions about basic Internet skills.
    
-   Unpacking the archive will produce a directory called "gd1.6.2".
+   Unpacking the archive will produce a directory called "gd-1.6.3".
    
     For Unix
     
-   cd to the gd1.6.2 directory and type "./configure", followed by
+   cd to the gd-1.6.3 directory and type "./configure", followed by
    "make". If you are the system administrator, and you wish to make the
    gd library available to other programs, you may also wish to type
    "make install".
                 gdImageChar is used to draw single characters on the
                 image. (To draw multiple characters, use gdImageString or
                 gdImageString16. See also gdImageStringTTF, new with
-                gd1.6.2.) The second argument is a pointer to a font
+                gd-1.6.2.) The second argument is a pointer to a font
                 definition structure; five fonts are provided with gd,
                 gdFontTiny, gdFontSmall, gdFontMediumBold, gdFontLarge,
                 and gdFontGiant. You must include the files "gdfontt.h",
                 the fifth argument is drawn from left to right in the
                 specified color. (See gdImageStringUp for a way of
                 drawing vertical text. See also gdImageStringTTF, new
-                with gd1.6.2.) Pixels not set by a particular character
+                with gd-1.6.2.) Pixels not set by a particular character
                 retain their previous color.
                 
 
                 gdImageColorExact and gdImageColorClosest for ways to
                 locate existing colors that approximate the color desired
                 in situations where a new color is not available. Also
-                see gdImageColorResolve, new in gd1.6.2.
+                see gdImageColorResolve, new in gd-1.6.2.
                 
 
 ... inside a function ...
 
 PACKAGE=gd
 
-VERSION=1.6.2
+VERSION=1.6.3
 
 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
   { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
 
 AC_CANONICAL_SYSTEM
 
-AM_INIT_AUTOMAKE(gd, 1.6.2)
+AM_INIT_AUTOMAKE(gd, 1.6.3)
 
 AC_PROG_CC
 AC_ISC_POSIX
         png_write_image(png_ptr, im->pixels);
         png_write_end(png_ptr, info_ptr);
     }
+    /* 1.6.3: maybe we should give that memory BACK! TBB */
+        png_destroy_write_struct(&png_ptr, &info_ptr);
 }
+
+
 <HTML>
 <HEAD>
-<TITLE>gd 1.6.2</TITLE>
+<TITLE>gd 1.6.3</TITLE>
 </HEAD>
 <BODY>
-<H1>gd 1.6.2</H1>
+<H1>gd 1.6.3</H1>
 <H2>A graphics library for fast image creation</H2>
 <H2>Follow this link to the
 <A HREF="http://www.boutell.com/gd/">latest version
 of this document</A>.</H2>
 <blockquote>
 <strong>HEY! READ THIS!</strong>
-gd 1.6.2 creates PNG images, not GIF images. This is a good thing.
+gd 1.6.3 creates PNG images, not GIF images. This is a good thing.
 PNG is a more compact format, and full compression is available.
 Existing code will need modification to call gdImagePng instead
 of gdImageGif. <strong>Please do not ask us to send you the old GIF
 still investigating the legal issues surrounding various
 alternative means of producing a valid GIF file.
 <p>
-gd 1.6.2 <strong>requires</strong> that the following libraries 
+gd 1.6.3 <strong>requires</strong> that the following libraries 
 also be installed:
 <p>
 libpng
 <H3>Table of Contents</H3>
 <UL>
 <LI><A HREF="#notice">Credits and license terms</A>
+<LI><A HREF="#whatsnew1.6.3">What's new in version 1.6.3?</A>
 <LI><A HREF="#whatsnew1.6.2">What's new in version 1.6.2?</A>
 <LI><A HREF="#whatsnew1.6.1">What's new in version 1.6.1?</A>
 <LI><A HREF="#whatsnew1.6">What's new in version 1.6?</A>
 Portions relating to libttf copyright 1999, John Ellson (ellson@lucent.com).
 <p>
 <strong>Permission has been granted to copy and distribute gd in any
-context, including a commercial application, provided that this notice
+context without fee, including a commercial application, provided that this notice
 is present in user-accessible supporting documentation.</strong>
 <p>
 This does not affect your ownership of the derived work itself, and the intent
 "Derived works" includes all programs that utilize the library.
 Credit must be given in user-accessible documentation.
 <p>
-Permission to use, copy, modify, and distribute this software and its
-documentation for any purpose and without fee is hereby granted, provided
-that the above copyright notice appear in all copies and that both that
-copyright notice and this permission notice appear in supporting
-documentation.  This software is provided "as is" without express or
-implied warranty.
-<p>
-Although their code does not appear in gd 1.6.2, the authors wish to 
-thank David Koblas, David Rowley, and Hutchison Avenue Software 
-Corporation for their prior contributions.
-<p>
-Permission to use, copy, modify, and distribute this software and its
-documentation for any purpose and without fee is hereby granted, provided
-that the above copyright notice appear in all copies and that both that
-copyright notice and this permission notice appear in supporting
-documentation. <strong>This software is provided "AS IS."</strong>
+<strong>This software is provided "AS IS."</strong>
 The copyright holders disclaim all warranties, either express or implied,
 including but not limited to implied warranties of merchantability and
 fitness for a particular purpose, with respect to this code and accompanying
 documentation.
+<p>
+Although their code does not appear in gd 1.6.3, the authors wish to 
+thank David Koblas, David Rowley, and Hutchison Avenue Software 
+Corporation for their prior contributions.
 </blockquote>
 <pre>
 END OF COPYRIGHT STATEMENT
 <P>
 gd does not provide for every possible desirable graphics
 operation. It is not necessary or desirable for gd to become
-a kitchen-sink graphics package, but version 1.6.2 incorporates
+a kitchen-sink graphics package, but version 1.6.3 incorporates
 most of the commonly requested features for an 8-bit 2D package.
 Support for scalable fonts, and truecolor images, JPEG and 
 truecolor PNG is planned for version 2.0.
 Lincoln Stein's
 <a href="http://www-genome.wi.mit.edu/ftp/pub/software/WWW/GD.html">
 GD.pm</a> library, which uses gd as the basis for a set of
-Perl 5.x classes. Not yet updated for gd 1.6.2.
+Perl 5.x classes. Not yet updated for gd 1.6.3.
 <h4>Tcl</h4>
 gd can be used from Tcl with John Ellson's
 <a href=http://www.tcltk.com/ftp/ellson/>Gdtclft</a>
 dynamically loaded extension package.
-(Gdtclft2.0 or later is needed for gd-1.6.2 with PNG output.)
+(Gdtclft2.0 or later is needed for gd-1.6.3 with PNG output.)
 <h4>Any Language</h4>
 There are, at the moment, at least three simple interpreters that
 perform gd operations. You can output the desired commands to a simple
 text file from whatever scripting language you prefer to use, then
 invoke the interpreter.
 <p>
-These packages have not been updated to gd 1.6.2 as of this writing.
+These packages have not been updated to gd 1.6.3 as of this writing.
 <ul>
 <li><a href="http://s27w007.pswfs.gov/tgd/">tgd</a>, by Bradley K. Sherman
 <li><a href="http://www.unimelb.edu.au/fly/fly.html">fly</a>, by Martin Gleeson
 </ul>
+<P><A NAME="whatsnew1.6.3"><H3>What's new in version 1.6.3?</H3></A>
+Version 1.6.3 corrects a memory leak in gd_png.c. This leak caused
+a significant amount of memory to be allocated and not freed when
+writing a PNG image. 
 <P><A NAME="whatsnew1.6.2"><H3>What's new in version 1.6.2?</H3></A>
 Version 1.6.2 from John Ellson <ellson@lucent.com> adds two new functions:
 <ul>
 <A NAME="getgd"><H3>How do I get gd?</H3></A>
 <h4>By HTTP</h4>
 <ul>
-<li><a href="http://www.boutell.com/gd/http/gd-1.6.2.tar.gz">Gzipped Tar File (Unix)</a>
-<li><a href="http://www.boutell.com/gd/http/gd162.zip">.ZIP File (Windows)</a>
+<li><a href="http://www.boutell.com/gd/http/gd-1.6.3.tar.gz">Gzipped Tar File (Unix)</a>
+<li><a href="http://www.boutell.com/gd/http/gd163.zip">.ZIP File (Windows)</a>
 </ul>
 <h4>By FTP</h4>
 <ul>
-<li><a href="ftp://ftp.boutell.com/pub/boutell/gd/gd-1.6.2.tar.gz">Gzipped Tar File (Unix)</a>
-<li><a href="ftp://ftp.boutell.com/pub/boutell/gd/gd162.zip">.ZIP File (Windows)</a>
+<li><a href="ftp://ftp.boutell.com/pub/boutell/gd/gd-1.6.3.tar.gz">Gzipped Tar File (Unix)</a>
+<li><a href="ftp://ftp.boutell.com/pub/boutell/gd/gd163.zip">.ZIP File (Windows)</a>
 </ul>
 <P>
 <A NAME="buildgd"><H3>How do I build gd?</H3></A>
 consult with an experienced user of your system. Sorry, we cannot
 answer questions about basic Internet skills.
 <p>
-Unpacking the archive will produce a directory called "gd-1.6.2".
+Unpacking the archive will produce a directory called "gd-1.6.3".
 <p>
 <h4>For Unix</h4>
-<code>cd</code> to the gd-1.6.2 directory and type "./configure",
+<code>cd</code> to the gd-1.6.3 directory and type "./configure",
 followed by "make". If you are the system administrator, and you
 wish to make the gd library available to other programs, you may 
 also wish to type "make install".
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.