blob: 225fb8a84905077b9de261f84957f5a53d240f42 [file] [log] [blame]
Glenn Randers-Pehrson896239b1998-04-21 15:03:57 -05001
Glenn Randers-Pehrson76546822009-05-16 07:25:42 -05002Libpng 1.4.0beta60 - May 16, 2009
Glenn Randers-Pehrson896239b1998-04-21 15:03:57 -05003
Glenn Randers-Pehrsond5d63602006-04-15 06:37:45 -05004This is not intended to be a public release. It will be replaced
5within a few weeks by a public version or by another test version.
Glenn Randers-Pehrson896239b1998-04-21 15:03:57 -05006
Glenn Randers-Pehrsonddfebd32006-02-22 09:19:25 -06007Files available for download:
8
9Source files with LF line endings (for Unix/Linux) and with a
10"configure" script
11
Glenn Randers-Pehrson76546822009-05-16 07:25:42 -050012 1.4.0beta60.tar.gz
13 1.4.0beta60.tar.bz2
Glenn Randers-Pehrson3a512032006-03-31 05:29:33 -060014
15Source files with LF line endings (for Unix/Linux) without the
16"configure" script
17
Glenn Randers-Pehrson76546822009-05-16 07:25:42 -050018 1.4.0beta60-no-config.tar.gz
19 1.4.0beta60-no-config.tar.bz2
Glenn Randers-Pehrsonddfebd32006-02-22 09:19:25 -060020
21Source files with CRLF line endings (for Windows), without the
22"configure" script
23
Glenn Randers-Pehrson76546822009-05-16 07:25:42 -050024 lp140b60.zip
25 lp140b60.tar.bz2
Glenn Randers-Pehrsonddfebd32006-02-22 09:19:25 -060026
27Other information:
28
Glenn Randers-Pehrson76546822009-05-16 07:25:42 -050029 1.4.0beta60-README.txt
30 1.4.0beta60-KNOWNBUGS.txt
31 1.4.0beta60-LICENSE.txt
32 1.4.0beta60-Y2K-compliance.txt
Glenn Randers-Pehrsonddfebd32006-02-22 09:19:25 -060033
Glenn Randers-Pehrson6bc53be2006-06-16 07:52:03 -050034Changes since the last public release (1.2.10):
Glenn Randers-Pehrson896239b1998-04-21 15:03:57 -050035
Glenn Randers-Pehrsond5d63602006-04-15 06:37:45 -050036version 1.2.10beta1 [April 15, 2006]
37 Renamed "config.h" to "png_conf.h" and revised Makefile.am to add
38 -DPNG_BUILDING_LIBPNG to compile directive, and modified pngconf.h
39 to include png_conf.h only when PNG_BUILDING_LIBPNG is defined.
Glenn Randers-Pehrson3a512032006-03-31 05:29:33 -060040
Glenn Randers-Pehrson3a5a7592006-04-15 14:14:42 -050041version 1.2.10beta2 [April 15, 2006]
Glenn Randers-Pehrsonb0270f72006-04-15 18:23:04 -050042 Manually updated Makefile.in and configure. Changed png_conf.h.in
43 back to config.h.
44
45version 1.2.10beta3 [April 15, 2006]
46 Change png_conf.h back to config.h in pngconf.h.
Glenn Randers-Pehrson3a5a7592006-04-15 14:14:42 -050047
Glenn Randers-Pehrson77be22c2006-04-16 12:16:14 -050048version 1.2.10beta4 [April 16, 2006]
49 Change PNG_BUILDING_LIBPNG to PNG_CONFIGURE_LIBPNG in config/Makefile*.
50
Glenn Randers-Pehrson629330e2006-04-17 14:33:23 -050051version 1.2.10beta5 [April 16, 2006]
Glenn Randers-Pehrsonb511b602006-04-16 19:45:31 -050052 Added a configure check for compiling assembler code in pnggccrd.c
53
Glenn Randers-Pehrson629330e2006-04-17 14:33:23 -050054version 1.2.10beta6 [April 17, 2006]
55 Revised the configure check for pnggccrd.c
56 Moved -DPNG_CONFIGURE_LIBPNG into @LIBPNG_DEFINES@
57 Added @LIBPNG_DEFINES@ to arguments when building libpng.sym
58
Glenn Randers-Pehrsonad310542006-04-18 05:31:20 -050059version 1.2.10beta7 [April 18, 2006]
60 Change "exec_prefix=$prefix" to "exec_prefix=$(prefix)" in makefiles.
61
Glenn Randers-Pehrson17218292006-04-20 07:20:46 -050062version 1.2.10rc1 [April 19, 2006]
Glenn Randers-Pehrsonf628ee22006-04-19 05:00:04 -050063 Ensure pngconf.h doesn't define both PNG_USE_PNGGCCRD and PNG_USE_PNGVCRD
64 Fixed "LN_FS" typo in makefile.sco and makefile.solaris.
65
Glenn Randers-Pehrson17218292006-04-20 07:20:46 -050066version 1.2.10rc2 [April 19, 2006]
67 Added a backslash between -DPNG_CONFIGURE_LIBPNG and -DPNG_NO_ASSEMBLER_CODE
68 in configure.ac
69 Made the configure warning about versioned symbols less arrogant.
70
Glenn Randers-Pehrson86dc9812006-05-10 07:27:44 -050071version 1.2.10rc3 [April 20, 2006]
Glenn Randers-Pehrsond60b8fa2006-04-20 21:31:14 -050072 Added a note in libpng.txt that png_set_sig_bytes(8) can be used when
73 writing an embedded PNG without the 8-byte signature.
74
Glenn Randers-Pehrson17218292006-04-20 07:20:46 -050075version 1.4.0beta1 [April 20, 2006]
76 Enabled iTXt support (changes png_struct, thus requires so-number change).
77 Cleaned up PNG_ASSEMBLER_CODE_SUPPORTED vs PNG_MMX_CODE_SUPPORTED
78 Eliminated PNG_1_0_X and PNG_1_2_X macros.
79 Removed deprecated functions png_read_init, png_write_init, png_info_init,
80 png_permit_empty_plte, png_set_gray_1_2_4_to_8, and removed the
81 deprecated macro PNG_MAX_UINT.
82 Moved "PNG_INTERNAL" parts of png.h and pngconf.h into pngintrn.h
83 Removed many WIN32_WCE #ifdefs (Cosmin).
84 Reduced dependency on C-runtime library when on Windows (Simon-Pierre)
85 Replaced sprintf() with png_sprintf() (Simon-Pierre)
86
Glenn Randers-Pehrson86dc9812006-05-10 07:27:44 -050087version 1.4.0beta2 [April 20, 2006]
Glenn Randers-Pehrsond60b8fa2006-04-20 21:31:14 -050088 Revised makefiles to avoid making links to libpng.so.*
89 Moved some leftover MMX-related defines from pngconf.h to pngintrn.h
90 Updated scripts/pngos2.def, pngw32.def, and projects/wince/png32ce.def
Glenn Randers-Pehrson86dc9812006-05-10 07:27:44 -050091 Updated scripts/pngw32.def to comment out MMX functions.
Glenn Randers-Pehrsonb3870ab2006-05-11 09:43:09 -050092
Glenn Randers-Pehrson6bc53be2006-06-16 07:52:03 -050093version 1.2.11beta1 [May 31, 2006]
94 scripts/libpng.pc.in contained "configure" style version info and would
95 not work with makefiles.
96 The shared-library makefiles were linking to libpng.so.0 instead of
97 libpng.so.3 compatibility as the library.
98
Glenn Randers-Pehrsonb3870ab2006-05-11 09:43:09 -050099version 1.4.0beta3 [May 10, 2006]
100 Updated scripts/pngw32.def to comment out MMX functions.
Glenn Randers-Pehrson86dc9812006-05-10 07:27:44 -0500101 Added PNG_NO_GET_INT_32 and PNG_NO_SAVE_INT_32 macros.
Glenn Randers-Pehrson86dc9812006-05-10 07:27:44 -0500102 Revised pngconf.h and added pngconf.h.in so makefiles and configure can
103 pass defines to libpng and applications.
104
Glenn Randers-Pehrsonb3870ab2006-05-11 09:43:09 -0500105version 1.4.0beta4 [May 11, 2006]
106 Revised configure.ac, Makefile.am, and many of the makefiles to write
107 their defines in pngconf.h.
Glenn Randers-Pehrsond60b8fa2006-04-20 21:31:14 -0500108
Glenn Randers-Pehrsone826d7e2006-07-03 00:21:58 -0500109version 1.4.0beta5 [May 15, 2006]
Glenn Randers-Pehrson73b064c2006-05-15 06:44:21 -0500110 Added a missing semicolon in Makefile.am and Makefile.in
111 Deleted extraneous square brackets from configure.ac
112
Glenn Randers-Pehrson6bc53be2006-06-16 07:52:03 -0500113version 1.2.11beta2 [June 2, 2006]
114 Increased sprintf buffer from 50 to 52 chars in pngrutil.c to avoid
115 buffer overflow.
116 Fixed bug in example.c (png_set_palette_rgb -> png_set_palette_to_rgb))
117
118version 1.4.0beta6 [June 2, 2006]
119 Changed sonum from 0 to 1.
120 Removed unused prototype for png_check_sig() from png.h
121
122version 1.2.11beta3 [June 5, 2006]
123 Prepended "#! /bin/sh" to ltmail.sh and contrib/pngminus/*.sh (Cosmin).
124 Removed the accidental leftover Makefile.in~ (Cosmin).
125 Avoided potential buffer overflow and optimized buffer in
126 png_write_sCAL(), png_write_sCAL_s() (Cosmin).
127 Removed the include directories and libraries from CFLAGS and LDFLAGS
128 in scripts/makefile.gcc (Nelson A. de Oliveira, Cosmin).
129
130version 1.2.11beta4 [June 6, 2006]
131 Allow zero-length IDAT chunks after the entire zlib datastream, but not
132 after another intervening chunk type.
133
134version 1.2.11rc2 [June 14, 2006]
135 Added prototypes for PNG_INCH_CONVERSIONS functions to png.h
136 Revised INSTALL and autogen.sh
137 Fixed typo in several makefiles (-W1 should be -Wl)
138
Glenn Randers-Pehrsone826d7e2006-07-03 00:21:58 -0500139version 1.2.11rc3 [June 15, 2006]
Glenn Randers-Pehrson6bc53be2006-06-16 07:52:03 -0500140 Added one zero element to png_gamma_shift[] array in pngrtran.c to avoid
141 reading out of bounds.
142
Glenn Randers-Pehrsone826d7e2006-07-03 00:21:58 -0500143version 1.4.0beta7 [June 16, 2006]
Glenn Randers-Pehrson6bc53be2006-06-16 07:52:03 -0500144 Exported png_write_sig (Cosmin).
145 Optimized buffer in png_handle_cHRM() (Cosmin).
146 Set pHYs = 2835 x 2835 pixels per meter, and added
147 sCAL = 0.352778e-3 x 0.352778e-3 meters, in pngtest.png (Cosmin).
148 Added png_set_benign_errors(), png_benign_error(), png_chunk_benign_error().
149 Added typedef for png_int_32 and png_uint_32 on 64-bit systems.
150
Glenn Randers-Pehrsone826d7e2006-07-03 00:21:58 -0500151version 1.4.0beta8 [June 21, 2006]
Glenn Randers-Pehrsond1209962006-06-21 19:40:52 -0500152 Added demonstration of user chunk support in pngtest.c, to support the
153 public sTER chunk and a private vpAg chunk.
154
Glenn Randers-Pehrsone826d7e2006-07-03 00:21:58 -0500155version 1.4.0beta9 [July 3, 2006]
156 Removed ordinals from scripts/pngw32.def and removed png_info_int and
157 png_set_gray_1_2_4_to_8 entries.
158 Inline call of png_get_uint_32() in png_get_uint_31().
Glenn Randers-Pehrsonbeb572e2006-08-19 13:59:24 -0500159 Use png_get_uint_31() to get vpAg width and height in pngtest.c
Glenn Randers-Pehrsone826d7e2006-07-03 00:21:58 -0500160 Removed WINCE and Netware projects.
161 Removed standalone Y2KINFO file.
162
Glenn Randers-Pehrson3424ee72006-07-12 13:33:47 -0500163version 1.4.0beta10 [July 12, 2006]
164 Added "all: pngconf.h.in pngconf.h" target to Makefile.am
165
Glenn Randers-Pehrsonbeb572e2006-08-19 13:59:24 -0500166version 1.4.0beta11 [August 19, 2006]
167 Removed AC_FUNC_MALLOC from configure.ac.
168 Added a warning when writing iCCP profile with mismatched profile length.
169 Patched pnggccrd.c to assemble on x86_64 platforms.
170 Moved chunk header reading into a separate function png_read_chunk_header()
171 in pngrutil.c. The chunk header (len+sig) is now serialized in a single
172 operation (Cosmin).
173 Implemented support for I/O states. Added png_ptr member io_state, and
174 functions png_get_io_chunk_name() and png_get_io_state() in pngget.c
175 (Cosmin).
176 Added png_get_io_chunk_name and png_get_io_state to scripts/*.def (Cosmin).
177 Renamed scripts/pngw32.* to scripts/pngwin.* (Cosmin).
178 Removed the include directories and libraries from CFLAGS and LDFLAGS
179 in scripts/makefile.gcc (Cosmin).
180 Used png_save_uint_32() to set vpAg width and height in pngtest.c (Cosmin).
181 Cast to proper type when getting/setting vpAg units in pngtest.c (Cosmin).
182 Added pngintrn.h to the Visual C++ projects (Cosmin).
183 Removed scripts/list (Cosmin).
184 Updated copyright year in scripts/pngwin.def (Cosmin).
185 Removed PNG_TYPECAST_NULL and used standard NULL consistently (Cosmin).
186 Disallowed the user to redefine png_size_t, and enforced a consistent use
187 of png_size_t across libpng (Cosmin).
188 Changed the type of png_ptr->rowbytes, PNG_ROWBYTES() and friends
189 to png_size_t (Cosmin).
190 Removed png_convert_size() and replaced png_sizeof with sizeof (Cosmin).
191 Removed some unnecessary type casts (Cosmin).
192 Changed prototype of png_get_compression_buffer_size() and
193 png_set_compression_buffer_size() to work with png_size_t instead of
194 png_uint_32 (Cosmin).
195 Removed png_memcpy_check() and png_memset_check() (Cosmin).
196 Fixed a typo (png_byte --> png_bytep) in libpng.3 and libpng.txt (Cosmin).
197 Clarified that png_zalloc() does not clear the allocated memory,
198 and png_zalloc() and png_zfree() cannot be PNGAPI (Cosmin).
199 Renamed png_mem_size_t to png_alloc_size_t, fixed its definition in
200 pngconf.h, and used it in all memory allocation functions (Cosmin).
201 Renamed pngintrn.h to pngpriv.h, added a comment at the top of the file
202 mentioning that the symbols declared in that file are private, and
203 updated the scripts and the Visual C++ projects accordingly (Cosmin).
204 Removed circular references between pngconf.h and pngconf.h.in in
205 scripts/makefile.vc*win32 (Cosmin).
206 Removing trailing '.' from the warning and error messages (Cosmin).
207 Added pngdefs.h that is built by makefile or configure, instead of
208 pngconf.h.in (Glenn).
Glenn Randers-Pehrson6b12c082006-11-14 10:53:30 -0600209 Detect and fix attempt to write wrong iCCP profile length.
Glenn Randers-Pehrsonbeb572e2006-08-19 13:59:24 -0500210
Glenn Randers-Pehrsonebd7f9a2006-10-19 09:37:56 -0500211version 1.4.0beta12 [October 19, 2006]
212 Changed "logical" to "bitwise" in the documentation.
213 Work around Intel-Mac compiler bug by setting PNG_NO_MMX_CODE in pngconf.h
214 Add a typecast to stifle compiler warning in pngrutil.c
215
Glenn Randers-Pehrson6b12c082006-11-14 10:53:30 -0600216version 1.4.0beta13 [November 10, 2006]
Glenn Randers-Pehrson3779c692006-11-07 20:38:11 -0600217 Fix potential buffer overflow in sPLT chunk handler.
218 Fix Makefile.am to not try to link to noexistent files.
Glenn Randers-Pehrson6b12c082006-11-14 10:53:30 -0600219
Glenn Randers-Pehrsonae4bd5c2006-11-16 20:35:49 -0600220version 1.4.0beta14 [November 15, 2006]
Glenn Randers-Pehrson6b12c082006-11-14 10:53:30 -0600221 Check all exported functions for NULL png_ptr.
Glenn Randers-Pehrson3779c692006-11-07 20:38:11 -0600222
Glenn Randers-Pehrsonae4bd5c2006-11-16 20:35:49 -0600223version 1.4.0beta15 [November 17, 2006]
224 Relocated two misplaced tests for NULL png_ptr.
225 Built Makefile.in with automake-1.9.6 instead of 1.9.2.
Glenn Randers-Pehrson701dbaa2006-11-17 09:36:54 -0600226 Build configure with autoconf-2.60 instead of 2.59.
227 Add "install: all" in Makefile.am so "configure; make install" will work.
228
229version 1.4.0beta16 [November 17, 2006]
230 Added a typecast in png_zalloc().
Glenn Randers-Pehrsonae4bd5c2006-11-16 20:35:49 -0600231
Glenn Randers-Pehrsonc3f52f12006-12-07 19:27:58 -0600232version 1.4.0beta17 [December 4, 2006]
Glenn Randers-Pehrson7edd4582006-12-07 19:16:44 -0600233 Changed "new_key[79] = '\0';" to "(*new_key)[79] = '\0';" in pngwutil.c
234
Glenn Randers-Pehrsona7dbcba2007-05-15 16:16:34 -0500235version 1.4.0beta18 [December 7, 2006]
Glenn Randers-Pehrsonc3f52f12006-12-07 19:27:58 -0600236 Added scripts/CMakeLists.txt
237
Glenn Randers-Pehrson145f5c82008-07-10 09:13:13 -0500238version 1.4.0beta19 [May 16, 2007]
Glenn Randers-Pehrsona7dbcba2007-05-15 16:16:34 -0500239 Revised scripts/CMakeLists.txt
240 Rebuilt configure and Makefile.in with newer tools.
241 Added "png_ptr->num_trans=0" before error return in png_handle_tRNS,
242 to eliminate a vulnerability (CVE-2007-2554, CERT VU#684664)
243
Glenn Randers-Pehrsonb3ff9682008-07-21 08:05:57 -0500244version 1.4.0beta20 [July 9, 2008]
Glenn Randers-Pehrson145f5c82008-07-10 09:13:13 -0500245 Moved several PNG_HAVE_* macros from pngpriv.h to png.h because applications
246 calling set_unknown_chunk_location() need them.
247 Moved several macro definitions from pngpriv.h to pngconf.h
248 Added png_ptr->unknown_chunk to hold working unknown chunk data, so it
249 can be free'ed in case of error. Revised unknown chunk handling in
250 pngrutil.c and pngpread.c to use this structure.
251 Merge with changes to the 1.2.X branch, as of 1.2.19beta10.
252 Revised makefile.mingw
253 Prefer PNG_USE_PNGVCRD when _MSC_VER is defined in pngconf.h
254
Glenn Randers-Pehrson895a9c92008-07-25 08:51:18 -0500255version 1.4.0beta21 [July 21, 2008]
Glenn Randers-Pehrsonb3ff9682008-07-21 08:05:57 -0500256 Moved local array "chunkdata" from pngrutil.c to the png_struct, so
Glenn Randers-Pehrson895a9c92008-07-25 08:51:18 -0500257 it will be freed by png_read_destroy() in case of a read error (Kurt
258 Christensen).
259
260version 1.4.0beta22 [July 21, 2008]
261 Change "purpose" and "buffer" to png_ptr->chunkdata to avoid memory leaking.
262
263version 1.4.0beta23 [July 22, 2008]
264 Change "chunkdata = NULL" to "png_ptr->chunkdata = NULL" several places in
265 png_decompress_chunk().
266
267version 1.4.0beta24 [July 25, 2008]
268 Change all remaining "chunkdata" to "png_ptr->chunkdata" in
269 png_decompress_chunk(), and remove "chunkdata" from parameter list.
270 Put a call to png_check_chunk_name() in png_read_chunk_header().
271 Revised png_check_chunk_name() to reject a name with a lowercase 3rd byte.
272 Removed two calls to png_check_chunk_name() occuring later in the process.
273 Define PNG_NO_ERROR_NUMBERS by default in pngconf.h
Glenn Randers-Pehrsonb3ff9682008-07-21 08:05:57 -0500274
Glenn Randers-Pehrsoneb580912008-07-30 14:47:09 -0500275version 1.4.0beta25 [July 30, 2008]
276 Added a call to png_check_chunk_name() in pngpread.c
277 Reverted png_check_chunk_name() to accept a name with a lowercase 3rd byte.
278 Added png_push_have_buffer() function to pngpread.c
279 Eliminated PNG_BIG_ENDIAN_SUPPORTED and associated png_get_* macros.
280 Made inline expansion of png_get_*() optional with PNG_USE_READ_MACROS.
281 Eliminated all PNG_USELESS_TESTS and PNG_CORRECT_PALETTE_SUPPORTED code.
282 Synced contrib directory and configure files with libpng-1.2.30beta06.
283 Eliminated no-longer-used pngdefs.h (but it's still built in the makefiles)
Glenn Randers-Pehrson79084212008-08-04 13:31:41 -0500284 Relocated a misplaced "#endif /* PNG_NO_WRITE_FILTER */" in pngwutil.c
285
286version 1.4.0beta26 [August 4, 2008]
287 Removed png_push_have_buffer() function in pngpread.c. It increased the
288 compiled library size slightly.
289 Changed "-Wall" to "-W -Wall" in the CFLAGS in all makefiles (Cosmin Truta)
290 Declared png_ptr "volatile" in pngread.c and pngwrite.c to avoid warnings.
291 Updated contrib/visupng/cexcept.h to version 2.0.1
292 Added PNG_LITERAL_CHARACTER macros for #, [, and ].
Glenn Randers-Pehrsoneb580912008-07-30 14:47:09 -0500293
Glenn Randers-Pehrson51650b82008-08-05 07:44:42 -0500294version 1.4.0beta27 [August 5, 2008]
295 Revised usage of PNG_LITERAL_SHARP in pngerror.c.
296 Moved newline character from individual png_debug messages into the
297 png_debug macros.
298 Allow user to #define their own png_debug, png_debug1, and png_debug2.
299
Glenn Randers-Pehrsone0784c72008-08-09 07:11:44 -0500300version 1.4.0beta28 [August 5, 2008]
Glenn Randers-Pehrson43aaf6e2008-08-05 22:17:03 -0500301 Revised usage of PNG_LITERAL_SHARP in pngerror.c.
302 Added PNG_STRING_NEWLINE macro
303
Glenn Randers-Pehrsone0784c72008-08-09 07:11:44 -0500304version 1.4.0beta29 [August 9, 2008]
305 Revised usage of PNG_STRING_NEWLINE to work on non-ISO compilers.
306 Added PNG_STRING_COPYRIGHT macro.
307 Added non-ISO versions of png_debug macros.
308
Glenn Randers-Pehrson1916f6a2008-08-14 13:44:49 -0500309version 1.4.0beta30 [August 14, 2008]
310 Added premultiplied alpha feature (Volker Wiendl).
311
Glenn Randers-Pehrsondbed41f2008-08-19 18:20:52 -0500312version 1.4.0beta31 [August 18, 2008]
Glenn Randers-Pehrson41983602008-08-18 21:52:21 -0500313 Moved png_set_premultiply_alpha from pngtrans.c to pngrtran.c
Glenn Randers-Pehrsondbed41f2008-08-19 18:20:52 -0500314 Removed extra crc check at the end of png_handle_cHRM(). Bug introduced
315 in libpng-1.4.0beta20.
316
317version 1.4.0beta32 [August 19, 2008]
318 Added PNG_WRITE_FLUSH_SUPPORTED block around new png_flush() call.
319 Revised PNG_NO_STDIO version of png_write_flush()
Glenn Randers-Pehrson41983602008-08-18 21:52:21 -0500320
Glenn Randers-Pehrson800d1e92008-08-20 17:25:21 -0500321version 1.4.0beta33 [August 20, 2008]
322 Added png_set_chunk_cache_max() to limit the total number of sPLT,
323 text, and unknown chunks that can be stored.
324
Glenn Randers-Pehrsona5fa5c92008-09-06 07:06:22 -0500325version 1.4.0beta34 [September 6, 2008]
326 Shortened tIME_string to 29 bytes in pngtest.c
Glenn Randers-Pehrson56f63962008-10-06 10:16:17 -0500327 Fixed off-by-one error introduced in png_push_read_zTXt() function in
328 libpng-1.2.30beta04/pngpread.c (Harald van Dijk)
329
330version 1.4.0beta35 [October 6, 2008]
331 Changed "trans_values" to "trans_color".
332 Change png_set_gray_1_2_4_to_8() to png_set_expand_gray_1_2_4_to_8()
333 in example.c (debian bug report)
Glenn Randers-Pehrsona5fa5c92008-09-06 07:06:22 -0500334
Glenn Randers-Pehrsonf7831012008-11-13 06:05:13 -0600335version 1.4.0beta36 [October 25, 2008]
Glenn Randers-Pehrson97a9b482008-10-25 20:03:28 -0500336 Sync with tEXt vulnerability fix in libpng-1.2.33rc02.
337
Glenn Randers-Pehrsonf7831012008-11-13 06:05:13 -0600338version 1.4.0beta37 [November 13, 2008]
339 Added png_check_cHRM in png.c and moved checking from pngget.c, pngrutil.c,
340 and pngwrite.c
341
Glenn Randers-Pehrsond0c40592008-11-22 07:09:51 -0600342version 1.4.0beta38 [November 22, 2008]
343 Added check for zero-area RGB cHRM triange in png_check_cHRM() and
344 png_check_cHRM_fixed().
345
Glenn Randers-Pehrson6a9c2ce2009-03-27 19:30:10 -0500346version 1.4.0beta39 [November 23, 2008]
Glenn Randers-Pehrson398b5a32008-11-23 06:48:29 -0600347 Revised png_warning() to write its message on standard output by default
348 when warning_fn is NULL.
349
Glenn Randers-Pehrson71a3c1f2008-11-26 12:00:38 -0600350version 1.4.0beta40 [November 24, 2008]
Glenn Randers-Pehrson02a5e332008-11-24 22:10:23 -0600351 Eliminated png_check_cHRM(). Instead, always use png_check_cHRM_fixed().
352 In png_check_cHRM_fixed(), ensure white_y is > 0, and removed redundant
353 check for all-zero coordinates that is detected by the triangle check.
354
Glenn Randers-Pehrson5ca69e42008-12-06 05:38:27 -0600355version 1.4.0beta41 [November 26, 2008]
Glenn Randers-Pehrson71a3c1f2008-11-26 12:00:38 -0600356 Fixed string vs pointer-to-string error in png_check_keyword().
357 Rearranged test expressions in png_check_cHRM_fixed() to avoid internal
358 overflows.
359 Added PNG_NO_CHECK_cHRM conditional.
360
Glenn Randers-Pehrson5ca69e42008-12-06 05:38:27 -0600361version 1.4.0beta42, 43 [December 1, 2008]
Glenn Randers-Pehrsond6d80752008-12-02 09:49:43 -0600362 Merge png_debug with version 1.2.34beta04.
363
Glenn Randers-Pehrson5ca69e42008-12-06 05:38:27 -0600364version 1.4.0beta44 [December 6, 2008]
365 Removed redundant check for key==NULL before calling png_check_keyword()
366 to ensure that new_key gets initialized and removed extra warning
367 (Merge with version 1.2.34beta05 -- Arvan Pritchard).
Glenn Randers-Pehrson65a09922008-12-09 06:11:59 -0600368
369version 1.4.0beta45 [December 9, 2008]
370 In png_write_png(), respect the placement of the filler bytes in an earlier
371 call to png_set_filler() (Jim Barry).
372
Glenn Randers-Pehrson1eb14e92008-12-10 07:14:45 -0600373version 1.4.0beta46 [December 10, 2008]
374 Undid previous change and added PNG_TRANSFORM_STRIP_FILLER_BEFORE and
375 PNG_TRANSFORM_STRIP_FILLER_AFTER conditionals and deprecated
376 PNG_TRANSFORM_STRIP_FILLER (Jim Barry).
377
Glenn Randers-Pehrson4a82d692008-12-15 16:25:05 -0600378version 1.4.0beta47 [December 15, 2008]
379 Turned off PNG_READ_DITHER_SUPPORTED by default.
380
Glenn Randers-Pehrson79134c62009-02-14 10:32:18 -0600381version 1.4.0beta48 [February 14, 2009]
382 Added new exported function png_calloc().
383 Combined several instances of png_malloc(); png_memset() into png_calloc().
384 Removed prototype for png_freeptr() that was added in libpng-1.4.0beta24
385
Glenn Randers-Pehrson0ffb71a2009-02-28 06:08:20 -0600386version 1.4.0beta49 [February 28, 2009]
387 Added png_fileno() macro to pngconf.h, used in pngwio.c
388 Corrected order of #ifdef's in png_debug definition in png.h
389 Fixed bug introduced in libpng-1.4.0beta48 with the memset arguments
390 for pcal_params.
391 Fixed order of #ifdef directives in the png_debug defines in png.h
392 (bug introduced in libpng-1.2.34/1.4.0beta29).
393 Revised comments in png_set_read_fn() and png_set_write_fn().
394
Glenn Randers-Pehrson6a9c2ce2009-03-27 19:30:10 -0500395version 1.4.0beta50 [March 18, 2009]
Glenn Randers-Pehrson6917b512009-03-09 15:31:08 -0500396 Use png_calloc() instead of png_malloc() to allocate big_row_buf when
397 reading an interlaced file, to avoid a possible UMR.
Glenn Randers-Pehrson8fb550c2009-03-21 08:15:32 -0500398 Undid recent revision of PNG_NO_STDIO version of png_write_flush(). Users
399 having trouble with fflush() can build with PNG_NO_WRITE_FLUSH defined
400 or supply their own flush_fn() replacement.
401 Revised libpng*.txt and png.h documentation about use of png_write_flush()
402 and png_set_write_fn().
403 Removed fflush() from pngtest.c.
404 Added "#define PNG_NO_WRITE_FLUSH" to contrib/pngminim/encoder/pngusr.h
405
406version 1.4.0beta51 [March 21, 2009]
407 Removed new png_fileno() macro from pngconf.h .
Glenn Randers-Pehrson6917b512009-03-09 15:31:08 -0500408
Glenn Randers-Pehrsona6cc6272009-04-01 14:18:43 -0500409version 1.4.0beta52 [March 27, 2009]
Glenn Randers-Pehrson6a9c2ce2009-03-27 19:30:10 -0500410 Relocated png_do_chop() ahead of building gamma tables in pngrtran.c
411 This avoids building 16-bit gamma tables unnecessarily.
Glenn Randers-Pehrsona6cc6272009-04-01 14:18:43 -0500412 Removed fflush() from pngtest.c.
413 Added "#define PNG_NO_WRITE_FLUSH" to contrib/pngminim/encoder/pngusr.h
414 Added a section on differences between 1.0.x and 1.2.x to libpng.3/libpng.txt
415
416version 1.4.0beta53 [April 1, 2009]
417 Removed some remaining MMX macros from pngpriv.h
418 Fixed potential memory leak of "new_name" in png_write_iCCP() (Ralph Giles)
Glenn Randers-Pehrson6a9c2ce2009-03-27 19:30:10 -0500419
Glenn Randers-Pehrsona93c9422009-04-13 11:41:33 -0500420version 1.4.0beta54 [April 13, 2009]
421 Added "ifndef PNG_SKIP_SETJMP_CHECK" block in pngconf.h to allow
422 application code writers to bypass the check for multiple inclusion
423 of setjmp.h when they know that it is safe to ignore the situation.
424 Eliminated internal use of setjmp() in pngread.c and pngwrite.c
425 Reordered ancillary chunks in pngtest.png to be the same as what
426 pngtest now produces, and made some cosmetic changes to pngtest output.
427 Eliminated deprecated png_read_init_3() and png_write_init_3() functions.
428
Glenn Randers-Pehrson871f5cd2009-04-19 07:43:02 -0500429version 1.4.0beta55 [April 15, 2009]
Glenn Randers-Pehrsonf0a8fe02009-04-14 08:28:15 -0500430 Simplified error handling in pngread.c and pngwrite.c by putting
431 the new png_read_cleanup() and png_write_cleanup() functions inline.
432
Glenn Randers-Pehrson glennrp@comcast.net92d95342009-05-02 15:12:50 -0500433version 1.4.0beta56 [April 25, 2009]
Glenn Randers-Pehrson1d024052009-04-20 11:36:11 -0500434 Renamed "user_chunk_data" to "my_user_chunk_data" in pngtest.c to suppress
435 "shadowed declaration" warning from gcc-4.3.3.
436 Renamed "gamma" to "png_gamma" in pngset.c to avoid "shadowed declaration"
437 warning about a global "gamma" variable in math.h on some platforms.
Glenn Randers-Pehrson871f5cd2009-04-19 07:43:02 -0500438
Glenn Randers-Pehrson glennrp@comcast.net0a2547e2009-05-02 15:23:38 -0500439version 1.4.0beta57 [May 2, 2009]
440 Removed prototype for png_freeptr() that was added in libpng-1.4.0beta24
441 but was never defined (again).
Glenn Randers-Pehrson glennrp@comcast.net31cafa02009-05-02 16:08:06 -0500442 Rebuilt configure scripts with autoconf-2.63 instead of 2.62
443 Removed pngprefs.h and MMX from makefiles
Glenn Randers-Pehrson glennrp@comcast.net92d95342009-05-02 15:12:50 -0500444
Glenn Randers-Pehrsonacfe7dc2009-05-14 05:11:20 -0500445version 1.4.0beta58 [May 14, 2009]
Glenn Randers-Pehrson glennrp@comcast.netcdd43302009-05-03 05:44:06 -0500446 Changed pngw32.def to pngwin.def in makefile.mingw (typo was intruduced
447 in beta57).
Glenn Randers-Pehrson640b7d52009-05-13 07:33:22 -0500448 Clarified usage of sig_bit versus sig_bit_p in example.c (Vincent Torri)
Glenn Randers-Pehrson glennrp@comcast.net389c6552009-05-02 21:52:10 -0500449
Glenn Randers-Pehrson glennrp@comcast.net11a3c7b2009-05-15 20:33:24 -0500450version 1.4.0beta59 [May 15, 2009]
Glenn Randers-Pehrson glennrp@comcast.netb1c0d332009-05-15 20:39:34 -0500451 Reformated sources in libpng style (3-space intentation, comment format)
452 Fixed typo in libpng docs (PNG_FILTER_AVE should be PNG_FILTER_AVG)
453 Added sections about the git repository and our coding style to the
454 documentation
Glenn Randers-Pehrson glennrp@comcast.net11a3c7b2009-05-15 20:33:24 -0500455
Glenn Randers-Pehrson76546822009-05-16 07:25:42 -0500456version 1.4.0beta60 [May 16, 2009]
457
Glenn Randers-Pehrsonbeb572e2006-08-19 13:59:24 -0500458version 1.4.0betaN [future]
459 Build shared libraries with -lz and sometimes -lm.
460
Glenn Randers-Pehrson9c3ab682006-02-20 22:09:05 -0600461Send comments/corrections/commendations to png-mng-implement at lists.sf.net
Glenn Randers-Pehrsonbeb572e2006-08-19 13:59:24 -0500462(subscription required; visit
Glenn Randers-Pehrson9c3ab682006-02-20 22:09:05 -0600463https://lists.sourceforge.net/lists/listinfo/png-mng-implement
464to subscribe) or to glennrp at users.sourceforge.net
Glenn Randers-Pehrson896239b1998-04-21 15:03:57 -0500465
Glenn Randers-Pehrson5c6aeb21998-12-29 11:47:59 -0600466Glenn R-P