mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
[libpng16] Remove whitespace at end of lines
This commit is contained in:
parent
a0ddf0b5f2
commit
6f237b6bf0
1
ANNOUNCE
1
ANNOUNCE
@ -256,6 +256,7 @@ Version 1.6.0beta15 [March 2, 2012]
|
|||||||
all potentially valid ICC profiles and reject obviously invalid ones.
|
all potentially valid ICC profiles and reject obviously invalid ones.
|
||||||
It now uses png_error() to do so rather than casually writing a PNG
|
It now uses png_error() to do so rather than casually writing a PNG
|
||||||
without the necessary color data.
|
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
|
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
||||||
(subscription required; visit
|
(subscription required; visit
|
||||||
|
1
CHANGES
1
CHANGES
@ -4008,6 +4008,7 @@ Version 1.6.0beta15 [March 2, 2012]
|
|||||||
all potentially valid ICC profiles and reject obviously invalid ones.
|
all potentially valid ICC profiles and reject obviously invalid ones.
|
||||||
It now uses png_error() to do so rather than casually writing a PNG
|
It now uses png_error() to do so rather than casually writing a PNG
|
||||||
without the necessary color data.
|
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
|
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
||||||
(subscription required; visit
|
(subscription required; visit
|
||||||
|
4
LICENSE
4
LICENSE
@ -10,7 +10,7 @@ this sentence.
|
|||||||
|
|
||||||
This code is released under the libpng license.
|
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
|
Copyright (c) 2004, 2006-2011 Glenn Randers-Pehrson, and are
|
||||||
distributed according to the same disclaimer and license as libpng-1.2.5
|
distributed according to the same disclaimer and license as libpng-1.2.5
|
||||||
with the following individual added to the list of Contributing Authors
|
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
|
Glenn Randers-Pehrson
|
||||||
glennrp at users.sourceforge.net
|
glennrp at users.sourceforge.net
|
||||||
February 27, 2012
|
March 2, 2012
|
||||||
|
2
README
2
README
@ -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 the note about version numbers near the top of png.h
|
||||||
|
|
||||||
See INSTALL for instructions on how to install libpng.
|
See INSTALL for instructions on how to install libpng.
|
||||||
|
0
contrib/libtests/gentests.sh
Executable file → Normal file
0
contrib/libtests/gentests.sh
Executable file → Normal file
@ -1,6 +1,6 @@
|
|||||||
libpng-manual.txt - A description on how to use and modify libpng
|
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
|
Updated and distributed by Glenn Randers-Pehrson
|
||||||
<glennrp at users.sourceforge.net>
|
<glennrp at users.sourceforge.net>
|
||||||
Copyright (c) 1998-2011 Glenn Randers-Pehrson
|
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:
|
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
|
Updated and distributed by Glenn Randers-Pehrson
|
||||||
Copyright (c) 1998-2011 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
|
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
|
Since the PNG Development group is an ad-hoc body, we can't make
|
||||||
an official declaration.
|
an official declaration.
|
||||||
|
14
libpngpf.3
14
libpngpf.3
@ -1,21 +1,11 @@
|
|||||||
.TH LIBPNGPF 3 "February 27, 2012"
|
.TH LIBPNGPF 3 "March 2, 2012"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libpng \- Portable Network Graphics (PNG) Reference Library 1.6.0beta15
|
libpng \- Portable Network Graphics (PNG) Reference Library 1.6.0beta15
|
||||||
(private functions)
|
(private functions)
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
\fB#include \fI"pngpriv.h"
|
\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 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.
|
||||||
|
|
||||||
\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
|
|
||||||
|
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
The functions previously listed here are used privately by libpng and are not
|
The functions previously listed here are used privately by libpng and are not
|
||||||
|
2
png.5
2
png.5
@ -1,4 +1,4 @@
|
|||||||
.TH PNG 5 "February 27, 2012"
|
.TH PNG 5 "March 2, 2012"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
png \- Portable Network Graphics (PNG) format
|
png \- Portable Network Graphics (PNG) format
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
|
4
png.c
4
png.c
@ -762,13 +762,13 @@ png_get_copyright(png_const_structrp png_ptr)
|
|||||||
#else
|
#else
|
||||||
# ifdef __STDC__
|
# ifdef __STDC__
|
||||||
return PNG_STRING_NEWLINE \
|
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) 1998-2012 Glenn Randers-Pehrson" PNG_STRING_NEWLINE \
|
||||||
"Copyright (c) 1996-1997 Andreas Dilger" PNG_STRING_NEWLINE \
|
"Copyright (c) 1996-1997 Andreas Dilger" PNG_STRING_NEWLINE \
|
||||||
"Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc." \
|
"Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc." \
|
||||||
PNG_STRING_NEWLINE;
|
PNG_STRING_NEWLINE;
|
||||||
# else
|
# 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) 1998-2012 Glenn Randers-Pehrson\
|
||||||
Copyright (c) 1996-1997 Andreas Dilger\
|
Copyright (c) 1996-1997 Andreas Dilger\
|
||||||
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.";
|
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.";
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
/* pngconf.h - machine configurable file for libpng
|
/* 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
|
* Copyright (c) 1998-2012 Glenn Randers-Pehrson
|
||||||
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
|
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
|
||||||
|
@ -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 */
|
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
|
do
|
||||||
{
|
{
|
||||||
png_uint_32 length = png_read_chunk_header(png_ptr);
|
png_uint_32 length = png_read_chunk_header(png_ptr);
|
||||||
|
@ -1109,7 +1109,7 @@ png_write_iCCP(png_structrp png_ptr, png_const_charp name, int compression_type,
|
|||||||
if (profile_len < 132)
|
if (profile_len < 132)
|
||||||
png_error(png_ptr, "ICC profile too short");
|
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)");
|
png_error(png_ptr, "ICC profile length invalid (not a multiple of 4)");
|
||||||
|
|
||||||
embedded_profile_len = png_get_uint_32(profile);
|
embedded_profile_len = png_get_uint_32(profile);
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
VisualStudio instructions
|
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
|
Copyright (c) 1998-2010 Glenn Randers-Pehrson
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<!--
|
<!--
|
||||||
* zlib.props - location of zlib source
|
* 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
|
* Copyright (c) 1998-2011 Glenn Randers-Pehrson
|
||||||
*
|
*
|
||||||
|
@ -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
|
pnglibconf.h.prebuilt => Stores configuration settings
|
||||||
makefile.linux => Linux/ELF makefile
|
makefile.linux => Linux/ELF makefile
|
||||||
|
Loading…
x
Reference in New Issue
Block a user