Glenn Randers-Pehrson | 896239b | 1998-04-21 15:03:57 -0500 | [diff] [blame] | 1 | |
Glenn Randers-Pehrson glennrp@comcast.net | 389c655 | 2009-05-02 21:52:10 -0500 | [diff] [blame^] | 2 | Libpng 1.4.0beta58 - May 3, 2009 |
Glenn Randers-Pehrson | 896239b | 1998-04-21 15:03:57 -0500 | [diff] [blame] | 3 | |
Glenn Randers-Pehrson | d5d6360 | 2006-04-15 06:37:45 -0500 | [diff] [blame] | 4 | This is not intended to be a public release. It will be replaced |
| 5 | within a few weeks by a public version or by another test version. |
Glenn Randers-Pehrson | 896239b | 1998-04-21 15:03:57 -0500 | [diff] [blame] | 6 | |
Glenn Randers-Pehrson | ddfebd3 | 2006-02-22 09:19:25 -0600 | [diff] [blame] | 7 | Files available for download: |
| 8 | |
| 9 | Source files with LF line endings (for Unix/Linux) and with a |
| 10 | "configure" script |
| 11 | |
Glenn Randers-Pehrson glennrp@comcast.net | 389c655 | 2009-05-02 21:52:10 -0500 | [diff] [blame^] | 12 | 1.4.0beta58.tar.gz |
| 13 | 1.4.0beta58.tar.bz2 |
Glenn Randers-Pehrson | 3a51203 | 2006-03-31 05:29:33 -0600 | [diff] [blame] | 14 | |
| 15 | Source files with LF line endings (for Unix/Linux) without the |
| 16 | "configure" script |
| 17 | |
Glenn Randers-Pehrson glennrp@comcast.net | 389c655 | 2009-05-02 21:52:10 -0500 | [diff] [blame^] | 18 | 1.4.0beta58-no-config.tar.gz |
| 19 | 1.4.0beta58-no-config.tar.bz2 |
Glenn Randers-Pehrson | ddfebd3 | 2006-02-22 09:19:25 -0600 | [diff] [blame] | 20 | |
| 21 | Source files with CRLF line endings (for Windows), without the |
| 22 | "configure" script |
| 23 | |
Glenn Randers-Pehrson glennrp@comcast.net | 389c655 | 2009-05-02 21:52:10 -0500 | [diff] [blame^] | 24 | lp140b58.zip |
| 25 | lp140b58.tar.bz2 |
Glenn Randers-Pehrson | ddfebd3 | 2006-02-22 09:19:25 -0600 | [diff] [blame] | 26 | |
| 27 | Other information: |
| 28 | |
Glenn Randers-Pehrson glennrp@comcast.net | 389c655 | 2009-05-02 21:52:10 -0500 | [diff] [blame^] | 29 | 1.4.0beta58-README.txt |
| 30 | 1.4.0beta58-KNOWNBUGS.txt |
| 31 | 1.4.0beta58-LICENSE.txt |
| 32 | 1.4.0beta58-Y2K-compliance.txt |
Glenn Randers-Pehrson | ddfebd3 | 2006-02-22 09:19:25 -0600 | [diff] [blame] | 33 | |
Glenn Randers-Pehrson | 6bc53be | 2006-06-16 07:52:03 -0500 | [diff] [blame] | 34 | Changes since the last public release (1.2.10): |
Glenn Randers-Pehrson | 896239b | 1998-04-21 15:03:57 -0500 | [diff] [blame] | 35 | |
Glenn Randers-Pehrson | d5d6360 | 2006-04-15 06:37:45 -0500 | [diff] [blame] | 36 | version 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-Pehrson | 3a51203 | 2006-03-31 05:29:33 -0600 | [diff] [blame] | 40 | |
Glenn Randers-Pehrson | 3a5a759 | 2006-04-15 14:14:42 -0500 | [diff] [blame] | 41 | version 1.2.10beta2 [April 15, 2006] |
Glenn Randers-Pehrson | b0270f7 | 2006-04-15 18:23:04 -0500 | [diff] [blame] | 42 | Manually updated Makefile.in and configure. Changed png_conf.h.in |
| 43 | back to config.h. |
| 44 | |
| 45 | version 1.2.10beta3 [April 15, 2006] |
| 46 | Change png_conf.h back to config.h in pngconf.h. |
Glenn Randers-Pehrson | 3a5a759 | 2006-04-15 14:14:42 -0500 | [diff] [blame] | 47 | |
Glenn Randers-Pehrson | 77be22c | 2006-04-16 12:16:14 -0500 | [diff] [blame] | 48 | version 1.2.10beta4 [April 16, 2006] |
| 49 | Change PNG_BUILDING_LIBPNG to PNG_CONFIGURE_LIBPNG in config/Makefile*. |
| 50 | |
Glenn Randers-Pehrson | 629330e | 2006-04-17 14:33:23 -0500 | [diff] [blame] | 51 | version 1.2.10beta5 [April 16, 2006] |
Glenn Randers-Pehrson | b511b60 | 2006-04-16 19:45:31 -0500 | [diff] [blame] | 52 | Added a configure check for compiling assembler code in pnggccrd.c |
| 53 | |
Glenn Randers-Pehrson | 629330e | 2006-04-17 14:33:23 -0500 | [diff] [blame] | 54 | version 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-Pehrson | ad31054 | 2006-04-18 05:31:20 -0500 | [diff] [blame] | 59 | version 1.2.10beta7 [April 18, 2006] |
| 60 | Change "exec_prefix=$prefix" to "exec_prefix=$(prefix)" in makefiles. |
| 61 | |
Glenn Randers-Pehrson | 1721829 | 2006-04-20 07:20:46 -0500 | [diff] [blame] | 62 | version 1.2.10rc1 [April 19, 2006] |
Glenn Randers-Pehrson | f628ee2 | 2006-04-19 05:00:04 -0500 | [diff] [blame] | 63 | 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-Pehrson | 1721829 | 2006-04-20 07:20:46 -0500 | [diff] [blame] | 66 | version 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-Pehrson | 86dc981 | 2006-05-10 07:27:44 -0500 | [diff] [blame] | 71 | version 1.2.10rc3 [April 20, 2006] |
Glenn Randers-Pehrson | d60b8fa | 2006-04-20 21:31:14 -0500 | [diff] [blame] | 72 | 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-Pehrson | 1721829 | 2006-04-20 07:20:46 -0500 | [diff] [blame] | 75 | version 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-Pehrson | 86dc981 | 2006-05-10 07:27:44 -0500 | [diff] [blame] | 87 | version 1.4.0beta2 [April 20, 2006] |
Glenn Randers-Pehrson | d60b8fa | 2006-04-20 21:31:14 -0500 | [diff] [blame] | 88 | 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-Pehrson | 86dc981 | 2006-05-10 07:27:44 -0500 | [diff] [blame] | 91 | Updated scripts/pngw32.def to comment out MMX functions. |
Glenn Randers-Pehrson | b3870ab | 2006-05-11 09:43:09 -0500 | [diff] [blame] | 92 | |
Glenn Randers-Pehrson | 6bc53be | 2006-06-16 07:52:03 -0500 | [diff] [blame] | 93 | version 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-Pehrson | b3870ab | 2006-05-11 09:43:09 -0500 | [diff] [blame] | 99 | version 1.4.0beta3 [May 10, 2006] |
| 100 | Updated scripts/pngw32.def to comment out MMX functions. |
Glenn Randers-Pehrson | 86dc981 | 2006-05-10 07:27:44 -0500 | [diff] [blame] | 101 | Added PNG_NO_GET_INT_32 and PNG_NO_SAVE_INT_32 macros. |
Glenn Randers-Pehrson | 86dc981 | 2006-05-10 07:27:44 -0500 | [diff] [blame] | 102 | Revised pngconf.h and added pngconf.h.in so makefiles and configure can |
| 103 | pass defines to libpng and applications. |
| 104 | |
Glenn Randers-Pehrson | b3870ab | 2006-05-11 09:43:09 -0500 | [diff] [blame] | 105 | version 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-Pehrson | d60b8fa | 2006-04-20 21:31:14 -0500 | [diff] [blame] | 108 | |
Glenn Randers-Pehrson | e826d7e | 2006-07-03 00:21:58 -0500 | [diff] [blame] | 109 | version 1.4.0beta5 [May 15, 2006] |
Glenn Randers-Pehrson | 73b064c | 2006-05-15 06:44:21 -0500 | [diff] [blame] | 110 | Added a missing semicolon in Makefile.am and Makefile.in |
| 111 | Deleted extraneous square brackets from configure.ac |
| 112 | |
Glenn Randers-Pehrson | 6bc53be | 2006-06-16 07:52:03 -0500 | [diff] [blame] | 113 | version 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 | |
| 118 | version 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 | |
| 122 | version 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 | |
| 130 | version 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 | |
| 134 | version 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-Pehrson | e826d7e | 2006-07-03 00:21:58 -0500 | [diff] [blame] | 139 | version 1.2.11rc3 [June 15, 2006] |
Glenn Randers-Pehrson | 6bc53be | 2006-06-16 07:52:03 -0500 | [diff] [blame] | 140 | Added one zero element to png_gamma_shift[] array in pngrtran.c to avoid |
| 141 | reading out of bounds. |
| 142 | |
Glenn Randers-Pehrson | e826d7e | 2006-07-03 00:21:58 -0500 | [diff] [blame] | 143 | version 1.4.0beta7 [June 16, 2006] |
Glenn Randers-Pehrson | 6bc53be | 2006-06-16 07:52:03 -0500 | [diff] [blame] | 144 | 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-Pehrson | e826d7e | 2006-07-03 00:21:58 -0500 | [diff] [blame] | 151 | version 1.4.0beta8 [June 21, 2006] |
Glenn Randers-Pehrson | d120996 | 2006-06-21 19:40:52 -0500 | [diff] [blame] | 152 | Added demonstration of user chunk support in pngtest.c, to support the |
| 153 | public sTER chunk and a private vpAg chunk. |
| 154 | |
Glenn Randers-Pehrson | e826d7e | 2006-07-03 00:21:58 -0500 | [diff] [blame] | 155 | version 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-Pehrson | beb572e | 2006-08-19 13:59:24 -0500 | [diff] [blame] | 159 | Use png_get_uint_31() to get vpAg width and height in pngtest.c |
Glenn Randers-Pehrson | e826d7e | 2006-07-03 00:21:58 -0500 | [diff] [blame] | 160 | Removed WINCE and Netware projects. |
| 161 | Removed standalone Y2KINFO file. |
| 162 | |
Glenn Randers-Pehrson | 3424ee7 | 2006-07-12 13:33:47 -0500 | [diff] [blame] | 163 | version 1.4.0beta10 [July 12, 2006] |
| 164 | Added "all: pngconf.h.in pngconf.h" target to Makefile.am |
| 165 | |
Glenn Randers-Pehrson | beb572e | 2006-08-19 13:59:24 -0500 | [diff] [blame] | 166 | version 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-Pehrson | 6b12c08 | 2006-11-14 10:53:30 -0600 | [diff] [blame] | 209 | Detect and fix attempt to write wrong iCCP profile length. |
Glenn Randers-Pehrson | beb572e | 2006-08-19 13:59:24 -0500 | [diff] [blame] | 210 | |
Glenn Randers-Pehrson | ebd7f9a | 2006-10-19 09:37:56 -0500 | [diff] [blame] | 211 | version 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-Pehrson | 6b12c08 | 2006-11-14 10:53:30 -0600 | [diff] [blame] | 216 | version 1.4.0beta13 [November 10, 2006] |
Glenn Randers-Pehrson | 3779c69 | 2006-11-07 20:38:11 -0600 | [diff] [blame] | 217 | Fix potential buffer overflow in sPLT chunk handler. |
| 218 | Fix Makefile.am to not try to link to noexistent files. |
Glenn Randers-Pehrson | 6b12c08 | 2006-11-14 10:53:30 -0600 | [diff] [blame] | 219 | |
Glenn Randers-Pehrson | ae4bd5c | 2006-11-16 20:35:49 -0600 | [diff] [blame] | 220 | version 1.4.0beta14 [November 15, 2006] |
Glenn Randers-Pehrson | 6b12c08 | 2006-11-14 10:53:30 -0600 | [diff] [blame] | 221 | Check all exported functions for NULL png_ptr. |
Glenn Randers-Pehrson | 3779c69 | 2006-11-07 20:38:11 -0600 | [diff] [blame] | 222 | |
Glenn Randers-Pehrson | ae4bd5c | 2006-11-16 20:35:49 -0600 | [diff] [blame] | 223 | version 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-Pehrson | 701dbaa | 2006-11-17 09:36:54 -0600 | [diff] [blame] | 226 | Build configure with autoconf-2.60 instead of 2.59. |
| 227 | Add "install: all" in Makefile.am so "configure; make install" will work. |
| 228 | |
| 229 | version 1.4.0beta16 [November 17, 2006] |
| 230 | Added a typecast in png_zalloc(). |
Glenn Randers-Pehrson | ae4bd5c | 2006-11-16 20:35:49 -0600 | [diff] [blame] | 231 | |
Glenn Randers-Pehrson | c3f52f1 | 2006-12-07 19:27:58 -0600 | [diff] [blame] | 232 | version 1.4.0beta17 [December 4, 2006] |
Glenn Randers-Pehrson | 7edd458 | 2006-12-07 19:16:44 -0600 | [diff] [blame] | 233 | Changed "new_key[79] = '\0';" to "(*new_key)[79] = '\0';" in pngwutil.c |
| 234 | |
Glenn Randers-Pehrson | a7dbcba | 2007-05-15 16:16:34 -0500 | [diff] [blame] | 235 | version 1.4.0beta18 [December 7, 2006] |
Glenn Randers-Pehrson | c3f52f1 | 2006-12-07 19:27:58 -0600 | [diff] [blame] | 236 | Added scripts/CMakeLists.txt |
| 237 | |
Glenn Randers-Pehrson | 145f5c8 | 2008-07-10 09:13:13 -0500 | [diff] [blame] | 238 | version 1.4.0beta19 [May 16, 2007] |
Glenn Randers-Pehrson | a7dbcba | 2007-05-15 16:16:34 -0500 | [diff] [blame] | 239 | 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-Pehrson | b3ff968 | 2008-07-21 08:05:57 -0500 | [diff] [blame] | 244 | version 1.4.0beta20 [July 9, 2008] |
Glenn Randers-Pehrson | 145f5c8 | 2008-07-10 09:13:13 -0500 | [diff] [blame] | 245 | 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-Pehrson | 895a9c9 | 2008-07-25 08:51:18 -0500 | [diff] [blame] | 255 | version 1.4.0beta21 [July 21, 2008] |
Glenn Randers-Pehrson | b3ff968 | 2008-07-21 08:05:57 -0500 | [diff] [blame] | 256 | Moved local array "chunkdata" from pngrutil.c to the png_struct, so |
Glenn Randers-Pehrson | 895a9c9 | 2008-07-25 08:51:18 -0500 | [diff] [blame] | 257 | it will be freed by png_read_destroy() in case of a read error (Kurt |
| 258 | Christensen). |
| 259 | |
| 260 | version 1.4.0beta22 [July 21, 2008] |
| 261 | Change "purpose" and "buffer" to png_ptr->chunkdata to avoid memory leaking. |
| 262 | |
| 263 | version 1.4.0beta23 [July 22, 2008] |
| 264 | Change "chunkdata = NULL" to "png_ptr->chunkdata = NULL" several places in |
| 265 | png_decompress_chunk(). |
| 266 | |
| 267 | version 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-Pehrson | b3ff968 | 2008-07-21 08:05:57 -0500 | [diff] [blame] | 274 | |
Glenn Randers-Pehrson | eb58091 | 2008-07-30 14:47:09 -0500 | [diff] [blame] | 275 | version 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-Pehrson | 7908421 | 2008-08-04 13:31:41 -0500 | [diff] [blame] | 284 | Relocated a misplaced "#endif /* PNG_NO_WRITE_FILTER */" in pngwutil.c |
| 285 | |
| 286 | version 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-Pehrson | eb58091 | 2008-07-30 14:47:09 -0500 | [diff] [blame] | 293 | |
Glenn Randers-Pehrson | 51650b8 | 2008-08-05 07:44:42 -0500 | [diff] [blame] | 294 | version 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-Pehrson | e0784c7 | 2008-08-09 07:11:44 -0500 | [diff] [blame] | 300 | version 1.4.0beta28 [August 5, 2008] |
Glenn Randers-Pehrson | 43aaf6e | 2008-08-05 22:17:03 -0500 | [diff] [blame] | 301 | Revised usage of PNG_LITERAL_SHARP in pngerror.c. |
| 302 | Added PNG_STRING_NEWLINE macro |
| 303 | |
Glenn Randers-Pehrson | e0784c7 | 2008-08-09 07:11:44 -0500 | [diff] [blame] | 304 | version 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-Pehrson | 1916f6a | 2008-08-14 13:44:49 -0500 | [diff] [blame] | 309 | version 1.4.0beta30 [August 14, 2008] |
| 310 | Added premultiplied alpha feature (Volker Wiendl). |
| 311 | |
Glenn Randers-Pehrson | dbed41f | 2008-08-19 18:20:52 -0500 | [diff] [blame] | 312 | version 1.4.0beta31 [August 18, 2008] |
Glenn Randers-Pehrson | 4198360 | 2008-08-18 21:52:21 -0500 | [diff] [blame] | 313 | Moved png_set_premultiply_alpha from pngtrans.c to pngrtran.c |
Glenn Randers-Pehrson | dbed41f | 2008-08-19 18:20:52 -0500 | [diff] [blame] | 314 | Removed extra crc check at the end of png_handle_cHRM(). Bug introduced |
| 315 | in libpng-1.4.0beta20. |
| 316 | |
| 317 | version 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-Pehrson | 4198360 | 2008-08-18 21:52:21 -0500 | [diff] [blame] | 320 | |
Glenn Randers-Pehrson | 800d1e9 | 2008-08-20 17:25:21 -0500 | [diff] [blame] | 321 | version 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-Pehrson | a5fa5c9 | 2008-09-06 07:06:22 -0500 | [diff] [blame] | 325 | version 1.4.0beta34 [September 6, 2008] |
| 326 | Shortened tIME_string to 29 bytes in pngtest.c |
Glenn Randers-Pehrson | 56f6396 | 2008-10-06 10:16:17 -0500 | [diff] [blame] | 327 | Fixed off-by-one error introduced in png_push_read_zTXt() function in |
| 328 | libpng-1.2.30beta04/pngpread.c (Harald van Dijk) |
| 329 | |
| 330 | version 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-Pehrson | a5fa5c9 | 2008-09-06 07:06:22 -0500 | [diff] [blame] | 334 | |
Glenn Randers-Pehrson | f783101 | 2008-11-13 06:05:13 -0600 | [diff] [blame] | 335 | version 1.4.0beta36 [October 25, 2008] |
Glenn Randers-Pehrson | 97a9b48 | 2008-10-25 20:03:28 -0500 | [diff] [blame] | 336 | Sync with tEXt vulnerability fix in libpng-1.2.33rc02. |
| 337 | |
Glenn Randers-Pehrson | f783101 | 2008-11-13 06:05:13 -0600 | [diff] [blame] | 338 | version 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-Pehrson | d0c4059 | 2008-11-22 07:09:51 -0600 | [diff] [blame] | 342 | version 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-Pehrson | 6a9c2ce | 2009-03-27 19:30:10 -0500 | [diff] [blame] | 346 | version 1.4.0beta39 [November 23, 2008] |
Glenn Randers-Pehrson | 398b5a3 | 2008-11-23 06:48:29 -0600 | [diff] [blame] | 347 | Revised png_warning() to write its message on standard output by default |
| 348 | when warning_fn is NULL. |
| 349 | |
Glenn Randers-Pehrson | 71a3c1f | 2008-11-26 12:00:38 -0600 | [diff] [blame] | 350 | version 1.4.0beta40 [November 24, 2008] |
Glenn Randers-Pehrson | 02a5e33 | 2008-11-24 22:10:23 -0600 | [diff] [blame] | 351 | 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-Pehrson | 5ca69e4 | 2008-12-06 05:38:27 -0600 | [diff] [blame] | 355 | version 1.4.0beta41 [November 26, 2008] |
Glenn Randers-Pehrson | 71a3c1f | 2008-11-26 12:00:38 -0600 | [diff] [blame] | 356 | 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-Pehrson | 5ca69e4 | 2008-12-06 05:38:27 -0600 | [diff] [blame] | 361 | version 1.4.0beta42, 43 [December 1, 2008] |
Glenn Randers-Pehrson | d6d8075 | 2008-12-02 09:49:43 -0600 | [diff] [blame] | 362 | Merge png_debug with version 1.2.34beta04. |
| 363 | |
Glenn Randers-Pehrson | 5ca69e4 | 2008-12-06 05:38:27 -0600 | [diff] [blame] | 364 | version 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-Pehrson | 65a0992 | 2008-12-09 06:11:59 -0600 | [diff] [blame] | 368 | |
| 369 | version 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-Pehrson | 1eb14e9 | 2008-12-10 07:14:45 -0600 | [diff] [blame] | 373 | version 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-Pehrson | 4a82d69 | 2008-12-15 16:25:05 -0600 | [diff] [blame] | 378 | version 1.4.0beta47 [December 15, 2008] |
| 379 | Turned off PNG_READ_DITHER_SUPPORTED by default. |
| 380 | |
Glenn Randers-Pehrson | 79134c6 | 2009-02-14 10:32:18 -0600 | [diff] [blame] | 381 | version 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-Pehrson | 0ffb71a | 2009-02-28 06:08:20 -0600 | [diff] [blame] | 386 | version 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-Pehrson | 6a9c2ce | 2009-03-27 19:30:10 -0500 | [diff] [blame] | 395 | version 1.4.0beta50 [March 18, 2009] |
Glenn Randers-Pehrson | 6917b51 | 2009-03-09 15:31:08 -0500 | [diff] [blame] | 396 | 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-Pehrson | 8fb550c | 2009-03-21 08:15:32 -0500 | [diff] [blame] | 398 | 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 | |
| 406 | version 1.4.0beta51 [March 21, 2009] |
| 407 | Removed new png_fileno() macro from pngconf.h . |
Glenn Randers-Pehrson | 6917b51 | 2009-03-09 15:31:08 -0500 | [diff] [blame] | 408 | |
Glenn Randers-Pehrson | a6cc627 | 2009-04-01 14:18:43 -0500 | [diff] [blame] | 409 | version 1.4.0beta52 [March 27, 2009] |
Glenn Randers-Pehrson | 6a9c2ce | 2009-03-27 19:30:10 -0500 | [diff] [blame] | 410 | Relocated png_do_chop() ahead of building gamma tables in pngrtran.c |
| 411 | This avoids building 16-bit gamma tables unnecessarily. |
Glenn Randers-Pehrson | a6cc627 | 2009-04-01 14:18:43 -0500 | [diff] [blame] | 412 | 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 | |
| 416 | version 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-Pehrson | 6a9c2ce | 2009-03-27 19:30:10 -0500 | [diff] [blame] | 419 | |
Glenn Randers-Pehrson | a93c942 | 2009-04-13 11:41:33 -0500 | [diff] [blame] | 420 | version 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-Pehrson | 871f5cd | 2009-04-19 07:43:02 -0500 | [diff] [blame] | 429 | version 1.4.0beta55 [April 15, 2009] |
Glenn Randers-Pehrson | f0a8fe0 | 2009-04-14 08:28:15 -0500 | [diff] [blame] | 430 | 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.net | 92d9534 | 2009-05-02 15:12:50 -0500 | [diff] [blame] | 433 | version 1.4.0beta56 [April 25, 2009] |
Glenn Randers-Pehrson | 1d02405 | 2009-04-20 11:36:11 -0500 | [diff] [blame] | 434 | 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-Pehrson | 871f5cd | 2009-04-19 07:43:02 -0500 | [diff] [blame] | 438 | |
Glenn Randers-Pehrson glennrp@comcast.net | 0a2547e | 2009-05-02 15:23:38 -0500 | [diff] [blame] | 439 | version 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.net | 31cafa0 | 2009-05-02 16:08:06 -0500 | [diff] [blame] | 442 | Rebuilt configure scripts with autoconf-2.63 instead of 2.62 |
| 443 | Removed pngprefs.h and MMX from makefiles |
Glenn Randers-Pehrson glennrp@comcast.net | 92d9534 | 2009-05-02 15:12:50 -0500 | [diff] [blame] | 444 | |
Glenn Randers-Pehrson glennrp@comcast.net | 389c655 | 2009-05-02 21:52:10 -0500 | [diff] [blame^] | 445 | version 1.4.0beta58 [May 3, 2009] |
| 446 | |
Glenn Randers-Pehrson | beb572e | 2006-08-19 13:59:24 -0500 | [diff] [blame] | 447 | version 1.4.0betaN [future] |
| 448 | Build shared libraries with -lz and sometimes -lm. |
| 449 | |
Glenn Randers-Pehrson | 9c3ab68 | 2006-02-20 22:09:05 -0600 | [diff] [blame] | 450 | Send comments/corrections/commendations to png-mng-implement at lists.sf.net |
Glenn Randers-Pehrson | beb572e | 2006-08-19 13:59:24 -0500 | [diff] [blame] | 451 | (subscription required; visit |
Glenn Randers-Pehrson | 9c3ab68 | 2006-02-20 22:09:05 -0600 | [diff] [blame] | 452 | https://lists.sourceforge.net/lists/listinfo/png-mng-implement |
| 453 | to subscribe) or to glennrp at users.sourceforge.net |
Glenn Randers-Pehrson | 896239b | 1998-04-21 15:03:57 -0500 | [diff] [blame] | 454 | |
Glenn Randers-Pehrson | 5c6aeb2 | 1998-12-29 11:47:59 -0600 | [diff] [blame] | 455 | Glenn R-P |