diff options
author | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2015-11-03 09:34:45 -0600 |
---|---|---|
committer | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2015-11-03 09:55:02 -0600 |
commit | dbd98b8c6894cfa772fd92d1b61bcb8796f73632 (patch) | |
tree | a2eeeaf8fb3393d1c571ae7f94172b41c1eaaa79 | |
parent | 5cf6ed45c85b1422e5245175da8c48868350a2fc (diff) | |
download | libpng-1.7.0beta67.tar.gz |
[libpng17] Imported from libpng-1.7.0beta67.tarv1.7.0beta67
-rw-r--r-- | README | 2 | ||||
-rw-r--r-- | TODO | 1 | ||||
-rw-r--r-- | contrib/libtests/pngvalid.c | 6 | ||||
-rw-r--r-- | libpngpf.3 | 2 | ||||
-rw-r--r-- | png.5 | 2 | ||||
-rw-r--r-- | png.c | 4 | ||||
-rw-r--r-- | pngconf.h | 2 | ||||
-rw-r--r-- | projects/vstudio/readme.txt | 2 | ||||
-rw-r--r-- | projects/vstudio/zlib.props | 2 | ||||
-rw-r--r-- | scripts/README.txt | 2 | ||||
-rw-r--r-- | scripts/pnglibconf.h.prebuilt | 2 |
11 files changed, 13 insertions, 14 deletions
@@ -1,4 +1,4 @@ -README for libpng version 1.7.0beta67 - October 2, 2015 (shared library 17.0) +README for libpng version 1.7.0beta67 - November 3, 2015 (shared library 17.0) See the note about version numbers near the top of png.h See INSTALL for instructions on how to install libpng. @@ -25,5 +25,6 @@ Investigate pre-incremented loop counters and other loop constructions. Add interpolated method of handling interlacing. Switch to the simpler zlib (zlib/libpng) license if legally possible. Extend pngvalid.c to validate more of the libpng transformations. +Refactor preprocessor conditionals to compile entire statements */ diff --git a/contrib/libtests/pngvalid.c b/contrib/libtests/pngvalid.c index 7cee971bf..47a24065c 100644 --- a/contrib/libtests/pngvalid.c +++ b/contrib/libtests/pngvalid.c @@ -7158,7 +7158,7 @@ image_transform_png_set_rgb_to_gray_ini(const image_transform *this, * conversion adds another +/-2 in the 16-bit case and * +/-(1<<(15-PNG_MAX_GAMMA_8)) in the 8-bit case. */ - that->pm->limit += (pow)( + that->pm->limit += pow( # if PNG_MAX_GAMMA_8 < 14 (that->this.bit_depth == 16 ? 8. : 6. + (1<<(15-PNG_MAX_GAMMA_8))) @@ -7182,7 +7182,7 @@ image_transform_png_set_rgb_to_gray_ini(const image_transform *this, * affects the limit used for checking for internal calculation errors, * not the actual limit imposed by pngvalid on the output errors. */ - that->pm->limit += (pow)( + that->pm->limit += pow( # if DIGITIZE 1.3 # else @@ -10960,13 +10960,11 @@ static const color_encoding test_encodings[] = /*red: */ { 0.716500716779386, 0.258728243040113, 0.000000000000000 }, /*green:*/ { 0.101020574397477, 0.724682314948566, 0.051211818965388 }, /*blue: */ { 0.146774385252705, 0.016589442011321, 0.773892783545073} }, -#if PNG_LIBPNG_VER >= 10700 /* Fake encoding which selects just the green channel */ /*gamma:*/ { 1.45/2.2, /* the 'Mac' gamma */ /*red: */ { 0.716500716779386, 0.000000000000000, 0.000000000000000 }, /*green:*/ { 0.101020574397477, 1.000000000000000, 0.051211818965388 }, /*blue: */ { 0.146774385252705, 0.000000000000000, 0.773892783545073} }, -#endif }; /* signal handler diff --git a/libpngpf.3 b/libpngpf.3 index 3e6aac95a..e79e3bca2 100644 --- a/libpngpf.3 +++ b/libpngpf.3 @@ -1,4 +1,4 @@ -.TH LIBPNGPF 3 "October 2, 2015" +.TH LIBPNGPF 3 "November 3, 2015" .SH NAME libpng \- Portable Network Graphics (PNG) Reference Library 1.7.0beta67 (private functions) @@ -1,4 +1,4 @@ -.TH PNG 5 "October 2, 2015" +.TH PNG 5 "November 3, 2015" .SH NAME png \- Portable Network Graphics (PNG) format .SH DESCRIPTION @@ -699,13 +699,13 @@ png_get_copyright(png_const_structrp png_ptr) #else # ifdef __STDC__ return PNG_STRING_NEWLINE \ - "libpng version 1.7.0beta67 - October 2, 2015" PNG_STRING_NEWLINE \ + "libpng version 1.7.0beta67 - November 3, 2015" PNG_STRING_NEWLINE \ "Copyright (c) 1998-2015 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.7.0beta67 - October 2, 2015\ + return "libpng version 1.7.0beta67 - November 3, 2015\ Copyright (c) 1998-2015 Glenn Randers-Pehrson\ Copyright (c) 1996-1997 Andreas Dilger\ Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc."; @@ -1,7 +1,7 @@ /* pngconf.h - machine configurable file for libpng * - * libpng version 1.7.0beta67, October 2, 2015 + * libpng version 1.7.0beta67, November 3, 2015 * * Copyright (c) 1998-2015 Glenn Randers-Pehrson * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) diff --git a/projects/vstudio/readme.txt b/projects/vstudio/readme.txt index 99dc96b40..cae3e314b 100644 --- a/projects/vstudio/readme.txt +++ b/projects/vstudio/readme.txt @@ -1,7 +1,7 @@ VisualStudio instructions -libpng version 1.7.0beta67 - October 2, 2015 +libpng version 1.7.0beta67 - November 3, 2015 Copyright (c) 1998-2010 Glenn Randers-Pehrson diff --git a/projects/vstudio/zlib.props b/projects/vstudio/zlib.props index c377fbc46..526c8e5ad 100644 --- a/projects/vstudio/zlib.props +++ b/projects/vstudio/zlib.props @@ -2,7 +2,7 @@ <!-- * zlib.props - location of zlib source * - * libpng version 1.7.0beta67 - October 2, 2015 + * libpng version 1.7.0beta67 - November 3, 2015 * * Copyright (c) 1998-2011 Glenn Randers-Pehrson * diff --git a/scripts/README.txt b/scripts/README.txt index 4312304de..9e7b619d9 100644 --- a/scripts/README.txt +++ b/scripts/README.txt @@ -1,5 +1,5 @@ -Makefiles for libpng version 1.7.0beta67 - October 2, 2015 +Makefiles for libpng version 1.7.0beta67 - November 3, 2015 pnglibconf.h.prebuilt => Stores configuration settings makefile.linux => Linux/ELF makefile diff --git a/scripts/pnglibconf.h.prebuilt b/scripts/pnglibconf.h.prebuilt index b38039f0d..25b63acfe 100644 --- a/scripts/pnglibconf.h.prebuilt +++ b/scripts/pnglibconf.h.prebuilt @@ -2,7 +2,7 @@ /* pnglibconf.h - library build configuration */ -/* Libpng version 1.7.0beta67 - October 2, 2015 */ +/* Libpng version 1.7.0beta67 - November 3, 2015 */ /* Copyright (c) 1998-2015 Glenn Randers-Pehrson */ |