1. libgd
  2. Untitled project
  3. gd-libgd


pierre  committed d88fae2

- sync to 2.0.25

  • Participants
  • Parent commits 50733fb
  • Branches master
  • Tags GD_2_0_25

Comments (0)

Files changed (9)

File src/configure

View file
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.57 for GD 2.0.24.
+# Generated by GNU Autoconf 2.57 for GD 2.0.25.
 # Report bugs to <gd@boutell.com>.
 # Identity of this package.
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures GD 2.0.24 to adapt to many kinds of systems.
+\`configure' configures GD 2.0.25 to adapt to many kinds of systems.
 Usage: $0 [OPTION]... [VAR=VALUE]...
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of GD 2.0.24:";;
+     short | recursive ) echo "Configuration of GD 2.0.25:";;
   cat <<\_ACEOF
 test -n "$ac_init_help" && exit 0
 if $ac_init_version; then
   cat <<\_ACEOF
-GD configure 2.0.24
+GD configure 2.0.25
 generated by GNU Autoconf 2.57
 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
-It was created by GD $as_me 2.0.24, which was
+It was created by GD $as_me 2.0.25, which was
 generated by GNU Autoconf 2.57.  Invocation command line was
   $ $0 $@
 # Define the identity of the package.
- VERSION=2.0.24
+ VERSION=2.0.25
 cat >>confdefs.h <<_ACEOF
 } >&5
 cat >&5 <<_CSEOF
-This file was extended by GD $as_me 2.0.24, which was
+This file was extended by GD $as_me 2.0.25, which was
 generated by GNU Autoconf 2.57.  Invocation command line was
-GD config.status 2.0.24
+GD config.status 2.0.25
 configured by $0, generated by GNU Autoconf 2.57,
   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"

File src/configure.ac

View file
 #HEY! Change BOTH the vesion number and the GDLIB_REVISION setting!
-AC_INIT([GD], [2.0.24], [gd@boutell.com])
+AC_INIT([GD], [2.0.25], [gd@boutell.com])

File src/gd.h

View file
 /* 2.0.20: for actual storage of exported data, functions don't need this,
   currently needed only for font pointers */
 #ifdef BGDWIN32
+#define BGD_EXPORT_DATA_PROT __declspec(dllexport) extern
 #define BGD_EXPORT_DATA_IMPL __declspec(dllexport)
 #ifdef WIN32
-#define BGD_EXPORT_DATA_IMPL __declspec(dllimport)
+#define BGD_EXPORT_DATA_PROT __declspec(dllimport) extern
+#define BGD_EXPORT_DATA_IMPL __declspec(dllimport) 
-/* 2.0.20: should be nothing at all */
+/* 2.0.25: bring back extern */
+#define BGD_EXPORT_DATA_PROT extern
 #endif /* WIN32 */
 #endif /* BGDWIN32 */

File src/gdfontg.h

View file
 #include "gd.h"
-   BGD_EXPORT_DATA_IMPL gdFontPtr gdFontGiant;
+   BGD_EXPORT_DATA_PROT gdFontPtr gdFontGiant;
    BGD_DECLARE(gdFontPtr) gdFontGetGiant(void);
 #ifdef __cplusplus

File src/gdfontl.h

View file
 #include "gd.h"
-   BGD_EXPORT_DATA_IMPL gdFontPtr gdFontLarge;
+   BGD_EXPORT_DATA_PROT gdFontPtr gdFontLarge;
    BGD_DECLARE(gdFontPtr) gdFontGetLarge(void);
 #ifdef __cplusplus

File src/gdfontmb.h

View file
 #include "gd.h"
-   BGD_EXPORT_DATA_IMPL  gdFontPtr gdFontMediumBold;
+   BGD_EXPORT_DATA_PROT  gdFontPtr gdFontMediumBold;
    BGD_DECLARE(gdFontPtr) gdFontGetMediumBold(void);
 #ifdef __cplusplus

File src/gdfonts.h

View file
 #include "gd.h"
-   BGD_EXPORT_DATA_IMPL gdFontPtr gdFontSmall;
+   BGD_EXPORT_DATA_PROT gdFontPtr gdFontSmall;
    BGD_DECLARE(gdFontPtr) gdFontGetSmall(void);
 #ifdef __cplusplus

File src/gdfontt.h

View file
 #include "gd.h"
-   BGD_EXPORT_DATA_IMPL  gdFontPtr gdFontTiny;
+   BGD_EXPORT_DATA_PROT  gdFontPtr gdFontTiny;
    BGD_DECLARE(gdFontPtr) gdFontGetTiny(void);
 #ifdef __cplusplus

File src/index.html

View file
 <!-- REMEMBER TO EDIT index.html.source -->
-<TITLE>gd 2.0.24</TITLE>
+<TITLE>gd 2.0.25</TITLE>
 <body bgcolor="#FFFFFF">
 <!-- BANNER HERE -->
-<H2>gd 2.0.24</H2>
+<H2>gd 2.0.25</H2>
 <H3>A graphics library for fast image creation</H3>
 <H3>Follow this link to the
 <A HREF="http://www.boutell.com/gd/">latest version
 new installation overwrites the old.
 <strong>ABOUT GD AND GIF:</strong>
-gd 2.0.24 creates PNG, JPEG and WBMP images, not GIF images. This is a 
+gd 2.0.25 creates PNG, JPEG and WBMP images, not GIF images. This is a 
 good thing.  PNG is a more compact format, and full compression is
 available.  JPEG works best with photographic images, and is still
 more compatible with the major Web browsers than even PNG is. WBMP is
 modern image formats such as PNG and JPEG as soon as possible.
-When building from soruce, gd 2.0.24 <strong>requires</strong> that the 
+When building from soruce, gd 2.0.25 <strong>requires</strong> that the 
 following libraries also be installed, in order to produce the related 
 image formats. The win32 binary release (bgd) already contains the
 appropriate libraries.
 <H3>Table of Contents</H3>
 <LI><A HREF="#notice">Credits and license terms</A>
-<LI><A HREF="#whatsnew2.0.24">What's new in version "XYZ" of GD?</A>
+<LI><A HREF="#whatsnew2.0.25">What's new in version "XYZ" of GD?</A>
 <LI><A HREF="#whatis">What is gd?</A>
 <LI><A HREF="#gdother">What if I want to use another programming language?</A>
 <LI><A HREF="#required">What else do I need to use gd?</A>
 <A NAME="gdother"><H3>What if I want to use another programming
 Not all of these tools are necessarily up to date and fully compatible
-with 2.0.24.
+with 2.0.25.
 A variant of gd 2.x is included in PHP 4.3.0. It is also possible
-to patch PHP 4.2.3 for use with gd 2.0.24; see the
+to patch PHP 4.2.3 for use with gd 2.0.25; see the
 <a href="http://www.boutell.com/gd/">gd home page</a> for a link to
 that information. It would be a Good Idea to merge all of the things
 that are better in mainstream gd and all of the things that are
 <li><a href="http://martin.gleeson.com/fly/">fly</a>, by Martin Gleeson
+<A NAME="whatsnew2.0.25"><H3>What's new in version 2.0.25?</H3></A>
+Owing to an oversight while making changes to better accommodate the use
+of gd as a DLL, the <b>extern</b> qualifier was dropped from the 
+declarations of font pointers in 2.0.24. This has been corrected.
+Thanks to Richard ("OpenMacNews").
 <A NAME="whatsnew2.0.24"><H3>What's new in version 2.0.24?</H3></A>
 <b>Windows DLL now uses __stdcall calling convention.</b> Existing
 <h4>Source Code:</h4>
-<li><a href="http://www.boutell.com/gd/http/gd-2.0.24.tar.gz">Gzipped Tar File (Unix)</a>
-<li><a href="http://www.boutell.com/gd/http/gd-2.0.24.zip">.ZIP File of SOURCE CODE (Windows)</a>
+<li><a href="http://www.boutell.com/gd/http/gd-2.0.25.tar.gz">Gzipped Tar File (Unix)</a>
+<li><a href="http://www.boutell.com/gd/http/gd-2.0.25.zip">.ZIP File of SOURCE CODE (Windows)</a>
 <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.
-Unpacking the archive will produce a directory called "gd-2.0.24".
+Unpacking the archive will produce a directory called "gd-2.0.25".
 <h4>For Unix</h4>
-<code>cd</code> to the 2.0.24 directory and type:
+<code>cd</code> to the 2.0.25 directory and type: