libpng-1.6.1 and 1.5.15 are available

Glenn Randers-Pehrson <[email protected]> Wed, 27 Mar 2013 22:22:44 -0400
Newsgroups gmane.comp.graphics.png.announce
Message-ID <CA+PdXcs+Lo+yipa15RwLFok-7s4FfLER-VzToW0v39rBg08dsA__49520.0502839454$1364437421$gmane$org@mail.gmail.com>
--===============6089932487526856093==
Content-Type: multipart/alternative; boundary=000e0cdf43826bdeff04d8f2d4df

--000e0cdf43826bdeff04d8f2d4df
Content-Type: text/plain; charset=ISO-8859-1

Changes since the last public release (1.6.0):

  Made symbol prefixing work with the ARM neon optimizations. Also allow
    pngpriv.h to be included for preprocessor definitions only, so it can
    be used in non-C/C++ files. Back ported from libpng 1.7.
  Made sRGB check numbers consistent.
  Ported libpng 1.5 options.awk/dfn file handling to 1.6, fixed one bug.
  Removed cc -E workround, corrected png_get_palette_max API Tested on
    SUN OS cc 5.9, which demonstrates the tokenization problem previously
    avoided by using /lib/cpp.  Since all .dfn output is now protected in
    double quotes unless it is to be macro substituted the fix should
    work everywhere.
  Enabled parallel tests - back ported from libpng-1.7.
  scripts/pnglibconf.dfa formatting improvements back ported from libpng17.
  Fixed a race condition in the creation of the build 'scripts' directory
    while building with a parallel make.
  Use approved/supported Android method to check for NEON, use Linux/POSIX
    1003.1 API to check /proc/self/auxv avoiding buffer allocation and other
    library calls (ported from libpng15).
  Use parentheses more consistently in "#if defined(MACRO)" tests.
  Folded long lines.
  Reenabled code to allow zero length PLTE chunks for MNG.
  Fixed ALIGNED_MEMORY support.
  Allow run-time ARM NEON checking to be disabled. A new configure option:
    --enable-arm-neon=always will stop the run-time checks. New checks
    within arm/arm_init.c will cause the code not to be compiled unless
    __ARM_NEON__ is set. This should make it fail safe (if someone asks
    for it on then the build will fail if it can't be done.)
  Updated the INSTALL document.
  Revised INSTALL to recommend using CPPFLAGS instead of INCLUDES.
  Revised scripts/makefile.freebsd to respect ZLIBLIB and ZLIBINC.
  Revised scripts/dfn.awk to work with the buggy MSYS awk that has trouble
    with CRLF line endings.
  Avoid a possible memory leak in contrib/gregbook/readpng.c
  Better documentation of unknown handling API interactions.
  Corrected Android builds and corrected libpng.vers with symbol
    prefixing This adds an API to set optimization options externally,
    providing an alternative and general solution for the non-portable
    run-time tests used by the ARM Neon code.  It also makes those tests
    compile and link on Android.
  The order of settings vs options in pnglibconf.h is reversed to allow
    settings to depend on options and options can now set (or override) the
    defaults for settings.
  Corrected simplified API default gamma for color-mapped output, added
    a flag to change default. In 1.6.0 when the simplified API was used
    to produce color-mapped output from an input image with no gamma
    information the gamma assumed for the input could be different from
    that assumed for non-color-mapped output.  In particular 16-bit depth
    input files were assumed to be sRGB encoded, whereas in the 'direct'
    case they were assumed to have linear data.  This was an error.  The
    fix makes the simplified API treat all input files the same way and
    adds a new flag to the png_image::flags member to allow the
    application/user to specify that 16-bit files contain sRGB data
    rather than the default linear.
  Fixed bugs in the pngpixel and makepng test programs.
  Fixed CMakelists.txt to allow building a single variant of the library
    (Claudio Bley):
  Introduced a PNG_LIB_TARGETS variable that lists all activated library
    targets.  It is an error if this variable ends up empty, ie. you have
    to build at least one library variant.
  Made the *_COPY targets only depend on library targets actually being
build.
  Use PNG_LIB_TARGETS to unify a code path.
  Changed the CREATE_SYMLINK macro to expect the full path to a file as the
    first argument. When symlinking the filename component of that path is
    determined and used as the link target.
  Use copy_if_different in the CREATE_SYMLINK macro.
  Eliminated two warnings from the Intel C compiler. The warnings are
    technically valid, although a reasonable treatment of division would
    show it to be incorrect.



Changes since the last public release (1.5.14):

  Enabled renaming of the extern (but not DLL exported) ARM filter
functions.
    Also enabled inclusion of pngpriv.h in non-C files by preventing C/C++
    specific definitions if PNG_VERSION_INFO_ONLY is defined.
  Added png_get_palette_max() function.
  Made a probably general fix for the preprocessing used to generate source
    files. This change might make the check for a special C preprocessor
    unnecessary, and it also eliminates the requirement for sed in the
    configure build process.
  Fix typo in Makefile.am, fix scripts/pnglibconf.mak and makefile.std
  Rebuilt Makefile.in, configure, etc., with autoconf-2.69 and automake-1.13
  Fix 'setting' handling in options.awk and fixed palette_max API
  Remove SUN OS cc -E workround - no longer required
  Turn serial tests back on (recently turned off by autotools upgrade).
  Enclosed the new png_get_palette_max in #ifdef
PNG_GET_PALETTE_MAX_SUPPORTED
    block, and revised pnglibconf.h and pnglibconf.h.prebuilt accordingly.
  Use approved/supported Android method to check for NEON, use Linux/POSIX
    1003.1 API to check /proc/self/auxv avoiding buffer allocation and other
    library calls.
  Fixed a race condition in the creation of the build 'scripts' directory
    while building with a parallel make.
  Use parentheses more consistently in "#if defined(MACRO)" tests.
  Fixed PNG_ALIGN(ED)_MEMORY and add ability to turn off ARM_NEON
    runtime checks
  Updated the INSTALL document.
  Revised INSTALL to recommend using CPPFLAGS instead of INCLUDES.
  Revised scripts/makefile.freebsd to respect ZLIBLIB and ZLIBINC.
  Revised scripts/dfn.awk to work with the buggy MSYS awk that has trouble
    with CRLF line endings.
  Avoid a possible memory leak in contrib/gregbook/readpng.c
  Made the _SUPPORTED macro definitions consistent. The change made in
    libpng15 to #define *_SUPPORTED 1, to match the use of -D*_SUPPORTED
    (which means -D*_SUPPORTED=1) and avoid compiler warnings from GCC was
made
    inconsistently and causes problems as a result, also some additions in
    pnglibconf.h.prebuilt were inconsistent (omitting the 1). This changes
1.5
    back to the scheme used both before (1.4) and after (1.6). This might
cause
    some build scripts to issue warnings, and might, in the extreme, cause
some
    applications to fail (but they would fail anyway against 1.6).  It seems
    safer to go for consistency, given the change in 1.6, not correctness
here,
    particularly as 'make check' currently warns anyway on the symbols.dfn
check
    because of the inconsistencies.
  Corrected Android builds and corrected libpng.vers with symbol
    prefixing This adds an API to set optimization options externally,
    providing an alternative and general solution for the non-portable
    run-time tests used by the ARM Neon code.  It also makes those tests
    compile and link on Android.
  The order of settings vs options in pnglibconf.h is reversed to allow
    settings to depend on options and options can now set (or override) the
    defaults for settings.
  Fixed CMakelists.txt to allow building a single variant of the library
    (Claudio Bley):
  Introduced a PNG_LIB_TARGETS variable that lists all activated library
    targets.  It is an error if this variable ends up empty, ie. you have
    to build at least one library variant.
  Made the *_COPY targets only depend on library targets actually being
build.
  Use PNG_LIB_TARGETS to unify a code path.
  Changed the CREATE_SYMLINK macro to expect the full path to a file as the
    first argument. When symlinking the filename component of that path is
    determined and used as the link target.
  Use copy_if_different in the CREATE_SYMLINK macro.
  Eliminated two warnings from the Intel C compiler. The warnings are
    technically valid, although a reasonable treatment of division would
    show it to be incorrect.

Glenn

--000e0cdf43826bdeff04d8f2d4df
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div><div>Changes since the last public release (1.6.0):</div><div><br></di=
v><div>=A0 Made symbol prefixing work with the ARM neon optimizations. Also=
 allow</div><div>=A0 =A0 pngpriv.h to be included for preprocessor definiti=
ons only, so it can</div>
<div>=A0 =A0 be used in non-C/C++ files. Back ported from libpng 1.7.</div>=
<div>=A0 Made sRGB check numbers consistent.</div><div>=A0 Ported libpng 1.=
5 options.awk/dfn file handling to 1.6, fixed one bug.</div><div>=A0 Remove=
d cc -E workround, corrected png_get_palette_max API Tested on</div>
<div>=A0 =A0 SUN OS cc 5.9, which demonstrates the tokenization problem pre=
viously</div><div>=A0 =A0 avoided by using /lib/cpp. =A0Since all .dfn outp=
ut is now protected in</div><div>=A0 =A0 double quotes unless it is to be m=
acro substituted the fix should</div>
<div>=A0 =A0 work everywhere.</div><div>=A0 Enabled parallel tests - back p=
orted from libpng-1.7.</div><div>=A0 scripts/pnglibconf.dfa formatting impr=
ovements back ported from libpng17.</div><div>=A0 Fixed a race condition in=
 the creation of the build &#39;scripts&#39; directory</div>
<div>=A0 =A0 while building with a parallel make.</div><div>=A0 Use approve=
d/supported Android method to check for NEON, use Linux/POSIX</div><div>=A0=
 =A0 1003.1 API to check /proc/self/auxv avoiding buffer allocation and oth=
er</div>
<div>=A0 =A0 library calls (ported from libpng15).</div><div>=A0 Use parent=
heses more consistently in &quot;#if defined(MACRO)&quot; tests.</div><div>=
=A0 Folded long lines.</div><div>=A0 Reenabled code to allow zero length PL=
TE chunks for MNG.</div>
<div>=A0 Fixed ALIGNED_MEMORY support.</div><div>=A0 Allow run-time ARM NEO=
N checking to be disabled. A new configure option:</div><div>=A0 =A0 --enab=
le-arm-neon=3Dalways will stop the run-time checks. New checks</div><div>=
=A0 =A0 within arm/arm_init.c will cause the code not to be compiled unless=
</div>
<div>=A0 =A0 __ARM_NEON__ is set. This should make it fail safe (if someone=
 asks</div><div>=A0 =A0 for it on then the build will fail if it can&#39;t =
be done.)</div><div>=A0 Updated the INSTALL document.</div><div>=A0 Revised=
 INSTALL to recommend using CPPFLAGS instead of INCLUDES.</div>
<div>=A0 Revised scripts/makefile.freebsd to respect ZLIBLIB and ZLIBINC.</=
div><div>=A0 Revised scripts/dfn.awk to work with the buggy MSYS awk that h=
as trouble</div><div>=A0 =A0 with CRLF line endings.</div><div>=A0 Avoid a =
possible memory leak in contrib/gregbook/readpng.c</div>
<div>=A0 Better documentation of unknown handling API interactions.</div><d=
iv>=A0 Corrected Android builds and corrected libpng.vers with symbol</div>=
<div>=A0 =A0 prefixing This adds an API to set optimization options externa=
lly,</div>
<div>=A0 =A0 providing an alternative and general solution for the non-port=
able</div><div>=A0 =A0 run-time tests used by the ARM Neon code. =A0It also=
 makes those tests</div><div>=A0 =A0 compile and link on Android.</div><div=
>=A0 The order of settings vs options in pnglibconf.h is reversed to allow<=
/div>
<div>=A0 =A0 settings to depend on options and options can now set (or over=
ride) the</div><div>=A0 =A0 defaults for settings.</div><div>=A0 Corrected =
simplified API default gamma for color-mapped output, added</div><div>=A0 =
=A0 a flag to change default. In 1.6.0 when the simplified API was used</di=
v>
<div>=A0 =A0 to produce color-mapped output from an input image with no gam=
ma</div><div>=A0 =A0 information the gamma assumed for the input could be d=
ifferent from</div><div>=A0 =A0 that assumed for non-color-mapped output. =
=A0In particular 16-bit depth</div>
<div>=A0 =A0 input files were assumed to be sRGB encoded, whereas in the &#=
39;direct&#39;</div><div>=A0 =A0 case they were assumed to have linear data=
. =A0This was an error. =A0The</div><div>=A0 =A0 fix makes the simplified A=
PI treat all input files the same way and</div>
<div>=A0 =A0 adds a new flag to the png_image::flags member to allow the</d=
iv><div>=A0 =A0 application/user to specify that 16-bit files contain sRGB =
data</div><div>=A0 =A0 rather than the default linear.</div><div>=A0 Fixed =
bugs in the pngpixel and makepng test programs.</div>
<div>=A0 Fixed CMakelists.txt to allow building a single variant of the lib=
rary</div><div>=A0 =A0 (Claudio Bley):</div><div>=A0 Introduced a PNG_LIB_T=
ARGETS variable that lists all activated library</div><div>=A0 =A0 targets.=
 =A0It is an error if this variable ends up empty, ie. you have</div>
<div>=A0 =A0 to build at least one library variant.</div><div>=A0 Made the =
*_COPY targets only depend on library targets actually being build.</div><d=
iv>=A0 Use PNG_LIB_TARGETS to unify a code path.</div><div>=A0 Changed the =
CREATE_SYMLINK macro to expect the full path to a file as the</div>
<div>=A0 =A0 first argument. When symlinking the filename component of that=
 path is</div><div>=A0 =A0 determined and used as the link target.</div><di=
v>=A0 Use copy_if_different in the CREATE_SYMLINK macro.</div><div>=A0 Elim=
inated two warnings from the Intel C compiler. The warnings are</div>
<div>=A0 =A0 technically valid, although a reasonable treatment of division=
 would</div><div>=A0 =A0 show it to be incorrect.</div><div><br></div></div=
><div><br></div><div><br></div><div>Changes since the last public release (=
1.5.14):</div>
<div><br></div><div>=A0 Enabled renaming of the extern (but not DLL exporte=
d) ARM filter functions.</div><div>=A0 =A0 Also enabled inclusion of pngpri=
v.h in non-C files by preventing C/C++</div><div>=A0 =A0 specific definitio=
ns if PNG_VERSION_INFO_ONLY is defined.</div>
<div>=A0 Added png_get_palette_max() function.</div><div>=A0 Made a probabl=
y general fix for the preprocessing used to generate source</div><div>=A0 =
=A0 files. This change might make the check for a special C preprocessor</d=
iv><div>
=A0 =A0 unnecessary, and it also eliminates the requirement for sed in the<=
/div><div>=A0 =A0 configure build process.</div><div>=A0 Fix typo in Makefi=
le.am, fix scripts/pnglibconf.mak and makefile.std</div><div>=A0 Rebuilt Ma=
kefile.in, configure, etc., with autoconf-2.69 and automake-1.13</div>
<div>=A0 Fix &#39;setting&#39; handling in options.awk and fixed palette_ma=
x API</div><div>=A0 Remove SUN OS cc -E workround - no longer required</div=
><div>=A0 Turn serial tests back on (recently turned off by autotools upgra=
de).</div>
<div>=A0 Enclosed the new png_get_palette_max in #ifdef PNG_GET_PALETTE_MAX=
_SUPPORTED</div><div>=A0 =A0 block, and revised pnglibconf.h and pnglibconf=
.h.prebuilt accordingly.</div><div>=A0 Use approved/supported Android metho=
d to check for NEON, use Linux/POSIX</div>
<div>=A0 =A0 1003.1 API to check /proc/self/auxv avoiding buffer allocation=
 and other</div><div>=A0 =A0 library calls.</div><div>=A0 Fixed a race cond=
ition in the creation of the build &#39;scripts&#39; directory</div><div>=
=A0 =A0 while building with a parallel make.</div>
<div>=A0 Use parentheses more consistently in &quot;#if defined(MACRO)&quot=
; tests.</div><div>=A0 Fixed PNG_ALIGN(ED)_MEMORY and add ability to turn o=
ff ARM_NEON</div><div>=A0 =A0 runtime checks</div><div>=A0 Updated the INST=
ALL document.</div>
<div>=A0 Revised INSTALL to recommend using CPPFLAGS instead of INCLUDES.</=
div><div>=A0 Revised scripts/makefile.freebsd to respect ZLIBLIB and ZLIBIN=
C.</div><div>=A0 Revised scripts/dfn.awk to work with the buggy MSYS awk th=
at has trouble</div>
<div>=A0 =A0 with CRLF line endings.</div><div>=A0 Avoid a possible memory =
leak in contrib/gregbook/readpng.c</div><div>=A0 Made the _SUPPORTED macro =
definitions consistent. The change made in</div><div>=A0 =A0 libpng15 to #d=
efine *_SUPPORTED 1, to match the use of -D*_SUPPORTED</div>
<div>=A0 =A0 (which means -D*_SUPPORTED=3D1) and avoid compiler warnings fr=
om GCC was made</div><div>=A0 =A0 inconsistently and causes problems as a r=
esult, also some additions in</div><div>=A0 =A0 pnglibconf.h.prebuilt were =
inconsistent (omitting the 1). This changes 1.5</div>
<div>=A0 =A0 back to the scheme used both before (1.4) and after (1.6). Thi=
s might cause</div><div>=A0 =A0 some build scripts to issue warnings, and m=
ight, in the extreme, cause some</div><div>=A0 =A0 applications to fail (bu=
t they would fail anyway against 1.6). =A0It seems</div>
<div>=A0 =A0 safer to go for consistency, given the change in 1.6, not corr=
ectness here,</div><div>=A0 =A0 particularly as &#39;make check&#39; curren=
tly warns anyway on the symbols.dfn check</div><div>=A0 =A0 because of the =
inconsistencies.</div>
<div>=A0 Corrected Android builds and corrected libpng.vers with symbol</di=
v><div>=A0 =A0 prefixing This adds an API to set optimization options exter=
nally,</div><div>=A0 =A0 providing an alternative and general solution for =
the non-portable</div>
<div>=A0 =A0 run-time tests used by the ARM Neon code. =A0It also makes tho=
se tests</div><div>=A0 =A0 compile and link on Android.</div><div>=A0 The o=
rder of settings vs options in pnglibconf.h is reversed to allow</div><div>=
=A0 =A0 settings to depend on options and options can now set (or override)=
 the</div>
<div>=A0 =A0 defaults for settings.</div><div>=A0 Fixed CMakelists.txt to a=
llow building a single variant of the library</div><div>=A0 =A0 (Claudio Bl=
ey):</div><div>=A0 Introduced a PNG_LIB_TARGETS variable that lists all act=
ivated library</div>
<div>=A0 =A0 targets. =A0It is an error if this variable ends up empty, ie.=
 you have</div><div>=A0 =A0 to build at least one library variant.</div><di=
v>=A0 Made the *_COPY targets only depend on library targets actually being=
 build.</div>
<div>=A0 Use PNG_LIB_TARGETS to unify a code path.</div><div>=A0 Changed th=
e CREATE_SYMLINK macro to expect the full path to a file as the</div><div>=
=A0 =A0 first argument. When symlinking the filename component of that path=
 is</div>
<div>=A0 =A0 determined and used as the link target.</div><div>=A0 Use copy=
_if_different in the CREATE_SYMLINK macro.</div><div>=A0 Eliminated two war=
nings from the Intel C compiler. The warnings are</div><div>=A0 =A0 technic=
ally valid, although a reasonable treatment of division would</div>
<div>=A0 =A0 show it to be incorrect.</div><div><br></div><div>Glenn</div>

--000e0cdf43826bdeff04d8f2d4df--


--===============6089932487526856093==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Own the Future-Intel&reg; Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
--===============6089932487526856093==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
png-mng-announce mailing list
png-mng-announce-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/png-mng-announce

--===============6089932487526856093==--