Hello community, here is the log from the commit of package libpng16 for openSUSE:Factory checked in at 2015-01-08 23:20:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libpng16 (Old) and /work/SRC/openSUSE:Factory/.libpng16.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libpng16" Changes: -------- --- /work/SRC/openSUSE:Factory/libpng16/libpng16.changes 2014-11-24 11:13:25.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.libpng16.new/libpng16.changes 2015-01-09 01:11:21.000000000 +0100 @@ -1,0 +2,8 @@ +Mon Dec 29 14:25:02 UTC 2014 - [email protected] + +- updated to 1.6.16: + * Restored a test on width that was removed from png.c at libpng-1.6.9 + (Bug report by Alex Eubanks). + * Fixed an overflow in png_combine_row with very wide interlaced images. + +------------------------------------------------------------------- Old: ---- libpng-1.6.15.tar.xz libpng-1.6.15.tar.xz.asc New: ---- libpng-1.6.16.tar.xz libpng-1.6.16.tar.xz.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libpng16.spec ++++++ --- /var/tmp/diff_new_pack.9BgWkf/_old 2015-01-09 01:11:22.000000000 +0100 +++ /var/tmp/diff_new_pack.9BgWkf/_new 2015-01-09 01:11:22.000000000 +0100 @@ -19,7 +19,7 @@ # %define major 1 %define minor 6 -%define micro 15 +%define micro 16 %define branch %{major}%{minor} %define libname libpng%{branch}-%{branch} ++++++ libpng-1.6.15.tar.xz -> libpng-1.6.16.tar.xz ++++++ ++++ 1730 lines of diff (skipped) ++++ retrying with extended exclude list diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libpng-1.6.15/ANNOUNCE new/libpng-1.6.16/ANNOUNCE --- old/libpng-1.6.15/ANNOUNCE 2014-11-20 16:33:23.000000000 +0100 +++ new/libpng-1.6.16/ANNOUNCE 2014-12-22 04:08:07.000000000 +0100 @@ -1,4 +1,4 @@ -Libpng 1.6.15 - November 20, 2014 +Libpng 1.6.16 - December 22, 2014 This is a public release of libpng, intended for use in production codes. @@ -7,55 +7,30 @@ Source files with LF line endings (for Unix/Linux) and with a "configure" script - libpng-1.6.15.tar.xz (LZMA-compressed, recommended) - libpng-1.6.15.tar.gz + libpng-1.6.16.tar.xz (LZMA-compressed, recommended) + libpng-1.6.16.tar.gz Source files with CRLF line endings (for Windows), without the "configure" script - lpng1615.7z (LZMA-compressed, recommended) - lpng1615.zip + lpng1616.7z (LZMA-compressed, recommended) + lpng1616.zip Other information: - libpng-1.6.15-README.txt - libpng-1.6.15-LICENSE.txt - libpng-1.6.15-*.asc (armored detached GPG signatures) - -Changes since the last public release (1.6.14): - Changed "if (!x)" to "if (x == 0)" and "if (x)" to "if (x != 0)" - Simplified png_free_data(). - Added missing "ptr = NULL" after some instances of png_free(). - Made a one-line revision to configure.ac to support ARM on aarch64 - (bug report by Marcin Juszkiewicz, fix by John Bowler). - Avoid out-of-bounds memory access in png_user_version_check(). - Simplified and future-proofed png_user_version_check(). - Fixed GCC unsigned int->float warnings. Various versions of GCC - seem to generate warnings when an unsigned value is implicitly - converted to double. This is probably a GCC bug but this change - avoids the issue by explicitly converting to (int) where safe. - Free all allocated memory in pngimage. The file buffer cache was left - allocated at the end of the program, harmless but it causes memory - leak reports from clang. - Fixed array size calculations to avoid warnings. At various points - in the code the number of elements in an array is calculated using - sizeof. This generates a compile time constant of type (size_t) which - is then typically assigned to an (unsigned int) or (int). Some versions - of GCC on 64-bit systems warn about the apparent narrowing, even though - the same compiler does apparently generate the correct, in-range, - numeric constant. This adds appropriate, safe, casts to make the - warnings go away. - Removed #ifdef PNG_16BIT_SUPPORTED/#endif around png_product2(); it is - needed by png_reciprocal2(). - Added #ifdef PNG_16BIT_SUPPORTED/#endif around png_log16bit() and - png_do_swap(). - Changed all "#endif /* PNG_FEATURE_SUPPORTED */" to "#endif /* FEATURE */" - The macros passed in the command line to Borland make were ignored if - similarly-named macros were already defined in makefiles. This behavior - is different from POSIX make and other make programs. Surround the - macro definitions with ifndef guards (Cosmin). - Added "-D_CRT_SECURE_NO_WARNINGS" to CFLAGS in scripts/makefile.vcwin32. - Removed the obsolete $ARCH variable from scripts/makefile.darwin. + libpng-1.6.16-README.txt + libpng-1.6.16-LICENSE.txt + libpng-1.6.16-*.asc (armored detached GPG signatures) + +Changes since the last public release (1.6.15): + Added ".align 2" to arm/filter_neon.S to support old GAS assemblers that + don't do alignment correctly. + Revised Makefile.am and scripts/*.dfn to work with MinGW/MSYS; + renamed scripts/*.dfn to scripts/*.c (Bob Friesenhahn and John Bowler). + Quiet a "comparison always true" warning in pngstest.c (John Bowler). + Restored a test on width that was removed from png.c at libpng-1.6.9 + (Bug report by Alex Eubanks). + Fixed an overflow in png_combine_row with very wide interlaced images. Send comments/corrections/commendations to png-mng-implement at lists.sf.net (subscription required; visit diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libpng-1.6.15/CHANGES new/libpng-1.6.16/CHANGES --- old/libpng-1.6.15/CHANGES 2014-11-20 16:33:23.000000000 +0100 +++ new/libpng-1.6.16/CHANGES 2014-12-22 04:08:07.000000000 +0100 @@ -5097,6 +5097,33 @@ Removed the obsolete $ARCH variable from scripts/makefile.darwin. Version 1.6.15 [November 20, 2014] + No changes. + +Version 1.6.16beta01 [December 14, 2014] + Added ".align 2" to arm/filter_neon.S to support old GAS assemblers that + don't do alignment correctly. + Revised Makefile.am and scripts/symbols.dfn to work with MinGW/MSYS + (Bob Friesenhahn). + +Version 1.6.16beta02 [December 15, 2014] + Revised Makefile.am and scripts/*.dfn again to work with MinGW/MSYS; + renamed scripts/*.dfn to scripts/*.c (John Bowler). + +Version 1.6.16beta03 [December 21, 2014] + Quiet a "comparison always true" warning in pngstest.c (John Bowler). + +Version 1.6.16rc01 [December 21, 2014] + Restored a test on width that was removed from png.c at libpng-1.6.9 + (Bug report by Alex Eubanks). + +Version 1.6.16rc02 [December 21, 2014] + Undid the update to pngrutil.c in 1.6.16rc01. + +Version 1.6.16rc03 [December 21, 2014] + Fixed an overflow in png_combine_row with very wide interlaced images. + +Version 1.6.16 [December 22, 2014] + No changes. Send comments/corrections/commendations to png-mng-implement at lists.sf.net (subscription required; visit diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libpng-1.6.15/CMakeLists.txt new/libpng-1.6.16/CMakeLists.txt --- old/libpng-1.6.15/CMakeLists.txt 2014-11-20 16:33:24.000000000 +0100 +++ new/libpng-1.6.16/CMakeLists.txt 2014-12-22 04:08:07.000000000 +0100 @@ -16,7 +16,7 @@ set(PNGLIB_MAJOR 1) set(PNGLIB_MINOR 6) -set(PNGLIB_RELEASE 15) +set(PNGLIB_RELEASE 16) set(PNGLIB_NAME libpng${PNGLIB_MAJOR}${PNGLIB_MINOR}) set(PNGLIB_VERSION ${PNGLIB_MAJOR}.${PNGLIB_MINOR}.${PNGLIB_RELEASE}) @@ -253,7 +253,7 @@ # SET UP LINKS if(PNG_SHARED) set_target_properties(${PNG_LIB_NAME} PROPERTIES -# VERSION 16.${PNGLIB_RELEASE}.1.6.15 +# VERSION 16.${PNGLIB_RELEASE}.1.6.16 VERSION 16.${PNGLIB_RELEASE}.0 SOVERSION 16 CLEAN_DIRECT_OUTPUT 1) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libpng-1.6.15/LICENSE new/libpng-1.6.16/LICENSE --- old/libpng-1.6.15/LICENSE 2014-11-20 16:33:23.000000000 +0100 +++ new/libpng-1.6.16/LICENSE 2014-12-22 04:08:07.000000000 +0100 @@ -10,7 +10,7 @@ This code is released under the libpng license. -libpng versions 1.2.6, August 15, 2004, through 1.6.15, November 20, 2014, are +libpng versions 1.2.6, August 15, 2004, through 1.6.16, December 22, 2014, are Copyright (c) 2004, 2006-2014 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 @@ Glenn Randers-Pehrson glennrp at users.sourceforge.net -November 20, 2014 +December 22, 2014 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libpng-1.6.15/Makefile.am new/libpng-1.6.16/Makefile.am --- old/libpng-1.6.15/Makefile.am 2014-02-06 18:08:24.000000000 +0100 +++ new/libpng-1.6.16/Makefile.am 2014-12-15 01:44:00.000000000 +0100 @@ -129,7 +129,7 @@ $(TESTS) $(XFAIL_TESTS) tests/pngstest \ CMakeLists.txt example.c libpng-manual.txt -SCRIPT_CLEANFILES=scripts/*.out scripts/*.chk scripts/pnglibconf.dfn +SCRIPT_CLEANFILES=scripts/*.out scripts/*.chk scripts/pnglibconf.c CLEANFILES= *.tf? pngout.png libpng@PNGLIB_MAJOR@@[email protected] \ libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@-config libpng.vers libpng.sym \ @@ -152,7 +152,7 @@ # checks for this and sets DFNCPP appropriately. DFNCPP = @DFNCPP@ -SUFFIXES = .chk .dfn .out +SUFFIXES = .chk .out $(PNGLIB_BASENAME).pc: libpng.pc cp libpng.pc $@ @@ -237,18 +237,17 @@ SYMBOL_CFLAGS += -DPNG_PREFIX='@PNG_PREFIX@' endif -.dfn.out: - rm -f $@ $*.c $*.tf[12] +.c.out: + rm -f $@ $*.tf[12] test -d scripts || mkdir scripts || test -d scripts - echo '#include "$<"' >$*.c $(DFNCPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES)\ - $(CPPFLAGS) $(SYMBOL_CFLAGS) $*.c > $*.tf1 + $(CPPFLAGS) $(SYMBOL_CFLAGS) $< > $*.tf1 $(AWK) -f "${srcdir}/scripts/dfn.awk" out="$*.tf2" $*.tf1 1>&2 - rm -f $*.c $*.tf1 + rm -f $*.tf1 mv $*.tf2 $@ -# The .dfn file for pnglibconf.h is machine generated -pnglibconf.dfn: scripts/pnglibconf.dfa scripts/options.awk pngconf.h pngusr.dfa $(DFA_XTRA) +# The .c file for pnglibconf.h is machine generated +pnglibconf.c: scripts/pnglibconf.dfa scripts/options.awk pngconf.h pngusr.dfa $(DFA_XTRA) rm -f $@ $*.tf[45] $(AWK) -f ${srcdir}/scripts/options.awk out=$*.tf4 version=search\ ${srcdir}/pngconf.h ${srcdir}/scripts/pnglibconf.dfa\ @@ -268,7 +267,7 @@ # used on demand to regenerate the standard header, CPPFLAGS should # be empty - no non-standard defines -scripts/pnglibconf.dfn: scripts/pnglibconf.dfa scripts/options.awk pngconf.h +scripts/pnglibconf.c: scripts/pnglibconf.dfa scripts/options.awk pngconf.h rm -f $@ pnglibconf.tf[67] test -z "$(CPPFLAGS)" echo "com @PNGLIB_VERSION@ STANDARD API DEFINITION" |\ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libpng-1.6.15/README new/libpng-1.6.16/README --- old/libpng-1.6.15/README 2014-11-20 16:33:23.000000000 +0100 +++ new/libpng-1.6.16/README 2014-12-22 04:08:07.000000000 +0100 @@ -1,4 +1,4 @@ -README for libpng version 1.6.15 - November 20, 2014 (shared library 16.0) +README for libpng version 1.6.16 - December 22, 2014 (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. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libpng-1.6.15/arm/arm_init.c new/libpng-1.6.16/arm/arm_init.c --- old/libpng-1.6.15/arm/arm_init.c 2014-11-20 16:33:24.000000000 +0100 +++ new/libpng-1.6.16/arm/arm_init.c 2014-12-22 04:08:08.000000000 +0100 @@ -3,7 +3,7 @@ * * Copyright (c) 2014 Glenn Randers-Pehrson * Written by Mans Rullgard, 2011. - * Last changed in libpng 1.6.10 [March 6, 2014] + * Last changed in libpng 1.6.16 [December 22, 2014] * * This code is released under the libpng license. * For conditions of distribution and use, see the disclaimer @@ -17,6 +17,7 @@ #include "../pngpriv.h" #ifdef PNG_READ_SUPPORTED + #if PNG_ARM_NEON_OPT > 0 #ifdef PNG_ARM_NEON_CHECK_SUPPORTED /* Do run-time checks */ /* WARNING: it is strongly recommended that you do not build libpng with @@ -130,4 +131,4 @@ } } #endif /* PNG_ARM_NEON_OPT > 0 */ -#endif /* PNG_READ_SUPPORTED */ +#endif /* READ */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libpng-1.6.15/arm/filter_neon.S new/libpng-1.6.16/arm/filter_neon.S --- old/libpng-1.6.15/arm/filter_neon.S 2014-11-20 16:33:24.000000000 +0100 +++ new/libpng-1.6.16/arm/filter_neon.S 2014-12-22 04:08:08.000000000 +0100 @@ -1,18 +1,17 @@ /* filter_neon.S - NEON optimised filter functions * - * Copyright (c) 2013 Glenn Randers-Pehrson + * Copyright (c) 2014 Glenn Randers-Pehrson * Written by Mans Rullgard, 2011. - * Last changed in libpng 1.6.8 [December 19, 2013] + * Last changed in libpng 1.6.16 [December 22, 2014] * * This code is released under the libpng license. * For conditions of distribution and use, see the disclaimer * and license in png.h */ -/* This is required to get the symbol renames, which are #defines, and also - * includes the definition (or not) of PNG_ARM_NEON_OPT and - * PNG_ARM_NEON_IMPLEMENTATION. +/* This is required to get the symbol renames, which are #defines, and the + * definitions (or not) of PNG_ARM_NEON_OPT and PNG_ARM_NEON_IMPLEMENTATION. */ #define PNG_VERSION_INFO_ONLY #include "../pngpriv.h" @@ -21,6 +20,8 @@ .section .note.GNU-stack,"",%progbits /* mark stack as non-executable */ #endif +#ifdef PNG_READ_SUPPORTED + /* Assembler NEON support - only works for 32-bit ARM (i.e. it does not work for * ARM64). The code in arm/filter_neon_intrinsics.c supports ARM64, however it * only works if -mfpu=neon is specified on the GCC command line. See pngpriv.h @@ -28,7 +29,6 @@ */ #if PNG_ARM_NEON_IMPLEMENTATION == 2 /* hand-coded assembler */ -#ifdef PNG_READ_SUPPORTED #if PNG_ARM_NEON_OPT > 0 #ifdef __ELF__ @@ -47,6 +47,13 @@ .purgem endfunc .endm .text + + /* Explicitly specifying alignment here because some versions of + * GAS don't align code correctly. This is harmless in correctly + * written versions of GAS. + */ + .align 2 + .if \export .global \name .endif @@ -242,5 +249,5 @@ pop {r4,pc} endfunc #endif /* PNG_ARM_NEON_OPT > 0 */ -#endif /* PNG_READ_SUPPORTED */ #endif /* PNG_ARM_NEON_IMPLEMENTATION == 2 (assembler) */ +#endif /* READ */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libpng-1.6.15/arm/filter_neon_intrinsics.c new/libpng-1.6.16/arm/filter_neon_intrinsics.c --- old/libpng-1.6.15/arm/filter_neon_intrinsics.c 2014-11-20 16:33:24.000000000 +0100 +++ new/libpng-1.6.16/arm/filter_neon_intrinsics.c 2014-12-22 04:08:08.000000000 +0100 @@ -1,11 +1,11 @@ /* filter_neon_intrinsics.c - NEON optimised filter functions * - * Copyright (c) 2013 Glenn Randers-Pehrson + * Copyright (c) 2014 Glenn Randers-Pehrson * Written by James Yu <james.yu at linaro.org>, October 2013. * Based on filter_neon.S, written by Mans Rullgard, 2011. * - * Last changed in libpng 1.6.8 [December 19, 2013] + * Last changed in libpng 1.6.16 [December 22, 2014] * * This code is released under the libpng license. * For conditions of distribution and use, see the disclaimer @@ -14,6 +14,8 @@ #include "../pngpriv.h" +#ifdef PNG_READ_SUPPORTED + /* This code requires -mfpu=neon on the command line: */ #if PNG_ARM_NEON_IMPLEMENTATION == 1 /* intrinsics code from pngpriv.h */ @@ -35,7 +37,6 @@ #define png_ldr(type,pointer)\ (temp_pointer = png_ptr(type,pointer), *temp_pointer) -#ifdef PNG_READ_SUPPORTED #if PNG_ARM_NEON_OPT > 0 void @@ -368,5 +369,5 @@ } #endif /* PNG_ARM_NEON_OPT > 0 */ -#endif /* PNG_READ_SUPPORTED */ #endif /* PNG_ARM_NEON_IMPLEMENTATION == 1 (intrinsics) */ +#endif /* READ */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libpng-1.6.15/configure.ac new/libpng-1.6.16/configure.ac --- old/libpng-1.6.15/configure.ac 2014-11-20 16:33:25.000000000 +0100 +++ new/libpng-1.6.16/configure.ac 2014-12-22 04:08:09.000000000 +0100 @@ -18,7 +18,7 @@ dnl Version number stuff here: -AC_INIT([libpng],[1.6.15],[[email protected]]) +AC_INIT([libpng],[1.6.16],[[email protected]]) AC_CONFIG_MACRO_DIR([scripts]) # libpng does not follow GNU file name conventions (hence 'foreign') @@ -39,10 +39,10 @@ dnl AM_PREREQ([1.11.2]) dnl stop configure from automagically running automake -PNGLIB_VERSION=1.6.15 +PNGLIB_VERSION=1.6.16 PNGLIB_MAJOR=1 PNGLIB_MINOR=6 -PNGLIB_RELEASE=15 +PNGLIB_RELEASE=16 dnl End of version number stuff diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libpng-1.6.15/contrib/arm-neon/linux.c new/libpng-1.6.16/contrib/arm-neon/linux.c --- old/libpng-1.6.15/contrib/arm-neon/linux.c 2014-11-20 16:33:25.000000000 +0100 +++ new/libpng-1.6.16/contrib/arm-neon/linux.c 2014-12-22 04:08:09.000000000 +0100 @@ -2,7 +2,7 @@ * * Copyright (c) 2014 Glenn Randers-Pehrson * Written by John Bowler, 2014. - * Last changed in libpng 1.6.15 [November 20, 2014] + * Last changed in libpng 1.6.16 [December 22, 2014] * * This code is released under the libpng license. * For conditions of distribution and use, see the disclaimer @@ -16,8 +16,8 @@ * png_have_neon implemented for Linux by reading the widely available * pseudo-file /proc/cpuinfo. * - * This code is strict ANSI-C and is probably moderately portable, it does - * however use <stdio.h> and assumes that /proc/cpuinfo is never localized. + * This code is strict ANSI-C and is probably moderately portable; it does + * however use <stdio.h> and it assumes that /proc/cpuinfo is never localized. */ #include <stdio.h> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libpng-1.6.15/contrib/libtests/pngstest.c new/libpng-1.6.16/contrib/libtests/pngstest.c --- old/libpng-1.6.15/contrib/libtests/pngstest.c 2014-11-20 16:33:25.000000000 +0100 +++ new/libpng-1.6.16/contrib/libtests/pngstest.c 2014-12-22 04:08:09.000000000 +0100 @@ -1,9 +1,9 @@ /*- * pngstest.c * - * Copyright (c) 2013 John Cunningham Bowler + * Copyright (c) 2013-2014 John Cunningham Bowler * - * Last changed in libpng 1.6.8 [December 19, 2013] + * Last changed in libpng 1.6.16 [December 22, 2014] * * This code is released under the libpng license. * For conditions of distribution and use, see the disclaimer @@ -3173,32 +3173,43 @@ { long int cb = ftell(f); - if (cb > 0 && (unsigned long int)cb < (size_t)~(size_t)0) + if (cb > 0) { - png_bytep b = voidcast(png_bytep, malloc((size_t)cb)); - - if (b != NULL) + if ((unsigned long int)cb <= (size_t)~(size_t)0) { - rewind(f); + png_bytep b = voidcast(png_bytep, malloc((size_t)cb)); - if (fread(b, (size_t)cb, 1, f) == 1) + if (b != NULL) { - fclose(f); - image->input_memory_size = cb; - image->input_memory = b; + rewind(f); + + if (fread(b, (size_t)cb, 1, f) == 1) + { + fclose(f); + image->input_memory_size = cb; + image->input_memory = b; + } + + else + { + free(b); + return logclose(image, f, image->file_name, + ": read failed: "); + } } else - { - free(b); return logclose(image, f, image->file_name, - ": read failed: "); - } + ": out of memory: "); } else return logclose(image, f, image->file_name, - ": out of memory: "); + ": file too big for this architecture: "); + /* cb is the length of the file as a (long) and + * this is greater than the maximum amount of + * memory that can be requested from malloc. + */ } else if (cb == 0) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libpng-1.6.15/contrib/tools/pngfix.c new/libpng-1.6.16/contrib/tools/pngfix.c --- old/libpng-1.6.15/contrib/tools/pngfix.c 2014-11-20 16:33:25.000000000 +0100 +++ new/libpng-1.6.16/contrib/tools/pngfix.c 2014-12-22 04:08:09.000000000 +0100 @@ -8,8 +8,8 @@ * For conditions of distribution and use, see the disclaimer * and license in png.h * - * Tool to check and fix the zlib inflate 'too far back' problem, see the usage - * message for more information. + * Tool to check and fix the zlib inflate 'too far back' problem. + * See the usage message for more information. */ #include <stdlib.h> #include <stdio.h> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libpng-1.6.15/libpng-manual.txt new/libpng-1.6.16/libpng-manual.txt --- old/libpng-1.6.15/libpng-manual.txt 2014-11-20 16:33:23.000000000 +0100 +++ new/libpng-1.6.16/libpng-manual.txt 2014-12-22 04:08:07.000000000 +0100 @@ -1,6 +1,6 @@ libpng-manual.txt - A description on how to use and modify libpng - libpng version 1.6.15 - November 20, 2014 + libpng version 1.6.16 - December 22, 2014 Updated and distributed by Glenn Randers-Pehrson <glennrp at users.sourceforge.net> Copyright (c) 1998-2014 Glenn Randers-Pehrson @@ -11,7 +11,7 @@ Based on: - libpng versions 0.97, January 1998, through 1.6.15 - November 20, 2014 + libpng versions 0.97, January 1998, through 1.6.16 - December 22, 2014 Updated and distributed by Glenn Randers-Pehrson Copyright (c) 1998-2014 Glenn Randers-Pehrson @@ -648,15 +648,12 @@ The PNG specification allows the width and height of an image to be as large as 2^31-1 (0x7fffffff), or about 2.147 billion rows and columns. -Since very few applications really need to process such large images, -we have imposed an arbitrary 1-million limit on rows and columns. Larger images will be rejected immediately with a png_error() call. If -you wish to change this limit, you can use +you wish to reduce these limits, you can use png_set_user_limits(png_ptr, width_max, height_max); -to set your own limits, or use width_max = height_max = 0x7fffffffL -to allow all valid dimensions (libpng may reject some very large images +to set your own limits (libpng may reject some very wide images anyway because of potential buffer overflow conditions). You should put this statement after you create the PNG structure and @@ -5037,8 +5034,8 @@ Error detection in some chunks has improved; in particular the iCCP chunk reader now does pretty complete validation of the basic format. Some bad profiles that were previously accepted are now accepted with a warning or -rejected, depending upon the png_set_benign_errors() setting, in particular the -very old broken Microsoft/HP 3144-byte sRGB profile. Starting with +rejected, depending upon the png_set_benign_errors() setting, in particular +the very old broken Microsoft/HP 3144-byte sRGB profile. Starting with libpng-1.6.11, recognizing and checking sRGB profiles can be avoided by means of @@ -5048,8 +5045,8 @@ PNG_OPTION_ON); #endif -It's not a good idea to do this if you are using the "simplified API", -which needs to be able to recognize an sRGB profile conveyed via the iCCP +It's not a good idea to do this if you are using the new "simplified API", +which needs to be able to recognize sRGB profiles conveyed via the iCCP chunk. The PNG spec requirement that only grayscale profiles may appear in images @@ -5277,13 +5274,13 @@ XVI. Y2K Compliance in libpng -November 20, 2014 +December 22, 2014 Since the PNG Development group is an ad-hoc body, we can't make an official declaration. This is your unofficial assurance that libpng from version 0.71 and -upward through 1.6.15 are Y2K compliant. It is my belief that earlier +upward through 1.6.16 are Y2K compliant. It is my belief that earlier versions were also Y2K compliant. Libpng only has two year fields. One is a 2-byte unsigned integer diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libpng-1.6.15/libpng.3 new/libpng-1.6.16/libpng.3 --- old/libpng-1.6.15/libpng.3 2014-11-20 16:33:23.000000000 +0100 +++ new/libpng-1.6.16/libpng.3 2014-12-22 04:08:07.000000000 +0100 @@ -1,6 +1,6 @@ -.TH LIBPNG 3 "November 20, 2014" +.TH LIBPNG 3 "December 22, 2014" .SH NAME -libpng \- Portable Network Graphics (PNG) Reference Library 1.6.15 +libpng \- Portable Network Graphics (PNG) Reference Library 1.6.16 .SH SYNOPSIS \fB #include <png.h>\fP @@ -504,7 +504,7 @@ .SH LIBPNG.TXT libpng-manual.txt - A description on how to use and modify libpng - libpng version 1.6.15 - November 20, 2014 + libpng version 1.6.16 - December 22, 2014 Updated and distributed by Glenn Randers-Pehrson <glennrp at users.sourceforge.net> Copyright (c) 1998-2014 Glenn Randers-Pehrson @@ -515,7 +515,7 @@ Based on: - libpng versions 0.97, January 1998, through 1.6.15 - November 20, 2014 + libpng versions 0.97, January 1998, through 1.6.16 - December 22, 2014 Updated and distributed by Glenn Randers-Pehrson Copyright (c) 1998-2014 Glenn Randers-Pehrson @@ -1152,15 +1152,12 @@ The PNG specification allows the width and height of an image to be as large as 2^(31\-1 (0x7fffffff), or about 2.147 billion rows and columns. -Since very few applications really need to process such large images, -we have imposed an arbitrary 1-million limit on rows and columns. Larger images will be rejected immediately with a png_error() call. If -you wish to change this limit, you can use +you wish to reduce these limits, you can use png_set_user_limits(png_ptr, width_max, height_max); -to set your own limits, or use width_max = height_max = 0x7fffffffL -to allow all valid dimensions (libpng may reject some very large images +to set your own limits (libpng may reject some very wide images anyway because of potential buffer overflow conditions). You should put this statement after you create the PNG structure and @@ -5541,8 +5538,8 @@ Error detection in some chunks has improved; in particular the iCCP chunk reader now does pretty complete validation of the basic format. Some bad profiles that were previously accepted are now accepted with a warning or -rejected, depending upon the png_set_benign_errors() setting, in particular the -very old broken Microsoft/HP 3144-byte sRGB profile. Starting with +rejected, depending upon the png_set_benign_errors() setting, in particular +the very old broken Microsoft/HP 3144-byte sRGB profile. Starting with libpng-1.6.11, recognizing and checking sRGB profiles can be avoided by means of @@ -5552,8 +5549,8 @@ PNG_OPTION_ON); #endif -It's not a good idea to do this if you are using the "simplified API", -which needs to be able to recognize an sRGB profile conveyed via the iCCP +It's not a good idea to do this if you are using the new "simplified API", +which needs to be able to recognize sRGB profiles conveyed via the iCCP chunk. The PNG spec requirement that only grayscale profiles may appear in images @@ -5781,13 +5778,13 @@ .SH XVI. Y2K Compliance in libpng -November 20, 2014 +December 22, 2014 Since the PNG Development group is an ad-hoc body, we can't make an official declaration. This is your unofficial assurance that libpng from version 0.71 and -upward through 1.6.15 are Y2K compliant. It is my belief that earlier +upward through 1.6.16 are Y2K compliant. It is my belief that earlier versions were also Y2K compliant. Libpng only has two year fields. One is a 2-byte unsigned integer @@ -6036,6 +6033,9 @@ 1.6.15beta01-08 16 10615 16.so.16.15[.0] 1.6.15rc01-03 16 10615 16.so.16.15[.0] 1.6.15 16 10615 16.so.16.15[.0] + 1.6.16beta01-03 16 10616 16.so.16.16[.0] + 1.6.16rc01-02 16 10616 16.so.16.16[.0] + 1.6.16 16 10616 16.so.16.16[.0] Henceforth the source version will match the shared-library minor and patch numbers; the shared-library major version number will be @@ -6092,7 +6092,7 @@ Thanks to Frank J. T. Wojcik for helping with the documentation. -Libpng version 1.6.15 - November 20, 2014: +Libpng version 1.6.16 - December 22, 2014: Initially created in 1995 by Guy Eric Schalnat, then of Group 42, Inc. Currently maintained by Glenn Randers-Pehrson (glennrp at users.sourceforge.net). @@ -6115,7 +6115,7 @@ This code is released under the libpng license. -libpng versions 1.2.6, August 15, 2004, through 1.6.15, November 20, 2014, are +libpng versions 1.2.6, August 15, 2004, through 1.6.16, December 22, 2014, are Copyright (c) 2004,2006-2014 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 @@ -6214,7 +6214,7 @@ Glenn Randers-Pehrson glennrp at users.sourceforge.net -November 20, 2014 +December 22, 2014 .\" end of man page diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libpng-1.6.15/libpngpf.3 new/libpng-1.6.16/libpngpf.3 --- old/libpng-1.6.15/libpngpf.3 2014-11-20 16:33:23.000000000 +0100 +++ new/libpng-1.6.16/libpngpf.3 2014-12-22 04:08:07.000000000 +0100 @@ -1,6 +1,6 @@ -.TH LIBPNGPF 3 "November 20, 2014" +.TH LIBPNGPF 3 "December 22, 2014" .SH NAME -libpng \- Portable Network Graphics (PNG) Reference Library 1.6.15 +libpng \- Portable Network Graphics (PNG) Reference Library 1.6.16 (private functions) .SH SYNOPSIS \fB#include \fI"pngpriv.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libpng-1.6.15/png.5 new/libpng-1.6.16/png.5 --- old/libpng-1.6.15/png.5 2014-11-20 16:33:24.000000000 +0100 +++ new/libpng-1.6.16/png.5 2014-12-22 04:08:07.000000000 +0100 @@ -1,4 +1,4 @@ -.TH PNG 5 "November 20, 2014" +.TH PNG 5 "December 22, 2014" .SH NAME png \- Portable Network Graphics (PNG) format .SH DESCRIPTION diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libpng-1.6.15/png.c new/libpng-1.6.16/png.c --- old/libpng-1.6.15/png.c 2014-11-20 16:33:24.000000000 +0100 +++ new/libpng-1.6.16/png.c 2014-12-22 04:08:07.000000000 +0100 @@ -1,7 +1,7 @@ /* png.c - location for general purpose libpng functions * - * Last changed in libpng 1.6.15 [November 20, 2014] + * Last changed in libpng 1.6.16 [December 22, 2014] * Copyright (c) 1998-2014 Glenn Randers-Pehrson * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) * (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.) @@ -14,7 +14,7 @@ #include "pngpriv.h" /* Generate a compiler error if there is an old png.h in the search path. */ -typedef png_libpng_version_1_6_15 Your_png_h_is_not_version_1_6_15; +typedef png_libpng_version_1_6_16 Your_png_h_is_not_version_1_6_16; /* Tells libpng that we have already handled the first "num_bytes" bytes * of the PNG file signature. If the PNG data is embedded into another @@ -769,13 +769,13 @@ #else # ifdef __STDC__ return PNG_STRING_NEWLINE \ - "libpng version 1.6.15 - November 20, 2014" PNG_STRING_NEWLINE \ + "libpng version 1.6.16 - December 22, 2014" PNG_STRING_NEWLINE \ "Copyright (c) 1998-2014 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.15 - November 20, 2014\ + return "libpng version 1.6.16 - December 22, 2014\ Copyright (c) 1998-2014 Glenn Randers-Pehrson\ Copyright (c) 1996-1997 Andreas Dilger\ Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc."; @@ -1075,7 +1075,7 @@ png_colorspacerp colorspace, png_fixed_point gAMA) { /* Changed in libpng-1.5.4 to limit the values to ensure overflow can't - * occur. Since the fixed point representation is assymetrical it is + * occur. Since the fixed point representation is asymetrical it is * possible for 1/gamma to overflow the limit of 21474 and this means the * gamma value must be at least 5/100000 and hence at most 20000.0. For * safety the limits here are a little narrower. The values are 0.00016 to @@ -1324,7 +1324,7 @@ * (1/white-y), so we can immediately see that as white-y approaches 0 the * accuracy inherent in the cHRM chunk drops off substantially. * - * libpng arithmetic: a simple invertion of the above equations + * libpng arithmetic: a simple inversion of the above equations * ------------------------------------------------------------ * * white_scale = 1/white-y @@ -1817,7 +1817,7 @@ PNG_UNUSED(pos) /* This is recoverable, but make it unconditionally an app_error on write to - * avoid writing invalid ICC profiles into PNG files. (I.e. we handle them + * avoid writing invalid ICC profiles into PNG files (i.e., we handle them * on read, with a warning, but on write unless the app turns off * application errors the PNG won't be written.) */ @@ -1836,7 +1836,7 @@ /* sRGB sets known gamma, end points and (from the chunk) intent. */ /* IMPORTANT: these are not necessarily the values found in an ICC profile * because ICC profiles store values adapted to a D50 environment; it is - * expected that the ICC profile mediaWhitePointTag will be D50, see the + * expected that the ICC profile mediaWhitePointTag will be D50; see the * checks and code elsewhere to understand this better. * * These XYZ values, which are accurate to 5dp, produce rgb to gray @@ -2461,6 +2461,17 @@ #endif /* COLORSPACE */ +#ifdef __GNUC__ +/* This exists solely to work round a warning from GNU C. */ +static int /* PRIVATE */ +png_gt(size_t a, size_t b) +{ + return a > b; +} +#else +# define png_gt(a,b) ((a) > (b)) +#endif + void /* PRIVATE */ png_check_IHDR(png_const_structrp png_ptr, png_uint_32 width, png_uint_32 height, int bit_depth, @@ -2480,6 +2491,28 @@ png_warning(png_ptr, "Invalid image width in IHDR"); error = 1; } + + else if (png_gt(width, + (PNG_SIZE_MAX >> 3) /* 8-byte RGBA pixels */ + - 48 /* big_row_buf hack */ + - 1 /* filter byte */ + - 7*8 /* rounding width to multiple of 8 pix */ + - 8)) /* extra max_pixel_depth pad */ + { + /* The size of the row must be within the limits of this architecture. + * Because the read code can perform arbitrary transformations the + * maximum size is checked here. Because the code in png_read_start_row + * adds extra space "for safety's sake" in several places a conservative + * limit is used here. + * + * NOTE: it would be far better to check the size that is actually used, + * but the effect in the real world is minor and the changes are more + * extensive, therefore much more dangerous and much more difficult to + * write in a way that avoids compiler warnings. + */ + png_warning(png_ptr, "Image width is too large for this architecture"); + error = 1; + } else { # ifdef PNG_SET_USER_LIMITS_SUPPORTED diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libpng-1.6.15/png.h new/libpng-1.6.16/png.h --- old/libpng-1.6.15/png.h 2014-11-20 16:33:23.000000000 +0100 +++ new/libpng-1.6.16/png.h 2014-12-22 04:08:07.000000000 +0100 @@ -1,7 +1,7 @@ /* png.h - header file for PNG reference library * - * libpng version 1.6.15, November 20, 2014 + * libpng version 1.6.16, December 22, 2014 * Copyright (c) 1998-2014 Glenn Randers-Pehrson * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) * (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.) @@ -11,7 +11,7 @@ * Authors and maintainers: * libpng versions 0.71, May 1995, through 0.88, January 1996: Guy Schalnat * libpng versions 0.89c, June 1996, through 0.96, May 1997: Andreas Dilger - * libpng versions 0.97, January 1998, through 1.6.15, November 20, 2014: Glenn + * libpng versions 0.97, January 1998, through 1.6.16, December 22, 2014: Glenn * See also "Contributing Authors", below. * * Note about libpng version numbers: @@ -209,6 +209,9 @@ * 1.6.15beta01-08 16 10615 16.so.16.15[.0] * 1.6.15rc01-03 16 10615 16.so.16.15[.0] * 1.6.15 16 10615 16.so.16.15[.0] + * 1.6.16beta01-03 16 10616 16.so.16.16[.0] + * 1.6.16rc01-02 16 10616 16.so.16.16[.0] + * 1.6.16 16 10616 16.so.16.16[.0] * * Henceforth the source version will match the shared-library major * and minor numbers; the shared-library major version number will be @@ -240,7 +243,7 @@ * * This code is released under the libpng license. * - * libpng versions 1.2.6, August 15, 2004, through 1.6.15, November 20, 2014, are + * libpng versions 1.2.6, August 15, 2004, through 1.6.16, December 22, 2014, are * Copyright (c) 2004, 2006-2014 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: @@ -352,13 +355,13 @@ * Y2K compliance in libpng: * ========================= * - * November 20, 2014 + * December 22, 2014 * * Since the PNG Development group is an ad-hoc body, we can't make * an official declaration. * * This is your unofficial assurance that libpng from version 0.71 and - * upward through 1.6.15 are Y2K compliant. It is my belief that + * upward through 1.6.16 are Y2K compliant. It is my belief that * earlier versions were also Y2K compliant. * * Libpng only has two year fields. One is a 2-byte unsigned integer @@ -420,9 +423,9 @@ */ /* Version information for png.h - this should match the version in png.c */ -#define PNG_LIBPNG_VER_STRING "1.6.15" +#define PNG_LIBPNG_VER_STRING "1.6.16" #define PNG_HEADER_VERSION_STRING \ - " libpng version 1.6.15 - November 20, 2014\n" + " libpng version 1.6.16 - December 22, 2014\n" #define PNG_LIBPNG_VER_SONUM 16 #define PNG_LIBPNG_VER_DLLNUM 16 @@ -430,7 +433,7 @@ /* These should match the first 3 components of PNG_LIBPNG_VER_STRING: */ #define PNG_LIBPNG_VER_MAJOR 1 #define PNG_LIBPNG_VER_MINOR 6 -#define PNG_LIBPNG_VER_RELEASE 15 +#define PNG_LIBPNG_VER_RELEASE 16 /* This should match the numeric part of the final component of * PNG_LIBPNG_VER_STRING, omitting any leading zero: @@ -461,7 +464,7 @@ * version 1.0.0 was mis-numbered 100 instead of 10000). From * version 1.0.1 it's xxyyzz, where x=major, y=minor, z=release */ -#define PNG_LIBPNG_VER 10615 /* 1.6.15 */ +#define PNG_LIBPNG_VER 10616 /* 1.6.16 */ /* Library configuration: these options cannot be changed after * the library has been built. @@ -566,7 +569,7 @@ /* This triggers a compiler error in png.c, if png.c and png.h * do not agree upon the version number. */ -typedef char* png_libpng_version_1_6_15; +typedef char* png_libpng_version_1_6_16; /* Basic control structions. Read libpng-manual.txt or libpng.3 for more info. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libpng-1.6.15/pngconf.h new/libpng-1.6.16/pngconf.h --- old/libpng-1.6.15/pngconf.h 2014-11-20 16:33:23.000000000 +0100 +++ new/libpng-1.6.16/pngconf.h 2014-12-22 04:08:07.000000000 +0100 @@ -1,7 +1,7 @@ /* pngconf.h - machine configurable file for libpng * - * libpng version 1.6.15,November 20, 2014 + * libpng version 1.6.16,December 22, 2014 * * Copyright (c) 1998-2014 Glenn Randers-Pehrson * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libpng-1.6.15/pngrutil.c new/libpng-1.6.16/pngrutil.c --- old/libpng-1.6.15/pngrutil.c 2014-11-20 16:33:24.000000000 +0100 +++ new/libpng-1.6.16/pngrutil.c 2014-12-22 04:08:07.000000000 +0100 @@ -788,6 +788,7 @@ #endif /* Read and check the IDHR chunk */ + void /* PRIVATE */ png_handle_IHDR(png_structrp png_ptr, png_inforp info_ptr, png_uint_32 length) { @@ -852,8 +853,7 @@ } /* Set up other useful info */ - png_ptr->pixel_depth = (png_byte)(png_ptr->bit_depth * - png_ptr->channels); + png_ptr->pixel_depth = (png_byte)(png_ptr->bit_depth * png_ptr->channels); png_ptr->rowbytes = PNG_ROWBYTES(png_ptr->pixel_depth, png_ptr->width); png_debug1(3, "bit_depth = %d", png_ptr->bit_depth); png_debug1(3, "channels = %d", png_ptr->channels); @@ -3003,7 +3003,7 @@ { unsigned int pixel_depth = png_ptr->transformed_pixel_depth; png_const_bytep sp = png_ptr->row_buf + 1; - png_uint_32 row_width = png_ptr->width; + png_alloc_size_t row_width = png_ptr->width; unsigned int pass = png_ptr->pass; png_bytep end_ptr = 0; png_byte end_byte = 0; @@ -3278,7 +3278,7 @@ /* But don't allow this number to exceed the actual row width. */ if (bytes_to_copy > row_width) - bytes_to_copy = row_width; + bytes_to_copy = (unsigned int)/*SAFE*/row_width; } else /* normal row; Adam7 only ever gives us one pixel to copy. */ @@ -3458,7 +3458,7 @@ dp += bytes_to_jump; row_width -= bytes_to_jump; if (bytes_to_copy > row_width) - bytes_to_copy = row_width; + bytes_to_copy = (unsigned int)/*SAFE*/row_width; } } @@ -4228,7 +4228,7 @@ max_pixel_depth = png_ptr->pixel_depth; - /* WARNING: * png_read_transform_info (pngrtran.c) performs a simpliar set of + /* WARNING: * png_read_transform_info (pngrtran.c) performs a simpler set of * calculations to calculate the final pixel depth, then * png_do_read_transforms actually does the transforms. This means that the * code which effectively calculates this value is actually repeated in three diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libpng-1.6.15/pngtest.c new/libpng-1.6.16/pngtest.c --- old/libpng-1.6.15/pngtest.c 2014-11-20 16:33:24.000000000 +0100 +++ new/libpng-1.6.16/pngtest.c 2014-12-22 04:08:07.000000000 +0100 @@ -2008,4 +2008,4 @@ #endif /* Generate a compiler error if there is an old png.h in the search path. */ -typedef png_libpng_version_1_6_15 Your_png_h_is_not_version_1_6_15; +typedef png_libpng_version_1_6_16 Your_png_h_is_not_version_1_6_16; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libpng-1.6.15/projects/vstudio/readme.txt new/libpng-1.6.16/projects/vstudio/readme.txt --- old/libpng-1.6.15/projects/vstudio/readme.txt 2014-11-20 16:33:25.000000000 +0100 +++ new/libpng-1.6.16/projects/vstudio/readme.txt 2014-12-22 04:08:09.000000000 +0100 @@ -1,7 +1,7 @@ VisualStudio instructions -libpng version 1.6.15 - November 20, 2014 +libpng version 1.6.16 - December 22, 2014 Copyright (c) 1998-2010 Glenn Randers-Pehrson diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libpng-1.6.15/projects/vstudio/zlib.props new/libpng-1.6.16/projects/vstudio/zlib.props --- old/libpng-1.6.15/projects/vstudio/zlib.props 2014-11-20 16:33:25.000000000 +0100 +++ new/libpng-1.6.16/projects/vstudio/zlib.props 2014-12-22 04:08:09.000000000 +0100 @@ -2,7 +2,7 @@ <!-- * zlib.props - location of zlib source * - * libpng version 1.6.15 - November 20, 2014 + * libpng version 1.6.16 - December 22, 2014 * * Copyright (c) 1998-2011 Glenn Randers-Pehrson * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libpng-1.6.15/scripts/README.txt new/libpng-1.6.16/scripts/README.txt --- old/libpng-1.6.15/scripts/README.txt 2014-11-20 16:33:25.000000000 +0100 +++ new/libpng-1.6.16/scripts/README.txt 2014-12-22 04:08:08.000000000 +0100 @@ -1,9 +1,9 @@ -Makefiles for libpng version 1.6.15 - November 20, 2014 +Makefiles for libpng version 1.6.16 - December 22, 2014 pnglibconf.h.prebuilt => Stores configuration settings makefile.linux => Linux/ELF makefile - (gcc, creates libpng16.so.16.1.6.15) + (gcc, creates libpng16.so.16.1.6.16) makefile.gcc => Generic makefile (gcc, creates static libpng.a) makefile.knr => Archaic UNIX Makefile that converts files with ansi2knr (Requires ansi2knr.c from @@ -33,12 +33,12 @@ makefile.os2 => OS/2 Makefile (gcc and emx, requires libpng.def) makefile.sco => For SCO OSr5 ELF and Unixware 7 with Native cc makefile.sggcc => Silicon Graphics (gcc, - creates libpng16.so.16.1.6.15) + creates libpng16.so.16.1.6.16) makefile.sgi => Silicon Graphics IRIX makefile (cc, creates static lib) makefile.solaris => Solaris 2.X makefile (gcc, - creates libpng16.so.16.1.6.15) + creates libpng16.so.16.1.6.16) makefile.so9 => Solaris 9 makefile (gcc, - creates libpng16.so.16.1.6.15) + creates libpng16.so.16.1.6.16) makefile.std => Generic UNIX makefile (cc, creates static libpng.a) makefile.sunos => Sun makefile makefile.32sunu => Sun Ultra 32-bit makefile diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libpng-1.6.15/scripts/def.c new/libpng-1.6.16/scripts/def.c --- old/libpng-1.6.15/scripts/def.c 1970-01-01 01:00:00.000000000 +0100 +++ new/libpng-1.6.16/scripts/def.c 2014-12-22 04:08:08.000000000 +0100 @@ -0,0 +1,29 @@ +/* def.c - define format of libpng.def + * + * Last changed in libpng version 1.6.16 [December 22, 2014] + * Copyright (c) 2011-2014 Glenn Randers-Pehrson + * + * This code is released under the libpng license. + * For conditions of distribution and use, see the disclaimer + * and license in png.h + */ + +/* Write the export file header: */ +PNG_DFN ";--------------------------------------------------------------" +PNG_DFN "; LIBPNG module definition file for OS/2" +PNG_DFN ";--------------------------------------------------------------" +PNG_DFN "" +PNG_DFN "; If you give the library an explicit name one or other files" +PNG_DFN "; may need modifying to support the new name on one or more" +PNG_DFN "; systems." +PNG_DFN "LIBRARY" +PNG_DFN "OS2 DESCRIPTION "PNG image compression library"" +PNG_DFN "OS2 CODE PRELOAD MOVEABLE DISCARDABLE" +PNG_DFN "" +PNG_DFN "EXPORTS" +PNG_DFN ";Version 1.6.16" + +#define PNG_EXPORTA(ordinal, type, name, args, attributes)\ + PNG_DFN "@" SYMBOL_PREFIX "@@" name "@" + +#include "../png.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libpng-1.6.15/scripts/def.dfn new/libpng-1.6.16/scripts/def.dfn --- old/libpng-1.6.15/scripts/def.dfn 2014-11-20 16:33:25.000000000 +0100 +++ new/libpng-1.6.16/scripts/def.dfn 1970-01-01 01:00:00.000000000 +0100 @@ -1,29 +0,0 @@ -/* def.dfn - define format of libpng.def - * - * Last changed in libpng version 1.5.7 [December 15, 2011] - * Copyright (c) 2010-2011 Glenn Randers-Pehrson - * - * This code is released under the libpng license. - * For conditions of distribution and use, see the disclaimer - * and license in png.h - */ - -/* Write the export file header: */ -PNG_DFN ";--------------------------------------------------------------" -PNG_DFN "; LIBPNG module definition file for OS/2" -PNG_DFN ";--------------------------------------------------------------" -PNG_DFN "" -PNG_DFN "; If you give the library an explicit name one or other files" -PNG_DFN "; may need modifying to support the new name on one or more" -PNG_DFN "; systems." -PNG_DFN "LIBRARY" -PNG_DFN "OS2 DESCRIPTION "PNG image compression library"" -PNG_DFN "OS2 CODE PRELOAD MOVEABLE DISCARDABLE" -PNG_DFN "" -PNG_DFN "EXPORTS" -PNG_DFN ";Version 1.6.15" - -#define PNG_EXPORTA(ordinal, type, name, args, attributes)\ - PNG_DFN "@" SYMBOL_PREFIX "@@" name "@" - -#include "../png.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libpng-1.6.15/scripts/intprefix.c new/libpng-1.6.16/scripts/intprefix.c --- old/libpng-1.6.15/scripts/intprefix.c 1970-01-01 01:00:00.000000000 +0100 +++ new/libpng-1.6.16/scripts/intprefix.c 2014-12-22 04:06:29.000000000 +0100 @@ -0,0 +1,22 @@ + +/* intprefix.c - generate an unprefixed internal symbol list + * + * Last changed in libpng version 1.6.16 [December 22, 2014] + * Copyright (c) 2013-2014 Glenn Randers-Pehrson + * + * This code is released under the libpng license. + * For conditions of distribution and use, see the disclaimer + * and license in png.h + */ + +#define PNG_INTERNAL_DATA(type, name, array)\ + PNG_DFN "@" name "@" + +#define PNG_INTERNAL_FUNCTION(type, name, args, attributes)\ + PNG_DFN "@" name "@" + +#define PNG_INTERNAL_CALLBACK(type, name, args, attributes)\ + PNG_DFN "@" name "@" + +#define PNGPREFIX_H /* self generation */ +#include "../pngpriv.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libpng-1.6.15/scripts/intprefix.dfn new/libpng-1.6.16/scripts/intprefix.dfn --- old/libpng-1.6.15/scripts/intprefix.dfn 2014-02-06 18:07:21.000000000 +0100 +++ new/libpng-1.6.16/scripts/intprefix.dfn 1970-01-01 01:00:00.000000000 +0100 @@ -1,22 +0,0 @@ - -/* intprefix.dfn - generate an unprefixed internal symbol list - * - * Last changed in libpng version 1.6.0 [January 30, 2012] - * Copyright (c) 2012 Glenn Randers-Pehrson - * - * This code is released under the libpng license. - * For conditions of distribution and use, see the disclaimer - * and license in png.h - */ - -#define PNG_INTERNAL_DATA(type, name, array)\ - PNG_DFN "@" name "@" - -#define PNG_INTERNAL_FUNCTION(type, name, args, attributes)\ - PNG_DFN "@" name "@" - -#define PNG_INTERNAL_CALLBACK(type, name, args, attributes)\ - PNG_DFN "@" name "@" - -#define PNGPREFIX_H /* self generation */ -#include "../pngpriv.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libpng-1.6.15/scripts/libpng-config-head.in new/libpng-1.6.16/scripts/libpng-config-head.in --- old/libpng-1.6.15/scripts/libpng-config-head.in 2014-11-20 16:33:25.000000000 +0100 +++ new/libpng-1.6.16/scripts/libpng-config-head.in 2014-12-22 04:08:08.000000000 +0100 @@ -11,7 +11,7 @@ # Modeled after libxml-config. -version=1.6.15 +version=1.6.16 prefix="" libdir="" libs="" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libpng-1.6.15/scripts/libpng.pc.in new/libpng-1.6.16/scripts/libpng.pc.in --- old/libpng-1.6.15/scripts/libpng.pc.in 2014-11-20 16:33:25.000000000 +0100 +++ new/libpng-1.6.16/scripts/libpng.pc.in 2014-12-22 04:08:08.000000000 +0100 @@ -5,6 +5,6 @@ Name: libpng Description: Loads and saves PNG files -Version: 1.6.15 +Version: 1.6.16 Libs: -L${libdir} -lpng16 Cflags: -I${includedir} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libpng-1.6.15/scripts/makefile.cegcc new/libpng-1.6.16/scripts/makefile.cegcc --- old/libpng-1.6.15/scripts/makefile.cegcc 2014-11-20 16:33:25.000000000 +0100 +++ new/libpng-1.6.16/scripts/makefile.cegcc 2014-12-22 04:08:08.000000000 +0100 @@ -23,7 +23,7 @@ VERMAJ = 1 VERMIN = 6 -VERMIC = 15 +VERMIC = 16 VER = $(VERMAJ).$(VERMIN).$(VERMIC) NAME = libpng PACKAGE = $(NAME)-$(VER) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libpng-1.6.15/scripts/makefile.linux new/libpng-1.6.16/scripts/makefile.linux --- old/libpng-1.6.15/scripts/makefile.linux 2014-11-20 16:33:25.000000000 +0100 +++ new/libpng-1.6.16/scripts/makefile.linux 2014-12-22 04:08:08.000000000 +0100 @@ -10,7 +10,7 @@ # Library name: LIBNAME = libpng16 PNGMAJ = 16 -RELEASE = 15 +RELEASE = 16 # Shared library names: LIBSO=$(LIBNAME).so diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libpng-1.6.15/scripts/makefile.msys new/libpng-1.6.16/scripts/makefile.msys --- old/libpng-1.6.15/scripts/makefile.msys 2014-11-20 16:33:25.000000000 +0100 +++ new/libpng-1.6.16/scripts/makefile.msys 2014-12-22 04:08:08.000000000 +0100 @@ -18,7 +18,7 @@ # Library name: LIBNAME = libpng16 PNGMAJ = 16 -RELEASE = 15 +RELEASE = 16 # Shared library names: LIBSO=$(LIBNAME).dll diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libpng-1.6.15/scripts/makefile.ne12bsd new/libpng-1.6.16/scripts/makefile.ne12bsd --- old/libpng-1.6.15/scripts/makefile.ne12bsd 2014-11-20 16:33:25.000000000 +0100 +++ new/libpng-1.6.16/scripts/makefile.ne12bsd 2014-12-22 04:08:08.000000000 +0100 @@ -17,7 +17,7 @@ LIB= png16 SHLIB_MAJOR= 0 -SHLIB_MINOR= 1.6.15 +SHLIB_MINOR= 1.6.16 SRCS= png.c pngset.c pngget.c pngrutil.c pngtrans.c pngwutil.c \ pngread.c pngrio.c pngwio.c pngwrite.c pngrtran.c \ pngwtran.c pngmem.c pngerror.c pngpread.c diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libpng-1.6.15/scripts/makefile.netbsd new/libpng-1.6.16/scripts/makefile.netbsd --- old/libpng-1.6.15/scripts/makefile.netbsd 2014-11-20 16:33:25.000000000 +0100 +++ new/libpng-1.6.16/scripts/makefile.netbsd 2014-12-22 04:08:08.000000000 +0100 @@ -17,7 +17,7 @@ LIB= png SHLIB_MAJOR= 16 -SHLIB_MINOR= 1.6.15 +SHLIB_MINOR= 1.6.16 SRCS= png.c pngset.c pngget.c pngrutil.c pngtrans.c pngwutil.c \ pngread.c pngrio.c pngwio.c pngwrite.c pngrtran.c \ pngwtran.c pngmem.c pngerror.c pngpread.c diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libpng-1.6.15/scripts/makefile.openbsd new/libpng-1.6.16/scripts/makefile.openbsd --- old/libpng-1.6.15/scripts/makefile.openbsd 2014-11-20 16:33:25.000000000 +0100 +++ new/libpng-1.6.16/scripts/makefile.openbsd 2014-12-22 04:08:08.000000000 +0100 @@ -11,7 +11,7 @@ MANDIR= ${PREFIX}/man/cat SHLIB_MAJOR= 16 -SHLIB_MINOR= 1.6.15 +SHLIB_MINOR= 1.6.16 LIB= png SRCS= png.c pngerror.c pngget.c pngmem.c pngpread.c \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libpng-1.6.15/scripts/pnglibconf.dfa new/libpng-1.6.16/scripts/pnglibconf.dfa --- old/libpng-1.6.15/scripts/pnglibconf.dfa 2014-11-20 16:33:25.000000000 +0100 +++ new/libpng-1.6.16/scripts/pnglibconf.dfa 2014-12-22 04:08:09.000000000 +0100 @@ -303,7 +303,7 @@ option MNG_FEATURES # Arithmetic options, the first is the big switch that chooses between internal -# floating and fixed point arithmetic implementations - it does not affect an +# floating and fixed point arithmetic implementations - it does not affect any # APIs. The second two (the _POINT settings) switch off individual APIs. # # Prior to libpng 1.6.8 one of the API (_POINT) variants had to be selected. At diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libpng-1.6.15/scripts/pnglibconf.h.prebuilt new/libpng-1.6.16/scripts/pnglibconf.h.prebuilt --- old/libpng-1.6.15/scripts/pnglibconf.h.prebuilt 2014-11-20 16:33:25.000000000 +0100 +++ new/libpng-1.6.16/scripts/pnglibconf.h.prebuilt 2014-12-22 04:08:09.000000000 +0100 @@ -1,8 +1,8 @@ -/* libpng 1.6.15 STANDARD API DEFINITION */ +/* libpng 1.6.16 STANDARD API DEFINITION */ /* pnglibconf.h - library build configuration */ -/* Libpng version 1.6.15 - November 20, 2014 */ +/* Libpng version 1.6.16 - December 22, 2014 */ /* Copyright (c) 1998-2014 Glenn Randers-Pehrson */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libpng-1.6.15/scripts/prefix.c new/libpng-1.6.16/scripts/prefix.c --- old/libpng-1.6.15/scripts/prefix.c 1970-01-01 01:00:00.000000000 +0100 +++ new/libpng-1.6.16/scripts/prefix.c 2014-12-22 04:06:32.000000000 +0100 @@ -0,0 +1,24 @@ + +/* prefix.c - generate an unprefixed symbol list + * + * Last changed in libpng version 1.6.16 [December 22, 2014] + * Copyright (c) 2013-2014 Glenn Randers-Pehrson + * + * This code is released under the libpng license. + * For conditions of distribution and use, see the disclaimer + * and license in png.h + */ + +#define PNG_EXPORTA(ordinal, type, name, args, attributes)\ + PNG_DFN "@" name "@" + +/* The configuration information *before* the additional of symbol renames, + * the list is the C name list; no symbol prefix. + */ +#include "pnglibconf.out" + +PNG_DFN_START_SORT 1 + +#include "../png.h" + +PNG_DFN_END_SORT diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libpng-1.6.15/scripts/prefix.dfn new/libpng-1.6.16/scripts/prefix.dfn --- old/libpng-1.6.15/scripts/prefix.dfn 2013-02-16 06:27:22.000000000 +0100 +++ new/libpng-1.6.16/scripts/prefix.dfn 1970-01-01 01:00:00.000000000 +0100 @@ -1,24 +0,0 @@ - -/* prefix.dfn - generate an unprefixed symbol list - * - * Last changed in libpng version 1.6.0 [January 30, 2012] - * Copyright (c) 2012 Glenn Randers-Pehrson - * - * This code is released under the libpng license. - * For conditions of distribution and use, see the disclaimer - * and license in png.h - */ - -#define PNG_EXPORTA(ordinal, type, name, args, attributes)\ - PNG_DFN "@" name "@" - -/* The configuration information *before* the additional of symbol renames, - * the list is the C name list; no symbol prefix. - */ -#include "pnglibconf.out" - -PNG_DFN_START_SORT 1 - -#include "../png.h" - -PNG_DFN_END_SORT diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libpng-1.6.15/scripts/sym.c new/libpng-1.6.16/scripts/sym.c --- old/libpng-1.6.15/scripts/sym.c 1970-01-01 01:00:00.000000000 +0100 +++ new/libpng-1.6.16/scripts/sym.c 2014-12-22 04:06:36.000000000 +0100 @@ -0,0 +1,15 @@ + +/* sym.c - define format of libpng.sym + * + * Last changed in libpng version 1.6.16 [December 22, 2014] + * Copyright (c) 2011-2014 Glenn Randers-Pehrson + * + * This code is released under the libpng license. + * For conditions of distribution and use, see the disclaimer + * and license in png.h + */ + +#define PNG_EXPORTA(ordinal, type, name, args, attributes)\ + PNG_DFN "@" SYMBOL_PREFIX "@@" name "@" + +#include "../png.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libpng-1.6.15/scripts/sym.dfn new/libpng-1.6.16/scripts/sym.dfn --- old/libpng-1.6.15/scripts/sym.dfn 2013-02-16 06:27:22.000000000 +0100 +++ new/libpng-1.6.16/scripts/sym.dfn 1970-01-01 01:00:00.000000000 +0100 @@ -1,15 +0,0 @@ - -/* sym.dfn - define format of libpng.sym - * - * Last changed in libpng version 1.5.0 [January 6, 2011] - * Copyright (c) 1998-2011 Glenn Randers-Pehrson - * - * This code is released under the libpng license. - * For conditions of distribution and use, see the disclaimer - * and license in png.h - */ - -#define PNG_EXPORTA(ordinal, type, name, args, attributes)\ - PNG_DFN "@" SYMBOL_PREFIX "@@" name "@" - -#include "../png.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libpng-1.6.15/scripts/symbols.c new/libpng-1.6.16/scripts/symbols.c --- old/libpng-1.6.15/scripts/symbols.c 1970-01-01 01:00:00.000000000 +0100 +++ new/libpng-1.6.16/scripts/symbols.c 2014-12-22 04:06:34.000000000 +0100 @@ -0,0 +1,58 @@ + +/* symbols.c - find all exported symbols + * + * Last changed in libpng version 1.6.16 [December 22, 2014] + * Copyright (c) 2011-2014 Glenn Randers-Pehrson + * + * This code is released under the libpng license. + * For conditions of distribution and use, see the disclaimer + * and license in png.h + */ + +/* NOTE: making 'symbols.chk' checks both that the exported + * symbols in the library don't change and (implicitly) that + * scripts/pnglibconf.h.prebuilt is as expected. + * If scripts/pnglibconf.h.prebuilt is remade using + * scripts/pnglibconf.dfa then this checks the .dfa file too. + */ + +#define PNG_EXPORTA(ordinal, type, name, args, attributes)\ + PNG_DFN "@" name "@ @@" ordinal "@" +#define PNG_REMOVED(ordinal, type, name, args, attributes)\ + PNG_DFN "; @" name "@ @@" ordinal "@" +#define PNG_EXPORT_LAST_ORDINAL(ordinal)\ + PNG_DFN "; @@" ordinal "@" + +/* Read the defaults, but use scripts/pnglibconf.h.prebuilt; the 'standard' + * header file. + */ +#include "pnglibconf.h.prebuilt" +#include "../png.h" + +/* Some things are turned off by default. Turn these things + * on here (by hand) to get the APIs they expose and validate + * that no harm is done. This list is the set of options + * defaulted to 'off' in scripts/pnglibconf.dfa + * + * Maintenance: if scripts/pnglibconf.dfa options are changed + * from, or to, 'disabled' this needs updating! + */ +#define PNG_BENIGN_ERRORS_SUPPORTED +#define PNG_ERROR_NUMBERS_SUPPORTED +#define PNG_READ_BIG_ENDIAN_SUPPORTED /* should do nothing! */ +#define PNG_INCH_CONVERSIONS_SUPPORTED +#define PNG_READ_16_TO_8_ACCURATE_SCALE_SUPPORTED +#define PNG_SET_OPTION_SUPPORTED + +#undef PNG_H +#include "../png.h" + +/* Finally there are a couple of places where option support + * actually changes the APIs revealed using a #if/#else/#endif + * test in png.h, test these here. + */ +#undef PNG_FLOATING_POINT_SUPPORTED /* Exposes 'fixed' APIs */ +#undef PNG_ERROR_TEXT_SUPPORTED /* Exposes unsupported APIs */ + +#undef PNG_H +#include "../png.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libpng-1.6.15/scripts/symbols.def new/libpng-1.6.16/scripts/symbols.def --- old/libpng-1.6.15/scripts/symbols.def 2014-11-20 16:33:25.000000000 +0100 +++ new/libpng-1.6.16/scripts/symbols.def 2014-12-22 04:08:09.000000000 +0100 @@ -1,4 +1,4 @@ -;Version 1.6.15 +;Version 1.6.16 ;-------------------------------------------------------------- ; LIBPNG symbol list as a Win32 DEF file ; Contains all the symbols that can be exported from libpng diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libpng-1.6.15/scripts/symbols.dfn new/libpng-1.6.16/scripts/symbols.dfn --- old/libpng-1.6.15/scripts/symbols.dfn 2014-05-20 01:09:54.000000000 +0200 +++ new/libpng-1.6.16/scripts/symbols.dfn 1970-01-01 01:00:00.000000000 +0100 @@ -1,58 +0,0 @@ - -/* symbols.dfn - find all exported symbols - * - * Last changed in libpng version 1.5.0 [January 6, 2011] - * Copyright (c) 1998-2011 Glenn Randers-Pehrson - * - * This code is released under the libpng license. - * For conditions of distribution and use, see the disclaimer - * and license in png.h - */ - -/* NOTE: making 'symbols.chk' checks both that the exported - * symbols in the library don't change and (implicitly) that - * scripts/pnglibconf.h.prebuilt is as expected. - * If scripts/pnglibconf.h.prebuilt is remade using - * scripts/pnglibconf.dfa then this checks the .dfa file too. - */ - -#define PNG_EXPORTA(ordinal, type, name, args, attributes)\ - PNG_DFN "@" name "@ @@" ordinal "@" -#define PNG_REMOVED(ordinal, type, name, args, attributes)\ - PNG_DFN "; @" name "@ @@" ordinal "@" -#define PNG_EXPORT_LAST_ORDINAL(ordinal)\ - PNG_DFN "; @@" ordinal "@" - -/* Read the defaults, but use scripts/pnglibconf.h.prebuilt; the 'standard' - * header file. - */ -#include "pnglibconf.h.prebuilt" -#include "../png.h" - -/* Some things are turned off by default. Turn these things - * on here (by hand) to get the APIs they expose and validate - * that no harm is done. This list is the set of options - * defaulted to 'off' in scripts/pnglibconf.dfa - * - * Maintenance: if scripts/pnglibconf.dfa options are changed - * from, or to, 'disabled' this needs updating! - */ -#define PNG_BENIGN_ERRORS_SUPPORTED -#define PNG_ERROR_NUMBERS_SUPPORTED -#define PNG_READ_BIG_ENDIAN_SUPPORTED /* should do nothing! */ -#define PNG_INCH_CONVERSIONS_SUPPORTED -#define PNG_READ_16_TO_8_ACCURATE_SCALE_SUPPORTED -#define PNG_SET_OPTION_SUPPORTED - -#undef PNG_H -#include "../png.h" - -/* Finally there are a couple of places where option support - * actually changes the APIs revealed using a #if/#else/#endif - * test in png.h, test these here. - */ -#undef PNG_FLOATING_POINT_SUPPORTED /* Exposes 'fixed' APIs */ -#undef PNG_ERROR_TEXT_SUPPORTED /* Exposes unsupported APIs */ - -#undef PNG_H -#include "../png.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libpng-1.6.15/scripts/vers.c new/libpng-1.6.16/scripts/vers.c --- old/libpng-1.6.15/scripts/vers.c 1970-01-01 01:00:00.000000000 +0100 +++ new/libpng-1.6.16/scripts/vers.c 2014-12-22 04:06:39.000000000 +0100 @@ -0,0 +1,19 @@ + +/* vers.c - define format of libpng.vers + * + * Last changed in libpng version 1.6.16 [December 22, 2014] + * Copyright (c) 2011-2014 Glenn Randers-Pehrson + * + * This code is released under the libpng license. + * For conditions of distribution and use, see the disclaimer + * and license in png.h + */ + +#define PNG_EXPORTA(ordinal, type, name, args, attributes)\ + PNG_DFN " @" SYMBOL_PREFIX "@@" name "@;" + +PNG_DFN "@" PNGLIB_LIBNAME "@ {global:" + +#include "../png.h" + +PNG_DFN "local: *; };" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libpng-1.6.15/scripts/vers.dfn new/libpng-1.6.16/scripts/vers.dfn --- old/libpng-1.6.15/scripts/vers.dfn 2013-02-16 06:27:22.000000000 +0100 +++ new/libpng-1.6.16/scripts/vers.dfn 1970-01-01 01:00:00.000000000 +0100 @@ -1,19 +0,0 @@ - -/* vers.dfn - define format of libpng.vers - * - * Last changed in libpng version 1.5.0 [January 6, 2011] - * Copyright (c) 1998-2011 Glenn Randers-Pehrson - * - * This code is released under the libpng license. - * For conditions of distribution and use, see the disclaimer - * and license in png.h - */ - -#define PNG_EXPORTA(ordinal, type, name, args, attributes)\ - PNG_DFN " @" SYMBOL_PREFIX "@@" name "@;" - -PNG_DFN "@" PNGLIB_LIBNAME "@ {global:" - -#include "../png.h" - -PNG_DFN "local: *; };" -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
