[devel] Added const_png_structp and const_png_infop types, and used them in

prototypes for most png_get_*() functions.
This commit is contained in:
Glenn Randers-Pehrson
2011-01-21 23:12:51 -06:00
parent 2cb633b915
commit b86b4928d6
11 changed files with 232 additions and 202 deletions

View File

@@ -1,5 +1,5 @@
Libpng 1.5.1rc01 - January 21, 2011
Libpng 1.5.1beta07 - January 22, 2011
This is not intended to be a public release. It will be replaced
within a few weeks by a public version or by another test version.
@@ -9,20 +9,20 @@ Files available for download:
Source files with LF line endings (for Unix/Linux) and with a
"configure" script
1.5.1rc01.tar.xz (LZMA-compressed, recommended)
1.5.1rc01.tar.gz
1.5.1rc01.tar.bz2
1.5.1beta07.tar.xz (LZMA-compressed, recommended)
1.5.1beta07.tar.gz
1.5.1beta07.tar.bz2
Source files with CRLF line endings (for Windows), without the
"configure" script
lp151r01.7z (LZMA-compressed, recommended)
lp151r01.zip
lp151b07.7z (LZMA-compressed, recommended)
lp151b07.zip
Other information:
1.5.1rc01-README.txt
1.5.1rc01-LICENSE.txt
1.5.1beta07-README.txt
1.5.1beta07-LICENSE.txt
Changes since the last public release (1.5.0):
@@ -32,7 +32,8 @@ version 1.5.1beta01 [January 8, 2011]
from png_charpp to png_bytepp in png_get_iCCP(). This change happened
in version 1.5.0beta36 but is not noted in the CHANGES. Similarly,
it was changed from png_charpp to png_const_bytepp in png_set_iCCP().
Ensure that png_rgb_to_gray ignores palette mapped images,
Ensure that png_rgb_to_gray ignores palette mapped images, if libpng
internally happens to call it with one.
Fixed the failure to handle palette mapped images correctly.
Version 1.5.1beta02 [January 14, 2011]
@@ -64,8 +65,10 @@ Version 1.5.1beta06 [January 20, 2011]
Revised png_fixed() in png.c to avoid compiler warning about reaching the
end without returning anything.
Version 1.5.1rc01 [January 21, 2011]
Version 1.5.1rc01 [January 22, 2011]
In the manual, describe the png_get_IHDR() arguments in the correct order.
Added const_png_structp and const_png_infop types, and used them in
prototypes for most png_get_*() functions.
Send comments/corrections/commendations to png-mng-implement at lists.sf.net:
(subscription required; visit