[libpng16] Remove whitespace at end of lines

This commit is contained in:
John Bowler 2012-03-02 13:13:15 -06:00 committed by Glenn Randers-Pehrson
parent a0ddf0b5f2
commit 6f237b6bf0
63 changed files with 558 additions and 1069 deletions

View File

@ -256,6 +256,7 @@ Version 1.6.0beta15 [March 2, 2012]
all potentially valid ICC profiles and reject obviously invalid ones.
It now uses png_error() to do so rather than casually writing a PNG
without the necessary color data.
Removed whitespace from the end of line in all source files and scripts.
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit

View File

@ -4008,6 +4008,7 @@ Version 1.6.0beta15 [March 2, 2012]
all potentially valid ICC profiles and reject obviously invalid ones.
It now uses png_error() to do so rather than casually writing a PNG
without the necessary color data.
Removed whitespace from the end of line in all source files and scripts.
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit

View File

@ -10,7 +10,7 @@ this sentence.
This code is released under the libpng license.
libpng versions 1.2.6, August 15, 2004, through 1.6.0beta15, February 27, 2012, are
libpng versions 1.2.6, August 15, 2004, through 1.6.0beta15, March 2, 2012, are
Copyright (c) 2004, 2006-2011 Glenn Randers-Pehrson, and are
distributed according to the same disclaimer and license as libpng-1.2.5
with the following individual added to the list of Contributing Authors
@ -108,4 +108,4 @@ certification mark of the Open Source Initiative.
Glenn Randers-Pehrson
glennrp at users.sourceforge.net
February 27, 2012
March 2, 2012

2
README
View File

@ -1,4 +1,4 @@
README for libpng version 1.6.0beta15 - February 27, 2012 (shared library 16.0)
README for libpng version 1.6.0beta15 - March 2, 2012 (shared library 16.0)
See the note about version numbers near the top of png.h
See INSTALL for instructions on how to install libpng.

0
contrib/libtests/gentests.sh Executable file → Normal file
View File

View File

@ -1,6 +1,6 @@
libpng-manual.txt - A description on how to use and modify libpng
libpng version 1.6.0beta15 - February 27, 2012
libpng version 1.6.0beta15 - March 2, 2012
Updated and distributed by Glenn Randers-Pehrson
<glennrp at users.sourceforge.net>
Copyright (c) 1998-2011 Glenn Randers-Pehrson
@ -11,7 +11,7 @@ libpng-manual.txt - A description on how to use and modify libpng
Based on:
libpng versions 0.97, January 1998, through 1.6.0beta15 - February 27, 2012
libpng versions 0.97, January 1998, through 1.6.0beta15 - March 2, 2012
Updated and distributed by Glenn Randers-Pehrson
Copyright (c) 1998-2011 Glenn Randers-Pehrson
@ -4993,7 +4993,7 @@ Other rules can be inferred by inspecting the libpng source.
XVI. Y2K Compliance in libpng
February 27, 2012
March 2, 2012
Since the PNG Development group is an ad-hoc body, we can't make
an official declaration.

547
libpng.3

File diff suppressed because it is too large Load Diff

View File

@ -1,21 +1,11 @@
.TH LIBPNGPF 3 "February 27, 2012"
.TH LIBPNGPF 3 "March 2, 2012"
.SH NAME
libpng \- Portable Network Graphics (PNG) Reference Library 1.6.0beta15
(private functions)
.SH SYNOPSIS
\fB#include \fI"pngpriv.h"
\fI\fB
\fBAs of libpng version \fP\fI1.5.1\fP\fB, this section is no longer \fP\fImaintained\fP\fB, now \fIthat
\fBthe private function prototypes are hidden in pngpriv.h and not \fIaccessible
\fBto applications. Look in pngpriv.h for the prototypes and a short \fIdescription
\fBof each \fIfunction.
\fI\fB
\fBAs of libpng version \fP\fI1.5.1\fP\fB, this section is no longer \fP\fImaintained\fP\fB, now that the private function prototypes are hidden in pngpriv.h and not accessible to applications. Look in pngpriv.h for the prototypes and a short description of each \fIfunction.
.SH DESCRIPTION
The functions previously listed here are used privately by libpng and are not

2
png.5
View File

@ -1,4 +1,4 @@
.TH PNG 5 "February 27, 2012"
.TH PNG 5 "March 2, 2012"
.SH NAME
png \- Portable Network Graphics (PNG) format
.SH DESCRIPTION

4
png.c
View File

@ -762,13 +762,13 @@ png_get_copyright(png_const_structrp png_ptr)
#else
# ifdef __STDC__
return PNG_STRING_NEWLINE \
"libpng version 1.6.0beta15 - February 27, 2012" PNG_STRING_NEWLINE \
"libpng version 1.6.0beta15 - March 2, 2012" PNG_STRING_NEWLINE \
"Copyright (c) 1998-2012 Glenn Randers-Pehrson" PNG_STRING_NEWLINE \
"Copyright (c) 1996-1997 Andreas Dilger" PNG_STRING_NEWLINE \
"Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc." \
PNG_STRING_NEWLINE;
# else
return "libpng version 1.6.0beta15 - February 27, 2012\
return "libpng version 1.6.0beta15 - March 2, 2012\
Copyright (c) 1998-2012 Glenn Randers-Pehrson\
Copyright (c) 1996-1997 Andreas Dilger\
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.";

View File

@ -1,7 +1,7 @@
/* pngconf.h - machine configurable file for libpng
*
* libpng version 1.6.0beta15 - February 27, 2012
* libpng version 1.6.0beta15 - March 2, 2012
*
* Copyright (c) 1998-2012 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)

View File

@ -744,6 +744,14 @@ png_read_end(png_structrp png_ptr, png_inforp info_ptr)
png_crc_finish(png_ptr, 0); /* Finish off CRC from last IDAT chunk */
#ifdef PNG_READ_CHECK_FOR_INVALID_INDEX_SUPPORTED
/* Report invalid palette index; added at libng-1.5.10 */
if (png_ptr->color_type == PNG_COLOR_TYPE_PALETTE &&
png_ptr->num_palette_max > png_ptr->num_palette)
png_warning(png_ptr, "palette index exceeded num_palette; "
"pixel(s) rendered opaque black");
#endif
do
{
png_uint_32 length = png_read_chunk_header(png_ptr);

View File

@ -1109,7 +1109,7 @@ png_write_iCCP(png_structrp png_ptr, png_const_charp name, int compression_type,
if (profile_len < 132)
png_error(png_ptr, "ICC profile too short");
if (profile_len & 3)
if (profile_len & 0x03)
png_error(png_ptr, "ICC profile length invalid (not a multiple of 4)");
embedded_profile_len = png_get_uint_32(profile);

View File

@ -1,7 +1,7 @@
VisualStudio instructions
libpng version 1.6.0beta15 - February 27, 2012
libpng version 1.6.0beta15 - March 2, 2012
Copyright (c) 1998-2010 Glenn Randers-Pehrson

View File

@ -2,7 +2,7 @@
<!--
* zlib.props - location of zlib source
*
* libpng version 1.6.0beta15 - February 27, 2012
* libpng version 1.6.0beta15 - March 2, 2012
*
* Copyright (c) 1998-2011 Glenn Randers-Pehrson
*

View File

@ -1,5 +1,5 @@
Makefiles for libpng version 1.6.0beta15 - February 27, 2012
Makefiles for libpng version 1.6.0beta15 - March 2, 2012
pnglibconf.h.prebuilt => Stores configuration settings
makefile.linux => Linux/ELF makefile