~ubuntu-branches/ubuntu/lucid/perl-tk/lucid

« back to all changes in this revision

Viewing changes to PNG/libpng/CHANGES

  • Committer: Bazaar Package Importer
  • Author(s): Colin Tuckley
  • Date: 2008-02-15 13:56:59 UTC
  • mfrom: (1.1.3 upstream) (4.1.1 hardy)
  • Revision ID: james.westby@ubuntu.com-20080215135659-ru2oqlykuju20fav
Tags: 1:804.028-1
* New Upstream Release (Closes: #463080).
* Update to Debhelper v5.
* Build with XFT=1 (Closes: #411129).

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
version 0.2
5
5
  added reader into png.h
6
6
  fixed small problems in stub file
 
7
 
7
8
version 0.3
8
9
  added pull reader
9
10
  split up pngwrite.c to several files
10
11
  added pnglib.txt
11
12
  added example.c
12
 
  cleaned up writer, adding a few new tranformations
 
13
  cleaned up writer, adding a few new transformations
13
14
  fixed some bugs in writer
14
15
  interfaced with zlib 0.5
15
16
  added K&R support
16
17
  added check for 64 KB blocks for 16 bit machines
 
18
 
17
19
version 0.4
18
20
  cleaned up code and commented code
19
21
  simplified time handling into png_time
20
22
  created png_color_16 and png_color_8 to handle color needs
21
23
  cleaned up color type defines
22
24
  fixed various bugs
23
 
  made various names more consistant
 
25
  made various names more consistent
24
26
  interfaced with zlib 0.71
25
27
  cleaned up zTXt reader and writer (using zlib's Reset functions)
26
28
  split transformations into pngrtran.c and pngwtran.c
 
29
 
27
30
version 0.5
28
31
  interfaced with zlib 0.8
29
32
  fixed many reading and writing bugs
30
33
  saved using 3 spaces instead of tabs
 
34
 
31
35
version 0.6
32
36
  added png_large_malloc() and png_large_free()
33
37
  added png_size_t
34
38
  cleaned up some compiler warnings
35
39
  added png_start_read_image()
 
40
 
36
41
version 0.7
37
42
  cleaned up lots of bugs
38
43
  finished dithering and other stuff
39
44
  added test program
40
45
  changed name from pnglib to libpng
 
46
 
41
47
version 0.71 [June, 1995]
42
48
  changed pngtest.png for zlib 0.93
43
49
  fixed error in libpng.txt and example.c
 
50
 
44
51
version 0.8
45
52
  cleaned up some bugs
46
53
  added png_set_filler()
57
64
  enabled png_set_shift to work with paletted images on read
58
65
  added png_read_update_info() - updates info structure with
59
66
     transformations
 
67
 
60
68
version 0.81 [August, 1995]
61
69
  incorporated Tim Wegner's medium model code (thanks, Tim)
 
70
 
62
71
version 0.82 [September, 1995]
63
72
  [unspecified changes]
 
73
 
64
74
version 0.85 [December, 1995]
65
75
  added more medium model code (almost everything's a far)
66
76
  added i/o, error, and memory callback functions
67
77
  fixed some bugs (16 bit, 4 bit interlaced, etc.)
68
78
  added first run progressive reader (barely tested)
 
79
 
69
80
version 0.86 [January, 1996]
70
81
  fixed bugs
71
82
  improved documentation
 
83
 
72
84
version 0.87 [January, 1996]
73
85
  fixed medium model bugs
74
86
  fixed other bugs introduced in 0.85 and 0.86
75
87
  added some minor documentation
 
88
 
76
89
version 0.88 [January, 1996]
77
90
  fixed progressive bugs
78
91
  replaced tabs with spaces
79
92
  cleaned up documentation
80
93
  added callbacks for read/write and warning/error functions
 
94
 
81
95
version 0.89 [July, 1996]
82
96
  added new initialization API to make libpng work better with shared libs
83
97
     we now have png_create_read_struct(), png_create_write_struct(),
104
118
     into a binary when only reading or writing functionality is used
105
119
  new pngtest image also has interlacing and zTXt
106
120
  updated documentation to reflect new API
 
121
 
107
122
version 0.90 [January, 1997]
108
123
  made CRC errors/warnings on critical and ancillary chunks configurable
109
124
  libpng will use the zlib CRC routines by (compile-time) default
125
140
       be able to handle all chunks via a callback mechanism
126
141
  try to fix Linux "setjmp" buffer size problems
127
142
  removed png_large_malloc, png_large_free, and png_realloc functions.
 
143
 
128
144
version 0.95 [March, 1997]
129
145
  fixed bug in pngwutil.c allocating "up_row" twice and "avg_row" never
130
146
  fixed bug in PNG file signature compares when start != 0
135
151
  added "packswap" transformation, which changes the endianness of
136
152
     packed-pixel bytes (Kevin Bracey)
137
153
  added "strip_alpha" transformation, which removes the alpha channel of
138
 
     input images without using it (not neccesarily a good idea)
 
154
     input images without using it (not necessarily a good idea)
139
155
  added "swap_alpha" transformation, which puts the alpha channel in front
140
156
     of the color bytes instead of after
141
157
  removed all implicit variable tests which assume NULL == 0 (I think)
156
172
  more chunk types tested in pngtest.c
157
173
  renamed pngrcb.c to pngset.c, and all png_read_<chunk> functions to be
158
174
     png_set_<chunk>.  We now have corresponding png_get_<chunk>
159
 
     functions in pngget.c to get infomation in info_ptr.  This isolates
 
175
     functions in pngget.c to get information in info_ptr.  This isolates
160
176
     the application from the internal organization of png_info_struct
161
177
     (good for shared library implementations).
 
178
 
162
179
version 0.96 [May, 1997]
163
180
  fixed serious bug with < 8bpp images introduced in 0.95
164
181
  fixed 256-color transparency bug (Greg Roelofs)
169
186
  added read of CRC after IEND chunk for embedded PNGs (Laszlo Nyul)
170
187
  added typecasts to quiet compiler errors
171
188
  added more debugging info
 
189
 
172
190
version 0.97 [January, 1998]
173
191
  removed PNG_USE_OWN_CRC capability
174
192
  relocated png_set_crc_action from pngrutil.c to pngrtran.c
191
209
  added "-m" option and PNGTEST_DEBUG_MEMORY to pngtest (John Bowler)
192
210
  regularized version numbering scheme and bumped shared-library major
193
211
     version number to 2 to avoid problems with libpng 0.89 apps (Greg Roelofs)
 
212
 
194
213
version 0.98 [January, 1998]
195
214
  cleaned up some typos in libpng.txt and in code documentation
196
215
  fixed memory leaks in pCAL chunk processing (Glenn R-P and John Bowler)
202
221
     PNG_TIME_RFC1152_SUPPORTED macro to PNG_TIME_RFC1123_SUPPORTED
203
222
  added png_invert_alpha capability (Glenn R-P -- suggestion by Jon Vincent)
204
223
  changed srgb_intent from png_byte to int to avoid compiler bugs
 
224
 
205
225
version 0.99 [January 30, 1998]
206
226
  free info_ptr->text instead of end_info_ptr->text in pngread.c (John Bowler)
207
227
  fixed a longstanding "packswap" bug in pngtrans.c
262
282
  Changed PNG_READ_NOT_FULLY_SUPPORTED to PNG_READ_TRANSFORMS_NOT_SUPPORTED
263
283
  and added PNG_PROGRESSIVE_READ_NOT_SUPPORTED macro
264
284
  Added user transform capability
 
285
 
265
286
version 1.00 [March 7, 1998]
266
287
  Changed several typedefs in pngrutil.c
267
288
  Added makefile.wat (Pawel Mrochen), updated makefile.tc3 (Willem van Schaik)
271
292
  changed some typedefs (s_start, etc.) in pngrutil.c
272
293
  fixed dimensions of "short_months" array in pngwrite.c
273
294
  Replaced ansi2knr.c with the one from jpeg-v6
 
295
 
274
296
version 1.0.0 [March 8, 1998]
275
297
  Changed name from 1.00 to 1.0.0 (Adam Costello)
276
298
  Added smakefile.ppc (with SCOPTIONS.ppc) for Amiga PPC (Andreas Kleinert)
285
307
  Quieted compiler complaints about two empty "for" loops in pngrutil.c
286
308
  Minor changes to makefile.s2x
287
309
  Removed #ifdef/#endif around a png_free() in pngread.c
 
310
 
288
311
version 1.0.1 [March 14, 1998]
289
312
  Changed makefile.s2x to reduce security risk of using a relative pathname
290
313
  Fixed some typos in the documentation (Greg).
353
376
    and revised pngtest.c to demonstrate their use, replacing the
354
377
    PNGTEST_DEBUG_MEM feature.
355
378
  Added makefile.w32, for Microsoft C++ 4.0 and later (Tim Wegner).
 
379
 
356
380
version 1.0.2 [June 14, 1998]
357
381
  Fixed two bugs in makefile.bor .
358
382
version 1.0.2a [December 30, 1998]
387
411
  Changed "check_if_png" function in example.c to return true (nonzero) if PNG.
388
412
  Changed libpng.txt to demonstrate png_sig_cmp() instead of png_check_sig()
389
413
    which is obsolete.
 
414
 
390
415
version 1.0.3 [January 14, 1999]
391
416
  Added makefile.hux, for Hewlett Packard HPUX 10.20 and 11.00 (Jim Rice)
392
417
  Added a statement of Y2K compliance in png.h, libpng.3, and Y2KINFO.
439
464
  Fixed type casting of igamma in pngrutil.c
440
465
  Added new png_expand functions to scripts/pngdef.pas and pngos2.def
441
466
  Added a demo read_user_transform_fn that examines the row filters in pngtest.c
 
467
 
442
468
version 1.0.4 [September 24, 1999]
443
469
  Define PNG_ALWAYS_EXTERN in pngconf.h if __STDC__ is defined
444
470
  Delete #define PNG_INTERNAL and include "png.h" from pngasmrd.h
477
503
  Added type casting mostly in pngrtran.c and pngwtran.c
478
504
  Removed some pointless "ptr = NULL" in pngmem.c
479
505
  Added a "contrib" directory containing the source code from Greg's book.
 
506
 
480
507
version 1.0.5 [October 15, 1999]
481
508
  Minor editing of the INSTALL and README files.
482
509
version 1.0.5a [October 23, 1999]
495
522
  Updated scripts/makevms.com and added makevms.com to contrib/gregbook
496
523
    and contrib/pngminus (Martin Zinser)
497
524
version 1.0.5c [November 26, 1999]
498
 
  Moved png_get_header_version from png.h to png.c, to accomodate ansi2knr.
 
525
  Moved png_get_header_version from png.h to png.c, to accommodate ansi2knr.
499
526
  Removed all global arrays (according to PNG_NO_GLOBAL_ARRAYS macro), to
500
 
    accomodate making DLL's: Moved usr_png_ver from global variable to function
 
527
    accommodate making DLL's: Moved usr_png_ver from global variable to function
501
528
    png_get_header_ver() in png.c.  Moved png_sig to png_sig_bytes in png.c and
502
529
    eliminated use of png_sig in pngwutil.c.  Moved the various png_CHNK arrays
503
530
    into pngtypes.h.  Eliminated use of global png_pass arrays.  Declared the
660
687
  Updated documentation of png_rgb_to_gray calculations in libpng.3/libpng.txt.
661
688
  Renamed makefile.borland,turboc3 back to makefile.bor,tc3 as in version 1.0.3,
662
689
    revised borland makefiles; added makefile.ibmvac3 and makefile.gcc (Cosmin)
 
690
 
663
691
version 1.0.6 [March 20, 2000]
664
692
  Minor revisions of makefile.bor, libpng.txt, and gregbook/rpng2-win.c
665
693
  Added makefile.sggcc (SGI IRIX with gcc)
798
826
version 1.0.7rc2 [June 28, 2000]
799
827
  Updated license to include disclaimers required by UCITA.
800
828
  Fixed "DJBPP" typo in pnggccrd.c introduced in beta18.
 
829
 
801
830
version 1.0.7 [July 1, 2000]
802
831
  Revised the definition of "trans_values" in libpng.3/libpng.txt
803
832
version 1.0.8beta1 [July 8, 2000]
822
851
  Added PNG_NO_ZALLOC_ZERO macro (makes png_zalloc skip zeroing memory)
823
852
version 1.0.8rc1 [July 16, 2000]
824
853
  Revised png_debug() macros and statements to eliminate compiler warnings.
 
854
 
825
855
version 1.0.8 [July 24, 2000]
826
856
  Added png_flush() in pngwrite.c, after png_write_IEND().
827
857
  Updated makefile.hpux to build a shared library.
892
922
    be re-enabled in version 1.2.0.
893
923
version 1.0.9rc2 [January 22, 2001]
894
924
  Revised cygwin support.
 
925
 
895
926
version 1.0.9 [January 31, 2001]
896
927
  Added check of cygwin's ALL_STATIC in pngconf.h
897
928
  Added "-nommx" parameter to contrib/gregbook/rpng2-win and rpng2-x demos.
913
944
    and png_strlen.
914
945
  Revised png_mmx_supported() function in pnggccrd.c to return proper value.
915
946
  Fixed bug in progressive reading (pngpread.c) with small images (height < 8).
 
947
 
916
948
version 1.0.10 [March 30, 2001]
917
949
  Deleted extraneous space (introduced in 1.0.9) from line 42 of makefile.cygwin
918
950
  Added beos project files (Chris Herborth)
930
962
    from user's malloc_fn().
931
963
  Removed some useless type casts of the NULL pointer.
932
964
  Added makefile.netbsd
 
965
 
933
966
version 1.0.11 [April 27, 2001]
934
967
  Revised makefile.netbsd
935
968
version 1.0.12beta1 [May 14, 2001]
978
1011
  Revised makefile.sgi and makefile.sggcc
979
1012
  Replaced calls to fprintf(stderr,...) with png_warning() in pnggccrd.c
980
1013
  Removed restriction that do_invert_mono only operate on 1-bit opaque files
 
1014
 
981
1015
version 1.2.0 [September 1, 2001]
982
1016
  Changed a png_warning() to png_debug() in pnggccrd.c
983
1017
  Fixed contrib/gregbook/rpng-x.c, rpng2-x.c to avoid crash with XFreeGC().
1011
1045
  Always allocate 256-entry internal palette, hist, and trans arrays, to
1012
1046
    avoid out-of-bounds memory reference caused by invalid PNG datastreams.
1013
1047
  Added a check for prefix_length > data_length in iCCP chunk handler.
 
1048
 
1014
1049
version 1.2.1 [December 7, 2001]
1015
1050
  None.
1016
1051
version 1.2.2beta1 [February 22, 2002]
1064
1099
  Save the ebx register in pnggccrd.c (Sami Farin)
1065
1100
  Add "mem_ptr = png_ptr->mem_ptr" in png_destroy_write_struct() (Paul Gardner).
1066
1101
  Updated makefiles to put headers in include/libpng and remove old include/*.h.
 
1102
 
1067
1103
version 1.2.2 [April 15, 2002]
1068
1104
version 1.0.13 [April 15, 2002]
1069
1105
  Revised description of png_set_filter() in libpng.3/libpng.txt.
1118
1154
  Changed "Gz" to "Gd" in projects/msvc/libpng.dsp and zlib.dsp.
1119
1155
  Removed leftover libpng-config "sed" script from four makefiles.
1120
1156
  Revised libpng-config creating script in 16 makefiles.
 
1157
 
1121
1158
version 1.2.3 [May 22, 2002]
1122
1159
  Revised libpng-config target in makefile.cygwin.
1123
1160
  Removed description of png_set_mem_fn() from documentation.
1147
1184
version 1.2.4rc1 and 1.0.14rc1 [July 2, 2002]
1148
1185
  Added "test-installed" target to makefile.cygwin and makefile.sco.
1149
1186
  Revised pnggccrd.c to be able to back out version 1.0.x via PNG_1_0_X macro.
 
1187
 
1150
1188
version 1.2.4 and 1.0.14 [July 8, 2002]
1151
1189
  Changed png_warning() to png_error() when width is too large to process.
1152
1190
version 1.2.4patch01 [July 20, 2002]
1173
1211
  Added missing "; fi" to makefile.32sunu.
1174
1212
version 1.2.5rc3 and 1.0.15rc3 [September 18, 2002]
1175
1213
  Revised libpng-config script.
 
1214
 
1176
1215
version 1.2.5 and 1.0.15 [October 3, 2002]
1177
1216
  Revised makefile.macosx, makefile.darwin, makefile.hpgcc, and makefile.hpux,
1178
1217
    and makefile.aix.
1179
1218
  Relocated two misplaced PNGAPI lines in pngtest.c
1180
 
 
1181
 
Send comments/corrections/commendations to
1182
 
png-implement@ccrc.wustl.edu or to randeg@alum.rpi.edu
 
1219
version 1.2.6beta1 [October 22, 2002]
 
1220
  Commented out warning about uninitialized mmx_support in pnggccrd.c.
 
1221
  Changed "IBMCPP__" flag to "__IBMCPP__" in pngconf.h.
 
1222
  Relocated two more misplaced PNGAPI lines in pngtest.c
 
1223
  Fixed memory overrun bug in png_do_read_filler() with 16-bit datastreams,
 
1224
    introduced in version 1.0.2.
 
1225
  Revised makefile.macosx, makefile.dec, makefile.aix, and makefile.32sunu.
 
1226
version 1.2.6beta2 [November 1, 2002]
 
1227
  Added libpng-config "--ldopts" output.
 
1228
  Added "AR=ar" and "ARFLAGS=rc" and changed "ar rc" to "$(AR) $(ARFLAGS)"
 
1229
    in makefiles.
 
1230
version 1.2.6beta3 [July 18, 2004]
 
1231
  Reverted makefile changes from version 1.2.6beta2 and some of the changes
 
1232
    from version 1.2.6beta1; these will be postponed until version 1.2.7.
 
1233
    Version 1.2.6 is going to be a simple bugfix release.
 
1234
  Changed the one instance of "ln -sf" to "ln -f -s" in each Sun makefile.
 
1235
  Fixed potential overrun in pngerror.c by using strncpy instead of memcpy.
 
1236
  Added "#!/bin/sh" at the top of configure, for recognition of the
 
1237
    'x' flag under Cygwin (Cosmin).
 
1238
  Optimized vacuous tests that silence compiler warnings, in png.c (Cosmin).
 
1239
  Added support for PNG_USER_CONFIG, in pngconf.h (Cosmin).
 
1240
  Fixed the special memory handler for Borland C under DOS, in pngmem.c
 
1241
    (Cosmin).
 
1242
  Removed some spurious assignments in pngrutil.c (Cosmin).
 
1243
  Replaced 65536 with 65536L, and 0xffff with 0xffffL, to silence warnings
 
1244
    on 16-bit platforms (Cosmin).
 
1245
  Enclosed shift op expressions in parentheses, to silence warnings (Cosmin).
 
1246
  Used proper type png_fixed_point, to avoid problems on 16-bit platforms,
 
1247
    in png_handle_sRGB() (Cosmin).
 
1248
  Added compression_type to png_struct, and optimized the window size
 
1249
    inside the deflate stream (Cosmin).
 
1250
  Fixed definition of isnonalpha(), in pngerror.c and pngrutil.c (Cosmin).
 
1251
  Fixed handling of unknown chunks that come after IDAT (Cosmin).
 
1252
  Allowed png_error() and png_warning() to work even if png_ptr == NULL
 
1253
    (Cosmin).
 
1254
  Replaced row_info->rowbytes with row_bytes in png_write_find_filter()
 
1255
    (Cosmin).
 
1256
  Fixed definition of PNG_LIBPNG_VER_DLLNUM (Simon-Pierre).
 
1257
  Used PNG_LIBPNG_VER and PNG_LIBPNG_VER_STRING instead of the hardcoded
 
1258
    values in png.c (Simon-Pierre, Cosmin).
 
1259
  Initialized png_libpng_ver[] with PNG_LIBPNG_VER_STRING (Simon-Pierre).
 
1260
  Replaced PNG_LIBPNG_VER_MAJOR with PNG_LIBPNG_VER_DLLNUM in png.rc
 
1261
    (Simon-Pierre).
 
1262
  Moved the definition of PNG_HEADER_VERSION_STRING near the definitions
 
1263
    of the other PNG_LIBPNG_VER_... symbols in png.h (Cosmin).
 
1264
  Relocated #ifndef PNGAPI guards in pngconf.h (Simon-Pierre, Cosmin).
 
1265
  Updated scripts/makefile.vc(a)win32 (Cosmin).
 
1266
  Updated the MSVC project (Simon-Pierre, Cosmin).
 
1267
  Updated the Borland C++ Builder project (Cosmin).
 
1268
  Avoided access to asm_flags in pngvcrd.c, if PNG_1_0_X is defined (Cosmin).
 
1269
  Commented out warning about uninitialized mmx_support in pngvcrd.c (Cosmin).
 
1270
  Removed scripts/makefile.bd32 and scripts/pngdef.pas (Cosmin).
 
1271
  Added extra guard around inclusion of Turbo C memory headers, in pngconf.h
 
1272
    (Cosmin).
 
1273
  Renamed projects/msvc/ to projects/visualc6/, and projects/borland/ to
 
1274
    projects/cbuilder5/ (Cosmin).
 
1275
  Moved projects/visualc6/png32ms.def to scripts/pngw32.def,
 
1276
    and projects/visualc6/png.rc to scripts/pngw32.rc (Cosmin).
 
1277
  Added projects/visualc6/pngtest.dsp; removed contrib/msvctest/ (Cosmin).
 
1278
  Changed line endings to DOS style in cbuilder5 and visualc6 files, even
 
1279
    in the tar.* distributions (Cosmin).
 
1280
  Updated contrib/visupng/VisualPng.dsp (Cosmin).
 
1281
  Updated contrib/visupng/cexcept.h to version 2.0.0 (Cosmin).
 
1282
  Added a separate distribution with "configure" and supporting files (Junichi).
 
1283
version 1.2.6beta4 [July 28, 2004]
 
1284
  Added user ability to change png_size_t via a PNG_SIZE_T macro.
 
1285
  Added png_sizeof() and png_convert_size() functions.
 
1286
  Added PNG_SIZE_MAX (maximum value of a png_size_t variable.
 
1287
  Added check in png_malloc_default() for (size_t)size != (png_uint_32)size
 
1288
    which would indicate an overflow.
 
1289
  Changed sPLT failure action from png_error to png_warning and abandon chunk.
 
1290
  Changed sCAL and iCCP failures from png_error to png_warning and abandon.
 
1291
  Added png_get_uint_31(png_ptr, buf) function.
 
1292
  Added PNG_UINT_32_MAX macro.
 
1293
  Renamed PNG_MAX_UINT to PNG_UINT_31_MAX.
 
1294
  Made png_zalloc() issue a png_warning and return NULL on potential
 
1295
    overflow.
 
1296
  Turn on PNG_NO_ZALLOC_ZERO by default in version 1.2.x
 
1297
  Revised "clobber list" in pnggccrd.c so it will compile under gcc-3.4.
 
1298
  Revised Borland portion of png_malloc() to return NULL or issue
 
1299
    png_error() according to setting of PNG_FLAG_MALLOC_NULL_MEM_OK.
 
1300
  Added PNG_NO_SEQUENTIAL_READ_SUPPORTED macro to conditionally remove
 
1301
    sequential read support.
 
1302
  Added some "#if PNG_WRITE_SUPPORTED" blocks.
 
1303
  #ifdef'ed out some redundancy in png_malloc_default().
 
1304
  Use png_malloc instead of png_zalloc to allocate the pallete.
 
1305
version 1.0.16rc1 and 1.2.6rc1 [August 4, 2004]
 
1306
  Fixed buffer overflow vulnerability in png_handle_tRNS()
 
1307
  Fixed integer arithmetic overflow vulnerability in png_read_png().
 
1308
  Fixed some harmless bugs in png_handle_sBIT, etc, that would cause
 
1309
    duplicate chunk types to go undetected.
 
1310
  Fixed some timestamps in the -config version
 
1311
  Rearranged order of processing of color types in png_handle_tRNS().
 
1312
  Added ROWBYTES macro to calculate rowbytes without integer overflow.
 
1313
  Updated makefile.darwin and removed makefile.macosx from scripts directory.
 
1314
  Imposed default one million column, one-million row limits on the image
 
1315
    dimensions, and added png_set_user_limits() function to override them.
 
1316
  Revised use of PNG_SET_USER_LIMITS_SUPPORTED macro.
 
1317
  Fixed wrong cast of returns from png_get_user_width|height_max().
 
1318
  Changed some "keep the compiler happy" from empty statements to returns,
 
1319
  Revised libpng.txt to remove 1.2.x stuff from the 1.0.x distribution
 
1320
version 1.0.16rc2 and 1.2.6rc2 [August 7, 2004]
 
1321
  Revised makefile.darwin and makefile.solaris.  Removed makefile.macosx.
 
1322
  Revised pngtest's png_debug_malloc() to use png_malloc() instead of
 
1323
    png_malloc_default() which is not supposed to be exported.
 
1324
  Fixed off-by-one error in one of the conversions to PNG_ROWBYTES() in
 
1325
    pngpread.c.  Bug was introduced in 1.2.6rc1.
 
1326
  Fixed bug in RGB to RGBX transformation introduced in 1.2.6rc1.
 
1327
  Fixed old bug in RGB to Gray transformation.
 
1328
  Fixed problem with 64-bit compilers by casting arguments to abs()
 
1329
    to png_int_32.
 
1330
  Changed "ln -sf" to "ln -f -s" in three makefiles (solaris, sco, so9).
 
1331
  Changed "HANDLE_CHUNK_*" to "PNG_HANDLE_CHUNK_*" (Cosmin)
 
1332
  Added "-@/bin/rm -f $(DL)/$(LIBNAME).so.$(PNGMAJ)" to 15 *NIX makefiles.
 
1333
  Added code to update the row_info->colortype in png_do_read_filler() (MSB).
 
1334
version 1.0.16rc3 and 1.2.6rc3 [August 9, 2004]
 
1335
  Eliminated use of "abs()" in testing cHRM and gAMA values, to avoid
 
1336
    trouble with some 64-bit compilers.  Created PNG_OUT_OF_RANGE() macro.
 
1337
  Revised documentation of png_set_keep_unknown_chunks().
 
1338
  Check handle_as_unknown status in pngpread.c, as in pngread.c previously.
 
1339
  Moved  "PNG_HANDLE_CHUNK_*" macros out of PNG_INTERNAL section of png.h
 
1340
  Added "rim" definitions for CONST4 and CONST6 in pnggccrd.c
 
1341
version 1.0.16rc4 and 1.2.6rc4 [August 10, 2004]
 
1342
  Fixed mistake in pngtest.c introduced in 1.2.6rc2 (declaration of
 
1343
    "pinfo" was out of place).
 
1344
version 1.0.16rc5 and 1.2.6rc5 [August 10, 2004]
 
1345
  Moved  "PNG_HANDLE_CHUNK_*" macros out of PNG_ASSEMBLER_CODE_SUPPORTED
 
1346
     section of png.h where they were inadvertently placed in version rc3.
 
1347
 
 
1348
version 1.2.6 and 1.0.16 [August 15, 2004]
 
1349
  Revised pngtest so memory allocation testing is only done when PNG_DEBUG==1.
 
1350
version 1.2.7beta1 [August 26, 2004]
 
1351
  Removed unused pngasmrd.h file.
 
1352
  Removed references to uu.net for archived files.  Added references to
 
1353
    PNG Spec (second edition) and the PNG ISO/IEC Standard.
 
1354
  Added "test-dd" target in 15 makefiles, to run pngtest in DESTDIR.
 
1355
  Fixed bug with "optimized window size" in the IDAT datastream, that
 
1356
    causes libpng to write PNG files with incorrect zlib header bytes.
 
1357
version 1.2.7beta2 [August 28, 2004]
 
1358
  Fixed bug with sCAL chunk and big-endian machines (David Munro).
 
1359
  Undid new code added in 1.2.6rc2 to update the color_type in
 
1360
    png_set_filler().
 
1361
  Added png_set_add_alpha() that updates color type.
 
1362
version 1.0.17rc1 and 1.2.7rc1 [September 4, 2004]
 
1363
  Revised png_set_strip_filler() to not remove alpha if color_type has alpha.
 
1364
 
 
1365
version 1.2.7 and 1.0.17 [September 12, 2004]
 
1366
  Added makefile.hp64
 
1367
  Changed projects/msvc/png32ms.def to scripts/png32ms.def in makefile.cygwin
 
1368
version 1.2.8beta1 [November 1, 2004]
 
1369
  Fixed bug in png_text_compress() that would fail to complete a large block.
 
1370
  Fixed bug, introduced in libpng-1.2.7, that overruns a buffer during
 
1371
    strip alpha operation in png_do_strip_filler().
 
1372
  Added PNG_1_2_X definition in pngconf.h
 
1373
  #ifdef out png_info_init in png.c and png_read_init in pngread.c (as of 1.3.0)
 
1374
version 1.2.8beta2 [November 2, 2004]
 
1375
  Reduce color_type to a nonalpha type after strip alpha operation in
 
1376
    png_do_strip_filler().
 
1377
version 1.2.8beta3 [November 3, 2004]
 
1378
  Revised definitions of PNG_MAX_UINT_32, PNG_MAX_SIZE, and PNG_MAXSUM
 
1379
version 1.2.8beta4 [November 12, 2004]
 
1380
  Fixed (again) definition of PNG_LIBPNG_VER_DLLNUM in png.h (Cosmin).
 
1381
  Added PNG_LIBPNG_BUILD_PRIVATE in png.h (Cosmin).
 
1382
  Set png_ptr->zstream.data_type to Z_BINARY, to avoid unnecessary detection
 
1383
    of data type in deflate (Cosmin).
 
1384
  Deprecated but continue to support SPECIALBUILD and PRIVATEBUILD in favor of
 
1385
    PNG_LIBPNG_BUILD_SPECIAL_STRING and PNG_LIBPNG_BUILD_PRIVATE_STRING.
 
1386
version 1.2.8beta5 [November 20, 2004]
 
1387
  Use png_ptr->flags instead of png_ptr->transformations to pass
 
1388
    PNG_STRIP_ALPHA info to png_do_strip_filler(), to preserve ABI
 
1389
    compatibility.
 
1390
  Revised handling of SPECIALBUILD, PRIVATEBUILD, 
 
1391
    PNG_LIBPNG_BUILD_SPECIAL_STRING and PNG_LIBPNG_BUILD_PRIVATE_STRING.
 
1392
version 1.2.8rc1 [November 24, 2004]
 
1393
  Moved handling of BUILD macros from pngconf.h to png.h
 
1394
  Added definition of PNG_LIBPNG_BASE_TYPE in png.h, inadvertently
 
1395
    omitted from beta5.
 
1396
  Revised scripts/pngw32.rc
 
1397
  Despammed mailing addresses by masking "@" with "at".
 
1398
  Inadvertently installed a supposedly faster test version of pngrutil.c
 
1399
version 1.2.8rc2 [November 26, 2004]
 
1400
  Added two missing "\" in png.h
 
1401
  Change tests in pngread.c and pngpread.c to
 
1402
    if (png_ptr->transformations || (png_ptr->flags&PNG_FLAG_STRIP_ALPHA))
 
1403
       png_do_read_transformations(png_ptr);
 
1404
version 1.2.8rc3 [November 28, 2004]
 
1405
  Reverted pngrutil.c to version libpng-1.2.8beta5.
 
1406
  Added scripts/makefile.elf with supporting code in pngconf.h for symbol
 
1407
    versioning (John Bowler).
 
1408
version 1.2.8rc4 [November 29, 2004]
 
1409
  Added projects/visualc7 (Simon-pierre).
 
1410
version 1.2.8rc5 [November 29, 2004]
 
1411
  Fixed new typo in scripts/pngw32.rc
 
1412
 
 
1413
version 1.2.8 [December 3, 2004]
 
1414
  Removed projects/visualc7, added projects/visualc71.
 
1415
 
 
1416
version 1.2.9beta1 [February 21, 2006]
 
1417
 
 
1418
  Initialized some structure members in pngwutil.c to avoid gcc-4.0.0 complaints
 
1419
  Revised man page and libpng.txt to make it clear that one should not call
 
1420
    png_read_end or png_write_end after png_read_png or png_write_png.
 
1421
  Updated references to png-mng-implement mailing list.
 
1422
  Fixed an incorrect typecast in pngrutil.c
 
1423
  Added PNG_NO_READ_SUPPORTED conditional for making a write-only library.
 
1424
  Added PNG_NO_WRITE_INTERLACING_SUPPORTED conditional.
 
1425
  Optimized alpha-inversion loops in pngwtran.c
 
1426
  Moved test for nonzero gamma outside of png_build_gamma_table() in pngrtran.c
 
1427
  Make sure num_trans is <= 256 before copying data in png_set_tRNS().
 
1428
  Make sure num_palette is <= 256 before copying data in png_set_PLTE().
 
1429
  Interchanged order of write_swap_alpha and write_invert_alpha transforms.
 
1430
  Added parentheses in the definition of PNG_LIBPNG_BUILD_TYPE (Cosmin).
 
1431
  Optimized zlib window flag (CINFO) in contrib/pngsuite/*.png (Cosmin).
 
1432
  Updated scripts/makefile.bc32 for Borland C++ 5.6 (Cosmin).
 
1433
  Exported png_get_uint_32, png_save_uint_32, png_get_uint_16, png_save_uint_16,
 
1434
    png_get_int_32, png_save_int_32, png_get_uint_31 (Cosmin).
 
1435
  Added type cast (png_byte) in png_write_sCAL() (Cosmin).
 
1436
  Fixed scripts/makefile.cygwin (Christian Biesinger, Cosmin).
 
1437
  Default iTXt support was inadvertently enabled.
 
1438
 
 
1439
version 1.2.9beta2 [February 21, 2006]
 
1440
 
 
1441
  Check for png_rgb_to_gray and png_gray_to_rgb read transformations before
 
1442
    checking for png_read_dither in pngrtran.c
 
1443
  Revised checking of chromaticity limits to accommodate extended RGB
 
1444
    colorspace (John Denker).
 
1445
  Changed line endings in some of the project files to CRLF, even in the
 
1446
    "Unix" tar distributions (Cosmin).
 
1447
  Made png_get_int_32 and png_save_int_32 always available (Cosmin).
 
1448
  Updated scripts/pngos2.def, scripts/pngw32.def and projects/wince/png32ce.def
 
1449
    with the newly exported functions.
 
1450
  Eliminated distributions without the "configure" script.
 
1451
  Updated INSTALL instructions.
 
1452
 
 
1453
version 1.2.9beta3 [February 24, 2006]
 
1454
 
 
1455
  Fixed CRCRLF line endings in contrib/visupng/VisualPng.dsp
 
1456
  Made libpng.pc respect EXEC_PREFIX (D. P. Kreil, J. Bowler)
 
1457
  Removed reference to pngasmrd.h from Makefile.am
 
1458
  Renamed CHANGES to ChangeLog.
 
1459
  Renamed LICENSE to COPYING.
 
1460
  Renamed ANNOUNCE to NEWS.
 
1461
  Created AUTHORS file.
 
1462
 
 
1463
version 1.2.9beta4 [March 3, 2006]
 
1464
 
 
1465
  Changed definition of PKGCONFIG from $prefix/lib to $libdir in configure.ac
 
1466
  Reverted to filenames LICENSE and ANNOUNCE; removed AUTHORS and COPYING.
 
1467
  Removed newline from the end of some error and warning messages.
 
1468
  Removed test for sqrt() from configure.ac and configure.
 
1469
  Made swap tables in pngtrans.c PNG_CONST (Carlo Bramix).
 
1470
  Disabled default iTXt support that was inadvertently enabled in
 
1471
    libpng-1.2.9beta1.
 
1472
  Added "OS2" to list of systems that don't need underscores, in pnggccrd.c
 
1473
  Removed libpng version and date from *.c files.
 
1474
 
 
1475
version 1.2.9beta5 [March 4, 2006]
 
1476
  Removed trailing blanks from source files.
 
1477
  Put version and date of latest change in each source file, and changed
 
1478
    copyright year accordingly.
 
1479
  More cleanup of configure.ac, Makefile.ac, and associated scripts.
 
1480
  Restored scripts/makefile.elf which was inadvertently deleted.
 
1481
 
 
1482
version 1.2.9beta6 [March 6, 2006]
 
1483
  Fixed typo (12) in configuration files.
 
1484
 
 
1485
version 1.2.9beta7 [March 7, 2006]
 
1486
  Removed libpng.vers and libpng.sym from libpng12_la_SOURCES in Makefile.am
 
1487
  Fixed inconsistent #ifdef's around png_sig_bytes() and png_set_sCAL_s()
 
1488
    in png.h.
 
1489
  Updated makefile.elf as suggested by debian.
 
1490
  Made cosmetic changes to some makefiles, adding LN_SF and other macros.
 
1491
  Made some makefiles accept "exec_prefix".
 
1492
 
 
1493
version 1.2.9beta8 [March 9, 2006]
 
1494
  Fixed some "#if defined (..." which should be "#if defined(..."
 
1495
    Bug introduced in libpng-1.2.8.
 
1496
  Fixed inconsistency in definition of png_default_read_data()
 
1497
  Restored blank that was lost from makefile.sggcc "clean" target in beta7.
 
1498
  Revised calculation of "current" and "major" for irix in ltmain.sh
 
1499
  Changed "mkdir" to "MKDIR_P" in some makefiles.
 
1500
  Separated PNG_EXPAND and PNG_EXPAND_tRNS.
 
1501
  Added png_set_expand_gray_1_2_4_to_8() and deprecated
 
1502
    png_set_gray_1_2_4_to_8() which also expands tRNS to alpha.
 
1503
 
 
1504
version 1.2.9beta9 [March 10, 2006]
 
1505
  Include "config.h" in pngconf.h when available.
 
1506
  Added some checks for NULL png_ptr or NULL info_ptr (timeless)
 
1507
 
 
1508
version 1.2.9beta10 [March 20, 2006]
 
1509
  Removed extra CR from contrib/visualpng/VisualPng.dsw (Cosmin)
 
1510
  Made pnggccrd.c PIC-compliant (Christian Aichinger).
 
1511
  Added makefile.mingw (Wolfgang Glas).
 
1512
  Revised pngconf.h MMX checking.
 
1513
 
 
1514
version 1.2.9beta11 [March 22, 2006]
 
1515
  Fixed out-of-order declaration in pngwrite.c that was introduced in beta9
 
1516
  Simplified some makefiles by using LIBSO, LIBSOMAJ, and LIBSOVER macros.
 
1517
 
 
1518
version 1.2.9rc1 [March 31, 2006]
 
1519
  Defined PNG_USER_PRIVATEBUILD when including "pngusr.h" (Cosmin).
 
1520
  Removed nonsensical assertion check from pngtest.c (Cosmin).
 
1521
 
 
1522
version 1.2.9 [April 14, 2006]
 
1523
  Revised makefile.beos and added "none" selector in ltmain.sh
 
1524
 
 
1525
version 1.2.10beta1 [April 15, 2006]
 
1526
  Renamed "config.h" to "png_conf.h" and revised Makefile.am to add
 
1527
    -DPNG_BUILDING_LIBPNG to compile directive, and modified pngconf.h
 
1528
    to include png_conf.h only when PNG_BUILDING_LIBPNG is defined.
 
1529
 
 
1530
version 1.2.10beta2 [April 15, 2006]
 
1531
  Manually updated Makefile.in and configure.  Changed png_conf.h.in
 
1532
    back to config.h.
 
1533
 
 
1534
version 1.2.10beta3 [April 15, 2006]
 
1535
  Change png_conf.h back to config.h in pngconf.h.
 
1536
 
 
1537
version 1.2.10beta4 [April 16, 2006]
 
1538
  Change PNG_BUILDING_LIBPNG to PNG_CONFIGURE_LIBPNG in config/Makefile*.
 
1539
 
 
1540
version 1.2.10beta5 [April 16, 2006]
 
1541
  Added a configure check for compiling assembler code in pnggccrd.c
 
1542
 
 
1543
version 1.2.10beta6 [April 17, 2006]
 
1544
  Revised the configure check for pnggccrd.c
 
1545
  Moved -DPNG_CONFIGURE_LIBPNG into @LIBPNG_DEFINES@
 
1546
  Added @LIBPNG_DEFINES@ to arguments when building libpng.sym
 
1547
 
 
1548
version 1.2.10beta7 [April 18, 2006]
 
1549
  Change "exec_prefix=$prefix" to "exec_prefix=$(prefix)" in makefiles.
 
1550
 
 
1551
version 1.2.10rc1 [April 19, 2006]
 
1552
  Ensure pngconf.h doesn't define both PNG_USE_PNGGCCRD and PNG_USE_PNGVCRD
 
1553
  Fixed "LN_FS" typo in makefile.sco and makefile.solaris.
 
1554
 
 
1555
version 1.2.10rc2 [April 20, 2006]
 
1556
  Added a backslash between -DPNG_CONFIGURE_LIBPNG and -DPNG_NO_ASSEMBLER_CODE
 
1557
   in configure.ac and configure
 
1558
  Made the configure warning about versioned symbols less arrogant.
 
1559
 
 
1560
version 1.2.10rc3 [April 21, 2006]
 
1561
  Added a note in libpng.txt that png_set_sig_bytes(8) can be used when
 
1562
    writing an embedded PNG without the 8-byte signature.
 
1563
  Revised makefiles and configure to avoid making links to libpng.so.*
 
1564
 
 
1565
version 1.2.10 [April 23, 2006]
 
1566
  Reverted configure to "rc2" state.
 
1567
 
 
1568
version 1.2.11beta1 [May 31, 2006]
 
1569
  scripts/libpng.pc.in contained "configure" style version info and would
 
1570
    not work with makefiles.
 
1571
  The shared-library makefiles were linking to libpng.so.0 instead of
 
1572
    libpng.so.3 compatibility as the library.
 
1573
 
 
1574
version 1.2.11beta2 [June 2, 2006]
 
1575
  Increased sprintf buffer from 50 to 52 chars in pngrutil.c to avoid
 
1576
    buffer overflow.
 
1577
  Fixed bug in example.c (png_set_palette_rgb -> png_set_palette_to_rgb)
 
1578
 
 
1579
version 1.2.11beta3 [June 5, 2006]
 
1580
  Prepended "#! /bin/sh" to ltmail.sh and contrib/pngminus/*.sh (Cosmin).
 
1581
  Removed the accidental leftover Makefile.in~ (Cosmin).
 
1582
  Avoided potential buffer overflow and optimized buffer in
 
1583
    png_write_sCAL(), png_write_sCAL_s() (Cosmin).
 
1584
  Removed the include directories and libraries from CFLAGS and LDFLAGS
 
1585
    in scripts/makefile.gcc (Nelson A. de Oliveira, Cosmin).
 
1586
 
 
1587
version 1.2.11beta4 [June 6, 2006]
 
1588
  Allow zero-length IDAT chunks after the entire zlib datastream, but not
 
1589
    after another intervening chunk type.
 
1590
 
 
1591
version 1.0.19rc1, 1.2.11rc1 [June 13, 2006]
 
1592
  Deleted extraneous square brackets from [config.h] in configure.ac
 
1593
 
 
1594
version 1.0.19rc2, 1.2.11rc2 [June 14, 2006]
 
1595
  Added prototypes for PNG_INCH_CONVERSIONS functions to png.h
 
1596
  Revised INSTALL and autogen.sh
 
1597
  Fixed typo in several makefiles (-W1 should be -Wl)
 
1598
  Added typedef for png_int_32 and png_uint_32 on 64-bit systems.
 
1599
 
 
1600
version 1.0.19rc3, 1.2.11rc3 [June 15, 2006]
 
1601
  Removed the new typedefs for 64-bit systems (delay until version 1.4.0)
 
1602
  Added one zero element to png_gamma_shift[] array in pngrtran.c to avoid
 
1603
    reading out of bounds.
 
1604
 
 
1605
version 1.0.19rc4, 1.2.11rc4 [June 15, 2006]
 
1606
  Really removed the new typedefs for 64-bit systems.
 
1607
 
 
1608
version 1.0.19rc5, 1.2.11rc5 [June 22, 2006]
 
1609
  Removed png_sig_bytes entry from scripts/pngw32.def
 
1610
 
 
1611
version 1.0.19, 1.2.11 [June 26, 2006]
 
1612
  None.
 
1613
 
 
1614
version 1.0.20, 1.2.12 [June 27, 2006]
 
1615
  Really increased sprintf buffer from 50 to 52 chars in pngrutil.c to avoid
 
1616
    buffer overflow.
 
1617
 
 
1618
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
 
1619
(subscription required; visit
 
1620
https://lists.sourceforge.net/lists/listinfo/png-mng-implement
 
1621
to subscribe)
 
1622
or to glennrp at users.sourceforge.net
1183
1623
 
1184
1624
Glenn R-P