blob: feeea8d0443f89ad1bd04b360673a2a6e546b0d2 [file] [log] [blame]
Glenn Randers-Pehrson896239b1998-04-21 15:03:57 -05001
Glenn Randers-Pehrson53c07f52010-06-18 18:55:55 -05002Libpng 1.5.0beta25 - June 18, 2010
Glenn Randers-Pehrson896239b1998-04-21 15:03:57 -05003
Glenn Randers-Pehrsond5d63602006-04-15 06:37:45 -05004This is not intended to be a public release. It will be replaced
5within a few weeks by a public version or by another test version.
Glenn Randers-Pehrson896239b1998-04-21 15:03:57 -05006
Glenn Randers-Pehrsonddfebd32006-02-22 09:19:25 -06007Files available for download:
8
9Source files with LF line endings (for Unix/Linux) and with a
10"configure" script
11
Glenn Randers-Pehrson53c07f52010-06-18 18:55:55 -050012 1.5.0beta25.tar.xz (LZMA-compressed, recommended)
13 1.5.0beta25.tar.gz
14 1.5.0beta25.tar.bz2
Glenn Randers-Pehrson3a512032006-03-31 05:29:33 -060015
Glenn Randers-Pehrsonddfebd32006-02-22 09:19:25 -060016Source files with CRLF line endings (for Windows), without the
17"configure" script
18
Glenn Randers-Pehrson53c07f52010-06-18 18:55:55 -050019 lp150b25.zip
20 lp150b25.7z
Glenn Randers-Pehrsonddfebd32006-02-22 09:19:25 -060021
22Other information:
23
Glenn Randers-Pehrson53c07f52010-06-18 18:55:55 -050024 1.5.0beta25-README.txt
25 1.5.0beta25-LICENSE.txt
Glenn Randers-Pehrsonddfebd32006-02-22 09:19:25 -060026
Glenn Randers-Pehrson288ea702010-02-12 21:20:37 -060027Changes since the last public release (1.4.1):
Glenn Randers-Pehrson896239b1998-04-21 15:03:57 -050028
Glenn Randers-Pehrson288ea702010-02-12 21:20:37 -060029version 1.5.0beta01 [February 7, 2010]
30 Moved declaration of png_struct into private pngstruct.h and png_info
31 into pnginfo.h
Glenn Randers-Pehrsonc40df892010-02-07 19:49:07 -060032
Glenn Randers-Pehrson288ea702010-02-12 21:20:37 -060033version 1.5.0beta02 [February 7, 2010]
Glenn Randers-Pehrsone00ed362010-02-07 22:42:58 -060034 Reverted to original png_push_save_buffer() code.
Glenn Randers-Pehrson6ba90882009-12-25 14:26:13 -060035
Glenn Randers-Pehrson288ea702010-02-12 21:20:37 -060036version 1.5.0beta03 [February 8, 2010]
37 Return allocated "old_buffer" in png_push_save_buffer() before
38 calling png_error().
39 Updated configure script to use SO number 15.
Glenn Randers-Pehrson3c6df192010-02-08 15:40:53 -060040
Glenn Randers-Pehrson288ea702010-02-12 21:20:37 -060041version 1.5.0beta04 [February 9, 2010]
42 Removed malformed "incomplete struct declaration" of png_info from png.h
43
Glenn Randers-Pehrson7a5be532010-02-14 07:16:19 -060044version 1.5.0beta05 [February 12, 2010]
Glenn Randers-Pehrson288ea702010-02-12 21:20:37 -060045 Removed PNG_DEPSTRUCT markup in pngstruct.h and pnginfo.h, and undid the
46 linewrapping that it entailed.
47 Revised comments in pngstruct.h and pnginfo.h and added pointers to
48 the libpng license.
49 Changed PNG_INTERNAL to PNG_EXPOSE_INTERNAL_STRUCTURES
Glenn Randers-Pehrson42f93fb2010-02-09 01:58:47 -060050 Removed the cbuilder5 project, which has not been updated to 1.4.0.
Glenn Randers-Pehrsondb5f4302010-02-08 23:31:41 -060051
Glenn Randers-Pehrson7a5be532010-02-14 07:16:19 -060052version 1.4.1beta12 and 1.5.0beta06 [February 14, 2010]
Glenn Randers-Pehrson63ee8962010-02-14 07:47:39 -060053 Fixed type declaration of png_get_chunk_malloc_max() in pngget.c (Daisuke
Glenn Randers-Pehrson7a5be532010-02-14 07:16:19 -060054 Nishikawa)
55
Glenn Randers-Pehrson69e238b2010-02-19 12:57:41 -060056version 1.5.0beta07 [omitted]
57
58version 1.5.0beta08 [February 19, 2010]
Glenn Randers-Pehrson946199e2010-02-19 07:57:34 -060059 Changed #ifdef PNG_NO_STDIO_SUPPORTED to #ifdef PNG_NO_CONSOLE_IO_SUPPORTED
60 wherever png_snprintf() is used to construct error and warning messages.
61 Noted in scripts/makefile.mingw that it expects to be run under MSYS.
62 Removed obsolete unused MMX-querying support from contrib/gregbook
Glenn Randers-Pehrsonf98726a2010-02-19 09:54:53 -060063 Added exported png_longjmp() function.
Glenn Randers-Pehrson64af5392010-02-19 12:48:10 -060064 Removed the AIX redefinition of jmpbuf in png.h
65 Added -D_ALLSOURCE in configure.ac, makefile.aix, and CMakeLists.txt
66 when building on AIX.
Glenn Randers-Pehrson9e966ca2010-02-14 07:20:59 -060067
Glenn Randers-Pehrsona24fc2e2010-02-19 14:11:03 -060068version 1.5.0beta09 [February 19, 2010]
69 Removed -D_ALLSOURCE from configure.ac, makefile.aix, and CMakeLists.txt.
Glenn Randers-Pehrsone4c706a2010-03-06 14:51:54 -060070 Changed the name of png_ptr->jmpbuf to png_ptr->png_jmpbuf in pngstruct.h
Glenn Randers-Pehrsona24fc2e2010-02-19 14:11:03 -060071
Glenn Randers-Pehrson6c2e9192010-03-03 05:37:04 -060072version 1.5.0beta10 [February 25, 2010]
Glenn Randers-Pehrson4531ded2010-02-21 23:07:13 -060073 Removed unused gzio.c from contrib/pngminim gather and makefile scripts
Glenn Randers-Pehrson6c2e9192010-03-03 05:37:04 -060074 Removed replacement error handlers from contrib/gregbook. Because of
75 the new png_longjmp() function they are no longer needed.
76
Glenn Randers-Pehrsone4c706a2010-03-06 14:51:54 -060077version 1.5.0beta11 [March 6, 2010]
Glenn Randers-Pehrson6c2e9192010-03-03 05:37:04 -060078 Removed checking for already-included setjmp.h from pngconf.h
Glenn Randers-Pehrsone4c706a2010-03-06 14:51:54 -060079 Fixed inconsistent indentations and made numerous cosmetic changes.
Glenn Randers-Pehrson4531ded2010-02-21 23:07:13 -060080
Glenn Randers-Pehrson86f88dd2010-03-08 21:28:21 -060081version 1.5.0beta12 [March 9, 2010]
Glenn Randers-Pehrsonc3cd22b2010-03-08 21:10:25 -060082 Moved "#include png.h" inside pngpriv.h and removed "#include png.h" from
83 the source files, along with "#define PNG_EXPOSE_INTERNAL_STRUCTURES"
84 and "#define PNG_NO_PEDANTIC_WARNINGS" (John Bowler).
85 Created new pngdebug.h and moved debug definitions there.
Glenn Randers-Pehrsonaaf377c2010-03-08 11:20:30 -060086
Glenn Randers-Pehrson632a84e2010-03-09 22:28:33 -060087version 1.5.0beta13 [March 10, 2010]
Glenn Randers-Pehrson3919f232010-03-08 21:52:28 -060088 Protect pngstruct.h, pnginfo.h, and pngdebug.h from being included twice.
Glenn Randers-Pehrsonafa999d2010-03-09 07:52:30 -060089 Revise the "#ifdef" blocks in png_inflate() so it will compile when neither
90 PNG_USER_CHUNK_MALLOC_MAX nor PNG_SET_CHUNK_MALLOC_LIMIT_SUPPORTED
91 is defined.
Glenn Randers-Pehrsonf2c99bd2010-03-09 08:40:52 -060092 Removed unused png_measure_compressed_chunk() from pngpriv.h and libpngpf.3
Glenn Randers-Pehrsondc6182a2010-03-09 16:45:06 -060093 Moved the 'config.h' support from pngconf.h to pngpriv.h
Glenn Randers-Pehrsonf70645c2010-03-09 16:46:06 -060094 Removed PNGAPI from the png_longjmp_ptr typedef.
Glenn Randers-Pehrson31f92b02010-03-09 16:47:59 -060095 Eliminated dependence of pngtest.c on the private pngdebug.h file.
Glenn Randers-Pehrson632a84e2010-03-09 22:28:33 -060096 Make all png_debug macros into *unterminated* statements or
97 expressions (i.e. a trailing ';' must always be added) and correct
98 the format statements in various png_debug messages.
Glenn Randers-Pehrsonc957b6b2010-03-08 21:47:07 -060099
Glenn Randers-Pehrsond7da8bb2010-03-13 20:30:10 -0600100version 1.5.0beta14 [March 14, 2010]
Glenn Randers-Pehrson526a6ad2010-03-11 05:42:20 -0600101 Removed direct access to png_ptr->io_ptr from the Windows code in pngtest.c
Glenn Randers-Pehrson glennrp@comcast.netd0e35cd2010-03-11 05:48:32 -0600102 Revised Makefile.am to account for recent additions and replacements.
Glenn Randers-Pehrson300c8ae2010-03-11 06:24:01 -0600103 Corrected CE and OS/2 DEF files (scripts/png*def) for symbols removed and
104 added ordinal numbers to the Windows DEF file and corrected the duplicated
105 ordinal numbers on CE symbols that are commented out.
Glenn Randers-Pehrson69dd5f52010-03-11 17:38:18 -0600106 Added back in export symbols that can be present in the Windows build but
107 are disabled by default.
Glenn Randers-Pehrsoneae8e362010-03-12 17:36:53 -0600108 PNG_EXPORT changed to include an 'ordinal' field for DEF file generation.
109 PNG_CALLBACK added to make callback definitions uniform. PNGAPI split
110 into PNGCAPI (base C form), PNGAPI (exports) and PNGCBAPI (callbacks),
111 and appropriate changes made to all files. Cygwin builds re-hinged to
112 allow procedure call standard changes and to remove the need for the DEF
113 file (fixes build on Cygwin).
Glenn Randers-Pehrsona528fba2010-03-12 21:03:18 -0600114 Enabled 'attribute' warnings that are relevant to library APIs and callbacks.
115 Changed rules for generation of the various symbol files and added a new
116 rule for a DEF file (which is also added to the distribution).
117 Updated the symbol file generation to stop it adding spurious spaces
118 to EOL (coming from preprocessor macro expansion). Added a facility
119 to join tokens in the output and rewrite *.dfn to use this.
Glenn Randers-Pehrsond7da8bb2010-03-13 20:30:10 -0600120 Eliminated scripts/*.def in favor of libpng.def; updated projects/visualc71
121 and removed scripts/makefile.cygwin.
Glenn Randers-Pehrsond00bbb22010-03-14 09:15:49 -0500122 Made PNG_BUILD_DLL safe: it can be set whenever a DLL is being built.
123 Removed the include of sys/types.h - apparently unnecessary now on the
124 platforms on which it happened (all but Mac OS and RISC OS).
125 Moved the Mac OS test into pngpriv.h (the only place it is used.)
Glenn Randers-Pehrson2f7cbab2010-03-10 09:10:16 -0600126
Glenn Randers-Pehrsonb07e8562010-03-17 07:39:02 -0500127version 1.5.0beta15 [March 17, 2010]
Glenn Randers-Pehrsonc551c0d2010-03-16 07:52:34 -0500128 Added symbols.chk target to Makefile.am to validate the symbols in png.h
129 against the new DEF file scripts/symbols.def.
130 Changed the default DEF file back to pngwin.def.
131 Removed makefile.mingw.
Glenn Randers-Pehrson4c8f7262010-03-16 19:30:01 -0500132 Eliminated PNG_NO_EXTERN and PNG_ALL_EXTERN
Glenn Randers-Pehrson53198fb2010-03-14 09:44:49 -0500133
Glenn Randers-Pehrson92a3ef42010-03-31 21:50:21 -0500134version 1.5.0beta16 [April 1, 2010]
Glenn Randers-Pehrson3e42a992010-03-31 22:16:07 -0500135 Made png_text_struct independent of PNG_iTXt_SUPPORTED, so that
Glenn Randers-Pehrsondd78d522010-03-30 08:34:02 -0500136 fields are initialized in all configurations. The READ/WRITE
137 macros (PNG_(READ|WRITE)_iTXt_SUPPORTED) still function as
138 before to disable code to actually read or write iTXt chunks
139 and iTXt_SUPPORTED can be used to detect presence of either
140 read or write support (but it is probably better to check for
141 the one actually required - read or write.)
Glenn Randers-Pehrson92a3ef42010-03-31 21:50:21 -0500142 Combined multiple png_warning() calls for a single error.
Glenn Randers-Pehrson3e42a992010-03-31 22:16:07 -0500143 Restored the macro definition of png_check_sig().
Glenn Randers-Pehrson844a3c02010-03-17 07:40:58 -0500144
Glenn Randers-Pehrson3cd7cff2010-04-16 19:27:08 -0500145version 1.5.0beta17 [April 17, 2010]
146 Documented the fact that png_set_dither() was disabled since libpng-1.4.0.
147 Reenabled png_set_dither() but renamed it to png_set_quantize() to reflect
148 more accurately what it actually does. At the same time, renamed
149 the PNG_DITHER_[RED,GREEN_BLUE]_BITS macros to
150 PNG_QUANTIZE_[RED,GREEN,BLUE]_BITS.
151 Added some "(long)" typecasts to printf calls in png_handle_cHRM().
Glenn Randers-Pehrson862cb202010-04-16 22:12:51 -0500152 Freeze build-time only configuration in the build.
153 In all prior versions of libpng most configuration options
154 controlled by compiler #defines had to be repeated by the
155 application code that used libpng. This patch changes this
156 so that compilation options that can only be changed at build
157 time are frozen in the build. Options that are compiler
158 dependent (and those that are system dependent) are evaluated
159 each time - pngconf.h holds these. Options that can be changed
160 per-file in the application are in png.h. Frozen options are
Glenn Randers-Pehrson7efdbaf2010-04-17 18:50:23 -0500161 in the new installed header file pnglibconf.h (John Bowler)
Glenn Randers-Pehrsonf90165b2010-04-17 08:56:40 -0500162 Removed the xcode project because it has not been updated to work
163 with libpng-1.5.0.
Glenn Randers-Pehrson862cb202010-04-16 22:12:51 -0500164
Glenn Randers-Pehrsonc3d73f42010-04-24 09:18:57 -0500165version 1.5.0beta18 [April 17, 2010]
Glenn Randers-Pehrsonaecef092010-04-17 18:03:02 -0500166 Restored the ability to include optional pngusr.h
Glenn Randers-Pehrson8bdfb472010-04-17 18:05:01 -0500167 Moved replacements for png_error() and png_warning() from the
168 contrib/pngminim project to pngerror.c, for use when warnings or
169 errors are disabled via PNG_NO_WARN or PNG_NO_ERROR_TEXT, to avoid
170 storing unneeded error/warning text.
171 Updated contrib/pngminim project to work with the new pnglibconf.h
Glenn Randers-Pehrson7efdbaf2010-04-17 18:50:23 -0500172 Added some PNG_NO_* defines to contrib/pngminim/*/pngusr.h to save space.
Glenn Randers-Pehrsonbb6d66e2010-04-17 09:23:53 -0500173
Glenn Randers-Pehrsonc3d73f42010-04-24 09:18:57 -0500174version 1.5.0beta19 [April 24, 2010]
175 Added PNG_{READ,WRITE}_INT_FUNCTIONS_SUPPORTED. This allows the functions
176 to read and write ints to be disabled independently of PNG_USE_READ_MACROS,
177 which allows libpng to be built with the functions even though the default
178 is to use the macros - this allows applications to choose at app build
179 time whether or not to use macros (previously impossible because the
180 functions weren't in the default build.)
Glenn Randers-Pehrson9ee577c2010-04-24 09:40:44 -0500181 Changed Windows calling convention back to __cdecl for API functions.
182 For Windows/x86 platforms only:
183 __stdcall is no longer needed for Visual Basic, so libpng-1.5.0 uses
184 __cdecl throughout (both API functions and callbacks) on Windows/x86
185 platforms.
Glenn Randers-Pehrson304a1a12010-04-24 12:15:51 -0500186 Replaced visualc6 and visualc71 projects with new vstudio project
Glenn Randers-Pehrson5a36a332010-04-24 13:50:22 -0500187 Relaxed the overly-restrictive permissions of some files.
Glenn Randers-Pehrson8b1b1212010-04-17 19:12:58 -0500188
Glenn Randers-Pehrson7b520872010-04-24 12:22:18 -0500189version 1.5.0beta20 [April 24, 2010]
Glenn Randers-Pehrson5a36a332010-04-24 13:50:22 -0500190 Relaxed more overly-restrictive permissions of some files.
Glenn Randers-Pehrson7b520872010-04-24 12:22:18 -0500191
Glenn Randers-Pehrsond026f9c2010-04-26 22:48:39 -0500192version 1.5.0beta21 [April 27, 2010]
Glenn Randers-Pehrsoncd01d222010-04-24 21:35:04 -0500193 Removed some unwanted binary bytes and changed CRLF to NEWLINE in the new
194 vstudio project files, and some trivial editing of some files in the
195 scripts directory.
Glenn Randers-Pehrsond026f9c2010-04-26 22:48:39 -0500196 Set PNG_NO_READ_BGR, PNG_NO_IO_STATE, and PNG_NO_TIME_RFC1123 in
197 contrib/pngminim/decoder/pngusr.h to make a smaller decoder application.
Glenn Randers-Pehrson810c2e62010-04-24 20:33:42 -0500198
Glenn Randers-Pehrson34713ce2010-04-28 07:49:28 -0500199version 1.5.0beta22 [April 28, 2010]
200 Fixed dependencies of GET_INT_32 - it does not require READ_INT_FUNCTIONS
201 because it has a macro equivalent.
Glenn Randers-Pehrsoncd745492010-04-28 07:52:16 -0500202 Improved the options.awk script; added an "everything off" option.
Glenn Randers-Pehrsone3e8f6b2010-04-28 07:54:14 -0500203 Revised contrib/pngminim to use the "everything off" option in pngusr.dfa.
Glenn Randers-Pehrson34713ce2010-04-28 07:49:28 -0500204
Glenn Randers-Pehrsoncf2fd3b2010-04-28 21:25:18 -0500205version 1.5.0beta23 [April 29, 2010]
Glenn Randers-Pehrson59054842010-04-28 13:21:03 -0500206 Corrected PNG_REMOVED macro to take five arguments.
207 The macro was documented with two arguments (name,ordinal), however
208 the symbol checking .dfn files assumed five arguments. The five
209 argument form seems more useful so it is changed to that.
Glenn Randers-Pehrson1ce81332010-04-28 18:44:48 -0500210 Corrected PNG_UNKNOWN_CHUNKS_SUPPORTED to PNG_HANDLE_AS_UNKNOWN_SUPPORTED
211 in gregbook/readpng2.c
Glenn Randers-Pehrsoncf2fd3b2010-04-28 21:25:18 -0500212 Corrected protection of png_get_user_transform_ptr. The API declaration in
213 png.h is removed if both READ and WRITE USER_TRANSFORM are turned off
214 but was left defined in pngtrans.c
Glenn Randers-Pehrson4a4de182010-04-28 21:26:57 -0500215 Added logunsupported=1 to cause pnglibconf.h to document disabled options.
216 This makes the installed pnglibconf.h more readable but causes no
217 other change. The intention is that users of libpng will find it
218 easier to understand if an API they need is missing.
Glenn Randers-Pehrsonf10fa3c2010-04-29 08:25:29 -0500219 Include png_reset_zstream() in png.c only when PNG_READ_SUPPORTED is defined.
Glenn Randers-Pehrsona0b0d8b2010-04-29 08:40:24 -0500220 Removed dummy_inflate.c from contrib/pngminim/encoder
Glenn Randers-Pehrsonb6217942010-04-29 08:41:33 -0500221 Removed contrib/pngminim/*/gather.sh; gathering is now done in the makefile.
Glenn Randers-Pehrsoncb096a42010-04-28 13:10:47 -0500222
Glenn Randers-Pehrson537c1a52010-05-07 09:42:14 -0500223version 1.5.0beta24 [May 7, 2010]
Glenn Randers-Pehrsonf24daf22010-05-06 09:44:04 -0500224 Use bitwise "&" instead of arithmetic mod in pngrutil.c calculation of the
225 offset of the png_ptr->rowbuf pointer into png_ptr->big_row_buf.
226 Added more blank lines for readability.
227
Glenn Randers-Pehrson53c07f52010-06-18 18:55:55 -0500228version 1.5.0beta25 [June 18, 2010]
229 In pngpread.c: png_push_have_row() add check for new_row > height
230 Removed the now-redundant check for out-of-bounds new_row from example.c
231
Glenn Randers-Pehrson862cb202010-04-16 22:12:51 -0500232Send comments/corrections/commendations to png-mng-implement at lists.sf.net:
Glenn Randers-Pehrsonbeb572e2006-08-19 13:59:24 -0500233(subscription required; visit
Glenn Randers-Pehrson9c3ab682006-02-20 22:09:05 -0600234https://lists.sourceforge.net/lists/listinfo/png-mng-implement
235to subscribe) or to glennrp at users.sourceforge.net
Glenn Randers-Pehrson896239b1998-04-21 15:03:57 -0500236
Glenn Randers-Pehrson5c6aeb21998-12-29 11:47:59 -0600237Glenn R-P