2000 6 Feb Toshio Kuratomi * configure.in: Change to using config.h - Every .c file: Change to using config.h. * configure.in: added check for varargs header. * lib/getarg.c: Changed the ifdef USE_VARARGS to ifdef HAVE_VARARGS_H. - lib/getarg.h: Ditto. - lib/gif_lib.h: Ditto. - lib/qprintf.h: Ditto. 2000 6 Feb Toshio Kuratomi * lib/getarg.h: Prepend an underscore to the header file define. * lib/gif_lib.h: Ditto * lib/gif_lib_private.h: Ditto * lib/getarg.c: ifdef'd MyMalloc so it actually won't define if it already is. 2000 3 Feb Toshio Kuratomi * A new cvs repository based my private tree from home. It now goes back to giflib-3.0. * Updated the cvs repository to make multiple developers possible. * Merge all of Michael's patches into the distribution. * DEVELOPER: Updated to reflect the new versions of autoconf/automake/libtool we're using. * libungif.spec: Updated a few things from the latest redhat spec file. 1999 5 Dec Toshio Kuratomi * Update links to the web pages as I have reorganized them somewhat. * Add the welcome2.gif to the pic directory and a test that utilizes it to test-unx. 1999 17 Nov Toshio Kuratomi * New cvs Repository. Hopefully I've got everything that was in the old one. This one is available on anonymous cvs. * Update to libtool 1.3.3, automake 1.4, and autoconf 2.13 1999 23 May Michael R Brown * Lots of 'const' qualifiers added, thanks Alexis Wilke for finding these. 1999 22 Mar Michael R Brown * util/gif2x11.c: Patch by (who?) to fix lots of memory leeks. * util/*.c: lib/dgif_lib.c: Makefile.in: Patch by David Kaelbling to compile on IRIX 6.x. Basically fixing lots of bad/missing parameter passing to printf, scanf and similar. * Added pics/welcome2.gif, from Peter Merz which provokes a bug prior to patch 19990224 to do with colour map management. There is still a problem with util/gifspnge processing this image, so it will not be added to test-unx yet. 1999 05 Mar Michael R Brown * lib/getarg.c: Lines 107 and 189 Added ifdef's to use stdarg when available. On dec-alpha the default code was causing programs to crash, probably because it assumes a stack that grows-up. 1999 24 Feb Michael R Brown * lib/dgif_lib.c: Lines 363 and 367 Bug reported by Steve Sanders, where &'s where causing the memcpy to overwrite the pointers. Fixed by removing the &'s so that memcpy overwrote the memory pointed to. 1999 20 Jan Toshio Kuratomi * Release 4.1.0 1999 20 Jan Toshio Kuratomi * upgrade to libtool 1.2b * util/Makefile.am: Minor change to allow compilation outside the source_dir. 1999 19 Jan Toshio Kuratomi * lib/egif_lib.c: FILE_STATE_WRITE, FILE_STATE_SCREEN, FILE_STATE_IMAGE, IS_WRITEABLE are now in gif_lib_private.h * lib/dgif_lib.c: FILE_STATE_READ and IS_READABLE are now in gif_lib_private.h * lib/gif_lib_private.h: Above mentioned constants and macros are now here. FILE_STATE_READ is now 0x08 instead of 0x00. 1999 19 Jan Toshio Kuratomi * configure.in: Update version to 4.1.0 * lib/Makefile.am: Update libtool version to 4:0:0 (libtool) * libungif.spec: Update for version 4.1.0 (Add giflib-4.1 compatibility stuff and change version.) * libungif.lsm: Update for version 4.1.0 1999 19 Jan Toshio Kuratomi * lib/egif_lib.c: (WRITE) change from a function to a macro. 1999 19 Jan Toshio Kuratomi * lib/dgif_lib.c: (DGifOpenFileName) close FileHandle on error. * lib/dgif_lib.c: (DGifOpenFileHandle) make sure the FILE stream is closed if we hit an error. 1999 19 Jan Toshio Kuratomi * lib/dev2gif.c, lib/quantize.c, lib/gif_err.c, lib/gif_lib_private.h: Reflect Eric's copyright notice rather than Gershon's 1999 14 Jan Michael R Brown * lib/gif_lib.h: Add OutputFunc type * lib/gif_lib.h: Add EGifOpen for user supplied output function * lib/egif_lib.c: (EGifOpenFileName) Fixed wasted memory when an error occurs in EGifOpenFileHandle * lib/egif_lib.c: Add EGifOpen, WRITE, and lots of changes to support user supplied output function. Basically changing all fwrite's to WRITE, and then all of the knock on effects. 1998 15 Dec Toshio Kuratomi * lib/dgif_lib.c: (DGifSlurp) Fix a Seg Fault when an image contains no extension blocks. 1998 14 Dec Toshio Kuratomi * configure.in: Update version to 4.0 * lib/Makefile.am: Update libtool version to 4:0:0 (libtool) * libungif.spec: Update for version 4.0 (not binary compatible with giflib, change version.) * lib/gif_lib_private.h: (PrivateType) New header for common stuff private to the library. Currently, this is only the Private struct. * lib/dgif_lib.c: (PrivateType) Extract the Private struct to gif_lib_private.h * lib/egif_lib.c: (PrivateType) Extract the Private struct to gif_lib_private.h * lib/Makefile.am: Add gif_lib_private.h to the list of source files. * lib/gif_lib.h: (ExtensionBlock) Add a Function entry to the ExtensionBlock record. Note that this is not entirely correct: the GifLib ExtensionBlock structure is actually a data sub-block record. By adding the function entry here, we are pushing the ExtensionBlockType in with the DataSubBlock. Sometime in the future, we need to change the API to have true ExtensionBlocks which have DataSubBlocks belonging to them. * lib/gif_lib.h: (ExtensionBlock) Deprecate the use of Function in the SavedImage struct. Use ExtensionBlock's Function instead. * lib/egif_lib.c: (EGifSpew) Changes to use the new Function variable. * lib/dgif_lib.c: (DGifSlurp) Changes to put data into the new Function variable. 1998 3 Dec Toshio Kuratomi * lib/dgif_lib.c: (DGifSlurp) Three changes: - No longer allocate SaveImage in this function. All allocations of SaveImage take place in DGifGetImageDesc. - Extension blocks are now associated with the Image Block that is read in subsequent to them, not before. This should now be conformant to the gif89a specification. - Fix an off-by-one error when copying extension data from structure to structure. * lib/dgif_lib.c: (DGifGetImageDesc) Change the function to do its own allocation of space for the SavedImage structure no matter what. * lib/egif_lib.c: (EGifSpew) The function now spits out ExtensionBlocks before the associated Image Block to conform with the gif89a specification. * lib/egif_lib.c: (EGifOpenFileHandle) Move the write of the GifVersion (gif87a or gif89a) from this function into EGifPutScreenDesc so that it can be controlled by EGifSpew. Note that this is still a hack as the GifVersion write doesn't really belong in either of these functions. * lib/egif_lib.c: (EGifPutScreenDesc) Moved writing the version (gif87a or gif89a) into the file into this function from EGifOpenFileHandle. * test-unx: Now test the extension code. * pic/x-trans.gif: New image with Comments and transparency to test the extension code with. 1998 29 Nov Toshio Kuratomi * lib/dgif_lib.c: (DGifSlurp) Fix a few of the minor bugs plaguing this function. At this point, the function should no longer cause a Seg Fault. It is now losing all extension data however. I know how to hack a fix in, but I need to commit these changes first. * lib/dgif_lib.c: (DGifGetImageDesc) Fix my bug fix: the colormap is now only copied if it exists :-). 1998 10 Nov Toshio Kuratomi * test-unx: Add a test for DGifSlurp and EGifSpew 1998 14 Oct Toshio Kuratomi * lib/dgif_lib.c: (DGifGetImageDesc) Fix a bug where the Colormap for the image description and the SaveImage were pointers to the same structure, causing a SegV when DGifClosing the file. 1998 9 Oct Toshio Kuratomi * lib/dgif_lib.c: (DGifSlurp) memory for the extensions was not being allocated. Now I call AddExtensionBlock when I add an extension to the structure. Additionally, fix a memory leak here. * configure.in, NEWS, lib/Makefile.am: Update to version 3.1.1 * ltmain.sh, ltconfig: removed from the cvs repository * BUGS: add the BUGS file to list unresolved BUGS. 1998 9 Sep Toshio Kuratomi * libungif.spec: Fix wrong version in %files and %install section. 1998 8 Sep Toshio Kuratomi * lib/gif_hash.c, lib/gif_hash.h: Removed these because a hash table is not needed to create uncompressed gifs. * lib/egif_lib.c: Remove all references to the hash functions. * lib/Makefile.am: Remove gif_hash.c gif_hash.h from the source files. * libungif.lsm: added this file 1998 7 Sep Toshio Kuratomi * lib/dgif_lib.c, lib/gif_lib.h: (DGifOpen) Add callback to read gif image through user supplied function (Peter Mehlitz). 1998 6 Sep Toshio Kuratomi * util/*.{gif.rle}: removed files that were left by my testing process and shouldn't have been in the distribution. * UNCOMPRESSED_GIF: add section on why software that can decode LZW compressed gifs (but not write them) is legal. * .cvsignore: added .cvsignore files to ignore Makefiles and other generated files in my cvs repository. * Makefile.am's: Fixes to allow the dist* family of targets to work correctly. Preliminary support for make check as well. * configure.in: Update version to 3.1.0 * lib/Makefile.am: Update libtool version to 4:0:1 libtool) * libungif-3.0.spec: Update from Marc Ewing. * Add int/pointer Alpha fixes from Dick Porter to many source files.