Imported Upstream version 4.1.6
[platform/upstream/giflib.git] / ChangeLog
1 2007-11-10 14:50  abadger1999
2
3         * NEWS, configure.ac, lib/Makefile.am, lib/egif_lib.c,
4           lib/gif_hash.c: 4.1.6 update.  Errors in including headers could
5           lead to build problems on some platforms.
6
7 2007-11-10 13:16  abadger1999
8
9         * configure.ac: Bump release version in configure.ac.
10
11 2007-11-10 13:15  abadger1999
12
13         * Makefile.am: Remove PATENT_PROBLEMS from build rules as well.
14
15 2007-11-10 13:09  abadger1999
16
17         * NEWS, PATENT_PROBLEMS, lib/Makefile.am: Remove PATENT_PROBLEMS as
18           it's no longer covered.  Update NEWS and Makefile.am for the new
19           release.
20
21 2007-11-10 10:46  abadger1999
22
23         * configure.ac, util/gif2epsn.c, util/gif2iris.c, util/gif2ps.c,
24           util/gif2rgb.c, util/gif2rle.c, util/gif2x11.c: Find and fix
25           segfaults in the gif2* programs due to referencing the ColorMap
26           beforefinding out if hte GifFile produced a valid colormap or was
27           corrupt.
28
29 2007-11-10 09:30  abadger1999
30
31         * lib/dgif_lib.c: Add checks to fail gracefully when corrupted
32           images are submitted that have improper LZ codes.
33
34 2007-11-10 09:22  abadger1999
35
36         * lib/: dgif_lib.c, egif_lib.c: Further checks to compile correctly
37           on WIN32.
38
39 2007-11-09 20:28  abadger1999
40
41         * util/giftext.c: Fix a SegFault when a GifFile does not store a
42           global colormap.
43
44 2007-11-09 20:13  abadger1999
45
46         * util/gif2x11.c: Fix gif2x11 to work with modern, 24 bit displays.
47
48 2007-11-09 14:18  abadger1999
49
50         * configure.ac: Check for headers as well as the libraries for rle,
51           X11, and gl_s.
52
53 2007-11-09 13:24  abadger1999
54
55         * configure.ac: Merge better fix for finding an unsignd 32 bit
56           integer type.
57
58 2007-11-09 13:01  abadger1999
59
60         * configure.ac: Add configure comman line switches to turn off X11,
61           rle, and gl support.
62
63 2007-11-09 12:36  abadger1999
64
65         * configure.ac, util/Makefile.am: Fixes to build under cygwin.
66
67 2007-11-09 11:49  abadger1999
68
69         * configure.ac: Make GCC check more robust.  Add a needed automake
70           check.
71
72 2007-11-09 11:48  abadger1999
73
74         * lib/dgif_lib.c: Fix closing file handles on failure in
75           DGifOpenFileHandle().
76
77 2007-11-09 11:33  abadger1999
78
79         * lib/egif_lib.c: Save files in binary mode for WIN32 as well as
80           MSDOS.
81
82 2007-11-09 11:25  abadger1999
83
84         * lib/Makefile.ms: * Makefile for building under Visual C++ from
85           Bug #981209.
86
87 2005-11-13 20:14  abadger1999
88
89         * configure.ac, lib/Makefile.am, util/Makefile.am: Changes to
90           conditionalize -Wall upon compiling with gcc.
91
92 2005-11-06 08:45  abadger1999
93
94         * lib/: gif_hash.c, gif_hash.h: Add inttypes.h to the headers we
95           could include to get a 32-it int type.
96
97 2005-11-06 08:34  abadger1999
98
99         * configure.ac: Search for ISO/ANSI definitions of uint32_t in
100           stdint.h _and_ inttypes.h before POSIX u_int32_t in sys/types.h
101           as some systems have sys/types.h without the definition.
102           Eventually we need to code a test that the expected UINT32
103           definition exists in the header we select so order does not
104           matter.
105
106 2005-11-06 08:32  abadger1999
107
108         * AUTHORS, README: Modify so that it no longer appears that esr
109           still maintains this package.
110
111 = giflib-4.1.4 =
112
113 2005-10-09 Toshio Kuratomi <toshio@tiki-lounge.com> - r94    
114     * Sync with libungif r93.
115     * ChangeLog: Update to r92.
116     * NEWS: Update with combined libungif/giflib changes.
117     
118 2005-10-09 Toshio Kuratomi <toshio@tiki-lounge.com> - r92    
119     * lib/gif_lib.h: Change GifPrefixType to unsigned.
120     
121 2005-10-09 Toshio Kuratomi <toshio@tiki-lounge.com> - r91    
122     * ChangeLog: Update to r90.
123     * NEWS: Update on GBA and Windows fixes.
124     
125 2005-10-06 Toshio Kuratomi <toshio@tiki-lounge.com> - r90    
126     Changes from Lennie Araki:
127     * gba/giftest.mak: Prefix the names of defines for the GBA build with _GBA.
128     * lib/dgif_lib.c, lib/gif_lib_private.h, lib/gif_err.c:
129       - When Compiling for Game Boy Advance, file functions are not needed so
130         exclude DGifOpenFileName(), DGifOpenFileHandle(), DGifSlurp(), and
131         PrintGifError().
132       - On Game Boy Advance we need to reduce memory usage.  Change values to
133         short int where appropriate.
134     * lib/gif_lib.h:
135       - Handle te GBA changes by defining GifPrefixType and GifWord to int
136         unless compiling on GBA.  Then use unsigned short and short
137         respectively.
138       - Fix a problem with the API on _WIN32.  DrawText conflicts with the
139         Windows API.  Call it DrawGifText instead.
140       
141 2005-09-27 Toshio Kuratomi <toshio@tiki-lounge.com> - r86    
142     * Sync with libungif r85.
143     
144 2005-09-27 Toshio Kuratomi <toshio@tiki-lounge.com> - r82    
145     * AUTHORS: Add Daniel Eisenbud.  Obscure email addresses.
146     * libungif.spec: Bump to version 4.1.4.
147     * configure.ac: Bump to 4.1.4.  No longer check for ranlib.
148     * doc/lzgif.txt: Change dos line encoding to UNIX.
149     * lib/dgif_lib.c: (eisenbud)
150       - Set GifFile's ColorMaps to NULL when we free a colormap object.
151       - Detect some cases of corrupted GIFs which were crashing the library.
152     * lib/egif_lib.c: Set ColorMaps to NULL when we free a colormap object.
153     * lib/gifalloc.c: Set ColorMaps to NULL when we free a colormap object.
154     * lib/dev2gif.c: Fix redefinition problem on IRIX.
155     * NEWS: Update to 4.1.4
156     * util/gifcomb.c: Set a olorMap to NULL.
157     
158 2004-07-11 Toshio Kuratomi <toshio@tiki-lounge.com> - r79    
159     * gif2iris.c: Fixes from Georg Schwarz <geos[AT]epost.de>.
160       - stdlib.h is available and needs to be included on IRIX.
161       - ColorMapSize was being set from non-existent variables.
162     
163 2004-05-29 Toshio Kuratomi <toshio@tiki-lounge.com> - r76    
164     * Sync with libungif-4.1.3.
165
166 2004-05-29 Toshio Kuratomi <toshio@tiki-lounge.com> - r74    
167     * ChangeLog, prop=lastlog: Sync with the subversion logs.
168     
169 2004-05-29 Toshio Kuratomi <toshio@tiki-lounge.com> - r73    
170     * test-unx: Add a test of extension code.
171     * lib/egif_lib.c: Remove a debugging statement
172     
173 2004-05-29 Toshio Kuratomi <toshio@tiki-lounge.com> - r72    
174     * Makefile.am, doc/Makefile.am, pic/Makefile.am: Change wildcarded entries
175       into explicit filenames so make distcheck will succeed.
176     
177 2004-05-29 Toshio Kuratomi <toshio@tiki-lounge.com> - r71    
178     * ChangeLog, prop=lastlog: Sync the ChangeLog for the release.
179     
180 2004-05-29 Toshio Kuratomi <toshio@tiki-lounge.com> - r70    
181     * AUTHORS: Add Lennie Araki to the list of contributers.
182     * windows: The windows subdirectory and all files under it are contributions
183       from Lennie Araki to provide a nice interface on MS Windows.
184     * README: Redundancy fix.
185     * doc/gif_lib.html: Add EGifPutExtension{First,Next,Last} to the documentation
186       so people know they should use it instead of EGifPutExtension.
187     * Makefile.am: Mark the windows files to be distributed.
188     * NEWS: Complete the NEWS item for 4.1.3.
189     
190 2004-05-29 Toshio Kuratomi <toshio@tiki-lounge.com> - r69    
191     * libungif.spec: Some updates from the latest RedHat spec.
192     * configure.ac: Bump version to 4.1.3.
193     * lib/gifalloc.c: Add to my comments on ESR's note about Extension blocks.
194     * lib/egif_lib.c:
195       - EGifPutComment(): reimplemented using EGifPutExtensionFirst, Next, and
196         Last so that it won't break on unusually long comments.
197       - EGifPutExtension{First,Next,Last}: Changed fwrites to WRITE so any
198         user defined write function will get called properly.
199       - EGifPutExtensionLast: if the Extension block is empty (Zero length)
200         then don't attempt to output a last extension block, just output the 
201         block terminator.
202       - EGifPutExtension: Comment that this function does not work when there
203         are multiple subblocks in an Extension block.  Use the functions
204         EGifPutExtension{First,Next,Last} instead.
205       - EGifSpew: Reimplement to use EGifPutExtension{First,Next,Last} so we
206         don't output broken GIFs when there are multiple sub-blocks on an
207         extension.
208     * lib/Makefile.am: Bump version to 4.1.3.
209     * NEWS: Begin writing an entry for 4.1.3.
210     * util/icon2gif.c: Few casting fixes to make gcc -Wall happy.
211     * util/gif2ps.c: printf format string corrections.
212     
213 2004-05-26 Toshio Kuratomi <toshio@tiki-lounge.com> - r67    
214     * Clean up some typos.
215     
216 2004-05-25 Toshio Kuratomi <toshio@tiki-lounge.com> - r66
217     * Sync with libungif-4.1.2.
218
219 2004-03-03 Toshio Kuratomi <toshio@tiki-lounge.com> - r64    
220     Last minute updates to the release notes in various files.
221
222 2004-03-03 Toshio Kuratomi <toshio@tiki-lounge.com> - r63    
223     * Set property lastlog to remind me when I last synced the ChangeLog
224
225 2004-03-03 Toshio Kuratomi <toshio@tiki-lounge.com> - r62    
226     * ChangeLog: Update
227
228 2004-03-03 Toshio Kuratomi <toshio@tiki-lounge.com> - r61    
229     * configure.ac: Bump version to 4.1.2
230     
231 2004-02-22 Toshio Kuratomi <toshio@tiki-lounge.com> - r59    
232     * configure.ac, lib/Makefile.am: Bump version.  Forgot to do this for 4.1.1...
233
234 2004-02-22 Toshio Kuratomi <toshio@tiki-lounge.com> - r58    
235     * TODO: Take out -Wall as that's all ready now.
236
237 2004-02-22 Toshio Kuratomi <toshio@tiki-lounge.com> - r57    
238     Merge changes to the code from branch indent-audit r55
239     * README: MakeExtension deprecation note.
240     * TODO: Bunch of things I need to fix or check that I saw while doing the
241       indentation of the code.
242     * lib/getarg.h: indent changes
243     * lib/dgif_lib.c: indent changes
244       - Move stdlib.h out of #ifdef's as it's included on all platforms.
245       - Add checks to be sure malloc and MakeMapObject succeed.
246     * lib/quantize.c: indent changes
247       - Move stdlib.h out of #ifdef's as it's included on all platforms.
248       - _GifError already pulled in through gif_lib_private.h.  Remove decl.
249       - Make Count in NewColorMapType be unsigned.
250       - Separated mallocs from conditionals in a few places.  Easier reading.
251     * lib/gifalloc.c: indent changes
252       - Added four FIXME's where I think the code might not be doing what we
253         want.  Need to do more research to figure out.
254       - Add note to MakeExtension that I think it needs to be deprecated.
255       - Separated mallocs from conditionals in a few places.  Easier reading.
256       - FreeLastSavedImage: New private function to free the last image in a
257         GifFile structure.  Used to back out when unable to completely
258         allocate a new SavedImage structure.
259       - check for NULL values before deallocating in Free* functions and make
260         sure all Free* functions set the pointer to NULL after they deallocate
261         the memory.
262     * lib/egif_lib.c: indent changes
263       - EGifPutScreenDesc: If we have no colormap, output a default value for
264         its size instead of trying to reference its unallocated BitsPerPixel
265         field. (Fixes bug noted in r46)
266     * lib/gif_lib.h: indent changes
267       - Condense the #else #if VARARGS to #elif VARARGS check.
268     * lib/qprintf.c: indent changes
269       - Condense the #else #if VARARGS to #elif VARARGS check.
270     * lib/dev2gif.c: indent changes
271     * lib/getarg.c: indent changes
272     * lib/gif_lib_private.h: indent changes
273     * lib/gif_font.c: indent changes
274     * lib/gif_err.c: indent changes
275     
276 2004-02-22 Toshio Kuratomi <toshio@tiki-lounge.com> - r56    
277     * lib/Makefile.am, util/Makefile.am: Add -Wall to the compilation flags so
278       we can keep the code from acquiring too much bad style.
279     
280 2004-02-20 Toshio Kuratomi <toshio@tiki-lounge.com> - r46    
281     * egif_lib.c: Note for a bug fix (Can wait until after indent because
282       there's no patch.)
283     * gif_lib.h, dev2gif.c: Change int type to explicit long type in
284       DumpScreen2Gif.
285     * util/gifinto.c: Give the fprintf back its %d format.
286       GifFile->ImageCount is used as the Image number.
287     
288 2004-02-20 Toshio Kuratomi <toshio@tiki-lounge.com> - r45    
289     * README: add varargs to the deprecation list
290
291 2004-02-20 Toshio Kuratomi <toshio@tiki-lounge.com> - r44    
292     * test-unx: Quote the program names.
293     * lib/dgif_lib.c:
294       - Make sure memory was allocated for the colormap
295       - Some reformatting of code but no syntactic changes.
296     * lib/gif_lib.h:
297       - C++ extern "C" fix
298       - Fix typo with EGifOpen
299     * lib/qprintf.c, lib/getarg.c: Update the varargs code.  Some users reported
300       that not all systems can handle the hybridized varargs parameter lists
301       we had.  Need to use old-style declarations instead.
302     
303 2004-02-20 Toshio Kuratomi <toshio@tiki-lounge.com> - r43    
304     * NEWS: Note bugfixes and deprecations
305     * README: Deprecation list is now being compiled in this file.
306     * TODO: Notes about interlace bug, -Wall status, merging of old bug status
307     
308 2004-02-19 Toshio Kuratomi <toshio@tiki-lounge.com> - r42    
309     * Makefile.am: Disable testing for now because gif2x11 is broken so none
310       of the tests _appear_ to complete successfully.
311     
312 2004-02-19 Toshio Kuratomi <toshio@tiki-lounge.com> - r38    
313     Merge -Wall fixes from branches/Wall-audit r29
314     * configure.ac:
315       - Make the stdarg vs varargs check simpler by relying on
316         AC_CHECK_HEADERS() magic.
317       - Check for unistd.h
318     * dgif_lib.c, gif_lib.h, egif_lib.c, gifalloc.c, quantize.c, dev2gif.c,
319       getarg.c, gif_lib_private.h, gif_font.c gif_err.c, gifinto.c, icon2gif.c,
320       raw2gif.c, gifcolor.c, gifasm.c, gif2epsn.c, gif2iris.c, gifrotat.c,
321       gifovly.c, gif2x11.c, rle2gif.c, gif2rle.c, text2gif.c, gifspnge.c,
322       gifclrmp.c, giffiltr.c, giftext.c, gifinfo.c, rgb2gif.c, gif2rgb.c, gif2ps.c
323       - Changes to get rid of -Wall compile warnings.
324         + Casting of types
325         + New header includes for unistd.h and fcntl.h
326         + Explicit declaration of many types to unsigned
327         + Removed unused variables and functions
328         + Removed VersionStr from every library file.  Instead include it via
329           gif_lib_private.h
330     * gif_lib.h, gif_lib_private.h: Moved the VersionStr into gif_lib_private.h
331       and made it a #define instead of a static char *.
332     
333 2004-02-19 Toshio Kuratomi <toshio@tiki-lounge.com> - r37    
334     Deprecation notes
335
336 2004-02-19 Toshio Kuratomi <toshio@tiki-lounge.com> - r36    
337     Add notes about security things to do and giflib syncing
338
339 2004-02-18 Toshio Kuratomi <toshio@tiki-lounge.com> - r32  
340   * TODO: Add notes about how to go about syncing Wall-audit and indent changes
341     into giflib.  It won't be pretty.
342   * svn:ignore: Change the tarball names from libungif to giflib
343
344 2004-02-18 Toshio Kuratomi <toshio@tiki-lounge.com> - r31  
345   Add config.h include to gif_hash.c
346
347 2004-02-17 Toshio Kuratomi <toshio@tiki-lounge.com> - r30  
348   Sync up with libungif 4.1.1
349
350 2004-02-17 Toshio Kuratomi <toshio@tiki-lounge.com> - r26    
351     Updated ChangeLog
352
353 2004-02-17 Toshio Kuratomi <toshio@tiki-lounge.com>
354         * Updated libungif.spec to look more like fedora core spec
355         * Updated version numbers in all files
356
357 2004-02-17 Toshio Kuratomi <toshio@tiki-lounge.com>
358         * Add the libungif*.tar.bz2 distribution tarball to the ignored files
359         * configure.ac, lib/getarg.c, lib/getarg.h, lib/gif_lib.h, lib/qprintf.c:
360           Prefer stdarg.h over vararg.h
361         * TODO: Add information about functions that will go away in 5.0
362           (In reality, I don't think new software uses libungif, so there may never
363           be a 5.0 release.)
364         * lib/gif_lib.h: Change version from 4.0 to 4.1
365         * NEWS: add deprecation warning for the qprintf stuff: GifQuietPrint var and 
366           GifQprintf function.
367
368 2004-02-16 Toshio Kuratomi <toshio@tiki-lounge.com>
369         * util/gif2iris.c, util/gif2rle.c, util/gifinfo.c: Fix problems with fprintf error statements in the utils
370
371 2004-02-16 Toshio Kuratomi <toshio@tiki-lounge.com>
372         Add DEVELOPERS file to the distribution.
373
374 2004-02-16 Toshio Kuratomi <toshio@tiki-lounge.com>
375         * AUTHORS, libungif.spec, libungif.lsm, README, BUGS, NEWS:
376           Lots of changes to my email address and the website/download.  (libungif is
377           moving to sourceforge.)
378         * TODO: Few notes on cleanups that need to happen.  State what needs to be done
379           for 4.1.1 to be released.
380
381 2004-02-15 Toshio Kuratomi <toshio@tiki-lounge.com>
382         Changes imported from last cvs checkout
383         * TODO: note to check return of malloc everywhere
384         * lib/dgif_lib.c, lib/egif_lib.c: Fix some deallocation bugs
385         * lib/gifalloc.c: Fix a colormap allocation problem
386         * lib/gif_font.c: Fix to drawing text
387
388 2004-02-15 Toshio Kuratomi <toshio@tiki-lounge.com>
389         Added libgetarg.a to the ignore list.
390
391 2004-02-15 Toshio Kuratomi <toshio@tiki-lounge.com>
392         Changes to the build infrastructure to build under current libtool, automake,
393         and libtool.
394         * configure.in: renamed to configure.ac
395         * acconfig.h: deleted.  Functionality moved into the configure.ac
396         * autogen.sh: now runs libtoolize --automake
397         * lib/Makefile.am, util/Makefile.am: CFLAGS=>AM_CFLAGS; INCLUDES=>AM_CPPFLAGS
398         * configure.ac:
399           - initialization macros for automake and autoconf have changed
400           - removed checks for C++ compiler and Awk
401           - acconfig.h functionality moved here.
402           - add other X11 libraries to the X11_LIB define
403
404 2004-02-15 Toshio Kuratomi <toshio@tiki-lounge.com>
405         * Remove INSTALL file as it's autogenerated.\n* Add stamp-h1 to ignored files
406
407 2004-02-15 Toshio Kuratomi <toshio@tiki-lounge.com>
408         Additional adds and deletes to make version 4.1.0b1
409
410 2004-02-15 Toshio Kuratomi <toshio@tiki-lounge.com>
411         Import of version 4.1.0b1
412
413 2004-02-15 Toshio Kuratomi <toshio@tiki-lounge.com> - r10  
414   Import giflib 4.1.0
415
416 2004-02-15 Toshio Kuratomi <toshio@tiki-lounge.com> - r9  
417   Copy the 4.1.0 libungif release to be the base of the 4.1.0 giflib release.
418
419 2004-02-15 Toshio Kuratomi <toshio@tiki-lounge.com> - r7  
420   Release 4.1.0
421
422 2004-02-15 Toshio Kuratomi <toshio@tiki-lounge.com> - r6  
423   Import of version 4.1.0
424
425 2004-02-15 Toshio Kuratomi <toshio@tiki-lounge.com> - r5  
426   Set ignore patterns on the project directories.
427
428 2004-02-15 Toshio Kuratomi <toshio@tiki-lounge.com> - r3  
429   Remove a Makefile.in that was left in in the first commit.
430
431 2004-02-14 Toshio Kuratomi <toshio@tiki-lounge.com> - r2  
432   Commit revision 3.1.0 to subversion
433
434 2004-02-14 Toshio Kuratomi <toshio@tiki-lounge.com> - r1  
435   Initial SVN Repository Layout
436
437 2000  6 Feb Toshio Kuratomi <badger@prtr-13.ucsc.edu>
438     * configure.in: Change to using config.h
439       - Every .c file: Change to using config.h.
440     * configure.in: added check for varargs header.
441     * lib/getarg.c: Changed the ifdef USE_VARARGS to ifdef HAVE_VARARGS_H.
442       - lib/getarg.h: Ditto.
443       - lib/gif_lib.h: Ditto.
444       - lib/qprintf.h: Ditto.
445
446 2000  6 Feb Toshio Kuratomi <badger@prtr-13.ucsc.edu>
447     * lib/getarg.h: Prepend an underscore to the header file define.
448     * lib/gif_lib.h: Ditto
449     * lib/gif_lib_private.h: Ditto
450     * lib/getarg.c: ifdef'd MyMalloc so it actually won't define if it already
451       is.
452
453 2000 3  Feb Toshio Kuratomi <badger@prtr-13.ucsc.edu>
454     * A new cvs repository based my private tree from home.  It now goes back
455       to giflib-3.0.
456     * Updated the cvs repository to make multiple developers possible.
457     * Merge all of Michael's patches into the distribution.
458     * DEVELOPER: Updated to reflect the new versions of
459       autoconf/automake/libtool we're using.
460     * libungif.spec: Updated a few things from the latest redhat spec file.
461
462 1999 5  Dec Toshio Kuratomi <badger@prtr-13.ucsc.edu>
463         * Update links to the web pages as I have reorganized them somewhat.
464         * Add the welcome2.gif to the pic directory and a test that utilizes
465           it to test-unx.
466
467 1999 17 Nov Toshio Kuratomi <badger@prtr-13.ucsc.edu>
468         * New cvs Repository.  Hopefully I've got everything that was in the
469           old one.  This one is available on anonymous cvs.
470         * Update to libtool 1.3.3, automake 1.4, and autoconf 2.13
471
472 1999 23 May Michael R Brown <michael@arrakeen.demon.co.uk>
473         * Lots of 'const' qualifiers added, thanks Alexis
474           Wilke for finding these.
475
476 1999 22 Mar Michael R Brown <michael@arrakeen.demon.co.uk>
477         * util/gif2x11.c: Patch by (who?) to fix lots of memory leeks.
478         * util/*.c:
479           lib/dgif_lib.c:
480           Makefile.in:
481           Patch by David Kaelbling to compile on IRIX 6.x. Basically fixing
482           lots of bad/missing parameter passing to printf, scanf and similar.
483         * Added pics/welcome2.gif, from Peter Merz which provokes a bug prior
484           to patch 19990224 to do with colour map management.  There is still
485           a problem with util/gifspnge processing this image, so it will not
486           be added to test-unx yet.
487
488 1999 05 Mar Michael R Brown <michael@arrakeen.demon.co.uk>
489         * lib/getarg.c: Lines 107 and 189
490           Added ifdef's to use stdarg when available. On dec-alpha the
491           default code was causing programs to crash, probably because
492           it assumes a stack that grows-up.
493
494 1999 24 Feb Michael R Brown <michael@arrakeen.demon.co.uk>
495         * lib/dgif_lib.c: Lines 363 and 367
496           Bug reported by Steve Sanders, where &'s where causing the
497           memcpy to overwrite the pointers. Fixed by removing the &'s
498           so that memcpy overwrote the memory pointed to.
499
500 1999 09 Feb Toshio Kuratomi <badger@prtr-13.ucsc.edu>
501         * Release 4.1.0
502
503 1999 09 Feb Toshio Kuratomi <badger@prtr-13.ucsc.edu>
504         * Merge libungif changes into the giflib tree:
505          - upgrade to libtool 1.2b
506          - util/Makefile.am: Minor change to allow compilation outside the
507            source_dir.
508          - lib/egif_lib.c: FILE_STATE_WRITE, FILE_STATE_SCREEN,
509            FILE_STATE_IMAGE, IS_WRITEABLE are now in gif_lib_private.h
510          - lib/dgif_lib.c: FILE_STATE_READ and IS_READABLE are now in
511            gif_lib_private.h
512          - lib/gif_lib_private.h: Above mentioned constants and macros are now
513            here.  FILE_STATE_READ is now 0x08 instead of 0x00.
514          - configure.in: Update version to 4.1.0
515          - lib/Makefile.am: Update libtool version to 5:0:1 (libtool)
516          - giflib.spec: Update for version 4.1.0 (Add libungif-4.1
517            compatibility stuff and change version.)
518          - giflib.lsm: Update for version 4.1.0
519          - lib/egif_lib.c: (WRITE)  change from a function to a macro.
520          - lib/dgif_lib.c: (DGifOpenFileName) close FileHandle on error.
521          - lib/dgif_lib.c: (DGifOpenFileHandle) make sure the FILE stream is
522            closed if we hit an error.
523          - lib/dev2gif.c, lib/quantize.c, lib/gif_err.c, lib/gif_lib_private.h:
524            Reflect Eric's copyright notice rather than Gershon's
525
526 1999 14 Jan  Michael R Brown <michael@arrakeen.demon.co.uk>
527         * lib/gif_lib.h: Add OutputFunc type
528         * lib/gif_lib.h: Add EGifOpen for user supplied output function
529         * lib/egif_lib.c: (EGifOpenFileName) Fixed wasted memory when an
530           error occurs in EGifOpenFileHandle
531         * lib/egif_lib.c: Add EGifOpen, WRITE, and lots of changes to
532           support user supplied output function. Basically changing
533           all fwrite's to WRITE, and then all of the knock on effects.
534
535 1998 17 Dec Toshio Kuratomi <badger@prtr-13.ucsc.edu>
536         * configure.in: Change references to libungif to giflib.
537         * libungif.lsm: Rename to giflib.lsm and change to reflect giflib
538           rather than libungif.
539         * libungif.spec: Rename to giflib.spec and change to reflect giflib
540           rather than libungif.
541         * UNCOMPRESSED_GIF: Removed from this branch.
542         * PATENT_PROBLEMS: Add file explaining Unisys's patent claims. 
543         * Makefile.am: Replace libungif with giflib.
544         * README: Adapted language to giflib.
545         * lib/Makefile.am: Changed references to libungif to libgif.
546         * util/Makefile.am: Changed references to libungif to libgif.
547
548 1998 17 Dec Toshio Kuratomi <badger@prtr-13.ucsc.edu>
549         * lib/egif_lib.c: Merge LZW stuff into this branch of the library.
550           This includes numerous changes to initialize the hash table as well
551           as the code forthe encoder.
552         * lib/gif_hash.c: Functions needed for the LZW encoder.
553         * lib/gif_hash.h: Functions needed for the LZW encoder.
554         * lib/Makefile.am: Add gif_hash.c gif_hash.h to the list of sources.
555
556 1998 15 Dec Toshio Kuratomi <badger@prtr-13.ucsc.edu>
557         * lib/dgif_lib.c: (DGifSlurp) Fix a Seg Fault when an image contains
558           no extension blocks.
559
560 1998 14 Dec Toshio Kuratomi <badger@prtr-13.ucsc.edu>
561         * configure.in: Update version to 4.0
562         * lib/Makefile.am: Update libtool version to 4:0:0 (libtool)
563         * libungif.spec: Update for version 4.0 (not binary compatible with
564           giflib, change version.)
565         * lib/gif_lib_private.h: (PrivateType) New header for common stuff
566           private to the library.  Currently, this is only the Private struct.
567         * lib/dgif_lib.c: (PrivateType) Extract the Private struct to
568           gif_lib_private.h
569         * lib/egif_lib.c: (PrivateType) Extract the Private struct to
570           gif_lib_private.h
571         * lib/Makefile.am: Add gif_lib_private.h to the list of source files.
572         * lib/gif_lib.h: (ExtensionBlock) Add a Function entry to the
573           ExtensionBlock record.  Note that this is not entirely correct:
574           the GifLib ExtensionBlock structure is actually a data sub-block
575           record.  By adding the function entry here, we are pushing the
576           ExtensionBlockType in with the DataSubBlock.
577           Sometime in the future, we need to change the API to have true
578           ExtensionBlocks which have DataSubBlocks belonging to them.
579         * lib/gif_lib.h: (ExtensionBlock) Deprecate the use of Function in
580           the SavedImage struct.  Use ExtensionBlock's Function instead.
581         * lib/egif_lib.c: (EGifSpew) Changes to use the new Function variable.
582         * lib/dgif_lib.c: (DGifSlurp) Changes to put data into the new
583           Function variable.
584
585 1998 3 Dec  Toshio Kuratomi <badger@prtr-13.ucsc.edu>
586         * lib/dgif_lib.c: (DGifSlurp) Three changes:
587           - No longer allocate SaveImage in this function.  All allocations
588             of SaveImage take place in DGifGetImageDesc.
589           - Extension blocks are now associated with the Image Block that is
590             read in subsequent to them, not before.  This should now be
591             conformant to the gif89a specification.
592           - Fix an off-by-one error when copying extension data from structure
593             to structure.
594         * lib/dgif_lib.c: (DGifGetImageDesc) Change the function to do its own
595           allocation of space for the SavedImage structure no matter what.
596         * lib/egif_lib.c: (EGifSpew) The function now spits out
597           ExtensionBlocks before the associated Image Block to conform with
598           the gif89a specification.
599         * lib/egif_lib.c: (EGifOpenFileHandle) Move the write of the
600           GifVersion (gif87a or gif89a) from this function into
601           EGifPutScreenDesc so that it can be controlled by EGifSpew.  Note
602           that this is still a hack as the GifVersion write doesn't really
603           belong in either of these functions.
604         * lib/egif_lib.c: (EGifPutScreenDesc) Moved writing the version
605           (gif87a or gif89a) into the file into this function from
606           EGifOpenFileHandle.
607         * test-unx: Now test the extension code.
608         * pic/x-trans.gif: New image with Comments and transparency to test
609           the extension code with.
610
611 1998 29 Nov Toshio Kuratomi <badger@prtr-13.ucsc.edu>
612         * lib/dgif_lib.c: (DGifSlurp) Fix a few of the minor bugs plaguing
613           this function.  At this point, the function should no longer cause
614           a Seg Fault.  It is now losing all extension data however.  I know
615           how to hack a fix in, but I need to commit these changes first.
616         * lib/dgif_lib.c: (DGifGetImageDesc) Fix my bug fix: the colormap is
617           now only copied if it exists :-).
618
619 1998 10 Nov Toshio Kuratomi <badger@prtr-13.ucsc.edu>
620         * test-unx: Add a test for DGifSlurp and EGifSpew
621
622 1998 14 Oct Toshio Kuratomi <badger@prtr-13.ucsc.edu>
623         * lib/dgif_lib.c: (DGifGetImageDesc) Fix a bug where the Colormap for
624           the image description and the SaveImage were pointers to the same
625           structure, causing a SegV when DGifClosing the file.
626
627 1998 9 Oct  Toshio Kuratomi <badger@prtr-13.ucsc.edu>
628         * lib/dgif_lib.c: (DGifSlurp) memory for the extensions was not being
629           allocated.  Now I call AddExtensionBlock when I add an extension to
630           the structure.  Additionally, fix a memory leak here.
631         * configure.in, NEWS, lib/Makefile.am: Update to version 3.1.1
632         * ltmain.sh, ltconfig: removed from the cvs repository
633         * BUGS: add the BUGS file to list unresolved BUGS.
634
635 1998 9 Sep  Toshio Kuratomi <badger@prtr-13.ucsc.edu>
636         * libungif.spec: Fix wrong version in %files and %install section.
637
638 1998 8 Sep  Toshio Kuratomi <badger@prtr-13.ucsc.edu>
639         * lib/gif_hash.c, lib/gif_hash.h: Removed these because a hash table
640           is not needed to create uncompressed gifs.
641         * lib/egif_lib.c: Remove all references to the hash functions.
642         * lib/Makefile.am: Remove gif_hash.c gif_hash.h from the source files.
643         * libungif.lsm: added this file
644  
645 1998 7 Sep  Toshio Kuratomi <badger@prtr-13.ucsc.edu>
646         * lib/dgif_lib.c, lib/gif_lib.h: (DGifOpen) Add callback to read gif
647           image through user supplied function (Peter Mehlitz).
648
649 1998 6 Sep  Toshio Kuratomi <badger@prtr-13.ucsc.edu>
650         * util/*.{gif.rle}: removed files that were left by my testing
651           process and shouldn't have been in the distribution.
652         * UNCOMPRESSED_GIF: add section on why software that can decode
653           LZW compressed gifs (but not write them) is legal.
654         * .cvsignore: added .cvsignore files to ignore Makefiles and other
655           generated files in my cvs repository.
656         * Makefile.am's: Fixes to allow the dist* family of targets to work
657           correctly.  Preliminary support for make check as well.
658         * configure.in: Update version to 3.1.0
659         * lib/Makefile.am: Update libtool version to 4:0:1 libtool)
660         * libungif-3.0.spec: Update from Marc Ewing.
661         * Add int/pointer Alpha fixes from Dick Porter to many source files.