]> git.saurik.com Git - wxWidgets.git/blob - src/png/ANNOUNCE
merged libpng-1.2.6 to HEAD
[wxWidgets.git] / src / png / ANNOUNCE
1
2 Libpng 1.2.6 - August 15, 2004
3
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.
6
7 Changes since the last public release (1.2.5):
8
9 Commented out warning about uninitialized mmx_support in pnggccrd.c.
10 Changed "IBMCPP__" flag to "__IBMCPP__" in pngconf.h.
11 Relocated two more misplaced PNGAPI lines in pngtest.c
12 Fixed memory overrun bug in png_do_read_filler() with 16-bit datastreams,
13 introduced in version 1.0.2.
14 Fixed potential overrun in pngerror.c by using strncpy instead of memcpy.
15 Revised makefile.macosx, makefile.dec, makefile.aix, and makefile.32sunu.
16 Changed the one instance of "ln -sf" to "ln -f -s" in each Sun makefile.
17 Fixed potential overrun in pngerror.c by using strncpy instead of memcpy.
18 Added "#!/bin/sh" at the top of configure, for recognition of the
19 'x' flag under Cygwin (Cosmin).
20 Optimized vacuous tests that silence compiler warnings, in png.c (Cosmin).
21 Added support for PNG_USER_CONFIG, in pngconf.h (Cosmin).
22 Fixed the special memory handler for Borland C under DOS, in pngmem.c
23 (Cosmin).
24 Removed some spurious assignments in pngrutil.c (Cosmin).
25 Replaced 65536 with 65536L, and 0xffff with 0xffffL, to silence warnings
26 on 16-bit platforms (Cosmin).
27 Enclosed shift op expressions in parentheses, to silence warnings (Cosmin).
28 Used proper type png_fixed_point, to avoid problems on 16-bit platforms,
29 in png_handle_sRGB() (Cosmin).
30 Added compression_type to png_struct, and optimized the window size
31 inside the deflate stream (Cosmin).
32 Fixed definition of isnonalpha(), in pngerror.c and pngrutil.c (Cosmin).
33 Fixed handling of unknown chunks that come after IDAT (Cosmin).
34 Allowed png_error() and png_warning() to work even if png_ptr == NULL
35 (Cosmin).
36 Replaced row_info->rowbytes with row_bytes in png_write_find_filter()
37 (Cosmin).
38 Fixed definition of PNG_LIBPNG_VER_DLLNUM (Simon-Pierre).
39 Used PNG_LIBPNG_VER and PNG_LIBPNG_VER_STRING instead of the hardcoded
40 values in png.c (Simon-Pierre, Cosmin).
41 Initialized png_libpng_ver[] with PNG_LIBPNG_VER_STRING (Simon-Pierre).
42 Replaced PNG_LIBPNG_VER_MAJOR with PNG_LIBPNG_VER_DLLNUM in png.rc
43 (Simon-Pierre).
44 Moved the definition of PNG_HEADER_VERSION_STRING near the definitions
45 of the other PNG_LIBPNG_VER_... symbols in png.h (Cosmin).
46 Relocated #ifndef PNGAPI guards in pngconf.h (Simon-Pierre, Cosmin).
47 Updated scripts/makefile.vc(a)win32 (Cosmin).
48 Updated the MSVC project (Simon-Pierre, Cosmin).
49 Updated the Borland C++ Builder project (Cosmin).
50 Avoided access to asm_flags in pngvcrd.c, if PNG_1_0_X is defined (Cosmin).
51 Commented out warning about uninitialized mmx_support in pngvcrd.c (Cosmin).
52 Removed scripts/makefile.bd32 and scripts/pngdef.pas (Cosmin).
53 Added extra guard around inclusion of Turbo C memory headers, in pngconf.h
54 (Cosmin).
55 Renamed projects/msvc/ to projects/visualc6/, and projects/borland/ to
56 projects/cbuilder5/ (Cosmin).
57 Moved projects/visualc6/png32ms.def to scripts/pngw32.def,
58 and projects/visualc6/png.rc to scripts/pngw32.rc (Cosmin).
59 Added projects/visualc6/pngtest.dsp; removed contrib/msvctest/ (Cosmin).
60 Updated contrib/visupng/VisualPng.dsp (Cosmin).
61 Updated contrib/visupng/cexcept.h to version 2.0.0 (Cosmin).
62 Added a separate distribution with "configure" and supporting files (Junichi).
63 Added user ability to change png_size_t via a PNG_SIZE_T macro.
64 Added png_sizeof() and png_convert_size() functions.
65 Added PNG_SIZE_MAX (maximum value of a png_size_t variable.
66 Added check in png_malloc_default() for (size_t)size != (png_uint_32)size
67 which would indicate an overflow.
68 Changed sPLT failure action from png_error to png_warning and abandon chunk.
69 Changed sCAL and iCCP failures from png_error to png_warning and abandon.
70 Added png_get_uint_31(png_ptr, buf) function.
71 Added PNG_UINT_32_MAX macro.
72 Renamed PNG_MAX_UINT to PNG_UINT_31_MAX.
73 Made png_zalloc() issue a png_warning and return NULL on potential
74 overflow.
75 Revised "clobber list" in pnggccrd.c so it will compile under gcc-3.4.
76 Revised Borland portion of png_malloc() to return NULL or issue
77 png_error() according to setting of PNG_FLAG_MALLOC_NULL_MEM_OK.
78 Added PNG_NO_SEQUENTIAL_READ_SUPPORTED macro to conditionally remove
79 sequential read support.
80 Added some "#if PNG_WRITE_SUPPORTED" blocks.
81 #ifdef'ed out some redundancy in png_malloc_default().
82 Use png_malloc instead of png_zalloc to allocate the pallete.
83 Rearranged order of processing of color types in png_handle_tRNS().
84 Added PNG_ROWBYTES macro to calculate rowbytes without integer overflow.
85 Updated makefile.darwin and removed makefile.macosx from scripts directory.
86 Imposed default one million column, one-million row limits on the image
87 dimensions, and added png_set_user_limits() function and
88 PNG_SET_USER_LIMITS_SUPPORTED macro to override them.
89 Fixed wrong cast of returns from png_get_user_width|height_max().
90 Fixed buffer overflow vulnerability in png_handle_tRNS()
91 Fixed integer arithmetic overflow vulnerability in png_read_png().
92 Fixed some harmless bugs in png_handle_sBIT, etc, that would cause
93 duplicate chunk types to go undetected.
94 Changed some "keep the compiler happy" from empty statements to returns,
95 Revised libpng.txt to remove 1.2.x stuff from the 1.0.x distribution
96 Revised makefile.darwin and makefile.solaris. Removed makefile.macosx.
97 Revised pngtest's png_debug_malloc() to use png_malloc() instead of
98 png_malloc_default() which is not supposed to be exported.
99 Fixed old bug in RGB to Gray transformation.
100 Fixed problem with 64-bit compilers by casting arguments to abs()
101 to png_int_32.
102 Changed "ln -sf" to "ln -f -s" in three makefiles (solaris, sco, so9).
103 Changed "HANDLE_CHUNK_*" to "PNG_HANDLE_CHUNK_*" (Cosmin)
104 Added "-@/bin/rm -f $(DL)/$(LIBNAME).so.$(PNGMAJ)" to 15 *NIX makefiles.
105 Added code to update the row_info->colortype in png_do_read_filler() (MSB).
106 Eliminated use of "abs()" in testing cHRM and gAMA values, to avoid
107 trouble with some 64-bit compilers. Created PNG_OUT_OF_RANGE() macro.
108 Revised documentation of png_set_keep_unknown_chunks().
109 Check handle_as_unknown status in pngpread.c, as in pngread.c previously.
110 Moved "PNG_HANDLE_CHUNK_*" macros out of PNG_INTERNAL section of png.h
111 Added "rim" definitions for CONST4 and CONST6 in pnggccrd.c
112 Revised pngtest so memory allocation testing is only done when PNG_DEBUG==1.
113
114 Send comments/corrections/commendations to
115 png-implement@ccrc.wustl.edu or to glennrp@users.sourceforge.net
116
117 Glenn R-P