blob: e4d0c7b209ce85d338890ead98d44f1fafaf8323 [file] [log] [blame]
Guy Schalnat0d580581995-07-20 02:43:20 -05001
Glenn Randers-Pehrsona515d302010-01-01 10:24:25 -06002Libpng 1.4.0rc07 - January 1, 2010
Glenn Randers-Pehrsona4981d42004-08-25 22:00:45 -05003
Glenn Randers-Pehrsona515d302010-01-01 10:24:25 -06004This 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-Pehrsona4981d42004-08-25 22:00:45 -05006
Glenn Randers-Pehrsona515d302010-01-01 10:24:25 -06007Files available for download:
Glenn Randers-Pehrsona4981d42004-08-25 22:00:45 -05008
Glenn Randers-Pehrsona515d302010-01-01 10:24:25 -06009Source files with LF line endings (for Unix/Linux) and with a
10"configure" script
Glenn Randers-Pehrsona4981d42004-08-25 22:00:45 -050011
Glenn Randers-Pehrsona515d302010-01-01 10:24:25 -060012 1.4.0rc07.tar.xz (LZMA-compressed, recommended)
13 1.4.0rc07.tar.gz
14 1.4.0rc07.tar.bz2
Glenn Randers-Pehrsona4981d42004-08-25 22:00:45 -050015
Glenn Randers-Pehrsona515d302010-01-01 10:24:25 -060016Source files with CRLF line endings (for Windows), without the
17"configure" script
Glenn Randers-Pehrsona4981d42004-08-25 22:00:45 -050018
Glenn Randers-Pehrsona515d302010-01-01 10:24:25 -060019 lp140r07.zip
20 lp140r07.7z
Glenn Randers-Pehrsona4981d42004-08-25 22:00:45 -050021
Glenn Randers-Pehrsona515d302010-01-01 10:24:25 -060022Other information:
Glenn Randers-Pehrsona4981d42004-08-25 22:00:45 -050023
Glenn Randers-Pehrsona515d302010-01-01 10:24:25 -060024 1.4.0rc07-README.txt
25 1.4.0rc07-LICENSE.txt
Glenn Randers-Pehrsona4981d42004-08-25 22:00:45 -050026
Glenn Randers-Pehrsona515d302010-01-01 10:24:25 -060027Changes since the last public release (1.2.10):
Glenn Randers-Pehrsona7d0c942006-04-14 06:22:52 -050028
Glenn Randers-Pehrsond5d63602006-04-15 06:37:45 -050029version 1.2.10beta1 [April 15, 2006]
30 Renamed "config.h" to "png_conf.h" and revised Makefile.am to add
31 -DPNG_BUILDING_LIBPNG to compile directive, and modified pngconf.h
32 to include png_conf.h only when PNG_BUILDING_LIBPNG is defined.
33
Glenn Randers-Pehrson3a5a7592006-04-15 14:14:42 -050034version 1.2.10beta2 [April 15, 2006]
35 Manually updated Makefile.in and configure. Changed png_conf.h.in
36 back to config.h.
37
Glenn Randers-Pehrsonb0270f72006-04-15 18:23:04 -050038version 1.2.10beta3 [April 15, 2006]
39 Change png_conf.h back to config.h in pngconf.h.
40
Glenn Randers-Pehrson77be22c2006-04-16 12:16:14 -050041version 1.2.10beta4 [April 16, 2006]
42 Change PNG_BUILDING_LIBPNG to PNG_CONFIGURE_LIBPNG in config/Makefile*.
43
Glenn Randers-Pehrson629330e2006-04-17 14:33:23 -050044version 1.2.10beta5 [April 16, 2006]
Glenn Randers-Pehrsonb511b602006-04-16 19:45:31 -050045 Added a configure check for compiling assembler code in pnggccrd.c
46
Glenn Randers-Pehrson629330e2006-04-17 14:33:23 -050047version 1.2.10beta6 [April 17, 2006]
48 Revised the configure check for pnggccrd.c
49 Moved -DPNG_CONFIGURE_LIBPNG into @LIBPNG_DEFINES@
50 Added @LIBPNG_DEFINES@ to arguments when building libpng.sym
51
Glenn Randers-Pehrsonad310542006-04-18 05:31:20 -050052version 1.2.10beta7 [April 18, 2006]
53 Change "exec_prefix=$prefix" to "exec_prefix=$(prefix)" in makefiles.
54
Glenn Randers-Pehrsonf628ee22006-04-19 05:00:04 -050055version 1.2.10rc1 [April 19, 2006]
56 Ensure pngconf.h doesn't define both PNG_USE_PNGGCCRD and PNG_USE_PNGVCRD
57 Fixed "LN_FS" typo in makefile.sco and makefile.solaris.
58
Glenn Randers-Pehrsona515d302010-01-01 10:24:25 -060059version 1.2.10rc2 [April 19, 2006]
Glenn Randers-Pehrson17218292006-04-20 07:20:46 -050060 Added a backslash between -DPNG_CONFIGURE_LIBPNG and -DPNG_NO_ASSEMBLER_CODE
Glenn Randers-Pehrsona515d302010-01-01 10:24:25 -060061 in configure.ac
Glenn Randers-Pehrson17218292006-04-20 07:20:46 -050062 Made the configure warning about versioned symbols less arrogant.
63
Glenn Randers-Pehrsona515d302010-01-01 10:24:25 -060064version 1.2.10rc3 [April 20, 2006]
Glenn Randers-Pehrsond60b8fa2006-04-20 21:31:14 -050065 Added a note in libpng.txt that png_set_sig_bytes(8) can be used when
66 writing an embedded PNG without the 8-byte signature.
67
Glenn Randers-Pehrsona515d302010-01-01 10:24:25 -060068version 1.4.0beta1 [April 20, 2006]
69 Enabled iTXt support (changes png_struct, thus requires so-number change).
70 Cleaned up PNG_ASSEMBLER_CODE_SUPPORTED vs PNG_MMX_CODE_SUPPORTED
71 Eliminated PNG_1_0_X and PNG_1_2_X macros.
72 Removed deprecated functions png_read_init, png_write_init, png_info_init,
73 png_permit_empty_plte, png_set_gray_1_2_4_to_8, and removed the
74 deprecated macro PNG_MAX_UINT.
75 Moved "PNG_INTERNAL" parts of png.h and pngconf.h into pngintrn.h
76 Removed many WIN32_WCE #ifdefs (Cosmin).
77 Reduced dependency on C-runtime library when on Windows (Simon-Pierre)
78 Replaced sprintf() with png_sprintf() (Simon-Pierre)
79
80version 1.4.0beta2 [April 20, 2006]
81 Revised makefiles to avoid making links to libpng.so.*
82 Moved some leftover MMX-related defines from pngconf.h to pngintrn.h
83 Updated scripts/pngos2.def, pngw32.def, and projects/wince/png32ce.def
84 Updated scripts/pngw32.def to comment out MMX functions.
Glenn Randers-Pehrsonf46918d2006-06-02 05:31:20 -050085
Glenn Randers-Pehrson145f5c82008-07-10 09:13:13 -050086version 1.2.11beta1 [May 31, 2006]
87 scripts/libpng.pc.in contained "configure" style version info and would
88 not work with makefiles.
89 The shared-library makefiles were linking to libpng.so.0 instead of
90 libpng.so.3 compatibility as the library.
91
Glenn Randers-Pehrsona515d302010-01-01 10:24:25 -060092version 1.4.0beta3 [May 10, 2006]
93 Updated scripts/pngw32.def to comment out MMX functions.
94 Added PNG_NO_GET_INT_32 and PNG_NO_SAVE_INT_32 macros.
95 Revised pngconf.h and added pngconf.h.in so makefiles and configure can
96 pass defines to libpng and applications.
97
98version 1.4.0beta4 [May 11, 2006]
99 Revised configure.ac, Makefile.am, and many of the makefiles to write
100 their defines in pngconf.h.
101
102version 1.4.0beta5 [May 15, 2006]
103 Added a missing semicolon in Makefile.am and Makefile.in
104 Deleted extraneous square brackets from configure.ac
105
Glenn Randers-Pehrson145f5c82008-07-10 09:13:13 -0500106version 1.2.11beta2 [June 2, 2006]
107 Increased sprintf buffer from 50 to 52 chars in pngrutil.c to avoid
108 buffer overflow.
Glenn Randers-Pehrsona515d302010-01-01 10:24:25 -0600109 Fixed bug in example.c (png_set_palette_rgb -> png_set_palette_to_rgb))
110
111version 1.4.0beta6 [June 2, 2006]
112 Changed sonum from 0 to 1.
113 Removed unused prototype for png_check_sig() from png.h
Glenn Randers-Pehrson145f5c82008-07-10 09:13:13 -0500114
115version 1.2.11beta3 [June 5, 2006]
116 Prepended "#! /bin/sh" to ltmail.sh and contrib/pngminus/*.sh (Cosmin).
117 Removed the accidental leftover Makefile.in~ (Cosmin).
118 Avoided potential buffer overflow and optimized buffer in
119 png_write_sCAL(), png_write_sCAL_s() (Cosmin).
120 Removed the include directories and libraries from CFLAGS and LDFLAGS
121 in scripts/makefile.gcc (Nelson A. de Oliveira, Cosmin).
122
123version 1.2.11beta4 [June 6, 2006]
124 Allow zero-length IDAT chunks after the entire zlib datastream, but not
125 after another intervening chunk type.
126
Glenn Randers-Pehrsona515d302010-01-01 10:24:25 -0600127version 1.2.11rc2 [June 14, 2006]
Glenn Randers-Pehrson145f5c82008-07-10 09:13:13 -0500128 Added prototypes for PNG_INCH_CONVERSIONS functions to png.h
129 Revised INSTALL and autogen.sh
130 Fixed typo in several makefiles (-W1 should be -Wl)
Glenn Randers-Pehrson145f5c82008-07-10 09:13:13 -0500131
Glenn Randers-Pehrsona515d302010-01-01 10:24:25 -0600132version 1.2.11rc3 [June 15, 2006]
Glenn Randers-Pehrson145f5c82008-07-10 09:13:13 -0500133 Added one zero element to png_gamma_shift[] array in pngrtran.c to avoid
134 reading out of bounds.
135
Glenn Randers-Pehrson6bc53be2006-06-16 07:52:03 -0500136version 1.4.0beta7 [June 16, 2006]
137 Exported png_write_sig (Cosmin).
138 Optimized buffer in png_handle_cHRM() (Cosmin).
139 Set pHYs = 2835 x 2835 pixels per meter, and added
140 sCAL = 0.352778e-3 x 0.352778e-3 meters, in pngtest.png (Cosmin).
141 Added png_set_benign_errors(), png_benign_error(), png_chunk_benign_error().
142 Added typedef for png_int_32 and png_uint_32 on 64-bit systems.
Glenn Randers-Pehrson6bc53be2006-06-16 07:52:03 -0500143
Glenn Randers-Pehrsona515d302010-01-01 10:24:25 -0600144version 1.4.0beta8 [June 21, 2006]
Glenn Randers-Pehrsond1209962006-06-21 19:40:52 -0500145 Added demonstration of user chunk support in pngtest.c, to support the
146 public sTER chunk and a private vpAg chunk.
147
Glenn Randers-Pehrsone826d7e2006-07-03 00:21:58 -0500148version 1.4.0beta9 [July 3, 2006]
149 Removed ordinals from scripts/pngw32.def and removed png_info_int and
150 png_set_gray_1_2_4_to_8 entries.
151 Inline call of png_get_uint_32() in png_get_uint_31().
Glenn Randers-Pehrsonbeb572e2006-08-19 13:59:24 -0500152 Use png_get_uint_31() to get vpAg width and height in pngtest.c
Glenn Randers-Pehrsone826d7e2006-07-03 00:21:58 -0500153 Removed WINCE and Netware projects.
154 Removed standalone Y2KINFO file.
155
Glenn Randers-Pehrson3424ee72006-07-12 13:33:47 -0500156version 1.4.0beta10 [July 12, 2006]
Glenn Randers-Pehrsona515d302010-01-01 10:24:25 -0600157 Added "all: pngconf.h.in pngconf.h" target to Makefile.am
Glenn Randers-Pehrson3424ee72006-07-12 13:33:47 -0500158
Glenn Randers-Pehrsonbeb572e2006-08-19 13:59:24 -0500159version 1.4.0beta11 [August 19, 2006]
160 Removed AC_FUNC_MALLOC from configure.ac.
161 Added a warning when writing iCCP profile with mismatched profile length.
162 Patched pnggccrd.c to assemble on x86_64 platforms.
163 Moved chunk header reading into a separate function png_read_chunk_header()
164 in pngrutil.c. The chunk header (len+sig) is now serialized in a single
165 operation (Cosmin).
166 Implemented support for I/O states. Added png_ptr member io_state, and
167 functions png_get_io_chunk_name() and png_get_io_state() in pngget.c
168 (Cosmin).
169 Added png_get_io_chunk_name and png_get_io_state to scripts/*.def (Cosmin).
170 Renamed scripts/pngw32.* to scripts/pngwin.* (Cosmin).
171 Removed the include directories and libraries from CFLAGS and LDFLAGS
172 in scripts/makefile.gcc (Cosmin).
173 Used png_save_uint_32() to set vpAg width and height in pngtest.c (Cosmin).
174 Cast to proper type when getting/setting vpAg units in pngtest.c (Cosmin).
175 Added pngintrn.h to the Visual C++ projects (Cosmin).
176 Removed scripts/list (Cosmin).
177 Updated copyright year in scripts/pngwin.def (Cosmin).
178 Removed PNG_TYPECAST_NULL and used standard NULL consistently (Cosmin).
179 Disallowed the user to redefine png_size_t, and enforced a consistent use
180 of png_size_t across libpng (Cosmin).
181 Changed the type of png_ptr->rowbytes, PNG_ROWBYTES() and friends
182 to png_size_t (Cosmin).
183 Removed png_convert_size() and replaced png_sizeof with sizeof (Cosmin).
184 Removed some unnecessary type casts (Cosmin).
185 Changed prototype of png_get_compression_buffer_size() and
186 png_set_compression_buffer_size() to work with png_size_t instead of
187 png_uint_32 (Cosmin).
188 Removed png_memcpy_check() and png_memset_check() (Cosmin).
189 Fixed a typo (png_byte --> png_bytep) in libpng.3 and libpng.txt (Cosmin).
190 Clarified that png_zalloc() does not clear the allocated memory,
191 and png_zalloc() and png_zfree() cannot be PNGAPI (Cosmin).
192 Renamed png_mem_size_t to png_alloc_size_t, fixed its definition in
193 pngconf.h, and used it in all memory allocation functions (Cosmin).
194 Renamed pngintrn.h to pngpriv.h, added a comment at the top of the file
195 mentioning that the symbols declared in that file are private, and
196 updated the scripts and the Visual C++ projects accordingly (Cosmin).
197 Removed circular references between pngconf.h and pngconf.h.in in
198 scripts/makefile.vc*win32 (Cosmin).
199 Removing trailing '.' from the warning and error messages (Cosmin).
200 Added pngdefs.h that is built by makefile or configure, instead of
201 pngconf.h.in (Glenn).
Glenn Randers-Pehrson6b12c082006-11-14 10:53:30 -0600202 Detect and fix attempt to write wrong iCCP profile length.
Glenn Randers-Pehrsonbeb572e2006-08-19 13:59:24 -0500203
Glenn Randers-Pehrsonebd7f9a2006-10-19 09:37:56 -0500204version 1.4.0beta12 [October 19, 2006]
205 Changed "logical" to "bitwise" in the documentation.
206 Work around Intel-Mac compiler bug by setting PNG_NO_MMX_CODE in pngconf.h
207 Add a typecast to stifle compiler warning in pngrutil.c
208
Glenn Randers-Pehrson6b12c082006-11-14 10:53:30 -0600209version 1.4.0beta13 [November 10, 2006]
Glenn Randers-Pehrson3779c692006-11-07 20:38:11 -0600210 Fix potential buffer overflow in sPLT chunk handler.
211 Fix Makefile.am to not try to link to noexistent files.
Glenn Randers-Pehrson6b12c082006-11-14 10:53:30 -0600212
Glenn Randers-Pehrsonae4bd5c2006-11-16 20:35:49 -0600213version 1.4.0beta14 [November 15, 2006]
Glenn Randers-Pehrson6b12c082006-11-14 10:53:30 -0600214 Check all exported functions for NULL png_ptr.
Glenn Randers-Pehrson3779c692006-11-07 20:38:11 -0600215
Glenn Randers-Pehrsonae4bd5c2006-11-16 20:35:49 -0600216version 1.4.0beta15 [November 17, 2006]
217 Relocated two misplaced tests for NULL png_ptr.
218 Built Makefile.in with automake-1.9.6 instead of 1.9.2.
Glenn Randers-Pehrsona515d302010-01-01 10:24:25 -0600219 Build configure with autoconf-2.60 instead of 2.59.
Glenn Randers-Pehrson701dbaa2006-11-17 09:36:54 -0600220 Add "install: all" in Makefile.am so "configure; make install" will work.
221
222version 1.4.0beta16 [November 17, 2006]
223 Added a typecast in png_zalloc().
Glenn Randers-Pehrsonae4bd5c2006-11-16 20:35:49 -0600224
Glenn Randers-Pehrsonc3f52f12006-12-07 19:27:58 -0600225version 1.4.0beta17 [December 4, 2006]
Glenn Randers-Pehrson7edd4582006-12-07 19:16:44 -0600226 Changed "new_key[79] = '\0';" to "(*new_key)[79] = '\0';" in pngwutil.c
Glenn Randers-Pehrson7edd4582006-12-07 19:16:44 -0600227
Glenn Randers-Pehrsona7dbcba2007-05-15 16:16:34 -0500228version 1.4.0beta18 [December 7, 2006]
Glenn Randers-Pehrsonc3f52f12006-12-07 19:27:58 -0600229 Added scripts/CMakeLists.txt
230
Glenn Randers-Pehrson145f5c82008-07-10 09:13:13 -0500231version 1.4.0beta19 [May 16, 2007]
Glenn Randers-Pehrsona7dbcba2007-05-15 16:16:34 -0500232 Revised scripts/CMakeLists.txt
233 Rebuilt configure and Makefile.in with newer tools.
Glenn Randers-Pehrsona515d302010-01-01 10:24:25 -0600234 Added "png_ptr->num_trans=0" before error return in png_handle_tRNS,
235 to eliminate a vulnerability (CVE-2007-2554, CERT VU#684664)
Glenn Randers-Pehrson145f5c82008-07-10 09:13:13 -0500236
Glenn Randers-Pehrsonb3ff9682008-07-21 08:05:57 -0500237version 1.4.0beta20 [July 9, 2008]
Glenn Randers-Pehrson145f5c82008-07-10 09:13:13 -0500238 Moved several PNG_HAVE_* macros from pngpriv.h to png.h because applications
239 calling set_unknown_chunk_location() need them.
240 Moved several macro definitions from pngpriv.h to pngconf.h
Glenn Randers-Pehrsona515d302010-01-01 10:24:25 -0600241 Added png_ptr->unknown_chunk to hold working unknown chunk data, so it
242 can be free'ed in case of error. Revised unknown chunk handling in
243 pngrutil.c and pngpread.c to use this structure.
244 Merge with changes to the 1.2.X branch, as of 1.2.19beta10.
Glenn Randers-Pehrson145f5c82008-07-10 09:13:13 -0500245 Revised makefile.mingw
Glenn Randers-Pehrsona515d302010-01-01 10:24:25 -0600246 Prefer PNG_USE_PNGVCRD when _MSC_VER is defined in pngconf.h
Glenn Randers-Pehrsonb3ff9682008-07-21 08:05:57 -0500247
248version 1.4.0beta21 [July 21, 2008]
249 Moved local array "chunkdata" from pngrutil.c to the png_struct, so
Glenn Randers-Pehrson895a9c92008-07-25 08:51:18 -0500250 it will be freed by png_read_destroy() in case of a read error (Kurt
251 Christensen).
Glenn Randers-Pehrsona7dbcba2007-05-15 16:16:34 -0500252
Glenn Randers-Pehrsond8d7b942008-07-21 10:34:34 -0500253version 1.4.0beta22 [July 21, 2008]
254 Change "purpose" and "buffer" to png_ptr->chunkdata to avoid memory leaking.
255
Glenn Randers-Pehrson72b63302008-07-22 13:59:07 -0500256version 1.4.0beta23 [July 22, 2008]
257 Change "chunkdata = NULL" to "png_ptr->chunkdata = NULL" several places in
258 png_decompress_chunk().
259
Glenn Randers-Pehrson895a9c92008-07-25 08:51:18 -0500260version 1.4.0beta24 [July 25, 2008]
261 Change all remaining "chunkdata" to "png_ptr->chunkdata" in
262 png_decompress_chunk(), and remove "chunkdata" from parameter list.
263 Put a call to png_check_chunk_name() in png_read_chunk_header().
264 Revised png_check_chunk_name() to reject a name with a lowercase 3rd byte.
265 Removed two calls to png_check_chunk_name() occuring later in the process.
266 Define PNG_NO_ERROR_NUMBERS by default in pngconf.h
267
Glenn Randers-Pehrsoneb580912008-07-30 14:47:09 -0500268version 1.4.0beta25 [July 30, 2008]
269 Added a call to png_check_chunk_name() in pngpread.c
270 Reverted png_check_chunk_name() to accept a name with a lowercase 3rd byte.
271 Added png_push_have_buffer() function to pngpread.c
272 Eliminated PNG_BIG_ENDIAN_SUPPORTED and associated png_get_* macros.
273 Made inline expansion of png_get_*() optional with PNG_USE_READ_MACROS.
274 Eliminated all PNG_USELESS_TESTS and PNG_CORRECT_PALETTE_SUPPORTED code.
275 Synced contrib directory and configure files with libpng-1.2.30beta06.
276 Eliminated no-longer-used pngdefs.h (but it's still built in the makefiles)
Glenn Randers-Pehrson79084212008-08-04 13:31:41 -0500277 Relocated a misplaced "#endif /* PNG_NO_WRITE_FILTER */" in pngwutil.c
278
279version 1.4.0beta26 [August 4, 2008]
280 Removed png_push_have_buffer() function in pngpread.c. It increased the
281 compiled library size slightly.
282 Changed "-Wall" to "-W -Wall" in the CFLAGS in all makefiles (Cosmin Truta)
283 Declared png_ptr "volatile" in pngread.c and pngwrite.c to avoid warnings.
284 Updated contrib/visupng/cexcept.h to version 2.0.1
285 Added PNG_LITERAL_CHARACTER macros for #, [, and ].
Glenn Randers-Pehrsoneb580912008-07-30 14:47:09 -0500286
Glenn Randers-Pehrson51650b82008-08-05 07:44:42 -0500287version 1.4.0beta27 [August 5, 2008]
288 Revised usage of PNG_LITERAL_SHARP in pngerror.c.
289 Moved newline character from individual png_debug messages into the
290 png_debug macros.
291 Allow user to #define their own png_debug, png_debug1, and png_debug2.
292
Glenn Randers-Pehrsone0784c72008-08-09 07:11:44 -0500293version 1.4.0beta28 [August 5, 2008]
Glenn Randers-Pehrson43aaf6e2008-08-05 22:17:03 -0500294 Revised usage of PNG_LITERAL_SHARP in pngerror.c.
295 Added PNG_STRING_NEWLINE macro
296
Glenn Randers-Pehrsone0784c72008-08-09 07:11:44 -0500297version 1.4.0beta29 [August 9, 2008]
298 Revised usage of PNG_STRING_NEWLINE to work on non-ISO compilers.
299 Added PNG_STRING_COPYRIGHT macro.
300 Added non-ISO versions of png_debug macros.
301
Glenn Randers-Pehrson1916f6a2008-08-14 13:44:49 -0500302version 1.4.0beta30 [August 14, 2008]
303 Added premultiplied alpha feature (Volker Wiendl).
304
Glenn Randers-Pehrsondbed41f2008-08-19 18:20:52 -0500305version 1.4.0beta31 [August 18, 2008]
Glenn Randers-Pehrson41983602008-08-18 21:52:21 -0500306 Moved png_set_premultiply_alpha from pngtrans.c to pngrtran.c
307 Removed extra crc check at the end of png_handle_cHRM(). Bug introduced
308 in libpng-1.4.0beta20.
309
Glenn Randers-Pehrsondbed41f2008-08-19 18:20:52 -0500310version 1.4.0beta32 [August 19, 2008]
311 Added PNG_WRITE_FLUSH_SUPPORTED block around new png_flush() call.
312 Revised PNG_NO_STDIO version of png_write_flush()
313
Glenn Randers-Pehrson800d1e92008-08-20 17:25:21 -0500314version 1.4.0beta33 [August 20, 2008]
Glenn Randers-Pehrsona515d302010-01-01 10:24:25 -0600315 Added png_set_chunk_cache_max() to limit the total number of sPLT,
Glenn Randers-Pehrson800d1e92008-08-20 17:25:21 -0500316 text, and unknown chunks that can be stored.
317
Glenn Randers-Pehrsona5fa5c92008-09-06 07:06:22 -0500318version 1.4.0beta34 [September 6, 2008]
319 Shortened tIME_string to 29 bytes in pngtest.c
Glenn Randers-Pehrson56f63962008-10-06 10:16:17 -0500320 Fixed off-by-one error introduced in png_push_read_zTXt() function in
321 libpng-1.2.30beta04/pngpread.c (Harald van Dijk)
322
323version 1.4.0beta35 [October 6, 2008]
324 Changed "trans_values" to "trans_color".
Glenn Randers-Pehrson56f63962008-10-06 10:16:17 -0500325 Change png_set_gray_1_2_4_to_8() to png_set_expand_gray_1_2_4_to_8()
326 in example.c (debian bug report)
Glenn Randers-Pehrsona5fa5c92008-09-06 07:06:22 -0500327
Glenn Randers-Pehrsonf7831012008-11-13 06:05:13 -0600328version 1.4.0beta36 [October 25, 2008]
Glenn Randers-Pehrson97a9b482008-10-25 20:03:28 -0500329 Sync with tEXt vulnerability fix in libpng-1.2.33rc02.
330
Glenn Randers-Pehrsonf7831012008-11-13 06:05:13 -0600331version 1.4.0beta37 [November 13, 2008]
332 Added png_check_cHRM in png.c and moved checking from pngget.c, pngrutil.c,
333 and pngwrite.c
334
Glenn Randers-Pehrsond0c40592008-11-22 07:09:51 -0600335version 1.4.0beta38 [November 22, 2008]
Glenn Randers-Pehrsona515d302010-01-01 10:24:25 -0600336 Added check for zero-area RGB cHRM triange in png_check_cHRM() and
Glenn Randers-Pehrsond0c40592008-11-22 07:09:51 -0600337 png_check_cHRM_fixed().
338
Glenn Randers-Pehrson398b5a32008-11-23 06:48:29 -0600339version 1.4.0beta39 [November 23, 2008]
340 Revised png_warning() to write its message on standard output by default
341 when warning_fn is NULL.
342
Glenn Randers-Pehrson71a3c1f2008-11-26 12:00:38 -0600343version 1.4.0beta40 [November 24, 2008]
Glenn Randers-Pehrson02a5e332008-11-24 22:10:23 -0600344 Eliminated png_check_cHRM(). Instead, always use png_check_cHRM_fixed().
345 In png_check_cHRM_fixed(), ensure white_y is > 0, and removed redundant
346 check for all-zero coordinates that is detected by the triangle check.
347
Glenn Randers-Pehrson5ca69e42008-12-06 05:38:27 -0600348version 1.4.0beta41 [November 26, 2008]
Glenn Randers-Pehrson71a3c1f2008-11-26 12:00:38 -0600349 Fixed string vs pointer-to-string error in png_check_keyword().
350 Rearranged test expressions in png_check_cHRM_fixed() to avoid internal
351 overflows.
352 Added PNG_NO_CHECK_cHRM conditional.
Glenn Randers-Pehrson02a5e332008-11-24 22:10:23 -0600353
Glenn Randers-Pehrson5ca69e42008-12-06 05:38:27 -0600354version 1.4.0beta42, 43 [December 1, 2008]
Glenn Randers-Pehrsond6d80752008-12-02 09:49:43 -0600355 Merge png_debug with version 1.2.34beta04.
356
Glenn Randers-Pehrson5ca69e42008-12-06 05:38:27 -0600357version 1.4.0beta44 [December 6, 2008]
358 Removed redundant check for key==NULL before calling png_check_keyword()
359 to ensure that new_key gets initialized and removed extra warning
360 (Merge with version 1.2.34beta05 -- Arvan Pritchard).
361
Glenn Randers-Pehrson65a09922008-12-09 06:11:59 -0600362version 1.4.0beta45 [December 9, 2008]
363 In png_write_png(), respect the placement of the filler bytes in an earlier
364 call to png_set_filler() (Jim Barry).
365
Glenn Randers-Pehrson1eb14e92008-12-10 07:14:45 -0600366version 1.4.0beta46 [December 10, 2008]
367 Undid previous change and added PNG_TRANSFORM_STRIP_FILLER_BEFORE and
368 PNG_TRANSFORM_STRIP_FILLER_AFTER conditionals and deprecated
369 PNG_TRANSFORM_STRIP_FILLER (Jim Barry).
370
Glenn Randers-Pehrson4a82d692008-12-15 16:25:05 -0600371version 1.4.0beta47 [December 15, 2008]
372 Turned off PNG_READ_DITHER_SUPPORTED by default.
373
Glenn Randers-Pehrson79134c62009-02-14 10:32:18 -0600374version 1.4.0beta48 [February 14, 2009]
375 Added new exported function png_calloc().
376 Combined several instances of png_malloc(); png_memset() into png_calloc().
377 Removed prototype for png_freeptr() that was added in libpng-1.4.0beta24
Glenn Randers-Pehrson79134c62009-02-14 10:32:18 -0600378
Glenn Randers-Pehrson0ffb71a2009-02-28 06:08:20 -0600379version 1.4.0beta49 [February 28, 2009]
380 Added png_fileno() macro to pngconf.h, used in pngwio.c
381 Corrected order of #ifdef's in png_debug definition in png.h
382 Fixed bug introduced in libpng-1.4.0beta48 with the memset arguments
383 for pcal_params.
384 Fixed order of #ifdef directives in the png_debug defines in png.h
385 (bug introduced in libpng-1.2.34/1.4.0beta29).
386 Revised comments in png_set_read_fn() and png_set_write_fn().
387
Glenn Randers-Pehrson6a9c2ce2009-03-27 19:30:10 -0500388version 1.4.0beta50 [March 18, 2009]
Glenn Randers-Pehrson6917b512009-03-09 15:31:08 -0500389 Use png_calloc() instead of png_malloc() to allocate big_row_buf when
390 reading an interlaced file, to avoid a possible UMR.
Glenn Randers-Pehrsona515d302010-01-01 10:24:25 -0600391 Undid recent revision of PNG_NO_STDIO version of png_write_flush(). Users
Glenn Randers-Pehrson8fb550c2009-03-21 08:15:32 -0500392 having trouble with fflush() can build with PNG_NO_WRITE_FLUSH defined
393 or supply their own flush_fn() replacement.
394 Revised libpng*.txt and png.h documentation about use of png_write_flush()
395 and png_set_write_fn().
396 Removed fflush() from pngtest.c.
397 Added "#define PNG_NO_WRITE_FLUSH" to contrib/pngminim/encoder/pngusr.h
398
399version 1.4.0beta51 [March 21, 2009]
400 Removed new png_fileno() macro from pngconf.h .
Glenn Randers-Pehrson6917b512009-03-09 15:31:08 -0500401
Glenn Randers-Pehrsona6cc6272009-04-01 14:18:43 -0500402version 1.4.0beta52 [March 27, 2009]
Glenn Randers-Pehrson6a9c2ce2009-03-27 19:30:10 -0500403 Relocated png_do_chop() ahead of building gamma tables in pngrtran.c
404 This avoids building 16-bit gamma tables unnecessarily.
Glenn Randers-Pehrsona6cc6272009-04-01 14:18:43 -0500405 Removed fflush() from pngtest.c.
406 Added "#define PNG_NO_WRITE_FLUSH" to contrib/pngminim/encoder/pngusr.h
407 Added a section on differences between 1.0.x and 1.2.x to libpng.3/libpng.txt
408
409version 1.4.0beta53 [April 1, 2009]
410 Removed some remaining MMX macros from pngpriv.h
411 Fixed potential memory leak of "new_name" in png_write_iCCP() (Ralph Giles)
Glenn Randers-Pehrson6a9c2ce2009-03-27 19:30:10 -0500412
Glenn Randers-Pehrsona93c9422009-04-13 11:41:33 -0500413version 1.4.0beta54 [April 13, 2009]
414 Added "ifndef PNG_SKIP_SETJMP_CHECK" block in pngconf.h to allow
415 application code writers to bypass the check for multiple inclusion
416 of setjmp.h when they know that it is safe to ignore the situation.
417 Eliminated internal use of setjmp() in pngread.c and pngwrite.c
418 Reordered ancillary chunks in pngtest.png to be the same as what
419 pngtest now produces, and made some cosmetic changes to pngtest output.
420 Eliminated deprecated png_read_init_3() and png_write_init_3() functions.
421
Glenn Randers-Pehrson871f5cd2009-04-19 07:43:02 -0500422version 1.4.0beta55 [April 15, 2009]
Glenn Randers-Pehrsonf0a8fe02009-04-14 08:28:15 -0500423 Simplified error handling in pngread.c and pngwrite.c by putting
424 the new png_read_cleanup() and png_write_cleanup() functions inline.
425
Glenn Randers-Pehrson glennrp@comcast.net92d95342009-05-02 15:12:50 -0500426version 1.4.0beta56 [April 25, 2009]
Glenn Randers-Pehrson1d024052009-04-20 11:36:11 -0500427 Renamed "user_chunk_data" to "my_user_chunk_data" in pngtest.c to suppress
428 "shadowed declaration" warning from gcc-4.3.3.
429 Renamed "gamma" to "png_gamma" in pngset.c to avoid "shadowed declaration"
430 warning about a global "gamma" variable in math.h on some platforms.
Glenn Randers-Pehrson871f5cd2009-04-19 07:43:02 -0500431
Glenn Randers-Pehrson glennrp@comcast.netd209ec72009-05-02 15:15:46 -0500432version 1.4.0beta57 [May 2, 2009]
433 Removed prototype for png_freeptr() that was added in libpng-1.4.0beta24
434 but was never defined (again).
Glenn Randers-Pehrson glennrp@comcast.net31cafa02009-05-02 16:08:06 -0500435 Rebuilt configure scripts with autoconf-2.63 instead of 2.62
436 Removed pngprefs.h and MMX from makefiles
Glenn Randers-Pehrson glennrp@comcast.net92d95342009-05-02 15:12:50 -0500437
Glenn Randers-Pehrsonacfe7dc2009-05-14 05:11:20 -0500438version 1.4.0beta58 [May 14, 2009]
Glenn Randers-Pehrson glennrp@comcast.netcdd43302009-05-03 05:44:06 -0500439 Changed pngw32.def to pngwin.def in makefile.mingw (typo was intruduced
440 in beta57).
Glenn Randers-Pehrson640b7d52009-05-13 07:33:22 -0500441 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 -0500442
Glenn Randers-Pehrson glennrp@comcast.net11a3c7b2009-05-15 20:33:24 -0500443version 1.4.0beta59 [May 15, 2009]
Glenn Randers-Pehrson glennrp@comcast.netb1c0d332009-05-15 20:39:34 -0500444 Reformated sources in libpng style (3-space intentation, comment format)
445 Fixed typo in libpng docs (PNG_FILTER_AVE should be PNG_FILTER_AVG)
446 Added sections about the git repository and our coding style to the
447 documentation
Glenn Randers-Pehrson59020592009-05-18 10:52:12 -0500448 Relocated misplaced #endif in pngwrite.c, sCAL chunk handler.
Glenn Randers-Pehrson glennrp@comcast.net11a3c7b2009-05-15 20:33:24 -0500449
Glenn Randers-Pehrson4bb4d012009-05-20 12:45:29 -0500450version 1.4.0beta60 [May 19, 2009]
Glenn Randers-Pehrson0ab78682009-05-18 15:28:44 -0500451 Conditionally compile png_read_finish_row() which is not used by
452 progressive readers.
Glenn Randers-Pehrsonc996d132009-05-18 16:01:26 -0500453 Added contrib/pngminim/preader to demonstrate building minimal progressive
454 decoder, based on contrib/gregbook with embedded libpng and zlib.
Glenn Randers-Pehrson76546822009-05-16 07:25:42 -0500455
Glenn Randers-Pehrson4bb4d012009-05-20 12:45:29 -0500456version 1.4.0beta61 [May 20, 2009]
457 In contrib/pngminim/*, renamed "makefile.std" to "makefile", since there
458 is only one makefile in those directories, and revised the README files
459 accordingly.
460 More reformatting of comments, mostly to capitalize sentences.
461
Glenn Randers-Pehrson37e7e0b2009-06-02 13:46:41 -0500462version 1.4.0beta62 [June 2, 2009]
Glenn Randers-Pehrson45ae5172009-05-28 20:22:38 -0500463 Added "#define PNG_NO_WRITE_SWAP" to contrib/pngminim/encoder/pngusr.h
464 and "define PNG_NO_READ_SWAP" to decoder/pngusr.h and preader/pngusr.h
Glenn Randers-Pehrsond8eb62f2009-05-30 20:19:20 -0500465 Reformatted several remaining "else statement" into two lines.
Glenn Randers-Pehrson9dcde092009-06-08 08:31:59 -0500466 Added a section to the libpng documentation about using png_get_io_ptr()
467 in configure scripts to detect the presence of libpng.
Glenn Randers-Pehrson45ae5172009-05-28 20:22:38 -0500468
Glenn Randers-Pehrson658ea432009-06-16 16:24:57 -0500469version 1.4.0beta63 [June 15, 2009]
Glenn Randers-Pehrson9dcde092009-06-08 08:31:59 -0500470 Revised libpng*.txt and libpng.3 to mention calling png_set_IHDR()
471 multiple times and to specify the sample order in the tRNS chunk,
472 because the ISO PNG specification has a typo in the tRNS table.
Glenn Randers-Pehrson7824a702009-06-13 10:05:05 -0500473 Changed several PNG_UNKNOWN_CHUNK_SUPPORTED to
474 PNG_HANDLE_AS_UNKNOWN_SUPPORTED, to make the png_set_keep mechanism
475 available for ignoring known chunks even when not saving unknown chunks.
Glenn Randers-Pehrsond60c8862009-06-15 21:56:14 -0500476 Adopted preference for consistent use of "#ifdef" and "#ifndef" versus
477 "#if defined()" and "if !defined()" where possible.
Glenn Randers-Pehrson7aa18342009-06-05 17:24:17 -0500478
Glenn Randers-Pehrson668af4e2009-06-24 06:35:59 -0500479version 1.4.0beta64 [June 24, 2009]
Glenn Randers-Pehrson33188ac2009-06-16 14:12:35 -0500480 Eliminated PNG_LEGACY_SUPPORTED code.
Glenn Randers-Pehrson658ea432009-06-16 16:24:57 -0500481 Moved the various unknown chunk macro definitions outside of the
482 PNG_READ|WRITE_ANCILLARY_CHUNK_SUPPORTED blocks.
Glenn Randers-Pehrson33188ac2009-06-16 14:12:35 -0500483
Glenn Randers-Pehrsonbfbf8652009-06-26 21:46:52 -0500484version 1.4.0beta65 [June 26, 2009]
485 Added a reference to the libpng license in each file.
486
487version 1.4.0beta66 [June 27, 2009]
488 Refer to the libpng license instead of the libpng license in each file.
Glenn Randers-Pehrsond84748a2009-06-24 08:17:34 -0500489
Glenn Randers-Pehrsonbc7156d2009-07-06 09:11:54 -0500490version 1.4.0beta67 [July 6, 2009]
Glenn Randers-Pehrson99708d52009-06-29 17:30:00 -0500491 Relocated INVERT_ALPHA within png_read_png() and png_write_png().
492 Added high-level API transform PNG_TRANSFORM_GRAY_TO_RGB.
Glenn Randers-Pehrsonbc7156d2009-07-06 09:11:54 -0500493 Added an "xcode" project to the projects directory (Alam Arias).
Glenn Randers-Pehrsoncd2634b2009-06-29 14:39:32 -0500494
Glenn Randers-Pehrson12a11c52009-07-19 13:31:53 -0500495version 1.4.0beta68 [July 19, 2009]
Glenn Randers-Pehrsonae4af562009-07-18 11:28:33 -0500496 Avoid some tests in filter selection in pngwutil.c
Glenn Randers-Pehrsonee100092009-07-07 13:53:59 -0500497
Glenn Randers-Pehrson1cece742009-07-25 09:04:44 -0500498version 1.4.0beta69 [July 25, 2009]
Glenn Randers-Pehrson97a45732009-07-19 15:10:36 -0500499 Simplified the new filter-selection test. This runs faster in the
500 common "PNG_ALL_FILTERS" and PNG_FILTER_NONE cases.
Glenn Randers-Pehrson8cb69f02009-07-19 19:24:58 -0500501 Removed extraneous declaration from the new call to png_read_gray_to_rgb()
502 (bug introduced in libpng-1.4.0beta67).
Glenn Randers-Pehrson8f075be2009-07-19 19:33:22 -0500503 Fixed up xcode project (Alam Arias)
Glenn Randers-Pehrson0b1ba8c2009-07-19 14:28:55 -0500504
Glenn Randers-Pehrson0d6ade62009-07-28 08:03:23 -0500505version 1.4.0beta70 [July 27, 2009]
Glenn Randers-Pehrsone2a118f2009-07-27 22:08:25 -0500506 Avoid a possible NULL dereference in debug build, in png_set_text_2().
Glenn Randers-Pehrsonbc438d32009-07-27 22:17:19 -0500507 (bug introduced in libpng-0.95, discovered by Evan Rouault)
Glenn Randers-Pehrson78389d82009-07-25 09:35:31 -0500508
Glenn Randers-Pehrsonad81d712009-07-30 15:39:00 -0500509version 1.4.0beta71 [July 29, 2009]
Glenn Randers-Pehrsonfaf49912009-07-28 17:30:44 -0500510 Rebuilt configure scripts with autoconf-2.64.
Glenn Randers-Pehrsona515d302010-01-01 10:24:25 -0600511 Added a prototype for png_64bit_product() in png.c
Glenn Randers-Pehrson0d6ade62009-07-28 08:03:23 -0500512
Glenn Randers-Pehrson3a054e12009-08-01 08:53:23 -0500513version 1.4.0beta72 [August 1, 2009]
Glenn Randers-Pehrson866b62a2009-08-08 16:33:14 -0500514 Replaced *.tar.lzma with *.tar.xz in distribution. Get the xz codec
Glenn Randers-Pehrson3a054e12009-08-01 08:53:23 -0500515 from <http://tukaani.org/xz>.
516
517version 1.4.0beta73 [August 1, 2009]
518 Reject attempt to write iCCP chunk with negative embedded profile length
519 (JD Chen)
Glenn Randers-Pehrsonad81d712009-07-30 15:39:00 -0500520
Glenn Randers-Pehrson866b62a2009-08-08 16:33:14 -0500521version 1.4.0beta74 [August 8, 2009]
Glenn Randers-Pehrson3c9c3ea2009-08-08 16:57:11 -0500522 Changed png_ptr and info_ptr member "trans" to "trans_alpha".
Glenn Randers-Pehrson866b62a2009-08-08 16:33:14 -0500523
Glenn Randers-Pehrson626afd62009-08-20 22:52:51 -0500524version 1.4.0beta75 [August 21, 2009]
Glenn Randers-Pehrson95102892009-08-13 18:09:22 -0500525 Removed an extra png_debug() recently added to png_write_find_filter().
Glenn Randers-Pehrson0fe929e2009-08-20 22:55:49 -0500526 Fixed incorrect #ifdef in pngset.c regarding unknown chunk support.
Glenn Randers-Pehrson3358a982009-08-13 18:04:26 -0500527
Glenn Randers-Pehrson6d75d0c2009-08-22 08:45:09 -0500528version 1.4.0beta76 [August 22, 2009]
529 Moved an incorrectly located test in png_read_row() in pngread.c
Glenn Randers-Pehrsonec323d32009-08-20 23:01:12 -0500530
Glenn Randers-Pehrson38e467e2009-08-27 15:59:40 -0500531version 1.4.0beta77 [August 27, 2009]
Glenn Randers-Pehrson21ab8272009-08-26 12:10:02 -0500532 Removed lpXYZ.tar.bz2 (with CRLF), KNOWNBUG, libpng-x.y.z-KNOWNBUG.txt,
533 and the "noconfig" files from the distribution.
Glenn Randers-Pehrson38e467e2009-08-27 15:59:40 -0500534 Moved CMakeLists.txt from scripts into the main libpng directory.
535 Various bugfixes and improvements to CMakeLists.txt (Philip Lowman)
Glenn Randers-Pehrsonb7e4c1c2009-08-26 12:00:13 -0500536
Glenn Randers-Pehrson0af53782009-08-31 09:02:37 -0500537version 1.4.0beta78 [August 31, 2009]
538 Converted all PNG_NO_* tests to PNG_*_SUPPORTED everywhere except pngconf.h
539 Eliminated PNG_NO_FREE_ME and PNG_FREE_ME_SUPPORTED macros.
Glenn Randers-Pehrson02564cc2009-08-31 11:19:20 -0500540 Use png_malloc plus a loop instead of png_calloc() to initialize
541 row_pointers in png_read_png().
Glenn Randers-Pehrson2d7767b2009-08-28 07:16:07 -0500542
Glenn Randers-Pehrson5618e462009-09-01 10:48:04 -0500543version 1.4.0beta79 [September 1, 2009]
Glenn Randers-Pehrson86312502009-08-31 14:17:23 -0500544 Eliminated PNG_GLOBAL_ARRAYS and PNG_LOCAL_ARRAYS; always use local arrays.
Glenn Randers-Pehrson5618e462009-09-01 10:48:04 -0500545 Eliminated PNG_CALLOC_SUPPORTED macro and always provide png_calloc().
Glenn Randers-Pehrson86312502009-08-31 14:17:23 -0500546
Glenn Randers-Pehrson495e3992009-09-17 09:43:34 -0500547version 1.4.0beta80 [September 17, 2009]
Glenn Randers-Pehrson00768a22009-09-03 13:23:59 -0500548 Removed scripts/libpng.icc
Glenn Randers-Pehrson495e3992009-09-17 09:43:34 -0500549 Changed typecast of filler from png_byte to png_uint_16 in png_set_filler().
550 (Dennis Gustafsson)
Glenn Randers-Pehrson3c386512009-11-14 13:58:29 -0600551 Fixed typo introduced in beta78 in pngtest.c ("#if def " should be "#ifdef ")
Glenn Randers-Pehrsonc7dd1962009-09-17 11:03:48 -0500552
Glenn Randers-Pehrson4e6b5e92009-09-23 10:24:53 -0500553version 1.4.0beta81 [September 23, 2009]
Glenn Randers-Pehrsonf74c5ac2009-09-20 07:27:34 -0500554 Eliminated unused PNG_FLAG_FREE_* defines from pngpriv.h
Glenn Randers-Pehrson72cbc6e2009-09-20 07:28:43 -0500555 Expanded TAB characters in pngrtran.c
Glenn Randers-Pehrson9bf60832009-09-20 13:37:50 -0500556 Removed PNG_CONST from all "PNG_CONST PNG_CHNK" declarations to avoid
557 compiler complaints about doubly declaring things "const".
Glenn Randers-Pehrson67f3b482009-09-23 11:36:28 -0500558 Changed all "#if [!]defined(X)" to "if[n]def X" where possible.
Glenn Randers-Pehrson212defe2009-09-23 10:29:21 -0500559 Eliminated unused png_ptr->row_buf_size
Glenn Randers-Pehrsonbb9ff292009-09-01 11:31:05 -0500560
Glenn Randers-Pehrson398a4132009-09-25 11:52:44 -0500561version 1.4.0beta82 [September 25, 2009]
Glenn Randers-Pehrson85b02372009-09-24 19:49:13 -0500562 Moved redundant IHDR checking into new png_check_IHDR() in png.c
Glenn Randers-Pehrson134bbe42009-09-24 18:10:49 -0500563 and report all errors found in the IHDR data.
Glenn Randers-Pehrson85b02372009-09-24 19:49:13 -0500564 Eliminated useless call to png_check_cHRM() from pngset.c
Glenn Randers-Pehrson216c9b02009-09-23 11:47:40 -0500565
Glenn Randers-Pehrson7ec330d2009-09-25 11:45:42 -0500566version 1.4.0beta83 [September 25, 2009]
567 Revised png_check_IHDR() to eliminate bogus complaint about filter_type.
568
Glenn Randers-Pehrson6076da82009-09-30 12:28:07 -0500569version 1.4.0beta84 [September 30, 2009]
570 Fixed some inconsistent indentation in pngconf.h
Glenn Randers-Pehrsondd66f3e2009-09-30 14:58:28 -0500571 Revised png_check_IHDR() to add a test for width variable less than 32-bit.
Glenn Randers-Pehrson6076da82009-09-30 12:28:07 -0500572
Glenn Randers-Pehrsonb35a7452009-09-30 23:12:13 -0500573version 1.4.0beta85 [October 1, 2009]
574 Revised png_check_IHDR() again, to check info_ptr members instead of
575 the contents of the returned parameters.
Glenn Randers-Pehrsonb91c6342009-09-30 16:00:21 -0500576
Glenn Randers-Pehrsonea15ec62009-10-09 10:05:14 -0500577version 1.4.0beta86 [October 9, 2009]
Glenn Randers-Pehrsonaeaae722009-10-02 09:58:15 -0500578 Updated the "xcode" project (Alam Arias).
Glenn Randers-Pehrson90b878c2009-10-07 12:44:35 -0500579 Eliminated a shadowed declaration of "pp" in png_handle_sPLT().
Glenn Randers-Pehrsonb69df932009-10-02 09:35:38 -0500580
Glenn Randers-Pehrsonc1a4d642009-10-29 23:29:24 -0500581version 1.4.0rc01 [October 19, 2009]
Glenn Randers-Pehrsona2567be2009-10-19 20:31:31 -0500582 Trivial cosmetic changes.
Glenn Randers-Pehrson9c3ab682006-02-20 22:09:05 -0600583
Glenn Randers-Pehrsonc1a4d642009-10-29 23:29:24 -0500584version 1.4.0beta87 [October 30, 2009]
585 Moved version 1.4.0 back into beta.
586
Glenn Randers-Pehrsone108e192009-10-30 15:29:34 -0500587version 1.4.0beta88 [October 30, 2009]
588 Revised libpng*.txt section about differences between 1.2.x and 1.4.0
589 because most of the new features have now been ported back to 1.2.41
590
Glenn Randers-Pehrsonef29a5e2009-10-31 19:37:05 -0500591version 1.4.0beta89 [November 1, 2009]
Glenn Randers-Pehrsonee35abb2009-10-30 15:42:54 -0500592 More bugfixes and improvements to CMakeLists.txt (Philip Lowman)
Glenn Randers-Pehrson8fe28942009-10-31 12:31:06 -0500593 Removed a harmless extra png_set_invert_alpha() from pngwrite.c
Glenn Randers-Pehrsonef29a5e2009-10-31 19:37:05 -0500594 Apply png_user_chunk_cache_max within png_decompress_chunk().
595 Merged libpng-1.2.41.txt with libpng-1.4.0.txt where appropriate.
Glenn Randers-Pehrson733da8c2009-10-30 00:00:15 -0500596
Glenn Randers-Pehrsond6ea40a2009-11-02 07:32:00 -0600597version 1.4.0beta90 [November 2, 2009]
Glenn Randers-Pehrson99106de2009-11-01 16:26:14 -0600598 Removed all remaining WIN32_WCE #ifdefs except those involving the
Glenn Randers-Pehrsond6ea40a2009-11-02 07:32:00 -0600599 time.h "tm" structure
Glenn Randers-Pehrson07def6f2009-10-31 21:37:31 -0500600
Glenn Randers-Pehrson163fd0a2009-11-02 21:01:19 -0600601version 1.4.0beta91 [November 3, 2009]
Glenn Randers-Pehrson555126e2009-11-03 06:49:00 -0600602 Updated scripts/pngw32.def and projects/wince/png32ce.def
603 Copied projects/wince/png32ce.def to the scripts directory.
604 Added scripts/makefile.wce
Glenn Randers-Pehrson0cb46e22009-11-02 11:24:33 -0600605 Patched ltmain.sh for wince support.
606 Added PNG_CONVERT_tIME_SUPPORTED macro.
Glenn Randers-Pehrson33023522009-11-02 07:34:05 -0600607
Glenn Randers-Pehrson047c34b2009-11-07 10:40:40 -0600608version 1.4.0beta92 [November 4, 2009]
Glenn Randers-Pehrson45b87612009-11-03 11:42:05 -0600609 Make inclusion of time.h in pngconf.h depend on PNG_CONVERT_tIME_SUPPORTED
Glenn Randers-Pehrson74b5acc2009-11-03 12:27:25 -0600610 Make #define PNG_CONVERT_tIME_SUPPORTED depend on PNG_WRITE_tIME_SUPPORTED
Glenn Randers-Pehrsond740c842009-11-04 19:01:54 -0600611 Revised libpng*.txt to describe differences from 1.2.40 to 1.4.0 (instead
Glenn Randers-Pehrsond29033f2009-11-07 10:46:42 -0600612 of differences from 1.2.41 to 1.4.0)
Glenn Randers-Pehrson53651222009-11-03 06:58:21 -0600613
Glenn Randers-Pehrson047c34b2009-11-07 10:40:40 -0600614version 1.4.0beta93 [November 7, 2009]
Glenn Randers-Pehrsond29033f2009-11-07 10:46:42 -0600615 Added PNG_DEPSTRUCT, PNG_DEPRECATED, PNG_USE_RESULT, PNG_NORETURN, and
616 PNG_ALLOCATED macros to detect deprecated direct access to the
617 png_struct or info_struct members and other deprecated usage in
618 applications (John Bowler).
Glenn Randers-Pehrson727d3d72009-11-07 11:07:44 -0600619 Updated scripts/makefile* to add "-DPNG_CONFIGURE_LIBPNG" to CFLAGS,
620 to prevent warnings about direct access to png structs by libpng
621 functions while building libpng. They need to be tested, especially
622 those using compilers other than gcc.
Glenn Randers-Pehrsond29033f2009-11-07 10:46:42 -0600623 Updated projects/visualc6 and visualc71 with "/d PNG_CONFIGURE_LIBPNG".
624 They should work but still need to be updated to remove
625 references to pnggccrd.c or pngvcrd.c and ASM building.
626 Added README.txt to the beos, cbuilder5, netware, and xcode projects warning
627 that they need to be updated, to remove references to pnggccrd.c and
628 pngvcrd.c and to depend on pngpriv.h
629 Removed three direct references to read_info_ptr members in pngtest.c
630 that were detected by the new PNG_DEPSTRUCT macro.
631 Moved the png_debug macro definitions and the png_read_destroy(),
632 png_write_destroy() and png_far_to_near() prototypes from png.h
633 to pngpriv.h (John Bowler)
634 Moved the synopsis lines for png_read_destroy(), png_write_destroy()
635 png_debug(), png_debug1(), and png_debug2() from libpng.3 to libpngpf.3.
Glenn Randers-Pehrson047c34b2009-11-07 10:40:40 -0600636
Glenn Randers-Pehrson44db6e32009-11-08 20:36:28 -0600637version 1.4.0beta94 [November 9, 2009]
Glenn Randers-Pehrson0dd4a432009-11-07 11:52:33 -0600638 Removed the obsolete, unused pnggccrd.c and pngvcrd.c files.
Glenn Randers-Pehrson69b0bc02009-11-07 12:02:48 -0600639 Updated CMakeLists.txt to add "-DPNG_CONFIGURE_LIBPNG" to the definitions.
Glenn Randers-Pehrson013d1d62009-11-08 13:28:18 -0600640 Removed dependency of pngtest.o on pngpriv.h in the makefiles.
Glenn Randers-Pehrson44db6e32009-11-08 20:36:28 -0600641 Only #define PNG_DEPSTRUCT, etc. in pngconf.h if not already defined.
Glenn Randers-Pehrson727d3d72009-11-07 11:07:44 -0600642
Glenn Randers-Pehrsonfd107532009-11-10 05:59:22 -0600643version 1.4.0beta95 [November 10, 2009]
Glenn Randers-Pehrsonec3f9492009-11-09 10:49:12 -0600644 Changed png_check_sig() to !png_sig_cmp() in contrib programs.
645 Added -DPNG_CONFIGURE_LIBPNG to contrib/pngminm/*/makefile
646 Changed png_check_sig() to !png_sig_cmp() in contrib programs.
647 Corrected the png_get_IHDR() call in contrib/gregbook/readpng2.c
Glenn Randers-Pehrson3d7e15f2009-11-09 11:05:40 -0600648 Changed pngminim/*/gather.sh to stop trying to remove pnggccrd.c and pngvcrd.c
Glenn Randers-Pehrsond88da232009-11-09 13:34:10 -0600649 Added dependency on pngpriv.h in contrib/pngminim/*/makefile
Glenn Randers-Pehrson015289e2009-11-09 06:54:18 -0600650
Glenn Randers-Pehrsonbdbade92009-11-12 06:22:16 -0600651version 1.4.0beta96 [November 12, 2009]
Glenn Randers-Pehrsonb0dd0ad2009-11-10 10:34:32 -0600652 Renamed scripts/makefile.wce to scripts/makefile.cegcc
Glenn Randers-Pehrson197c2f32009-11-12 07:03:54 -0600653 Revised Makefile.am to use libpng.sys while building libpng.so
654 so that only PNG_EXPORT functions are exported.
Glenn Randers-Pehrson03c1bf92009-11-12 08:13:25 -0600655 Removed the deprecated png_check_sig() function/macro.
Glenn Randers-Pehrsonef07ed32009-11-12 07:43:57 -0600656 Removed recently removed function names from scripts/*.def
Glenn Randers-Pehrson03c1bf92009-11-12 08:13:25 -0600657 Revised pngtest.png to put chunks in the same order written by pngtest
658 (evidently the same change made in libpng-1.0beta54 was lost).
Glenn Randers-Pehrson4e1e1992009-11-12 08:29:21 -0600659 Added PNG_PRIVATE macro definition in pngconf.h for possible future use.
Glenn Randers-Pehrsonb0dd0ad2009-11-10 10:34:32 -0600660
Glenn Randers-Pehrson3f2b6a62009-11-12 18:07:00 -0600661version 1.4.0beta97 [November 13, 2009]
Glenn Randers-Pehrson0acc99f2009-11-12 12:23:07 -0600662 Restored pngtest.png to the libpng-1.4.0beta7 version.
Glenn Randers-Pehrson1c6959c2009-11-12 18:10:00 -0600663 Removed projects/beos and netware.txt; no one seems to be supporting them.
664 Revised Makefile.in
Glenn Randers-Pehrsonf210a052009-11-12 10:02:24 -0600665
Glenn Randers-Pehrsond708cb82009-11-12 22:35:16 -0600666version 1.4.0beta98 [November 13, 2009]
Glenn Randers-Pehrsonb612eee2009-11-14 05:44:01 -0600667 Added the "xcode" project to zip distributions,
668 Fixed a typo in scripts/pngwin.def introduced in beta97.
669
670version 1.4.0beta99 [November 14, 2009]
Glenn Randers-Pehrson28d4aae2009-11-13 16:29:45 -0600671 Moved libpng-config.in and libpng.pc-configure.in out of the scripts
672 directory, to libpng-config.in and libpng-pc.in, respectively, and
673 modified Makefile.am and configure.ac accordingly. Now "configure"
674 needs nothing from the "scripts" directory.
Glenn Randers-Pehrsond708cb82009-11-12 22:35:16 -0600675
Glenn Randers-Pehrson71cff962009-11-14 05:56:38 -0600676version 1.4.0beta100 [November 14, 2009]
Glenn Randers-Pehrson8590d462009-11-14 06:26:46 -0600677 Removed ASM builds from projects/visualc6 and projects/visualc71
Glenn Randers-Pehrson5741bac2009-11-14 06:45:48 -0600678 Removed scripts/makefile.nommx and makefile.vcawin32
Glenn Randers-Pehrson76a64f42009-11-14 06:58:16 -0600679 Revised CMakeLists.txt to account for new location of libpng-config.in
680 and libpng-pc.in
Glenn Randers-Pehrson22ad8f02009-11-14 07:25:31 -0600681 Updated INSTALL to reflect removal and relocation of files.
Glenn Randers-Pehrson71cff962009-11-14 05:56:38 -0600682
Glenn Randers-Pehrson0dfd8d32009-11-14 14:56:55 -0600683version 1.4.0beta101 [November 14, 2009]
Glenn Randers-Pehrson8e3389e2009-11-14 17:03:30 -0600684 Restored the binary files (*.jpg, *.png, some project files) that were
685 accidentally deleted from the zip and 7z distributions when the xcode
686 project was added.
Glenn Randers-Pehrson0dfd8d32009-11-14 14:56:55 -0600687
Glenn Randers-Pehrsoncd7d63a2009-10-21 10:23:12 -0500688version 1.4.0beta102 [November 18, 2009]
Glenn Randers-Pehrsonbb0f5572009-11-15 05:49:13 -0600689 Added libpng-config.in and libpng-pc.in to the zip and 7z distributions.
Glenn Randers-Pehrson9d27a1b2009-11-15 07:59:06 -0600690 Fixed a typo in projects/visualc6/pngtest.dsp, introduced in beta100.
691 Moved descriptions of makefiles and other scripts out of INSTALL into
692 scripts/README.txt
693 Updated the copyright year in scripts/pngwin.rc from 2006 to 2009.
Glenn Randers-Pehrsonac18f8a2009-11-14 21:50:39 -0500694
Glenn Randers-Pehrsonedcd6e12009-11-20 20:28:29 -0600695version 1.4.0beta103 [November 21, 2009]
Glenn Randers-Pehrsone5403da2009-11-18 15:50:27 -0600696 Removed obsolete comments about ASM from projects/visualc71/README_zlib.txt
Glenn Randers-Pehrsoneddc5af2009-11-20 21:15:06 -0600697 Align row_buf on 16-byte boundary in memory.
Glenn Randers-Pehrsona515d302010-01-01 10:24:25 -0600698 Restored the PNG_WRITE_FLUSH_AFTER_IEND guard around the call to png_flush()
699 after png_write_IEND(). See 1.4.0beta32, 1.4.0beta50 changes above
700 and 1.2.30, 1.2.30rc01 and rc03 in 1.2.41 CHANGES. Someone needs this
701 feature.
Glenn Randers-Pehrsonf4ea2242009-11-20 21:38:24 -0600702 Make the 'png_jmpbuf' macro expand to a call that records the correct
703 longjmp function as well as returning a pointer to the setjmp
704 jmp_buf buffer, and marked direct access to jmpbuf 'deprecated'.
705 (John Bowler)
Glenn Randers-Pehrsonbda72552009-11-18 15:34:39 -0600706
Glenn Randers-Pehrsoneae2cf02009-11-21 21:50:07 -0600707version 1.4.0beta104 [November 22, 2009]
Glenn Randers-Pehrsonae3a7032009-11-21 07:21:06 -0600708 Removed png_longjmp_ptr from scripts/*.def and libpng.3
Glenn Randers-Pehrsoneae2cf02009-11-21 21:50:07 -0600709 Rebuilt configure scripts with autoconf-2.65
Glenn Randers-Pehrson52f4f252009-11-20 22:34:40 -0600710
Glenn Randers-Pehrsond23f2b22009-11-24 19:55:30 -0600711version 1.4.0beta105 [November 25, 2009]
Glenn Randers-Pehrson03f9b022009-12-04 08:40:41 -0600712 Use fast integer PNG_DIVIDE_BY_255() or PNG_DIVIDE_BY_65535()
713 to accomplish alpha premultiplication when
714 PNG_READ_COMPOSITE_NODIV_SUPPORTED is defined.
Glenn Randers-Pehrson768429b2009-11-24 07:26:06 -0600715 Changed "/255" to "/255.0" in background calculations to make it clear
716 that the 255 is used as a double.
Glenn Randers-Pehrson2a087222009-11-21 21:53:39 -0600717
Glenn Randers-Pehrson5876b852009-11-27 00:24:42 -0600718version 1.4.0beta106 [November 27, 2009]
719 Removed premultiplied alpha feature.
Glenn Randers-Pehrson5a2015e2009-11-26 11:44:52 -0600720
Glenn Randers-Pehrson03f9b022009-12-04 08:40:41 -0600721version 1.4.0beta107 [December 4, 2009]
Glenn Randers-Pehrsonce96c3e2009-11-27 16:17:19 -0600722 Updated README
Glenn Randers-Pehrson03f9b022009-12-04 08:40:41 -0600723 Added "#define PNG_NO_PEDANTIC_WARNINGS" in the libpng source files.
724 Removed "-DPNG_CONFIGURE_LIBPNG" from the makefiles and projects.
Glenn Randers-Pehrson316152f2009-12-04 08:42:32 -0600725 Revised scripts/makefile.netbsd, makefile.openbsd, and makefile.sco
726 to put png.h and pngconf.h in $prefix/include, like the other scripts,
727 instead of in $prefix/include/libpng. Also revised makefile.sco
Glenn Randers-Pehrsonf633e332009-12-04 17:06:40 -0600728 to put them in $prefix/include/libpng14 instead of in
729 $prefix/include/libpng/libpng14.
Glenn Randers-Pehrson133840b2009-11-27 00:30:46 -0600730
Glenn Randers-Pehrson3da965c2009-12-11 07:56:25 -0600731version 1.4.0beta108 [December 11, 2009]
732 Removed leftover "-DPNG_CONFIGURE_LIBPNG" from contrib/pngminim/*/makefile
Glenn Randers-Pehrson7a59e1e2009-12-11 07:57:36 -0600733 Relocated png_do_chop() to its original position in pngrtran.c; the
734 change in version 1.2.41beta08 caused transparency to be handled wrong
735 in some 16-bit datastreams (Yusaku Sugai).
Glenn Randers-Pehrson914a7e32009-12-04 09:50:46 -0600736
Glenn Randers-Pehrsonffa89242009-12-13 08:14:40 -0600737version 1.4.0beta109 [December 13, 2009]
738 Added "bit_depth" parameter to the private png_build_gamma_table() function.
739 Pass bit_depth=8 to png_build_gamma_table() when bit_depth is 16 but the
740 PNG_16_TO_8 transform has been set, to avoid unnecessary build of 16-bit
741 tables.
742
Glenn Randers-Pehrson6ba90882009-12-25 14:26:13 -0600743version 1.4.0rc02 [December 20, 2009]
Glenn Randers-Pehrson62ca98e2009-12-20 15:14:57 -0600744 Declared png_cleanup_needed "volatile" in pngread.c and pngwrite.c
Glenn Randers-Pehrson094340d2009-12-13 14:38:16 -0600745
Glenn Randers-Pehrson5265c382009-12-22 09:09:34 -0600746version 1.4.0rc03 [December 22, 2009]
Glenn Randers-Pehrsond44e05a2009-12-22 09:16:15 -0600747 Renamed libpng-pc.in back to libpng.pc.in and revised CMakeLists.txt
748 (revising the change in 1.4.0beta99)
Glenn Randers-Pehrson5265c382009-12-22 09:09:34 -0600749
Glenn Randers-Pehrson6ba90882009-12-25 14:26:13 -0600750version 1.4.0rc04 [December 25, 2009]
751 Swapped PNG_UNKNOWN_CHUNKS_SUPPORTED and PNG_HANDLE_AS_UNKNOWN_SUPPORTED
752 in pngset.c to be consistent with other changes in version 1.2.38.
753
Glenn Randers-Pehrsona687af12009-12-25 16:17:30 -0600754version 1.4.0rc05 [December 25, 2009]
755 Changed "libpng-pc.in" to "libpng.pc.in" in configure.ac, configure, and
Glenn Randers-Pehrsone52c7ac2009-12-25 16:19:50 -0600756 Makefile.in to be consistent with changes in libpng-1.4.0rc03
Glenn Randers-Pehrsona687af12009-12-25 16:17:30 -0600757
Glenn Randers-Pehrsonf81b50b2009-12-29 16:50:15 -0600758version 1.4.0rc06 [December 29, 2009]
759 Reverted the gamma_table changes from libpng-1.4.0beta109.
760 Fixed some indentation errors.
761
Glenn Randers-Pehrsona515d302010-01-01 10:24:25 -0600762version 1.4.0rc07 [January 1, 2010]
Glenn Randers-Pehrson45af8192009-12-30 08:37:29 -0600763 Revised libpng*.txt and libpng.3 about 1.2.x->1.4.x differences.
Glenn Randers-Pehrsona515d302010-01-01 10:24:25 -0600764 Use png_calloc() instead of png_malloc(); png_memset() in pngrutil.c
Glenn Randers-Pehrson45af8192009-12-30 08:37:29 -0600765
Glenn Randers-Pehrsona515d302010-01-01 10:24:25 -0600766version 1.4.0 [January 1, 2010]
Glenn Randers-Pehrson6ba90882009-12-25 14:26:13 -0600767 No changes.
768
Glenn Randers-Pehrson9c3ab682006-02-20 22:09:05 -0600769Send comments/corrections/commendations to png-mng-implement at lists.sf.net
770(subscription required; visit
771https://lists.sourceforge.net/lists/listinfo/png-mng-implement
Glenn Randers-Pehrsona515d302010-01-01 10:24:25 -0600772to subscribe) or to glennrp at users.sourceforge.net
Glenn Randers-Pehrson68ea2432000-04-01 21:10:05 -0600773
774Glenn R-P